diff --git a/packages/host-inventory/api.ts b/packages/host-inventory/api.ts index de59655d5..b23ca6889 100644 --- a/packages/host-inventory/api.ts +++ b/packages/host-inventory/api.ts @@ -19,6 +19,56 @@ import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base'; +/** + * Data of a single account staleness. + * @export + * @interface AccountStalenessIn + */ +export interface AccountStalenessIn { +} +/** + * + * @export + * @interface AccountStalenessInAnyOf + */ +export interface AccountStalenessInAnyOf { + /** + * + * @type {string} + * @memberof AccountStalenessInAnyOf + */ + conventional_staleness_delta?: string; + /** + * + * @type {string} + * @memberof AccountStalenessInAnyOf + */ + conventional_stale_warning_delta?: string; + /** + * + * @type {string} + * @memberof AccountStalenessInAnyOf + */ + conventional_culling_delta?: string; + /** + * + * @type {string} + * @memberof AccountStalenessInAnyOf + */ + immutable_staleness_delta?: string; + /** + * + * @type {string} + * @memberof AccountStalenessInAnyOf + */ + immutable_stale_warning_delta?: string; + /** + * + * @type {string} + * @memberof AccountStalenessInAnyOf + */ + immutable_culling_delta?: string; +} /** * Data of a account staleness. * @export @@ -2625,10 +2675,15 @@ export const AccountsStalenessApiAxiosParamCreator = function (configuration?: C /** * Create account staleness record. Required permissions: inventory:TODO:write * @summary Create account staleness record + * @param {AccountStalenessIn} accountStalenessIn Data required to create a record for a account staleness. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - apiAccountStalenessCreateStaleness: async (options: any = {}): Promise => { + apiAccountStalenessCreateStaleness: async (accountStalenessIn: AccountStalenessIn, options: any = {}): Promise => { + // verify required parameter 'accountStalenessIn' is not null or undefined + if (accountStalenessIn === null || accountStalenessIn === undefined) { + throw new RequiredError('accountStalenessIn','Required parameter accountStalenessIn was null or undefined when calling apiAccountStalenessCreateStaleness.'); + } const localVarPath = `/account/staleness`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; @@ -2649,11 +2704,15 @@ export const AccountsStalenessApiAxiosParamCreator = function (configuration?: C + localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 delete localVarUrlObj.search; let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof accountStalenessIn !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(accountStalenessIn !== undefined ? accountStalenessIn : {}) : (accountStalenessIn || ""); return { url: globalImportUrl.format(localVarUrlObj), @@ -2786,11 +2845,12 @@ export const AccountsStalenessApiFp = function(configuration?: Configuration) { /** * Create account staleness record. Required permissions: inventory:TODO:write * @summary Create account staleness record + * @param {AccountStalenessIn} accountStalenessIn Data required to create a record for a account staleness. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async apiAccountStalenessCreateStaleness(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await AccountsStalenessApiAxiosParamCreator(configuration).apiAccountStalenessCreateStaleness(options); + async apiAccountStalenessCreateStaleness(accountStalenessIn: AccountStalenessIn, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AccountsStalenessApiAxiosParamCreator(configuration).apiAccountStalenessCreateStaleness(accountStalenessIn, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -2847,11 +2907,12 @@ export const AccountsStalenessApiFactory = function (configuration?: Configurati /** * Create account staleness record. Required permissions: inventory:TODO:write * @summary Create account staleness record + * @param {AccountStalenessIn} accountStalenessIn Data required to create a record for a account staleness. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - apiAccountStalenessCreateStaleness(options?: any): AxiosPromise { - return AccountsStalenessApiFp(configuration).apiAccountStalenessCreateStaleness(options).then((request) => request(axios, basePath)); + apiAccountStalenessCreateStaleness(accountStalenessIn: AccountStalenessIn, options?: any): AxiosPromise { + return AccountsStalenessApiFp(configuration).apiAccountStalenessCreateStaleness(accountStalenessIn, options).then((request) => request(axios, basePath)); }, /** * Read the entire list of all accounts staleness available. Required permissions: inventory:TODO:read @@ -2893,12 +2954,13 @@ export class AccountsStalenessApi extends BaseAPI { /** * Create account staleness record. Required permissions: inventory:TODO:write * @summary Create account staleness record + * @param {AccountStalenessIn} accountStalenessIn Data required to create a record for a account staleness. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountsStalenessApi */ - public apiAccountStalenessCreateStaleness(options?: any) { - return AccountsStalenessApiFp(this.configuration).apiAccountStalenessCreateStaleness(options).then((request) => request(this.axios, this.basePath)); + public apiAccountStalenessCreateStaleness(accountStalenessIn: AccountStalenessIn, options?: any) { + return AccountsStalenessApiFp(this.configuration).apiAccountStalenessCreateStaleness(accountStalenessIn, options).then((request) => request(this.axios, this.basePath)); } /** diff --git a/packages/host-inventory/doc/classes/AccountsStalenessApi.md b/packages/host-inventory/doc/classes/AccountsStalenessApi.md index 52752d555..e8a77a7eb 100644 --- a/packages/host-inventory/doc/classes/AccountsStalenessApi.md +++ b/packages/host-inventory/doc/classes/AccountsStalenessApi.md @@ -99,7 +99,7 @@ BaseAPI.configuration ### apiAccountStalenessCreateStaleness -▸ **apiAccountStalenessCreateStaleness**(`options?`): `Promise`<`AxiosResponse`<[`AccountStalenessOutput`](../interfaces/AccountStalenessOutput.md)\>\> +▸ **apiAccountStalenessCreateStaleness**(`accountStalenessIn`, `options?`): `Promise`<`AxiosResponse`<[`AccountStalenessOutput`](../interfaces/AccountStalenessOutput.md)\>\> Create account staleness record. Required permissions: inventory:TODO:write @@ -117,6 +117,7 @@ AccountsStalenessApi | Name | Type | Description | | :------ | :------ | :------ | +| `accountStalenessIn` | [`AccountStalenessIn`](../interfaces/AccountStalenessIn.md) | Data required to create a record for a account staleness. | | `options?` | `any` | Override http request option. | #### Returns @@ -125,7 +126,7 @@ AccountsStalenessApi #### Defined in -[api.ts:2900](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2900) +[api.ts:2962](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2962) ___ @@ -157,7 +158,7 @@ AccountsStalenessApi #### Defined in -[api.ts:2911](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2911) +[api.ts:2973](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2973) ___ @@ -189,7 +190,7 @@ AccountsStalenessApi #### Defined in -[api.ts:2922](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2922) +[api.ts:2984](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2984) ___ @@ -221,4 +222,4 @@ AccountsStalenessApi #### Defined in -[api.ts:2933](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2933) +[api.ts:2995](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2995) diff --git a/packages/host-inventory/doc/classes/GroupsApi.md b/packages/host-inventory/doc/classes/GroupsApi.md index d514f27c7..5f37715b5 100644 --- a/packages/host-inventory/doc/classes/GroupsApi.md +++ b/packages/host-inventory/doc/classes/GroupsApi.md @@ -132,7 +132,7 @@ GroupsApi #### Defined in -[api.ts:3826](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3826) +[api.ts:3888](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3888) ___ @@ -169,7 +169,7 @@ GroupsApi #### Defined in -[api.ts:3842](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3842) +[api.ts:3904](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3904) ___ @@ -206,7 +206,7 @@ GroupsApi #### Defined in -[api.ts:3858](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3858) +[api.ts:3920](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3920) ___ @@ -239,7 +239,7 @@ GroupsApi #### Defined in -[api.ts:3870](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3870) +[api.ts:3932](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3932) ___ @@ -272,7 +272,7 @@ GroupsApi #### Defined in -[api.ts:3882](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3882) +[api.ts:3944](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3944) ___ @@ -309,7 +309,7 @@ GroupsApi #### Defined in -[api.ts:3898](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3898) +[api.ts:3960](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3960) ___ @@ -346,7 +346,7 @@ GroupsApi #### Defined in -[api.ts:3914](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3914) +[api.ts:3976](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3976) ___ @@ -380,7 +380,7 @@ GroupsApi #### Defined in -[api.ts:3927](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3927) +[api.ts:3989](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3989) ___ @@ -414,7 +414,7 @@ GroupsApi #### Defined in -[api.ts:3940](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3940) +[api.ts:4002](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L4002) ___ @@ -448,4 +448,4 @@ GroupsApi #### Defined in -[api.ts:3953](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3953) +[api.ts:4015](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L4015) diff --git a/packages/host-inventory/doc/classes/HostsApi.md b/packages/host-inventory/doc/classes/HostsApi.md index 488ceba9f..f4e01f18b 100644 --- a/packages/host-inventory/doc/classes/HostsApi.md +++ b/packages/host-inventory/doc/classes/HostsApi.md @@ -134,7 +134,7 @@ HostsApi #### Defined in -[api.ts:5269](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5269) +[api.ts:5331](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5331) ___ @@ -168,7 +168,7 @@ HostsApi #### Defined in -[api.ts:5282](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5282) +[api.ts:5344](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5344) ___ @@ -213,7 +213,7 @@ HostsApi #### Defined in -[api.ts:5306](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5306) +[api.ts:5368](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5368) ___ @@ -252,7 +252,7 @@ HostsApi #### Defined in -[api.ts:5324](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5324) +[api.ts:5386](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5386) ___ @@ -303,7 +303,7 @@ HostsApi #### Defined in -[api.ts:5354](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5354) +[api.ts:5416](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5416) ___ @@ -342,7 +342,7 @@ HostsApi #### Defined in -[api.ts:5372](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5372) +[api.ts:5434](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5434) ___ @@ -379,7 +379,7 @@ HostsApi #### Defined in -[api.ts:5388](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5388) +[api.ts:5450](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5450) ___ @@ -417,7 +417,7 @@ HostsApi #### Defined in -[api.ts:5405](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5405) +[api.ts:5467](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5467) ___ @@ -450,7 +450,7 @@ HostsApi #### Defined in -[api.ts:5417](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5417) +[api.ts:5479](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5479) ___ @@ -486,7 +486,7 @@ HostsApi #### Defined in -[api.ts:5432](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5432) +[api.ts:5494](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5494) ___ @@ -521,7 +521,7 @@ HostsApi #### Defined in -[api.ts:5446](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5446) +[api.ts:5508](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5508) ___ @@ -557,4 +557,4 @@ HostsApi #### Defined in -[api.ts:5461](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5461) +[api.ts:5523](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5523) diff --git a/packages/host-inventory/doc/classes/ResourceTypesApi.md b/packages/host-inventory/doc/classes/ResourceTypesApi.md index dd457f5c4..6b7639a9c 100644 --- a/packages/host-inventory/doc/classes/ResourceTypesApi.md +++ b/packages/host-inventory/doc/classes/ResourceTypesApi.md @@ -126,7 +126,7 @@ ResourceTypesApi #### Defined in -[api.ts:5667](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5667) +[api.ts:5729](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5729) ___ @@ -160,4 +160,4 @@ ResourceTypesApi #### Defined in -[api.ts:5680](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5680) +[api.ts:5742](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5742) diff --git a/packages/host-inventory/doc/classes/SystemProfileApi.md b/packages/host-inventory/doc/classes/SystemProfileApi.md index a6e67b8af..d047f4913 100644 --- a/packages/host-inventory/doc/classes/SystemProfileApi.md +++ b/packages/host-inventory/doc/classes/SystemProfileApi.md @@ -131,7 +131,7 @@ SystemProfileApi #### Defined in -[api.ts:6139](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6139) +[api.ts:6201](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6201) ___ @@ -170,7 +170,7 @@ SystemProfileApi #### Defined in -[api.ts:6157](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6157) +[api.ts:6219](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6219) ___ @@ -208,7 +208,7 @@ SystemProfileApi #### Defined in -[api.ts:6174](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6174) +[api.ts:6236](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6236) ___ @@ -244,4 +244,4 @@ SystemProfileApi #### Defined in -[api.ts:6189](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6189) +[api.ts:6251](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6251) diff --git a/packages/host-inventory/doc/classes/TagsApi.md b/packages/host-inventory/doc/classes/TagsApi.md index 2edb827cf..d896238c8 100644 --- a/packages/host-inventory/doc/classes/TagsApi.md +++ b/packages/host-inventory/doc/classes/TagsApi.md @@ -140,4 +140,4 @@ TagsApi #### Defined in -[api.ts:6445](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6445) +[api.ts:6507](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6507) diff --git a/packages/host-inventory/doc/classes/UnleashApi.md b/packages/host-inventory/doc/classes/UnleashApi.md index c06f6e502..aa449ba63 100644 --- a/packages/host-inventory/doc/classes/UnleashApi.md +++ b/packages/host-inventory/doc/classes/UnleashApi.md @@ -122,4 +122,4 @@ UnleashApi #### Defined in -[api.ts:6553](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6553) +[api.ts:6615](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6615) diff --git a/packages/host-inventory/doc/enums/SystemProfileGreenbootStatusEnum.md b/packages/host-inventory/doc/enums/SystemProfileGreenbootStatusEnum.md index 2f8b6bb2e..62d4f314b 100644 --- a/packages/host-inventory/doc/enums/SystemProfileGreenbootStatusEnum.md +++ b/packages/host-inventory/doc/enums/SystemProfileGreenbootStatusEnum.md @@ -19,7 +19,7 @@ #### Defined in -[api.ts:1891](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1891) +[api.ts:1941](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1941) ___ @@ -29,4 +29,4 @@ ___ #### Defined in -[api.ts:1890](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1890) +[api.ts:1940](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1940) diff --git a/packages/host-inventory/doc/enums/SystemProfileHostTypeEnum.md b/packages/host-inventory/doc/enums/SystemProfileHostTypeEnum.md index 0c1f1ffc1..a7f6131ea 100644 --- a/packages/host-inventory/doc/enums/SystemProfileHostTypeEnum.md +++ b/packages/host-inventory/doc/enums/SystemProfileHostTypeEnum.md @@ -18,4 +18,4 @@ #### Defined in -[api.ts:1883](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1883) +[api.ts:1933](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1933) diff --git a/packages/host-inventory/doc/enums/SystemProfileOperatingSystemNameEnum.md b/packages/host-inventory/doc/enums/SystemProfileOperatingSystemNameEnum.md index 95e5b7788..5b1ab95fa 100644 --- a/packages/host-inventory/doc/enums/SystemProfileOperatingSystemNameEnum.md +++ b/packages/host-inventory/doc/enums/SystemProfileOperatingSystemNameEnum.md @@ -20,7 +20,7 @@ #### Defined in -[api.ts:2159](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2159) +[api.ts:2209](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2209) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[api.ts:2160](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2160) +[api.ts:2210](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2210) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[api.ts:2158](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2158) +[api.ts:2208](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2208) diff --git a/packages/host-inventory/doc/enums/SystemProfileSelinuxCurrentModeEnum.md b/packages/host-inventory/doc/enums/SystemProfileSelinuxCurrentModeEnum.md index 2797b7aeb..b59749b71 100644 --- a/packages/host-inventory/doc/enums/SystemProfileSelinuxCurrentModeEnum.md +++ b/packages/host-inventory/doc/enums/SystemProfileSelinuxCurrentModeEnum.md @@ -20,7 +20,7 @@ #### Defined in -[api.ts:1876](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1876) +[api.ts:1926](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1926) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[api.ts:1874](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1874) +[api.ts:1924](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1924) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[api.ts:1875](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1875) +[api.ts:1925](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1925) diff --git a/packages/host-inventory/doc/enums/SystemProfileSystemPurposeRoleEnum.md b/packages/host-inventory/doc/enums/SystemProfileSystemPurposeRoleEnum.md index adac5d6cd..3f07ab5eb 100644 --- a/packages/host-inventory/doc/enums/SystemProfileSystemPurposeRoleEnum.md +++ b/packages/host-inventory/doc/enums/SystemProfileSystemPurposeRoleEnum.md @@ -20,7 +20,7 @@ #### Defined in -[api.ts:2362](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2362) +[api.ts:2412](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2412) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[api.ts:2360](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2360) +[api.ts:2410](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2410) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[api.ts:2361](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2361) +[api.ts:2411](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2411) diff --git a/packages/host-inventory/doc/enums/SystemProfileSystemPurposeSlaEnum.md b/packages/host-inventory/doc/enums/SystemProfileSystemPurposeSlaEnum.md index e9fbefa99..6b473cae9 100644 --- a/packages/host-inventory/doc/enums/SystemProfileSystemPurposeSlaEnum.md +++ b/packages/host-inventory/doc/enums/SystemProfileSystemPurposeSlaEnum.md @@ -20,7 +20,7 @@ #### Defined in -[api.ts:2369](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2369) +[api.ts:2419](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2419) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[api.ts:2371](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2371) +[api.ts:2421](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2421) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[api.ts:2370](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2370) +[api.ts:2420](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2420) diff --git a/packages/host-inventory/doc/enums/SystemProfileSystemPurposeUsageEnum.md b/packages/host-inventory/doc/enums/SystemProfileSystemPurposeUsageEnum.md index 72e0d5d79..957ff7a7b 100644 --- a/packages/host-inventory/doc/enums/SystemProfileSystemPurposeUsageEnum.md +++ b/packages/host-inventory/doc/enums/SystemProfileSystemPurposeUsageEnum.md @@ -20,7 +20,7 @@ #### Defined in -[api.ts:2352](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2352) +[api.ts:2402](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2402) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[api.ts:2353](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2353) +[api.ts:2403](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2403) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[api.ts:2351](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2351) +[api.ts:2401](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2401) diff --git a/packages/host-inventory/doc/enums/SystemProfileSystemUpdateMethodEnum.md b/packages/host-inventory/doc/enums/SystemProfileSystemUpdateMethodEnum.md index 212f19d40..ef8dfee00 100644 --- a/packages/host-inventory/doc/enums/SystemProfileSystemUpdateMethodEnum.md +++ b/packages/host-inventory/doc/enums/SystemProfileSystemUpdateMethodEnum.md @@ -20,7 +20,7 @@ #### Defined in -[api.ts:1898](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1898) +[api.ts:1948](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1948) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[api.ts:1899](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1899) +[api.ts:1949](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1949) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[api.ts:1900](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1900) +[api.ts:1950](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1950) diff --git a/packages/host-inventory/doc/enums/SystemProfileSystemdStateEnum.md b/packages/host-inventory/doc/enums/SystemProfileSystemdStateEnum.md index e9368f8d2..98ecd85a3 100644 --- a/packages/host-inventory/doc/enums/SystemProfileSystemdStateEnum.md +++ b/packages/host-inventory/doc/enums/SystemProfileSystemdStateEnum.md @@ -23,7 +23,7 @@ #### Defined in -[api.ts:2408](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2408) +[api.ts:2458](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2458) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[api.ts:2405](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2405) +[api.ts:2455](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2455) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[api.ts:2409](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2409) +[api.ts:2459](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2459) ___ @@ -53,7 +53,7 @@ ___ #### Defined in -[api.ts:2407](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2407) +[api.ts:2457](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2457) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[api.ts:2406](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2406) +[api.ts:2456](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2456) ___ @@ -73,4 +73,4 @@ ___ #### Defined in -[api.ts:2410](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2410) +[api.ts:2460](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2460) diff --git a/packages/host-inventory/doc/interfaces/AccountStalenessIn.md b/packages/host-inventory/doc/interfaces/AccountStalenessIn.md new file mode 100644 index 000000000..20640aeba --- /dev/null +++ b/packages/host-inventory/doc/interfaces/AccountStalenessIn.md @@ -0,0 +1,11 @@ +[@redhat-cloud-services/host-inventory-client](../README.md) / [Exports](../modules.md) / AccountStalenessIn + +# Interface: AccountStalenessIn + +Data of a single account staleness. + +**`Export`** + +**`Interface`** + +AccountStalenessIn diff --git a/packages/host-inventory/doc/interfaces/AccountStalenessInAnyOf.md b/packages/host-inventory/doc/interfaces/AccountStalenessInAnyOf.md new file mode 100644 index 000000000..4fe2f09eb --- /dev/null +++ b/packages/host-inventory/doc/interfaces/AccountStalenessInAnyOf.md @@ -0,0 +1,104 @@ +[@redhat-cloud-services/host-inventory-client](../README.md) / [Exports](../modules.md) / AccountStalenessInAnyOf + +# Interface: AccountStalenessInAnyOf + +**`Export`** + +**`Interface`** + +AccountStalenessInAnyOf + +## Table of contents + +### Properties + +- [conventional\_culling\_delta](AccountStalenessInAnyOf.md#conventional_culling_delta) +- [conventional\_stale\_warning\_delta](AccountStalenessInAnyOf.md#conventional_stale_warning_delta) +- [conventional\_staleness\_delta](AccountStalenessInAnyOf.md#conventional_staleness_delta) +- [immutable\_culling\_delta](AccountStalenessInAnyOf.md#immutable_culling_delta) +- [immutable\_stale\_warning\_delta](AccountStalenessInAnyOf.md#immutable_stale_warning_delta) +- [immutable\_staleness\_delta](AccountStalenessInAnyOf.md#immutable_staleness_delta) + +## Properties + +### conventional\_culling\_delta + +• `Optional` **conventional\_culling\_delta**: `string` + +**`Memberof`** + +AccountStalenessInAnyOf + +#### Defined in + +[api.ts:52](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L52) + +___ + +### conventional\_stale\_warning\_delta + +• `Optional` **conventional\_stale\_warning\_delta**: `string` + +**`Memberof`** + +AccountStalenessInAnyOf + +#### Defined in + +[api.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L46) + +___ + +### conventional\_staleness\_delta + +• `Optional` **conventional\_staleness\_delta**: `string` + +**`Memberof`** + +AccountStalenessInAnyOf + +#### Defined in + +[api.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L40) + +___ + +### immutable\_culling\_delta + +• `Optional` **immutable\_culling\_delta**: `string` + +**`Memberof`** + +AccountStalenessInAnyOf + +#### Defined in + +[api.ts:70](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L70) + +___ + +### immutable\_stale\_warning\_delta + +• `Optional` **immutable\_stale\_warning\_delta**: `string` + +**`Memberof`** + +AccountStalenessInAnyOf + +#### Defined in + +[api.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L64) + +___ + +### immutable\_staleness\_delta + +• `Optional` **immutable\_staleness\_delta**: `string` + +**`Memberof`** + +AccountStalenessInAnyOf + +#### Defined in + +[api.ts:58](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L58) diff --git a/packages/host-inventory/doc/interfaces/AccountStalenessOutput.md b/packages/host-inventory/doc/interfaces/AccountStalenessOutput.md index 75ca21352..a7f5e7871 100644 --- a/packages/host-inventory/doc/interfaces/AccountStalenessOutput.md +++ b/packages/host-inventory/doc/interfaces/AccountStalenessOutput.md @@ -40,7 +40,7 @@ AccountStalenessOutput #### Defined in -[api.ts:39](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L39) +[api.ts:89](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L89) ___ @@ -54,7 +54,7 @@ AccountStalenessOutput #### Defined in -[api.ts:63](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L63) +[api.ts:113](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L113) ___ @@ -68,7 +68,7 @@ AccountStalenessOutput #### Defined in -[api.ts:57](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L57) +[api.ts:107](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L107) ___ @@ -82,7 +82,7 @@ AccountStalenessOutput #### Defined in -[api.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L51) +[api.ts:101](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L101) ___ @@ -98,7 +98,7 @@ AccountStalenessOutput #### Defined in -[api.ts:87](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L87) +[api.ts:137](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L137) ___ @@ -112,7 +112,7 @@ AccountStalenessOutput #### Defined in -[api.ts:33](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L33) +[api.ts:83](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L83) ___ @@ -126,7 +126,7 @@ AccountStalenessOutput #### Defined in -[api.ts:81](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L81) +[api.ts:131](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L131) ___ @@ -140,7 +140,7 @@ AccountStalenessOutput #### Defined in -[api.ts:75](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L75) +[api.ts:125](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L125) ___ @@ -154,7 +154,7 @@ AccountStalenessOutput #### Defined in -[api.ts:69](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L69) +[api.ts:119](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L119) ___ @@ -170,7 +170,7 @@ AccountStalenessOutput #### Defined in -[api.ts:45](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L45) +[api.ts:95](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L95) ___ @@ -186,4 +186,4 @@ AccountStalenessOutput #### Defined in -[api.ts:93](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L93) +[api.ts:143](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L143) diff --git a/packages/host-inventory/doc/interfaces/ActiveTag.md b/packages/host-inventory/doc/interfaces/ActiveTag.md index e0633a171..68b270ea4 100644 --- a/packages/host-inventory/doc/interfaces/ActiveTag.md +++ b/packages/host-inventory/doc/interfaces/ActiveTag.md @@ -31,7 +31,7 @@ ActiveTag #### Defined in -[api.ts:112](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L112) +[api.ts:162](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L162) ___ @@ -45,4 +45,4 @@ ActiveTag #### Defined in -[api.ts:106](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L106) +[api.ts:156](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L156) diff --git a/packages/host-inventory/doc/interfaces/ActiveTags.md b/packages/host-inventory/doc/interfaces/ActiveTags.md index 503a6ba0f..2e7aa0921 100644 --- a/packages/host-inventory/doc/interfaces/ActiveTags.md +++ b/packages/host-inventory/doc/interfaces/ActiveTags.md @@ -32,7 +32,7 @@ ActiveTags #### Defined in -[api.ts:125](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L125) +[api.ts:175](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L175) ___ @@ -48,7 +48,7 @@ ActiveTags #### Defined in -[api.ts:131](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L131) +[api.ts:181](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L181) ___ @@ -64,7 +64,7 @@ ActiveTags #### Defined in -[api.ts:137](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L137) +[api.ts:187](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L187) ___ @@ -78,7 +78,7 @@ ActiveTags #### Defined in -[api.ts:149](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L149) +[api.ts:199](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L199) ___ @@ -94,4 +94,4 @@ ActiveTags #### Defined in -[api.ts:143](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L143) +[api.ts:193](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L193) diff --git a/packages/host-inventory/doc/interfaces/ActiveTagsAllOf.md b/packages/host-inventory/doc/interfaces/ActiveTagsAllOf.md index fe87dce38..95705d03a 100644 --- a/packages/host-inventory/doc/interfaces/ActiveTagsAllOf.md +++ b/packages/host-inventory/doc/interfaces/ActiveTagsAllOf.md @@ -26,4 +26,4 @@ ActiveTagsAllOf #### Defined in -[api.ts:162](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L162) +[api.ts:212](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L212) diff --git a/packages/host-inventory/doc/interfaces/AssignmentRuleIn.md b/packages/host-inventory/doc/interfaces/AssignmentRuleIn.md index 4d53921b0..98a194ef3 100644 --- a/packages/host-inventory/doc/interfaces/AssignmentRuleIn.md +++ b/packages/host-inventory/doc/interfaces/AssignmentRuleIn.md @@ -42,7 +42,7 @@ AssignmentRuleInAllOf #### Defined in -[api.ts:188](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L188) +[api.ts:238](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L238) ___ @@ -60,7 +60,7 @@ AssignmentRuleInAllOf #### Defined in -[api.ts:206](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L206) +[api.ts:256](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L256) ___ @@ -78,7 +78,7 @@ AssignmentRuleInAllOf #### Defined in -[api.ts:200](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L200) +[api.ts:250](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L250) ___ @@ -96,7 +96,7 @@ AssignmentRuleInAllOf #### Defined in -[api.ts:194](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L194) +[api.ts:244](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L244) ___ @@ -114,4 +114,4 @@ AssignmentRuleInAllOf #### Defined in -[api.ts:182](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L182) +[api.ts:232](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L232) diff --git a/packages/host-inventory/doc/interfaces/AssignmentRuleInAllOf.md b/packages/host-inventory/doc/interfaces/AssignmentRuleInAllOf.md index 76a839cd3..ea15e6802 100644 --- a/packages/host-inventory/doc/interfaces/AssignmentRuleInAllOf.md +++ b/packages/host-inventory/doc/interfaces/AssignmentRuleInAllOf.md @@ -36,7 +36,7 @@ AssignmentRuleInAllOf #### Defined in -[api.ts:188](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L188) +[api.ts:238](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L238) ___ @@ -50,7 +50,7 @@ AssignmentRuleInAllOf #### Defined in -[api.ts:206](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L206) +[api.ts:256](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L256) ___ @@ -64,7 +64,7 @@ AssignmentRuleInAllOf #### Defined in -[api.ts:200](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L200) +[api.ts:250](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L250) ___ @@ -78,7 +78,7 @@ AssignmentRuleInAllOf #### Defined in -[api.ts:194](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L194) +[api.ts:244](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L244) ___ @@ -92,4 +92,4 @@ AssignmentRuleInAllOf #### Defined in -[api.ts:182](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L182) +[api.ts:232](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L232) diff --git a/packages/host-inventory/doc/interfaces/AssignmentRuleOut.md b/packages/host-inventory/doc/interfaces/AssignmentRuleOut.md index 8313642cd..feb125acd 100644 --- a/packages/host-inventory/doc/interfaces/AssignmentRuleOut.md +++ b/packages/host-inventory/doc/interfaces/AssignmentRuleOut.md @@ -49,7 +49,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:238](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L238) +[api.ts:288](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L288) ___ @@ -67,7 +67,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:274](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L274) +[api.ts:324](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L324) ___ @@ -85,7 +85,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:250](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L250) +[api.ts:300](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L300) ___ @@ -103,7 +103,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:268](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L268) +[api.ts:318](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L318) ___ @@ -121,7 +121,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:262](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L262) +[api.ts:312](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L312) ___ @@ -139,7 +139,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:256](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L256) +[api.ts:306](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L306) ___ @@ -157,7 +157,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:226](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L226) +[api.ts:276](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L276) ___ @@ -175,7 +175,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:280](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L280) +[api.ts:330](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L330) ___ @@ -193,7 +193,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:244](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L244) +[api.ts:294](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L294) ___ @@ -213,4 +213,4 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:232](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L232) +[api.ts:282](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L282) diff --git a/packages/host-inventory/doc/interfaces/AssignmentRuleOutAllOf.md b/packages/host-inventory/doc/interfaces/AssignmentRuleOutAllOf.md index 1650579ec..16281fb71 100644 --- a/packages/host-inventory/doc/interfaces/AssignmentRuleOutAllOf.md +++ b/packages/host-inventory/doc/interfaces/AssignmentRuleOutAllOf.md @@ -43,7 +43,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:238](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L238) +[api.ts:288](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L288) ___ @@ -57,7 +57,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:274](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L274) +[api.ts:324](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L324) ___ @@ -71,7 +71,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:250](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L250) +[api.ts:300](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L300) ___ @@ -85,7 +85,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:268](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L268) +[api.ts:318](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L318) ___ @@ -99,7 +99,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:262](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L262) +[api.ts:312](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L312) ___ @@ -113,7 +113,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:256](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L256) +[api.ts:306](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L306) ___ @@ -127,7 +127,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:226](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L226) +[api.ts:276](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L276) ___ @@ -141,7 +141,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:280](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L280) +[api.ts:330](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L330) ___ @@ -155,7 +155,7 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:244](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L244) +[api.ts:294](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L294) ___ @@ -171,4 +171,4 @@ AssignmentRuleOutAllOf #### Defined in -[api.ts:232](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L232) +[api.ts:282](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L282) diff --git a/packages/host-inventory/doc/interfaces/AssignmentRuleQueryOutput.md b/packages/host-inventory/doc/interfaces/AssignmentRuleQueryOutput.md index e722a2253..3057d82d0 100644 --- a/packages/host-inventory/doc/interfaces/AssignmentRuleQueryOutput.md +++ b/packages/host-inventory/doc/interfaces/AssignmentRuleQueryOutput.md @@ -34,7 +34,7 @@ AssignmentRuleQueryOutput #### Defined in -[api.ts:293](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L293) +[api.ts:343](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L343) ___ @@ -50,7 +50,7 @@ AssignmentRuleQueryOutput #### Defined in -[api.ts:299](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L299) +[api.ts:349](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L349) ___ @@ -66,7 +66,7 @@ AssignmentRuleQueryOutput #### Defined in -[api.ts:305](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L305) +[api.ts:355](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L355) ___ @@ -82,7 +82,7 @@ AssignmentRuleQueryOutput #### Defined in -[api.ts:317](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L317) +[api.ts:367](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L367) ___ @@ -98,4 +98,4 @@ AssignmentRuleQueryOutput #### Defined in -[api.ts:311](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L311) +[api.ts:361](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L361) diff --git a/packages/host-inventory/doc/interfaces/AssignmentRuleQueryOutputAllOf.md b/packages/host-inventory/doc/interfaces/AssignmentRuleQueryOutputAllOf.md index 7b96ac9e7..64dcaf2f8 100644 --- a/packages/host-inventory/doc/interfaces/AssignmentRuleQueryOutputAllOf.md +++ b/packages/host-inventory/doc/interfaces/AssignmentRuleQueryOutputAllOf.md @@ -28,4 +28,4 @@ AssignmentRuleQueryOutputAllOf #### Defined in -[api.ts:330](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L330) +[api.ts:380](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L380) diff --git a/packages/host-inventory/doc/interfaces/CanonicalFactsIn.md b/packages/host-inventory/doc/interfaces/CanonicalFactsIn.md index d241ed96b..bd79bb802 100644 --- a/packages/host-inventory/doc/interfaces/CanonicalFactsIn.md +++ b/packages/host-inventory/doc/interfaces/CanonicalFactsIn.md @@ -44,7 +44,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:368](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L368) +[api.ts:418](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L418) ___ @@ -62,7 +62,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:380](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L380) +[api.ts:430](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L430) ___ @@ -80,7 +80,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:350](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L350) +[api.ts:400](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L400) ___ @@ -98,7 +98,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:374](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L374) +[api.ts:424](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L424) ___ @@ -116,7 +116,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:386](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L386) +[api.ts:436](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L436) ___ @@ -134,7 +134,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:392](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L392) +[api.ts:442](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L442) ___ @@ -152,7 +152,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:398](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L398) +[api.ts:448](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L448) ___ @@ -170,7 +170,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:362](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L362) +[api.ts:412](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L412) ___ @@ -188,4 +188,4 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:356](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L356) +[api.ts:406](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L406) diff --git a/packages/host-inventory/doc/interfaces/CanonicalFactsInAllOf.md b/packages/host-inventory/doc/interfaces/CanonicalFactsInAllOf.md index 5de21b706..085d02a02 100644 --- a/packages/host-inventory/doc/interfaces/CanonicalFactsInAllOf.md +++ b/packages/host-inventory/doc/interfaces/CanonicalFactsInAllOf.md @@ -40,7 +40,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:368](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L368) +[api.ts:418](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L418) ___ @@ -54,7 +54,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:380](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L380) +[api.ts:430](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L430) ___ @@ -68,7 +68,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:350](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L350) +[api.ts:400](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L400) ___ @@ -82,7 +82,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:374](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L374) +[api.ts:424](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L424) ___ @@ -96,7 +96,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:386](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L386) +[api.ts:436](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L436) ___ @@ -110,7 +110,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:392](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L392) +[api.ts:442](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L442) ___ @@ -124,7 +124,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:398](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L398) +[api.ts:448](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L448) ___ @@ -138,7 +138,7 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:362](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L362) +[api.ts:412](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L412) ___ @@ -152,4 +152,4 @@ CanonicalFactsInAllOf #### Defined in -[api.ts:356](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L356) +[api.ts:406](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L406) diff --git a/packages/host-inventory/doc/interfaces/CanonicalFactsOut.md b/packages/host-inventory/doc/interfaces/CanonicalFactsOut.md index d62a2a753..5c1a1d872 100644 --- a/packages/host-inventory/doc/interfaces/CanonicalFactsOut.md +++ b/packages/host-inventory/doc/interfaces/CanonicalFactsOut.md @@ -36,7 +36,7 @@ CanonicalFactsOut #### Defined in -[api.ts:429](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L429) +[api.ts:479](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L479) ___ @@ -52,7 +52,7 @@ CanonicalFactsOut #### Defined in -[api.ts:441](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L441) +[api.ts:491](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L491) ___ @@ -68,7 +68,7 @@ CanonicalFactsOut #### Defined in -[api.ts:411](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L411) +[api.ts:461](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L461) ___ @@ -84,7 +84,7 @@ CanonicalFactsOut #### Defined in -[api.ts:435](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L435) +[api.ts:485](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L485) ___ @@ -100,7 +100,7 @@ CanonicalFactsOut #### Defined in -[api.ts:447](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L447) +[api.ts:497](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L497) ___ @@ -116,7 +116,7 @@ CanonicalFactsOut #### Defined in -[api.ts:453](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L453) +[api.ts:503](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L503) ___ @@ -132,7 +132,7 @@ CanonicalFactsOut #### Defined in -[api.ts:459](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L459) +[api.ts:509](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L509) ___ @@ -148,7 +148,7 @@ CanonicalFactsOut #### Defined in -[api.ts:423](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L423) +[api.ts:473](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L473) ___ @@ -164,4 +164,4 @@ CanonicalFactsOut #### Defined in -[api.ts:417](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L417) +[api.ts:467](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L467) diff --git a/packages/host-inventory/doc/interfaces/CreateCheckIn.md b/packages/host-inventory/doc/interfaces/CreateCheckIn.md index 6b61bf449..98ab1d412 100644 --- a/packages/host-inventory/doc/interfaces/CreateCheckIn.md +++ b/packages/host-inventory/doc/interfaces/CreateCheckIn.md @@ -37,7 +37,7 @@ CreateCheckIn #### Defined in -[api.ts:490](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L490) +[api.ts:540](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L540) ___ @@ -53,7 +53,7 @@ CreateCheckIn #### Defined in -[api.ts:526](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L526) +[api.ts:576](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L576) ___ @@ -67,7 +67,7 @@ CreateCheckIn #### Defined in -[api.ts:502](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L502) +[api.ts:552](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L552) ___ @@ -81,7 +81,7 @@ CreateCheckIn #### Defined in -[api.ts:472](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L472) +[api.ts:522](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L522) ___ @@ -95,7 +95,7 @@ CreateCheckIn #### Defined in -[api.ts:496](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L496) +[api.ts:546](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L546) ___ @@ -109,7 +109,7 @@ CreateCheckIn #### Defined in -[api.ts:508](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L508) +[api.ts:558](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L558) ___ @@ -123,7 +123,7 @@ CreateCheckIn #### Defined in -[api.ts:514](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L514) +[api.ts:564](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L564) ___ @@ -137,7 +137,7 @@ CreateCheckIn #### Defined in -[api.ts:520](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L520) +[api.ts:570](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L570) ___ @@ -151,7 +151,7 @@ CreateCheckIn #### Defined in -[api.ts:484](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L484) +[api.ts:534](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L534) ___ @@ -165,4 +165,4 @@ CreateCheckIn #### Defined in -[api.ts:478](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L478) +[api.ts:528](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L528) diff --git a/packages/host-inventory/doc/interfaces/CreateCheckInAllOf.md b/packages/host-inventory/doc/interfaces/CreateCheckInAllOf.md index d6a2b5fd3..9b3fc9476 100644 --- a/packages/host-inventory/doc/interfaces/CreateCheckInAllOf.md +++ b/packages/host-inventory/doc/interfaces/CreateCheckInAllOf.md @@ -28,4 +28,4 @@ CreateCheckInAllOf #### Defined in -[api.ts:539](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L539) +[api.ts:589](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L589) diff --git a/packages/host-inventory/doc/interfaces/DiskDevice.md b/packages/host-inventory/doc/interfaces/DiskDevice.md index d2470b36b..0f88245f7 100644 --- a/packages/host-inventory/doc/interfaces/DiskDevice.md +++ b/packages/host-inventory/doc/interfaces/DiskDevice.md @@ -32,7 +32,7 @@ DiskDevice #### Defined in -[api.ts:552](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L552) +[api.ts:602](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L602) ___ @@ -48,7 +48,7 @@ DiskDevice #### Defined in -[api.ts:558](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L558) +[api.ts:608](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L608) ___ @@ -64,7 +64,7 @@ DiskDevice #### Defined in -[api.ts:570](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L570) +[api.ts:620](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L620) ___ @@ -84,7 +84,7 @@ DiskDevice #### Defined in -[api.ts:564](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L564) +[api.ts:614](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L614) ___ @@ -100,4 +100,4 @@ DiskDevice #### Defined in -[api.ts:576](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L576) +[api.ts:626](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L626) diff --git a/packages/host-inventory/doc/interfaces/DnfModule.md b/packages/host-inventory/doc/interfaces/DnfModule.md index ac68e1c2a..c44cf9e47 100644 --- a/packages/host-inventory/doc/interfaces/DnfModule.md +++ b/packages/host-inventory/doc/interfaces/DnfModule.md @@ -29,7 +29,7 @@ DnfModule #### Defined in -[api.ts:589](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L589) +[api.ts:639](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L639) ___ @@ -43,4 +43,4 @@ DnfModule #### Defined in -[api.ts:595](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L595) +[api.ts:645](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L645) diff --git a/packages/host-inventory/doc/interfaces/FactSet.md b/packages/host-inventory/doc/interfaces/FactSet.md index 1ea75d1f1..b18f9cb44 100644 --- a/packages/host-inventory/doc/interfaces/FactSet.md +++ b/packages/host-inventory/doc/interfaces/FactSet.md @@ -31,7 +31,7 @@ FactSet #### Defined in -[api.ts:614](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L614) +[api.ts:664](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L664) ___ @@ -47,4 +47,4 @@ FactSet #### Defined in -[api.ts:608](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L608) +[api.ts:658](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L658) diff --git a/packages/host-inventory/doc/interfaces/GroupIn.md b/packages/host-inventory/doc/interfaces/GroupIn.md index 1c5a0c4ee..e3af5a76d 100644 --- a/packages/host-inventory/doc/interfaces/GroupIn.md +++ b/packages/host-inventory/doc/interfaces/GroupIn.md @@ -41,7 +41,7 @@ GroupInAllOf #### Defined in -[api.ts:640](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L640) +[api.ts:690](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L690) ___ @@ -61,4 +61,4 @@ GroupInAllOf #### Defined in -[api.ts:634](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L634) +[api.ts:684](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L684) diff --git a/packages/host-inventory/doc/interfaces/GroupInAllOf.md b/packages/host-inventory/doc/interfaces/GroupInAllOf.md index d3e097069..386c6898f 100644 --- a/packages/host-inventory/doc/interfaces/GroupInAllOf.md +++ b/packages/host-inventory/doc/interfaces/GroupInAllOf.md @@ -35,7 +35,7 @@ GroupInAllOf #### Defined in -[api.ts:640](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L640) +[api.ts:690](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L690) ___ @@ -51,4 +51,4 @@ GroupInAllOf #### Defined in -[api.ts:634](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L634) +[api.ts:684](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L684) diff --git a/packages/host-inventory/doc/interfaces/GroupOut.md b/packages/host-inventory/doc/interfaces/GroupOut.md index 4b5a46ec7..9597d1ed6 100644 --- a/packages/host-inventory/doc/interfaces/GroupOut.md +++ b/packages/host-inventory/doc/interfaces/GroupOut.md @@ -35,7 +35,7 @@ GroupOut #### Defined in -[api.ts:665](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L665) +[api.ts:715](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L715) ___ @@ -51,7 +51,7 @@ GroupOut #### Defined in -[api.ts:677](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L677) +[api.ts:727](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L727) ___ @@ -65,7 +65,7 @@ GroupOut #### Defined in -[api.ts:653](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L653) +[api.ts:703](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L703) ___ @@ -81,7 +81,7 @@ GroupOut #### Defined in -[api.ts:659](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L659) +[api.ts:709](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L709) ___ @@ -97,7 +97,7 @@ GroupOut #### Defined in -[api.ts:671](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L671) +[api.ts:721](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L721) ___ @@ -113,4 +113,4 @@ GroupOut #### Defined in -[api.ts:683](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L683) +[api.ts:733](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L733) diff --git a/packages/host-inventory/doc/interfaces/GroupOutWithHostCount.md b/packages/host-inventory/doc/interfaces/GroupOutWithHostCount.md index c3ae9ca17..fcc4831b4 100644 --- a/packages/host-inventory/doc/interfaces/GroupOutWithHostCount.md +++ b/packages/host-inventory/doc/interfaces/GroupOutWithHostCount.md @@ -36,7 +36,7 @@ GroupOutWithHostCount #### Defined in -[api.ts:708](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L708) +[api.ts:758](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L758) ___ @@ -52,7 +52,7 @@ GroupOutWithHostCount #### Defined in -[api.ts:720](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L720) +[api.ts:770](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L770) ___ @@ -68,7 +68,7 @@ GroupOutWithHostCount #### Defined in -[api.ts:732](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L732) +[api.ts:782](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L782) ___ @@ -82,7 +82,7 @@ GroupOutWithHostCount #### Defined in -[api.ts:696](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L696) +[api.ts:746](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L746) ___ @@ -98,7 +98,7 @@ GroupOutWithHostCount #### Defined in -[api.ts:702](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L702) +[api.ts:752](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L752) ___ @@ -114,7 +114,7 @@ GroupOutWithHostCount #### Defined in -[api.ts:714](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L714) +[api.ts:764](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L764) ___ @@ -130,4 +130,4 @@ GroupOutWithHostCount #### Defined in -[api.ts:726](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L726) +[api.ts:776](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L776) diff --git a/packages/host-inventory/doc/interfaces/GroupOutWithHostCountAllOf.md b/packages/host-inventory/doc/interfaces/GroupOutWithHostCountAllOf.md index c71ea8186..e542c2832 100644 --- a/packages/host-inventory/doc/interfaces/GroupOutWithHostCountAllOf.md +++ b/packages/host-inventory/doc/interfaces/GroupOutWithHostCountAllOf.md @@ -28,4 +28,4 @@ GroupOutWithHostCountAllOf #### Defined in -[api.ts:745](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L745) +[api.ts:795](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L795) diff --git a/packages/host-inventory/doc/interfaces/GroupQueryOutput.md b/packages/host-inventory/doc/interfaces/GroupQueryOutput.md index 7cf2a763f..619605817 100644 --- a/packages/host-inventory/doc/interfaces/GroupQueryOutput.md +++ b/packages/host-inventory/doc/interfaces/GroupQueryOutput.md @@ -34,7 +34,7 @@ GroupQueryOutput #### Defined in -[api.ts:758](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L758) +[api.ts:808](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L808) ___ @@ -50,7 +50,7 @@ GroupQueryOutput #### Defined in -[api.ts:764](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L764) +[api.ts:814](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L814) ___ @@ -66,7 +66,7 @@ GroupQueryOutput #### Defined in -[api.ts:770](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L770) +[api.ts:820](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L820) ___ @@ -82,7 +82,7 @@ GroupQueryOutput #### Defined in -[api.ts:782](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L782) +[api.ts:832](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L832) ___ @@ -98,4 +98,4 @@ GroupQueryOutput #### Defined in -[api.ts:776](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L776) +[api.ts:826](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L826) diff --git a/packages/host-inventory/doc/interfaces/GroupQueryOutputAllOf.md b/packages/host-inventory/doc/interfaces/GroupQueryOutputAllOf.md index ead8b085d..a5dbdcc45 100644 --- a/packages/host-inventory/doc/interfaces/GroupQueryOutputAllOf.md +++ b/packages/host-inventory/doc/interfaces/GroupQueryOutputAllOf.md @@ -28,4 +28,4 @@ GroupQueryOutputAllOf #### Defined in -[api.ts:795](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L795) +[api.ts:845](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L845) diff --git a/packages/host-inventory/doc/interfaces/HostOut.md b/packages/host-inventory/doc/interfaces/HostOut.md index 76e29a11a..d3a4afcc2 100644 --- a/packages/host-inventory/doc/interfaces/HostOut.md +++ b/packages/host-inventory/doc/interfaces/HostOut.md @@ -52,7 +52,7 @@ HostOut #### Defined in -[api.ts:874](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L874) +[api.ts:924](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L924) ___ @@ -68,7 +68,7 @@ HostOut #### Defined in -[api.ts:868](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L868) +[api.ts:918](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L918) ___ @@ -84,7 +84,7 @@ HostOut #### Defined in -[api.ts:826](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L826) +[api.ts:876](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L876) ___ @@ -100,7 +100,7 @@ HostOut #### Defined in -[api.ts:892](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L892) +[api.ts:942](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L942) ___ @@ -116,7 +116,7 @@ HostOut #### Defined in -[api.ts:922](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L922) +[api.ts:972](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L972) ___ @@ -132,7 +132,7 @@ HostOut #### Defined in -[api.ts:862](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L862) +[api.ts:912](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L912) ___ @@ -148,7 +148,7 @@ HostOut #### Defined in -[api.ts:904](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L904) +[api.ts:954](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L954) ___ @@ -164,7 +164,7 @@ HostOut #### Defined in -[api.ts:838](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L838) +[api.ts:888](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L888) ___ @@ -180,7 +180,7 @@ HostOut #### Defined in -[api.ts:940](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L940) +[api.ts:990](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L990) ___ @@ -196,7 +196,7 @@ HostOut #### Defined in -[api.ts:886](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L886) +[api.ts:936](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L936) ___ @@ -212,7 +212,7 @@ HostOut #### Defined in -[api.ts:808](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L808) +[api.ts:858](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L858) ___ @@ -228,7 +228,7 @@ HostOut #### Defined in -[api.ts:832](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L832) +[api.ts:882](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L882) ___ @@ -244,7 +244,7 @@ HostOut #### Defined in -[api.ts:844](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L844) +[api.ts:894](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L894) ___ @@ -260,7 +260,7 @@ HostOut #### Defined in -[api.ts:880](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L880) +[api.ts:930](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L930) ___ @@ -280,7 +280,7 @@ HostOut #### Defined in -[api.ts:934](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L934) +[api.ts:984](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L984) ___ @@ -296,7 +296,7 @@ HostOut #### Defined in -[api.ts:850](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L850) +[api.ts:900](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L900) ___ @@ -312,7 +312,7 @@ HostOut #### Defined in -[api.ts:856](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L856) +[api.ts:906](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L906) ___ @@ -328,7 +328,7 @@ HostOut #### Defined in -[api.ts:928](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L928) +[api.ts:978](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L978) ___ @@ -344,7 +344,7 @@ HostOut #### Defined in -[api.ts:820](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L820) +[api.ts:870](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L870) ___ @@ -360,7 +360,7 @@ HostOut #### Defined in -[api.ts:910](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L910) +[api.ts:960](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L960) ___ @@ -376,7 +376,7 @@ HostOut #### Defined in -[api.ts:916](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L916) +[api.ts:966](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L966) ___ @@ -392,7 +392,7 @@ HostOut #### Defined in -[api.ts:814](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L814) +[api.ts:864](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L864) ___ @@ -408,4 +408,4 @@ HostOut #### Defined in -[api.ts:898](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L898) +[api.ts:948](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L948) diff --git a/packages/host-inventory/doc/interfaces/HostOutAllOf.md b/packages/host-inventory/doc/interfaces/HostOutAllOf.md index 69f8d3709..3e5340488 100644 --- a/packages/host-inventory/doc/interfaces/HostOutAllOf.md +++ b/packages/host-inventory/doc/interfaces/HostOutAllOf.md @@ -41,7 +41,7 @@ HostOutAllOf #### Defined in -[api.ts:965](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L965) +[api.ts:1015](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1015) ___ @@ -57,7 +57,7 @@ HostOutAllOf #### Defined in -[api.ts:959](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L959) +[api.ts:1009](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1009) ___ @@ -73,7 +73,7 @@ HostOutAllOf #### Defined in -[api.ts:983](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L983) +[api.ts:1033](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1033) ___ @@ -89,7 +89,7 @@ HostOutAllOf #### Defined in -[api.ts:1013](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1013) +[api.ts:1063](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1063) ___ @@ -105,7 +105,7 @@ HostOutAllOf #### Defined in -[api.ts:953](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L953) +[api.ts:1003](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1003) ___ @@ -121,7 +121,7 @@ HostOutAllOf #### Defined in -[api.ts:995](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L995) +[api.ts:1045](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1045) ___ @@ -137,7 +137,7 @@ HostOutAllOf #### Defined in -[api.ts:1031](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1031) +[api.ts:1081](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1081) ___ @@ -153,7 +153,7 @@ HostOutAllOf #### Defined in -[api.ts:977](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L977) +[api.ts:1027](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1027) ___ @@ -169,7 +169,7 @@ HostOutAllOf #### Defined in -[api.ts:971](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L971) +[api.ts:1021](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1021) ___ @@ -189,7 +189,7 @@ HostOutAllOf #### Defined in -[api.ts:1025](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1025) +[api.ts:1075](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1075) ___ @@ -205,7 +205,7 @@ HostOutAllOf #### Defined in -[api.ts:1019](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1019) +[api.ts:1069](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1069) ___ @@ -221,7 +221,7 @@ HostOutAllOf #### Defined in -[api.ts:1001](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1001) +[api.ts:1051](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1051) ___ @@ -237,7 +237,7 @@ HostOutAllOf #### Defined in -[api.ts:1007](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1007) +[api.ts:1057](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1057) ___ @@ -253,4 +253,4 @@ HostOutAllOf #### Defined in -[api.ts:989](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L989) +[api.ts:1039](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1039) diff --git a/packages/host-inventory/doc/interfaces/HostQueryOutput.md b/packages/host-inventory/doc/interfaces/HostQueryOutput.md index 5a33cec59..29a389c60 100644 --- a/packages/host-inventory/doc/interfaces/HostQueryOutput.md +++ b/packages/host-inventory/doc/interfaces/HostQueryOutput.md @@ -34,7 +34,7 @@ HostQueryOutput #### Defined in -[api.ts:1044](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1044) +[api.ts:1094](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1094) ___ @@ -50,7 +50,7 @@ HostQueryOutput #### Defined in -[api.ts:1050](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1050) +[api.ts:1100](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1100) ___ @@ -66,7 +66,7 @@ HostQueryOutput #### Defined in -[api.ts:1056](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1056) +[api.ts:1106](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1106) ___ @@ -82,7 +82,7 @@ HostQueryOutput #### Defined in -[api.ts:1068](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1068) +[api.ts:1118](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1118) ___ @@ -98,4 +98,4 @@ HostQueryOutput #### Defined in -[api.ts:1062](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1062) +[api.ts:1112](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1112) diff --git a/packages/host-inventory/doc/interfaces/HostQueryOutputAllOf.md b/packages/host-inventory/doc/interfaces/HostQueryOutputAllOf.md index 987370e77..45de50a6e 100644 --- a/packages/host-inventory/doc/interfaces/HostQueryOutputAllOf.md +++ b/packages/host-inventory/doc/interfaces/HostQueryOutputAllOf.md @@ -28,4 +28,4 @@ HostQueryOutputAllOf #### Defined in -[api.ts:1081](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1081) +[api.ts:1131](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1131) diff --git a/packages/host-inventory/doc/interfaces/HostSystemProfileOut.md b/packages/host-inventory/doc/interfaces/HostSystemProfileOut.md index cd6980f28..3a683692a 100644 --- a/packages/host-inventory/doc/interfaces/HostSystemProfileOut.md +++ b/packages/host-inventory/doc/interfaces/HostSystemProfileOut.md @@ -29,7 +29,7 @@ HostSystemProfileOut #### Defined in -[api.ts:1094](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1094) +[api.ts:1144](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1144) ___ @@ -43,4 +43,4 @@ HostSystemProfileOut #### Defined in -[api.ts:1100](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1100) +[api.ts:1150](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1150) diff --git a/packages/host-inventory/doc/interfaces/InstalledProduct.md b/packages/host-inventory/doc/interfaces/InstalledProduct.md index f22c54771..6fe914d7e 100644 --- a/packages/host-inventory/doc/interfaces/InstalledProduct.md +++ b/packages/host-inventory/doc/interfaces/InstalledProduct.md @@ -32,7 +32,7 @@ InstalledProduct #### Defined in -[api.ts:1119](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1119) +[api.ts:1169](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1169) ___ @@ -46,7 +46,7 @@ InstalledProduct #### Defined in -[api.ts:1113](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1113) +[api.ts:1163](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1163) ___ @@ -62,4 +62,4 @@ InstalledProduct #### Defined in -[api.ts:1125](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1125) +[api.ts:1175](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1175) diff --git a/packages/host-inventory/doc/interfaces/Links.md b/packages/host-inventory/doc/interfaces/Links.md index ed7d38f51..9f5ab660a 100644 --- a/packages/host-inventory/doc/interfaces/Links.md +++ b/packages/host-inventory/doc/interfaces/Links.md @@ -33,7 +33,7 @@ Links #### Defined in -[api.ts:1138](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1138) +[api.ts:1188](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1188) ___ @@ -49,7 +49,7 @@ Links #### Defined in -[api.ts:1156](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1156) +[api.ts:1206](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1206) ___ @@ -65,7 +65,7 @@ Links #### Defined in -[api.ts:1150](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1150) +[api.ts:1200](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1200) ___ @@ -81,4 +81,4 @@ Links #### Defined in -[api.ts:1144](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1144) +[api.ts:1194](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1194) diff --git a/packages/host-inventory/doc/interfaces/Meta.md b/packages/host-inventory/doc/interfaces/Meta.md index 50e3f18d3..474e852b3 100644 --- a/packages/host-inventory/doc/interfaces/Meta.md +++ b/packages/host-inventory/doc/interfaces/Meta.md @@ -30,4 +30,4 @@ Meta #### Defined in -[api.ts:1169](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1169) +[api.ts:1219](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1219) diff --git a/packages/host-inventory/doc/interfaces/NetworkInterface.md b/packages/host-inventory/doc/interfaces/NetworkInterface.md index eaac28a7e..fbb57f10c 100644 --- a/packages/host-inventory/doc/interfaces/NetworkInterface.md +++ b/packages/host-inventory/doc/interfaces/NetworkInterface.md @@ -34,7 +34,7 @@ NetworkInterface #### Defined in -[api.ts:1182](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1182) +[api.ts:1232](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1232) ___ @@ -48,7 +48,7 @@ NetworkInterface #### Defined in -[api.ts:1188](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1188) +[api.ts:1238](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1238) ___ @@ -64,7 +64,7 @@ NetworkInterface #### Defined in -[api.ts:1200](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1200) +[api.ts:1250](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1250) ___ @@ -80,7 +80,7 @@ NetworkInterface #### Defined in -[api.ts:1194](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1194) +[api.ts:1244](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1244) ___ @@ -96,7 +96,7 @@ NetworkInterface #### Defined in -[api.ts:1206](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1206) +[api.ts:1256](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1256) ___ @@ -112,7 +112,7 @@ NetworkInterface #### Defined in -[api.ts:1212](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1212) +[api.ts:1262](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1262) ___ @@ -128,4 +128,4 @@ NetworkInterface #### Defined in -[api.ts:1218](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1218) +[api.ts:1268](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1268) diff --git a/packages/host-inventory/doc/interfaces/PaginationOut.md b/packages/host-inventory/doc/interfaces/PaginationOut.md index 32d992984..9c494bffb 100644 --- a/packages/host-inventory/doc/interfaces/PaginationOut.md +++ b/packages/host-inventory/doc/interfaces/PaginationOut.md @@ -31,7 +31,7 @@ PaginationOut #### Defined in -[api.ts:1231](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1231) +[api.ts:1281](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1281) ___ @@ -47,7 +47,7 @@ PaginationOut #### Defined in -[api.ts:1237](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1237) +[api.ts:1287](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1287) ___ @@ -63,7 +63,7 @@ PaginationOut #### Defined in -[api.ts:1243](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1243) +[api.ts:1293](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1293) ___ @@ -79,4 +79,4 @@ PaginationOut #### Defined in -[api.ts:1249](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1249) +[api.ts:1299](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1299) diff --git a/packages/host-inventory/doc/interfaces/PatchHostIn.md b/packages/host-inventory/doc/interfaces/PatchHostIn.md index f92d2675f..20249e6aa 100644 --- a/packages/host-inventory/doc/interfaces/PatchHostIn.md +++ b/packages/host-inventory/doc/interfaces/PatchHostIn.md @@ -31,7 +31,7 @@ PatchHostIn #### Defined in -[api.ts:1262](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1262) +[api.ts:1312](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1312) ___ @@ -47,4 +47,4 @@ PatchHostIn #### Defined in -[api.ts:1268](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1268) +[api.ts:1318](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1318) diff --git a/packages/host-inventory/doc/interfaces/PerReporterStaleness.md b/packages/host-inventory/doc/interfaces/PerReporterStaleness.md index cb07be019..42f4374df 100644 --- a/packages/host-inventory/doc/interfaces/PerReporterStaleness.md +++ b/packages/host-inventory/doc/interfaces/PerReporterStaleness.md @@ -28,7 +28,7 @@ PerReporterStaleness #### Defined in -[api.ts:1293](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1293) +[api.ts:1343](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1343) ___ @@ -42,7 +42,7 @@ PerReporterStaleness #### Defined in -[api.ts:1281](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1281) +[api.ts:1331](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1331) ___ @@ -56,4 +56,4 @@ PerReporterStaleness #### Defined in -[api.ts:1287](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1287) +[api.ts:1337](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1337) diff --git a/packages/host-inventory/doc/interfaces/RPMOSTreeDeployment.md b/packages/host-inventory/doc/interfaces/RPMOSTreeDeployment.md index f07334bd5..f4fda2d70 100644 --- a/packages/host-inventory/doc/interfaces/RPMOSTreeDeployment.md +++ b/packages/host-inventory/doc/interfaces/RPMOSTreeDeployment.md @@ -36,7 +36,7 @@ RPMOSTreeDeployment #### Defined in -[api.ts:1336](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1336) +[api.ts:1386](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1386) ___ @@ -52,7 +52,7 @@ RPMOSTreeDeployment #### Defined in -[api.ts:1312](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1312) +[api.ts:1362](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1362) ___ @@ -68,7 +68,7 @@ RPMOSTreeDeployment #### Defined in -[api.ts:1306](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1306) +[api.ts:1356](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1356) ___ @@ -84,7 +84,7 @@ RPMOSTreeDeployment #### Defined in -[api.ts:1318](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1318) +[api.ts:1368](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1368) ___ @@ -100,7 +100,7 @@ RPMOSTreeDeployment #### Defined in -[api.ts:1324](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1324) +[api.ts:1374](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1374) ___ @@ -116,7 +116,7 @@ RPMOSTreeDeployment #### Defined in -[api.ts:1342](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1342) +[api.ts:1392](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1392) ___ @@ -132,4 +132,4 @@ RPMOSTreeDeployment #### Defined in -[api.ts:1330](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1330) +[api.ts:1380](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1380) diff --git a/packages/host-inventory/doc/interfaces/ResourceTypesGroupsQueryOutput.md b/packages/host-inventory/doc/interfaces/ResourceTypesGroupsQueryOutput.md index 13f061a07..7052f4b33 100644 --- a/packages/host-inventory/doc/interfaces/ResourceTypesGroupsQueryOutput.md +++ b/packages/host-inventory/doc/interfaces/ResourceTypesGroupsQueryOutput.md @@ -32,7 +32,7 @@ ResourceTypesGroupsQueryOutput #### Defined in -[api.ts:1367](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1367) +[api.ts:1417](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1417) ___ @@ -46,7 +46,7 @@ ResourceTypesGroupsQueryOutput #### Defined in -[api.ts:1361](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1361) +[api.ts:1411](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1411) ___ @@ -60,4 +60,4 @@ ResourceTypesGroupsQueryOutput #### Defined in -[api.ts:1355](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1355) +[api.ts:1405](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1405) diff --git a/packages/host-inventory/doc/interfaces/ResourceTypesGroupsQueryOutputAllOf.md b/packages/host-inventory/doc/interfaces/ResourceTypesGroupsQueryOutputAllOf.md index 49dec2a0c..22255df83 100644 --- a/packages/host-inventory/doc/interfaces/ResourceTypesGroupsQueryOutputAllOf.md +++ b/packages/host-inventory/doc/interfaces/ResourceTypesGroupsQueryOutputAllOf.md @@ -28,4 +28,4 @@ ResourceTypesGroupsQueryOutputAllOf #### Defined in -[api.ts:1380](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1380) +[api.ts:1430](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1430) diff --git a/packages/host-inventory/doc/interfaces/ResourceTypesOut.md b/packages/host-inventory/doc/interfaces/ResourceTypesOut.md index 23674fb56..22bbd12d3 100644 --- a/packages/host-inventory/doc/interfaces/ResourceTypesOut.md +++ b/packages/host-inventory/doc/interfaces/ResourceTypesOut.md @@ -30,7 +30,7 @@ ResourceTypesOut #### Defined in -[api.ts:1405](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1405) +[api.ts:1455](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1455) ___ @@ -46,7 +46,7 @@ ResourceTypesOut #### Defined in -[api.ts:1399](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1399) +[api.ts:1449](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1449) ___ @@ -62,4 +62,4 @@ ResourceTypesOut #### Defined in -[api.ts:1393](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1393) +[api.ts:1443](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1443) diff --git a/packages/host-inventory/doc/interfaces/ResourceTypesPaginationOut.md b/packages/host-inventory/doc/interfaces/ResourceTypesPaginationOut.md index a6e1581d6..7d11e0ee5 100644 --- a/packages/host-inventory/doc/interfaces/ResourceTypesPaginationOut.md +++ b/packages/host-inventory/doc/interfaces/ResourceTypesPaginationOut.md @@ -27,7 +27,7 @@ ResourceTypesPaginationOut #### Defined in -[api.ts:1424](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1424) +[api.ts:1474](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1474) ___ @@ -41,4 +41,4 @@ ResourceTypesPaginationOut #### Defined in -[api.ts:1418](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1418) +[api.ts:1468](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1468) diff --git a/packages/host-inventory/doc/interfaces/ResourceTypesQueryOutput.md b/packages/host-inventory/doc/interfaces/ResourceTypesQueryOutput.md index e031a2611..b2ff25401 100644 --- a/packages/host-inventory/doc/interfaces/ResourceTypesQueryOutput.md +++ b/packages/host-inventory/doc/interfaces/ResourceTypesQueryOutput.md @@ -32,7 +32,7 @@ ResourceTypesQueryOutput #### Defined in -[api.ts:1449](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1449) +[api.ts:1499](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1499) ___ @@ -46,7 +46,7 @@ ResourceTypesQueryOutput #### Defined in -[api.ts:1443](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1443) +[api.ts:1493](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1493) ___ @@ -60,4 +60,4 @@ ResourceTypesQueryOutput #### Defined in -[api.ts:1437](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1437) +[api.ts:1487](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1487) diff --git a/packages/host-inventory/doc/interfaces/ResourceTypesQueryOutputAllOf.md b/packages/host-inventory/doc/interfaces/ResourceTypesQueryOutputAllOf.md index 1bee5cf35..7c7cd8917 100644 --- a/packages/host-inventory/doc/interfaces/ResourceTypesQueryOutputAllOf.md +++ b/packages/host-inventory/doc/interfaces/ResourceTypesQueryOutputAllOf.md @@ -28,4 +28,4 @@ ResourceTypesQueryOutputAllOf #### Defined in -[api.ts:1462](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1462) +[api.ts:1512](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1512) diff --git a/packages/host-inventory/doc/interfaces/StructuredTag.md b/packages/host-inventory/doc/interfaces/StructuredTag.md index aefeb3409..1fe388298 100644 --- a/packages/host-inventory/doc/interfaces/StructuredTag.md +++ b/packages/host-inventory/doc/interfaces/StructuredTag.md @@ -28,7 +28,7 @@ StructuredTag #### Defined in -[api.ts:1481](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1481) +[api.ts:1531](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1531) ___ @@ -42,7 +42,7 @@ StructuredTag #### Defined in -[api.ts:1475](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1475) +[api.ts:1525](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1525) ___ @@ -56,4 +56,4 @@ StructuredTag #### Defined in -[api.ts:1487](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1487) +[api.ts:1537](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1537) diff --git a/packages/host-inventory/doc/interfaces/SystemProfile.md b/packages/host-inventory/doc/interfaces/SystemProfile.md index fbd12225d..4eb406e7f 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfile.md +++ b/packages/host-inventory/doc/interfaces/SystemProfile.md @@ -89,7 +89,7 @@ SystemProfile #### Defined in -[api.ts:1854](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1854) +[api.ts:1904](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1904) ___ @@ -103,7 +103,7 @@ SystemProfile #### Defined in -[api.ts:1626](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1626) +[api.ts:1676](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1676) ___ @@ -119,7 +119,7 @@ SystemProfile #### Defined in -[api.ts:1632](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1632) +[api.ts:1682](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1682) ___ @@ -133,7 +133,7 @@ SystemProfile #### Defined in -[api.ts:1584](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1584) +[api.ts:1634](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1634) ___ @@ -147,7 +147,7 @@ SystemProfile #### Defined in -[api.ts:1572](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1572) +[api.ts:1622](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1622) ___ @@ -161,7 +161,7 @@ SystemProfile #### Defined in -[api.ts:1578](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1578) +[api.ts:1628](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1628) ___ @@ -175,7 +175,7 @@ SystemProfile #### Defined in -[api.ts:1728](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1728) +[api.ts:1778](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1778) ___ @@ -189,7 +189,7 @@ SystemProfile #### Defined in -[api.ts:1680](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1680) +[api.ts:1730](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1730) ___ @@ -203,7 +203,7 @@ SystemProfile #### Defined in -[api.ts:1536](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1536) +[api.ts:1586](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1586) ___ @@ -217,7 +217,7 @@ SystemProfile #### Defined in -[api.ts:1590](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1590) +[api.ts:1640](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1640) ___ @@ -233,7 +233,7 @@ SystemProfile #### Defined in -[api.ts:1518](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1518) +[api.ts:1568](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1568) ___ @@ -247,7 +247,7 @@ SystemProfile #### Defined in -[api.ts:1566](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1566) +[api.ts:1616](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1616) ___ @@ -261,7 +261,7 @@ SystemProfile #### Defined in -[api.ts:1704](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1704) +[api.ts:1754](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1754) ___ @@ -275,7 +275,7 @@ SystemProfile #### Defined in -[api.ts:1758](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1758) +[api.ts:1808](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1808) ___ @@ -289,7 +289,7 @@ SystemProfile #### Defined in -[api.ts:1746](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1746) +[api.ts:1796](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1796) ___ @@ -305,7 +305,7 @@ SystemProfile #### Defined in -[api.ts:1830](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1830) +[api.ts:1880](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1880) ___ @@ -321,7 +321,7 @@ SystemProfile #### Defined in -[api.ts:1824](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1824) +[api.ts:1874](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1874) ___ @@ -337,7 +337,7 @@ SystemProfile #### Defined in -[api.ts:1818](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1818) +[api.ts:1868](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1868) ___ @@ -351,7 +351,7 @@ SystemProfile #### Defined in -[api.ts:1548](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1548) +[api.ts:1598](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1598) ___ @@ -365,7 +365,7 @@ SystemProfile #### Defined in -[api.ts:1554](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1554) +[api.ts:1604](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1604) ___ @@ -381,7 +381,7 @@ SystemProfile #### Defined in -[api.ts:1716](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1716) +[api.ts:1766](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1766) ___ @@ -395,7 +395,7 @@ SystemProfile #### Defined in -[api.ts:1722](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1722) +[api.ts:1772](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1772) ___ @@ -409,7 +409,7 @@ SystemProfile #### Defined in -[api.ts:1734](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1734) +[api.ts:1784](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1784) ___ @@ -423,7 +423,7 @@ SystemProfile #### Defined in -[api.ts:1740](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1740) +[api.ts:1790](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1790) ___ @@ -437,7 +437,7 @@ SystemProfile #### Defined in -[api.ts:1710](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1710) +[api.ts:1760](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1760) ___ @@ -451,7 +451,7 @@ SystemProfile #### Defined in -[api.ts:1752](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1752) +[api.ts:1802](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1802) ___ @@ -467,7 +467,7 @@ SystemProfile #### Defined in -[api.ts:1812](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1812) +[api.ts:1862](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1862) ___ @@ -481,7 +481,7 @@ SystemProfile #### Defined in -[api.ts:1668](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1668) +[api.ts:1718](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1718) ___ @@ -495,7 +495,7 @@ SystemProfile #### Defined in -[api.ts:1638](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1638) +[api.ts:1688](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1688) ___ @@ -509,7 +509,7 @@ SystemProfile #### Defined in -[api.ts:1644](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1644) +[api.ts:1694](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1694) ___ @@ -523,7 +523,7 @@ SystemProfile #### Defined in -[api.ts:1860](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1860) +[api.ts:1910](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1910) ___ @@ -537,7 +537,7 @@ SystemProfile #### Defined in -[api.ts:1560](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1560) +[api.ts:1610](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1610) ___ @@ -551,7 +551,7 @@ SystemProfile #### Defined in -[api.ts:1524](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1524) +[api.ts:1574](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1574) ___ @@ -565,7 +565,7 @@ SystemProfile #### Defined in -[api.ts:1530](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1530) +[api.ts:1580](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1580) ___ @@ -579,7 +579,7 @@ SystemProfile #### Defined in -[api.ts:1602](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1602) +[api.ts:1652](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1652) ___ @@ -595,7 +595,7 @@ SystemProfile #### Defined in -[api.ts:1614](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1614) +[api.ts:1664](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1664) ___ @@ -609,7 +609,7 @@ SystemProfile #### Defined in -[api.ts:1608](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1608) +[api.ts:1658](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1658) ___ @@ -625,7 +625,7 @@ SystemProfile #### Defined in -[api.ts:1500](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1500) +[api.ts:1550](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1550) ___ @@ -639,7 +639,7 @@ SystemProfile #### Defined in -[api.ts:1692](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1692) +[api.ts:1742](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1742) ___ @@ -653,7 +653,7 @@ SystemProfile #### Defined in -[api.ts:1686](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1686) +[api.ts:1736](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1736) ___ @@ -669,7 +669,7 @@ SystemProfile #### Defined in -[api.ts:1620](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1620) +[api.ts:1670](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1670) ___ @@ -685,7 +685,7 @@ SystemProfile #### Defined in -[api.ts:1506](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1506) +[api.ts:1556](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1556) ___ @@ -701,7 +701,7 @@ SystemProfile #### Defined in -[api.ts:1512](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1512) +[api.ts:1562](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1562) ___ @@ -715,7 +715,7 @@ SystemProfile #### Defined in -[api.ts:1842](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1842) +[api.ts:1892](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1892) ___ @@ -731,7 +731,7 @@ SystemProfile #### Defined in -[api.ts:1836](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1836) +[api.ts:1886](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1886) ___ @@ -745,7 +745,7 @@ SystemProfile #### Defined in -[api.ts:1650](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1650) +[api.ts:1700](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1700) ___ @@ -759,7 +759,7 @@ SystemProfile #### Defined in -[api.ts:1764](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1764) +[api.ts:1814](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1814) ___ @@ -775,7 +775,7 @@ SystemProfile #### Defined in -[api.ts:1782](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1782) +[api.ts:1832](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1832) ___ @@ -789,7 +789,7 @@ SystemProfile #### Defined in -[api.ts:1776](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1776) +[api.ts:1826](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1826) ___ @@ -805,7 +805,7 @@ SystemProfile #### Defined in -[api.ts:1770](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1770) +[api.ts:1820](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1820) ___ @@ -821,7 +821,7 @@ SystemProfile #### Defined in -[api.ts:1788](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1788) +[api.ts:1838](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1838) ___ @@ -835,7 +835,7 @@ SystemProfile #### Defined in -[api.ts:1674](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1674) +[api.ts:1724](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1724) ___ @@ -851,7 +851,7 @@ SystemProfile #### Defined in -[api.ts:1806](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1806) +[api.ts:1856](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1856) ___ @@ -867,7 +867,7 @@ SystemProfile #### Defined in -[api.ts:1800](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1800) +[api.ts:1850](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1850) ___ @@ -881,7 +881,7 @@ SystemProfile #### Defined in -[api.ts:1662](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1662) +[api.ts:1712](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1712) ___ @@ -895,7 +895,7 @@ SystemProfile #### Defined in -[api.ts:1656](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1656) +[api.ts:1706](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1706) ___ @@ -909,7 +909,7 @@ SystemProfile #### Defined in -[api.ts:1542](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1542) +[api.ts:1592](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1592) ___ @@ -923,7 +923,7 @@ SystemProfile #### Defined in -[api.ts:1848](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1848) +[api.ts:1898](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1898) ___ @@ -939,7 +939,7 @@ SystemProfile #### Defined in -[api.ts:1866](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1866) +[api.ts:1916](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1916) ___ @@ -953,7 +953,7 @@ SystemProfile #### Defined in -[api.ts:1596](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1596) +[api.ts:1646](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1646) ___ @@ -969,7 +969,7 @@ SystemProfile #### Defined in -[api.ts:1794](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1794) +[api.ts:1844](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1844) ___ @@ -983,4 +983,4 @@ SystemProfile #### Defined in -[api.ts:1698](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1698) +[api.ts:1748](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1748) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileAnsible.md b/packages/host-inventory/doc/interfaces/SystemProfileAnsible.md index aedf7621a..578e93be4 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileAnsible.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileAnsible.md @@ -33,7 +33,7 @@ SystemProfileAnsible #### Defined in -[api.ts:1926](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1926) +[api.ts:1976](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1976) ___ @@ -49,7 +49,7 @@ SystemProfileAnsible #### Defined in -[api.ts:1914](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1914) +[api.ts:1964](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1964) ___ @@ -65,7 +65,7 @@ SystemProfileAnsible #### Defined in -[api.ts:1920](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1920) +[api.ts:1970](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1970) ___ @@ -81,4 +81,4 @@ SystemProfileAnsible #### Defined in -[api.ts:1932](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1932) +[api.ts:1982](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1982) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileByHostOut.md b/packages/host-inventory/doc/interfaces/SystemProfileByHostOut.md index 1e139ec51..2550a3706 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileByHostOut.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileByHostOut.md @@ -34,7 +34,7 @@ SystemProfileByHostOut #### Defined in -[api.ts:1945](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1945) +[api.ts:1995](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1995) ___ @@ -50,7 +50,7 @@ SystemProfileByHostOut #### Defined in -[api.ts:1951](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1951) +[api.ts:2001](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2001) ___ @@ -66,7 +66,7 @@ SystemProfileByHostOut #### Defined in -[api.ts:1957](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1957) +[api.ts:2007](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2007) ___ @@ -82,7 +82,7 @@ SystemProfileByHostOut #### Defined in -[api.ts:1969](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1969) +[api.ts:2019](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2019) ___ @@ -98,4 +98,4 @@ SystemProfileByHostOut #### Defined in -[api.ts:1963](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1963) +[api.ts:2013](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2013) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileByHostOutAllOf.md b/packages/host-inventory/doc/interfaces/SystemProfileByHostOutAllOf.md index 70bb14546..feeff9ee8 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileByHostOutAllOf.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileByHostOutAllOf.md @@ -28,4 +28,4 @@ SystemProfileByHostOutAllOf #### Defined in -[api.ts:1982](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1982) +[api.ts:2032](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2032) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileDiskDevice.md b/packages/host-inventory/doc/interfaces/SystemProfileDiskDevice.md index eb7f07bf8..ed082828f 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileDiskDevice.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileDiskDevice.md @@ -32,7 +32,7 @@ SystemProfileDiskDevice #### Defined in -[api.ts:1995](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L1995) +[api.ts:2045](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2045) ___ @@ -48,7 +48,7 @@ SystemProfileDiskDevice #### Defined in -[api.ts:2001](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2001) +[api.ts:2051](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2051) ___ @@ -64,7 +64,7 @@ SystemProfileDiskDevice #### Defined in -[api.ts:2013](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2013) +[api.ts:2063](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2063) ___ @@ -84,7 +84,7 @@ SystemProfileDiskDevice #### Defined in -[api.ts:2007](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2007) +[api.ts:2057](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2057) ___ @@ -100,4 +100,4 @@ SystemProfileDiskDevice #### Defined in -[api.ts:2019](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2019) +[api.ts:2069](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2069) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileDnfModule.md b/packages/host-inventory/doc/interfaces/SystemProfileDnfModule.md index 2836f7459..ba77b7eff 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileDnfModule.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileDnfModule.md @@ -29,7 +29,7 @@ SystemProfileDnfModule #### Defined in -[api.ts:2032](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2032) +[api.ts:2082](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2082) ___ @@ -43,4 +43,4 @@ SystemProfileDnfModule #### Defined in -[api.ts:2038](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2038) +[api.ts:2088](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2088) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileInstalledProduct.md b/packages/host-inventory/doc/interfaces/SystemProfileInstalledProduct.md index 189d0a91b..0a0a47ee3 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileInstalledProduct.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileInstalledProduct.md @@ -32,7 +32,7 @@ SystemProfileInstalledProduct #### Defined in -[api.ts:2057](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2057) +[api.ts:2107](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2107) ___ @@ -46,7 +46,7 @@ SystemProfileInstalledProduct #### Defined in -[api.ts:2051](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2051) +[api.ts:2101](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2101) ___ @@ -62,4 +62,4 @@ SystemProfileInstalledProduct #### Defined in -[api.ts:2063](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2063) +[api.ts:2113](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2113) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileMssql.md b/packages/host-inventory/doc/interfaces/SystemProfileMssql.md index 8ae5d69bd..6b316247b 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileMssql.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileMssql.md @@ -30,4 +30,4 @@ SystemProfileMssql #### Defined in -[api.ts:2076](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2076) +[api.ts:2126](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2126) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileNetworkInterface.md b/packages/host-inventory/doc/interfaces/SystemProfileNetworkInterface.md index 32b5e0a3f..1be0a7c29 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileNetworkInterface.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileNetworkInterface.md @@ -34,7 +34,7 @@ SystemProfileNetworkInterface #### Defined in -[api.ts:2089](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2089) +[api.ts:2139](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2139) ___ @@ -48,7 +48,7 @@ SystemProfileNetworkInterface #### Defined in -[api.ts:2095](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2095) +[api.ts:2145](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2145) ___ @@ -64,7 +64,7 @@ SystemProfileNetworkInterface #### Defined in -[api.ts:2107](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2107) +[api.ts:2157](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2157) ___ @@ -80,7 +80,7 @@ SystemProfileNetworkInterface #### Defined in -[api.ts:2101](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2101) +[api.ts:2151](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2151) ___ @@ -96,7 +96,7 @@ SystemProfileNetworkInterface #### Defined in -[api.ts:2113](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2113) +[api.ts:2163](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2163) ___ @@ -112,7 +112,7 @@ SystemProfileNetworkInterface #### Defined in -[api.ts:2119](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2119) +[api.ts:2169](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2169) ___ @@ -128,4 +128,4 @@ SystemProfileNetworkInterface #### Defined in -[api.ts:2125](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2125) +[api.ts:2175](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2175) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystem.md b/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystem.md index 3217dd3cb..f24dd524c 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystem.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystem.md @@ -32,7 +32,7 @@ SystemProfileOperatingSystem #### Defined in -[api.ts:2138](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2138) +[api.ts:2188](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2188) ___ @@ -48,7 +48,7 @@ SystemProfileOperatingSystem #### Defined in -[api.ts:2144](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2144) +[api.ts:2194](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2194) ___ @@ -64,4 +64,4 @@ SystemProfileOperatingSystem #### Defined in -[api.ts:2150](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2150) +[api.ts:2200](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2200) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOut.md b/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOut.md index 9b09e9ec3..7b3827aef 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOut.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOut.md @@ -30,7 +30,7 @@ SystemProfileOperatingSystemOut #### Defined in -[api.ts:2180](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2180) +[api.ts:2230](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2230) ___ @@ -46,7 +46,7 @@ SystemProfileOperatingSystemOut #### Defined in -[api.ts:2186](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2186) +[api.ts:2236](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2236) ___ @@ -62,4 +62,4 @@ SystemProfileOperatingSystemOut #### Defined in -[api.ts:2174](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2174) +[api.ts:2224](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2224) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOutResults.md b/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOutResults.md index adb2e8770..9c9eb0dae 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOutResults.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOutResults.md @@ -27,7 +27,7 @@ SystemProfileOperatingSystemOutResults #### Defined in -[api.ts:2205](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2205) +[api.ts:2255](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2255) ___ @@ -41,4 +41,4 @@ SystemProfileOperatingSystemOutResults #### Defined in -[api.ts:2199](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2199) +[api.ts:2249](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2249) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOutValue.md b/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOutValue.md index 3285e40c8..953476cdf 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOutValue.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileOperatingSystemOutValue.md @@ -28,7 +28,7 @@ SystemProfileOperatingSystemOutValue #### Defined in -[api.ts:2224](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2224) +[api.ts:2274](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2274) ___ @@ -42,7 +42,7 @@ SystemProfileOperatingSystemOutValue #### Defined in -[api.ts:2230](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2230) +[api.ts:2280](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2280) ___ @@ -56,4 +56,4 @@ SystemProfileOperatingSystemOutValue #### Defined in -[api.ts:2218](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2218) +[api.ts:2268](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2268) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileRhsm.md b/packages/host-inventory/doc/interfaces/SystemProfileRhsm.md index c36e26627..aae52bc90 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileRhsm.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileRhsm.md @@ -30,4 +30,4 @@ SystemProfileRhsm #### Defined in -[api.ts:2243](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2243) +[api.ts:2293](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2293) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileSap.md b/packages/host-inventory/doc/interfaces/SystemProfileSap.md index 7a6d3d8e4..bd8bae9a9 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileSap.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileSap.md @@ -33,7 +33,7 @@ SystemProfileSap #### Defined in -[api.ts:2268](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2268) +[api.ts:2318](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2318) ___ @@ -49,7 +49,7 @@ SystemProfileSap #### Defined in -[api.ts:2256](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2256) +[api.ts:2306](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2306) ___ @@ -63,7 +63,7 @@ SystemProfileSap #### Defined in -[api.ts:2262](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2262) +[api.ts:2312](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2312) ___ @@ -79,4 +79,4 @@ SystemProfileSap #### Defined in -[api.ts:2274](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2274) +[api.ts:2324](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2324) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileSapSystemOut.md b/packages/host-inventory/doc/interfaces/SystemProfileSapSystemOut.md index 600aa5ec0..80ba229c8 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileSapSystemOut.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileSapSystemOut.md @@ -30,7 +30,7 @@ SystemProfileSapSystemOut #### Defined in -[api.ts:2293](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2293) +[api.ts:2343](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2343) ___ @@ -46,7 +46,7 @@ SystemProfileSapSystemOut #### Defined in -[api.ts:2299](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2299) +[api.ts:2349](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2349) ___ @@ -62,4 +62,4 @@ SystemProfileSapSystemOut #### Defined in -[api.ts:2287](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2287) +[api.ts:2337](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2337) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileSapSystemOutResults.md b/packages/host-inventory/doc/interfaces/SystemProfileSapSystemOutResults.md index 257999525..c310ea633 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileSapSystemOutResults.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileSapSystemOutResults.md @@ -27,7 +27,7 @@ SystemProfileSapSystemOutResults #### Defined in -[api.ts:2318](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2318) +[api.ts:2368](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2368) ___ @@ -41,4 +41,4 @@ SystemProfileSapSystemOutResults #### Defined in -[api.ts:2312](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2312) +[api.ts:2362](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2362) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileSystemPurpose.md b/packages/host-inventory/doc/interfaces/SystemProfileSystemPurpose.md index 5f38d2a8d..87c7a6a7c 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileSystemPurpose.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileSystemPurpose.md @@ -32,7 +32,7 @@ SystemProfileSystemPurpose #### Defined in -[api.ts:2337](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2337) +[api.ts:2387](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2387) ___ @@ -48,7 +48,7 @@ SystemProfileSystemPurpose #### Defined in -[api.ts:2343](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2343) +[api.ts:2393](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2393) ___ @@ -64,4 +64,4 @@ SystemProfileSystemPurpose #### Defined in -[api.ts:2331](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2331) +[api.ts:2381](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2381) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileSystemd.md b/packages/host-inventory/doc/interfaces/SystemProfileSystemd.md index aca10edab..94b7b56a3 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileSystemd.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileSystemd.md @@ -32,7 +32,7 @@ SystemProfileSystemd #### Defined in -[api.ts:2397](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2397) +[api.ts:2447](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2447) ___ @@ -48,7 +48,7 @@ SystemProfileSystemd #### Defined in -[api.ts:2391](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2391) +[api.ts:2441](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2441) ___ @@ -64,4 +64,4 @@ SystemProfileSystemd #### Defined in -[api.ts:2385](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2385) +[api.ts:2435](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2435) diff --git a/packages/host-inventory/doc/interfaces/SystemProfileYumRepo.md b/packages/host-inventory/doc/interfaces/SystemProfileYumRepo.md index 71540a357..fb1eace89 100644 --- a/packages/host-inventory/doc/interfaces/SystemProfileYumRepo.md +++ b/packages/host-inventory/doc/interfaces/SystemProfileYumRepo.md @@ -33,7 +33,7 @@ SystemProfileYumRepo #### Defined in -[api.ts:2448](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2448) +[api.ts:2498](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2498) ___ @@ -47,7 +47,7 @@ SystemProfileYumRepo #### Defined in -[api.ts:2442](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2442) +[api.ts:2492](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2492) ___ @@ -61,7 +61,7 @@ SystemProfileYumRepo #### Defined in -[api.ts:2436](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2436) +[api.ts:2486](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2486) ___ @@ -75,7 +75,7 @@ SystemProfileYumRepo #### Defined in -[api.ts:2424](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2424) +[api.ts:2474](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2474) ___ @@ -91,7 +91,7 @@ SystemProfileYumRepo #### Defined in -[api.ts:2454](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2454) +[api.ts:2504](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2504) ___ @@ -105,4 +105,4 @@ SystemProfileYumRepo #### Defined in -[api.ts:2430](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2430) +[api.ts:2480](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2480) diff --git a/packages/host-inventory/doc/interfaces/TagCountOut.md b/packages/host-inventory/doc/interfaces/TagCountOut.md index f0713663d..09e268183 100644 --- a/packages/host-inventory/doc/interfaces/TagCountOut.md +++ b/packages/host-inventory/doc/interfaces/TagCountOut.md @@ -32,7 +32,7 @@ TagCountOut #### Defined in -[api.ts:2467](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2467) +[api.ts:2517](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2517) ___ @@ -48,7 +48,7 @@ TagCountOut #### Defined in -[api.ts:2473](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2473) +[api.ts:2523](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2523) ___ @@ -64,7 +64,7 @@ TagCountOut #### Defined in -[api.ts:2479](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2479) +[api.ts:2529](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2529) ___ @@ -84,7 +84,7 @@ TagCountOut #### Defined in -[api.ts:2491](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2491) +[api.ts:2541](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2541) ___ @@ -100,4 +100,4 @@ TagCountOut #### Defined in -[api.ts:2485](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2485) +[api.ts:2535](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2535) diff --git a/packages/host-inventory/doc/interfaces/TagCountOutAllOf.md b/packages/host-inventory/doc/interfaces/TagCountOutAllOf.md index 4c42c15dc..344ee077c 100644 --- a/packages/host-inventory/doc/interfaces/TagCountOutAllOf.md +++ b/packages/host-inventory/doc/interfaces/TagCountOutAllOf.md @@ -32,4 +32,4 @@ TagCountOutAllOf #### Defined in -[api.ts:2504](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2504) +[api.ts:2554](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2554) diff --git a/packages/host-inventory/doc/interfaces/TagsOut.md b/packages/host-inventory/doc/interfaces/TagsOut.md index 98eff7d46..af68d0710 100644 --- a/packages/host-inventory/doc/interfaces/TagsOut.md +++ b/packages/host-inventory/doc/interfaces/TagsOut.md @@ -32,7 +32,7 @@ TagsOut #### Defined in -[api.ts:2517](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2517) +[api.ts:2567](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2567) ___ @@ -48,7 +48,7 @@ TagsOut #### Defined in -[api.ts:2523](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2523) +[api.ts:2573](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2573) ___ @@ -64,7 +64,7 @@ TagsOut #### Defined in -[api.ts:2529](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2529) +[api.ts:2579](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2579) ___ @@ -84,7 +84,7 @@ TagsOut #### Defined in -[api.ts:2541](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2541) +[api.ts:2591](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2591) ___ @@ -100,4 +100,4 @@ TagsOut #### Defined in -[api.ts:2535](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2535) +[api.ts:2585](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2585) diff --git a/packages/host-inventory/doc/interfaces/TagsOutAllOf.md b/packages/host-inventory/doc/interfaces/TagsOutAllOf.md index b00e00ae4..c562d5b23 100644 --- a/packages/host-inventory/doc/interfaces/TagsOutAllOf.md +++ b/packages/host-inventory/doc/interfaces/TagsOutAllOf.md @@ -32,4 +32,4 @@ TagsOutAllOf #### Defined in -[api.ts:2554](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2554) +[api.ts:2604](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2604) diff --git a/packages/host-inventory/doc/interfaces/UnleashToggleOut.md b/packages/host-inventory/doc/interfaces/UnleashToggleOut.md index 93c95ddce..96b647085 100644 --- a/packages/host-inventory/doc/interfaces/UnleashToggleOut.md +++ b/packages/host-inventory/doc/interfaces/UnleashToggleOut.md @@ -29,7 +29,7 @@ UnleashToggleOut #### Defined in -[api.ts:2567](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2567) +[api.ts:2617](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2617) ___ @@ -45,4 +45,4 @@ UnleashToggleOut #### Defined in -[api.ts:2573](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2573) +[api.ts:2623](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2623) diff --git a/packages/host-inventory/doc/interfaces/YumRepo.md b/packages/host-inventory/doc/interfaces/YumRepo.md index 8a558e8da..41990d0bb 100644 --- a/packages/host-inventory/doc/interfaces/YumRepo.md +++ b/packages/host-inventory/doc/interfaces/YumRepo.md @@ -33,7 +33,7 @@ YumRepo #### Defined in -[api.ts:2610](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2610) +[api.ts:2660](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2660) ___ @@ -47,7 +47,7 @@ YumRepo #### Defined in -[api.ts:2604](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2604) +[api.ts:2654](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2654) ___ @@ -61,7 +61,7 @@ YumRepo #### Defined in -[api.ts:2598](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2598) +[api.ts:2648](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2648) ___ @@ -75,7 +75,7 @@ YumRepo #### Defined in -[api.ts:2586](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2586) +[api.ts:2636](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2636) ___ @@ -91,7 +91,7 @@ YumRepo #### Defined in -[api.ts:2616](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2616) +[api.ts:2666](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2666) ___ @@ -105,4 +105,4 @@ YumRepo #### Defined in -[api.ts:2592](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2592) +[api.ts:2642](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2642) diff --git a/packages/host-inventory/doc/modules.md b/packages/host-inventory/doc/modules.md index 478b48663..7a1644e8b 100644 --- a/packages/host-inventory/doc/modules.md +++ b/packages/host-inventory/doc/modules.md @@ -29,6 +29,8 @@ ### Interfaces +- [AccountStalenessIn](interfaces/AccountStalenessIn.md) +- [AccountStalenessInAnyOf](interfaces/AccountStalenessInAnyOf.md) - [AccountStalenessOutput](interfaces/AccountStalenessOutput.md) - [ActiveTag](interfaces/ActiveTag.md) - [ActiveTags](interfaces/ActiveTags.md) @@ -148,14 +150,14 @@ AccountsStalenessApi - axios parameter creator | Name | Type | | :------ | :------ | -| `apiAccountStalenessCreateStaleness` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `apiAccountStalenessCreateStaleness` | (`accountStalenessIn`: [`AccountStalenessIn`](interfaces/AccountStalenessIn.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | | `apiAccountStalenessGetStaleness` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | | `apiAccountStalenessResetStaleness` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | | `apiAccountStalenessUpdateStaleness` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | #### Defined in -[api.ts:2623](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2623) +[api.ts:2673](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2673) ___ @@ -181,14 +183,14 @@ AccountsStalenessApi - factory interface | Name | Type | | :------ | :------ | -| `apiAccountStalenessCreateStaleness` | (`options?`: `any`) => `AxiosPromise`<[`AccountStalenessOutput`](interfaces/AccountStalenessOutput.md)\> | +| `apiAccountStalenessCreateStaleness` | (`accountStalenessIn`: [`AccountStalenessIn`](interfaces/AccountStalenessIn.md), `options?`: `any`) => `AxiosPromise`<[`AccountStalenessOutput`](interfaces/AccountStalenessOutput.md)\> | | `apiAccountStalenessGetStaleness` | (`options?`: `any`) => `AxiosPromise`<[`AccountStalenessOutput`](interfaces/AccountStalenessOutput.md)\> | | `apiAccountStalenessResetStaleness` | (`options?`: `any`) => `AxiosPromise`<[`AccountStalenessOutput`](interfaces/AccountStalenessOutput.md)\> | | `apiAccountStalenessUpdateStaleness` | (`options?`: `any`) => `AxiosPromise`<[`AccountStalenessOutput`](interfaces/AccountStalenessOutput.md)\> | #### Defined in -[api.ts:2845](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2845) +[api.ts:2905](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2905) ___ @@ -212,14 +214,14 @@ AccountsStalenessApi - functional programming interface | Name | Type | | :------ | :------ | -| `apiAccountStalenessCreateStaleness` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AccountStalenessOutput`](interfaces/AccountStalenessOutput.md)\>\> | +| `apiAccountStalenessCreateStaleness` | (`accountStalenessIn`: [`AccountStalenessIn`](interfaces/AccountStalenessIn.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AccountStalenessOutput`](interfaces/AccountStalenessOutput.md)\>\> | | `apiAccountStalenessGetStaleness` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AccountStalenessOutput`](interfaces/AccountStalenessOutput.md)\>\> | | `apiAccountStalenessResetStaleness` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AccountStalenessOutput`](interfaces/AccountStalenessOutput.md)\>\> | | `apiAccountStalenessUpdateStaleness` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AccountStalenessOutput`](interfaces/AccountStalenessOutput.md)\>\> | #### Defined in -[api.ts:2784](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2784) +[api.ts:2843](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2843) ___ @@ -256,7 +258,7 @@ GroupsApi - axios parameter creator #### Defined in -[api.ts:2944](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L2944) +[api.ts:3006](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3006) ___ @@ -295,7 +297,7 @@ GroupsApi - factory interface #### Defined in -[api.ts:3687](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3687) +[api.ts:3749](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3749) ___ @@ -332,7 +334,7 @@ GroupsApi - functional programming interface #### Defined in -[api.ts:3519](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3519) +[api.ts:3581](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3581) ___ @@ -371,7 +373,7 @@ HostsApi - axios parameter creator #### Defined in -[api.ts:3964](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L3964) +[api.ts:4026](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L4026) ___ @@ -412,7 +414,7 @@ HostsApi - factory interface #### Defined in -[api.ts:5069](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5069) +[api.ts:5131](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5131) ___ @@ -451,7 +453,7 @@ HostsApi - functional programming interface #### Defined in -[api.ts:4832](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L4832) +[api.ts:4894](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L4894) ___ @@ -480,7 +482,7 @@ ResourceTypesApi - axios parameter creator #### Defined in -[api.ts:5472](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5472) +[api.ts:5534](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5534) ___ @@ -511,7 +513,7 @@ ResourceTypesApi - factory interface #### Defined in -[api.ts:5622](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5622) +[api.ts:5684](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5684) ___ @@ -540,7 +542,7 @@ ResourceTypesApi - functional programming interface #### Defined in -[api.ts:5582](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5582) +[api.ts:5644](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5644) ___ @@ -571,7 +573,7 @@ SystemProfileApi - axios parameter creator #### Defined in -[api.ts:5691](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5691) +[api.ts:5753](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5753) ___ @@ -604,7 +606,7 @@ SystemProfileApi - factory interface #### Defined in -[api.ts:6055](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6055) +[api.ts:6117](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6117) ___ @@ -635,7 +637,7 @@ SystemProfileApi - functional programming interface #### Defined in -[api.ts:5971](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L5971) +[api.ts:6033](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6033) ___ @@ -663,7 +665,7 @@ TagsApi - axios parameter creator #### Defined in -[api.ts:6200](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6200) +[api.ts:6262](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6262) ___ @@ -693,7 +695,7 @@ TagsApi - factory interface #### Defined in -[api.ts:6381](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6381) +[api.ts:6443](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6443) ___ @@ -721,7 +723,7 @@ TagsApi - functional programming interface #### Defined in -[api.ts:6341](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6341) +[api.ts:6403](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6403) ___ @@ -749,7 +751,7 @@ UnleashApi - axios parameter creator #### Defined in -[api.ts:6456](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6456) +[api.ts:6518](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6518) ___ @@ -779,7 +781,7 @@ UnleashApi - factory interface #### Defined in -[api.ts:6525](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6525) +[api.ts:6587](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6587) ___ @@ -807,4 +809,4 @@ UnleashApi - functional programming interface #### Defined in -[api.ts:6503](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6503) +[api.ts:6565](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/host-inventory/api.ts#L6565) diff --git a/packages/insights/api.ts b/packages/insights/api.ts index 4cbbca2d6..3951bf1fc 100644 --- a/packages/insights/api.ts +++ b/packages/insights/api.ts @@ -20,83 +20,9088 @@ import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base'; /** - * Pairings of C.R.C rule URL and its KCS solution number (node_id) + * * @export - * @interface Kcs + * @interface Ack */ -export interface Kcs { +export interface Ack { /** - * Rule URL on C.R.C. + * * @type {string} - * @memberof Kcs + * @memberof Ack */ - rule_url: string; + rule: string; /** - * KCS solution number + * The reason the rule was acked * @type {string} - * @memberof Kcs + * @memberof Ack */ - node_id: string; + justification?: string; + /** + * The user who created the ack + * @type {string} + * @memberof Ack + */ + created_by?: string; + /** + * + * @type {string} + * @memberof Ack + */ + created_at: string; + /** + * + * @type {string} + * @memberof Ack + */ + updated_at: string; +} +/** + * A rule_id and the number of acks on it + * @export + * @interface AckCount + */ +export interface AckCount { + /** + * + * @type {string} + * @memberof AckCount + */ + rule_id: string; + /** + * + * @type {number} + * @memberof AckCount + */ + ack_count: number; } /** * * @export - * @interface RuleCategory + * @interface AckInput */ -export interface RuleCategory { +export interface AckInput { + /** + * + * @type {string} + * @memberof AckInput + */ + rule_id: string; + /** + * + * @type {string} + * @memberof AckInput + */ + justification?: string; +} +/** + * + * @export + * @interface AckJustification + */ +export interface AckJustification { + /** + * The reason the rule was acked + * @type {string} + * @memberof AckJustification + */ + justification?: string; +} +/** + * + * @export + * @interface AllAck + */ +export interface AllAck { + /** + * + * @type {string} + * @memberof AllAck + */ + account: string; + /** + * + * @type {string} + * @memberof AllAck + */ + org_id: string; + /** + * + * @type {string} + * @memberof AllAck + */ + rule: string; + /** + * The reason the rule was acked + * @type {string} + * @memberof AllAck + */ + justification?: string; + /** + * The user who created the ack + * @type {string} + * @memberof AllAck + */ + created_by?: string; + /** + * + * @type {string} + * @memberof AllAck + */ + created_at: string; + /** + * + * @type {string} + * @memberof AllAck + */ + updated_at: string; +} +/** + * This is only available to internal users and lists ratings from all users. + * @export + * @interface AllRuleRatings + */ +export interface AllRuleRatings { + /** + * + * @type {string} + * @memberof AllRuleRatings + */ + rule: string; /** * * @type {number} - * @memberof RuleCategory + * @memberof AllRuleRatings + */ + rating: AllRuleRatingsRatingEnum; + /** + * + * @type {string} + * @memberof AllRuleRatings + */ + created_at: string; + /** + * + * @type {string} + * @memberof AllRuleRatings + */ + updated_at: string; + /** + * The username that rated this rule + * @type {string} + * @memberof AllRuleRatings + */ + rated_by?: string; + /** + * + * @type {string} + * @memberof AllRuleRatings + */ + account?: string | null; + /** + * + * @type {string} + * @memberof AllRuleRatings + */ + org_id: string; +} + +/** + * @export + * @enum {string} + */ +export enum AllRuleRatingsRatingEnum { + NUMBER_MINUS_1 = -1, + NUMBER_0 = 0, + NUMBER_1 = 1 +} + +/** + * Serializer specifically for listing all Pathways currently in the system + * @export + * @interface AutoSubscribe + */ +export interface AutoSubscribe { + /** + * + * @type {string} + * @memberof AutoSubscribe + */ + org_id: string; + /** + * + * @type {boolean} + * @memberof AutoSubscribe + */ + is_auto_subscribed: boolean; +} +/** + * Serializer specifically for handling CREATE and UPDATE views for AutoSubscribe + * @export + * @interface AutoSubscribeInput + */ +export interface AutoSubscribeInput { + /** + * + * @type {string} + * @memberof AutoSubscribeInput + */ + org_id: string; + /** + * + * @type {boolean} + * @memberof AutoSubscribeInput + */ + is_auto_subscribed: boolean; +} +/** + * The basic report information for each system affected by a rule. Only lists basic details of the host and rule, and links to more information. + * @export + * @interface ExportHits + */ +export interface ExportHits { + /** + * + * @type {string} + * @memberof ExportHits + */ + hostname: string; + /** + * + * @type {string} + * @memberof ExportHits + */ + rhel_version: string; + /** + * + * @type {string} + * @memberof ExportHits + */ + uuid: string; + /** + * + * @type {string} + * @memberof ExportHits + */ + last_seen: string; + /** + * + * @type {string} + * @memberof ExportHits + */ + title: string; + /** + * + * @type {string} + * @memberof ExportHits + */ + solution_url: string; + /** + * + * @type {number} + * @memberof ExportHits + */ + total_risk: number; + /** + * + * @type {number} + * @memberof ExportHits + */ + likelihood: number; + /** + * + * @type {string} + * @memberof ExportHits + */ + publish_date: string; + /** + * + * @type {string} + * @memberof ExportHits + */ + stale_at: string; + /** + * + * @type {string} + * @memberof ExportHits + */ + results_url: string; +} +/** + * Ignore reports of this rule on this system for this account. + * @export + * @interface HostAck + */ +export interface HostAck { + /** + * + * @type {number} + * @memberof HostAck */ id: number; /** * * @type {string} - * @memberof RuleCategory + * @memberof HostAck */ - name: string; + rule: string; + /** + * + * @type {string} + * @memberof HostAck + */ + system_uuid: string; + /** + * + * @type {string} + * @memberof HostAck + */ + justification?: string; + /** + * The username that created this acknowledgement + * @type {string} + * @memberof HostAck + */ + created_by: string; + /** + * + * @type {string} + * @memberof HostAck + */ + created_at: string; + /** + * + * @type {string} + * @memberof HostAck + */ + updated_at: string; + /** + * + * @type {string} + * @memberof HostAck + */ + display_name: string; } /** - * RHN-based system types classified by role and product code. + * Ignore reports of this rule on this system for this account. Use this when creating a new HostAck. * @export - * @interface SystemType + * @interface HostAckInput */ -export interface SystemType { +export interface HostAckInput { + /** + * + * @type {string} + * @memberof HostAckInput + */ + rule: string; + /** + * + * @type {string} + * @memberof HostAckInput + */ + system_uuid: string; + /** + * + * @type {string} + * @memberof HostAckInput + */ + justification?: string; +} +/** + * Just modify the justification on a Host Ack. + * @export + * @interface HostAckJustification + */ +export interface HostAckJustification { /** * * @type {number} - * @memberof SystemType + * @memberof HostAckJustification */ id: number; /** * * @type {string} - * @memberof SystemType + * @memberof HostAckJustification */ - role: string; + justification?: string; +} +/** + * + * @export + * @interface JustificationCount + */ +export interface JustificationCount { /** * * @type {string} - * @memberof SystemType + * @memberof JustificationCount */ - product_code: string; + justification: string; + /** + * + * @type {number} + * @memberof JustificationCount + */ + count: number; } +/** + * Pairings of C.R.C rule URL and its KCS solution number (node_id) + * @export + * @interface Kcs + */ +export interface Kcs { + /** + * Rule URL on C.R.C. + * @type {string} + * @memberof Kcs + */ + rule_url: string; + /** + * KCS solution number + * @type {string} + * @memberof Kcs + */ + node_id: string; +} +/** + * The response from adding or deleting multiple acks on a rule. For backward compatibility we include the count, and then list the impacted systems. + * @export + * @interface MultiAckResponse + */ +export interface MultiAckResponse { + /** + * + * @type {number} + * @memberof MultiAckResponse + */ + count: number; + /** + * + * @type {Array} + * @memberof MultiAckResponse + */ + host_ids: Array; +} +/** + * Add acks to multiple hosts for a single rule. + * @export + * @interface MultiHostAck + */ +export interface MultiHostAck { + /** + * + * @type {Array} + * @memberof MultiHostAck + */ + systems: Array; + /** + * + * @type {string} + * @memberof MultiHostAck + */ + justification: string; +} +/** + * Delete acks from multiple hosts for a single rule. + * @export + * @interface MultiHostUnAck + */ +export interface MultiHostUnAck { + /** + * + * @type {Array} + * @memberof MultiHostUnAck + */ + systems: Array; +} +/** + * A specific org id for a Red Hat customer. + * @export + * @interface OrgId + */ +export interface OrgId { + /** + * + * @type {string} + * @memberof OrgId + */ + org_id: string; +} +/** + * + * @export + * @interface PaginatedAckList + */ +export interface PaginatedAckList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedAckList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedAckList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedAckList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedAckListLinks + */ +export interface PaginatedAckListLinks { + /** + * + * @type {string} + * @memberof PaginatedAckListLinks + */ + first?: string | null; + /** + * + * @type {string} + * @memberof PaginatedAckListLinks + */ + previous?: string | null; + /** + * + * @type {string} + * @memberof PaginatedAckListLinks + */ + next?: string | null; + /** + * + * @type {string} + * @memberof PaginatedAckListLinks + */ + last?: string | null; +} +/** + * + * @export + * @interface PaginatedAckListMeta + */ +export interface PaginatedAckListMeta { + /** + * + * @type {number} + * @memberof PaginatedAckListMeta + */ + count: number; +} +/** + * + * @export + * @interface PaginatedAllRuleRatingsList + */ +export interface PaginatedAllRuleRatingsList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedAllRuleRatingsList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedAllRuleRatingsList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedAllRuleRatingsList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedHostAckList + */ +export interface PaginatedHostAckList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedHostAckList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedHostAckList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedHostAckList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedJustificationCountList + */ +export interface PaginatedJustificationCountList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedJustificationCountList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedJustificationCountList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedJustificationCountList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedOrgIdList + */ +export interface PaginatedOrgIdList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedOrgIdList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedOrgIdList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedOrgIdList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedPathwayList + */ +export interface PaginatedPathwayList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedPathwayList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedPathwayList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedPathwayList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedReportList + */ +export interface PaginatedReportList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedReportList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedReportList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedReportList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedRuleForAccountList + */ +export interface PaginatedRuleForAccountList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedRuleForAccountList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedRuleForAccountList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedRuleForAccountList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedRuleList + */ +export interface PaginatedRuleList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedRuleList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedRuleList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedRuleList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedRuleRatingList + */ +export interface PaginatedRuleRatingList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedRuleRatingList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedRuleRatingList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedRuleRatingList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedRuleRatingStatsList + */ +export interface PaginatedRuleRatingStatsList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedRuleRatingStatsList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedRuleRatingStatsList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedRuleRatingStatsList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedSubscriptionExcludedAccountList + */ +export interface PaginatedSubscriptionExcludedAccountList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedSubscriptionExcludedAccountList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedSubscriptionExcludedAccountList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedSubscriptionExcludedAccountList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedSystemList + */ +export interface PaginatedSystemList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedSystemList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedSystemList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedSystemList + */ + data?: Array; +} +/** + * + * @export + * @interface PaginatedSystemsDetailList + */ +export interface PaginatedSystemsDetailList { + /** + * + * @type {PaginatedAckListMeta} + * @memberof PaginatedSystemsDetailList + */ + meta?: PaginatedAckListMeta; + /** + * + * @type {PaginatedAckListLinks} + * @memberof PaginatedSystemsDetailList + */ + links?: PaginatedAckListLinks; + /** + * + * @type {Array} + * @memberof PaginatedSystemsDetailList + */ + data?: Array; +} +/** + * Create or edit topics. + * @export + * @interface PatchedTopicEdit + */ +export interface PatchedTopicEdit { + /** + * + * @type {string} + * @memberof PatchedTopicEdit + */ + name?: string; + /** + * Rule topic slug + * @type {string} + * @memberof PatchedTopicEdit + */ + slug?: string; + /** + * + * @type {string} + * @memberof PatchedTopicEdit + */ + description?: string; + /** + * + * @type {string} + * @memberof PatchedTopicEdit + */ + tag?: string; + /** + * + * @type {boolean} + * @memberof PatchedTopicEdit + */ + featured?: boolean; + /** + * + * @type {boolean} + * @memberof PatchedTopicEdit + */ + enabled?: boolean; +} +/** + * Serializer specifically for listing all Pathways currently in the system + * @export + * @interface Pathway + */ +export interface Pathway { + /** + * + * @type {string} + * @memberof Pathway + */ + slug: string; + /** + * + * @type {string} + * @memberof Pathway + */ + name: string; + /** + * + * @type {string} + * @memberof Pathway + */ + description: string; + /** + * + * @type {string} + * @memberof Pathway + */ + component: string; + /** + * + * @type {ResolutionRisk} + * @memberof Pathway + */ + resolution_risk: ResolutionRisk; + /** + * + * @type {string} + * @memberof Pathway + */ + publish_date: string; + /** + * + * @type {boolean} + * @memberof Pathway + */ + has_playbook: boolean; + /** + * + * @type {number} + * @memberof Pathway + */ + impacted_systems_count: number; + /** + * + * @type {boolean} + * @memberof Pathway + */ + reboot_required: boolean; + /** + * + * @type {boolean} + * @memberof Pathway + */ + has_incident: boolean; + /** + * + * @type {Array} + * @memberof Pathway + */ + categories: Array; + /** + * + * @type {number} + * @memberof Pathway + */ + recommendation_level: number; + /** + * + * @type {number} + * @memberof Pathway + */ + incident_count: number; + /** + * + * @type {number} + * @memberof Pathway + */ + critical_risk_count: number; + /** + * + * @type {number} + * @memberof Pathway + */ + high_risk_count: number; + /** + * + * @type {number} + * @memberof Pathway + */ + medium_risk_count: number; + /** + * + * @type {number} + * @memberof Pathway + */ + low_risk_count: number; +} +/** + * Serializer specifically for handling CREATE and UPDATE views for Pathways + * @export + * @interface PathwayInput + */ +export interface PathwayInput { + /** + * + * @type {string} + * @memberof PathwayInput + */ + name: string; + /** + * + * @type {string} + * @memberof PathwayInput + */ + description: string; + /** + * + * @type {string} + * @memberof PathwayInput + */ + component: string; + /** + * + * @type {string} + * @memberof PathwayInput + */ + resolution_risk: string; + /** + * + * @type {string} + * @memberof PathwayInput + */ + publish_date: string; +} +/** + * User preferences - separated from account settings. + * @export + * @interface PreferencesInput + */ +export interface PreferencesInput { + /** + * + * @type {boolean} + * @memberof PreferencesInput + */ + is_subscribed: boolean; +} +/** + * + * @export + * @interface Report + */ +export interface Report { + /** + * + * @type {Rule} + * @memberof Report + */ + rule: Rule; + /** + * + * @type {{ [key: string]: any; }} + * @memberof Report + */ + details: { [key: string]: any; }; + /** + * + * @type {Resolution} + * @memberof Report + */ + resolution: Resolution; + /** + * + * @type {string} + * @memberof Report + */ + impacted_date: string; +} +/** + * Report information for export. Based on CurrentReport with fields from Rule and Host pulled through for convenience. + * @export + * @interface ReportExport + */ +export interface ReportExport { + /** + * + * @type {string} + * @memberof ReportExport + */ + rule_id: string; + /** + * + * @type {string} + * @memberof ReportExport + */ + host_id: string; + /** + * + * @type {string} + * @memberof ReportExport + */ + reports_url: string; + /** + * + * @type {string} + * @memberof ReportExport + */ + report_time: string; + /** + * + * @type {{ [key: string]: any; }} + * @memberof ReportExport + */ + details: { [key: string]: any; }; + /** + * + * @type {string} + * @memberof ReportExport + */ + impacted_date: string | null; +} +/** + * + * @export + * @interface Resolution + */ +export interface Resolution { + /** + * + * @type {number} + * @memberof Resolution + */ + system_type: number; + /** + * + * @type {string} + * @memberof Resolution + */ + resolution: string; + /** + * + * @type {ResolutionRisk} + * @memberof Resolution + */ + resolution_risk: ResolutionRisk; + /** + * + * @type {boolean} + * @memberof Resolution + */ + has_playbook: boolean; +} +/** + * + * @export + * @interface ResolutionRisk + */ +export interface ResolutionRisk { + /** + * + * @type {string} + * @memberof ResolutionRisk + */ + name?: string; + /** + * + * @type {number} + * @memberof ResolutionRisk + */ + risk?: number; +} +/** + * The standard rule information. Used for models and relations that don\'t know the account and therefore can\'t know the acks or impacted systems. + * @export + * @interface Rule + */ +export interface Rule { + /** + * Rule ID from Insights + * @type {string} + * @memberof Rule + */ + rule_id: string; + /** + * + * @type {string} + * @memberof Rule + */ + created_at: string; + /** + * + * @type {string} + * @memberof Rule + */ + updated_at: string; + /** + * + * @type {string} + * @memberof Rule + */ + deleted_at?: string; + /** + * + * @type {string} + * @memberof Rule + */ + description: string; + /** + * + * @type {boolean} + * @memberof Rule + */ + active?: boolean; + /** + * + * @type {RuleCategory} + * @memberof Rule + */ + category: RuleCategory; + /** + * + * @type {RuleImpact} + * @memberof Rule + */ + impact: RuleImpact; + /** + * + * @type {number} + * @memberof Rule + */ + likelihood?: number; + /** + * KCS solution number + * @type {string} + * @memberof Rule + */ + node_id?: string; + /** + * + * @type {string} + * @memberof Rule + */ + tags: string; + /** + * + * @type {boolean} + * @memberof Rule + */ + reboot_required?: boolean; + /** + * + * @type {string} + * @memberof Rule + */ + publish_date?: string | null; + /** + * + * @type {string} + * @memberof Rule + */ + summary: string; + /** + * + * @type {string} + * @memberof Rule + */ + generic: string; + /** + * + * @type {string} + * @memberof Rule + */ + reason: string; + /** + * + * @type {string} + * @memberof Rule + */ + more_info?: string; + /** + * + * @type {Array} + * @memberof Rule + */ + resolution_set: Array; + /** + * + * @type {number} + * @memberof Rule + */ + total_risk?: number; +} +/** + * + * @export + * @interface RuleCategory + */ +export interface RuleCategory { + /** + * + * @type {number} + * @memberof RuleCategory + */ + id: number; + /** + * + * @type {string} + * @memberof RuleCategory + */ + name: string; +} +/** + * Rule information for export. + * @export + * @interface RuleExport + */ +export interface RuleExport { + /** + * Rule ID from Insights + * @type {string} + * @memberof RuleExport + */ + rule_id: string; + /** + * + * @type {string} + * @memberof RuleExport + */ + created_at: string; + /** + * + * @type {string} + * @memberof RuleExport + */ + updated_at: string; + /** + * + * @type {string} + * @memberof RuleExport + */ + deleted_at: string | null; + /** + * + * @type {string} + * @memberof RuleExport + */ + description: string; + /** + * + * @type {boolean} + * @memberof RuleExport + */ + active?: boolean; + /** + * + * @type {string} + * @memberof RuleExport + */ + category: string; + /** + * + * @type {string} + * @memberof RuleExport + */ + impact: string; + /** + * + * @type {number} + * @memberof RuleExport + */ + likelihood?: number; + /** + * KCS solution number + * @type {string} + * @memberof RuleExport + */ + node_id?: string; + /** + * + * @type {string} + * @memberof RuleExport + */ + tags: string; + /** + * + * @type {number} + * @memberof RuleExport + */ + playbook_count: number; + /** + * + * @type {boolean} + * @memberof RuleExport + */ + reboot_required?: boolean; + /** + * + * @type {string} + * @memberof RuleExport + */ + publish_date?: string | null; + /** + * + * @type {string} + * @memberof RuleExport + */ + summary: string; + /** + * + * @type {string} + * @memberof RuleExport + */ + generic: string; + /** + * + * @type {string} + * @memberof RuleExport + */ + reason: string; + /** + * + * @type {string} + * @memberof RuleExport + */ + more_info?: string; + /** + * + * @type {number} + * @memberof RuleExport + */ + impacted_systems_count: number; + /** + * + * @type {string} + * @memberof RuleExport + */ + rule_status: string; + /** + * + * @type {Array} + * @memberof RuleExport + */ + resolution_set: Array; + /** + * + * @type {number} + * @memberof RuleExport + */ + total_risk?: number; + /** + * + * @type {number} + * @memberof RuleExport + */ + hosts_acked_count: number; + /** + * + * @type {number} + * @memberof RuleExport + */ + rating: number; + /** + * + * @type {boolean} + * @memberof RuleExport + */ + reports_shown: boolean; +} +/** + * Rule information when we know the account, and therefore can calculate the number of impacted systems and the reports_shown/rule_status flags. We have to declare those explicitly here because they\'re not part of the model. + * @export + * @interface RuleForAccount + */ +export interface RuleForAccount { + /** + * Rule ID from Insights + * @type {string} + * @memberof RuleForAccount + */ + rule_id: string; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + created_at: string; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + updated_at: string; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + deleted_at?: string; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + description: string; + /** + * + * @type {boolean} + * @memberof RuleForAccount + */ + active?: boolean; + /** + * + * @type {RuleCategory} + * @memberof RuleForAccount + */ + category: RuleCategory; + /** + * + * @type {RuleImpact} + * @memberof RuleForAccount + */ + impact: RuleImpact; + /** + * + * @type {number} + * @memberof RuleForAccount + */ + likelihood?: number; + /** + * KCS solution number + * @type {string} + * @memberof RuleForAccount + */ + node_id?: string; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + tags: string; + /** + * + * @type {number} + * @memberof RuleForAccount + */ + playbook_count: number; + /** + * + * @type {boolean} + * @memberof RuleForAccount + */ + reboot_required?: boolean; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + publish_date?: string | null; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + summary: string; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + generic: string; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + reason: string; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + more_info?: string; + /** + * + * @type {number} + * @memberof RuleForAccount + */ + impacted_systems_count: number; + /** + * + * @type {boolean} + * @memberof RuleForAccount + */ + reports_shown: boolean; + /** + * + * @type {string} + * @memberof RuleForAccount + */ + rule_status: string; + /** + * + * @type {Array} + * @memberof RuleForAccount + */ + resolution_set: Array; + /** + * + * @type {number} + * @memberof RuleForAccount + */ + total_risk?: number; + /** + * + * @type {number} + * @memberof RuleForAccount + */ + hosts_acked_count: number; + /** + * + * @type {number} + * @memberof RuleForAccount + */ + rating: number; + /** + * + * @type {RulePathway} + * @memberof RuleForAccount + */ + pathway?: RulePathway; +} +/** + * + * @export + * @interface RuleImpact + */ +export interface RuleImpact { + /** + * + * @type {string} + * @memberof RuleImpact + */ + name?: string; + /** + * + * @type {number} + * @memberof RuleImpact + */ + impact?: number; +} +/** + * + * @export + * @interface RulePathway + */ +export interface RulePathway { + /** + * + * @type {string} + * @memberof RulePathway + */ + name: string; + /** + * + * @type {string} + * @memberof RulePathway + */ + component: string; + /** + * + * @type {ResolutionRisk} + * @memberof RulePathway + */ + resolution_risk: ResolutionRisk; +} +/** + * Rule ratings list the rating (-1, 0 or +1) for one or more rules. The rule is listed by its Insights Rule ID. + * @export + * @interface RuleRating + */ +export interface RuleRating { + /** + * + * @type {string} + * @memberof RuleRating + */ + rule: string; + /** + * + * @type {number} + * @memberof RuleRating + */ + rating: RuleRatingRatingEnum; +} + +/** + * @export + * @enum {string} + */ +export enum RuleRatingRatingEnum { + NUMBER_MINUS_1 = -1, + NUMBER_0 = 0, + NUMBER_1 = 1 +} + +/** + * Output of statistics view of rule ratings - rule ID and totals of ratings. + * @export + * @interface RuleRatingStats + */ +export interface RuleRatingStats { + /** + * + * @type {string} + * @memberof RuleRatingStats + */ + rule: string; + /** + * + * @type {number} + * @memberof RuleRatingStats + */ + total_ratings: number; + /** + * + * @type {number} + * @memberof RuleRatingStats + */ + total_positive: number; + /** + * + * @type {number} + * @memberof RuleRatingStats + */ + total_negative: number; +} +/** + * List of systems with current reports for each rule. + * @export + * @interface RuleSystemsExport + */ +export interface RuleSystemsExport { + /** + * + * @type {{ [key: string]: Array; }} + * @memberof RuleSystemsExport + */ + rules: { [key: string]: Array; }; +} +/** + * Rule usage statistics for rule developers. + * @export + * @interface RuleUsageStats + */ +export interface RuleUsageStats { + /** + * + * @type {string} + * @memberof RuleUsageStats + */ + rule_id: string; + /** + * + * @type {string} + * @memberof RuleUsageStats + */ + description: string; + /** + * + * @type {boolean} + * @memberof RuleUsageStats + */ + active: boolean; + /** + * + * @type {number} + * @memberof RuleUsageStats + */ + systems_hit: number; + /** + * + * @type {number} + * @memberof RuleUsageStats + */ + accounts_hit: number; + /** + * + * @type {number} + * @memberof RuleUsageStats + */ + accounts_acked: number; +} +/** + * Outputs the description of the settings in a Data-Driven Forms format. + * @export + * @interface SettingDDF + */ +export interface SettingDDF { + /** + * + * @type {string} + * @memberof SettingDDF + */ + name: string; + /** + * + * @type {string} + * @memberof SettingDDF + */ + label?: string; + /** + * + * @type {string} + * @memberof SettingDDF + */ + title?: string; + /** + * + * @type {string} + * @memberof SettingDDF + */ + description?: string; + /** + * + * @type {string} + * @memberof SettingDDF + */ + helperText?: string; + /** + * + * @type {string} + * @memberof SettingDDF + */ + component: string; + /** + * + * @type {boolean} + * @memberof SettingDDF + */ + isRequired: boolean; + /** + * + * @type {boolean} + * @memberof SettingDDF + */ + initialValue: boolean; + /** + * + * @type {boolean} + * @memberof SettingDDF + */ + isDisabled: boolean; +} +/** + * Combining the DDF fields into one \'fields\' object. + * @export + * @interface SettingsDDF + */ +export interface SettingsDDF { + /** + * + * @type {Array} + * @memberof SettingsDDF + */ + fields: Array; +} +/** + * Advisor rule or report frequency statisics. + * @export + * @interface Stats + */ +export interface Stats { + /** + * + * @type {number} + * @memberof Stats + */ + total: number; + /** + * + * @type {{ [key: string]: number; }} + * @memberof Stats + */ + total_risk: { [key: string]: number; }; + /** + * + * @type {{ [key: string]: number; }} + * @memberof Stats + */ + category: { [key: string]: number; }; +} +/** + * + * @export + * @interface SubscriptionExcludedAccount + */ +export interface SubscriptionExcludedAccount { + /** + * + * @type {string} + * @memberof SubscriptionExcludedAccount + */ + org_id: string; + /** + * + * @type {string} + * @memberof SubscriptionExcludedAccount + */ + account?: string; +} +/** + * + * @export + * @interface System + */ +export interface System { + /** + * + * @type {string} + * @memberof System + */ + system_uuid: string; + /** + * + * @type {string} + * @memberof System + */ + display_name: string; + /** + * + * @type {string} + * @memberof System + */ + last_seen: string; + /** + * + * @type {string} + * @memberof System + */ + stale_at: string; + /** + * + * @type {number} + * @memberof System + */ + hits: number; + /** + * + * @type {number} + * @memberof System + */ + critical_hits: number; + /** + * + * @type {number} + * @memberof System + */ + important_hits: number; + /** + * + * @type {number} + * @memberof System + */ + moderate_hits: number; + /** + * + * @type {number} + * @memberof System + */ + low_hits: number; + /** + * + * @type {number} + * @memberof System + */ + incident_hits: number; + /** + * + * @type {number} + * @memberof System + */ + all_pathway_hits: number; + /** + * + * @type {number} + * @memberof System + */ + pathway_filter_hits: number; + /** + * + * @type {string} + * @memberof System + */ + rhel_version: string; +} +/** + * RHN-based system types classified by role and product code. + * @export + * @interface SystemType + */ +export interface SystemType { + /** + * + * @type {number} + * @memberof SystemType + */ + id: number; + /** + * + * @type {string} + * @memberof SystemType + */ + role: string; + /** + * + * @type {string} + * @memberof SystemType + */ + product_code: string; +} +/** + * + * @export + * @interface SystemsDetail + */ +export interface SystemsDetail { + /** + * + * @type {string} + * @memberof SystemsDetail + */ + system_uuid: string; + /** + * + * @type {string} + * @memberof SystemsDetail + */ + display_name: string; + /** + * + * @type {string} + * @memberof SystemsDetail + */ + last_seen: string; + /** + * + * @type {string} + * @memberof SystemsDetail + */ + stale_at: string; + /** + * + * @type {number} + * @memberof SystemsDetail + */ + hits: number; + /** + * + * @type {number} + * @memberof SystemsDetail + */ + critical_hits: number; + /** + * + * @type {number} + * @memberof SystemsDetail + */ + important_hits: number; + /** + * + * @type {number} + * @memberof SystemsDetail + */ + moderate_hits: number; + /** + * + * @type {number} + * @memberof SystemsDetail + */ + low_hits: number; + /** + * + * @type {number} + * @memberof SystemsDetail + */ + incident_hits: number; + /** + * + * @type {number} + * @memberof SystemsDetail + */ + all_pathway_hits: number; + /** + * + * @type {number} + * @memberof SystemsDetail + */ + pathway_filter_hits: number; + /** + * + * @type {string} + * @memberof SystemsDetail + */ + rhel_version: string; + /** + * + * @type {string} + * @memberof SystemsDetail + */ + impacted_date: string; +} +/** + * The list of Inventory Host IDs that are (currently) affected by a given rule. + * @export + * @interface SystemsForRule + */ +export interface SystemsForRule { + /** + * + * @type {Array} + * @memberof SystemsForRule + */ + host_ids: Array; +} +/** + * Topics group rules by a tag shared by all the rules. + * @export + * @interface Topic + */ +export interface Topic { + /** + * + * @type {string} + * @memberof Topic + */ + name: string; + /** + * Rule topic slug + * @type {string} + * @memberof Topic + */ + slug: string; + /** + * + * @type {string} + * @memberof Topic + */ + description: string; + /** + * + * @type {string} + * @memberof Topic + */ + tag: string; + /** + * + * @type {boolean} + * @memberof Topic + */ + featured?: boolean; + /** + * + * @type {boolean} + * @memberof Topic + */ + enabled?: boolean; + /** + * + * @type {number} + * @memberof Topic + */ + impacted_systems_count: number; +} +/** + * Create or edit topics. + * @export + * @interface TopicEdit + */ +export interface TopicEdit { + /** + * + * @type {string} + * @memberof TopicEdit + */ + name: string; + /** + * Rule topic slug + * @type {string} + * @memberof TopicEdit + */ + slug: string; + /** + * + * @type {string} + * @memberof TopicEdit + */ + description: string; + /** + * + * @type {string} + * @memberof TopicEdit + */ + tag: string; + /** + * + * @type {boolean} + * @memberof TopicEdit + */ + featured?: boolean; + /** + * + * @type {boolean} + * @memberof TopicEdit + */ + enabled?: boolean; +} +/** + * An approximation of the number of unique hits per day. + * @export + * @interface Usage + */ +export interface Usage { + /** + * + * @type {number} + * @memberof Usage + */ + unique_hits: number; +} +/** + * + * @export + * @interface WeeklyReportSubscription + */ +export interface WeeklyReportSubscription { + /** + * + * @type {boolean} + * @memberof WeeklyReportSubscription + */ + is_subscribed: boolean; +} + +/** + * AccountApi - axios parameter creator + * @export + */ +export const AccountApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * List details about the number of hosts in this account by org_id. As well as the total number of hosts, we report on the number of hosts in various states of staleness: * fresh: hosts that have updated in the last 26 hours * stale: hosts not updated in the last 26 hours - we display the results for these hosts but a warning is shown to say they are not updating * warn: hosts not updated in the last week - these are not shown in any queries This may have other aggregate data added in the future. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountHostsRetrieve: async (orgId: string, options: any = {}): Promise => { + // verify required parameter 'orgId' is not null or undefined + if (orgId === null || orgId === undefined) { + throw new RequiredError('orgId','Required parameter orgId was null or undefined when calling accountHostsRetrieve.'); + } + const localVarPath = `/api/insights/v1/account/{org_id}/hosts/` + .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List all accounts by org_id we know about (through the host table). No other information about the accounts is provided in this view. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountList: async (limit?: number, offset?: number, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/account/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List information relating to other accounts. This allows us to collect data that requires the user to specify an org_id number, such as number of systems currently registered to that org. param: org_id: Org ID number of a Red Hat customer. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountRetrieve: async (orgId: string, options: any = {}): Promise => { + // verify required parameter 'orgId' is not null or undefined + if (orgId === null || orgId === undefined) { + throw new RequiredError('orgId','Required parameter orgId was null or undefined when calling accountRetrieve.'); + } + const localVarPath = `/api/insights/v1/account/{org_id}/` + .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * AccountApi - functional programming interface + * @export + */ +export const AccountApiFp = function(configuration?: Configuration) { + return { + /** + * List details about the number of hosts in this account by org_id. As well as the total number of hosts, we report on the number of hosts in various states of staleness: * fresh: hosts that have updated in the last 26 hours * stale: hosts not updated in the last 26 hours - we display the results for these hosts but a warning is shown to say they are not updating * warn: hosts not updated in the last week - these are not shown in any queries This may have other aggregate data added in the future. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async accountHostsRetrieve(orgId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).accountHostsRetrieve(orgId, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List all accounts by org_id we know about (through the host table). No other information about the accounts is provided in this view. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async accountList(limit?: number, offset?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).accountList(limit, offset, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List information relating to other accounts. This allows us to collect data that requires the user to specify an org_id number, such as number of systems currently registered to that org. param: org_id: Org ID number of a Red Hat customer. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async accountRetrieve(orgId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).accountRetrieve(orgId, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * AccountApi - factory interface + * @export + */ +export const AccountApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * List details about the number of hosts in this account by org_id. As well as the total number of hosts, we report on the number of hosts in various states of staleness: * fresh: hosts that have updated in the last 26 hours * stale: hosts not updated in the last 26 hours - we display the results for these hosts but a warning is shown to say they are not updating * warn: hosts not updated in the last week - these are not shown in any queries This may have other aggregate data added in the future. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountHostsRetrieve(orgId: string, options?: any): AxiosPromise { + return AccountApiFp(configuration).accountHostsRetrieve(orgId, options).then((request) => request(axios, basePath)); + }, + /** + * List all accounts by org_id we know about (through the host table). No other information about the accounts is provided in this view. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountList(limit?: number, offset?: number, options?: any): AxiosPromise { + return AccountApiFp(configuration).accountList(limit, offset, options).then((request) => request(axios, basePath)); + }, + /** + * List information relating to other accounts. This allows us to collect data that requires the user to specify an org_id number, such as number of systems currently registered to that org. param: org_id: Org ID number of a Red Hat customer. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountRetrieve(orgId: string, options?: any): AxiosPromise { + return AccountApiFp(configuration).accountRetrieve(orgId, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * AccountApi - object-oriented interface + * @export + * @class AccountApi + * @extends {BaseAPI} + */ +export class AccountApi extends BaseAPI { + /** + * List details about the number of hosts in this account by org_id. As well as the total number of hosts, we report on the number of hosts in various states of staleness: * fresh: hosts that have updated in the last 26 hours * stale: hosts not updated in the last 26 hours - we display the results for these hosts but a warning is shown to say they are not updating * warn: hosts not updated in the last week - these are not shown in any queries This may have other aggregate data added in the future. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi + */ + public accountHostsRetrieve(orgId: string, options?: any) { + return AccountApiFp(this.configuration).accountHostsRetrieve(orgId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List all accounts by org_id we know about (through the host table). No other information about the accounts is provided in this view. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi + */ + public accountList(limit?: number, offset?: number, options?: any) { + return AccountApiFp(this.configuration).accountList(limit, offset, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List information relating to other accounts. This allows us to collect data that requires the user to specify an org_id number, such as number of systems currently registered to that org. param: org_id: Org ID number of a Red Hat customer. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountApi + */ + public accountRetrieve(orgId: string, options?: any) { + return AccountApiFp(this.configuration).accountRetrieve(orgId, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * AccountSettingApi - axios parameter creator + * @export + */ +export const AccountSettingApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Update this account\'s settings, and return the updated settings. A new object will be created, even if the default settings are supplied. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountSettingCreate: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/account_setting/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Show this account\'s settings, or the defaults. This will not create a new account settings object if none exists. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountSettingRetrieve: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/account_setting/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * AccountSettingApi - functional programming interface + * @export + */ +export const AccountSettingApiFp = function(configuration?: Configuration) { + return { + /** + * Update this account\'s settings, and return the updated settings. A new object will be created, even if the default settings are supplied. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async accountSettingCreate(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AccountSettingApiAxiosParamCreator(configuration).accountSettingCreate(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Show this account\'s settings, or the defaults. This will not create a new account settings object if none exists. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async accountSettingRetrieve(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AccountSettingApiAxiosParamCreator(configuration).accountSettingRetrieve(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * AccountSettingApi - factory interface + * @export + */ +export const AccountSettingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Update this account\'s settings, and return the updated settings. A new object will be created, even if the default settings are supplied. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountSettingCreate(options?: any): AxiosPromise { + return AccountSettingApiFp(configuration).accountSettingCreate(options).then((request) => request(axios, basePath)); + }, + /** + * Show this account\'s settings, or the defaults. This will not create a new account settings object if none exists. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + accountSettingRetrieve(options?: any): AxiosPromise { + return AccountSettingApiFp(configuration).accountSettingRetrieve(options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * AccountSettingApi - object-oriented interface + * @export + * @class AccountSettingApi + * @extends {BaseAPI} + */ +export class AccountSettingApi extends BaseAPI { + /** + * Update this account\'s settings, and return the updated settings. A new object will be created, even if the default settings are supplied. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountSettingApi + */ + public accountSettingCreate(options?: any) { + return AccountSettingApiFp(this.configuration).accountSettingCreate(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Show this account\'s settings, or the defaults. This will not create a new account settings object if none exists. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AccountSettingApi + */ + public accountSettingRetrieve(options?: any) { + return AccountSettingApiFp(this.configuration).accountSettingRetrieve(options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * AckApi - axios parameter creator + * @export + */ +export const AckApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * List acks from all accounts, with org_id. Has no pagination. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackAllList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/ack/all/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Add an acknowledgement for a rule, by rule ID. If there\'s already an acknowledgement of this rule by this accounts org_id, then return that. Otherwise, a new ack is created. + * @param {AckInput} ackInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackCreate: async (ackInput: AckInput, options: any = {}): Promise => { + // verify required parameter 'ackInput' is not null or undefined + if (ackInput === null || ackInput === undefined) { + throw new RequiredError('ackInput','Required parameter ackInput was null or undefined when calling ackCreate.'); + } + const localVarPath = `/api/insights/v1/ack/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof ackInput !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(ackInput !== undefined ? ackInput : {}) : (ackInput || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Delete an acknowledgement for a rule, by its rule ID. If the ack existed, it is deleted and a 204 is returned. Otherwise, a 404 is returned. + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackDestroy: async (ruleId: string, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ackDestroy.'); + } + const localVarPath = `/api/insights/v1/ack/{rule_id}/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List acks from this account by org_id where the rule is active Will return an empty list if this account has no acks. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackList: async (limit?: number, offset?: number, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/ack/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Acks acknowledge (and therefore hide) a rule from view in an account. This view handles listing, retrieving, creating and deleting acks. Acks are created and deleted by Insights rule ID, not by their own ack ID. param: rule_id: Rule ID defined by Insights ruleset + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackRetrieve: async (ruleId: string, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ackRetrieve.'); + } + const localVarPath = `/api/insights/v1/ack/{rule_id}/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Update an acknowledgement for a rule, by rule ID. A new justification can be supplied. The username is taken from the authenticated request. The updated ack is returned. + * @param {string} ruleId + * @param {AckJustification} [ackJustification] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackUpdate: async (ruleId: string, ackJustification?: AckJustification, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ackUpdate.'); + } + const localVarPath = `/api/insights/v1/ack/{rule_id}/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof ackJustification !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(ackJustification !== undefined ? ackJustification : {}) : (ackJustification || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * AckApi - functional programming interface + * @export + */ +export const AckApiFp = function(configuration?: Configuration) { + return { + /** + * List acks from all accounts, with org_id. Has no pagination. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ackAllList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await AckApiAxiosParamCreator(configuration).ackAllList(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Add an acknowledgement for a rule, by rule ID. If there\'s already an acknowledgement of this rule by this accounts org_id, then return that. Otherwise, a new ack is created. + * @param {AckInput} ackInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ackCreate(ackInput: AckInput, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AckApiAxiosParamCreator(configuration).ackCreate(ackInput, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Delete an acknowledgement for a rule, by its rule ID. If the ack existed, it is deleted and a 204 is returned. Otherwise, a 404 is returned. + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ackDestroy(ruleId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AckApiAxiosParamCreator(configuration).ackDestroy(ruleId, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List acks from this account by org_id where the rule is active Will return an empty list if this account has no acks. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ackList(limit?: number, offset?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AckApiAxiosParamCreator(configuration).ackList(limit, offset, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Acks acknowledge (and therefore hide) a rule from view in an account. This view handles listing, retrieving, creating and deleting acks. Acks are created and deleted by Insights rule ID, not by their own ack ID. param: rule_id: Rule ID defined by Insights ruleset + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ackRetrieve(ruleId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AckApiAxiosParamCreator(configuration).ackRetrieve(ruleId, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Update an acknowledgement for a rule, by rule ID. A new justification can be supplied. The username is taken from the authenticated request. The updated ack is returned. + * @param {string} ruleId + * @param {AckJustification} [ackJustification] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ackUpdate(ruleId: string, ackJustification?: AckJustification, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AckApiAxiosParamCreator(configuration).ackUpdate(ruleId, ackJustification, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * AckApi - factory interface + * @export + */ +export const AckApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * List acks from all accounts, with org_id. Has no pagination. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackAllList(options?: any): AxiosPromise> { + return AckApiFp(configuration).ackAllList(options).then((request) => request(axios, basePath)); + }, + /** + * Add an acknowledgement for a rule, by rule ID. If there\'s already an acknowledgement of this rule by this accounts org_id, then return that. Otherwise, a new ack is created. + * @param {AckInput} ackInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackCreate(ackInput: AckInput, options?: any): AxiosPromise { + return AckApiFp(configuration).ackCreate(ackInput, options).then((request) => request(axios, basePath)); + }, + /** + * Delete an acknowledgement for a rule, by its rule ID. If the ack existed, it is deleted and a 204 is returned. Otherwise, a 404 is returned. + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackDestroy(ruleId: string, options?: any): AxiosPromise { + return AckApiFp(configuration).ackDestroy(ruleId, options).then((request) => request(axios, basePath)); + }, + /** + * List acks from this account by org_id where the rule is active Will return an empty list if this account has no acks. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackList(limit?: number, offset?: number, options?: any): AxiosPromise { + return AckApiFp(configuration).ackList(limit, offset, options).then((request) => request(axios, basePath)); + }, + /** + * Acks acknowledge (and therefore hide) a rule from view in an account. This view handles listing, retrieving, creating and deleting acks. Acks are created and deleted by Insights rule ID, not by their own ack ID. param: rule_id: Rule ID defined by Insights ruleset + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackRetrieve(ruleId: string, options?: any): AxiosPromise { + return AckApiFp(configuration).ackRetrieve(ruleId, options).then((request) => request(axios, basePath)); + }, + /** + * Update an acknowledgement for a rule, by rule ID. A new justification can be supplied. The username is taken from the authenticated request. The updated ack is returned. + * @param {string} ruleId + * @param {AckJustification} [ackJustification] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackUpdate(ruleId: string, ackJustification?: AckJustification, options?: any): AxiosPromise { + return AckApiFp(configuration).ackUpdate(ruleId, ackJustification, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * AckApi - object-oriented interface + * @export + * @class AckApi + * @extends {BaseAPI} + */ +export class AckApi extends BaseAPI { + /** + * List acks from all accounts, with org_id. Has no pagination. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AckApi + */ + public ackAllList(options?: any) { + return AckApiFp(this.configuration).ackAllList(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Add an acknowledgement for a rule, by rule ID. If there\'s already an acknowledgement of this rule by this accounts org_id, then return that. Otherwise, a new ack is created. + * @param {AckInput} ackInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AckApi + */ + public ackCreate(ackInput: AckInput, options?: any) { + return AckApiFp(this.configuration).ackCreate(ackInput, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Delete an acknowledgement for a rule, by its rule ID. If the ack existed, it is deleted and a 204 is returned. Otherwise, a 404 is returned. + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AckApi + */ + public ackDestroy(ruleId: string, options?: any) { + return AckApiFp(this.configuration).ackDestroy(ruleId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List acks from this account by org_id where the rule is active Will return an empty list if this account has no acks. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AckApi + */ + public ackList(limit?: number, offset?: number, options?: any) { + return AckApiFp(this.configuration).ackList(limit, offset, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Acks acknowledge (and therefore hide) a rule from view in an account. This view handles listing, retrieving, creating and deleting acks. Acks are created and deleted by Insights rule ID, not by their own ack ID. param: rule_id: Rule ID defined by Insights ruleset + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AckApi + */ + public ackRetrieve(ruleId: string, options?: any) { + return AckApiFp(this.configuration).ackRetrieve(ruleId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Update an acknowledgement for a rule, by rule ID. A new justification can be supplied. The username is taken from the authenticated request. The updated ack is returned. + * @param {string} ruleId + * @param {AckJustification} [ackJustification] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AckApi + */ + public ackUpdate(ruleId: string, ackJustification?: AckJustification, options?: any) { + return AckApiFp(this.configuration).ackUpdate(ruleId, ackJustification, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * AckcountApi - axios parameter creator + * @export + */ +export const AckcountApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Get the ack counts for all active rules Return a list of rule_ids and their ack counts + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackcountList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/ackcount/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Get the ack count for the given rule_id Returns the rule_id and its ack count + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackcountRetrieve: async (ruleId: string, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ackcountRetrieve.'); + } + const localVarPath = `/api/insights/v1/ackcount/{rule_id}/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * AckcountApi - functional programming interface + * @export + */ +export const AckcountApiFp = function(configuration?: Configuration) { + return { + /** + * Get the ack counts for all active rules Return a list of rule_ids and their ack counts + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ackcountList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await AckcountApiAxiosParamCreator(configuration).ackcountList(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Get the ack count for the given rule_id Returns the rule_id and its ack count + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ackcountRetrieve(ruleId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AckcountApiAxiosParamCreator(configuration).ackcountRetrieve(ruleId, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * AckcountApi - factory interface + * @export + */ +export const AckcountApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Get the ack counts for all active rules Return a list of rule_ids and their ack counts + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackcountList(options?: any): AxiosPromise> { + return AckcountApiFp(configuration).ackcountList(options).then((request) => request(axios, basePath)); + }, + /** + * Get the ack count for the given rule_id Returns the rule_id and its ack count + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ackcountRetrieve(ruleId: string, options?: any): AxiosPromise { + return AckcountApiFp(configuration).ackcountRetrieve(ruleId, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * AckcountApi - object-oriented interface + * @export + * @class AckcountApi + * @extends {BaseAPI} + */ +export class AckcountApi extends BaseAPI { + /** + * Get the ack counts for all active rules Return a list of rule_ids and their ack counts + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AckcountApi + */ + public ackcountList(options?: any) { + return AckcountApiFp(this.configuration).ackcountList(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Get the ack count for the given rule_id Returns the rule_id and its ack count + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AckcountApi + */ + public ackcountRetrieve(ruleId: string, options?: any) { + return AckcountApiFp(this.configuration).ackcountRetrieve(ruleId, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * AutosubexclusionApi - axios parameter creator + * @export + */ +export const AutosubexclusionApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Create a new subscription exclusion for an account. This creates a new subscription exclusion for an account. This should contain an org_id and account. Only org_id is required. Account is optional. + * @param {SubscriptionExcludedAccount} subscriptionExcludedAccount + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + autosubexclusionCreate: async (subscriptionExcludedAccount: SubscriptionExcludedAccount, options: any = {}): Promise => { + // verify required parameter 'subscriptionExcludedAccount' is not null or undefined + if (subscriptionExcludedAccount === null || subscriptionExcludedAccount === undefined) { + throw new RequiredError('subscriptionExcludedAccount','Required parameter subscriptionExcludedAccount was null or undefined when calling autosubexclusionCreate.'); + } + const localVarPath = `/api/insights/v1/autosubexclusion/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof subscriptionExcludedAccount !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(subscriptionExcludedAccount !== undefined ? subscriptionExcludedAccount : {}) : (subscriptionExcludedAccount || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Destroy an existing subscription exclusion in the system. This will DELETE an existing subscription exclusion in the system. Existing subscription exclusions are identified and deleted by the \"org_id\" field. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + autosubexclusionDestroy: async (orgId: string, options: any = {}): Promise => { + // verify required parameter 'orgId' is not null or undefined + if (orgId === null || orgId === undefined) { + throw new RequiredError('orgId','Required parameter orgId was null or undefined when calling autosubexclusionDestroy.'); + } + const localVarPath = `/api/insights/v1/autosubexclusion/{org_id}/` + .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Returns all subscription exclusions for accounts This returns a list of all subscription exclusions. This contains exclusions and their account and org_id. These are all accounts that are excluded from the autosub subscription path for weekly report subscriptions. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + autosubexclusionList: async (limit?: number, offset?: number, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/autosubexclusion/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Returns an individual subscription exclusion based on org_id. This returns an individual subscription exclusion based on the org_id. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + autosubexclusionRetrieve: async (orgId: string, options: any = {}): Promise => { + // verify required parameter 'orgId' is not null or undefined + if (orgId === null || orgId === undefined) { + throw new RequiredError('orgId','Required parameter orgId was null or undefined when calling autosubexclusionRetrieve.'); + } + const localVarPath = `/api/insights/v1/autosubexclusion/{org_id}/` + .replace(`{${"org_id"}}`, encodeURIComponent(String(orgId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * AutosubexclusionApi - functional programming interface + * @export + */ +export const AutosubexclusionApiFp = function(configuration?: Configuration) { + return { + /** + * Create a new subscription exclusion for an account. This creates a new subscription exclusion for an account. This should contain an org_id and account. Only org_id is required. Account is optional. + * @param {SubscriptionExcludedAccount} subscriptionExcludedAccount + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async autosubexclusionCreate(subscriptionExcludedAccount: SubscriptionExcludedAccount, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AutosubexclusionApiAxiosParamCreator(configuration).autosubexclusionCreate(subscriptionExcludedAccount, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Destroy an existing subscription exclusion in the system. This will DELETE an existing subscription exclusion in the system. Existing subscription exclusions are identified and deleted by the \"org_id\" field. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async autosubexclusionDestroy(orgId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AutosubexclusionApiAxiosParamCreator(configuration).autosubexclusionDestroy(orgId, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Returns all subscription exclusions for accounts This returns a list of all subscription exclusions. This contains exclusions and their account and org_id. These are all accounts that are excluded from the autosub subscription path for weekly report subscriptions. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async autosubexclusionList(limit?: number, offset?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AutosubexclusionApiAxiosParamCreator(configuration).autosubexclusionList(limit, offset, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Returns an individual subscription exclusion based on org_id. This returns an individual subscription exclusion based on the org_id. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async autosubexclusionRetrieve(orgId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await AutosubexclusionApiAxiosParamCreator(configuration).autosubexclusionRetrieve(orgId, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * AutosubexclusionApi - factory interface + * @export + */ +export const AutosubexclusionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Create a new subscription exclusion for an account. This creates a new subscription exclusion for an account. This should contain an org_id and account. Only org_id is required. Account is optional. + * @param {SubscriptionExcludedAccount} subscriptionExcludedAccount + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + autosubexclusionCreate(subscriptionExcludedAccount: SubscriptionExcludedAccount, options?: any): AxiosPromise { + return AutosubexclusionApiFp(configuration).autosubexclusionCreate(subscriptionExcludedAccount, options).then((request) => request(axios, basePath)); + }, + /** + * Destroy an existing subscription exclusion in the system. This will DELETE an existing subscription exclusion in the system. Existing subscription exclusions are identified and deleted by the \"org_id\" field. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + autosubexclusionDestroy(orgId: string, options?: any): AxiosPromise { + return AutosubexclusionApiFp(configuration).autosubexclusionDestroy(orgId, options).then((request) => request(axios, basePath)); + }, + /** + * Returns all subscription exclusions for accounts This returns a list of all subscription exclusions. This contains exclusions and their account and org_id. These are all accounts that are excluded from the autosub subscription path for weekly report subscriptions. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + autosubexclusionList(limit?: number, offset?: number, options?: any): AxiosPromise { + return AutosubexclusionApiFp(configuration).autosubexclusionList(limit, offset, options).then((request) => request(axios, basePath)); + }, + /** + * Returns an individual subscription exclusion based on org_id. This returns an individual subscription exclusion based on the org_id. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + autosubexclusionRetrieve(orgId: string, options?: any): AxiosPromise { + return AutosubexclusionApiFp(configuration).autosubexclusionRetrieve(orgId, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * AutosubexclusionApi - object-oriented interface + * @export + * @class AutosubexclusionApi + * @extends {BaseAPI} + */ +export class AutosubexclusionApi extends BaseAPI { + /** + * Create a new subscription exclusion for an account. This creates a new subscription exclusion for an account. This should contain an org_id and account. Only org_id is required. Account is optional. + * @param {SubscriptionExcludedAccount} subscriptionExcludedAccount + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AutosubexclusionApi + */ + public autosubexclusionCreate(subscriptionExcludedAccount: SubscriptionExcludedAccount, options?: any) { + return AutosubexclusionApiFp(this.configuration).autosubexclusionCreate(subscriptionExcludedAccount, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Destroy an existing subscription exclusion in the system. This will DELETE an existing subscription exclusion in the system. Existing subscription exclusions are identified and deleted by the \"org_id\" field. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AutosubexclusionApi + */ + public autosubexclusionDestroy(orgId: string, options?: any) { + return AutosubexclusionApiFp(this.configuration).autosubexclusionDestroy(orgId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Returns all subscription exclusions for accounts This returns a list of all subscription exclusions. This contains exclusions and their account and org_id. These are all accounts that are excluded from the autosub subscription path for weekly report subscriptions. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AutosubexclusionApi + */ + public autosubexclusionList(limit?: number, offset?: number, options?: any) { + return AutosubexclusionApiFp(this.configuration).autosubexclusionList(limit, offset, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Returns an individual subscription exclusion based on org_id. This returns an individual subscription exclusion based on the org_id. + * @param {string} orgId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof AutosubexclusionApi + */ + public autosubexclusionRetrieve(orgId: string, options?: any) { + return AutosubexclusionApiFp(this.configuration).autosubexclusionRetrieve(orgId, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * ExportApi - axios parameter creator + * @export + */ +export const ExportApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Get each host and all rules currently affecting it. We also only present active, non-acked (on an account AND host level) rules. Inventory data may be requested if Advisor has not seen all the hosts. The accepted content type supplied in the request headers is used to determine the supplied content type. + * @param {Array<1 | 2 | 3 | 4>} [category] Display rules of this category (number) + * @param {string} [displayName] Display systems with this text in their display_name + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [hasPlaybook] Display rules that have a playbook + * @param {Array<1 | 2 | 3 | 4>} [impact] Display rules of this impact level (1..4) + * @param {boolean} [incident] Display only rules that cause an incident + * @param {Array<1 | 2 | 3 | 4>} [likelihood] Display only rules of this likelihood level (1..4) + * @param {boolean} [reboot] Display rules that require a reboot to fix + * @param {Array<1 | 2 | 3 | 4>} [resRisk] Display rules with this resolution risk level (1..4) + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Display rules with this text in their text fields + * @param {Array<1 | 2 | 3 | 4>} [totalRisk] Display rules with this total risk level (1..4) + * @param {string} [uuid] Display a system with this uuid + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + exportHitsList: async (category?: Array<1 | 2 | 3 | 4>, displayName?: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, format?: 'csv' | 'json', groups?: Array, hasPlaybook?: boolean, impact?: Array<1 | 2 | 3 | 4>, incident?: boolean, likelihood?: Array<1 | 2 | 3 | 4>, reboot?: boolean, resRisk?: Array<1 | 2 | 3 | 4>, tags?: Array, text?: string, totalRisk?: Array<1 | 2 | 3 | 4>, uuid?: string, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/export/hits/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (category) { + localVarQueryParameter['category'] = category; + } + + if (displayName !== undefined) { + localVarQueryParameter['display_name'] = displayName; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (format !== undefined) { + localVarQueryParameter['format'] = format; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (hasPlaybook !== undefined) { + localVarQueryParameter['has_playbook'] = hasPlaybook; + } + + if (impact) { + localVarQueryParameter['impact'] = impact; + } + + if (incident !== undefined) { + localVarQueryParameter['incident'] = incident; + } + + if (likelihood) { + localVarQueryParameter['likelihood'] = likelihood; + } + + if (reboot !== undefined) { + localVarQueryParameter['reboot'] = reboot; + } + + if (resRisk) { + localVarQueryParameter['res_risk'] = resRisk; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + if (text !== undefined) { + localVarQueryParameter['text'] = text; + } + + if (totalRisk) { + localVarQueryParameter['total_risk'] = totalRisk; + } + + if (uuid !== undefined) { + localVarQueryParameter['uuid'] = uuid; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List the report details of each rule affecting each system. System and Rule are referred to by ID only, to be correlated with the Rule and System export data. It\'s like the hits output but much less repetitive. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + exportReportsList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/export/reports/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List the report details of each rule affecting each system. System and Rule are referred to by ID only, to be correlated with the Rule and System export data. It\'s like the hits output but much less repetitive. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + exportRulesList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/export/rules/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List of systems with details and hit counts. Systems can be sorted and filtered by display name and rule id. + * @param {string} [displayName] Display systems with this text in their display_name + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {string} [ruleId] Display systems with this text in their rule_id + * @param {'-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + exportSystemsList: async (displayName?: string, format?: 'csv' | 'json', groups?: Array, ruleId?: string, sort?: '-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/export/systems/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (displayName !== undefined) { + localVarQueryParameter['display_name'] = displayName; + } + + if (format !== undefined) { + localVarQueryParameter['format'] = format; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (ruleId !== undefined) { + localVarQueryParameter['rule_id'] = ruleId; + } + + if (sort !== undefined) { + localVarQueryParameter['sort'] = sort; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * ExportApi - functional programming interface + * @export + */ +export const ExportApiFp = function(configuration?: Configuration) { + return { + /** + * Get each host and all rules currently affecting it. We also only present active, non-acked (on an account AND host level) rules. Inventory data may be requested if Advisor has not seen all the hosts. The accepted content type supplied in the request headers is used to determine the supplied content type. + * @param {Array<1 | 2 | 3 | 4>} [category] Display rules of this category (number) + * @param {string} [displayName] Display systems with this text in their display_name + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [hasPlaybook] Display rules that have a playbook + * @param {Array<1 | 2 | 3 | 4>} [impact] Display rules of this impact level (1..4) + * @param {boolean} [incident] Display only rules that cause an incident + * @param {Array<1 | 2 | 3 | 4>} [likelihood] Display only rules of this likelihood level (1..4) + * @param {boolean} [reboot] Display rules that require a reboot to fix + * @param {Array<1 | 2 | 3 | 4>} [resRisk] Display rules with this resolution risk level (1..4) + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Display rules with this text in their text fields + * @param {Array<1 | 2 | 3 | 4>} [totalRisk] Display rules with this total risk level (1..4) + * @param {string} [uuid] Display a system with this uuid + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async exportHitsList(category?: Array<1 | 2 | 3 | 4>, displayName?: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, format?: 'csv' | 'json', groups?: Array, hasPlaybook?: boolean, impact?: Array<1 | 2 | 3 | 4>, incident?: boolean, likelihood?: Array<1 | 2 | 3 | 4>, reboot?: boolean, resRisk?: Array<1 | 2 | 3 | 4>, tags?: Array, text?: string, totalRisk?: Array<1 | 2 | 3 | 4>, uuid?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await ExportApiAxiosParamCreator(configuration).exportHitsList(category, displayName, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, format, groups, hasPlaybook, impact, incident, likelihood, reboot, resRisk, tags, text, totalRisk, uuid, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List the report details of each rule affecting each system. System and Rule are referred to by ID only, to be correlated with the Rule and System export data. It\'s like the hits output but much less repetitive. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async exportReportsList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await ExportApiAxiosParamCreator(configuration).exportReportsList(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List the report details of each rule affecting each system. System and Rule are referred to by ID only, to be correlated with the Rule and System export data. It\'s like the hits output but much less repetitive. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async exportRulesList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await ExportApiAxiosParamCreator(configuration).exportRulesList(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List of systems with details and hit counts. Systems can be sorted and filtered by display name and rule id. + * @param {string} [displayName] Display systems with this text in their display_name + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {string} [ruleId] Display systems with this text in their rule_id + * @param {'-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async exportSystemsList(displayName?: string, format?: 'csv' | 'json', groups?: Array, ruleId?: string, sort?: '-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await ExportApiAxiosParamCreator(configuration).exportSystemsList(displayName, format, groups, ruleId, sort, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * ExportApi - factory interface + * @export + */ +export const ExportApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Get each host and all rules currently affecting it. We also only present active, non-acked (on an account AND host level) rules. Inventory data may be requested if Advisor has not seen all the hosts. The accepted content type supplied in the request headers is used to determine the supplied content type. + * @param {Array<1 | 2 | 3 | 4>} [category] Display rules of this category (number) + * @param {string} [displayName] Display systems with this text in their display_name + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [hasPlaybook] Display rules that have a playbook + * @param {Array<1 | 2 | 3 | 4>} [impact] Display rules of this impact level (1..4) + * @param {boolean} [incident] Display only rules that cause an incident + * @param {Array<1 | 2 | 3 | 4>} [likelihood] Display only rules of this likelihood level (1..4) + * @param {boolean} [reboot] Display rules that require a reboot to fix + * @param {Array<1 | 2 | 3 | 4>} [resRisk] Display rules with this resolution risk level (1..4) + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Display rules with this text in their text fields + * @param {Array<1 | 2 | 3 | 4>} [totalRisk] Display rules with this total risk level (1..4) + * @param {string} [uuid] Display a system with this uuid + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + exportHitsList(category?: Array<1 | 2 | 3 | 4>, displayName?: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, format?: 'csv' | 'json', groups?: Array, hasPlaybook?: boolean, impact?: Array<1 | 2 | 3 | 4>, incident?: boolean, likelihood?: Array<1 | 2 | 3 | 4>, reboot?: boolean, resRisk?: Array<1 | 2 | 3 | 4>, tags?: Array, text?: string, totalRisk?: Array<1 | 2 | 3 | 4>, uuid?: string, options?: any): AxiosPromise> { + return ExportApiFp(configuration).exportHitsList(category, displayName, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, format, groups, hasPlaybook, impact, incident, likelihood, reboot, resRisk, tags, text, totalRisk, uuid, options).then((request) => request(axios, basePath)); + }, + /** + * List the report details of each rule affecting each system. System and Rule are referred to by ID only, to be correlated with the Rule and System export data. It\'s like the hits output but much less repetitive. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + exportReportsList(options?: any): AxiosPromise> { + return ExportApiFp(configuration).exportReportsList(options).then((request) => request(axios, basePath)); + }, + /** + * List the report details of each rule affecting each system. System and Rule are referred to by ID only, to be correlated with the Rule and System export data. It\'s like the hits output but much less repetitive. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + exportRulesList(options?: any): AxiosPromise> { + return ExportApiFp(configuration).exportRulesList(options).then((request) => request(axios, basePath)); + }, + /** + * List of systems with details and hit counts. Systems can be sorted and filtered by display name and rule id. + * @param {string} [displayName] Display systems with this text in their display_name + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {string} [ruleId] Display systems with this text in their rule_id + * @param {'-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + exportSystemsList(displayName?: string, format?: 'csv' | 'json', groups?: Array, ruleId?: string, sort?: '-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', options?: any): AxiosPromise> { + return ExportApiFp(configuration).exportSystemsList(displayName, format, groups, ruleId, sort, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * ExportApi - object-oriented interface + * @export + * @class ExportApi + * @extends {BaseAPI} + */ +export class ExportApi extends BaseAPI { + /** + * Get each host and all rules currently affecting it. We also only present active, non-acked (on an account AND host level) rules. Inventory data may be requested if Advisor has not seen all the hosts. The accepted content type supplied in the request headers is used to determine the supplied content type. + * @param {Array<1 | 2 | 3 | 4>} [category] Display rules of this category (number) + * @param {string} [displayName] Display systems with this text in their display_name + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [hasPlaybook] Display rules that have a playbook + * @param {Array<1 | 2 | 3 | 4>} [impact] Display rules of this impact level (1..4) + * @param {boolean} [incident] Display only rules that cause an incident + * @param {Array<1 | 2 | 3 | 4>} [likelihood] Display only rules of this likelihood level (1..4) + * @param {boolean} [reboot] Display rules that require a reboot to fix + * @param {Array<1 | 2 | 3 | 4>} [resRisk] Display rules with this resolution risk level (1..4) + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Display rules with this text in their text fields + * @param {Array<1 | 2 | 3 | 4>} [totalRisk] Display rules with this total risk level (1..4) + * @param {string} [uuid] Display a system with this uuid + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExportApi + */ + public exportHitsList(category?: Array<1 | 2 | 3 | 4>, displayName?: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, format?: 'csv' | 'json', groups?: Array, hasPlaybook?: boolean, impact?: Array<1 | 2 | 3 | 4>, incident?: boolean, likelihood?: Array<1 | 2 | 3 | 4>, reboot?: boolean, resRisk?: Array<1 | 2 | 3 | 4>, tags?: Array, text?: string, totalRisk?: Array<1 | 2 | 3 | 4>, uuid?: string, options?: any) { + return ExportApiFp(this.configuration).exportHitsList(category, displayName, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, format, groups, hasPlaybook, impact, incident, likelihood, reboot, resRisk, tags, text, totalRisk, uuid, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List the report details of each rule affecting each system. System and Rule are referred to by ID only, to be correlated with the Rule and System export data. It\'s like the hits output but much less repetitive. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExportApi + */ + public exportReportsList(options?: any) { + return ExportApiFp(this.configuration).exportReportsList(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List the report details of each rule affecting each system. System and Rule are referred to by ID only, to be correlated with the Rule and System export data. It\'s like the hits output but much less repetitive. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExportApi + */ + public exportRulesList(options?: any) { + return ExportApiFp(this.configuration).exportRulesList(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List of systems with details and hit counts. Systems can be sorted and filtered by display name and rule id. + * @param {string} [displayName] Display systems with this text in their display_name + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {string} [ruleId] Display systems with this text in their rule_id + * @param {'-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ExportApi + */ + public exportSystemsList(displayName?: string, format?: 'csv' | 'json', groups?: Array, ruleId?: string, sort?: '-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', options?: any) { + return ExportApiFp(this.configuration).exportSystemsList(displayName, format, groups, ruleId, sort, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * HostackApi - axios parameter creator + * @export + */ +export const HostackApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Add an acknowledgement for a rule, by rule ID, system, and account. Return the new hostack. If there\'s already an acknowledgement of this rule by this account for a system, then return that. This does not take an \'id\' number. + * @param {HostAckInput} hostAckInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + hostackCreate: async (hostAckInput: HostAckInput, options: any = {}): Promise => { + // verify required parameter 'hostAckInput' is not null or undefined + if (hostAckInput === null || hostAckInput === undefined) { + throw new RequiredError('hostAckInput','Required parameter hostAckInput was null or undefined when calling hostackCreate.'); + } + const localVarPath = `/api/insights/v1/hostack/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof hostAckInput !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(hostAckInput !== undefined ? hostAckInput : {}) : (hostAckInput || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Delete an acknowledgement for a rule, for a system, for an account, by its ID. Takes the hostack ID (given in the hostack list) as an identifier. + * @param {number} id A unique integer value identifying this host ack. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + hostackDestroy: async (id: number, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + if (id === null || id === undefined) { + throw new RequiredError('id','Required parameter id was null or undefined when calling hostackDestroy.'); + } + const localVarPath = `/api/insights/v1/hostack/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List host acks from this account for a system where the rule is active. Hostacks are retrieved, edited and deleted by the \'id\' field. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [ruleId] Display host acknowledgement of this/these rules + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + hostackList: async (filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, ruleId?: Array, tags?: Array, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/hostack/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + if (ruleId) { + localVarQueryParameter['rule_id'] = ruleId; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * HostAcks acknowledge (and therefore hide) a rule from view in an account for a specific system. This view handles listing, retrieving, creating and deleting hostacks. + * @param {number} id A unique integer value identifying this host ack. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + hostackRetrieve: async (id: number, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + if (id === null || id === undefined) { + throw new RequiredError('id','Required parameter id was null or undefined when calling hostackRetrieve.'); + } + const localVarPath = `/api/insights/v1/hostack/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Update the justification for this host acknowledgement. The justification is taken from the request body. The created_by field is taken from the username in the x-rh-identity field, and the updated_at field is set to the current time. + * @param {number} id A unique integer value identifying this host ack. + * @param {HostAckJustification} [hostAckJustification] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + hostackUpdate: async (id: number, hostAckJustification?: HostAckJustification, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + if (id === null || id === undefined) { + throw new RequiredError('id','Required parameter id was null or undefined when calling hostackUpdate.'); + } + const localVarPath = `/api/insights/v1/hostack/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof hostAckJustification !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(hostAckJustification !== undefined ? hostAckJustification : {}) : (hostAckJustification || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * HostackApi - functional programming interface + * @export + */ +export const HostackApiFp = function(configuration?: Configuration) { + return { + /** + * Add an acknowledgement for a rule, by rule ID, system, and account. Return the new hostack. If there\'s already an acknowledgement of this rule by this account for a system, then return that. This does not take an \'id\' number. + * @param {HostAckInput} hostAckInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async hostackCreate(hostAckInput: HostAckInput, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await HostackApiAxiosParamCreator(configuration).hostackCreate(hostAckInput, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Delete an acknowledgement for a rule, for a system, for an account, by its ID. Takes the hostack ID (given in the hostack list) as an identifier. + * @param {number} id A unique integer value identifying this host ack. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async hostackDestroy(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await HostackApiAxiosParamCreator(configuration).hostackDestroy(id, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List host acks from this account for a system where the rule is active. Hostacks are retrieved, edited and deleted by the \'id\' field. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [ruleId] Display host acknowledgement of this/these rules + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async hostackList(filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, ruleId?: Array, tags?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await HostackApiAxiosParamCreator(configuration).hostackList(filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, ruleId, tags, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * HostAcks acknowledge (and therefore hide) a rule from view in an account for a specific system. This view handles listing, retrieving, creating and deleting hostacks. + * @param {number} id A unique integer value identifying this host ack. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async hostackRetrieve(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await HostackApiAxiosParamCreator(configuration).hostackRetrieve(id, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Update the justification for this host acknowledgement. The justification is taken from the request body. The created_by field is taken from the username in the x-rh-identity field, and the updated_at field is set to the current time. + * @param {number} id A unique integer value identifying this host ack. + * @param {HostAckJustification} [hostAckJustification] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async hostackUpdate(id: number, hostAckJustification?: HostAckJustification, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await HostackApiAxiosParamCreator(configuration).hostackUpdate(id, hostAckJustification, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * HostackApi - factory interface + * @export + */ +export const HostackApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Add an acknowledgement for a rule, by rule ID, system, and account. Return the new hostack. If there\'s already an acknowledgement of this rule by this account for a system, then return that. This does not take an \'id\' number. + * @param {HostAckInput} hostAckInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + hostackCreate(hostAckInput: HostAckInput, options?: any): AxiosPromise { + return HostackApiFp(configuration).hostackCreate(hostAckInput, options).then((request) => request(axios, basePath)); + }, + /** + * Delete an acknowledgement for a rule, for a system, for an account, by its ID. Takes the hostack ID (given in the hostack list) as an identifier. + * @param {number} id A unique integer value identifying this host ack. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + hostackDestroy(id: number, options?: any): AxiosPromise { + return HostackApiFp(configuration).hostackDestroy(id, options).then((request) => request(axios, basePath)); + }, + /** + * List host acks from this account for a system where the rule is active. Hostacks are retrieved, edited and deleted by the \'id\' field. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [ruleId] Display host acknowledgement of this/these rules + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + hostackList(filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, ruleId?: Array, tags?: Array, options?: any): AxiosPromise { + return HostackApiFp(configuration).hostackList(filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, ruleId, tags, options).then((request) => request(axios, basePath)); + }, + /** + * HostAcks acknowledge (and therefore hide) a rule from view in an account for a specific system. This view handles listing, retrieving, creating and deleting hostacks. + * @param {number} id A unique integer value identifying this host ack. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + hostackRetrieve(id: number, options?: any): AxiosPromise { + return HostackApiFp(configuration).hostackRetrieve(id, options).then((request) => request(axios, basePath)); + }, + /** + * Update the justification for this host acknowledgement. The justification is taken from the request body. The created_by field is taken from the username in the x-rh-identity field, and the updated_at field is set to the current time. + * @param {number} id A unique integer value identifying this host ack. + * @param {HostAckJustification} [hostAckJustification] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + hostackUpdate(id: number, hostAckJustification?: HostAckJustification, options?: any): AxiosPromise { + return HostackApiFp(configuration).hostackUpdate(id, hostAckJustification, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * HostackApi - object-oriented interface + * @export + * @class HostackApi + * @extends {BaseAPI} + */ +export class HostackApi extends BaseAPI { + /** + * Add an acknowledgement for a rule, by rule ID, system, and account. Return the new hostack. If there\'s already an acknowledgement of this rule by this account for a system, then return that. This does not take an \'id\' number. + * @param {HostAckInput} hostAckInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HostackApi + */ + public hostackCreate(hostAckInput: HostAckInput, options?: any) { + return HostackApiFp(this.configuration).hostackCreate(hostAckInput, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Delete an acknowledgement for a rule, for a system, for an account, by its ID. Takes the hostack ID (given in the hostack list) as an identifier. + * @param {number} id A unique integer value identifying this host ack. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HostackApi + */ + public hostackDestroy(id: number, options?: any) { + return HostackApiFp(this.configuration).hostackDestroy(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List host acks from this account for a system where the rule is active. Hostacks are retrieved, edited and deleted by the \'id\' field. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [ruleId] Display host acknowledgement of this/these rules + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HostackApi + */ + public hostackList(filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, ruleId?: Array, tags?: Array, options?: any) { + return HostackApiFp(this.configuration).hostackList(filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, ruleId, tags, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * HostAcks acknowledge (and therefore hide) a rule from view in an account for a specific system. This view handles listing, retrieving, creating and deleting hostacks. + * @param {number} id A unique integer value identifying this host ack. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HostackApi + */ + public hostackRetrieve(id: number, options?: any) { + return HostackApiFp(this.configuration).hostackRetrieve(id, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Update the justification for this host acknowledgement. The justification is taken from the request body. The created_by field is taken from the username in the x-rh-identity field, and the updated_at field is set to the current time. + * @param {number} id A unique integer value identifying this host ack. + * @param {HostAckJustification} [hostAckJustification] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HostackApi + */ + public hostackUpdate(id: number, hostAckJustification?: HostAckJustification, options?: any) { + return HostackApiFp(this.configuration).hostackUpdate(id, hostAckJustification, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * KcsApi - axios parameter creator + * @export + */ +export const KcsApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Looks for all active rules with KCS solutions Returns a list of dicts of the C.R.C rule URL and its KCS solution number + * @param {Array} [nodeIds] Display the rule urls for the given list of comma separated KCS solution node_ids + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + kcsList: async (nodeIds?: Array, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/kcs/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (nodeIds) { + localVarQueryParameter['node_ids'] = nodeIds; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Gets active rule(s) for a particular KCS solution (node_id) Returns a list of C.R.C rule url(s) for that KCS solution + * @param {string} nodeId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + kcsRetrieve: async (nodeId: string, options: any = {}): Promise => { + // verify required parameter 'nodeId' is not null or undefined + if (nodeId === null || nodeId === undefined) { + throw new RequiredError('nodeId','Required parameter nodeId was null or undefined when calling kcsRetrieve.'); + } + const localVarPath = `/api/insights/v1/kcs/{node_id}/` + .replace(`{${"node_id"}}`, encodeURIComponent(String(nodeId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * KcsApi - functional programming interface + * @export + */ +export const KcsApiFp = function(configuration?: Configuration) { + return { + /** + * Looks for all active rules with KCS solutions Returns a list of dicts of the C.R.C rule URL and its KCS solution number + * @param {Array} [nodeIds] Display the rule urls for the given list of comma separated KCS solution node_ids + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async kcsList(nodeIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await KcsApiAxiosParamCreator(configuration).kcsList(nodeIds, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Gets active rule(s) for a particular KCS solution (node_id) Returns a list of C.R.C rule url(s) for that KCS solution + * @param {string} nodeId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async kcsRetrieve(nodeId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await KcsApiAxiosParamCreator(configuration).kcsRetrieve(nodeId, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * KcsApi - factory interface + * @export + */ +export const KcsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Looks for all active rules with KCS solutions Returns a list of dicts of the C.R.C rule URL and its KCS solution number + * @param {Array} [nodeIds] Display the rule urls for the given list of comma separated KCS solution node_ids + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + kcsList(nodeIds?: Array, options?: any): AxiosPromise> { + return KcsApiFp(configuration).kcsList(nodeIds, options).then((request) => request(axios, basePath)); + }, + /** + * Gets active rule(s) for a particular KCS solution (node_id) Returns a list of C.R.C rule url(s) for that KCS solution + * @param {string} nodeId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + kcsRetrieve(nodeId: string, options?: any): AxiosPromise> { + return KcsApiFp(configuration).kcsRetrieve(nodeId, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * KcsApi - object-oriented interface + * @export + * @class KcsApi + * @extends {BaseAPI} + */ +export class KcsApi extends BaseAPI { + /** + * Looks for all active rules with KCS solutions Returns a list of dicts of the C.R.C rule URL and its KCS solution number + * @param {Array} [nodeIds] Display the rule urls for the given list of comma separated KCS solution node_ids + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof KcsApi + */ + public kcsList(nodeIds?: Array, options?: any) { + return KcsApiFp(this.configuration).kcsList(nodeIds, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Gets active rule(s) for a particular KCS solution (node_id) Returns a list of C.R.C rule url(s) for that KCS solution + * @param {string} nodeId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof KcsApi + */ + public kcsRetrieve(nodeId: string, options?: any) { + return KcsApiFp(this.configuration).kcsRetrieve(nodeId, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * PathwayApi - axios parameter creator + * @export + */ +export const PathwayApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Create a new Pathway in the system. This creates a new Pathway in the system. Required fields are \"name,\" \"description,\" \"component,\" \"resolution_risk,\" and \"publish_date.\" \"name\" is a slug field and used to identify and retrieve Pathways for detailed analysis. The slug for a Pathway is auto-generated by converting the \"name\" to lowercase and replacing all spaces with dashes. \"resolution_risk\" should be the \"name\" of the ResolutionRisk to associate with this Pathway, not the risk value. + * @param {PathwayInput} pathwayInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayCreate: async (pathwayInput: PathwayInput, options: any = {}): Promise => { + // verify required parameter 'pathwayInput' is not null or undefined + if (pathwayInput === null || pathwayInput === undefined) { + throw new RequiredError('pathwayInput','Required parameter pathwayInput was null or undefined when calling pathwayCreate.'); + } + const localVarPath = `/api/insights/v1/pathway/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof pathwayInput !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(pathwayInput !== undefined ? pathwayInput : {}) : (pathwayInput || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Destroy an existing Pathway in the system. This will DELETE an existing Pathway in the system. Existing pathways are identified and deleted by the \"slug\" field. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayDestroy: async (slug: string, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling pathwayDestroy.'); + } + const localVarPath = `/api/insights/v1/pathway/{slug}/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Returns all Pathways This returns a list of all Pathways. Will display the same information as is provided in the retrieve view, but has all Pathways listed. + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayList: async (category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, text?: string, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/pathway/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (category) { + localVarQueryParameter['category'] = category; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + if (text !== undefined) { + localVarQueryParameter['text'] = text; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Get the list of systems for each rule in this pathway. Each rule is listed once, with the systems currently reporting an incidence of that rule in a list. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [hostId] Display Pathway Reports of this/these systems + * @param {Array} [ruleId] Display Pathway Reports of this/these rules + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayReportsRetrieve: async (slug: string, category?: Array<1 | 2 | 3 | 4>, groups?: Array, hostId?: Array, ruleId?: Array, text?: string, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling pathwayReportsRetrieve.'); + } + const localVarPath = `/api/insights/v1/pathway/{slug}/reports/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (category) { + localVarQueryParameter['category'] = category; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (hostId) { + localVarQueryParameter['host_id'] = hostId; + } + + if (ruleId) { + localVarQueryParameter['rule_id'] = ruleId; + } + + if (text !== undefined) { + localVarQueryParameter['text'] = text; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Returns an individual Pathway based on slug. This returns an individual pathway based on slug. Will display the same information as is provided in the list view. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayRetrieve: async (slug: string, category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, tags?: Array, text?: string, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling pathwayRetrieve.'); + } + const localVarPath = `/api/insights/v1/pathway/{slug}/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (category) { + localVarQueryParameter['category'] = category; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + if (text !== undefined) { + localVarQueryParameter['text'] = text; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Get all rules in a Pathway This view will retrieve/list in paginated format, all rules for a specific Pathway. This does not take into account acks or host asks. The Specific Pathway is requested by its slug + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayRulesList: async (slug: string, category?: Array<1 | 2 | 3 | 4>, limit?: number, offset?: number, text?: string, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling pathwayRulesList.'); + } + const localVarPath = `/api/insights/v1/pathway/{slug}/rules/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (category) { + localVarQueryParameter['category'] = category; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + if (text !== undefined) { + localVarQueryParameter['text'] = text; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Get all impacted systems for an account, for a specific Pathway This view will retrieve/list in paginated format, all impacted systems for an account, for a specific Pathway. The specific Pathway is requested by its slug. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwaySystemsList: async (slug: string, category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, text?: string, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling pathwaySystemsList.'); + } + const localVarPath = `/api/insights/v1/pathway/{slug}/systems/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (category) { + localVarQueryParameter['category'] = category; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + if (text !== undefined) { + localVarQueryParameter['text'] = text; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Update an existing Pathway in the system. This updates an existing Pathway already defined in the system. All fields that are required to define a Pathway initially may be updated here as well. Pathways are idenfitied and updated by the \"slug\" field. + * @param {string} slug + * @param {PathwayInput} pathwayInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayUpdate: async (slug: string, pathwayInput: PathwayInput, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling pathwayUpdate.'); + } + // verify required parameter 'pathwayInput' is not null or undefined + if (pathwayInput === null || pathwayInput === undefined) { + throw new RequiredError('pathwayInput','Required parameter pathwayInput was null or undefined when calling pathwayUpdate.'); + } + const localVarPath = `/api/insights/v1/pathway/{slug}/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof pathwayInput !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(pathwayInput !== undefined ? pathwayInput : {}) : (pathwayInput || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * PathwayApi - functional programming interface + * @export + */ +export const PathwayApiFp = function(configuration?: Configuration) { + return { + /** + * Create a new Pathway in the system. This creates a new Pathway in the system. Required fields are \"name,\" \"description,\" \"component,\" \"resolution_risk,\" and \"publish_date.\" \"name\" is a slug field and used to identify and retrieve Pathways for detailed analysis. The slug for a Pathway is auto-generated by converting the \"name\" to lowercase and replacing all spaces with dashes. \"resolution_risk\" should be the \"name\" of the ResolutionRisk to associate with this Pathway, not the risk value. + * @param {PathwayInput} pathwayInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async pathwayCreate(pathwayInput: PathwayInput, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await PathwayApiAxiosParamCreator(configuration).pathwayCreate(pathwayInput, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Destroy an existing Pathway in the system. This will DELETE an existing Pathway in the system. Existing pathways are identified and deleted by the \"slug\" field. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async pathwayDestroy(slug: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await PathwayApiAxiosParamCreator(configuration).pathwayDestroy(slug, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Returns all Pathways This returns a list of all Pathways. Will display the same information as is provided in the retrieve view, but has all Pathways listed. + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async pathwayList(category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, text?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await PathwayApiAxiosParamCreator(configuration).pathwayList(category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, tags, text, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Get the list of systems for each rule in this pathway. Each rule is listed once, with the systems currently reporting an incidence of that rule in a list. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [hostId] Display Pathway Reports of this/these systems + * @param {Array} [ruleId] Display Pathway Reports of this/these rules + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async pathwayReportsRetrieve(slug: string, category?: Array<1 | 2 | 3 | 4>, groups?: Array, hostId?: Array, ruleId?: Array, text?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await PathwayApiAxiosParamCreator(configuration).pathwayReportsRetrieve(slug, category, groups, hostId, ruleId, text, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Returns an individual Pathway based on slug. This returns an individual pathway based on slug. Will display the same information as is provided in the list view. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async pathwayRetrieve(slug: string, category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, tags?: Array, text?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await PathwayApiAxiosParamCreator(configuration).pathwayRetrieve(slug, category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, tags, text, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Get all rules in a Pathway This view will retrieve/list in paginated format, all rules for a specific Pathway. This does not take into account acks or host asks. The Specific Pathway is requested by its slug + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async pathwayRulesList(slug: string, category?: Array<1 | 2 | 3 | 4>, limit?: number, offset?: number, text?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await PathwayApiAxiosParamCreator(configuration).pathwayRulesList(slug, category, limit, offset, text, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Get all impacted systems for an account, for a specific Pathway This view will retrieve/list in paginated format, all impacted systems for an account, for a specific Pathway. The specific Pathway is requested by its slug. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async pathwaySystemsList(slug: string, category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, text?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await PathwayApiAxiosParamCreator(configuration).pathwaySystemsList(slug, category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, tags, text, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Update an existing Pathway in the system. This updates an existing Pathway already defined in the system. All fields that are required to define a Pathway initially may be updated here as well. Pathways are idenfitied and updated by the \"slug\" field. + * @param {string} slug + * @param {PathwayInput} pathwayInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async pathwayUpdate(slug: string, pathwayInput: PathwayInput, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await PathwayApiAxiosParamCreator(configuration).pathwayUpdate(slug, pathwayInput, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * PathwayApi - factory interface + * @export + */ +export const PathwayApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Create a new Pathway in the system. This creates a new Pathway in the system. Required fields are \"name,\" \"description,\" \"component,\" \"resolution_risk,\" and \"publish_date.\" \"name\" is a slug field and used to identify and retrieve Pathways for detailed analysis. The slug for a Pathway is auto-generated by converting the \"name\" to lowercase and replacing all spaces with dashes. \"resolution_risk\" should be the \"name\" of the ResolutionRisk to associate with this Pathway, not the risk value. + * @param {PathwayInput} pathwayInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayCreate(pathwayInput: PathwayInput, options?: any): AxiosPromise { + return PathwayApiFp(configuration).pathwayCreate(pathwayInput, options).then((request) => request(axios, basePath)); + }, + /** + * Destroy an existing Pathway in the system. This will DELETE an existing Pathway in the system. Existing pathways are identified and deleted by the \"slug\" field. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayDestroy(slug: string, options?: any): AxiosPromise { + return PathwayApiFp(configuration).pathwayDestroy(slug, options).then((request) => request(axios, basePath)); + }, + /** + * Returns all Pathways This returns a list of all Pathways. Will display the same information as is provided in the retrieve view, but has all Pathways listed. + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayList(category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, text?: string, options?: any): AxiosPromise { + return PathwayApiFp(configuration).pathwayList(category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, tags, text, options).then((request) => request(axios, basePath)); + }, + /** + * Get the list of systems for each rule in this pathway. Each rule is listed once, with the systems currently reporting an incidence of that rule in a list. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [hostId] Display Pathway Reports of this/these systems + * @param {Array} [ruleId] Display Pathway Reports of this/these rules + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayReportsRetrieve(slug: string, category?: Array<1 | 2 | 3 | 4>, groups?: Array, hostId?: Array, ruleId?: Array, text?: string, options?: any): AxiosPromise { + return PathwayApiFp(configuration).pathwayReportsRetrieve(slug, category, groups, hostId, ruleId, text, options).then((request) => request(axios, basePath)); + }, + /** + * Returns an individual Pathway based on slug. This returns an individual pathway based on slug. Will display the same information as is provided in the list view. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayRetrieve(slug: string, category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, tags?: Array, text?: string, options?: any): AxiosPromise { + return PathwayApiFp(configuration).pathwayRetrieve(slug, category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, tags, text, options).then((request) => request(axios, basePath)); + }, + /** + * Get all rules in a Pathway This view will retrieve/list in paginated format, all rules for a specific Pathway. This does not take into account acks or host asks. The Specific Pathway is requested by its slug + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayRulesList(slug: string, category?: Array<1 | 2 | 3 | 4>, limit?: number, offset?: number, text?: string, options?: any): AxiosPromise { + return PathwayApiFp(configuration).pathwayRulesList(slug, category, limit, offset, text, options).then((request) => request(axios, basePath)); + }, + /** + * Get all impacted systems for an account, for a specific Pathway This view will retrieve/list in paginated format, all impacted systems for an account, for a specific Pathway. The specific Pathway is requested by its slug. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwaySystemsList(slug: string, category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, text?: string, options?: any): AxiosPromise { + return PathwayApiFp(configuration).pathwaySystemsList(slug, category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, tags, text, options).then((request) => request(axios, basePath)); + }, + /** + * Update an existing Pathway in the system. This updates an existing Pathway already defined in the system. All fields that are required to define a Pathway initially may be updated here as well. Pathways are idenfitied and updated by the \"slug\" field. + * @param {string} slug + * @param {PathwayInput} pathwayInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + pathwayUpdate(slug: string, pathwayInput: PathwayInput, options?: any): AxiosPromise { + return PathwayApiFp(configuration).pathwayUpdate(slug, pathwayInput, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * PathwayApi - object-oriented interface + * @export + * @class PathwayApi + * @extends {BaseAPI} + */ +export class PathwayApi extends BaseAPI { + /** + * Create a new Pathway in the system. This creates a new Pathway in the system. Required fields are \"name,\" \"description,\" \"component,\" \"resolution_risk,\" and \"publish_date.\" \"name\" is a slug field and used to identify and retrieve Pathways for detailed analysis. The slug for a Pathway is auto-generated by converting the \"name\" to lowercase and replacing all spaces with dashes. \"resolution_risk\" should be the \"name\" of the ResolutionRisk to associate with this Pathway, not the risk value. + * @param {PathwayInput} pathwayInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PathwayApi + */ + public pathwayCreate(pathwayInput: PathwayInput, options?: any) { + return PathwayApiFp(this.configuration).pathwayCreate(pathwayInput, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Destroy an existing Pathway in the system. This will DELETE an existing Pathway in the system. Existing pathways are identified and deleted by the \"slug\" field. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PathwayApi + */ + public pathwayDestroy(slug: string, options?: any) { + return PathwayApiFp(this.configuration).pathwayDestroy(slug, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Returns all Pathways This returns a list of all Pathways. Will display the same information as is provided in the retrieve view, but has all Pathways listed. + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PathwayApi + */ + public pathwayList(category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, text?: string, options?: any) { + return PathwayApiFp(this.configuration).pathwayList(category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, tags, text, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Get the list of systems for each rule in this pathway. Each rule is listed once, with the systems currently reporting an incidence of that rule in a list. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [hostId] Display Pathway Reports of this/these systems + * @param {Array} [ruleId] Display Pathway Reports of this/these rules + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PathwayApi + */ + public pathwayReportsRetrieve(slug: string, category?: Array<1 | 2 | 3 | 4>, groups?: Array, hostId?: Array, ruleId?: Array, text?: string, options?: any) { + return PathwayApiFp(this.configuration).pathwayReportsRetrieve(slug, category, groups, hostId, ruleId, text, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Returns an individual Pathway based on slug. This returns an individual pathway based on slug. Will display the same information as is provided in the list view. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PathwayApi + */ + public pathwayRetrieve(slug: string, category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, tags?: Array, text?: string, options?: any) { + return PathwayApiFp(this.configuration).pathwayRetrieve(slug, category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, tags, text, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Get all rules in a Pathway This view will retrieve/list in paginated format, all rules for a specific Pathway. This does not take into account acks or host asks. The Specific Pathway is requested by its slug + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PathwayApi + */ + public pathwayRulesList(slug: string, category?: Array<1 | 2 | 3 | 4>, limit?: number, offset?: number, text?: string, options?: any) { + return PathwayApiFp(this.configuration).pathwayRulesList(slug, category, limit, offset, text, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Get all impacted systems for an account, for a specific Pathway This view will retrieve/list in paginated format, all impacted systems for an account, for a specific Pathway. The specific Pathway is requested by its slug. + * @param {string} slug + * @param {Array<1 | 2 | 3 | 4>} [category] Filter rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PathwayApi + */ + public pathwaySystemsList(slug: string, category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, text?: string, options?: any) { + return PathwayApiFp(this.configuration).pathwaySystemsList(slug, category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, tags, text, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Update an existing Pathway in the system. This updates an existing Pathway already defined in the system. All fields that are required to define a Pathway initially may be updated here as well. Pathways are idenfitied and updated by the \"slug\" field. + * @param {string} slug + * @param {PathwayInput} pathwayInput + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof PathwayApi + */ + public pathwayUpdate(slug: string, pathwayInput: PathwayInput, options?: any) { + return PathwayApiFp(this.configuration).pathwayUpdate(slug, pathwayInput, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * RatingApi - axios parameter creator + * @export + */ +export const RatingApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Show all ratings. Available only to internal users. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ratingAllRatingsList: async (limit?: number, offset?: number, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/rating/all_ratings/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Add or update a rating for a rule, by rule ID. Return the new rating. Any previous rating for this rule by this user is amended to the current value. This does not attempt to delete a rating by this user of this rule if the rating is zero. + * @param {RuleRating} ruleRating + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ratingCreate: async (ruleRating: RuleRating, options: any = {}): Promise => { + // verify required parameter 'ruleRating' is not null or undefined + if (ruleRating === null || ruleRating === undefined) { + throw new RequiredError('ruleRating','Required parameter ruleRating was null or undefined when calling ratingCreate.'); + } + const localVarPath = `/api/insights/v1/rating/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof ruleRating !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(ruleRating !== undefined ? ruleRating : {}) : (ruleRating || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List all rules rated by the current user Only the current user\'s ratings are listed here. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ratingList: async (limit?: number, offset?: number, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/rating/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Retrieve the ratings for a single rule, by Insights Rule ID + * @summary Retrieve the ratings for a single rule + * @param {string} rule + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ratingRetrieve: async (rule: string, options: any = {}): Promise => { + // verify required parameter 'rule' is not null or undefined + if (rule === null || rule === undefined) { + throw new RequiredError('rule','Required parameter rule was null or undefined when calling ratingRetrieve.'); + } + const localVarPath = `/api/insights/v1/rating/{rule}/` + .replace(`{${"rule"}}`, encodeURIComponent(String(rule))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Summarise the ratings for a rule. This summarises the statistics for each rule. Available only to internal users. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ratingStatsList: async (limit?: number, offset?: number, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/rating/stats/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * RatingApi - functional programming interface + * @export + */ +export const RatingApiFp = function(configuration?: Configuration) { + return { + /** + * Show all ratings. Available only to internal users. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ratingAllRatingsList(limit?: number, offset?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RatingApiAxiosParamCreator(configuration).ratingAllRatingsList(limit, offset, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Add or update a rating for a rule, by rule ID. Return the new rating. Any previous rating for this rule by this user is amended to the current value. This does not attempt to delete a rating by this user of this rule if the rating is zero. + * @param {RuleRating} ruleRating + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ratingCreate(ruleRating: RuleRating, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RatingApiAxiosParamCreator(configuration).ratingCreate(ruleRating, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List all rules rated by the current user Only the current user\'s ratings are listed here. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ratingList(limit?: number, offset?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RatingApiAxiosParamCreator(configuration).ratingList(limit, offset, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Retrieve the ratings for a single rule, by Insights Rule ID + * @summary Retrieve the ratings for a single rule + * @param {string} rule + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ratingRetrieve(rule: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RatingApiAxiosParamCreator(configuration).ratingRetrieve(rule, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Summarise the ratings for a rule. This summarises the statistics for each rule. Available only to internal users. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ratingStatsList(limit?: number, offset?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RatingApiAxiosParamCreator(configuration).ratingStatsList(limit, offset, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * RatingApi - factory interface + * @export + */ +export const RatingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Show all ratings. Available only to internal users. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ratingAllRatingsList(limit?: number, offset?: number, options?: any): AxiosPromise { + return RatingApiFp(configuration).ratingAllRatingsList(limit, offset, options).then((request) => request(axios, basePath)); + }, + /** + * Add or update a rating for a rule, by rule ID. Return the new rating. Any previous rating for this rule by this user is amended to the current value. This does not attempt to delete a rating by this user of this rule if the rating is zero. + * @param {RuleRating} ruleRating + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ratingCreate(ruleRating: RuleRating, options?: any): AxiosPromise { + return RatingApiFp(configuration).ratingCreate(ruleRating, options).then((request) => request(axios, basePath)); + }, + /** + * List all rules rated by the current user Only the current user\'s ratings are listed here. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ratingList(limit?: number, offset?: number, options?: any): AxiosPromise { + return RatingApiFp(configuration).ratingList(limit, offset, options).then((request) => request(axios, basePath)); + }, + /** + * Retrieve the ratings for a single rule, by Insights Rule ID + * @summary Retrieve the ratings for a single rule + * @param {string} rule + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ratingRetrieve(rule: string, options?: any): AxiosPromise { + return RatingApiFp(configuration).ratingRetrieve(rule, options).then((request) => request(axios, basePath)); + }, + /** + * Summarise the ratings for a rule. This summarises the statistics for each rule. Available only to internal users. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ratingStatsList(limit?: number, offset?: number, options?: any): AxiosPromise { + return RatingApiFp(configuration).ratingStatsList(limit, offset, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * RatingApi - object-oriented interface + * @export + * @class RatingApi + * @extends {BaseAPI} + */ +export class RatingApi extends BaseAPI { + /** + * Show all ratings. Available only to internal users. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RatingApi + */ + public ratingAllRatingsList(limit?: number, offset?: number, options?: any) { + return RatingApiFp(this.configuration).ratingAllRatingsList(limit, offset, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Add or update a rating for a rule, by rule ID. Return the new rating. Any previous rating for this rule by this user is amended to the current value. This does not attempt to delete a rating by this user of this rule if the rating is zero. + * @param {RuleRating} ruleRating + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RatingApi + */ + public ratingCreate(ruleRating: RuleRating, options?: any) { + return RatingApiFp(this.configuration).ratingCreate(ruleRating, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List all rules rated by the current user Only the current user\'s ratings are listed here. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RatingApi + */ + public ratingList(limit?: number, offset?: number, options?: any) { + return RatingApiFp(this.configuration).ratingList(limit, offset, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Retrieve the ratings for a single rule, by Insights Rule ID + * @summary Retrieve the ratings for a single rule + * @param {string} rule + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RatingApi + */ + public ratingRetrieve(rule: string, options?: any) { + return RatingApiFp(this.configuration).ratingRetrieve(rule, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Summarise the ratings for a rule. This summarises the statistics for each rule. Available only to internal users. + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RatingApi + */ + public ratingStatsList(limit?: number, offset?: number, options?: any) { + return RatingApiFp(this.configuration).ratingStatsList(limit, offset, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * RuleApi - axios parameter creator + * @export + */ +export const RuleApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Add acknowledgements for one or more hosts to this rule. Host acknowledgements will be added to this rule in this account for the system UUIDs supplied. The justification supplied will be given for all host acks created. Any existing host acknowledgements for a host on this rule will be updated. The count of created hosts acknowledgements, and the list of systems now impacted by this rule, will be returned. Account-wide acks are unaffected. + * @param {string} ruleId + * @param {MultiHostAck} multiHostAck + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleAckHostsCreate: async (ruleId: string, multiHostAck: MultiHostAck, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ruleAckHostsCreate.'); + } + // verify required parameter 'multiHostAck' is not null or undefined + if (multiHostAck === null || multiHostAck === undefined) { + throw new RequiredError('multiHostAck','Required parameter multiHostAck was null or undefined when calling ruleAckHostsCreate.'); + } + const localVarPath = `/api/insights/v1/rule/{rule_id}/ack_hosts/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof multiHostAck !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(multiHostAck !== undefined ? multiHostAck : {}) : (multiHostAck || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List all justifications given for disabling this rule. This is an **internal-only** view that allows us to provide feedback on why rules are disabled by our customers. It lists the justifications given in both account-wide acks and host-specific acks of a rule. + * @param {string} ruleId + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleJustificationsList: async (ruleId: string, limit?: number, offset?: number, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ruleJustificationsList.'); + } + const localVarPath = `/api/insights/v1/rule/{rule_id}/justifications/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List all active rules for this account. If \'acked\' is False or not given, then only rules that are not acked will be shown. If acked is set and \'true\' as a string or evaluates to a true value, then all rules including those that are acked will be shown. + * @param {Array<1 | 2 | 3 | 4>} [category] Display rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [hasPlaybook] Display rules that have a playbook + * @param {Array} [hasTag] Display rules that have (one or more) tags + * @param {Array<1 | 2 | 3 | 4>} [impact] Display rules of this impact level (1..4) + * @param {boolean} [impacting] Display only rules that are impacting systems currently + * @param {boolean} [incident] Display only rules that cause an incident + * @param {Array<1 | 2 | 3 | 4>} [likelihood] Display only rules of this likelihood level (1..4) + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [pathway] Display rules of this Pathway + * @param {boolean} [reboot] Display rules that require a reboot to fix + * @param {boolean} [reportsShown] Display rules where reports are shown or not + * @param {Array<1 | 2 | 3 | 4>} [resRisk] Display rules with this resolution risk level (1..4) + * @param {'all' | 'disabled' | 'enabled' | 'rhdisabled'} [ruleStatus] Display rules which are enabled, disabled (acked) by user, or disabled (acked) by Red Hat + * @param {Array<'-category' | '-description' | '-impact' | '-impacted_count' | '-likelihood' | '-playbook_count' | '-publish_date' | '-resolution_risk' | '-rule_id' | '-total_risk' | 'category' | 'description' | 'impact' | 'impacted_count' | 'likelihood' | 'playbook_count' | 'publish_date' | 'resolution_risk' | 'rule_id' | 'total_risk'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Display rules with this text in their text fields + * @param {string} [topic] Display rules in this topic (slug) + * @param {Array<1 | 2 | 3 | 4>} [totalRisk] Display rules with this total risk level (1..4) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleList: async (category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, hasPlaybook?: boolean, hasTag?: Array, impact?: Array<1 | 2 | 3 | 4>, impacting?: boolean, incident?: boolean, likelihood?: Array<1 | 2 | 3 | 4>, limit?: number, offset?: number, pathway?: string, reboot?: boolean, reportsShown?: boolean, resRisk?: Array<1 | 2 | 3 | 4>, ruleStatus?: 'all' | 'disabled' | 'enabled' | 'rhdisabled', sort?: Array<'-category' | '-description' | '-impact' | '-impacted_count' | '-likelihood' | '-playbook_count' | '-publish_date' | '-resolution_risk' | '-rule_id' | '-total_risk' | 'category' | 'description' | 'impact' | 'impacted_count' | 'likelihood' | 'playbook_count' | 'publish_date' | 'resolution_risk' | 'rule_id' | 'total_risk'>, tags?: Array, text?: string, topic?: string, totalRisk?: Array<1 | 2 | 3 | 4>, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/rule/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (category) { + localVarQueryParameter['category'] = category; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (hasPlaybook !== undefined) { + localVarQueryParameter['has_playbook'] = hasPlaybook; + } + + if (hasTag) { + localVarQueryParameter['has_tag'] = hasTag; + } + + if (impact) { + localVarQueryParameter['impact'] = impact; + } + + if (impacting !== undefined) { + localVarQueryParameter['impacting'] = impacting; + } + + if (incident !== undefined) { + localVarQueryParameter['incident'] = incident; + } + + if (likelihood) { + localVarQueryParameter['likelihood'] = likelihood; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + if (pathway !== undefined) { + localVarQueryParameter['pathway'] = pathway; + } + + if (reboot !== undefined) { + localVarQueryParameter['reboot'] = reboot; + } + + if (reportsShown !== undefined) { + localVarQueryParameter['reports_shown'] = reportsShown; + } + + if (resRisk) { + localVarQueryParameter['res_risk'] = resRisk; + } + + if (ruleStatus !== undefined) { + localVarQueryParameter['rule_status'] = ruleStatus; + } + + if (sort) { + localVarQueryParameter['sort'] = sort; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + if (text !== undefined) { + localVarQueryParameter['text'] = text; + } + + if (topic !== undefined) { + localVarQueryParameter['topic'] = topic; + } + + if (totalRisk) { + localVarQueryParameter['total_risk'] = totalRisk; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Retrieve a single rule and its associated details. This includes the account-relevant details such as number of impacted systems and host acknowledgements. + * @param {string} ruleId + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleRetrieve: async (ruleId: string, groups?: Array, tags?: Array, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ruleRetrieve.'); + } + const localVarPath = `/api/insights/v1/rule/{rule_id}/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Display usage and impact statistics for this rule. For internal use only. This allows rule developers to see the number of systems and accounts impacted by a rule. + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleStatsRetrieve: async (ruleId: string, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ruleStatsRetrieve.'); + } + const localVarPath = `/api/insights/v1/rule/{rule_id}/stats/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List systems affected by this rule with additional information about each system All systems owned by the user\'s account, with a current upload reporting the given rule, are listed in a paginated format. Additional information includes hit counts and upload/stale timestamps. + * @param {string} ruleId + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {string} [name] Search for systems that include this in their display name + * @param {number} [offset] The initial index from which to return the results. + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {'-critical_hits' | '-display_name' | '-hits' | '-impacted_date' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'hits' | 'impacted_date' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleSystemsDetailList: async (ruleId: string, groups?: Array, limit?: number, name?: string, offset?: number, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: '-critical_hits' | '-display_name' | '-hits' | '-impacted_date' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'hits' | 'impacted_date' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', tags?: Array, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ruleSystemsDetailList.'); + } + const localVarPath = `/api/insights/v1/rule/{rule_id}/systems_detail/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (name !== undefined) { + localVarQueryParameter['name'] = name; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + if (rhelVersion) { + localVarQueryParameter['rhel_version'] = rhelVersion; + } + + if (sort !== undefined) { + localVarQueryParameter['sort'] = sort; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List all systems affected by this rule. All systems owned by the user\'s account, with a current upload reporting the given rule, are listed. Systems are simply listed by Insights Inventory UUID. + * @param {string} ruleId + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {string} [name] Search for systems that include this in their display name + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleSystemsRetrieve: async (ruleId: string, format?: 'csv' | 'json', groups?: Array, name?: string, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>, tags?: Array, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ruleSystemsRetrieve.'); + } + const localVarPath = `/api/insights/v1/rule/{rule_id}/systems/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (format !== undefined) { + localVarQueryParameter['format'] = format; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (name !== undefined) { + localVarQueryParameter['name'] = name; + } + + if (rhelVersion) { + localVarQueryParameter['rhel_version'] = rhelVersion; + } + + if (sort) { + localVarQueryParameter['sort'] = sort; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Delete acknowledgements for one or more hosts to this rule. Any host acknowledgements for this rule in this account for the given system are deleted. Hosts that do not have an acknowledgement for this rule in this account are ignored. The count of deleted host acknowledgements, and the list of hosts now impacted by this rule, will be returned. Account-wide acks are unaffected. + * @param {string} ruleId + * @param {MultiHostUnAck} multiHostUnAck + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleUnackHostsCreate: async (ruleId: string, multiHostUnAck: MultiHostUnAck, options: any = {}): Promise => { + // verify required parameter 'ruleId' is not null or undefined + if (ruleId === null || ruleId === undefined) { + throw new RequiredError('ruleId','Required parameter ruleId was null or undefined when calling ruleUnackHostsCreate.'); + } + // verify required parameter 'multiHostUnAck' is not null or undefined + if (multiHostUnAck === null || multiHostUnAck === undefined) { + throw new RequiredError('multiHostUnAck','Required parameter multiHostUnAck was null or undefined when calling ruleUnackHostsCreate.'); + } + const localVarPath = `/api/insights/v1/rule/{rule_id}/unack_hosts/` + .replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof multiHostUnAck !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(multiHostUnAck !== undefined ? multiHostUnAck : {}) : (multiHostUnAck || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * RuleApi - functional programming interface + * @export + */ +export const RuleApiFp = function(configuration?: Configuration) { + return { + /** + * Add acknowledgements for one or more hosts to this rule. Host acknowledgements will be added to this rule in this account for the system UUIDs supplied. The justification supplied will be given for all host acks created. Any existing host acknowledgements for a host on this rule will be updated. The count of created hosts acknowledgements, and the list of systems now impacted by this rule, will be returned. Account-wide acks are unaffected. + * @param {string} ruleId + * @param {MultiHostAck} multiHostAck + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ruleAckHostsCreate(ruleId: string, multiHostAck: MultiHostAck, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RuleApiAxiosParamCreator(configuration).ruleAckHostsCreate(ruleId, multiHostAck, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List all justifications given for disabling this rule. This is an **internal-only** view that allows us to provide feedback on why rules are disabled by our customers. It lists the justifications given in both account-wide acks and host-specific acks of a rule. + * @param {string} ruleId + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ruleJustificationsList(ruleId: string, limit?: number, offset?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RuleApiAxiosParamCreator(configuration).ruleJustificationsList(ruleId, limit, offset, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List all active rules for this account. If \'acked\' is False or not given, then only rules that are not acked will be shown. If acked is set and \'true\' as a string or evaluates to a true value, then all rules including those that are acked will be shown. + * @param {Array<1 | 2 | 3 | 4>} [category] Display rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [hasPlaybook] Display rules that have a playbook + * @param {Array} [hasTag] Display rules that have (one or more) tags + * @param {Array<1 | 2 | 3 | 4>} [impact] Display rules of this impact level (1..4) + * @param {boolean} [impacting] Display only rules that are impacting systems currently + * @param {boolean} [incident] Display only rules that cause an incident + * @param {Array<1 | 2 | 3 | 4>} [likelihood] Display only rules of this likelihood level (1..4) + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [pathway] Display rules of this Pathway + * @param {boolean} [reboot] Display rules that require a reboot to fix + * @param {boolean} [reportsShown] Display rules where reports are shown or not + * @param {Array<1 | 2 | 3 | 4>} [resRisk] Display rules with this resolution risk level (1..4) + * @param {'all' | 'disabled' | 'enabled' | 'rhdisabled'} [ruleStatus] Display rules which are enabled, disabled (acked) by user, or disabled (acked) by Red Hat + * @param {Array<'-category' | '-description' | '-impact' | '-impacted_count' | '-likelihood' | '-playbook_count' | '-publish_date' | '-resolution_risk' | '-rule_id' | '-total_risk' | 'category' | 'description' | 'impact' | 'impacted_count' | 'likelihood' | 'playbook_count' | 'publish_date' | 'resolution_risk' | 'rule_id' | 'total_risk'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Display rules with this text in their text fields + * @param {string} [topic] Display rules in this topic (slug) + * @param {Array<1 | 2 | 3 | 4>} [totalRisk] Display rules with this total risk level (1..4) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ruleList(category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, hasPlaybook?: boolean, hasTag?: Array, impact?: Array<1 | 2 | 3 | 4>, impacting?: boolean, incident?: boolean, likelihood?: Array<1 | 2 | 3 | 4>, limit?: number, offset?: number, pathway?: string, reboot?: boolean, reportsShown?: boolean, resRisk?: Array<1 | 2 | 3 | 4>, ruleStatus?: 'all' | 'disabled' | 'enabled' | 'rhdisabled', sort?: Array<'-category' | '-description' | '-impact' | '-impacted_count' | '-likelihood' | '-playbook_count' | '-publish_date' | '-resolution_risk' | '-rule_id' | '-total_risk' | 'category' | 'description' | 'impact' | 'impacted_count' | 'likelihood' | 'playbook_count' | 'publish_date' | 'resolution_risk' | 'rule_id' | 'total_risk'>, tags?: Array, text?: string, topic?: string, totalRisk?: Array<1 | 2 | 3 | 4>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RuleApiAxiosParamCreator(configuration).ruleList(category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, hasPlaybook, hasTag, impact, impacting, incident, likelihood, limit, offset, pathway, reboot, reportsShown, resRisk, ruleStatus, sort, tags, text, topic, totalRisk, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Retrieve a single rule and its associated details. This includes the account-relevant details such as number of impacted systems and host acknowledgements. + * @param {string} ruleId + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ruleRetrieve(ruleId: string, groups?: Array, tags?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RuleApiAxiosParamCreator(configuration).ruleRetrieve(ruleId, groups, tags, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Display usage and impact statistics for this rule. For internal use only. This allows rule developers to see the number of systems and accounts impacted by a rule. + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ruleStatsRetrieve(ruleId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RuleApiAxiosParamCreator(configuration).ruleStatsRetrieve(ruleId, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List systems affected by this rule with additional information about each system All systems owned by the user\'s account, with a current upload reporting the given rule, are listed in a paginated format. Additional information includes hit counts and upload/stale timestamps. + * @param {string} ruleId + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {string} [name] Search for systems that include this in their display name + * @param {number} [offset] The initial index from which to return the results. + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {'-critical_hits' | '-display_name' | '-hits' | '-impacted_date' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'hits' | 'impacted_date' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ruleSystemsDetailList(ruleId: string, groups?: Array, limit?: number, name?: string, offset?: number, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: '-critical_hits' | '-display_name' | '-hits' | '-impacted_date' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'hits' | 'impacted_date' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', tags?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RuleApiAxiosParamCreator(configuration).ruleSystemsDetailList(ruleId, groups, limit, name, offset, rhelVersion, sort, tags, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List all systems affected by this rule. All systems owned by the user\'s account, with a current upload reporting the given rule, are listed. Systems are simply listed by Insights Inventory UUID. + * @param {string} ruleId + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {string} [name] Search for systems that include this in their display name + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ruleSystemsRetrieve(ruleId: string, format?: 'csv' | 'json', groups?: Array, name?: string, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>, tags?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RuleApiAxiosParamCreator(configuration).ruleSystemsRetrieve(ruleId, format, groups, name, rhelVersion, sort, tags, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Delete acknowledgements for one or more hosts to this rule. Any host acknowledgements for this rule in this account for the given system are deleted. Hosts that do not have an acknowledgement for this rule in this account are ignored. The count of deleted host acknowledgements, and the list of hosts now impacted by this rule, will be returned. Account-wide acks are unaffected. + * @param {string} ruleId + * @param {MultiHostUnAck} multiHostUnAck + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ruleUnackHostsCreate(ruleId: string, multiHostUnAck: MultiHostUnAck, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RuleApiAxiosParamCreator(configuration).ruleUnackHostsCreate(ruleId, multiHostUnAck, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * RuleApi - factory interface + * @export + */ +export const RuleApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Add acknowledgements for one or more hosts to this rule. Host acknowledgements will be added to this rule in this account for the system UUIDs supplied. The justification supplied will be given for all host acks created. Any existing host acknowledgements for a host on this rule will be updated. The count of created hosts acknowledgements, and the list of systems now impacted by this rule, will be returned. Account-wide acks are unaffected. + * @param {string} ruleId + * @param {MultiHostAck} multiHostAck + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleAckHostsCreate(ruleId: string, multiHostAck: MultiHostAck, options?: any): AxiosPromise { + return RuleApiFp(configuration).ruleAckHostsCreate(ruleId, multiHostAck, options).then((request) => request(axios, basePath)); + }, + /** + * List all justifications given for disabling this rule. This is an **internal-only** view that allows us to provide feedback on why rules are disabled by our customers. It lists the justifications given in both account-wide acks and host-specific acks of a rule. + * @param {string} ruleId + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleJustificationsList(ruleId: string, limit?: number, offset?: number, options?: any): AxiosPromise { + return RuleApiFp(configuration).ruleJustificationsList(ruleId, limit, offset, options).then((request) => request(axios, basePath)); + }, + /** + * List all active rules for this account. If \'acked\' is False or not given, then only rules that are not acked will be shown. If acked is set and \'true\' as a string or evaluates to a true value, then all rules including those that are acked will be shown. + * @param {Array<1 | 2 | 3 | 4>} [category] Display rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [hasPlaybook] Display rules that have a playbook + * @param {Array} [hasTag] Display rules that have (one or more) tags + * @param {Array<1 | 2 | 3 | 4>} [impact] Display rules of this impact level (1..4) + * @param {boolean} [impacting] Display only rules that are impacting systems currently + * @param {boolean} [incident] Display only rules that cause an incident + * @param {Array<1 | 2 | 3 | 4>} [likelihood] Display only rules of this likelihood level (1..4) + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [pathway] Display rules of this Pathway + * @param {boolean} [reboot] Display rules that require a reboot to fix + * @param {boolean} [reportsShown] Display rules where reports are shown or not + * @param {Array<1 | 2 | 3 | 4>} [resRisk] Display rules with this resolution risk level (1..4) + * @param {'all' | 'disabled' | 'enabled' | 'rhdisabled'} [ruleStatus] Display rules which are enabled, disabled (acked) by user, or disabled (acked) by Red Hat + * @param {Array<'-category' | '-description' | '-impact' | '-impacted_count' | '-likelihood' | '-playbook_count' | '-publish_date' | '-resolution_risk' | '-rule_id' | '-total_risk' | 'category' | 'description' | 'impact' | 'impacted_count' | 'likelihood' | 'playbook_count' | 'publish_date' | 'resolution_risk' | 'rule_id' | 'total_risk'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Display rules with this text in their text fields + * @param {string} [topic] Display rules in this topic (slug) + * @param {Array<1 | 2 | 3 | 4>} [totalRisk] Display rules with this total risk level (1..4) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleList(category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, hasPlaybook?: boolean, hasTag?: Array, impact?: Array<1 | 2 | 3 | 4>, impacting?: boolean, incident?: boolean, likelihood?: Array<1 | 2 | 3 | 4>, limit?: number, offset?: number, pathway?: string, reboot?: boolean, reportsShown?: boolean, resRisk?: Array<1 | 2 | 3 | 4>, ruleStatus?: 'all' | 'disabled' | 'enabled' | 'rhdisabled', sort?: Array<'-category' | '-description' | '-impact' | '-impacted_count' | '-likelihood' | '-playbook_count' | '-publish_date' | '-resolution_risk' | '-rule_id' | '-total_risk' | 'category' | 'description' | 'impact' | 'impacted_count' | 'likelihood' | 'playbook_count' | 'publish_date' | 'resolution_risk' | 'rule_id' | 'total_risk'>, tags?: Array, text?: string, topic?: string, totalRisk?: Array<1 | 2 | 3 | 4>, options?: any): AxiosPromise { + return RuleApiFp(configuration).ruleList(category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, hasPlaybook, hasTag, impact, impacting, incident, likelihood, limit, offset, pathway, reboot, reportsShown, resRisk, ruleStatus, sort, tags, text, topic, totalRisk, options).then((request) => request(axios, basePath)); + }, + /** + * Retrieve a single rule and its associated details. This includes the account-relevant details such as number of impacted systems and host acknowledgements. + * @param {string} ruleId + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleRetrieve(ruleId: string, groups?: Array, tags?: Array, options?: any): AxiosPromise { + return RuleApiFp(configuration).ruleRetrieve(ruleId, groups, tags, options).then((request) => request(axios, basePath)); + }, + /** + * Display usage and impact statistics for this rule. For internal use only. This allows rule developers to see the number of systems and accounts impacted by a rule. + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleStatsRetrieve(ruleId: string, options?: any): AxiosPromise { + return RuleApiFp(configuration).ruleStatsRetrieve(ruleId, options).then((request) => request(axios, basePath)); + }, + /** + * List systems affected by this rule with additional information about each system All systems owned by the user\'s account, with a current upload reporting the given rule, are listed in a paginated format. Additional information includes hit counts and upload/stale timestamps. + * @param {string} ruleId + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {string} [name] Search for systems that include this in their display name + * @param {number} [offset] The initial index from which to return the results. + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {'-critical_hits' | '-display_name' | '-hits' | '-impacted_date' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'hits' | 'impacted_date' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleSystemsDetailList(ruleId: string, groups?: Array, limit?: number, name?: string, offset?: number, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: '-critical_hits' | '-display_name' | '-hits' | '-impacted_date' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'hits' | 'impacted_date' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', tags?: Array, options?: any): AxiosPromise { + return RuleApiFp(configuration).ruleSystemsDetailList(ruleId, groups, limit, name, offset, rhelVersion, sort, tags, options).then((request) => request(axios, basePath)); + }, + /** + * List all systems affected by this rule. All systems owned by the user\'s account, with a current upload reporting the given rule, are listed. Systems are simply listed by Insights Inventory UUID. + * @param {string} ruleId + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {string} [name] Search for systems that include this in their display name + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleSystemsRetrieve(ruleId: string, format?: 'csv' | 'json', groups?: Array, name?: string, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>, tags?: Array, options?: any): AxiosPromise { + return RuleApiFp(configuration).ruleSystemsRetrieve(ruleId, format, groups, name, rhelVersion, sort, tags, options).then((request) => request(axios, basePath)); + }, + /** + * Delete acknowledgements for one or more hosts to this rule. Any host acknowledgements for this rule in this account for the given system are deleted. Hosts that do not have an acknowledgement for this rule in this account are ignored. The count of deleted host acknowledgements, and the list of hosts now impacted by this rule, will be returned. Account-wide acks are unaffected. + * @param {string} ruleId + * @param {MultiHostUnAck} multiHostUnAck + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ruleUnackHostsCreate(ruleId: string, multiHostUnAck: MultiHostUnAck, options?: any): AxiosPromise { + return RuleApiFp(configuration).ruleUnackHostsCreate(ruleId, multiHostUnAck, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * RuleApi - object-oriented interface + * @export + * @class RuleApi + * @extends {BaseAPI} + */ +export class RuleApi extends BaseAPI { + /** + * Add acknowledgements for one or more hosts to this rule. Host acknowledgements will be added to this rule in this account for the system UUIDs supplied. The justification supplied will be given for all host acks created. Any existing host acknowledgements for a host on this rule will be updated. The count of created hosts acknowledgements, and the list of systems now impacted by this rule, will be returned. Account-wide acks are unaffected. + * @param {string} ruleId + * @param {MultiHostAck} multiHostAck + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RuleApi + */ + public ruleAckHostsCreate(ruleId: string, multiHostAck: MultiHostAck, options?: any) { + return RuleApiFp(this.configuration).ruleAckHostsCreate(ruleId, multiHostAck, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List all justifications given for disabling this rule. This is an **internal-only** view that allows us to provide feedback on why rules are disabled by our customers. It lists the justifications given in both account-wide acks and host-specific acks of a rule. + * @param {string} ruleId + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RuleApi + */ + public ruleJustificationsList(ruleId: string, limit?: number, offset?: number, options?: any) { + return RuleApiFp(this.configuration).ruleJustificationsList(ruleId, limit, offset, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List all active rules for this account. If \'acked\' is False or not given, then only rules that are not acked will be shown. If acked is set and \'true\' as a string or evaluates to a true value, then all rules including those that are acked will be shown. + * @param {Array<1 | 2 | 3 | 4>} [category] Display rules of this category (number) + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [hasPlaybook] Display rules that have a playbook + * @param {Array} [hasTag] Display rules that have (one or more) tags + * @param {Array<1 | 2 | 3 | 4>} [impact] Display rules of this impact level (1..4) + * @param {boolean} [impacting] Display only rules that are impacting systems currently + * @param {boolean} [incident] Display only rules that cause an incident + * @param {Array<1 | 2 | 3 | 4>} [likelihood] Display only rules of this likelihood level (1..4) + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [pathway] Display rules of this Pathway + * @param {boolean} [reboot] Display rules that require a reboot to fix + * @param {boolean} [reportsShown] Display rules where reports are shown or not + * @param {Array<1 | 2 | 3 | 4>} [resRisk] Display rules with this resolution risk level (1..4) + * @param {'all' | 'disabled' | 'enabled' | 'rhdisabled'} [ruleStatus] Display rules which are enabled, disabled (acked) by user, or disabled (acked) by Red Hat + * @param {Array<'-category' | '-description' | '-impact' | '-impacted_count' | '-likelihood' | '-playbook_count' | '-publish_date' | '-resolution_risk' | '-rule_id' | '-total_risk' | 'category' | 'description' | 'impact' | 'impacted_count' | 'likelihood' | 'playbook_count' | 'publish_date' | 'resolution_risk' | 'rule_id' | 'total_risk'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {string} [text] Display rules with this text in their text fields + * @param {string} [topic] Display rules in this topic (slug) + * @param {Array<1 | 2 | 3 | 4>} [totalRisk] Display rules with this total risk level (1..4) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RuleApi + */ + public ruleList(category?: Array<1 | 2 | 3 | 4>, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, hasPlaybook?: boolean, hasTag?: Array, impact?: Array<1 | 2 | 3 | 4>, impacting?: boolean, incident?: boolean, likelihood?: Array<1 | 2 | 3 | 4>, limit?: number, offset?: number, pathway?: string, reboot?: boolean, reportsShown?: boolean, resRisk?: Array<1 | 2 | 3 | 4>, ruleStatus?: 'all' | 'disabled' | 'enabled' | 'rhdisabled', sort?: Array<'-category' | '-description' | '-impact' | '-impacted_count' | '-likelihood' | '-playbook_count' | '-publish_date' | '-resolution_risk' | '-rule_id' | '-total_risk' | 'category' | 'description' | 'impact' | 'impacted_count' | 'likelihood' | 'playbook_count' | 'publish_date' | 'resolution_risk' | 'rule_id' | 'total_risk'>, tags?: Array, text?: string, topic?: string, totalRisk?: Array<1 | 2 | 3 | 4>, options?: any) { + return RuleApiFp(this.configuration).ruleList(category, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, hasPlaybook, hasTag, impact, impacting, incident, likelihood, limit, offset, pathway, reboot, reportsShown, resRisk, ruleStatus, sort, tags, text, topic, totalRisk, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Retrieve a single rule and its associated details. This includes the account-relevant details such as number of impacted systems and host acknowledgements. + * @param {string} ruleId + * @param {Array} [groups] List of Inventory host group names + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RuleApi + */ + public ruleRetrieve(ruleId: string, groups?: Array, tags?: Array, options?: any) { + return RuleApiFp(this.configuration).ruleRetrieve(ruleId, groups, tags, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Display usage and impact statistics for this rule. For internal use only. This allows rule developers to see the number of systems and accounts impacted by a rule. + * @param {string} ruleId + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RuleApi + */ + public ruleStatsRetrieve(ruleId: string, options?: any) { + return RuleApiFp(this.configuration).ruleStatsRetrieve(ruleId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List systems affected by this rule with additional information about each system All systems owned by the user\'s account, with a current upload reporting the given rule, are listed in a paginated format. Additional information includes hit counts and upload/stale timestamps. + * @param {string} ruleId + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {string} [name] Search for systems that include this in their display name + * @param {number} [offset] The initial index from which to return the results. + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {'-critical_hits' | '-display_name' | '-hits' | '-impacted_date' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'hits' | 'impacted_date' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RuleApi + */ + public ruleSystemsDetailList(ruleId: string, groups?: Array, limit?: number, name?: string, offset?: number, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: '-critical_hits' | '-display_name' | '-hits' | '-impacted_date' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'hits' | 'impacted_date' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', tags?: Array, options?: any) { + return RuleApiFp(this.configuration).ruleSystemsDetailList(ruleId, groups, limit, name, offset, rhelVersion, sort, tags, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List all systems affected by this rule. All systems owned by the user\'s account, with a current upload reporting the given rule, are listed. Systems are simply listed by Insights Inventory UUID. + * @param {string} ruleId + * @param {'csv' | 'json'} [format] + * @param {Array} [groups] List of Inventory host group names + * @param {string} [name] Search for systems that include this in their display name + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RuleApi + */ + public ruleSystemsRetrieve(ruleId: string, format?: 'csv' | 'json', groups?: Array, name?: string, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>, tags?: Array, options?: any) { + return RuleApiFp(this.configuration).ruleSystemsRetrieve(ruleId, format, groups, name, rhelVersion, sort, tags, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Delete acknowledgements for one or more hosts to this rule. Any host acknowledgements for this rule in this account for the given system are deleted. Hosts that do not have an acknowledgement for this rule in this account are ignored. The count of deleted host acknowledgements, and the list of hosts now impacted by this rule, will be returned. Account-wide acks are unaffected. + * @param {string} ruleId + * @param {MultiHostUnAck} multiHostUnAck + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RuleApi + */ + public ruleUnackHostsCreate(ruleId: string, multiHostUnAck: MultiHostUnAck, options?: any) { + return RuleApiFp(this.configuration).ruleUnackHostsCreate(ruleId, multiHostUnAck, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * RulecategoryApi - axios parameter creator + * @export + */ +export const RulecategoryApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + rulecategoryList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/rulecategory/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * @param {number} id A unique integer value identifying this rule category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + rulecategoryRetrieve: async (id: number, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + if (id === null || id === undefined) { + throw new RequiredError('id','Required parameter id was null or undefined when calling rulecategoryRetrieve.'); + } + const localVarPath = `/api/insights/v1/rulecategory/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * RulecategoryApi - functional programming interface + * @export + */ +export const RulecategoryApiFp = function(configuration?: Configuration) { + return { + /** + * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async rulecategoryList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await RulecategoryApiAxiosParamCreator(configuration).rulecategoryList(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * @param {number} id A unique integer value identifying this rule category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async rulecategoryRetrieve(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await RulecategoryApiAxiosParamCreator(configuration).rulecategoryRetrieve(id, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * RulecategoryApi - factory interface + * @export + */ +export const RulecategoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + rulecategoryList(options?: any): AxiosPromise> { + return RulecategoryApiFp(configuration).rulecategoryList(options).then((request) => request(axios, basePath)); + }, + /** + * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * @param {number} id A unique integer value identifying this rule category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + rulecategoryRetrieve(id: number, options?: any): AxiosPromise { + return RulecategoryApiFp(configuration).rulecategoryRetrieve(id, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * RulecategoryApi - object-oriented interface + * @export + * @class RulecategoryApi + * @extends {BaseAPI} + */ +export class RulecategoryApi extends BaseAPI { + /** + * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RulecategoryApi + */ + public rulecategoryList(options?: any) { + return RulecategoryApiFp(this.configuration).rulecategoryList(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * @param {number} id A unique integer value identifying this rule category. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof RulecategoryApi + */ + public rulecategoryRetrieve(id: number, options?: any) { + return RulecategoryApiFp(this.configuration).rulecategoryRetrieve(id, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * SettingsApi - axios parameter creator + * @export + */ +export const SettingsApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Describe the settings we have in a Data-Driven Forms way. This simply compiles the \'show_satellite_hosts\' account-wide setting into a format compatible with Data-Driven Forms. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + settingsList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/settings/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * SettingsApi - functional programming interface + * @export + */ +export const SettingsApiFp = function(configuration?: Configuration) { + return { + /** + * Describe the settings we have in a Data-Driven Forms way. This simply compiles the \'show_satellite_hosts\' account-wide setting into a format compatible with Data-Driven Forms. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async settingsList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await SettingsApiAxiosParamCreator(configuration).settingsList(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * SettingsApi - factory interface + * @export + */ +export const SettingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Describe the settings we have in a Data-Driven Forms way. This simply compiles the \'show_satellite_hosts\' account-wide setting into a format compatible with Data-Driven Forms. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + settingsList(options?: any): AxiosPromise> { + return SettingsApiFp(configuration).settingsList(options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * SettingsApi - object-oriented interface + * @export + * @class SettingsApi + * @extends {BaseAPI} + */ +export class SettingsApi extends BaseAPI { + /** + * Describe the settings we have in a Data-Driven Forms way. This simply compiles the \'show_satellite_hosts\' account-wide setting into a format compatible with Data-Driven Forms. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SettingsApi + */ + public settingsList(options?: any) { + return SettingsApiFp(this.configuration).settingsList(options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * StatsApi - axios parameter creator + * @export + */ +export const StatsApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Provide a simple list of URLs contained here. A list of statistics views. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statsList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/stats/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Show overview statistics for this user This gives the number of pathways, and incident, critical and important recommendations, affecting systems that the user can see. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statsOverviewRetrieve: async (tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/stats/overview/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Show statistics of reports impacting across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statsReportsRetrieve: async (tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/stats/reports/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Show statistics of rule usage across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statsRulesRetrieve: async (tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/stats/rules/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Show statistics of systems being impacted across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statsSystemsRetrieve: async (tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/stats/systems/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * StatsApi - functional programming interface + * @export + */ +export const StatsApiFp = function(configuration?: Configuration) { + return { + /** + * Provide a simple list of URLs contained here. A list of statistics views. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async statsList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>> { + const localVarAxiosArgs = await StatsApiAxiosParamCreator(configuration).statsList(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Show overview statistics for this user This gives the number of pathways, and incident, critical and important recommendations, affecting systems that the user can see. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async statsOverviewRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await StatsApiAxiosParamCreator(configuration).statsOverviewRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Show statistics of reports impacting across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async statsReportsRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await StatsApiAxiosParamCreator(configuration).statsReportsRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Show statistics of rule usage across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async statsRulesRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await StatsApiAxiosParamCreator(configuration).statsRulesRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Show statistics of systems being impacted across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async statsSystemsRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await StatsApiAxiosParamCreator(configuration).statsSystemsRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * StatsApi - factory interface + * @export + */ +export const StatsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Provide a simple list of URLs contained here. A list of statistics views. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statsList(options?: any): AxiosPromise>> { + return StatsApiFp(configuration).statsList(options).then((request) => request(axios, basePath)); + }, + /** + * Show overview statistics for this user This gives the number of pathways, and incident, critical and important recommendations, affecting systems that the user can see. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statsOverviewRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any): AxiosPromise { + return StatsApiFp(configuration).statsOverviewRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options).then((request) => request(axios, basePath)); + }, + /** + * Show statistics of reports impacting across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statsReportsRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any): AxiosPromise { + return StatsApiFp(configuration).statsReportsRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options).then((request) => request(axios, basePath)); + }, + /** + * Show statistics of rule usage across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statsRulesRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any): AxiosPromise { + return StatsApiFp(configuration).statsRulesRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options).then((request) => request(axios, basePath)); + }, + /** + * Show statistics of systems being impacted across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statsSystemsRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any): AxiosPromise { + return StatsApiFp(configuration).statsSystemsRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * StatsApi - object-oriented interface + * @export + * @class StatsApi + * @extends {BaseAPI} + */ +export class StatsApi extends BaseAPI { + /** + * Provide a simple list of URLs contained here. A list of statistics views. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatsApi + */ + public statsList(options?: any) { + return StatsApiFp(this.configuration).statsList(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Show overview statistics for this user This gives the number of pathways, and incident, critical and important recommendations, affecting systems that the user can see. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatsApi + */ + public statsOverviewRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any) { + return StatsApiFp(this.configuration).statsOverviewRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Show statistics of reports impacting across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatsApi + */ + public statsReportsRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any) { + return StatsApiFp(this.configuration).statsReportsRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Show statistics of rule usage across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatsApi + */ + public statsRulesRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any) { + return StatsApiFp(this.configuration).statsRulesRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Show statistics of systems being impacted across categories and risks. Only current reports are considered. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatsApi + */ + public statsSystemsRetrieve(tags?: Array, groups?: Array, filterSystemProfileSapSystem?: boolean, filterSystemProfileSapSidsContains?: Array, options?: any) { + return StatsApiFp(this.configuration).statsSystemsRetrieve(tags, groups, filterSystemProfileSapSystem, filterSystemProfileSapSidsContains, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * StatusApi - axios parameter creator + * @export + */ +export const StatusApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Is the Advisor API live and serving requests? This returns a dictionary with properties defining the status of the components Advisor relies on. At the moment this is the same as the Readiness check (see `/ready/`). In the future it may include other checks if we need to, but the properties of `/ready/` will always be included. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statusLiveRetrieve: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/status/live/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Is the Advisor API ready to serve requests? This returns a dictionary with properties defining the status of the components Advisor relies on. * \'django\' should always be True. If Django isn\'t ready, you can\'t get this information :-) * \'database\' is True when a database access returns successfully with valid information. * \'rbac\' is True when we can make a request to the RBAC API and get a valid response. * \'advisor\' is True if all of the above are True. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statusReadyRetrieve: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/status/ready/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Provide a simple list of URLs contained here. A list of statistics views. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statusRetrieve: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/status/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * StatusApi - functional programming interface + * @export + */ +export const StatusApiFp = function(configuration?: Configuration) { + return { + /** + * Is the Advisor API live and serving requests? This returns a dictionary with properties defining the status of the components Advisor relies on. At the moment this is the same as the Readiness check (see `/ready/`). In the future it may include other checks if we need to, but the properties of `/ready/` will always be included. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async statusLiveRetrieve(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await StatusApiAxiosParamCreator(configuration).statusLiveRetrieve(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Is the Advisor API ready to serve requests? This returns a dictionary with properties defining the status of the components Advisor relies on. * \'django\' should always be True. If Django isn\'t ready, you can\'t get this information :-) * \'database\' is True when a database access returns successfully with valid information. * \'rbac\' is True when we can make a request to the RBAC API and get a valid response. * \'advisor\' is True if all of the above are True. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async statusReadyRetrieve(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await StatusApiAxiosParamCreator(configuration).statusReadyRetrieve(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Provide a simple list of URLs contained here. A list of statistics views. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async statusRetrieve(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await StatusApiAxiosParamCreator(configuration).statusRetrieve(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * StatusApi - factory interface + * @export + */ +export const StatusApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Is the Advisor API live and serving requests? This returns a dictionary with properties defining the status of the components Advisor relies on. At the moment this is the same as the Readiness check (see `/ready/`). In the future it may include other checks if we need to, but the properties of `/ready/` will always be included. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statusLiveRetrieve(options?: any): AxiosPromise { + return StatusApiFp(configuration).statusLiveRetrieve(options).then((request) => request(axios, basePath)); + }, + /** + * Is the Advisor API ready to serve requests? This returns a dictionary with properties defining the status of the components Advisor relies on. * \'django\' should always be True. If Django isn\'t ready, you can\'t get this information :-) * \'database\' is True when a database access returns successfully with valid information. * \'rbac\' is True when we can make a request to the RBAC API and get a valid response. * \'advisor\' is True if all of the above are True. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statusReadyRetrieve(options?: any): AxiosPromise { + return StatusApiFp(configuration).statusReadyRetrieve(options).then((request) => request(axios, basePath)); + }, + /** + * Provide a simple list of URLs contained here. A list of statistics views. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + statusRetrieve(options?: any): AxiosPromise { + return StatusApiFp(configuration).statusRetrieve(options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * StatusApi - object-oriented interface + * @export + * @class StatusApi + * @extends {BaseAPI} + */ +export class StatusApi extends BaseAPI { + /** + * Is the Advisor API live and serving requests? This returns a dictionary with properties defining the status of the components Advisor relies on. At the moment this is the same as the Readiness check (see `/ready/`). In the future it may include other checks if we need to, but the properties of `/ready/` will always be included. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatusApi + */ + public statusLiveRetrieve(options?: any) { + return StatusApiFp(this.configuration).statusLiveRetrieve(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Is the Advisor API ready to serve requests? This returns a dictionary with properties defining the status of the components Advisor relies on. * \'django\' should always be True. If Django isn\'t ready, you can\'t get this information :-) * \'database\' is True when a database access returns successfully with valid information. * \'rbac\' is True when we can make a request to the RBAC API and get a valid response. * \'advisor\' is True if all of the above are True. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatusApi + */ + public statusReadyRetrieve(options?: any) { + return StatusApiFp(this.configuration).statusReadyRetrieve(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Provide a simple list of URLs contained here. A list of statistics views. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof StatusApi + */ + public statusRetrieve(options?: any) { + return StatusApiFp(this.configuration).statusRetrieve(options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * SystemApi - axios parameter creator + * @export + */ +export const SystemApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Returns systems with their hit count and last upload time. Results can be sorted and systems can be filtered by display name and hits + * @param {string} [displayName] Display systems with this text in their display_name + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array<'1' | '2' | '3' | '4' | 'all' | 'no' | 'yes'>} [hits] Display systems with hits of the given total_risk value (1..4), or 0 to display all systems + * @param {boolean} [incident] Display only systems reporting an incident + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [pathway] Display systems with rule hits for this Pathway + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {'-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + systemList: async (displayName?: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, hits?: Array<'1' | '2' | '3' | '4' | 'all' | 'no' | 'yes'>, incident?: boolean, limit?: number, offset?: number, pathway?: string, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: '-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', tags?: Array, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/system/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (displayName !== undefined) { + localVarQueryParameter['display_name'] = displayName; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (hits) { + localVarQueryParameter['hits'] = hits; + } + + if (incident !== undefined) { + localVarQueryParameter['incident'] = incident; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + if (pathway !== undefined) { + localVarQueryParameter['pathway'] = pathway; + } + + if (rhelVersion) { + localVarQueryParameter['rhel_version'] = rhelVersion; + } + + if (sort !== undefined) { + localVarQueryParameter['sort'] = sort; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Returns the list of latest reports for an Inventory Host ID. Returns reports that: * are in the user\'s account * have an active, not-deleted rule * where the rule has not been acked by this account If the host ID is not found, return an empty list. + * @param {string} uuid A UUID string identifying this inventory host. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + systemReportsList: async (uuid: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, options: any = {}): Promise => { + // verify required parameter 'uuid' is not null or undefined + if (uuid === null || uuid === undefined) { + throw new RequiredError('uuid','Required parameter uuid was null or undefined when calling systemReportsList.'); + } + const localVarPath = `/api/insights/v1/system/{uuid}/reports/` + .replace(`{${"uuid"}}`, encodeURIComponent(String(uuid))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (limit !== undefined) { + localVarQueryParameter['limit'] = limit; + } + + if (offset !== undefined) { + localVarQueryParameter['offset'] = offset; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Retrieve the reports for a single system by Insights Inventory UUID + * @summary Retrieve the reports for a single system + * @param {string} uuid A UUID string identifying this inventory host. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + systemRetrieve: async (uuid: string, options: any = {}): Promise => { + // verify required parameter 'uuid' is not null or undefined + if (uuid === null || uuid === undefined) { + throw new RequiredError('uuid','Required parameter uuid was null or undefined when calling systemRetrieve.'); + } + const localVarPath = `/api/insights/v1/system/{uuid}/` + .replace(`{${"uuid"}}`, encodeURIComponent(String(uuid))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * SystemApi - functional programming interface + * @export + */ +export const SystemApiFp = function(configuration?: Configuration) { + return { + /** + * Returns systems with their hit count and last upload time. Results can be sorted and systems can be filtered by display name and hits + * @param {string} [displayName] Display systems with this text in their display_name + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array<'1' | '2' | '3' | '4' | 'all' | 'no' | 'yes'>} [hits] Display systems with hits of the given total_risk value (1..4), or 0 to display all systems + * @param {boolean} [incident] Display only systems reporting an incident + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [pathway] Display systems with rule hits for this Pathway + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {'-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async systemList(displayName?: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, hits?: Array<'1' | '2' | '3' | '4' | 'all' | 'no' | 'yes'>, incident?: boolean, limit?: number, offset?: number, pathway?: string, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: '-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', tags?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await SystemApiAxiosParamCreator(configuration).systemList(displayName, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, hits, incident, limit, offset, pathway, rhelVersion, sort, tags, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Returns the list of latest reports for an Inventory Host ID. Returns reports that: * are in the user\'s account * have an active, not-deleted rule * where the rule has not been acked by this account If the host ID is not found, return an empty list. + * @param {string} uuid A UUID string identifying this inventory host. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async systemReportsList(uuid: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await SystemApiAxiosParamCreator(configuration).systemReportsList(uuid, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, tags, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Retrieve the reports for a single system by Insights Inventory UUID + * @summary Retrieve the reports for a single system + * @param {string} uuid A UUID string identifying this inventory host. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async systemRetrieve(uuid: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await SystemApiAxiosParamCreator(configuration).systemRetrieve(uuid, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * SystemApi - factory interface + * @export + */ +export const SystemApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Returns systems with their hit count and last upload time. Results can be sorted and systems can be filtered by display name and hits + * @param {string} [displayName] Display systems with this text in their display_name + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array<'1' | '2' | '3' | '4' | 'all' | 'no' | 'yes'>} [hits] Display systems with hits of the given total_risk value (1..4), or 0 to display all systems + * @param {boolean} [incident] Display only systems reporting an incident + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [pathway] Display systems with rule hits for this Pathway + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {'-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + systemList(displayName?: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, hits?: Array<'1' | '2' | '3' | '4' | 'all' | 'no' | 'yes'>, incident?: boolean, limit?: number, offset?: number, pathway?: string, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: '-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', tags?: Array, options?: any): AxiosPromise { + return SystemApiFp(configuration).systemList(displayName, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, hits, incident, limit, offset, pathway, rhelVersion, sort, tags, options).then((request) => request(axios, basePath)); + }, + /** + * Returns the list of latest reports for an Inventory Host ID. Returns reports that: * are in the user\'s account * have an active, not-deleted rule * where the rule has not been acked by this account If the host ID is not found, return an empty list. + * @param {string} uuid A UUID string identifying this inventory host. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + systemReportsList(uuid: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, options?: any): AxiosPromise { + return SystemApiFp(configuration).systemReportsList(uuid, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, tags, options).then((request) => request(axios, basePath)); + }, + /** + * Retrieve the reports for a single system by Insights Inventory UUID + * @summary Retrieve the reports for a single system + * @param {string} uuid A UUID string identifying this inventory host. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + systemRetrieve(uuid: string, options?: any): AxiosPromise { + return SystemApiFp(configuration).systemRetrieve(uuid, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * SystemApi - object-oriented interface + * @export + * @class SystemApi + * @extends {BaseAPI} + */ +export class SystemApi extends BaseAPI { + /** + * Returns systems with their hit count and last upload time. Results can be sorted and systems can be filtered by display name and hits + * @param {string} [displayName] Display systems with this text in their display_name + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array<'1' | '2' | '3' | '4' | 'all' | 'no' | 'yes'>} [hits] Display systems with hits of the given total_risk value (1..4), or 0 to display all systems + * @param {boolean} [incident] Display only systems reporting an incident + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {string} [pathway] Display systems with rule hits for this Pathway + * @param {Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>} [rhelVersion] Display only systems with these versions of RHEL + * @param {'-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version'} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SystemApi + */ + public systemList(displayName?: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, hits?: Array<'1' | '2' | '3' | '4' | 'all' | 'no' | 'yes'>, incident?: boolean, limit?: number, offset?: number, pathway?: string, rhelVersion?: Array<'6.0' | '6.1' | '6.10' | '6.2' | '6.3' | '6.4' | '6.5' | '6.6' | '6.7' | '6.8' | '6.9' | '7.0' | '7.1' | '7.10' | '7.2' | '7.3' | '7.4' | '7.5' | '7.6' | '7.7' | '7.8' | '7.9' | '8.0' | '8.1' | '8.2' | '8.3' | '8.4' | '8.5' | '8.6' | '8.7' | '8.8' | '8.9' | '9.0' | '9.1' | '9.2' | '9.3'>, sort?: '-critical_hits' | '-display_name' | '-group_name' | '-hits' | '-important_hits' | '-last_seen' | '-low_hits' | '-moderate_hits' | '-rhel_version' | 'critical_hits' | 'display_name' | 'group_name' | 'hits' | 'important_hits' | 'last_seen' | 'low_hits' | 'moderate_hits' | 'rhel_version', tags?: Array, options?: any) { + return SystemApiFp(this.configuration).systemList(displayName, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, hits, incident, limit, offset, pathway, rhelVersion, sort, tags, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Returns the list of latest reports for an Inventory Host ID. Returns reports that: * are in the user\'s account * have an active, not-deleted rule * where the rule has not been acked by this account If the host ID is not found, return an empty list. + * @param {string} uuid A UUID string identifying this inventory host. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {number} [limit] Number of results to return per page. + * @param {number} [offset] The initial index from which to return the results. + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SystemApi + */ + public systemReportsList(uuid: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, limit?: number, offset?: number, tags?: Array, options?: any) { + return SystemApiFp(this.configuration).systemReportsList(uuid, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, limit, offset, tags, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Retrieve the reports for a single system by Insights Inventory UUID + * @summary Retrieve the reports for a single system + * @param {string} uuid A UUID string identifying this inventory host. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SystemApi + */ + public systemRetrieve(uuid: string, options?: any) { + return SystemApiFp(this.configuration).systemRetrieve(uuid, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * SystemtypeApi - axios parameter creator + * @export + */ +export const SystemtypeApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * List all system types by role and product code + * @summary List all system types + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + systemtypeList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/systemtype/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Retrieve details of a single system type + * @summary Retrieve a system type + * @param {number} id A unique integer value identifying this system type. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + systemtypeRetrieve: async (id: number, options: any = {}): Promise => { + // verify required parameter 'id' is not null or undefined + if (id === null || id === undefined) { + throw new RequiredError('id','Required parameter id was null or undefined when calling systemtypeRetrieve.'); + } + const localVarPath = `/api/insights/v1/systemtype/{id}/` + .replace(`{${"id"}}`, encodeURIComponent(String(id))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * SystemtypeApi - functional programming interface + * @export + */ +export const SystemtypeApiFp = function(configuration?: Configuration) { + return { + /** + * List all system types by role and product code + * @summary List all system types + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async systemtypeList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await SystemtypeApiAxiosParamCreator(configuration).systemtypeList(options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Retrieve details of a single system type + * @summary Retrieve a system type + * @param {number} id A unique integer value identifying this system type. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async systemtypeRetrieve(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await SystemtypeApiAxiosParamCreator(configuration).systemtypeRetrieve(id, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * SystemtypeApi - factory interface + * @export + */ +export const SystemtypeApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * List all system types by role and product code + * @summary List all system types + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + systemtypeList(options?: any): AxiosPromise> { + return SystemtypeApiFp(configuration).systemtypeList(options).then((request) => request(axios, basePath)); + }, + /** + * Retrieve details of a single system type + * @summary Retrieve a system type + * @param {number} id A unique integer value identifying this system type. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + systemtypeRetrieve(id: number, options?: any): AxiosPromise { + return SystemtypeApiFp(configuration).systemtypeRetrieve(id, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * SystemtypeApi - object-oriented interface + * @export + * @class SystemtypeApi + * @extends {BaseAPI} + */ +export class SystemtypeApi extends BaseAPI { + /** + * List all system types by role and product code + * @summary List all system types + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SystemtypeApi + */ + public systemtypeList(options?: any) { + return SystemtypeApiFp(this.configuration).systemtypeList(options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Retrieve details of a single system type + * @summary Retrieve a system type + * @param {number} id A unique integer value identifying this system type. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof SystemtypeApi + */ + public systemtypeRetrieve(id: number, options?: any) { + return SystemtypeApiFp(this.configuration).systemtypeRetrieve(id, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * TopicApi - axios parameter creator + * @export + */ +export const TopicApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * Create a new rule topic, along with its association to a rule tag + * @summary Create a new rule topic + * @param {TopicEdit} topicEdit + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicCreate: async (topicEdit: TopicEdit, options: any = {}): Promise => { + // verify required parameter 'topicEdit' is not null or undefined + if (topicEdit === null || topicEdit === undefined) { + throw new RequiredError('topicEdit','Required parameter topicEdit was null or undefined when calling topicCreate.'); + } + const localVarPath = `/api/insights/v1/topic/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof topicEdit !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(topicEdit !== undefined ? topicEdit : {}) : (topicEdit || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Delete a rule topic. Rules associated with the tag of this topic will be unaffected + * @summary Delete a rule topic + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicDestroy: async (slug: string, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling topicDestroy.'); + } + const localVarPath = `/api/insights/v1/topic/{slug}/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * List the rule topics and their impacted systems counts. Normally this only shows enabled topics, but if the \'show_disabled\' parameter is set to True then this will show disabled topics as well. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [showDisabled] Display topics that are disabled as well as enabled + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicList: async (filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, showDisabled?: boolean, tags?: Array, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/topic/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (showDisabled !== undefined) { + localVarQueryParameter['show_disabled'] = showDisabled; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Update an existing rule topic. Only the fields being changed need to be supplied + * @summary Partially update a rule topic + * @param {string} slug + * @param {PatchedTopicEdit} [patchedTopicEdit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicPartialUpdate: async (slug: string, patchedTopicEdit?: PatchedTopicEdit, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling topicPartialUpdate.'); + } + const localVarPath = `/api/insights/v1/topic/{slug}/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof patchedTopicEdit !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(patchedTopicEdit !== undefined ? patchedTopicEdit : {}) : (patchedTopicEdit || ""); + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Retrieve a single topic by slug. This also lists the topic\'s impacted systems count. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicRetrieve: async (slug: string, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling topicRetrieve.'); + } + const localVarPath = `/api/insights/v1/topic/{slug}/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Lists the available rules that have this tag. This shows the rule information for rules with this tag. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicRulesWithTagList: async (slug: string, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling topicRulesWithTagList.'); + } + const localVarPath = `/api/insights/v1/topic/{slug}/rules_with_tag/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; -/** - * KcsApi - axios parameter creator - * @export - */ -export const KcsApiAxiosParamCreator = function (configuration?: Configuration) { - return { + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** - * Looks for all active rules with KCS solutions Returns a list of dicts of the C.R.C rule URL and its KCS solution number - * @param {Array} [nodeIds] Display the rule urls for the given list of comma separated KCS solution node_ids + * List all systems affected by this rule topic. Systems are just listed by their UUID. + * @param {string} slug + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value * @param {*} [options] Override http request option. * @throws {RequiredError} */ - kcsList: async (nodeIds?: Array, options: any = {}): Promise => { - const localVarPath = `/api/insights/v1/kcs/`; + topicSystemsRetrieve: async (slug: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, sort?: Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>, tags?: Array, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling topicSystemsRetrieve.'); + } + const localVarPath = `/api/insights/v1/topic/{slug}/systems/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; if (configuration) { @@ -106,8 +9111,32 @@ export const KcsApiAxiosParamCreator = function (configuration?: Configuration) const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - if (nodeIds) { - localVarQueryParameter['node_ids'] = nodeIds; + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (filterSystemProfileSapSidsContains) { + localVarQueryParameter['filter[system_profile][sap_sids][contains]'] = filterSystemProfileSapSidsContains; + } + + if (filterSystemProfileSapSystem !== undefined) { + localVarQueryParameter['filter[system_profile][sap_system]'] = filterSystemProfileSapSystem; + } + + if (groups) { + localVarQueryParameter['groups'] = groups; + } + + if (sort) { + localVarQueryParameter['sort'] = sort; + } + + if (tags) { + localVarQueryParameter['tags'] = tags; } @@ -124,34 +9153,52 @@ export const KcsApiAxiosParamCreator = function (configuration?: Configuration) }; }, /** - * Gets active rule(s) for a particular KCS solution (node_id) Returns a list of C.R.C rule url(s) for that KCS solution - * @param {string} nodeId + * Update an existing rule topic. All fields need to be supplied + * @summary Update a rule topic + * @param {string} slug + * @param {TopicEdit} topicEdit * @param {*} [options] Override http request option. * @throws {RequiredError} */ - kcsRetrieve: async (nodeId: string, options: any = {}): Promise => { - // verify required parameter 'nodeId' is not null or undefined - if (nodeId === null || nodeId === undefined) { - throw new RequiredError('nodeId','Required parameter nodeId was null or undefined when calling kcsRetrieve.'); + topicUpdate: async (slug: string, topicEdit: TopicEdit, options: any = {}): Promise => { + // verify required parameter 'slug' is not null or undefined + if (slug === null || slug === undefined) { + throw new RequiredError('slug','Required parameter slug was null or undefined when calling topicUpdate.'); } - const localVarPath = `/api/insights/v1/kcs/{node_id}/` - .replace(`{${"node_id"}}`, encodeURIComponent(String(nodeId))); + // verify required parameter 'topicEdit' is not null or undefined + if (topicEdit === null || topicEdit === undefined) { + throw new RequiredError('topicEdit','Required parameter topicEdit was null or undefined when calling topicUpdate.'); + } + const localVarPath = `/api/insights/v1/topic/{slug}/` + .replace(`{${"slug"}}`, encodeURIComponent(String(slug))); const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } - const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + localVarHeaderParameter['Content-Type'] = 'application/json'; localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 delete localVarUrlObj.search; let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof topicEdit !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(topicEdit !== undefined ? topicEdit : {}) : (topicEdit || ""); return { url: globalImportUrl.format(localVarUrlObj), @@ -162,32 +9209,429 @@ export const KcsApiAxiosParamCreator = function (configuration?: Configuration) }; /** - * KcsApi - functional programming interface + * TopicApi - functional programming interface * @export */ -export const KcsApiFp = function(configuration?: Configuration) { +export const TopicApiFp = function(configuration?: Configuration) { return { /** - * Looks for all active rules with KCS solutions Returns a list of dicts of the C.R.C rule URL and its KCS solution number - * @param {Array} [nodeIds] Display the rule urls for the given list of comma separated KCS solution node_ids + * Create a new rule topic, along with its association to a rule tag + * @summary Create a new rule topic + * @param {TopicEdit} topicEdit * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async kcsList(nodeIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await KcsApiAxiosParamCreator(configuration).kcsList(nodeIds, options); + async topicCreate(topicEdit: TopicEdit, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await TopicApiAxiosParamCreator(configuration).topicCreate(topicEdit, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Delete a rule topic. Rules associated with the tag of this topic will be unaffected + * @summary Delete a rule topic + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async topicDestroy(slug: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await TopicApiAxiosParamCreator(configuration).topicDestroy(slug, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List the rule topics and their impacted systems counts. Normally this only shows enabled topics, but if the \'show_disabled\' parameter is set to True then this will show disabled topics as well. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [showDisabled] Display topics that are disabled as well as enabled + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async topicList(filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, showDisabled?: boolean, tags?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await TopicApiAxiosParamCreator(configuration).topicList(filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, showDisabled, tags, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Update an existing rule topic. Only the fields being changed need to be supplied + * @summary Partially update a rule topic + * @param {string} slug + * @param {PatchedTopicEdit} [patchedTopicEdit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async topicPartialUpdate(slug: string, patchedTopicEdit?: PatchedTopicEdit, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await TopicApiAxiosParamCreator(configuration).topicPartialUpdate(slug, patchedTopicEdit, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Retrieve a single topic by slug. This also lists the topic\'s impacted systems count. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async topicRetrieve(slug: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await TopicApiAxiosParamCreator(configuration).topicRetrieve(slug, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Lists the available rules that have this tag. This shows the rule information for rules with this tag. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async topicRulesWithTagList(slug: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await TopicApiAxiosParamCreator(configuration).topicRulesWithTagList(slug, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * List all systems affected by this rule topic. Systems are just listed by their UUID. + * @param {string} slug + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async topicSystemsRetrieve(slug: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, sort?: Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>, tags?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await TopicApiAxiosParamCreator(configuration).topicSystemsRetrieve(slug, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, sort, tags, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * Update an existing rule topic. All fields need to be supplied + * @summary Update a rule topic + * @param {string} slug + * @param {TopicEdit} topicEdit + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async topicUpdate(slug: string, topicEdit: TopicEdit, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await TopicApiAxiosParamCreator(configuration).topicUpdate(slug, topicEdit, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); }; }, + } +}; + +/** + * TopicApi - factory interface + * @export + */ +export const TopicApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * Create a new rule topic, along with its association to a rule tag + * @summary Create a new rule topic + * @param {TopicEdit} topicEdit + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicCreate(topicEdit: TopicEdit, options?: any): AxiosPromise { + return TopicApiFp(configuration).topicCreate(topicEdit, options).then((request) => request(axios, basePath)); + }, + /** + * Delete a rule topic. Rules associated with the tag of this topic will be unaffected + * @summary Delete a rule topic + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicDestroy(slug: string, options?: any): AxiosPromise { + return TopicApiFp(configuration).topicDestroy(slug, options).then((request) => request(axios, basePath)); + }, + /** + * List the rule topics and their impacted systems counts. Normally this only shows enabled topics, but if the \'show_disabled\' parameter is set to True then this will show disabled topics as well. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [showDisabled] Display topics that are disabled as well as enabled + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicList(filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, showDisabled?: boolean, tags?: Array, options?: any): AxiosPromise> { + return TopicApiFp(configuration).topicList(filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, showDisabled, tags, options).then((request) => request(axios, basePath)); + }, + /** + * Update an existing rule topic. Only the fields being changed need to be supplied + * @summary Partially update a rule topic + * @param {string} slug + * @param {PatchedTopicEdit} [patchedTopicEdit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicPartialUpdate(slug: string, patchedTopicEdit?: PatchedTopicEdit, options?: any): AxiosPromise { + return TopicApiFp(configuration).topicPartialUpdate(slug, patchedTopicEdit, options).then((request) => request(axios, basePath)); + }, + /** + * Retrieve a single topic by slug. This also lists the topic\'s impacted systems count. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicRetrieve(slug: string, options?: any): AxiosPromise { + return TopicApiFp(configuration).topicRetrieve(slug, options).then((request) => request(axios, basePath)); + }, + /** + * Lists the available rules that have this tag. This shows the rule information for rules with this tag. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicRulesWithTagList(slug: string, options?: any): AxiosPromise> { + return TopicApiFp(configuration).topicRulesWithTagList(slug, options).then((request) => request(axios, basePath)); + }, + /** + * List all systems affected by this rule topic. Systems are just listed by their UUID. + * @param {string} slug + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicSystemsRetrieve(slug: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, sort?: Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>, tags?: Array, options?: any): AxiosPromise { + return TopicApiFp(configuration).topicSystemsRetrieve(slug, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, sort, tags, options).then((request) => request(axios, basePath)); + }, + /** + * Update an existing rule topic. All fields need to be supplied + * @summary Update a rule topic + * @param {string} slug + * @param {TopicEdit} topicEdit + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + topicUpdate(slug: string, topicEdit: TopicEdit, options?: any): AxiosPromise { + return TopicApiFp(configuration).topicUpdate(slug, topicEdit, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * TopicApi - object-oriented interface + * @export + * @class TopicApi + * @extends {BaseAPI} + */ +export class TopicApi extends BaseAPI { + /** + * Create a new rule topic, along with its association to a rule tag + * @summary Create a new rule topic + * @param {TopicEdit} topicEdit + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TopicApi + */ + public topicCreate(topicEdit: TopicEdit, options?: any) { + return TopicApiFp(this.configuration).topicCreate(topicEdit, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Delete a rule topic. Rules associated with the tag of this topic will be unaffected + * @summary Delete a rule topic + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TopicApi + */ + public topicDestroy(slug: string, options?: any) { + return TopicApiFp(this.configuration).topicDestroy(slug, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List the rule topics and their impacted systems counts. Normally this only shows enabled topics, but if the \'show_disabled\' parameter is set to True then this will show disabled topics as well. + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {boolean} [showDisabled] Display topics that are disabled as well as enabled + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TopicApi + */ + public topicList(filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, showDisabled?: boolean, tags?: Array, options?: any) { + return TopicApiFp(this.configuration).topicList(filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, showDisabled, tags, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Update an existing rule topic. Only the fields being changed need to be supplied + * @summary Partially update a rule topic + * @param {string} slug + * @param {PatchedTopicEdit} [patchedTopicEdit] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TopicApi + */ + public topicPartialUpdate(slug: string, patchedTopicEdit?: PatchedTopicEdit, options?: any) { + return TopicApiFp(this.configuration).topicPartialUpdate(slug, patchedTopicEdit, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Retrieve a single topic by slug. This also lists the topic\'s impacted systems count. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TopicApi + */ + public topicRetrieve(slug: string, options?: any) { + return TopicApiFp(this.configuration).topicRetrieve(slug, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Lists the available rules that have this tag. This shows the rule information for rules with this tag. + * @param {string} slug + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TopicApi + */ + public topicRulesWithTagList(slug: string, options?: any) { + return TopicApiFp(this.configuration).topicRulesWithTagList(slug, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * List all systems affected by this rule topic. Systems are just listed by their UUID. + * @param {string} slug + * @param {Array} [filterSystemProfileSapSidsContains] Are there systems which contain these SAP SIDs? + * @param {boolean} [filterSystemProfileSapSystem] Is this a SAP system? + * @param {Array} [groups] List of Inventory host group names + * @param {Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>} [sort] Order by this field + * @param {Array} [tags] Tags have a namespace, key and value in the form namespace/key=value + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TopicApi + */ + public topicSystemsRetrieve(slug: string, filterSystemProfileSapSidsContains?: Array, filterSystemProfileSapSystem?: boolean, groups?: Array, sort?: Array<'-display_name' | '-last_seen' | '-stale_at' | '-system_uuid' | '-updated' | 'display_name' | 'last_seen' | 'stale_at' | 'system_uuid' | 'updated'>, tags?: Array, options?: any) { + return TopicApiFp(this.configuration).topicSystemsRetrieve(slug, filterSystemProfileSapSidsContains, filterSystemProfileSapSystem, groups, sort, tags, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * Update an existing rule topic. All fields need to be supplied + * @summary Update a rule topic + * @param {string} slug + * @param {TopicEdit} topicEdit + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TopicApi + */ + public topicUpdate(slug: string, topicEdit: TopicEdit, options?: any) { + return TopicApiFp(this.configuration).topicUpdate(slug, topicEdit, options).then((request) => request(this.axios, this.basePath)); + } + +} + + +/** + * UsageApi - axios parameter creator + * @export + */ +export const UsageApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * List the unique rule hits for this account over the given time range This uses a HashLogLog structure to record number of hits, and this is therefore an approximation. + * @param {Array} [account] Allow `hydrauser` to view any account + * @param {string} [end] End date for statistics range + * @param {string} [orgId] Allow `hydrauser` to view any org_id + * @param {string} [start] Start date for statistics range + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + usageList: async (account?: Array, end?: string, orgId?: string, start?: string, options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/usage/`; + const localVarUrlObj = globalImportUrl.parse(localVarPath, true); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + if (account) { + localVarQueryParameter['account'] = account; + } + + if (end !== undefined) { + localVarQueryParameter['end'] = (end as any instanceof Date) ? + (end as any).toISOString().substr(0,10) : + end; + } + + if (orgId !== undefined) { + localVarQueryParameter['org_id'] = orgId; + } + + if (start !== undefined) { + localVarQueryParameter['start'] = (start as any instanceof Date) ? + (start as any).toISOString().substr(0,10) : + start; + } + + + + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; + // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 + delete localVarUrlObj.search; + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: globalImportUrl.format(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * UsageApi - functional programming interface + * @export + */ +export const UsageApiFp = function(configuration?: Configuration) { + return { /** - * Gets active rule(s) for a particular KCS solution (node_id) Returns a list of C.R.C rule url(s) for that KCS solution - * @param {string} nodeId + * List the unique rule hits for this account over the given time range This uses a HashLogLog structure to record number of hits, and this is therefore an approximation. + * @param {Array} [account] Allow `hydrauser` to view any account + * @param {string} [end] End date for statistics range + * @param {string} [orgId] Allow `hydrauser` to view any org_id + * @param {string} [start] Start date for statistics range * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async kcsRetrieve(nodeId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await KcsApiAxiosParamCreator(configuration).kcsRetrieve(nodeId, options); + async usageList(account?: Array, end?: string, orgId?: string, start?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await UsageApiAxiosParamCreator(configuration).usageList(account, end, orgId, start, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -197,93 +9641,96 @@ export const KcsApiFp = function(configuration?: Configuration) { }; /** - * KcsApi - factory interface + * UsageApi - factory interface * @export */ -export const KcsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { +export const UsageApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { return { /** - * Looks for all active rules with KCS solutions Returns a list of dicts of the C.R.C rule URL and its KCS solution number - * @param {Array} [nodeIds] Display the rule urls for the given list of comma separated KCS solution node_ids - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - kcsList(nodeIds?: Array, options?: any): AxiosPromise> { - return KcsApiFp(configuration).kcsList(nodeIds, options).then((request) => request(axios, basePath)); - }, - /** - * Gets active rule(s) for a particular KCS solution (node_id) Returns a list of C.R.C rule url(s) for that KCS solution - * @param {string} nodeId + * List the unique rule hits for this account over the given time range This uses a HashLogLog structure to record number of hits, and this is therefore an approximation. + * @param {Array} [account] Allow `hydrauser` to view any account + * @param {string} [end] End date for statistics range + * @param {string} [orgId] Allow `hydrauser` to view any org_id + * @param {string} [start] Start date for statistics range * @param {*} [options] Override http request option. * @throws {RequiredError} */ - kcsRetrieve(nodeId: string, options?: any): AxiosPromise> { - return KcsApiFp(configuration).kcsRetrieve(nodeId, options).then((request) => request(axios, basePath)); + usageList(account?: Array, end?: string, orgId?: string, start?: string, options?: any): AxiosPromise { + return UsageApiFp(configuration).usageList(account, end, orgId, start, options).then((request) => request(axios, basePath)); }, }; }; /** - * KcsApi - object-oriented interface + * UsageApi - object-oriented interface * @export - * @class KcsApi + * @class UsageApi * @extends {BaseAPI} */ -export class KcsApi extends BaseAPI { - /** - * Looks for all active rules with KCS solutions Returns a list of dicts of the C.R.C rule URL and its KCS solution number - * @param {Array} [nodeIds] Display the rule urls for the given list of comma separated KCS solution node_ids - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof KcsApi - */ - public kcsList(nodeIds?: Array, options?: any) { - return KcsApiFp(this.configuration).kcsList(nodeIds, options).then((request) => request(this.axios, this.basePath)); - } - +export class UsageApi extends BaseAPI { /** - * Gets active rule(s) for a particular KCS solution (node_id) Returns a list of C.R.C rule url(s) for that KCS solution - * @param {string} nodeId + * List the unique rule hits for this account over the given time range This uses a HashLogLog structure to record number of hits, and this is therefore an approximation. + * @param {Array} [account] Allow `hydrauser` to view any account + * @param {string} [end] End date for statistics range + * @param {string} [orgId] Allow `hydrauser` to view any org_id + * @param {string} [start] Start date for statistics range * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof KcsApi + * @memberof UsageApi */ - public kcsRetrieve(nodeId: string, options?: any) { - return KcsApiFp(this.configuration).kcsRetrieve(nodeId, options).then((request) => request(this.axios, this.basePath)); + public usageList(account?: Array, end?: string, orgId?: string, start?: string, options?: any) { + return UsageApiFp(this.configuration).usageList(account, end, orgId, start, options).then((request) => request(this.axios, this.basePath)); } } /** - * RulecategoryApi - axios parameter creator + * UserPreferencesApi - axios parameter creator * @export */ -export const RulecategoryApiAxiosParamCreator = function (configuration?: Configuration) { +export const UserPreferencesApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * Accept the settings as input, and adjust the actual models accordingly. The current account settings will be updated, or one will be created, with the + * @param {PreferencesInput} preferencesInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ - rulecategoryList: async (options: any = {}): Promise => { - const localVarPath = `/api/insights/v1/rulecategory/`; + userPreferencesCreate: async (preferencesInput: PreferencesInput, options: any = {}): Promise => { + // verify required parameter 'preferencesInput' is not null or undefined + if (preferencesInput === null || preferencesInput === undefined) { + throw new RequiredError('preferencesInput','Required parameter preferencesInput was null or undefined when calling userPreferencesCreate.'); + } + const localVarPath = `/api/insights/v1/user-preferences/`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } - const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 delete localVarUrlObj.search; let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof preferencesInput !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(preferencesInput !== undefined ? preferencesInput : {}) : (preferencesInput || ""); return { url: globalImportUrl.format(localVarUrlObj), @@ -291,18 +9738,12 @@ export const RulecategoryApiAxiosParamCreator = function (configuration?: Config }; }, /** - * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. - * @param {number} id A unique integer value identifying this rule category. + * Describe the settings we have in a Data-Driven Forms way. This simply compiles the \'show_satellite_hosts\' account-wide setting and the weekly report \'is_subscribed\' user-specific setting into one handy view, with the description metadata necessary to use Data-Driven Forms to display it. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - rulecategoryRetrieve: async (id: number, options: any = {}): Promise => { - // verify required parameter 'id' is not null or undefined - if (id === null || id === undefined) { - throw new RequiredError('id','Required parameter id was null or undefined when calling rulecategoryRetrieve.'); - } - const localVarPath = `/api/insights/v1/rulecategory/{id}/` - .replace(`{${"id"}}`, encodeURIComponent(String(id))); + userPreferencesList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/user-preferences/`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; if (configuration) { @@ -312,6 +9753,14 @@ export const RulecategoryApiAxiosParamCreator = function (configuration?: Config const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -329,31 +9778,31 @@ export const RulecategoryApiAxiosParamCreator = function (configuration?: Config }; /** - * RulecategoryApi - functional programming interface + * UserPreferencesApi - functional programming interface * @export */ -export const RulecategoryApiFp = function(configuration?: Configuration) { +export const UserPreferencesApiFp = function(configuration?: Configuration) { return { /** - * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * Accept the settings as input, and adjust the actual models accordingly. The current account settings will be updated, or one will be created, with the + * @param {PreferencesInput} preferencesInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async rulecategoryList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await RulecategoryApiAxiosParamCreator(configuration).rulecategoryList(options); + async userPreferencesCreate(preferencesInput: PreferencesInput, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await UserPreferencesApiAxiosParamCreator(configuration).userPreferencesCreate(preferencesInput, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); }; }, /** - * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. - * @param {number} id A unique integer value identifying this rule category. + * Describe the settings we have in a Data-Driven Forms way. This simply compiles the \'show_satellite_hosts\' account-wide setting and the weekly report \'is_subscribed\' user-specific setting into one handy view, with the description metadata necessary to use Data-Driven Forms to display it. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async rulecategoryRetrieve(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await RulecategoryApiAxiosParamCreator(configuration).rulecategoryRetrieve(id, options); + async userPreferencesList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await UserPreferencesApiAxiosParamCreator(configuration).userPreferencesList(options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -363,120 +9812,108 @@ export const RulecategoryApiFp = function(configuration?: Configuration) { }; /** - * RulecategoryApi - factory interface + * UserPreferencesApi - factory interface * @export */ -export const RulecategoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { +export const UserPreferencesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { return { /** - * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * Accept the settings as input, and adjust the actual models accordingly. The current account settings will be updated, or one will be created, with the + * @param {PreferencesInput} preferencesInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ - rulecategoryList(options?: any): AxiosPromise> { - return RulecategoryApiFp(configuration).rulecategoryList(options).then((request) => request(axios, basePath)); + userPreferencesCreate(preferencesInput: PreferencesInput, options?: any): AxiosPromise { + return UserPreferencesApiFp(configuration).userPreferencesCreate(preferencesInput, options).then((request) => request(axios, basePath)); }, /** - * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. - * @param {number} id A unique integer value identifying this rule category. + * Describe the settings we have in a Data-Driven Forms way. This simply compiles the \'show_satellite_hosts\' account-wide setting and the weekly report \'is_subscribed\' user-specific setting into one handy view, with the description metadata necessary to use Data-Driven Forms to display it. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - rulecategoryRetrieve(id: number, options?: any): AxiosPromise { - return RulecategoryApiFp(configuration).rulecategoryRetrieve(id, options).then((request) => request(axios, basePath)); + userPreferencesList(options?: any): AxiosPromise> { + return UserPreferencesApiFp(configuration).userPreferencesList(options).then((request) => request(axios, basePath)); }, }; }; /** - * RulecategoryApi - object-oriented interface + * UserPreferencesApi - object-oriented interface * @export - * @class RulecategoryApi + * @class UserPreferencesApi * @extends {BaseAPI} */ -export class RulecategoryApi extends BaseAPI { +export class UserPreferencesApi extends BaseAPI { /** - * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. + * Accept the settings as input, and adjust the actual models accordingly. The current account settings will be updated, or one will be created, with the + * @param {PreferencesInput} preferencesInput * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof RulecategoryApi + * @memberof UserPreferencesApi */ - public rulecategoryList(options?: any) { - return RulecategoryApiFp(this.configuration).rulecategoryList(options).then((request) => request(this.axios, this.basePath)); + public userPreferencesCreate(preferencesInput: PreferencesInput, options?: any) { + return UserPreferencesApiFp(this.configuration).userPreferencesCreate(preferencesInput, options).then((request) => request(this.axios, this.basePath)); } /** - * Rules are divided into categories, the usual being Availability, Stability, Security and Performance. Categories are listed in decreasing order of importance. - * @param {number} id A unique integer value identifying this rule category. + * Describe the settings we have in a Data-Driven Forms way. This simply compiles the \'show_satellite_hosts\' account-wide setting and the weekly report \'is_subscribed\' user-specific setting into one handy view, with the description metadata necessary to use Data-Driven Forms to display it. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof RulecategoryApi + * @memberof UserPreferencesApi */ - public rulecategoryRetrieve(id: number, options?: any) { - return RulecategoryApiFp(this.configuration).rulecategoryRetrieve(id, options).then((request) => request(this.axios, this.basePath)); + public userPreferencesList(options?: any) { + return UserPreferencesApiFp(this.configuration).userPreferencesList(options).then((request) => request(this.axios, this.basePath)); } } /** - * StatusApi - axios parameter creator + * WeeklyreportautosubscribeApi - axios parameter creator * @export */ -export const StatusApiAxiosParamCreator = function (configuration?: Configuration) { +export const WeeklyreportautosubscribeApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * Is the Advisor API live and serving requests? This returns a dictionary with properties defining the status of the components Advisor relies on. At the moment this is the same as the Readiness check (see `/ready/`). In the future it may include other checks if we need to, but the properties of `/ready/` will always be included. + * Set the auto-subscription status of the current user to the supplied `is_auto_subscribed` value. If \'is_auto_subscribed\' is true, an auto-subscription is added if it doesn\'t already exist. If it is false, the auto-subscription is removed if it exists. Check if ENABLE_AUTOSUB enviroment variable is set to allow the method. + * @param {AutoSubscribeInput} autoSubscribeInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ - statusLiveRetrieve: async (options: any = {}): Promise => { - const localVarPath = `/api/insights/v1/status/live/`; + weeklyreportautosubscribeCreate: async (autoSubscribeInput: AutoSubscribeInput, options: any = {}): Promise => { + // verify required parameter 'autoSubscribeInput' is not null or undefined + if (autoSubscribeInput === null || autoSubscribeInput === undefined) { + throw new RequiredError('autoSubscribeInput','Required parameter autoSubscribeInput was null or undefined when calling weeklyreportautosubscribeCreate.'); + } + const localVarPath = `/api/insights/v1/weeklyreportautosubscribe/`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } - const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - - - localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; - // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 - delete localVarUrlObj.search; - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: globalImportUrl.format(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - /** - * Is the Advisor API ready to serve requests? This returns a dictionary with properties defining the status of the components Advisor relies on. * \'django\' should always be True. If Django isn\'t ready, you can\'t get this information :-) * \'database\' is True when a database access returns successfully with valid information. * \'rbac\' is True when we can make a request to the RBAC API and get a valid response. * \'advisor\' is True if all of the above are True. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - statusReadyRetrieve: async (options: any = {}): Promise => { - const localVarPath = `/api/insights/v1/status/ready/`; - const localVarUrlObj = globalImportUrl.parse(localVarPath, true); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; } - const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; + localVarHeaderParameter['Content-Type'] = 'application/json'; + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 delete localVarUrlObj.search; let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof autoSubscribeInput !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(autoSubscribeInput !== undefined ? autoSubscribeInput : {}) : (autoSubscribeInput || ""); return { url: globalImportUrl.format(localVarUrlObj), @@ -484,12 +9921,12 @@ export const StatusApiAxiosParamCreator = function (configuration?: Configuratio }; }, /** - * Provide a simple list of URLs contained here. A list of statistics views. + * Show the user\'s current subscription status. This shows the presence of a weekly report subscription by the user in this account. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - statusRetrieve: async (options: any = {}): Promise => { - const localVarPath = `/api/insights/v1/status/`; + weeklyreportautosubscribeList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/weeklyreportautosubscribe/`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; if (configuration) { @@ -499,6 +9936,14 @@ export const StatusApiAxiosParamCreator = function (configuration?: Configuratio const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -516,42 +9961,31 @@ export const StatusApiAxiosParamCreator = function (configuration?: Configuratio }; /** - * StatusApi - functional programming interface + * WeeklyreportautosubscribeApi - functional programming interface * @export */ -export const StatusApiFp = function(configuration?: Configuration) { +export const WeeklyreportautosubscribeApiFp = function(configuration?: Configuration) { return { /** - * Is the Advisor API live and serving requests? This returns a dictionary with properties defining the status of the components Advisor relies on. At the moment this is the same as the Readiness check (see `/ready/`). In the future it may include other checks if we need to, but the properties of `/ready/` will always be included. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async statusLiveRetrieve(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await StatusApiAxiosParamCreator(configuration).statusLiveRetrieve(options); - return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { - const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; - return axios.request(axiosRequestArgs); - }; - }, - /** - * Is the Advisor API ready to serve requests? This returns a dictionary with properties defining the status of the components Advisor relies on. * \'django\' should always be True. If Django isn\'t ready, you can\'t get this information :-) * \'database\' is True when a database access returns successfully with valid information. * \'rbac\' is True when we can make a request to the RBAC API and get a valid response. * \'advisor\' is True if all of the above are True. + * Set the auto-subscription status of the current user to the supplied `is_auto_subscribed` value. If \'is_auto_subscribed\' is true, an auto-subscription is added if it doesn\'t already exist. If it is false, the auto-subscription is removed if it exists. Check if ENABLE_AUTOSUB enviroment variable is set to allow the method. + * @param {AutoSubscribeInput} autoSubscribeInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async statusReadyRetrieve(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await StatusApiAxiosParamCreator(configuration).statusReadyRetrieve(options); + async weeklyreportautosubscribeCreate(autoSubscribeInput: AutoSubscribeInput, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await WeeklyreportautosubscribeApiAxiosParamCreator(configuration).weeklyreportautosubscribeCreate(autoSubscribeInput, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); }; }, /** - * Provide a simple list of URLs contained here. A list of statistics views. + * Show the user\'s current subscription status. This shows the presence of a weekly report subscription by the user in this account. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async statusRetrieve(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await StatusApiAxiosParamCreator(configuration).statusRetrieve(options); + async weeklyreportautosubscribeList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await WeeklyreportautosubscribeApiAxiosParamCreator(configuration).weeklyreportautosubscribeList(options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -561,108 +9995,108 @@ export const StatusApiFp = function(configuration?: Configuration) { }; /** - * StatusApi - factory interface + * WeeklyreportautosubscribeApi - factory interface * @export */ -export const StatusApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { +export const WeeklyreportautosubscribeApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { return { /** - * Is the Advisor API live and serving requests? This returns a dictionary with properties defining the status of the components Advisor relies on. At the moment this is the same as the Readiness check (see `/ready/`). In the future it may include other checks if we need to, but the properties of `/ready/` will always be included. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - statusLiveRetrieve(options?: any): AxiosPromise { - return StatusApiFp(configuration).statusLiveRetrieve(options).then((request) => request(axios, basePath)); - }, - /** - * Is the Advisor API ready to serve requests? This returns a dictionary with properties defining the status of the components Advisor relies on. * \'django\' should always be True. If Django isn\'t ready, you can\'t get this information :-) * \'database\' is True when a database access returns successfully with valid information. * \'rbac\' is True when we can make a request to the RBAC API and get a valid response. * \'advisor\' is True if all of the above are True. + * Set the auto-subscription status of the current user to the supplied `is_auto_subscribed` value. If \'is_auto_subscribed\' is true, an auto-subscription is added if it doesn\'t already exist. If it is false, the auto-subscription is removed if it exists. Check if ENABLE_AUTOSUB enviroment variable is set to allow the method. + * @param {AutoSubscribeInput} autoSubscribeInput * @param {*} [options] Override http request option. * @throws {RequiredError} */ - statusReadyRetrieve(options?: any): AxiosPromise { - return StatusApiFp(configuration).statusReadyRetrieve(options).then((request) => request(axios, basePath)); + weeklyreportautosubscribeCreate(autoSubscribeInput: AutoSubscribeInput, options?: any): AxiosPromise { + return WeeklyreportautosubscribeApiFp(configuration).weeklyreportautosubscribeCreate(autoSubscribeInput, options).then((request) => request(axios, basePath)); }, /** - * Provide a simple list of URLs contained here. A list of statistics views. + * Show the user\'s current subscription status. This shows the presence of a weekly report subscription by the user in this account. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - statusRetrieve(options?: any): AxiosPromise { - return StatusApiFp(configuration).statusRetrieve(options).then((request) => request(axios, basePath)); + weeklyreportautosubscribeList(options?: any): AxiosPromise> { + return WeeklyreportautosubscribeApiFp(configuration).weeklyreportautosubscribeList(options).then((request) => request(axios, basePath)); }, }; }; /** - * StatusApi - object-oriented interface + * WeeklyreportautosubscribeApi - object-oriented interface * @export - * @class StatusApi + * @class WeeklyreportautosubscribeApi * @extends {BaseAPI} */ -export class StatusApi extends BaseAPI { - /** - * Is the Advisor API live and serving requests? This returns a dictionary with properties defining the status of the components Advisor relies on. At the moment this is the same as the Readiness check (see `/ready/`). In the future it may include other checks if we need to, but the properties of `/ready/` will always be included. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof StatusApi - */ - public statusLiveRetrieve(options?: any) { - return StatusApiFp(this.configuration).statusLiveRetrieve(options).then((request) => request(this.axios, this.basePath)); - } - +export class WeeklyreportautosubscribeApi extends BaseAPI { /** - * Is the Advisor API ready to serve requests? This returns a dictionary with properties defining the status of the components Advisor relies on. * \'django\' should always be True. If Django isn\'t ready, you can\'t get this information :-) * \'database\' is True when a database access returns successfully with valid information. * \'rbac\' is True when we can make a request to the RBAC API and get a valid response. * \'advisor\' is True if all of the above are True. + * Set the auto-subscription status of the current user to the supplied `is_auto_subscribed` value. If \'is_auto_subscribed\' is true, an auto-subscription is added if it doesn\'t already exist. If it is false, the auto-subscription is removed if it exists. Check if ENABLE_AUTOSUB enviroment variable is set to allow the method. + * @param {AutoSubscribeInput} autoSubscribeInput * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof StatusApi + * @memberof WeeklyreportautosubscribeApi */ - public statusReadyRetrieve(options?: any) { - return StatusApiFp(this.configuration).statusReadyRetrieve(options).then((request) => request(this.axios, this.basePath)); + public weeklyreportautosubscribeCreate(autoSubscribeInput: AutoSubscribeInput, options?: any) { + return WeeklyreportautosubscribeApiFp(this.configuration).weeklyreportautosubscribeCreate(autoSubscribeInput, options).then((request) => request(this.axios, this.basePath)); } /** - * Provide a simple list of URLs contained here. A list of statistics views. + * Show the user\'s current subscription status. This shows the presence of a weekly report subscription by the user in this account. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof StatusApi + * @memberof WeeklyreportautosubscribeApi */ - public statusRetrieve(options?: any) { - return StatusApiFp(this.configuration).statusRetrieve(options).then((request) => request(this.axios, this.basePath)); + public weeklyreportautosubscribeList(options?: any) { + return WeeklyreportautosubscribeApiFp(this.configuration).weeklyreportautosubscribeList(options).then((request) => request(this.axios, this.basePath)); } } /** - * SystemtypeApi - axios parameter creator + * WeeklyreportsubscriptionApi - axios parameter creator * @export */ -export const SystemtypeApiAxiosParamCreator = function (configuration?: Configuration) { +export const WeeklyreportsubscriptionApiAxiosParamCreator = function (configuration?: Configuration) { return { /** - * List all system types by role and product code - * @summary List all system types + * Set the subscription status of the current user to the supplied `is_subscribed` value. If \'is_subscribed\' is true, a subscription is added if it doesn\'t already exist. If it is false, the subscription is removed if it exists. + * @param {WeeklyReportSubscription} weeklyReportSubscription * @param {*} [options] Override http request option. * @throws {RequiredError} */ - systemtypeList: async (options: any = {}): Promise => { - const localVarPath = `/api/insights/v1/systemtype/`; + weeklyreportsubscriptionCreate: async (weeklyReportSubscription: WeeklyReportSubscription, options: any = {}): Promise => { + // verify required parameter 'weeklyReportSubscription' is not null or undefined + if (weeklyReportSubscription === null || weeklyReportSubscription === undefined) { + throw new RequiredError('weeklyReportSubscription','Required parameter weeklyReportSubscription was null or undefined when calling weeklyreportsubscriptionCreate.'); + } + const localVarPath = `/api/insights/v1/weeklyreportsubscription/`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; if (configuration) { baseOptions = configuration.baseOptions; } - const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + + + localVarHeaderParameter['Content-Type'] = 'application/json'; localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943 delete localVarUrlObj.search; let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + const needsSerialization = (typeof weeklyReportSubscription !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json'; + localVarRequestOptions.data = needsSerialization ? JSON.stringify(weeklyReportSubscription !== undefined ? weeklyReportSubscription : {}) : (weeklyReportSubscription || ""); return { url: globalImportUrl.format(localVarUrlObj), @@ -670,19 +10104,12 @@ export const SystemtypeApiAxiosParamCreator = function (configuration?: Configur }; }, /** - * Retrieve details of a single system type - * @summary Retrieve a system type - * @param {number} id A unique integer value identifying this system type. + * Show the user\'s current subscription status. This shows the presence of a weekly report subscription by the user in this account. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - systemtypeRetrieve: async (id: number, options: any = {}): Promise => { - // verify required parameter 'id' is not null or undefined - if (id === null || id === undefined) { - throw new RequiredError('id','Required parameter id was null or undefined when calling systemtypeRetrieve.'); - } - const localVarPath = `/api/insights/v1/systemtype/{id}/` - .replace(`{${"id"}}`, encodeURIComponent(String(id))); + weeklyreportsubscriptionList: async (options: any = {}): Promise => { + const localVarPath = `/api/insights/v1/weeklyreportsubscription/`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; if (configuration) { @@ -692,6 +10119,14 @@ export const SystemtypeApiAxiosParamCreator = function (configuration?: Configur const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + // authentication x-rh-identity required + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey("x-rh-identity") + : await configuration.apiKey; + localVarHeaderParameter["x-rh-identity"] = localVarApiKeyValue; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -709,33 +10144,31 @@ export const SystemtypeApiAxiosParamCreator = function (configuration?: Configur }; /** - * SystemtypeApi - functional programming interface + * WeeklyreportsubscriptionApi - functional programming interface * @export */ -export const SystemtypeApiFp = function(configuration?: Configuration) { +export const WeeklyreportsubscriptionApiFp = function(configuration?: Configuration) { return { /** - * List all system types by role and product code - * @summary List all system types + * Set the subscription status of the current user to the supplied `is_subscribed` value. If \'is_subscribed\' is true, a subscription is added if it doesn\'t already exist. If it is false, the subscription is removed if it exists. + * @param {WeeklyReportSubscription} weeklyReportSubscription * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async systemtypeList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await SystemtypeApiAxiosParamCreator(configuration).systemtypeList(options); + async weeklyreportsubscriptionCreate(weeklyReportSubscription: WeeklyReportSubscription, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await WeeklyreportsubscriptionApiAxiosParamCreator(configuration).weeklyreportsubscriptionCreate(weeklyReportSubscription, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); }; }, /** - * Retrieve details of a single system type - * @summary Retrieve a system type - * @param {number} id A unique integer value identifying this system type. + * Show the user\'s current subscription status. This shows the presence of a weekly report subscription by the user in this account. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async systemtypeRetrieve(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await SystemtypeApiAxiosParamCreator(configuration).systemtypeRetrieve(id, options); + async weeklyreportsubscriptionList(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + const localVarAxiosArgs = await WeeklyreportsubscriptionApiAxiosParamCreator(configuration).weeklyreportsubscriptionList(options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -745,61 +10178,57 @@ export const SystemtypeApiFp = function(configuration?: Configuration) { }; /** - * SystemtypeApi - factory interface + * WeeklyreportsubscriptionApi - factory interface * @export */ -export const SystemtypeApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { +export const WeeklyreportsubscriptionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { return { /** - * List all system types by role and product code - * @summary List all system types + * Set the subscription status of the current user to the supplied `is_subscribed` value. If \'is_subscribed\' is true, a subscription is added if it doesn\'t already exist. If it is false, the subscription is removed if it exists. + * @param {WeeklyReportSubscription} weeklyReportSubscription * @param {*} [options] Override http request option. * @throws {RequiredError} */ - systemtypeList(options?: any): AxiosPromise> { - return SystemtypeApiFp(configuration).systemtypeList(options).then((request) => request(axios, basePath)); + weeklyreportsubscriptionCreate(weeklyReportSubscription: WeeklyReportSubscription, options?: any): AxiosPromise { + return WeeklyreportsubscriptionApiFp(configuration).weeklyreportsubscriptionCreate(weeklyReportSubscription, options).then((request) => request(axios, basePath)); }, /** - * Retrieve details of a single system type - * @summary Retrieve a system type - * @param {number} id A unique integer value identifying this system type. + * Show the user\'s current subscription status. This shows the presence of a weekly report subscription by the user in this account. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - systemtypeRetrieve(id: number, options?: any): AxiosPromise { - return SystemtypeApiFp(configuration).systemtypeRetrieve(id, options).then((request) => request(axios, basePath)); + weeklyreportsubscriptionList(options?: any): AxiosPromise> { + return WeeklyreportsubscriptionApiFp(configuration).weeklyreportsubscriptionList(options).then((request) => request(axios, basePath)); }, }; }; /** - * SystemtypeApi - object-oriented interface + * WeeklyreportsubscriptionApi - object-oriented interface * @export - * @class SystemtypeApi + * @class WeeklyreportsubscriptionApi * @extends {BaseAPI} */ -export class SystemtypeApi extends BaseAPI { +export class WeeklyreportsubscriptionApi extends BaseAPI { /** - * List all system types by role and product code - * @summary List all system types + * Set the subscription status of the current user to the supplied `is_subscribed` value. If \'is_subscribed\' is true, a subscription is added if it doesn\'t already exist. If it is false, the subscription is removed if it exists. + * @param {WeeklyReportSubscription} weeklyReportSubscription * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof SystemtypeApi + * @memberof WeeklyreportsubscriptionApi */ - public systemtypeList(options?: any) { - return SystemtypeApiFp(this.configuration).systemtypeList(options).then((request) => request(this.axios, this.basePath)); + public weeklyreportsubscriptionCreate(weeklyReportSubscription: WeeklyReportSubscription, options?: any) { + return WeeklyreportsubscriptionApiFp(this.configuration).weeklyreportsubscriptionCreate(weeklyReportSubscription, options).then((request) => request(this.axios, this.basePath)); } /** - * Retrieve details of a single system type - * @summary Retrieve a system type - * @param {number} id A unique integer value identifying this system type. + * Show the user\'s current subscription status. This shows the presence of a weekly report subscription by the user in this account. * @param {*} [options] Override http request option. * @throws {RequiredError} - * @memberof SystemtypeApi + * @memberof WeeklyreportsubscriptionApi */ - public systemtypeRetrieve(id: number, options?: any) { - return SystemtypeApiFp(this.configuration).systemtypeRetrieve(id, options).then((request) => request(this.axios, this.basePath)); + public weeklyreportsubscriptionList(options?: any) { + return WeeklyreportsubscriptionApiFp(this.configuration).weeklyreportsubscriptionList(options).then((request) => request(this.axios, this.basePath)); } } diff --git a/packages/insights/doc/classes/AccountApi.md b/packages/insights/doc/classes/AccountApi.md new file mode 100644 index 000000000..fc97df52a --- /dev/null +++ b/packages/insights/doc/classes/AccountApi.md @@ -0,0 +1,183 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AccountApi + +# Class: AccountApi + +AccountApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`AccountApi`** + +## Table of contents + +### Constructors + +- [constructor](AccountApi.md#constructor) + +### Properties + +- [axios](AccountApi.md#axios) +- [basePath](AccountApi.md#basepath) +- [configuration](AccountApi.md#configuration) + +### Methods + +- [accountHostsRetrieve](AccountApi.md#accounthostsretrieve) +- [accountList](AccountApi.md#accountlist) +- [accountRetrieve](AccountApi.md#accountretrieve) + +## Constructors + +### constructor + +• **new AccountApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### accountHostsRetrieve + +▸ **accountHostsRetrieve**(`orgId`, `options?`): `Promise`<`AxiosResponse`<[`OrgId`](../interfaces/OrgId.md)\>\> + +List details about the number of hosts in this account by org_id. As well as the total number of hosts, we report on the number of hosts in various states of staleness: * fresh: hosts that have updated in the last 26 hours * stale: hosts not updated in the last 26 hours - we display the results for these hosts but a warning is shown to say they are not updating * warn: hosts not updated in the last week - these are not shown in any queries This may have other aggregate data added in the future. + +**`Throws`** + +**`Memberof`** + +AccountApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `orgId` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`OrgId`](../interfaces/OrgId.md)\>\> + +#### Defined in + +[api.ts:2565](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2565) + +___ + +### accountList + +▸ **accountList**(`limit?`, `offset?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedOrgIdList`](../interfaces/PaginatedOrgIdList.md)\>\> + +List all accounts by org_id we know about (through the host table). No other information about the accounts is provided in this view. + +**`Throws`** + +**`Memberof`** + +AccountApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedOrgIdList`](../interfaces/PaginatedOrgIdList.md)\>\> + +#### Defined in + +[api.ts:2577](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2577) + +___ + +### accountRetrieve + +▸ **accountRetrieve**(`orgId`, `options?`): `Promise`<`AxiosResponse`<[`OrgId`](../interfaces/OrgId.md)\>\> + +List information relating to other accounts. This allows us to collect data that requires the user to specify an org_id number, such as number of systems currently registered to that org. param: org_id: Org ID number of a Red Hat customer. + +**`Throws`** + +**`Memberof`** + +AccountApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `orgId` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`OrgId`](../interfaces/OrgId.md)\>\> + +#### Defined in + +[api.ts:2588](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2588) diff --git a/packages/insights/doc/classes/AccountSettingApi.md b/packages/insights/doc/classes/AccountSettingApi.md new file mode 100644 index 000000000..e2f2bd91c --- /dev/null +++ b/packages/insights/doc/classes/AccountSettingApi.md @@ -0,0 +1,150 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AccountSettingApi + +# Class: AccountSettingApi + +AccountSettingApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`AccountSettingApi`** + +## Table of contents + +### Constructors + +- [constructor](AccountSettingApi.md#constructor) + +### Properties + +- [axios](AccountSettingApi.md#axios) +- [basePath](AccountSettingApi.md#basepath) +- [configuration](AccountSettingApi.md#configuration) + +### Methods + +- [accountSettingCreate](AccountSettingApi.md#accountsettingcreate) +- [accountSettingRetrieve](AccountSettingApi.md#accountsettingretrieve) + +## Constructors + +### constructor + +• **new AccountSettingApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### accountSettingCreate + +▸ **accountSettingCreate**(`options?`): `Promise`<`AxiosResponse`<`void`\>\> + +Update this account\'s settings, and return the updated settings. A new object will be created, even if the default settings are supplied. + +**`Throws`** + +**`Memberof`** + +AccountSettingApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<`void`\>\> + +#### Defined in + +[api.ts:2749](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2749) + +___ + +### accountSettingRetrieve + +▸ **accountSettingRetrieve**(`options?`): `Promise`<`AxiosResponse`<`void`\>\> + +Show this account\'s settings, or the defaults. This will not create a new account settings object if none exists. + +**`Throws`** + +**`Memberof`** + +AccountSettingApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<`void`\>\> + +#### Defined in + +[api.ts:2759](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2759) diff --git a/packages/insights/doc/classes/AckApi.md b/packages/insights/doc/classes/AckApi.md new file mode 100644 index 000000000..e9fb3e87a --- /dev/null +++ b/packages/insights/doc/classes/AckApi.md @@ -0,0 +1,273 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AckApi + +# Class: AckApi + +AckApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`AckApi`** + +## Table of contents + +### Constructors + +- [constructor](AckApi.md#constructor) + +### Properties + +- [axios](AckApi.md#axios) +- [basePath](AckApi.md#basepath) +- [configuration](AckApi.md#configuration) + +### Methods + +- [ackAllList](AckApi.md#ackalllist) +- [ackCreate](AckApi.md#ackcreate) +- [ackDestroy](AckApi.md#ackdestroy) +- [ackList](AckApi.md#acklist) +- [ackRetrieve](AckApi.md#ackretrieve) +- [ackUpdate](AckApi.md#ackupdate) + +## Constructors + +### constructor + +• **new AckApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### ackAllList + +▸ **ackAllList**(`options?`): `Promise`<`AxiosResponse`<[`AllAck`](../interfaces/AllAck.md)[]\>\> + +List acks from all accounts, with org_id. Has no pagination. + +**`Throws`** + +**`Memberof`** + +AckApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`AllAck`](../interfaces/AllAck.md)[]\>\> + +#### Defined in + +[api.ts:3204](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3204) + +___ + +### ackCreate + +▸ **ackCreate**(`ackInput`, `options?`): `Promise`<`AxiosResponse`<[`Ack`](../interfaces/Ack.md)\>\> + +Add an acknowledgement for a rule, by rule ID. If there\'s already an acknowledgement of this rule by this accounts org_id, then return that. Otherwise, a new ack is created. + +**`Throws`** + +**`Memberof`** + +AckApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ackInput` | [`AckInput`](../interfaces/AckInput.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Ack`](../interfaces/Ack.md)\>\> + +#### Defined in + +[api.ts:3215](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3215) + +___ + +### ackDestroy + +▸ **ackDestroy**(`ruleId`, `options?`): `Promise`<`AxiosResponse`<`string`\>\> + +Delete an acknowledgement for a rule, by its rule ID. If the ack existed, it is deleted and a 204 is returned. Otherwise, a 404 is returned. + +**`Throws`** + +**`Memberof`** + +AckApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<`string`\>\> + +#### Defined in + +[api.ts:3226](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3226) + +___ + +### ackList + +▸ **ackList**(`limit?`, `offset?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedAckList`](../interfaces/PaginatedAckList.md)\>\> + +List acks from this account by org_id where the rule is active Will return an empty list if this account has no acks. + +**`Throws`** + +**`Memberof`** + +AckApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedAckList`](../interfaces/PaginatedAckList.md)\>\> + +#### Defined in + +[api.ts:3238](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3238) + +___ + +### ackRetrieve + +▸ **ackRetrieve**(`ruleId`, `options?`): `Promise`<`AxiosResponse`<[`Ack`](../interfaces/Ack.md)\>\> + +Acks acknowledge (and therefore hide) a rule from view in an account. This view handles listing, retrieving, creating and deleting acks. Acks are created and deleted by Insights rule ID, not by their own ack ID. param: rule_id: Rule ID defined by Insights ruleset + +**`Throws`** + +**`Memberof`** + +AckApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Ack`](../interfaces/Ack.md)\>\> + +#### Defined in + +[api.ts:3249](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3249) + +___ + +### ackUpdate + +▸ **ackUpdate**(`ruleId`, `ackJustification?`, `options?`): `Promise`<`AxiosResponse`<[`Ack`](../interfaces/Ack.md)\>\> + +Update an acknowledgement for a rule, by rule ID. A new justification can be supplied. The username is taken from the authenticated request. The updated ack is returned. + +**`Throws`** + +**`Memberof`** + +AckApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `ackJustification?` | [`AckJustification`](../interfaces/AckJustification.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Ack`](../interfaces/Ack.md)\>\> + +#### Defined in + +[api.ts:3261](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3261) diff --git a/packages/insights/doc/classes/AckcountApi.md b/packages/insights/doc/classes/AckcountApi.md new file mode 100644 index 000000000..4601ab572 --- /dev/null +++ b/packages/insights/doc/classes/AckcountApi.md @@ -0,0 +1,151 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AckcountApi + +# Class: AckcountApi + +AckcountApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`AckcountApi`** + +## Table of contents + +### Constructors + +- [constructor](AckcountApi.md#constructor) + +### Properties + +- [axios](AckcountApi.md#axios) +- [basePath](AckcountApi.md#basepath) +- [configuration](AckcountApi.md#configuration) + +### Methods + +- [ackcountList](AckcountApi.md#ackcountlist) +- [ackcountRetrieve](AckcountApi.md#ackcountretrieve) + +## Constructors + +### constructor + +• **new AckcountApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### ackcountList + +▸ **ackcountList**(`options?`): `Promise`<`AxiosResponse`<[`AckCount`](../interfaces/AckCount.md)[]\>\> + +Get the ack counts for all active rules Return a list of rule_ids and their ack counts + +**`Throws`** + +**`Memberof`** + +AckcountApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`AckCount`](../interfaces/AckCount.md)[]\>\> + +#### Defined in + +[api.ts:3430](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3430) + +___ + +### ackcountRetrieve + +▸ **ackcountRetrieve**(`ruleId`, `options?`): `Promise`<`AxiosResponse`<[`AckCount`](../interfaces/AckCount.md)\>\> + +Get the ack count for the given rule_id Returns the rule_id and its ack count + +**`Throws`** + +**`Memberof`** + +AckcountApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`AckCount`](../interfaces/AckCount.md)\>\> + +#### Defined in + +[api.ts:3441](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3441) diff --git a/packages/insights/doc/classes/AutosubexclusionApi.md b/packages/insights/doc/classes/AutosubexclusionApi.md new file mode 100644 index 000000000..1c7ec30b5 --- /dev/null +++ b/packages/insights/doc/classes/AutosubexclusionApi.md @@ -0,0 +1,213 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AutosubexclusionApi + +# Class: AutosubexclusionApi + +AutosubexclusionApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`AutosubexclusionApi`** + +## Table of contents + +### Constructors + +- [constructor](AutosubexclusionApi.md#constructor) + +### Properties + +- [axios](AutosubexclusionApi.md#axios) +- [basePath](AutosubexclusionApi.md#basepath) +- [configuration](AutosubexclusionApi.md#configuration) + +### Methods + +- [autosubexclusionCreate](AutosubexclusionApi.md#autosubexclusioncreate) +- [autosubexclusionDestroy](AutosubexclusionApi.md#autosubexclusiondestroy) +- [autosubexclusionList](AutosubexclusionApi.md#autosubexclusionlist) +- [autosubexclusionRetrieve](AutosubexclusionApi.md#autosubexclusionretrieve) + +## Constructors + +### constructor + +• **new AutosubexclusionApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### autosubexclusionCreate + +▸ **autosubexclusionCreate**(`subscriptionExcludedAccount`, `options?`): `Promise`<`AxiosResponse`<[`SubscriptionExcludedAccount`](../interfaces/SubscriptionExcludedAccount.md)\>\> + +Create a new subscription exclusion for an account. This creates a new subscription exclusion for an account. This should contain an org_id and account. Only org_id is required. Account is optional. + +**`Throws`** + +**`Memberof`** + +AutosubexclusionApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `subscriptionExcludedAccount` | [`SubscriptionExcludedAccount`](../interfaces/SubscriptionExcludedAccount.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`SubscriptionExcludedAccount`](../interfaces/SubscriptionExcludedAccount.md)\>\> + +#### Defined in + +[api.ts:3758](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3758) + +___ + +### autosubexclusionDestroy + +▸ **autosubexclusionDestroy**(`orgId`, `options?`): `Promise`<`AxiosResponse`<`string`\>\> + +Destroy an existing subscription exclusion in the system. This will DELETE an existing subscription exclusion in the system. Existing subscription exclusions are identified and deleted by the \"org_id\" field. + +**`Throws`** + +**`Memberof`** + +AutosubexclusionApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `orgId` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<`string`\>\> + +#### Defined in + +[api.ts:3769](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3769) + +___ + +### autosubexclusionList + +▸ **autosubexclusionList**(`limit?`, `offset?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedSubscriptionExcludedAccountList`](../interfaces/PaginatedSubscriptionExcludedAccountList.md)\>\> + +Returns all subscription exclusions for accounts This returns a list of all subscription exclusions. This contains exclusions and their account and org_id. These are all accounts that are excluded from the autosub subscription path for weekly report subscriptions. + +**`Throws`** + +**`Memberof`** + +AutosubexclusionApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedSubscriptionExcludedAccountList`](../interfaces/PaginatedSubscriptionExcludedAccountList.md)\>\> + +#### Defined in + +[api.ts:3781](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3781) + +___ + +### autosubexclusionRetrieve + +▸ **autosubexclusionRetrieve**(`orgId`, `options?`): `Promise`<`AxiosResponse`<[`SubscriptionExcludedAccount`](../interfaces/SubscriptionExcludedAccount.md)\>\> + +Returns an individual subscription exclusion based on org_id. This returns an individual subscription exclusion based on the org_id. + +**`Throws`** + +**`Memberof`** + +AutosubexclusionApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `orgId` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`SubscriptionExcludedAccount`](../interfaces/SubscriptionExcludedAccount.md)\>\> + +#### Defined in + +[api.ts:3792](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3792) diff --git a/packages/insights/doc/classes/ExportApi.md b/packages/insights/doc/classes/ExportApi.md new file mode 100644 index 000000000..584431210 --- /dev/null +++ b/packages/insights/doc/classes/ExportApi.md @@ -0,0 +1,229 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / ExportApi + +# Class: ExportApi + +ExportApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`ExportApi`** + +## Table of contents + +### Constructors + +- [constructor](ExportApi.md#constructor) + +### Properties + +- [axios](ExportApi.md#axios) +- [basePath](ExportApi.md#basepath) +- [configuration](ExportApi.md#configuration) + +### Methods + +- [exportHitsList](ExportApi.md#exporthitslist) +- [exportReportsList](ExportApi.md#exportreportslist) +- [exportRulesList](ExportApi.md#exportruleslist) +- [exportSystemsList](ExportApi.md#exportsystemslist) + +## Constructors + +### constructor + +• **new ExportApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### exportHitsList + +▸ **exportHitsList**(`category?`, `displayName?`, `filterSystemProfileSapSidsContains?`, `filterSystemProfileSapSystem?`, `format?`, `groups?`, `hasPlaybook?`, `impact?`, `incident?`, `likelihood?`, `reboot?`, `resRisk?`, `tags?`, `text?`, `totalRisk?`, `uuid?`, `options?`): `Promise`<`AxiosResponse`<[`ExportHits`](../interfaces/ExportHits.md)[]\>\> + +Get each host and all rules currently affecting it. We also only present active, non-acked (on an account AND host level) rules. Inventory data may be requested if Advisor has not seen all the hosts. The accepted content type supplied in the request headers is used to determine the supplied content type. + +**`Throws`** + +**`Memberof`** + +ExportApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `category?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Display rules of this category (number) | +| `displayName?` | `string` | Display systems with this text in their display_name | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `format?` | ``"json"`` \| ``"csv"`` | | +| `groups?` | `string`[] | List of Inventory host group names | +| `hasPlaybook?` | `boolean` | Display rules that have a playbook | +| `impact?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Display rules of this impact level (1..4) | +| `incident?` | `boolean` | Display only rules that cause an incident | +| `likelihood?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Display only rules of this likelihood level (1..4) | +| `reboot?` | `boolean` | Display rules that require a reboot to fix | +| `resRisk?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Display rules with this resolution risk level (1..4) | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `text?` | `string` | Display rules with this text in their text fields | +| `totalRisk?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Display rules with this total risk level (1..4) | +| `uuid?` | `string` | Display a system with this uuid | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`ExportHits`](../interfaces/ExportHits.md)[]\>\> + +#### Defined in + +[api.ts:4230](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4230) + +___ + +### exportReportsList + +▸ **exportReportsList**(`options?`): `Promise`<`AxiosResponse`<[`ReportExport`](../interfaces/ReportExport.md)[]\>\> + +List the report details of each rule affecting each system. System and Rule are referred to by ID only, to be correlated with the Rule and System export data. It\'s like the hits output but much less repetitive. + +**`Throws`** + +**`Memberof`** + +ExportApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`ReportExport`](../interfaces/ReportExport.md)[]\>\> + +#### Defined in + +[api.ts:4240](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4240) + +___ + +### exportRulesList + +▸ **exportRulesList**(`options?`): `Promise`<`AxiosResponse`<[`RuleExport`](../interfaces/RuleExport.md)[]\>\> + +List the report details of each rule affecting each system. System and Rule are referred to by ID only, to be correlated with the Rule and System export data. It\'s like the hits output but much less repetitive. + +**`Throws`** + +**`Memberof`** + +ExportApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`RuleExport`](../interfaces/RuleExport.md)[]\>\> + +#### Defined in + +[api.ts:4250](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4250) + +___ + +### exportSystemsList + +▸ **exportSystemsList**(`displayName?`, `format?`, `groups?`, `ruleId?`, `sort?`, `options?`): `Promise`<`AxiosResponse`<[`System`](../interfaces/System.md)[]\>\> + +List of systems with details and hit counts. Systems can be sorted and filtered by display name and rule id. + +**`Throws`** + +**`Memberof`** + +ExportApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `displayName?` | `string` | Display systems with this text in their display_name | +| `format?` | ``"json"`` \| ``"csv"`` | | +| `groups?` | `string`[] | List of Inventory host group names | +| `ruleId?` | `string` | Display systems with this text in their rule_id | +| `sort?` | ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-group_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"group_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"`` | Order by this field | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`System`](../interfaces/System.md)[]\>\> + +#### Defined in + +[api.ts:4265](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4265) diff --git a/packages/insights/doc/classes/HostackApi.md b/packages/insights/doc/classes/HostackApi.md new file mode 100644 index 000000000..1d8b40aee --- /dev/null +++ b/packages/insights/doc/classes/HostackApi.md @@ -0,0 +1,249 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / HostackApi + +# Class: HostackApi + +HostackApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`HostackApi`** + +## Table of contents + +### Constructors + +- [constructor](HostackApi.md#constructor) + +### Properties + +- [axios](HostackApi.md#axios) +- [basePath](HostackApi.md#basepath) +- [configuration](HostackApi.md#configuration) + +### Methods + +- [hostackCreate](HostackApi.md#hostackcreate) +- [hostackDestroy](HostackApi.md#hostackdestroy) +- [hostackList](HostackApi.md#hostacklist) +- [hostackRetrieve](HostackApi.md#hostackretrieve) +- [hostackUpdate](HostackApi.md#hostackupdate) + +## Constructors + +### constructor + +• **new HostackApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### hostackCreate + +▸ **hostackCreate**(`hostAckInput`, `options?`): `Promise`<`AxiosResponse`<[`HostAck`](../interfaces/HostAck.md)\>\> + +Add an acknowledgement for a rule, by rule ID, system, and account. Return the new hostack. If there\'s already an acknowledgement of this rule by this account for a system, then return that. This does not take an \'id\' number. + +**`Throws`** + +**`Memberof`** + +HostackApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `hostAckInput` | [`HostAckInput`](../interfaces/HostAckInput.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`HostAck`](../interfaces/HostAck.md)\>\> + +#### Defined in + +[api.ts:4689](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4689) + +___ + +### hostackDestroy + +▸ **hostackDestroy**(`id`, `options?`): `Promise`<`AxiosResponse`<`string`\>\> + +Delete an acknowledgement for a rule, for a system, for an account, by its ID. Takes the hostack ID (given in the hostack list) as an identifier. + +**`Throws`** + +**`Memberof`** + +HostackApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `id` | `number` | A unique integer value identifying this host ack. | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<`string`\>\> + +#### Defined in + +[api.ts:4700](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4700) + +___ + +### hostackList + +▸ **hostackList**(`filterSystemProfileSapSidsContains?`, `filterSystemProfileSapSystem?`, `groups?`, `limit?`, `offset?`, `ruleId?`, `tags?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedHostAckList`](../interfaces/PaginatedHostAckList.md)\>\> + +List host acks from this account for a system where the rule is active. Hostacks are retrieved, edited and deleted by the \'id\' field. + +**`Throws`** + +**`Memberof`** + +HostackApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `groups?` | `string`[] | List of Inventory host group names | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `ruleId?` | `string`[] | Display host acknowledgement of this/these rules | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedHostAckList`](../interfaces/PaginatedHostAckList.md)\>\> + +#### Defined in + +[api.ts:4717](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4717) + +___ + +### hostackRetrieve + +▸ **hostackRetrieve**(`id`, `options?`): `Promise`<`AxiosResponse`<[`HostAck`](../interfaces/HostAck.md)\>\> + +HostAcks acknowledge (and therefore hide) a rule from view in an account for a specific system. This view handles listing, retrieving, creating and deleting hostacks. + +**`Throws`** + +**`Memberof`** + +HostackApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `id` | `number` | A unique integer value identifying this host ack. | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`HostAck`](../interfaces/HostAck.md)\>\> + +#### Defined in + +[api.ts:4728](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4728) + +___ + +### hostackUpdate + +▸ **hostackUpdate**(`id`, `hostAckJustification?`, `options?`): `Promise`<`AxiosResponse`<[`HostAckJustification`](../interfaces/HostAckJustification.md)\>\> + +Update the justification for this host acknowledgement. The justification is taken from the request body. The created_by field is taken from the username in the x-rh-identity field, and the updated_at field is set to the current time. + +**`Throws`** + +**`Memberof`** + +HostackApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `id` | `number` | A unique integer value identifying this host ack. | +| `hostAckJustification?` | [`HostAckJustification`](../interfaces/HostAckJustification.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`HostAckJustification`](../interfaces/HostAckJustification.md)\>\> + +#### Defined in + +[api.ts:4740](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4740) diff --git a/packages/insights/doc/classes/KcsApi.md b/packages/insights/doc/classes/KcsApi.md index d859690db..7007c78e9 100644 --- a/packages/insights/doc/classes/KcsApi.md +++ b/packages/insights/doc/classes/KcsApi.md @@ -120,7 +120,7 @@ KcsApi #### Defined in -[api.ts:240](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L240) +[api.ts:4901](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4901) ___ @@ -149,4 +149,4 @@ KcsApi #### Defined in -[api.ts:251](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L251) +[api.ts:4912](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4912) diff --git a/packages/insights/doc/classes/PathwayApi.md b/packages/insights/doc/classes/PathwayApi.md new file mode 100644 index 000000000..880feaaa6 --- /dev/null +++ b/packages/insights/doc/classes/PathwayApi.md @@ -0,0 +1,363 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PathwayApi + +# Class: PathwayApi + +PathwayApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`PathwayApi`** + +## Table of contents + +### Constructors + +- [constructor](PathwayApi.md#constructor) + +### Properties + +- [axios](PathwayApi.md#axios) +- [basePath](PathwayApi.md#basepath) +- [configuration](PathwayApi.md#configuration) + +### Methods + +- [pathwayCreate](PathwayApi.md#pathwaycreate) +- [pathwayDestroy](PathwayApi.md#pathwaydestroy) +- [pathwayList](PathwayApi.md#pathwaylist) +- [pathwayReportsRetrieve](PathwayApi.md#pathwayreportsretrieve) +- [pathwayRetrieve](PathwayApi.md#pathwayretrieve) +- [pathwayRulesList](PathwayApi.md#pathwayruleslist) +- [pathwaySystemsList](PathwayApi.md#pathwaysystemslist) +- [pathwayUpdate](PathwayApi.md#pathwayupdate) + +## Constructors + +### constructor + +• **new PathwayApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### pathwayCreate + +▸ **pathwayCreate**(`pathwayInput`, `options?`): `Promise`<`AxiosResponse`<[`PathwayInput`](../interfaces/PathwayInput.md)\>\> + +Create a new Pathway in the system. This creates a new Pathway in the system. Required fields are \"name,\" \"description,\" \"component,\" \"resolution_risk,\" and \"publish_date.\" \"name\" is a slug field and used to identify and retrieve Pathways for detailed analysis. The slug for a Pathway is auto-generated by converting the \"name\" to lowercase and replacing all spaces with dashes. \"resolution_risk\" should be the \"name\" of the ResolutionRisk to associate with this Pathway, not the risk value. + +**`Throws`** + +**`Memberof`** + +PathwayApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `pathwayInput` | [`PathwayInput`](../interfaces/PathwayInput.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PathwayInput`](../interfaces/PathwayInput.md)\>\> + +#### Defined in + +[api.ts:5703](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5703) + +___ + +### pathwayDestroy + +▸ **pathwayDestroy**(`slug`, `options?`): `Promise`<`AxiosResponse`<`string`\>\> + +Destroy an existing Pathway in the system. This will DELETE an existing Pathway in the system. Existing pathways are identified and deleted by the \"slug\" field. + +**`Throws`** + +**`Memberof`** + +PathwayApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<`string`\>\> + +#### Defined in + +[api.ts:5714](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5714) + +___ + +### pathwayList + +▸ **pathwayList**(`category?`, `filterSystemProfileSapSidsContains?`, `filterSystemProfileSapSystem?`, `groups?`, `limit?`, `offset?`, `tags?`, `text?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedPathwayList`](../interfaces/PaginatedPathwayList.md)\>\> + +Returns all Pathways This returns a list of all Pathways. Will display the same information as is provided in the retrieve view, but has all Pathways listed. + +**`Throws`** + +**`Memberof`** + +PathwayApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `category?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Filter rules of this category (number) | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `groups?` | `string`[] | List of Inventory host group names | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `text?` | `string` | Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedPathwayList`](../interfaces/PaginatedPathwayList.md)\>\> + +#### Defined in + +[api.ts:5732](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5732) + +___ + +### pathwayReportsRetrieve + +▸ **pathwayReportsRetrieve**(`slug`, `category?`, `groups?`, `hostId?`, `ruleId?`, `text?`, `options?`): `Promise`<`AxiosResponse`<[`RuleSystemsExport`](../interfaces/RuleSystemsExport.md)\>\> + +Get the list of systems for each rule in this pathway. Each rule is listed once, with the systems currently reporting an incidence of that rule in a list. + +**`Throws`** + +**`Memberof`** + +PathwayApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `category?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Filter rules of this category (number) | +| `groups?` | `string`[] | List of Inventory host group names | +| `hostId?` | `string`[] | Display Pathway Reports of this/these systems | +| `ruleId?` | `string`[] | Display Pathway Reports of this/these rules | +| `text?` | `string` | Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`RuleSystemsExport`](../interfaces/RuleSystemsExport.md)\>\> + +#### Defined in + +[api.ts:5748](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5748) + +___ + +### pathwayRetrieve + +▸ **pathwayRetrieve**(`slug`, `category?`, `filterSystemProfileSapSidsContains?`, `filterSystemProfileSapSystem?`, `groups?`, `tags?`, `text?`, `options?`): `Promise`<`AxiosResponse`<[`Pathway`](../interfaces/Pathway.md)\>\> + +Returns an individual Pathway based on slug. This returns an individual pathway based on slug. Will display the same information as is provided in the list view. + +**`Throws`** + +**`Memberof`** + +PathwayApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `category?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Filter rules of this category (number) | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `groups?` | `string`[] | List of Inventory host group names | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `text?` | `string` | Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Pathway`](../interfaces/Pathway.md)\>\> + +#### Defined in + +[api.ts:5765](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5765) + +___ + +### pathwayRulesList + +▸ **pathwayRulesList**(`slug`, `category?`, `limit?`, `offset?`, `text?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedRuleList`](../interfaces/PaginatedRuleList.md)\>\> + +Get all rules in a Pathway This view will retrieve/list in paginated format, all rules for a specific Pathway. This does not take into account acks or host asks. The Specific Pathway is requested by its slug + +**`Throws`** + +**`Memberof`** + +PathwayApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `category?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Filter rules of this category (number) | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `text?` | `string` | Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedRuleList`](../interfaces/PaginatedRuleList.md)\>\> + +#### Defined in + +[api.ts:5780](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5780) + +___ + +### pathwaySystemsList + +▸ **pathwaySystemsList**(`slug`, `category?`, `filterSystemProfileSapSidsContains?`, `filterSystemProfileSapSystem?`, `groups?`, `limit?`, `offset?`, `tags?`, `text?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedSystemList`](../interfaces/PaginatedSystemList.md)\>\> + +Get all impacted systems for an account, for a specific Pathway This view will retrieve/list in paginated format, all impacted systems for an account, for a specific Pathway. The specific Pathway is requested by its slug. + +**`Throws`** + +**`Memberof`** + +PathwayApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `category?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Filter rules of this category (number) | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `groups?` | `string`[] | List of Inventory host group names | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `text?` | `string` | Filter pathway names with this text. If viewing details for a pathway for rules, reports and systems, additional filter on their text fields | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedSystemList`](../interfaces/PaginatedSystemList.md)\>\> + +#### Defined in + +[api.ts:5799](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5799) + +___ + +### pathwayUpdate + +▸ **pathwayUpdate**(`slug`, `pathwayInput`, `options?`): `Promise`<`AxiosResponse`<[`PathwayInput`](../interfaces/PathwayInput.md)\>\> + +Update an existing Pathway in the system. This updates an existing Pathway already defined in the system. All fields that are required to define a Pathway initially may be updated here as well. Pathways are idenfitied and updated by the \"slug\" field. + +**`Throws`** + +**`Memberof`** + +PathwayApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `pathwayInput` | [`PathwayInput`](../interfaces/PathwayInput.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PathwayInput`](../interfaces/PathwayInput.md)\>\> + +#### Defined in + +[api.ts:5811](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5811) diff --git a/packages/insights/doc/classes/RatingApi.md b/packages/insights/doc/classes/RatingApi.md new file mode 100644 index 000000000..8158141ff --- /dev/null +++ b/packages/insights/doc/classes/RatingApi.md @@ -0,0 +1,249 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RatingApi + +# Class: RatingApi + +RatingApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`RatingApi`** + +## Table of contents + +### Constructors + +- [constructor](RatingApi.md#constructor) + +### Properties + +- [axios](RatingApi.md#axios) +- [basePath](RatingApi.md#basepath) +- [configuration](RatingApi.md#configuration) + +### Methods + +- [ratingAllRatingsList](RatingApi.md#ratingallratingslist) +- [ratingCreate](RatingApi.md#ratingcreate) +- [ratingList](RatingApi.md#ratinglist) +- [ratingRetrieve](RatingApi.md#ratingretrieve) +- [ratingStatsList](RatingApi.md#ratingstatslist) + +## Constructors + +### constructor + +• **new RatingApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### ratingAllRatingsList + +▸ **ratingAllRatingsList**(`limit?`, `offset?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedAllRuleRatingsList`](../interfaces/PaginatedAllRuleRatingsList.md)\>\> + +Show all ratings. Available only to internal users. + +**`Throws`** + +**`Memberof`** + +RatingApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedAllRuleRatingsList`](../interfaces/PaginatedAllRuleRatingsList.md)\>\> + +#### Defined in + +[api.ts:6209](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L6209) + +___ + +### ratingCreate + +▸ **ratingCreate**(`ruleRating`, `options?`): `Promise`<`AxiosResponse`<[`RuleRating`](../interfaces/RuleRating.md)\>\> + +Add or update a rating for a rule, by rule ID. Return the new rating. Any previous rating for this rule by this user is amended to the current value. This does not attempt to delete a rating by this user of this rule if the rating is zero. + +**`Throws`** + +**`Memberof`** + +RatingApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleRating` | [`RuleRating`](../interfaces/RuleRating.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`RuleRating`](../interfaces/RuleRating.md)\>\> + +#### Defined in + +[api.ts:6220](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L6220) + +___ + +### ratingList + +▸ **ratingList**(`limit?`, `offset?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedRuleRatingList`](../interfaces/PaginatedRuleRatingList.md)\>\> + +List all rules rated by the current user Only the current user\'s ratings are listed here. + +**`Throws`** + +**`Memberof`** + +RatingApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedRuleRatingList`](../interfaces/PaginatedRuleRatingList.md)\>\> + +#### Defined in + +[api.ts:6232](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L6232) + +___ + +### ratingRetrieve + +▸ **ratingRetrieve**(`rule`, `options?`): `Promise`<`AxiosResponse`<[`RuleRating`](../interfaces/RuleRating.md)\>\> + +Retrieve the ratings for a single rule, by Insights Rule ID + +**`Summary`** + +Retrieve the ratings for a single rule + +**`Throws`** + +**`Memberof`** + +RatingApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `rule` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`RuleRating`](../interfaces/RuleRating.md)\>\> + +#### Defined in + +[api.ts:6244](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L6244) + +___ + +### ratingStatsList + +▸ **ratingStatsList**(`limit?`, `offset?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedRuleRatingStatsList`](../interfaces/PaginatedRuleRatingStatsList.md)\>\> + +Summarise the ratings for a rule. This summarises the statistics for each rule. Available only to internal users. + +**`Throws`** + +**`Memberof`** + +RatingApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedRuleRatingStatsList`](../interfaces/PaginatedRuleRatingStatsList.md)\>\> + +#### Defined in + +[api.ts:6256](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L6256) diff --git a/packages/insights/doc/classes/RuleApi.md b/packages/insights/doc/classes/RuleApi.md new file mode 100644 index 000000000..0979d3154 --- /dev/null +++ b/packages/insights/doc/classes/RuleApi.md @@ -0,0 +1,372 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RuleApi + +# Class: RuleApi + +RuleApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`RuleApi`** + +## Table of contents + +### Constructors + +- [constructor](RuleApi.md#constructor) + +### Properties + +- [axios](RuleApi.md#axios) +- [basePath](RuleApi.md#basepath) +- [configuration](RuleApi.md#configuration) + +### Methods + +- [ruleAckHostsCreate](RuleApi.md#ruleackhostscreate) +- [ruleJustificationsList](RuleApi.md#rulejustificationslist) +- [ruleList](RuleApi.md#rulelist) +- [ruleRetrieve](RuleApi.md#ruleretrieve) +- [ruleStatsRetrieve](RuleApi.md#rulestatsretrieve) +- [ruleSystemsDetailList](RuleApi.md#rulesystemsdetaillist) +- [ruleSystemsRetrieve](RuleApi.md#rulesystemsretrieve) +- [ruleUnackHostsCreate](RuleApi.md#ruleunackhostscreate) + +## Constructors + +### constructor + +• **new RuleApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### ruleAckHostsCreate + +▸ **ruleAckHostsCreate**(`ruleId`, `multiHostAck`, `options?`): `Promise`<`AxiosResponse`<[`MultiAckResponse`](../interfaces/MultiAckResponse.md)\>\> + +Add acknowledgements for one or more hosts to this rule. Host acknowledgements will be added to this rule in this account for the system UUIDs supplied. The justification supplied will be given for all host acks created. Any existing host acknowledgements for a host on this rule will be updated. The count of created hosts acknowledgements, and the list of systems now impacted by this rule, will be returned. Account-wide acks are unaffected. + +**`Throws`** + +**`Memberof`** + +RuleApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `multiHostAck` | [`MultiHostAck`](../interfaces/MultiHostAck.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`MultiAckResponse`](../interfaces/MultiAckResponse.md)\>\> + +#### Defined in + +[api.ts:7112](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7112) + +___ + +### ruleJustificationsList + +▸ **ruleJustificationsList**(`ruleId`, `limit?`, `offset?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedJustificationCountList`](../interfaces/PaginatedJustificationCountList.md)\>\> + +List all justifications given for disabling this rule. This is an **internal-only** view that allows us to provide feedback on why rules are disabled by our customers. It lists the justifications given in both account-wide acks and host-specific acks of a rule. + +**`Throws`** + +**`Memberof`** + +RuleApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedJustificationCountList`](../interfaces/PaginatedJustificationCountList.md)\>\> + +#### Defined in + +[api.ts:7125](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7125) + +___ + +### ruleList + +▸ **ruleList**(`category?`, `filterSystemProfileSapSidsContains?`, `filterSystemProfileSapSystem?`, `groups?`, `hasPlaybook?`, `hasTag?`, `impact?`, `impacting?`, `incident?`, `likelihood?`, `limit?`, `offset?`, `pathway?`, `reboot?`, `reportsShown?`, `resRisk?`, `ruleStatus?`, `sort?`, `tags?`, `text?`, `topic?`, `totalRisk?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedRuleForAccountList`](../interfaces/PaginatedRuleForAccountList.md)\>\> + +List all active rules for this account. If \'acked\' is False or not given, then only rules that are not acked will be shown. If acked is set and \'true\' as a string or evaluates to a true value, then all rules including those that are acked will be shown. + +**`Throws`** + +**`Memberof`** + +RuleApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `category?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Display rules of this category (number) | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `groups?` | `string`[] | List of Inventory host group names | +| `hasPlaybook?` | `boolean` | Display rules that have a playbook | +| `hasTag?` | `string`[] | Display rules that have (one or more) tags | +| `impact?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Display rules of this impact level (1..4) | +| `impacting?` | `boolean` | Display only rules that are impacting systems currently | +| `incident?` | `boolean` | Display only rules that cause an incident | +| `likelihood?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Display only rules of this likelihood level (1..4) | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `pathway?` | `string` | Display rules of this Pathway | +| `reboot?` | `boolean` | Display rules that require a reboot to fix | +| `reportsShown?` | `boolean` | Display rules where reports are shown or not | +| `resRisk?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Display rules with this resolution risk level (1..4) | +| `ruleStatus?` | ``"all"`` \| ``"disabled"`` \| ``"enabled"`` \| ``"rhdisabled"`` | Display rules which are enabled, disabled (acked) by user, or disabled (acked) by Red Hat | +| `sort?` | (``"description"`` \| ``"-category"`` \| ``"-description"`` \| ``"-impact"`` \| ``"-impacted_count"`` \| ``"-likelihood"`` \| ``"-playbook_count"`` \| ``"-publish_date"`` \| ``"-resolution_risk"`` \| ``"-rule_id"`` \| ``"-total_risk"`` \| ``"category"`` \| ``"impact"`` \| ``"impacted_count"`` \| ``"likelihood"`` \| ``"playbook_count"`` \| ``"publish_date"`` \| ``"resolution_risk"`` \| ``"rule_id"`` \| ``"total_risk"``)[] | Order by this field | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `text?` | `string` | Display rules with this text in their text fields | +| `topic?` | `string` | Display rules in this topic (slug) | +| `totalRisk?` | (``2`` \| ``1`` \| ``3`` \| ``4``)[] | Display rules with this total risk level (1..4) | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedRuleForAccountList`](../interfaces/PaginatedRuleForAccountList.md)\>\> + +#### Defined in + +[api.ts:7157](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7157) + +___ + +### ruleRetrieve + +▸ **ruleRetrieve**(`ruleId`, `groups?`, `tags?`, `options?`): `Promise`<`AxiosResponse`<[`RuleForAccount`](../interfaces/RuleForAccount.md)\>\> + +Retrieve a single rule and its associated details. This includes the account-relevant details such as number of impacted systems and host acknowledgements. + +**`Throws`** + +**`Memberof`** + +RuleApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `groups?` | `string`[] | List of Inventory host group names | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`RuleForAccount`](../interfaces/RuleForAccount.md)\>\> + +#### Defined in + +[api.ts:7170](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7170) + +___ + +### ruleStatsRetrieve + +▸ **ruleStatsRetrieve**(`ruleId`, `options?`): `Promise`<`AxiosResponse`<[`RuleUsageStats`](../interfaces/RuleUsageStats.md)\>\> + +Display usage and impact statistics for this rule. For internal use only. This allows rule developers to see the number of systems and accounts impacted by a rule. + +**`Throws`** + +**`Memberof`** + +RuleApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`RuleUsageStats`](../interfaces/RuleUsageStats.md)\>\> + +#### Defined in + +[api.ts:7181](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7181) + +___ + +### ruleSystemsDetailList + +▸ **ruleSystemsDetailList**(`ruleId`, `groups?`, `limit?`, `name?`, `offset?`, `rhelVersion?`, `sort?`, `tags?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedSystemsDetailList`](../interfaces/PaginatedSystemsDetailList.md)\>\> + +List systems affected by this rule with additional information about each system All systems owned by the user\'s account, with a current upload reporting the given rule, are listed in a paginated format. Additional information includes hit counts and upload/stale timestamps. + +**`Throws`** + +**`Memberof`** + +RuleApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `groups?` | `string`[] | List of Inventory host group names | +| `limit?` | `number` | Number of results to return per page. | +| `name?` | `string` | Search for systems that include this in their display name | +| `offset?` | `number` | The initial index from which to return the results. | +| `rhelVersion?` | (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[] | Display only systems with these versions of RHEL | +| `sort?` | ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"`` \| ``"-impacted_date"`` \| ``"impacted_date"`` | Order by this field | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedSystemsDetailList`](../interfaces/PaginatedSystemsDetailList.md)\>\> + +#### Defined in + +[api.ts:7199](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7199) + +___ + +### ruleSystemsRetrieve + +▸ **ruleSystemsRetrieve**(`ruleId`, `format?`, `groups?`, `name?`, `rhelVersion?`, `sort?`, `tags?`, `options?`): `Promise`<`AxiosResponse`<[`SystemsForRule`](../interfaces/SystemsForRule.md)\>\> + +List all systems affected by this rule. All systems owned by the user\'s account, with a current upload reporting the given rule, are listed. Systems are simply listed by Insights Inventory UUID. + +**`Throws`** + +**`Memberof`** + +RuleApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `format?` | ``"json"`` \| ``"csv"`` | | +| `groups?` | `string`[] | List of Inventory host group names | +| `name?` | `string` | Search for systems that include this in their display name | +| `rhelVersion?` | (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[] | Display only systems with these versions of RHEL | +| `sort?` | (``"-display_name"`` \| ``"-last_seen"`` \| ``"display_name"`` \| ``"last_seen"`` \| ``"-stale_at"`` \| ``"-system_uuid"`` \| ``"-updated"`` \| ``"stale_at"`` \| ``"system_uuid"`` \| ``"updated"``)[] | Order by this field | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`SystemsForRule`](../interfaces/SystemsForRule.md)\>\> + +#### Defined in + +[api.ts:7216](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7216) + +___ + +### ruleUnackHostsCreate + +▸ **ruleUnackHostsCreate**(`ruleId`, `multiHostUnAck`, `options?`): `Promise`<`AxiosResponse`<[`MultiAckResponse`](../interfaces/MultiAckResponse.md)\>\> + +Delete acknowledgements for one or more hosts to this rule. Any host acknowledgements for this rule in this account for the given system are deleted. Hosts that do not have an acknowledgement for this rule in this account are ignored. The count of deleted host acknowledgements, and the list of hosts now impacted by this rule, will be returned. Account-wide acks are unaffected. + +**`Throws`** + +**`Memberof`** + +RuleApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `ruleId` | `string` | | +| `multiHostUnAck` | [`MultiHostUnAck`](../interfaces/MultiHostUnAck.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`MultiAckResponse`](../interfaces/MultiAckResponse.md)\>\> + +#### Defined in + +[api.ts:7228](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7228) diff --git a/packages/insights/doc/classes/RulecategoryApi.md b/packages/insights/doc/classes/RulecategoryApi.md index c251f9578..4f7694988 100644 --- a/packages/insights/doc/classes/RulecategoryApi.md +++ b/packages/insights/doc/classes/RulecategoryApi.md @@ -119,7 +119,7 @@ RulecategoryApi #### Defined in -[api.ts:404](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L404) +[api.ts:7381](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7381) ___ @@ -148,4 +148,4 @@ RulecategoryApi #### Defined in -[api.ts:415](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L415) +[api.ts:7392](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7392) diff --git a/packages/insights/doc/classes/SettingsApi.md b/packages/insights/doc/classes/SettingsApi.md new file mode 100644 index 000000000..f2ba5b53e --- /dev/null +++ b/packages/insights/doc/classes/SettingsApi.md @@ -0,0 +1,121 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / SettingsApi + +# Class: SettingsApi + +SettingsApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`SettingsApi`** + +## Table of contents + +### Constructors + +- [constructor](SettingsApi.md#constructor) + +### Properties + +- [axios](SettingsApi.md#axios) +- [basePath](SettingsApi.md#basepath) +- [configuration](SettingsApi.md#configuration) + +### Methods + +- [settingsList](SettingsApi.md#settingslist) + +## Constructors + +### constructor + +• **new SettingsApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### settingsList + +▸ **settingsList**(`options?`): `Promise`<`AxiosResponse`<[`SettingsDDF`](../interfaces/SettingsDDF.md)[]\>\> + +Describe the settings we have in a Data-Driven Forms way. This simply compiles the \'show_satellite_hosts\' account-wide setting into a format compatible with Data-Driven Forms. + +**`Throws`** + +**`Memberof`** + +SettingsApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`SettingsDDF`](../interfaces/SettingsDDF.md)[]\>\> + +#### Defined in + +[api.ts:7496](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7496) diff --git a/packages/insights/doc/classes/StatsApi.md b/packages/insights/doc/classes/StatsApi.md new file mode 100644 index 000000000..c7baa7965 --- /dev/null +++ b/packages/insights/doc/classes/StatsApi.md @@ -0,0 +1,253 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / StatsApi + +# Class: StatsApi + +StatsApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`StatsApi`** + +## Table of contents + +### Constructors + +- [constructor](StatsApi.md#constructor) + +### Properties + +- [axios](StatsApi.md#axios) +- [basePath](StatsApi.md#basepath) +- [configuration](StatsApi.md#configuration) + +### Methods + +- [statsList](StatsApi.md#statslist) +- [statsOverviewRetrieve](StatsApi.md#statsoverviewretrieve) +- [statsReportsRetrieve](StatsApi.md#statsreportsretrieve) +- [statsRulesRetrieve](StatsApi.md#statsrulesretrieve) +- [statsSystemsRetrieve](StatsApi.md#statssystemsretrieve) + +## Constructors + +### constructor + +• **new StatsApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### statsList + +▸ **statsList**(`options?`): `Promise`<`AxiosResponse`<`string`[][]\>\> + +Provide a simple list of URLs contained here. A list of statistics views. + +**`Throws`** + +**`Memberof`** + +StatsApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<`string`[][]\>\> + +#### Defined in + +[api.ts:7940](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7940) + +___ + +### statsOverviewRetrieve + +▸ **statsOverviewRetrieve**(`tags?`, `groups?`, `filterSystemProfileSapSystem?`, `filterSystemProfileSapSidsContains?`, `options?`): `Promise`<`AxiosResponse`<[`Stats`](../interfaces/Stats.md)\>\> + +Show overview statistics for this user This gives the number of pathways, and incident, critical and important recommendations, affecting systems that the user can see. + +**`Throws`** + +**`Memberof`** + +StatsApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `groups?` | `string`[] | List of Inventory host group names | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Stats`](../interfaces/Stats.md)\>\> + +#### Defined in + +[api.ts:7954](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7954) + +___ + +### statsReportsRetrieve + +▸ **statsReportsRetrieve**(`tags?`, `groups?`, `filterSystemProfileSapSystem?`, `filterSystemProfileSapSidsContains?`, `options?`): `Promise`<`AxiosResponse`<[`Stats`](../interfaces/Stats.md)\>\> + +Show statistics of reports impacting across categories and risks. Only current reports are considered. + +**`Throws`** + +**`Memberof`** + +StatsApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `groups?` | `string`[] | List of Inventory host group names | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Stats`](../interfaces/Stats.md)\>\> + +#### Defined in + +[api.ts:7968](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7968) + +___ + +### statsRulesRetrieve + +▸ **statsRulesRetrieve**(`tags?`, `groups?`, `filterSystemProfileSapSystem?`, `filterSystemProfileSapSidsContains?`, `options?`): `Promise`<`AxiosResponse`<[`Stats`](../interfaces/Stats.md)\>\> + +Show statistics of rule usage across categories and risks. Only current reports are considered. + +**`Throws`** + +**`Memberof`** + +StatsApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `groups?` | `string`[] | List of Inventory host group names | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Stats`](../interfaces/Stats.md)\>\> + +#### Defined in + +[api.ts:7982](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7982) + +___ + +### statsSystemsRetrieve + +▸ **statsSystemsRetrieve**(`tags?`, `groups?`, `filterSystemProfileSapSystem?`, `filterSystemProfileSapSidsContains?`, `options?`): `Promise`<`AxiosResponse`<[`Stats`](../interfaces/Stats.md)\>\> + +Show statistics of systems being impacted across categories and risks. Only current reports are considered. + +**`Throws`** + +**`Memberof`** + +StatsApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `groups?` | `string`[] | List of Inventory host group names | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Stats`](../interfaces/Stats.md)\>\> + +#### Defined in + +[api.ts:7996](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7996) diff --git a/packages/insights/doc/classes/StatusApi.md b/packages/insights/doc/classes/StatusApi.md index afa00d5ef..9fbf6b250 100644 --- a/packages/insights/doc/classes/StatusApi.md +++ b/packages/insights/doc/classes/StatusApi.md @@ -120,7 +120,7 @@ StatusApi #### Defined in -[api.ts:609](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L609) +[api.ts:8190](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8190) ___ @@ -148,7 +148,7 @@ StatusApi #### Defined in -[api.ts:619](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L619) +[api.ts:8200](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8200) ___ @@ -176,4 +176,4 @@ StatusApi #### Defined in -[api.ts:629](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L629) +[api.ts:8210](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8210) diff --git a/packages/insights/doc/classes/SystemApi.md b/packages/insights/doc/classes/SystemApi.md new file mode 100644 index 000000000..7cb1c0c88 --- /dev/null +++ b/packages/insights/doc/classes/SystemApi.md @@ -0,0 +1,203 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / SystemApi + +# Class: SystemApi + +SystemApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`SystemApi`** + +## Table of contents + +### Constructors + +- [constructor](SystemApi.md#constructor) + +### Properties + +- [axios](SystemApi.md#axios) +- [basePath](SystemApi.md#basepath) +- [configuration](SystemApi.md#configuration) + +### Methods + +- [systemList](SystemApi.md#systemlist) +- [systemReportsList](SystemApi.md#systemreportslist) +- [systemRetrieve](SystemApi.md#systemretrieve) + +## Constructors + +### constructor + +• **new SystemApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### systemList + +▸ **systemList**(`displayName?`, `filterSystemProfileSapSidsContains?`, `filterSystemProfileSapSystem?`, `groups?`, `hits?`, `incident?`, `limit?`, `offset?`, `pathway?`, `rhelVersion?`, `sort?`, `tags?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedSystemList`](../interfaces/PaginatedSystemList.md)\>\> + +Returns systems with their hit count and last upload time. Results can be sorted and systems can be filtered by display name and hits + +**`Throws`** + +**`Memberof`** + +SystemApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `displayName?` | `string` | Display systems with this text in their display_name | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `groups?` | `string`[] | List of Inventory host group names | +| `hits?` | (``"all"`` \| ``"1"`` \| ``"2"`` \| ``"3"`` \| ``"4"`` \| ``"no"`` \| ``"yes"``)[] | Display systems with hits of the given total_risk value (1..4), or 0 to display all systems | +| `incident?` | `boolean` | Display only systems reporting an incident | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `pathway?` | `string` | Display systems with rule hits for this Pathway | +| `rhelVersion?` | (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[] | Display only systems with these versions of RHEL | +| `sort?` | ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-group_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"group_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"`` | Order by this field | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedSystemList`](../interfaces/PaginatedSystemList.md)\>\> + +#### Defined in + +[api.ts:8585](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8585) + +___ + +### systemReportsList + +▸ **systemReportsList**(`uuid`, `filterSystemProfileSapSidsContains?`, `filterSystemProfileSapSystem?`, `groups?`, `limit?`, `offset?`, `tags?`, `options?`): `Promise`<`AxiosResponse`<[`PaginatedReportList`](../interfaces/PaginatedReportList.md)\>\> + +Returns the list of latest reports for an Inventory Host ID. Returns reports that: * are in the user\'s account * have an active, not-deleted rule * where the rule has not been acked by this account If the host ID is not found, return an empty list. + +**`Throws`** + +**`Memberof`** + +SystemApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `uuid` | `string` | A UUID string identifying this inventory host. | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `groups?` | `string`[] | List of Inventory host group names | +| `limit?` | `number` | Number of results to return per page. | +| `offset?` | `number` | The initial index from which to return the results. | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PaginatedReportList`](../interfaces/PaginatedReportList.md)\>\> + +#### Defined in + +[api.ts:8602](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8602) + +___ + +### systemRetrieve + +▸ **systemRetrieve**(`uuid`, `options?`): `Promise`<`AxiosResponse`<[`System`](../interfaces/System.md)\>\> + +Retrieve the reports for a single system by Insights Inventory UUID + +**`Summary`** + +Retrieve the reports for a single system + +**`Throws`** + +**`Memberof`** + +SystemApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `uuid` | `string` | A UUID string identifying this inventory host. | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`System`](../interfaces/System.md)\>\> + +#### Defined in + +[api.ts:8614](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8614) diff --git a/packages/insights/doc/classes/SystemtypeApi.md b/packages/insights/doc/classes/SystemtypeApi.md index 27d925563..246cf670d 100644 --- a/packages/insights/doc/classes/SystemtypeApi.md +++ b/packages/insights/doc/classes/SystemtypeApi.md @@ -123,7 +123,7 @@ SystemtypeApi #### Defined in -[api.ts:789](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L789) +[api.ts:8774](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8774) ___ @@ -156,4 +156,4 @@ SystemtypeApi #### Defined in -[api.ts:801](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L801) +[api.ts:8786](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8786) diff --git a/packages/insights/doc/classes/TopicApi.md b/packages/insights/doc/classes/TopicApi.md new file mode 100644 index 000000000..d4589bf6f --- /dev/null +++ b/packages/insights/doc/classes/TopicApi.md @@ -0,0 +1,359 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / TopicApi + +# Class: TopicApi + +TopicApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`TopicApi`** + +## Table of contents + +### Constructors + +- [constructor](TopicApi.md#constructor) + +### Properties + +- [axios](TopicApi.md#axios) +- [basePath](TopicApi.md#basepath) +- [configuration](TopicApi.md#configuration) + +### Methods + +- [topicCreate](TopicApi.md#topiccreate) +- [topicDestroy](TopicApi.md#topicdestroy) +- [topicList](TopicApi.md#topiclist) +- [topicPartialUpdate](TopicApi.md#topicpartialupdate) +- [topicRetrieve](TopicApi.md#topicretrieve) +- [topicRulesWithTagList](TopicApi.md#topicruleswithtaglist) +- [topicSystemsRetrieve](TopicApi.md#topicsystemsretrieve) +- [topicUpdate](TopicApi.md#topicupdate) + +## Constructors + +### constructor + +• **new TopicApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### topicCreate + +▸ **topicCreate**(`topicEdit`, `options?`): `Promise`<`AxiosResponse`<[`TopicEdit`](../interfaces/TopicEdit.md)\>\> + +Create a new rule topic, along with its association to a rule tag + +**`Summary`** + +Create a new rule topic + +**`Throws`** + +**`Memberof`** + +TopicApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `topicEdit` | [`TopicEdit`](../interfaces/TopicEdit.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`TopicEdit`](../interfaces/TopicEdit.md)\>\> + +#### Defined in + +[api.ts:9450](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9450) + +___ + +### topicDestroy + +▸ **topicDestroy**(`slug`, `options?`): `Promise`<`AxiosResponse`<`void`\>\> + +Delete a rule topic. Rules associated with the tag of this topic will be unaffected + +**`Summary`** + +Delete a rule topic + +**`Throws`** + +**`Memberof`** + +TopicApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<`void`\>\> + +#### Defined in + +[api.ts:9462](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9462) + +___ + +### topicList + +▸ **topicList**(`filterSystemProfileSapSidsContains?`, `filterSystemProfileSapSystem?`, `groups?`, `showDisabled?`, `tags?`, `options?`): `Promise`<`AxiosResponse`<[`Topic`](../interfaces/Topic.md)[]\>\> + +List the rule topics and their impacted systems counts. Normally this only shows enabled topics, but if the \'show_disabled\' parameter is set to True then this will show disabled topics as well. + +**`Throws`** + +**`Memberof`** + +TopicApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `groups?` | `string`[] | List of Inventory host group names | +| `showDisabled?` | `boolean` | Display topics that are disabled as well as enabled | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Topic`](../interfaces/Topic.md)[]\>\> + +#### Defined in + +[api.ts:9477](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9477) + +___ + +### topicPartialUpdate + +▸ **topicPartialUpdate**(`slug`, `patchedTopicEdit?`, `options?`): `Promise`<`AxiosResponse`<[`TopicEdit`](../interfaces/TopicEdit.md)\>\> + +Update an existing rule topic. Only the fields being changed need to be supplied + +**`Summary`** + +Partially update a rule topic + +**`Throws`** + +**`Memberof`** + +TopicApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `patchedTopicEdit?` | [`PatchedTopicEdit`](../interfaces/PatchedTopicEdit.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`TopicEdit`](../interfaces/TopicEdit.md)\>\> + +#### Defined in + +[api.ts:9490](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9490) + +___ + +### topicRetrieve + +▸ **topicRetrieve**(`slug`, `options?`): `Promise`<`AxiosResponse`<[`Topic`](../interfaces/Topic.md)\>\> + +Retrieve a single topic by slug. This also lists the topic\'s impacted systems count. + +**`Throws`** + +**`Memberof`** + +TopicApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Topic`](../interfaces/Topic.md)\>\> + +#### Defined in + +[api.ts:9501](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9501) + +___ + +### topicRulesWithTagList + +▸ **topicRulesWithTagList**(`slug`, `options?`): `Promise`<`AxiosResponse`<[`Rule`](../interfaces/Rule.md)[]\>\> + +Lists the available rules that have this tag. This shows the rule information for rules with this tag. + +**`Throws`** + +**`Memberof`** + +TopicApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Rule`](../interfaces/Rule.md)[]\>\> + +#### Defined in + +[api.ts:9512](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9512) + +___ + +### topicSystemsRetrieve + +▸ **topicSystemsRetrieve**(`slug`, `filterSystemProfileSapSidsContains?`, `filterSystemProfileSapSystem?`, `groups?`, `sort?`, `tags?`, `options?`): `Promise`<`AxiosResponse`<[`SystemsForRule`](../interfaces/SystemsForRule.md)\>\> + +List all systems affected by this rule topic. Systems are just listed by their UUID. + +**`Throws`** + +**`Memberof`** + +TopicApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `filterSystemProfileSapSidsContains?` | `string`[] | Are there systems which contain these SAP SIDs? | +| `filterSystemProfileSapSystem?` | `boolean` | Is this a SAP system? | +| `groups?` | `string`[] | List of Inventory host group names | +| `sort?` | (``"-display_name"`` \| ``"-last_seen"`` \| ``"display_name"`` \| ``"last_seen"`` \| ``"-stale_at"`` \| ``"-system_uuid"`` \| ``"-updated"`` \| ``"stale_at"`` \| ``"system_uuid"`` \| ``"updated"``)[] | Order by this field | +| `tags?` | `string`[] | Tags have a namespace, key and value in the form namespace/key=value | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`SystemsForRule`](../interfaces/SystemsForRule.md)\>\> + +#### Defined in + +[api.ts:9528](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9528) + +___ + +### topicUpdate + +▸ **topicUpdate**(`slug`, `topicEdit`, `options?`): `Promise`<`AxiosResponse`<[`TopicEdit`](../interfaces/TopicEdit.md)\>\> + +Update an existing rule topic. All fields need to be supplied + +**`Summary`** + +Update a rule topic + +**`Throws`** + +**`Memberof`** + +TopicApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `slug` | `string` | | +| `topicEdit` | [`TopicEdit`](../interfaces/TopicEdit.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`TopicEdit`](../interfaces/TopicEdit.md)\>\> + +#### Defined in + +[api.ts:9541](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9541) diff --git a/packages/insights/doc/classes/UsageApi.md b/packages/insights/doc/classes/UsageApi.md new file mode 100644 index 000000000..e19ee1a2f --- /dev/null +++ b/packages/insights/doc/classes/UsageApi.md @@ -0,0 +1,125 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / UsageApi + +# Class: UsageApi + +UsageApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`UsageApi`** + +## Table of contents + +### Constructors + +- [constructor](UsageApi.md#constructor) + +### Properties + +- [axios](UsageApi.md#axios) +- [basePath](UsageApi.md#basepath) +- [configuration](UsageApi.md#configuration) + +### Methods + +- [usageList](UsageApi.md#usagelist) + +## Constructors + +### constructor + +• **new UsageApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### usageList + +▸ **usageList**(`account?`, `end?`, `orgId?`, `start?`, `options?`): `Promise`<`AxiosResponse`<[`Usage`](../interfaces/Usage.md)\>\> + +List the unique rule hits for this account over the given time range This uses a HashLogLog structure to record number of hits, and this is therefore an approximation. + +**`Throws`** + +**`Memberof`** + +UsageApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `account?` | `string`[] | Allow `hydrauser` to view any account | +| `end?` | `string` | End date for statistics range | +| `orgId?` | `string` | Allow `hydrauser` to view any org_id | +| `start?` | `string` | Start date for statistics range | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`Usage`](../interfaces/Usage.md)\>\> + +#### Defined in + +[api.ts:9681](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9681) diff --git a/packages/insights/doc/classes/UserPreferencesApi.md b/packages/insights/doc/classes/UserPreferencesApi.md new file mode 100644 index 000000000..410380f21 --- /dev/null +++ b/packages/insights/doc/classes/UserPreferencesApi.md @@ -0,0 +1,151 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / UserPreferencesApi + +# Class: UserPreferencesApi + +UserPreferencesApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`UserPreferencesApi`** + +## Table of contents + +### Constructors + +- [constructor](UserPreferencesApi.md#constructor) + +### Properties + +- [axios](UserPreferencesApi.md#axios) +- [basePath](UserPreferencesApi.md#basepath) +- [configuration](UserPreferencesApi.md#configuration) + +### Methods + +- [userPreferencesCreate](UserPreferencesApi.md#userpreferencescreate) +- [userPreferencesList](UserPreferencesApi.md#userpreferenceslist) + +## Constructors + +### constructor + +• **new UserPreferencesApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### userPreferencesCreate + +▸ **userPreferencesCreate**(`preferencesInput`, `options?`): `Promise`<`AxiosResponse`<[`PreferencesInput`](../interfaces/PreferencesInput.md)\>\> + +Accept the settings as input, and adjust the actual models accordingly. The current account settings will be updated, or one will be created, with the + +**`Throws`** + +**`Memberof`** + +UserPreferencesApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `preferencesInput` | [`PreferencesInput`](../interfaces/PreferencesInput.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`PreferencesInput`](../interfaces/PreferencesInput.md)\>\> + +#### Defined in + +[api.ts:9854](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9854) + +___ + +### userPreferencesList + +▸ **userPreferencesList**(`options?`): `Promise`<`AxiosResponse`<[`SettingsDDF`](../interfaces/SettingsDDF.md)[]\>\> + +Describe the settings we have in a Data-Driven Forms way. This simply compiles the \'show_satellite_hosts\' account-wide setting and the weekly report \'is_subscribed\' user-specific setting into one handy view, with the description metadata necessary to use Data-Driven Forms to display it. + +**`Throws`** + +**`Memberof`** + +UserPreferencesApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`SettingsDDF`](../interfaces/SettingsDDF.md)[]\>\> + +#### Defined in + +[api.ts:9864](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9864) diff --git a/packages/insights/doc/classes/WeeklyreportautosubscribeApi.md b/packages/insights/doc/classes/WeeklyreportautosubscribeApi.md new file mode 100644 index 000000000..9565732db --- /dev/null +++ b/packages/insights/doc/classes/WeeklyreportautosubscribeApi.md @@ -0,0 +1,151 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / WeeklyreportautosubscribeApi + +# Class: WeeklyreportautosubscribeApi + +WeeklyreportautosubscribeApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`WeeklyreportautosubscribeApi`** + +## Table of contents + +### Constructors + +- [constructor](WeeklyreportautosubscribeApi.md#constructor) + +### Properties + +- [axios](WeeklyreportautosubscribeApi.md#axios) +- [basePath](WeeklyreportautosubscribeApi.md#basepath) +- [configuration](WeeklyreportautosubscribeApi.md#configuration) + +### Methods + +- [weeklyreportautosubscribeCreate](WeeklyreportautosubscribeApi.md#weeklyreportautosubscribecreate) +- [weeklyreportautosubscribeList](WeeklyreportautosubscribeApi.md#weeklyreportautosubscribelist) + +## Constructors + +### constructor + +• **new WeeklyreportautosubscribeApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### weeklyreportautosubscribeCreate + +▸ **weeklyreportautosubscribeCreate**(`autoSubscribeInput`, `options?`): `Promise`<`AxiosResponse`<[`AutoSubscribe`](../interfaces/AutoSubscribe.md)\>\> + +Set the auto-subscription status of the current user to the supplied `is_auto_subscribed` value. If \'is_auto_subscribed\' is true, an auto-subscription is added if it doesn\'t already exist. If it is false, the auto-subscription is removed if it exists. Check if ENABLE_AUTOSUB enviroment variable is set to allow the method. + +**`Throws`** + +**`Memberof`** + +WeeklyreportautosubscribeApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `autoSubscribeInput` | [`AutoSubscribeInput`](../interfaces/AutoSubscribeInput.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`AutoSubscribe`](../interfaces/AutoSubscribe.md)\>\> + +#### Defined in + +[api.ts:10037](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L10037) + +___ + +### weeklyreportautosubscribeList + +▸ **weeklyreportautosubscribeList**(`options?`): `Promise`<`AxiosResponse`<[`AutoSubscribe`](../interfaces/AutoSubscribe.md)[]\>\> + +Show the user\'s current subscription status. This shows the presence of a weekly report subscription by the user in this account. + +**`Throws`** + +**`Memberof`** + +WeeklyreportautosubscribeApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`AutoSubscribe`](../interfaces/AutoSubscribe.md)[]\>\> + +#### Defined in + +[api.ts:10047](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L10047) diff --git a/packages/insights/doc/classes/WeeklyreportsubscriptionApi.md b/packages/insights/doc/classes/WeeklyreportsubscriptionApi.md new file mode 100644 index 000000000..a285d13b4 --- /dev/null +++ b/packages/insights/doc/classes/WeeklyreportsubscriptionApi.md @@ -0,0 +1,151 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / WeeklyreportsubscriptionApi + +# Class: WeeklyreportsubscriptionApi + +WeeklyreportsubscriptionApi - object-oriented interface + +**`Export`** + +## Hierarchy + +- `BaseAPI` + + ↳ **`WeeklyreportsubscriptionApi`** + +## Table of contents + +### Constructors + +- [constructor](WeeklyreportsubscriptionApi.md#constructor) + +### Properties + +- [axios](WeeklyreportsubscriptionApi.md#axios) +- [basePath](WeeklyreportsubscriptionApi.md#basepath) +- [configuration](WeeklyreportsubscriptionApi.md#configuration) + +### Methods + +- [weeklyreportsubscriptionCreate](WeeklyreportsubscriptionApi.md#weeklyreportsubscriptioncreate) +- [weeklyreportsubscriptionList](WeeklyreportsubscriptionApi.md#weeklyreportsubscriptionlist) + +## Constructors + +### constructor + +• **new WeeklyreportsubscriptionApi**(`configuration?`, `basePath?`, `axios?`) + +#### Parameters + +| Name | Type | Default value | +| :------ | :------ | :------ | +| `configuration?` | [`Configuration`](Configuration.md) | `undefined` | +| `basePath` | `string` | `BASE_PATH` | +| `axios` | `AxiosInstance` | `globalAxios` | + +#### Inherited from + +BaseAPI.constructor + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +## Properties + +### axios + +• `Protected` **axios**: `AxiosInstance` = `globalAxios` + +#### Inherited from + +BaseAPI.axios + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### basePath + +• `Protected` **basePath**: `string` = `BASE_PATH` + +#### Inherited from + +BaseAPI.basePath + +#### Defined in + +[base.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L51) + +___ + +### configuration + +• `Protected` **configuration**: [`Configuration`](Configuration.md) + +#### Inherited from + +BaseAPI.configuration + +#### Defined in + +[base.ts:49](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/base.ts#L49) + +## Methods + +### weeklyreportsubscriptionCreate + +▸ **weeklyreportsubscriptionCreate**(`weeklyReportSubscription`, `options?`): `Promise`<`AxiosResponse`<[`WeeklyReportSubscription`](../interfaces/WeeklyReportSubscription.md)\>\> + +Set the subscription status of the current user to the supplied `is_subscribed` value. If \'is_subscribed\' is true, a subscription is added if it doesn\'t already exist. If it is false, the subscription is removed if it exists. + +**`Throws`** + +**`Memberof`** + +WeeklyreportsubscriptionApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `weeklyReportSubscription` | [`WeeklyReportSubscription`](../interfaces/WeeklyReportSubscription.md) | | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`WeeklyReportSubscription`](../interfaces/WeeklyReportSubscription.md)\>\> + +#### Defined in + +[api.ts:10220](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L10220) + +___ + +### weeklyreportsubscriptionList + +▸ **weeklyreportsubscriptionList**(`options?`): `Promise`<`AxiosResponse`<[`WeeklyReportSubscription`](../interfaces/WeeklyReportSubscription.md)[]\>\> + +Show the user\'s current subscription status. This shows the presence of a weekly report subscription by the user in this account. + +**`Throws`** + +**`Memberof`** + +WeeklyreportsubscriptionApi + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `options?` | `any` | Override http request option. | + +#### Returns + +`Promise`<`AxiosResponse`<[`WeeklyReportSubscription`](../interfaces/WeeklyReportSubscription.md)[]\>\> + +#### Defined in + +[api.ts:10230](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L10230) diff --git a/packages/insights/doc/enums/AllRuleRatingsRatingEnum.md b/packages/insights/doc/enums/AllRuleRatingsRatingEnum.md new file mode 100644 index 000000000..765c3c810 --- /dev/null +++ b/packages/insights/doc/enums/AllRuleRatingsRatingEnum.md @@ -0,0 +1,43 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AllRuleRatingsRatingEnum + +# Enumeration: AllRuleRatingsRatingEnum + +**`Export`** + +## Table of contents + +### Enumeration Members + +- [NUMBER\_0](AllRuleRatingsRatingEnum.md#number_0) +- [NUMBER\_1](AllRuleRatingsRatingEnum.md#number_1) +- [NUMBER\_MINUS\_1](AllRuleRatingsRatingEnum.md#number_minus_1) + +## Enumeration Members + +### NUMBER\_0 + +• **NUMBER\_0** = ``0`` + +#### Defined in + +[api.ts:215](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L215) + +___ + +### NUMBER\_1 + +• **NUMBER\_1** = ``1`` + +#### Defined in + +[api.ts:216](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L216) + +___ + +### NUMBER\_MINUS\_1 + +• **NUMBER\_MINUS\_1** = ``-1`` + +#### Defined in + +[api.ts:214](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L214) diff --git a/packages/insights/doc/enums/RuleRatingRatingEnum.md b/packages/insights/doc/enums/RuleRatingRatingEnum.md new file mode 100644 index 000000000..96b9cbc0a --- /dev/null +++ b/packages/insights/doc/enums/RuleRatingRatingEnum.md @@ -0,0 +1,43 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RuleRatingRatingEnum + +# Enumeration: RuleRatingRatingEnum + +**`Export`** + +## Table of contents + +### Enumeration Members + +- [NUMBER\_0](RuleRatingRatingEnum.md#number_0) +- [NUMBER\_1](RuleRatingRatingEnum.md#number_1) +- [NUMBER\_MINUS\_1](RuleRatingRatingEnum.md#number_minus_1) + +## Enumeration Members + +### NUMBER\_0 + +• **NUMBER\_0** = ``0`` + +#### Defined in + +[api.ts:1781](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1781) + +___ + +### NUMBER\_1 + +• **NUMBER\_1** = ``1`` + +#### Defined in + +[api.ts:1782](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1782) + +___ + +### NUMBER\_MINUS\_1 + +• **NUMBER\_MINUS\_1** = ``-1`` + +#### Defined in + +[api.ts:1780](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1780) diff --git a/packages/insights/doc/interfaces/Ack.md b/packages/insights/doc/interfaces/Ack.md new file mode 100644 index 000000000..872186d29 --- /dev/null +++ b/packages/insights/doc/interfaces/Ack.md @@ -0,0 +1,93 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / Ack + +# Interface: Ack + +**`Export`** + +**`Interface`** + +Ack + +## Table of contents + +### Properties + +- [created\_at](Ack.md#created_at) +- [created\_by](Ack.md#created_by) +- [justification](Ack.md#justification) +- [rule](Ack.md#rule) +- [updated\_at](Ack.md#updated_at) + +## Properties + +### created\_at + +• **created\_at**: `string` + +**`Memberof`** + +Ack + +#### Defined in + +[api.ts:51](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L51) + +___ + +### created\_by + +• `Optional` **created\_by**: `string` + +The user who created the ack + +**`Memberof`** + +Ack + +#### Defined in + +[api.ts:45](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L45) + +___ + +### justification + +• `Optional` **justification**: `string` + +The reason the rule was acked + +**`Memberof`** + +Ack + +#### Defined in + +[api.ts:39](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L39) + +___ + +### rule + +• **rule**: `string` + +**`Memberof`** + +Ack + +#### Defined in + +[api.ts:33](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L33) + +___ + +### updated\_at + +• **updated\_at**: `string` + +**`Memberof`** + +Ack + +#### Defined in + +[api.ts:57](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L57) diff --git a/packages/insights/doc/interfaces/AckCount.md b/packages/insights/doc/interfaces/AckCount.md new file mode 100644 index 000000000..0a9cb9515 --- /dev/null +++ b/packages/insights/doc/interfaces/AckCount.md @@ -0,0 +1,46 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AckCount + +# Interface: AckCount + +A rule_id and the number of acks on it + +**`Export`** + +**`Interface`** + +AckCount + +## Table of contents + +### Properties + +- [ack\_count](AckCount.md#ack_count) +- [rule\_id](AckCount.md#rule_id) + +## Properties + +### ack\_count + +• **ack\_count**: `number` + +**`Memberof`** + +AckCount + +#### Defined in + +[api.ts:76](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L76) + +___ + +### rule\_id + +• **rule\_id**: `string` + +**`Memberof`** + +AckCount + +#### Defined in + +[api.ts:70](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L70) diff --git a/packages/insights/doc/interfaces/AckInput.md b/packages/insights/doc/interfaces/AckInput.md new file mode 100644 index 000000000..b689c7d13 --- /dev/null +++ b/packages/insights/doc/interfaces/AckInput.md @@ -0,0 +1,44 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AckInput + +# Interface: AckInput + +**`Export`** + +**`Interface`** + +AckInput + +## Table of contents + +### Properties + +- [justification](AckInput.md#justification) +- [rule\_id](AckInput.md#rule_id) + +## Properties + +### justification + +• `Optional` **justification**: `string` + +**`Memberof`** + +AckInput + +#### Defined in + +[api.ts:95](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L95) + +___ + +### rule\_id + +• **rule\_id**: `string` + +**`Memberof`** + +AckInput + +#### Defined in + +[api.ts:89](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L89) diff --git a/packages/insights/doc/interfaces/AckJustification.md b/packages/insights/doc/interfaces/AckJustification.md new file mode 100644 index 000000000..06fb92cf4 --- /dev/null +++ b/packages/insights/doc/interfaces/AckJustification.md @@ -0,0 +1,31 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AckJustification + +# Interface: AckJustification + +**`Export`** + +**`Interface`** + +AckJustification + +## Table of contents + +### Properties + +- [justification](AckJustification.md#justification) + +## Properties + +### justification + +• `Optional` **justification**: `string` + +The reason the rule was acked + +**`Memberof`** + +AckJustification + +#### Defined in + +[api.ts:108](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L108) diff --git a/packages/insights/doc/interfaces/AllAck.md b/packages/insights/doc/interfaces/AllAck.md new file mode 100644 index 000000000..203972c5e --- /dev/null +++ b/packages/insights/doc/interfaces/AllAck.md @@ -0,0 +1,123 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AllAck + +# Interface: AllAck + +**`Export`** + +**`Interface`** + +AllAck + +## Table of contents + +### Properties + +- [account](AllAck.md#account) +- [created\_at](AllAck.md#created_at) +- [created\_by](AllAck.md#created_by) +- [justification](AllAck.md#justification) +- [org\_id](AllAck.md#org_id) +- [rule](AllAck.md#rule) +- [updated\_at](AllAck.md#updated_at) + +## Properties + +### account + +• **account**: `string` + +**`Memberof`** + +AllAck + +#### Defined in + +[api.ts:121](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L121) + +___ + +### created\_at + +• **created\_at**: `string` + +**`Memberof`** + +AllAck + +#### Defined in + +[api.ts:151](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L151) + +___ + +### created\_by + +• `Optional` **created\_by**: `string` + +The user who created the ack + +**`Memberof`** + +AllAck + +#### Defined in + +[api.ts:145](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L145) + +___ + +### justification + +• `Optional` **justification**: `string` + +The reason the rule was acked + +**`Memberof`** + +AllAck + +#### Defined in + +[api.ts:139](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L139) + +___ + +### org\_id + +• **org\_id**: `string` + +**`Memberof`** + +AllAck + +#### Defined in + +[api.ts:127](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L127) + +___ + +### rule + +• **rule**: `string` + +**`Memberof`** + +AllAck + +#### Defined in + +[api.ts:133](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L133) + +___ + +### updated\_at + +• **updated\_at**: `string` + +**`Memberof`** + +AllAck + +#### Defined in + +[api.ts:157](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L157) diff --git a/packages/insights/doc/interfaces/AllRuleRatings.md b/packages/insights/doc/interfaces/AllRuleRatings.md new file mode 100644 index 000000000..f76aac24e --- /dev/null +++ b/packages/insights/doc/interfaces/AllRuleRatings.md @@ -0,0 +1,123 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AllRuleRatings + +# Interface: AllRuleRatings + +This is only available to internal users and lists ratings from all users. + +**`Export`** + +**`Interface`** + +AllRuleRatings + +## Table of contents + +### Properties + +- [account](AllRuleRatings.md#account) +- [created\_at](AllRuleRatings.md#created_at) +- [org\_id](AllRuleRatings.md#org_id) +- [rated\_by](AllRuleRatings.md#rated_by) +- [rating](AllRuleRatings.md#rating) +- [rule](AllRuleRatings.md#rule) +- [updated\_at](AllRuleRatings.md#updated_at) + +## Properties + +### account + +• `Optional` **account**: `string` + +**`Memberof`** + +AllRuleRatings + +#### Defined in + +[api.ts:200](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L200) + +___ + +### created\_at + +• **created\_at**: `string` + +**`Memberof`** + +AllRuleRatings + +#### Defined in + +[api.ts:182](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L182) + +___ + +### org\_id + +• **org\_id**: `string` + +**`Memberof`** + +AllRuleRatings + +#### Defined in + +[api.ts:206](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L206) + +___ + +### rated\_by + +• `Optional` **rated\_by**: `string` + +The username that rated this rule + +**`Memberof`** + +AllRuleRatings + +#### Defined in + +[api.ts:194](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L194) + +___ + +### rating + +• **rating**: [`AllRuleRatingsRatingEnum`](../enums/AllRuleRatingsRatingEnum.md) + +**`Memberof`** + +AllRuleRatings + +#### Defined in + +[api.ts:176](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L176) + +___ + +### rule + +• **rule**: `string` + +**`Memberof`** + +AllRuleRatings + +#### Defined in + +[api.ts:170](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L170) + +___ + +### updated\_at + +• **updated\_at**: `string` + +**`Memberof`** + +AllRuleRatings + +#### Defined in + +[api.ts:188](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L188) diff --git a/packages/insights/doc/interfaces/AutoSubscribe.md b/packages/insights/doc/interfaces/AutoSubscribe.md new file mode 100644 index 000000000..ea5383c61 --- /dev/null +++ b/packages/insights/doc/interfaces/AutoSubscribe.md @@ -0,0 +1,46 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AutoSubscribe + +# Interface: AutoSubscribe + +Serializer specifically for listing all Pathways currently in the system + +**`Export`** + +**`Interface`** + +AutoSubscribe + +## Table of contents + +### Properties + +- [is\_auto\_subscribed](AutoSubscribe.md#is_auto_subscribed) +- [org\_id](AutoSubscribe.md#org_id) + +## Properties + +### is\_auto\_subscribed + +• **is\_auto\_subscribed**: `boolean` + +**`Memberof`** + +AutoSubscribe + +#### Defined in + +[api.ts:236](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L236) + +___ + +### org\_id + +• **org\_id**: `string` + +**`Memberof`** + +AutoSubscribe + +#### Defined in + +[api.ts:230](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L230) diff --git a/packages/insights/doc/interfaces/AutoSubscribeInput.md b/packages/insights/doc/interfaces/AutoSubscribeInput.md new file mode 100644 index 000000000..cff8f4b4b --- /dev/null +++ b/packages/insights/doc/interfaces/AutoSubscribeInput.md @@ -0,0 +1,46 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / AutoSubscribeInput + +# Interface: AutoSubscribeInput + +Serializer specifically for handling CREATE and UPDATE views for AutoSubscribe + +**`Export`** + +**`Interface`** + +AutoSubscribeInput + +## Table of contents + +### Properties + +- [is\_auto\_subscribed](AutoSubscribeInput.md#is_auto_subscribed) +- [org\_id](AutoSubscribeInput.md#org_id) + +## Properties + +### is\_auto\_subscribed + +• **is\_auto\_subscribed**: `boolean` + +**`Memberof`** + +AutoSubscribeInput + +#### Defined in + +[api.ts:255](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L255) + +___ + +### org\_id + +• **org\_id**: `string` + +**`Memberof`** + +AutoSubscribeInput + +#### Defined in + +[api.ts:249](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L249) diff --git a/packages/insights/doc/interfaces/ExportHits.md b/packages/insights/doc/interfaces/ExportHits.md new file mode 100644 index 000000000..8a038b56c --- /dev/null +++ b/packages/insights/doc/interfaces/ExportHits.md @@ -0,0 +1,181 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / ExportHits + +# Interface: ExportHits + +The basic report information for each system affected by a rule. Only lists basic details of the host and rule, and links to more information. + +**`Export`** + +**`Interface`** + +ExportHits + +## Table of contents + +### Properties + +- [hostname](ExportHits.md#hostname) +- [last\_seen](ExportHits.md#last_seen) +- [likelihood](ExportHits.md#likelihood) +- [publish\_date](ExportHits.md#publish_date) +- [results\_url](ExportHits.md#results_url) +- [rhel\_version](ExportHits.md#rhel_version) +- [solution\_url](ExportHits.md#solution_url) +- [stale\_at](ExportHits.md#stale_at) +- [title](ExportHits.md#title) +- [total\_risk](ExportHits.md#total_risk) +- [uuid](ExportHits.md#uuid) + +## Properties + +### hostname + +• **hostname**: `string` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:268](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L268) + +___ + +### last\_seen + +• **last\_seen**: `string` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:286](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L286) + +___ + +### likelihood + +• **likelihood**: `number` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:310](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L310) + +___ + +### publish\_date + +• **publish\_date**: `string` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:316](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L316) + +___ + +### results\_url + +• **results\_url**: `string` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:328](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L328) + +___ + +### rhel\_version + +• **rhel\_version**: `string` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:274](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L274) + +___ + +### solution\_url + +• **solution\_url**: `string` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:298](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L298) + +___ + +### stale\_at + +• **stale\_at**: `string` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:322](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L322) + +___ + +### title + +• **title**: `string` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:292](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L292) + +___ + +### total\_risk + +• **total\_risk**: `number` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:304](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L304) + +___ + +### uuid + +• **uuid**: `string` + +**`Memberof`** + +ExportHits + +#### Defined in + +[api.ts:280](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L280) diff --git a/packages/insights/doc/interfaces/HostAck.md b/packages/insights/doc/interfaces/HostAck.md new file mode 100644 index 000000000..b9f2668d2 --- /dev/null +++ b/packages/insights/doc/interfaces/HostAck.md @@ -0,0 +1,138 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / HostAck + +# Interface: HostAck + +Ignore reports of this rule on this system for this account. + +**`Export`** + +**`Interface`** + +HostAck + +## Table of contents + +### Properties + +- [created\_at](HostAck.md#created_at) +- [created\_by](HostAck.md#created_by) +- [display\_name](HostAck.md#display_name) +- [id](HostAck.md#id) +- [justification](HostAck.md#justification) +- [rule](HostAck.md#rule) +- [system\_uuid](HostAck.md#system_uuid) +- [updated\_at](HostAck.md#updated_at) + +## Properties + +### created\_at + +• **created\_at**: `string` + +**`Memberof`** + +HostAck + +#### Defined in + +[api.ts:371](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L371) + +___ + +### created\_by + +• **created\_by**: `string` + +The username that created this acknowledgement + +**`Memberof`** + +HostAck + +#### Defined in + +[api.ts:365](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L365) + +___ + +### display\_name + +• **display\_name**: `string` + +**`Memberof`** + +HostAck + +#### Defined in + +[api.ts:383](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L383) + +___ + +### id + +• **id**: `number` + +**`Memberof`** + +HostAck + +#### Defined in + +[api.ts:341](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L341) + +___ + +### justification + +• `Optional` **justification**: `string` + +**`Memberof`** + +HostAck + +#### Defined in + +[api.ts:359](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L359) + +___ + +### rule + +• **rule**: `string` + +**`Memberof`** + +HostAck + +#### Defined in + +[api.ts:347](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L347) + +___ + +### system\_uuid + +• **system\_uuid**: `string` + +**`Memberof`** + +HostAck + +#### Defined in + +[api.ts:353](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L353) + +___ + +### updated\_at + +• **updated\_at**: `string` + +**`Memberof`** + +HostAck + +#### Defined in + +[api.ts:377](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L377) diff --git a/packages/insights/doc/interfaces/HostAckInput.md b/packages/insights/doc/interfaces/HostAckInput.md new file mode 100644 index 000000000..e1490f7ad --- /dev/null +++ b/packages/insights/doc/interfaces/HostAckInput.md @@ -0,0 +1,61 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / HostAckInput + +# Interface: HostAckInput + +Ignore reports of this rule on this system for this account. Use this when creating a new HostAck. + +**`Export`** + +**`Interface`** + +HostAckInput + +## Table of contents + +### Properties + +- [justification](HostAckInput.md#justification) +- [rule](HostAckInput.md#rule) +- [system\_uuid](HostAckInput.md#system_uuid) + +## Properties + +### justification + +• `Optional` **justification**: `string` + +**`Memberof`** + +HostAckInput + +#### Defined in + +[api.ts:408](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L408) + +___ + +### rule + +• **rule**: `string` + +**`Memberof`** + +HostAckInput + +#### Defined in + +[api.ts:396](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L396) + +___ + +### system\_uuid + +• **system\_uuid**: `string` + +**`Memberof`** + +HostAckInput + +#### Defined in + +[api.ts:402](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L402) diff --git a/packages/insights/doc/interfaces/HostAckJustification.md b/packages/insights/doc/interfaces/HostAckJustification.md new file mode 100644 index 000000000..63eeed5b9 --- /dev/null +++ b/packages/insights/doc/interfaces/HostAckJustification.md @@ -0,0 +1,46 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / HostAckJustification + +# Interface: HostAckJustification + +Just modify the justification on a Host Ack. + +**`Export`** + +**`Interface`** + +HostAckJustification + +## Table of contents + +### Properties + +- [id](HostAckJustification.md#id) +- [justification](HostAckJustification.md#justification) + +## Properties + +### id + +• **id**: `number` + +**`Memberof`** + +HostAckJustification + +#### Defined in + +[api.ts:421](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L421) + +___ + +### justification + +• `Optional` **justification**: `string` + +**`Memberof`** + +HostAckJustification + +#### Defined in + +[api.ts:427](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L427) diff --git a/packages/insights/doc/interfaces/JustificationCount.md b/packages/insights/doc/interfaces/JustificationCount.md new file mode 100644 index 000000000..816a88dfb --- /dev/null +++ b/packages/insights/doc/interfaces/JustificationCount.md @@ -0,0 +1,44 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / JustificationCount + +# Interface: JustificationCount + +**`Export`** + +**`Interface`** + +JustificationCount + +## Table of contents + +### Properties + +- [count](JustificationCount.md#count) +- [justification](JustificationCount.md#justification) + +## Properties + +### count + +• **count**: `number` + +**`Memberof`** + +JustificationCount + +#### Defined in + +[api.ts:446](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L446) + +___ + +### justification + +• **justification**: `string` + +**`Memberof`** + +JustificationCount + +#### Defined in + +[api.ts:440](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L440) diff --git a/packages/insights/doc/interfaces/Kcs.md b/packages/insights/doc/interfaces/Kcs.md index 6d1296fef..1bed4aa35 100644 --- a/packages/insights/doc/interfaces/Kcs.md +++ b/packages/insights/doc/interfaces/Kcs.md @@ -31,7 +31,7 @@ Kcs #### Defined in -[api.ts:39](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L39) +[api.ts:465](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L465) ___ @@ -47,4 +47,4 @@ Kcs #### Defined in -[api.ts:33](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L33) +[api.ts:459](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L459) diff --git a/packages/insights/doc/interfaces/MultiAckResponse.md b/packages/insights/doc/interfaces/MultiAckResponse.md new file mode 100644 index 000000000..dbfe2e114 --- /dev/null +++ b/packages/insights/doc/interfaces/MultiAckResponse.md @@ -0,0 +1,46 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / MultiAckResponse + +# Interface: MultiAckResponse + +The response from adding or deleting multiple acks on a rule. For backward compatibility we include the count, and then list the impacted systems. + +**`Export`** + +**`Interface`** + +MultiAckResponse + +## Table of contents + +### Properties + +- [count](MultiAckResponse.md#count) +- [host\_ids](MultiAckResponse.md#host_ids) + +## Properties + +### count + +• **count**: `number` + +**`Memberof`** + +MultiAckResponse + +#### Defined in + +[api.ts:478](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L478) + +___ + +### host\_ids + +• **host\_ids**: `string`[] + +**`Memberof`** + +MultiAckResponse + +#### Defined in + +[api.ts:484](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L484) diff --git a/packages/insights/doc/interfaces/MultiHostAck.md b/packages/insights/doc/interfaces/MultiHostAck.md new file mode 100644 index 000000000..ba09e5074 --- /dev/null +++ b/packages/insights/doc/interfaces/MultiHostAck.md @@ -0,0 +1,46 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / MultiHostAck + +# Interface: MultiHostAck + +Add acks to multiple hosts for a single rule. + +**`Export`** + +**`Interface`** + +MultiHostAck + +## Table of contents + +### Properties + +- [justification](MultiHostAck.md#justification) +- [systems](MultiHostAck.md#systems) + +## Properties + +### justification + +• **justification**: `string` + +**`Memberof`** + +MultiHostAck + +#### Defined in + +[api.ts:503](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L503) + +___ + +### systems + +• **systems**: `string`[] + +**`Memberof`** + +MultiHostAck + +#### Defined in + +[api.ts:497](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L497) diff --git a/packages/insights/doc/interfaces/MultiHostUnAck.md b/packages/insights/doc/interfaces/MultiHostUnAck.md new file mode 100644 index 000000000..5e50551de --- /dev/null +++ b/packages/insights/doc/interfaces/MultiHostUnAck.md @@ -0,0 +1,31 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / MultiHostUnAck + +# Interface: MultiHostUnAck + +Delete acks from multiple hosts for a single rule. + +**`Export`** + +**`Interface`** + +MultiHostUnAck + +## Table of contents + +### Properties + +- [systems](MultiHostUnAck.md#systems) + +## Properties + +### systems + +• **systems**: `string`[] + +**`Memberof`** + +MultiHostUnAck + +#### Defined in + +[api.ts:516](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L516) diff --git a/packages/insights/doc/interfaces/OrgId.md b/packages/insights/doc/interfaces/OrgId.md new file mode 100644 index 000000000..a76545aa9 --- /dev/null +++ b/packages/insights/doc/interfaces/OrgId.md @@ -0,0 +1,31 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / OrgId + +# Interface: OrgId + +A specific org id for a Red Hat customer. + +**`Export`** + +**`Interface`** + +OrgId + +## Table of contents + +### Properties + +- [org\_id](OrgId.md#org_id) + +## Properties + +### org\_id + +• **org\_id**: `string` + +**`Memberof`** + +OrgId + +#### Defined in + +[api.ts:529](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L529) diff --git a/packages/insights/doc/interfaces/PaginatedAckList.md b/packages/insights/doc/interfaces/PaginatedAckList.md new file mode 100644 index 000000000..e855cd334 --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedAckList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedAckList + +# Interface: PaginatedAckList + +**`Export`** + +**`Interface`** + +PaginatedAckList + +## Table of contents + +### Properties + +- [data](PaginatedAckList.md#data) +- [links](PaginatedAckList.md#links) +- [meta](PaginatedAckList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`Ack`](Ack.md)[] + +**`Memberof`** + +PaginatedAckList + +#### Defined in + +[api.ts:554](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L554) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedAckList + +#### Defined in + +[api.ts:548](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L548) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedAckList + +#### Defined in + +[api.ts:542](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L542) diff --git a/packages/insights/doc/interfaces/PaginatedAckListLinks.md b/packages/insights/doc/interfaces/PaginatedAckListLinks.md new file mode 100644 index 000000000..0a70ff4e7 --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedAckListLinks.md @@ -0,0 +1,74 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedAckListLinks + +# Interface: PaginatedAckListLinks + +**`Export`** + +**`Interface`** + +PaginatedAckListLinks + +## Table of contents + +### Properties + +- [first](PaginatedAckListLinks.md#first) +- [last](PaginatedAckListLinks.md#last) +- [next](PaginatedAckListLinks.md#next) +- [previous](PaginatedAckListLinks.md#previous) + +## Properties + +### first + +• `Optional` **first**: `string` + +**`Memberof`** + +PaginatedAckListLinks + +#### Defined in + +[api.ts:567](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L567) + +___ + +### last + +• `Optional` **last**: `string` + +**`Memberof`** + +PaginatedAckListLinks + +#### Defined in + +[api.ts:585](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L585) + +___ + +### next + +• `Optional` **next**: `string` + +**`Memberof`** + +PaginatedAckListLinks + +#### Defined in + +[api.ts:579](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L579) + +___ + +### previous + +• `Optional` **previous**: `string` + +**`Memberof`** + +PaginatedAckListLinks + +#### Defined in + +[api.ts:573](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L573) diff --git a/packages/insights/doc/interfaces/PaginatedAckListMeta.md b/packages/insights/doc/interfaces/PaginatedAckListMeta.md new file mode 100644 index 000000000..4c30c7afc --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedAckListMeta.md @@ -0,0 +1,29 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedAckListMeta + +# Interface: PaginatedAckListMeta + +**`Export`** + +**`Interface`** + +PaginatedAckListMeta + +## Table of contents + +### Properties + +- [count](PaginatedAckListMeta.md#count) + +## Properties + +### count + +• **count**: `number` + +**`Memberof`** + +PaginatedAckListMeta + +#### Defined in + +[api.ts:598](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L598) diff --git a/packages/insights/doc/interfaces/PaginatedAllRuleRatingsList.md b/packages/insights/doc/interfaces/PaginatedAllRuleRatingsList.md new file mode 100644 index 000000000..30840cfe5 --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedAllRuleRatingsList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedAllRuleRatingsList + +# Interface: PaginatedAllRuleRatingsList + +**`Export`** + +**`Interface`** + +PaginatedAllRuleRatingsList + +## Table of contents + +### Properties + +- [data](PaginatedAllRuleRatingsList.md#data) +- [links](PaginatedAllRuleRatingsList.md#links) +- [meta](PaginatedAllRuleRatingsList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`AllRuleRatings`](AllRuleRatings.md)[] + +**`Memberof`** + +PaginatedAllRuleRatingsList + +#### Defined in + +[api.ts:623](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L623) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedAllRuleRatingsList + +#### Defined in + +[api.ts:617](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L617) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedAllRuleRatingsList + +#### Defined in + +[api.ts:611](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L611) diff --git a/packages/insights/doc/interfaces/PaginatedHostAckList.md b/packages/insights/doc/interfaces/PaginatedHostAckList.md new file mode 100644 index 000000000..8ea7e4c85 --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedHostAckList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedHostAckList + +# Interface: PaginatedHostAckList + +**`Export`** + +**`Interface`** + +PaginatedHostAckList + +## Table of contents + +### Properties + +- [data](PaginatedHostAckList.md#data) +- [links](PaginatedHostAckList.md#links) +- [meta](PaginatedHostAckList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`HostAck`](HostAck.md)[] + +**`Memberof`** + +PaginatedHostAckList + +#### Defined in + +[api.ts:648](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L648) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedHostAckList + +#### Defined in + +[api.ts:642](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L642) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedHostAckList + +#### Defined in + +[api.ts:636](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L636) diff --git a/packages/insights/doc/interfaces/PaginatedJustificationCountList.md b/packages/insights/doc/interfaces/PaginatedJustificationCountList.md new file mode 100644 index 000000000..1363fb64c --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedJustificationCountList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedJustificationCountList + +# Interface: PaginatedJustificationCountList + +**`Export`** + +**`Interface`** + +PaginatedJustificationCountList + +## Table of contents + +### Properties + +- [data](PaginatedJustificationCountList.md#data) +- [links](PaginatedJustificationCountList.md#links) +- [meta](PaginatedJustificationCountList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`JustificationCount`](JustificationCount.md)[] + +**`Memberof`** + +PaginatedJustificationCountList + +#### Defined in + +[api.ts:673](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L673) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedJustificationCountList + +#### Defined in + +[api.ts:667](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L667) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedJustificationCountList + +#### Defined in + +[api.ts:661](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L661) diff --git a/packages/insights/doc/interfaces/PaginatedOrgIdList.md b/packages/insights/doc/interfaces/PaginatedOrgIdList.md new file mode 100644 index 000000000..b140ffb4b --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedOrgIdList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedOrgIdList + +# Interface: PaginatedOrgIdList + +**`Export`** + +**`Interface`** + +PaginatedOrgIdList + +## Table of contents + +### Properties + +- [data](PaginatedOrgIdList.md#data) +- [links](PaginatedOrgIdList.md#links) +- [meta](PaginatedOrgIdList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`OrgId`](OrgId.md)[] + +**`Memberof`** + +PaginatedOrgIdList + +#### Defined in + +[api.ts:698](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L698) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedOrgIdList + +#### Defined in + +[api.ts:692](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L692) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedOrgIdList + +#### Defined in + +[api.ts:686](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L686) diff --git a/packages/insights/doc/interfaces/PaginatedPathwayList.md b/packages/insights/doc/interfaces/PaginatedPathwayList.md new file mode 100644 index 000000000..a075594ad --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedPathwayList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedPathwayList + +# Interface: PaginatedPathwayList + +**`Export`** + +**`Interface`** + +PaginatedPathwayList + +## Table of contents + +### Properties + +- [data](PaginatedPathwayList.md#data) +- [links](PaginatedPathwayList.md#links) +- [meta](PaginatedPathwayList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`Pathway`](Pathway.md)[] + +**`Memberof`** + +PaginatedPathwayList + +#### Defined in + +[api.ts:723](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L723) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedPathwayList + +#### Defined in + +[api.ts:717](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L717) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedPathwayList + +#### Defined in + +[api.ts:711](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L711) diff --git a/packages/insights/doc/interfaces/PaginatedReportList.md b/packages/insights/doc/interfaces/PaginatedReportList.md new file mode 100644 index 000000000..296ce711d --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedReportList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedReportList + +# Interface: PaginatedReportList + +**`Export`** + +**`Interface`** + +PaginatedReportList + +## Table of contents + +### Properties + +- [data](PaginatedReportList.md#data) +- [links](PaginatedReportList.md#links) +- [meta](PaginatedReportList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`Report`](Report.md)[] + +**`Memberof`** + +PaginatedReportList + +#### Defined in + +[api.ts:748](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L748) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedReportList + +#### Defined in + +[api.ts:742](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L742) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedReportList + +#### Defined in + +[api.ts:736](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L736) diff --git a/packages/insights/doc/interfaces/PaginatedRuleForAccountList.md b/packages/insights/doc/interfaces/PaginatedRuleForAccountList.md new file mode 100644 index 000000000..480c39431 --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedRuleForAccountList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedRuleForAccountList + +# Interface: PaginatedRuleForAccountList + +**`Export`** + +**`Interface`** + +PaginatedRuleForAccountList + +## Table of contents + +### Properties + +- [data](PaginatedRuleForAccountList.md#data) +- [links](PaginatedRuleForAccountList.md#links) +- [meta](PaginatedRuleForAccountList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`RuleForAccount`](RuleForAccount.md)[] + +**`Memberof`** + +PaginatedRuleForAccountList + +#### Defined in + +[api.ts:773](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L773) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedRuleForAccountList + +#### Defined in + +[api.ts:767](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L767) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedRuleForAccountList + +#### Defined in + +[api.ts:761](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L761) diff --git a/packages/insights/doc/interfaces/PaginatedRuleList.md b/packages/insights/doc/interfaces/PaginatedRuleList.md new file mode 100644 index 000000000..883222ddf --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedRuleList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedRuleList + +# Interface: PaginatedRuleList + +**`Export`** + +**`Interface`** + +PaginatedRuleList + +## Table of contents + +### Properties + +- [data](PaginatedRuleList.md#data) +- [links](PaginatedRuleList.md#links) +- [meta](PaginatedRuleList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`Rule`](Rule.md)[] + +**`Memberof`** + +PaginatedRuleList + +#### Defined in + +[api.ts:798](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L798) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedRuleList + +#### Defined in + +[api.ts:792](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L792) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedRuleList + +#### Defined in + +[api.ts:786](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L786) diff --git a/packages/insights/doc/interfaces/PaginatedRuleRatingList.md b/packages/insights/doc/interfaces/PaginatedRuleRatingList.md new file mode 100644 index 000000000..3b7d5a51d --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedRuleRatingList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedRuleRatingList + +# Interface: PaginatedRuleRatingList + +**`Export`** + +**`Interface`** + +PaginatedRuleRatingList + +## Table of contents + +### Properties + +- [data](PaginatedRuleRatingList.md#data) +- [links](PaginatedRuleRatingList.md#links) +- [meta](PaginatedRuleRatingList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`RuleRating`](RuleRating.md)[] + +**`Memberof`** + +PaginatedRuleRatingList + +#### Defined in + +[api.ts:823](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L823) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedRuleRatingList + +#### Defined in + +[api.ts:817](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L817) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedRuleRatingList + +#### Defined in + +[api.ts:811](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L811) diff --git a/packages/insights/doc/interfaces/PaginatedRuleRatingStatsList.md b/packages/insights/doc/interfaces/PaginatedRuleRatingStatsList.md new file mode 100644 index 000000000..311391e97 --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedRuleRatingStatsList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedRuleRatingStatsList + +# Interface: PaginatedRuleRatingStatsList + +**`Export`** + +**`Interface`** + +PaginatedRuleRatingStatsList + +## Table of contents + +### Properties + +- [data](PaginatedRuleRatingStatsList.md#data) +- [links](PaginatedRuleRatingStatsList.md#links) +- [meta](PaginatedRuleRatingStatsList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`RuleRatingStats`](RuleRatingStats.md)[] + +**`Memberof`** + +PaginatedRuleRatingStatsList + +#### Defined in + +[api.ts:848](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L848) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedRuleRatingStatsList + +#### Defined in + +[api.ts:842](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L842) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedRuleRatingStatsList + +#### Defined in + +[api.ts:836](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L836) diff --git a/packages/insights/doc/interfaces/PaginatedSubscriptionExcludedAccountList.md b/packages/insights/doc/interfaces/PaginatedSubscriptionExcludedAccountList.md new file mode 100644 index 000000000..3cd858175 --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedSubscriptionExcludedAccountList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedSubscriptionExcludedAccountList + +# Interface: PaginatedSubscriptionExcludedAccountList + +**`Export`** + +**`Interface`** + +PaginatedSubscriptionExcludedAccountList + +## Table of contents + +### Properties + +- [data](PaginatedSubscriptionExcludedAccountList.md#data) +- [links](PaginatedSubscriptionExcludedAccountList.md#links) +- [meta](PaginatedSubscriptionExcludedAccountList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`SubscriptionExcludedAccount`](SubscriptionExcludedAccount.md)[] + +**`Memberof`** + +PaginatedSubscriptionExcludedAccountList + +#### Defined in + +[api.ts:873](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L873) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedSubscriptionExcludedAccountList + +#### Defined in + +[api.ts:867](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L867) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedSubscriptionExcludedAccountList + +#### Defined in + +[api.ts:861](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L861) diff --git a/packages/insights/doc/interfaces/PaginatedSystemList.md b/packages/insights/doc/interfaces/PaginatedSystemList.md new file mode 100644 index 000000000..eecb694b0 --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedSystemList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedSystemList + +# Interface: PaginatedSystemList + +**`Export`** + +**`Interface`** + +PaginatedSystemList + +## Table of contents + +### Properties + +- [data](PaginatedSystemList.md#data) +- [links](PaginatedSystemList.md#links) +- [meta](PaginatedSystemList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`System`](System.md)[] + +**`Memberof`** + +PaginatedSystemList + +#### Defined in + +[api.ts:898](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L898) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedSystemList + +#### Defined in + +[api.ts:892](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L892) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedSystemList + +#### Defined in + +[api.ts:886](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L886) diff --git a/packages/insights/doc/interfaces/PaginatedSystemsDetailList.md b/packages/insights/doc/interfaces/PaginatedSystemsDetailList.md new file mode 100644 index 000000000..b46649e61 --- /dev/null +++ b/packages/insights/doc/interfaces/PaginatedSystemsDetailList.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PaginatedSystemsDetailList + +# Interface: PaginatedSystemsDetailList + +**`Export`** + +**`Interface`** + +PaginatedSystemsDetailList + +## Table of contents + +### Properties + +- [data](PaginatedSystemsDetailList.md#data) +- [links](PaginatedSystemsDetailList.md#links) +- [meta](PaginatedSystemsDetailList.md#meta) + +## Properties + +### data + +• `Optional` **data**: [`SystemsDetail`](SystemsDetail.md)[] + +**`Memberof`** + +PaginatedSystemsDetailList + +#### Defined in + +[api.ts:923](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L923) + +___ + +### links + +• `Optional` **links**: [`PaginatedAckListLinks`](PaginatedAckListLinks.md) + +**`Memberof`** + +PaginatedSystemsDetailList + +#### Defined in + +[api.ts:917](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L917) + +___ + +### meta + +• `Optional` **meta**: [`PaginatedAckListMeta`](PaginatedAckListMeta.md) + +**`Memberof`** + +PaginatedSystemsDetailList + +#### Defined in + +[api.ts:911](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L911) diff --git a/packages/insights/doc/interfaces/PatchedTopicEdit.md b/packages/insights/doc/interfaces/PatchedTopicEdit.md new file mode 100644 index 000000000..f4e707053 --- /dev/null +++ b/packages/insights/doc/interfaces/PatchedTopicEdit.md @@ -0,0 +1,108 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PatchedTopicEdit + +# Interface: PatchedTopicEdit + +Create or edit topics. + +**`Export`** + +**`Interface`** + +PatchedTopicEdit + +## Table of contents + +### Properties + +- [description](PatchedTopicEdit.md#description) +- [enabled](PatchedTopicEdit.md#enabled) +- [featured](PatchedTopicEdit.md#featured) +- [name](PatchedTopicEdit.md#name) +- [slug](PatchedTopicEdit.md#slug) +- [tag](PatchedTopicEdit.md#tag) + +## Properties + +### description + +• `Optional` **description**: `string` + +**`Memberof`** + +PatchedTopicEdit + +#### Defined in + +[api.ts:948](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L948) + +___ + +### enabled + +• `Optional` **enabled**: `boolean` + +**`Memberof`** + +PatchedTopicEdit + +#### Defined in + +[api.ts:966](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L966) + +___ + +### featured + +• `Optional` **featured**: `boolean` + +**`Memberof`** + +PatchedTopicEdit + +#### Defined in + +[api.ts:960](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L960) + +___ + +### name + +• `Optional` **name**: `string` + +**`Memberof`** + +PatchedTopicEdit + +#### Defined in + +[api.ts:936](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L936) + +___ + +### slug + +• `Optional` **slug**: `string` + +Rule topic slug + +**`Memberof`** + +PatchedTopicEdit + +#### Defined in + +[api.ts:942](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L942) + +___ + +### tag + +• `Optional` **tag**: `string` + +**`Memberof`** + +PatchedTopicEdit + +#### Defined in + +[api.ts:954](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L954) diff --git a/packages/insights/doc/interfaces/Pathway.md b/packages/insights/doc/interfaces/Pathway.md new file mode 100644 index 000000000..a7067b750 --- /dev/null +++ b/packages/insights/doc/interfaces/Pathway.md @@ -0,0 +1,271 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / Pathway + +# Interface: Pathway + +Serializer specifically for listing all Pathways currently in the system + +**`Export`** + +**`Interface`** + +Pathway + +## Table of contents + +### Properties + +- [categories](Pathway.md#categories) +- [component](Pathway.md#component) +- [critical\_risk\_count](Pathway.md#critical_risk_count) +- [description](Pathway.md#description) +- [has\_incident](Pathway.md#has_incident) +- [has\_playbook](Pathway.md#has_playbook) +- [high\_risk\_count](Pathway.md#high_risk_count) +- [impacted\_systems\_count](Pathway.md#impacted_systems_count) +- [incident\_count](Pathway.md#incident_count) +- [low\_risk\_count](Pathway.md#low_risk_count) +- [medium\_risk\_count](Pathway.md#medium_risk_count) +- [name](Pathway.md#name) +- [publish\_date](Pathway.md#publish_date) +- [reboot\_required](Pathway.md#reboot_required) +- [recommendation\_level](Pathway.md#recommendation_level) +- [resolution\_risk](Pathway.md#resolution_risk) +- [slug](Pathway.md#slug) + +## Properties + +### categories + +• **categories**: [`RuleCategory`](RuleCategory.md)[] + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1039](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1039) + +___ + +### component + +• **component**: `string` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:997](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L997) + +___ + +### critical\_risk\_count + +• **critical\_risk\_count**: `number` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1057](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1057) + +___ + +### description + +• **description**: `string` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:991](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L991) + +___ + +### has\_incident + +• **has\_incident**: `boolean` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1033](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1033) + +___ + +### has\_playbook + +• **has\_playbook**: `boolean` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1015](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1015) + +___ + +### high\_risk\_count + +• **high\_risk\_count**: `number` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1063](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1063) + +___ + +### impacted\_systems\_count + +• **impacted\_systems\_count**: `number` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1021](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1021) + +___ + +### incident\_count + +• **incident\_count**: `number` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1051](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1051) + +___ + +### low\_risk\_count + +• **low\_risk\_count**: `number` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1075](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1075) + +___ + +### medium\_risk\_count + +• **medium\_risk\_count**: `number` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1069](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1069) + +___ + +### name + +• **name**: `string` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:985](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L985) + +___ + +### publish\_date + +• **publish\_date**: `string` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1009](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1009) + +___ + +### reboot\_required + +• **reboot\_required**: `boolean` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1027](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1027) + +___ + +### recommendation\_level + +• **recommendation\_level**: `number` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1045](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1045) + +___ + +### resolution\_risk + +• **resolution\_risk**: [`ResolutionRisk`](ResolutionRisk.md) + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:1003](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1003) + +___ + +### slug + +• **slug**: `string` + +**`Memberof`** + +Pathway + +#### Defined in + +[api.ts:979](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L979) diff --git a/packages/insights/doc/interfaces/PathwayInput.md b/packages/insights/doc/interfaces/PathwayInput.md new file mode 100644 index 000000000..49aac2378 --- /dev/null +++ b/packages/insights/doc/interfaces/PathwayInput.md @@ -0,0 +1,91 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PathwayInput + +# Interface: PathwayInput + +Serializer specifically for handling CREATE and UPDATE views for Pathways + +**`Export`** + +**`Interface`** + +PathwayInput + +## Table of contents + +### Properties + +- [component](PathwayInput.md#component) +- [description](PathwayInput.md#description) +- [name](PathwayInput.md#name) +- [publish\_date](PathwayInput.md#publish_date) +- [resolution\_risk](PathwayInput.md#resolution_risk) + +## Properties + +### component + +• **component**: `string` + +**`Memberof`** + +PathwayInput + +#### Defined in + +[api.ts:1100](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1100) + +___ + +### description + +• **description**: `string` + +**`Memberof`** + +PathwayInput + +#### Defined in + +[api.ts:1094](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1094) + +___ + +### name + +• **name**: `string` + +**`Memberof`** + +PathwayInput + +#### Defined in + +[api.ts:1088](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1088) + +___ + +### publish\_date + +• **publish\_date**: `string` + +**`Memberof`** + +PathwayInput + +#### Defined in + +[api.ts:1112](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1112) + +___ + +### resolution\_risk + +• **resolution\_risk**: `string` + +**`Memberof`** + +PathwayInput + +#### Defined in + +[api.ts:1106](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1106) diff --git a/packages/insights/doc/interfaces/PreferencesInput.md b/packages/insights/doc/interfaces/PreferencesInput.md new file mode 100644 index 000000000..26c3208b1 --- /dev/null +++ b/packages/insights/doc/interfaces/PreferencesInput.md @@ -0,0 +1,31 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / PreferencesInput + +# Interface: PreferencesInput + +User preferences - separated from account settings. + +**`Export`** + +**`Interface`** + +PreferencesInput + +## Table of contents + +### Properties + +- [is\_subscribed](PreferencesInput.md#is_subscribed) + +## Properties + +### is\_subscribed + +• **is\_subscribed**: `boolean` + +**`Memberof`** + +PreferencesInput + +#### Defined in + +[api.ts:1125](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1125) diff --git a/packages/insights/doc/interfaces/Report.md b/packages/insights/doc/interfaces/Report.md new file mode 100644 index 000000000..7b89ca772 --- /dev/null +++ b/packages/insights/doc/interfaces/Report.md @@ -0,0 +1,78 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / Report + +# Interface: Report + +**`Export`** + +**`Interface`** + +Report + +## Table of contents + +### Properties + +- [details](Report.md#details) +- [impacted\_date](Report.md#impacted_date) +- [resolution](Report.md#resolution) +- [rule](Report.md#rule) + +## Properties + +### details + +• **details**: `Object` + +**`Memberof`** + +Report + +#### Index signature + +▪ [key: `string`]: `any` + +#### Defined in + +[api.ts:1144](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1144) + +___ + +### impacted\_date + +• **impacted\_date**: `string` + +**`Memberof`** + +Report + +#### Defined in + +[api.ts:1156](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1156) + +___ + +### resolution + +• **resolution**: [`Resolution`](Resolution.md) + +**`Memberof`** + +Report + +#### Defined in + +[api.ts:1150](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1150) + +___ + +### rule + +• **rule**: [`Rule`](Rule.md) + +**`Memberof`** + +Report + +#### Defined in + +[api.ts:1138](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1138) diff --git a/packages/insights/doc/interfaces/ReportExport.md b/packages/insights/doc/interfaces/ReportExport.md new file mode 100644 index 000000000..41f3d1daf --- /dev/null +++ b/packages/insights/doc/interfaces/ReportExport.md @@ -0,0 +1,110 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / ReportExport + +# Interface: ReportExport + +Report information for export. Based on CurrentReport with fields from Rule and Host pulled through for convenience. + +**`Export`** + +**`Interface`** + +ReportExport + +## Table of contents + +### Properties + +- [details](ReportExport.md#details) +- [host\_id](ReportExport.md#host_id) +- [impacted\_date](ReportExport.md#impacted_date) +- [report\_time](ReportExport.md#report_time) +- [reports\_url](ReportExport.md#reports_url) +- [rule\_id](ReportExport.md#rule_id) + +## Properties + +### details + +• **details**: `Object` + +**`Memberof`** + +ReportExport + +#### Index signature + +▪ [key: `string`]: `any` + +#### Defined in + +[api.ts:1193](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1193) + +___ + +### host\_id + +• **host\_id**: `string` + +**`Memberof`** + +ReportExport + +#### Defined in + +[api.ts:1175](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1175) + +___ + +### impacted\_date + +• **impacted\_date**: `string` + +**`Memberof`** + +ReportExport + +#### Defined in + +[api.ts:1199](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1199) + +___ + +### report\_time + +• **report\_time**: `string` + +**`Memberof`** + +ReportExport + +#### Defined in + +[api.ts:1187](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1187) + +___ + +### reports\_url + +• **reports\_url**: `string` + +**`Memberof`** + +ReportExport + +#### Defined in + +[api.ts:1181](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1181) + +___ + +### rule\_id + +• **rule\_id**: `string` + +**`Memberof`** + +ReportExport + +#### Defined in + +[api.ts:1169](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1169) diff --git a/packages/insights/doc/interfaces/Resolution.md b/packages/insights/doc/interfaces/Resolution.md new file mode 100644 index 000000000..e5272953e --- /dev/null +++ b/packages/insights/doc/interfaces/Resolution.md @@ -0,0 +1,74 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / Resolution + +# Interface: Resolution + +**`Export`** + +**`Interface`** + +Resolution + +## Table of contents + +### Properties + +- [has\_playbook](Resolution.md#has_playbook) +- [resolution](Resolution.md#resolution) +- [resolution\_risk](Resolution.md#resolution_risk) +- [system\_type](Resolution.md#system_type) + +## Properties + +### has\_playbook + +• **has\_playbook**: `boolean` + +**`Memberof`** + +Resolution + +#### Defined in + +[api.ts:1230](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1230) + +___ + +### resolution + +• **resolution**: `string` + +**`Memberof`** + +Resolution + +#### Defined in + +[api.ts:1218](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1218) + +___ + +### resolution\_risk + +• **resolution\_risk**: [`ResolutionRisk`](ResolutionRisk.md) + +**`Memberof`** + +Resolution + +#### Defined in + +[api.ts:1224](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1224) + +___ + +### system\_type + +• **system\_type**: `number` + +**`Memberof`** + +Resolution + +#### Defined in + +[api.ts:1212](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1212) diff --git a/packages/insights/doc/interfaces/ResolutionRisk.md b/packages/insights/doc/interfaces/ResolutionRisk.md new file mode 100644 index 000000000..b26493dff --- /dev/null +++ b/packages/insights/doc/interfaces/ResolutionRisk.md @@ -0,0 +1,44 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / ResolutionRisk + +# Interface: ResolutionRisk + +**`Export`** + +**`Interface`** + +ResolutionRisk + +## Table of contents + +### Properties + +- [name](ResolutionRisk.md#name) +- [risk](ResolutionRisk.md#risk) + +## Properties + +### name + +• `Optional` **name**: `string` + +**`Memberof`** + +ResolutionRisk + +#### Defined in + +[api.ts:1243](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1243) + +___ + +### risk + +• `Optional` **risk**: `number` + +**`Memberof`** + +ResolutionRisk + +#### Defined in + +[api.ts:1249](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1249) diff --git a/packages/insights/doc/interfaces/Rule.md b/packages/insights/doc/interfaces/Rule.md new file mode 100644 index 000000000..1f418248e --- /dev/null +++ b/packages/insights/doc/interfaces/Rule.md @@ -0,0 +1,305 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / Rule + +# Interface: Rule + +The standard rule information. Used for models and relations that don\'t know the account and therefore can\'t know the acks or impacted systems. + +**`Export`** + +**`Interface`** + +Rule + +## Table of contents + +### Properties + +- [active](Rule.md#active) +- [category](Rule.md#category) +- [created\_at](Rule.md#created_at) +- [deleted\_at](Rule.md#deleted_at) +- [description](Rule.md#description) +- [generic](Rule.md#generic) +- [impact](Rule.md#impact) +- [likelihood](Rule.md#likelihood) +- [more\_info](Rule.md#more_info) +- [node\_id](Rule.md#node_id) +- [publish\_date](Rule.md#publish_date) +- [reason](Rule.md#reason) +- [reboot\_required](Rule.md#reboot_required) +- [resolution\_set](Rule.md#resolution_set) +- [rule\_id](Rule.md#rule_id) +- [summary](Rule.md#summary) +- [tags](Rule.md#tags) +- [total\_risk](Rule.md#total_risk) +- [updated\_at](Rule.md#updated_at) + +## Properties + +### active + +• `Optional` **active**: `boolean` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1292](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1292) + +___ + +### category + +• **category**: [`RuleCategory`](RuleCategory.md) + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1298](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1298) + +___ + +### created\_at + +• **created\_at**: `string` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1268](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1268) + +___ + +### deleted\_at + +• `Optional` **deleted\_at**: `string` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1280](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1280) + +___ + +### description + +• **description**: `string` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1286](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1286) + +___ + +### generic + +• **generic**: `string` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1346](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1346) + +___ + +### impact + +• **impact**: [`RuleImpact`](RuleImpact.md) + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1304](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1304) + +___ + +### likelihood + +• `Optional` **likelihood**: `number` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1310](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1310) + +___ + +### more\_info + +• `Optional` **more\_info**: `string` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1358](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1358) + +___ + +### node\_id + +• `Optional` **node\_id**: `string` + +KCS solution number + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1316](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1316) + +___ + +### publish\_date + +• `Optional` **publish\_date**: `string` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1334](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1334) + +___ + +### reason + +• **reason**: `string` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1352](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1352) + +___ + +### reboot\_required + +• `Optional` **reboot\_required**: `boolean` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1328](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1328) + +___ + +### resolution\_set + +• **resolution\_set**: [`Resolution`](Resolution.md)[] + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1364](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1364) + +___ + +### rule\_id + +• **rule\_id**: `string` + +Rule ID from Insights + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1262](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1262) + +___ + +### summary + +• **summary**: `string` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1340](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1340) + +___ + +### tags + +• **tags**: `string` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1322](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1322) + +___ + +### total\_risk + +• `Optional` **total\_risk**: `number` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1370](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1370) + +___ + +### updated\_at + +• **updated\_at**: `string` + +**`Memberof`** + +Rule + +#### Defined in + +[api.ts:1274](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1274) diff --git a/packages/insights/doc/interfaces/RuleCategory.md b/packages/insights/doc/interfaces/RuleCategory.md index e9cc24a80..9a85595c2 100644 --- a/packages/insights/doc/interfaces/RuleCategory.md +++ b/packages/insights/doc/interfaces/RuleCategory.md @@ -27,7 +27,7 @@ RuleCategory #### Defined in -[api.ts:52](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L52) +[api.ts:1383](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1383) ___ @@ -41,4 +41,4 @@ RuleCategory #### Defined in -[api.ts:58](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L58) +[api.ts:1389](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1389) diff --git a/packages/insights/doc/interfaces/RuleExport.md b/packages/insights/doc/interfaces/RuleExport.md new file mode 100644 index 000000000..4f7164461 --- /dev/null +++ b/packages/insights/doc/interfaces/RuleExport.md @@ -0,0 +1,395 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RuleExport + +# Interface: RuleExport + +Rule information for export. + +**`Export`** + +**`Interface`** + +RuleExport + +## Table of contents + +### Properties + +- [active](RuleExport.md#active) +- [category](RuleExport.md#category) +- [created\_at](RuleExport.md#created_at) +- [deleted\_at](RuleExport.md#deleted_at) +- [description](RuleExport.md#description) +- [generic](RuleExport.md#generic) +- [hosts\_acked\_count](RuleExport.md#hosts_acked_count) +- [impact](RuleExport.md#impact) +- [impacted\_systems\_count](RuleExport.md#impacted_systems_count) +- [likelihood](RuleExport.md#likelihood) +- [more\_info](RuleExport.md#more_info) +- [node\_id](RuleExport.md#node_id) +- [playbook\_count](RuleExport.md#playbook_count) +- [publish\_date](RuleExport.md#publish_date) +- [rating](RuleExport.md#rating) +- [reason](RuleExport.md#reason) +- [reboot\_required](RuleExport.md#reboot_required) +- [reports\_shown](RuleExport.md#reports_shown) +- [resolution\_set](RuleExport.md#resolution_set) +- [rule\_id](RuleExport.md#rule_id) +- [rule\_status](RuleExport.md#rule_status) +- [summary](RuleExport.md#summary) +- [tags](RuleExport.md#tags) +- [total\_risk](RuleExport.md#total_risk) +- [updated\_at](RuleExport.md#updated_at) + +## Properties + +### active + +• `Optional` **active**: `boolean` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1432](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1432) + +___ + +### category + +• **category**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1438](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1438) + +___ + +### created\_at + +• **created\_at**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1408](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1408) + +___ + +### deleted\_at + +• **deleted\_at**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1420](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1420) + +___ + +### description + +• **description**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1426](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1426) + +___ + +### generic + +• **generic**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1492](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1492) + +___ + +### hosts\_acked\_count + +• **hosts\_acked\_count**: `number` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1534](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1534) + +___ + +### impact + +• **impact**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1444](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1444) + +___ + +### impacted\_systems\_count + +• **impacted\_systems\_count**: `number` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1510](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1510) + +___ + +### likelihood + +• `Optional` **likelihood**: `number` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1450](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1450) + +___ + +### more\_info + +• `Optional` **more\_info**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1504](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1504) + +___ + +### node\_id + +• `Optional` **node\_id**: `string` + +KCS solution number + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1456](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1456) + +___ + +### playbook\_count + +• **playbook\_count**: `number` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1468](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1468) + +___ + +### publish\_date + +• `Optional` **publish\_date**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1480](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1480) + +___ + +### rating + +• **rating**: `number` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1540](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1540) + +___ + +### reason + +• **reason**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1498](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1498) + +___ + +### reboot\_required + +• `Optional` **reboot\_required**: `boolean` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1474](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1474) + +___ + +### reports\_shown + +• **reports\_shown**: `boolean` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1546](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1546) + +___ + +### resolution\_set + +• **resolution\_set**: [`Resolution`](Resolution.md)[] + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1522](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1522) + +___ + +### rule\_id + +• **rule\_id**: `string` + +Rule ID from Insights + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1402](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1402) + +___ + +### rule\_status + +• **rule\_status**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1516](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1516) + +___ + +### summary + +• **summary**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1486](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1486) + +___ + +### tags + +• **tags**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1462](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1462) + +___ + +### total\_risk + +• `Optional` **total\_risk**: `number` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1528](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1528) + +___ + +### updated\_at + +• **updated\_at**: `string` + +**`Memberof`** + +RuleExport + +#### Defined in + +[api.ts:1414](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1414) diff --git a/packages/insights/doc/interfaces/RuleForAccount.md b/packages/insights/doc/interfaces/RuleForAccount.md new file mode 100644 index 000000000..a5b7c88d6 --- /dev/null +++ b/packages/insights/doc/interfaces/RuleForAccount.md @@ -0,0 +1,410 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RuleForAccount + +# Interface: RuleForAccount + +Rule information when we know the account, and therefore can calculate the number of impacted systems and the reports_shown/rule_status flags. We have to declare those explicitly here because they\'re not part of the model. + +**`Export`** + +**`Interface`** + +RuleForAccount + +## Table of contents + +### Properties + +- [active](RuleForAccount.md#active) +- [category](RuleForAccount.md#category) +- [created\_at](RuleForAccount.md#created_at) +- [deleted\_at](RuleForAccount.md#deleted_at) +- [description](RuleForAccount.md#description) +- [generic](RuleForAccount.md#generic) +- [hosts\_acked\_count](RuleForAccount.md#hosts_acked_count) +- [impact](RuleForAccount.md#impact) +- [impacted\_systems\_count](RuleForAccount.md#impacted_systems_count) +- [likelihood](RuleForAccount.md#likelihood) +- [more\_info](RuleForAccount.md#more_info) +- [node\_id](RuleForAccount.md#node_id) +- [pathway](RuleForAccount.md#pathway) +- [playbook\_count](RuleForAccount.md#playbook_count) +- [publish\_date](RuleForAccount.md#publish_date) +- [rating](RuleForAccount.md#rating) +- [reason](RuleForAccount.md#reason) +- [reboot\_required](RuleForAccount.md#reboot_required) +- [reports\_shown](RuleForAccount.md#reports_shown) +- [resolution\_set](RuleForAccount.md#resolution_set) +- [rule\_id](RuleForAccount.md#rule_id) +- [rule\_status](RuleForAccount.md#rule_status) +- [summary](RuleForAccount.md#summary) +- [tags](RuleForAccount.md#tags) +- [total\_risk](RuleForAccount.md#total_risk) +- [updated\_at](RuleForAccount.md#updated_at) + +## Properties + +### active + +• `Optional` **active**: `boolean` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1589](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1589) + +___ + +### category + +• **category**: [`RuleCategory`](RuleCategory.md) + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1595](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1595) + +___ + +### created\_at + +• **created\_at**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1565](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1565) + +___ + +### deleted\_at + +• `Optional` **deleted\_at**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1577](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1577) + +___ + +### description + +• **description**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1583](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1583) + +___ + +### generic + +• **generic**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1649](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1649) + +___ + +### hosts\_acked\_count + +• **hosts\_acked\_count**: `number` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1697](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1697) + +___ + +### impact + +• **impact**: [`RuleImpact`](RuleImpact.md) + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1601](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1601) + +___ + +### impacted\_systems\_count + +• **impacted\_systems\_count**: `number` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1667](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1667) + +___ + +### likelihood + +• `Optional` **likelihood**: `number` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1607](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1607) + +___ + +### more\_info + +• `Optional` **more\_info**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1661](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1661) + +___ + +### node\_id + +• `Optional` **node\_id**: `string` + +KCS solution number + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1613](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1613) + +___ + +### pathway + +• `Optional` **pathway**: [`RulePathway`](RulePathway.md) + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1709](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1709) + +___ + +### playbook\_count + +• **playbook\_count**: `number` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1625](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1625) + +___ + +### publish\_date + +• `Optional` **publish\_date**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1637](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1637) + +___ + +### rating + +• **rating**: `number` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1703](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1703) + +___ + +### reason + +• **reason**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1655](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1655) + +___ + +### reboot\_required + +• `Optional` **reboot\_required**: `boolean` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1631](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1631) + +___ + +### reports\_shown + +• **reports\_shown**: `boolean` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1673](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1673) + +___ + +### resolution\_set + +• **resolution\_set**: [`Resolution`](Resolution.md)[] + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1685](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1685) + +___ + +### rule\_id + +• **rule\_id**: `string` + +Rule ID from Insights + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1559](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1559) + +___ + +### rule\_status + +• **rule\_status**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1679](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1679) + +___ + +### summary + +• **summary**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1643](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1643) + +___ + +### tags + +• **tags**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1619](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1619) + +___ + +### total\_risk + +• `Optional` **total\_risk**: `number` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1691](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1691) + +___ + +### updated\_at + +• **updated\_at**: `string` + +**`Memberof`** + +RuleForAccount + +#### Defined in + +[api.ts:1571](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1571) diff --git a/packages/insights/doc/interfaces/RuleImpact.md b/packages/insights/doc/interfaces/RuleImpact.md new file mode 100644 index 000000000..477f8c686 --- /dev/null +++ b/packages/insights/doc/interfaces/RuleImpact.md @@ -0,0 +1,44 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RuleImpact + +# Interface: RuleImpact + +**`Export`** + +**`Interface`** + +RuleImpact + +## Table of contents + +### Properties + +- [impact](RuleImpact.md#impact) +- [name](RuleImpact.md#name) + +## Properties + +### impact + +• `Optional` **impact**: `number` + +**`Memberof`** + +RuleImpact + +#### Defined in + +[api.ts:1728](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1728) + +___ + +### name + +• `Optional` **name**: `string` + +**`Memberof`** + +RuleImpact + +#### Defined in + +[api.ts:1722](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1722) diff --git a/packages/insights/doc/interfaces/RulePathway.md b/packages/insights/doc/interfaces/RulePathway.md new file mode 100644 index 000000000..6c4d19ef0 --- /dev/null +++ b/packages/insights/doc/interfaces/RulePathway.md @@ -0,0 +1,59 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RulePathway + +# Interface: RulePathway + +**`Export`** + +**`Interface`** + +RulePathway + +## Table of contents + +### Properties + +- [component](RulePathway.md#component) +- [name](RulePathway.md#name) +- [resolution\_risk](RulePathway.md#resolution_risk) + +## Properties + +### component + +• **component**: `string` + +**`Memberof`** + +RulePathway + +#### Defined in + +[api.ts:1747](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1747) + +___ + +### name + +• **name**: `string` + +**`Memberof`** + +RulePathway + +#### Defined in + +[api.ts:1741](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1741) + +___ + +### resolution\_risk + +• **resolution\_risk**: [`ResolutionRisk`](ResolutionRisk.md) + +**`Memberof`** + +RulePathway + +#### Defined in + +[api.ts:1753](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1753) diff --git a/packages/insights/doc/interfaces/RuleRating.md b/packages/insights/doc/interfaces/RuleRating.md new file mode 100644 index 000000000..e5efb9de9 --- /dev/null +++ b/packages/insights/doc/interfaces/RuleRating.md @@ -0,0 +1,46 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RuleRating + +# Interface: RuleRating + +Rule ratings list the rating (-1, 0 or +1) for one or more rules. The rule is listed by its Insights Rule ID. + +**`Export`** + +**`Interface`** + +RuleRating + +## Table of contents + +### Properties + +- [rating](RuleRating.md#rating) +- [rule](RuleRating.md#rule) + +## Properties + +### rating + +• **rating**: [`RuleRatingRatingEnum`](../enums/RuleRatingRatingEnum.md) + +**`Memberof`** + +RuleRating + +#### Defined in + +[api.ts:1772](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1772) + +___ + +### rule + +• **rule**: `string` + +**`Memberof`** + +RuleRating + +#### Defined in + +[api.ts:1766](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1766) diff --git a/packages/insights/doc/interfaces/RuleRatingStats.md b/packages/insights/doc/interfaces/RuleRatingStats.md new file mode 100644 index 000000000..f493b6444 --- /dev/null +++ b/packages/insights/doc/interfaces/RuleRatingStats.md @@ -0,0 +1,76 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RuleRatingStats + +# Interface: RuleRatingStats + +Output of statistics view of rule ratings - rule ID and totals of ratings. + +**`Export`** + +**`Interface`** + +RuleRatingStats + +## Table of contents + +### Properties + +- [rule](RuleRatingStats.md#rule) +- [total\_negative](RuleRatingStats.md#total_negative) +- [total\_positive](RuleRatingStats.md#total_positive) +- [total\_ratings](RuleRatingStats.md#total_ratings) + +## Properties + +### rule + +• **rule**: `string` + +**`Memberof`** + +RuleRatingStats + +#### Defined in + +[api.ts:1796](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1796) + +___ + +### total\_negative + +• **total\_negative**: `number` + +**`Memberof`** + +RuleRatingStats + +#### Defined in + +[api.ts:1814](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1814) + +___ + +### total\_positive + +• **total\_positive**: `number` + +**`Memberof`** + +RuleRatingStats + +#### Defined in + +[api.ts:1808](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1808) + +___ + +### total\_ratings + +• **total\_ratings**: `number` + +**`Memberof`** + +RuleRatingStats + +#### Defined in + +[api.ts:1802](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1802) diff --git a/packages/insights/doc/interfaces/RuleSystemsExport.md b/packages/insights/doc/interfaces/RuleSystemsExport.md new file mode 100644 index 000000000..8298835a8 --- /dev/null +++ b/packages/insights/doc/interfaces/RuleSystemsExport.md @@ -0,0 +1,35 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RuleSystemsExport + +# Interface: RuleSystemsExport + +List of systems with current reports for each rule. + +**`Export`** + +**`Interface`** + +RuleSystemsExport + +## Table of contents + +### Properties + +- [rules](RuleSystemsExport.md#rules) + +## Properties + +### rules + +• **rules**: `Object` + +**`Memberof`** + +RuleSystemsExport + +#### Index signature + +▪ [key: `string`]: `string`[] + +#### Defined in + +[api.ts:1827](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1827) diff --git a/packages/insights/doc/interfaces/RuleUsageStats.md b/packages/insights/doc/interfaces/RuleUsageStats.md new file mode 100644 index 000000000..5dc8449ab --- /dev/null +++ b/packages/insights/doc/interfaces/RuleUsageStats.md @@ -0,0 +1,106 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / RuleUsageStats + +# Interface: RuleUsageStats + +Rule usage statistics for rule developers. + +**`Export`** + +**`Interface`** + +RuleUsageStats + +## Table of contents + +### Properties + +- [accounts\_acked](RuleUsageStats.md#accounts_acked) +- [accounts\_hit](RuleUsageStats.md#accounts_hit) +- [active](RuleUsageStats.md#active) +- [description](RuleUsageStats.md#description) +- [rule\_id](RuleUsageStats.md#rule_id) +- [systems\_hit](RuleUsageStats.md#systems_hit) + +## Properties + +### accounts\_acked + +• **accounts\_acked**: `number` + +**`Memberof`** + +RuleUsageStats + +#### Defined in + +[api.ts:1870](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1870) + +___ + +### accounts\_hit + +• **accounts\_hit**: `number` + +**`Memberof`** + +RuleUsageStats + +#### Defined in + +[api.ts:1864](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1864) + +___ + +### active + +• **active**: `boolean` + +**`Memberof`** + +RuleUsageStats + +#### Defined in + +[api.ts:1852](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1852) + +___ + +### description + +• **description**: `string` + +**`Memberof`** + +RuleUsageStats + +#### Defined in + +[api.ts:1846](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1846) + +___ + +### rule\_id + +• **rule\_id**: `string` + +**`Memberof`** + +RuleUsageStats + +#### Defined in + +[api.ts:1840](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1840) + +___ + +### systems\_hit + +• **systems\_hit**: `number` + +**`Memberof`** + +RuleUsageStats + +#### Defined in + +[api.ts:1858](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1858) diff --git a/packages/insights/doc/interfaces/SettingDDF.md b/packages/insights/doc/interfaces/SettingDDF.md new file mode 100644 index 000000000..a8f4c77be --- /dev/null +++ b/packages/insights/doc/interfaces/SettingDDF.md @@ -0,0 +1,151 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / SettingDDF + +# Interface: SettingDDF + +Outputs the description of the settings in a Data-Driven Forms format. + +**`Export`** + +**`Interface`** + +SettingDDF + +## Table of contents + +### Properties + +- [component](SettingDDF.md#component) +- [description](SettingDDF.md#description) +- [helperText](SettingDDF.md#helpertext) +- [initialValue](SettingDDF.md#initialvalue) +- [isDisabled](SettingDDF.md#isdisabled) +- [isRequired](SettingDDF.md#isrequired) +- [label](SettingDDF.md#label) +- [name](SettingDDF.md#name) +- [title](SettingDDF.md#title) + +## Properties + +### component + +• **component**: `string` + +**`Memberof`** + +SettingDDF + +#### Defined in + +[api.ts:1913](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1913) + +___ + +### description + +• `Optional` **description**: `string` + +**`Memberof`** + +SettingDDF + +#### Defined in + +[api.ts:1901](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1901) + +___ + +### helperText + +• `Optional` **helperText**: `string` + +**`Memberof`** + +SettingDDF + +#### Defined in + +[api.ts:1907](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1907) + +___ + +### initialValue + +• **initialValue**: `boolean` + +**`Memberof`** + +SettingDDF + +#### Defined in + +[api.ts:1925](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1925) + +___ + +### isDisabled + +• **isDisabled**: `boolean` + +**`Memberof`** + +SettingDDF + +#### Defined in + +[api.ts:1931](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1931) + +___ + +### isRequired + +• **isRequired**: `boolean` + +**`Memberof`** + +SettingDDF + +#### Defined in + +[api.ts:1919](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1919) + +___ + +### label + +• `Optional` **label**: `string` + +**`Memberof`** + +SettingDDF + +#### Defined in + +[api.ts:1889](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1889) + +___ + +### name + +• **name**: `string` + +**`Memberof`** + +SettingDDF + +#### Defined in + +[api.ts:1883](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1883) + +___ + +### title + +• `Optional` **title**: `string` + +**`Memberof`** + +SettingDDF + +#### Defined in + +[api.ts:1895](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1895) diff --git a/packages/insights/doc/interfaces/SettingsDDF.md b/packages/insights/doc/interfaces/SettingsDDF.md new file mode 100644 index 000000000..b45af2a22 --- /dev/null +++ b/packages/insights/doc/interfaces/SettingsDDF.md @@ -0,0 +1,31 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / SettingsDDF + +# Interface: SettingsDDF + +Combining the DDF fields into one \'fields\' object. + +**`Export`** + +**`Interface`** + +SettingsDDF + +## Table of contents + +### Properties + +- [fields](SettingsDDF.md#fields) + +## Properties + +### fields + +• **fields**: [`SettingDDF`](SettingDDF.md)[] + +**`Memberof`** + +SettingsDDF + +#### Defined in + +[api.ts:1944](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1944) diff --git a/packages/insights/doc/interfaces/Stats.md b/packages/insights/doc/interfaces/Stats.md new file mode 100644 index 000000000..3d46ac488 --- /dev/null +++ b/packages/insights/doc/interfaces/Stats.md @@ -0,0 +1,69 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / Stats + +# Interface: Stats + +Advisor rule or report frequency statisics. + +**`Export`** + +**`Interface`** + +Stats + +## Table of contents + +### Properties + +- [category](Stats.md#category) +- [total](Stats.md#total) +- [total\_risk](Stats.md#total_risk) + +## Properties + +### category + +• **category**: `Object` + +**`Memberof`** + +Stats + +#### Index signature + +▪ [key: `string`]: `number` + +#### Defined in + +[api.ts:1969](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1969) + +___ + +### total + +• **total**: `number` + +**`Memberof`** + +Stats + +#### Defined in + +[api.ts:1957](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1957) + +___ + +### total\_risk + +• **total\_risk**: `Object` + +**`Memberof`** + +Stats + +#### Index signature + +▪ [key: `string`]: `number` + +#### Defined in + +[api.ts:1963](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1963) diff --git a/packages/insights/doc/interfaces/SubscriptionExcludedAccount.md b/packages/insights/doc/interfaces/SubscriptionExcludedAccount.md new file mode 100644 index 000000000..34d0a05b0 --- /dev/null +++ b/packages/insights/doc/interfaces/SubscriptionExcludedAccount.md @@ -0,0 +1,44 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / SubscriptionExcludedAccount + +# Interface: SubscriptionExcludedAccount + +**`Export`** + +**`Interface`** + +SubscriptionExcludedAccount + +## Table of contents + +### Properties + +- [account](SubscriptionExcludedAccount.md#account) +- [org\_id](SubscriptionExcludedAccount.md#org_id) + +## Properties + +### account + +• `Optional` **account**: `string` + +**`Memberof`** + +SubscriptionExcludedAccount + +#### Defined in + +[api.ts:1988](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1988) + +___ + +### org\_id + +• **org\_id**: `string` + +**`Memberof`** + +SubscriptionExcludedAccount + +#### Defined in + +[api.ts:1982](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L1982) diff --git a/packages/insights/doc/interfaces/System.md b/packages/insights/doc/interfaces/System.md new file mode 100644 index 000000000..70c2d7a18 --- /dev/null +++ b/packages/insights/doc/interfaces/System.md @@ -0,0 +1,209 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / System + +# Interface: System + +**`Export`** + +**`Interface`** + +System + +## Table of contents + +### Properties + +- [all\_pathway\_hits](System.md#all_pathway_hits) +- [critical\_hits](System.md#critical_hits) +- [display\_name](System.md#display_name) +- [hits](System.md#hits) +- [important\_hits](System.md#important_hits) +- [incident\_hits](System.md#incident_hits) +- [last\_seen](System.md#last_seen) +- [low\_hits](System.md#low_hits) +- [moderate\_hits](System.md#moderate_hits) +- [pathway\_filter\_hits](System.md#pathway_filter_hits) +- [rhel\_version](System.md#rhel_version) +- [stale\_at](System.md#stale_at) +- [system\_uuid](System.md#system_uuid) + +## Properties + +### all\_pathway\_hits + +• **all\_pathway\_hits**: `number` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2061](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2061) + +___ + +### critical\_hits + +• **critical\_hits**: `number` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2031](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2031) + +___ + +### display\_name + +• **display\_name**: `string` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2007](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2007) + +___ + +### hits + +• **hits**: `number` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2025](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2025) + +___ + +### important\_hits + +• **important\_hits**: `number` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2037](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2037) + +___ + +### incident\_hits + +• **incident\_hits**: `number` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2055](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2055) + +___ + +### last\_seen + +• **last\_seen**: `string` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2013](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2013) + +___ + +### low\_hits + +• **low\_hits**: `number` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2049](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2049) + +___ + +### moderate\_hits + +• **moderate\_hits**: `number` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2043](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2043) + +___ + +### pathway\_filter\_hits + +• **pathway\_filter\_hits**: `number` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2067](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2067) + +___ + +### rhel\_version + +• **rhel\_version**: `string` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2073](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2073) + +___ + +### stale\_at + +• **stale\_at**: `string` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2019](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2019) + +___ + +### system\_uuid + +• **system\_uuid**: `string` + +**`Memberof`** + +System + +#### Defined in + +[api.ts:2001](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2001) diff --git a/packages/insights/doc/interfaces/SystemType.md b/packages/insights/doc/interfaces/SystemType.md index a6f43b009..eea30629a 100644 --- a/packages/insights/doc/interfaces/SystemType.md +++ b/packages/insights/doc/interfaces/SystemType.md @@ -30,7 +30,7 @@ SystemType #### Defined in -[api.ts:71](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L71) +[api.ts:2086](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2086) ___ @@ -44,7 +44,7 @@ SystemType #### Defined in -[api.ts:83](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L83) +[api.ts:2098](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2098) ___ @@ -58,4 +58,4 @@ SystemType #### Defined in -[api.ts:77](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L77) +[api.ts:2092](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2092) diff --git a/packages/insights/doc/interfaces/SystemsDetail.md b/packages/insights/doc/interfaces/SystemsDetail.md new file mode 100644 index 000000000..8fc8fc86a --- /dev/null +++ b/packages/insights/doc/interfaces/SystemsDetail.md @@ -0,0 +1,224 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / SystemsDetail + +# Interface: SystemsDetail + +**`Export`** + +**`Interface`** + +SystemsDetail + +## Table of contents + +### Properties + +- [all\_pathway\_hits](SystemsDetail.md#all_pathway_hits) +- [critical\_hits](SystemsDetail.md#critical_hits) +- [display\_name](SystemsDetail.md#display_name) +- [hits](SystemsDetail.md#hits) +- [impacted\_date](SystemsDetail.md#impacted_date) +- [important\_hits](SystemsDetail.md#important_hits) +- [incident\_hits](SystemsDetail.md#incident_hits) +- [last\_seen](SystemsDetail.md#last_seen) +- [low\_hits](SystemsDetail.md#low_hits) +- [moderate\_hits](SystemsDetail.md#moderate_hits) +- [pathway\_filter\_hits](SystemsDetail.md#pathway_filter_hits) +- [rhel\_version](SystemsDetail.md#rhel_version) +- [stale\_at](SystemsDetail.md#stale_at) +- [system\_uuid](SystemsDetail.md#system_uuid) + +## Properties + +### all\_pathway\_hits + +• **all\_pathway\_hits**: `number` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2171](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2171) + +___ + +### critical\_hits + +• **critical\_hits**: `number` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2141](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2141) + +___ + +### display\_name + +• **display\_name**: `string` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2117](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2117) + +___ + +### hits + +• **hits**: `number` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2135](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2135) + +___ + +### impacted\_date + +• **impacted\_date**: `string` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2189](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2189) + +___ + +### important\_hits + +• **important\_hits**: `number` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2147](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2147) + +___ + +### incident\_hits + +• **incident\_hits**: `number` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2165](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2165) + +___ + +### last\_seen + +• **last\_seen**: `string` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2123](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2123) + +___ + +### low\_hits + +• **low\_hits**: `number` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2159](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2159) + +___ + +### moderate\_hits + +• **moderate\_hits**: `number` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2153](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2153) + +___ + +### pathway\_filter\_hits + +• **pathway\_filter\_hits**: `number` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2177](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2177) + +___ + +### rhel\_version + +• **rhel\_version**: `string` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2183](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2183) + +___ + +### stale\_at + +• **stale\_at**: `string` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2129](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2129) + +___ + +### system\_uuid + +• **system\_uuid**: `string` + +**`Memberof`** + +SystemsDetail + +#### Defined in + +[api.ts:2111](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2111) diff --git a/packages/insights/doc/interfaces/SystemsForRule.md b/packages/insights/doc/interfaces/SystemsForRule.md new file mode 100644 index 000000000..6326d78c1 --- /dev/null +++ b/packages/insights/doc/interfaces/SystemsForRule.md @@ -0,0 +1,31 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / SystemsForRule + +# Interface: SystemsForRule + +The list of Inventory Host IDs that are (currently) affected by a given rule. + +**`Export`** + +**`Interface`** + +SystemsForRule + +## Table of contents + +### Properties + +- [host\_ids](SystemsForRule.md#host_ids) + +## Properties + +### host\_ids + +• **host\_ids**: `string`[] + +**`Memberof`** + +SystemsForRule + +#### Defined in + +[api.ts:2202](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2202) diff --git a/packages/insights/doc/interfaces/Topic.md b/packages/insights/doc/interfaces/Topic.md new file mode 100644 index 000000000..4a4894dff --- /dev/null +++ b/packages/insights/doc/interfaces/Topic.md @@ -0,0 +1,123 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / Topic + +# Interface: Topic + +Topics group rules by a tag shared by all the rules. + +**`Export`** + +**`Interface`** + +Topic + +## Table of contents + +### Properties + +- [description](Topic.md#description) +- [enabled](Topic.md#enabled) +- [featured](Topic.md#featured) +- [impacted\_systems\_count](Topic.md#impacted_systems_count) +- [name](Topic.md#name) +- [slug](Topic.md#slug) +- [tag](Topic.md#tag) + +## Properties + +### description + +• **description**: `string` + +**`Memberof`** + +Topic + +#### Defined in + +[api.ts:2227](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2227) + +___ + +### enabled + +• `Optional` **enabled**: `boolean` + +**`Memberof`** + +Topic + +#### Defined in + +[api.ts:2245](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2245) + +___ + +### featured + +• `Optional` **featured**: `boolean` + +**`Memberof`** + +Topic + +#### Defined in + +[api.ts:2239](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2239) + +___ + +### impacted\_systems\_count + +• **impacted\_systems\_count**: `number` + +**`Memberof`** + +Topic + +#### Defined in + +[api.ts:2251](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2251) + +___ + +### name + +• **name**: `string` + +**`Memberof`** + +Topic + +#### Defined in + +[api.ts:2215](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2215) + +___ + +### slug + +• **slug**: `string` + +Rule topic slug + +**`Memberof`** + +Topic + +#### Defined in + +[api.ts:2221](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2221) + +___ + +### tag + +• **tag**: `string` + +**`Memberof`** + +Topic + +#### Defined in + +[api.ts:2233](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2233) diff --git a/packages/insights/doc/interfaces/TopicEdit.md b/packages/insights/doc/interfaces/TopicEdit.md new file mode 100644 index 000000000..5e56a7a88 --- /dev/null +++ b/packages/insights/doc/interfaces/TopicEdit.md @@ -0,0 +1,108 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / TopicEdit + +# Interface: TopicEdit + +Create or edit topics. + +**`Export`** + +**`Interface`** + +TopicEdit + +## Table of contents + +### Properties + +- [description](TopicEdit.md#description) +- [enabled](TopicEdit.md#enabled) +- [featured](TopicEdit.md#featured) +- [name](TopicEdit.md#name) +- [slug](TopicEdit.md#slug) +- [tag](TopicEdit.md#tag) + +## Properties + +### description + +• **description**: `string` + +**`Memberof`** + +TopicEdit + +#### Defined in + +[api.ts:2276](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2276) + +___ + +### enabled + +• `Optional` **enabled**: `boolean` + +**`Memberof`** + +TopicEdit + +#### Defined in + +[api.ts:2294](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2294) + +___ + +### featured + +• `Optional` **featured**: `boolean` + +**`Memberof`** + +TopicEdit + +#### Defined in + +[api.ts:2288](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2288) + +___ + +### name + +• **name**: `string` + +**`Memberof`** + +TopicEdit + +#### Defined in + +[api.ts:2264](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2264) + +___ + +### slug + +• **slug**: `string` + +Rule topic slug + +**`Memberof`** + +TopicEdit + +#### Defined in + +[api.ts:2270](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2270) + +___ + +### tag + +• **tag**: `string` + +**`Memberof`** + +TopicEdit + +#### Defined in + +[api.ts:2282](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2282) diff --git a/packages/insights/doc/interfaces/Usage.md b/packages/insights/doc/interfaces/Usage.md new file mode 100644 index 000000000..6618a0069 --- /dev/null +++ b/packages/insights/doc/interfaces/Usage.md @@ -0,0 +1,31 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / Usage + +# Interface: Usage + +An approximation of the number of unique hits per day. + +**`Export`** + +**`Interface`** + +Usage + +## Table of contents + +### Properties + +- [unique\_hits](Usage.md#unique_hits) + +## Properties + +### unique\_hits + +• **unique\_hits**: `number` + +**`Memberof`** + +Usage + +#### Defined in + +[api.ts:2307](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2307) diff --git a/packages/insights/doc/interfaces/WeeklyReportSubscription.md b/packages/insights/doc/interfaces/WeeklyReportSubscription.md new file mode 100644 index 000000000..4a5a17bca --- /dev/null +++ b/packages/insights/doc/interfaces/WeeklyReportSubscription.md @@ -0,0 +1,29 @@ +[@redhat-cloud-services/insights-client](../README.md) / [Exports](../modules.md) / WeeklyReportSubscription + +# Interface: WeeklyReportSubscription + +**`Export`** + +**`Interface`** + +WeeklyReportSubscription + +## Table of contents + +### Properties + +- [is\_subscribed](WeeklyReportSubscription.md#is_subscribed) + +## Properties + +### is\_subscribed + +• **is\_subscribed**: `boolean` + +**`Memberof`** + +WeeklyReportSubscription + +#### Defined in + +[api.ts:2320](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2320) diff --git a/packages/insights/doc/modules.md b/packages/insights/doc/modules.md index d99518819..034e6adc7 100644 --- a/packages/insights/doc/modules.md +++ b/packages/insights/doc/modules.md @@ -4,43 +4,181 @@ ## Table of contents +### Enumerations + +- [AllRuleRatingsRatingEnum](enums/AllRuleRatingsRatingEnum.md) +- [RuleRatingRatingEnum](enums/RuleRatingRatingEnum.md) + ### Classes +- [AccountApi](classes/AccountApi.md) +- [AccountSettingApi](classes/AccountSettingApi.md) +- [AckApi](classes/AckApi.md) +- [AckcountApi](classes/AckcountApi.md) +- [AutosubexclusionApi](classes/AutosubexclusionApi.md) - [Configuration](classes/Configuration.md) +- [ExportApi](classes/ExportApi.md) +- [HostackApi](classes/HostackApi.md) - [KcsApi](classes/KcsApi.md) +- [PathwayApi](classes/PathwayApi.md) +- [RatingApi](classes/RatingApi.md) +- [RuleApi](classes/RuleApi.md) - [RulecategoryApi](classes/RulecategoryApi.md) +- [SettingsApi](classes/SettingsApi.md) +- [StatsApi](classes/StatsApi.md) - [StatusApi](classes/StatusApi.md) +- [SystemApi](classes/SystemApi.md) - [SystemtypeApi](classes/SystemtypeApi.md) +- [TopicApi](classes/TopicApi.md) +- [UsageApi](classes/UsageApi.md) +- [UserPreferencesApi](classes/UserPreferencesApi.md) +- [WeeklyreportautosubscribeApi](classes/WeeklyreportautosubscribeApi.md) +- [WeeklyreportsubscriptionApi](classes/WeeklyreportsubscriptionApi.md) ### Interfaces +- [Ack](interfaces/Ack.md) +- [AckCount](interfaces/AckCount.md) +- [AckInput](interfaces/AckInput.md) +- [AckJustification](interfaces/AckJustification.md) +- [AllAck](interfaces/AllAck.md) +- [AllRuleRatings](interfaces/AllRuleRatings.md) +- [AutoSubscribe](interfaces/AutoSubscribe.md) +- [AutoSubscribeInput](interfaces/AutoSubscribeInput.md) - [ConfigurationParameters](interfaces/ConfigurationParameters.md) +- [ExportHits](interfaces/ExportHits.md) +- [HostAck](interfaces/HostAck.md) +- [HostAckInput](interfaces/HostAckInput.md) +- [HostAckJustification](interfaces/HostAckJustification.md) +- [JustificationCount](interfaces/JustificationCount.md) - [Kcs](interfaces/Kcs.md) +- [MultiAckResponse](interfaces/MultiAckResponse.md) +- [MultiHostAck](interfaces/MultiHostAck.md) +- [MultiHostUnAck](interfaces/MultiHostUnAck.md) +- [OrgId](interfaces/OrgId.md) +- [PaginatedAckList](interfaces/PaginatedAckList.md) +- [PaginatedAckListLinks](interfaces/PaginatedAckListLinks.md) +- [PaginatedAckListMeta](interfaces/PaginatedAckListMeta.md) +- [PaginatedAllRuleRatingsList](interfaces/PaginatedAllRuleRatingsList.md) +- [PaginatedHostAckList](interfaces/PaginatedHostAckList.md) +- [PaginatedJustificationCountList](interfaces/PaginatedJustificationCountList.md) +- [PaginatedOrgIdList](interfaces/PaginatedOrgIdList.md) +- [PaginatedPathwayList](interfaces/PaginatedPathwayList.md) +- [PaginatedReportList](interfaces/PaginatedReportList.md) +- [PaginatedRuleForAccountList](interfaces/PaginatedRuleForAccountList.md) +- [PaginatedRuleList](interfaces/PaginatedRuleList.md) +- [PaginatedRuleRatingList](interfaces/PaginatedRuleRatingList.md) +- [PaginatedRuleRatingStatsList](interfaces/PaginatedRuleRatingStatsList.md) +- [PaginatedSubscriptionExcludedAccountList](interfaces/PaginatedSubscriptionExcludedAccountList.md) +- [PaginatedSystemList](interfaces/PaginatedSystemList.md) +- [PaginatedSystemsDetailList](interfaces/PaginatedSystemsDetailList.md) +- [PatchedTopicEdit](interfaces/PatchedTopicEdit.md) +- [Pathway](interfaces/Pathway.md) +- [PathwayInput](interfaces/PathwayInput.md) +- [PreferencesInput](interfaces/PreferencesInput.md) +- [Report](interfaces/Report.md) +- [ReportExport](interfaces/ReportExport.md) +- [Resolution](interfaces/Resolution.md) +- [ResolutionRisk](interfaces/ResolutionRisk.md) +- [Rule](interfaces/Rule.md) - [RuleCategory](interfaces/RuleCategory.md) +- [RuleExport](interfaces/RuleExport.md) +- [RuleForAccount](interfaces/RuleForAccount.md) +- [RuleImpact](interfaces/RuleImpact.md) +- [RulePathway](interfaces/RulePathway.md) +- [RuleRating](interfaces/RuleRating.md) +- [RuleRatingStats](interfaces/RuleRatingStats.md) +- [RuleSystemsExport](interfaces/RuleSystemsExport.md) +- [RuleUsageStats](interfaces/RuleUsageStats.md) +- [SettingDDF](interfaces/SettingDDF.md) +- [SettingsDDF](interfaces/SettingsDDF.md) +- [Stats](interfaces/Stats.md) +- [SubscriptionExcludedAccount](interfaces/SubscriptionExcludedAccount.md) +- [System](interfaces/System.md) - [SystemType](interfaces/SystemType.md) +- [SystemsDetail](interfaces/SystemsDetail.md) +- [SystemsForRule](interfaces/SystemsForRule.md) +- [Topic](interfaces/Topic.md) +- [TopicEdit](interfaces/TopicEdit.md) +- [Usage](interfaces/Usage.md) +- [WeeklyReportSubscription](interfaces/WeeklyReportSubscription.md) ### Functions +- [AccountApiAxiosParamCreator](modules.md#accountapiaxiosparamcreator) +- [AccountApiFactory](modules.md#accountapifactory) +- [AccountApiFp](modules.md#accountapifp) +- [AccountSettingApiAxiosParamCreator](modules.md#accountsettingapiaxiosparamcreator) +- [AccountSettingApiFactory](modules.md#accountsettingapifactory) +- [AccountSettingApiFp](modules.md#accountsettingapifp) +- [AckApiAxiosParamCreator](modules.md#ackapiaxiosparamcreator) +- [AckApiFactory](modules.md#ackapifactory) +- [AckApiFp](modules.md#ackapifp) +- [AckcountApiAxiosParamCreator](modules.md#ackcountapiaxiosparamcreator) +- [AckcountApiFactory](modules.md#ackcountapifactory) +- [AckcountApiFp](modules.md#ackcountapifp) +- [AutosubexclusionApiAxiosParamCreator](modules.md#autosubexclusionapiaxiosparamcreator) +- [AutosubexclusionApiFactory](modules.md#autosubexclusionapifactory) +- [AutosubexclusionApiFp](modules.md#autosubexclusionapifp) +- [ExportApiAxiosParamCreator](modules.md#exportapiaxiosparamcreator) +- [ExportApiFactory](modules.md#exportapifactory) +- [ExportApiFp](modules.md#exportapifp) +- [HostackApiAxiosParamCreator](modules.md#hostackapiaxiosparamcreator) +- [HostackApiFactory](modules.md#hostackapifactory) +- [HostackApiFp](modules.md#hostackapifp) - [KcsApiAxiosParamCreator](modules.md#kcsapiaxiosparamcreator) - [KcsApiFactory](modules.md#kcsapifactory) - [KcsApiFp](modules.md#kcsapifp) +- [PathwayApiAxiosParamCreator](modules.md#pathwayapiaxiosparamcreator) +- [PathwayApiFactory](modules.md#pathwayapifactory) +- [PathwayApiFp](modules.md#pathwayapifp) +- [RatingApiAxiosParamCreator](modules.md#ratingapiaxiosparamcreator) +- [RatingApiFactory](modules.md#ratingapifactory) +- [RatingApiFp](modules.md#ratingapifp) +- [RuleApiAxiosParamCreator](modules.md#ruleapiaxiosparamcreator) +- [RuleApiFactory](modules.md#ruleapifactory) +- [RuleApiFp](modules.md#ruleapifp) - [RulecategoryApiAxiosParamCreator](modules.md#rulecategoryapiaxiosparamcreator) - [RulecategoryApiFactory](modules.md#rulecategoryapifactory) - [RulecategoryApiFp](modules.md#rulecategoryapifp) +- [SettingsApiAxiosParamCreator](modules.md#settingsapiaxiosparamcreator) +- [SettingsApiFactory](modules.md#settingsapifactory) +- [SettingsApiFp](modules.md#settingsapifp) +- [StatsApiAxiosParamCreator](modules.md#statsapiaxiosparamcreator) +- [StatsApiFactory](modules.md#statsapifactory) +- [StatsApiFp](modules.md#statsapifp) - [StatusApiAxiosParamCreator](modules.md#statusapiaxiosparamcreator) - [StatusApiFactory](modules.md#statusapifactory) - [StatusApiFp](modules.md#statusapifp) +- [SystemApiAxiosParamCreator](modules.md#systemapiaxiosparamcreator) +- [SystemApiFactory](modules.md#systemapifactory) +- [SystemApiFp](modules.md#systemapifp) - [SystemtypeApiAxiosParamCreator](modules.md#systemtypeapiaxiosparamcreator) - [SystemtypeApiFactory](modules.md#systemtypeapifactory) - [SystemtypeApiFp](modules.md#systemtypeapifp) +- [TopicApiAxiosParamCreator](modules.md#topicapiaxiosparamcreator) +- [TopicApiFactory](modules.md#topicapifactory) +- [TopicApiFp](modules.md#topicapifp) +- [UsageApiAxiosParamCreator](modules.md#usageapiaxiosparamcreator) +- [UsageApiFactory](modules.md#usageapifactory) +- [UsageApiFp](modules.md#usageapifp) +- [UserPreferencesApiAxiosParamCreator](modules.md#userpreferencesapiaxiosparamcreator) +- [UserPreferencesApiFactory](modules.md#userpreferencesapifactory) +- [UserPreferencesApiFp](modules.md#userpreferencesapifp) +- [WeeklyreportautosubscribeApiAxiosParamCreator](modules.md#weeklyreportautosubscribeapiaxiosparamcreator) +- [WeeklyreportautosubscribeApiFactory](modules.md#weeklyreportautosubscribeapifactory) +- [WeeklyreportautosubscribeApiFp](modules.md#weeklyreportautosubscribeapifp) +- [WeeklyreportsubscriptionApiAxiosParamCreator](modules.md#weeklyreportsubscriptionapiaxiosparamcreator) +- [WeeklyreportsubscriptionApiFactory](modules.md#weeklyreportsubscriptionapifactory) +- [WeeklyreportsubscriptionApiFp](modules.md#weeklyreportsubscriptionapifp) ## Functions -### KcsApiAxiosParamCreator +### AccountApiAxiosParamCreator -▸ **KcsApiAxiosParamCreator**(`configuration?`): `Object` +▸ **AccountApiAxiosParamCreator**(`configuration?`): `Object` -KcsApi - axios parameter creator +AccountApi - axios parameter creator **`Export`** @@ -56,20 +194,21 @@ KcsApi - axios parameter creator | Name | Type | | :------ | :------ | -| `kcsList` | (`nodeIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | -| `kcsRetrieve` | (`nodeId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `accountHostsRetrieve` | (`orgId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `accountList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `accountRetrieve` | (`orgId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | #### Defined in -[api.ts:90](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L90) +[api.ts:2327](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2327) ___ -### KcsApiFactory +### AccountApiFactory -▸ **KcsApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` +▸ **AccountApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` -KcsApi - factory interface +AccountApi - factory interface **`Export`** @@ -87,20 +226,21 @@ KcsApi - factory interface | Name | Type | | :------ | :------ | -| `kcsList` | (`nodeIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`Kcs`](interfaces/Kcs.md)[]\> | -| `kcsRetrieve` | (`nodeId`: `string`, `options?`: `any`) => `AxiosPromise`<`string`[]\> | +| `accountHostsRetrieve` | (`orgId`: `string`, `options?`: `any`) => `AxiosPromise`<[`OrgId`](interfaces/OrgId.md)\> | +| `accountList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `AxiosPromise`<[`PaginatedOrgIdList`](interfaces/PaginatedOrgIdList.md)\> | +| `accountRetrieve` | (`orgId`: `string`, `options?`: `any`) => `AxiosPromise`<[`OrgId`](interfaces/OrgId.md)\> | #### Defined in -[api.ts:203](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L203) +[api.ts:2518](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2518) ___ -### KcsApiFp +### AccountApiFp -▸ **KcsApiFp**(`configuration?`): `Object` +▸ **AccountApiFp**(`configuration?`): `Object` -KcsApi - functional programming interface +AccountApi - functional programming interface **`Export`** @@ -116,20 +256,21 @@ KcsApi - functional programming interface | Name | Type | | :------ | :------ | -| `kcsList` | (`nodeIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Kcs`](interfaces/Kcs.md)[]\>\> | -| `kcsRetrieve` | (`nodeId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`string`[]\>\> | +| `accountHostsRetrieve` | (`orgId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`OrgId`](interfaces/OrgId.md)\>\> | +| `accountList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedOrgIdList`](interfaces/PaginatedOrgIdList.md)\>\> | +| `accountRetrieve` | (`orgId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`OrgId`](interfaces/OrgId.md)\>\> | #### Defined in -[api.ts:168](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L168) +[api.ts:2469](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2469) ___ -### RulecategoryApiAxiosParamCreator +### AccountSettingApiAxiosParamCreator -▸ **RulecategoryApiAxiosParamCreator**(`configuration?`): `Object` +▸ **AccountSettingApiAxiosParamCreator**(`configuration?`): `Object` -RulecategoryApi - axios parameter creator +AccountSettingApi - axios parameter creator **`Export`** @@ -145,20 +286,20 @@ RulecategoryApi - axios parameter creator | Name | Type | | :------ | :------ | -| `rulecategoryList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | -| `rulecategoryRetrieve` | (`id`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `accountSettingCreate` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `accountSettingRetrieve` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | #### Defined in -[api.ts:262](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L262) +[api.ts:2599](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2599) ___ -### RulecategoryApiFactory +### AccountSettingApiFactory -▸ **RulecategoryApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` +▸ **AccountSettingApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` -RulecategoryApi - factory interface +AccountSettingApi - factory interface **`Export`** @@ -176,20 +317,20 @@ RulecategoryApi - factory interface | Name | Type | | :------ | :------ | -| `rulecategoryList` | (`options?`: `any`) => `AxiosPromise`<[`RuleCategory`](interfaces/RuleCategory.md)[]\> | -| `rulecategoryRetrieve` | (`id`: `number`, `options?`: `any`) => `AxiosPromise`<[`RuleCategory`](interfaces/RuleCategory.md)\> | +| `accountSettingCreate` | (`options?`: `any`) => `AxiosPromise`<`void`\> | +| `accountSettingRetrieve` | (`options?`: `any`) => `AxiosPromise`<`void`\> | #### Defined in -[api.ts:369](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L369) +[api.ts:2715](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2715) ___ -### RulecategoryApiFp +### AccountSettingApiFp -▸ **RulecategoryApiFp**(`configuration?`): `Object` +▸ **AccountSettingApiFp**(`configuration?`): `Object` -RulecategoryApi - functional programming interface +AccountSettingApi - functional programming interface **`Export`** @@ -205,20 +346,20 @@ RulecategoryApi - functional programming interface | Name | Type | | :------ | :------ | -| `rulecategoryList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`RuleCategory`](interfaces/RuleCategory.md)[]\>\> | -| `rulecategoryRetrieve` | (`id`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`RuleCategory`](interfaces/RuleCategory.md)\>\> | +| `accountSettingCreate` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | +| `accountSettingRetrieve` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | #### Defined in -[api.ts:335](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L335) +[api.ts:2682](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2682) ___ -### StatusApiAxiosParamCreator +### AckApiAxiosParamCreator -▸ **StatusApiAxiosParamCreator**(`configuration?`): `Object` +▸ **AckApiAxiosParamCreator**(`configuration?`): `Object` -StatusApi - axios parameter creator +AckApi - axios parameter creator **`Export`** @@ -234,21 +375,24 @@ StatusApi - axios parameter creator | Name | Type | | :------ | :------ | -| `statusLiveRetrieve` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | -| `statusReadyRetrieve` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | -| `statusRetrieve` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ackAllList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ackCreate` | (`ackInput`: [`AckInput`](interfaces/AckInput.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ackDestroy` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ackList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ackRetrieve` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ackUpdate` | (`ruleId`: `string`, `ackJustification?`: [`AckJustification`](interfaces/AckJustification.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | #### Defined in -[api.ts:426](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L426) +[api.ts:2770](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L2770) ___ -### StatusApiFactory +### AckApiFactory -▸ **StatusApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` +▸ **AckApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` -StatusApi - factory interface +AckApi - factory interface **`Export`** @@ -266,21 +410,24 @@ StatusApi - factory interface | Name | Type | | :------ | :------ | -| `statusLiveRetrieve` | (`options?`: `any`) => `AxiosPromise`<`void`\> | -| `statusReadyRetrieve` | (`options?`: `any`) => `AxiosPromise`<`void`\> | -| `statusRetrieve` | (`options?`: `any`) => `AxiosPromise`<`void`\> | +| `ackAllList` | (`options?`: `any`) => `AxiosPromise`<[`AllAck`](interfaces/AllAck.md)[]\> | +| `ackCreate` | (`ackInput`: [`AckInput`](interfaces/AckInput.md), `options?`: `any`) => `AxiosPromise`<[`Ack`](interfaces/Ack.md)\> | +| `ackDestroy` | (`ruleId`: `string`, `options?`: `any`) => `AxiosPromise`<`string`\> | +| `ackList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `AxiosPromise`<[`PaginatedAckList`](interfaces/PaginatedAckList.md)\> | +| `ackRetrieve` | (`ruleId`: `string`, `options?`: `any`) => `AxiosPromise`<[`Ack`](interfaces/Ack.md)\> | +| `ackUpdate` | (`ruleId`: `string`, `ackJustification?`: [`AckJustification`](interfaces/AckJustification.md), `options?`: `any`) => `AxiosPromise`<[`Ack`](interfaces/Ack.md)\> | #### Defined in -[api.ts:567](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L567) +[api.ts:3131](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3131) ___ -### StatusApiFp +### AckApiFp -▸ **StatusApiFp**(`configuration?`): `Object` +▸ **AckApiFp**(`configuration?`): `Object` -StatusApi - functional programming interface +AckApi - functional programming interface **`Export`** @@ -296,21 +443,24 @@ StatusApi - functional programming interface | Name | Type | | :------ | :------ | -| `statusLiveRetrieve` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | -| `statusReadyRetrieve` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | -| `statusRetrieve` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | +| `ackAllList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AllAck`](interfaces/AllAck.md)[]\>\> | +| `ackCreate` | (`ackInput`: [`AckInput`](interfaces/AckInput.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Ack`](interfaces/Ack.md)\>\> | +| `ackDestroy` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`string`\>\> | +| `ackList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedAckList`](interfaces/PaginatedAckList.md)\>\> | +| `ackRetrieve` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Ack`](interfaces/Ack.md)\>\> | +| `ackUpdate` | (`ruleId`: `string`, `ackJustification?`: [`AckJustification`](interfaces/AckJustification.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Ack`](interfaces/Ack.md)\>\> | #### Defined in -[api.ts:522](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L522) +[api.ts:3043](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3043) ___ -### SystemtypeApiAxiosParamCreator +### AckcountApiAxiosParamCreator -▸ **SystemtypeApiAxiosParamCreator**(`configuration?`): `Object` +▸ **AckcountApiAxiosParamCreator**(`configuration?`): `Object` -SystemtypeApi - axios parameter creator +AckcountApi - axios parameter creator **`Export`** @@ -326,20 +476,20 @@ SystemtypeApi - axios parameter creator | Name | Type | | :------ | :------ | -| `systemtypeList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | -| `systemtypeRetrieve` | (`id`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ackcountList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ackcountRetrieve` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | #### Defined in -[api.ts:640](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L640) +[api.ts:3272](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3272) ___ -### SystemtypeApiFactory +### AckcountApiFactory -▸ **SystemtypeApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` +▸ **AckcountApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` -SystemtypeApi - factory interface +AckcountApi - factory interface **`Export`** @@ -357,20 +507,20 @@ SystemtypeApi - factory interface | Name | Type | | :------ | :------ | -| `systemtypeList` | (`options?`: `any`) => `AxiosPromise`<[`SystemType`](interfaces/SystemType.md)[]\> | -| `systemtypeRetrieve` | (`id`: `number`, `options?`: `any`) => `AxiosPromise`<[`SystemType`](interfaces/SystemType.md)\> | +| `ackcountList` | (`options?`: `any`) => `AxiosPromise`<[`AckCount`](interfaces/AckCount.md)[]\> | +| `ackcountRetrieve` | (`ruleId`: `string`, `options?`: `any`) => `AxiosPromise`<[`AckCount`](interfaces/AckCount.md)\> | #### Defined in -[api.ts:751](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L751) +[api.ts:3395](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3395) ___ -### SystemtypeApiFp +### AckcountApiFp -▸ **SystemtypeApiFp**(`configuration?`): `Object` +▸ **AckcountApiFp**(`configuration?`): `Object` -SystemtypeApi - functional programming interface +AckcountApi - functional programming interface **`Export`** @@ -386,9 +536,1704 @@ SystemtypeApi - functional programming interface | Name | Type | | :------ | :------ | -| `systemtypeList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemType`](interfaces/SystemType.md)[]\>\> | -| `systemtypeRetrieve` | (`id`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemType`](interfaces/SystemType.md)\>\> | +| `ackcountList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AckCount`](interfaces/AckCount.md)[]\>\> | +| `ackcountRetrieve` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AckCount`](interfaces/AckCount.md)\>\> | + +#### Defined in + +[api.ts:3361](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3361) + +___ + +### AutosubexclusionApiAxiosParamCreator + +▸ **AutosubexclusionApiAxiosParamCreator**(`configuration?`): `Object` + +AutosubexclusionApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `autosubexclusionCreate` | (`subscriptionExcludedAccount`: [`SubscriptionExcludedAccount`](interfaces/SubscriptionExcludedAccount.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `autosubexclusionDestroy` | (`orgId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `autosubexclusionList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `autosubexclusionRetrieve` | (`orgId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:3452](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3452) + +___ + +### AutosubexclusionApiFactory + +▸ **AutosubexclusionApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +AutosubexclusionApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `autosubexclusionCreate` | (`subscriptionExcludedAccount`: [`SubscriptionExcludedAccount`](interfaces/SubscriptionExcludedAccount.md), `options?`: `any`) => `AxiosPromise`<[`SubscriptionExcludedAccount`](interfaces/SubscriptionExcludedAccount.md)\> | +| `autosubexclusionDestroy` | (`orgId`: `string`, `options?`: `any`) => `AxiosPromise`<`string`\> | +| `autosubexclusionList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `AxiosPromise`<[`PaginatedSubscriptionExcludedAccountList`](interfaces/PaginatedSubscriptionExcludedAccountList.md)\> | +| `autosubexclusionRetrieve` | (`orgId`: `string`, `options?`: `any`) => `AxiosPromise`<[`SubscriptionExcludedAccount`](interfaces/SubscriptionExcludedAccount.md)\> | + +#### Defined in + +[api.ts:3702](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3702) + +___ + +### AutosubexclusionApiFp + +▸ **AutosubexclusionApiFp**(`configuration?`): `Object` + +AutosubexclusionApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `autosubexclusionCreate` | (`subscriptionExcludedAccount`: [`SubscriptionExcludedAccount`](interfaces/SubscriptionExcludedAccount.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SubscriptionExcludedAccount`](interfaces/SubscriptionExcludedAccount.md)\>\> | +| `autosubexclusionDestroy` | (`orgId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`string`\>\> | +| `autosubexclusionList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedSubscriptionExcludedAccountList`](interfaces/PaginatedSubscriptionExcludedAccountList.md)\>\> | +| `autosubexclusionRetrieve` | (`orgId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SubscriptionExcludedAccount`](interfaces/SubscriptionExcludedAccount.md)\>\> | + +#### Defined in + +[api.ts:3640](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3640) + +___ + +### ExportApiAxiosParamCreator + +▸ **ExportApiAxiosParamCreator**(`configuration?`): `Object` + +ExportApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `exportHitsList` | (`category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `displayName?`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `format?`: ``"json"`` \| ``"csv"``, `groups?`: `string`[], `hasPlaybook?`: `boolean`, `impact?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `incident?`: `boolean`, `likelihood?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `reboot?`: `boolean`, `resRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `tags?`: `string`[], `text?`: `string`, `totalRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `uuid?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `exportReportsList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `exportRulesList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `exportSystemsList` | (`displayName?`: `string`, `format?`: ``"json"`` \| ``"csv"``, `groups?`: `string`[], `ruleId?`: `string`, `sort?`: ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-group_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"group_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"``, `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:3803](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L3803) + +___ + +### ExportApiFactory + +▸ **ExportApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +ExportApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `exportHitsList` | (`category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `displayName?`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `format?`: ``"json"`` \| ``"csv"``, `groups?`: `string`[], `hasPlaybook?`: `boolean`, `impact?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `incident?`: `boolean`, `likelihood?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `reboot?`: `boolean`, `resRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `tags?`: `string`[], `text?`: `string`, `totalRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `uuid?`: `string`, `options?`: `any`) => `AxiosPromise`<[`ExportHits`](interfaces/ExportHits.md)[]\> | +| `exportReportsList` | (`options?`: `any`) => `AxiosPromise`<[`ReportExport`](interfaces/ReportExport.md)[]\> | +| `exportRulesList` | (`options?`: `any`) => `AxiosPromise`<[`RuleExport`](interfaces/RuleExport.md)[]\> | +| `exportSystemsList` | (`displayName?`: `string`, `format?`: ``"json"`` \| ``"csv"``, `groups?`: `string`[], `ruleId?`: `string`, `sort?`: ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-group_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"group_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"``, `options?`: `any`) => `AxiosPromise`<[`System`](interfaces/System.md)[]\> | + +#### Defined in + +[api.ts:4143](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4143) + +___ + +### ExportApiFp + +▸ **ExportApiFp**(`configuration?`): `Object` + +ExportApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `exportHitsList` | (`category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `displayName?`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `format?`: ``"json"`` \| ``"csv"``, `groups?`: `string`[], `hasPlaybook?`: `boolean`, `impact?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `incident?`: `boolean`, `likelihood?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `reboot?`: `boolean`, `resRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `tags?`: `string`[], `text?`: `string`, `totalRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `uuid?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`ExportHits`](interfaces/ExportHits.md)[]\>\> | +| `exportReportsList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`ReportExport`](interfaces/ReportExport.md)[]\>\> | +| `exportRulesList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`RuleExport`](interfaces/RuleExport.md)[]\>\> | +| `exportSystemsList` | (`displayName?`: `string`, `format?`: ``"json"`` \| ``"csv"``, `groups?`: `string`[], `ruleId?`: `string`, `sort?`: ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-group_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"group_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"``, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`System`](interfaces/System.md)[]\>\> | + +#### Defined in + +[api.ts:4065](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4065) + +___ + +### HostackApiAxiosParamCreator + +▸ **HostackApiAxiosParamCreator**(`configuration?`): `Object` + +HostackApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `hostackCreate` | (`hostAckInput`: [`HostAckInput`](interfaces/HostAckInput.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `hostackDestroy` | (`id`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `hostackList` | (`filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `ruleId?`: `string`[], `tags?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `hostackRetrieve` | (`id`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `hostackUpdate` | (`id`: `number`, `hostAckJustification?`: [`HostAckJustification`](interfaces/HostAckJustification.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:4276](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4276) + +___ + +### HostackApiFactory + +▸ **HostackApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +HostackApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `hostackCreate` | (`hostAckInput`: [`HostAckInput`](interfaces/HostAckInput.md), `options?`: `any`) => `AxiosPromise`<[`HostAck`](interfaces/HostAck.md)\> | +| `hostackDestroy` | (`id`: `number`, `options?`: `any`) => `AxiosPromise`<`string`\> | +| `hostackList` | (`filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `ruleId?`: `string`[], `tags?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`PaginatedHostAckList`](interfaces/PaginatedHostAckList.md)\> | +| `hostackRetrieve` | (`id`: `number`, `options?`: `any`) => `AxiosPromise`<[`HostAck`](interfaces/HostAck.md)\> | +| `hostackUpdate` | (`id`: `number`, `hostAckJustification?`: [`HostAckJustification`](interfaces/HostAckJustification.md), `options?`: `any`) => `AxiosPromise`<[`HostAckJustification`](interfaces/HostAckJustification.md)\> | + +#### Defined in + +[api.ts:4618](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4618) + +___ + +### HostackApiFp + +▸ **HostackApiFp**(`configuration?`): `Object` + +HostackApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `hostackCreate` | (`hostAckInput`: [`HostAckInput`](interfaces/HostAckInput.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`HostAck`](interfaces/HostAck.md)\>\> | +| `hostackDestroy` | (`id`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`string`\>\> | +| `hostackList` | (`filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `ruleId?`: `string`[], `tags?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedHostAckList`](interfaces/PaginatedHostAckList.md)\>\> | +| `hostackRetrieve` | (`id`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`HostAck`](interfaces/HostAck.md)\>\> | +| `hostackUpdate` | (`id`: `number`, `hostAckJustification?`: [`HostAckJustification`](interfaces/HostAckJustification.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`HostAckJustification`](interfaces/HostAckJustification.md)\>\> | + +#### Defined in + +[api.ts:4537](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4537) + +___ + +### KcsApiAxiosParamCreator + +▸ **KcsApiAxiosParamCreator**(`configuration?`): `Object` + +KcsApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `kcsList` | (`nodeIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `kcsRetrieve` | (`nodeId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:4751](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4751) + +___ + +### KcsApiFactory + +▸ **KcsApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +KcsApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `kcsList` | (`nodeIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`Kcs`](interfaces/Kcs.md)[]\> | +| `kcsRetrieve` | (`nodeId`: `string`, `options?`: `any`) => `AxiosPromise`<`string`[]\> | + +#### Defined in + +[api.ts:4864](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4864) + +___ + +### KcsApiFp + +▸ **KcsApiFp**(`configuration?`): `Object` + +KcsApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `kcsList` | (`nodeIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Kcs`](interfaces/Kcs.md)[]\>\> | +| `kcsRetrieve` | (`nodeId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`string`[]\>\> | + +#### Defined in + +[api.ts:4829](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4829) + +___ + +### PathwayApiAxiosParamCreator + +▸ **PathwayApiAxiosParamCreator**(`configuration?`): `Object` + +PathwayApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `pathwayCreate` | (`pathwayInput`: [`PathwayInput`](interfaces/PathwayInput.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `pathwayDestroy` | (`slug`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `pathwayList` | (`category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `tags?`: `string`[], `text?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `pathwayReportsRetrieve` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `groups?`: `string`[], `hostId?`: `string`[], `ruleId?`: `string`[], `text?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `pathwayRetrieve` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `tags?`: `string`[], `text?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `pathwayRulesList` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `limit?`: `number`, `offset?`: `number`, `text?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `pathwaySystemsList` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `tags?`: `string`[], `text?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `pathwayUpdate` | (`slug`: `string`, `pathwayInput`: [`PathwayInput`](interfaces/PathwayInput.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:4923](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L4923) + +___ + +### PathwayApiFactory + +▸ **PathwayApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +PathwayApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `pathwayCreate` | (`pathwayInput`: [`PathwayInput`](interfaces/PathwayInput.md), `options?`: `any`) => `AxiosPromise`<[`PathwayInput`](interfaces/PathwayInput.md)\> | +| `pathwayDestroy` | (`slug`: `string`, `options?`: `any`) => `AxiosPromise`<`string`\> | +| `pathwayList` | (`category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `tags?`: `string`[], `text?`: `string`, `options?`: `any`) => `AxiosPromise`<[`PaginatedPathwayList`](interfaces/PaginatedPathwayList.md)\> | +| `pathwayReportsRetrieve` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `groups?`: `string`[], `hostId?`: `string`[], `ruleId?`: `string`[], `text?`: `string`, `options?`: `any`) => `AxiosPromise`<[`RuleSystemsExport`](interfaces/RuleSystemsExport.md)\> | +| `pathwayRetrieve` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `tags?`: `string`[], `text?`: `string`, `options?`: `any`) => `AxiosPromise`<[`Pathway`](interfaces/Pathway.md)\> | +| `pathwayRulesList` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `limit?`: `number`, `offset?`: `number`, `text?`: `string`, `options?`: `any`) => `AxiosPromise`<[`PaginatedRuleList`](interfaces/PaginatedRuleList.md)\> | +| `pathwaySystemsList` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `tags?`: `string`[], `text?`: `string`, `options?`: `any`) => `AxiosPromise`<[`PaginatedSystemList`](interfaces/PaginatedSystemList.md)\> | +| `pathwayUpdate` | (`slug`: `string`, `pathwayInput`: [`PathwayInput`](interfaces/PathwayInput.md), `options?`: `any`) => `AxiosPromise`<[`PathwayInput`](interfaces/PathwayInput.md)\> | + +#### Defined in + +[api.ts:5581](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5581) + +___ + +### PathwayApiFp + +▸ **PathwayApiFp**(`configuration?`): `Object` + +PathwayApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `pathwayCreate` | (`pathwayInput`: [`PathwayInput`](interfaces/PathwayInput.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PathwayInput`](interfaces/PathwayInput.md)\>\> | +| `pathwayDestroy` | (`slug`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`string`\>\> | +| `pathwayList` | (`category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `tags?`: `string`[], `text?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedPathwayList`](interfaces/PaginatedPathwayList.md)\>\> | +| `pathwayReportsRetrieve` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `groups?`: `string`[], `hostId?`: `string`[], `ruleId?`: `string`[], `text?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`RuleSystemsExport`](interfaces/RuleSystemsExport.md)\>\> | +| `pathwayRetrieve` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `tags?`: `string`[], `text?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Pathway`](interfaces/Pathway.md)\>\> | +| `pathwayRulesList` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `limit?`: `number`, `offset?`: `number`, `text?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedRuleList`](interfaces/PaginatedRuleList.md)\>\> | +| `pathwaySystemsList` | (`slug`: `string`, `category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `tags?`: `string`[], `text?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedSystemList`](interfaces/PaginatedSystemList.md)\>\> | +| `pathwayUpdate` | (`slug`: `string`, `pathwayInput`: [`PathwayInput`](interfaces/PathwayInput.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PathwayInput`](interfaces/PathwayInput.md)\>\> | + +#### Defined in + +[api.ts:5437](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5437) + +___ + +### RatingApiAxiosParamCreator + +▸ **RatingApiAxiosParamCreator**(`configuration?`): `Object` + +RatingApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `ratingAllRatingsList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ratingCreate` | (`ruleRating`: [`RuleRating`](interfaces/RuleRating.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ratingList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ratingRetrieve` | (`rule`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ratingStatsList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:5822](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L5822) + +___ + +### RatingApiFactory + +▸ **RatingApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +RatingApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `ratingAllRatingsList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `AxiosPromise`<[`PaginatedAllRuleRatingsList`](interfaces/PaginatedAllRuleRatingsList.md)\> | +| `ratingCreate` | (`ruleRating`: [`RuleRating`](interfaces/RuleRating.md), `options?`: `any`) => `AxiosPromise`<[`RuleRating`](interfaces/RuleRating.md)\> | +| `ratingList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `AxiosPromise`<[`PaginatedRuleRatingList`](interfaces/PaginatedRuleRatingList.md)\> | +| `ratingRetrieve` | (`rule`: `string`, `options?`: `any`) => `AxiosPromise`<[`RuleRating`](interfaces/RuleRating.md)\> | +| `ratingStatsList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `AxiosPromise`<[`PaginatedRuleRatingStatsList`](interfaces/PaginatedRuleRatingStatsList.md)\> | + +#### Defined in + +[api.ts:6140](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L6140) + +___ + +### RatingApiFp + +▸ **RatingApiFp**(`configuration?`): `Object` + +RatingApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `ratingAllRatingsList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedAllRuleRatingsList`](interfaces/PaginatedAllRuleRatingsList.md)\>\> | +| `ratingCreate` | (`ruleRating`: [`RuleRating`](interfaces/RuleRating.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`RuleRating`](interfaces/RuleRating.md)\>\> | +| `ratingList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedRuleRatingList`](interfaces/PaginatedRuleRatingList.md)\>\> | +| `ratingRetrieve` | (`rule`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`RuleRating`](interfaces/RuleRating.md)\>\> | +| `ratingStatsList` | (`limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedRuleRatingStatsList`](interfaces/PaginatedRuleRatingStatsList.md)\>\> | + +#### Defined in + +[api.ts:6062](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L6062) + +___ + +### RuleApiAxiosParamCreator + +▸ **RuleApiAxiosParamCreator**(`configuration?`): `Object` + +RuleApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `ruleAckHostsCreate` | (`ruleId`: `string`, `multiHostAck`: [`MultiHostAck`](interfaces/MultiHostAck.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ruleJustificationsList` | (`ruleId`: `string`, `limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ruleList` | (`category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `hasPlaybook?`: `boolean`, `hasTag?`: `string`[], `impact?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `impacting?`: `boolean`, `incident?`: `boolean`, `likelihood?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `limit?`: `number`, `offset?`: `number`, `pathway?`: `string`, `reboot?`: `boolean`, `reportsShown?`: `boolean`, `resRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `ruleStatus?`: ``"all"`` \| ``"disabled"`` \| ``"enabled"`` \| ``"rhdisabled"``, `sort?`: (``"description"`` \| ``"-category"`` \| ``"-description"`` \| ``"-impact"`` \| ``"-impacted_count"`` \| ``"-likelihood"`` \| ``"-playbook_count"`` \| ``"-publish_date"`` \| ``"-resolution_risk"`` \| ``"-rule_id"`` \| ``"-total_risk"`` \| ``"category"`` \| ``"impact"`` \| ``"impacted_count"`` \| ``"likelihood"`` \| ``"playbook_count"`` \| ``"publish_date"`` \| ``"resolution_risk"`` \| ``"rule_id"`` \| ``"total_risk"``)[], `tags?`: `string`[], `text?`: `string`, `topic?`: `string`, `totalRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ruleRetrieve` | (`ruleId`: `string`, `groups?`: `string`[], `tags?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ruleStatsRetrieve` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ruleSystemsDetailList` | (`ruleId`: `string`, `groups?`: `string`[], `limit?`: `number`, `name?`: `string`, `offset?`: `number`, `rhelVersion?`: (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[], `sort?`: ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"`` \| ``"-impacted_date"`` \| ``"impacted_date"``, `tags?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ruleSystemsRetrieve` | (`ruleId`: `string`, `format?`: ``"json"`` \| ``"csv"``, `groups?`: `string`[], `name?`: `string`, `rhelVersion?`: (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[], `sort?`: (``"-display_name"`` \| ``"-last_seen"`` \| ``"display_name"`` \| ``"last_seen"`` \| ``"-stale_at"`` \| ``"-system_uuid"`` \| ``"-updated"`` \| ``"stale_at"`` \| ``"system_uuid"`` \| ``"updated"``)[], `tags?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `ruleUnackHostsCreate` | (`ruleId`: `string`, `multiHostUnAck`: [`MultiHostUnAck`](interfaces/MultiHostUnAck.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:6267](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L6267) + +___ + +### RuleApiFactory + +▸ **RuleApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +RuleApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `ruleAckHostsCreate` | (`ruleId`: `string`, `multiHostAck`: [`MultiHostAck`](interfaces/MultiHostAck.md), `options?`: `any`) => `AxiosPromise`<[`MultiAckResponse`](interfaces/MultiAckResponse.md)\> | +| `ruleJustificationsList` | (`ruleId`: `string`, `limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `AxiosPromise`<[`PaginatedJustificationCountList`](interfaces/PaginatedJustificationCountList.md)\> | +| `ruleList` | (`category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `hasPlaybook?`: `boolean`, `hasTag?`: `string`[], `impact?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `impacting?`: `boolean`, `incident?`: `boolean`, `likelihood?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `limit?`: `number`, `offset?`: `number`, `pathway?`: `string`, `reboot?`: `boolean`, `reportsShown?`: `boolean`, `resRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `ruleStatus?`: ``"all"`` \| ``"disabled"`` \| ``"enabled"`` \| ``"rhdisabled"``, `sort?`: (``"description"`` \| ``"-category"`` \| ``"-description"`` \| ``"-impact"`` \| ``"-impacted_count"`` \| ``"-likelihood"`` \| ``"-playbook_count"`` \| ``"-publish_date"`` \| ``"-resolution_risk"`` \| ``"-rule_id"`` \| ``"-total_risk"`` \| ``"category"`` \| ``"impact"`` \| ``"impacted_count"`` \| ``"likelihood"`` \| ``"playbook_count"`` \| ``"publish_date"`` \| ``"resolution_risk"`` \| ``"rule_id"`` \| ``"total_risk"``)[], `tags?`: `string`[], `text?`: `string`, `topic?`: `string`, `totalRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `options?`: `any`) => `AxiosPromise`<[`PaginatedRuleForAccountList`](interfaces/PaginatedRuleForAccountList.md)\> | +| `ruleRetrieve` | (`ruleId`: `string`, `groups?`: `string`[], `tags?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`RuleForAccount`](interfaces/RuleForAccount.md)\> | +| `ruleStatsRetrieve` | (`ruleId`: `string`, `options?`: `any`) => `AxiosPromise`<[`RuleUsageStats`](interfaces/RuleUsageStats.md)\> | +| `ruleSystemsDetailList` | (`ruleId`: `string`, `groups?`: `string`[], `limit?`: `number`, `name?`: `string`, `offset?`: `number`, `rhelVersion?`: (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[], `sort?`: ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"`` \| ``"-impacted_date"`` \| ``"impacted_date"``, `tags?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`PaginatedSystemsDetailList`](interfaces/PaginatedSystemsDetailList.md)\> | +| `ruleSystemsRetrieve` | (`ruleId`: `string`, `format?`: ``"json"`` \| ``"csv"``, `groups?`: `string`[], `name?`: `string`, `rhelVersion?`: (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[], `sort?`: (``"-display_name"`` \| ``"-last_seen"`` \| ``"display_name"`` \| ``"last_seen"`` \| ``"-stale_at"`` \| ``"-system_uuid"`` \| ``"-updated"`` \| ``"stale_at"`` \| ``"system_uuid"`` \| ``"updated"``)[], `tags?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`SystemsForRule`](interfaces/SystemsForRule.md)\> | +| `ruleUnackHostsCreate` | (`ruleId`: `string`, `multiHostUnAck`: [`MultiHostUnAck`](interfaces/MultiHostUnAck.md), `options?`: `any`) => `AxiosPromise`<[`MultiAckResponse`](interfaces/MultiAckResponse.md)\> | + +#### Defined in + +[api.ts:6980](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L6980) + +___ + +### RuleApiFp + +▸ **RuleApiFp**(`configuration?`): `Object` + +RuleApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `ruleAckHostsCreate` | (`ruleId`: `string`, `multiHostAck`: [`MultiHostAck`](interfaces/MultiHostAck.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`MultiAckResponse`](interfaces/MultiAckResponse.md)\>\> | +| `ruleJustificationsList` | (`ruleId`: `string`, `limit?`: `number`, `offset?`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedJustificationCountList`](interfaces/PaginatedJustificationCountList.md)\>\> | +| `ruleList` | (`category?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `hasPlaybook?`: `boolean`, `hasTag?`: `string`[], `impact?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `impacting?`: `boolean`, `incident?`: `boolean`, `likelihood?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `limit?`: `number`, `offset?`: `number`, `pathway?`: `string`, `reboot?`: `boolean`, `reportsShown?`: `boolean`, `resRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `ruleStatus?`: ``"all"`` \| ``"disabled"`` \| ``"enabled"`` \| ``"rhdisabled"``, `sort?`: (``"description"`` \| ``"-category"`` \| ``"-description"`` \| ``"-impact"`` \| ``"-impacted_count"`` \| ``"-likelihood"`` \| ``"-playbook_count"`` \| ``"-publish_date"`` \| ``"-resolution_risk"`` \| ``"-rule_id"`` \| ``"-total_risk"`` \| ``"category"`` \| ``"impact"`` \| ``"impacted_count"`` \| ``"likelihood"`` \| ``"playbook_count"`` \| ``"publish_date"`` \| ``"resolution_risk"`` \| ``"rule_id"`` \| ``"total_risk"``)[], `tags?`: `string`[], `text?`: `string`, `topic?`: `string`, `totalRisk?`: (``2`` \| ``1`` \| ``3`` \| ``4``)[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedRuleForAccountList`](interfaces/PaginatedRuleForAccountList.md)\>\> | +| `ruleRetrieve` | (`ruleId`: `string`, `groups?`: `string`[], `tags?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`RuleForAccount`](interfaces/RuleForAccount.md)\>\> | +| `ruleStatsRetrieve` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`RuleUsageStats`](interfaces/RuleUsageStats.md)\>\> | +| `ruleSystemsDetailList` | (`ruleId`: `string`, `groups?`: `string`[], `limit?`: `number`, `name?`: `string`, `offset?`: `number`, `rhelVersion?`: (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[], `sort?`: ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"`` \| ``"-impacted_date"`` \| ``"impacted_date"``, `tags?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedSystemsDetailList`](interfaces/PaginatedSystemsDetailList.md)\>\> | +| `ruleSystemsRetrieve` | (`ruleId`: `string`, `format?`: ``"json"`` \| ``"csv"``, `groups?`: `string`[], `name?`: `string`, `rhelVersion?`: (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[], `sort?`: (``"-display_name"`` \| ``"-last_seen"`` \| ``"display_name"`` \| ``"last_seen"`` \| ``"-stale_at"`` \| ``"-system_uuid"`` \| ``"-updated"`` \| ``"stale_at"`` \| ``"system_uuid"`` \| ``"updated"``)[], `tags?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemsForRule`](interfaces/SystemsForRule.md)\>\> | +| `ruleUnackHostsCreate` | (`ruleId`: `string`, `multiHostUnAck`: [`MultiHostUnAck`](interfaces/MultiHostUnAck.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`MultiAckResponse`](interfaces/MultiAckResponse.md)\>\> | + +#### Defined in + +[api.ts:6827](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L6827) + +___ + +### RulecategoryApiAxiosParamCreator + +▸ **RulecategoryApiAxiosParamCreator**(`configuration?`): `Object` + +RulecategoryApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `rulecategoryList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `rulecategoryRetrieve` | (`id`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:7239](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7239) + +___ + +### RulecategoryApiFactory + +▸ **RulecategoryApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +RulecategoryApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `rulecategoryList` | (`options?`: `any`) => `AxiosPromise`<[`RuleCategory`](interfaces/RuleCategory.md)[]\> | +| `rulecategoryRetrieve` | (`id`: `number`, `options?`: `any`) => `AxiosPromise`<[`RuleCategory`](interfaces/RuleCategory.md)\> | + +#### Defined in + +[api.ts:7346](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7346) + +___ + +### RulecategoryApiFp + +▸ **RulecategoryApiFp**(`configuration?`): `Object` + +RulecategoryApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `rulecategoryList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`RuleCategory`](interfaces/RuleCategory.md)[]\>\> | +| `rulecategoryRetrieve` | (`id`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`RuleCategory`](interfaces/RuleCategory.md)\>\> | + +#### Defined in + +[api.ts:7312](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7312) + +___ + +### SettingsApiAxiosParamCreator + +▸ **SettingsApiAxiosParamCreator**(`configuration?`): `Object` + +SettingsApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `settingsList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:7403](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7403) + +___ + +### SettingsApiFactory + +▸ **SettingsApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +SettingsApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `settingsList` | (`options?`: `any`) => `AxiosPromise`<[`SettingsDDF`](interfaces/SettingsDDF.md)[]\> | + +#### Defined in + +[api.ts:7470](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7470) + +___ + +### SettingsApiFp + +▸ **SettingsApiFp**(`configuration?`): `Object` + +SettingsApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `settingsList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SettingsDDF`](interfaces/SettingsDDF.md)[]\>\> | + +#### Defined in + +[api.ts:7449](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7449) + +___ + +### StatsApiAxiosParamCreator + +▸ **StatsApiAxiosParamCreator**(`configuration?`): `Object` + +StatsApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `statsList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `statsOverviewRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `statsReportsRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `statsRulesRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `statsSystemsRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:7507](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7507) + +___ + +### StatsApiFactory + +▸ **StatsApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +StatsApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `statsList` | (`options?`: `any`) => `AxiosPromise`<`string`[][]\> | +| `statsOverviewRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`Stats`](interfaces/Stats.md)\> | +| `statsReportsRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`Stats`](interfaces/Stats.md)\> | +| `statsRulesRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`Stats`](interfaces/Stats.md)\> | +| `statsSystemsRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`Stats`](interfaces/Stats.md)\> | + +#### Defined in + +[api.ts:7866](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7866) + +___ + +### StatsApiFp + +▸ **StatsApiFp**(`configuration?`): `Object` + +StatsApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `statsList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`string`[][]\>\> | +| `statsOverviewRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Stats`](interfaces/Stats.md)\>\> | +| `statsReportsRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Stats`](interfaces/Stats.md)\>\> | +| `statsRulesRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Stats`](interfaces/Stats.md)\>\> | +| `statsSystemsRetrieve` | (`tags?`: `string`[], `groups?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `filterSystemProfileSapSidsContains?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Stats`](interfaces/Stats.md)\>\> | + +#### Defined in + +[api.ts:7781](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L7781) + +___ + +### StatusApiAxiosParamCreator + +▸ **StatusApiAxiosParamCreator**(`configuration?`): `Object` + +StatusApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `statusLiveRetrieve` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `statusReadyRetrieve` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `statusRetrieve` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:8007](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8007) + +___ + +### StatusApiFactory + +▸ **StatusApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +StatusApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `statusLiveRetrieve` | (`options?`: `any`) => `AxiosPromise`<`void`\> | +| `statusReadyRetrieve` | (`options?`: `any`) => `AxiosPromise`<`void`\> | +| `statusRetrieve` | (`options?`: `any`) => `AxiosPromise`<`void`\> | + +#### Defined in + +[api.ts:8148](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8148) + +___ + +### StatusApiFp + +▸ **StatusApiFp**(`configuration?`): `Object` + +StatusApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `statusLiveRetrieve` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | +| `statusReadyRetrieve` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | +| `statusRetrieve` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | + +#### Defined in + +[api.ts:8103](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8103) + +___ + +### SystemApiAxiosParamCreator + +▸ **SystemApiAxiosParamCreator**(`configuration?`): `Object` + +SystemApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `systemList` | (`displayName?`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `hits?`: (``"all"`` \| ``"1"`` \| ``"2"`` \| ``"3"`` \| ``"4"`` \| ``"no"`` \| ``"yes"``)[], `incident?`: `boolean`, `limit?`: `number`, `offset?`: `number`, `pathway?`: `string`, `rhelVersion?`: (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[], `sort?`: ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-group_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"group_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"``, `tags?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `systemReportsList` | (`uuid`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `tags?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `systemRetrieve` | (`uuid`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:8221](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8221) + +___ + +### SystemApiFactory + +▸ **SystemApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +SystemApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `systemList` | (`displayName?`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `hits?`: (``"all"`` \| ``"1"`` \| ``"2"`` \| ``"3"`` \| ``"4"`` \| ``"no"`` \| ``"yes"``)[], `incident?`: `boolean`, `limit?`: `number`, `offset?`: `number`, `pathway?`: `string`, `rhelVersion?`: (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[], `sort?`: ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-group_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"group_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"``, `tags?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`PaginatedSystemList`](interfaces/PaginatedSystemList.md)\> | +| `systemReportsList` | (`uuid`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `tags?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`PaginatedReportList`](interfaces/PaginatedReportList.md)\> | +| `systemRetrieve` | (`uuid`: `string`, `options?`: `any`) => `AxiosPromise`<[`System`](interfaces/System.md)\> | + +#### Defined in + +[api.ts:8510](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8510) + +___ + +### SystemApiFp + +▸ **SystemApiFp**(`configuration?`): `Object` + +SystemApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `systemList` | (`displayName?`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `hits?`: (``"all"`` \| ``"1"`` \| ``"2"`` \| ``"3"`` \| ``"4"`` \| ``"no"`` \| ``"yes"``)[], `incident?`: `boolean`, `limit?`: `number`, `offset?`: `number`, `pathway?`: `string`, `rhelVersion?`: (``"6.0"`` \| ``"6.1"`` \| ``"6.10"`` \| ``"6.2"`` \| ``"6.3"`` \| ``"6.4"`` \| ``"6.5"`` \| ``"6.6"`` \| ``"6.7"`` \| ``"6.8"`` \| ``"6.9"`` \| ``"7.0"`` \| ``"7.1"`` \| ``"7.10"`` \| ``"7.2"`` \| ``"7.3"`` \| ``"7.4"`` \| ``"7.5"`` \| ``"7.6"`` \| ``"7.7"`` \| ``"7.8"`` \| ``"7.9"`` \| ``"8.0"`` \| ``"8.1"`` \| ``"8.2"`` \| ``"8.3"`` \| ``"8.4"`` \| ``"8.5"`` \| ``"8.6"`` \| ``"8.7"`` \| ``"8.8"`` \| ``"8.9"`` \| ``"9.0"`` \| ``"9.1"`` \| ``"9.2"`` \| ``"9.3"``)[], `sort?`: ``"-critical_hits"`` \| ``"-display_name"`` \| ``"-group_name"`` \| ``"-hits"`` \| ``"-important_hits"`` \| ``"-last_seen"`` \| ``"-low_hits"`` \| ``"-moderate_hits"`` \| ``"-rhel_version"`` \| ``"critical_hits"`` \| ``"display_name"`` \| ``"group_name"`` \| ``"hits"`` \| ``"important_hits"`` \| ``"last_seen"`` \| ``"low_hits"`` \| ``"moderate_hits"`` \| ``"rhel_version"``, `tags?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedSystemList`](interfaces/PaginatedSystemList.md)\>\> | +| `systemReportsList` | (`uuid`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `limit?`: `number`, `offset?`: `number`, `tags?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PaginatedReportList`](interfaces/PaginatedReportList.md)\>\> | +| `systemRetrieve` | (`uuid`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`System`](interfaces/System.md)\>\> | + +#### Defined in + +[api.ts:8444](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8444) + +___ + +### SystemtypeApiAxiosParamCreator + +▸ **SystemtypeApiAxiosParamCreator**(`configuration?`): `Object` + +SystemtypeApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `systemtypeList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | +| `systemtypeRetrieve` | (`id`: `number`, `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:8625](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8625) + +___ + +### SystemtypeApiFactory + +▸ **SystemtypeApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +SystemtypeApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `systemtypeList` | (`options?`: `any`) => `AxiosPromise`<[`SystemType`](interfaces/SystemType.md)[]\> | +| `systemtypeRetrieve` | (`id`: `number`, `options?`: `any`) => `AxiosPromise`<[`SystemType`](interfaces/SystemType.md)\> | + +#### Defined in + +[api.ts:8736](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8736) + +___ + +### SystemtypeApiFp + +▸ **SystemtypeApiFp**(`configuration?`): `Object` + +SystemtypeApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `systemtypeList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemType`](interfaces/SystemType.md)[]\>\> | +| `systemtypeRetrieve` | (`id`: `number`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemType`](interfaces/SystemType.md)\>\> | + +#### Defined in + +[api.ts:8700](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8700) + +___ + +### TopicApiAxiosParamCreator + +▸ **TopicApiAxiosParamCreator**(`configuration?`): `Object` + +TopicApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `topicCreate` | (`topicEdit`: [`TopicEdit`](interfaces/TopicEdit.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `topicDestroy` | (`slug`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `topicList` | (`filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `showDisabled?`: `boolean`, `tags?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `topicPartialUpdate` | (`slug`: `string`, `patchedTopicEdit?`: [`PatchedTopicEdit`](interfaces/PatchedTopicEdit.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `topicRetrieve` | (`slug`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `topicRulesWithTagList` | (`slug`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `topicSystemsRetrieve` | (`slug`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `sort?`: (``"-display_name"`` \| ``"-last_seen"`` \| ``"display_name"`` \| ``"last_seen"`` \| ``"-stale_at"`` \| ``"-system_uuid"`` \| ``"-updated"`` \| ``"stale_at"`` \| ``"system_uuid"`` \| ``"updated"``)[], `tags?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `topicUpdate` | (`slug`: `string`, `topicEdit`: [`TopicEdit`](interfaces/TopicEdit.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:8797](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L8797) + +___ + +### TopicApiFactory + +▸ **TopicApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +TopicApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `topicCreate` | (`topicEdit`: [`TopicEdit`](interfaces/TopicEdit.md), `options?`: `any`) => `AxiosPromise`<[`TopicEdit`](interfaces/TopicEdit.md)\> | +| `topicDestroy` | (`slug`: `string`, `options?`: `any`) => `AxiosPromise`<`void`\> | +| `topicList` | (`filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `showDisabled?`: `boolean`, `tags?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`Topic`](interfaces/Topic.md)[]\> | +| `topicPartialUpdate` | (`slug`: `string`, `patchedTopicEdit?`: [`PatchedTopicEdit`](interfaces/PatchedTopicEdit.md), `options?`: `any`) => `AxiosPromise`<[`TopicEdit`](interfaces/TopicEdit.md)\> | +| `topicRetrieve` | (`slug`: `string`, `options?`: `any`) => `AxiosPromise`<[`Topic`](interfaces/Topic.md)\> | +| `topicRulesWithTagList` | (`slug`: `string`, `options?`: `any`) => `AxiosPromise`<[`Rule`](interfaces/Rule.md)[]\> | +| `topicSystemsRetrieve` | (`slug`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `sort?`: (``"-display_name"`` \| ``"-last_seen"`` \| ``"display_name"`` \| ``"last_seen"`` \| ``"-stale_at"`` \| ``"-system_uuid"`` \| ``"-updated"`` \| ``"stale_at"`` \| ``"system_uuid"`` \| ``"updated"``)[], `tags?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`SystemsForRule`](interfaces/SystemsForRule.md)\> | +| `topicUpdate` | (`slug`: `string`, `topicEdit`: [`TopicEdit`](interfaces/TopicEdit.md), `options?`: `any`) => `AxiosPromise`<[`TopicEdit`](interfaces/TopicEdit.md)\> | + +#### Defined in + +[api.ts:9343](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9343) + +___ + +### TopicApiFp + +▸ **TopicApiFp**(`configuration?`): `Object` + +TopicApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `topicCreate` | (`topicEdit`: [`TopicEdit`](interfaces/TopicEdit.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`TopicEdit`](interfaces/TopicEdit.md)\>\> | +| `topicDestroy` | (`slug`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | +| `topicList` | (`filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `showDisabled?`: `boolean`, `tags?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Topic`](interfaces/Topic.md)[]\>\> | +| `topicPartialUpdate` | (`slug`: `string`, `patchedTopicEdit?`: [`PatchedTopicEdit`](interfaces/PatchedTopicEdit.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`TopicEdit`](interfaces/TopicEdit.md)\>\> | +| `topicRetrieve` | (`slug`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Topic`](interfaces/Topic.md)\>\> | +| `topicRulesWithTagList` | (`slug`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Rule`](interfaces/Rule.md)[]\>\> | +| `topicSystemsRetrieve` | (`slug`: `string`, `filterSystemProfileSapSidsContains?`: `string`[], `filterSystemProfileSapSystem?`: `boolean`, `groups?`: `string`[], `sort?`: (``"-display_name"`` \| ``"-last_seen"`` \| ``"display_name"`` \| ``"last_seen"`` \| ``"-stale_at"`` \| ``"-system_uuid"`` \| ``"-updated"`` \| ``"stale_at"`` \| ``"system_uuid"`` \| ``"updated"``)[], `tags?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemsForRule`](interfaces/SystemsForRule.md)\>\> | +| `topicUpdate` | (`slug`: `string`, `topicEdit`: [`TopicEdit`](interfaces/TopicEdit.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`TopicEdit`](interfaces/TopicEdit.md)\>\> | + +#### Defined in + +[api.ts:9215](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9215) + +___ + +### UsageApiAxiosParamCreator + +▸ **UsageApiAxiosParamCreator**(`configuration?`): `Object` + +UsageApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `usageList` | (`account?`: `string`[], `end?`: `string`, `orgId?`: `string`, `start?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:9552](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9552) + +___ + +### UsageApiFactory + +▸ **UsageApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +UsageApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `usageList` | (`account?`: `string`[], `end?`: `string`, `orgId?`: `string`, `start?`: `string`, `options?`: `any`) => `AxiosPromise`<[`Usage`](interfaces/Usage.md)\> | + +#### Defined in + +[api.ts:9647](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9647) + +___ + +### UsageApiFp + +▸ **UsageApiFp**(`configuration?`): `Object` + +UsageApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `usageList` | (`account?`: `string`[], `end?`: `string`, `orgId?`: `string`, `start?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`Usage`](interfaces/Usage.md)\>\> | + +#### Defined in + +[api.ts:9622](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9622) + +___ + +### UserPreferencesApiAxiosParamCreator + +▸ **UserPreferencesApiAxiosParamCreator**(`configuration?`): `Object` + +UserPreferencesApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `userPreferencesCreate` | (`preferencesInput`: [`PreferencesInput`](interfaces/PreferencesInput.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `userPreferencesList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:9692](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9692) + +___ + +### UserPreferencesApiFactory + +▸ **UserPreferencesApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +UserPreferencesApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `userPreferencesCreate` | (`preferencesInput`: [`PreferencesInput`](interfaces/PreferencesInput.md), `options?`: `any`) => `AxiosPromise`<[`PreferencesInput`](interfaces/PreferencesInput.md)\> | +| `userPreferencesList` | (`options?`: `any`) => `AxiosPromise`<[`SettingsDDF`](interfaces/SettingsDDF.md)[]\> | + +#### Defined in + +[api.ts:9818](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9818) + +___ + +### UserPreferencesApiFp + +▸ **UserPreferencesApiFp**(`configuration?`): `Object` + +UserPreferencesApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `userPreferencesCreate` | (`preferencesInput`: [`PreferencesInput`](interfaces/PreferencesInput.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PreferencesInput`](interfaces/PreferencesInput.md)\>\> | +| `userPreferencesList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SettingsDDF`](interfaces/SettingsDDF.md)[]\>\> | + +#### Defined in + +[api.ts:9784](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9784) + +___ + +### WeeklyreportautosubscribeApiAxiosParamCreator + +▸ **WeeklyreportautosubscribeApiAxiosParamCreator**(`configuration?`): `Object` + +WeeklyreportautosubscribeApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `weeklyreportautosubscribeCreate` | (`autoSubscribeInput`: [`AutoSubscribeInput`](interfaces/AutoSubscribeInput.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `weeklyreportautosubscribeList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:9875](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9875) + +___ + +### WeeklyreportautosubscribeApiFactory + +▸ **WeeklyreportautosubscribeApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +WeeklyreportautosubscribeApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `weeklyreportautosubscribeCreate` | (`autoSubscribeInput`: [`AutoSubscribeInput`](interfaces/AutoSubscribeInput.md), `options?`: `any`) => `AxiosPromise`<[`AutoSubscribe`](interfaces/AutoSubscribe.md)\> | +| `weeklyreportautosubscribeList` | (`options?`: `any`) => `AxiosPromise`<[`AutoSubscribe`](interfaces/AutoSubscribe.md)[]\> | + +#### Defined in + +[api.ts:10001](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L10001) + +___ + +### WeeklyreportautosubscribeApiFp + +▸ **WeeklyreportautosubscribeApiFp**(`configuration?`): `Object` + +WeeklyreportautosubscribeApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `weeklyreportautosubscribeCreate` | (`autoSubscribeInput`: [`AutoSubscribeInput`](interfaces/AutoSubscribeInput.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AutoSubscribe`](interfaces/AutoSubscribe.md)\>\> | +| `weeklyreportautosubscribeList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AutoSubscribe`](interfaces/AutoSubscribe.md)[]\>\> | + +#### Defined in + +[api.ts:9967](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L9967) + +___ + +### WeeklyreportsubscriptionApiAxiosParamCreator + +▸ **WeeklyreportsubscriptionApiAxiosParamCreator**(`configuration?`): `Object` + +WeeklyreportsubscriptionApi - axios parameter creator + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `weeklyreportsubscriptionCreate` | (`weeklyReportSubscription`: [`WeeklyReportSubscription`](interfaces/WeeklyReportSubscription.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `weeklyreportsubscriptionList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | + +#### Defined in + +[api.ts:10058](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L10058) + +___ + +### WeeklyreportsubscriptionApiFactory + +▸ **WeeklyreportsubscriptionApiFactory**(`configuration?`, `basePath?`, `axios?`): `Object` + +WeeklyreportsubscriptionApi - factory interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | +| `basePath?` | `string` | +| `axios?` | `AxiosInstance` | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `weeklyreportsubscriptionCreate` | (`weeklyReportSubscription`: [`WeeklyReportSubscription`](interfaces/WeeklyReportSubscription.md), `options?`: `any`) => `AxiosPromise`<[`WeeklyReportSubscription`](interfaces/WeeklyReportSubscription.md)\> | +| `weeklyreportsubscriptionList` | (`options?`: `any`) => `AxiosPromise`<[`WeeklyReportSubscription`](interfaces/WeeklyReportSubscription.md)[]\> | + +#### Defined in + +[api.ts:10184](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L10184) + +___ + +### WeeklyreportsubscriptionApiFp + +▸ **WeeklyreportsubscriptionApiFp**(`configuration?`): `Object` + +WeeklyreportsubscriptionApi - functional programming interface + +**`Export`** + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `configuration?` | [`Configuration`](classes/Configuration.md) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------ | +| `weeklyreportsubscriptionCreate` | (`weeklyReportSubscription`: [`WeeklyReportSubscription`](interfaces/WeeklyReportSubscription.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`WeeklyReportSubscription`](interfaces/WeeklyReportSubscription.md)\>\> | +| `weeklyreportsubscriptionList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`WeeklyReportSubscription`](interfaces/WeeklyReportSubscription.md)[]\>\> | #### Defined in -[api.ts:715](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L715) +[api.ts:10150](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/insights/api.ts#L10150) diff --git a/packages/insights/package.json b/packages/insights/package.json index 67f488866..f8ed188db 100644 --- a/packages/insights/package.json +++ b/packages/insights/package.json @@ -21,7 +21,7 @@ "doc": "typedoc --theme markdown --out doc --gitRevision master index.ts", "build": "tsc", "generate": "TS_POST_PROCESS_FILE='../../postProcess.sh' openapi-generator-cli generate -i $SPEC -g typescript-axios -o . --skip-validate-spec --enable-post-process-file", - "generate:prod": "SPEC='https://cloud.redhat.com/api/insights/v1/openapi.json' npm run generate" + "generate:prod": "SPEC='https://cloud.redhat.com/api/insights/v1/openapi.json' npm run generate && ./postProcess.sh" }, "dependencies": { "axios": "^0.27.2" diff --git a/packages/insights/postProcess.sh b/packages/insights/postProcess.sh new file mode 100755 index 000000000..631bc1c1e --- /dev/null +++ b/packages/insights/postProcess.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +sed -i.bak 's/AnyType/any/g' api.ts +rm api.ts.bak diff --git a/packages/vulnerabilities/api.ts b/packages/vulnerabilities/api.ts index 0b993ae31..02ce2c6b3 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.4.1 + * The version of the OpenAPI document: 2.12.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -1354,7 +1354,7 @@ export interface MetaAffectedSystems { * @type {boolean} * @memberof MetaAffectedSystems */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter system-cve pairs based on first time of detection of CVE. * @type {string} @@ -1367,6 +1367,18 @@ export interface MetaAffectedSystems { * @memberof MetaAffectedSystems */ first_reported_to: string | null; + /** + * ID of the inventory group. + * @type {string} + * @memberof MetaAffectedSystems + */ + group_ids: string | null; + /** + * Name of the inventory group. + * @type {string} + * @memberof MetaAffectedSystems + */ + group_names: string | null; /** * If show_advisories=true shows access to patch service else null * @type {boolean} @@ -1409,7 +1421,7 @@ export interface MetaAffectedSystemsAllOf { * @type {boolean} * @memberof MetaAffectedSystemsAllOf */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter system-cve pairs based on first time of detection of CVE. * @type {string} @@ -1422,6 +1434,18 @@ export interface MetaAffectedSystemsAllOf { * @memberof MetaAffectedSystemsAllOf */ first_reported_to: string | null; + /** + * ID of the inventory group. + * @type {string} + * @memberof MetaAffectedSystemsAllOf + */ + group_ids: string | null; + /** + * Name of the inventory group. + * @type {string} + * @memberof MetaAffectedSystemsAllOf + */ + group_names: string | null; /** * If show_advisories=true shows access to patch service else null * @type {boolean} @@ -1530,7 +1554,7 @@ export interface MetaCves { * @type {boolean} * @memberof MetaCves */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score. * @type {number} @@ -1609,7 +1633,7 @@ export interface MetaCvesAllOf { * @type {boolean} * @memberof MetaCvesAllOf */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score. * @type {number} @@ -1748,7 +1772,7 @@ export interface MetaCvesSystems { * @type {boolean} * @memberof MetaCvesSystems */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score. * @type {number} @@ -2029,7 +2053,7 @@ export interface MetaVulnerabilitiesOut { * @type {boolean} * @memberof MetaVulnerabilitiesOut */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score. * @type {number} @@ -2108,7 +2132,7 @@ export interface MetaVulnerabilitiesOutAllOf { * @type {boolean} * @memberof MetaVulnerabilitiesOutAllOf */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score. * @type {number} @@ -2789,10 +2813,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAffectedSystemsByCve: async (cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options: any = {}): Promise => { + getAffectedSystemsByCve: async (cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options: any = {}): Promise => { // verify required parameter 'cveId' is not null or undefined if (cveId === null || cveId === undefined) { throw new RequiredError('cveId','Required parameter cveId was null or undefined when calling getAffectedSystemsByCve.'); @@ -2922,6 +2948,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['mssql'] = mssql; } + if (groupNames) { + localVarQueryParameter['group_names'] = groupNames; + } + + if (groupIds) { + localVarQueryParameter['group_ids'] = groupIds; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -2963,10 +2997,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * @param {string} [remediation] Filer based on available remediation type id. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAffectedSystemsIdsByCve: async (cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, options: any = {}): Promise => { + getAffectedSystemsIdsByCve: async (cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options: any = {}): Promise => { // verify required parameter 'cveId' is not null or undefined if (cveId === null || cveId === undefined) { throw new RequiredError('cveId','Required parameter cveId was null or undefined when calling getAffectedSystemsIdsByCve.'); @@ -3092,6 +3128,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['mssql'] = mssql; } + if (groupNames) { + localVarQueryParameter['group_names'] = groupNames; + } + + if (groupIds) { + localVarQueryParameter['group_ids'] = groupIds; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -3213,10 +3257,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * Show all information about given CVE. * @summary Details of a CVE. * @param {string} cveId CVE id. + * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCveDetails: async (cveId: string, options: any = {}): Promise => { + getCveDetails: async (cveId: string, advisoryAvailable?: Array, options: any = {}): Promise => { // verify required parameter 'cveId' is not null or undefined if (cveId === null || cveId === undefined) { throw new RequiredError('cveId','Required parameter cveId was null or undefined when calling getCveDetails.'); @@ -3246,6 +3291,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarRequestOptions["auth"] = { username: configuration.username, password: configuration.password }; } + if (advisoryAvailable) { + localVarQueryParameter['advisory_available'] = advisoryAvailable; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -3617,10 +3666,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCveList: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, options: any = {}): Promise => { + getCveList: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, groupNames?: Array, groupIds?: Array, options: any = {}): Promise => { const localVarPath = `/vulnerabilities/cves`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; @@ -3749,6 +3800,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['advisory_available'] = advisoryAvailable; } + if (groupNames) { + localVarQueryParameter['group_names'] = groupNames; + } + + if (groupIds) { + localVarQueryParameter['group_ids'] = groupIds; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -4360,10 +4419,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * @param {string} [rhelVersion] Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSystemsIds: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, options: any = {}): Promise => { + getSystemsIds: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options: any = {}): Promise => { const localVarPath = `/systems/ids`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; @@ -4452,6 +4513,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['mssql'] = mssql; } + if (groupNames) { + localVarQueryParameter['group_names'] = groupNames; + } + + if (groupIds) { + localVarQueryParameter['group_ids'] = groupIds; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -4485,10 +4554,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSystemsList: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options: any = {}): Promise => { + getSystemsList: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options: any = {}): Promise => { const localVarPath = `/systems`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; @@ -4581,6 +4652,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['mssql'] = mssql; } + if (groupNames) { + localVarQueryParameter['group_names'] = groupNames; + } + + if (groupIds) { + localVarQueryParameter['group_ids'] = groupIds; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -4927,11 +5006,13 @@ export const DefaultApiFp = function(configuration?: Configuration) { * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, options); + async getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, groupNames, groupIds, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -4965,11 +5046,13 @@ export const DefaultApiFp = function(configuration?: Configuration) { * @param {string} [remediation] Filer based on available remediation type id. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, options); + async getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, groupNames, groupIds, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -5018,11 +5101,12 @@ export const DefaultApiFp = function(configuration?: Configuration) { * Show all information about given CVE. * @summary Details of a CVE. * @param {string} cveId CVE id. + * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getCveDetails(cveId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getCveDetails(cveId, options); + async getCveDetails(cveId: string, advisoryAvailable?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getCveDetails(cveId, advisoryAvailable, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -5131,11 +5215,13 @@ export const DefaultApiFp = function(configuration?: Configuration) { * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, options); + async getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, groupNames?: Array, groupIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, groupNames, groupIds, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -5308,11 +5394,13 @@ export const DefaultApiFp = function(configuration?: Configuration) { * @param {string} [rhelVersion] Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, options); + async getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, groupNames, groupIds, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -5338,11 +5426,13 @@ export const DefaultApiFp = function(configuration?: Configuration) { * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, options); + async getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, groupNames, groupIds, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -5469,11 +5559,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, options).then((request) => request(axios, basePath)); + getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, groupNames, groupIds, options).then((request) => request(axios, basePath)); }, /** * Report of IDs of affected systems for a given CVE. @@ -5503,11 +5595,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {string} [remediation] Filer based on available remediation type id. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, options).then((request) => request(axios, basePath)); + getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, groupNames, groupIds, options).then((request) => request(axios, basePath)); }, /** * Get announcement shown above CVEs list. @@ -5540,11 +5634,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * Show all information about given CVE. * @summary Details of a CVE. * @param {string} cveId CVE id. + * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCveDetails(cveId: string, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getCveDetails(cveId, options).then((request) => request(axios, basePath)); + getCveDetails(cveId: string, advisoryAvailable?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getCveDetails(cveId, advisoryAvailable, options).then((request) => request(axios, basePath)); }, /** * Shows IDs of all CVEs the system is exposed to. @@ -5641,11 +5736,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, options).then((request) => request(axios, basePath)); + getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, groupNames?: Array, groupIds?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, groupNames, groupIds, options).then((request) => request(axios, basePath)); }, /** * Shows detailed information about all CVEs the system is exposed to. @@ -5782,11 +5879,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {string} [rhelVersion] Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, options).then((request) => request(axios, basePath)); + getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, groupNames, groupIds, options).then((request) => request(axios, basePath)); }, /** * List systems visible to logged in account with basic information related to vulnerabilities. @@ -5808,11 +5907,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, options).then((request) => request(axios, basePath)); + getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, groupNames, groupIds, options).then((request) => request(axios, basePath)); }, /** * Get application version. @@ -5912,12 +6013,14 @@ export class DefaultApi extends BaseAPI { * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any) { - return DefaultApiFp(this.configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, options).then((request) => request(this.axios, this.basePath)); + public getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any) { + return DefaultApiFp(this.configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, groupNames, groupIds, options).then((request) => request(this.axios, this.basePath)); } /** @@ -5948,12 +6051,14 @@ export class DefaultApi extends BaseAPI { * @param {string} [remediation] Filer based on available remediation type id. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, options?: any) { - return DefaultApiFp(this.configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, options).then((request) => request(this.axios, this.basePath)); + public getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any) { + return DefaultApiFp(this.configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, groupNames, groupIds, options).then((request) => request(this.axios, this.basePath)); } /** @@ -5993,12 +6098,13 @@ export class DefaultApi extends BaseAPI { * Show all information about given CVE. * @summary Details of a CVE. * @param {string} cveId CVE id. + * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getCveDetails(cveId: string, options?: any) { - return DefaultApiFp(this.configuration).getCveDetails(cveId, options).then((request) => request(this.axios, this.basePath)); + public getCveDetails(cveId: string, advisoryAvailable?: Array, options?: any) { + return DefaultApiFp(this.configuration).getCveDetails(cveId, advisoryAvailable, options).then((request) => request(this.axios, this.basePath)); } /** @@ -6100,12 +6206,14 @@ export class DefaultApi extends BaseAPI { * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, options?: any) { - return DefaultApiFp(this.configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, options).then((request) => request(this.axios, this.basePath)); + public getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, groupNames?: Array, groupIds?: Array, options?: any) { + return DefaultApiFp(this.configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, groupNames, groupIds, options).then((request) => request(this.axios, this.basePath)); } /** @@ -6259,12 +6367,14 @@ export class DefaultApi extends BaseAPI { * @param {string} [rhelVersion] Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, options?: any) { - return DefaultApiFp(this.configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, options).then((request) => request(this.axios, this.basePath)); + public getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any) { + return DefaultApiFp(this.configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, groupNames, groupIds, options).then((request) => request(this.axios, this.basePath)); } /** @@ -6287,12 +6397,14 @@ export class DefaultApi extends BaseAPI { * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any) { - return DefaultApiFp(this.configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, options).then((request) => request(this.axios, this.basePath)); + public getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any) { + return DefaultApiFp(this.configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, groupNames, groupIds, options).then((request) => request(this.axios, this.basePath)); } /** diff --git a/packages/vulnerabilities/apiSpec.json b/packages/vulnerabilities/apiSpec.json index 62085ca1a..96c991888 100644 --- a/packages/vulnerabilities/apiSpec.json +++ b/packages/vulnerabilities/apiSpec.json @@ -1 +1 @@ -{"components":{"parameters":{"account_id":{"description":"Account ID of user.","example":"123456","in":"path","name":"account_id","required":true,"schema":{"type":"string"}},"advanced_report":{"description":"Needs to be used when endpoint data is used for Report by CVEs feature, checks RBAC permission for advanced report.","example":false,"in":"query","name":"advanced_report","schema":{"type":"boolean"}},"advisory":{"description":"filter by advisory name, works only with show_advisories=true","example":"RHSA-2019:1481","in":"query","name":"advisory","schema":{"type":"string"}},"advisory_available":{"description":"String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory.","example":"true,false","in":"query","name":"advisory_available","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"affecting":{"description":"Comma seprated string with bools (array of bools). True value controls displaying CVEs with at least one system affected. False value toggles CVEs with no systems affected. Defaults to showing only CVEs with at least one system affected.","example":"true,false","in":"query","name":"affecting","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"ansible":{"description":"Boolean value which shows systems managed by Ansible Automation Platform.","example":false,"in":"query","name":"ansible","schema":{"type":"boolean"}},"business_risk_id":{"description":"Filter based on business risk IDs.","in":"query","name":"business_risk_id","schema":{"example":"1,3","type":"string"}},"cve_filter":{"description":"Full text filter for CVE and it's description text.","example":"CVE-2017","in":"query","name":"filter","schema":{"type":"string"}},"cve_id":{"description":"CVE id.","example":"CVE-2016-0800","in":"path","name":"cve_id","required":true,"schema":{"type":"string"}},"cve_sort":{"description":"Sorting used for response.","example":"-synopsis","in":"query","name":"sort","schema":{"type":"string"}},"cvss_from":{"description":"Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score.","example":4.6,"in":"query","name":"cvss_from","schema":{"type":"number"}},"cvss_to":{"description":"Filter based on cvss score, up to the value.","example":7.2,"in":"query","name":"cvss_to","schema":{"type":"number"}},"data_format":{"description":"Format of the output data, either JSON (default) or CSV.","in":"query","name":"data_format","schema":{"example":"json","type":"string"}},"excluded":{"description":"Comma seprated string with bools (array of bools). True boolean value displays systems which are excluded. False value displays systems excluded from vulnerability analysis. Defaults to showing only those systems which are not excluded.","example":"true,false","in":"query","name":"excluded","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"filter":{"description":"Full text filter for the display name of system.","example":"INV-ID-1234","in":"query","name":"filter","schema":{"type":"string"}},"first_reported_from":{"description":"Filter for CVEs/Systems where the vulnerability appeared after given date.","example":"2017-09-18T00:00:00+00:00","in":"query","name":"first_reported_from","required":false,"schema":{"description":"Datetime string","type":"string"}},"first_reported_to":{"description":"Filter for CVEs/Systems where the vulnerability appeared before given date.","example":"2017-09-18T00:00:00+00:00","in":"query","name":"first_reported_to","required":false,"schema":{"description":"Datetime string","type":"string"}},"impact":{"description":"Filter based on impact IDs.","example":"5,7","in":"query","name":"impact","schema":{"type":"string"}},"inventory_id":{"description":"Inventory ID.","example":"INV-ID-0000-1234","in":"path","name":"inventory_id","required":true,"schema":{"format":"uuid","type":"string"}},"known_exploit":{"description":"String of booleans (array of booleans), where true shows CVEs with known exploits, false shows CVEs without known exploits.","example":"true,false","in":"query","name":"known_exploit","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"limit":{"description":"Maximum number of records per page. Limit/Offset pagination wins over page/page_size pagination.","example":25,"in":"query","name":"limit","schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"mssql":{"description":"Boolean value which shows systems managed by MSSQL.","example":false,"in":"query","name":"mssql","schema":{"type":"boolean"}},"offset":{"description":"Offset of first record of paginated response. Limit/Offset pagination wins over page/page_size pagination.","example":1,"in":"query","name":"offset","schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"page":{"description":"Page number of paginated response. Limit/Offset pagination wins over page/page_size pagination.","example":1,"in":"query","name":"page","schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"page_size":{"description":"Page size of paginated response. Limit/Offset pagination wins over page/page_size pagination.","example":25,"in":"query","name":"page_size","schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"public_from":{"description":"Filter CVEs based on their published date, starting from the date.","example":"2017-09-18T00:00:00+00:00","in":"query","name":"public_from","schema":{"type":"string"}},"public_to":{"description":"Filter CVEs based on their published date, up to the date.","example":"2017-09-18T00:00:00+00:00","in":"query","name":"public_to","schema":{"type":"string"}},"remediation":{"description":"Filer based on available remediation type id.","in":"query","name":"remediation","schema":{"example":1,"type":"string"}},"report":{"description":"Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature.","example":false,"in":"query","name":"report","required":false,"schema":{"type":"boolean"}},"rhel_version":{"description":"Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS.","in":"query","name":"rhel_version","required":false,"schema":{"description":"List of RHEL versions. E.g. 7,8.1 will filter out everything which is not RHEL 7.x or RHEL 8.1","type":"string"}},"rule":{"description":"Filters CVEs or systems by security rule, has two functionalities. If value is false, shows results without security rules, every other value is taken as rule error key.","example":"CVE_2018_3639_cpu_kernel|CVE_2018_3639_CPU_BAD_MICROCODE_2,CVE_2018_12207_cpu_kernel|CVE_2018_12207_CPU_KERNEL_FOR_SURE","in":"query","name":"rule","schema":{"items":{"minLength":1,"type":"string"},"type":"array"}},"rule_key":{"description":"Filters security rules by its error key.","example":"CVE_2018_3639_cpu_kernel|CVE_2018_3639_CPU_BAD_MICROCODE_2,CVE_2018_12207_cpu_kernel|CVE_2018_12207_CPU_KERNEL_FOR_SURE","in":"query","name":"rule_key","schema":{"items":{"type":"string"},"type":"array"}},"rule_key_deprecated":{"deprecated":true,"description":"Filters security rules by its error key.","example":"CVE_2018_3639_cpu_kernel|CVE_2018_3639_CPU_BAD_MICROCODE_2,CVE_2018_12207_cpu_kernel|CVE_2018_12207_CPU_KERNEL_FOR_SURE","in":"query","name":"rule_key","schema":{"items":{"type":"string"},"type":"array"}},"rule_presence":{"description":"Comma seprated string with bools. If true shows only CVEs with security rule associated, if false shows CVEs without rules. true, false shows all.","example":"true,false","in":"query","name":"rule_presence","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"rule_presence_deprecated":{"deprecated":true,"description":"Comma seprated string with bools. If true shows only CVEs with security rule associated, if false shows CVEs without rules. true, false shows all.","example":"true,false","in":"query","name":"rule_presence","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"sap_sids":{"description":"List of SAP IDs to filter with","example":"ABC,CDE","in":"query","name":"sap_sids","schema":{"items":{"type":"string"},"type":"array"}},"sap_system":{"description":"Boolean value which shows systems managed by SAP.","example":false,"in":"query","name":"sap_system","schema":{"type":"boolean"}},"show_advisories":{"description":"If true shows advisories list","example":false,"in":"query","name":"show_advisories","schema":{"type":"boolean"}},"sort":{"description":"Sorting used for response.","example":"-inventory_id","in":"query","name":"sort","schema":{"type":"string"}},"stale":{"description":"If set to true, shows stale systems. If not set defaults to false.","in":"query","name":"stale","schema":{"type":"boolean"}},"status_id":{"description":"Filer based on CVE status ID.","in":"query","name":"status_id","schema":{"example":"1,4","type":"string"}},"tags":{"description":"Filter based on hosts tags. Tags needs to be in query format, that means /= or / if value is null. Characters '/', '=' in tag values needs to be escaped by url encoding.","example":"vulnerability/usage=server","in":"query","name":"tags","schema":{"items":{"pattern":"^([^=/]+\\/){1}([^=/])+(=[^=/]+)?$","type":"string"},"type":"array"}},"uuid":{"description":"Filter based on UUID of inventory.","example":"2ee58c62-809f-11ea-bc55-0242ac130003","in":"query","name":"uuid","schema":{"type":"string"}}},"schemas":{"AffectedSystemsIdsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"description":"Smallest dataset for frontend to work.","properties":{"display_name":{"description":"System's name.","example":"system.example.com","type":"string"},"inventory_id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"mitigation_reason":{"description":"Reason why the system is not vulnerable.","example":"SELinux mitigates the issue","nullable":true,"type":"string"},"remediation":{"description":"Type of available remediation, 0 for none, 1 for manual, 2 for playbook.","enum":[0,1,2],"type":"number"},"rule_id":{"description":"ID of associated security rule.","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","nullable":true,"type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"}},"required":["inventory_id","rule_id","status_id","status_text","display_name","remediation"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaAffectedSystems"}},"required":["data","links","meta"],"type":"object"},"AffectedSystemsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"attributes":{"properties":{"advisories_list":{"description":"List of advisories for system","items":{"description":"Advisory id","example":"RHSA-2019:1481","type":"string"},"type":"array"},"advisory_available":{"description":"Shows whether a CVE has available advisory or not","example":true,"type":"boolean"},"culled_timestamp":{"description":"Timestamp from which the host is considered deleted.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"cve_status_id":{"description":"Internal ID of the CVE status.","example":4,"type":"integer"},"display_name":{"description":"System's name.","example":"system.example.com","nullable":true,"type":"string"},"first_reported":{"description":"Date of when the CVE was first reported on the system.","example":"2018-09-22T16:00:00+00:00","type":"string"},"insights_id":{"description":"Insights host ID.","example":"0035f6bc-cdb0-4763-8fcd-1dc58f716359","nullable":true,"type":"string"},"inventory_id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"last_evaluation":{"description":"Date of last evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"mitigation_reason":{"description":"Reason why the system is not vulnerable.","example":"SELinux mitigates the issue","nullable":true,"type":"string"},"os":{"description":"Operating system.","example":"RHEL 8.4","type":"string"},"remediation":{"description":"Type of available remediation, 0 for none, 1 for manual, 2 for playbook.","enum":[0,1,2],"type":"number"},"reporter":{"description":"Reporter of the vulnerability, 1 for VMaaS, 2 for security rule, 3 for both VMaaS and rule.","enum":[0,1,2,3],"type":"number"},"rule":{"description":"Details of associated security rule.","nullable":true,"properties":{"details":{"description":"Additional information specific to the system rule hit.","type":"object"},"resolution":{"description":"Details of recommended resolution.","properties":{"resolution":{"description":"Recommended resolution of the issue.","example":"Red Hat recommends that you update the dnsmasq package","nullable":true,"type":"string"}},"required":["resolution"],"type":"object"},"rule":{"properties":{"description":{"description":"Description of the associated security rule.","example":"CVE-2017-14491 dnsmasq code execution with listening processes","nullable":true,"type":"string"},"more_info":{"description":"Additional information about the issue.","example":"For more information about this specific flaw, see its ...","nullable":true,"type":"string"},"node_id":{"description":"ID of associated Red Hat knowledgebase article.","example":3199382,"nullable":true,"type":"integer"},"reason":{"description":"Reason of why rule did hit.","example":"This system is vulnerable because it is running a vulnerable package.","nullable":true,"type":"string"},"rule_id":{"description":"ID of associated security rule.","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","type":"string"}},"required":["description","more_info","node_id","reason","rule_id"],"type":"object"}},"required":["details","resolution","rule"],"type":"object"},"rules_evaluation":{"description":"Date of last security rules evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_timestamp":{"description":"Date when stale system becomes stale.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_warning_timestamp":{"description":"Date when stale system becomes hidden in the application.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_name":{"description":"Status of the vulnerability for the application's point of view.","example":"Resolved","type":"string"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"},"tags":{"items":{"properties":{"key":{"description":"Key of the single tag.","example":"CVE","type":"string"},"namespace":{"description":"Namespace of single tag.","example":"vulnerability","nullable":true,"type":"string"},"value":{"description":"Value of the single tag.","example":"CVE-2017-1","nullable":true,"type":"string"}},"required":["namespace","key","value"],"type":"object"},"type":"array"},"updated":{"description":"Date of the lastest upload of archive taken from Inventory syndicated data.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"}},"required":["cve_status_id","culled_timestamp","display_name","first_reported","inventory_id","insights_id","last_evaluation","os","reporter","rule","rules_evaluation","stale_timestamp","stale_warning_timestamp","status_id","status_name","status_text","tags","updated","advisory_available","remediation","mitigation_reason"],"type":"object"},"id":{"description":"Host id.","example":"INV-ID-0000-1234","type":"string"},"type":{"description":"Type of the record.","example":"system","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaAffectedSystems"}},"required":["data","links","meta"],"type":"object"},"AnnouncementOut":{"properties":{"last_updated":{"description":"Datetime string.","example":"2004-10-19 10:23:54+02","type":"string"},"message":{"description":"Announcement message.","example":"Hello from Vulnerability team :).","type":"string"}},"required":["message","last_updated"],"type":"object"},"BulkChangeOut":{"properties":{"meta":{"$ref":"#/components/schemas/MetaPermissions"},"updated":{"description":"List of updated objects/updated object IDs.","items":{"example":"f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2","type":"string"},"type":"array"}},"required":["updated"],"type":"object"},"BusinessRiskListOut":{"properties":{"data":{"description":"List of available business risk/business_risk_id pairs.","items":{"properties":{"id":{"description":"Internal business_risk_id.","example":3,"type":"integer"},"name":{"description":"Represenation of internal business_risk_id.","example":"Low","type":"string"}},"required":["id","name"],"type":"object"},"type":"array"},"meta":{"properties":{"total_items":{"description":"Total number of available business risk/business_risk_id pairs.","example":1,"type":"integer"}},"required":["total_items"],"type":"object"}},"required":["data","meta"],"type":"object"},"CveDetailOut":{"properties":{"data":{"properties":{"attributes":{"properties":{"advisories_list":{"description":"List of advisory names or detailed advisory information","items":{"oneOf":[{"example":"RHSA-2015:0809","type":"string"},{"properties":{"attributes":{"properties":{"advisory_type":{"example":3,"type":"integer"},"applicable_systems":{"example":2559,"type":"integer"},"description":{"example":"The bash packages provide Bash (Bourne-again shell), which is the default shell for Red Hat Enterprise Linux...","type":"string"},"public_date":{"example":"2020-09-01T15:22:07Z","type":"string"},"severity":{"example":2,"type":"integer"},"synopsis":{"example":"Moderate: bash security update","type":"string"}},"required":["applicable_systems"],"type":"object"},"id":{"example":"RHSA-2020:3592","type":"string"},"type":{"example":"advisory","type":"string"}},"required":["id","type"],"type":"object"}]},"nullable":true,"type":"array"},"affected_but_not_vulnerable":{"description":"Number of systems that are affected by given CVE but are not vulnerable.","example":0,"nullable":true,"type":"integer"},"business_risk":{"description":"Business risk of the vulnerability.","example":"Low","type":"string"},"business_risk_id":{"description":"Internal ID of the vulnerability business risk.","example":1,"type":"integer"},"business_risk_text":{"description":"Complementary text to the business risk.","example":"QA environment => Low business risk","nullable":true,"type":"string"},"celebrity_name":{"description":"\"Celebrity\" name of the CVE.","example":"Spectre/Meltdown","nullable":true,"type":"string"},"cvss2_metrics":{"description":"cvss2 metrics of the CVE.","example":"AV:N/AC:M/Au:N/C:P/I:P/A:N","nullable":true,"type":"string"},"cvss2_score":{"description":"String representation of cvss2 score of the CVE.","example":"5.800","nullable":true,"type":"string"},"cvss3_metrics":{"description":"cvss3 metrics of the CVE.","example":"AV:N/AC:M/Au:N/C:P/I:P/A:N","nullable":true,"type":"string"},"cvss3_score":{"description":"String representation of cvss3 score of the CVE.","example":"4.400","nullable":true,"type":"string"},"description":{"description":"Description of the CVE.","example":"A padding oracle flaw was found in the Secure Sockets Layer version 2.0 (SSLv2) protocol. An attacker could...","type":"string"},"impact":{"description":"Red Hat security impact of the CVE.","example":"Important","type":"string"},"known_exploit":{"description":"Shows whether a CVE has known exploits or not","example":true,"type":"boolean"},"modified_date":{"description":"String representation of ISO-8601 formatted date of last modification of the CVE.","example":"2019-03-07T08:15:36+00:00","nullable":true,"type":"string"},"public_date":{"description":"String representation of ISO-8601 formatted date of first public disclosure of the CVE.","example":"2016-03-01T00:00:00+00:00","nullable":true,"type":"string"},"redhat_url":{"description":"Additional resource about the CVE, provided by Red Hat.","example":"https://access.redhat.com/security/cve/cve-2016-0800","nullable":true,"type":"string"},"rules":{"items":{"$ref":"#/components/schemas/InsightsRule"},"type":"array"},"secondary_url":{"description":"Additional resources about the CVE.","example":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-0800","nullable":true,"type":"string"},"status":{"description":"Status of the vulnerability.","example":"Not Reviewed","type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":1,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"},"synopsis":{"description":"Synopsis of the CVE.","example":"CVE-2016-0800","type":"string"},"systems_status_detail":{"description":"Counts of systems with given status type.","type":"object"},"systems_status_divergent":{"description":"How many systems-CVE pairs have different status than CVE-level.","example":20,"type":"integer"}},"required":["business_risk","business_risk_id","business_risk_text","celebrity_name","cvss2_metrics","cvss2_score","cvss3_metrics","cvss3_score","description","impact","modified_date","public_date","redhat_url","rules","secondary_url","status","status_id","status_text","synopsis","systems_status_detail","systems_status_divergent","advisories_list","known_exploit","affected_but_not_vulnerable"],"type":"object"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"type":{"description":"Type of the record.","example":"cve","type":"string"}},"required":["id","type","attributes"],"type":"object"},"meta":{"$ref":"#/components/schemas/MetaPermissions"}},"type":"object"},"CveOrList":{"example":"CVE-2016-0800","oneOf":[{"description":"CVE name.","example":"CVE-2016-0800","type":"string"},{"description":"List of CVEs for a bulk change.","items":{"example":"CVE-2016-0800","type":"string"},"type":"array"}]},"CveRiskIn":{"properties":{"business_risk_id":{"description":"Business risk ID to be set, obtained by GET method.","example":3,"type":"integer"},"business_risk_text":{"description":"Complementary text to the business risk.","example":"Not relevant","nullable":true,"type":"string"},"cve":{"$ref":"#/components/schemas/CveOrList"}},"required":["cve"],"type":"object"},"CveStatusIn":{"properties":{"cve":{"$ref":"#/components/schemas/CveOrList"},"status_id":{"description":"Status ID to be set, obtained by GET method.","example":3,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"}},"required":["cve"],"type":"object"},"CvesWithoutErrataIn":{"properties":{"enable":{"description":"Enable or disable CVEs without Errata feature.","example":true,"type":"boolean"}},"required":["enable"],"type":"object"},"CvesWithoutErrataOut":{"properties":{"meta":{"$ref":"#/components/schemas/MetaPermissions"},"updated":{"properties":{"cves_without_errata":{"properties":{"enabled":{"type":"boolean"}},"type":"object"},"org_id":{"type":"string"}},"type":"object"}},"required":["updated","meta"],"type":"object"},"DashbarOut":{"properties":{"critical_cves":{"type":"number"},"cves_with_rule":{"type":"number"},"exploitable_cves":{"type":"number"},"important_cves":{"type":"number"}},"type":"object"},"Dashboard":{"properties":{"cves_by_severity":{"description":"Number of CVEs discovered on the managed systems, divided into buckets based on their CVSSv3 score (CVSSv2 is used when CVSSv3 is not available).","properties":{"0to3.9":{"properties":{"count":{"description":"Number of CVEs with CVSS score lower than 4.","example":1902,"type":"integer"},"known_exploits":{"description":"Number of CVEs in given bracket with a known exploit.","example":6,"type":"number"},"percentage":{"description":"Percentage of CVEs with CVSS score lower than 4.","example":60,"type":"number"}},"required":["count","percentage"],"type":"object"},"4to7.9":{"properties":{"count":{"description":"Number of CVEs with CVSS score higher or equal to 4 and lower then 8.","example":400,"type":"integer"},"known_exploits":{"description":"Number of CVEs in given bracket with a known exploit.","example":6,"type":"number"},"percentage":{"description":"Percentage of CVEs with CVSS score higher or equal to 4 and lower then 8.","example":15,"type":"number"}},"required":["count","percentage"],"type":"object"},"8to10":{"properties":{"count":{"description":"Number of CVEs with CVSS score higher or equal to 8.","example":109,"type":"integer"},"known_exploits":{"description":"Number of CVEs in given bracket with a known exploit.","example":6,"type":"number"},"percentage":{"description":"Percentage of CVEs with CVSS score higher or equal to 8.","example":2,"type":"number"}},"required":["count","percentage"],"type":"object"},"na":{"properties":{"count":{"description":"Number of CVEs with N/A CVSS score.","example":109,"type":"integer"},"known_exploits":{"description":"Number of CVEs in given bracket with a known exploit.","example":6,"type":"number"},"percentage":{"description":"Percentage of CVEs with N/A CVSS score.","example":2,"type":"number"}},"required":["count","percentage"],"type":"object"}},"required":["0to3.9","4to7.9","8to10","na"],"type":"object"},"cves_total":{"description":"Number of unique CVEs discovered on the managed systems.","example":1902,"type":"integer"},"exploited_cves_count":{"description":"unique number of CVEs having known exploit affecting at least one system","example":5,"type":"integer"},"recent_cves":{"description":"Number of recently published CVEs identified on managed systems","properties":{"last30days":{"description":"Number of CVEs identified on managed systems published in last 30 days.","example":62,"type":"integer"},"last7days":{"description":"Number of CVEs identified on managed systems published in last 7 days.","example":14,"type":"integer"},"last90days":{"description":"Number of CVEs identified on managed systems published in last 90 days.","example":156,"type":"integer"}},"required":["last7days","last30days","last90days"],"type":"object"},"recent_rules":{"description":"List of recently (14 days) released security rules.","items":{"description":"Security rule.","properties":{"associated_cves":{"description":"List of CVEs associated with the security rule.","items":{"description":"CVE name.","example":"CVE-2016-0800","type":"string"},"type":"array"},"description":{"description":"Description of the issue related with the security rule.","example":"A heap-based buffer overflow was found in the way ...","type":"string"},"id":{"description":"ID of the security rule.","example":"CVE_2019_11135_cpu_taa|CVE_2019_11135_CPU_TAA_KERNEL","type":"string"},"name":{"description":"Name of the security rule.","example":"sudo privilege escalation","type":"string"},"node_id":{"description":"Node id of access.redhat.com/node/* article.","example":5737621,"nullable":true,"type":"number"},"public_date":{"description":"String representation of ISO-8601 formatted date of release of the security rule.","example":"2016-03-01T00:00:00+00:00","nullable":true,"type":"string"},"severity":{"description":"Number representation of the security rule severity.","example":3,"type":"number"},"systems_affected":{"description":"Number of systems triggering the security rule.","example":178,"type":"number"}},"type":"object"},"required":["associated_cves","description","name","node_id","severity","systems_affected"],"type":"array"},"rules_cves_total":{"description":"Total number of CVEs with associated security rules affecting given account.","example":12,"type":"integer"},"system_count":{"description":"Total systems registered to Vulnerability service (with applied filtering).","example":241,"type":"integer"}},"required":["cves_total","cves_by_severity","recent_cves","recent_rules","rules_cves_total","system_count","exploited_cves_count"],"type":"object"},"Errors":{"properties":{"errors":{"items":{"properties":{"detail":{"oneOf":[{"description":"Error detail.","example":"Record not found.","type":"string"},{"description":"Returned with RBAC (user permissions) related issue","properties":{"msg":{"description":"Error detail related to RBAC problem","type":"string"},"permissions":{"description":"Array with RBAC permissions of user","items":{"type":"string"},"type":"array"}},"type":"object"}]},"status":{"description":"String representation of HTTP status code.","example":404,"type":"string"}},"required":["detail","status"],"type":"object"},"minItems":1,"type":"array"}},"required":["errors"],"type":"object"},"ExecutiveReport":{"properties":{"cves_by_severity":{"description":"Number of CVEs discovered on the managed systems, divided into buckets based on their CVSSv3 score (CVSSv2 is used when CVSSv3 is not available).","properties":{"0to3.9":{"properties":{"count":{"description":"Number of CVEs with CVSS score lower than 4.","example":1902,"type":"integer"},"percentage":{"description":"Percentage of CVEs with CVSS score lower than 4.","example":60,"type":"number"}},"required":["count","percentage"],"type":"object"},"4to7.9":{"properties":{"count":{"description":"Number of CVEs with CVSS score higher or equal to 4 and lower then 8.","example":400,"type":"integer"},"percentage":{"description":"Percentage of CVEs with CVSS score higher or equal to 4 and lower then 8.","example":15,"type":"number"}},"required":["count","percentage"],"type":"object"},"8to10":{"properties":{"count":{"description":"Number of CVEs with CVSS score higher or equal to 8.","example":109,"type":"integer"},"percentage":{"description":"Percentage of CVEs with CVSS score higher or equal to 8.","example":2,"type":"number"}},"required":["count","percentage"],"type":"object"},"na":{"properties":{"count":{"description":"Number of CVEs with N/A CVSS score.","example":109,"type":"integer"},"percentage":{"description":"Percentage of CVEs with N/A CVSS score.","example":2,"type":"number"}},"required":["count","percentage"],"type":"object"}},"required":["0to3.9","4to7.9","8to10","na"],"type":"object"},"cves_total":{"description":"Number of unique CVEs discovered on the managed systems.","example":1902,"type":"integer"},"meta":{"$ref":"#/components/schemas/MetaPermissions"},"recent_cves":{"description":"Number of recently published CVEs identified on managed systems","properties":{"last30days":{"description":"Number of CVEs identified on managed systems published in last 30 days.","example":62,"type":"integer"},"last7days":{"description":"Number of CVEs identified on managed systems published in last 7 days.","example":14,"type":"integer"},"last90days":{"description":"Number of CVEs identified on managed systems published in last 90 days.","example":156,"type":"integer"}},"required":["last7days","last30days","last90days"],"type":"object"},"rules_by_severity":{"description":"Information about how much systems are affected by a security rule, broken down by rule severity.","properties":{"1":{"properties":{"rule_count":{"description":"How many unique rules with at least system affected are present.","example":12,"type":"integer"},"systems_affected":{"description":"How many unique systems are affected by at least one rules with given severity","example":443,"type":"integer"}},"required":["rule_count","systems_affected"],"type":"object"},"2":{"properties":{"rule_count":{"description":"How many unique rules with at least system affected are present.","example":12,"type":"integer"},"systems_affected":{"description":"How many unique systems are affected by at least one rules with given severity","example":443,"type":"integer"}},"required":["rule_count","systems_affected"],"type":"object"},"3":{"properties":{"rule_count":{"description":"How many unique rules with at least system affected are present.","example":12,"type":"integer"},"systems_affected":{"description":"How many unique systems are affected by at least one rules with given severity","example":443,"type":"integer"}},"required":["rule_count","systems_affected"],"type":"object"},"4":{"properties":{"rule_count":{"description":"How many unique rules with at least system affected are present.","example":12,"type":"integer"},"systems_affected":{"description":"How many unique systems are affected by at least one rules with given severity","example":443,"type":"integer"}},"required":["rule_count","systems_affected"],"type":"object"}},"required":["1","2","3","4"],"type":"object"},"rules_total":{"description":"Number of unique CVEs discovered on the managed systems.","example":1902,"type":"integer"},"system_count":{"description":"Total number of systems managed by vulnerability application.","example":25641,"type":"integer"},"top_cves":{"items":{"properties":{"cvss2_score":{"description":"String representation of cvss2 score of the CVE.","example":"5.800","nullable":true,"type":"string"},"cvss3_score":{"description":"String representation of cvss3 score of the CVE.","example":"4.400","nullable":true,"type":"string"},"description":{"description":"Description of the CVE.","example":"A padding oracle flaw was found in the Secure Sockets Layer version 2.0 (SSLv2) protocol. An attacker could...","type":"string"},"known_exploit":{"description":"Shows whether a CVE has known exploits or not","example":true,"type":"boolean"},"rule_presence":{"description":"Indicator of security rule presence","example":true,"type":"boolean"},"security_rule":{"deprecated":true,"description":"Indicator of security rule presence","example":true,"type":"boolean"},"synopsis":{"description":"CVE synopsis","example":"CVE-2016-0800","type":"string"},"systems_affected":{"description":"Systems affected by the CVE.","example":1795,"type":"integer"}},"required":["synopsis","cvss2_score","cvss3_score","description","systems_affected","known_exploit"],"type":"object"},"type":"array"},"top_rules":{"items":{"properties":{"associated_cves":{"description":"All CVEs associated with the rule","items":{"example":"CVE-2019-1125","type":"string"},"type":"array"},"description":{"description":"Brief description of the issue.","example":"Privilege Escalation with running service (no fix available for this version)","type":"string"},"name":{"description":"Name of the security rule.","example":"httpd denial of service with running services","type":"string"},"rule_id":{"description":"ID of associated security rule.","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","type":"string"},"severity":{"description":"Severity of the security rule.","example":3,"type":"integer"},"systems_affected":{"description":"Number of systems affected by the rule.","example":443,"type":"integer"}},"required":["associated_cves","description","name","rule_id","severity","systems_affected"],"type":"object"},"type":"array"}},"required":["system_count","cves_total","cves_by_severity","rules_by_severity","rules_total","recent_cves"],"type":"object"},"InsightsRule":{"properties":{"associated_cves":{"description":"List of CVEs associated with the rule.","items":{"example":"CVE-2016-0800","type":"string"},"type":"array"},"change_risk":{"description":"Indicates how likely remediation can change environment on the remediatied system.","example":1,"nullable":true,"type":"integer"},"description":{"description":"Description of the rule.","example":"CVE-2017-14491 dnsmasq code execution with listening processes","nullable":true,"type":"string"},"kbase_node_id":{"description":"ID of associated Red Hat knowledgebase article.","example":3199382,"nullable":true,"type":"integer"},"playbook_count":{"description":"Number of available Ansible playbooks for remediation/mitigation.","example":1,"nullable":true,"type":"integer"},"publish_date":{"description":"Date when the rule was published.","example":"2018-05-15T13:00:00Z","nullable":true,"type":"string"},"reboot_required":{"description":"Indicator whter reboot is required to mitigate vulnerability.","example":false,"nullable":true,"type":"boolean"},"rule_id":{"description":"ID(s) of associated security rule(s).","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","type":"string"},"rule_impact":{"description":"Shows rules impact number from 1 to 4","example":1,"nullable":true,"type":"integer"},"summary":{"description":"Summary of the rule.","example":"A buffer overflow vulnerability was found in `Dnsmasq`, a popular lightweight DNS and DHCP server....","nullable":true,"type":"string"},"systems_affected":{"description":"Number of systems affected by the rule.","example":72,"type":"integer"}},"required":["associated_cves","change_risk","description","kbase_node_id","playbook_count","reboot_required","rule_id","summary","rule_impact","publish_date"],"type":"object"},"InventoryIdOrList":{"example":"f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2","oneOf":[{"description":"Inventory ID.","example":"f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2","type":"string"},{"description":"List of inventory IDs for a bulk change.","items":{"example":"f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2","type":"string"},"type":"array"}]},"Links":{"properties":{"first":{"description":"Link to first page.","example":"/api?offset=0&limit=1","type":"string"},"last":{"description":"Link to last page.","example":"/api?offset=7&limit=1","type":"string"},"next":{"description":"Link to next page.","example":"/api?offset=5&limit=1","nullable":true,"type":"string"},"previous":{"description":"Link to next page.","example":"/api?offset=3&limit=1","nullable":true,"type":"string"}},"required":["first","last","next","previous"],"type":"object"},"Meta":{"properties":{"data_format":{"description":"Format of the output data, either JSON (default) or CSV.","example":"JSON","type":"string"},"filter":{"description":"Full text filter","example":"CVE-2016-0800","nullable":true,"type":"string"},"limit":{"description":"Maximum number of paginated results.","example":25,"type":"integer"},"offset":{"description":"First record of paginated response.","example":0,"type":"integer"},"page":{"description":"Page number of paginated response.","example":1,"type":"integer"},"page_size":{"description":"Number of records per page of paginated response.","example":25,"type":"integer"},"pages":{"description":"Total number of pages of paginated response.","example":1,"type":"integer"},"sort":{"description":"Sorting filter.","example":"-inventory_id","nullable":true,"type":"string"},"total_items":{"description":"Total number of records.","example":37,"type":"integer"}},"required":["filter","limit","offset","page","page_size","pages","sort","total_items","data_format"],"type":"object"},"MetaAffectedSystems":{"allOf":[{"$ref":"#/components/schemas/Meta"},{"$ref":"#/components/schemas/MetaPermissions"},{"properties":{"cves_without_errata":{"description":"CVEs without Errata feature flag","nullable":false,"type":"boolean"},"first_reported_from":{"description":"Filter system-cve pairs based on first time of detection of CVE.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"first_reported_to":{"description":"Filter system-cve pairs based on first time of detection of CVE.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"patch_access":{"description":"If show_advisories=true shows access to patch service else null","example":true,"nullable":true,"type":"boolean"},"rhel_version":{"description":"Filter base on system RHEL version.","example":"8.2","nullable":true,"type":"string"},"rule_key":{"description":"Filters security rules by its error key.","example":"CVE_2018_3639_cpu_kernel|CVE_2018_3639_CPU_BAD_MICROCODE_2,CVE_2018_12207_cpu_kernel|CVE_2018_12207_CPU_KERNEL_FOR_SURE","nullable":true,"type":"string"},"rule_presence":{"description":"Filter based on presence of security rule","example":"true,false","nullable":true,"type":"string"},"status_id":{"description":"Filer based on CVE status ID.","example":"1,4","nullable":true,"type":"string"}},"required":["status_id","rule_key","rule_presence","patch_access","rhel_version","first_reported_from","first_reported_to","cves_without_errata"],"type":"object"}]},"MetaCves":{"allOf":[{"$ref":"#/components/schemas/Meta"},{"$ref":"#/components/schemas/MetaPermissions"},{"properties":{"business_risk_id":{"description":"Filter based on business risk IDs.","example":"1,3","nullable":true,"type":"string"},"cves_without_errata":{"description":"CVEs without Errata feature flag","nullable":false,"type":"boolean"},"cvss_from":{"description":"Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score.","example":4.6,"nullable":true,"type":"number"},"cvss_to":{"description":"Filter based on cvss score, up to the value.","example":7.2,"nullable":true,"type":"number"},"first_reported_from":{"description":"Filter system-cve pairs based on first time of detection of CVE.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"first_reported_to":{"description":"Filter system-cve pairs based on first time of detection of CVE.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"impact":{"description":"Filter based on impact IDs.","example":"5,7","nullable":true,"type":"string"},"patch_access":{"description":"If show_advisories=true shows access to patch service else null","example":true,"nullable":true,"type":"boolean"},"public_from":{"description":"Filter CVEs based on their published date, starting from the date.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"public_to":{"description":"Filter CVEs based on their published date, up to the date.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"rule_presence":{"description":"Filter based on presence of security rule","example":"true,false","nullable":true,"type":"string"},"status_id":{"description":"Filer based on CVE status ID.","example":"1,4","nullable":true,"type":"string"}},"required":["business_risk_id","cvss_from","cvss_to","public_from","public_to","impact","status_id","rule_presence","patch_access","first_reported_from","first_reported_to","cves_without_errata"],"type":"object"}]},"MetaCvesSystems":{"allOf":[{"$ref":"#/components/schemas/MetaCves"},{"properties":{"opt_out":{"description":"If given system was opted out.","example":true,"type":"boolean"}},"required":["opt_out"],"type":"object"}]},"MetaPermissions":{"properties":{"permissions":{"description":"Fetched permissions from RBAC for given user","items":{"example":"vulnerability:vulnerability_results:read","type":"string"},"nullable":false,"type":"array"}},"required":["permissions"],"type":"object"},"MetaSystems":{"allOf":[{"$ref":"#/components/schemas/Meta"},{"$ref":"#/components/schemas/MetaPermissions"},{"properties":{"excluded":{"description":"Display setting of opted out systems.","example":"true,false","nullable":true,"type":"string"},"rhel_version":{"description":"Filter base on system RHEL version.","example":"8.2","nullable":true,"type":"string"}},"required":["excluded","rhel_version"],"type":"object"}]},"MetaVulnerabilitiesOut":{"allOf":[{"$ref":"#/components/schemas/Meta"},{"$ref":"#/components/schemas/MetaPermissions"},{"properties":{"advisory_available":{"description":"Shows whether a CVE has available advisory or not","example":"true,false","nullable":true,"type":"string"},"affecting":{"description":"Description of CVE showing preferences","example":"True,False","nullable":true,"type":"string"},"business_risk_id":{"description":"Filter based on business risk IDs.","example":"1,3","nullable":true,"type":"string"},"cves_without_errata":{"description":"CVEs without Errata feature flag","nullable":false,"type":"boolean"},"cvss_from":{"description":"Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score.","example":4.6,"nullable":true,"type":"number"},"cvss_to":{"description":"Filter based on cvss score, up to the value.","example":7.2,"nullable":true,"type":"number"},"impact":{"description":"Filter based on impact IDs.","example":"5,7","nullable":true,"type":"string"},"public_from":{"description":"Filter CVEs based on their published date, starting from the date.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"public_to":{"description":"Filter CVEs based on their published date, up to the date.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"rhel_version":{"description":"Filter base on system RHEL version.","example":"8.2","nullable":true,"type":"string"},"rule_presence":{"description":"Filter based on presence of security rule","example":"true,false","nullable":true,"type":"string"},"system_count":{"description":"Total number of systems managed by vulnerability application.","example":25641,"type":"integer"}},"required":["affecting","business_risk_id","cvss_from","cvss_to","public_from","public_to","impact","rhel_version","rule_presence","cves_without_errata","advisory_available"],"type":"object"}]},"MitigatedSystemsIdsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"description":"Smallest dataset for frontend to work.","properties":{"inventory_id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"rule_id":{"description":"ID of associated security rule.","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","nullable":true,"type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"}},"required":["inventory_id","rule_id","status_id","status_text"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaAffectedSystems"}},"required":["data","links","meta"],"type":"object"},"MitigatedSystemsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"attributes":{"properties":{"advisories_list":{"description":"List of advisories for system","items":{"description":"Advisory id","example":"RHSA-2019:1481","type":"string"},"type":"array"},"advisory_available":{"description":"Shows whether a CVE has available advisory or not","example":true,"type":"boolean"},"culled_timestamp":{"description":"Timestamp from which the host is considered deleted.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"cve_status_id":{"description":"Internal ID of the CVE status.","example":4,"type":"integer"},"display_name":{"description":"System's name.","example":"system.example.com","nullable":true,"type":"string"},"insights_id":{"description":"Insights host ID.","example":"0035f6bc-cdb0-4763-8fcd-1dc58f716359","nullable":true,"type":"string"},"inventory_id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"last_evaluation":{"description":"Date of last evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"mitigation_reason":{"description":"Reason why the system is not vulnerable","example":"SELinux mitigates the issue","type":"string"},"os":{"description":"Operating system.","example":"RHEL 8.4","type":"string"},"remediation":{"description":"Type of available remediation, 0 for none, 1 for manual, 2 for playbook.","enum":[0,1,2],"type":"number"},"reporter":{"description":"Reporter of the vulnerability, 1 for VMaaS, 2 for security rule, 3 for both VMaaS and rule.","enum":[0,1,2,3],"type":"number"},"rule_id":{"description":"ID(s) of associated security rule(s)..","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","type":"string"},"rules_evaluation":{"description":"Date of last security rules evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_timestamp":{"description":"Date when stale system becomes stale.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_warning_timestamp":{"description":"Date when stale system becomes hidden in the application.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_name":{"description":"Status of the vulnerability for the application's point of view.","example":"Resolved","type":"string"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"},"tags":{"items":{"properties":{"key":{"description":"Key of the single tag.","example":"CVE","type":"string"},"namespace":{"description":"Namespace of single tag.","example":"vulnerability","nullable":true,"type":"string"},"value":{"description":"Value of the single tag.","example":"CVE-2017-1","nullable":true,"type":"string"}},"required":["namespace","key","value"],"type":"object"},"type":"array"},"updated":{"description":"Date of the lastest upload of archive taken from Inventory syndicated data.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"}},"required":["cve_status_id","culled_timestamp","display_name","inventory_id","insights_id","last_evaluation","mitigation_reason","os","reporter","rules_evaluation","stale_timestamp","stale_warning_timestamp","status_id","status_name","status_text","tags","updated","advisory_available","remediation"],"type":"object"},"id":{"description":"Host id.","example":"INV-ID-0000-1234","type":"string"},"type":{"description":"Type of the record.","example":"system","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaAffectedSystems"}},"required":["data","links","meta"],"type":"object"},"OptOutIn":{"properties":{"inventory_id":{"$ref":"#/components/schemas/InventoryIdOrList"},"opt_out":{"description":"Opt out setting to be set.","example":true,"type":"boolean"}},"required":["inventory_id","opt_out"],"type":"object"},"PlaybookTemplate":{"properties":{"data":{"items":{"properties":{"description":{"description":"Playbook template description.","example":"Fix issues caused by CVE_2017_6074_kernel|KERNEL_CVE_2017_6074.","type":"string"},"play":{"description":"Actual playbook template.","type":"string"},"reboot_required":{"description":"Indicator whter reboot is required to mitigate vulnerability.","example":false,"nullable":true,"type":"boolean"},"resolution_type":{"description":"Type of the resolution provided by playbook.","type":"string"},"version":{"description":"Revision of the playbook template.","example":"93a1ced8a259666f0505cd20b7cb8e7a1c65b868","type":"string"}},"required":["description","play","version","resolution_type"],"type":"object"},"type":"array"}},"type":"object"},"StatusIn":{"properties":{"cve":{"$ref":"#/components/schemas/CveOrList"},"inventory_id":{"$ref":"#/components/schemas/InventoryIdOrList"},"status_id":{"description":"Status ID to be set, obtained by GET method. If not specified, global CVE status is set.","example":3,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"}},"required":["cve"],"type":"object"},"StatusListOut":{"properties":{"data":{"description":"List of available status/status_id pairs.","items":{"properties":{"id":{"description":"Internal status_id.","example":3,"type":"integer"},"name":{"description":"Represenation of internal status_id.","example":"Scheduled for Patch","type":"string"}},"required":["id","name"],"type":"object"},"type":"array"},"meta":{"properties":{"total_items":{"description":"Total number of available status/status_id pairs.","example":1,"type":"integer"}},"required":["total_items"],"type":"object"}},"required":["data","meta"],"type":"object"},"StatusOut":{"properties":{"meta":{"$ref":"#/components/schemas/MetaPermissions"},"updated":{"description":"List of updated objects/updated object IDs.","items":{"properties":{"cve":{"example":"CVE-2016-0800","type":"string"},"inventory_id":{"example":"f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2","type":"string"}},"required":["inventory_id","cve"],"type":"object"},"type":"array"}},"required":["updated"],"type":"object"},"SystemCvesIdsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"description":"CVE id and minimal information for frontend","properties":{"cve_status_id":{"description":"Internal ID of the CVE status.","example":4,"type":"integer"},"cve_status_text":{"description":"Status text to the whole cve.","example":"Not relevant for all","nullable":true,"type":"string"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"remediation":{"description":"Type of available remediation, 0 for none, 1 for manual, 2 for playbook.","enum":[0,1,2],"type":"number"},"rule_id":{"description":"ID(s) of associated security rule(s)..","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","nullable":true,"type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"}},"required":["id","rule_id","status_id","status_text","cve_status_id","cve_status_text","remediation"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaCves"}},"required":["data","links","meta"],"type":"object"},"SystemCvesOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"attributes":{"properties":{"advisories_list":{"description":"List of advisories for CVE","items":{"description":"Advisory id","example":"RHSA-2019:1481","type":"string"},"type":"array"},"advisory_available":{"description":"Shows whether a CVE has available advisory or not","example":true,"type":"boolean"},"business_risk":{"description":"Business risk of the vulnerability.","example":"Low","type":"string"},"business_risk_id":{"description":"Internal ID of the vulnerability business risk.","example":1,"type":"integer"},"business_risk_text":{"description":"Complementary text to the business risk.","example":"QA environment => Low business risk","nullable":true,"type":"string"},"cve_status_id":{"description":"Internal ID of the CVE status.","example":4,"type":"integer"},"cve_status_text":{"description":"Status text to the whole cve.","example":"Not relevant for all","nullable":true,"type":"string"},"cvss2_score":{"description":"String representation of cvss2 score of the CVE.","example":"5.800","nullable":true,"type":"string"},"cvss3_score":{"description":"String representation of cvss3 score of the CVE.","example":"4.400","nullable":true,"type":"string"},"description":{"description":"Description of the CVE.","example":"A padding oracle flaw was found in the Secure Sockets Layer version 2.0 (SSLv2) protocol. An attacker could...","type":"string"},"first_reported":{"description":"Date of when the CVE was first reported on the system.","example":"2018-09-22T16:00:00+00:00","type":"string"},"impact":{"description":"Red Hat security impact of the CVE.","example":"Important","type":"string"},"known_exploit":{"description":"Shows whether a CVE has known exploits or not","example":true,"type":"boolean"},"public_date":{"description":"String representation of ISO-8601 formatted date of first public disclosure of the CVE.","example":"2016-03-01T00:00:00+00:00","nullable":true,"type":"string"},"remediation":{"description":"Type of available remediation, 0 for none, 1 for manual, 2 for playbook.","enum":[0,1,2],"type":"number"},"reporter":{"description":"Reporter of the vulnerability, 1 for VMaaS, 2 for security rule, 3 for both VMaaS and rule.","enum":[0,1,2,3],"type":"number"},"rule":{"nullable":true,"properties":{"change_risk":{"description":"Indicates how likely remediation can change environment on the remediatied system.","example":1,"nullable":true,"type":"integer"},"description":{"description":"Description of the rule.","example":"CVE-2017-14491 dnsmasq code execution with listening processes","nullable":true,"type":"string"},"generate_autoplaybook":{"description":"Indicates whether a playbook should be auto-generated.","example":true,"nullable":true,"type":"boolean"},"kbase_node_id":{"description":"ID of associated Red Hat knowledgebase article.","example":3199382,"nullable":true,"type":"integer"},"playbook_count":{"description":"Number of available Ansible playbooks for remediation/mitigation.","example":1,"nullable":true,"type":"integer"},"reboot_required":{"description":"Indicator whter reboot is required to mitigate vulnerability.","example":false,"nullable":true,"type":"boolean"},"rule_id":{"description":"ID(s) of associated security rule(s).","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","type":"string"},"summary":{"description":"Summary of the rule.","example":"A buffer overflow vulnerability was found in `Dnsmasq`, a popular lightweight DNS and DHCP server....","nullable":true,"type":"string"}},"required":["change_risk","description","kbase_node_id","playbook_count","reboot_required","rule_id","summary","generate_autoplaybook"],"type":"object"},"status":{"description":"Status of the vulnerability for the application's point of view.","example":"Resolved","type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"},"synopsis":{"description":"Synopsis of the CVE.","example":"CVE-2016-0800","type":"string"}},"required":["business_risk","business_risk_id","business_risk_text","cve_status_id","cve_status_text","cvss2_score","cvss3_score","description","first_reported","impact","public_date","reporter","rule","status","status_id","status_text","synopsis","known_exploit","advisory_available","remediation"],"type":"object"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"type":{"description":"Type of the record.","example":"cve","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaCves"}},"required":["data","links","meta"],"type":"object"},"SystemDetailsOut":{"properties":{"data":{"properties":{"last_evaluation":{"description":"Date of last evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"last_upload":{"description":"Date of the latest upload of archive.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"opt_out":{"description":"System opt out status.","example":true,"type":"boolean"},"os":{"description":"Operating system.","example":"RHEL 8.4","type":"string"},"rules_evaluation":{"description":"Date of last security rules evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale":{"description":"System stale status.","example":true,"type":"boolean"},"tags":{"items":{"properties":{"key":{"description":"Key of the single tag.","example":"CVE","type":"string"},"namespace":{"description":"Namespace of single tag.","example":"vulnerability","nullable":true,"type":"string"},"value":{"description":"Value of the single tag.","example":"CVE-2017-1","nullable":true,"type":"string"}},"required":["namespace","key","value"],"type":"object"},"type":"array"},"updated":{"description":"Date of the lastest upload of archive taken from Inventory syndicated data.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"}},"required":["last_evaluation","rules_evaluation","opt_out","last_upload","tags","os"],"type":"object"},"meta":{"$ref":"#/components/schemas/MetaPermissions"}},"required":["data","meta"],"type":"object"},"SystemIdsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"display_name":{"description":"System's name.","example":"system.example.com","nullable":true,"type":"string"},"id":{"description":"Inventory ID.","example":"INV-ID00-0000-1234","type":"string"},"opt_out":{"description":"Whether the system is active or not.","example":false,"nullable":true,"type":"boolean"}},"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaSystems"}},"required":["data","links","meta"],"type":"object"},"SystemListOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"attributes":{"properties":{"culled_timestamp":{"description":"Timestamp from which the host is considered deleted.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"cve_count":{"description":"Number of CVE exposures for the system.","example":7,"nullable":true,"type":"integer"},"display_name":{"description":"System's name,","example":"system.example.com","nullable":true,"type":"string"},"insights_id":{"description":"Insights host ID.","example":"0035f6bc-cdb0-4763-8fcd-1dc58f716359","nullable":true,"type":"string"},"inventory_id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"last_evaluation":{"description":"Date of last evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"last_upload":{"description":"Date of the latest upload of archive.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"opt_out":{"description":"Opt out status of the system.","example":false,"type":"boolean"},"os":{"description":"Operating system.","example":"RHEL 8.4","type":"string"},"rules_evaluation":{"description":"Date of last security rules evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_timestamp":{"description":"Date when stale system becomes stale.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_warning_timestamp":{"description":"Date when stale system becomes hidden in the application.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"tags":{"description":"Tags given to the system.","items":{"properties":{"key":{"description":"Key of the single tag.","example":"CVE","type":"string"},"namespace":{"description":"Namespace of single tag.","example":"vulnerability","nullable":true,"type":"string"},"value":{"description":"Value of the single tag.","example":"CVE-2017-1","nullable":true,"type":"string"}},"required":["namespace","key","value"],"type":"object"},"nullable":true,"type":"array"},"updated":{"description":"Date of the lastest upload of archive taken from Inventory syndicated data.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"}},"required":["cve_count","display_name","inventory_id","insights_id","last_evaluation","rules_evaluation","opt_out","last_upload","os","stale_timestamp","stale_warning_timestamp","tags","culled_timestamp"],"type":"object"},"id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"type":{"description":"Type of the record.","example":"system","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaSystems"}},"required":["data","links","meta"],"type":"object"},"VersionOut":{"properties":{"application_version":{"description":"Version of application.","example":"0.1.2","type":"string"},"database_version":{"description":"Version of database schema.","example":1,"oneOf":[{"type":"string"},{"type":"number"}]}},"required":["application_version","database_version"],"type":"object"},"VulnerabilitiesIdsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"description":"CVE id and minimal information.","properties":{"business_risk_id":{"description":"Internal ID of the vulnerability business risk.","example":1,"type":"integer"},"business_risk_text":{"description":"Complementary text to the business risk.","example":"QA environment => Low business risk","nullable":true,"type":"string"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":1,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not Relevant","nullable":true,"type":"string"}},"type":"object"},"required":["business_risk_id","business_risk_text","id","status_id","status_text"],"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaVulnerabilitiesOut"}},"required":["data","links","meta"],"type":"object"},"VulnerabilitiesOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"attributes":{"properties":{"advisory_available":{"description":"Shows whether a CVE has available advisory or not","example":true,"type":"boolean"},"business_risk":{"description":"Business risk of the vulnerability.","example":"Low","type":"string"},"business_risk_id":{"description":"Internal ID of the vulnerability business risk.","example":1,"type":"integer"},"business_risk_text":{"description":"Complementary text to the business risk.","example":"QA environment => Low business risk","nullable":true,"type":"string"},"cvss2_score":{"description":"String representation of cvss2 score of the CVE.","example":"5.800","nullable":true,"type":"string"},"cvss3_score":{"description":"String representation of cvss3 score of the CVE.","example":"4.400","nullable":true,"type":"string"},"description":{"description":"Description of the CVE.","example":"A padding oracle flaw was found in the Secure Sockets Layer version 2.0 (SSLv2) protocol. An attacker could...","type":"string"},"impact":{"description":"Red Hat security impact of the CVE.","example":"Important","type":"string"},"known_exploit":{"description":"Shows whether a CVE has known exploits or not","example":true,"type":"boolean"},"public_date":{"description":"String representation of ISO-8601 formatted date of first public disclosure of the CVE.","example":"2016-03-01T00:00:00+00:00","nullable":true,"type":"string"},"rules":{"items":{"$ref":"#/components/schemas/InsightsRule"},"type":"array"},"status":{"description":"Status of the vulnerability.","example":"Not Reviewed","type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":1,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not Relevant","nullable":true,"type":"string"},"synopsis":{"description":"Synopsis of the CVE.","example":"CVE-2016-0800","type":"string"},"systems_affected":{"description":"Number of systems affected by the CVE.","example":7,"type":"integer"},"systems_status_divergent":{"description":"How many systems-CVE pairs have different status than CVE-level.","example":20,"type":"integer"}},"required":["business_risk","business_risk_id","business_risk_text","cvss2_score","cvss3_score","description","impact","public_date","rules","status","status_id","status_text","synopsis","systems_affected","systems_status_divergent","known_exploit","advisory_available"],"type":"object"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"type":{"description":"Type of the record.","example":"cve","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaVulnerabilitiesOut"}},"required":["data","links","meta"],"type":"object"},"VulnerabilitiesPostIn":{"properties":{"cve_list":{"description":"Array of CVEs to provide info about","items":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"type":"array"}},"required":["cve_list"],"type":"object"},"VulnerabilitiesPostOut":{"properties":{"data":{"items":{"properties":{"attributes":{"properties":{"cvss_score":{"description":"String representation of cvss3 or cvvs2 (if v3 is not present) score of the CVE.","example":"5.800","nullable":true,"type":"string"},"impact":{"description":"Red Hat security impact of the CVE.","example":"Important","type":"string"},"synopsis":{"description":"Synopsis of the CVE.","example":"CVE-2016-0800","type":"string"}},"required":["cvss_score","impact","synopsis"],"type":"object"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"type":{"description":"Type of the record.","example":"cve","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"},"links":{"$ref":"#/components/schemas/Links"},"meta":{"allOf":[{"$ref":"#/components/schemas/Meta"},{"$ref":"#/components/schemas/MetaPermissions"}]}},"required":["data","links","meta"],"type":"object"}},"securitySchemes":{"ApiKeyAuth":{"description":"Identity header provided by 3scale (for non-prod testing only).","in":"header","name":"x-rh-identity","type":"apiKey","x-apikeyInfoFunc":"manager.base.auth"},"BasicAuth":{"description":"Username and password login.","scheme":"basic","type":"http","x-basicInfoFunc":"manager.base.basic_auth"}}},"info":{"title":"Vulnerability Engine Manager","version":"2.4.1"},"openapi":"3.0.0","paths":{"/announcement":{"get":{"description":"Get announcement shown above CVEs list.","operationId":"getAnnouncement","responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/AnnouncementOut"}}},"description":"Announcement."}},"summary":"Announcement.","x-methodName":"getAnnouncement"}},"/apistatus":{"get":{"description":"Checks database availability and API response threshold time.","operationId":"getApiStatus","responses":{"200":{"description":"API is healthy"},"408":{"description":"API is down (time out)"},"503":{"description":"Database is unavaiable"}},"summary":"Health status of application","x-methodName":"getApiStatus"}},"/business_risk":{"get":{"description":"Returns available business risk and business_risk_id pairs where business_risk_id is internal ID of the business risk.","operationId":"getBusinessRiskList","responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/BusinessRiskListOut"}}},"description":"List of business risk/business_risk_id pairs."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Available business risk/business_risk_id pairs.","x-methodName":"getBusinessRiskList"}},"/cves/business_risk":{"patch":{"description":"Sets business risk for a CVE.","operationId":"setCveBusinessRisk","requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/CveRiskIn","x-body-name":"data"}}},"description":"Values to be set. At least one of the \"business_risk_id\" or \"business_risk_text\" parameters is required.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/BulkChangeOut"}}},"description":"Business risk successfully updated."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given CVE does not exist."},"503":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Service is running in read-only mode."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Set business risk for a CVE.","x-methodName":"setCveBusinessRisk"}},"/cves/status":{"patch":{"description":"Sets status for a CVE.","operationId":"setCveStatus","requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/CveStatusIn","x-body-name":"data"}}},"description":"Values to be set. At least one of the \"status_id\" or \"status_text\" parameters is required.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/BulkChangeOut"}}},"description":"Status successfully updated."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given CVE does not exist."},"503":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Service is running in read-only mode."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Set status for a CVE.","x-methodName":"setCveStatus"}},"/cves/{cve_id}":{"get":{"description":"Show all information about given CVE.","operationId":"getCveDetails","parameters":[{"$ref":"#/components/parameters/cve_id"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/CveDetailOut"}}},"description":"CVE details"},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given CVE does not exist."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Details of a CVE.","x-methodName":"getCveDetails"}},"/cves/{cve_id}/affected_systems":{"get":{"description":"Report of affected systems for a given CVE.","operationId":"getAffectedSystemsByCve","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/sort"},{"$ref":"#/components/parameters/cve_id"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/uuid"},{"$ref":"#/components/parameters/rule_key_deprecated"},{"$ref":"#/components/parameters/rule_presence_deprecated"},{"$ref":"#/components/parameters/rule"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/show_advisories"},{"$ref":"#/components/parameters/advisory"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/first_reported_from"},{"$ref":"#/components/parameters/first_reported_to"},{"$ref":"#/components/parameters/advisory_available"},{"$ref":"#/components/parameters/remediation"},{"$ref":"#/components/parameters/report"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/AffectedSystemsOut"}}},"description":"Report of affected systems for a given CVE."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given CVE does not exist."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Affected systems for a given CVE.","x-methodName":"getAffectedSystemsByCve"}},"/cves/{cve_id}/affected_systems/ids":{"get":{"description":"Report of IDs of affected systems for a given CVE.","operationId":"getAffectedSystemsIdsByCve","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/sort"},{"$ref":"#/components/parameters/cve_id"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/uuid"},{"$ref":"#/components/parameters/rule_key_deprecated"},{"$ref":"#/components/parameters/rule_presence_deprecated"},{"$ref":"#/components/parameters/rule"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/show_advisories"},{"$ref":"#/components/parameters/advisory"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/first_reported_from"},{"$ref":"#/components/parameters/first_reported_to"},{"$ref":"#/components/parameters/advisory_available"},{"$ref":"#/components/parameters/remediation"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/AffectedSystemsIdsOut"}}},"description":"Report of IDs of affected systems for a given CVE."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given CVE does not exist."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"IDs of affected systems for a given CVE.","x-methodName":"getAffectedSystemsIdsByCve"}},"/dashbar":{"get":{"description":"Overview of CVE aggregations used for Dashbar.","operationId":"getDashbar","parameters":[{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/DashbarOut"}}},"description":"Dashbar aggregations."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Aggregations for Dashbar.","x-methodName":"getDashbar"}},"/dashboard":{"get":{"description":"Returns top level overview of vulnerabilities affecting given account.","operationId":"getDashboard","parameters":[{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Dashboard"}}},"description":"Dashboard."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Top level overview of vulnerabilities.","x-methodName":"getDashboard"}},"/feature/cves_without_errata":{"patch":{"description":"Sets cves_without_errata feature flag.","operationId":"setCvesWithoutErrata","requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/CvesWithoutErrataIn","x-body-name":"data"}}},"description":"Values to be set.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/CvesWithoutErrataOut"}}},"description":"CVEs without Errata feature successfully updated."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Set cves_without_errata feature flag.","x-methodName":"setCvesWithoutErrata"}},"/playbooks/templates/{rule_id}":{"get":{"description":"Return Ansible playbook template for given rule id.","operationId":"getPlaybookTemplate","parameters":[{"description":"Insights security rule ID.","example":"CVE_2017_8779_rpc|CVE_2017_8779_WARN","in":"path","name":"rule_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/PlaybookTemplate"}}},"description":"Playbook template response"},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given rule id does not exist."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Playbook template for CVEs with security rules.","x-methodName":"getPlaybookTemplate"}},"/report/executive":{"get":{"description":"Returns top level overview of vulnerabilities affecting given account.","operationId":"getExecutiveReport","responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/ExecutiveReport"}}},"description":"Executive report."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Top level overview of vulnerabilities.","x-methodName":"getExecutiveReport"}},"/status":{"get":{"description":"Returns available status and status_id pairs where status_id is internal ID of the status.","operationId":"getStatusList","responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/StatusListOut"}}},"description":"List of status/status_id pairs."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Available status/status_id pairs.","x-methodName":"getStatusList"},"patch":{"description":"Sets status for given hosts and CVEs.","operationId":"setStatus","requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/StatusIn","x-body-name":"data"}}},"description":"Values to be set.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/StatusOut"}}},"description":"Status successfully updated."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given host/CVE does not exist."},"503":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Service is running in read-only mode."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Set status for system vulnerabilities.","x-methodName":"setStatus"}},"/systems":{"get":{"description":"List systems visible to logged in account with basic information related to vulnerabilities.","operationId":"getSystemsList","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/sort"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/stale"},{"$ref":"#/components/parameters/uuid"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/excluded"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/report"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/SystemListOut"}}},"description":"System list"}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"List systems.","x-methodName":"getSystemsList"}},"/systems/ids":{"get":{"description":"List systems IDs visible to logged in account.","operationId":"getSystemsIds","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/sort"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/stale"},{"$ref":"#/components/parameters/uuid"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/excluded"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/SystemIdsOut"}}},"description":"System list"}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"List systems IDs along with additional info about opt out state of the system.","x-methodName":"getSystemsIds"}},"/systems/opt_out":{"patch":{"description":"Opts in/out a systems. Opted out system is not shown and manageable by the vulnerability application.","operationId":"setSystemsOptOut","requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/OptOutIn","x-body-name":"data"}}},"description":"Values to be set.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/BulkChangeOut"}}},"description":"System(s) setting has been updated."},"503":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Service is running in read-only mode."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Opt in/out a system to/from vulnerability application.","x-methodName":"setSystemsOptOut"}},"/systems/{inventory_id}":{"get":{"description":"Provides details of a system, e.g. it's opt out status.","operationId":"getSystemDetails","parameters":[{"$ref":"#/components/parameters/inventory_id"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/SystemDetailsOut"}}},"description":"System details"},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"System has not been found in the database."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"System details.","x-methodName":"getSystemDetails"}},"/systems/{inventory_id}/cves":{"get":{"description":"Shows detailed information about all CVEs the system is exposed to.","operationId":"getCveListBySystem","parameters":[{"$ref":"#/components/parameters/inventory_id"},{"$ref":"#/components/parameters/cve_filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/cve_sort"},{"$ref":"#/components/parameters/cvss_from"},{"$ref":"#/components/parameters/cvss_to"},{"$ref":"#/components/parameters/public_from"},{"$ref":"#/components/parameters/public_to"},{"$ref":"#/components/parameters/impact"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/business_risk_id"},{"$ref":"#/components/parameters/rule_presence"},{"$ref":"#/components/parameters/show_advisories"},{"$ref":"#/components/parameters/advisory"},{"$ref":"#/components/parameters/rule_key"},{"$ref":"#/components/parameters/known_exploit"},{"$ref":"#/components/parameters/first_reported_from"},{"$ref":"#/components/parameters/first_reported_to"},{"$ref":"#/components/parameters/advisory_available"},{"$ref":"#/components/parameters/remediation"},{"$ref":"#/components/parameters/report"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/SystemCvesOut"}}},"description":"CVE report."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"System has not been found in the database."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"CVE report for a system.","x-methodName":"getCveListBySystem"}},"/systems/{inventory_id}/cves/ids":{"get":{"description":"Shows IDs of all CVEs the system is exposed to.","operationId":"getCveIdsBySystem","parameters":[{"$ref":"#/components/parameters/inventory_id"},{"$ref":"#/components/parameters/cve_filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/cve_sort"},{"$ref":"#/components/parameters/cvss_from"},{"$ref":"#/components/parameters/cvss_to"},{"$ref":"#/components/parameters/public_from"},{"$ref":"#/components/parameters/public_to"},{"$ref":"#/components/parameters/impact"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/business_risk_id"},{"$ref":"#/components/parameters/rule_presence"},{"$ref":"#/components/parameters/show_advisories"},{"$ref":"#/components/parameters/advisory"},{"$ref":"#/components/parameters/rule_key"},{"$ref":"#/components/parameters/known_exploit"},{"$ref":"#/components/parameters/first_reported_from"},{"$ref":"#/components/parameters/first_reported_to"},{"$ref":"#/components/parameters/advisory_available"},{"$ref":"#/components/parameters/remediation"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/SystemCvesIdsOut"}}},"description":"CVE Ids report."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"System has not been found in the database."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"CVE IDs report for a system.","x-methodName":"getCveIdsBySystem"}},"/version":{"get":{"description":"Get application version.","operationId":"getVersion","responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/VersionOut"}}},"description":"Application version."}},"summary":"Application version","x-methodName":"getVersion"}},"/vulnerabilities/cves":{"get":{"description":"Overview of vulnerabilities across whole host inventory.","operationId":"getCveList","parameters":[{"$ref":"#/components/parameters/cve_filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/cve_sort"},{"$ref":"#/components/parameters/cvss_from"},{"$ref":"#/components/parameters/cvss_to"},{"$ref":"#/components/parameters/public_from"},{"$ref":"#/components/parameters/public_to"},{"$ref":"#/components/parameters/impact"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/business_risk_id"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/rule_presence"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/known_exploit"},{"$ref":"#/components/parameters/affecting"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/report"},{"$ref":"#/components/parameters/advanced_report"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"},{"$ref":"#/components/parameters/advisory_available"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/VulnerabilitiesOut"}}},"description":"Vulnerabilities overview."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Vulnerabilities overview.","x-methodName":"getCveList"},"post":{"description":"Overview of vulnerabilities for specific CVEs provided in the body.","operationId":"getCveList","parameters":[{"$ref":"#/components/parameters/cve_filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/sort"}],"requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/VulnerabilitiesPostIn","x-body-name":"data"}}},"description":"List of CVEs to provide info about.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/VulnerabilitiesPostOut"}}},"description":"Vulnerabilities overview."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Vulnerabilities overview.","x-methodName":"getCveList"}},"/vulnerabilities/cves/ids":{"get":{"description":"Overview of vulnerabilities IDs across whole host inventory.","operationId":"getCveIdsList","parameters":[{"$ref":"#/components/parameters/cve_filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/cve_sort"},{"$ref":"#/components/parameters/cvss_from"},{"$ref":"#/components/parameters/cvss_to"},{"$ref":"#/components/parameters/public_from"},{"$ref":"#/components/parameters/public_to"},{"$ref":"#/components/parameters/impact"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/business_risk_id"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/rule_presence"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/known_exploit"},{"$ref":"#/components/parameters/affecting"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"},{"$ref":"#/components/parameters/advisory_available"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/VulnerabilitiesIdsOut"}}},"description":"Vulnerabilities IDs overview."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Vulnerabilities IDs overview.","x-methodName":"getCveIdsList"}}},"servers":[{"url":"/api/vulnerability/v1"}]} \ No newline at end of file +{"components":{"parameters":{"account_id":{"description":"Account ID of user.","example":"123456","in":"path","name":"account_id","required":true,"schema":{"type":"string"}},"advanced_report":{"description":"Needs to be used when endpoint data is used for Report by CVEs feature, checks RBAC permission for advanced report.","example":false,"in":"query","name":"advanced_report","schema":{"type":"boolean"}},"advisory":{"description":"filter by advisory name, works only with show_advisories=true","example":"RHSA-2019:1481","in":"query","name":"advisory","schema":{"type":"string"}},"advisory_available":{"description":"String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory.","example":"true,false","in":"query","name":"advisory_available","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"affecting":{"description":"Comma seprated string with bools (array of bools). True value controls displaying CVEs with at least one system affected. False value toggles CVEs with no systems affected. Defaults to showing only CVEs with at least one system affected.","example":"true,false","in":"query","name":"affecting","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"ansible":{"description":"Boolean value which shows systems managed by Ansible Automation Platform.","example":false,"in":"query","name":"ansible","schema":{"type":"boolean"}},"business_risk_id":{"description":"Filter based on business risk IDs.","in":"query","name":"business_risk_id","schema":{"example":"1,3","type":"string"}},"cve_filter":{"description":"Full text filter for CVE and it's description text.","example":"CVE-2017","in":"query","name":"filter","schema":{"type":"string"}},"cve_id":{"description":"CVE id.","example":"CVE-2016-0800","in":"path","name":"cve_id","required":true,"schema":{"type":"string"}},"cve_sort":{"description":"Sorting used for response.","example":"-synopsis","in":"query","name":"sort","schema":{"type":"string"}},"cvss_from":{"description":"Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score.","example":4.6,"in":"query","name":"cvss_from","schema":{"type":"number"}},"cvss_to":{"description":"Filter based on cvss score, up to the value.","example":7.2,"in":"query","name":"cvss_to","schema":{"type":"number"}},"data_format":{"description":"Format of the output data, either JSON (default) or CSV.","in":"query","name":"data_format","schema":{"example":"json","type":"string"}},"excluded":{"description":"Comma seprated string with bools (array of bools). True boolean value displays systems which are excluded. False value displays systems excluded from vulnerability analysis. Defaults to showing only those systems which are not excluded.","example":"true,false","in":"query","name":"excluded","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"filter":{"description":"Full text filter for the display name of system.","example":"INV-ID-1234","in":"query","name":"filter","schema":{"type":"string"}},"first_reported_from":{"description":"Filter for CVEs/Systems where the vulnerability appeared after given date.","example":"2017-09-18T00:00:00+00:00","in":"query","name":"first_reported_from","required":false,"schema":{"description":"Datetime string","type":"string"}},"first_reported_to":{"description":"Filter for CVEs/Systems where the vulnerability appeared before given date.","example":"2017-09-18T00:00:00+00:00","in":"query","name":"first_reported_to","required":false,"schema":{"description":"Datetime string","type":"string"}},"group_ids":{"description":"IDs of the inventory groups.","example":"00000000-1111-0000-0000-000000000000,00000000-2222-0000-0000-000000000000","in":"query","name":"group_ids","schema":{"items":{"type":"string"},"type":"array"}},"group_names":{"description":"Names of the inventory groups.","example":"Production,Stage","in":"query","name":"group_names","schema":{"items":{"type":"string"},"type":"array"}},"impact":{"description":"Filter based on impact IDs.","example":"5,7","in":"query","name":"impact","schema":{"type":"string"}},"inventory_id":{"description":"Inventory ID.","example":"INV-ID-0000-1234","in":"path","name":"inventory_id","required":true,"schema":{"format":"uuid","type":"string"}},"known_exploit":{"description":"String of booleans (array of booleans), where true shows CVEs with known exploits, false shows CVEs without known exploits.","example":"true,false","in":"query","name":"known_exploit","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"limit":{"description":"Maximum number of records per page. Limit/Offset pagination wins over page/page_size pagination.","example":25,"in":"query","name":"limit","schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"mssql":{"description":"Boolean value which shows systems managed by MSSQL.","example":false,"in":"query","name":"mssql","schema":{"type":"boolean"}},"offset":{"description":"Offset of first record of paginated response. Limit/Offset pagination wins over page/page_size pagination.","example":1,"in":"query","name":"offset","schema":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"page":{"description":"Page number of paginated response. Limit/Offset pagination wins over page/page_size pagination.","example":1,"in":"query","name":"page","schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"page_size":{"description":"Page size of paginated response. Limit/Offset pagination wins over page/page_size pagination.","example":25,"in":"query","name":"page_size","schema":{"maximum":9007199254740991,"minimum":1,"type":"integer"}},"public_from":{"description":"Filter CVEs based on their published date, starting from the date.","example":"2017-09-18T00:00:00+00:00","in":"query","name":"public_from","schema":{"type":"string"}},"public_to":{"description":"Filter CVEs based on their published date, up to the date.","example":"2017-09-18T00:00:00+00:00","in":"query","name":"public_to","schema":{"type":"string"}},"remediation":{"description":"Filer based on available remediation type id.","in":"query","name":"remediation","schema":{"example":1,"type":"string"}},"report":{"description":"Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature.","example":false,"in":"query","name":"report","required":false,"schema":{"type":"boolean"}},"rhel_version":{"description":"Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS.","in":"query","name":"rhel_version","required":false,"schema":{"description":"List of RHEL versions. E.g. 7,8.1 will filter out everything which is not RHEL 7.x or RHEL 8.1","type":"string"}},"rule":{"description":"Filters CVEs or systems by security rule, has two functionalities. If value is false, shows results without security rules, every other value is taken as rule error key.","example":"CVE_2018_3639_cpu_kernel|CVE_2018_3639_CPU_BAD_MICROCODE_2,CVE_2018_12207_cpu_kernel|CVE_2018_12207_CPU_KERNEL_FOR_SURE","in":"query","name":"rule","schema":{"items":{"minLength":1,"type":"string"},"type":"array"}},"rule_key":{"description":"Filters security rules by its error key.","example":"CVE_2018_3639_cpu_kernel|CVE_2018_3639_CPU_BAD_MICROCODE_2,CVE_2018_12207_cpu_kernel|CVE_2018_12207_CPU_KERNEL_FOR_SURE","in":"query","name":"rule_key","schema":{"items":{"type":"string"},"type":"array"}},"rule_key_deprecated":{"deprecated":true,"description":"Filters security rules by its error key.","example":"CVE_2018_3639_cpu_kernel|CVE_2018_3639_CPU_BAD_MICROCODE_2,CVE_2018_12207_cpu_kernel|CVE_2018_12207_CPU_KERNEL_FOR_SURE","in":"query","name":"rule_key","schema":{"items":{"type":"string"},"type":"array"}},"rule_presence":{"description":"Comma seprated string with bools. If true shows only CVEs with security rule associated, if false shows CVEs without rules. true, false shows all.","example":"true,false","in":"query","name":"rule_presence","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"rule_presence_deprecated":{"deprecated":true,"description":"Comma seprated string with bools. If true shows only CVEs with security rule associated, if false shows CVEs without rules. true, false shows all.","example":"true,false","in":"query","name":"rule_presence","schema":{"items":{"type":"boolean"},"maxItems":2,"type":"array"}},"sap_sids":{"description":"List of SAP IDs to filter with","example":"ABC,CDE","in":"query","name":"sap_sids","schema":{"items":{"type":"string"},"type":"array"}},"sap_system":{"description":"Boolean value which shows systems managed by SAP.","example":false,"in":"query","name":"sap_system","schema":{"type":"boolean"}},"show_advisories":{"description":"If true shows advisories list","example":false,"in":"query","name":"show_advisories","schema":{"type":"boolean"}},"sort":{"description":"Sorting used for response.","example":"-inventory_id","in":"query","name":"sort","schema":{"type":"string"}},"stale":{"description":"If set to true, shows stale systems. If not set defaults to false.","in":"query","name":"stale","schema":{"type":"boolean"}},"status_id":{"description":"Filer based on CVE status ID.","in":"query","name":"status_id","schema":{"example":"1,4","type":"string"}},"tags":{"description":"Filter based on hosts tags. Tags needs to be in query format, that means /= or / if value is null. Characters '/', '=' in tag values needs to be escaped by url encoding.","example":"vulnerability/usage=server","in":"query","name":"tags","schema":{"items":{"pattern":"^([^=/]+\\/){1}([^=/])+(=[^=/]+)?$","type":"string"},"type":"array"}},"uuid":{"description":"Filter based on UUID of inventory.","example":"2ee58c62-809f-11ea-bc55-0242ac130003","in":"query","name":"uuid","schema":{"type":"string"}}},"schemas":{"AffectedSystemsIdsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"description":"Smallest dataset for frontend to work.","properties":{"display_name":{"description":"System's name.","example":"system.example.com","type":"string"},"inventory_id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"mitigation_reason":{"description":"Reason why the system is not vulnerable.","example":"SELinux mitigates the issue","nullable":true,"type":"string"},"remediation":{"description":"Type of available remediation, 0 for none, 1 for manual, 2 for playbook.","enum":[0,1,2],"type":"number"},"rule_id":{"description":"ID of associated security rule.","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","nullable":true,"type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"}},"required":["inventory_id","rule_id","status_id","status_text","display_name","remediation"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaAffectedSystems"}},"required":["data","links","meta"],"type":"object"},"AffectedSystemsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"attributes":{"properties":{"advisories_list":{"description":"List of advisories for system","items":{"description":"Advisory id","example":"RHSA-2019:1481","type":"string"},"type":"array"},"advisory_available":{"description":"Shows whether a CVE has available advisory or not","example":true,"type":"boolean"},"culled_timestamp":{"description":"Timestamp from which the host is considered deleted.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"cve_status_id":{"description":"Internal ID of the CVE status.","example":4,"type":"integer"},"display_name":{"description":"System's name.","example":"system.example.com","nullable":true,"type":"string"},"first_reported":{"description":"Date of when the CVE was first reported on the system.","example":"2018-09-22T16:00:00+00:00","type":"string"},"insights_id":{"description":"Insights host ID.","example":"0035f6bc-cdb0-4763-8fcd-1dc58f716359","nullable":true,"type":"string"},"inventory_group":{"items":{"properties":{"id":{"description":"ID of inventory group.","example":"00000000-1111-0000-0000-000000000000","type":"string"},"name":{"description":"Name of inventory group.","example":"group01","type":"string"}},"required":["id","name"],"type":"object"},"type":"array"},"inventory_id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"last_evaluation":{"description":"Date of last evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"mitigation_reason":{"description":"Reason why the system is not vulnerable.","example":"SELinux mitigates the issue","nullable":true,"type":"string"},"os":{"description":"Operating system.","example":"RHEL 8.4","type":"string"},"remediation":{"description":"Type of available remediation, 0 for none, 1 for manual, 2 for playbook.","enum":[0,1,2],"type":"number"},"reporter":{"description":"Reporter of the vulnerability, 1 for VMaaS, 2 for security rule, 3 for both VMaaS and rule.","enum":[0,1,2,3],"type":"number"},"rule":{"description":"Details of associated security rule.","nullable":true,"properties":{"details":{"description":"Additional information specific to the system rule hit.","type":"object"},"resolution":{"description":"Details of recommended resolution.","properties":{"resolution":{"description":"Recommended resolution of the issue.","example":"Red Hat recommends that you update the dnsmasq package","nullable":true,"type":"string"}},"required":["resolution"],"type":"object"},"rule":{"properties":{"description":{"description":"Description of the associated security rule.","example":"CVE-2017-14491 dnsmasq code execution with listening processes","nullable":true,"type":"string"},"more_info":{"description":"Additional information about the issue.","example":"For more information about this specific flaw, see its ...","nullable":true,"type":"string"},"node_id":{"description":"ID of associated Red Hat knowledgebase article.","example":3199382,"nullable":true,"type":"integer"},"reason":{"description":"Reason of why rule did hit.","example":"This system is vulnerable because it is running a vulnerable package.","nullable":true,"type":"string"},"rule_id":{"description":"ID of associated security rule.","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","type":"string"}},"required":["description","more_info","node_id","reason","rule_id"],"type":"object"}},"required":["details","resolution","rule"],"type":"object"},"rules_evaluation":{"description":"Date of last security rules evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_timestamp":{"description":"Date when stale system becomes stale.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_warning_timestamp":{"description":"Date when stale system becomes hidden in the application.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_name":{"description":"Status of the vulnerability for the application's point of view.","example":"Resolved","type":"string"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"},"tags":{"items":{"properties":{"key":{"description":"Key of the single tag.","example":"CVE","type":"string"},"namespace":{"description":"Namespace of single tag.","example":"vulnerability","nullable":true,"type":"string"},"value":{"description":"Value of the single tag.","example":"CVE-2017-1","nullable":true,"type":"string"}},"required":["namespace","key","value"],"type":"object"},"type":"array"},"updated":{"description":"Date of the lastest upload of archive taken from Inventory syndicated data.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"}},"required":["cve_status_id","culled_timestamp","display_name","first_reported","inventory_id","insights_id","last_evaluation","os","reporter","rule","rules_evaluation","stale_timestamp","stale_warning_timestamp","status_id","status_name","status_text","tags","updated","advisory_available","remediation","mitigation_reason","inventory_group"],"type":"object"},"id":{"description":"Host id.","example":"INV-ID-0000-1234","type":"string"},"type":{"description":"Type of the record.","example":"system","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaAffectedSystems"}},"required":["data","links","meta"],"type":"object"},"AnnouncementOut":{"properties":{"last_updated":{"description":"Datetime string.","example":"2004-10-19 10:23:54+02","type":"string"},"message":{"description":"Announcement message.","example":"Hello from Vulnerability team :).","type":"string"}},"required":["message","last_updated"],"type":"object"},"BulkChangeOut":{"properties":{"meta":{"$ref":"#/components/schemas/MetaPermissions"},"updated":{"description":"List of updated objects/updated object IDs.","items":{"example":"f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2","type":"string"},"type":"array"}},"required":["updated"],"type":"object"},"BusinessRiskListOut":{"properties":{"data":{"description":"List of available business risk/business_risk_id pairs.","items":{"properties":{"id":{"description":"Internal business_risk_id.","example":3,"type":"integer"},"name":{"description":"Represenation of internal business_risk_id.","example":"Low","type":"string"}},"required":["id","name"],"type":"object"},"type":"array"},"meta":{"properties":{"total_items":{"description":"Total number of available business risk/business_risk_id pairs.","example":1,"type":"integer"}},"required":["total_items"],"type":"object"}},"required":["data","meta"],"type":"object"},"CveDetailOut":{"properties":{"data":{"properties":{"attributes":{"properties":{"advisories_list":{"description":"List of advisory names or detailed advisory information","items":{"oneOf":[{"example":"RHSA-2015:0809","type":"string"},{"properties":{"attributes":{"properties":{"advisory_type":{"example":3,"type":"integer"},"applicable_systems":{"example":2559,"type":"integer"},"description":{"example":"The bash packages provide Bash (Bourne-again shell), which is the default shell for Red Hat Enterprise Linux...","type":"string"},"public_date":{"example":"2020-09-01T15:22:07Z","type":"string"},"severity":{"example":2,"type":"integer"},"synopsis":{"example":"Moderate: bash security update","type":"string"}},"required":["applicable_systems"],"type":"object"},"id":{"example":"RHSA-2020:3592","type":"string"},"type":{"example":"advisory","type":"string"}},"required":["id","type"],"type":"object"}]},"nullable":true,"type":"array"},"affected_but_not_vulnerable":{"description":"Number of systems that are affected by given CVE but are not vulnerable.","example":0,"nullable":true,"type":"integer"},"business_risk":{"description":"Business risk of the vulnerability.","example":"Low","type":"string"},"business_risk_id":{"description":"Internal ID of the vulnerability business risk.","example":1,"type":"integer"},"business_risk_text":{"description":"Complementary text to the business risk.","example":"QA environment => Low business risk","nullable":true,"type":"string"},"celebrity_name":{"description":"\"Celebrity\" name of the CVE.","example":"Spectre/Meltdown","nullable":true,"type":"string"},"cvss2_metrics":{"description":"cvss2 metrics of the CVE.","example":"AV:N/AC:M/Au:N/C:P/I:P/A:N","nullable":true,"type":"string"},"cvss2_score":{"description":"String representation of cvss2 score of the CVE.","example":"5.800","nullable":true,"type":"string"},"cvss3_metrics":{"description":"cvss3 metrics of the CVE.","example":"AV:N/AC:M/Au:N/C:P/I:P/A:N","nullable":true,"type":"string"},"cvss3_score":{"description":"String representation of cvss3 score of the CVE.","example":"4.400","nullable":true,"type":"string"},"description":{"description":"Description of the CVE.","example":"A padding oracle flaw was found in the Secure Sockets Layer version 2.0 (SSLv2) protocol. An attacker could...","type":"string"},"impact":{"description":"Red Hat security impact of the CVE.","example":"Important","type":"string"},"known_exploit":{"description":"Shows whether a CVE has known exploits or not","example":true,"type":"boolean"},"modified_date":{"description":"String representation of ISO-8601 formatted date of last modification of the CVE.","example":"2019-03-07T08:15:36+00:00","nullable":true,"type":"string"},"public_date":{"description":"String representation of ISO-8601 formatted date of first public disclosure of the CVE.","example":"2016-03-01T00:00:00+00:00","nullable":true,"type":"string"},"redhat_url":{"description":"Additional resource about the CVE, provided by Red Hat.","example":"https://access.redhat.com/security/cve/cve-2016-0800","nullable":true,"type":"string"},"rules":{"items":{"$ref":"#/components/schemas/InsightsRule"},"type":"array"},"secondary_url":{"description":"Additional resources about the CVE.","example":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-0800","nullable":true,"type":"string"},"status":{"description":"Status of the vulnerability.","example":"Not Reviewed","type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":1,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"},"synopsis":{"description":"Synopsis of the CVE.","example":"CVE-2016-0800","type":"string"},"systems_status_detail":{"description":"Counts of systems with given status type.","type":"object"},"systems_status_divergent":{"description":"How many systems-CVE pairs have different status than CVE-level.","example":20,"type":"integer"}},"required":["business_risk","business_risk_id","business_risk_text","celebrity_name","cvss2_metrics","cvss2_score","cvss3_metrics","cvss3_score","description","impact","modified_date","public_date","redhat_url","rules","secondary_url","status","status_id","status_text","synopsis","systems_status_detail","systems_status_divergent","advisories_list","known_exploit","affected_but_not_vulnerable"],"type":"object"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"type":{"description":"Type of the record.","example":"cve","type":"string"}},"required":["id","type","attributes"],"type":"object"},"meta":{"$ref":"#/components/schemas/MetaPermissions"}},"type":"object"},"CveOrList":{"example":"CVE-2016-0800","oneOf":[{"description":"CVE name.","example":"CVE-2016-0800","type":"string"},{"description":"List of CVEs for a bulk change.","items":{"example":"CVE-2016-0800","type":"string"},"type":"array"}]},"CveRiskIn":{"properties":{"business_risk_id":{"description":"Business risk ID to be set, obtained by GET method.","example":3,"type":"integer"},"business_risk_text":{"description":"Complementary text to the business risk.","example":"Not relevant","nullable":true,"type":"string"},"cve":{"$ref":"#/components/schemas/CveOrList"}},"required":["cve"],"type":"object"},"CveStatusIn":{"properties":{"cve":{"$ref":"#/components/schemas/CveOrList"},"status_id":{"description":"Status ID to be set, obtained by GET method.","example":3,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"}},"required":["cve"],"type":"object"},"CvesWithoutErrataIn":{"properties":{"enable":{"description":"Enable or disable CVEs without Errata feature.","example":true,"type":"boolean"}},"required":["enable"],"type":"object"},"CvesWithoutErrataOut":{"properties":{"meta":{"$ref":"#/components/schemas/MetaPermissions"},"updated":{"properties":{"cves_without_errata":{"properties":{"enabled":{"type":"boolean"}},"type":"object"},"org_id":{"type":"string"}},"type":"object"}},"required":["updated","meta"],"type":"object"},"DashbarOut":{"properties":{"critical_cves":{"type":"number"},"cves_with_rule":{"type":"number"},"exploitable_cves":{"type":"number"},"important_cves":{"type":"number"}},"type":"object"},"Dashboard":{"properties":{"cves_by_severity":{"description":"Number of CVEs discovered on the managed systems, divided into buckets based on their CVSSv3 score (CVSSv2 is used when CVSSv3 is not available).","properties":{"0to3.9":{"properties":{"count":{"description":"Number of CVEs with CVSS score lower than 4.","example":1902,"type":"integer"},"known_exploits":{"description":"Number of CVEs in given bracket with a known exploit.","example":6,"type":"number"},"percentage":{"description":"Percentage of CVEs with CVSS score lower than 4.","example":60,"type":"number"}},"required":["count","percentage"],"type":"object"},"4to7.9":{"properties":{"count":{"description":"Number of CVEs with CVSS score higher or equal to 4 and lower then 8.","example":400,"type":"integer"},"known_exploits":{"description":"Number of CVEs in given bracket with a known exploit.","example":6,"type":"number"},"percentage":{"description":"Percentage of CVEs with CVSS score higher or equal to 4 and lower then 8.","example":15,"type":"number"}},"required":["count","percentage"],"type":"object"},"8to10":{"properties":{"count":{"description":"Number of CVEs with CVSS score higher or equal to 8.","example":109,"type":"integer"},"known_exploits":{"description":"Number of CVEs in given bracket with a known exploit.","example":6,"type":"number"},"percentage":{"description":"Percentage of CVEs with CVSS score higher or equal to 8.","example":2,"type":"number"}},"required":["count","percentage"],"type":"object"},"na":{"properties":{"count":{"description":"Number of CVEs with N/A CVSS score.","example":109,"type":"integer"},"known_exploits":{"description":"Number of CVEs in given bracket with a known exploit.","example":6,"type":"number"},"percentage":{"description":"Percentage of CVEs with N/A CVSS score.","example":2,"type":"number"}},"required":["count","percentage"],"type":"object"}},"required":["0to3.9","4to7.9","8to10","na"],"type":"object"},"cves_total":{"description":"Number of unique CVEs discovered on the managed systems.","example":1902,"type":"integer"},"exploited_cves_count":{"description":"unique number of CVEs having known exploit affecting at least one system","example":5,"type":"integer"},"recent_cves":{"description":"Number of recently published CVEs identified on managed systems","properties":{"last30days":{"description":"Number of CVEs identified on managed systems published in last 30 days.","example":62,"type":"integer"},"last7days":{"description":"Number of CVEs identified on managed systems published in last 7 days.","example":14,"type":"integer"},"last90days":{"description":"Number of CVEs identified on managed systems published in last 90 days.","example":156,"type":"integer"}},"required":["last7days","last30days","last90days"],"type":"object"},"recent_rules":{"description":"List of recently (14 days) released security rules.","items":{"description":"Security rule.","properties":{"associated_cves":{"description":"List of CVEs associated with the security rule.","items":{"description":"CVE name.","example":"CVE-2016-0800","type":"string"},"type":"array"},"description":{"description":"Description of the issue related with the security rule.","example":"A heap-based buffer overflow was found in the way ...","type":"string"},"id":{"description":"ID of the security rule.","example":"CVE_2019_11135_cpu_taa|CVE_2019_11135_CPU_TAA_KERNEL","type":"string"},"name":{"description":"Name of the security rule.","example":"sudo privilege escalation","type":"string"},"node_id":{"description":"Node id of access.redhat.com/node/* article.","example":5737621,"nullable":true,"type":"number"},"public_date":{"description":"String representation of ISO-8601 formatted date of release of the security rule.","example":"2016-03-01T00:00:00+00:00","nullable":true,"type":"string"},"severity":{"description":"Number representation of the security rule severity.","example":3,"type":"number"},"systems_affected":{"description":"Number of systems triggering the security rule.","example":178,"type":"number"}},"type":"object"},"required":["associated_cves","description","name","node_id","severity","systems_affected"],"type":"array"},"rules_cves_total":{"description":"Total number of CVEs with associated security rules affecting given account.","example":12,"type":"integer"},"system_count":{"description":"Total systems registered to Vulnerability service (with applied filtering).","example":241,"type":"integer"}},"required":["cves_total","cves_by_severity","recent_cves","recent_rules","rules_cves_total","system_count","exploited_cves_count"],"type":"object"},"Errors":{"properties":{"errors":{"items":{"properties":{"detail":{"oneOf":[{"description":"Error detail.","example":"Record not found.","type":"string"},{"description":"Returned with RBAC (user permissions) related issue","properties":{"msg":{"description":"Error detail related to RBAC problem","type":"string"},"permissions":{"description":"Array with RBAC permissions of user","items":{"type":"string"},"type":"array"}},"type":"object"}]},"status":{"description":"String representation of HTTP status code.","example":404,"type":"string"}},"required":["detail","status"],"type":"object"},"minItems":1,"type":"array"}},"required":["errors"],"type":"object"},"ExecutiveReport":{"properties":{"cves_by_severity":{"description":"Number of CVEs discovered on the managed systems, divided into buckets based on their CVSSv3 score (CVSSv2 is used when CVSSv3 is not available).","properties":{"0to3.9":{"properties":{"count":{"description":"Number of CVEs with CVSS score lower than 4.","example":1902,"type":"integer"},"percentage":{"description":"Percentage of CVEs with CVSS score lower than 4.","example":60,"type":"number"}},"required":["count","percentage"],"type":"object"},"4to7.9":{"properties":{"count":{"description":"Number of CVEs with CVSS score higher or equal to 4 and lower then 8.","example":400,"type":"integer"},"percentage":{"description":"Percentage of CVEs with CVSS score higher or equal to 4 and lower then 8.","example":15,"type":"number"}},"required":["count","percentage"],"type":"object"},"8to10":{"properties":{"count":{"description":"Number of CVEs with CVSS score higher or equal to 8.","example":109,"type":"integer"},"percentage":{"description":"Percentage of CVEs with CVSS score higher or equal to 8.","example":2,"type":"number"}},"required":["count","percentage"],"type":"object"},"na":{"properties":{"count":{"description":"Number of CVEs with N/A CVSS score.","example":109,"type":"integer"},"percentage":{"description":"Percentage of CVEs with N/A CVSS score.","example":2,"type":"number"}},"required":["count","percentage"],"type":"object"}},"required":["0to3.9","4to7.9","8to10","na"],"type":"object"},"cves_total":{"description":"Number of unique CVEs discovered on the managed systems.","example":1902,"type":"integer"},"meta":{"$ref":"#/components/schemas/MetaPermissions"},"recent_cves":{"description":"Number of recently published CVEs identified on managed systems","properties":{"last30days":{"description":"Number of CVEs identified on managed systems published in last 30 days.","example":62,"type":"integer"},"last7days":{"description":"Number of CVEs identified on managed systems published in last 7 days.","example":14,"type":"integer"},"last90days":{"description":"Number of CVEs identified on managed systems published in last 90 days.","example":156,"type":"integer"}},"required":["last7days","last30days","last90days"],"type":"object"},"rules_by_severity":{"description":"Information about how much systems are affected by a security rule, broken down by rule severity.","properties":{"1":{"properties":{"rule_count":{"description":"How many unique rules with at least system affected are present.","example":12,"type":"integer"},"systems_affected":{"description":"How many unique systems are affected by at least one rules with given severity","example":443,"type":"integer"}},"required":["rule_count","systems_affected"],"type":"object"},"2":{"properties":{"rule_count":{"description":"How many unique rules with at least system affected are present.","example":12,"type":"integer"},"systems_affected":{"description":"How many unique systems are affected by at least one rules with given severity","example":443,"type":"integer"}},"required":["rule_count","systems_affected"],"type":"object"},"3":{"properties":{"rule_count":{"description":"How many unique rules with at least system affected are present.","example":12,"type":"integer"},"systems_affected":{"description":"How many unique systems are affected by at least one rules with given severity","example":443,"type":"integer"}},"required":["rule_count","systems_affected"],"type":"object"},"4":{"properties":{"rule_count":{"description":"How many unique rules with at least system affected are present.","example":12,"type":"integer"},"systems_affected":{"description":"How many unique systems are affected by at least one rules with given severity","example":443,"type":"integer"}},"required":["rule_count","systems_affected"],"type":"object"}},"required":["1","2","3","4"],"type":"object"},"rules_total":{"description":"Number of unique CVEs discovered on the managed systems.","example":1902,"type":"integer"},"system_count":{"description":"Total number of systems managed by vulnerability application.","example":25641,"type":"integer"},"top_cves":{"items":{"properties":{"cvss2_score":{"description":"String representation of cvss2 score of the CVE.","example":"5.800","nullable":true,"type":"string"},"cvss3_score":{"description":"String representation of cvss3 score of the CVE.","example":"4.400","nullable":true,"type":"string"},"description":{"description":"Description of the CVE.","example":"A padding oracle flaw was found in the Secure Sockets Layer version 2.0 (SSLv2) protocol. An attacker could...","type":"string"},"known_exploit":{"description":"Shows whether a CVE has known exploits or not","example":true,"type":"boolean"},"rule_presence":{"description":"Indicator of security rule presence","example":true,"type":"boolean"},"security_rule":{"deprecated":true,"description":"Indicator of security rule presence","example":true,"type":"boolean"},"synopsis":{"description":"CVE synopsis","example":"CVE-2016-0800","type":"string"},"systems_affected":{"description":"Systems affected by the CVE.","example":1795,"type":"integer"}},"required":["synopsis","cvss2_score","cvss3_score","description","systems_affected","known_exploit"],"type":"object"},"type":"array"},"top_rules":{"items":{"properties":{"associated_cves":{"description":"All CVEs associated with the rule","items":{"example":"CVE-2019-1125","type":"string"},"type":"array"},"description":{"description":"Brief description of the issue.","example":"Privilege Escalation with running service (no fix available for this version)","type":"string"},"name":{"description":"Name of the security rule.","example":"httpd denial of service with running services","type":"string"},"rule_id":{"description":"ID of associated security rule.","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","type":"string"},"severity":{"description":"Severity of the security rule.","example":3,"type":"integer"},"systems_affected":{"description":"Number of systems affected by the rule.","example":443,"type":"integer"}},"required":["associated_cves","description","name","rule_id","severity","systems_affected"],"type":"object"},"type":"array"}},"required":["system_count","cves_total","cves_by_severity","rules_by_severity","rules_total","recent_cves"],"type":"object"},"InsightsRule":{"properties":{"associated_cves":{"description":"List of CVEs associated with the rule.","items":{"example":"CVE-2016-0800","type":"string"},"type":"array"},"change_risk":{"description":"Indicates how likely remediation can change environment on the remediatied system.","example":1,"nullable":true,"type":"integer"},"description":{"description":"Description of the rule.","example":"CVE-2017-14491 dnsmasq code execution with listening processes","nullable":true,"type":"string"},"kbase_node_id":{"description":"ID of associated Red Hat knowledgebase article.","example":3199382,"nullable":true,"type":"integer"},"playbook_count":{"description":"Number of available Ansible playbooks for remediation/mitigation.","example":1,"nullable":true,"type":"integer"},"publish_date":{"description":"Date when the rule was published.","example":"2018-05-15T13:00:00Z","nullable":true,"type":"string"},"reboot_required":{"description":"Indicator whter reboot is required to mitigate vulnerability.","example":false,"nullable":true,"type":"boolean"},"rule_id":{"description":"ID(s) of associated security rule(s).","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","type":"string"},"rule_impact":{"description":"Shows rules impact number from 1 to 4","example":1,"nullable":true,"type":"integer"},"summary":{"description":"Summary of the rule.","example":"A buffer overflow vulnerability was found in `Dnsmasq`, a popular lightweight DNS and DHCP server....","nullable":true,"type":"string"},"systems_affected":{"description":"Number of systems affected by the rule.","example":72,"type":"integer"}},"required":["associated_cves","change_risk","description","kbase_node_id","playbook_count","reboot_required","rule_id","summary","rule_impact","publish_date"],"type":"object"},"InventoryIdOrList":{"example":"f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2","oneOf":[{"description":"Inventory ID.","example":"f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2","type":"string"},{"description":"List of inventory IDs for a bulk change.","items":{"example":"f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2","type":"string"},"type":"array"}]},"Links":{"properties":{"first":{"description":"Link to first page.","example":"/api?offset=0&limit=1","type":"string"},"last":{"description":"Link to last page.","example":"/api?offset=7&limit=1","type":"string"},"next":{"description":"Link to next page.","example":"/api?offset=5&limit=1","nullable":true,"type":"string"},"previous":{"description":"Link to next page.","example":"/api?offset=3&limit=1","nullable":true,"type":"string"}},"required":["first","last","next","previous"],"type":"object"},"Meta":{"properties":{"data_format":{"description":"Format of the output data, either JSON (default) or CSV.","example":"JSON","type":"string"},"filter":{"description":"Full text filter","example":"CVE-2016-0800","nullable":true,"type":"string"},"limit":{"description":"Maximum number of paginated results.","example":25,"type":"integer"},"offset":{"description":"First record of paginated response.","example":0,"type":"integer"},"page":{"description":"Page number of paginated response.","example":1,"type":"integer"},"page_size":{"description":"Number of records per page of paginated response.","example":25,"type":"integer"},"pages":{"description":"Total number of pages of paginated response.","example":1,"type":"integer"},"sort":{"description":"Sorting filter.","example":"-inventory_id","nullable":true,"type":"string"},"total_items":{"description":"Total number of records.","example":37,"type":"integer"}},"required":["filter","limit","offset","page","page_size","pages","sort","total_items","data_format"],"type":"object"},"MetaAffectedSystems":{"allOf":[{"$ref":"#/components/schemas/Meta"},{"$ref":"#/components/schemas/MetaPermissions"},{"properties":{"cves_without_errata":{"description":"CVEs without Errata feature flag","nullable":true,"type":"boolean"},"first_reported_from":{"description":"Filter system-cve pairs based on first time of detection of CVE.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"first_reported_to":{"description":"Filter system-cve pairs based on first time of detection of CVE.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"group_ids":{"description":"ID of the inventory group.","example":"00000000-1111-0000-0000-000000000000,00000000-2222-0000-0000-000000000000","nullable":true,"type":"string"},"group_names":{"description":"Name of the inventory group.","example":"Production,Stage","nullable":true,"type":"string"},"patch_access":{"description":"If show_advisories=true shows access to patch service else null","example":true,"nullable":true,"type":"boolean"},"rhel_version":{"description":"Filter base on system RHEL version.","example":"8.2","nullable":true,"type":"string"},"rule_key":{"description":"Filters security rules by its error key.","example":"CVE_2018_3639_cpu_kernel|CVE_2018_3639_CPU_BAD_MICROCODE_2,CVE_2018_12207_cpu_kernel|CVE_2018_12207_CPU_KERNEL_FOR_SURE","nullable":true,"type":"string"},"rule_presence":{"description":"Filter based on presence of security rule","example":"true,false","nullable":true,"type":"string"},"status_id":{"description":"Filer based on CVE status ID.","example":"1,4","nullable":true,"type":"string"}},"required":["status_id","rule_key","rule_presence","patch_access","rhel_version","first_reported_from","first_reported_to","cves_without_errata","group_names","group_ids"],"type":"object"}]},"MetaCves":{"allOf":[{"$ref":"#/components/schemas/Meta"},{"$ref":"#/components/schemas/MetaPermissions"},{"properties":{"business_risk_id":{"description":"Filter based on business risk IDs.","example":"1,3","nullable":true,"type":"string"},"cves_without_errata":{"description":"CVEs without Errata feature flag","nullable":true,"type":"boolean"},"cvss_from":{"description":"Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score.","example":4.6,"nullable":true,"type":"number"},"cvss_to":{"description":"Filter based on cvss score, up to the value.","example":7.2,"nullable":true,"type":"number"},"first_reported_from":{"description":"Filter system-cve pairs based on first time of detection of CVE.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"first_reported_to":{"description":"Filter system-cve pairs based on first time of detection of CVE.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"impact":{"description":"Filter based on impact IDs.","example":"5,7","nullable":true,"type":"string"},"patch_access":{"description":"If show_advisories=true shows access to patch service else null","example":true,"nullable":true,"type":"boolean"},"public_from":{"description":"Filter CVEs based on their published date, starting from the date.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"public_to":{"description":"Filter CVEs based on their published date, up to the date.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"rule_presence":{"description":"Filter based on presence of security rule","example":"true,false","nullable":true,"type":"string"},"status_id":{"description":"Filer based on CVE status ID.","example":"1,4","nullable":true,"type":"string"}},"required":["business_risk_id","cvss_from","cvss_to","public_from","public_to","impact","status_id","rule_presence","patch_access","first_reported_from","first_reported_to","cves_without_errata"],"type":"object"}]},"MetaCvesSystems":{"allOf":[{"$ref":"#/components/schemas/MetaCves"},{"properties":{"opt_out":{"description":"If given system was opted out.","example":true,"type":"boolean"}},"required":["opt_out"],"type":"object"}]},"MetaPermissions":{"properties":{"permissions":{"description":"Fetched permissions from RBAC for given user","items":{"example":"vulnerability:vulnerability_results:read","type":"string"},"nullable":false,"type":"array"}},"required":["permissions"],"type":"object"},"MetaSystems":{"allOf":[{"$ref":"#/components/schemas/Meta"},{"$ref":"#/components/schemas/MetaPermissions"},{"properties":{"excluded":{"description":"Display setting of opted out systems.","example":"true,false","nullable":true,"type":"string"},"rhel_version":{"description":"Filter base on system RHEL version.","example":"8.2","nullable":true,"type":"string"}},"required":["excluded","rhel_version"],"type":"object"}]},"MetaVulnerabilitiesOut":{"allOf":[{"$ref":"#/components/schemas/Meta"},{"$ref":"#/components/schemas/MetaPermissions"},{"properties":{"advisory_available":{"description":"Shows whether a CVE has available advisory or not","example":"true,false","nullable":true,"type":"string"},"affecting":{"description":"Description of CVE showing preferences","example":"True,False","nullable":true,"type":"string"},"business_risk_id":{"description":"Filter based on business risk IDs.","example":"1,3","nullable":true,"type":"string"},"cves_without_errata":{"description":"CVEs without Errata feature flag","nullable":true,"type":"boolean"},"cvss_from":{"description":"Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score.","example":4.6,"nullable":true,"type":"number"},"cvss_to":{"description":"Filter based on cvss score, up to the value.","example":7.2,"nullable":true,"type":"number"},"impact":{"description":"Filter based on impact IDs.","example":"5,7","nullable":true,"type":"string"},"public_from":{"description":"Filter CVEs based on their published date, starting from the date.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"public_to":{"description":"Filter CVEs based on their published date, up to the date.","example":"2017-09-18T00:00:00+00:00","nullable":true,"type":"string"},"rhel_version":{"description":"Filter base on system RHEL version.","example":"8.2","nullable":true,"type":"string"},"rule_presence":{"description":"Filter based on presence of security rule","example":"true,false","nullable":true,"type":"string"},"system_count":{"description":"Total number of systems managed by vulnerability application.","example":25641,"type":"integer"}},"required":["affecting","business_risk_id","cvss_from","cvss_to","public_from","public_to","impact","rhel_version","rule_presence","cves_without_errata","advisory_available"],"type":"object"}]},"MitigatedSystemsIdsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"description":"Smallest dataset for frontend to work.","properties":{"inventory_id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"rule_id":{"description":"ID of associated security rule.","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","nullable":true,"type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"}},"required":["inventory_id","rule_id","status_id","status_text"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaAffectedSystems"}},"required":["data","links","meta"],"type":"object"},"MitigatedSystemsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"attributes":{"properties":{"advisories_list":{"description":"List of advisories for system","items":{"description":"Advisory id","example":"RHSA-2019:1481","type":"string"},"type":"array"},"advisory_available":{"description":"Shows whether a CVE has available advisory or not","example":true,"type":"boolean"},"culled_timestamp":{"description":"Timestamp from which the host is considered deleted.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"cve_status_id":{"description":"Internal ID of the CVE status.","example":4,"type":"integer"},"display_name":{"description":"System's name.","example":"system.example.com","nullable":true,"type":"string"},"insights_id":{"description":"Insights host ID.","example":"0035f6bc-cdb0-4763-8fcd-1dc58f716359","nullable":true,"type":"string"},"inventory_id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"last_evaluation":{"description":"Date of last evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"mitigation_reason":{"description":"Reason why the system is not vulnerable","example":"SELinux mitigates the issue","type":"string"},"os":{"description":"Operating system.","example":"RHEL 8.4","type":"string"},"remediation":{"description":"Type of available remediation, 0 for none, 1 for manual, 2 for playbook.","enum":[0,1,2],"type":"number"},"reporter":{"description":"Reporter of the vulnerability, 1 for VMaaS, 2 for security rule, 3 for both VMaaS and rule.","enum":[0,1,2,3],"type":"number"},"rule_id":{"description":"ID(s) of associated security rule(s)..","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","type":"string"},"rules_evaluation":{"description":"Date of last security rules evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_timestamp":{"description":"Date when stale system becomes stale.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_warning_timestamp":{"description":"Date when stale system becomes hidden in the application.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_name":{"description":"Status of the vulnerability for the application's point of view.","example":"Resolved","type":"string"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"},"tags":{"items":{"properties":{"key":{"description":"Key of the single tag.","example":"CVE","type":"string"},"namespace":{"description":"Namespace of single tag.","example":"vulnerability","nullable":true,"type":"string"},"value":{"description":"Value of the single tag.","example":"CVE-2017-1","nullable":true,"type":"string"}},"required":["namespace","key","value"],"type":"object"},"type":"array"},"updated":{"description":"Date of the lastest upload of archive taken from Inventory syndicated data.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"}},"required":["cve_status_id","culled_timestamp","display_name","inventory_id","insights_id","last_evaluation","mitigation_reason","os","reporter","rules_evaluation","stale_timestamp","stale_warning_timestamp","status_id","status_name","status_text","tags","updated","advisory_available","remediation"],"type":"object"},"id":{"description":"Host id.","example":"INV-ID-0000-1234","type":"string"},"type":{"description":"Type of the record.","example":"system","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaAffectedSystems"}},"required":["data","links","meta"],"type":"object"},"OptOutIn":{"properties":{"inventory_id":{"$ref":"#/components/schemas/InventoryIdOrList"},"opt_out":{"description":"Opt out setting to be set.","example":true,"type":"boolean"}},"required":["inventory_id","opt_out"],"type":"object"},"PlaybookTemplate":{"properties":{"data":{"items":{"properties":{"description":{"description":"Playbook template description.","example":"Fix issues caused by CVE_2017_6074_kernel|KERNEL_CVE_2017_6074.","type":"string"},"play":{"description":"Actual playbook template.","type":"string"},"reboot_required":{"description":"Indicator whter reboot is required to mitigate vulnerability.","example":false,"nullable":true,"type":"boolean"},"resolution_type":{"description":"Type of the resolution provided by playbook.","type":"string"},"version":{"description":"Revision of the playbook template.","example":"93a1ced8a259666f0505cd20b7cb8e7a1c65b868","type":"string"}},"required":["description","play","version","resolution_type"],"type":"object"},"type":"array"}},"type":"object"},"StatusIn":{"properties":{"cve":{"$ref":"#/components/schemas/CveOrList"},"inventory_id":{"$ref":"#/components/schemas/InventoryIdOrList"},"status_id":{"description":"Status ID to be set, obtained by GET method. If not specified, global CVE status is set.","example":3,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"}},"required":["cve"],"type":"object"},"StatusListOut":{"properties":{"data":{"description":"List of available status/status_id pairs.","items":{"properties":{"id":{"description":"Internal status_id.","example":3,"type":"integer"},"name":{"description":"Represenation of internal status_id.","example":"Scheduled for Patch","type":"string"}},"required":["id","name"],"type":"object"},"type":"array"},"meta":{"properties":{"total_items":{"description":"Total number of available status/status_id pairs.","example":1,"type":"integer"}},"required":["total_items"],"type":"object"}},"required":["data","meta"],"type":"object"},"StatusOut":{"properties":{"meta":{"$ref":"#/components/schemas/MetaPermissions"},"updated":{"description":"List of updated objects/updated object IDs.","items":{"properties":{"cve":{"example":"CVE-2016-0800","type":"string"},"inventory_id":{"example":"f35b1e1d-d231-43f2-8e4f-8f9cb01e3aa2","type":"string"}},"required":["inventory_id","cve"],"type":"object"},"type":"array"}},"required":["updated"],"type":"object"},"SystemCvesIdsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"description":"CVE id and minimal information for frontend","properties":{"cve_status_id":{"description":"Internal ID of the CVE status.","example":4,"type":"integer"},"cve_status_text":{"description":"Status text to the whole cve.","example":"Not relevant for all","nullable":true,"type":"string"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"remediation":{"description":"Type of available remediation, 0 for none, 1 for manual, 2 for playbook.","enum":[0,1,2],"type":"number"},"rule_id":{"description":"ID(s) of associated security rule(s)..","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","nullable":true,"type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"}},"required":["id","rule_id","status_id","status_text","cve_status_id","cve_status_text","remediation"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaCves"}},"required":["data","links","meta"],"type":"object"},"SystemCvesOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"attributes":{"properties":{"advisories_list":{"description":"List of advisories for CVE","items":{"description":"Advisory id","example":"RHSA-2019:1481","type":"string"},"type":"array"},"advisory_available":{"description":"Shows whether a CVE has available advisory or not","example":true,"type":"boolean"},"business_risk":{"description":"Business risk of the vulnerability.","example":"Low","type":"string"},"business_risk_id":{"description":"Internal ID of the vulnerability business risk.","example":1,"type":"integer"},"business_risk_text":{"description":"Complementary text to the business risk.","example":"QA environment => Low business risk","nullable":true,"type":"string"},"cve_status_id":{"description":"Internal ID of the CVE status.","example":4,"type":"integer"},"cve_status_text":{"description":"Status text to the whole cve.","example":"Not relevant for all","nullable":true,"type":"string"},"cvss2_score":{"description":"String representation of cvss2 score of the CVE.","example":"5.800","nullable":true,"type":"string"},"cvss3_score":{"description":"String representation of cvss3 score of the CVE.","example":"4.400","nullable":true,"type":"string"},"description":{"description":"Description of the CVE.","example":"A padding oracle flaw was found in the Secure Sockets Layer version 2.0 (SSLv2) protocol. An attacker could...","type":"string"},"first_reported":{"description":"Date of when the CVE was first reported on the system.","example":"2018-09-22T16:00:00+00:00","type":"string"},"impact":{"description":"Red Hat security impact of the CVE.","example":"Important","type":"string"},"known_exploit":{"description":"Shows whether a CVE has known exploits or not","example":true,"type":"boolean"},"public_date":{"description":"String representation of ISO-8601 formatted date of first public disclosure of the CVE.","example":"2016-03-01T00:00:00+00:00","nullable":true,"type":"string"},"remediation":{"description":"Type of available remediation, 0 for none, 1 for manual, 2 for playbook.","enum":[0,1,2],"type":"number"},"reporter":{"description":"Reporter of the vulnerability, 1 for VMaaS, 2 for security rule, 3 for both VMaaS and rule.","enum":[0,1,2,3],"type":"number"},"rule":{"nullable":true,"properties":{"change_risk":{"description":"Indicates how likely remediation can change environment on the remediatied system.","example":1,"nullable":true,"type":"integer"},"description":{"description":"Description of the rule.","example":"CVE-2017-14491 dnsmasq code execution with listening processes","nullable":true,"type":"string"},"generate_autoplaybook":{"description":"Indicates whether a playbook should be auto-generated.","example":true,"nullable":true,"type":"boolean"},"kbase_node_id":{"description":"ID of associated Red Hat knowledgebase article.","example":3199382,"nullable":true,"type":"integer"},"playbook_count":{"description":"Number of available Ansible playbooks for remediation/mitigation.","example":1,"nullable":true,"type":"integer"},"reboot_required":{"description":"Indicator whter reboot is required to mitigate vulnerability.","example":false,"nullable":true,"type":"boolean"},"rule_id":{"description":"ID(s) of associated security rule(s).","example":"CVE_2017_14491_dnsmasq|CVE_2017_14491_ERROR","type":"string"},"summary":{"description":"Summary of the rule.","example":"A buffer overflow vulnerability was found in `Dnsmasq`, a popular lightweight DNS and DHCP server....","nullable":true,"type":"string"}},"required":["change_risk","description","kbase_node_id","playbook_count","reboot_required","rule_id","summary","generate_autoplaybook"],"type":"object"},"status":{"description":"Status of the vulnerability for the application's point of view.","example":"Resolved","type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":4,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not relevant","nullable":true,"type":"string"},"synopsis":{"description":"Synopsis of the CVE.","example":"CVE-2016-0800","type":"string"}},"required":["business_risk","business_risk_id","business_risk_text","cve_status_id","cve_status_text","cvss2_score","cvss3_score","description","first_reported","impact","public_date","reporter","rule","status","status_id","status_text","synopsis","known_exploit","advisory_available","remediation"],"type":"object"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"type":{"description":"Type of the record.","example":"cve","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaCves"}},"required":["data","links","meta"],"type":"object"},"SystemDetailsOut":{"properties":{"data":{"properties":{"last_evaluation":{"description":"Date of last evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"last_upload":{"description":"Date of the latest upload of archive.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"opt_out":{"description":"System opt out status.","example":true,"type":"boolean"},"os":{"description":"Operating system.","example":"RHEL 8.4","type":"string"},"rules_evaluation":{"description":"Date of last security rules evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale":{"description":"System stale status.","example":true,"type":"boolean"},"tags":{"items":{"properties":{"key":{"description":"Key of the single tag.","example":"CVE","type":"string"},"namespace":{"description":"Namespace of single tag.","example":"vulnerability","nullable":true,"type":"string"},"value":{"description":"Value of the single tag.","example":"CVE-2017-1","nullable":true,"type":"string"}},"required":["namespace","key","value"],"type":"object"},"type":"array"},"updated":{"description":"Date of the lastest upload of archive taken from Inventory syndicated data.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"}},"required":["last_evaluation","rules_evaluation","opt_out","last_upload","tags","os"],"type":"object"},"meta":{"$ref":"#/components/schemas/MetaPermissions"}},"required":["data","meta"],"type":"object"},"SystemIdsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"display_name":{"description":"System's name.","example":"system.example.com","nullable":true,"type":"string"},"id":{"description":"Inventory ID.","example":"INV-ID00-0000-1234","type":"string"},"opt_out":{"description":"Whether the system is active or not.","example":false,"nullable":true,"type":"boolean"}},"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaSystems"}},"required":["data","links","meta"],"type":"object"},"SystemListOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"attributes":{"properties":{"culled_timestamp":{"description":"Timestamp from which the host is considered deleted.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"cve_count":{"description":"Number of CVE exposures for the system.","example":7,"nullable":true,"type":"integer"},"display_name":{"description":"System's name,","example":"system.example.com","nullable":true,"type":"string"},"insights_id":{"description":"Insights host ID.","example":"0035f6bc-cdb0-4763-8fcd-1dc58f716359","nullable":true,"type":"string"},"inventory_group":{"items":{"properties":{"id":{"description":"ID of inventory group.","example":"00000000-1111-0000-0000-000000000000","type":"string"},"name":{"description":"Name of inventory group.","example":"group01","type":"string"}},"required":["id","name"],"type":"object"},"type":"array"},"inventory_id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"last_evaluation":{"description":"Date of last evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"last_upload":{"description":"Date of the latest upload of archive.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"opt_out":{"description":"Opt out status of the system.","example":false,"type":"boolean"},"os":{"description":"Operating system.","example":"RHEL 8.4","type":"string"},"rules_evaluation":{"description":"Date of last security rules evaluation.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_timestamp":{"description":"Date when stale system becomes stale.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"stale_warning_timestamp":{"description":"Date when stale system becomes hidden in the application.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"},"tags":{"description":"Tags given to the system.","items":{"properties":{"key":{"description":"Key of the single tag.","example":"CVE","type":"string"},"namespace":{"description":"Namespace of single tag.","example":"vulnerability","nullable":true,"type":"string"},"value":{"description":"Value of the single tag.","example":"CVE-2017-1","nullable":true,"type":"string"}},"required":["namespace","key","value"],"type":"object"},"nullable":true,"type":"array"},"updated":{"description":"Date of the lastest upload of archive taken from Inventory syndicated data.","example":"2018-09-22T16:00:00+00:00","nullable":true,"type":"string"}},"required":["cve_count","display_name","inventory_id","insights_id","last_evaluation","rules_evaluation","opt_out","last_upload","os","stale_timestamp","stale_warning_timestamp","tags","culled_timestamp","inventory_group"],"type":"object"},"id":{"description":"Host ID.","example":"INV-ID00-0000-1234","type":"string"},"type":{"description":"Type of the record.","example":"system","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaSystems"}},"required":["data","links","meta"],"type":"object"},"VersionOut":{"properties":{"application_version":{"description":"Version of application.","example":"0.1.2","type":"string"},"database_version":{"description":"Version of database schema.","example":1,"oneOf":[{"type":"string"},{"type":"number"}]}},"required":["application_version","database_version"],"type":"object"},"VulnerabilitiesIdsOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"description":"CVE id and minimal information.","properties":{"business_risk_id":{"description":"Internal ID of the vulnerability business risk.","example":1,"type":"integer"},"business_risk_text":{"description":"Complementary text to the business risk.","example":"QA environment => Low business risk","nullable":true,"type":"string"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":1,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not Relevant","nullable":true,"type":"string"}},"type":"object"},"required":["business_risk_id","business_risk_text","id","status_id","status_text"],"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaVulnerabilitiesOut"}},"required":["data","links","meta"],"type":"object"},"VulnerabilitiesOut":{"properties":{"data":{"oneOf":[{"description":"CSV export of the JSON.","type":"string"},{"items":{"properties":{"attributes":{"properties":{"advisory_available":{"description":"Shows whether a CVE has available advisory or not","example":true,"type":"boolean"},"business_risk":{"description":"Business risk of the vulnerability.","example":"Low","type":"string"},"business_risk_id":{"description":"Internal ID of the vulnerability business risk.","example":1,"type":"integer"},"business_risk_text":{"description":"Complementary text to the business risk.","example":"QA environment => Low business risk","nullable":true,"type":"string"},"cvss2_score":{"description":"String representation of cvss2 score of the CVE.","example":"5.800","nullable":true,"type":"string"},"cvss3_score":{"description":"String representation of cvss3 score of the CVE.","example":"4.400","nullable":true,"type":"string"},"description":{"description":"Description of the CVE.","example":"A padding oracle flaw was found in the Secure Sockets Layer version 2.0 (SSLv2) protocol. An attacker could...","type":"string"},"impact":{"description":"Red Hat security impact of the CVE.","example":"Important","type":"string"},"known_exploit":{"description":"Shows whether a CVE has known exploits or not","example":true,"type":"boolean"},"public_date":{"description":"String representation of ISO-8601 formatted date of first public disclosure of the CVE.","example":"2016-03-01T00:00:00+00:00","nullable":true,"type":"string"},"rules":{"items":{"$ref":"#/components/schemas/InsightsRule"},"type":"array"},"status":{"description":"Status of the vulnerability.","example":"Not Reviewed","type":"string"},"status_id":{"description":"Internal ID of the vulnerability status.","example":1,"type":"integer"},"status_text":{"description":"Complementary text to the status.","example":"Not Relevant","nullable":true,"type":"string"},"synopsis":{"description":"Synopsis of the CVE.","example":"CVE-2016-0800","type":"string"},"systems_affected":{"description":"Number of systems affected by the CVE.","example":7,"type":"integer"},"systems_status_divergent":{"description":"How many systems-CVE pairs have different status than CVE-level.","example":20,"type":"integer"}},"required":["business_risk","business_risk_id","business_risk_text","cvss2_score","cvss3_score","description","impact","public_date","rules","status","status_id","status_text","synopsis","systems_affected","systems_status_divergent","known_exploit","advisory_available"],"type":"object"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"type":{"description":"Type of the record.","example":"cve","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"}]},"links":{"$ref":"#/components/schemas/Links"},"meta":{"$ref":"#/components/schemas/MetaVulnerabilitiesOut"}},"required":["data","links","meta"],"type":"object"},"VulnerabilitiesPostIn":{"properties":{"cve_list":{"description":"Array of CVEs to provide info about","items":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"type":"array"}},"required":["cve_list"],"type":"object"},"VulnerabilitiesPostOut":{"properties":{"data":{"items":{"properties":{"attributes":{"properties":{"cvss_score":{"description":"String representation of cvss3 or cvvs2 (if v3 is not present) score of the CVE.","example":"5.800","nullable":true,"type":"string"},"impact":{"description":"Red Hat security impact of the CVE.","example":"Important","type":"string"},"synopsis":{"description":"Synopsis of the CVE.","example":"CVE-2016-0800","type":"string"}},"required":["cvss_score","impact","synopsis"],"type":"object"},"id":{"description":"CVE id.","example":"CVE-2016-0800","type":"string"},"type":{"description":"Type of the record.","example":"cve","type":"string"}},"required":["id","type","attributes"],"type":"object"},"type":"array"},"links":{"$ref":"#/components/schemas/Links"},"meta":{"allOf":[{"$ref":"#/components/schemas/Meta"},{"$ref":"#/components/schemas/MetaPermissions"}]}},"required":["data","links","meta"],"type":"object"}},"securitySchemes":{"ApiKeyAuth":{"description":"Identity header provided by 3scale (for non-prod testing only).","in":"header","name":"x-rh-identity","type":"apiKey","x-apikeyInfoFunc":"manager.base.auth"},"BasicAuth":{"description":"Username and password login.","scheme":"basic","type":"http","x-basicInfoFunc":"manager.base.basic_auth"}}},"info":{"title":"Vulnerability Engine Manager","version":"2.12.2"},"openapi":"3.0.0","paths":{"/announcement":{"get":{"description":"Get announcement shown above CVEs list.","operationId":"getAnnouncement","responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/AnnouncementOut"}}},"description":"Announcement."}},"summary":"Announcement.","x-methodName":"getAnnouncement"}},"/apistatus":{"get":{"description":"Checks database availability and API response threshold time.","operationId":"getApiStatus","responses":{"200":{"description":"API is healthy"},"408":{"description":"API is down (time out)"},"503":{"description":"Database is unavaiable"}},"summary":"Health status of application","x-methodName":"getApiStatus"}},"/business_risk":{"get":{"description":"Returns available business risk and business_risk_id pairs where business_risk_id is internal ID of the business risk.","operationId":"getBusinessRiskList","responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/BusinessRiskListOut"}}},"description":"List of business risk/business_risk_id pairs."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Available business risk/business_risk_id pairs.","x-methodName":"getBusinessRiskList"}},"/cves/business_risk":{"patch":{"description":"Sets business risk for a CVE.","operationId":"setCveBusinessRisk","requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/CveRiskIn","x-body-name":"data"}}},"description":"Values to be set. At least one of the \"business_risk_id\" or \"business_risk_text\" parameters is required.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/BulkChangeOut"}}},"description":"Business risk successfully updated."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given CVE does not exist."},"503":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Service is running in read-only mode."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Set business risk for a CVE.","x-methodName":"setCveBusinessRisk"}},"/cves/status":{"patch":{"description":"Sets status for a CVE.","operationId":"setCveStatus","requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/CveStatusIn","x-body-name":"data"}}},"description":"Values to be set. At least one of the \"status_id\" or \"status_text\" parameters is required.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/BulkChangeOut"}}},"description":"Status successfully updated."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given CVE does not exist."},"503":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Service is running in read-only mode."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Set status for a CVE.","x-methodName":"setCveStatus"}},"/cves/{cve_id}":{"get":{"description":"Show all information about given CVE.","operationId":"getCveDetails","parameters":[{"$ref":"#/components/parameters/cve_id"},{"$ref":"#/components/parameters/advisory_available"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/CveDetailOut"}}},"description":"CVE details"},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given CVE does not exist."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Details of a CVE.","x-methodName":"getCveDetails"}},"/cves/{cve_id}/affected_systems":{"get":{"description":"Report of affected systems for a given CVE.","operationId":"getAffectedSystemsByCve","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/sort"},{"$ref":"#/components/parameters/cve_id"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/uuid"},{"$ref":"#/components/parameters/rule_key_deprecated"},{"$ref":"#/components/parameters/rule_presence_deprecated"},{"$ref":"#/components/parameters/rule"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/show_advisories"},{"$ref":"#/components/parameters/advisory"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/first_reported_from"},{"$ref":"#/components/parameters/first_reported_to"},{"$ref":"#/components/parameters/advisory_available"},{"$ref":"#/components/parameters/remediation"},{"$ref":"#/components/parameters/report"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"},{"$ref":"#/components/parameters/group_names"},{"$ref":"#/components/parameters/group_ids"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/AffectedSystemsOut"}}},"description":"Report of affected systems for a given CVE."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given CVE does not exist."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Affected systems for a given CVE.","x-methodName":"getAffectedSystemsByCve"}},"/cves/{cve_id}/affected_systems/ids":{"get":{"description":"Report of IDs of affected systems for a given CVE.","operationId":"getAffectedSystemsIdsByCve","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/sort"},{"$ref":"#/components/parameters/cve_id"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/uuid"},{"$ref":"#/components/parameters/rule_key_deprecated"},{"$ref":"#/components/parameters/rule_presence_deprecated"},{"$ref":"#/components/parameters/rule"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/show_advisories"},{"$ref":"#/components/parameters/advisory"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/first_reported_from"},{"$ref":"#/components/parameters/first_reported_to"},{"$ref":"#/components/parameters/advisory_available"},{"$ref":"#/components/parameters/remediation"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"},{"$ref":"#/components/parameters/group_names"},{"$ref":"#/components/parameters/group_ids"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/AffectedSystemsIdsOut"}}},"description":"Report of IDs of affected systems for a given CVE."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given CVE does not exist."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"IDs of affected systems for a given CVE.","x-methodName":"getAffectedSystemsIdsByCve"}},"/dashbar":{"get":{"description":"Overview of CVE aggregations used for Dashbar.","operationId":"getDashbar","parameters":[{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/DashbarOut"}}},"description":"Dashbar aggregations."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Aggregations for Dashbar.","x-methodName":"getDashbar"}},"/dashboard":{"get":{"description":"Returns top level overview of vulnerabilities affecting given account.","operationId":"getDashboard","parameters":[{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Dashboard"}}},"description":"Dashboard."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Top level overview of vulnerabilities.","x-methodName":"getDashboard"}},"/feature/cves_without_errata":{"patch":{"description":"Sets cves_without_errata feature flag.","operationId":"setCvesWithoutErrata","requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/CvesWithoutErrataIn","x-body-name":"data"}}},"description":"Values to be set.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/CvesWithoutErrataOut"}}},"description":"CVEs without Errata feature successfully updated."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Set cves_without_errata feature flag.","x-methodName":"setCvesWithoutErrata"}},"/playbooks/templates/{rule_id}":{"get":{"description":"Return Ansible playbook template for given rule id.","operationId":"getPlaybookTemplate","parameters":[{"description":"Insights security rule ID.","example":"CVE_2017_8779_rpc|CVE_2017_8779_WARN","in":"path","name":"rule_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/PlaybookTemplate"}}},"description":"Playbook template response"},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given rule id does not exist."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Playbook template for CVEs with security rules.","x-methodName":"getPlaybookTemplate"}},"/report/executive":{"get":{"description":"Returns top level overview of vulnerabilities affecting given account.","operationId":"getExecutiveReport","responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/ExecutiveReport"}}},"description":"Executive report."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Top level overview of vulnerabilities.","x-methodName":"getExecutiveReport"}},"/status":{"get":{"description":"Returns available status and status_id pairs where status_id is internal ID of the status.","operationId":"getStatusList","responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/StatusListOut"}}},"description":"List of status/status_id pairs."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Available status/status_id pairs.","x-methodName":"getStatusList"},"patch":{"description":"Sets status for given hosts and CVEs.","operationId":"setStatus","requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/StatusIn","x-body-name":"data"}}},"description":"Values to be set.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/StatusOut"}}},"description":"Status successfully updated."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Given host/CVE does not exist."},"503":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Service is running in read-only mode."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Set status for system vulnerabilities.","x-methodName":"setStatus"}},"/systems":{"get":{"description":"List systems visible to logged in account with basic information related to vulnerabilities.","operationId":"getSystemsList","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/sort"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/stale"},{"$ref":"#/components/parameters/uuid"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/excluded"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/report"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"},{"$ref":"#/components/parameters/group_names"},{"$ref":"#/components/parameters/group_ids"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/SystemListOut"}}},"description":"System list"}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"List systems.","x-methodName":"getSystemsList"}},"/systems/ids":{"get":{"description":"List systems IDs visible to logged in account.","operationId":"getSystemsIds","parameters":[{"$ref":"#/components/parameters/filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/sort"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/stale"},{"$ref":"#/components/parameters/uuid"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/excluded"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"},{"$ref":"#/components/parameters/group_names"},{"$ref":"#/components/parameters/group_ids"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/SystemIdsOut"}}},"description":"System list"}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"List systems IDs along with additional info about opt out state of the system.","x-methodName":"getSystemsIds"}},"/systems/opt_out":{"patch":{"description":"Opts in/out a systems. Opted out system is not shown and manageable by the vulnerability application.","operationId":"setSystemsOptOut","requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/OptOutIn","x-body-name":"data"}}},"description":"Values to be set.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/BulkChangeOut"}}},"description":"System(s) setting has been updated."},"503":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"Service is running in read-only mode."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Opt in/out a system to/from vulnerability application.","x-methodName":"setSystemsOptOut"}},"/systems/{inventory_id}":{"get":{"description":"Provides details of a system, e.g. it's opt out status.","operationId":"getSystemDetails","parameters":[{"$ref":"#/components/parameters/inventory_id"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/SystemDetailsOut"}}},"description":"System details"},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"System has not been found in the database."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"System details.","x-methodName":"getSystemDetails"}},"/systems/{inventory_id}/cves":{"get":{"description":"Shows detailed information about all CVEs the system is exposed to.","operationId":"getCveListBySystem","parameters":[{"$ref":"#/components/parameters/inventory_id"},{"$ref":"#/components/parameters/cve_filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/cve_sort"},{"$ref":"#/components/parameters/cvss_from"},{"$ref":"#/components/parameters/cvss_to"},{"$ref":"#/components/parameters/public_from"},{"$ref":"#/components/parameters/public_to"},{"$ref":"#/components/parameters/impact"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/business_risk_id"},{"$ref":"#/components/parameters/rule_presence"},{"$ref":"#/components/parameters/show_advisories"},{"$ref":"#/components/parameters/advisory"},{"$ref":"#/components/parameters/rule_key"},{"$ref":"#/components/parameters/known_exploit"},{"$ref":"#/components/parameters/first_reported_from"},{"$ref":"#/components/parameters/first_reported_to"},{"$ref":"#/components/parameters/advisory_available"},{"$ref":"#/components/parameters/remediation"},{"$ref":"#/components/parameters/report"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/SystemCvesOut"}}},"description":"CVE report."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"System has not been found in the database."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"CVE report for a system.","x-methodName":"getCveListBySystem"}},"/systems/{inventory_id}/cves/ids":{"get":{"description":"Shows IDs of all CVEs the system is exposed to.","operationId":"getCveIdsBySystem","parameters":[{"$ref":"#/components/parameters/inventory_id"},{"$ref":"#/components/parameters/cve_filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/cve_sort"},{"$ref":"#/components/parameters/cvss_from"},{"$ref":"#/components/parameters/cvss_to"},{"$ref":"#/components/parameters/public_from"},{"$ref":"#/components/parameters/public_to"},{"$ref":"#/components/parameters/impact"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/business_risk_id"},{"$ref":"#/components/parameters/rule_presence"},{"$ref":"#/components/parameters/show_advisories"},{"$ref":"#/components/parameters/advisory"},{"$ref":"#/components/parameters/rule_key"},{"$ref":"#/components/parameters/known_exploit"},{"$ref":"#/components/parameters/first_reported_from"},{"$ref":"#/components/parameters/first_reported_to"},{"$ref":"#/components/parameters/advisory_available"},{"$ref":"#/components/parameters/remediation"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/SystemCvesIdsOut"}}},"description":"CVE Ids report."},"404":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/Errors"}}},"description":"System has not been found in the database."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"CVE IDs report for a system.","x-methodName":"getCveIdsBySystem"}},"/version":{"get":{"description":"Get application version.","operationId":"getVersion","responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/VersionOut"}}},"description":"Application version."}},"summary":"Application version","x-methodName":"getVersion"}},"/vulnerabilities/cves":{"get":{"description":"Overview of vulnerabilities across whole host inventory.","operationId":"getCveList","parameters":[{"$ref":"#/components/parameters/cve_filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/cve_sort"},{"$ref":"#/components/parameters/cvss_from"},{"$ref":"#/components/parameters/cvss_to"},{"$ref":"#/components/parameters/public_from"},{"$ref":"#/components/parameters/public_to"},{"$ref":"#/components/parameters/impact"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/business_risk_id"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/rule_presence"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/known_exploit"},{"$ref":"#/components/parameters/affecting"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/report"},{"$ref":"#/components/parameters/advanced_report"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"},{"$ref":"#/components/parameters/advisory_available"},{"$ref":"#/components/parameters/group_names"},{"$ref":"#/components/parameters/group_ids"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/VulnerabilitiesOut"}}},"description":"Vulnerabilities overview."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Vulnerabilities overview.","x-methodName":"getCveList"},"post":{"description":"Overview of vulnerabilities for specific CVEs provided in the body.","operationId":"getCveList","parameters":[{"$ref":"#/components/parameters/cve_filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/sort"}],"requestBody":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/VulnerabilitiesPostIn","x-body-name":"data"}}},"description":"List of CVEs to provide info about.","required":true},"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/VulnerabilitiesPostOut"}}},"description":"Vulnerabilities overview."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Vulnerabilities overview.","x-methodName":"getCveList"}},"/vulnerabilities/cves/ids":{"get":{"description":"Overview of vulnerabilities IDs across whole host inventory.","operationId":"getCveIdsList","parameters":[{"$ref":"#/components/parameters/cve_filter"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/page_size"},{"$ref":"#/components/parameters/cve_sort"},{"$ref":"#/components/parameters/cvss_from"},{"$ref":"#/components/parameters/cvss_to"},{"$ref":"#/components/parameters/public_from"},{"$ref":"#/components/parameters/public_to"},{"$ref":"#/components/parameters/impact"},{"$ref":"#/components/parameters/data_format"},{"$ref":"#/components/parameters/business_risk_id"},{"$ref":"#/components/parameters/status_id"},{"$ref":"#/components/parameters/rule_presence"},{"$ref":"#/components/parameters/tags"},{"$ref":"#/components/parameters/sap_sids"},{"$ref":"#/components/parameters/sap_system"},{"$ref":"#/components/parameters/known_exploit"},{"$ref":"#/components/parameters/affecting"},{"$ref":"#/components/parameters/rhel_version"},{"$ref":"#/components/parameters/ansible"},{"$ref":"#/components/parameters/mssql"},{"$ref":"#/components/parameters/advisory_available"}],"responses":{"200":{"content":{"application/vnd.api+json":{"schema":{"$ref":"#/components/schemas/VulnerabilitiesIdsOut"}}},"description":"Vulnerabilities IDs overview."}},"security":[{"ApiKeyAuth":[]},{"BasicAuth":[]}],"summary":"Vulnerabilities IDs overview.","x-methodName":"getCveIdsList"}}},"servers":[{"url":"/api/vulnerability/v1"}]} \ No newline at end of file diff --git a/packages/vulnerabilities/base.ts b/packages/vulnerabilities/base.ts index 5f1ceacdb..f4348a37f 100644 --- a/packages/vulnerabilities/base.ts +++ b/packages/vulnerabilities/base.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.4.1 + * The version of the OpenAPI document: 2.12.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/vulnerabilities/configuration.ts b/packages/vulnerabilities/configuration.ts index c6e4564ae..d02e1634c 100644 --- a/packages/vulnerabilities/configuration.ts +++ b/packages/vulnerabilities/configuration.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.4.1 + * The version of the OpenAPI document: 2.12.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/vulnerabilities/doc/classes/DefaultApi.md b/packages/vulnerabilities/doc/classes/DefaultApi.md index f309d1ff8..fb3d7685b 100644 --- a/packages/vulnerabilities/doc/classes/DefaultApi.md +++ b/packages/vulnerabilities/doc/classes/DefaultApi.md @@ -120,7 +120,7 @@ BaseAPI.configuration ### getAffectedSystemsByCve -▸ **getAffectedSystemsByCve**(`cveId`, `filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `statusId?`, `dataFormat?`, `uuid?`, `ruleKey?`, `rulePresence?`, `rule?`, `tags?`, `sapSids?`, `sapSystem?`, `showAdvisories?`, `advisory?`, `rhelVersion?`, `firstReportedFrom?`, `firstReportedTo?`, `advisoryAvailable?`, `remediation?`, `report?`, `ansible?`, `mssql?`, `options?`): `Promise`<`AxiosResponse`<[`AffectedSystemsOut`](../interfaces/AffectedSystemsOut.md)\>\> +▸ **getAffectedSystemsByCve**(`cveId`, `filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `statusId?`, `dataFormat?`, `uuid?`, `ruleKey?`, `rulePresence?`, `rule?`, `tags?`, `sapSids?`, `sapSystem?`, `showAdvisories?`, `advisory?`, `rhelVersion?`, `firstReportedFrom?`, `firstReportedTo?`, `advisoryAvailable?`, `remediation?`, `report?`, `ansible?`, `mssql?`, `groupNames?`, `groupIds?`, `options?`): `Promise`<`AxiosResponse`<[`AffectedSystemsOut`](../interfaces/AffectedSystemsOut.md)\>\> Report of affected systems for a given CVE. @@ -164,6 +164,8 @@ DefaultApi | `report?` | `boolean` | Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. | | `ansible?` | `boolean` | Boolean value which shows systems managed by Ansible Automation Platform. | | `mssql?` | `boolean` | Boolean value which shows systems managed by MSSQL. | +| `groupNames?` | `string`[] | Names of the inventory groups. | +| `groupIds?` | `string`[] | IDs of the inventory groups. | | `options?` | `any` | Override http request option. | #### Returns @@ -172,13 +174,13 @@ DefaultApi #### Defined in -[api.ts:5919](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L5919) +[api.ts:6022](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6022) ___ ### getAffectedSystemsIdsByCve -▸ **getAffectedSystemsIdsByCve**(`cveId`, `filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `statusId?`, `dataFormat?`, `uuid?`, `ruleKey?`, `rulePresence?`, `rule?`, `tags?`, `sapSids?`, `sapSystem?`, `showAdvisories?`, `advisory?`, `rhelVersion?`, `firstReportedFrom?`, `firstReportedTo?`, `advisoryAvailable?`, `remediation?`, `ansible?`, `mssql?`, `options?`): `Promise`<`AxiosResponse`<[`AffectedSystemsIdsOut`](../interfaces/AffectedSystemsIdsOut.md)\>\> +▸ **getAffectedSystemsIdsByCve**(`cveId`, `filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `statusId?`, `dataFormat?`, `uuid?`, `ruleKey?`, `rulePresence?`, `rule?`, `tags?`, `sapSids?`, `sapSystem?`, `showAdvisories?`, `advisory?`, `rhelVersion?`, `firstReportedFrom?`, `firstReportedTo?`, `advisoryAvailable?`, `remediation?`, `ansible?`, `mssql?`, `groupNames?`, `groupIds?`, `options?`): `Promise`<`AxiosResponse`<[`AffectedSystemsIdsOut`](../interfaces/AffectedSystemsIdsOut.md)\>\> Report of IDs of affected systems for a given CVE. @@ -221,6 +223,8 @@ DefaultApi | `remediation?` | `string` | Filer based on available remediation type id. | | `ansible?` | `boolean` | Boolean value which shows systems managed by Ansible Automation Platform. | | `mssql?` | `boolean` | Boolean value which shows systems managed by MSSQL. | +| `groupNames?` | `string`[] | Names of the inventory groups. | +| `groupIds?` | `string`[] | IDs of the inventory groups. | | `options?` | `any` | Override http request option. | #### Returns @@ -229,7 +233,7 @@ DefaultApi #### Defined in -[api.ts:5955](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L5955) +[api.ts:6060](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6060) ___ @@ -261,7 +265,7 @@ DefaultApi #### Defined in -[api.ts:5966](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L5966) +[api.ts:6071](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6071) ___ @@ -293,7 +297,7 @@ DefaultApi #### Defined in -[api.ts:5977](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L5977) +[api.ts:6082](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6082) ___ @@ -325,13 +329,13 @@ DefaultApi #### Defined in -[api.ts:5988](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L5988) +[api.ts:6093](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6093) ___ ### getCveDetails -▸ **getCveDetails**(`cveId`, `options?`): `Promise`<`AxiosResponse`<[`CveDetailOut`](../interfaces/CveDetailOut.md)\>\> +▸ **getCveDetails**(`cveId`, `advisoryAvailable?`, `options?`): `Promise`<`AxiosResponse`<[`CveDetailOut`](../interfaces/CveDetailOut.md)\>\> Show all information about given CVE. @@ -350,6 +354,7 @@ DefaultApi | Name | Type | Description | | :------ | :------ | :------ | | `cveId` | `string` | CVE id. | +| `advisoryAvailable?` | `boolean`[] | String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. | | `options?` | `any` | Override http request option. | #### Returns @@ -358,7 +363,7 @@ DefaultApi #### Defined in -[api.ts:6000](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6000) +[api.ts:6106](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6106) ___ @@ -414,7 +419,7 @@ DefaultApi #### Defined in -[api.ts:6035](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6035) +[api.ts:6141](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6141) ___ @@ -470,13 +475,13 @@ DefaultApi #### Defined in -[api.ts:6070](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6070) +[api.ts:6176](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6176) ___ ### getCveList -▸ **getCveList**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `cvssFrom?`, `cvssTo?`, `publicFrom?`, `publicTo?`, `impact?`, `dataFormat?`, `businessRiskId?`, `statusId?`, `rulePresence?`, `tags?`, `sapSids?`, `sapSystem?`, `knownExploit?`, `affecting?`, `rhelVersion?`, `report?`, `advancedReport?`, `ansible?`, `mssql?`, `advisoryAvailable?`, `options?`): `Promise`<`AxiosResponse`<[`VulnerabilitiesOut`](../interfaces/VulnerabilitiesOut.md)\>\> +▸ **getCveList**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `cvssFrom?`, `cvssTo?`, `publicFrom?`, `publicTo?`, `impact?`, `dataFormat?`, `businessRiskId?`, `statusId?`, `rulePresence?`, `tags?`, `sapSids?`, `sapSystem?`, `knownExploit?`, `affecting?`, `rhelVersion?`, `report?`, `advancedReport?`, `ansible?`, `mssql?`, `advisoryAvailable?`, `groupNames?`, `groupIds?`, `options?`): `Promise`<`AxiosResponse`<[`VulnerabilitiesOut`](../interfaces/VulnerabilitiesOut.md)\>\> Overview of vulnerabilities across whole host inventory. @@ -520,6 +525,8 @@ DefaultApi | `ansible?` | `boolean` | Boolean value which shows systems managed by Ansible Automation Platform. | | `mssql?` | `boolean` | Boolean value which shows systems managed by MSSQL. | | `advisoryAvailable?` | `boolean`[] | String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. | +| `groupNames?` | `string`[] | Names of the inventory groups. | +| `groupIds?` | `string`[] | IDs of the inventory groups. | | `options?` | `any` | Override http request option. | #### Returns @@ -528,7 +535,7 @@ DefaultApi #### Defined in -[api.ts:6107](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6107) +[api.ts:6215](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6215) ___ @@ -585,7 +592,7 @@ DefaultApi #### Defined in -[api.ts:6143](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6143) +[api.ts:6251](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6251) ___ @@ -624,7 +631,7 @@ DefaultApi #### Defined in -[api.ts:6161](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6161) +[api.ts:6269](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6269) ___ @@ -661,7 +668,7 @@ DefaultApi #### Defined in -[api.ts:6177](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6177) +[api.ts:6285](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6285) ___ @@ -698,7 +705,7 @@ DefaultApi #### Defined in -[api.ts:6193](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6193) +[api.ts:6301](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6301) ___ @@ -730,7 +737,7 @@ DefaultApi #### Defined in -[api.ts:6204](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6204) +[api.ts:6312](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6312) ___ @@ -763,7 +770,7 @@ DefaultApi #### Defined in -[api.ts:6216](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6216) +[api.ts:6324](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6324) ___ @@ -795,7 +802,7 @@ DefaultApi #### Defined in -[api.ts:6227](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6227) +[api.ts:6335](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6335) ___ @@ -828,13 +835,13 @@ DefaultApi #### Defined in -[api.ts:6239](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6239) +[api.ts:6347](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6347) ___ ### getSystemsIds -▸ **getSystemsIds**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `dataFormat?`, `stale?`, `uuid?`, `tags?`, `sapSids?`, `sapSystem?`, `excluded?`, `rhelVersion?`, `ansible?`, `mssql?`, `options?`): `Promise`<`AxiosResponse`<[`SystemIdsOut`](../interfaces/SystemIdsOut.md)\>\> +▸ **getSystemsIds**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `dataFormat?`, `stale?`, `uuid?`, `tags?`, `sapSids?`, `sapSystem?`, `excluded?`, `rhelVersion?`, `ansible?`, `mssql?`, `groupNames?`, `groupIds?`, `options?`): `Promise`<`AxiosResponse`<[`SystemIdsOut`](../interfaces/SystemIdsOut.md)\>\> List systems IDs visible to logged in account. @@ -868,6 +875,8 @@ DefaultApi | `rhelVersion?` | `string` | Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS. | | `ansible?` | `boolean` | Boolean value which shows systems managed by Ansible Automation Platform. | | `mssql?` | `boolean` | Boolean value which shows systems managed by MSSQL. | +| `groupNames?` | `string`[] | Names of the inventory groups. | +| `groupIds?` | `string`[] | IDs of the inventory groups. | | `options?` | `any` | Override http request option. | #### Returns @@ -876,13 +885,13 @@ DefaultApi #### Defined in -[api.ts:6266](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6266) +[api.ts:6376](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6376) ___ ### getSystemsList -▸ **getSystemsList**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `dataFormat?`, `stale?`, `uuid?`, `tags?`, `sapSids?`, `sapSystem?`, `excluded?`, `rhelVersion?`, `report?`, `ansible?`, `mssql?`, `options?`): `Promise`<`AxiosResponse`<[`SystemListOut`](../interfaces/SystemListOut.md)\>\> +▸ **getSystemsList**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `dataFormat?`, `stale?`, `uuid?`, `tags?`, `sapSids?`, `sapSystem?`, `excluded?`, `rhelVersion?`, `report?`, `ansible?`, `mssql?`, `groupNames?`, `groupIds?`, `options?`): `Promise`<`AxiosResponse`<[`SystemListOut`](../interfaces/SystemListOut.md)\>\> List systems visible to logged in account with basic information related to vulnerabilities. @@ -917,6 +926,8 @@ DefaultApi | `report?` | `boolean` | Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. | | `ansible?` | `boolean` | Boolean value which shows systems managed by Ansible Automation Platform. | | `mssql?` | `boolean` | Boolean value which shows systems managed by MSSQL. | +| `groupNames?` | `string`[] | Names of the inventory groups. | +| `groupIds?` | `string`[] | IDs of the inventory groups. | | `options?` | `any` | Override http request option. | #### Returns @@ -925,7 +936,7 @@ DefaultApi #### Defined in -[api.ts:6294](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6294) +[api.ts:6406](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6406) ___ @@ -957,7 +968,7 @@ DefaultApi #### Defined in -[api.ts:6305](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6305) +[api.ts:6417](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6417) ___ @@ -990,7 +1001,7 @@ DefaultApi #### Defined in -[api.ts:6317](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6317) +[api.ts:6429](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6429) ___ @@ -1023,7 +1034,7 @@ DefaultApi #### Defined in -[api.ts:6329](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6329) +[api.ts:6441](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6441) ___ @@ -1056,7 +1067,7 @@ DefaultApi #### Defined in -[api.ts:6341](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6341) +[api.ts:6453](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6453) ___ @@ -1089,7 +1100,7 @@ DefaultApi #### Defined in -[api.ts:6353](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6353) +[api.ts:6465](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6465) ___ @@ -1122,4 +1133,4 @@ DefaultApi #### Defined in -[api.ts:6365](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6365) +[api.ts:6477](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L6477) diff --git a/packages/vulnerabilities/doc/interfaces/ConfigurationParameters.md b/packages/vulnerabilities/doc/interfaces/ConfigurationParameters.md index 79582cbff..46f85580f 100644 --- a/packages/vulnerabilities/doc/interfaces/ConfigurationParameters.md +++ b/packages/vulnerabilities/doc/interfaces/ConfigurationParameters.md @@ -5,7 +5,7 @@ Vulnerability Engine Manager No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.4.1 +The version of the OpenAPI document: 2.12.2 NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech diff --git a/packages/vulnerabilities/doc/interfaces/MetaAffectedSystems.md b/packages/vulnerabilities/doc/interfaces/MetaAffectedSystems.md index 4de435df5..73ed2e8aa 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaAffectedSystems.md +++ b/packages/vulnerabilities/doc/interfaces/MetaAffectedSystems.md @@ -17,6 +17,8 @@ MetaAffectedSystems - [filter](MetaAffectedSystems.md#filter) - [first\_reported\_from](MetaAffectedSystems.md#first_reported_from) - [first\_reported\_to](MetaAffectedSystems.md#first_reported_to) +- [group\_ids](MetaAffectedSystems.md#group_ids) +- [group\_names](MetaAffectedSystems.md#group_names) - [limit](MetaAffectedSystems.md#limit) - [offset](MetaAffectedSystems.md#offset) - [page](MetaAffectedSystems.md#page) @@ -113,6 +115,38 @@ MetaAffectedSystems ___ +### group\_ids + +• **group\_ids**: `string` + +ID of the inventory group. + +**`Memberof`** + +MetaAffectedSystems + +#### Defined in + +[api.ts:1375](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1375) + +___ + +### group\_names + +• **group\_names**: `string` + +Name of the inventory group. + +**`Memberof`** + +MetaAffectedSystems + +#### Defined in + +[api.ts:1381](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1381) + +___ + ### limit • **limit**: `number` @@ -205,7 +239,7 @@ MetaAffectedSystems #### Defined in -[api.ts:1375](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1375) +[api.ts:1387](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1387) ___ @@ -237,7 +271,7 @@ MetaAffectedSystems #### Defined in -[api.ts:1381](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1381) +[api.ts:1393](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1393) ___ @@ -253,7 +287,7 @@ MetaAffectedSystems #### Defined in -[api.ts:1387](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1387) +[api.ts:1399](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1399) ___ @@ -269,7 +303,7 @@ MetaAffectedSystems #### Defined in -[api.ts:1393](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1393) +[api.ts:1405](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1405) ___ @@ -301,7 +335,7 @@ MetaAffectedSystems #### Defined in -[api.ts:1399](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1399) +[api.ts:1411](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1411) ___ diff --git a/packages/vulnerabilities/doc/interfaces/MetaAffectedSystemsAllOf.md b/packages/vulnerabilities/doc/interfaces/MetaAffectedSystemsAllOf.md index 080132ddb..2d3ac618d 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaAffectedSystemsAllOf.md +++ b/packages/vulnerabilities/doc/interfaces/MetaAffectedSystemsAllOf.md @@ -15,6 +15,8 @@ MetaAffectedSystemsAllOf - [cves\_without\_errata](MetaAffectedSystemsAllOf.md#cves_without_errata) - [first\_reported\_from](MetaAffectedSystemsAllOf.md#first_reported_from) - [first\_reported\_to](MetaAffectedSystemsAllOf.md#first_reported_to) +- [group\_ids](MetaAffectedSystemsAllOf.md#group_ids) +- [group\_names](MetaAffectedSystemsAllOf.md#group_names) - [patch\_access](MetaAffectedSystemsAllOf.md#patch_access) - [rhel\_version](MetaAffectedSystemsAllOf.md#rhel_version) - [rule\_key](MetaAffectedSystemsAllOf.md#rule_key) @@ -35,7 +37,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1412](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1412) +[api.ts:1424](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1424) ___ @@ -51,7 +53,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1418](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1418) +[api.ts:1430](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1430) ___ @@ -67,7 +69,39 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1424](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1424) +[api.ts:1436](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1436) + +___ + +### group\_ids + +• **group\_ids**: `string` + +ID of the inventory group. + +**`Memberof`** + +MetaAffectedSystemsAllOf + +#### Defined in + +[api.ts:1442](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1442) + +___ + +### group\_names + +• **group\_names**: `string` + +Name of the inventory group. + +**`Memberof`** + +MetaAffectedSystemsAllOf + +#### Defined in + +[api.ts:1448](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1448) ___ @@ -83,7 +117,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1430](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1430) +[api.ts:1454](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1454) ___ @@ -99,7 +133,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1436](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1436) +[api.ts:1460](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1460) ___ @@ -115,7 +149,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1442](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1442) +[api.ts:1466](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1466) ___ @@ -131,7 +165,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1448](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1448) +[api.ts:1472](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1472) ___ @@ -147,4 +181,4 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1454](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1454) +[api.ts:1478](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1478) diff --git a/packages/vulnerabilities/doc/interfaces/MetaCves.md b/packages/vulnerabilities/doc/interfaces/MetaCves.md index 2403f9afe..95be5cde3 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaCves.md +++ b/packages/vulnerabilities/doc/interfaces/MetaCves.md @@ -49,7 +49,7 @@ MetaCves #### Defined in -[api.ts:1527](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1527) +[api.ts:1551](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1551) ___ @@ -65,7 +65,7 @@ MetaCves #### Defined in -[api.ts:1533](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1533) +[api.ts:1557](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1557) ___ @@ -81,7 +81,7 @@ MetaCves #### Defined in -[api.ts:1539](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1539) +[api.ts:1563](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1563) ___ @@ -97,7 +97,7 @@ MetaCves #### Defined in -[api.ts:1545](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1545) +[api.ts:1569](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1569) ___ @@ -113,7 +113,7 @@ MetaCves #### Defined in -[api.ts:1467](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1467) +[api.ts:1491](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1491) ___ @@ -129,7 +129,7 @@ MetaCves #### Defined in -[api.ts:1473](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1473) +[api.ts:1497](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1497) ___ @@ -145,7 +145,7 @@ MetaCves #### Defined in -[api.ts:1551](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1551) +[api.ts:1575](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1575) ___ @@ -161,7 +161,7 @@ MetaCves #### Defined in -[api.ts:1557](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1557) +[api.ts:1581](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1581) ___ @@ -177,7 +177,7 @@ MetaCves #### Defined in -[api.ts:1563](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1563) +[api.ts:1587](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1587) ___ @@ -193,7 +193,7 @@ MetaCves #### Defined in -[api.ts:1479](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1479) +[api.ts:1503](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1503) ___ @@ -209,7 +209,7 @@ MetaCves #### Defined in -[api.ts:1485](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1485) +[api.ts:1509](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1509) ___ @@ -225,7 +225,7 @@ MetaCves #### Defined in -[api.ts:1491](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1491) +[api.ts:1515](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1515) ___ @@ -241,7 +241,7 @@ MetaCves #### Defined in -[api.ts:1497](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1497) +[api.ts:1521](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1521) ___ @@ -257,7 +257,7 @@ MetaCves #### Defined in -[api.ts:1503](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1503) +[api.ts:1527](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1527) ___ @@ -273,7 +273,7 @@ MetaCves #### Defined in -[api.ts:1569](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1569) +[api.ts:1593](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1593) ___ @@ -289,7 +289,7 @@ MetaCves #### Defined in -[api.ts:1521](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1521) +[api.ts:1545](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1545) ___ @@ -305,7 +305,7 @@ MetaCves #### Defined in -[api.ts:1575](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1575) +[api.ts:1599](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1599) ___ @@ -321,7 +321,7 @@ MetaCves #### Defined in -[api.ts:1581](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1581) +[api.ts:1605](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1605) ___ @@ -337,7 +337,7 @@ MetaCves #### Defined in -[api.ts:1587](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1587) +[api.ts:1611](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1611) ___ @@ -353,7 +353,7 @@ MetaCves #### Defined in -[api.ts:1509](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1509) +[api.ts:1533](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1533) ___ @@ -369,7 +369,7 @@ MetaCves #### Defined in -[api.ts:1593](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1593) +[api.ts:1617](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1617) ___ @@ -385,4 +385,4 @@ MetaCves #### Defined in -[api.ts:1515](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1515) +[api.ts:1539](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1539) diff --git a/packages/vulnerabilities/doc/interfaces/MetaCvesAllOf.md b/packages/vulnerabilities/doc/interfaces/MetaCvesAllOf.md index de5a076ba..4db39ada3 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaCvesAllOf.md +++ b/packages/vulnerabilities/doc/interfaces/MetaCvesAllOf.md @@ -39,7 +39,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1606](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1606) +[api.ts:1630](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1630) ___ @@ -55,7 +55,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1612](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1612) +[api.ts:1636](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1636) ___ @@ -71,7 +71,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1618](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1618) +[api.ts:1642](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1642) ___ @@ -87,7 +87,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1624](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1624) +[api.ts:1648](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1648) ___ @@ -103,7 +103,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1630](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1630) +[api.ts:1654](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1654) ___ @@ -119,7 +119,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1636](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1636) +[api.ts:1660](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1660) ___ @@ -135,7 +135,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1642](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1642) +[api.ts:1666](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1666) ___ @@ -151,7 +151,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1648](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1648) +[api.ts:1672](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1672) ___ @@ -167,7 +167,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1654](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1654) +[api.ts:1678](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1678) ___ @@ -183,7 +183,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1660](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1660) +[api.ts:1684](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1684) ___ @@ -199,7 +199,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1666](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1666) +[api.ts:1690](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1690) ___ @@ -215,4 +215,4 @@ MetaCvesAllOf #### Defined in -[api.ts:1672](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1672) +[api.ts:1696](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1696) diff --git a/packages/vulnerabilities/doc/interfaces/MetaCvesSystems.md b/packages/vulnerabilities/doc/interfaces/MetaCvesSystems.md index 61f072391..c3f1b57d2 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaCvesSystems.md +++ b/packages/vulnerabilities/doc/interfaces/MetaCvesSystems.md @@ -50,7 +50,7 @@ MetaCvesSystems #### Defined in -[api.ts:1745](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1745) +[api.ts:1769](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1769) ___ @@ -66,7 +66,7 @@ MetaCvesSystems #### Defined in -[api.ts:1751](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1751) +[api.ts:1775](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1775) ___ @@ -82,7 +82,7 @@ MetaCvesSystems #### Defined in -[api.ts:1757](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1757) +[api.ts:1781](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1781) ___ @@ -98,7 +98,7 @@ MetaCvesSystems #### Defined in -[api.ts:1763](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1763) +[api.ts:1787](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1787) ___ @@ -114,7 +114,7 @@ MetaCvesSystems #### Defined in -[api.ts:1685](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1685) +[api.ts:1709](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1709) ___ @@ -130,7 +130,7 @@ MetaCvesSystems #### Defined in -[api.ts:1691](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1691) +[api.ts:1715](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1715) ___ @@ -146,7 +146,7 @@ MetaCvesSystems #### Defined in -[api.ts:1769](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1769) +[api.ts:1793](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1793) ___ @@ -162,7 +162,7 @@ MetaCvesSystems #### Defined in -[api.ts:1775](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1775) +[api.ts:1799](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1799) ___ @@ -178,7 +178,7 @@ MetaCvesSystems #### Defined in -[api.ts:1781](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1781) +[api.ts:1805](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1805) ___ @@ -194,7 +194,7 @@ MetaCvesSystems #### Defined in -[api.ts:1697](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1697) +[api.ts:1721](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1721) ___ @@ -210,7 +210,7 @@ MetaCvesSystems #### Defined in -[api.ts:1703](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1703) +[api.ts:1727](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1727) ___ @@ -226,7 +226,7 @@ MetaCvesSystems #### Defined in -[api.ts:1817](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1817) +[api.ts:1841](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1841) ___ @@ -242,7 +242,7 @@ MetaCvesSystems #### Defined in -[api.ts:1709](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1709) +[api.ts:1733](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1733) ___ @@ -258,7 +258,7 @@ MetaCvesSystems #### Defined in -[api.ts:1715](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1715) +[api.ts:1739](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1739) ___ @@ -274,7 +274,7 @@ MetaCvesSystems #### Defined in -[api.ts:1721](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1721) +[api.ts:1745](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1745) ___ @@ -290,7 +290,7 @@ MetaCvesSystems #### Defined in -[api.ts:1787](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1787) +[api.ts:1811](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1811) ___ @@ -306,7 +306,7 @@ MetaCvesSystems #### Defined in -[api.ts:1739](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1739) +[api.ts:1763](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1763) ___ @@ -322,7 +322,7 @@ MetaCvesSystems #### Defined in -[api.ts:1793](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1793) +[api.ts:1817](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1817) ___ @@ -338,7 +338,7 @@ MetaCvesSystems #### Defined in -[api.ts:1799](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1799) +[api.ts:1823](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1823) ___ @@ -354,7 +354,7 @@ MetaCvesSystems #### Defined in -[api.ts:1805](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1805) +[api.ts:1829](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1829) ___ @@ -370,7 +370,7 @@ MetaCvesSystems #### Defined in -[api.ts:1727](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1727) +[api.ts:1751](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1751) ___ @@ -386,7 +386,7 @@ MetaCvesSystems #### Defined in -[api.ts:1811](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1811) +[api.ts:1835](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1835) ___ @@ -402,4 +402,4 @@ MetaCvesSystems #### Defined in -[api.ts:1733](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1733) +[api.ts:1757](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1757) diff --git a/packages/vulnerabilities/doc/interfaces/MetaCvesSystemsAllOf.md b/packages/vulnerabilities/doc/interfaces/MetaCvesSystemsAllOf.md index fad7121f5..1d1cb94a1 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaCvesSystemsAllOf.md +++ b/packages/vulnerabilities/doc/interfaces/MetaCvesSystemsAllOf.md @@ -28,4 +28,4 @@ MetaCvesSystemsAllOf #### Defined in -[api.ts:1830](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1830) +[api.ts:1854](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1854) diff --git a/packages/vulnerabilities/doc/interfaces/MetaPermissions.md b/packages/vulnerabilities/doc/interfaces/MetaPermissions.md index 6ce4b22ff..f4c36a28b 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaPermissions.md +++ b/packages/vulnerabilities/doc/interfaces/MetaPermissions.md @@ -28,4 +28,4 @@ MetaPermissions #### Defined in -[api.ts:1843](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1843) +[api.ts:1867](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1867) diff --git a/packages/vulnerabilities/doc/interfaces/MetaSystems.md b/packages/vulnerabilities/doc/interfaces/MetaSystems.md index c1197a004..905b8db96 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaSystems.md +++ b/packages/vulnerabilities/doc/interfaces/MetaSystems.md @@ -39,7 +39,7 @@ MetaSystems #### Defined in -[api.ts:1856](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1856) +[api.ts:1880](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1880) ___ @@ -55,7 +55,7 @@ MetaSystems #### Defined in -[api.ts:1916](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1916) +[api.ts:1940](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1940) ___ @@ -71,7 +71,7 @@ MetaSystems #### Defined in -[api.ts:1862](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1862) +[api.ts:1886](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1886) ___ @@ -87,7 +87,7 @@ MetaSystems #### Defined in -[api.ts:1868](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1868) +[api.ts:1892](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1892) ___ @@ -103,7 +103,7 @@ MetaSystems #### Defined in -[api.ts:1874](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1874) +[api.ts:1898](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1898) ___ @@ -119,7 +119,7 @@ MetaSystems #### Defined in -[api.ts:1880](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1880) +[api.ts:1904](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1904) ___ @@ -135,7 +135,7 @@ MetaSystems #### Defined in -[api.ts:1886](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1886) +[api.ts:1910](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1910) ___ @@ -151,7 +151,7 @@ MetaSystems #### Defined in -[api.ts:1892](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1892) +[api.ts:1916](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1916) ___ @@ -167,7 +167,7 @@ MetaSystems #### Defined in -[api.ts:1910](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1910) +[api.ts:1934](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1934) ___ @@ -183,7 +183,7 @@ MetaSystems #### Defined in -[api.ts:1922](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1922) +[api.ts:1946](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1946) ___ @@ -199,7 +199,7 @@ MetaSystems #### Defined in -[api.ts:1898](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1898) +[api.ts:1922](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1922) ___ @@ -215,4 +215,4 @@ MetaSystems #### Defined in -[api.ts:1904](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1904) +[api.ts:1928](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1928) diff --git a/packages/vulnerabilities/doc/interfaces/MetaSystemsAllOf.md b/packages/vulnerabilities/doc/interfaces/MetaSystemsAllOf.md index c4d0559b7..c6c1bfbd3 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaSystemsAllOf.md +++ b/packages/vulnerabilities/doc/interfaces/MetaSystemsAllOf.md @@ -29,7 +29,7 @@ MetaSystemsAllOf #### Defined in -[api.ts:1935](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1935) +[api.ts:1959](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1959) ___ @@ -45,4 +45,4 @@ MetaSystemsAllOf #### Defined in -[api.ts:1941](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1941) +[api.ts:1965](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1965) diff --git a/packages/vulnerabilities/doc/interfaces/MetaVulnerabilitiesOut.md b/packages/vulnerabilities/doc/interfaces/MetaVulnerabilitiesOut.md index 23d0f72d5..4f16923f2 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaVulnerabilitiesOut.md +++ b/packages/vulnerabilities/doc/interfaces/MetaVulnerabilitiesOut.md @@ -49,7 +49,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2014](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2014) +[api.ts:2038](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2038) ___ @@ -65,7 +65,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2020](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2020) +[api.ts:2044](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2044) ___ @@ -81,7 +81,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2026](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2026) +[api.ts:2050](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2050) ___ @@ -97,7 +97,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2032](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2032) +[api.ts:2056](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2056) ___ @@ -113,7 +113,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2038](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2038) +[api.ts:2062](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2062) ___ @@ -129,7 +129,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2044](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2044) +[api.ts:2068](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2068) ___ @@ -145,7 +145,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1954](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1954) +[api.ts:1978](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1978) ___ @@ -161,7 +161,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1960](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1960) +[api.ts:1984](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1984) ___ @@ -177,7 +177,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2050](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2050) +[api.ts:2074](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2074) ___ @@ -193,7 +193,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1966](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1966) +[api.ts:1990](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1990) ___ @@ -209,7 +209,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1972](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1972) +[api.ts:1996](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1996) ___ @@ -225,7 +225,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1978](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1978) +[api.ts:2002](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2002) ___ @@ -241,7 +241,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1984](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1984) +[api.ts:2008](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2008) ___ @@ -257,7 +257,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1990](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1990) +[api.ts:2014](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2014) ___ @@ -273,7 +273,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2008](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2008) +[api.ts:2032](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2032) ___ @@ -289,7 +289,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2056](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2056) +[api.ts:2080](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2080) ___ @@ -305,7 +305,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2062](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2062) +[api.ts:2086](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2086) ___ @@ -321,7 +321,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2068](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2068) +[api.ts:2092](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2092) ___ @@ -337,7 +337,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2074](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2074) +[api.ts:2098](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2098) ___ @@ -353,7 +353,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1996](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L1996) +[api.ts:2020](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2020) ___ @@ -369,7 +369,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2080](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2080) +[api.ts:2104](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2104) ___ @@ -385,4 +385,4 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2002](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2002) +[api.ts:2026](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2026) diff --git a/packages/vulnerabilities/doc/interfaces/MetaVulnerabilitiesOutAllOf.md b/packages/vulnerabilities/doc/interfaces/MetaVulnerabilitiesOutAllOf.md index c81d7104f..f81e77ad7 100644 --- a/packages/vulnerabilities/doc/interfaces/MetaVulnerabilitiesOutAllOf.md +++ b/packages/vulnerabilities/doc/interfaces/MetaVulnerabilitiesOutAllOf.md @@ -39,7 +39,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2093](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2093) +[api.ts:2117](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2117) ___ @@ -55,7 +55,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2099](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2099) +[api.ts:2123](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2123) ___ @@ -71,7 +71,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2105](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2105) +[api.ts:2129](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2129) ___ @@ -87,7 +87,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2111](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2111) +[api.ts:2135](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2135) ___ @@ -103,7 +103,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2117](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2117) +[api.ts:2141](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2141) ___ @@ -119,7 +119,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2123](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2123) +[api.ts:2147](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2147) ___ @@ -135,7 +135,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2129](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2129) +[api.ts:2153](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2153) ___ @@ -151,7 +151,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2135](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2135) +[api.ts:2159](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2159) ___ @@ -167,7 +167,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2141](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2141) +[api.ts:2165](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2165) ___ @@ -183,7 +183,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2147](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2147) +[api.ts:2171](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2171) ___ @@ -199,7 +199,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2153](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2153) +[api.ts:2177](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2177) ___ @@ -215,4 +215,4 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2159](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2159) +[api.ts:2183](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2183) diff --git a/packages/vulnerabilities/doc/interfaces/MitigatedSystemsIdsOut.md b/packages/vulnerabilities/doc/interfaces/MitigatedSystemsIdsOut.md index 460877252..2ae31e719 100644 --- a/packages/vulnerabilities/doc/interfaces/MitigatedSystemsIdsOut.md +++ b/packages/vulnerabilities/doc/interfaces/MitigatedSystemsIdsOut.md @@ -28,7 +28,7 @@ MitigatedSystemsIdsOut #### Defined in -[api.ts:2172](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2172) +[api.ts:2196](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2196) ___ @@ -42,7 +42,7 @@ MitigatedSystemsIdsOut #### Defined in -[api.ts:2178](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2178) +[api.ts:2202](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2202) ___ @@ -56,4 +56,4 @@ MitigatedSystemsIdsOut #### Defined in -[api.ts:2184](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2184) +[api.ts:2208](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2208) diff --git a/packages/vulnerabilities/doc/interfaces/MitigatedSystemsOut.md b/packages/vulnerabilities/doc/interfaces/MitigatedSystemsOut.md index ed91ad358..509457357 100644 --- a/packages/vulnerabilities/doc/interfaces/MitigatedSystemsOut.md +++ b/packages/vulnerabilities/doc/interfaces/MitigatedSystemsOut.md @@ -28,7 +28,7 @@ MitigatedSystemsOut #### Defined in -[api.ts:2197](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2197) +[api.ts:2221](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2221) ___ @@ -42,7 +42,7 @@ MitigatedSystemsOut #### Defined in -[api.ts:2203](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2203) +[api.ts:2227](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2227) ___ @@ -56,4 +56,4 @@ MitigatedSystemsOut #### Defined in -[api.ts:2209](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2209) +[api.ts:2233](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2233) diff --git a/packages/vulnerabilities/doc/interfaces/OptOutIn.md b/packages/vulnerabilities/doc/interfaces/OptOutIn.md index 69309bc4d..05521185d 100644 --- a/packages/vulnerabilities/doc/interfaces/OptOutIn.md +++ b/packages/vulnerabilities/doc/interfaces/OptOutIn.md @@ -27,7 +27,7 @@ OptOutIn #### Defined in -[api.ts:2222](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2222) +[api.ts:2246](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2246) ___ @@ -43,4 +43,4 @@ OptOutIn #### Defined in -[api.ts:2228](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2228) +[api.ts:2252](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2252) diff --git a/packages/vulnerabilities/doc/interfaces/PlaybookTemplate.md b/packages/vulnerabilities/doc/interfaces/PlaybookTemplate.md index 4e19f1de1..c1b632bbb 100644 --- a/packages/vulnerabilities/doc/interfaces/PlaybookTemplate.md +++ b/packages/vulnerabilities/doc/interfaces/PlaybookTemplate.md @@ -26,4 +26,4 @@ PlaybookTemplate #### Defined in -[api.ts:2241](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2241) +[api.ts:2265](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2265) diff --git a/packages/vulnerabilities/doc/interfaces/PlaybookTemplateData.md b/packages/vulnerabilities/doc/interfaces/PlaybookTemplateData.md index c794cccf1..2f65c8944 100644 --- a/packages/vulnerabilities/doc/interfaces/PlaybookTemplateData.md +++ b/packages/vulnerabilities/doc/interfaces/PlaybookTemplateData.md @@ -32,7 +32,7 @@ PlaybookTemplateData #### Defined in -[api.ts:2254](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2254) +[api.ts:2278](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2278) ___ @@ -48,7 +48,7 @@ PlaybookTemplateData #### Defined in -[api.ts:2260](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2260) +[api.ts:2284](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2284) ___ @@ -64,7 +64,7 @@ PlaybookTemplateData #### Defined in -[api.ts:2266](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2266) +[api.ts:2290](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2290) ___ @@ -80,7 +80,7 @@ PlaybookTemplateData #### Defined in -[api.ts:2272](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2272) +[api.ts:2296](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2296) ___ @@ -96,4 +96,4 @@ PlaybookTemplateData #### Defined in -[api.ts:2278](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2278) +[api.ts:2302](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2302) diff --git a/packages/vulnerabilities/doc/interfaces/StatusIn.md b/packages/vulnerabilities/doc/interfaces/StatusIn.md index 1b1449a65..d600cd060 100644 --- a/packages/vulnerabilities/doc/interfaces/StatusIn.md +++ b/packages/vulnerabilities/doc/interfaces/StatusIn.md @@ -29,7 +29,7 @@ StatusIn #### Defined in -[api.ts:2291](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2291) +[api.ts:2315](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2315) ___ @@ -43,7 +43,7 @@ StatusIn #### Defined in -[api.ts:2297](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2297) +[api.ts:2321](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2321) ___ @@ -59,7 +59,7 @@ StatusIn #### Defined in -[api.ts:2303](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2303) +[api.ts:2327](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2327) ___ @@ -75,4 +75,4 @@ StatusIn #### Defined in -[api.ts:2309](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2309) +[api.ts:2333](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2333) diff --git a/packages/vulnerabilities/doc/interfaces/StatusListOut.md b/packages/vulnerabilities/doc/interfaces/StatusListOut.md index c47f6359b..1e6c69b8a 100644 --- a/packages/vulnerabilities/doc/interfaces/StatusListOut.md +++ b/packages/vulnerabilities/doc/interfaces/StatusListOut.md @@ -29,7 +29,7 @@ StatusListOut #### Defined in -[api.ts:2322](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2322) +[api.ts:2346](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2346) ___ @@ -43,4 +43,4 @@ StatusListOut #### Defined in -[api.ts:2328](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2328) +[api.ts:2352](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2352) diff --git a/packages/vulnerabilities/doc/interfaces/StatusListOutData.md b/packages/vulnerabilities/doc/interfaces/StatusListOutData.md index db17595ca..7806515eb 100644 --- a/packages/vulnerabilities/doc/interfaces/StatusListOutData.md +++ b/packages/vulnerabilities/doc/interfaces/StatusListOutData.md @@ -29,7 +29,7 @@ StatusListOutData #### Defined in -[api.ts:2341](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2341) +[api.ts:2365](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2365) ___ @@ -45,4 +45,4 @@ StatusListOutData #### Defined in -[api.ts:2347](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2347) +[api.ts:2371](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2371) diff --git a/packages/vulnerabilities/doc/interfaces/StatusListOutMeta.md b/packages/vulnerabilities/doc/interfaces/StatusListOutMeta.md index e6a29d374..79ebbde65 100644 --- a/packages/vulnerabilities/doc/interfaces/StatusListOutMeta.md +++ b/packages/vulnerabilities/doc/interfaces/StatusListOutMeta.md @@ -28,4 +28,4 @@ StatusListOutMeta #### Defined in -[api.ts:2360](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2360) +[api.ts:2384](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2384) diff --git a/packages/vulnerabilities/doc/interfaces/StatusOut.md b/packages/vulnerabilities/doc/interfaces/StatusOut.md index d8b290e8d..efb9532d1 100644 --- a/packages/vulnerabilities/doc/interfaces/StatusOut.md +++ b/packages/vulnerabilities/doc/interfaces/StatusOut.md @@ -27,7 +27,7 @@ StatusOut #### Defined in -[api.ts:2373](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2373) +[api.ts:2397](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2397) ___ @@ -43,4 +43,4 @@ StatusOut #### Defined in -[api.ts:2379](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2379) +[api.ts:2403](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2403) diff --git a/packages/vulnerabilities/doc/interfaces/StatusOutUpdated.md b/packages/vulnerabilities/doc/interfaces/StatusOutUpdated.md index d015fdfae..2a34beefe 100644 --- a/packages/vulnerabilities/doc/interfaces/StatusOutUpdated.md +++ b/packages/vulnerabilities/doc/interfaces/StatusOutUpdated.md @@ -27,7 +27,7 @@ StatusOutUpdated #### Defined in -[api.ts:2392](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2392) +[api.ts:2416](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2416) ___ @@ -41,4 +41,4 @@ StatusOutUpdated #### Defined in -[api.ts:2398](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2398) +[api.ts:2422](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2422) diff --git a/packages/vulnerabilities/doc/interfaces/SystemCvesIdsOut.md b/packages/vulnerabilities/doc/interfaces/SystemCvesIdsOut.md index 2aa856479..12d71eb84 100644 --- a/packages/vulnerabilities/doc/interfaces/SystemCvesIdsOut.md +++ b/packages/vulnerabilities/doc/interfaces/SystemCvesIdsOut.md @@ -28,7 +28,7 @@ SystemCvesIdsOut #### Defined in -[api.ts:2411](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2411) +[api.ts:2435](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2435) ___ @@ -42,7 +42,7 @@ SystemCvesIdsOut #### Defined in -[api.ts:2417](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2417) +[api.ts:2441](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2441) ___ @@ -56,4 +56,4 @@ SystemCvesIdsOut #### Defined in -[api.ts:2423](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2423) +[api.ts:2447](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2447) diff --git a/packages/vulnerabilities/doc/interfaces/SystemCvesOut.md b/packages/vulnerabilities/doc/interfaces/SystemCvesOut.md index 1f8a78355..e38d6cb69 100644 --- a/packages/vulnerabilities/doc/interfaces/SystemCvesOut.md +++ b/packages/vulnerabilities/doc/interfaces/SystemCvesOut.md @@ -28,7 +28,7 @@ SystemCvesOut #### Defined in -[api.ts:2436](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2436) +[api.ts:2460](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2460) ___ @@ -42,7 +42,7 @@ SystemCvesOut #### Defined in -[api.ts:2442](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2442) +[api.ts:2466](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2466) ___ @@ -56,4 +56,4 @@ SystemCvesOut #### Defined in -[api.ts:2448](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2448) +[api.ts:2472](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2472) diff --git a/packages/vulnerabilities/doc/interfaces/SystemDetailsOut.md b/packages/vulnerabilities/doc/interfaces/SystemDetailsOut.md index 24e68b970..ef81ee2ff 100644 --- a/packages/vulnerabilities/doc/interfaces/SystemDetailsOut.md +++ b/packages/vulnerabilities/doc/interfaces/SystemDetailsOut.md @@ -27,7 +27,7 @@ SystemDetailsOut #### Defined in -[api.ts:2461](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2461) +[api.ts:2485](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2485) ___ @@ -41,4 +41,4 @@ SystemDetailsOut #### Defined in -[api.ts:2467](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2467) +[api.ts:2491](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2491) diff --git a/packages/vulnerabilities/doc/interfaces/SystemDetailsOutData.md b/packages/vulnerabilities/doc/interfaces/SystemDetailsOutData.md index befbed58a..340df5088 100644 --- a/packages/vulnerabilities/doc/interfaces/SystemDetailsOutData.md +++ b/packages/vulnerabilities/doc/interfaces/SystemDetailsOutData.md @@ -35,7 +35,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2480](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2480) +[api.ts:2504](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2504) ___ @@ -51,7 +51,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2486](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2486) +[api.ts:2510](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2510) ___ @@ -67,7 +67,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2492](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2492) +[api.ts:2516](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2516) ___ @@ -83,7 +83,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2498](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2498) +[api.ts:2522](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2522) ___ @@ -99,7 +99,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2504](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2504) +[api.ts:2528](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2528) ___ @@ -115,7 +115,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2510](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2510) +[api.ts:2534](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2534) ___ @@ -129,7 +129,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2516](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2516) +[api.ts:2540](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2540) ___ @@ -145,4 +145,4 @@ SystemDetailsOutData #### Defined in -[api.ts:2522](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2522) +[api.ts:2546](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2546) diff --git a/packages/vulnerabilities/doc/interfaces/SystemDetailsOutDataTags.md b/packages/vulnerabilities/doc/interfaces/SystemDetailsOutDataTags.md index 9558f1afa..7f8822f76 100644 --- a/packages/vulnerabilities/doc/interfaces/SystemDetailsOutDataTags.md +++ b/packages/vulnerabilities/doc/interfaces/SystemDetailsOutDataTags.md @@ -30,7 +30,7 @@ SystemDetailsOutDataTags #### Defined in -[api.ts:2535](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2535) +[api.ts:2559](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2559) ___ @@ -46,7 +46,7 @@ SystemDetailsOutDataTags #### Defined in -[api.ts:2541](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2541) +[api.ts:2565](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2565) ___ @@ -62,4 +62,4 @@ SystemDetailsOutDataTags #### Defined in -[api.ts:2547](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2547) +[api.ts:2571](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2571) diff --git a/packages/vulnerabilities/doc/interfaces/SystemIdsOut.md b/packages/vulnerabilities/doc/interfaces/SystemIdsOut.md index 0b2065cf5..dcb56ea06 100644 --- a/packages/vulnerabilities/doc/interfaces/SystemIdsOut.md +++ b/packages/vulnerabilities/doc/interfaces/SystemIdsOut.md @@ -28,7 +28,7 @@ SystemIdsOut #### Defined in -[api.ts:2560](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2560) +[api.ts:2584](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2584) ___ @@ -42,7 +42,7 @@ SystemIdsOut #### Defined in -[api.ts:2566](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2566) +[api.ts:2590](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2590) ___ @@ -56,4 +56,4 @@ SystemIdsOut #### Defined in -[api.ts:2572](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2572) +[api.ts:2596](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2596) diff --git a/packages/vulnerabilities/doc/interfaces/SystemListOut.md b/packages/vulnerabilities/doc/interfaces/SystemListOut.md index 3d3264536..37eae3725 100644 --- a/packages/vulnerabilities/doc/interfaces/SystemListOut.md +++ b/packages/vulnerabilities/doc/interfaces/SystemListOut.md @@ -28,7 +28,7 @@ SystemListOut #### Defined in -[api.ts:2585](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2585) +[api.ts:2609](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2609) ___ @@ -42,7 +42,7 @@ SystemListOut #### Defined in -[api.ts:2591](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2591) +[api.ts:2615](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2615) ___ @@ -56,4 +56,4 @@ SystemListOut #### Defined in -[api.ts:2597](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2597) +[api.ts:2621](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2621) diff --git a/packages/vulnerabilities/doc/interfaces/VersionOut.md b/packages/vulnerabilities/doc/interfaces/VersionOut.md index 9e2f2f879..d22fbc849 100644 --- a/packages/vulnerabilities/doc/interfaces/VersionOut.md +++ b/packages/vulnerabilities/doc/interfaces/VersionOut.md @@ -29,7 +29,7 @@ VersionOut #### Defined in -[api.ts:2610](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2610) +[api.ts:2634](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2634) ___ @@ -45,4 +45,4 @@ VersionOut #### Defined in -[api.ts:2616](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2616) +[api.ts:2640](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2640) diff --git a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesIdsOut.md b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesIdsOut.md index 4899cbfed..0d98e536c 100644 --- a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesIdsOut.md +++ b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesIdsOut.md @@ -28,7 +28,7 @@ VulnerabilitiesIdsOut #### Defined in -[api.ts:2629](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2629) +[api.ts:2653](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2653) ___ @@ -42,7 +42,7 @@ VulnerabilitiesIdsOut #### Defined in -[api.ts:2635](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2635) +[api.ts:2659](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2659) ___ @@ -56,4 +56,4 @@ VulnerabilitiesIdsOut #### Defined in -[api.ts:2641](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2641) +[api.ts:2665](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2665) diff --git a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesOut.md b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesOut.md index edb69ca00..f783fe5c7 100644 --- a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesOut.md +++ b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesOut.md @@ -28,7 +28,7 @@ VulnerabilitiesOut #### Defined in -[api.ts:2654](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2654) +[api.ts:2678](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2678) ___ @@ -42,7 +42,7 @@ VulnerabilitiesOut #### Defined in -[api.ts:2660](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2660) +[api.ts:2684](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2684) ___ @@ -56,4 +56,4 @@ VulnerabilitiesOut #### Defined in -[api.ts:2666](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2666) +[api.ts:2690](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2690) diff --git a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostIn.md b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostIn.md index 7e791e497..b3ce2899a 100644 --- a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostIn.md +++ b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostIn.md @@ -28,4 +28,4 @@ VulnerabilitiesPostIn #### Defined in -[api.ts:2679](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2679) +[api.ts:2703](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2703) diff --git a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOut.md b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOut.md index 45973e1e6..0612681bf 100644 --- a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOut.md +++ b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOut.md @@ -28,7 +28,7 @@ VulnerabilitiesPostOut #### Defined in -[api.ts:2692](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2692) +[api.ts:2716](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2716) ___ @@ -42,7 +42,7 @@ VulnerabilitiesPostOut #### Defined in -[api.ts:2698](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2698) +[api.ts:2722](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2722) ___ @@ -56,4 +56,4 @@ VulnerabilitiesPostOut #### Defined in -[api.ts:2704](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2704) +[api.ts:2728](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2728) diff --git a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOutAttributes.md b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOutAttributes.md index bc933f8c0..cfb0e28cb 100644 --- a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOutAttributes.md +++ b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOutAttributes.md @@ -30,7 +30,7 @@ VulnerabilitiesPostOutAttributes #### Defined in -[api.ts:2717](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2717) +[api.ts:2741](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2741) ___ @@ -46,7 +46,7 @@ VulnerabilitiesPostOutAttributes #### Defined in -[api.ts:2723](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2723) +[api.ts:2747](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2747) ___ @@ -62,4 +62,4 @@ VulnerabilitiesPostOutAttributes #### Defined in -[api.ts:2729](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2729) +[api.ts:2753](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2753) diff --git a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOutData.md b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOutData.md index ba9dbc632..58228ed8e 100644 --- a/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOutData.md +++ b/packages/vulnerabilities/doc/interfaces/VulnerabilitiesPostOutData.md @@ -28,7 +28,7 @@ VulnerabilitiesPostOutData #### Defined in -[api.ts:2742](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2742) +[api.ts:2766](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2766) ___ @@ -44,7 +44,7 @@ VulnerabilitiesPostOutData #### Defined in -[api.ts:2748](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2748) +[api.ts:2772](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2772) ___ @@ -60,4 +60,4 @@ VulnerabilitiesPostOutData #### Defined in -[api.ts:2754](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2754) +[api.ts:2778](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2778) diff --git a/packages/vulnerabilities/doc/modules.md b/packages/vulnerabilities/doc/modules.md index d1c6adb31..5e7b170c0 100644 --- a/packages/vulnerabilities/doc/modules.md +++ b/packages/vulnerabilities/doc/modules.md @@ -146,15 +146,15 @@ DefaultApi - axios parameter creator | Name | Type | | :------ | :------ | -| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | -| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getAnnouncement` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | | `getApiStatus` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | | `getBusinessRiskList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | -| `getCveDetails` | (`cveId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getCveDetails` | (`cveId`: `string`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getCveIdsBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getCveIdsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | -| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getCveListBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getCveList_1` | (`vulnerabilitiesPostIn`: [`VulnerabilitiesPostIn`](interfaces/VulnerabilitiesPostIn.md), `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getDashbar` | (`tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | @@ -163,8 +163,8 @@ DefaultApi - axios parameter creator | `getPlaybookTemplate` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getStatusList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | | `getSystemDetails` | (`inventoryId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | -| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | -| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getVersion` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | | `setCveBusinessRisk` | (`cveRiskIn`: [`CveRiskIn`](interfaces/CveRiskIn.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | | `setCveStatus` | (`cveStatusIn`: [`CveStatusIn`](interfaces/CveStatusIn.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | @@ -174,7 +174,7 @@ DefaultApi - axios parameter creator #### Defined in -[api.ts:2761](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2761) +[api.ts:2785](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L2785) ___ @@ -200,15 +200,15 @@ DefaultApi - factory interface | Name | Type | | :------ | :------ | -| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`AffectedSystemsOut`](interfaces/AffectedSystemsOut.md)\> | -| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`AffectedSystemsIdsOut`](interfaces/AffectedSystemsIdsOut.md)\> | +| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`AffectedSystemsOut`](interfaces/AffectedSystemsOut.md)\> | +| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`AffectedSystemsIdsOut`](interfaces/AffectedSystemsIdsOut.md)\> | | `getAnnouncement` | (`options?`: `any`) => `AxiosPromise`<[`AnnouncementOut`](interfaces/AnnouncementOut.md)\> | | `getApiStatus` | (`options?`: `any`) => `AxiosPromise`<`void`\> | | `getBusinessRiskList` | (`options?`: `any`) => `AxiosPromise`<[`BusinessRiskListOut`](interfaces/BusinessRiskListOut.md)\> | -| `getCveDetails` | (`cveId`: `string`, `options?`: `any`) => `AxiosPromise`<[`CveDetailOut`](interfaces/CveDetailOut.md)\> | +| `getCveDetails` | (`cveId`: `string`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `AxiosPromise`<[`CveDetailOut`](interfaces/CveDetailOut.md)\> | | `getCveIdsBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `options?`: `any`) => `AxiosPromise`<[`SystemCvesIdsOut`](interfaces/SystemCvesIdsOut.md)\> | | `getCveIdsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `AxiosPromise`<[`VulnerabilitiesIdsOut`](interfaces/VulnerabilitiesIdsOut.md)\> | -| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `AxiosPromise`<[`VulnerabilitiesOut`](interfaces/VulnerabilitiesOut.md)\> | +| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`VulnerabilitiesOut`](interfaces/VulnerabilitiesOut.md)\> | | `getCveListBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`SystemCvesOut`](interfaces/SystemCvesOut.md)\> | | `getCveList_1` | (`vulnerabilitiesPostIn`: [`VulnerabilitiesPostIn`](interfaces/VulnerabilitiesPostIn.md), `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `options?`: `any`) => `AxiosPromise`<[`VulnerabilitiesPostOut`](interfaces/VulnerabilitiesPostOut.md)\> | | `getDashbar` | (`tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`DashbarOut`](interfaces/DashbarOut.md)\> | @@ -217,8 +217,8 @@ DefaultApi - factory interface | `getPlaybookTemplate` | (`ruleId`: `string`, `options?`: `any`) => `AxiosPromise`<[`PlaybookTemplate`](interfaces/PlaybookTemplate.md)\> | | `getStatusList` | (`options?`: `any`) => `AxiosPromise`<[`StatusListOut`](interfaces/StatusListOut.md)\> | | `getSystemDetails` | (`inventoryId`: `string`, `options?`: `any`) => `AxiosPromise`<[`SystemDetailsOut`](interfaces/SystemDetailsOut.md)\> | -| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`SystemIdsOut`](interfaces/SystemIdsOut.md)\> | -| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`SystemListOut`](interfaces/SystemListOut.md)\> | +| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`SystemIdsOut`](interfaces/SystemIdsOut.md)\> | +| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`SystemListOut`](interfaces/SystemListOut.md)\> | | `getVersion` | (`options?`: `any`) => `AxiosPromise`<[`VersionOut`](interfaces/VersionOut.md)\> | | `setCveBusinessRisk` | (`cveRiskIn`: [`CveRiskIn`](interfaces/CveRiskIn.md), `options?`: `any`) => `AxiosPromise`<[`BulkChangeOut`](interfaces/BulkChangeOut.md)\> | | `setCveStatus` | (`cveStatusIn`: [`CveStatusIn`](interfaces/CveStatusIn.md), `options?`: `any`) => `AxiosPromise`<[`BulkChangeOut`](interfaces/BulkChangeOut.md)\> | @@ -228,7 +228,7 @@ DefaultApi - factory interface #### Defined in -[api.ts:5441](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L5441) +[api.ts:5531](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L5531) ___ @@ -252,15 +252,15 @@ DefaultApi - functional programming interface | Name | Type | | :------ | :------ | -| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AffectedSystemsOut`](interfaces/AffectedSystemsOut.md)\>\> | -| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AffectedSystemsIdsOut`](interfaces/AffectedSystemsIdsOut.md)\>\> | +| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AffectedSystemsOut`](interfaces/AffectedSystemsOut.md)\>\> | +| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AffectedSystemsIdsOut`](interfaces/AffectedSystemsIdsOut.md)\>\> | | `getAnnouncement` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AnnouncementOut`](interfaces/AnnouncementOut.md)\>\> | | `getApiStatus` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | | `getBusinessRiskList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`BusinessRiskListOut`](interfaces/BusinessRiskListOut.md)\>\> | -| `getCveDetails` | (`cveId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`CveDetailOut`](interfaces/CveDetailOut.md)\>\> | +| `getCveDetails` | (`cveId`: `string`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`CveDetailOut`](interfaces/CveDetailOut.md)\>\> | | `getCveIdsBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemCvesIdsOut`](interfaces/SystemCvesIdsOut.md)\>\> | | `getCveIdsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`VulnerabilitiesIdsOut`](interfaces/VulnerabilitiesIdsOut.md)\>\> | -| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`VulnerabilitiesOut`](interfaces/VulnerabilitiesOut.md)\>\> | +| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`VulnerabilitiesOut`](interfaces/VulnerabilitiesOut.md)\>\> | | `getCveListBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemCvesOut`](interfaces/SystemCvesOut.md)\>\> | | `getCveList_1` | (`vulnerabilitiesPostIn`: [`VulnerabilitiesPostIn`](interfaces/VulnerabilitiesPostIn.md), `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`VulnerabilitiesPostOut`](interfaces/VulnerabilitiesPostOut.md)\>\> | | `getDashbar` | (`tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`DashbarOut`](interfaces/DashbarOut.md)\>\> | @@ -269,8 +269,8 @@ DefaultApi - functional programming interface | `getPlaybookTemplate` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PlaybookTemplate`](interfaces/PlaybookTemplate.md)\>\> | | `getStatusList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`StatusListOut`](interfaces/StatusListOut.md)\>\> | | `getSystemDetails` | (`inventoryId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemDetailsOut`](interfaces/SystemDetailsOut.md)\>\> | -| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemIdsOut`](interfaces/SystemIdsOut.md)\>\> | -| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemListOut`](interfaces/SystemListOut.md)\>\> | +| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemIdsOut`](interfaces/SystemIdsOut.md)\>\> | +| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemListOut`](interfaces/SystemListOut.md)\>\> | | `getVersion` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`VersionOut`](interfaces/VersionOut.md)\>\> | | `setCveBusinessRisk` | (`cveRiskIn`: [`CveRiskIn`](interfaces/CveRiskIn.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`BulkChangeOut`](interfaces/BulkChangeOut.md)\>\> | | `setCveStatus` | (`cveStatusIn`: [`CveStatusIn`](interfaces/CveStatusIn.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`BulkChangeOut`](interfaces/BulkChangeOut.md)\>\> | @@ -280,4 +280,4 @@ DefaultApi - functional programming interface #### Defined in -[api.ts:4899](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L4899) +[api.ts:4978](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/api.ts#L4978) diff --git a/packages/vulnerabilities/git-api/api.ts b/packages/vulnerabilities/git-api/api.ts index 0b993ae31..02ce2c6b3 100644 --- a/packages/vulnerabilities/git-api/api.ts +++ b/packages/vulnerabilities/git-api/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.4.1 + * The version of the OpenAPI document: 2.12.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -1354,7 +1354,7 @@ export interface MetaAffectedSystems { * @type {boolean} * @memberof MetaAffectedSystems */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter system-cve pairs based on first time of detection of CVE. * @type {string} @@ -1367,6 +1367,18 @@ export interface MetaAffectedSystems { * @memberof MetaAffectedSystems */ first_reported_to: string | null; + /** + * ID of the inventory group. + * @type {string} + * @memberof MetaAffectedSystems + */ + group_ids: string | null; + /** + * Name of the inventory group. + * @type {string} + * @memberof MetaAffectedSystems + */ + group_names: string | null; /** * If show_advisories=true shows access to patch service else null * @type {boolean} @@ -1409,7 +1421,7 @@ export interface MetaAffectedSystemsAllOf { * @type {boolean} * @memberof MetaAffectedSystemsAllOf */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter system-cve pairs based on first time of detection of CVE. * @type {string} @@ -1422,6 +1434,18 @@ export interface MetaAffectedSystemsAllOf { * @memberof MetaAffectedSystemsAllOf */ first_reported_to: string | null; + /** + * ID of the inventory group. + * @type {string} + * @memberof MetaAffectedSystemsAllOf + */ + group_ids: string | null; + /** + * Name of the inventory group. + * @type {string} + * @memberof MetaAffectedSystemsAllOf + */ + group_names: string | null; /** * If show_advisories=true shows access to patch service else null * @type {boolean} @@ -1530,7 +1554,7 @@ export interface MetaCves { * @type {boolean} * @memberof MetaCves */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score. * @type {number} @@ -1609,7 +1633,7 @@ export interface MetaCvesAllOf { * @type {boolean} * @memberof MetaCvesAllOf */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score. * @type {number} @@ -1748,7 +1772,7 @@ export interface MetaCvesSystems { * @type {boolean} * @memberof MetaCvesSystems */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score. * @type {number} @@ -2029,7 +2053,7 @@ export interface MetaVulnerabilitiesOut { * @type {boolean} * @memberof MetaVulnerabilitiesOut */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score. * @type {number} @@ -2108,7 +2132,7 @@ export interface MetaVulnerabilitiesOutAllOf { * @type {boolean} * @memberof MetaVulnerabilitiesOutAllOf */ - cves_without_errata: boolean; + cves_without_errata: boolean | null; /** * Filter based on cvss score, starting from the value. Use -1 to include also CVEs with N/A cvss score. * @type {number} @@ -2789,10 +2813,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAffectedSystemsByCve: async (cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options: any = {}): Promise => { + getAffectedSystemsByCve: async (cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options: any = {}): Promise => { // verify required parameter 'cveId' is not null or undefined if (cveId === null || cveId === undefined) { throw new RequiredError('cveId','Required parameter cveId was null or undefined when calling getAffectedSystemsByCve.'); @@ -2922,6 +2948,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['mssql'] = mssql; } + if (groupNames) { + localVarQueryParameter['group_names'] = groupNames; + } + + if (groupIds) { + localVarQueryParameter['group_ids'] = groupIds; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -2963,10 +2997,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * @param {string} [remediation] Filer based on available remediation type id. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAffectedSystemsIdsByCve: async (cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, options: any = {}): Promise => { + getAffectedSystemsIdsByCve: async (cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options: any = {}): Promise => { // verify required parameter 'cveId' is not null or undefined if (cveId === null || cveId === undefined) { throw new RequiredError('cveId','Required parameter cveId was null or undefined when calling getAffectedSystemsIdsByCve.'); @@ -3092,6 +3128,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['mssql'] = mssql; } + if (groupNames) { + localVarQueryParameter['group_names'] = groupNames; + } + + if (groupIds) { + localVarQueryParameter['group_ids'] = groupIds; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -3213,10 +3257,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * Show all information about given CVE. * @summary Details of a CVE. * @param {string} cveId CVE id. + * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCveDetails: async (cveId: string, options: any = {}): Promise => { + getCveDetails: async (cveId: string, advisoryAvailable?: Array, options: any = {}): Promise => { // verify required parameter 'cveId' is not null or undefined if (cveId === null || cveId === undefined) { throw new RequiredError('cveId','Required parameter cveId was null or undefined when calling getCveDetails.'); @@ -3246,6 +3291,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarRequestOptions["auth"] = { username: configuration.username, password: configuration.password }; } + if (advisoryAvailable) { + localVarQueryParameter['advisory_available'] = advisoryAvailable; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -3617,10 +3666,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCveList: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, options: any = {}): Promise => { + getCveList: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, groupNames?: Array, groupIds?: Array, options: any = {}): Promise => { const localVarPath = `/vulnerabilities/cves`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; @@ -3749,6 +3800,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['advisory_available'] = advisoryAvailable; } + if (groupNames) { + localVarQueryParameter['group_names'] = groupNames; + } + + if (groupIds) { + localVarQueryParameter['group_ids'] = groupIds; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -4360,10 +4419,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * @param {string} [rhelVersion] Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSystemsIds: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, options: any = {}): Promise => { + getSystemsIds: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options: any = {}): Promise => { const localVarPath = `/systems/ids`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; @@ -4452,6 +4513,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['mssql'] = mssql; } + if (groupNames) { + localVarQueryParameter['group_names'] = groupNames; + } + + if (groupIds) { + localVarQueryParameter['group_ids'] = groupIds; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -4485,10 +4554,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSystemsList: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options: any = {}): Promise => { + getSystemsList: async (filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options: any = {}): Promise => { const localVarPath = `/systems`; const localVarUrlObj = globalImportUrl.parse(localVarPath, true); let baseOptions; @@ -4581,6 +4652,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['mssql'] = mssql; } + if (groupNames) { + localVarQueryParameter['group_names'] = groupNames; + } + + if (groupIds) { + localVarQueryParameter['group_ids'] = groupIds; + } + localVarUrlObj.query = {...localVarUrlObj.query, ...localVarQueryParameter, ...options.query}; @@ -4927,11 +5006,13 @@ export const DefaultApiFp = function(configuration?: Configuration) { * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, options); + async getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, groupNames, groupIds, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -4965,11 +5046,13 @@ export const DefaultApiFp = function(configuration?: Configuration) { * @param {string} [remediation] Filer based on available remediation type id. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, options); + async getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, groupNames, groupIds, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -5018,11 +5101,12 @@ export const DefaultApiFp = function(configuration?: Configuration) { * Show all information about given CVE. * @summary Details of a CVE. * @param {string} cveId CVE id. + * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getCveDetails(cveId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getCveDetails(cveId, options); + async getCveDetails(cveId: string, advisoryAvailable?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getCveDetails(cveId, advisoryAvailable, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -5131,11 +5215,13 @@ export const DefaultApiFp = function(configuration?: Configuration) { * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, options); + async getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, groupNames?: Array, groupIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, groupNames, groupIds, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -5308,11 +5394,13 @@ export const DefaultApiFp = function(configuration?: Configuration) { * @param {string} [rhelVersion] Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, options); + async getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, groupNames, groupIds, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -5338,11 +5426,13 @@ export const DefaultApiFp = function(configuration?: Configuration) { * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, options); + async getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await DefaultApiAxiosParamCreator(configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, groupNames, groupIds, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; return axios.request(axiosRequestArgs); @@ -5469,11 +5559,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, options).then((request) => request(axios, basePath)); + getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, groupNames, groupIds, options).then((request) => request(axios, basePath)); }, /** * Report of IDs of affected systems for a given CVE. @@ -5503,11 +5595,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {string} [remediation] Filer based on available remediation type id. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, options).then((request) => request(axios, basePath)); + getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, groupNames, groupIds, options).then((request) => request(axios, basePath)); }, /** * Get announcement shown above CVEs list. @@ -5540,11 +5634,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * Show all information about given CVE. * @summary Details of a CVE. * @param {string} cveId CVE id. + * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCveDetails(cveId: string, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getCveDetails(cveId, options).then((request) => request(axios, basePath)); + getCveDetails(cveId: string, advisoryAvailable?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getCveDetails(cveId, advisoryAvailable, options).then((request) => request(axios, basePath)); }, /** * Shows IDs of all CVEs the system is exposed to. @@ -5641,11 +5736,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, options).then((request) => request(axios, basePath)); + getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, groupNames?: Array, groupIds?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, groupNames, groupIds, options).then((request) => request(axios, basePath)); }, /** * Shows detailed information about all CVEs the system is exposed to. @@ -5782,11 +5879,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {string} [rhelVersion] Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, options).then((request) => request(axios, basePath)); + getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, groupNames, groupIds, options).then((request) => request(axios, basePath)); }, /** * List systems visible to logged in account with basic information related to vulnerabilities. @@ -5808,11 +5907,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any): AxiosPromise { - return DefaultApiFp(configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, options).then((request) => request(axios, basePath)); + getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any): AxiosPromise { + return DefaultApiFp(configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, groupNames, groupIds, options).then((request) => request(axios, basePath)); }, /** * Get application version. @@ -5912,12 +6013,14 @@ export class DefaultApi extends BaseAPI { * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any) { - return DefaultApiFp(this.configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, options).then((request) => request(this.axios, this.basePath)); + public getAffectedSystemsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any) { + return DefaultApiFp(this.configuration).getAffectedSystemsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, report, ansible, mssql, groupNames, groupIds, options).then((request) => request(this.axios, this.basePath)); } /** @@ -5948,12 +6051,14 @@ export class DefaultApi extends BaseAPI { * @param {string} [remediation] Filer based on available remediation type id. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, options?: any) { - return DefaultApiFp(this.configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, options).then((request) => request(this.axios, this.basePath)); + public getAffectedSystemsIdsByCve(cveId: string, filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, statusId?: string, dataFormat?: string, uuid?: string, ruleKey?: Array, rulePresence?: Array, rule?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, showAdvisories?: boolean, advisory?: string, rhelVersion?: string, firstReportedFrom?: string, firstReportedTo?: string, advisoryAvailable?: Array, remediation?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any) { + return DefaultApiFp(this.configuration).getAffectedSystemsIdsByCve(cveId, filter, limit, offset, page, pageSize, sort, statusId, dataFormat, uuid, ruleKey, rulePresence, rule, tags, sapSids, sapSystem, showAdvisories, advisory, rhelVersion, firstReportedFrom, firstReportedTo, advisoryAvailable, remediation, ansible, mssql, groupNames, groupIds, options).then((request) => request(this.axios, this.basePath)); } /** @@ -5993,12 +6098,13 @@ export class DefaultApi extends BaseAPI { * Show all information about given CVE. * @summary Details of a CVE. * @param {string} cveId CVE id. + * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getCveDetails(cveId: string, options?: any) { - return DefaultApiFp(this.configuration).getCveDetails(cveId, options).then((request) => request(this.axios, this.basePath)); + public getCveDetails(cveId: string, advisoryAvailable?: Array, options?: any) { + return DefaultApiFp(this.configuration).getCveDetails(cveId, advisoryAvailable, options).then((request) => request(this.axios, this.basePath)); } /** @@ -6100,12 +6206,14 @@ export class DefaultApi extends BaseAPI { * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. * @param {Array} [advisoryAvailable] String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, options?: any) { - return DefaultApiFp(this.configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, options).then((request) => request(this.axios, this.basePath)); + public getCveList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, cvssFrom?: number, cvssTo?: number, publicFrom?: string, publicTo?: string, impact?: string, dataFormat?: string, businessRiskId?: string, statusId?: string, rulePresence?: Array, tags?: Array, sapSids?: Array, sapSystem?: boolean, knownExploit?: Array, affecting?: Array, rhelVersion?: string, report?: boolean, advancedReport?: boolean, ansible?: boolean, mssql?: boolean, advisoryAvailable?: Array, groupNames?: Array, groupIds?: Array, options?: any) { + return DefaultApiFp(this.configuration).getCveList(filter, limit, offset, page, pageSize, sort, cvssFrom, cvssTo, publicFrom, publicTo, impact, dataFormat, businessRiskId, statusId, rulePresence, tags, sapSids, sapSystem, knownExploit, affecting, rhelVersion, report, advancedReport, ansible, mssql, advisoryAvailable, groupNames, groupIds, options).then((request) => request(this.axios, this.basePath)); } /** @@ -6259,12 +6367,14 @@ export class DefaultApi extends BaseAPI { * @param {string} [rhelVersion] Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, options?: any) { - return DefaultApiFp(this.configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, options).then((request) => request(this.axios, this.basePath)); + public getSystemsIds(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any) { + return DefaultApiFp(this.configuration).getSystemsIds(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, ansible, mssql, groupNames, groupIds, options).then((request) => request(this.axios, this.basePath)); } /** @@ -6287,12 +6397,14 @@ export class DefaultApi extends BaseAPI { * @param {boolean} [report] Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. * @param {boolean} [ansible] Boolean value which shows systems managed by Ansible Automation Platform. * @param {boolean} [mssql] Boolean value which shows systems managed by MSSQL. + * @param {Array} [groupNames] Names of the inventory groups. + * @param {Array} [groupIds] IDs of the inventory groups. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ - public getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, options?: any) { - return DefaultApiFp(this.configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, options).then((request) => request(this.axios, this.basePath)); + public getSystemsList(filter?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sort?: string, dataFormat?: string, stale?: boolean, uuid?: string, tags?: Array, sapSids?: Array, sapSystem?: boolean, excluded?: Array, rhelVersion?: string, report?: boolean, ansible?: boolean, mssql?: boolean, groupNames?: Array, groupIds?: Array, options?: any) { + return DefaultApiFp(this.configuration).getSystemsList(filter, limit, offset, page, pageSize, sort, dataFormat, stale, uuid, tags, sapSids, sapSystem, excluded, rhelVersion, report, ansible, mssql, groupNames, groupIds, options).then((request) => request(this.axios, this.basePath)); } /** diff --git a/packages/vulnerabilities/git-api/base.ts b/packages/vulnerabilities/git-api/base.ts index 5f1ceacdb..f4348a37f 100644 --- a/packages/vulnerabilities/git-api/base.ts +++ b/packages/vulnerabilities/git-api/base.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.4.1 + * The version of the OpenAPI document: 2.12.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/vulnerabilities/git-api/configuration.ts b/packages/vulnerabilities/git-api/configuration.ts index c6e4564ae..d02e1634c 100644 --- a/packages/vulnerabilities/git-api/configuration.ts +++ b/packages/vulnerabilities/git-api/configuration.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.4.1 + * The version of the OpenAPI document: 2.12.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/vulnerabilities/git-api/doc/classes/DefaultApi.md b/packages/vulnerabilities/git-api/doc/classes/DefaultApi.md index 5d5eab168..40c569fa6 100644 --- a/packages/vulnerabilities/git-api/doc/classes/DefaultApi.md +++ b/packages/vulnerabilities/git-api/doc/classes/DefaultApi.md @@ -120,7 +120,7 @@ BaseAPI.configuration ### getAffectedSystemsByCve -▸ **getAffectedSystemsByCve**(`cveId`, `filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `statusId?`, `dataFormat?`, `uuid?`, `ruleKey?`, `rulePresence?`, `rule?`, `tags?`, `sapSids?`, `sapSystem?`, `showAdvisories?`, `advisory?`, `rhelVersion?`, `firstReportedFrom?`, `firstReportedTo?`, `advisoryAvailable?`, `remediation?`, `report?`, `ansible?`, `mssql?`, `options?`): `Promise`<`AxiosResponse`<[`AffectedSystemsOut`](../interfaces/AffectedSystemsOut.md)\>\> +▸ **getAffectedSystemsByCve**(`cveId`, `filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `statusId?`, `dataFormat?`, `uuid?`, `ruleKey?`, `rulePresence?`, `rule?`, `tags?`, `sapSids?`, `sapSystem?`, `showAdvisories?`, `advisory?`, `rhelVersion?`, `firstReportedFrom?`, `firstReportedTo?`, `advisoryAvailable?`, `remediation?`, `report?`, `ansible?`, `mssql?`, `groupNames?`, `groupIds?`, `options?`): `Promise`<`AxiosResponse`<[`AffectedSystemsOut`](../interfaces/AffectedSystemsOut.md)\>\> Report of affected systems for a given CVE. @@ -164,6 +164,8 @@ DefaultApi | `report?` | `boolean` | Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. | | `ansible?` | `boolean` | Boolean value which shows systems managed by Ansible Automation Platform. | | `mssql?` | `boolean` | Boolean value which shows systems managed by MSSQL. | +| `groupNames?` | `string`[] | Names of the inventory groups. | +| `groupIds?` | `string`[] | IDs of the inventory groups. | | `options?` | `any` | Override http request option. | #### Returns @@ -172,13 +174,13 @@ DefaultApi #### Defined in -[api.ts:5919](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L5919) +[api.ts:6022](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6022) ___ ### getAffectedSystemsIdsByCve -▸ **getAffectedSystemsIdsByCve**(`cveId`, `filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `statusId?`, `dataFormat?`, `uuid?`, `ruleKey?`, `rulePresence?`, `rule?`, `tags?`, `sapSids?`, `sapSystem?`, `showAdvisories?`, `advisory?`, `rhelVersion?`, `firstReportedFrom?`, `firstReportedTo?`, `advisoryAvailable?`, `remediation?`, `ansible?`, `mssql?`, `options?`): `Promise`<`AxiosResponse`<[`AffectedSystemsIdsOut`](../interfaces/AffectedSystemsIdsOut.md)\>\> +▸ **getAffectedSystemsIdsByCve**(`cveId`, `filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `statusId?`, `dataFormat?`, `uuid?`, `ruleKey?`, `rulePresence?`, `rule?`, `tags?`, `sapSids?`, `sapSystem?`, `showAdvisories?`, `advisory?`, `rhelVersion?`, `firstReportedFrom?`, `firstReportedTo?`, `advisoryAvailable?`, `remediation?`, `ansible?`, `mssql?`, `groupNames?`, `groupIds?`, `options?`): `Promise`<`AxiosResponse`<[`AffectedSystemsIdsOut`](../interfaces/AffectedSystemsIdsOut.md)\>\> Report of IDs of affected systems for a given CVE. @@ -221,6 +223,8 @@ DefaultApi | `remediation?` | `string` | Filer based on available remediation type id. | | `ansible?` | `boolean` | Boolean value which shows systems managed by Ansible Automation Platform. | | `mssql?` | `boolean` | Boolean value which shows systems managed by MSSQL. | +| `groupNames?` | `string`[] | Names of the inventory groups. | +| `groupIds?` | `string`[] | IDs of the inventory groups. | | `options?` | `any` | Override http request option. | #### Returns @@ -229,7 +233,7 @@ DefaultApi #### Defined in -[api.ts:5955](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L5955) +[api.ts:6060](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6060) ___ @@ -261,7 +265,7 @@ DefaultApi #### Defined in -[api.ts:5966](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L5966) +[api.ts:6071](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6071) ___ @@ -293,7 +297,7 @@ DefaultApi #### Defined in -[api.ts:5977](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L5977) +[api.ts:6082](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6082) ___ @@ -325,13 +329,13 @@ DefaultApi #### Defined in -[api.ts:5988](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L5988) +[api.ts:6093](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6093) ___ ### getCveDetails -▸ **getCveDetails**(`cveId`, `options?`): `Promise`<`AxiosResponse`<[`CveDetailOut`](../interfaces/CveDetailOut.md)\>\> +▸ **getCveDetails**(`cveId`, `advisoryAvailable?`, `options?`): `Promise`<`AxiosResponse`<[`CveDetailOut`](../interfaces/CveDetailOut.md)\>\> Show all information about given CVE. @@ -350,6 +354,7 @@ DefaultApi | Name | Type | Description | | :------ | :------ | :------ | | `cveId` | `string` | CVE id. | +| `advisoryAvailable?` | `boolean`[] | String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. | | `options?` | `any` | Override http request option. | #### Returns @@ -358,7 +363,7 @@ DefaultApi #### Defined in -[api.ts:6000](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6000) +[api.ts:6106](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6106) ___ @@ -414,7 +419,7 @@ DefaultApi #### Defined in -[api.ts:6035](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6035) +[api.ts:6141](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6141) ___ @@ -470,13 +475,13 @@ DefaultApi #### Defined in -[api.ts:6070](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6070) +[api.ts:6176](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6176) ___ ### getCveList -▸ **getCveList**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `cvssFrom?`, `cvssTo?`, `publicFrom?`, `publicTo?`, `impact?`, `dataFormat?`, `businessRiskId?`, `statusId?`, `rulePresence?`, `tags?`, `sapSids?`, `sapSystem?`, `knownExploit?`, `affecting?`, `rhelVersion?`, `report?`, `advancedReport?`, `ansible?`, `mssql?`, `advisoryAvailable?`, `options?`): `Promise`<`AxiosResponse`<[`VulnerabilitiesOut`](../interfaces/VulnerabilitiesOut.md)\>\> +▸ **getCveList**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `cvssFrom?`, `cvssTo?`, `publicFrom?`, `publicTo?`, `impact?`, `dataFormat?`, `businessRiskId?`, `statusId?`, `rulePresence?`, `tags?`, `sapSids?`, `sapSystem?`, `knownExploit?`, `affecting?`, `rhelVersion?`, `report?`, `advancedReport?`, `ansible?`, `mssql?`, `advisoryAvailable?`, `groupNames?`, `groupIds?`, `options?`): `Promise`<`AxiosResponse`<[`VulnerabilitiesOut`](../interfaces/VulnerabilitiesOut.md)\>\> Overview of vulnerabilities across whole host inventory. @@ -520,6 +525,8 @@ DefaultApi | `ansible?` | `boolean` | Boolean value which shows systems managed by Ansible Automation Platform. | | `mssql?` | `boolean` | Boolean value which shows systems managed by MSSQL. | | `advisoryAvailable?` | `boolean`[] | String of booleans (array of booleans), where true shows CVE-system pairs with available advisory, false shows CVE-system pairs without available advisory. | +| `groupNames?` | `string`[] | Names of the inventory groups. | +| `groupIds?` | `string`[] | IDs of the inventory groups. | | `options?` | `any` | Override http request option. | #### Returns @@ -528,7 +535,7 @@ DefaultApi #### Defined in -[api.ts:6107](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6107) +[api.ts:6215](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6215) ___ @@ -585,7 +592,7 @@ DefaultApi #### Defined in -[api.ts:6143](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6143) +[api.ts:6251](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6251) ___ @@ -624,7 +631,7 @@ DefaultApi #### Defined in -[api.ts:6161](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6161) +[api.ts:6269](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6269) ___ @@ -661,7 +668,7 @@ DefaultApi #### Defined in -[api.ts:6177](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6177) +[api.ts:6285](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6285) ___ @@ -698,7 +705,7 @@ DefaultApi #### Defined in -[api.ts:6193](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6193) +[api.ts:6301](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6301) ___ @@ -730,7 +737,7 @@ DefaultApi #### Defined in -[api.ts:6204](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6204) +[api.ts:6312](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6312) ___ @@ -763,7 +770,7 @@ DefaultApi #### Defined in -[api.ts:6216](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6216) +[api.ts:6324](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6324) ___ @@ -795,7 +802,7 @@ DefaultApi #### Defined in -[api.ts:6227](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6227) +[api.ts:6335](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6335) ___ @@ -828,13 +835,13 @@ DefaultApi #### Defined in -[api.ts:6239](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6239) +[api.ts:6347](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6347) ___ ### getSystemsIds -▸ **getSystemsIds**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `dataFormat?`, `stale?`, `uuid?`, `tags?`, `sapSids?`, `sapSystem?`, `excluded?`, `rhelVersion?`, `ansible?`, `mssql?`, `options?`): `Promise`<`AxiosResponse`<[`SystemIdsOut`](../interfaces/SystemIdsOut.md)\>\> +▸ **getSystemsIds**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `dataFormat?`, `stale?`, `uuid?`, `tags?`, `sapSids?`, `sapSystem?`, `excluded?`, `rhelVersion?`, `ansible?`, `mssql?`, `groupNames?`, `groupIds?`, `options?`): `Promise`<`AxiosResponse`<[`SystemIdsOut`](../interfaces/SystemIdsOut.md)\>\> List systems IDs visible to logged in account. @@ -868,6 +875,8 @@ DefaultApi | `rhelVersion?` | `string` | Filters results by RHEL OS version. Automatically flters out systems which are not RHEL or have uknown OS. | | `ansible?` | `boolean` | Boolean value which shows systems managed by Ansible Automation Platform. | | `mssql?` | `boolean` | Boolean value which shows systems managed by MSSQL. | +| `groupNames?` | `string`[] | Names of the inventory groups. | +| `groupIds?` | `string`[] | IDs of the inventory groups. | | `options?` | `any` | Override http request option. | #### Returns @@ -876,13 +885,13 @@ DefaultApi #### Defined in -[api.ts:6266](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6266) +[api.ts:6376](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6376) ___ ### getSystemsList -▸ **getSystemsList**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `dataFormat?`, `stale?`, `uuid?`, `tags?`, `sapSids?`, `sapSystem?`, `excluded?`, `rhelVersion?`, `report?`, `ansible?`, `mssql?`, `options?`): `Promise`<`AxiosResponse`<[`SystemListOut`](../interfaces/SystemListOut.md)\>\> +▸ **getSystemsList**(`filter?`, `limit?`, `offset?`, `page?`, `pageSize?`, `sort?`, `dataFormat?`, `stale?`, `uuid?`, `tags?`, `sapSids?`, `sapSystem?`, `excluded?`, `rhelVersion?`, `report?`, `ansible?`, `mssql?`, `groupNames?`, `groupIds?`, `options?`): `Promise`<`AxiosResponse`<[`SystemListOut`](../interfaces/SystemListOut.md)\>\> List systems visible to logged in account with basic information related to vulnerabilities. @@ -917,6 +926,8 @@ DefaultApi | `report?` | `boolean` | Needs to be used when endpoint data is used for report generation, checks RBAC permission for report and export feature. | | `ansible?` | `boolean` | Boolean value which shows systems managed by Ansible Automation Platform. | | `mssql?` | `boolean` | Boolean value which shows systems managed by MSSQL. | +| `groupNames?` | `string`[] | Names of the inventory groups. | +| `groupIds?` | `string`[] | IDs of the inventory groups. | | `options?` | `any` | Override http request option. | #### Returns @@ -925,7 +936,7 @@ DefaultApi #### Defined in -[api.ts:6294](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6294) +[api.ts:6406](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6406) ___ @@ -957,7 +968,7 @@ DefaultApi #### Defined in -[api.ts:6305](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6305) +[api.ts:6417](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6417) ___ @@ -990,7 +1001,7 @@ DefaultApi #### Defined in -[api.ts:6317](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6317) +[api.ts:6429](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6429) ___ @@ -1023,7 +1034,7 @@ DefaultApi #### Defined in -[api.ts:6329](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6329) +[api.ts:6441](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6441) ___ @@ -1056,7 +1067,7 @@ DefaultApi #### Defined in -[api.ts:6341](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6341) +[api.ts:6453](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6453) ___ @@ -1089,7 +1100,7 @@ DefaultApi #### Defined in -[api.ts:6353](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6353) +[api.ts:6465](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6465) ___ @@ -1122,4 +1133,4 @@ DefaultApi #### Defined in -[api.ts:6365](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6365) +[api.ts:6477](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L6477) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/ConfigurationParameters.md b/packages/vulnerabilities/git-api/doc/interfaces/ConfigurationParameters.md index 441b629fb..e4633af52 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/ConfigurationParameters.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/ConfigurationParameters.md @@ -5,7 +5,7 @@ Vulnerability Engine Manager No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) -The version of the OpenAPI document: 2.4.1 +The version of the OpenAPI document: 2.12.2 NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaAffectedSystems.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaAffectedSystems.md index 4fccf665f..83ec0bdf3 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaAffectedSystems.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaAffectedSystems.md @@ -17,6 +17,8 @@ MetaAffectedSystems - [filter](MetaAffectedSystems.md#filter) - [first\_reported\_from](MetaAffectedSystems.md#first_reported_from) - [first\_reported\_to](MetaAffectedSystems.md#first_reported_to) +- [group\_ids](MetaAffectedSystems.md#group_ids) +- [group\_names](MetaAffectedSystems.md#group_names) - [limit](MetaAffectedSystems.md#limit) - [offset](MetaAffectedSystems.md#offset) - [page](MetaAffectedSystems.md#page) @@ -113,6 +115,38 @@ MetaAffectedSystems ___ +### group\_ids + +• **group\_ids**: `string` + +ID of the inventory group. + +**`Memberof`** + +MetaAffectedSystems + +#### Defined in + +[api.ts:1375](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1375) + +___ + +### group\_names + +• **group\_names**: `string` + +Name of the inventory group. + +**`Memberof`** + +MetaAffectedSystems + +#### Defined in + +[api.ts:1381](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1381) + +___ + ### limit • **limit**: `number` @@ -205,7 +239,7 @@ MetaAffectedSystems #### Defined in -[api.ts:1375](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1375) +[api.ts:1387](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1387) ___ @@ -237,7 +271,7 @@ MetaAffectedSystems #### Defined in -[api.ts:1381](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1381) +[api.ts:1393](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1393) ___ @@ -253,7 +287,7 @@ MetaAffectedSystems #### Defined in -[api.ts:1387](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1387) +[api.ts:1399](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1399) ___ @@ -269,7 +303,7 @@ MetaAffectedSystems #### Defined in -[api.ts:1393](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1393) +[api.ts:1405](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1405) ___ @@ -301,7 +335,7 @@ MetaAffectedSystems #### Defined in -[api.ts:1399](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1399) +[api.ts:1411](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1411) ___ diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaAffectedSystemsAllOf.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaAffectedSystemsAllOf.md index f10cadb9c..bb174954c 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaAffectedSystemsAllOf.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaAffectedSystemsAllOf.md @@ -15,6 +15,8 @@ MetaAffectedSystemsAllOf - [cves\_without\_errata](MetaAffectedSystemsAllOf.md#cves_without_errata) - [first\_reported\_from](MetaAffectedSystemsAllOf.md#first_reported_from) - [first\_reported\_to](MetaAffectedSystemsAllOf.md#first_reported_to) +- [group\_ids](MetaAffectedSystemsAllOf.md#group_ids) +- [group\_names](MetaAffectedSystemsAllOf.md#group_names) - [patch\_access](MetaAffectedSystemsAllOf.md#patch_access) - [rhel\_version](MetaAffectedSystemsAllOf.md#rhel_version) - [rule\_key](MetaAffectedSystemsAllOf.md#rule_key) @@ -35,7 +37,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1412](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1412) +[api.ts:1424](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1424) ___ @@ -51,7 +53,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1418](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1418) +[api.ts:1430](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1430) ___ @@ -67,7 +69,39 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1424](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1424) +[api.ts:1436](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1436) + +___ + +### group\_ids + +• **group\_ids**: `string` + +ID of the inventory group. + +**`Memberof`** + +MetaAffectedSystemsAllOf + +#### Defined in + +[api.ts:1442](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1442) + +___ + +### group\_names + +• **group\_names**: `string` + +Name of the inventory group. + +**`Memberof`** + +MetaAffectedSystemsAllOf + +#### Defined in + +[api.ts:1448](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1448) ___ @@ -83,7 +117,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1430](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1430) +[api.ts:1454](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1454) ___ @@ -99,7 +133,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1436](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1436) +[api.ts:1460](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1460) ___ @@ -115,7 +149,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1442](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1442) +[api.ts:1466](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1466) ___ @@ -131,7 +165,7 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1448](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1448) +[api.ts:1472](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1472) ___ @@ -147,4 +181,4 @@ MetaAffectedSystemsAllOf #### Defined in -[api.ts:1454](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1454) +[api.ts:1478](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1478) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaCves.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaCves.md index e69d129f3..f71ea826c 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaCves.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaCves.md @@ -49,7 +49,7 @@ MetaCves #### Defined in -[api.ts:1527](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1527) +[api.ts:1551](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1551) ___ @@ -65,7 +65,7 @@ MetaCves #### Defined in -[api.ts:1533](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1533) +[api.ts:1557](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1557) ___ @@ -81,7 +81,7 @@ MetaCves #### Defined in -[api.ts:1539](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1539) +[api.ts:1563](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1563) ___ @@ -97,7 +97,7 @@ MetaCves #### Defined in -[api.ts:1545](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1545) +[api.ts:1569](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1569) ___ @@ -113,7 +113,7 @@ MetaCves #### Defined in -[api.ts:1467](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1467) +[api.ts:1491](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1491) ___ @@ -129,7 +129,7 @@ MetaCves #### Defined in -[api.ts:1473](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1473) +[api.ts:1497](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1497) ___ @@ -145,7 +145,7 @@ MetaCves #### Defined in -[api.ts:1551](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1551) +[api.ts:1575](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1575) ___ @@ -161,7 +161,7 @@ MetaCves #### Defined in -[api.ts:1557](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1557) +[api.ts:1581](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1581) ___ @@ -177,7 +177,7 @@ MetaCves #### Defined in -[api.ts:1563](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1563) +[api.ts:1587](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1587) ___ @@ -193,7 +193,7 @@ MetaCves #### Defined in -[api.ts:1479](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1479) +[api.ts:1503](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1503) ___ @@ -209,7 +209,7 @@ MetaCves #### Defined in -[api.ts:1485](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1485) +[api.ts:1509](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1509) ___ @@ -225,7 +225,7 @@ MetaCves #### Defined in -[api.ts:1491](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1491) +[api.ts:1515](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1515) ___ @@ -241,7 +241,7 @@ MetaCves #### Defined in -[api.ts:1497](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1497) +[api.ts:1521](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1521) ___ @@ -257,7 +257,7 @@ MetaCves #### Defined in -[api.ts:1503](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1503) +[api.ts:1527](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1527) ___ @@ -273,7 +273,7 @@ MetaCves #### Defined in -[api.ts:1569](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1569) +[api.ts:1593](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1593) ___ @@ -289,7 +289,7 @@ MetaCves #### Defined in -[api.ts:1521](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1521) +[api.ts:1545](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1545) ___ @@ -305,7 +305,7 @@ MetaCves #### Defined in -[api.ts:1575](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1575) +[api.ts:1599](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1599) ___ @@ -321,7 +321,7 @@ MetaCves #### Defined in -[api.ts:1581](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1581) +[api.ts:1605](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1605) ___ @@ -337,7 +337,7 @@ MetaCves #### Defined in -[api.ts:1587](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1587) +[api.ts:1611](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1611) ___ @@ -353,7 +353,7 @@ MetaCves #### Defined in -[api.ts:1509](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1509) +[api.ts:1533](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1533) ___ @@ -369,7 +369,7 @@ MetaCves #### Defined in -[api.ts:1593](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1593) +[api.ts:1617](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1617) ___ @@ -385,4 +385,4 @@ MetaCves #### Defined in -[api.ts:1515](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1515) +[api.ts:1539](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1539) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesAllOf.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesAllOf.md index ff43b6d9f..8571840d4 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesAllOf.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesAllOf.md @@ -39,7 +39,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1606](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1606) +[api.ts:1630](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1630) ___ @@ -55,7 +55,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1612](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1612) +[api.ts:1636](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1636) ___ @@ -71,7 +71,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1618](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1618) +[api.ts:1642](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1642) ___ @@ -87,7 +87,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1624](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1624) +[api.ts:1648](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1648) ___ @@ -103,7 +103,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1630](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1630) +[api.ts:1654](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1654) ___ @@ -119,7 +119,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1636](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1636) +[api.ts:1660](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1660) ___ @@ -135,7 +135,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1642](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1642) +[api.ts:1666](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1666) ___ @@ -151,7 +151,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1648](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1648) +[api.ts:1672](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1672) ___ @@ -167,7 +167,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1654](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1654) +[api.ts:1678](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1678) ___ @@ -183,7 +183,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1660](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1660) +[api.ts:1684](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1684) ___ @@ -199,7 +199,7 @@ MetaCvesAllOf #### Defined in -[api.ts:1666](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1666) +[api.ts:1690](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1690) ___ @@ -215,4 +215,4 @@ MetaCvesAllOf #### Defined in -[api.ts:1672](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1672) +[api.ts:1696](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1696) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesSystems.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesSystems.md index 10bec3074..0fcf37c1b 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesSystems.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesSystems.md @@ -50,7 +50,7 @@ MetaCvesSystems #### Defined in -[api.ts:1745](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1745) +[api.ts:1769](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1769) ___ @@ -66,7 +66,7 @@ MetaCvesSystems #### Defined in -[api.ts:1751](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1751) +[api.ts:1775](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1775) ___ @@ -82,7 +82,7 @@ MetaCvesSystems #### Defined in -[api.ts:1757](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1757) +[api.ts:1781](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1781) ___ @@ -98,7 +98,7 @@ MetaCvesSystems #### Defined in -[api.ts:1763](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1763) +[api.ts:1787](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1787) ___ @@ -114,7 +114,7 @@ MetaCvesSystems #### Defined in -[api.ts:1685](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1685) +[api.ts:1709](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1709) ___ @@ -130,7 +130,7 @@ MetaCvesSystems #### Defined in -[api.ts:1691](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1691) +[api.ts:1715](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1715) ___ @@ -146,7 +146,7 @@ MetaCvesSystems #### Defined in -[api.ts:1769](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1769) +[api.ts:1793](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1793) ___ @@ -162,7 +162,7 @@ MetaCvesSystems #### Defined in -[api.ts:1775](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1775) +[api.ts:1799](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1799) ___ @@ -178,7 +178,7 @@ MetaCvesSystems #### Defined in -[api.ts:1781](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1781) +[api.ts:1805](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1805) ___ @@ -194,7 +194,7 @@ MetaCvesSystems #### Defined in -[api.ts:1697](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1697) +[api.ts:1721](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1721) ___ @@ -210,7 +210,7 @@ MetaCvesSystems #### Defined in -[api.ts:1703](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1703) +[api.ts:1727](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1727) ___ @@ -226,7 +226,7 @@ MetaCvesSystems #### Defined in -[api.ts:1817](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1817) +[api.ts:1841](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1841) ___ @@ -242,7 +242,7 @@ MetaCvesSystems #### Defined in -[api.ts:1709](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1709) +[api.ts:1733](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1733) ___ @@ -258,7 +258,7 @@ MetaCvesSystems #### Defined in -[api.ts:1715](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1715) +[api.ts:1739](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1739) ___ @@ -274,7 +274,7 @@ MetaCvesSystems #### Defined in -[api.ts:1721](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1721) +[api.ts:1745](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1745) ___ @@ -290,7 +290,7 @@ MetaCvesSystems #### Defined in -[api.ts:1787](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1787) +[api.ts:1811](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1811) ___ @@ -306,7 +306,7 @@ MetaCvesSystems #### Defined in -[api.ts:1739](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1739) +[api.ts:1763](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1763) ___ @@ -322,7 +322,7 @@ MetaCvesSystems #### Defined in -[api.ts:1793](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1793) +[api.ts:1817](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1817) ___ @@ -338,7 +338,7 @@ MetaCvesSystems #### Defined in -[api.ts:1799](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1799) +[api.ts:1823](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1823) ___ @@ -354,7 +354,7 @@ MetaCvesSystems #### Defined in -[api.ts:1805](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1805) +[api.ts:1829](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1829) ___ @@ -370,7 +370,7 @@ MetaCvesSystems #### Defined in -[api.ts:1727](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1727) +[api.ts:1751](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1751) ___ @@ -386,7 +386,7 @@ MetaCvesSystems #### Defined in -[api.ts:1811](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1811) +[api.ts:1835](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1835) ___ @@ -402,4 +402,4 @@ MetaCvesSystems #### Defined in -[api.ts:1733](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1733) +[api.ts:1757](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1757) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesSystemsAllOf.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesSystemsAllOf.md index 92063ffc5..5b615b92c 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesSystemsAllOf.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaCvesSystemsAllOf.md @@ -28,4 +28,4 @@ MetaCvesSystemsAllOf #### Defined in -[api.ts:1830](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1830) +[api.ts:1854](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1854) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaPermissions.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaPermissions.md index 437d7881c..954574f25 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaPermissions.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaPermissions.md @@ -28,4 +28,4 @@ MetaPermissions #### Defined in -[api.ts:1843](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1843) +[api.ts:1867](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1867) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaSystems.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaSystems.md index fe1411930..de8da325f 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaSystems.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaSystems.md @@ -39,7 +39,7 @@ MetaSystems #### Defined in -[api.ts:1856](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1856) +[api.ts:1880](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1880) ___ @@ -55,7 +55,7 @@ MetaSystems #### Defined in -[api.ts:1916](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1916) +[api.ts:1940](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1940) ___ @@ -71,7 +71,7 @@ MetaSystems #### Defined in -[api.ts:1862](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1862) +[api.ts:1886](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1886) ___ @@ -87,7 +87,7 @@ MetaSystems #### Defined in -[api.ts:1868](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1868) +[api.ts:1892](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1892) ___ @@ -103,7 +103,7 @@ MetaSystems #### Defined in -[api.ts:1874](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1874) +[api.ts:1898](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1898) ___ @@ -119,7 +119,7 @@ MetaSystems #### Defined in -[api.ts:1880](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1880) +[api.ts:1904](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1904) ___ @@ -135,7 +135,7 @@ MetaSystems #### Defined in -[api.ts:1886](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1886) +[api.ts:1910](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1910) ___ @@ -151,7 +151,7 @@ MetaSystems #### Defined in -[api.ts:1892](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1892) +[api.ts:1916](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1916) ___ @@ -167,7 +167,7 @@ MetaSystems #### Defined in -[api.ts:1910](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1910) +[api.ts:1934](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1934) ___ @@ -183,7 +183,7 @@ MetaSystems #### Defined in -[api.ts:1922](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1922) +[api.ts:1946](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1946) ___ @@ -199,7 +199,7 @@ MetaSystems #### Defined in -[api.ts:1898](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1898) +[api.ts:1922](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1922) ___ @@ -215,4 +215,4 @@ MetaSystems #### Defined in -[api.ts:1904](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1904) +[api.ts:1928](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1928) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaSystemsAllOf.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaSystemsAllOf.md index 05f9e0fa0..bc8d64dd8 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaSystemsAllOf.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaSystemsAllOf.md @@ -29,7 +29,7 @@ MetaSystemsAllOf #### Defined in -[api.ts:1935](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1935) +[api.ts:1959](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1959) ___ @@ -45,4 +45,4 @@ MetaSystemsAllOf #### Defined in -[api.ts:1941](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1941) +[api.ts:1965](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1965) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaVulnerabilitiesOut.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaVulnerabilitiesOut.md index 187165390..92ae4138a 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaVulnerabilitiesOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaVulnerabilitiesOut.md @@ -49,7 +49,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2014](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2014) +[api.ts:2038](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2038) ___ @@ -65,7 +65,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2020](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2020) +[api.ts:2044](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2044) ___ @@ -81,7 +81,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2026](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2026) +[api.ts:2050](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2050) ___ @@ -97,7 +97,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2032](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2032) +[api.ts:2056](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2056) ___ @@ -113,7 +113,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2038](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2038) +[api.ts:2062](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2062) ___ @@ -129,7 +129,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2044](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2044) +[api.ts:2068](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2068) ___ @@ -145,7 +145,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1954](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1954) +[api.ts:1978](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1978) ___ @@ -161,7 +161,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1960](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1960) +[api.ts:1984](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1984) ___ @@ -177,7 +177,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2050](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2050) +[api.ts:2074](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2074) ___ @@ -193,7 +193,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1966](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1966) +[api.ts:1990](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1990) ___ @@ -209,7 +209,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1972](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1972) +[api.ts:1996](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1996) ___ @@ -225,7 +225,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1978](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1978) +[api.ts:2002](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2002) ___ @@ -241,7 +241,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1984](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1984) +[api.ts:2008](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2008) ___ @@ -257,7 +257,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1990](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1990) +[api.ts:2014](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2014) ___ @@ -273,7 +273,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2008](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2008) +[api.ts:2032](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2032) ___ @@ -289,7 +289,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2056](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2056) +[api.ts:2080](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2080) ___ @@ -305,7 +305,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2062](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2062) +[api.ts:2086](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2086) ___ @@ -321,7 +321,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2068](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2068) +[api.ts:2092](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2092) ___ @@ -337,7 +337,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2074](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2074) +[api.ts:2098](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2098) ___ @@ -353,7 +353,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:1996](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L1996) +[api.ts:2020](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2020) ___ @@ -369,7 +369,7 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2080](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2080) +[api.ts:2104](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2104) ___ @@ -385,4 +385,4 @@ MetaVulnerabilitiesOut #### Defined in -[api.ts:2002](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2002) +[api.ts:2026](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2026) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MetaVulnerabilitiesOutAllOf.md b/packages/vulnerabilities/git-api/doc/interfaces/MetaVulnerabilitiesOutAllOf.md index c3da57102..bb526492b 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MetaVulnerabilitiesOutAllOf.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MetaVulnerabilitiesOutAllOf.md @@ -39,7 +39,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2093](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2093) +[api.ts:2117](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2117) ___ @@ -55,7 +55,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2099](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2099) +[api.ts:2123](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2123) ___ @@ -71,7 +71,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2105](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2105) +[api.ts:2129](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2129) ___ @@ -87,7 +87,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2111](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2111) +[api.ts:2135](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2135) ___ @@ -103,7 +103,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2117](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2117) +[api.ts:2141](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2141) ___ @@ -119,7 +119,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2123](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2123) +[api.ts:2147](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2147) ___ @@ -135,7 +135,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2129](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2129) +[api.ts:2153](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2153) ___ @@ -151,7 +151,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2135](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2135) +[api.ts:2159](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2159) ___ @@ -167,7 +167,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2141](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2141) +[api.ts:2165](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2165) ___ @@ -183,7 +183,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2147](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2147) +[api.ts:2171](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2171) ___ @@ -199,7 +199,7 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2153](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2153) +[api.ts:2177](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2177) ___ @@ -215,4 +215,4 @@ MetaVulnerabilitiesOutAllOf #### Defined in -[api.ts:2159](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2159) +[api.ts:2183](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2183) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MitigatedSystemsIdsOut.md b/packages/vulnerabilities/git-api/doc/interfaces/MitigatedSystemsIdsOut.md index 5f30a52ee..786001b8c 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MitigatedSystemsIdsOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MitigatedSystemsIdsOut.md @@ -28,7 +28,7 @@ MitigatedSystemsIdsOut #### Defined in -[api.ts:2172](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2172) +[api.ts:2196](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2196) ___ @@ -42,7 +42,7 @@ MitigatedSystemsIdsOut #### Defined in -[api.ts:2178](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2178) +[api.ts:2202](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2202) ___ @@ -56,4 +56,4 @@ MitigatedSystemsIdsOut #### Defined in -[api.ts:2184](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2184) +[api.ts:2208](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2208) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/MitigatedSystemsOut.md b/packages/vulnerabilities/git-api/doc/interfaces/MitigatedSystemsOut.md index c2e6b3199..c6b6e0bfe 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/MitigatedSystemsOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/MitigatedSystemsOut.md @@ -28,7 +28,7 @@ MitigatedSystemsOut #### Defined in -[api.ts:2197](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2197) +[api.ts:2221](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2221) ___ @@ -42,7 +42,7 @@ MitigatedSystemsOut #### Defined in -[api.ts:2203](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2203) +[api.ts:2227](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2227) ___ @@ -56,4 +56,4 @@ MitigatedSystemsOut #### Defined in -[api.ts:2209](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2209) +[api.ts:2233](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2233) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/OptOutIn.md b/packages/vulnerabilities/git-api/doc/interfaces/OptOutIn.md index a8b4a8883..3154e3c58 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/OptOutIn.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/OptOutIn.md @@ -27,7 +27,7 @@ OptOutIn #### Defined in -[api.ts:2222](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2222) +[api.ts:2246](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2246) ___ @@ -43,4 +43,4 @@ OptOutIn #### Defined in -[api.ts:2228](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2228) +[api.ts:2252](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2252) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/PlaybookTemplate.md b/packages/vulnerabilities/git-api/doc/interfaces/PlaybookTemplate.md index 12490ade4..276cc0d36 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/PlaybookTemplate.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/PlaybookTemplate.md @@ -26,4 +26,4 @@ PlaybookTemplate #### Defined in -[api.ts:2241](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2241) +[api.ts:2265](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2265) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/PlaybookTemplateData.md b/packages/vulnerabilities/git-api/doc/interfaces/PlaybookTemplateData.md index 4465d4309..865a4499f 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/PlaybookTemplateData.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/PlaybookTemplateData.md @@ -32,7 +32,7 @@ PlaybookTemplateData #### Defined in -[api.ts:2254](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2254) +[api.ts:2278](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2278) ___ @@ -48,7 +48,7 @@ PlaybookTemplateData #### Defined in -[api.ts:2260](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2260) +[api.ts:2284](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2284) ___ @@ -64,7 +64,7 @@ PlaybookTemplateData #### Defined in -[api.ts:2266](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2266) +[api.ts:2290](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2290) ___ @@ -80,7 +80,7 @@ PlaybookTemplateData #### Defined in -[api.ts:2272](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2272) +[api.ts:2296](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2296) ___ @@ -96,4 +96,4 @@ PlaybookTemplateData #### Defined in -[api.ts:2278](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2278) +[api.ts:2302](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2302) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/StatusIn.md b/packages/vulnerabilities/git-api/doc/interfaces/StatusIn.md index 515cdfdd6..c9aa6e6c9 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/StatusIn.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/StatusIn.md @@ -29,7 +29,7 @@ StatusIn #### Defined in -[api.ts:2291](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2291) +[api.ts:2315](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2315) ___ @@ -43,7 +43,7 @@ StatusIn #### Defined in -[api.ts:2297](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2297) +[api.ts:2321](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2321) ___ @@ -59,7 +59,7 @@ StatusIn #### Defined in -[api.ts:2303](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2303) +[api.ts:2327](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2327) ___ @@ -75,4 +75,4 @@ StatusIn #### Defined in -[api.ts:2309](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2309) +[api.ts:2333](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2333) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/StatusListOut.md b/packages/vulnerabilities/git-api/doc/interfaces/StatusListOut.md index 741059c02..34b372fec 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/StatusListOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/StatusListOut.md @@ -29,7 +29,7 @@ StatusListOut #### Defined in -[api.ts:2322](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2322) +[api.ts:2346](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2346) ___ @@ -43,4 +43,4 @@ StatusListOut #### Defined in -[api.ts:2328](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2328) +[api.ts:2352](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2352) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/StatusListOutData.md b/packages/vulnerabilities/git-api/doc/interfaces/StatusListOutData.md index 6debeff7f..9efad9882 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/StatusListOutData.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/StatusListOutData.md @@ -29,7 +29,7 @@ StatusListOutData #### Defined in -[api.ts:2341](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2341) +[api.ts:2365](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2365) ___ @@ -45,4 +45,4 @@ StatusListOutData #### Defined in -[api.ts:2347](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2347) +[api.ts:2371](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2371) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/StatusListOutMeta.md b/packages/vulnerabilities/git-api/doc/interfaces/StatusListOutMeta.md index e802b8012..5f7a4c0ac 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/StatusListOutMeta.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/StatusListOutMeta.md @@ -28,4 +28,4 @@ StatusListOutMeta #### Defined in -[api.ts:2360](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2360) +[api.ts:2384](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2384) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/StatusOut.md b/packages/vulnerabilities/git-api/doc/interfaces/StatusOut.md index ac7c2247c..26db99607 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/StatusOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/StatusOut.md @@ -27,7 +27,7 @@ StatusOut #### Defined in -[api.ts:2373](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2373) +[api.ts:2397](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2397) ___ @@ -43,4 +43,4 @@ StatusOut #### Defined in -[api.ts:2379](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2379) +[api.ts:2403](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2403) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/StatusOutUpdated.md b/packages/vulnerabilities/git-api/doc/interfaces/StatusOutUpdated.md index c569518a0..cd106893d 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/StatusOutUpdated.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/StatusOutUpdated.md @@ -27,7 +27,7 @@ StatusOutUpdated #### Defined in -[api.ts:2392](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2392) +[api.ts:2416](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2416) ___ @@ -41,4 +41,4 @@ StatusOutUpdated #### Defined in -[api.ts:2398](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2398) +[api.ts:2422](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2422) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/SystemCvesIdsOut.md b/packages/vulnerabilities/git-api/doc/interfaces/SystemCvesIdsOut.md index 2b5d12c9c..fe8f68cf3 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/SystemCvesIdsOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/SystemCvesIdsOut.md @@ -28,7 +28,7 @@ SystemCvesIdsOut #### Defined in -[api.ts:2411](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2411) +[api.ts:2435](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2435) ___ @@ -42,7 +42,7 @@ SystemCvesIdsOut #### Defined in -[api.ts:2417](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2417) +[api.ts:2441](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2441) ___ @@ -56,4 +56,4 @@ SystemCvesIdsOut #### Defined in -[api.ts:2423](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2423) +[api.ts:2447](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2447) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/SystemCvesOut.md b/packages/vulnerabilities/git-api/doc/interfaces/SystemCvesOut.md index f28205daf..d18f22bbe 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/SystemCvesOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/SystemCvesOut.md @@ -28,7 +28,7 @@ SystemCvesOut #### Defined in -[api.ts:2436](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2436) +[api.ts:2460](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2460) ___ @@ -42,7 +42,7 @@ SystemCvesOut #### Defined in -[api.ts:2442](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2442) +[api.ts:2466](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2466) ___ @@ -56,4 +56,4 @@ SystemCvesOut #### Defined in -[api.ts:2448](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2448) +[api.ts:2472](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2472) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOut.md b/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOut.md index d4a84e14e..6bbb45559 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOut.md @@ -27,7 +27,7 @@ SystemDetailsOut #### Defined in -[api.ts:2461](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2461) +[api.ts:2485](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2485) ___ @@ -41,4 +41,4 @@ SystemDetailsOut #### Defined in -[api.ts:2467](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2467) +[api.ts:2491](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2491) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOutData.md b/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOutData.md index 68f04f4df..8c3b2b704 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOutData.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOutData.md @@ -35,7 +35,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2480](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2480) +[api.ts:2504](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2504) ___ @@ -51,7 +51,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2486](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2486) +[api.ts:2510](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2510) ___ @@ -67,7 +67,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2492](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2492) +[api.ts:2516](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2516) ___ @@ -83,7 +83,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2498](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2498) +[api.ts:2522](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2522) ___ @@ -99,7 +99,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2504](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2504) +[api.ts:2528](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2528) ___ @@ -115,7 +115,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2510](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2510) +[api.ts:2534](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2534) ___ @@ -129,7 +129,7 @@ SystemDetailsOutData #### Defined in -[api.ts:2516](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2516) +[api.ts:2540](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2540) ___ @@ -145,4 +145,4 @@ SystemDetailsOutData #### Defined in -[api.ts:2522](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2522) +[api.ts:2546](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2546) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOutDataTags.md b/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOutDataTags.md index 55252547b..83b2ad808 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOutDataTags.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/SystemDetailsOutDataTags.md @@ -30,7 +30,7 @@ SystemDetailsOutDataTags #### Defined in -[api.ts:2535](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2535) +[api.ts:2559](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2559) ___ @@ -46,7 +46,7 @@ SystemDetailsOutDataTags #### Defined in -[api.ts:2541](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2541) +[api.ts:2565](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2565) ___ @@ -62,4 +62,4 @@ SystemDetailsOutDataTags #### Defined in -[api.ts:2547](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2547) +[api.ts:2571](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2571) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/SystemIdsOut.md b/packages/vulnerabilities/git-api/doc/interfaces/SystemIdsOut.md index 4f654fd51..64ec5edca 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/SystemIdsOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/SystemIdsOut.md @@ -28,7 +28,7 @@ SystemIdsOut #### Defined in -[api.ts:2560](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2560) +[api.ts:2584](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2584) ___ @@ -42,7 +42,7 @@ SystemIdsOut #### Defined in -[api.ts:2566](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2566) +[api.ts:2590](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2590) ___ @@ -56,4 +56,4 @@ SystemIdsOut #### Defined in -[api.ts:2572](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2572) +[api.ts:2596](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2596) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/SystemListOut.md b/packages/vulnerabilities/git-api/doc/interfaces/SystemListOut.md index fa2038103..36a48c33a 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/SystemListOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/SystemListOut.md @@ -28,7 +28,7 @@ SystemListOut #### Defined in -[api.ts:2585](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2585) +[api.ts:2609](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2609) ___ @@ -42,7 +42,7 @@ SystemListOut #### Defined in -[api.ts:2591](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2591) +[api.ts:2615](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2615) ___ @@ -56,4 +56,4 @@ SystemListOut #### Defined in -[api.ts:2597](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2597) +[api.ts:2621](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2621) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/VersionOut.md b/packages/vulnerabilities/git-api/doc/interfaces/VersionOut.md index 1da5985d3..362831704 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/VersionOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/VersionOut.md @@ -29,7 +29,7 @@ VersionOut #### Defined in -[api.ts:2610](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2610) +[api.ts:2634](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2634) ___ @@ -45,4 +45,4 @@ VersionOut #### Defined in -[api.ts:2616](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2616) +[api.ts:2640](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2640) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesIdsOut.md b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesIdsOut.md index d8997a939..20029ee0a 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesIdsOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesIdsOut.md @@ -28,7 +28,7 @@ VulnerabilitiesIdsOut #### Defined in -[api.ts:2629](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2629) +[api.ts:2653](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2653) ___ @@ -42,7 +42,7 @@ VulnerabilitiesIdsOut #### Defined in -[api.ts:2635](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2635) +[api.ts:2659](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2659) ___ @@ -56,4 +56,4 @@ VulnerabilitiesIdsOut #### Defined in -[api.ts:2641](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2641) +[api.ts:2665](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2665) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesOut.md b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesOut.md index f2c3d5cd9..472e5f910 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesOut.md @@ -28,7 +28,7 @@ VulnerabilitiesOut #### Defined in -[api.ts:2654](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2654) +[api.ts:2678](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2678) ___ @@ -42,7 +42,7 @@ VulnerabilitiesOut #### Defined in -[api.ts:2660](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2660) +[api.ts:2684](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2684) ___ @@ -56,4 +56,4 @@ VulnerabilitiesOut #### Defined in -[api.ts:2666](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2666) +[api.ts:2690](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2690) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostIn.md b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostIn.md index 04258e663..46459b52b 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostIn.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostIn.md @@ -28,4 +28,4 @@ VulnerabilitiesPostIn #### Defined in -[api.ts:2679](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2679) +[api.ts:2703](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2703) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOut.md b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOut.md index 559830f2c..da4bf879f 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOut.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOut.md @@ -28,7 +28,7 @@ VulnerabilitiesPostOut #### Defined in -[api.ts:2692](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2692) +[api.ts:2716](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2716) ___ @@ -42,7 +42,7 @@ VulnerabilitiesPostOut #### Defined in -[api.ts:2698](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2698) +[api.ts:2722](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2722) ___ @@ -56,4 +56,4 @@ VulnerabilitiesPostOut #### Defined in -[api.ts:2704](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2704) +[api.ts:2728](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2728) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOutAttributes.md b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOutAttributes.md index 46306fbe1..a70b7692a 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOutAttributes.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOutAttributes.md @@ -30,7 +30,7 @@ VulnerabilitiesPostOutAttributes #### Defined in -[api.ts:2717](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2717) +[api.ts:2741](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2741) ___ @@ -46,7 +46,7 @@ VulnerabilitiesPostOutAttributes #### Defined in -[api.ts:2723](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2723) +[api.ts:2747](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2747) ___ @@ -62,4 +62,4 @@ VulnerabilitiesPostOutAttributes #### Defined in -[api.ts:2729](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2729) +[api.ts:2753](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2753) diff --git a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOutData.md b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOutData.md index cbbe9803e..313dc28de 100644 --- a/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOutData.md +++ b/packages/vulnerabilities/git-api/doc/interfaces/VulnerabilitiesPostOutData.md @@ -28,7 +28,7 @@ VulnerabilitiesPostOutData #### Defined in -[api.ts:2742](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2742) +[api.ts:2766](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2766) ___ @@ -44,7 +44,7 @@ VulnerabilitiesPostOutData #### Defined in -[api.ts:2748](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2748) +[api.ts:2772](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2772) ___ @@ -60,4 +60,4 @@ VulnerabilitiesPostOutData #### Defined in -[api.ts:2754](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2754) +[api.ts:2778](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2778) diff --git a/packages/vulnerabilities/git-api/doc/modules.md b/packages/vulnerabilities/git-api/doc/modules.md index 52730a556..31eda9500 100644 --- a/packages/vulnerabilities/git-api/doc/modules.md +++ b/packages/vulnerabilities/git-api/doc/modules.md @@ -146,15 +146,15 @@ DefaultApi - axios parameter creator | Name | Type | | :------ | :------ | -| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | -| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getAnnouncement` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | | `getApiStatus` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | | `getBusinessRiskList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | -| `getCveDetails` | (`cveId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getCveDetails` | (`cveId`: `string`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getCveIdsBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getCveIdsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | -| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getCveListBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getCveList_1` | (`vulnerabilitiesPostIn`: [`VulnerabilitiesPostIn`](interfaces/VulnerabilitiesPostIn.md), `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getDashbar` | (`tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | @@ -163,8 +163,8 @@ DefaultApi - axios parameter creator | `getPlaybookTemplate` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getStatusList` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | | `getSystemDetails` | (`inventoryId`: `string`, `options?`: `any`) => `Promise`<`RequestArgs`\> | -| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | -| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | +| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<`RequestArgs`\> | | `getVersion` | (`options?`: `any`) => `Promise`<`RequestArgs`\> | | `setCveBusinessRisk` | (`cveRiskIn`: [`CveRiskIn`](interfaces/CveRiskIn.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | | `setCveStatus` | (`cveStatusIn`: [`CveStatusIn`](interfaces/CveStatusIn.md), `options?`: `any`) => `Promise`<`RequestArgs`\> | @@ -174,7 +174,7 @@ DefaultApi - axios parameter creator #### Defined in -[api.ts:2761](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2761) +[api.ts:2785](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L2785) ___ @@ -200,15 +200,15 @@ DefaultApi - factory interface | Name | Type | | :------ | :------ | -| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`AffectedSystemsOut`](interfaces/AffectedSystemsOut.md)\> | -| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`AffectedSystemsIdsOut`](interfaces/AffectedSystemsIdsOut.md)\> | +| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`AffectedSystemsOut`](interfaces/AffectedSystemsOut.md)\> | +| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`AffectedSystemsIdsOut`](interfaces/AffectedSystemsIdsOut.md)\> | | `getAnnouncement` | (`options?`: `any`) => `AxiosPromise`<[`AnnouncementOut`](interfaces/AnnouncementOut.md)\> | | `getApiStatus` | (`options?`: `any`) => `AxiosPromise`<`void`\> | | `getBusinessRiskList` | (`options?`: `any`) => `AxiosPromise`<[`BusinessRiskListOut`](interfaces/BusinessRiskListOut.md)\> | -| `getCveDetails` | (`cveId`: `string`, `options?`: `any`) => `AxiosPromise`<[`CveDetailOut`](interfaces/CveDetailOut.md)\> | +| `getCveDetails` | (`cveId`: `string`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `AxiosPromise`<[`CveDetailOut`](interfaces/CveDetailOut.md)\> | | `getCveIdsBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `options?`: `any`) => `AxiosPromise`<[`SystemCvesIdsOut`](interfaces/SystemCvesIdsOut.md)\> | | `getCveIdsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `AxiosPromise`<[`VulnerabilitiesIdsOut`](interfaces/VulnerabilitiesIdsOut.md)\> | -| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `AxiosPromise`<[`VulnerabilitiesOut`](interfaces/VulnerabilitiesOut.md)\> | +| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`VulnerabilitiesOut`](interfaces/VulnerabilitiesOut.md)\> | | `getCveListBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`SystemCvesOut`](interfaces/SystemCvesOut.md)\> | | `getCveList_1` | (`vulnerabilitiesPostIn`: [`VulnerabilitiesPostIn`](interfaces/VulnerabilitiesPostIn.md), `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `options?`: `any`) => `AxiosPromise`<[`VulnerabilitiesPostOut`](interfaces/VulnerabilitiesPostOut.md)\> | | `getDashbar` | (`tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`DashbarOut`](interfaces/DashbarOut.md)\> | @@ -217,8 +217,8 @@ DefaultApi - factory interface | `getPlaybookTemplate` | (`ruleId`: `string`, `options?`: `any`) => `AxiosPromise`<[`PlaybookTemplate`](interfaces/PlaybookTemplate.md)\> | | `getStatusList` | (`options?`: `any`) => `AxiosPromise`<[`StatusListOut`](interfaces/StatusListOut.md)\> | | `getSystemDetails` | (`inventoryId`: `string`, `options?`: `any`) => `AxiosPromise`<[`SystemDetailsOut`](interfaces/SystemDetailsOut.md)\> | -| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`SystemIdsOut`](interfaces/SystemIdsOut.md)\> | -| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `AxiosPromise`<[`SystemListOut`](interfaces/SystemListOut.md)\> | +| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`SystemIdsOut`](interfaces/SystemIdsOut.md)\> | +| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `AxiosPromise`<[`SystemListOut`](interfaces/SystemListOut.md)\> | | `getVersion` | (`options?`: `any`) => `AxiosPromise`<[`VersionOut`](interfaces/VersionOut.md)\> | | `setCveBusinessRisk` | (`cveRiskIn`: [`CveRiskIn`](interfaces/CveRiskIn.md), `options?`: `any`) => `AxiosPromise`<[`BulkChangeOut`](interfaces/BulkChangeOut.md)\> | | `setCveStatus` | (`cveStatusIn`: [`CveStatusIn`](interfaces/CveStatusIn.md), `options?`: `any`) => `AxiosPromise`<[`BulkChangeOut`](interfaces/BulkChangeOut.md)\> | @@ -228,7 +228,7 @@ DefaultApi - factory interface #### Defined in -[api.ts:5441](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L5441) +[api.ts:5531](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L5531) ___ @@ -252,15 +252,15 @@ DefaultApi - functional programming interface | Name | Type | | :------ | :------ | -| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AffectedSystemsOut`](interfaces/AffectedSystemsOut.md)\>\> | -| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AffectedSystemsIdsOut`](interfaces/AffectedSystemsIdsOut.md)\>\> | +| `getAffectedSystemsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AffectedSystemsOut`](interfaces/AffectedSystemsOut.md)\>\> | +| `getAffectedSystemsIdsByCve` | (`cveId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `uuid?`: `string`, `ruleKey?`: `string`[], `rulePresence?`: `boolean`[], `rule?`: `string`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `showAdvisories?`: `boolean`, `advisory?`: `string`, `rhelVersion?`: `string`, `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AffectedSystemsIdsOut`](interfaces/AffectedSystemsIdsOut.md)\>\> | | `getAnnouncement` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`AnnouncementOut`](interfaces/AnnouncementOut.md)\>\> | | `getApiStatus` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<`void`\>\> | | `getBusinessRiskList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`BusinessRiskListOut`](interfaces/BusinessRiskListOut.md)\>\> | -| `getCveDetails` | (`cveId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`CveDetailOut`](interfaces/CveDetailOut.md)\>\> | +| `getCveDetails` | (`cveId`: `string`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`CveDetailOut`](interfaces/CveDetailOut.md)\>\> | | `getCveIdsBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemCvesIdsOut`](interfaces/SystemCvesIdsOut.md)\>\> | | `getCveIdsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`VulnerabilitiesIdsOut`](interfaces/VulnerabilitiesIdsOut.md)\>\> | -| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`VulnerabilitiesOut`](interfaces/VulnerabilitiesOut.md)\>\> | +| `getCveList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `statusId?`: `string`, `rulePresence?`: `boolean`[], `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `knownExploit?`: `boolean`[], `affecting?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `advancedReport?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `advisoryAvailable?`: `boolean`[], `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`VulnerabilitiesOut`](interfaces/VulnerabilitiesOut.md)\>\> | | `getCveListBySystem` | (`inventoryId`: `string`, `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `cvssFrom?`: `number`, `cvssTo?`: `number`, `publicFrom?`: `string`, `publicTo?`: `string`, `impact?`: `string`, `statusId?`: `string`, `dataFormat?`: `string`, `businessRiskId?`: `string`, `rulePresence?`: `boolean`[], `showAdvisories?`: `boolean`, `advisory?`: `string`, `ruleKey?`: `string`[], `knownExploit?`: `boolean`[], `firstReportedFrom?`: `string`, `firstReportedTo?`: `string`, `advisoryAvailable?`: `boolean`[], `remediation?`: `string`, `report?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemCvesOut`](interfaces/SystemCvesOut.md)\>\> | | `getCveList_1` | (`vulnerabilitiesPostIn`: [`VulnerabilitiesPostIn`](interfaces/VulnerabilitiesPostIn.md), `filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`VulnerabilitiesPostOut`](interfaces/VulnerabilitiesPostOut.md)\>\> | | `getDashbar` | (`tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`DashbarOut`](interfaces/DashbarOut.md)\>\> | @@ -269,8 +269,8 @@ DefaultApi - functional programming interface | `getPlaybookTemplate` | (`ruleId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`PlaybookTemplate`](interfaces/PlaybookTemplate.md)\>\> | | `getStatusList` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`StatusListOut`](interfaces/StatusListOut.md)\>\> | | `getSystemDetails` | (`inventoryId`: `string`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemDetailsOut`](interfaces/SystemDetailsOut.md)\>\> | -| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemIdsOut`](interfaces/SystemIdsOut.md)\>\> | -| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemListOut`](interfaces/SystemListOut.md)\>\> | +| `getSystemsIds` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemIdsOut`](interfaces/SystemIdsOut.md)\>\> | +| `getSystemsList` | (`filter?`: `string`, `limit?`: `number`, `offset?`: `number`, `page?`: `number`, `pageSize?`: `number`, `sort?`: `string`, `dataFormat?`: `string`, `stale?`: `boolean`, `uuid?`: `string`, `tags?`: `string`[], `sapSids?`: `string`[], `sapSystem?`: `boolean`, `excluded?`: `boolean`[], `rhelVersion?`: `string`, `report?`: `boolean`, `ansible?`: `boolean`, `mssql?`: `boolean`, `groupNames?`: `string`[], `groupIds?`: `string`[], `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`SystemListOut`](interfaces/SystemListOut.md)\>\> | | `getVersion` | (`options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`VersionOut`](interfaces/VersionOut.md)\>\> | | `setCveBusinessRisk` | (`cveRiskIn`: [`CveRiskIn`](interfaces/CveRiskIn.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`BulkChangeOut`](interfaces/BulkChangeOut.md)\>\> | | `setCveStatus` | (`cveStatusIn`: [`CveStatusIn`](interfaces/CveStatusIn.md), `options?`: `any`) => `Promise`<(`axios?`: `AxiosInstance`, `basePath?`: `string`) => `AxiosPromise`<[`BulkChangeOut`](interfaces/BulkChangeOut.md)\>\> | @@ -280,4 +280,4 @@ DefaultApi - functional programming interface #### Defined in -[api.ts:4899](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L4899) +[api.ts:4978](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/vulnerabilities/git-api/api.ts#L4978) diff --git a/packages/vulnerabilities/git-api/index.ts b/packages/vulnerabilities/git-api/index.ts index fda4ca110..779c1c58b 100644 --- a/packages/vulnerabilities/git-api/index.ts +++ b/packages/vulnerabilities/git-api/index.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.4.1 + * The version of the OpenAPI document: 2.12.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/vulnerabilities/index.ts b/packages/vulnerabilities/index.ts index 62b4e5712..8cac50992 100644 --- a/packages/vulnerabilities/index.ts +++ b/packages/vulnerabilities/index.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.4.1 + * The version of the OpenAPI document: 2.12.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).