UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

42 lines (41 loc) 1.44 kB
import type { EventRepo } from '../../../repo/event'; import type { EventSeriesRepo } from '../../../repo/eventSeries'; import type { OfferRepo } from '../../../repo/offer/unitPriceInCatalog'; import type { OfferCatalogRepo } from '../../../repo/offerCatalog'; import type { ProductRepo } from '../../../repo/product'; import * as factory from '../../../factory'; /** * オファーで利用可能な適用決済カード条件を検索する * プロダクトのひとつめのカタログのみ検索対象なので注意 * また、サブカタログによるカタログが設定されている場合、カタログのひとつめのサブカタログのみが検索対象 */ declare function searchOfferAppliesToMovieTicket(params: { event: { /** * イベントID */ id: string; }; /** * どのアプリケーションに対して */ store?: { id?: string; }; limit?: number; page?: number; /** * 有効なオファーのみ対象とするか */ onlyValid?: boolean; options: { useIncludeInDataCatalog: boolean; }; }): (repos: { event: EventRepo; eventSeries: EventSeriesRepo; offer: OfferRepo; offerCatalog: OfferCatalogRepo; product: ProductRepo; }) => Promise<Pick<factory.priceSpecification.unitPrice.IAppliesToMovieTicket, "serviceOutput">[]>; export { searchOfferAppliesToMovieTicket };