/** * Sonatype Lifecycle Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.207.0-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { CpeMatchingConfigurationRequest } from '../models/index'; export interface CPEMatchingConfigurationApiGetCpeMatchingConfigurationRequest { ownerType: GetCpeMatchingConfigurationOwnerTypeEnum; internalOwnerId: string; } export interface CPEMatchingConfigurationApiUpdateCpeMatchingConfigurationRequest { ownerType: UpdateCpeMatchingConfigurationOwnerTypeEnum; internalOwnerId: string; cpeMatchingConfigurationRequest?: CpeMatchingConfigurationRequest; } /** * CPEMatchingConfigurationApi - interface * * @export * @interface CPEMatchingConfigurationApiInterface */ export interface CPEMatchingConfigurationApiInterface { /** * This method allows to retrieve the applicable cpe matching configuration of a given organization or application.

Permissions Required: View IQ Elements * @param {'application' | 'organization'} ownerType * @param {string} internalOwnerId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CPEMatchingConfigurationApiInterface */ getCpeMatchingConfigurationRaw(requestParameters: CPEMatchingConfigurationApiGetCpeMatchingConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * This method allows to retrieve the applicable cpe matching configuration of a given organization or application.

Permissions Required: View IQ Elements */ getCpeMatchingConfiguration(requestParameters: CPEMatchingConfigurationApiGetCpeMatchingConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to apply a given cpe matching configuration to an organization or application.

Permissions Required: Edit IQ Elements * @param {'application' | 'organization'} ownerType * @param {string} internalOwnerId * @param {CpeMatchingConfigurationRequest} [cpeMatchingConfigurationRequest] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CPEMatchingConfigurationApiInterface */ updateCpeMatchingConfigurationRaw(requestParameters: CPEMatchingConfigurationApiUpdateCpeMatchingConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to apply a given cpe matching configuration to an organization or application.

Permissions Required: Edit IQ Elements */ updateCpeMatchingConfiguration(requestParameters: CPEMatchingConfigurationApiUpdateCpeMatchingConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * */ export declare class CPEMatchingConfigurationApi extends runtime.BaseAPI implements CPEMatchingConfigurationApiInterface { /** * This method allows to retrieve the applicable cpe matching configuration of a given organization or application.

Permissions Required: View IQ Elements */ getCpeMatchingConfigurationRaw(requestParameters: CPEMatchingConfigurationApiGetCpeMatchingConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * This method allows to retrieve the applicable cpe matching configuration of a given organization or application.

Permissions Required: View IQ Elements */ getCpeMatchingConfiguration(requestParameters: CPEMatchingConfigurationApiGetCpeMatchingConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Use this method to apply a given cpe matching configuration to an organization or application.

Permissions Required: Edit IQ Elements */ updateCpeMatchingConfigurationRaw(requestParameters: CPEMatchingConfigurationApiUpdateCpeMatchingConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Use this method to apply a given cpe matching configuration to an organization or application.

Permissions Required: Edit IQ Elements */ updateCpeMatchingConfiguration(requestParameters: CPEMatchingConfigurationApiUpdateCpeMatchingConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * @export */ export declare const GetCpeMatchingConfigurationOwnerTypeEnum: { readonly Application: "application"; readonly Organization: "organization"; }; export type GetCpeMatchingConfigurationOwnerTypeEnum = typeof GetCpeMatchingConfigurationOwnerTypeEnum[keyof typeof GetCpeMatchingConfigurationOwnerTypeEnum]; /** * @export */ export declare const UpdateCpeMatchingConfigurationOwnerTypeEnum: { readonly Application: "application"; readonly Organization: "organization"; }; export type UpdateCpeMatchingConfigurationOwnerTypeEnum = typeof UpdateCpeMatchingConfigurationOwnerTypeEnum[keyof typeof UpdateCpeMatchingConfigurationOwnerTypeEnum];