This package has been superseded by the package
@entur/offer-configuration-utilities, which is a combination of
@entur/reduce-customers-for-offer-configuration and
@entur/reduce-customers-for-offer-configuration. This package will remain
private until someone outside the organization requests it.
If you work outside Entur, want to use @entur/offer-configuration-utilities,
and it is not public when you click the following link, send an email to Entur
describing the problem (and mention “Team betjent”):
https://www.npmjs.com/package/@entur/offer-configuration-utilities
Create an array of offer configurations exactly as prescribed by the possibleTravellerIds field in an OfferToBuy
This package was deprecated on 2023-12-22. The team that maintained it at Entur has incorporated it into its (private) monorepo. If you want to see public updates to it again, send an email to post@entur.org, and ask for Team betjent.
Install with npm
npm install @entur/reduce-customers-for-offer-configurationInstall with yarn
yarn add @entur/reduce-customers-for-offer-configurationSee the jsdoc-comments and tests
npm run testContributions are always welcome!
Fork the repository from and open a PR.