Skip to content

v0.5.0

Choose a tag to compare

@markus-peltola markus-peltola released this 20 Dec 09:29
· 4 commits to main since this release

❗ Breaking changes

  • Old products.getProduct() where you give product code as a string parameter is now deprecated
    const products = await fivaldi.products.getProduct('123'); // Deprecated method
  • New products.getProduct() method now needs product code as object paramter
    const products = await fivaldi.products.getProduct({ productCode: '123' }); // New method
  • Product code parameter now supports special characters

New methods

  • Added a new method chartOfAccounts.dimensions() for creating new accounts under dimension

Fixes and other updates

  • Fixes to interface types
  • Added new properties to some interfaces