import { IParticipantAsCustomer, IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from '../../../action'; import { ISimpleOrder } from '../../../order'; import { IGood, IOwnershipInfo } from '../../../ownershipInfo'; import { IAction as IBaseAction, IAttributes as IBaseAttributes } from '../send'; export type IAgent = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication; export type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer; export type IObject = ISimpleOrder & { /** * 配送対象オファー(2024-01-11~) */ acceptedOffers?: { limit: number; page: number; }; }; /** * 注文配送結果としての所有権 */ export type IResult = Pick, 'id' | 'identifier'>[]; export interface IAttributes extends Pick, 'typeOf' | 'result' | 'recipient' | 'project' | 'object' | 'error' | 'agent'> { agent: IAgent; recipient: IRecipient; } /** * 注文配送アクション */ export type IAction = IBaseAction;