import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { AddReservationValidationMessagesRequest } from '../model/addReservationValidationMessagesRequest';
import { AssignedUnitModel } from '../model/assignedUnitModel';
import { AutoAssignedUnitListModel } from '../model/autoAssignedUnitListModel';
import { BookReservationServiceModel } from '../model/bookReservationServiceModel';
import { DeleteReservationValidationMessagesRequest } from '../model/deleteReservationValidationMessagesRequest';
import { DesiredStayDetailsChannelModel } from '../model/desiredStayDetailsChannelModel';
import { DesiredStayDetailsModel } from '../model/desiredStayDetailsModel';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export declare namespace bookingReservationActionsByIdAddCityTaxPut {
interface Params {
/**
* Id of the reservation.
*/
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 bookingReservationActionsByIdAddValidationMessagesPut {
interface Params {
/**
* Id of the reservation.
*/
id: string;
/**
* List of validation messages needs to be added.
*/
body: AddReservationValidationMessagesRequest;
/**
* 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 bookingReservationActionsByIdAmendPut {
interface Params {
/**
* Id of the reservation that should be modified
*/
id: string;
/**
* The new stay details that should be applied to the reservation.
*/
body: DesiredStayDetailsModel;
/**
* 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 bookingReservationActionsByIdAmendforcePut {
interface Params {
/**
* Id of the reservation that should be modified
*/
id: string;
/**
* The new stay details that should be applied to the reservation.
*/
body: DesiredStayDetailsModel;
/**
* 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 bookingReservationActionsByIdAssignUnitByUnitIdPut {
interface Params {
/**
* Id of the reservation the unit should be assigned to.
*/
id: string;
/**
* The id of the unit to be assigned.
*/
unitId: string;
/**
* The start date and optional time for the unit assignment. If not specified, the reservation's arrival will be used.
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004
*/
from?: string;
/**
* The end date and optional time for the unit assignment. If not specified, the reservation's departure will be used.
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004
*/
to?: 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 bookingReservationActionsByIdAssignUnitPut {
interface Params {
/**
* Id of the reservation a unit should be assigned to.
*/
id: string;
/**
* The optional unit conditions for unit that you want to auto assign for.
*/
unitConditions?: Array;
/**
* 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;
}
type UnitConditionsEnum = 'Clean' | 'CleanToBeInspected' | 'Dirty';
const UnitConditionsEnumValues: readonly UnitConditionsEnum[];
}
export declare namespace bookingReservationActionsByIdBookServicePut {
interface Params {
/**
* Id of the reservation.
*/
id: string;
/**
*
*/
body: BookReservationServiceModel;
/**
* 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 bookingReservationActionsByIdBookServiceforcePut {
interface Params {
/**
* Id of the reservation.
*/
id: string;
/**
*
*/
body: BookReservationServiceModel;
/**
* 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 bookingReservationActionsByIdCancelPut {
interface Params {
/**
* Id of the reservation 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 bookingReservationActionsByIdChannelAmendPut {
interface Params {
/**
* Id of the reservation that should be modified
*/
id: string;
/**
* The new stay details that should be applied to the reservation.
*/
body: DesiredStayDetailsChannelModel;
/**
* 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 bookingReservationActionsByIdCheckinPut {
interface Params {
/**
* Id of the reservation that should be processed.
*/
id: string;
/**
* Define if city tax should be added for this reservation or not. The default is \"true\".
*/
withCityTax?: boolean;
/**
* 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 bookingReservationActionsByIdCheckoutPut {
interface Params {
/**
* Id of the reservation 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 bookingReservationActionsByIdLockUnitPut {
interface Params {
/**
* Id of the reservation
*/
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 bookingReservationActionsByIdNoshowPut {
interface Params {
/**
* Id of the reservation 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 bookingReservationActionsByIdRemoveCityTaxPut {
interface Params {
/**
* Id of the reservation.
*/
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 bookingReservationActionsByIdRemoveValidationMessagesPut {
interface Params {
/**
* Id of the reservation.
*/
id: string;
/**
* List of validation message codes need to be deleted.
*/
body: DeleteReservationValidationMessagesRequest;
/**
* 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 bookingReservationActionsByIdRevertCheckinPut {
interface Params {
/**
* The ID of the reservation to reverse the check-in for.
*/
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 bookingReservationActionsByIdUnassignUnitsPut {
interface Params {
/**
* Id of the reservation the unit should be unassigned for.
*/
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 bookingReservationActionsByIdUnlockUnitPut {
interface Params {
/**
* Id of the reservation
*/
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 ReservationActionsService {
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;
/**
* Adds the city tax to a reservation.
* Use this if you want to add the city tax to a reservation.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation.
* @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.
*/
bookingReservationActionsByIdAddCityTaxPut($params: bookingReservationActionsByIdAddCityTaxPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdAddCityTaxPut($params: bookingReservationActionsByIdAddCityTaxPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdAddCityTaxPut($params: bookingReservationActionsByIdAddCityTaxPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Adds validation messages to reservation.
* Use this if you want to add validation messages to reservation.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation.
* @param $params.body List of validation messages needs to be added.
* @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.
*/
bookingReservationActionsByIdAddValidationMessagesPut($params: bookingReservationActionsByIdAddValidationMessagesPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdAddValidationMessagesPut($params: bookingReservationActionsByIdAddValidationMessagesPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdAddValidationMessagesPut($params: bookingReservationActionsByIdAddValidationMessagesPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Allows you to amend the stay details of a reservation
* Modifies the stay-related data of a reservation. If a reservation is 'Confirmed', you can change all fields. If a reservation is 'InHouse', only changes to future time slices are possible. Changes to reservations that are in the status 'CheckedOut' or 'Canceled' are not possible at all.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation that should be modified
* @param $params.body The new stay details that should be applied to the reservation.
* @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.
*/
bookingReservationActionsByIdAmendPut($params: bookingReservationActionsByIdAmendPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdAmendPut($params: bookingReservationActionsByIdAmendPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdAmendPut($params: bookingReservationActionsByIdAmendPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Allows you to amend the stay details of a reservation regardless of availability or restrictions.
* Modifies the stay-related data of a reservation. If a reservation is 'Confirmed', you can change all fields. If a reservation is 'InHouse', only changes to future time slices are possible. Changes to reservations that are in the status 'CheckedOut' or 'Canceled' are not possible at all.<br>You must have this scope: 'reservations.force-manage'.
* @param $params.id Id of the reservation that should be modified
* @param $params.body The new stay details that should be applied to the reservation.
* @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.
*/
bookingReservationActionsByIdAmendforcePut($params: bookingReservationActionsByIdAmendforcePut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdAmendforcePut($params: bookingReservationActionsByIdAmendforcePut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdAmendforcePut($params: bookingReservationActionsByIdAmendforcePut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Assign a specific unit to a reservation.
* Assigns a specific unit to a reservation which is in state 'Confirmed' or 'InHouse'. If the unit is not available, the call will return an error, and no unit will be assigned.<br>You must have at least one of these scopes: 'reservations.assign-unit, reservations.manage'.
* @param $params.id Id of the reservation the unit should be assigned to.
* @param $params.unitId The id of the unit to be assigned.
* @param $params.from The start date and optional time for the unit assignment. If not specified, the reservation's arrival will be used.<br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>
* @param $params.to The end date and optional time for the unit assignment. If not specified, the reservation's departure will be used.<br />Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>
* @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.
*/
bookingReservationActionsByIdAssignUnitByUnitIdPut($params: bookingReservationActionsByIdAssignUnitByUnitIdPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdAssignUnitByUnitIdPut($params: bookingReservationActionsByIdAssignUnitByUnitIdPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdAssignUnitByUnitIdPut($params: bookingReservationActionsByIdAssignUnitByUnitIdPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Assign a unit to a reservation.
* Assigns one of the available units to a reservation which is in state 'Confirmed' or 'InHouse'.<br>You must have at least one of these scopes: 'reservations.assign-unit, reservations.manage'.
* @param $params.id Id of the reservation a unit should be assigned to.
* @param $params.unitConditions The optional unit conditions for unit that you want to auto assign for.
* @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.
*/
bookingReservationActionsByIdAssignUnitPut($params: bookingReservationActionsByIdAssignUnitPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdAssignUnitPut($params: bookingReservationActionsByIdAssignUnitPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdAssignUnitPut($params: bookingReservationActionsByIdAssignUnitPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Book the service for a specific reservation.
* Use this to book a service for a specific reservation. Please note that when dates are specified, all desired dates must be specified or they will be removed if not posted to the folio.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation.
* @param $params.body
* @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.
*/
bookingReservationActionsByIdBookServicePut($params: bookingReservationActionsByIdBookServicePut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdBookServicePut($params: bookingReservationActionsByIdBookServicePut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdBookServicePut($params: bookingReservationActionsByIdBookServicePut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Book the service for a specific reservation regardless of availability.
* Use this to book a service for a specific reservation. Please note that when dates are specified, all desired dates must be specified or they will be removed if not posted to the folio.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation.
* @param $params.body
* @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.
*/
bookingReservationActionsByIdBookServiceforcePut($params: bookingReservationActionsByIdBookServiceforcePut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdBookServiceforcePut($params: bookingReservationActionsByIdBookServiceforcePut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdBookServiceforcePut($params: bookingReservationActionsByIdBookServiceforcePut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Cancel a reservation.
* Cancel a specific reservation which is in status 'Confirmed' and where the arrival time is in the future. This changes the status to 'Canceled', and sets the cancellation date and time.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation 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.
*/
bookingReservationActionsByIdCancelPut($params: bookingReservationActionsByIdCancelPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdCancelPut($params: bookingReservationActionsByIdCancelPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdCancelPut($params: bookingReservationActionsByIdCancelPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Allows channel to amend the stay details of a reservation regardless of availability or restrictions.
* Modifies the stay-related data of a reservation. If a reservation is 'Confirmed', you can change all fields. If a reservation is 'InHouse', only changes to future time slices are possible. Changes to reservations that are in the status 'CheckedOut' or 'Canceled' are not possible at all.<br>You must have this scope: 'reservations.force-manage'.
* @param $params.id Id of the reservation that should be modified
* @param $params.body The new stay details that should be applied to the reservation.
* @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.
*/
bookingReservationActionsByIdChannelAmendPut($params: bookingReservationActionsByIdChannelAmendPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdChannelAmendPut($params: bookingReservationActionsByIdChannelAmendPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdChannelAmendPut($params: bookingReservationActionsByIdChannelAmendPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Check-in of a reservation.
* Check in a specific reservation which is in status 'Confirmed', and has a unit assigned. This changes the status to 'InHouse', and sets the check-in date and time.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation that should be processed.
* @param $params.withCityTax Define if city tax should be added for this reservation or not. The default is \"true\".
* @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.
*/
bookingReservationActionsByIdCheckinPut($params: bookingReservationActionsByIdCheckinPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdCheckinPut($params: bookingReservationActionsByIdCheckinPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdCheckinPut($params: bookingReservationActionsByIdCheckinPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Check-out of a reservation.
* Check out a specific reservation which is in status 'InHouse'. This changes the status to 'CheckedOut', and sets the check-out date and time. All open charges on the folio will be posted. Check-out is only possible, if the departure date is not later than tomorrow. Otherwise, first amend the reservation and shorten the stay.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation 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.
*/
bookingReservationActionsByIdCheckoutPut($params: bookingReservationActionsByIdCheckoutPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdCheckoutPut($params: bookingReservationActionsByIdCheckoutPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdCheckoutPut($params: bookingReservationActionsByIdCheckoutPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Lock unit assignment for a reservation.
* Lock unit assignment for a reservation and prevent modification. It will fail for reservations not in status 'Confirmed' or 'InHouse'. It will also fail if Units have not been assigned to this reservation.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation
* @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.
*/
bookingReservationActionsByIdLockUnitPut($params: bookingReservationActionsByIdLockUnitPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdLockUnitPut($params: bookingReservationActionsByIdLockUnitPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdLockUnitPut($params: bookingReservationActionsByIdLockUnitPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Set a reservation to No-show.
* Set a specific reservation to No-show which is in status 'Confirmed' and where the arrival date is in the past. This changes the status to 'NoShow', and sets the no-show date and time.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation 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.
*/
bookingReservationActionsByIdNoshowPut($params: bookingReservationActionsByIdNoshowPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdNoshowPut($params: bookingReservationActionsByIdNoshowPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdNoshowPut($params: bookingReservationActionsByIdNoshowPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Removes the city tax from a reservation.
* Use this is you want to remove the city tax from a reservation before the stay.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation.
* @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.
*/
bookingReservationActionsByIdRemoveCityTaxPut($params: bookingReservationActionsByIdRemoveCityTaxPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdRemoveCityTaxPut($params: bookingReservationActionsByIdRemoveCityTaxPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdRemoveCityTaxPut($params: bookingReservationActionsByIdRemoveCityTaxPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Removes the validation messages from a reservation by codes.
* Use this if you want to remove the validation messages from a reservation.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation.
* @param $params.body List of validation message codes need to be deleted.
* @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.
*/
bookingReservationActionsByIdRemoveValidationMessagesPut($params: bookingReservationActionsByIdRemoveValidationMessagesPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdRemoveValidationMessagesPut($params: bookingReservationActionsByIdRemoveValidationMessagesPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdRemoveValidationMessagesPut($params: bookingReservationActionsByIdRemoveValidationMessagesPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Reverses the check-in of a reservation.
* <br>You must have this scope: 'reservations.manage'.
* @param $params.id The ID of the reservation to reverse the check-in for.
* @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.
*/
bookingReservationActionsByIdRevertCheckinPut($params: bookingReservationActionsByIdRevertCheckinPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdRevertCheckinPut($params: bookingReservationActionsByIdRevertCheckinPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdRevertCheckinPut($params: bookingReservationActionsByIdRevertCheckinPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Unassign units from a reservation.
* Unassigns units for all time slices of the given reservation. If no units are assigned for the reservation nothing will happen. It will fail for reservations in status 'CheckedOut'.<br>You must have at least one of these scopes: 'reservations.assign-unit, reservations.manage'.
* @param $params.id Id of the reservation the unit should be unassigned for.
* @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.
*/
bookingReservationActionsByIdUnassignUnitsPut($params: bookingReservationActionsByIdUnassignUnitsPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdUnassignUnitsPut($params: bookingReservationActionsByIdUnassignUnitsPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdUnassignUnitsPut($params: bookingReservationActionsByIdUnassignUnitsPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
/**
* Unlock unit assignment for a reservation.
* Unlock unit assignment for a reservation and allow modification. It will fail if the reservation is not locked.<br>You must have this scope: 'reservations.manage'.
* @param $params.id Id of the reservation
* @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.
*/
bookingReservationActionsByIdUnlockUnitPut($params: bookingReservationActionsByIdUnlockUnitPut.Params, observe?: 'body', reportProgress?: boolean): Observable;
bookingReservationActionsByIdUnlockUnitPut($params: bookingReservationActionsByIdUnlockUnitPut.Params, observe?: 'response', reportProgress?: boolean): Observable>;
bookingReservationActionsByIdUnlockUnitPut($params: bookingReservationActionsByIdUnlockUnitPut.Params, observe?: 'events', reportProgress?: boolean): Observable>;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵprov: i0.ɵɵInjectableDeclaration;
}