All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Minimum node version is now 14.20.0
- Fixed failing Portokasse login after platform links were updated (Thanks to @as19git67)
- Rounding error in shopping cart summary total price (Thanks to @as19git67)
- Product matching based on content information
- Paper and envelope calculations for product matching
- Product now have a
properties
key with various information about the usage and features of the product as well as flags for registered, priority and tracking ability
- Product structure for weight and dimension ranges changed
- Shopping cart matches product with receiver address to avoid wrong vouchers
- User did not set wallet balance if it was empty with zero Euros
- The domestic flag for products did not match the actual data structure
- Support for catalogs from ProdWS
ShoppingCart
now has vouchers in the new propertyvouchers
- Orders can now be downloaded to your computer
- PNG orders also extract the archive after download
- All useful interfaces are now available from the main package
- Credentials are now copied before use in the credential stores
- Fixed typo in
OneClickForAppServiceOptions
- Order response property
walletBallance
is now optional as it does not occur in the response ofretrieveOrder()
- Portokasse journal lists top up and order history
- Checkout supports PPL versions of products
- Using the
.cache
directory instead of the global/tmp
folder
- Added eslint and prettier to the project and updated code style
- Checkout option
shopOrderId
is now a number
- Overall error handling from services and stability update
- Services now take care of initialization state by theirself
- Local shopping cart options can be used prior to 1C4A service init
- Rounding error in total amount of shopping cart summary
getShoppingCartSummary()
now has return typeShoppingCartSummary
- Portokasse service support to top up your account
- Dependency injection with inversify
- Addresses now support state codes that get added in front of the zip code
getUserInfo()
returns a promise as it makes use of the Portokasse service to retrieve live wallet balance data
- Run scripts work on Windows as well
- Shopping car items support product price in cents together with the product code if the ProdWS is not used
- dryrun checkout is default in test environment
- Added user data information
- User info can only be updated once the user is authenticated
- User info
showTermsAndConditions
is now updated if false is provided
- Product list can be loaded for a given date to retrieve outdated products
- Code coverage support with codecov
- More detailed user information data are retrieved from
internetmarke.getUserInfo()
- Restructured readme
- Cached files get invalid if the internetmarke package received an update
- Adjusted tests for the new app structure
- Address parser is now more generic
- Named address fields
salutation
andtitle
can now be added
- PDF format support for preview and ordered vouchers
- The output format of a shopping cart can be defined during checkout
- Page format template are loaded from the server (for PDF format)
- All static content lists from the services are cached file based
- Vouchers (preview and ordered) support images from the public gallery
- Manifest and shopping list PDF support for ordered shopping cart
- For testing the
dryrun
option on checkout only validates the shopping cart locally - Order management for the shopping cart can retrieve, update and remove items
- Page format positions are generated by default if not defined
- Complete example file in
examples
folder for easier adopion
- TypeScript rewrite of the whole project
- Switched from pino to debug logger
- Switched from Travis to GitHub ctions
- Earlier 0.3.0 api is outdated and incompatible with 0.4.0
- Product service provides available products
- File cache stores product list for a day
- Retrieve earlier orders by id
internetmarke.orderVoucher
now takes a productCode or product from the product service
- Error handling to prevent invalid usage
- Refactored 1C4A service to own file
- Error handling in order process
- Converted numeric address zip to string
- Support for sender and receiver addresses for vouchers
- Generate vouchers in PNG format without addresses
- Generate order id
- Preview PNG vouchers
- AddressZone and FrankingZone layout supported
- Load public gallery images