@chevre/domain
Version:
Chevre Domain Library for Node.js
20 lines (19 loc) • 995 B
TypeScript
import type { PriceSpecificationRepo } from '../../../repo/priceSpecification';
import * as factory from '../../../factory';
type ICategoryCodeChargePriceSpecification = factory.priceSpecification.IPriceSpecification<factory.priceSpecificationType.CategoryCodeChargeSpecification>;
type IMovieTicketTypeChargePriceSpecification = factory.priceSpecification.IPriceSpecification<factory.priceSpecificationType.MovieTicketTypeChargeSpecification>;
declare function searchPriceSpecs4event(params: {
project: {
id: string;
};
soundFormatTypes: string[];
videoFormatTypes: string[];
availableOffers: factory.unitPriceOffer.IUnitPriceOffer[];
}): (repos: {
priceSpecification: PriceSpecificationRepo;
}) => Promise<{
soundFormatChargeSpecs: ICategoryCodeChargePriceSpecification[];
videoFormatChargeSpecs: ICategoryCodeChargePriceSpecification[];
movieTicketTypeChargeSpecs: IMovieTicketTypeChargePriceSpecification[];
}>;
export { searchPriceSpecs4event };