import { IAvailableAtOrFrom, IEligibleQuantity } from './offer'; import { OrganizationType } from './organizationType'; export interface ISchedule { /** * The duration of the item (movie, audio recording, event, etc.) in ISO 8601 duration format. */ duration: string; /** * Indicates the timezone for which the time(s) indicated in the Schedule are given. * Asia/Tokyo */ scheduleTimezone: string; /** * HH:mm:ss */ startTime: string; /** * HH:mm:ss */ endTime: string; /** * Defines the frequency at which Events will occur according to a schedule Schedule. */ repeatFrequency: string; typeOf: 'Schedule'; } export interface IEventWithSchedule { project: { id: string; typeOf: OrganizationType.Project; }; /** * スケジュールID */ id?: string; offers?: { eligibleQuantity?: Pick; itemOffered?: { /** * 興行ID */ id?: string; }; seller?: { /** * 販売アプリケーション設定 */ makesOffer?: { availableAtOrFrom: IAvailableAtOrFrom; }[]; }; }; superEvent?: { /** * 施設コンテンツID */ id?: string; }; location?: { /** * ルームコード */ branchCode?: string; }; eventSchedule: ISchedule; }