import type { AxiosRequestConfig } from 'axios'; import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base'; import type { PaginatedSystemList } from '../types'; export type SystemListParams = { /** * Display systems with this text in their display_name * @type { string } * @memberof SystemListApi */ displayName?: string; /** * Is this an Ansible system? * @type { boolean } * @memberof SystemListApi */ filterSystemProfileAnsible?: boolean; /** * Is this a Microsoft SQL system? * @type { boolean } * @memberof SystemListApi */ filterSystemProfileMssql?: boolean; /** * Are there systems which contain these SAP SIDs? * @type { Array } * @memberof SystemListApi */ filterSystemProfileSapSidsContains?: Array; /** * Is this a SAP system? * @type { boolean } * @memberof SystemListApi */ filterSystemProfileSapSystem?: boolean; /** * List of Inventory host group names * @type { Array } * @memberof SystemListApi */ groups?: Array; /** * Display systems which has at least one disabled recommendation * @type { boolean } * @memberof SystemListApi */ hasDisabledRecommendation?: boolean; /** * Display systems with hits of the given total_risk value (1..4), or 0 to display all systems * @type { Array } * @memberof SystemListApi */ hits?: Array; /** * Display only systems reporting an incident * @type { boolean } * @memberof SystemListApi */ incident?: boolean; /** * Number of results to return per page. * @type { number } * @memberof SystemListApi */ limit?: number; /** * The initial index from which to return the results. * @type { number } * @memberof SystemListApi */ offset?: number; /** * Display systems with rule hits for this Pathway * @type { string } * @memberof SystemListApi */ pathway?: string; /** * Display only systems with these versions of RHEL * @type { Array } * @memberof SystemListApi */ rhelVersion?: Array; /** * Order by this field * @type { SystemListSortEnum } * @memberof SystemListApi */ sort?: SystemListSortEnum; /** * Display only systems with this type (\'all\' = both types) * @type { SystemListSystemTypeEnum } * @memberof SystemListApi */ systemType?: SystemListSystemTypeEnum; /** * Tags have a namespace, key and value in the form namespace/key=value * @type { Array } * @memberof SystemListApi */ tags?: Array; /** * Search for systems with this updater type * @type { Array } * @memberof SystemListApi */ updateMethod?: Array; options?: AxiosRequestConfig; }; /** * @export * @enum {string} */ export declare const SystemListHitsEnum: { readonly _1: "1"; readonly _2: "2"; readonly _3: "3"; readonly _4: "4"; readonly All: "all"; readonly No: "no"; readonly Yes: "yes"; }; export type SystemListHitsEnum = typeof SystemListHitsEnum[keyof typeof SystemListHitsEnum]; /** * @export * @enum {string} */ export declare const SystemListRhelVersionEnum: { readonly _100: "10.0"; readonly _101: "10.1"; readonly _102: "10.2"; readonly _60: "6.0"; readonly _61: "6.1"; readonly _610: "6.10"; readonly _62: "6.2"; readonly _63: "6.3"; readonly _64: "6.4"; readonly _65: "6.5"; readonly _66: "6.6"; readonly _67: "6.7"; readonly _68: "6.8"; readonly _69: "6.9"; readonly _70: "7.0"; readonly _71: "7.1"; readonly _710: "7.10"; readonly _72: "7.2"; readonly _73: "7.3"; readonly _74: "7.4"; readonly _75: "7.5"; readonly _76: "7.6"; readonly _77: "7.7"; readonly _78: "7.8"; readonly _79: "7.9"; readonly _80: "8.0"; readonly _81: "8.1"; readonly _810: "8.10"; readonly _82: "8.2"; readonly _83: "8.3"; readonly _84: "8.4"; readonly _85: "8.5"; readonly _86: "8.6"; readonly _87: "8.7"; readonly _88: "8.8"; readonly _89: "8.9"; readonly _90: "9.0"; readonly _91: "9.1"; readonly _92: "9.2"; readonly _93: "9.3"; readonly _94: "9.4"; readonly _95: "9.5"; readonly _96: "9.6"; readonly _97: "9.7"; readonly _98: "9.8"; }; export type SystemListRhelVersionEnum = typeof SystemListRhelVersionEnum[keyof typeof SystemListRhelVersionEnum]; /** * @export * @enum {string} */ export declare const SystemListSortEnum: { readonly NotCriticalHits: "-critical_hits"; readonly NotDisplayName: "-display_name"; readonly NotGroupName: "-group_name"; readonly NotHits: "-hits"; readonly NotImportantHits: "-important_hits"; readonly NotLastSeen: "-last_seen"; readonly NotLowHits: "-low_hits"; readonly NotModerateHits: "-moderate_hits"; readonly NotRhelVersion: "-rhel_version"; readonly CriticalHits: "critical_hits"; readonly DisplayName: "display_name"; readonly GroupName: "group_name"; readonly Hits: "hits"; readonly ImportantHits: "important_hits"; readonly LastSeen: "last_seen"; readonly LowHits: "low_hits"; readonly ModerateHits: "moderate_hits"; readonly RhelVersion: "rhel_version"; }; export type SystemListSortEnum = typeof SystemListSortEnum[keyof typeof SystemListSortEnum]; /** * @export * @enum {string} */ export declare const SystemListSystemTypeEnum: { readonly All: "all"; readonly Bootc: "bootc"; readonly Conventional: "conventional"; readonly Edge: "edge"; }; export type SystemListSystemTypeEnum = typeof SystemListSystemTypeEnum[keyof typeof SystemListSystemTypeEnum]; /** * @export * @enum {string} */ export declare const SystemListUpdateMethodEnum: { readonly Dnfyum: "dnfyum"; readonly Ostree: "ostree"; }; export type SystemListUpdateMethodEnum = typeof SystemListUpdateMethodEnum[keyof typeof SystemListUpdateMethodEnum]; export type SystemListReturnType = PaginatedSystemList; /** * 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 {SystemListParams} config with all available params. * @param {*} [options] Override http request option. * @throws {RequiredError} */ export declare const systemListParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([SystemListParams] | [string, boolean, boolean, Array, boolean, Array, boolean, Array, boolean, number, number, string, Array, SystemListSortEnum, SystemListSystemTypeEnum, Array, Array, AxiosRequestConfig])) => Promise>; export default systemListParamCreator; //# sourceMappingURL=index.d.ts.map