import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CreateRecurringPurchasesInstrumentConfigRequest } from '../model/createRecurringPurchasesInstrumentConfigRequest';
import { RecurringPurchasesInstrumentConfig } from '../model/recurringPurchasesInstrumentConfig';
import { RecurringPurchasesSubscriptionFilterStatus } from '../model/recurringPurchasesSubscriptionFilterStatus';
import { RecurringPurchasesSubscriptionWithNextExecutionDate } from '../model/recurringPurchasesSubscriptionWithNextExecutionDate';
import { RecurringPurchasesSubscriptionWithNextExecutionDateList } from '../model/recurringPurchasesSubscriptionWithNextExecutionDateList';
import { RecurringPurchasesTicketList } from '../model/recurringPurchasesTicketList';
import { RecurringPurchasesTicketStatus } from '../model/recurringPurchasesTicketStatus';
import { UpdateRecurringPurchasesInstrumentConfigRequest } from '../model/updateRecurringPurchasesInstrumentConfigRequest';
import { UpdateRecurringPurchasesSubscriptionRequest } from '../model/updateRecurringPurchasesSubscriptionRequest';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare class RecurringPurchasesService {
    protected httpClient: HttpClient;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    encoder: HttpParameterCodec;
    constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
    private addToHttpParams;
    private addToHttpParamsRecursive;
    /**
     * @param createRecurringPurchasesInstrumentConfigRequest
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    createRpInstrumentConfig(createRecurringPurchasesInstrumentConfigRequest: CreateRecurringPurchasesInstrumentConfigRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesInstrumentConfig>;
    createRpInstrumentConfig(createRecurringPurchasesInstrumentConfigRequest: CreateRecurringPurchasesInstrumentConfigRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesInstrumentConfig>>;
    createRpInstrumentConfig(createRecurringPurchasesInstrumentConfigRequest: CreateRecurringPurchasesInstrumentConfigRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesInstrumentConfig>>;
    /**
     * @param instrumentId
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    deleteRpInstrumentConfig(instrumentId: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<any>;
    deleteRpInstrumentConfig(instrumentId: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpResponse<any>>;
    deleteRpInstrumentConfig(instrumentId: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpEvent<any>>;
    /**
     * @param instrumentId
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    disableRpInstrumentConfig(instrumentId: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<any>;
    disableRpInstrumentConfig(instrumentId: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpResponse<any>>;
    disableRpInstrumentConfig(instrumentId: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpEvent<any>>;
    /**
     * @param instrumentId
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    enableRpInstrumentConfig(instrumentId: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<any>;
    enableRpInstrumentConfig(instrumentId: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpResponse<any>>;
    enableRpInstrumentConfig(instrumentId: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: undefined;
        context?: HttpContext;
    }): Observable<HttpEvent<any>>;
    /**
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getRpInstrumentConfigs(observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<RecurringPurchasesInstrumentConfig>>;
    getRpInstrumentConfigs(observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<RecurringPurchasesInstrumentConfig>>>;
    getRpInstrumentConfigs(observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<RecurringPurchasesInstrumentConfig>>>;
    /**
     * @param page
     * @param size
     * @param ids
     * @param accountId
     * @param status
     * @param from
     * @param to
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getRpSubscriptions(page?: number, size?: number, ids?: string, accountId?: number, status?: RecurringPurchasesSubscriptionFilterStatus, from?: string, to?: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesSubscriptionWithNextExecutionDateList>;
    getRpSubscriptions(page?: number, size?: number, ids?: string, accountId?: number, status?: RecurringPurchasesSubscriptionFilterStatus, from?: string, to?: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesSubscriptionWithNextExecutionDateList>>;
    getRpSubscriptions(page?: number, size?: number, ids?: string, accountId?: number, status?: RecurringPurchasesSubscriptionFilterStatus, from?: string, to?: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesSubscriptionWithNextExecutionDateList>>;
    /**
     * @param page
     * @param size
     * @param accountId
     * @param status
     * @param from
     * @param to
     * @param subscriptionId
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getRpTickets(page?: number, size?: number, accountId?: number, status?: RecurringPurchasesTicketStatus, from?: string, to?: string, subscriptionId?: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesTicketList>;
    getRpTickets(page?: number, size?: number, accountId?: number, status?: RecurringPurchasesTicketStatus, from?: string, to?: string, subscriptionId?: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesTicketList>>;
    getRpTickets(page?: number, size?: number, accountId?: number, status?: RecurringPurchasesTicketStatus, from?: string, to?: string, subscriptionId?: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesTicketList>>;
    /**
     * @param instrumentId
     * @param updateRecurringPurchasesInstrumentConfigRequest
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    updateRpInstrumentConfig(instrumentId: number, updateRecurringPurchasesInstrumentConfigRequest: UpdateRecurringPurchasesInstrumentConfigRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesInstrumentConfig>;
    updateRpInstrumentConfig(instrumentId: number, updateRecurringPurchasesInstrumentConfigRequest: UpdateRecurringPurchasesInstrumentConfigRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesInstrumentConfig>>;
    updateRpInstrumentConfig(instrumentId: number, updateRecurringPurchasesInstrumentConfigRequest: UpdateRecurringPurchasesInstrumentConfigRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesInstrumentConfig>>;
    /**
     * @param id
     * @param updateRecurringPurchasesSubscriptionRequest
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    updateRpSubscription(id: string, updateRecurringPurchasesSubscriptionRequest: UpdateRecurringPurchasesSubscriptionRequest, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<RecurringPurchasesSubscriptionWithNextExecutionDate>;
    updateRpSubscription(id: string, updateRecurringPurchasesSubscriptionRequest: UpdateRecurringPurchasesSubscriptionRequest, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<RecurringPurchasesSubscriptionWithNextExecutionDate>>;
    updateRpSubscription(id: string, updateRecurringPurchasesSubscriptionRequest: UpdateRecurringPurchasesSubscriptionRequest, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<RecurringPurchasesSubscriptionWithNextExecutionDate>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<RecurringPurchasesService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<RecurringPurchasesService>;
}
