Commit graph

111 commits

Author SHA1 Message Date
Iván Ovejero 1d27a9e87e
Improve node error handling (#1309)
* Add path mapping and response error interfaces

* Add error handling and throwing functionality

* Refactor error handling into a single function

* Re-implement error handling in Hacker News node

* Fix linting details

* Re-implement error handling in Spotify node

* Re-implement error handling in G Suite Admin node

* 🚧 create basic setup NodeError

* 🚧 add httpCodes

* 🚧 add path priolist

* 🚧 handle statusCode in error, adjust interfaces

* 🚧 fixing type issues w/Ivan

* 🚧 add error exploration

* 👔 fix linter issues

* 🔧 improve object check

* 🚧 remove path passing from NodeApiError

* 🚧 add multi error + refactor findProperty method

* 👔 allow any

* 🔧 handle multi error message callback

*  change return type of callback

*  add customCallback to MultiError

* 🚧 refactor to use INode

* 🔨 handle arrays, continue search after first null property found

* 🚫 refactor method access

* 🚧 setup NodeErrorView

*  change timestamp to Date.now

* 📚 Add documentation for methods and constants

* 🚧 change message setting

* 🚚 move NodeErrors to workflow

*  add new ErrorView for Nodes

* 🎨 improve error notification

* 🎨 refactor interfaces

*  add WorkflowOperationError, refactor error throwing

* 👕 fix linter issues

* 🎨 rename param

* 🐛 fix handling normal errors

*  add usage of NodeApiError

* 🎨 fix throw new error instead of constructor

* 🎨 remove unnecessary code/comments

* 🎨 adjusted spacing + updated status messages

* 🎨 fix tab indentation

*  Replace current errors with custom errors (#1576)

*  Introduce NodeApiError in catch blocks

*  Introduce NodeOperationError in nodes

*  Add missing errors and remove incompatible

*  Fix NodeOperationError in incompatible nodes

* 🔧 Adjust error handling in missed nodes

PayPal, FileMaker, Reddit, Taiga and Facebook Graph API nodes

* 🔨 Adjust Strava Trigger node error handling

* 🔨 Adjust AWS nodes error handling

* 🔨 Remove duplicate instantiation of NodeApiError

* 🐛 fix strava trigger node error handling

* Add XML parsing to NodeApiError constructor (#1633)

* 🐛 Remove type annotation from catch variable

*  Add XML parsing to NodeApiError

*  Simplify error handling in Rekognition node

*  Pass in XML flag in generic functions

* 🔥 Remove try/catch wrappers at call sites

* 🔨 Refactor setting description from XML

* 🔨 Refactor let to const in resource loaders

*  Find property in parsed XML

*  Change let to const

* 🔥 Remove unneeded try/catch block

* 👕 Fix linting issues

* 🐛 Fix errors from merge conflict resolution

*  Add custom errors to latest contributions

* 👕 Fix linting issues

*  Refactor MongoDB helpers for custom errors

* 🐛 Correct custom error type

*  Apply feedback to A nodes

*  Apply feedback to missed A node

*  Apply feedback to B-D nodes

*  Apply feedback to E-F nodes

*  Apply feedback to G nodes

*  Apply feedback to H-L nodes

*  Apply feedback to M nodes

*  Apply feedback to P nodes

*  Apply feedback to R nodes

*  Apply feedback to S nodes

*  Apply feedback to T nodes

*  Apply feedback to V-Z nodes

*  Add HTTP code to iterable node error

* 🔨 Standardize e as error

* 🔨 Standardize err as error

*  Fix error handling for non-standard nodes

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
2021-04-16 18:33:36 +02:00
Harshil Agrawal a503c0e86b
Add new codex files and fix previous files (#1608)
*  Add new codex files and fixed previous files

* 🔨 Minor fix

* 🔨 Minor fix
2021-04-10 10:18:10 +02:00
Harshil Agrawal f258f3ca33
Add Node Codex (#1335)
*  Add Node Codex 📇

* Add codex files for new nodes

*  Change category for Affinity

* 🔨 Fix credential documentation link

* Improve styling

* Add blogposts

Co-authored-by: Amudhan <sm.amudhan@live.com>
2021-01-14 13:56:07 +01:00
Jan Oberhauser 785b0e385e 👕 Fix lint issue 2021-01-13 20:20:30 +01:00
Jan Oberhauser 4fd6c06d65 Load more options on ActiveCampaign Node 2020-12-29 19:13:52 +01:00
Ricardo Espinoza 0f0e67eb30
Now tags are loaded for the user (contactTag:add) (#1267) 2020-12-23 08:23:40 +01:00
Jan Oberhauser 79ccf6a2e9 Revert wrong bugfix and fix typo 2020-11-19 08:37:19 +01:00
Ricardo Espinoza db47892e77
Add contact list and list resources to Active Campaign Node (#1187)
* ⬆️ Set google-fonts-webpack-plugin to latest version
*  Add Contact List and List resources to Active Campaign Node
2020-11-19 08:37:01 +01:00
Jan Oberhauser 66bfcca63f 🐛 Fix issue with IF&Switch node for undefined expressions #1099 2020-10-26 09:43:01 +01:00
Jan Oberhauser 40c2acd77b 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Tanay Pant 8a3518ac7e
🔨 Fix branding for ActiveCampaign 2020-10-20 12:11:23 +02:00
Ricardo Espinoza 3a73493aeb
Add Clockify Node (#997)
* Added pull.yml back after reset

* Added Clockify Entry

* Created ClockifyWriter

*  Improvements to #988

*  Improvements

*  Improvements

Co-authored-by: Ethan Sowell <ethan.sowell@dominion.solutions>
Co-authored-by: Mark Horninger <mark.horninger@dominion.solutions>
2020-10-04 16:28:05 +02:00
Jan Oberhauser fe802c8f76 👕 Fix built issue by fixing lint issues 2020-10-01 15:18:47 +02:00
Jan Oberhauser ed0f701c6a Minor improvements to ActiveCampaign-Node 2020-09-18 09:42:46 +02:00
Ricardo Espinoza a552febab4
Feature/extended active campaign (#928)
* feat: 🎸 node/activecampaign account, tag, account contact

* feat: 🎸 node/ActiveCampaign Update an accountContact assoc

* feat: 🎸 node/activecampaign Update an account

* feat: 🎸 node/activecampaign Get an account

* feat: 🎸 node/activecampaign GetAll & Delete an account

* feat: 🎸 node/activecampaign change ID's type to number

* refactor: 💡 node/activecampaign merge getAll properties

*  Improvements to #923

*  Improvements

*  Improvements

*  Add breaking change message

Co-authored-by: Ronald Diquélou <rdiquelou@opensafepro.com>
2020-09-18 09:42:01 +02:00
Rupenieks 72102faed5
Add Paddle Integration (#726)
* 🚧 Resource descriptions

* 🚧 Node logic / Genericfunctions setup

* 🚧 Tests / changes

* 🚧 Changes

- Added loadOptions to Payments / Coupon properties for easier item selection
- Added exemptions for how data is returned due to inconsistent data return object from API
- Other small fixes in main node

* 🚧 Simplified HTTPS error response

* 🚧 Added RAW Data options

* 🔥 Removed order resource

- Cannot fetch order without a checkout ID, which can only be obtained via a custom implementation which involves a callback function when a user goes through their checkout process.

*  Improvement to Paddle-Node

*  Improvements

*  Added all currencies, discount grouped properties to coupon update

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2020-08-25 10:50:39 +02:00
Jan Oberhauser 24a3a02180 Optimize integration icon images 2020-02-05 17:35:16 -08:00
Jan Oberhauser 04fcdad549 👕 Fix lint issue 2020-01-14 16:24:54 -06:00
Ricardo Espinoza cb325e5892 activecampaign trigger 2020-01-14 11:13:17 -05:00
Ricardo Espinoza 08c95f989c added create a payout batch 2019-11-23 19:36:47 -05:00
Jan Oberhauser 98ac7f3cc1 Remove not needed import 2019-11-07 21:20:08 +01:00
quansenB 74d1f24981 change spaces to tabs 2019-11-07 10:50:02 +01:00
quansenB baf46f4d89 finish connections work 2019-11-04 00:00:59 +01:00
quansenB 5ca6383048 add deepdata integration connection support 2019-11-03 22:25:45 +01:00
quansenB e029468171 add connection description 2019-11-03 22:17:43 +01:00
quansenB 7da53ad943 more tslint changes 2019-11-03 21:49:49 +01:00
quansenB bc6acaff72 tslint changes 2019-11-03 21:47:23 +01:00
quansenB e764748aa1 add ecommerce order products functionality 2019-11-03 21:18:58 +01:00
quansenB 9a3a0d150b add ecom order products option decrisption 2019-11-03 17:58:46 +01:00
quansenB 0da9c03587 add ecom customer functionality 2019-11-03 16:42:18 +01:00
quansenB 2c4702d75c format changes 2019-11-03 12:49:03 +01:00
quansenB 09d00fc0d7 refactor node description 2019-11-03 12:47:36 +01:00
quansenB 6bd391a35e finish ecom order endpoints 2019-11-02 23:11:55 +01:00
quansenB a69426d6ba add rest of ecommerce description 2019-11-02 21:49:45 +01:00
quansenB 925586e543 add create ecommerce node description 2019-11-02 19:48:29 +01:00
quansenB 2e56730fad delete left over deleteNote code and change defdault currencies 2019-10-29 23:45:20 +01:00
quansenB 51a6b47985 display pipeline, owner and stage as default in create deal 2019-10-29 20:08:23 +01:00
quansenB 4cbbdda8c1 add eur as default at update deal 2019-10-29 19:53:02 +01:00
quansenB 3d42a0f0e6 add currency dropdown 2019-10-29 19:51:09 +01:00
quansenB 9072f9212e remove console.logs 2019-10-25 18:26:43 +02:00
quansenB ccfcd6fc68 fix deal noe update 2019-10-25 18:23:34 +02:00
quansenB 5b335c1578 fix dealNote bug 2019-10-25 18:18:33 +02:00
quansenB 78997ddeac rename fields to how they appear in APi to prevent bug 2019-10-25 17:48:46 +02:00
quansenB 12a0592896 exclude unnecessary import 2019-10-25 16:57:26 +02:00
quansenB a09d6dfbf6 exclude unnecessary import 2019-10-25 16:56:15 +02:00
quansenB 66a335054f add dealnote functionality 2019-10-25 16:48:53 +02:00
quansenB 819efc50e5 add error handling for unknon operations 2019-10-25 16:30:58 +02:00
quansenB 4f1a096139 refactor deal update to take add field format 2019-10-25 16:25:16 +02:00
quansenB 0034a17b17 revert to addition fields design choice 2019-10-25 16:15:01 +02:00
quansenB f5c585c7be add not required fields to body.deal obj 2019-10-25 15:47:43 +02:00
quansenB 8b7398bf39 add dealId to update decription 2019-10-25 14:51:46 +02:00
quansenB 16e9c41f27 fix some small things in node description 2019-10-25 14:50:15 +02:00
quansenB 683c889a14 set up functionality layout 2019-10-25 14:24:24 +02:00
quansenB e896c1c319 rorder resources 2019-10-25 02:50:03 +02:00
quansenB cd28bbcbdc rename deal id 2019-10-24 20:50:57 +02:00
quansenB 445384a590 deal-note-description 2019-10-24 20:21:28 +02:00
quansenB a1fed27229 add CRUD deal descriptions 2019-10-24 20:15:57 +02:00
Jan Oberhauser 9b95072be8 Revert commit 2019-09-11 21:56:45 +02:00
Jan Oberhauser 9bd5d4bec1 First try to get custom properties to work with v1 2019-09-11 17:15:42 +02:00
Jan Oberhauser 296fbbc26c Add possiblity to define custom fields on ActiveCampaign-Node 2019-09-04 18:50:02 +02:00
Jan Oberhauser 937e424806 Add ActiveCampaign-Node 2019-08-21 08:45:03 +02:00