Commit graph

159 commits

Author SHA1 Message Date
Iván Ovejero b4f4ecc77e
Add Stripe regular node (#1470)
* 🎉 Register node

* 🎨 Add SVG icon

*  Add preliminary node stub

*  Add resource description stubs

* 🎨 Fix SVG size and position

*  Implement charge operations

*  Implement customer operations

* 🎨 Apply cosmetic changes

*  Fix customer address fields

*  Add stub and fields for invoice

*  Add invoice item stubs

*  Implement source operations

*  Reduce scope per feedback

*  Add continueOnFail functionality

* 🎨 Prettify error thrown

* 🔥 Remove unused resource

*  Replace source in card with token

* 🔨 Remove logging

* 🔧 Fix shipping address in charge:create

* 🔧 Load update fields for charge:update

*  Implement token:create to ease testing

*  Simplify card token fields

*  Update description parameters

* 🔧 Fix field adjusters

*  Remove unused source options

* 🔧 Fix shipping fields adjuster

* 🔥 Remove PNG icon

* 🔥 Remove logging

* 🔨 Reorder address fields

* 🐛 Fix shipping field in charge:update

* 💄 Apply cosmetic change

*  Small improvements

*  Fix lintings in main file

*  Lint all descriptions

*  Add target="_blank" attribute

*  Fix various lintings for charge

*  Fix lintings for coupon

*  Fix lintings for customer

*  Fix lintings for source

*  Fix lintings for token

*  Reorder address fields

*  Fix casing in credentials

* 🔨 Place recipient name above address in shipping

*  Remove references to string in descriptions

*  Apply minor renamings

* 🔥 Remove logging

* 🔨 Simplify error handling

*  Fix indentation

*  Move cardFields to root level for Token creation

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-10 13:15:14 +02:00
Iván Ovejero e2aa8ae9b8
🔨 Standardize the simple response option (#1813) 2021-07-10 11:38:45 +02:00
Mutasem Aldmour 276eaea4bf
Clean up node description (#1883)
Co-authored-by: Jan <janober@users.noreply.github.com>
2021-07-03 14:40:16 +02:00
Kaito Udagawa 6d8ea4bff5
🐛 Fix Google Sheet to handle 0 correctly (#1937)
* 🐛 Fix Google Sheet to handle 0 correctly

`if (condition) { statement }` will not be executed if the `condition` is `0` (number) so that appending 0 to Google Sheets results in an empty cell.
Checking if the value is `null` or `undefined` is enough to guarantee that `toString` is callable.

* 🐛 Add semicolon
2021-07-03 12:46:30 +02:00
Harshil Agrawal 4d35eafc0b
Add aliases (#1935) 2021-06-27 13:34:08 +02:00
Ricardo Espinoza 2ec52cf207
Add Google Docs node (#1831)
*  Add Google Docs node

* Implement continueOnFail

* Add insert:Table and insert/delete:TableRow,TableColumn

* Lint fixes

* Fix typos, casing and enhance code readability

* Enhance code readability & apply review changes

*  Review Google Docs node

* Apply review changes

* Minor fix

* Improvements

* Clean up

* Enhance inputs descriptions

* Removed unused type fields

* Minor fix

*  Small improvements

*  Small change

* Use Document URL insead of ID and support adding content at creation

* Refactored node to make it more user friendly

* Improve get operation

* Add simple output to get operation

* Add service account

* Apply review suggestions

* Improvements

* Enable continueOnFail

*  Minor improvements

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-27 11:48:24 +02:00
Jan Oberhauser 876cf7323d Add Dimension Filters to Google Analyics Node 2021-06-25 15:51:02 +02:00
Jan Oberhauser 6c7e1ec3c9 🐛 Do not error if there is no data on Google Analytics + Sort 2021-06-25 15:38:32 +02:00
Iván Ovejero 07a3dbb372
Add status code for service account error (#1707) 2021-06-22 19:59:27 +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
Ricardo Espinoza e298d2a1a8
Extend Google Drive node upload functionality (#1872)
* Add a function to validate JSON - copied from other nodes.

* Add properties and appProperties attributes.

*  Improvements to #1637

Co-authored-by: vbouchet <vincent.bouchet.31@gmail.com>
2021-06-08 22:34:11 -05:00
Harshil Agrawal 440971673c
Add and update codex files (#1834)
*  Add and update codex files

* 🔨 Fix codex format

* 🔨 Fix codex format for remaining files
2021-05-28 14:54:52 -05:00
Ricardo Espinoza 61937c52ba
🐛 Fix issue when using any operation of the resource drive (#1818)
* 🐛 Fix issue when using any operation of the resource drive

* 🐛 Remove console.log

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-05-24 16:51:06 -05:00
Iván Ovejero b42e1dc366
🐛 Fix parsing issues in Firestore node (#1759)
*  Fix empty document parsing

*  Add geopoint parsing

*  Fix date misdetection

* 🔥 Remove logging

*  Add ISO-8601 format to date validation
2021-05-12 14:21:56 -05:00
Jan Oberhauser afce58c19a 🐛 Fix issue with Google Sheets update with custom key row #1736 2021-05-09 14:15:47 -05:00
Ricardo Espinoza 3a1a5fd49c
Add pagination to resource report for Google Analytics (#1755) 2021-05-08 15:26:06 -05:00
Iván Ovejero 90d69246d9
🐛 Fix null value parsing in Google FIrestore (#1749) 2021-05-07 21:59:32 -05:00
Ricardo Espinoza 469b92e32a
Add continueOnFail to Google Calendar (#1722)
*  Add continueOnFail to Google Calendar

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-05-01 22:50:15 -05:00
Harshil Agrawal f2ec7ec6ac
Add and update codex files (#1719) 2021-04-30 20:28:07 -05:00
Ricardo Espinoza 7c418aafe7
🐛 Fix issue when looking up values on Google Sheets (#1708) 2021-04-30 15:35:42 -05:00
Ricardo Espinoza bf93a122ed
Add file name when downloading files (Google Drive) (#1710) 2021-04-30 15:29:10 -05:00
Ricardo Espinoza 444fe64bc1
Handle comma separated binary properties (Gmail) (#1711) 2021-04-30 14:44:46 -05:00
Ricardo Espinoza 4d74e1fdea
🐛 Fix issue looking up values with multiple empty rows (#1701) 2021-04-24 18:56:47 +02:00
Jan Oberhauser d33dad7ebc Optimize svgs 2021-04-17 17:23:59 +02:00
Konstantin Nosov 5e7f27d137
Optimize svg (#1653)
* add optimize-svg command to npm scripts

* run svgo over all svg assets in repo
2021-04-17 17:17:16 +02:00
Jan Oberhauser a7394daa6b Remove console.log 2021-04-17 15:08:13 +02:00
Ricardo Espinoza b0d3554ced
Add Google BigQuery node (#1635)
*  Google BigQuery node

* 🔨 Add comment dividers

*  Add whitespace for readability

* ✏️ Edit resource descriptions

*  Improvements

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2021-04-17 15:04:25 +02:00
Harshil Agrawal 78936fd1dc
Add and update codex files (#1665) 2021-04-16 19:03:44 +02:00
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
Jan Oberhauser 9560dd6ce2 👕 Fix lint issue 2021-04-05 12:34:52 +02:00
Iván Ovejero 4605228d13
Add Google Slides node (#1599)
*  Add Google Slides node

* 🔨 Minor fixes

* 🔨 Refactor Google Slides node

*  Improvements

*  Add download option and fix multi items on Google Slides

Co-authored-by: Tanay Pant <tanaypant@protonmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-05 12:29:26 +02:00
Ricardo Espinoza 12838f26e3
Add Sheet -> create/remove to GoogleSheets node(#1620)
* Add operation 'addSheet' to GoogleSheets node

* lint fixes

*  Improvements

*  Move operations to "Sheet"

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-03 10:04:22 +02:00
Jan Oberhauser bbf875cd08 👕 Fix lint issue 2021-04-02 18:18:43 +02:00
Agata M 499fa48784
Google Drive: Add support for creating folders & copying files for shared drives (#1436)
* Google Drive: Add support for creating folders for shared drives

* Google Drive: set supportAllDrives parameter to true

* fix(GoogleDrive): added supportAllDrives parameter for copy files
2021-04-02 18:14:39 +02:00
Jan Oberhauser 0f9429b261 Fix conflicts 2021-03-25 17:10:02 +01:00
Jan Oberhauser e419d3ccbe Fix small issues 2021-03-12 11:51:35 +01:00
Ricardo Espinoza f7bd3060bd
Add operation file:update to Google Drive node (#1523)
*  Add operation file:update to Google Drive node

*  Improvements

*  Small changes

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-03-12 11:24:40 +01:00
Agata M 09659986db
🐛 Fix(GoogleDrive): missing permissions field (#1503) 2021-03-02 12:54:42 +01:00
MedAliMarz e9bd518592
🐛 Fix Gmail label filters (#1499)
* Change array format in the qs stringify options

* Fix lint
2021-03-02 12:47:53 +01:00
Ricardo Espinoza 725b3eb408
🐛 Add the right scopes to Gmail service account authentication. (#1481)
* fix: request gmail scope instead of books

*  Small improvement to #1427

*  Add svg logo

Co-authored-by: Josh <jojo.parillon@gmail.com>
2021-02-28 17:27:52 +01:00
Ricardo Espinoza 66f6b7dfeb
🐛 Add back missing field parents id on Google Drive (#1487) 2021-02-24 23:33:06 +01:00
Ricardo Espinoza 25dffd9904
Add rrule parameter to Google Calendar Node (#1460) 2021-02-21 22:04:00 +01:00
Ricardo Espinoza 19412b6025
🐛 Fix bug with Google Drive node (#1443)
* 🐛 Fix bug with Google Drive node

The bug did not let the user to select the fields he wanted the API to return in the resources Folder and File.

*  Change default to not break anything and hide not needed options

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-15 09:02:47 +01:00
Iván Ovejero 58c9a92e38
🐛 Fix Google Drive delete and share (#1384)
* Fix condition that never evaluated to true

* Fix missing permissions for folder:share
2021-02-06 16:12:30 +01:00
Iván Ovejero 5ba66fb081
🐛 Fix default value for Send Notification Email option on GDrive (#1357) 2021-01-23 15:22:31 +01:00
Ricardo Espinoza fd1f60bbbe
Add Google Drive "drive" resource (#1327)
*  Add drive resource

*  Small improvements
2021-01-19 18:02:52 +01: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
Ricardo Espinoza 76cee5577b
Extend googleApi credentials to support user impersonification (#1304)
*  Extend googleApi credentials to support user impersonification

*  Add service account authentication to Gmail

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-10 20:49:47 +01:00
Omar Ajoue 143c8bd326
Allow Gmail node to send messages formatted as HTML (#1285)
* Allowing Gmail node to send messages formatted as HTML

* Improving message field description

* Fixing lint issues

* Adding missing trailing comma

*  Small improvements to GMail-Node

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-07 11:58:28 +01:00