Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

feat(mailer-lite): ui improvement (#16608)

Talal Jaber6cecd2fdb03b
diff --git a/bun.lock b/bun.lock
index 95192c93bba..c240ffea9aa 100644
--- a/bun.lock
+++ b/bun.lock
@@ -5539,7 +5539,7 @@
},
"packages/pieces/community/mailer-lite": {
"name": "@activepieces/piece-mailer-lite",
- "version": "0.9.1",
+ "version": "0.10.0",
"dependencies": {
"@activepieces/core-piece-types": "workspace:*",
"@activepieces/core-utils": "workspace:*",
diff --git a/packages/pieces/community/mailer-lite/package.json b/packages/pieces/community/mailer-lite/package.json
index fb625254a6a..10cecbb4b17 100644
--- a/packages/pieces/community/mailer-lite/package.json
+++ b/packages/pieces/community/mailer-lite/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-mailer-lite",
- "version": "0.9.1",
+ "version": "0.10.0",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"dependencies": {
diff --git a/packages/pieces/community/mailer-lite/src/i18n/de.json b/packages/pieces/community/mailer-lite/src/i18n/de.json
index 29705261fdd..87c9e275716 100644
--- a/packages/pieces/community/mailer-lite/src/i18n/de.json
+++ b/packages/pieces/community/mailer-lite/src/i18n/de.json
@@ -7,20 +7,20 @@
"Remove Subscriber from a Group": "Abonnenten aus einer Gruppe entfernen",
"List Subscribers": "Abonnenten anzeigen",
"Unsubscribe Subscriber": "Abonnent abbestellen",
- "Delete Subscriber": "Delete Subscriber",
- "List Groups": "List Groups",
+ "Delete Subscriber": "Abonnent löschen",
+ "List Groups": "Gruppen auflisten",
"Create Group": "Gruppe erstellen",
- "List Group Subscribers": "List Group Subscribers",
+ "List Group Subscribers": "Gruppenabonnenten auflisten",
"Custom API Call": "Eigener API-Aufruf",
"Adds existing subscriber to a specific group.": "Fügt existierende Abonnenten einer bestimmten Gruppe hinzu.",
"Create a new subscriber or updates an existing one if the email already exists.": "Erstelle einen neuen Abonnenten oder aktualisiere einen existierenden, falls die E-Mail bereits existiert.",
"Search for subscriber by email or name.": "Suche nach Abonnenten per E-Mail oder Namen.",
"Removes subscriber from a specific group.": "Entfernt Abonnenten einer bestimmten Gruppe.",
- "List subscribers, optionally filtered by status.": "List subscribers, optionally filtered by status.",
- "Set a subscriber status to unsubscribed.": "Set a subscriber status to unsubscribed.",
+ "List subscribers, optionally filtered by status.": "Abonnenten auflisten, optional nach Status gefiltert.",
+ "Set a subscriber status to unsubscribed.": "Den Status eines Abonnenten auf abgemeldet setzen.",
"List all groups in the account.": "List all groups in the account.",
- "Create a new group.": "Create a new group.",
- "List the subscribers belonging to a group.": "List the subscribers belonging to a group.",
+ "Create a new group.": "Eine neue Gruppe erstellen.",
+ "List the subscribers belonging to a group.": "Die Abonnenten einer Gruppe auflisten.",
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
"Subscriber ID": "Abonnenten-ID",
"Group ID": "Gruppen-ID",
@@ -300,8 +300,8 @@
"List Timezones": "List Timezones",
"List the timezones MailerLite supports.": "List the timezones MailerLite supports.",
"Subscribers to return (1-1000, default 25).": "Subscribers to return (1-1000, default 25).",
- "Group": "Group",
- "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.",
+ "Group": "Gruppe",
+ "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Einen Abonnenten löschen. MailerLite behält die Daten, falls er sich erneut anmeldet.",
"Yes": "Yes",
"No": "No",
"subscriber.created": "subscriber.created",
@@ -318,7 +318,44 @@
"campaign.sent": "campaign.sent",
"campaign.click": "campaign.click",
"campaign.open": "campaign.open",
- "List groups in the account, one page at a time.": "List groups in the account, one page at a time.",
+ "List groups in the account, one page at a time.": "Gruppen im Konto auflisten, Seite für Seite.",
"Groups to return per page (1-1000, default 100).": "Groups to return per page (1-1000, default 100).",
- "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop."
+ "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.",
+ "Add Subscriber to Group": "Abonnent zur Gruppe hinzufügen",
+ "Add an existing subscriber to a group.": "Einen bestehenden Abonnenten einer Gruppe hinzufügen.",
+ "Subscriber": "Abonnent",
+ "Add or Update Subscriber": "Abonnent hinzufügen oder aktualisieren",
+ "Add a subscriber, or update the one with this email.": "Einen Abonnenten hinzufügen oder den mit dieser E-Mail aktualisieren.",
+ "Markdown": "Markdown",
+ "If this email is already on your list, that subscriber is updated.": "Ist diese E-Mail bereits in Ihrer Liste, wird dieser Abonnent aktualisiert.",
+ "Applied to new and existing subscribers.": "Gilt für neue und bestehende Abonnenten.",
+ "Custom Fields": "Benutzerdefinierte Felder",
+ "Groups": "Gruppen",
+ "Adds the subscriber to these groups.": "Fügt den Abonnenten diesen Gruppen hinzu.",
+ "Opted In On": "Opt-in am",
+ "Signup IP Address": "Anmelde-IP-Adresse",
+ "Opt-in IP Address": "Opt-in-IP-Adresse",
+ "Find Subscriber": "Abonnent finden",
+ "Find a subscriber by email or ID.": "Einen Abonnenten per E-Mail oder ID finden.",
+ "Email or Subscriber ID": "E-Mail oder Abonnenten-ID",
+ "Remove Subscriber from Group": "Abonnent aus Gruppe entfernen",
+ "Remove a subscriber from a group.": "Einen Abonnenten aus einer Gruppe entfernen.",
+ "Only return subscribers with this status.": "Nur Abonnenten mit diesem Status zurückgeben.",
+ "How many subscribers to return per page, up to 1000.": "Wie viele Abonnenten pro Seite zurückgegeben werden, bis zu 1000.",
+ "meta.next_cursor from the previous run. Empty: first page.": "meta.next_cursor aus dem vorherigen Lauf. Leer: erste Seite.",
+ "An email that is not on your list yet is added as unsubscribed.": "Eine E-Mail, die noch nicht in Ihrer Liste ist, wird als abgemeldet hinzugefügt.",
+ "MailerLite keeps their data in case they re-subscribe.": "MailerLite behält die Daten, falls er sich erneut anmeldet.",
+ "How many groups to return per page, up to 1000.": "Wie viele Gruppen pro Seite zurückgegeben werden, bis zu 1000.",
+ "Page number, starting at 1; meta.last_page in the response is last.": "Seitennummer, beginnend bei 1; meta.last_page in der Antwort ist die letzte Seite.",
+ "Only return subscribers with this status. Empty: active only.": "Nur Abonnenten mit diesem Status zurückgeben. Leer: nur aktive.",
+ "Triggers when a subscriber is added to your list.": "Wird ausgelöst, wenn ein Abonnent zu Ihrer Liste hinzugefügt wird.",
+ "The name shown in MailerLite's webhook list.": "Der Name, der in der Webhook-Liste von MailerLite angezeigt wird.",
+ "Triggers when a subscriber's fields are updated.": "Wird ausgelöst, wenn die Felder eines Abonnenten aktualisiert werden.",
+ "Triggers when a subscriber unsubscribes.": "Wird ausgelöst, wenn sich ein Abonnent abmeldet.",
+ "Membership": "Mitgliedschaft",
+ "Fields and Groups": "Felder und Gruppen",
+ "Consent": "Einwilligung",
+ "Subscribers to List": "Aufzulistende Abonnenten",
+ "Paging": "Paginierung",
+ "Filter": "Filter"
}
diff --git a/packages/pieces/community/mailer-lite/src/i18n/es.json b/packages/pieces/community/mailer-lite/src/i18n/es.json
index 755ccc18faf..f71cf513a59 100644
--- a/packages/pieces/community/mailer-lite/src/i18n/es.json
+++ b/packages/pieces/community/mailer-lite/src/i18n/es.json
@@ -1,26 +1,26 @@
{
"Email marketing software": "Software de marketing por email",
- "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n",
+ "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\nPara obtener su clave API, siga estos pasos:\n\n1. Inicie sesión en su cuenta de MailerLite.\n2. Visite la [página de la API](https://dashboard.mailerlite.com/integrations/api).\n3. Haga clic en el botón **Generate new token**.\n4. Copie la clave API generada.\n",
"Add Subscriber to a Group": "Añadir suscriptor a un grupo",
"Add or Update subscriber": "Añadir o actualizar suscriptor",
"Find a Subscriber": "Encontrar un suscriptor",
"Remove Subscriber from a Group": "Quitar suscriptor de un grupo",
"List Subscribers": "Listar suscriptores",
"Unsubscribe Subscriber": "Darse de baja de suscriptores",
- "Delete Subscriber": "Delete Subscriber",
- "List Groups": "List Groups",
+ "Delete Subscriber": "Eliminar suscriptor",
+ "List Groups": "Listar grupos",
"Create Group": "Crear grupo",
- "List Group Subscribers": "List Group Subscribers",
+ "List Group Subscribers": "Listar suscriptores del grupo",
"Custom API Call": "Llamada API personalizada",
"Adds existing subscriber to a specific group.": "Añade suscriptores existentes a un grupo específico.",
"Create a new subscriber or updates an existing one if the email already exists.": "Crear un nuevo suscriptor o actualizar uno existente si el correo electrónico ya existe.",
"Search for subscriber by email or name.": "Buscar suscriptores por correo electrónico o nombre.",
"Removes subscriber from a specific group.": "Elimina el suscriptor de un grupo específico.",
- "List subscribers, optionally filtered by status.": "List subscribers, optionally filtered by status.",
- "Set a subscriber status to unsubscribed.": "Set a subscriber status to unsubscribed.",
+ "List subscribers, optionally filtered by status.": "Lista suscriptores, opcionalmente filtrados por estado.",
+ "Set a subscriber status to unsubscribed.": "Cambia el estado de un suscriptor a desuscrito.",
"List all groups in the account.": "List all groups in the account.",
- "Create a new group.": "Create a new group.",
- "List the subscribers belonging to a group.": "List the subscribers belonging to a group.",
+ "Create a new group.": "Crea un grupo nuevo.",
+ "List the subscribers belonging to a group.": "Lista los suscriptores de un grupo.",
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
"Subscriber ID": "ID del suscriptor",
"Group ID": "ID de grupo",
@@ -300,8 +300,8 @@
"List Timezones": "List Timezones",
"List the timezones MailerLite supports.": "List the timezones MailerLite supports.",
"Subscribers to return (1-1000, default 25).": "Subscribers to return (1-1000, default 25).",
- "Group": "Group",
- "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.",
+ "Group": "Grupo",
+ "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Elimina un suscriptor. MailerLite conserva sus datos por si vuelve a suscribirse.",
"Yes": "Yes",
"No": "No",
"subscriber.created": "subscriber.created",
@@ -318,7 +318,44 @@
"campaign.sent": "campaign.sent",
"campaign.click": "campaign.click",
"campaign.open": "campaign.open",
- "List groups in the account, one page at a time.": "List groups in the account, one page at a time.",
+ "List groups in the account, one page at a time.": "Lista los grupos de la cuenta, una página cada vez.",
"Groups to return per page (1-1000, default 100).": "Groups to return per page (1-1000, default 100).",
- "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop."
+ "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.",
+ "Add Subscriber to Group": "Añadir suscriptor a grupo",
+ "Add an existing subscriber to a group.": "Añade un suscriptor existente a un grupo.",
+ "Subscriber": "Suscriptor",
+ "Add or Update Subscriber": "Añadir o actualizar suscriptor",
+ "Add a subscriber, or update the one with this email.": "Añade un suscriptor o actualiza el que tenga este correo electrónico.",
+ "Markdown": "Markdown",
+ "If this email is already on your list, that subscriber is updated.": "Si este correo electrónico ya está en su lista, se actualiza ese suscriptor.",
+ "Applied to new and existing subscribers.": "Se aplica a suscriptores nuevos y existentes.",
+ "Custom Fields": "Campos personalizados",
+ "Groups": "Grupos",
+ "Adds the subscriber to these groups.": "Añade el suscriptor a estos grupos.",
+ "Opted In On": "Confirmado el",
+ "Signup IP Address": "Dirección IP de registro",
+ "Opt-in IP Address": "Dirección IP opt-in",
+ "Find Subscriber": "Buscar suscriptor",
+ "Find a subscriber by email or ID.": "Busca un suscriptor por correo electrónico o ID.",
+ "Email or Subscriber ID": "Correo electrónico o ID de suscriptor",
+ "Remove Subscriber from Group": "Quitar suscriptor de grupo",
+ "Remove a subscriber from a group.": "Quita un suscriptor de un grupo.",
+ "Only return subscribers with this status.": "Solo devuelve suscriptores con este estado.",
+ "How many subscribers to return per page, up to 1000.": "Cuántos suscriptores devolver por página, hasta 1000.",
+ "meta.next_cursor from the previous run. Empty: first page.": "meta.next_cursor de la ejecución anterior. Vacío: primera página.",
+ "An email that is not on your list yet is added as unsubscribed.": "Un correo electrónico que aún no está en su lista se añade como desuscrito.",
+ "MailerLite keeps their data in case they re-subscribe.": "MailerLite conserva sus datos por si vuelve a suscribirse.",
+ "How many groups to return per page, up to 1000.": "Cuántos grupos devolver por página, hasta 1000.",
+ "Page number, starting at 1; meta.last_page in the response is last.": "Número de página, empezando en 1; meta.last_page en la respuesta es la última.",
+ "Only return subscribers with this status. Empty: active only.": "Solo devuelve suscriptores con este estado. Vacío: solo activos.",
+ "Triggers when a subscriber is added to your list.": "Se activa cuando se añade un suscriptor a su lista.",
+ "The name shown in MailerLite's webhook list.": "El nombre que se muestra en la lista de webhooks de MailerLite.",
+ "Triggers when a subscriber's fields are updated.": "Se activa cuando se actualizan los campos de un suscriptor.",
+ "Triggers when a subscriber unsubscribes.": "Se activa cuando un suscriptor se da de baja.",
+ "Membership": "Membresía",
+ "Fields and Groups": "Campos y grupos",
+ "Consent": "Consentimiento",
+ "Subscribers to List": "Suscriptores a listar",
+ "Paging": "Paginación",
+ "Filter": "Filtro"
}
diff --git a/packages/pieces/community/mailer-lite/src/i18n/fr.json b/packages/pieces/community/mailer-lite/src/i18n/fr.json
index 34307d3f6ba..bb05675bbaf 100644
--- a/packages/pieces/community/mailer-lite/src/i18n/fr.json
+++ b/packages/pieces/community/mailer-lite/src/i18n/fr.json
@@ -1,26 +1,26 @@
{
"Email marketing software": "Logiciel de marketing par e-mail",
- "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n",
+ "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\nPour obtenir votre clé API, procédez comme suit :\n\n1. Connectez-vous à votre compte MailerLite.\n2. Rendez-vous sur la [page API](https://dashboard.mailerlite.com/integrations/api).\n3. Cliquez sur le bouton **Generate new token**.\n4. Copiez la clé API générée.\n",
"Add Subscriber to a Group": "Ajouter un abonné à un groupe",
"Add or Update subscriber": "Ajouter ou mettre à jour l'abonné",
"Find a Subscriber": "Trouver un abonné",
"Remove Subscriber from a Group": "Retirer un abonné d'un groupe",
"List Subscribers": "Liste des abonnés",
"Unsubscribe Subscriber": "Se désabonner de l'abonné",
- "Delete Subscriber": "Delete Subscriber",
- "List Groups": "List Groups",
+ "Delete Subscriber": "Supprimer un abonné",
+ "List Groups": "Lister les groupes",
"Create Group": "Créer un groupe",
- "List Group Subscribers": "List Group Subscribers",
+ "List Group Subscribers": "Lister les abonnés du groupe",
"Custom API Call": "Appel API personnalisé",
"Adds existing subscriber to a specific group.": "Ajoute un abonné existant à un groupe spécifique.",
"Create a new subscriber or updates an existing one if the email already exists.": "Créer un nouvel abonné ou mettre à jour un abonné existant si l'e-mail existe déjà.",
"Search for subscriber by email or name.": "Rechercher un abonné par email ou par nom.",
"Removes subscriber from a specific group.": "Supprime l'abonné d'un groupe spécifique.",
- "List subscribers, optionally filtered by status.": "List subscribers, optionally filtered by status.",
- "Set a subscriber status to unsubscribed.": "Set a subscriber status to unsubscribed.",
+ "List subscribers, optionally filtered by status.": "Liste les abonnés, éventuellement filtrés par statut.",
+ "Set a subscriber status to unsubscribed.": "Passe le statut d'un abonné à désabonné.",
"List all groups in the account.": "List all groups in the account.",
- "Create a new group.": "Create a new group.",
- "List the subscribers belonging to a group.": "List the subscribers belonging to a group.",
+ "Create a new group.": "Crée un nouveau groupe.",
+ "List the subscribers belonging to a group.": "Liste les abonnés d'un groupe.",
"Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un point de terminaison spécifique",
"Subscriber ID": "Identifiant de l'abonné",
"Group ID": "ID du groupe",
@@ -301,7 +301,7 @@
"List the timezones MailerLite supports.": "List the timezones MailerLite supports.",
"Subscribers to return (1-1000, default 25).": "Subscribers to return (1-1000, default 25).",
"Group": "Groupes",
- "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.",
+ "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Supprime un abonné. MailerLite conserve ses données au cas où il se réabonnerait.",
"Yes": "Oui",
"No": "Non",
"subscriber.created": "subscriber.created",
@@ -318,7 +318,44 @@
"campaign.sent": "campaign.sent",
"campaign.click": "campaign.click",
"campaign.open": "campaign.open",
- "List groups in the account, one page at a time.": "List groups in the account, one page at a time.",
+ "List groups in the account, one page at a time.": "Liste les groupes du compte, une page à la fois.",
"Groups to return per page (1-1000, default 100).": "Groups to return per page (1-1000, default 100).",
- "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop."
+ "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.",
+ "Add Subscriber to Group": "Ajouter un abonné au groupe",
+ "Add an existing subscriber to a group.": "Ajoute un abonné existant à un groupe.",
+ "Subscriber": "Abonné",
+ "Add or Update Subscriber": "Ajouter ou mettre à jour un abonné",
+ "Add a subscriber, or update the one with this email.": "Ajoute un abonné, ou met à jour celui qui a cet e-mail.",
+ "Markdown": "Markdown",
+ "If this email is already on your list, that subscriber is updated.": "Si cet e-mail figure déjà dans votre liste, cet abonné est mis à jour.",
+ "Applied to new and existing subscribers.": "S'applique aux nouveaux abonnés comme aux abonnés existants.",
+ "Custom Fields": "Champs personnalisés",
+ "Groups": "Groupes",
+ "Adds the subscriber to these groups.": "Ajoute l'abonné à ces groupes.",
+ "Opted In On": "Opt-in le",
+ "Signup IP Address": "Adresse IP d'inscription",
+ "Opt-in IP Address": "Adresse IP opt-in",
+ "Find Subscriber": "Trouver un abonné",
+ "Find a subscriber by email or ID.": "Trouve un abonné par e-mail ou ID.",
+ "Email or Subscriber ID": "E-mail ou ID d'abonné",
+ "Remove Subscriber from Group": "Retirer un abonné du groupe",
+ "Remove a subscriber from a group.": "Retire un abonné d'un groupe.",
+ "Only return subscribers with this status.": "Renvoie uniquement les abonnés ayant ce statut.",
+ "How many subscribers to return per page, up to 1000.": "Nombre d'abonnés à renvoyer par page, jusqu'à 1000.",
+ "meta.next_cursor from the previous run. Empty: first page.": "meta.next_cursor de l'exécution précédente. Vide : première page.",
+ "An email that is not on your list yet is added as unsubscribed.": "Un e-mail qui ne figure pas encore dans votre liste est ajouté comme désabonné.",
+ "MailerLite keeps their data in case they re-subscribe.": "MailerLite conserve ses données au cas où il se réabonnerait.",
+ "How many groups to return per page, up to 1000.": "Nombre de groupes à renvoyer par page, jusqu'à 1000.",
+ "Page number, starting at 1; meta.last_page in the response is last.": "Numéro de page, à partir de 1 ; meta.last_page dans la réponse est la dernière.",
+ "Only return subscribers with this status. Empty: active only.": "Renvoie uniquement les abonnés ayant ce statut. Vide : actifs uniquement.",
+ "Triggers when a subscriber is added to your list.": "Se déclenche lorsqu'un abonné est ajouté à votre liste.",
+ "The name shown in MailerLite's webhook list.": "Le nom affiché dans la liste des webhooks de MailerLite.",
+ "Triggers when a subscriber's fields are updated.": "Se déclenche lorsque les champs d'un abonné sont mis à jour.",
+ "Triggers when a subscriber unsubscribes.": "Se déclenche lorsqu'un abonné se désabonne.",
+ "Membership": "Appartenance",
+ "Fields and Groups": "Champs et groupes",
+ "Consent": "Consentement",
+ "Subscribers to List": "Abonnés à lister",
+ "Paging": "Pagination",
+ "Filter": "Filtre"
}
diff --git a/packages/pieces/community/mailer-lite/src/i18n/ja.json b/packages/pieces/community/mailer-lite/src/i18n/ja.json
index d23972276dc..b8bcab02be1 100644
--- a/packages/pieces/community/mailer-lite/src/i18n/ja.json
+++ b/packages/pieces/community/mailer-lite/src/i18n/ja.json
@@ -7,20 +7,20 @@
"Remove Subscriber from a Group": "グループから購読者を削除",
"List Subscribers": "購読者一覧",
"Unsubscribe Subscriber": "購読を解除",
- "Delete Subscriber": "Delete Subscriber",
- "List Groups": "List Groups",
+ "Delete Subscriber": "購読者を削除",
+ "List Groups": "グループ一覧",
"Create Group": "グループを作成",
- "List Group Subscribers": "List Group Subscribers",
+ "List Group Subscribers": "グループの購読者一覧",
"Custom API Call": "カスタムAPI通話",
"Adds existing subscriber to a specific group.": "既存の購読者を特定のグループに追加します。",
"Create a new subscriber or updates an existing one if the email already exists.": "メールがすでに存在する場合は、新しい購読者を作成するか、既存の購読者を更新します。",
"Search for subscriber by email or name.": "メールまたは名前で購読者を検索します。",
"Removes subscriber from a specific group.": "特定のグループから購読者を削除します。",
- "List subscribers, optionally filtered by status.": "List subscribers, optionally filtered by status.",
- "Set a subscriber status to unsubscribed.": "Set a subscriber status to unsubscribed.",
+ "List subscribers, optionally filtered by status.": "購読者を一覧表示します。ステータスで絞り込むこともできます。",
+ "Set a subscriber status to unsubscribed.": "購読者のステータスを購読解除済みに設定します。",
"List all groups in the account.": "List all groups in the account.",
- "Create a new group.": "Create a new group.",
- "List the subscribers belonging to a group.": "List the subscribers belonging to a group.",
+ "Create a new group.": "新しいグループを作成します。",
+ "List the subscribers belonging to a group.": "グループに属する購読者を一覧表示します。",
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
"Subscriber ID": "購読者ID",
"Group ID": "グループID",
@@ -300,8 +300,8 @@
"List Timezones": "List Timezones",
"List the timezones MailerLite supports.": "List the timezones MailerLite supports.",
"Subscribers to return (1-1000, default 25).": "Subscribers to return (1-1000, default 25).",
- "Group": "Group",
- "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.",
+ "Group": "グループ",
+ "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "購読者を削除します。再購読に備えて、MailerLite はデータを保持します。",
"Yes": "Yes",
"No": "No",
"subscriber.created": "subscriber.created",
@@ -318,7 +318,44 @@
"campaign.sent": "campaign.sent",
"campaign.click": "campaign.click",
"campaign.open": "campaign.open",
- "List groups in the account, one page at a time.": "List groups in the account, one page at a time.",
+ "List groups in the account, one page at a time.": "アカウント内のグループを1ページずつ一覧表示します。",
"Groups to return per page (1-1000, default 100).": "Groups to return per page (1-1000, default 100).",
- "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop."
+ "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.",
+ "Add Subscriber to Group": "購読者をグループに追加",
+ "Add an existing subscriber to a group.": "既存の購読者をグループに追加します。",
+ "Subscriber": "購読者",
+ "Add or Update Subscriber": "購読者を追加または更新",
+ "Add a subscriber, or update the one with this email.": "購読者を追加するか、このメールアドレスの購読者を更新します。",
+ "Markdown": "Markdown",
+ "If this email is already on your list, that subscriber is updated.": "このメールアドレスがすでにリストにある場合は、その購読者が更新されます。",
+ "Applied to new and existing subscribers.": "新規と既存の購読者の両方に適用されます。",
+ "Custom Fields": "カスタムフィールド",
+ "Groups": "グループ",
+ "Adds the subscriber to these groups.": "購読者をこれらのグループに追加します。",
+ "Opted In On": "オプトイン日時",
+ "Signup IP Address": "サインアップIPアドレス",
+ "Opt-in IP Address": "オプトインIPアドレス",
+ "Find Subscriber": "購読者を検索",
+ "Find a subscriber by email or ID.": "メールアドレスまたはIDで購読者を検索します。",
+ "Email or Subscriber ID": "メールアドレスまたは購読者ID",
+ "Remove Subscriber from Group": "グループから購読者を削除",
+ "Remove a subscriber from a group.": "グループから購読者を削除します。",
+ "Only return subscribers with this status.": "このステータスの購読者のみを返します。",
+ "How many subscribers to return per page, up to 1000.": "1ページあたりに返す購読者の数(最大1000)。",
+ "meta.next_cursor from the previous run. Empty: first page.": "前回の実行の meta.next_cursor。空欄の場合は最初のページ。",
+ "An email that is not on your list yet is added as unsubscribed.": "まだリストにないメールアドレスは、購読解除済みとして追加されます。",
+ "MailerLite keeps their data in case they re-subscribe.": "再購読に備えて、MailerLite はデータを保持します。",
+ "How many groups to return per page, up to 1000.": "1ページあたりに返すグループの数(最大1000)。",
+ "Page number, starting at 1; meta.last_page in the response is last.": "ページ番号(1から開始)。レスポンスの meta.last_page が最後のページです。",
+ "Only return subscribers with this status. Empty: active only.": "このステータスの購読者のみを返します。空欄の場合は有効な購読者のみ。",
+ "Triggers when a subscriber is added to your list.": "購読者がリストに追加されたときにトリガーします。",
+ "The name shown in MailerLite's webhook list.": "MailerLite のWebhook一覧に表示される名前。",
+ "Triggers when a subscriber's fields are updated.": "購読者のフィールドが更新されたときにトリガーします。",
+ "Triggers when a subscriber unsubscribes.": "購読者が購読を解除したときにトリガーします。",
+ "Membership": "所属",
+ "Fields and Groups": "フィールドとグループ",
+ "Consent": "同意",
+ "Subscribers to List": "一覧表示する購読者",
+ "Paging": "ページング",
+ "Filter": "フィルター"
}
diff --git a/packages/pieces/community/mailer-lite/src/i18n/nl.json b/packages/pieces/community/mailer-lite/src/i18n/nl.json
index 3569a5417c4..d78816287f6 100644
--- a/packages/pieces/community/mailer-lite/src/i18n/nl.json
+++ b/packages/pieces/community/mailer-lite/src/i18n/nl.json
@@ -1,26 +1,26 @@
{
"Email marketing software": "E-mail marketing software",
- "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n",
+ "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\nVolg deze stappen om uw API-sleutel te verkrijgen:\n\n1. Log in op uw MailerLite-account.\n2. Ga naar de [API-pagina](https://dashboard.mailerlite.com/integrations/api).\n3. Klik op de knop **Generate new token**.\n4. Kopieer de gegenereerde API-sleutel.\n",
"Add Subscriber to a Group": "Voeg abonnee toe aan een groep",
"Add or Update subscriber": "Abonnee toevoegen of bijwerken",
"Find a Subscriber": "Vind een abonnee",
"Remove Subscriber from a Group": "Verwijder Abonnee uit een groep",
"List Subscribers": "Lijst abonnees",
"Unsubscribe Subscriber": "Abonnee afmelden",
- "Delete Subscriber": "Delete Subscriber",
- "List Groups": "List Groups",
+ "Delete Subscriber": "Abonnee verwijderen",
+ "List Groups": "Groepen tonen",
"Create Group": "Groep aanmaken",
- "List Group Subscribers": "List Group Subscribers",
+ "List Group Subscribers": "Groepsabonnees tonen",
"Custom API Call": "Custom API Call",
"Adds existing subscriber to a specific group.": "Voegt een bestaande abonnee toe aan een specifieke groep.",
"Create a new subscriber or updates an existing one if the email already exists.": "Maak een nieuwe abonnee aan of update een bestaande als het e-mailadres al bestaat.",
"Search for subscriber by email or name.": "Zoek abonnee op e-mail of naam.",
"Removes subscriber from a specific group.": "Verwijdert abonnee uit een specifieke groep.",
- "List subscribers, optionally filtered by status.": "List subscribers, optionally filtered by status.",
- "Set a subscriber status to unsubscribed.": "Set a subscriber status to unsubscribed.",
+ "List subscribers, optionally filtered by status.": "Toon abonnees, optioneel gefilterd op status.",
+ "Set a subscriber status to unsubscribed.": "Zet de status van een abonnee op uitgeschreven.",
"List all groups in the account.": "List all groups in the account.",
- "Create a new group.": "Create a new group.",
- "List the subscribers belonging to a group.": "List the subscribers belonging to a group.",
+ "Create a new group.": "Maak een nieuwe groep aan.",
+ "List the subscribers belonging to a group.": "Toon de abonnees van een groep.",
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
"Subscriber ID": "Abonnee ID",
"Group ID": "Groep ID",
@@ -54,7 +54,7 @@
"Active": "Actief",
"Unsubscribed": "Uitgeschreven",
"Unconfirmed": "Onbevestigd",
- "Bounced": "Bounced",
+ "Bounced": "Gebounced",
"Junk": "Ongewenste",
"GET": "KRIJG",
"POST": "POSTE",
@@ -300,8 +300,8 @@
"List Timezones": "List Timezones",
"List the timezones MailerLite supports.": "List the timezones MailerLite supports.",
"Subscribers to return (1-1000, default 25).": "Subscribers to return (1-1000, default 25).",
- "Group": "Group",
- "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.",
+ "Group": "Groep",
+ "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Verwijder een abonnee. MailerLite bewaart de gegevens voor het geval de abonnee zich opnieuw aanmeldt.",
"Yes": "Yes",
"No": "No",
"subscriber.created": "subscriber.created",
@@ -318,7 +318,44 @@
"campaign.sent": "campaign.sent",
"campaign.click": "campaign.click",
"campaign.open": "campaign.open",
- "List groups in the account, one page at a time.": "List groups in the account, one page at a time.",
+ "List groups in the account, one page at a time.": "Toon de groepen in het account, één pagina per keer.",
"Groups to return per page (1-1000, default 100).": "Groups to return per page (1-1000, default 100).",
- "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop."
+ "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.",
+ "Add Subscriber to Group": "Abonnee aan groep toevoegen",
+ "Add an existing subscriber to a group.": "Voeg een bestaande abonnee toe aan een groep.",
+ "Subscriber": "Abonnee",
+ "Add or Update Subscriber": "Abonnee toevoegen of bijwerken",
+ "Add a subscriber, or update the one with this email.": "Voeg een abonnee toe, of werk de abonnee met dit e-mailadres bij.",
+ "Markdown": "Markdown",
+ "If this email is already on your list, that subscriber is updated.": "Als dit e-mailadres al op uw lijst staat, wordt die abonnee bijgewerkt.",
+ "Applied to new and existing subscribers.": "Geldt voor nieuwe en bestaande abonnees.",
+ "Custom Fields": "Aangepaste velden",
+ "Groups": "Groepen",
+ "Adds the subscriber to these groups.": "Voegt de abonnee toe aan deze groepen.",
+ "Opted In On": "Opt-in op",
+ "Signup IP Address": "IP-adres bij aanmelding",
+ "Opt-in IP Address": "Opt-in-IP-adres",
+ "Find Subscriber": "Abonnee zoeken",
+ "Find a subscriber by email or ID.": "Zoek een abonnee op e-mailadres of ID.",
+ "Email or Subscriber ID": "E-mailadres of abonnee-ID",
+ "Remove Subscriber from Group": "Abonnee uit groep verwijderen",
+ "Remove a subscriber from a group.": "Verwijder een abonnee uit een groep.",
+ "Only return subscribers with this status.": "Alleen abonnees met deze status teruggeven.",
+ "How many subscribers to return per page, up to 1000.": "Hoeveel abonnees per pagina worden teruggegeven, maximaal 1000.",
+ "meta.next_cursor from the previous run. Empty: first page.": "meta.next_cursor van de vorige run. Leeg: eerste pagina.",
+ "An email that is not on your list yet is added as unsubscribed.": "Een e-mailadres dat nog niet op uw lijst staat, wordt als uitgeschreven toegevoegd.",
+ "MailerLite keeps their data in case they re-subscribe.": "MailerLite bewaart de gegevens voor het geval de abonnee zich opnieuw aanmeldt.",
+ "How many groups to return per page, up to 1000.": "Hoeveel groepen per pagina worden teruggegeven, maximaal 1000.",
+ "Page number, starting at 1; meta.last_page in the response is last.": "Paginanummer, beginnend bij 1; meta.last_page in het antwoord is de laatste.",
+ "Only return subscribers with this status. Empty: active only.": "Alleen abonnees met deze status teruggeven. Leeg: alleen actieve.",
+ "Triggers when a subscriber is added to your list.": "Triggert wanneer een abonnee aan uw lijst wordt toegevoegd.",
+ "The name shown in MailerLite's webhook list.": "De naam die in de webhooklijst van MailerLite wordt getoond.",
+ "Triggers when a subscriber's fields are updated.": "Triggert wanneer de velden van een abonnee worden bijgewerkt.",
+ "Triggers when a subscriber unsubscribes.": "Triggert wanneer een abonnee zich afmeldt.",
+ "Membership": "Lidmaatschap",
+ "Fields and Groups": "Velden en groepen",
+ "Consent": "Toestemming",
+ "Subscribers to List": "Te tonen abonnees",
+ "Paging": "Paginering",
+ "Filter": "Filter"
}
diff --git a/packages/pieces/community/mailer-lite/src/i18n/pt.json b/packages/pieces/community/mailer-lite/src/i18n/pt.json
index 449a5d97b95..4bc2660a102 100644
--- a/packages/pieces/community/mailer-lite/src/i18n/pt.json
+++ b/packages/pieces/community/mailer-lite/src/i18n/pt.json
@@ -1,26 +1,26 @@
{
"Email marketing software": "Software de e-mail marketing",
- "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n",
+ "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\nPara obter sua chave de API, siga estes passos:\n\n1. Faça login na sua conta MailerLite.\n2. Acesse a [página da API](https://dashboard.mailerlite.com/integrations/api).\n3. Clique no botão **Generate new token**.\n4. Copie a chave de API gerada.\n",
"Add Subscriber to a Group": "Adicionar Assinante a um Grupo",
"Add or Update subscriber": "Adicionar ou atualizar assinante",
"Find a Subscriber": "Encontre um Assinante",
"Remove Subscriber from a Group": "Remover Assinante de um Grupo",
"List Subscribers": "Listar Assinantes",
"Unsubscribe Subscriber": "Cancelar Assinatura",
- "Delete Subscriber": "Delete Subscriber",
- "List Groups": "List Groups",
+ "Delete Subscriber": "Excluir assinante",
+ "List Groups": "Listar grupos",
"Create Group": "Criar grupo",
- "List Group Subscribers": "List Group Subscribers",
+ "List Group Subscribers": "Listar assinantes do grupo",
"Custom API Call": "Chamada de API personalizada",
"Adds existing subscriber to a specific group.": "Adiciona um membro existente a um grupo específico.",
"Create a new subscriber or updates an existing one if the email already exists.": "Criar um novo assinante ou atualiza um existente, caso o e-mail já exista.",
"Search for subscriber by email or name.": "Procure por assinantes por e-mail ou nome.",
"Removes subscriber from a specific group.": "Remove assinante de um grupo específico.",
- "List subscribers, optionally filtered by status.": "List subscribers, optionally filtered by status.",
- "Set a subscriber status to unsubscribed.": "Set a subscriber status to unsubscribed.",
+ "List subscribers, optionally filtered by status.": "Lista assinantes, opcionalmente filtrados por estado.",
+ "Set a subscriber status to unsubscribed.": "Define o estado de um assinante como descadastrado.",
"List all groups in the account.": "List all groups in the account.",
- "Create a new group.": "Create a new group.",
- "List the subscribers belonging to a group.": "List the subscribers belonging to a group.",
+ "Create a new group.": "Cria um novo grupo.",
+ "List the subscribers belonging to a group.": "Lista os assinantes de um grupo.",
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
"Subscriber ID": "Identificação do assinante",
"Group ID": "Grupo ID",
@@ -300,8 +300,8 @@
"List Timezones": "List Timezones",
"List the timezones MailerLite supports.": "List the timezones MailerLite supports.",
"Subscribers to return (1-1000, default 25).": "Subscribers to return (1-1000, default 25).",
- "Group": "Group",
- "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.",
+ "Group": "Grupo",
+ "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Exclui um assinante. O MailerLite mantém os dados caso ele volte a se inscrever.",
"Yes": "Yes",
"No": "No",
"subscriber.created": "subscriber.created",
@@ -318,7 +318,44 @@
"campaign.sent": "campaign.sent",
"campaign.click": "campaign.click",
"campaign.open": "campaign.open",
- "List groups in the account, one page at a time.": "List groups in the account, one page at a time.",
+ "List groups in the account, one page at a time.": "Lista os grupos da conta, uma página por vez.",
"Groups to return per page (1-1000, default 100).": "Groups to return per page (1-1000, default 100).",
- "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop."
+ "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.",
+ "Add Subscriber to Group": "Adicionar assinante ao grupo",
+ "Add an existing subscriber to a group.": "Adiciona um assinante existente a um grupo.",
+ "Subscriber": "Assinante",
+ "Add or Update Subscriber": "Adicionar ou atualizar assinante",
+ "Add a subscriber, or update the one with this email.": "Adiciona um assinante ou atualiza o que tem este e-mail.",
+ "Markdown": "Markdown",
+ "If this email is already on your list, that subscriber is updated.": "Se este e-mail já estiver na sua lista, esse assinante é atualizado.",
+ "Applied to new and existing subscribers.": "Aplicado a assinantes novos e existentes.",
+ "Custom Fields": "Campos personalizados",
+ "Groups": "Grupos",
+ "Adds the subscriber to these groups.": "Adiciona o assinante a estes grupos.",
+ "Opted In On": "Opt-in em",
+ "Signup IP Address": "Endereço IP de cadastro",
+ "Opt-in IP Address": "Endereço IP de opt-in",
+ "Find Subscriber": "Encontrar assinante",
+ "Find a subscriber by email or ID.": "Encontra um assinante por e-mail ou ID.",
+ "Email or Subscriber ID": "E-mail ou ID do assinante",
+ "Remove Subscriber from Group": "Remover assinante do grupo",
+ "Remove a subscriber from a group.": "Remove um assinante de um grupo.",
+ "Only return subscribers with this status.": "Retorna apenas assinantes com este estado.",
+ "How many subscribers to return per page, up to 1000.": "Quantos assinantes retornar por página, até 1000.",
+ "meta.next_cursor from the previous run. Empty: first page.": "meta.next_cursor da execução anterior. Vazio: primeira página.",
+ "An email that is not on your list yet is added as unsubscribed.": "Um e-mail que ainda não está na sua lista é adicionado como descadastrado.",
+ "MailerLite keeps their data in case they re-subscribe.": "O MailerLite mantém os dados caso ele volte a se inscrever.",
+ "How many groups to return per page, up to 1000.": "Quantos grupos retornar por página, até 1000.",
+ "Page number, starting at 1; meta.last_page in the response is last.": "Número da página, começando em 1; meta.last_page na resposta é a última.",
+ "Only return subscribers with this status. Empty: active only.": "Retorna apenas assinantes com este estado. Vazio: apenas ativos.",
+ "Triggers when a subscriber is added to your list.": "Dispara quando um assinante é adicionado à sua lista.",
+ "The name shown in MailerLite's webhook list.": "O nome exibido na lista de webhooks do MailerLite.",
+ "Triggers when a subscriber's fields are updated.": "Dispara quando os campos de um assinante são atualizados.",
+ "Triggers when a subscriber unsubscribes.": "Dispara quando um assinante cancela a inscrição.",
+ "Membership": "Associação",
+ "Fields and Groups": "Campos e grupos",
+ "Consent": "Consentimento",
+ "Subscribers to List": "Assinantes a listar",
+ "Paging": "Paginação",
+ "Filter": "Filtro"
}
diff --git a/packages/pieces/community/mailer-lite/src/i18n/translation.json b/packages/pieces/community/mailer-lite/src/i18n/translation.json
index 336d861486a..c3ce94dc19c 100644
--- a/packages/pieces/community/mailer-lite/src/i18n/translation.json
+++ b/packages/pieces/community/mailer-lite/src/i18n/translation.json
@@ -1,10 +1,10 @@
{
"Email marketing software": "Email marketing software",
"\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n",
- "Add Subscriber to a Group": "Add Subscriber to a Group",
- "Add or Update subscriber": "Add or Update subscriber",
- "Find a Subscriber": "Find a Subscriber",
- "Remove Subscriber from a Group": "Remove Subscriber from a Group",
+ "Add Subscriber to Group": "Add Subscriber to Group",
+ "Add or Update Subscriber": "Add or Update Subscriber",
+ "Find Subscriber": "Find Subscriber",
+ "Remove Subscriber from Group": "Remove Subscriber from Group",
"List Subscribers": "List Subscribers",
"Unsubscribe Subscriber": "Unsubscribe Subscriber",
"Delete Subscriber": "Delete Subscriber",
@@ -49,10 +49,10 @@
"Delete Webhook": "Delete Webhook",
"List Timezones": "List Timezones",
"Custom API Call": "Custom API Call",
- "Adds existing subscriber to a specific group.": "Adds existing subscriber to a specific group.",
- "Create a new subscriber or updates an existing one if the email already exists.": "Create a new subscriber or updates an existing one if the email already exists.",
- "Search for subscriber by email or name.": "Search for subscriber by email or name.",
- "Removes subscriber from a specific group.": "Removes subscriber from a specific group.",
+ "Add an existing subscriber to a group.": "Add an existing subscriber to a group.",
+ "Add a subscriber, or update the one with this email.": "Add a subscriber, or update the one with this email.",
+ "Find a subscriber by email or ID.": "Find a subscriber by email or ID.",
+ "Remove a subscriber from a group.": "Remove a subscriber from a group.",
"List subscribers, optionally filtered by status.": "List subscribers, optionally filtered by status.",
"Set a subscriber status to unsubscribed.": "Set a subscriber status to unsubscribed.",
"Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.",
@@ -97,27 +97,31 @@
"Delete a webhook.": "Delete a webhook.",
"List the timezones MailerLite supports.": "List the timezones MailerLite supports.",
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
- "Subscriber ID": "Subscriber ID",
- "Group ID": "Group ID",
+ "Subscriber": "Subscriber",
+ "Group": "Group",
+ "Markdown": "Markdown",
"Email": "Email",
- "Fields": "Fields",
"Status": "Status",
- "Group IDs": "Group IDs",
+ "Custom Fields": "Custom Fields",
+ "Groups": "Groups",
"Subscribed On": "Subscribed On",
- "Opt-in Date": "Opt-in Date",
- "Signup IP address": "Signup IP address",
- "Opt-in IP address": "Opt-in IP address",
- "Subscriber ID or Email": "Subscriber ID or Email",
+ "Opted In On": "Opted In On",
+ "Signup IP Address": "Signup IP Address",
+ "Opt-in IP Address": "Opt-in IP Address",
+ "Email or Subscriber ID": "Email or Subscriber ID",
"Limit": "Limit",
"Cursor": "Cursor",
"Page": "Page",
"Group Name": "Group Name",
+ "Subscriber ID": "Subscriber ID",
+ "Fields": "Fields",
"Subscribed At": "Subscribed At",
"Opted In At": "Opted In At",
"Unsubscribed At": "Unsubscribed At",
"IP Address": "IP Address",
"Opt-in IP": "Opt-in IP",
"Activity Type": "Activity Type",
+ "Group ID": "Group ID",
"Subscribers": "Subscribers",
"Import ID": "Import ID",
"Name Contains": "Name Contains",
@@ -140,6 +144,7 @@
"From Name": "From Name",
"From Email": "From Email",
"Reply-To Email": "Reply-To Email",
+ "Group IDs": "Group IDs",
"Segment IDs": "Segment IDs",
"Language ID": "Language ID",
"HTML Content": "HTML Content",
@@ -158,15 +163,17 @@
"Return Error as Output": "Return Error as Output",
"Timeout": "Timeout",
"Follow redirects": "Follow redirects",
- "Email of the new contact": "Email of the new contact",
- "If empty, status Active is used by default.": "If empty, status Active is used by default.",
- "Only return subscribers with this status": "Only return subscribers with this status",
- "Subscribers to return (1-1000, default 25).": "Subscribers to return (1-1000, default 25).",
- "The meta.next_cursor value from the previous page. Leave empty for the first page.": "The meta.next_cursor value from the previous page. Leave empty for the first page.",
- "Email address of the subscriber to unsubscribe": "Email address of the subscriber to unsubscribe",
- "Groups to return per page (1-1000, default 100).": "Groups to return per page (1-1000, default 100).",
- "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.",
- "Only return subscribers with this status. MailerLite defaults to active.": "Only return subscribers with this status. MailerLite defaults to active.",
+ "If this email is already on your list, that subscriber is updated.": "If this email is already on your list, that subscriber is updated.",
+ "Applied to new and existing subscribers.": "Applied to new and existing subscribers.",
+ "Adds the subscriber to these groups.": "Adds the subscriber to these groups.",
+ "Only return subscribers with this status.": "Only return subscribers with this status.",
+ "How many subscribers to return per page, up to 1000.": "How many subscribers to return per page, up to 1000.",
+ "meta.next_cursor from the previous run. Empty: first page.": "meta.next_cursor from the previous run. Empty: first page.",
+ "An email that is not on your list yet is added as unsubscribed.": "An email that is not on your list yet is added as unsubscribed.",
+ "MailerLite keeps their data in case they re-subscribe.": "MailerLite keeps their data in case they re-subscribe.",
+ "How many groups to return per page, up to 1000.": "How many groups to return per page, up to 1000.",
+ "Page number, starting at 1; meta.last_page in the response is last.": "Page number, starting at 1; meta.last_page in the response is last.",
+ "Only return subscribers with this status. Empty: active only.": "Only return subscribers with this status. Empty: active only.",
"The subscriber ID, from find_subscriber or list_subscribers.": "The subscriber ID, from find_subscriber or list_subscribers.",
"Field values to set, keyed by field key (e.g. name, last_name, or a custom field key from list_fields). Fields not listed are left alone.": "Field values to set, keyed by field key (e.g. name, last_name, or a custom field key from list_fields). Fields not listed are left alone.",
"New subscriber status. Unsubscribed, bounced and junk subscribers cannot be reactivated through the API.": "New subscriber status. Unsubscribed, bounced and junk subscribers cannot be reactivated through the API.",
@@ -187,7 +194,9 @@
"The new group name (max 255 characters).": "The new group name (max 255 characters).",
"Items to return (1-250, default 50).": "Items to return (1-250, default 50).",
"The segment ID, from list_segments.": "The segment ID, from list_segments.",
+ "Only return subscribers with this status. MailerLite defaults to active.": "Only return subscribers with this status. MailerLite defaults to active.",
"Items to return (1-1000, default 50).": "Items to return (1-1000, default 50).",
+ "The meta.next_cursor value from the previous page. Leave empty for the first page.": "The meta.next_cursor value from the previous page. Leave empty for the first page.",
"The new segment name (max 255 characters).": "The new segment name (max 255 characters).",
"Only return fields whose name contains this text.": "Only return fields whose name contains this text.",
"Only return fields of this type.": "Only return fields of this type.",
@@ -313,9 +322,10 @@
"Subscriber Fields Updated": "Subscriber Fields Updated",
"Subscriber Unsubscribed": "Subscriber Unsubscribed",
"Subscriber Added to Group": "Subscriber Added to Group",
- "Triggers when a subscriber was created on your mailing list.": "Triggers when a subscriber was created on your mailing list.",
- "Triggers when the subscriber fields have been updated.": "Triggers when the subscriber fields have been updated.",
- "Triggers when a subscriber has unsubscribed from your mailing list.": "Triggers when a subscriber has unsubscribed from your mailing list.",
+ "Triggers when a subscriber is added to your list.": "Triggers when a subscriber is added to your list.",
+ "Triggers when a subscriber's fields are updated.": "Triggers when a subscriber's fields are updated.",
+ "Triggers when a subscriber unsubscribes.": "Triggers when a subscriber unsubscribes.",
"Triggers when a subscriber is added to a group.": "Triggers when a subscriber is added to a group.",
- "Webhook Name": "Webhook Name"
+ "Webhook Name": "Webhook Name",
+ "The name shown in MailerLite's webhook list.": "The name shown in MailerLite's webhook list."
}
\ No newline at end of file
diff --git a/packages/pieces/community/mailer-lite/src/i18n/zh.json b/packages/pieces/community/mailer-lite/src/i18n/zh.json
index 798ef92efcf..0bb27f1396e 100644
--- a/packages/pieces/community/mailer-lite/src/i18n/zh.json
+++ b/packages/pieces/community/mailer-lite/src/i18n/zh.json
@@ -1,26 +1,26 @@
{
"Email marketing software": "Email marketing software",
- "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n",
+ "\nTo obtain your API key, follow these steps:\n\n1. Log in to your MailerLite account.\n2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api).\n3. Click the **Generate new token** button.\n4. Copy the generated API key.\n": "\n要获取您的 API 密钥,请按以下步骤操作:\n\n1. 登录您的 MailerLite 账户。\n2. 访问 [API 页面](https://dashboard.mailerlite.com/integrations/api)。\n3. 点击 **Generate new token** 按钮。\n4. 复制生成的 API 密钥。\n",
"Add Subscriber to a Group": "Add Subscriber to a Group",
"Add or Update subscriber": "Add or Update subscriber",
"Find a Subscriber": "Find a Subscriber",
"Remove Subscriber from a Group": "Remove Subscriber from a Group",
- "List Subscribers": "List Subscribers",
- "Unsubscribe Subscriber": "Unsubscribe Subscriber",
- "Delete Subscriber": "Delete Subscriber",
- "List Groups": "List Groups",
- "Create Group": "Create Group",
- "List Group Subscribers": "List Group Subscribers",
+ "List Subscribers": "列出订阅者",
+ "Unsubscribe Subscriber": "退订订阅者",
+ "Delete Subscriber": "删除订阅者",
+ "List Groups": "列出群组",
+ "Create Group": "创建群组",
+ "List Group Subscribers": "列出群组订阅者",
"Custom API Call": "自定义 API 呼叫",
"Adds existing subscriber to a specific group.": "Adds existing subscriber to a specific group.",
"Create a new subscriber or updates an existing one if the email already exists.": "Create a new subscriber or updates an existing one if the email already exists.",
"Search for subscriber by email or name.": "Search for subscriber by email or name.",
"Removes subscriber from a specific group.": "Removes subscriber from a specific group.",
- "List subscribers, optionally filtered by status.": "List subscribers, optionally filtered by status.",
- "Set a subscriber status to unsubscribed.": "Set a subscriber status to unsubscribed.",
+ "List subscribers, optionally filtered by status.": "列出订阅者,可按状态筛选。",
+ "Set a subscriber status to unsubscribed.": "将订阅者状态设为已退订。",
"List all groups in the account.": "List all groups in the account.",
- "Create a new group.": "Create a new group.",
- "List the subscribers belonging to a group.": "List the subscribers belonging to a group.",
+ "Create a new group.": "创建新群组。",
+ "List the subscribers belonging to a group.": "列出属于某个群组的订阅者。",
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
"Subscriber ID": "Subscriber ID",
"Group ID": "Group ID",
@@ -28,13 +28,13 @@
"Fields": "Fields",
"Status": "状态",
"Group IDs": "Group IDs",
- "Subscribed On": "Subscribed On",
+ "Subscribed On": "订阅时间",
"Opt-in Date": "Opt-in Date",
"Signup IP address": "Signup IP address",
"Opt-in IP address": "Opt-in IP address",
"Subscriber ID or Email": "Subscriber ID or Email",
- "Limit": "Limit",
- "Group Name": "Group Name",
+ "Limit": "数量上限",
+ "Group Name": "群组名称",
"Method": "方法",
"Headers": "信头",
"Query Parameters": "查询参数",
@@ -52,10 +52,10 @@
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
"Active": "使用中",
- "Unsubscribed": "Unsubscribed",
- "Unconfirmed": "Unconfirmed",
- "Bounced": "Bounced",
- "Junk": "Junk",
+ "Unsubscribed": "已退订",
+ "Unconfirmed": "未确认",
+ "Bounced": "已退回",
+ "Junk": "垃圾邮件",
"GET": "获取",
"POST": "帖子",
"PATCH": "PATCH",
@@ -66,15 +66,15 @@
"JSON": "JSON",
"Form Data": "表单数据",
"Raw": "原始文件",
- "Subscriber Created": "Subscriber Created",
- "Subscriber Fields Updated": "Subscriber Fields Updated",
- "Subscriber Unsubscribed": "Subscriber Unsubscribed",
- "Subscriber Added to Group": "Subscriber Added to Group",
+ "Subscriber Created": "订阅者已创建",
+ "Subscriber Fields Updated": "订阅者字段已更新",
+ "Subscriber Unsubscribed": "订阅者已退订",
+ "Subscriber Added to Group": "订阅者已添加到群组",
"Triggers when a subscriber was created on your mailing list.": "Triggers when a subscriber was created on your mailing list.",
"Triggers when the subscriber fields have been updated.": "Triggers when the subscriber fields have been updated.",
"Triggers when a subscriber has unsubscribed from your mailing list.": "Triggers when a subscriber has unsubscribed from your mailing list.",
- "Triggers when a subscriber is added to a group.": "Triggers when a subscriber is added to a group.",
- "Webhook Name": "Webhook Name",
+ "Triggers when a subscriber is added to a group.": "当订阅者被添加到群组时触发。",
+ "Webhook Name": "Webhook 名称",
"Update Subscriber": "Update Subscriber",
"Update fields or status of an existing subscriber.": "Update fields or status of an existing subscriber.",
"The subscriber ID, from find_subscriber or list_subscribers.": "The subscriber ID, from find_subscriber or list_subscribers.",
@@ -106,7 +106,7 @@
"Marketing preferences change": "Marketing preferences change",
"Preference center": "Preference center",
"Items to return (1-100, default 100).": "Items to return (1-100, default 100).",
- "Page": "Page",
+ "Page": "页码",
"Page number to return, starting at 1.": "Page number to return, starting at 1.",
"Count Subscribers": "Count Subscribers",
"Get the total number of subscribers in the account.": "Get the total number of subscribers in the account.",
@@ -150,7 +150,7 @@
"The segment ID, from list_segments.": "The segment ID, from list_segments.",
"Only return subscribers with this status. MailerLite defaults to active.": "Only return subscribers with this status. MailerLite defaults to active.",
"Items to return (1-1000, default 50).": "Items to return (1-1000, default 50).",
- "Cursor": "Cursor",
+ "Cursor": "游标",
"The meta.next_cursor value from the previous page. Leave empty for the first page.": "The meta.next_cursor value from the previous page. Leave empty for the first page.",
"Rename Segment": "Rename Segment",
"Rename a segment.": "Rename a segment.",
@@ -300,8 +300,8 @@
"List Timezones": "List Timezones",
"List the timezones MailerLite supports.": "List the timezones MailerLite supports.",
"Subscribers to return (1-1000, default 25).": "Subscribers to return (1-1000, default 25).",
- "Group": "Group",
- "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.",
+ "Group": "群组",
+ "Delete a subscriber. MailerLite keeps their data in case they re-subscribe.": "删除订阅者。MailerLite 会保留其数据,以便其重新订阅。",
"Yes": "Yes",
"No": "No",
"subscriber.created": "subscriber.created",
@@ -318,7 +318,44 @@
"campaign.sent": "campaign.sent",
"campaign.click": "campaign.click",
"campaign.open": "campaign.open",
- "List groups in the account, one page at a time.": "List groups in the account, one page at a time.",
+ "List groups in the account, one page at a time.": "逐页列出账户中的群组。",
"Groups to return per page (1-1000, default 100).": "Groups to return per page (1-1000, default 100).",
- "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop."
+ "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.": "Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.",
+ "Add Subscriber to Group": "将订阅者添加到群组",
+ "Add an existing subscriber to a group.": "将现有订阅者添加到群组。",
+ "Subscriber": "订阅者",
+ "Add or Update Subscriber": "添加或更新订阅者",
+ "Add a subscriber, or update the one with this email.": "添加订阅者,或更新使用此电子邮件的订阅者。",
+ "Markdown": "Markdown",
+ "If this email is already on your list, that subscriber is updated.": "如果此电子邮件已在您的列表中,将更新该订阅者。",
+ "Applied to new and existing subscribers.": "适用于新订阅者和现有订阅者。",
+ "Custom Fields": "自定义字段",
+ "Groups": "群组",
+ "Adds the subscriber to these groups.": "将订阅者添加到这些群组。",
+ "Opted In On": "确认订阅时间",
+ "Signup IP Address": "注册 IP 地址",
+ "Opt-in IP Address": "确认订阅 IP 地址",
+ "Find Subscriber": "查找订阅者",
+ "Find a subscriber by email or ID.": "通过电子邮件或 ID 查找订阅者。",
+ "Email or Subscriber ID": "电子邮件或订阅者 ID",
+ "Remove Subscriber from Group": "从群组移除订阅者",
+ "Remove a subscriber from a group.": "从群组中移除订阅者。",
+ "Only return subscribers with this status.": "仅返回此状态的订阅者。",
+ "How many subscribers to return per page, up to 1000.": "每页返回的订阅者数量,最多 1000。",
+ "meta.next_cursor from the previous run. Empty: first page.": "上次运行的 meta.next_cursor。留空:第一页。",
+ "An email that is not on your list yet is added as unsubscribed.": "尚未在您列表中的电子邮件将以已退订状态添加。",
+ "MailerLite keeps their data in case they re-subscribe.": "MailerLite 会保留其数据,以便其重新订阅。",
+ "How many groups to return per page, up to 1000.": "每页返回的群组数量,最多 1000。",
+ "Page number, starting at 1; meta.last_page in the response is last.": "页码,从 1 开始;响应中的 meta.last_page 为最后一页。",
+ "Only return subscribers with this status. Empty: active only.": "仅返回此状态的订阅者。留空:仅返回使用中的订阅者。",
+ "Triggers when a subscriber is added to your list.": "当订阅者被添加到您的列表时触发。",
+ "The name shown in MailerLite's webhook list.": "在 MailerLite 的 Webhook 列表中显示的名称。",
+ "Triggers when a subscriber's fields are updated.": "当订阅者的字段更新时触发。",
+ "Triggers when a subscriber unsubscribes.": "当订阅者退订时触发。",
+ "Membership": "归属",
+ "Fields and Groups": "字段和群组",
+ "Consent": "同意",
+ "Subscribers to List": "要列出的订阅者",
+ "Paging": "分页",
+ "Filter": "筛选"
}
diff --git a/packages/pieces/community/mailer-lite/src/index.ts b/packages/pieces/community/mailer-lite/src/index.ts
index f416ac6054e..8d26d425b8d 100644
--- a/packages/pieces/community/mailer-lite/src/index.ts
+++ b/packages/pieces/community/mailer-lite/src/index.ts
@@ -116,6 +116,12 @@ export const mailerLite = createPiece({
authMapping: async (auth) => ({
Authorization: `Bearer ${auth.secret_text}`,
}),
+ props: {
+ url: {
+ description: 'Full URL, or a path relative to https://connect.mailerlite.com',
+ placeholder: '/api/subscribers',
+ },
+ },
}),
],
triggers,
diff --git a/packages/pieces/community/mailer-lite/src/lib/actions/add-subscriber-to-group.ts b/packages/pieces/community/mailer-lite/src/lib/actions/add-subscriber-to-group.ts
index 86643910ec7..207eb29c112 100644
--- a/packages/pieces/community/mailer-lite/src/lib/actions/add-subscriber-to-group.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/actions/add-subscriber-to-group.ts
@@ -8,8 +8,8 @@ export const addSubscriberToGroupAction = createAction({
auth: mailerLiteAuth,
name: 'add_subscriber_to_group',
classification: 'WRITE',
- displayName: 'Add Subscriber to a Group',
- description: 'Adds existing subscriber to a specific group.',
+ displayName: 'Add Subscriber to Group',
+ description: 'Add an existing subscriber to a group.',
audience: 'both',
aiMetadata: {
description:
@@ -17,6 +17,15 @@ export const addSubscriberToGroupAction = createAction({
idempotent: true,
},
outputSchema: addSubscriberToGroupOutputSchema,
+ propertyGroups: [
+ {
+ key: 'membership',
+ display: 'section',
+ label: 'Membership',
+ icon: 'users',
+ props: ['subscriberId', 'subscriberGroupId'],
+ },
+ ],
props: {
subscriberId: mailerLiteCommon.subscriberId(true),
subscriberGroupId: mailerLiteCommon.subscriberGroupId(true),
diff --git a/packages/pieces/community/mailer-lite/src/lib/actions/create-group.ts b/packages/pieces/community/mailer-lite/src/lib/actions/create-group.ts
index d16cdd57d3e..f3d363cbdf9 100644
--- a/packages/pieces/community/mailer-lite/src/lib/actions/create-group.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/actions/create-group.ts
@@ -19,6 +19,7 @@ export const createGroupAction = createAction({
props: {
name: Property.ShortText({
displayName: 'Group Name',
+ placeholder: 'Newsletter readers',
required: true,
}),
},
diff --git a/packages/pieces/community/mailer-lite/src/lib/actions/create-or-update-subscription.ts b/packages/pieces/community/mailer-lite/src/lib/actions/create-or-update-subscription.ts
index b83dea381ae..47c11e0ba0d 100644
--- a/packages/pieces/community/mailer-lite/src/lib/actions/create-or-update-subscription.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/actions/create-or-update-subscription.ts
@@ -1,5 +1,5 @@
import MailerLite from '@mailerlite/mailerlite-nodejs';
-import { createAction, Property } from '@activepieces/pieces-framework';
+import { createAction, MarkdownVariant, Property } from '@activepieces/pieces-framework';
import { mailerLiteAuth } from '../auth';
import { addOrUpdateSubscriberOutputSchema } from '../output-schemas';
import { mailerLiteCommon } from '../common';
@@ -9,8 +9,8 @@ export const createOrUpdateSubscriber = createAction({
auth: mailerLiteAuth,
name: 'add_or_update_subscriber',
classification: 'WRITE',
- displayName: 'Add or Update subscriber',
- description: 'Create a new subscriber or updates an existing one if the email already exists.',
+ displayName: 'Add or Update Subscriber',
+ description: 'Add a subscriber, or update the one with this email.',
audience: 'both',
aiMetadata: {
description:
@@ -18,17 +18,43 @@ export const createOrUpdateSubscriber = createAction({
idempotent: true,
},
outputSchema: addOrUpdateSubscriberOutputSchema,
+ propertyGroups: [
+ {
+ key: 'subscriber',
+ display: 'section',
+ label: 'Subscriber',
+ icon: 'user',
+ props: ['update_info', 'email', 'status'],
+ },
+ {
+ key: 'profile',
+ display: 'section',
+ label: 'Fields and Groups',
+ icon: 'tag',
+ props: ['subscriberFields', 'subscriberGroupId'],
+ },
+ {
+ key: 'consent',
+ display: 'section',
+ label: 'Consent',
+ icon: 'calendar',
+ props: ['subscribed_at', 'opted_in_at', 'ip_address', 'optin_ip'],
+ },
+ ],
props: {
+ update_info: Property.MarkDown({
+ value: 'If this email is already on your list, that subscriber is updated.',
+ variant: MarkdownVariant.INFO,
+ }),
email: Property.ShortText({
displayName: 'Email',
- description: 'Email of the new contact',
+ placeholder: '[email protected]',
required: true,
}),
- subscriberFields: mailerLiteCommon.subscriberFields,
status: Property.StaticDropdown({
displayName: 'Status',
required: false,
- description: 'If empty, status Active is used by default.',
+ description: 'Applied to new and existing subscribers.',
defaultValue: 'active',
options: {
disabled: false,
@@ -56,22 +82,29 @@ export const createOrUpdateSubscriber = createAction({
],
},
}),
+ subscriberFields: mailerLiteCommon.subscriberFields,
subscriberGroupId: mailerLiteCommon.subscriberGroupIds(false),
subscribed_at: Property.DateTime({
displayName: 'Subscribed On',
required: false,
+ width: 'half',
}),
opted_in_at: Property.DateTime({
- displayName: 'Opt-in Date',
+ displayName: 'Opted In On',
required: false,
+ width: 'half',
}),
ip_address: Property.ShortText({
- displayName: 'Signup IP address',
+ displayName: 'Signup IP Address',
+ placeholder: '203.0.113.7',
required: false,
+ width: 'half',
}),
optin_ip: Property.ShortText({
- displayName: 'Opt-in IP address',
+ displayName: 'Opt-in IP Address',
+ placeholder: '203.0.113.7',
required: false,
+ width: 'half',
}),
},
async run(context) {
diff --git a/packages/pieces/community/mailer-lite/src/lib/actions/delete-subscriber.ts b/packages/pieces/community/mailer-lite/src/lib/actions/delete-subscriber.ts
index a176b435a58..85098e6324c 100644
--- a/packages/pieces/community/mailer-lite/src/lib/actions/delete-subscriber.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/actions/delete-subscriber.ts
@@ -1,5 +1,5 @@
import MailerLite from '@mailerlite/mailerlite-nodejs';
-import { createAction } from '@activepieces/pieces-framework';
+import { createAction, MarkdownVariant, Property } from '@activepieces/pieces-framework';
import { mailerLiteAuth } from '../auth';
import { mailerLiteCommon } from '../common';
import { mailerLiteApi } from '../common/client';
@@ -20,6 +20,10 @@ export const deleteSubscriberAction = createAction({
outputSchema: deleteSubscriberOutputSchema,
props: {
subscriberId: mailerLiteCommon.subscriberId(true),
+ delete_info: Property.MarkDown({
+ value: 'MailerLite keeps their data in case they re-subscribe.',
+ variant: MarkdownVariant.INFO,
+ }),
},
async run(context) {
const client = new MailerLite({ api_key: context.auth.secret_text });
diff --git a/packages/pieces/community/mailer-lite/src/lib/actions/find-subscriber.ts b/packages/pieces/community/mailer-lite/src/lib/actions/find-subscriber.ts
index 99ba3636a93..93806903f22 100644
--- a/packages/pieces/community/mailer-lite/src/lib/actions/find-subscriber.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/actions/find-subscriber.ts
@@ -7,8 +7,8 @@ export const findSubscriberAction = createAction({
auth: mailerLiteAuth,
name: 'find_subscriber',
classification: 'READ',
- displayName: 'Find a Subscriber',
- description: 'Search for subscriber by email or name.',
+ displayName: 'Find Subscriber',
+ description: 'Find a subscriber by email or ID.',
audience: 'both',
aiMetadata: {
description:
@@ -18,7 +18,8 @@ export const findSubscriberAction = createAction({
outputSchema: findSubscriberOutputSchema,
props: {
searchValue: Property.ShortText({
- displayName: 'Subscriber ID or Email',
+ displayName: 'Email or Subscriber ID',
+ placeholder: '[email protected]',
required: true,
}),
},
diff --git a/packages/pieces/community/mailer-lite/src/lib/actions/list-group-subscribers.ts b/packages/pieces/community/mailer-lite/src/lib/actions/list-group-subscribers.ts
index 12a1fb068f6..d0b2cb5ef92 100644
--- a/packages/pieces/community/mailer-lite/src/lib/actions/list-group-subscribers.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/actions/list-group-subscribers.ts
@@ -18,11 +18,27 @@ export const listGroupSubscribersAction = createAction({
idempotent: true,
},
outputSchema: listGroupSubscribersOutputSchema,
+ propertyGroups: [
+ {
+ key: 'subscribers',
+ display: 'section',
+ label: 'Subscribers to List',
+ icon: 'users',
+ props: ['subscriberGroupId', 'status'],
+ },
+ {
+ key: 'paging',
+ display: 'section',
+ label: 'Paging',
+ icon: 'sliders',
+ props: ['limit', 'cursor'],
+ },
+ ],
props: {
subscriberGroupId: mailerLiteCommon.subscriberGroupId(true),
status: Property.StaticDropdown({
displayName: 'Status',
- description: 'Only return subscribers with this status. MailerLite defaults to active.',
+ description: 'Only return subscribers with this status. Empty: active only.',
required: false,
options: {
options: [
@@ -36,14 +52,16 @@ export const listGroupSubscribersAction = createAction({
}),
limit: Property.Number({
displayName: 'Limit',
- description: 'Subscribers to return (1-1000, default 25).',
+ description: 'How many subscribers to return per page, up to 1000.',
required: false,
defaultValue: 25,
+ width: 'half',
}),
cursor: Property.ShortText({
displayName: 'Cursor',
- description: 'The meta.next_cursor value from the previous page. Leave empty for the first page.',
+ description: 'meta.next_cursor from the previous run. Empty: first page.',
required: false,
+ width: 'half',
}),
},
async run(context) {
diff --git a/packages/pieces/community/mailer-lite/src/lib/actions/list-groups.ts b/packages/pieces/community/mailer-lite/src/lib/actions/list-groups.ts
index 5664830a5b3..f331cf55d18 100644
--- a/packages/pieces/community/mailer-lite/src/lib/actions/list-groups.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/actions/list-groups.ts
@@ -16,18 +16,29 @@ export const listGroupsAction = createAction({
idempotent: true,
},
outputSchema: listGroupsOutputSchema,
+ propertyGroups: [
+ {
+ key: 'paging',
+ display: 'section',
+ label: 'Paging',
+ icon: 'sliders',
+ props: ['limit', 'page'],
+ },
+ ],
props: {
limit: Property.Number({
displayName: 'Limit',
- description: 'Groups to return per page (1-1000, default 100).',
+ description: 'How many groups to return per page, up to 1000.',
required: false,
defaultValue: 100,
+ width: 'half',
}),
page: Property.Number({
displayName: 'Page',
- description: 'Page number to return, starting at 1. Use `meta.last_page` from a previous response to know when to stop.',
+ description: 'Page number, starting at 1; meta.last_page in the response is last.',
required: false,
defaultValue: 1,
+ width: 'half',
}),
},
async run(context) {
diff --git a/packages/pieces/community/mailer-lite/src/lib/actions/list-subscribers.ts b/packages/pieces/community/mailer-lite/src/lib/actions/list-subscribers.ts
index 70d657e9315..d429ffb5890 100644
--- a/packages/pieces/community/mailer-lite/src/lib/actions/list-subscribers.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/actions/list-subscribers.ts
@@ -16,10 +16,26 @@ export const listSubscribersAction = createAction({
idempotent: true,
},
outputSchema: listSubscribersOutputSchema,
+ propertyGroups: [
+ {
+ key: 'filter',
+ display: 'section',
+ label: 'Filter',
+ icon: 'filter',
+ props: ['status'],
+ },
+ {
+ key: 'paging',
+ display: 'section',
+ label: 'Paging',
+ icon: 'sliders',
+ props: ['limit', 'cursor'],
+ },
+ ],
props: {
status: Property.StaticDropdown({
displayName: 'Status',
- description: 'Only return subscribers with this status',
+ description: 'Only return subscribers with this status.',
required: false,
options: {
options: [
@@ -33,14 +49,16 @@ export const listSubscribersAction = createAction({
}),
limit: Property.Number({
displayName: 'Limit',
- description: 'Subscribers to return (1-1000, default 25).',
+ description: 'How many subscribers to return per page, up to 1000.',
required: false,
defaultValue: 25,
+ width: 'half',
}),
cursor: Property.ShortText({
displayName: 'Cursor',
- description: 'The meta.next_cursor value from the previous page. Leave empty for the first page.',
+ description: 'meta.next_cursor from the previous run. Empty: first page.',
required: false,
+ width: 'half',
}),
},
async run(context) {
diff --git a/packages/pieces/community/mailer-lite/src/lib/actions/remove-subscriber-from-group.ts b/packages/pieces/community/mailer-lite/src/lib/actions/remove-subscriber-from-group.ts
index 5686e36c3bd..7d0c041b130 100644
--- a/packages/pieces/community/mailer-lite/src/lib/actions/remove-subscriber-from-group.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/actions/remove-subscriber-from-group.ts
@@ -7,14 +7,23 @@ export const removeSubscriberFromGroupAction = createAction({
auth: mailerLiteAuth,
name: 'remove_subscriber_from_group',
classification: 'WRITE',
- displayName: 'Remove Subscriber from a Group',
- description: 'Removes subscriber from a specific group.',
+ displayName: 'Remove Subscriber from Group',
+ description: 'Remove a subscriber from a group.',
audience: 'both',
aiMetadata: {
description:
'Unassign a MailerLite subscriber from a group, given the subscriber ID and group ID. Use this to remove a contact from a specific list/group without deleting the subscriber. Idempotent: removing a subscriber who is no longer in the group succeeds and leaves membership unchanged.',
idempotent: true,
},
+ propertyGroups: [
+ {
+ key: 'membership',
+ display: 'section',
+ label: 'Membership',
+ icon: 'users',
+ props: ['subscriberId', 'subscriberGroupId'],
+ },
+ ],
props: {
subscriberId: mailerLiteCommon.subscriberId(true),
subscriberGroupId: mailerLiteCommon.subscriberGroupId(true),
diff --git a/packages/pieces/community/mailer-lite/src/lib/actions/unsubscribe-subscriber.ts b/packages/pieces/community/mailer-lite/src/lib/actions/unsubscribe-subscriber.ts
index 1dd7d0128b1..a4ac21b2c2a 100644
--- a/packages/pieces/community/mailer-lite/src/lib/actions/unsubscribe-subscriber.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/actions/unsubscribe-subscriber.ts
@@ -1,5 +1,5 @@
import MailerLite from '@mailerlite/mailerlite-nodejs';
-import { Property, createAction } from '@activepieces/pieces-framework';
+import { MarkdownVariant, Property, createAction } from '@activepieces/pieces-framework';
import { mailerLiteAuth } from '../auth';
import { unsubscribeSubscriberOutputSchema } from '../output-schemas';
@@ -16,12 +16,25 @@ export const unsubscribeSubscriberAction = createAction({
idempotent: true,
},
outputSchema: unsubscribeSubscriberOutputSchema,
+ propertyGroups: [
+ {
+ key: 'subscriber',
+ display: 'section',
+ label: 'Subscriber',
+ icon: 'user',
+ props: ['email', 'unknown_info'],
+ },
+ ],
props: {
email: Property.ShortText({
displayName: 'Email',
- description: 'Email address of the subscriber to unsubscribe',
+ placeholder: '[email protected]',
required: true,
}),
+ unknown_info: Property.MarkDown({
+ value: 'An email that is not on your list yet is added as unsubscribed.',
+ variant: MarkdownVariant.INFO,
+ }),
},
async run(context) {
const client = new MailerLite({ api_key: context.auth.secret_text });
diff --git a/packages/pieces/community/mailer-lite/src/lib/common/index.ts b/packages/pieces/community/mailer-lite/src/lib/common/index.ts
index 70d20e6cfe1..76d935e499c 100644
--- a/packages/pieces/community/mailer-lite/src/lib/common/index.ts
+++ b/packages/pieces/community/mailer-lite/src/lib/common/index.ts
@@ -5,7 +5,7 @@ import { mailerLiteAuth } from '../auth';
export const mailerLiteCommon = {
subscriberFields: Property.DynamicProperties({
auth: mailerLiteAuth,
- displayName: 'Fields',
+ displayName: 'Custom Fields',
refreshers: [],
required: true,
props: async ({ auth }) => {
@@ -13,10 +13,9 @@ export const mailerLiteCommon = {
const props: DynamicPropsValue = {};
- const client = new MailerLite({ api_key: auth.secret_text });
- const response = await client.fields.get({ page: 1, limit: 100 });
+ const fields = await listAllFields({ apiKey: auth.secret_text });
- for (const field of response.data.data) {
+ for (const field of fields) {
switch (field.type) {
case 'number':
props[field.key] = Property.Number({
@@ -45,7 +44,8 @@ export const mailerLiteCommon = {
subscriberGroupIds: (required = false) =>
Property.MultiSelectDropdown({
auth: mailerLiteAuth,
- displayName: 'Group IDs',
+ displayName: 'Groups',
+ description: 'Adds the subscriber to these groups.',
required,
refreshers: [],
options: async ({ auth }) => {
@@ -57,16 +57,11 @@ export const mailerLiteCommon = {
};
}
- const client = new MailerLite({ api_key: auth.secret_text });
- const response = await client.groups.get({
- page: 1,
- limit: 100,
- sort: '-created_at',
- });
+ const groups = await listAllGroups({ apiKey: auth.secret_text });
return {
disabled: false,
- options: response.data.data.map((group) => {
+ options: groups.map((group) => {
return {
label: group.name,
value: group.id,
@@ -78,7 +73,7 @@ export const mailerLiteCommon = {
subscriberGroupId: (required = false) =>
Property.Dropdown({
auth: mailerLiteAuth,
- displayName: 'Group ID',
+ displayName: 'Group',
required,
refreshers: [],
options: async ({ auth }) => {
@@ -90,16 +85,11 @@ export const mailerLiteCommon = {
};
}
- const client = new MailerLite({ api_key: auth.secret_text });
- const response = await client.groups.get({
- page: 1,
- limit: 100,
- sort: '-created_at',
- });
+ const groups = await listAllGroups({ apiKey: auth.secret_text });
return {
disabled: false,
- options: response.data.data.map((group) => {
+ options: groups.map((group) => {
return {
label: group.name,
value: group.id,
@@ -111,7 +101,7 @@ export const mailerLiteCommon = {
subscriberId: (required = false) =>
Property.Dropdown({
auth: mailerLiteAuth,
- displayName: 'Subscriber ID',
+ displayName: 'Subscriber',
refreshers: [],
required,
options: async ({ auth }) => {
@@ -124,7 +114,7 @@ export const mailerLiteCommon = {
}
const client = new MailerLite({ api_key: auth.secret_text });
const subscribers: { label: string; value: string }[] = [];
- let cursor;
+ let cursor: string | undefined = undefined;
do {
const response = await client.subscribers.get({
limit: 25,
@@ -136,8 +126,8 @@ export const mailerLiteCommon = {
value: subscriber.id,
})),
);
- cursor = response.data.meta.next_cursor;
- } while (cursor !== null);
+ cursor = response.data.meta.next_cursor || undefined;
+ } while (cursor);
return {
disabled: false,
options: subscribers,
@@ -145,3 +135,57 @@ export const mailerLiteCommon = {
},
}),
};
+
+async function listAllGroups({ apiKey }: { apiKey: string }): Promise<MailerLiteGroup[]> {
+ const client = new MailerLite({ api_key: apiKey });
+ const groups: MailerLiteGroup[] = [];
+ let page = 1;
+ let lastPage = 1;
+ do {
+ const response = await client.groups.get({
+ page,
+ limit: 100,
+ sort: '-created_at',
+ });
+ groups.push(
+ ...response.data.data.map((group) => ({
+ id: group.id,
+ name: group.name,
+ })),
+ );
+ lastPage = response.data.meta.last_page;
+ page++;
+ } while (page <= lastPage);
+ return groups;
+}
+
+async function listAllFields({ apiKey }: { apiKey: string }): Promise<MailerLiteField[]> {
+ const client = new MailerLite({ api_key: apiKey });
+ const fields: MailerLiteField[] = [];
+ let page = 1;
+ let lastPage = 1;
+ do {
+ const response = await client.fields.get({ page, limit: 100 });
+ fields.push(
+ ...response.data.data.map((field) => ({
+ key: field.key,
+ name: field.name,
+ type: field.type,
+ })),
+ );
+ lastPage = response.data.meta.last_page;
+ page++;
+ } while (page <= lastPage);
+ return fields;
+}
+
+type MailerLiteGroup = {
+ id: string;
+ name: string;
+};
+
+type MailerLiteField = {
+ key: string;
+ name: string;
+ type: string;
+};
diff --git a/packages/pieces/community/mailer-lite/src/triggers/triggers.ts b/packages/pieces/community/mailer-lite/src/triggers/triggers.ts
index 6ea34eb2ec3..64745d64362 100644
--- a/packages/pieces/community/mailer-lite/src/triggers/triggers.ts
+++ b/packages/pieces/community/mailer-lite/src/triggers/triggers.ts
@@ -1,6 +1,7 @@
import MailerLite from '@mailerlite/mailerlite-nodejs';
import { OutputSchema, createTrigger, Property, TriggerStrategy } from '@activepieces/pieces-framework';
import { mailerLiteAuth } from '../lib/auth';
+import { mailerLiteApi } from '../lib/common/client';
import {
subscriberAddedToGroupTriggerOutputSchema,
subscriberEventTriggerOutputSchema,
@@ -47,7 +48,7 @@ export const triggers = [
name: 'subscriber.created',
outputSchema: subscriberEventTriggerOutputSchema,
displayName: 'Subscriber Created',
- description: 'Triggers when a subscriber was created on your mailing list.',
+ description: 'Triggers when a subscriber is added to your list.',
aiMetadata: {
description:
'Fires when a new subscriber is added to the MailerLite account, regardless of source (manual, form, import, API). Represents a newly created contact and carries the subscriber record.',
@@ -58,18 +59,18 @@ export const triggers = [
name: 'subscriber.updated',
outputSchema: subscriberEventTriggerOutputSchema,
displayName: 'Subscriber Fields Updated',
- description: 'Triggers when the subscriber fields have been updated.',
+ description: "Triggers when a subscriber's fields are updated.",
aiMetadata: {
description:
"Fires when an existing subscriber's fields (name, custom fields, or other profile attributes) are changed. Represents an update to a contact's record and carries the updated subscriber.",
},
- sampleData: subscriberSample,
+ sampleData: { ...subscriberSample, event: 'subscriber.updated' },
},
{
name: 'subscriber.unsubscribed',
outputSchema: subscriberEventTriggerOutputSchema,
displayName: 'Subscriber Unsubscribed',
- description: 'Triggers when a subscriber has unsubscribed from your mailing list.',
+ description: 'Triggers when a subscriber unsubscribes.',
aiMetadata: {
description:
'Fires when a subscriber unsubscribes from the mailing list, with their status set to unsubscribed. Represents a contact opting out and carries the affected subscriber.',
@@ -188,6 +189,8 @@ export function register({
props: {
name: Property.ShortText({
displayName: 'Webhook Name',
+ description: "The name shown in MailerLite's webhook list.",
+ placeholder: 'New subscribers flow',
required: true,
}),
},
@@ -196,25 +199,23 @@ export function register({
type: TriggerStrategy.WEBHOOK,
async onEnable(context) {
const mailerLite = new MailerLite({ api_key: context.auth.secret_text });
- mailerLite.webhooks
+ const response = await mailerLite.webhooks
.create({
name: context.propsValue.name,
events: [name],
url: context.webhookUrl,
})
- .then(async (response) => {
- await context.store.put<Webhook>(name, response.data);
- })
- .catch((error) => {
- if (error.response) console.log(error.response.data);
+ .catch((error: unknown) => {
+ throw mailerLiteApi.readableSdkError({ error, resource: 'the webhook' });
});
+ await context.store.put<Webhook>(name, response.data);
},
async onDisable(context) {
const webhook = await context.store.get<Webhook>(name);
if (webhook?.data.id) {
const mailerLite = new MailerLite({ api_key: context.auth.secret_text });
- mailerLite.webhooks.delete(webhook?.data.id);
+ await mailerLite.webhooks.delete(webhook.data.id).catch(() => undefined);
}
},
async run(context) {