/**
* apaleo logs API - not safe for work
* Continuously evolving version - use at your own risk! Different logs: night audit, transactions export, folio change log
*
* OpenAPI spec version: v0-nsfw
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ClassMetaData } from '@apaleo/angular-api-proxy-common';
export interface NightAuditLogItemModel {
/**
* Date and time when the night audit ended
A date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004
*/
ended: Date;
/**
* Night audit settings - whether reservations were set to no-show
*/
setReservationsToNoShow: boolean;
/**
* The status of the night audit
*/
status: NightAuditLogItemModel.StatusEnum;
/**
* Failure code of the night audit
*/
failureCode?: NightAuditLogItemModel.FailureCodeEnum;
/**
* Why the night audit failed
*/
failureReason?: string;
/**
* List of reservations that were set to no-show
*/
reservationIdsSetToNoShow?: Array;
/**
* The ID of the property
*/
propertyId: string;
/**
* Date and time when the operation has been executed
A date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004
*/
created: Date;
/**
* The ID of the user that triggered this event
*/
subjectId?: string;
}
export declare namespace NightAuditLogItemModel {
type StatusEnum = 'InProgress' | 'Success' | 'Failure';
const StatusEnumValues: readonly StatusEnum[];
type FailureCodeEnum = 'None' | 'ProcessNoShowsFailed' | 'ProcessFoliosFailed' | 'ProcessOccupiedUnitsFailed' | 'Unknown';
const FailureCodeEnumValues: readonly FailureCodeEnum[];
}
export declare namespace NightAuditLogItemModel {
const $metaData: ClassMetaData;
}