/**
* apaleo events journal API
* Continuously evolving version - use at your own risk! Exposes events published by apaleo.
*
* 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 { FormBuilder, FormGroup } from '@angular/forms';
import { ApaleoEnumPropertyMetaData, ApaleoPropertyMetaData, BuildFormOptions, BuildFormAdditionalControlsBase } from '@apaleo/angular-api-proxy-common';
export interface EventRecordResponseItem {
/**
* ID of an event
*/
readonly id: string;
/**
* Type of an event. Unique within an aggregate type
*/
readonly type: string;
/**
* ID of a property
*/
readonly propertyId: string;
/**
* ID of an aggregate Aggregate Root in terms of DDD Will be an ID of a \"main\" entity which emits events, like Reservation, TransactionLog etc.
*/
readonly aggregateId: string;
/**
* Type of an aggregate
*/
readonly aggregateType: EventRecordResponseItem.AggregateTypeEnum;
/**
* Time when event was created at backend
*/
readonly createdAt: Date;
/**
* Event data serialized as json
*/
readonly data?: string;
}
export declare namespace EventRecordResponseItem {
type AggregateTypeEnum = 'Reservation' | 'TransactionLog' | 'Property' | 'Folio' | 'Invoice' | 'RatePlan';
const AggregateTypeEnumValues: readonly AggregateTypeEnum[];
}
export declare namespace EventRecordResponseItem {
const $metaData: {
id: Readonly;
type: Readonly;
propertyId: Readonly;
aggregateId: Readonly;
aggregateType: Readonly>;
createdAt: Readonly;
data: Readonly;
};
function $buildForm(fb: FormBuilder, options?: BuildFormOptions): FormGroup;
}