/** * 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 { ApiWaiverExpirationNotificationConfigDTO } from '../models/index'; export interface WaiverExpirationNotificationConfigApiGetConfig1Request { ownerType: string; ownerId: string; } export interface WaiverExpirationNotificationConfigApiSaveConfigRequest { ownerType: string; ownerId: string; apiWaiverExpirationNotificationConfigDTO: ApiWaiverExpirationNotificationConfigDTO; } /** * WaiverExpirationNotificationConfigApi - interface * * @export * @interface WaiverExpirationNotificationConfigApiInterface */ export interface WaiverExpirationNotificationConfigApiInterface { /** * Returns the effective waiver expiration notification configuration for the given owner. If the owner has no custom configuration, the inherited configuration from the parent is returned with inheritConfig=true.

Permissions required: View IQ Elements * @param {string} ownerType The owner type (organization, repository_manager, or repository_container). * @param {string} ownerId The internal owner ID assigned by IQ Server. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WaiverExpirationNotificationConfigApiInterface */ getConfig1Raw(requestParameters: WaiverExpirationNotificationConfigApiGetConfig1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the effective waiver expiration notification configuration for the given owner. If the owner has no custom configuration, the inherited configuration from the parent is returned with inheritConfig=true.

Permissions required: View IQ Elements */ getConfig1(requestParameters: WaiverExpirationNotificationConfigApiGetConfig1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Sets the waiver expiration notification configuration for the given owner. Set inheritConfig=true to inherit the configuration from the parent.

Permissions required: Edit IQ Elements * @param {string} ownerType The owner type (organization, repository_manager, or repository_container). * @param {string} ownerId The internal owner ID assigned by IQ Server. * @param {ApiWaiverExpirationNotificationConfigDTO} apiWaiverExpirationNotificationConfigDTO The notification configuration to save. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof WaiverExpirationNotificationConfigApiInterface */ saveConfigRaw(requestParameters: WaiverExpirationNotificationConfigApiSaveConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Sets the waiver expiration notification configuration for the given owner. Set inheritConfig=true to inherit the configuration from the parent.

Permissions required: Edit IQ Elements */ saveConfig(requestParameters: WaiverExpirationNotificationConfigApiSaveConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * */ export declare class WaiverExpirationNotificationConfigApi extends runtime.BaseAPI implements WaiverExpirationNotificationConfigApiInterface { /** * Returns the effective waiver expiration notification configuration for the given owner. If the owner has no custom configuration, the inherited configuration from the parent is returned with inheritConfig=true.

Permissions required: View IQ Elements */ getConfig1Raw(requestParameters: WaiverExpirationNotificationConfigApiGetConfig1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns the effective waiver expiration notification configuration for the given owner. If the owner has no custom configuration, the inherited configuration from the parent is returned with inheritConfig=true.

Permissions required: View IQ Elements */ getConfig1(requestParameters: WaiverExpirationNotificationConfigApiGetConfig1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Sets the waiver expiration notification configuration for the given owner. Set inheritConfig=true to inherit the configuration from the parent.

Permissions required: Edit IQ Elements */ saveConfigRaw(requestParameters: WaiverExpirationNotificationConfigApiSaveConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Sets the waiver expiration notification configuration for the given owner. Set inheritConfig=true to inherit the configuration from the parent.

Permissions required: Edit IQ Elements */ saveConfig(requestParameters: WaiverExpirationNotificationConfigApiSaveConfigRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }