import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CorporateCodeListModel } from '../model/corporateCodeListModel'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare namespace rateplanCorporateCodesCodesGet { interface Params { /** * Return codes for a specific property */ propertyId?: string; /** * Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the ISO8601:2004.This header will only take effect on development environments. */ apaleoCurrentDateTime?: Date; /** * Page number, 1-based. Default value is 1 (if this is not set or not positive). Results in 204 if there are no items on that page. */ pageNumber?: number; /** * Page size. If this is not set or not positive, the pageNumber is ignored and all items are returned. */ pageSize?: number; } } export declare class CorporateCodesService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; /** * Returns a list of corporate codes. * Returns all existing corporate codes that match given criteria.<br>You must have this scope: 'rateplans.read-corporate'. * @param $params.propertyId Return codes for a specific property * @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. * @param $params.pageNumber Page number, 1-based. Default value is 1 (if this is not set or not positive). Results in 204 if there are no items on that page. * @param $params.pageSize Page size. If this is not set or not positive, the pageNumber is ignored and all items are returned. * @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. */ rateplanCorporateCodesCodesGet($params: rateplanCorporateCodesCodesGet.Params, observe?: 'body', reportProgress?: boolean): Observable; rateplanCorporateCodesCodesGet($params: rateplanCorporateCodesCodesGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; rateplanCorporateCodesCodesGet($params: rateplanCorporateCodesCodesGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }