import { factory } from '../../../../factory'; import type { AssetTransactionRepo } from '../../../../repo/assetTransaction'; import type { AuthorizationRepo } from '../../../../repo/authorization'; import type { EventRepo, IMinimizedIndividualEvent } from '../../../../repo/event'; import type { EventOfferRepo } from '../../../../repo/eventOffer'; import { EventSeriesRepo } from '../../../../repo/eventSeries'; import type { IssuerRepo } from '../../../../repo/issuer'; import type { MemberRepo } from '../../../../repo/member'; import type { MemberProgramRepo } from '../../../../repo/memberProgram'; import type { OfferRepo } from '../../../../repo/offer/unitPriceInCatalog'; import type { OfferCatalogRepo } from '../../../../repo/offerCatalog'; import type { OfferCatalogItemRepo } from '../../../../repo/offerCatalogItem'; import type { PaymentServiceRepo } from '../../../../repo/paymentService'; import type { SeatRepo } from '../../../../repo/place/seat'; import type { PriceSpecificationRepo } from '../../../../repo/priceSpecification'; import type { ProductRepo } from '../../../../repo/product'; import type { OfferRateLimitRepo } from '../../../../repo/rateLimit/offer'; import type { SettingRepo } from '../../../../repo/setting'; import type { IntegrationSettingRepo } from '../../../../repo/setting/integration'; import type { StockHolderRepo } from '../../../../repo/stockHolder'; import type { TaskRepo } from '../../../../repo/task'; import type { TicketRepo } from '../../../../repo/ticket'; import { IResultAcceptedOffer } from './factory'; declare function processStartReserve4chevre(params: { acceptedOffers: factory.assetTransaction.reserve.IAcceptedTicketOfferWithoutDetail[]; event: Pick & { offers?: { validForMemberTier?: never; identifier?: string; }; }; broker?: factory.reservation.IBroker; transactionNumber: string; transaction: Pick; availableAtOrFrom: { id: string; }; ticketOffers: factory.product.ITicketOffer[]; unitPriceOffers: factory.unitPriceOffer.IUnitPriceOffer[]; validateEventOfferPeriod: boolean; validateEvent: boolean; orderNumber: string; instrument: factory.action.reserve.ITicketAsInstrument[]; }, options: { /** * 最大n日前から予約可能 */ maxReservationGracePeriodInDays: number; }): (repos: { authorization: AuthorizationRepo; stockHolder: StockHolderRepo; event: EventRepo; eventOffer: EventOfferRepo; eventSeries: EventSeriesRepo; issuer: IssuerRepo; member: MemberRepo; memberProgram: MemberProgramRepo; offer: OfferRepo; offerCatalog: OfferCatalogRepo; offerCatalogItem: OfferCatalogItemRepo; offerRateLimit: OfferRateLimitRepo; paymentService: PaymentServiceRepo; product: ProductRepo; priceSpecification: PriceSpecificationRepo; seat: SeatRepo; setting: SettingRepo; integrationSetting: IntegrationSettingRepo; task: TaskRepo; ticket: TicketRepo; assetTransaction: AssetTransactionRepo; }) => Promise<{ acceptedOffers4result: IResultAcceptedOffer[]; }>; export { processStartReserve4chevre };