mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
⚡ Fixes to MailerLite Node
This commit is contained in:
parent
b5bbe9a181
commit
e9b49d78e1
|
@ -24,7 +24,7 @@ import {
|
||||||
export class MailerLite implements INodeType {
|
export class MailerLite implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
displayName: 'MailerLite',
|
displayName: 'MailerLite',
|
||||||
name: 'marilerLite',
|
name: 'mailerLite',
|
||||||
icon: 'file:mailerLite.png',
|
icon: 'file:mailerLite.png',
|
||||||
group: ['input'],
|
group: ['input'],
|
||||||
version: 1,
|
version: 1,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {
|
import {
|
||||||
INodeProperties,
|
INodeProperties,
|
||||||
} from "n8n-workflow";
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
export const subscriberOperations = [
|
export const subscriberOperations = [
|
||||||
{
|
{
|
||||||
|
@ -43,9 +43,9 @@ export const subscriberOperations = [
|
||||||
|
|
||||||
export const subscriberFields = [
|
export const subscriberFields = [
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* subscriber:create */
|
/* subscriber:create */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
displayName: 'Email',
|
displayName: 'Email',
|
||||||
name: 'email',
|
name: 'email',
|
||||||
|
@ -61,7 +61,7 @@ export const subscriberFields = [
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
description: 'email of new subscriber',
|
description: 'Email of new subscriber.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Additional Fields',
|
displayName: 'Additional Fields',
|
||||||
|
@ -139,7 +139,7 @@ export const subscriberFields = [
|
||||||
name: 'resubscribe',
|
name: 'resubscribe',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'reactivate subscriber if value is true',
|
description: 'Reactivate subscriber if value is true.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Signup IP',
|
displayName: 'Signup IP',
|
||||||
|
@ -175,11 +175,12 @@ export const subscriberFields = [
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
/* -------------------------------------------------------------------------- */
|
|
||||||
/* subscriber:update */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* subscriber:update */
|
||||||
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
displayName: 'Subscriber ID',
|
displayName: 'Subscriber Email',
|
||||||
name: 'subscriberId',
|
name: 'subscriberId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
|
@ -194,7 +195,7 @@ export const subscriberFields = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
default: '',
|
default: '',
|
||||||
description: 'ID or email of subscriber',
|
description: 'Email of subscriber.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Update Fields',
|
displayName: 'Update Fields',
|
||||||
|
@ -260,7 +261,7 @@ export const subscriberFields = [
|
||||||
name: 'resend_autoresponders',
|
name: 'resend_autoresponders',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Defines if it is needed to resend autoresponders',
|
description: 'Defines if it is needed to resend autoresponders.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Type',
|
displayName: 'Type',
|
||||||
|
@ -284,11 +285,12 @@ export const subscriberFields = [
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
/* -------------------------------------------------------------------------- */
|
|
||||||
/* subscriber:delete */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* subscriber:delete */
|
||||||
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
displayName: 'Subscriber ID',
|
displayName: 'Subscriber Email',
|
||||||
name: 'subscriberId',
|
name: 'subscriberId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
|
@ -303,13 +305,14 @@ export const subscriberFields = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
default: '',
|
default: '',
|
||||||
description: 'ID or email of subscriber',
|
description: 'Email of subscriber to delete.',
|
||||||
},
|
},
|
||||||
/* -------------------------------------------------------------------------- */
|
|
||||||
/* subscriber:get */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* subscriber:get */
|
||||||
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
displayName: 'Subscriber ID',
|
displayName: 'Subscriber Email',
|
||||||
name: 'subscriberId',
|
name: 'subscriberId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
|
@ -324,11 +327,11 @@ export const subscriberFields = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
default: '',
|
default: '',
|
||||||
description: 'ID or email of subscriber',
|
description: 'Email of subscriber to get.',
|
||||||
},
|
},
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* subscriber:getAll */
|
/* subscriber:getAll */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
displayName: 'Return All',
|
displayName: 'Return All',
|
||||||
name: 'returnAll',
|
name: 'returnAll',
|
||||||
|
|
Loading…
Reference in a new issue