import { IParticipantAsProject, IAction as IBaseAction, IAttributes as IBaseAttributes, ISameAs } from '../action'; import { ActionType } from '../actionType'; import { ISimpleOrder } from '../order'; import { IOrderAsMainEntity, IReportDocument } from '../report/accountingReport'; export type IAgent = IParticipantAsProject; export type IObjectAsAccountingReport = Pick & { mainEntity: Pick; }; export type IObject = IObjectAsAccountingReport; export interface IResult { } export type IPurposeAsOrder = ISimpleOrder; export type IPurpose = IPurposeAsOrder; export interface IAttributes extends Pick, 'agent' | 'error' | 'object' | 'project' | 'purpose' | 'sameAs' | 'typeOf'> { agent: IAgent; purpose: IPurpose; /** * 必ずCreateAccountingReportタスクからアクションが発生する */ sameAs: ISameAs; } /** * 経理レポート作成アクション */ export type IAction = IBaseAction;