From 23f9331face30cfbcc9995dd47dda2089a05e41b Mon Sep 17 00:00:00 2001 From: Jonathan Bennetts Date: Tue, 6 Aug 2024 14:30:13 +0100 Subject: [PATCH 1/2] feat(Lemlist Trigger Node): Update Trigger events --- .../nodes/Lemlist/GenericFunctions.ts | 49 ++++++++++++++++--- 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts b/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts index 8a587a939044f..e95bebe507cde 100644 --- a/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts @@ -71,16 +71,53 @@ export async function lemlistApiRequestAllItems( export function getEvents() { const events = [ '*', - 'emailsBounced', - 'emailsClicked', - 'emailsFailed', - 'emailsInterested', - 'emailsNotInterested', + 'contacted', + 'hooked', + 'attracted', + 'warmed', + 'interested', + 'skipped', + 'notInterested', + 'emailsSent', 'emailsOpened', + 'emailsClicked', 'emailsReplied', + 'emailsBounced', 'emailsSendFailed', - 'emailsSent', + 'emailsFailed', 'emailsUnsubscribed', + 'emailsInterested', + 'emailsNotInterested', + 'opportunitiesDone', + 'aircallCreated', + 'aircallEnded', + 'aircallDone', + 'aircallInterested', + 'aircallNotInterested', + 'apiDone', + 'apiInterested', + 'apiNotInterested', + 'apiFailed', + 'linkedinVisitDone', + 'linkedinVisitFailed', + 'linkedinInviteDone', + 'linkedinInviteFailed', + 'linkedinInviteAccepted', + 'linkedinReplied', + 'linkedinSent', + 'linkedinVoiceNoteDone', + 'linkedinVoiceNoteFailed', + 'linkedinInterested', + 'linkedinNotInterested', + 'linkedinSendFailed', + 'manualInterested', + 'manualNotInterested', + 'paused', + 'resumed', + 'customDomainErrors', + 'connectionIssue', + 'sendLimitReached', + 'lemwarmPaused', ]; return events.map((event: string) => ({ From 226ff651bd602e945deee08f1d1508f60c67176b Mon Sep 17 00:00:00 2001 From: Jonathan Bennetts Date: Tue, 6 Aug 2024 14:30:41 +0100 Subject: [PATCH 2/2] fix typo --- packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts b/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts index a9306c21c5604..bd1a20cf8fdea 100644 --- a/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts +++ b/packages/nodes-base/nodes/Lemlist/LemlistTrigger.node.ts @@ -55,7 +55,7 @@ export class LemlistTrigger implements INodeType { default: {}, options: [ { - displayName: 'Campaing Name or ID', + displayName: 'Campaign Name or ID', name: 'campaignId', type: 'options', typeOptions: {