import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ReplaceBlockModel } from '../model/replaceBlockModel'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare namespace bookingBlockActionsByIdAmendPut { interface Params { /** * Id of the block to be modified. */ id: string; /** * The definition of the block. */ body: ReplaceBlockModel; /** * 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 namespace bookingBlockActionsByIdCancelPut { interface Params { /** * Id of the block that should be processed. */ id: 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; } } export declare namespace bookingBlockActionsByIdConfirmPut { interface Params { /** * Id of the block that should be processed. */ id: 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; } } export declare namespace bookingBlockActionsByIdReleasePut { interface Params { /** * Id of the block that should be processed. */ id: 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; } } export declare namespace bookingBlockActionsByIdWashPut { interface Params { /** * Id of the block that should be processed. */ id: 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; } } export declare class BlockActionsService { 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; /** * Allow to modify a block * Use this call to modify a block.<br>You must have at least one of these scopes: 'blocks.manage, reservations.manage'. * @param $params.id Id of the block to be modified. * @param $params.body The definition of the block. * @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. */ bookingBlockActionsByIdAmendPut($params: bookingBlockActionsByIdAmendPut.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingBlockActionsByIdAmendPut($params: bookingBlockActionsByIdAmendPut.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingBlockActionsByIdAmendPut($params: bookingBlockActionsByIdAmendPut.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Cancel a block. * Cancel a specific block which is in status 'Definite' or 'Tentative'. This changes the status to 'Canceled'.<br>You must have at least one of these scopes: 'blocks.manage, reservations.manage'. * @param $params.id Id of the block that should be processed. * @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. */ bookingBlockActionsByIdCancelPut($params: bookingBlockActionsByIdCancelPut.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingBlockActionsByIdCancelPut($params: bookingBlockActionsByIdCancelPut.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingBlockActionsByIdCancelPut($params: bookingBlockActionsByIdCancelPut.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Confirm a block. * Confirm a specific block which is in status 'Tentative'. This changes the status to 'Definite'.<br>You must have at least one of these scopes: 'blocks.manage, reservations.manage'. * @param $params.id Id of the block that should be processed. * @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. */ bookingBlockActionsByIdConfirmPut($params: bookingBlockActionsByIdConfirmPut.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingBlockActionsByIdConfirmPut($params: bookingBlockActionsByIdConfirmPut.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingBlockActionsByIdConfirmPut($params: bookingBlockActionsByIdConfirmPut.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Release a block. * Release a specific block which is in status 'Definite'. This changes the status to 'Tentative'.<br>You must have at least one of these scopes: 'blocks.manage, reservations.manage'. * @param $params.id Id of the block that should be processed. * @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. */ bookingBlockActionsByIdReleasePut($params: bookingBlockActionsByIdReleasePut.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingBlockActionsByIdReleasePut($params: bookingBlockActionsByIdReleasePut.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingBlockActionsByIdReleasePut($params: bookingBlockActionsByIdReleasePut.Params, observe?: 'events', reportProgress?: boolean): Observable>; /** * Wash a block. * Wash a specific block which is in status 'Definite'. This releases all unpicked units.<br>You must have at least one of these scopes: 'blocks.manage, reservations.manage'. * @param $params.id Id of the block that should be processed. * @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. */ bookingBlockActionsByIdWashPut($params: bookingBlockActionsByIdWashPut.Params, observe?: 'body', reportProgress?: boolean): Observable; bookingBlockActionsByIdWashPut($params: bookingBlockActionsByIdWashPut.Params, observe?: 'response', reportProgress?: boolean): Observable>; bookingBlockActionsByIdWashPut($params: bookingBlockActionsByIdWashPut.Params, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }