import { IParticipantAsPerson, IParticipantAsSoftwareApplication, IParticipantAsWebApplication } from '../action'; import { IExtendId } from '../autoGenerated'; import { EventType } from '../eventType'; import { ITaskAttributes } from '../task'; import { TaskName } from '../taskName'; export type IAgent = IParticipantAsPerson | IParticipantAsSoftwareApplication | IParticipantAsWebApplication; export interface IReplaceEventSeriesAction { agent: IAgent; object: { locationBranchCode: string; titleCode: string; titleBranchNum: string; typeOf: EventType.ScreeningEventSeries; }; } export interface IReplaceEventsAction { agent: IAgent; object: { locationBranchCode: string; roomCode: string; titleCode: string; titleBranchNum: string; startDate: Date; typeOf: EventType.ScreeningEvent; }; } export type IData = IReplaceEventSeriesAction | IReplaceEventsAction; export interface IAttributes extends ITaskAttributes { name: TaskName.SyncResourcesFromCOA; data: IData; } /** * リソース同期タスク */ export type ITask = IExtendId;