@activepieces/piece-sendpulse 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,24 +1,26 @@
1
1
  {
2
2
  "name": "@activepieces/piece-sendpulse",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
8
  "@sinclair/typebox": "0.34.11",
9
+ "ai": "^6.0.0",
9
10
  "axios": "1.13.1",
10
11
  "axios-retry": "4.4.1",
11
12
  "deepmerge-ts": "7.1.0",
12
13
  "form-data": "4.0.4",
14
+ "i18next": "23.13.0",
13
15
  "mime-types": "2.1.35",
14
16
  "nanoid": "3.3.8",
15
17
  "semver": "7.6.0",
16
18
  "socket.io-client": "4.8.1",
17
19
  "tslib": "^2.3.0",
18
20
  "zod": "4.1.13",
19
- "@activepieces/pieces-common": "0.11.0",
20
- "@activepieces/pieces-framework": "0.23.0",
21
- "@activepieces/shared": "0.30.4"
21
+ "@activepieces/pieces-common": "0.11.3",
22
+ "@activepieces/pieces-framework": "0.25.1",
23
+ "@activepieces/shared": "0.34.0"
22
24
  },
23
25
  "resolutions": {
24
26
  "rollup": "npm:@rollup/wasm-node"
package/src/i18n/de.json CHANGED
@@ -25,10 +25,12 @@
25
25
  "Method": "Methode",
26
26
  "Headers": "Kopfzeilen",
27
27
  "Query Parameters": "Abfrageparameter",
28
+ "Body Type": "Körpertyp",
28
29
  "Body": "Körper",
29
30
  "Response is Binary ?": "Antwort ist binär?",
30
31
  "No Error on Failure": "Kein Fehler bei Fehler",
31
32
  "Timeout (in seconds)": "Timeout (in Sekunden)",
33
+ "Follow redirects": "Weiterleitungen folgen",
32
34
  "Select one of your SendPulse mailing lists": "Wählen Sie eine Ihrer SendPulse Mailinglisten",
33
35
  "Subscriber email address": "E-Mail Adresse des Abonnenten",
34
36
  "Optional subscriber variables (e.g., name, phone)": "Optionale Abonnentenvariablen (z.B. Name, Telefon)",
@@ -41,13 +43,17 @@
41
43
  "New phone number (optional)": "Neue Telefonnummer (optional)",
42
44
  "Subscriber variables to update (e.g., name, custom fields)": "Abonnenten-Variablen zum Aktualisieren (z. B. Name, benutzerdefinierte Felder)",
43
45
  "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
44
- "Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
46
+ "Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
45
47
  "GET": "ERHALTEN",
46
48
  "POST": "POST",
47
49
  "PATCH": "PATCH",
48
50
  "PUT": "PUT",
49
51
  "DELETE": "LÖSCHEN",
50
52
  "HEAD": "HEAD",
53
+ "None": "Keine",
54
+ "JSON": "JSON",
55
+ "Form Data": "Formulardaten",
56
+ "Raw": "Rohe",
51
57
  "New Subscriber": "Neuer Abonnent",
52
58
  "New Unsubscriber": "Neuer Abmelder",
53
59
  "Updated Subscriber": "Abonnent aktualisiert",
package/src/i18n/es.json CHANGED
@@ -25,10 +25,12 @@
25
25
  "Method": "Método",
26
26
  "Headers": "Encabezados",
27
27
  "Query Parameters": "Parámetros de consulta",
28
+ "Body Type": "Tipo de cuerpo",
28
29
  "Body": "Cuerpo",
29
30
  "Response is Binary ?": "¿Respuesta es binaria?",
30
31
  "No Error on Failure": "No hay ningún error en fallo",
31
32
  "Timeout (in seconds)": "Tiempo de espera (en segundos)",
33
+ "Follow redirects": "Seguir redirecciones",
32
34
  "Select one of your SendPulse mailing lists": "Seleccione una de sus listas de correo de SendPulse",
33
35
  "Subscriber email address": "Dirección de correo del suscriptor",
34
36
  "Optional subscriber variables (e.g., name, phone)": "Variables opcionales de suscriptores (por ejemplo, nombre, teléfono)",
@@ -41,13 +43,17 @@
41
43
  "New phone number (optional)": "Nuevo número de teléfono (opcional)",
42
44
  "Subscriber variables to update (e.g., name, custom fields)": "Variables de suscriptores a actualizar (por ejemplo, nombre, campos personalizados)",
43
45
  "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
44
- "Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
46
+ "Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
45
47
  "GET": "RECOGER",
46
48
  "POST": "POST",
47
49
  "PATCH": "PATCH",
48
50
  "PUT": "PUT",
49
51
  "DELETE": "BORRAR",
50
52
  "HEAD": "LIMPIO",
53
+ "None": "Ninguna",
54
+ "JSON": "JSON",
55
+ "Form Data": "Datos de Formulario",
56
+ "Raw": "Rápido",
51
57
  "New Subscriber": "Nuevo suscriptor",
52
58
  "New Unsubscriber": "Nuevo desuscriptor",
53
59
  "Updated Subscriber": "Suscriptor actualizado",
package/src/i18n/fr.json CHANGED
@@ -25,10 +25,12 @@
25
25
  "Method": "Méthode",
26
26
  "Headers": "En-têtes",
27
27
  "Query Parameters": "Paramètres de requête",
28
+ "Body Type": "Body Type",
28
29
  "Body": "Corps",
29
30
  "Response is Binary ?": "La réponse est Binaire ?",
30
31
  "No Error on Failure": "Aucune erreur en cas d'échec",
31
32
  "Timeout (in seconds)": "Délai d'expiration (en secondes)",
33
+ "Follow redirects": "Suivre les redirections",
32
34
  "Select one of your SendPulse mailing lists": "Sélectionnez une de vos listes de diffusion SendPulse",
33
35
  "Subscriber email address": "Adresse e-mail de l'abonné",
34
36
  "Optional subscriber variables (e.g., name, phone)": "Variables optionnelles d'abonné (par exemple, nom, téléphone)",
@@ -41,13 +43,17 @@
41
43
  "New phone number (optional)": "Nouveau numéro de téléphone (facultatif)",
42
44
  "Subscriber variables to update (e.g., name, custom fields)": "Variables d'abonné à mettre à jour (par exemple, nom, champs personnalisés)",
43
45
  "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
44
- "Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
46
+ "Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
45
47
  "GET": "GET",
46
48
  "POST": "POST",
47
49
  "PATCH": "PATCH",
48
50
  "PUT": "PUT",
49
51
  "DELETE": "DELETE",
50
52
  "HEAD": "HEAD",
53
+ "None": "Aucun",
54
+ "JSON": "JSON",
55
+ "Form Data": "Données du formulaire",
56
+ "Raw": "Brut",
51
57
  "New Subscriber": "Nouvel abonné",
52
58
  "New Unsubscriber": "Nouveau désabonné",
53
59
  "Updated Subscriber": "Abonné mis à jour",
package/src/i18n/ja.json CHANGED
@@ -25,10 +25,12 @@
25
25
  "Method": "方法",
26
26
  "Headers": "ヘッダー",
27
27
  "Query Parameters": "クエリパラメータ",
28
+ "Body Type": "ボディタイプ",
28
29
  "Body": "本文",
29
30
  "Response is Binary ?": "応答はバイナリですか?",
30
31
  "No Error on Failure": "失敗時にエラーはありません",
31
32
  "Timeout (in seconds)": "タイムアウト(秒)",
33
+ "Follow redirects": "リダイレクトをフォローする",
32
34
  "Select one of your SendPulse mailing lists": "SendPulseメーリングリストのいずれかを選択してください",
33
35
  "Subscriber email address": "購読者メールアドレス",
34
36
  "Optional subscriber variables (e.g., name, phone)": "オプションの購読者変数(例、名前、電話番号)",
@@ -41,13 +43,17 @@
41
43
  "New phone number (optional)": "新しい電話番号 (オプション)",
42
44
  "Subscriber variables to update (e.g., name, custom fields)": "更新する変数(例、名前、カスタムフィールド)",
43
45
  "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
44
- "Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
46
+ "Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
45
47
  "GET": "取得",
46
48
  "POST": "POST",
47
49
  "PATCH": "PATCH",
48
50
  "PUT": "PUT",
49
51
  "DELETE": "削除",
50
52
  "HEAD": "頭",
53
+ "None": "なし",
54
+ "JSON": "JSON",
55
+ "Form Data": "フォームデータ",
56
+ "Raw": "Raw",
51
57
  "New Subscriber": "新規購読",
52
58
  "New Unsubscriber": "新しい購読解除",
53
59
  "Updated Subscriber": "購読者の更新",
package/src/i18n/nl.json CHANGED
@@ -25,10 +25,12 @@
25
25
  "Method": "Methode",
26
26
  "Headers": "Kopteksten",
27
27
  "Query Parameters": "Query parameters",
28
+ "Body Type": "Type lichaam",
28
29
  "Body": "Lichaam",
29
30
  "Response is Binary ?": "Antwoord is binair?",
30
31
  "No Error on Failure": "Geen fout bij fout",
31
32
  "Timeout (in seconds)": "Time-out (in seconden)",
33
+ "Follow redirects": "Volg omleidingen",
32
34
  "Select one of your SendPulse mailing lists": "Selecteer een van je SendPulse mailing lijsten",
33
35
  "Subscriber email address": "E-mailadres abonnee",
34
36
  "Optional subscriber variables (e.g., name, phone)": "Optionele abonnee variabelen (bijv. naam, telefoon)",
@@ -41,13 +43,17 @@
41
43
  "New phone number (optional)": "Nieuw telefoonnummer (optioneel)",
42
44
  "Subscriber variables to update (e.g., name, custom fields)": "Bijwerken abonnee variabelen (bijv. naam, aangepaste velden)",
43
45
  "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
44
- "Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
46
+ "Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
45
47
  "GET": "KRIJG",
46
48
  "POST": "POSTE",
47
49
  "PATCH": "BEKIJK",
48
50
  "PUT": "PUT",
49
51
  "DELETE": "VERWIJDEREN",
50
52
  "HEAD": "HOOFD",
53
+ "None": "geen",
54
+ "JSON": "JSON",
55
+ "Form Data": "Formulieren gegevens",
56
+ "Raw": "Onbewerkte",
51
57
  "New Subscriber": "Nieuwe abonnee",
52
58
  "New Unsubscriber": "Nieuwe afmelder",
53
59
  "Updated Subscriber": "Abonnee bijgewerkt",
package/src/i18n/pt.json CHANGED
@@ -25,10 +25,12 @@
25
25
  "Method": "Método",
26
26
  "Headers": "Cabeçalhos",
27
27
  "Query Parameters": "Parâmetros da consulta",
28
+ "Body Type": "Tipo de Corpo",
28
29
  "Body": "Conteúdo",
29
30
  "Response is Binary ?": "A resposta é binária ?",
30
31
  "No Error on Failure": "Nenhum erro no Failure",
31
32
  "Timeout (in seconds)": "Tempo limite (em segundos)",
33
+ "Follow redirects": "Seguir redirecionamentos",
32
34
  "Select one of your SendPulse mailing lists": "Selecione uma das suas listas de discussão do SendPulse",
33
35
  "Subscriber email address": "Endereço de e-mail assinante",
34
36
  "Optional subscriber variables (e.g., name, phone)": "Variáveis opcionais de assinante (por exemplo, nome, telefone)",
@@ -41,13 +43,17 @@
41
43
  "New phone number (optional)": "Novo número de telefone (opcional)",
42
44
  "Subscriber variables to update (e.g., name, custom fields)": "Variáveis de assinante para atualizar (por exemplo, nome, campos personalizados)",
43
45
  "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
44
- "Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
46
+ "Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
45
47
  "GET": "OBTER",
46
48
  "POST": "POSTAR",
47
49
  "PATCH": "COMPRAR",
48
50
  "PUT": "COLOCAR",
49
51
  "DELETE": "EXCLUIR",
50
52
  "HEAD": "CABEÇA",
53
+ "None": "Nenhuma",
54
+ "JSON": "JSON",
55
+ "Form Data": "Dados de Formulário",
56
+ "Raw": "RAW",
51
57
  "New Subscriber": "Novo Assinante",
52
58
  "New Unsubscriber": "Novo Desassinante",
53
59
  "Updated Subscriber": "Assinante atualizado",
@@ -25,10 +25,12 @@
25
25
  "Method": "Method",
26
26
  "Headers": "Headers",
27
27
  "Query Parameters": "Query Parameters",
28
+ "Body Type": "Body Type",
28
29
  "Body": "Body",
29
30
  "Response is Binary ?": "Response is Binary ?",
30
31
  "No Error on Failure": "No Error on Failure",
31
32
  "Timeout (in seconds)": "Timeout (in seconds)",
33
+ "Follow redirects": "Follow redirects",
32
34
  "Select one of your SendPulse mailing lists": "Select one of your SendPulse mailing lists",
33
35
  "Subscriber email address": "Subscriber email address",
34
36
  "Optional subscriber variables (e.g., name, phone)": "Optional subscriber variables (e.g., name, phone)",
@@ -41,13 +43,17 @@
41
43
  "New phone number (optional)": "New phone number (optional)",
42
44
  "Subscriber variables to update (e.g., name, custom fields)": "Subscriber variables to update (e.g., name, custom fields)",
43
45
  "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
44
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
46
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
45
47
  "GET": "GET",
46
48
  "POST": "POST",
47
49
  "PATCH": "PATCH",
48
50
  "PUT": "PUT",
49
51
  "DELETE": "DELETE",
50
52
  "HEAD": "HEAD",
53
+ "None": "None",
54
+ "JSON": "JSON",
55
+ "Form Data": "Form Data",
56
+ "Raw": "Raw",
51
57
  "New Subscriber": "New Subscriber",
52
58
  "New Unsubscriber": "New Unsubscriber",
53
59
  "Updated Subscriber": "Updated Subscriber",
package/src/i18n/zh.json CHANGED
@@ -25,10 +25,12 @@
25
25
  "Method": "方法",
26
26
  "Headers": "信头",
27
27
  "Query Parameters": "查询参数",
28
+ "Body Type": "Body Type",
28
29
  "Body": "正文内容",
29
30
  "Response is Binary ?": "Response is Binary ?",
30
31
  "No Error on Failure": "失败时没有错误",
31
32
  "Timeout (in seconds)": "超时(秒)",
33
+ "Follow redirects": "Follow redirects",
32
34
  "Select one of your SendPulse mailing lists": "Select one of your SendPulse mailing lists",
33
35
  "Subscriber email address": "Subscriber email address",
34
36
  "Optional subscriber variables (e.g., name, phone)": "Optional subscriber variables (e.g., name, phone)",
@@ -41,13 +43,17 @@
41
43
  "New phone number (optional)": "New phone number (optional)",
42
44
  "Subscriber variables to update (e.g., name, custom fields)": "Subscriber variables to update (e.g., name, custom fields)",
43
45
  "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
44
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
46
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
45
47
  "GET": "获取",
46
48
  "POST": "帖子",
47
49
  "PATCH": "PATCH",
48
50
  "PUT": "弹出",
49
51
  "DELETE": "删除",
50
52
  "HEAD": "黑色",
53
+ "None": "无",
54
+ "JSON": "JSON",
55
+ "Form Data": "表单数据",
56
+ "Raw": "原始文件",
51
57
  "New Subscriber": "New Subscriber",
52
58
  "New Unsubscriber": "New Unsubscriber",
53
59
  "Updated Subscriber": "Updated Subscriber",
@@ -15,6 +15,14 @@ export declare const newSubscriberTrigger: import("@activepieces/pieces-framewor
15
15
  clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
16
16
  clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
17
17
  }>>;
18
+ }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
19
+ clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
20
+ clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
21
+ }>, {
22
+ mailingListId: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
23
+ clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
24
+ clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
25
+ }>>;
18
26
  }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
19
27
  clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
20
28
  clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
@@ -15,6 +15,14 @@ export declare const newUnsubscriberTrigger: import("@activepieces/pieces-framew
15
15
  clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
16
16
  clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
17
17
  }>>;
18
+ }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
19
+ clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
20
+ clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
21
+ }>, {
22
+ mailingListId: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
23
+ clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
24
+ clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
25
+ }>>;
18
26
  }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
19
27
  clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
20
28
  clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
@@ -15,6 +15,14 @@ export declare const updatedSubscriberTrigger: import("@activepieces/pieces-fram
15
15
  clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
16
16
  clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
17
17
  }>>;
18
+ }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
19
+ clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
20
+ clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
21
+ }>, {
22
+ mailingListId: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
23
+ clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
24
+ clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;
25
+ }>>;
18
26
  }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
19
27
  clientId: import("@activepieces/pieces-framework").SecretTextProperty<true>;
20
28
  clientSecret: import("@activepieces/pieces-framework").SecretTextProperty<true>;