Add Copper node (#1571)

* 🎉 Register regular node

* 🎨 Replace PNG with SVG icon

*  Add Copper regular node

*  Add user and customer sources

* 👕 Appease linter

*  Handle listings in getAll operations

*  Implement continueOnFail

*  Simplify pagination

* 🔨 Fix fields adjustments for person

* zap: Improvements

*  Minor fixes

*  Fix Lead Email update & Minor improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
Iván Ovejero
2021-04-02 19:12:19 +02:00
committed by GitHub
parent 45c0d6598f
commit dd6d523b85
18 changed files with 3995 additions and 12 deletions

View File

@@ -19,7 +19,7 @@ export class CopperTrigger implements INodeType {
description: INodeTypeDescription = {
displayName: 'Copper Trigger',
name: 'copperTrigger',
icon: 'file:copper.png',
icon: 'file:copper.svg',
group: ['trigger'],
version: 1,
description: 'Handle Copper events via webhooks',
@@ -147,7 +147,7 @@ export class CopperTrigger implements INodeType {
const endpoint = `/webhooks/${webhookData.webhookId}`;
try {
await copperApiRequest.call(this, 'DELETE', endpoint);
} catch(error) {
} catch (error) {
return false;
}
delete webhookData.webhookId;