import type { AxiosRequestConfig } from 'axios'; import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base'; import type { ExportHits } from '../types'; export type ExportHitsListParams = { /** * Display rules of this category (number) * @type { Array } * @memberof ExportHitsListApi */ category?: Array; /** * Display systems with this text in their display_name * @type { string } * @memberof ExportHitsListApi */ displayName?: string; /** * Are there systems which contain these SAP SIDs? * @type { Array } * @memberof ExportHitsListApi */ filterSystemProfileSapSidsContains?: Array; /** * Is this a SAP system? * @type { boolean } * @memberof ExportHitsListApi */ filterSystemProfileSapSystem?: boolean; /** * * @type { ExportHitsListFormatEnum } * @memberof ExportHitsListApi */ format?: ExportHitsListFormatEnum; /** * List of Inventory host group names * @type { Array } * @memberof ExportHitsListApi */ groups?: Array; /** * Display rules that have a playbook * @type { boolean } * @memberof ExportHitsListApi */ hasPlaybook?: boolean; /** * Display rules of this impact level (1..4) * @type { Array } * @memberof ExportHitsListApi */ impact?: Array; /** * Display only rules that cause an incident * @type { boolean } * @memberof ExportHitsListApi */ incident?: boolean; /** * Display only rules of this likelihood level (1..4) * @type { Array } * @memberof ExportHitsListApi */ likelihood?: Array; /** * Display rules that require a reboot to fix * @type { boolean } * @memberof ExportHitsListApi */ reboot?: boolean; /** * Display rules with this resolution risk level (1..4) * @type { Array } * @memberof ExportHitsListApi */ resRisk?: Array; /** * Tags have a namespace, key and value in the form namespace/key=value * @type { Array } * @memberof ExportHitsListApi */ tags?: Array; /** * Display rules with this text in their text fields * @type { string } * @memberof ExportHitsListApi */ text?: string; /** * Display rules in this topic (slug) * @type { string } * @memberof ExportHitsListApi */ topic?: string; /** * Display rules with this total risk level (1..4) * @type { Array } * @memberof ExportHitsListApi */ totalRisk?: Array; /** * Search for systems with this updater type * @type { Array } * @memberof ExportHitsListApi */ updateMethod?: Array; /** * Display a system with this uuid * @type { string } * @memberof ExportHitsListApi */ uuid?: string; options?: AxiosRequestConfig; }; /** * @export * @enum {string} */ export declare const ExportHitsListCategoryEnum: { readonly NUMBER_1: 1; readonly NUMBER_2: 2; readonly NUMBER_3: 3; readonly NUMBER_4: 4; }; export type ExportHitsListCategoryEnum = typeof ExportHitsListCategoryEnum[keyof typeof ExportHitsListCategoryEnum]; /** * @export * @enum {string} */ export declare const ExportHitsListFormatEnum: { readonly Csv: "csv"; readonly Json: "json"; }; export type ExportHitsListFormatEnum = typeof ExportHitsListFormatEnum[keyof typeof ExportHitsListFormatEnum]; /** * @export * @enum {string} */ export declare const ExportHitsListImpactEnum: { readonly NUMBER_1: 1; readonly NUMBER_2: 2; readonly NUMBER_3: 3; readonly NUMBER_4: 4; }; export type ExportHitsListImpactEnum = typeof ExportHitsListImpactEnum[keyof typeof ExportHitsListImpactEnum]; /** * @export * @enum {string} */ export declare const ExportHitsListLikelihoodEnum: { readonly NUMBER_1: 1; readonly NUMBER_2: 2; readonly NUMBER_3: 3; readonly NUMBER_4: 4; }; export type ExportHitsListLikelihoodEnum = typeof ExportHitsListLikelihoodEnum[keyof typeof ExportHitsListLikelihoodEnum]; /** * @export * @enum {string} */ export declare const ExportHitsListResRiskEnum: { readonly NUMBER_1: 1; readonly NUMBER_2: 2; readonly NUMBER_3: 3; readonly NUMBER_4: 4; }; export type ExportHitsListResRiskEnum = typeof ExportHitsListResRiskEnum[keyof typeof ExportHitsListResRiskEnum]; /** * @export * @enum {string} */ export declare const ExportHitsListTotalRiskEnum: { readonly NUMBER_1: 1; readonly NUMBER_2: 2; readonly NUMBER_3: 3; readonly NUMBER_4: 4; }; export type ExportHitsListTotalRiskEnum = typeof ExportHitsListTotalRiskEnum[keyof typeof ExportHitsListTotalRiskEnum]; /** * @export * @enum {string} */ export declare const ExportHitsListUpdateMethodEnum: { readonly Dnfyum: "dnfyum"; readonly Ostree: "ostree"; }; export type ExportHitsListUpdateMethodEnum = typeof ExportHitsListUpdateMethodEnum[keyof typeof ExportHitsListUpdateMethodEnum]; export type ExportHitsListReturnType = Array; /** * 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 {ExportHitsListParams} config with all available params. * @param {*} [options] Override http request option. * @throws {RequiredError} */ export declare const exportHitsListParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ExportHitsListParams] | [Array, string, Array, boolean, ExportHitsListFormatEnum, Array, boolean, Array, boolean, Array, boolean, Array, Array, string, string, Array, Array, string, AxiosRequestConfig])) => Promise>; export default exportHitsListParamCreator; //# sourceMappingURL=index.d.ts.map