@entur/add-customers-to-offer-configurations
Advanced tools
Comparing version 1.1.0 to 1.1.1
import type { Offer } from './offersTypes'; | ||
import { OfferConfiguration, Customer } from './reserveOfferTypes'; | ||
/** This is a stripped down version of the Offer type, containing only the root keys that we need. The hope is that this will lead to fewer updates because the type has changed. */ | ||
declare type StrippedOffer = Pick<Offer, 'id' | 'travelerMapping' | 'salesPackageConfig'>; | ||
/** | ||
@@ -10,2 +12,3 @@ * Enriches offerConfigurations with the supplied customer profiles | ||
*/ | ||
export default function addCustomersToOfferConfigurations(customers: Customer[], offerConfigurations: OfferConfiguration[], offers: Offer[]): OfferConfiguration[]; | ||
export default function addCustomersToOfferConfigurations(customers: Customer[], offerConfigurations: OfferConfiguration[], offers: StrippedOffer[]): OfferConfiguration[]; | ||
export {}; |
{ | ||
"name": "@entur/add-customers-to-offer-configurations", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Adds customers to a group of offer configurations, given the offers used to generate them", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
201213
4324
0