@activepieces/piece-sendfox 0.0.7 → 0.0.8

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,19 +1,39 @@
1
1
  {
2
2
  "name": "@activepieces/piece-sendfox",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "dependencies": {
5
- "@sinclair/typebox": "0.26.8",
6
- "axios": "^1.6.3",
7
- "dayjs": "1.11.9",
8
- "is-base64": "1.1.0",
9
- "lodash": "4.17.21",
10
- "nanoid": "3.3.6",
5
+ "@ai-sdk/anthropic": "1.2.12",
6
+ "@ai-sdk/google": "1.2.19",
7
+ "@ai-sdk/openai": "1.3.22",
8
+ "@ai-sdk/replicate": "0.2.8",
9
+ "@sinclair/typebox": "0.34.11",
10
+ "ai": "4.3.16",
11
+ "axios": "1.8.3",
12
+ "axios-retry": "4.4.1",
13
+ "deepmerge-ts": "7.1.0",
14
+ "fast-glob": "3.3.3",
15
+ "mime-types": "2.1.35",
16
+ "nanoid": "3.3.8",
11
17
  "semver": "7.6.0",
12
- "@activepieces/pieces-common": "0.2.9",
13
- "@activepieces/pieces-framework": "0.7.24",
14
- "@activepieces/shared": "0.10.93",
15
- "tslib": "2.6.1"
18
+ "zod": "3.25.76",
19
+ "@activepieces/pieces-common": "0.6.0",
20
+ "@activepieces/pieces-framework": "0.15.0",
21
+ "@activepieces/shared": "0.17.2",
22
+ "tslib": "2.8.1"
16
23
  },
24
+ "overrides": {
25
+ "@tryfabric/martian": {
26
+ "@notionhq/client": "$@notionhq/client"
27
+ },
28
+ "vite": {
29
+ "rollup": "npm:@rollup/wasm-node"
30
+ },
31
+ "stylus": "0.0.1-security"
32
+ },
33
+ "resolutions": {
34
+ "rollup": "npm:@rollup/wasm-node"
35
+ },
36
+ "types": "./src/index.d.ts",
17
37
  "main": "./src/index.js",
18
38
  "type": "commonjs"
19
39
  }
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.callsendfoxApi = exports.sendfoxCommon = exports.getcontacts = exports.getLists = void 0;
3
+ exports.sendfoxCommon = void 0;
4
+ exports.getLists = getLists;
5
+ exports.getcontacts = getcontacts;
6
+ exports.callsendfoxApi = callsendfoxApi;
4
7
  const tslib_1 = require("tslib");
5
8
  const pieces_framework_1 = require("@activepieces/pieces-framework");
6
9
  const pieces_common_1 = require("@activepieces/pieces-common");
@@ -17,7 +20,6 @@ function getLists(accessToken) {
17
20
  return list_of_lists;
18
21
  });
19
22
  }
20
- exports.getLists = getLists;
21
23
  function getcontacts(accessToken) {
22
24
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
23
25
  let list_of_contacts = [];
@@ -38,13 +40,12 @@ function getcontacts(accessToken) {
38
40
  return list_of_contacts;
39
41
  });
40
42
  }
41
- exports.getcontacts = getcontacts;
42
43
  exports.sendfoxCommon = {
43
44
  lists: pieces_framework_1.Property.Dropdown({
44
45
  displayName: 'Lists',
45
46
  required: false,
46
47
  refreshers: ['auth'],
47
- options: ({ auth }) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
48
+ options: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth }) {
48
49
  const authentication = auth;
49
50
  if (!authentication) {
50
51
  return {
@@ -80,5 +81,4 @@ function callsendfoxApi(method, apiUrl, accessToken, body) {
80
81
  });
81
82
  });
82
83
  }
83
- exports.callsendfoxApi = callsendfoxApi;
84
84
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/sendfox/src/common/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA+E;AAC/E,+DAMqC;AAErC,SAAsB,QAAQ,CAAC,WAAmB;;QAChD,MAAM,aAAa,GAAG,EAAE,CAAC;QACzB,IAAI,SAAS,GAAG,CAAC,CAAC;QAClB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI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AK,EAAE,2BAAQ,CAAC,QAAQ,CAAC;QACvB,WAAW,EAAE,OAAO;QACpB,QAAQ,EAAE,KAAK;QACf,UAAU,EAAE,CAAC,MAAM,CAAC;QACpB,OAAO,EAAE,CAAO,EAAE,IAAI,EAAE,EAAE,EAAE;YAC1B,MAAM,cAAc,GAAG,IAAc,CAAC;YACtC,IAAI,CAAC,cAAc,EAAE;gBACnB,OAAO;oBACL,QAAQ,EAAE,IAAI;oBACd,WAAW,EAAE,4BAA4B;oBACzC,OAAO,EAAE,EAAE;iBACZ,CAAC;aACH;YACD,MAAM,WAAW,GAAG,cAAc,CAAC;YACnC,MAAM,aAAa,GAAG,MAAM,QAAQ,CAAC,WAAW,CAAC,CAAC;YAClD,OAAO;gBACL,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,aAAa,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACzC,OAAO;wBACL,KAAK,EAAE,IAAI,CAAC,IAAI;wBAChB,KAAK,EAAE,IAAI,CAAC,EAAE;qBACf,CAAC;gBACJ,CAAC,CAAC;aACH,CAAC;QACJ,CAAC,CAAA;KACF,CAAC;CACH,CAAC;AAEF,SAAsB,cAAc,CAClC,MAAkB,EAClB,MAAc,EACd,WAAmB,EACnB,IAAqB;;QAErB,OAAO,MAAM,0BAAU,CAAC,WAAW,CAAI;YACrC,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,2BAA2B,MAAM,EAAE;YACxC,cAAc,EAAE;gBACd,IAAI,EAAE,kCAAkB,CAAC,YAAY;gBACrC,KAAK,EAAE,WAAW;aACnB;YACD,IAAI,EAAE,IAAI;SACX,CAAC,CAAC;IACL,CAAC;CAAA;AAfD,wCAeC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/pieces/community/sendfox/src/common/index.ts"],"names":[],"mappings":";;;AASA,4BAmBC;AACD,kCA4BC;AA+BD,wCAeC;;AAvGD,qEAA+E;AAC/E,+DA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
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "Email marketing made simple",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.",
5
+ "Create List": "Create List",
6
+ "Unsubscribe Contact": "Unsubscribe Contact",
7
+ "Create Contact": "Create Contact",
8
+ "Custom API Call": "Custom API Call",
9
+ "Create a new list": "Create a new list",
10
+ "Unsubscribe a contact": "Unsubscribe a contact",
11
+ "Create a new contact": "Create a new contact",
12
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
13
+ "List Name": "List Name",
14
+ "Email": "Email",
15
+ "First Name": "First Name",
16
+ "Last Name": "Last Name",
17
+ "Lists": "Lists",
18
+ "Method": "Method",
19
+ "Headers": "Headers",
20
+ "Query Parameters": "Query Parameters",
21
+ "Body": "Body",
22
+ "No Error on Failure": "No Error on Failure",
23
+ "Timeout (in seconds)": "Timeout (in seconds)",
24
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
25
+ "GET": "GET",
26
+ "POST": "POST",
27
+ "PATCH": "PATCH",
28
+ "PUT": "PUT",
29
+ "DELETE": "DELETE",
30
+ "HEAD": "HEAD"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "E-Mail-Marketing einfach gemacht",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "Um Ihr persönliches Token zu erhalten, folgen Sie diesen Schritten:\n1. Loggen Sie sich in Ihr SendFox-Konto ein.\n2. Besuchen Sie https://sendfox.com/account/oauth um einen\n3 zu erstellen. Klicken Sie von OAuth Apps auf Neues Token.\n4. Geben Sie einen beliebigen Namen ein und klicken Sie dann auf Erstellen.\n5. Kopieren und fügen Sie Ihren Token hier ein.",
5
+ "Create List": "Liste erstellen",
6
+ "Unsubscribe Contact": "Kontakt abbestellen",
7
+ "Create Contact": "Kontakt erstellen",
8
+ "Custom API Call": "Eigener API-Aufruf",
9
+ "Create a new list": "Neue Liste erstellen",
10
+ "Unsubscribe a contact": "Kontakt abbestellen",
11
+ "Create a new contact": "Neuen Kontakt erstellen",
12
+ "Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
13
+ "List Name": "Listenname",
14
+ "Email": "E-Mail",
15
+ "First Name": "Vorname",
16
+ "Last Name": "Nachname",
17
+ "Lists": "Listen",
18
+ "Method": "Methode",
19
+ "Headers": "Kopfzeilen",
20
+ "Query Parameters": "Abfrageparameter",
21
+ "Body": "Körper",
22
+ "No Error on Failure": "Kein Fehler bei Fehler",
23
+ "Timeout (in seconds)": "Timeout (in Sekunden)",
24
+ "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
25
+ "GET": "ERHALTEN",
26
+ "POST": "POST",
27
+ "PATCH": "PATCH",
28
+ "PUT": "PUT",
29
+ "DELETE": "LÖSCHEN",
30
+ "HEAD": "HEAD"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "Marketing por email simplificado",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "Para obtener tu token personal, sigue estos pasos:\n1. Inicia sesión en tu cuenta de SendFox.\n2. Visita https://sendfox.com/account/oauth para crear una\n3. Desde OAuth Apps haga clic en Crear Nuevo Token.\n4. Introduce cualquier nombre que quieras y haz clic en crear.\n5. Copia y pega tu token aquí.",
5
+ "Create List": "Crear Lista",
6
+ "Unsubscribe Contact": "Desuscribirse Contacto",
7
+ "Create Contact": "Crear contacto",
8
+ "Custom API Call": "Llamada API personalizada",
9
+ "Create a new list": "Crear una nueva lista",
10
+ "Unsubscribe a contact": "Darse de baja de un contacto",
11
+ "Create a new contact": "Crear un nuevo contacto",
12
+ "Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
13
+ "List Name": "Nombre de lista",
14
+ "Email": "E-mail",
15
+ "First Name": "Nombre",
16
+ "Last Name": "Apellido",
17
+ "Lists": "Listas",
18
+ "Method": "Método",
19
+ "Headers": "Encabezados",
20
+ "Query Parameters": "Parámetros de consulta",
21
+ "Body": "Cuerpo",
22
+ "No Error on Failure": "No hay ningún error en fallo",
23
+ "Timeout (in seconds)": "Tiempo de espera (en segundos)",
24
+ "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
25
+ "GET": "RECOGER",
26
+ "POST": "POST",
27
+ "PATCH": "PATCH",
28
+ "PUT": "PUT",
29
+ "DELETE": "BORRAR",
30
+ "HEAD": "LIMPIO"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "Courriel marketing simplifié",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.",
5
+ "Create List": "Créer une liste",
6
+ "Unsubscribe Contact": "Se désabonner du contact",
7
+ "Create Contact": "Créer un contact",
8
+ "Custom API Call": "Appel API personnalisé",
9
+ "Create a new list": "Créer une nouvelle liste",
10
+ "Unsubscribe a contact": "Se désabonner d'un contact",
11
+ "Create a new contact": "Créer un nouveau contact",
12
+ "Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un point de terminaison spécifique",
13
+ "List Name": "Nom de la liste",
14
+ "Email": "Courriel",
15
+ "First Name": "First Name",
16
+ "Last Name": "Last Name",
17
+ "Lists": "Listes",
18
+ "Method": "Méthode",
19
+ "Headers": "En-têtes",
20
+ "Query Parameters": "Paramètres de requête",
21
+ "Body": "Corps",
22
+ "No Error on Failure": "Aucune erreur en cas d'échec",
23
+ "Timeout (in seconds)": "Délai d'attente (en secondes)",
24
+ "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
25
+ "GET": "OBTENIR",
26
+ "POST": "POSTER",
27
+ "PATCH": "PATCH",
28
+ "PUT": "EFFACER",
29
+ "DELETE": "SUPPRIMER",
30
+ "HEAD": "TÊTE"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "Email marketing made simple",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.",
5
+ "Create List": "Create List",
6
+ "Unsubscribe Contact": "Unsubscribe Contact",
7
+ "Create Contact": "Create Contact",
8
+ "Custom API Call": "Custom API Call",
9
+ "Create a new list": "Create a new list",
10
+ "Unsubscribe a contact": "Unsubscribe a contact",
11
+ "Create a new contact": "Create a new contact",
12
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
13
+ "List Name": "List Name",
14
+ "Email": "Email",
15
+ "First Name": "First Name",
16
+ "Last Name": "Last Name",
17
+ "Lists": "Lists",
18
+ "Method": "Method",
19
+ "Headers": "Headers",
20
+ "Query Parameters": "Query Parameters",
21
+ "Body": "Body",
22
+ "No Error on Failure": "No Error on Failure",
23
+ "Timeout (in seconds)": "Timeout (in seconds)",
24
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
25
+ "GET": "GET",
26
+ "POST": "POST",
27
+ "PATCH": "PATCH",
28
+ "PUT": "PUT",
29
+ "DELETE": "DELETE",
30
+ "HEAD": "HEAD"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "Email marketing made simple",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.",
5
+ "Create List": "Create List",
6
+ "Unsubscribe Contact": "Unsubscribe Contact",
7
+ "Create Contact": "Create Contact",
8
+ "Custom API Call": "Custom API Call",
9
+ "Create a new list": "Create a new list",
10
+ "Unsubscribe a contact": "Unsubscribe a contact",
11
+ "Create a new contact": "Create a new contact",
12
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
13
+ "List Name": "List Name",
14
+ "Email": "Email",
15
+ "First Name": "First Name",
16
+ "Last Name": "Last Name",
17
+ "Lists": "Lists",
18
+ "Method": "Method",
19
+ "Headers": "Headers",
20
+ "Query Parameters": "Query Parameters",
21
+ "Body": "Body",
22
+ "No Error on Failure": "No Error on Failure",
23
+ "Timeout (in seconds)": "Timeout (in seconds)",
24
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
25
+ "GET": "GET",
26
+ "POST": "POST",
27
+ "PATCH": "PATCH",
28
+ "PUT": "PUT",
29
+ "DELETE": "DELETE",
30
+ "HEAD": "HEAD"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "メールマーケティングがシンプルになりました",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.",
5
+ "Create List": "リストを作成",
6
+ "Unsubscribe Contact": "連絡先を購読解除",
7
+ "Create Contact": "連絡先を作成",
8
+ "Custom API Call": "カスタムAPI通話",
9
+ "Create a new list": "新しいリストを作成",
10
+ "Unsubscribe a contact": "連絡先の登録を解除",
11
+ "Create a new contact": "新しい連絡先を作成",
12
+ "Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
13
+ "List Name": "リスト名",
14
+ "Email": "Eメールアドレス",
15
+ "First Name": "名",
16
+ "Last Name": "Last Name",
17
+ "Lists": "リスト",
18
+ "Method": "方法",
19
+ "Headers": "ヘッダー",
20
+ "Query Parameters": "クエリパラメータ",
21
+ "Body": "本文",
22
+ "No Error on Failure": "失敗時にエラーはありません",
23
+ "Timeout (in seconds)": "タイムアウト(秒)",
24
+ "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
25
+ "GET": "取得",
26
+ "POST": "POST",
27
+ "PATCH": "PATCH",
28
+ "PUT": "PUT",
29
+ "DELETE": "削除",
30
+ "HEAD": "頭"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "E-mailmarketing eenvoudig gemaakt",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "Om uw persoonlijke token te verkrijgen, volg deze stappen:\n1. Log in op uw SendFox account.\n2. Bezoek https://sendfox.com/account/oauth om een\n3 te maken. Van OAuth Apps klik op Nieuw Token.\n4. Voer elke naam in die u wilt en klik vervolgens op aanmaken.\n5. Kopieer en plak hier uw token.",
5
+ "Create List": "Lijst aanmaken",
6
+ "Unsubscribe Contact": "Ontvangers uitschrijven",
7
+ "Create Contact": "Contactpersoon aanmaken",
8
+ "Custom API Call": "Custom API Call",
9
+ "Create a new list": "Maak een nieuwe lijst",
10
+ "Unsubscribe a contact": "Een contact uitschrijven",
11
+ "Create a new contact": "Een nieuw contact maken",
12
+ "Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
13
+ "List Name": "Lijst Naam",
14
+ "Email": "E-mail",
15
+ "First Name": "Voornaam",
16
+ "Last Name": "Achternaam",
17
+ "Lists": "Lijsten",
18
+ "Method": "Methode",
19
+ "Headers": "Kopteksten",
20
+ "Query Parameters": "Query parameters",
21
+ "Body": "Lichaam",
22
+ "No Error on Failure": "Geen fout bij fout",
23
+ "Timeout (in seconds)": "Time-out (in seconden)",
24
+ "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
25
+ "GET": "KRIJG",
26
+ "POST": "POSTE",
27
+ "PATCH": "BEKIJK",
28
+ "PUT": "PUT",
29
+ "DELETE": "VERWIJDEREN",
30
+ "HEAD": "HOOFD"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "Marketing de e-mail simplificado",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "Para obter seu token pessoal, siga estes passos:\n1. Inicie sessão na sua conta SendFox.\n2. Visite https://sendfox.com/account/oauth para criar um\n3. A partir de aplicativos OAuth clique em Criar Novo Token.\n4. Digite qualquer nome que quiser então clique em criar.\n5. Copie e cole o seu token aqui.",
5
+ "Create List": "Criar lista",
6
+ "Unsubscribe Contact": "Cancelar contato",
7
+ "Create Contact": "Criar contato",
8
+ "Custom API Call": "Chamada de API personalizada",
9
+ "Create a new list": "Criar uma nova lista",
10
+ "Unsubscribe a contact": "Cancelar contato",
11
+ "Create a new contact": "Criar um novo contato",
12
+ "Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
13
+ "List Name": "Lista de nomes",
14
+ "Email": "e-mail",
15
+ "First Name": "Nome",
16
+ "Last Name": "Sobrenome",
17
+ "Lists": "Listas",
18
+ "Method": "Método",
19
+ "Headers": "Cabeçalhos",
20
+ "Query Parameters": "Parâmetros da consulta",
21
+ "Body": "Conteúdo",
22
+ "No Error on Failure": "Nenhum erro no Failure",
23
+ "Timeout (in seconds)": "Tempo limite (em segundos)",
24
+ "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
25
+ "GET": "OBTER",
26
+ "POST": "POSTAR",
27
+ "PATCH": "COMPRAR",
28
+ "PUT": "COLOCAR",
29
+ "DELETE": "EXCLUIR",
30
+ "HEAD": "CABEÇA"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "Простой маркетинг по электронной почте",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.",
5
+ "Create List": "Создать список",
6
+ "Unsubscribe Contact": "Отписаться от контактов",
7
+ "Create Contact": "Создать контакт",
8
+ "Custom API Call": "Пользовательский вызов API",
9
+ "Create a new list": "Создать новый список",
10
+ "Unsubscribe a contact": "Отменить подписку на контакт",
11
+ "Create a new contact": "Создать новый контакт",
12
+ "Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
13
+ "List Name": "Название списка",
14
+ "Email": "Почта",
15
+ "First Name": "First Name",
16
+ "Last Name": "Last Name",
17
+ "Lists": "Списки",
18
+ "Method": "Метод",
19
+ "Headers": "Заголовки",
20
+ "Query Parameters": "Параметры запроса",
21
+ "Body": "Тело",
22
+ "No Error on Failure": "Нет ошибок при ошибке",
23
+ "Timeout (in seconds)": "Таймаут (в секундах)",
24
+ "Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
25
+ "GET": "ПОЛУЧИТЬ",
26
+ "POST": "ПОСТ",
27
+ "PATCH": "ПАТЧ",
28
+ "PUT": "ПОКУПИТЬ",
29
+ "DELETE": "УДАЛИТЬ",
30
+ "HEAD": "HEAD"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "Email marketing made simple",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.",
5
+ "Create List": "Create List",
6
+ "Unsubscribe Contact": "Unsubscribe Contact",
7
+ "Create Contact": "Create Contact",
8
+ "Custom API Call": "Custom API Call",
9
+ "Create a new list": "Create a new list",
10
+ "Unsubscribe a contact": "Unsubscribe a contact",
11
+ "Create a new contact": "Create a new contact",
12
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
13
+ "List Name": "List Name",
14
+ "Email": "Email",
15
+ "First Name": "First Name",
16
+ "Last Name": "Last Name",
17
+ "Lists": "Lists",
18
+ "Method": "Method",
19
+ "Headers": "Headers",
20
+ "Query Parameters": "Query Parameters",
21
+ "Body": "Body",
22
+ "No Error on Failure": "No Error on Failure",
23
+ "Timeout (in seconds)": "Timeout (in seconds)",
24
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
25
+ "GET": "GET",
26
+ "POST": "POST",
27
+ "PATCH": "PATCH",
28
+ "PUT": "PUT",
29
+ "DELETE": "DELETE",
30
+ "HEAD": "HEAD"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "Email marketing made simple",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.",
5
+ "Create List": "Create List",
6
+ "Unsubscribe Contact": "Unsubscribe Contact",
7
+ "Create Contact": "Create Contact",
8
+ "Custom API Call": "Custom API Call",
9
+ "Create a new list": "Create a new list",
10
+ "Unsubscribe a contact": "Unsubscribe a contact",
11
+ "Create a new contact": "Create a new contact",
12
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
13
+ "List Name": "List Name",
14
+ "Email": "Email",
15
+ "First Name": "First Name",
16
+ "Last Name": "Last Name",
17
+ "Lists": "Lists",
18
+ "Method": "Method",
19
+ "Headers": "Headers",
20
+ "Query Parameters": "Query Parameters",
21
+ "Body": "Body",
22
+ "No Error on Failure": "No Error on Failure",
23
+ "Timeout (in seconds)": "Timeout (in seconds)",
24
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
25
+ "GET": "GET",
26
+ "POST": "POST",
27
+ "PATCH": "PATCH",
28
+ "PUT": "PUT",
29
+ "DELETE": "DELETE",
30
+ "HEAD": "HEAD"
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "SendFox": "SendFox",
3
+ "Email marketing made simple": "電子郵件行銷變得簡單",
4
+ "To obtain your personal token, follow these steps:\n1. Log in to your SendFox account.\n2. Visit https://sendfox.com/account/oauth to create one\n3. From OAuth Apps click on Create New Token.\n4. Enter any name you want then click create.\n5. Copy and paste your token here.": "要獲取您的個人令牌,請按照以下步驟操作:<br>1. 登錄到您的 SendFox 帳戶。<br>2. 訪問 <a href=\"https://sendfox.com/account/oauth\">https://sendfox.com/account/oauth</a> 創建<br>3. 從 OAuth 應用中點擊創建新令牌。<br>4. 輸入您想要的任何名稱,然後點擊創建。<br>5. 複製並粘貼您的令牌到此處。",
5
+ "Create List": "創建清單",
6
+ "Unsubscribe Contact": "退訂聯繫人",
7
+ "Create Contact": "創建聯繫人",
8
+ "Custom API Call": "自定义 API 呼叫",
9
+ "Create a new list": "創建新清單",
10
+ "Unsubscribe a contact": "退訂聯繫人",
11
+ "Create a new contact": "創建新聯繫人",
12
+ "Make a custom API call to a specific endpoint": "將一個自定义 API 调用到一个特定的终点",
13
+ "List Name": "清單名稱",
14
+ "Email": "電子郵件",
15
+ "First Name": "名",
16
+ "Last Name": "姓",
17
+ "Lists": "清單",
18
+ "Method": "方法",
19
+ "Headers": "信頭",
20
+ "Query Parameters": "查询参数",
21
+ "Body": "正文内容",
22
+ "No Error on Failure": "失败时没有错误",
23
+ "Timeout (in seconds)": "超時(秒)",
24
+ "Authorization headers are injected automatically from your connection.": "授權頭自動從您的連接中注入。",
25
+ "GET": "获取",
26
+ "POST": "帖子",
27
+ "PATCH": "PATCH",
28
+ "PUT": "弹出",
29
+ "DELETE": "刪除",
30
+ "HEAD": "黑色"
31
+ }
package/src/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sendfox = exports.sendfoxAuth = void 0;
4
+ const tslib_1 = require("tslib");
4
5
  const pieces_common_1 = require("@activepieces/pieces-common");
5
6
  const pieces_framework_1 = require("@activepieces/pieces-framework");
6
7
  const shared_1 = require("@activepieces/shared");
@@ -16,7 +17,7 @@ exports.sendfox = (0, pieces_framework_1.createPiece)({
16
17
  displayName: 'SendFox',
17
18
  description: 'Email marketing made simple',
18
19
  auth: exports.sendfoxAuth,
19
- minimumSupportedRelease: '0.7.1',
20
+ minimumSupportedRelease: '0.30.0',
20
21
  logoUrl: 'https://cdn.activepieces.com/pieces/sendfox.png',
21
22
  categories: [shared_1.PieceCategory.MARKETING],
22
23
  authors: ["Salem-Alaa", "kishanprmr", "MoShizzle", "abuaboud"],
@@ -27,8 +28,10 @@ exports.sendfox = (0, pieces_framework_1.createPiece)({
27
28
  (0, pieces_common_1.createCustomApiCallAction)({
28
29
  baseUrl: () => 'https://api.sendfox.com',
29
30
  auth: exports.sendfoxAuth,
30
- authMapping: (auth) => ({
31
- Authorization: `Bearer ${auth}`,
31
+ authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
32
+ return ({
33
+ Authorization: `Bearer ${auth}`,
34
+ });
32
35
  }),
33
36
  }),
34
37
  ],
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/sendfox/src/index.ts"],"names":[],"mappings":";;;AAAA,+DAAwE;AACxE,qEAAwE;AACxE,iDAAqD;AACrD,iEAA6D;AAC7D,2DAAuD;AACvD,2EAAgE;AACnD,QAAA,WAAW,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC9C,WAAW,EAAE,SAAS;IACtB,WAAW,EACT,oRAAoR;IACtR,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC;AAEU,QAAA,OAAO,GAAG,IAAA,8BAAW,EAAC;IACjC,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,6BAA6B;IAE1C,IAAI,EAAE,mBAAW;IACjB,uBAAuB,EAAE,OAAO;IAChC,OAAO,EAAE,iDAAiD;IAC1D,UAAU,EAAE,CAAC,sBAAa,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,CAAC,YAAY,EAAC,YAAY,EAAC,WAAW,EAAC,UAAU,CAAC;IAC3D,OAAO,EAAE;QACP,wBAAU;QACV,iCAAW;QACX,8BAAa;QACb,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,yBAAyB;YACxC,IAAI,EAAE,mBAAW;YACjB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBACtB,aAAa,EAAE,UAAU,IAAI,EAAE;aAChC,CAAC;SACH,CAAC;KACH;IACD,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/sendfox/src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,qEAAwE;AACxE,iDAAqD;AACrD,iEAA6D;AAC7D,2DAAuD;AACvD,2EAAgE;AACnD,QAAA,WAAW,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC9C,WAAW,EAAE,SAAS;IACtB,WAAW,EACT,oRAAoR;IACtR,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC;AAEU,QAAA,OAAO,GAAG,IAAA,8BAAW,EAAC;IACjC,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,6BAA6B;IAE1C,IAAI,EAAE,mBAAW;IACjB,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,iDAAiD;IAC1D,UAAU,EAAE,CAAC,sBAAa,CAAC,SAAS,CAAC;IACrC,OAAO,EAAE,CAAC,YAAY,EAAC,YAAY,EAAC,WAAW,EAAC,UAAU,CAAC;IAC3D,OAAO,EAAE;QACP,wBAAU;QACV,iCAAW;QACX,8BAAa;QACb,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,yBAAyB;YACxC,IAAI,EAAE,mBAAW;YACjB,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAAC,OAAA,CAAC;oBAC5B,aAAa,EAAE,UAAU,IAAI,EAAE;iBAChC,CAAC,CAAA;cAAA;SACH,CAAC;KACH;IACD,QAAQ,EAAE,EAAE;CACb,CAAC,CAAC"}