import { OrganizationType } from './organizationType'; export declare enum AggregationType { AggregateAuthorizeEventServiceOfferAction = "AggregateAuthorizeEventServiceOfferAction", AggregateAuthorizeOrderAction = "AggregateAuthorizeOrderAction", AggregateAuthorizePaymentAction = "AggregateAuthorizePaymentAction", AggregateCancelReservationAction = "AggregateCancelReservationAction", AggregateCheckMovieTicketAction = "AggregateCheckMovieTicketAction", AggregateEvent = "AggregateEvent", AggregateOrder = "AggregateOrder", AggregateOrderAction = "AggregateOrderAction", AggregatePay = "AggregatePay", AggregatePayMovieTicketAction = "AggregatePayMovieTicketAction", AggregatePlaceOrder = "AggregatePlaceOrder", AggregateReserve = "AggregateReserve", AggregateReserveAction = "AggregateReserveAction", AggregateTask = "AggregateTask", AggregateUseAction = "AggregateUseAction" } export interface IAggregationByClient { clientId: string; aggregation: any; } export interface IAggregation { typeOf: AggregationType; /** * 全プロジェクトの場合、id:* */ project: { id: string; typeOf: OrganizationType.Project; }; /** * 集計日時 */ aggregateDate: Date; /** * 集計対象間隔 * PT1H or P1D */ aggregateDuration: string; /** * 集計対象範囲開始日時 */ aggregateStart: Date; aggregationByClient?: IAggregationByClient[]; }