From 766cc92978bb3ed4aaffd4a759df85f771507f10 Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 25 Oct 2024 14:02:07 +0100 Subject: [PATCH] fix(Lemlist Node): Fix typos and incorrect action name (no-changelog) (#11406) --- .../nodes/Lemlist/GenericFunctions.ts | 2 +- .../Lemlist/test/GenericFunctions.test.ts | 24 +++++++++---------- .../v2/descriptions/EnrichmentDescription.ts | 4 ++-- .../v2/descriptions/LeadDescription.ts | 2 +- .../v2/descriptions/TeamDescription.ts | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts b/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts index be72356690..cc8875549c 100644 --- a/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Lemlist/GenericFunctions.ts @@ -131,7 +131,7 @@ export function getEvents() { ]; return events.map((event: string) => ({ - name: event === '*' ? '*' : capitalCase(event), + name: event === '*' ? '*' : capitalCase(event).replace('Linkedin', 'LinkedIn'), value: event, })); } diff --git a/packages/nodes-base/nodes/Lemlist/test/GenericFunctions.test.ts b/packages/nodes-base/nodes/Lemlist/test/GenericFunctions.test.ts index 9b8e1890f5..a0538678bd 100644 --- a/packages/nodes-base/nodes/Lemlist/test/GenericFunctions.test.ts +++ b/packages/nodes-base/nodes/Lemlist/test/GenericFunctions.test.ts @@ -87,18 +87,18 @@ describe('GenericFunctions', () => { { name: 'Api Interested', value: 'apiInterested' }, { name: 'Api Not Interested', value: 'apiNotInterested' }, { name: 'Api Failed', value: 'apiFailed' }, - { name: 'Linkedin Visit Done', value: 'linkedinVisitDone' }, - { name: 'Linkedin Visit Failed', value: 'linkedinVisitFailed' }, - { name: 'Linkedin Invite Done', value: 'linkedinInviteDone' }, - { name: 'Linkedin Invite Failed', value: 'linkedinInviteFailed' }, - { name: 'Linkedin Invite Accepted', value: 'linkedinInviteAccepted' }, - { name: 'Linkedin Replied', value: 'linkedinReplied' }, - { name: 'Linkedin Sent', value: 'linkedinSent' }, - { name: 'Linkedin Voice Note Done', value: 'linkedinVoiceNoteDone' }, - { name: 'Linkedin Voice Note Failed', value: 'linkedinVoiceNoteFailed' }, - { name: 'Linkedin Interested', value: 'linkedinInterested' }, - { name: 'Linkedin Not Interested', value: 'linkedinNotInterested' }, - { name: 'Linkedin Send Failed', value: 'linkedinSendFailed' }, + { name: 'LinkedIn Visit Done', value: 'linkedinVisitDone' }, + { name: 'LinkedIn Visit Failed', value: 'linkedinVisitFailed' }, + { name: 'LinkedIn Invite Done', value: 'linkedinInviteDone' }, + { name: 'LinkedIn Invite Failed', value: 'linkedinInviteFailed' }, + { name: 'LinkedIn Invite Accepted', value: 'linkedinInviteAccepted' }, + { name: 'LinkedIn Replied', value: 'linkedinReplied' }, + { name: 'LinkedIn Sent', value: 'linkedinSent' }, + { name: 'LinkedIn Voice Note Done', value: 'linkedinVoiceNoteDone' }, + { name: 'LinkedIn Voice Note Failed', value: 'linkedinVoiceNoteFailed' }, + { name: 'LinkedIn Interested', value: 'linkedinInterested' }, + { name: 'LinkedIn Not Interested', value: 'linkedinNotInterested' }, + { name: 'LinkedIn Send Failed', value: 'linkedinSendFailed' }, { name: 'Manual Interested', value: 'manualInterested' }, { name: 'Manual Not Interested', value: 'manualNotInterested' }, { name: 'Paused', value: 'paused' }, diff --git a/packages/nodes-base/nodes/Lemlist/v2/descriptions/EnrichmentDescription.ts b/packages/nodes-base/nodes/Lemlist/v2/descriptions/EnrichmentDescription.ts index da3c6e93b3..1649699f00 100644 --- a/packages/nodes-base/nodes/Lemlist/v2/descriptions/EnrichmentDescription.ts +++ b/packages/nodes-base/nodes/Lemlist/v2/descriptions/EnrichmentDescription.ts @@ -91,7 +91,7 @@ export const enrichmentFields: INodeProperties[] = [ }, }, { - displayName: 'Linkedin Enrichment', + displayName: 'LinkedIn Enrichment', name: 'linkedinEnrichment', type: 'boolean', default: false, @@ -150,7 +150,7 @@ export const enrichmentFields: INodeProperties[] = [ default: '', }, { - displayName: 'Linkedin Url', + displayName: 'LinkedIn Url', name: 'linkedinUrl', type: 'string', default: '', diff --git a/packages/nodes-base/nodes/Lemlist/v2/descriptions/LeadDescription.ts b/packages/nodes-base/nodes/Lemlist/v2/descriptions/LeadDescription.ts index b9e93fa075..432b82d455 100644 --- a/packages/nodes-base/nodes/Lemlist/v2/descriptions/LeadDescription.ts +++ b/packages/nodes-base/nodes/Lemlist/v2/descriptions/LeadDescription.ts @@ -151,7 +151,7 @@ export const leadFields: INodeProperties[] = [ description: 'Last name of the lead to create', }, { - displayName: 'Linkedin Enrichment', + displayName: 'LinkedIn Enrichment', name: 'linkedinEnrichment', type: 'boolean', default: false, diff --git a/packages/nodes-base/nodes/Lemlist/v2/descriptions/TeamDescription.ts b/packages/nodes-base/nodes/Lemlist/v2/descriptions/TeamDescription.ts index 51b8da1189..66a7baa5e6 100644 --- a/packages/nodes-base/nodes/Lemlist/v2/descriptions/TeamDescription.ts +++ b/packages/nodes-base/nodes/Lemlist/v2/descriptions/TeamDescription.ts @@ -16,7 +16,7 @@ export const teamOperations: INodeProperties[] = [ { name: 'Get Credits', value: 'getCredits', - action: 'Get a team', + action: 'Get team credits', }, ], displayOptions: {