import type { AggregateActionRepo } from '../../repo/aggregateAction'; import type { AggregateCheckMovieTicketActionRepo } from '../../repo/aggregateCheckMovieTicketAction'; import type { AggregateEventRepo } from '../../repo/aggregateEvent'; import type { AggregateUseActionRepo } from '../../repo/aggregateUseAction'; import type { AggregateAssetTransactionRepo } from '../../repo/aggregateAssetTransaction'; import type { AggregateScheduledTaskRepo } from '../../repo/aggregateScheduledTask'; import type { AggregateTaskRepo } from '../../repo/aggregateTask'; import type { AggregateTransactionRepo } from '../../repo/aggregateTransaction'; import type { AggregationRepo } from '../../repo/aggregation'; import type { OrderRepo } from '../../repo/order'; type AggregateDurationUnit = 'days' | 'hours'; interface IAggregateParams { aggregateDate: Date; aggregateDurationUnit: AggregateDurationUnit; aggregationCount: number; excludedProjectId?: never; } declare function aggregateEvent(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateEvent: AggregateEventRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; /** * 注文集計 */ declare function aggregateOrder(params: IAggregateParams): (repos: { agregation: AggregationRepo; order: OrderRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; /** * 注文取引集計 */ declare function aggregatePlaceOrder(params: IAggregateParams & { clientIds?: string[]; }): (repos: { agregation: AggregationRepo; aggregateTransaction: AggregateTransactionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; /** * 興行オファー承認アクション集計 */ declare function aggregateAuthorizeEventServiceOfferAction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateAction: AggregateActionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; /** * 決済承認アクション集計 */ declare function aggregateAuthorizePaymentAction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateAction: AggregateActionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; declare function aggregateAuthorizeOrderAction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateAction: AggregateActionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; /** * 使用アクション集計 */ declare function aggregateUseAction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateUseAction: AggregateUseActionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; /** * 予約アクション集計 */ declare function aggregateReserveAction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateAction: AggregateActionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; /** * 注文アクション集計 */ declare function aggregateOrderAction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateAction: AggregateActionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; /** * 予約取消アクション集計 */ declare function aggregateCancelReservationAction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateAction: AggregateActionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; declare function aggregateCheckMovieTicketAction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateCheckMovieTicketAction: AggregateCheckMovieTicketActionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; declare function aggregatePayMovieTicketAction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateAction: AggregateActionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; declare function aggregatePayTransaction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateAssetTransaction: AggregateAssetTransactionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; /** * 予約集計 */ declare function aggregateReserveTransaction(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateAssetTransaction: AggregateAssetTransactionRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; declare function aggregateTask(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateTask: AggregateTaskRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; declare function aggregateScheduledTask(params: IAggregateParams): (repos: { agregation: AggregationRepo; aggregateScheduledTask: AggregateScheduledTaskRepo; }) => Promise<{ aggregationCount: number; aggregateDuration: string; }>; export { aggregateAuthorizeEventServiceOfferAction, aggregateAuthorizeOrderAction, aggregateAuthorizePaymentAction, aggregateCancelReservationAction, aggregateCheckMovieTicketAction, aggregateEvent, aggregateOrder, aggregateOrderAction, aggregatePayMovieTicketAction, aggregatePayTransaction, aggregatePlaceOrder, aggregateReserveAction, aggregateReserveTransaction, aggregateTask, aggregateScheduledTask, aggregateUseAction };