Commit graph

8 commits

Author SHA1 Message Date
Tom c7d525a60f
fix(Wise Node): Respect time parameter on get: exchangeRate (#3227) 2022-05-02 10:03:29 +02:00
Omar Ajoue d3fecb9f6d
🎨 Centralize error throwing for encryption keys and credentials (#3105)
* Centralized error throwing for encryption key

* Unifying the error message used by cli and core packages

* Improvements to error messages to make it more DRY

* Removed unnecessary throw

* Throwing error when credential does not exist to simplify node behavior (#3112)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-04-15 08:00:47 +02:00
Iván Ovejero 027dfb2f0a
Enable esModuleInterop compiler option and upgrade to TypeScript 4.6 (#3106)
*  Enable `esModuleInterop` for /core

*  Adjust imports in /core

*  Enable `esModuleInterop` for /cli

*  Adjust imports in /cli

*  Enable `esModuleInterop` for /nodes-base

*  Adjust imports in /nodes-base

*  Make imports consistent

* ⬆️ Upgrade TypeScript to 4.6 (#3109)

* ⬆️ Upgrade TypeScript to 4.6

* 📦 Update package-lock.json

* 🔧 Avoid erroring on untyped errors

* 📘 Fix type error

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-04-08 23:32:08 +02:00
pemontto f350b9e1c0
🐛 Handle Wise SCA requests (#2734) 2022-03-06 11:41:01 +01:00
Iván Ovejero 2b74b6238e
Deprecate step size and node color (#2586)
* 🔥 Deprecate numberStepSize

* 🔥 Deprecate color in non-FA nodes

*  Minor node name fixes

* 📦 Update package-lock.json

*  Restore Merge node color

* 👕 Fix lint
2021-12-23 13:30:35 +01:00
Omar Ajoue 7ce7285f7a
Load credentials from the database (#1741)
* Changes to types so that credentials can be always loaded from DB

This first commit changes all return types from the execute functions
and calls to get credentials to be async so we can use await.

This is a first step as previously credentials were loaded in memory and
always available. We will now be loading them from the DB which requires
turning the whole call chain async.

* Fix updated files

* Removed unnecessary credential loading to improve performance

* Fix typo

*  Fix issue

* Updated new nodes to load credentials async

*  Remove not needed comment

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-20 18:57:30 +02:00
Ricardo Espinoza 233fc72dc2
Add the posiblity to set multi-select fields with the names (#1892)
*  Add the posiblity to set multi-select fields with the names

* 🐛 Fix issue with expressions

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-13 19:17:39 +02:00
Iván Ovejero 8d2371917f
Add Wise node (#1496)
* 🎉 Register node and credentials

* 🎨 Add SVG icon

*  Add node stub

*  Update credentials registration

*  Add API credentials

*  Add generic functions stub

*  Update node stub

*  Add stubs for resource descriptions

* 🎨 Fix SVG icon size and positioning

* 🔨 Fix credentials casing

*  Implement account operations

*  Add borderless accounts to account:get

*  Remove redundant option

*  Complete account:get with statement

*  Implement exchangeRate:get

*  Implement profile:get and profile:getAll

*  Implement quote:create and quote:get

*  Add findRequiredFields for recipient:create

* 🔥 Remove resource per feedback

*  Implement transfer:create

*  Implement transfer:delete and transfer:get

* 📚 Add documentation links

*  Implement transfer:getAll

*  Implement transfer:execute

*  Simulate transfer completion for PDF receipt

*  Remove logging

*  Add missing divider

*  Add Wise Trigger and improvements

* 🔨 Refactor account operations

*  Small improvement

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-03-10 23:51:05 +01:00