import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AllowedValueListModel } from '../model/allowedValueListModel'; import { SourceListModel } from '../model/sourceListModel'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare namespace bookingTypesByTypeAllowedValuesGet { interface Params { /** * The type to provide allowed values for */ type: TypeEnum; /** * The code of the country in which the property is located in ISO 3166-1 alpha-2 format. */ countryCode: string; /** * Filter the result by the provided free text. If specified, only values that contain one of the provided values will be returned. */ textSearch?: 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; /** * List of all fields that can be used to sort the results. Possible values are: value:asc, value:desc. All other values will be silently ignored. */ sort?: Array; } type TypeEnum = 'IdentificationIssuePlace' | 'BirthPlace' | 'City' | 'Gender' | 'IdentificationType' | 'RegionCode'; const TypeEnumValues: readonly TypeEnum[]; type SortEnum = 'value:asc' | 'value:desc'; const SortEnumValues: readonly SortEnum[]; } export declare namespace bookingTypesSourcesGet { interface Params { /** * 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; } } export declare class TypesService { 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 values that a field of the specified type can take in the specified country. * <br>You need to be authorized (no particular scope required) * @param $params.type The type to provide allowed values for * @param $params.countryCode The code of the country in which the property is located in ISO 3166-1 alpha-2 format. * @param $params.textSearch Filter the result by the provided free text. If specified, only values that contain one of the provided values will be returned. * @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 $params.sort List of all fields that can be used to sort the results. Possible values are: value:asc, value:desc. All other values will be silently ignored. * @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. */ bookingTypesByTypeAllowedValuesGet($params: bookingTypesByTypeAllowedValuesGet.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingTypesByTypeAllowedValuesGet($params: bookingTypesByTypeAllowedValuesGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingTypesByTypeAllowedValuesGet($params: bookingTypesByTypeAllowedValuesGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Returns a list of supported sources. * Returns a list of channels that could be used as a source to create bookings. * @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 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. */ bookingTypesSourcesGet($params: bookingTypesSourcesGet.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingTypesSourcesGet($params: bookingTypesSourcesGet.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingTypesSourcesGet($params: bookingTypesSourcesGet.Params, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }