@activepieces/piece-drip 0.3.3 → 0.3.5

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,38 @@
1
1
  {
2
2
  "name": "@activepieces/piece-drip",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
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.23",
14
- "@activepieces/shared": "0.10.92",
15
- "tslib": "2.6.2"
18
+ "zod": "3.25.76",
19
+ "@activepieces/pieces-common": "0.6.3",
20
+ "@activepieces/pieces-framework": "0.18.0",
21
+ "@activepieces/shared": "0.17.11",
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
+ },
32
+ "resolutions": {
33
+ "rollup": "npm:@rollup/wasm-node"
34
+ },
35
+ "types": "./src/index.d.ts",
17
36
  "main": "./src/index.js",
18
37
  "type": "commonjs"
19
38
  }
@@ -0,0 +1,53 @@
1
+ {
2
+ "Drip": "Tropfen",
3
+ "E-commerce CRM for B2B marketers": "E-Commerce-CRM für B2B-Vermarkter",
4
+ "Get it from https://www.getdrip.com/user/edit": "Holen Sie es unter https://www.getdrip.com/user/edit",
5
+ "Apply a tag to subscriber": "Einen Tag auf Abonnenten anwenden",
6
+ "Add a subscriber to a campaign": "Abonnent einer Kampagne hinzufügen",
7
+ "Create or Update Subscriber": "Abonnent erstellen oder aktualisieren",
8
+ "Custom API Call": "Eigener API-Aufruf",
9
+ "Apply a tag to a subscriber": "Einen Tag auf einen Abonnenten anwenden",
10
+ "Add a subscriber to a campaign (Email series)": "Abonnent einer Kampagne hinzufügen (Email-Serie)",
11
+ "Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
12
+ "Account": "Konto",
13
+ "Subscriber Email": "Abonnenten-E-Mail",
14
+ "Tag": "Markierung",
15
+ "Email Series Campaign": "E-Mail-Serie Kampagne",
16
+ "tags": "tags",
17
+ "Custom Fields": "Eigene Felder",
18
+ "First Name": "Vorname",
19
+ "Last Name": "Nachname",
20
+ "Zip Code": "Postleitzahl",
21
+ "Country": "Land",
22
+ "State": "Bundesland",
23
+ "City": "Stadt",
24
+ "Phone": "Telefon",
25
+ "Address": "Adresse",
26
+ "Method": "Methode",
27
+ "Headers": "Kopfzeilen",
28
+ "Query Parameters": "Abfrageparameter",
29
+ "Body": "Körper",
30
+ "No Error on Failure": "Kein Fehler bei Fehler",
31
+ "Timeout (in seconds)": "Timeout (in Sekunden)",
32
+ "Email of the subscriber": "E-Mail des Abonnenten",
33
+ "Tag to apply": "Tag zum Anwenden",
34
+ "Tags to apply to subscriber": "Tags für Abonnenten",
35
+ "Custom field data about the subscriber": "Benutzerdefinierte Felddaten über den Abonnenten",
36
+ "Postal code in which the subscriber resides": "Postleitzahl, in der sich der Abonnent befindet",
37
+ "The country in which the subscriber resides": "Das Land, in dem der Abonnent wohnt",
38
+ "The region in which the subscriber resides": "Die Region, in der sich der Abonnent aufhält",
39
+ "The city in which the subscriber resides": "Die Stadt, in der der Abonnent wohnt",
40
+ "The subscriber's primary phone number": "Die primäre Telefonnummer des Abonnenten",
41
+ "The subscriber's mailing address": "Die Mailingadresse des Abonnenten",
42
+ "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
43
+ "GET": "ERHALTEN",
44
+ "POST": "POST",
45
+ "PATCH": "PATCH",
46
+ "PUT": "PUT",
47
+ "DELETE": "LÖSCHEN",
48
+ "HEAD": "HEAD",
49
+ "New Subscriber": "Neuer Abonnent",
50
+ "Tag Applied": "Tag angewendet",
51
+ "Triggers when a subscriber is created in your Drip account.": "Wird ausgelöst, wenn ein Abonnent in Ihrem Drip-Konto erstellt wurde.",
52
+ "Triggers when a tag is applied.": "Wird ausgelöst, wenn ein Tag angewendet wird."
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "Drip": "Gota",
3
+ "E-commerce CRM for B2B marketers": "CRM de comercio electrónico para comercializadores B2B",
4
+ "Get it from https://www.getdrip.com/user/edit": "Obtenerlo en https://www.getdrip.com/user/edit",
5
+ "Apply a tag to subscriber": "Aplicar una etiqueta al suscriptor",
6
+ "Add a subscriber to a campaign": "Añadir un suscriptor a una campaña",
7
+ "Create or Update Subscriber": "Crear o actualizar suscriptores",
8
+ "Custom API Call": "Llamada API personalizada",
9
+ "Apply a tag to a subscriber": "Aplicar una etiqueta a un suscriptor",
10
+ "Add a subscriber to a campaign (Email series)": "Añadir un suscriptor a una campaña (serie Email)",
11
+ "Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
12
+ "Account": "Cuenta",
13
+ "Subscriber Email": "Email del suscriptor",
14
+ "Tag": "Etiqueta",
15
+ "Email Series Campaign": "Campaña de la Serie de Correo",
16
+ "tags": "etiquetas",
17
+ "Custom Fields": "Campos personalizados",
18
+ "First Name": "Nombre",
19
+ "Last Name": "Apellido",
20
+ "Zip Code": "Código postal",
21
+ "Country": "País",
22
+ "State": "Estado",
23
+ "City": "Ciudad",
24
+ "Phone": "Teléfono",
25
+ "Address": "Dirección",
26
+ "Method": "Método",
27
+ "Headers": "Encabezados",
28
+ "Query Parameters": "Parámetros de consulta",
29
+ "Body": "Cuerpo",
30
+ "No Error on Failure": "No hay ningún error en fallo",
31
+ "Timeout (in seconds)": "Tiempo de espera (en segundos)",
32
+ "Email of the subscriber": "Email del suscriptor",
33
+ "Tag to apply": "Etiqueta a aplicar",
34
+ "Tags to apply to subscriber": "Etiquetas a aplicar al suscriptor",
35
+ "Custom field data about the subscriber": "Datos de campo personalizado sobre el suscriptor",
36
+ "Postal code in which the subscriber resides": "Código postal en el que reside el suscriptor",
37
+ "The country in which the subscriber resides": "El país en el que reside el suscriptor",
38
+ "The region in which the subscriber resides": "La región en la que reside el suscriptor",
39
+ "The city in which the subscriber resides": "La ciudad en la que reside el suscriptor",
40
+ "The subscriber's primary phone number": "Número de teléfono principal del suscriptor",
41
+ "The subscriber's mailing address": "La dirección de correo del suscriptor",
42
+ "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
43
+ "GET": "RECOGER",
44
+ "POST": "POST",
45
+ "PATCH": "PATCH",
46
+ "PUT": "PUT",
47
+ "DELETE": "BORRAR",
48
+ "HEAD": "LIMPIO",
49
+ "New Subscriber": "Nuevo suscriptor",
50
+ "Tag Applied": "Etiqueta aplicada",
51
+ "Triggers when a subscriber is created in your Drip account.": "Dispara cuando un suscriptor es creado en su cuenta de Drip.",
52
+ "Triggers when a tag is applied.": "Dispara cuando se aplica una etiqueta."
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "Drip": "Goutte",
3
+ "E-commerce CRM for B2B marketers": "CRM e-commerce pour les marketeurs B2B",
4
+ "Get it from https://www.getdrip.com/user/edit": "Obtenez-le depuis https://www.getdrip.com/user/edit",
5
+ "Apply a tag to subscriber": "Appliquer un tag à l'abonné",
6
+ "Add a subscriber to a campaign": "Ajouter un abonné à une campagne",
7
+ "Create or Update Subscriber": "Créer ou mettre à jour un abonné",
8
+ "Custom API Call": "Appel API personnalisé",
9
+ "Apply a tag to a subscriber": "Appliquer un tag à un abonné",
10
+ "Add a subscriber to a campaign (Email series)": "Ajouter un abonné à une campagne (série d'e-mails)",
11
+ "Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un point de terminaison spécifique",
12
+ "Account": "Compte client",
13
+ "Subscriber Email": "Courriel de l'abonné",
14
+ "Tag": "Étiquette",
15
+ "Email Series Campaign": "Campagne de la Série d'E-mail",
16
+ "tags": "tags",
17
+ "Custom Fields": "Champs personnalisés",
18
+ "First Name": "First Name",
19
+ "Last Name": "Last Name",
20
+ "Zip Code": "Code postal",
21
+ "Country": "Pays",
22
+ "State": "État",
23
+ "City": "Ville",
24
+ "Phone": "Téléphone",
25
+ "Address": "Adresses",
26
+ "Method": "Méthode",
27
+ "Headers": "En-têtes",
28
+ "Query Parameters": "Paramètres de requête",
29
+ "Body": "Corps",
30
+ "No Error on Failure": "Aucune erreur en cas d'échec",
31
+ "Timeout (in seconds)": "Délai d'attente (en secondes)",
32
+ "Email of the subscriber": "Courriel de l'abonné",
33
+ "Tag to apply": "Étiquette à appliquer",
34
+ "Tags to apply to subscriber": "Tags à appliquer à l'abonné",
35
+ "Custom field data about the subscriber": "Données du champ personnalisé à propos de l'abonné",
36
+ "Postal code in which the subscriber resides": "Code postal dans lequel se trouve l'abonné",
37
+ "The country in which the subscriber resides": "Le pays dans lequel se trouve l'abonné",
38
+ "The region in which the subscriber resides": "La région dans laquelle se trouve l'abonné",
39
+ "The city in which the subscriber resides": "La ville dans laquelle se trouve l'abonné",
40
+ "The subscriber's primary phone number": "Le numéro de téléphone principal de l'abonné",
41
+ "The subscriber's mailing address": "Adresse postale de l'abonné",
42
+ "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
43
+ "GET": "OBTENIR",
44
+ "POST": "POSTER",
45
+ "PATCH": "PATCH",
46
+ "PUT": "EFFACER",
47
+ "DELETE": "SUPPRIMER",
48
+ "HEAD": "TÊTE",
49
+ "New Subscriber": "Nouvel abonné",
50
+ "Tag Applied": "Étiquette appliquée",
51
+ "Triggers when a subscriber is created in your Drip account.": "Déclenche lorsqu'un abonné est créé dans votre compte Drip.",
52
+ "Triggers when a tag is applied.": "Déclenche quand un tag est appliqué."
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "Drip": "ドリップ",
3
+ "E-commerce CRM for B2B marketers": "B2Bマーケティング担当者向けのEコマースCRM",
4
+ "Get it from https://www.getdrip.com/user/edit": "Get it from https://www.getdrip.com/user/edit",
5
+ "Apply a tag to subscriber": "購読者にタグを適用する",
6
+ "Add a subscriber to a campaign": "購読者をキャンペーンに追加",
7
+ "Create or Update Subscriber": "購読者を作成または更新",
8
+ "Custom API Call": "カスタムAPI通話",
9
+ "Apply a tag to a subscriber": "購読者にタグを適用する",
10
+ "Add a subscriber to a campaign (Email series)": "キャンペーンに購読者を追加します(メールシリーズ)",
11
+ "Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
12
+ "Account": "アカウント",
13
+ "Subscriber Email": "購読者メールアドレス",
14
+ "Tag": "タグ",
15
+ "Email Series Campaign": "メール シリーズ キャンペーン",
16
+ "tags": "タグ",
17
+ "Custom Fields": "カスタムフィールド",
18
+ "First Name": "名",
19
+ "Last Name": "姓",
20
+ "Zip Code": "郵便番号",
21
+ "Country": "国",
22
+ "State": "都道府県:",
23
+ "City": "市区町村名",
24
+ "Phone": "電話番号",
25
+ "Address": "住所",
26
+ "Method": "方法",
27
+ "Headers": "ヘッダー",
28
+ "Query Parameters": "クエリパラメータ",
29
+ "Body": "本文",
30
+ "No Error on Failure": "失敗時にエラーはありません",
31
+ "Timeout (in seconds)": "タイムアウト(秒)",
32
+ "Email of the subscriber": "購読者のメールアドレス",
33
+ "Tag to apply": "適用するタグ",
34
+ "Tags to apply to subscriber": "購読者に適用するタグ",
35
+ "Custom field data about the subscriber": "購読者に関するカスタムフィールドデータ",
36
+ "Postal code in which the subscriber resides": "購読者が居住する郵便番号",
37
+ "The country in which the subscriber resides": "購読者が居住する国",
38
+ "The region in which the subscriber resides": "購読者が居住する地域",
39
+ "The city in which the subscriber resides": "購読者が居住する都市",
40
+ "The subscriber's primary phone number": "購読者の主な電話番号",
41
+ "The subscriber's mailing address": "購読者の郵送先住所",
42
+ "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
43
+ "GET": "取得",
44
+ "POST": "POST",
45
+ "PATCH": "PATCH",
46
+ "PUT": "PUT",
47
+ "DELETE": "削除",
48
+ "HEAD": "頭",
49
+ "New Subscriber": "新規購読",
50
+ "Tag Applied": "タグを適用しました",
51
+ "Triggers when a subscriber is created in your Drip account.": "Dripアカウントに登録者が作成されたときにトリガーします。",
52
+ "Triggers when a tag is applied.": "タグが適用されたときにトリガーします。"
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "Drip": "Uitvoeren",
3
+ "E-commerce CRM for B2B marketers": "E-commerce CRM voor B2B marketers",
4
+ "Get it from https://www.getdrip.com/user/edit": "Download het via https://www.getdrip.com/user/edit",
5
+ "Apply a tag to subscriber": "Een tag toepassen op abonnee",
6
+ "Add a subscriber to a campaign": "Voeg een abonnee toe aan een campagne",
7
+ "Create or Update Subscriber": "Aanmaken of bijwerken abonnee",
8
+ "Custom API Call": "Custom API Call",
9
+ "Apply a tag to a subscriber": "Een label toepassen op een abonnee",
10
+ "Add a subscriber to a campaign (Email series)": "Voeg een abonnee toe aan een campagne (Emailseries)",
11
+ "Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
12
+ "Account": "Rekening",
13
+ "Subscriber Email": "E-mailadres ontvanger",
14
+ "Tag": "Tagnaam",
15
+ "Email Series Campaign": "E-mail serie campagne",
16
+ "tags": "labels",
17
+ "Custom Fields": "Aangepaste velden",
18
+ "First Name": "Voornaam",
19
+ "Last Name": "Achternaam",
20
+ "Zip Code": "Postcode code",
21
+ "Country": "Land:",
22
+ "State": "Provincie",
23
+ "City": "Woonplaats",
24
+ "Phone": "Telefoonnummer",
25
+ "Address": "Adres:",
26
+ "Method": "Methode",
27
+ "Headers": "Kopteksten",
28
+ "Query Parameters": "Query parameters",
29
+ "Body": "Lichaam",
30
+ "No Error on Failure": "Geen fout bij fout",
31
+ "Timeout (in seconds)": "Time-out (in seconden)",
32
+ "Email of the subscriber": "E-mail van de abonnee",
33
+ "Tag to apply": "Tag om toe te passen",
34
+ "Tags to apply to subscriber": "Tags om toe te passen op abonnee",
35
+ "Custom field data about the subscriber": "Aangepaste veldgegevens over de ontvanger",
36
+ "Postal code in which the subscriber resides": "Postcode waarin de abonnee zich bevindt",
37
+ "The country in which the subscriber resides": "Het land waar de abonnee woont",
38
+ "The region in which the subscriber resides": "De regio waar de abonnee zich bevindt",
39
+ "The city in which the subscriber resides": "De stad waar de abonnee zich bevindt",
40
+ "The subscriber's primary phone number": "Het primaire telefoonnummer van de abonnee",
41
+ "The subscriber's mailing address": "Postadres van de abonnee",
42
+ "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
43
+ "GET": "KRIJG",
44
+ "POST": "POSTE",
45
+ "PATCH": "BEKIJK",
46
+ "PUT": "PUT",
47
+ "DELETE": "VERWIJDEREN",
48
+ "HEAD": "HOOFD",
49
+ "New Subscriber": "Nieuwe abonnee",
50
+ "Tag Applied": "Tag toegepast",
51
+ "Triggers when a subscriber is created in your Drip account.": "Triggert wanneer een abonnee is aangemaakt in uw Drip account.",
52
+ "Triggers when a tag is applied.": "Triggert wanneer een tag wordt toegepast."
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "Drip": "Gota",
3
+ "E-commerce CRM for B2B marketers": "E-commerce CRM para comerciantes B2B",
4
+ "Get it from https://www.getdrip.com/user/edit": "Baixe em https://www.getdrip.com/user/edit",
5
+ "Apply a tag to subscriber": "Aplicar uma etiqueta ao assinante",
6
+ "Add a subscriber to a campaign": "Adicionar um participante a uma campanha",
7
+ "Create or Update Subscriber": "Criar ou Atualizar Assinante",
8
+ "Custom API Call": "Chamada de API personalizada",
9
+ "Apply a tag to a subscriber": "Aplicar uma tag a um assinante",
10
+ "Add a subscriber to a campaign (Email series)": "Adicionar um assinante a uma campanha (série de e-mail)",
11
+ "Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
12
+ "Account": "conta",
13
+ "Subscriber Email": "E-mail do Assinante",
14
+ "Tag": "Etiqueta",
15
+ "Email Series Campaign": "Campanha de Séries De E-Mail",
16
+ "tags": "etiquetas",
17
+ "Custom Fields": "Campos Personalizados",
18
+ "First Name": "Nome",
19
+ "Last Name": "Sobrenome",
20
+ "Zip Code": "Código Postal",
21
+ "Country": "País/região",
22
+ "State": "Estado:",
23
+ "City": "cidade",
24
+ "Phone": "Smartphone",
25
+ "Address": "Endereço",
26
+ "Method": "Método",
27
+ "Headers": "Cabeçalhos",
28
+ "Query Parameters": "Parâmetros da consulta",
29
+ "Body": "Conteúdo",
30
+ "No Error on Failure": "Nenhum erro no Failure",
31
+ "Timeout (in seconds)": "Tempo limite (em segundos)",
32
+ "Email of the subscriber": "E-mail do assinante",
33
+ "Tag to apply": "Etiqueta para aplicar",
34
+ "Tags to apply to subscriber": "Tags a serem aplicadas aos assinantes",
35
+ "Custom field data about the subscriber": "Dados do campo personalizado sobre o membro",
36
+ "Postal code in which the subscriber resides": "Código postal no qual o assinante reside",
37
+ "The country in which the subscriber resides": "O país em que o assinante reside",
38
+ "The region in which the subscriber resides": "A região na qual o assinante reside",
39
+ "The city in which the subscriber resides": "A cidade na qual o assinante reside",
40
+ "The subscriber's primary phone number": "Número primário do assinante",
41
+ "The subscriber's mailing address": "Endereço postal do assinante",
42
+ "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
43
+ "GET": "OBTER",
44
+ "POST": "POSTAR",
45
+ "PATCH": "COMPRAR",
46
+ "PUT": "COLOCAR",
47
+ "DELETE": "EXCLUIR",
48
+ "HEAD": "CABEÇA",
49
+ "New Subscriber": "Novo Assinante",
50
+ "Tag Applied": "Tag Aplicada",
51
+ "Triggers when a subscriber is created in your Drip account.": "Aciona quando um assinante é criado em sua conta de Gotejamento.",
52
+ "Triggers when a tag is applied.": "Dispara quando uma tag é aplicada."
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "Drip": "Капать",
3
+ "E-commerce CRM for B2B marketers": "Электронная коммерция для B2B маркеров",
4
+ "Get it from https://www.getdrip.com/user/edit": "Скачать с https://www.getdrip.com/user/edit",
5
+ "Apply a tag to subscriber": "Применить тег для подписчика",
6
+ "Add a subscriber to a campaign": "Добавить подписчика в кампанию",
7
+ "Create or Update Subscriber": "Создать или обновить подписчика",
8
+ "Custom API Call": "Пользовательский вызов API",
9
+ "Apply a tag to a subscriber": "Применить тег подписчику",
10
+ "Add a subscriber to a campaign (Email series)": "Добавить подписчика в кампанию (серия сообщений)",
11
+ "Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
12
+ "Account": "Аккаунт",
13
+ "Subscriber Email": "Email подписчика",
14
+ "Tag": "Тег",
15
+ "Email Series Campaign": "Кампания Серии Электронных Почт",
16
+ "tags": "теги",
17
+ "Custom Fields": "Пользовательские поля",
18
+ "First Name": "First Name",
19
+ "Last Name": "Фамилия",
20
+ "Zip Code": "Индекс",
21
+ "Country": "Страна",
22
+ "State": "Область",
23
+ "City": "Город",
24
+ "Phone": "Телефон",
25
+ "Address": "Адрес",
26
+ "Method": "Метод",
27
+ "Headers": "Заголовки",
28
+ "Query Parameters": "Параметры запроса",
29
+ "Body": "Тело",
30
+ "No Error on Failure": "Нет ошибок при ошибке",
31
+ "Timeout (in seconds)": "Таймаут (в секундах)",
32
+ "Email of the subscriber": "Email подписчика",
33
+ "Tag to apply": "Тег для применения",
34
+ "Tags to apply to subscriber": "Теги для применения к подписчику",
35
+ "Custom field data about the subscriber": "Пользовательские поля данных о подписчике",
36
+ "Postal code in which the subscriber resides": "Почтовый индекс, в котором проживает подписчик",
37
+ "The country in which the subscriber resides": "Страна, в которой проживает подписчик",
38
+ "The region in which the subscriber resides": "Регион, в котором проживает подписчик",
39
+ "The city in which the subscriber resides": "Город, в котором проживает подписчик",
40
+ "The subscriber's primary phone number": "Основной номер телефона подписчика",
41
+ "The subscriber's mailing address": "Адрес рассылки подписчика",
42
+ "Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
43
+ "GET": "ПОЛУЧИТЬ",
44
+ "POST": "ПОСТ",
45
+ "PATCH": "ПАТЧ",
46
+ "PUT": "ПОКУПИТЬ",
47
+ "DELETE": "УДАЛИТЬ",
48
+ "HEAD": "HEAD",
49
+ "New Subscriber": "Новый подписчик",
50
+ "Tag Applied": "Тег применён",
51
+ "Triggers when a subscriber is created in your Drip account.": "Включает при создании подписчика в вашем аккаунте Drip.",
52
+ "Triggers when a tag is applied.": "Триггеры при применении тега."
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "Drip": "Drip",
3
+ "E-commerce CRM for B2B marketers": "E-commerce CRM for B2B marketers",
4
+ "Get it from https://www.getdrip.com/user/edit": "Get it from https://www.getdrip.com/user/edit",
5
+ "Apply a tag to subscriber": "Apply a tag to subscriber",
6
+ "Add a subscriber to a campaign": "Add a subscriber to a campaign",
7
+ "Create or Update Subscriber": "Create or Update Subscriber",
8
+ "Custom API Call": "Custom API Call",
9
+ "Apply a tag to a subscriber": "Apply a tag to a subscriber",
10
+ "Add a subscriber to a campaign (Email series)": "Add a subscriber to a campaign (Email series)",
11
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
12
+ "Account": "Account",
13
+ "Subscriber Email": "Subscriber Email",
14
+ "Tag": "Tag",
15
+ "Email Series Campaign": "Email Series Campaign",
16
+ "tags": "tags",
17
+ "Custom Fields": "Custom Fields",
18
+ "First Name": "First Name",
19
+ "Last Name": "Last Name",
20
+ "Zip Code": "Zip Code",
21
+ "Country": "Country",
22
+ "State": "State",
23
+ "City": "City",
24
+ "Phone": "Phone",
25
+ "Address": "Address",
26
+ "Method": "Method",
27
+ "Headers": "Headers",
28
+ "Query Parameters": "Query Parameters",
29
+ "Body": "Body",
30
+ "No Error on Failure": "No Error on Failure",
31
+ "Timeout (in seconds)": "Timeout (in seconds)",
32
+ "Email of the subscriber": "Email of the subscriber",
33
+ "Tag to apply": "Tag to apply",
34
+ "Tags to apply to subscriber": "Tags to apply to subscriber",
35
+ "Custom field data about the subscriber": "Custom field data about the subscriber",
36
+ "Postal code in which the subscriber resides": "Postal code in which the subscriber resides",
37
+ "The country in which the subscriber resides": "The country in which the subscriber resides",
38
+ "The region in which the subscriber resides": "The region in which the subscriber resides",
39
+ "The city in which the subscriber resides": "The city in which the subscriber resides",
40
+ "The subscriber's primary phone number": "The subscriber's primary phone number",
41
+ "The subscriber's mailing address": "The subscriber's mailing address",
42
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
43
+ "GET": "GET",
44
+ "POST": "POST",
45
+ "PATCH": "PATCH",
46
+ "PUT": "PUT",
47
+ "DELETE": "DELETE",
48
+ "HEAD": "HEAD",
49
+ "New Subscriber": "New Subscriber",
50
+ "Tag Applied": "Tag Applied",
51
+ "Triggers when a subscriber is created in your Drip account.": "Triggers when a subscriber is created in your Drip account.",
52
+ "Triggers when a tag is applied.": "Triggers when a tag is applied."
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "Drip": "Drip",
3
+ "E-commerce CRM for B2B marketers": "E-commerce CRM for B2B marketers",
4
+ "Get it from https://www.getdrip.com/user/edit": "Get it from https://www.getdrip.com/user/edit",
5
+ "Apply a tag to subscriber": "Apply a tag to subscriber",
6
+ "Add a subscriber to a campaign": "Add a subscriber to a campaign",
7
+ "Create or Update Subscriber": "Create or Update Subscriber",
8
+ "Custom API Call": "Custom API Call",
9
+ "Apply a tag to a subscriber": "Apply a tag to a subscriber",
10
+ "Add a subscriber to a campaign (Email series)": "Add a subscriber to a campaign (Email series)",
11
+ "Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
12
+ "Account": "Account",
13
+ "Subscriber Email": "Subscriber Email",
14
+ "Tag": "Tag",
15
+ "Email Series Campaign": "Email Series Campaign",
16
+ "tags": "tags",
17
+ "Custom Fields": "Custom Fields",
18
+ "First Name": "First Name",
19
+ "Last Name": "Last Name",
20
+ "Zip Code": "Zip Code",
21
+ "Country": "Country",
22
+ "State": "State",
23
+ "City": "City",
24
+ "Phone": "Phone",
25
+ "Address": "Address",
26
+ "Method": "Method",
27
+ "Headers": "Headers",
28
+ "Query Parameters": "Query Parameters",
29
+ "Body": "Body",
30
+ "No Error on Failure": "No Error on Failure",
31
+ "Timeout (in seconds)": "Timeout (in seconds)",
32
+ "Email of the subscriber": "Email of the subscriber",
33
+ "Tag to apply": "Tag to apply",
34
+ "Tags to apply to subscriber": "Tags to apply to subscriber",
35
+ "Custom field data about the subscriber": "Custom field data about the subscriber",
36
+ "Postal code in which the subscriber resides": "Postal code in which the subscriber resides",
37
+ "The country in which the subscriber resides": "The country in which the subscriber resides",
38
+ "The region in which the subscriber resides": "The region in which the subscriber resides",
39
+ "The city in which the subscriber resides": "The city in which the subscriber resides",
40
+ "The subscriber's primary phone number": "The subscriber's primary phone number",
41
+ "The subscriber's mailing address": "The subscriber's mailing address",
42
+ "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
43
+ "GET": "GET",
44
+ "POST": "POST",
45
+ "PATCH": "PATCH",
46
+ "PUT": "PUT",
47
+ "DELETE": "DELETE",
48
+ "HEAD": "HEAD",
49
+ "New Subscriber": "New Subscriber",
50
+ "Tag Applied": "Tag Applied",
51
+ "Triggers when a subscriber is created in your Drip account.": "Triggers when a subscriber is created in your Drip account.",
52
+ "Triggers when a tag is applied.": "Triggers when a tag is applied."
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "Drip": "Drip",
3
+ "E-commerce CRM for B2B marketers": "E-commerce CRM for B2B marketers",
4
+ "Get it from https://www.getdrip.com/user/edit": "Get it from https://www.getdrip.com/user/edit",
5
+ "Apply a tag to subscriber": "Apply a tag to subscriber",
6
+ "Add a subscriber to a campaign": "Add a subscriber to a campaign",
7
+ "Create or Update Subscriber": "Create or Update Subscriber",
8
+ "Custom API Call": "自定义 API 呼叫",
9
+ "Apply a tag to a subscriber": "Apply a tag to a subscriber",
10
+ "Add a subscriber to a campaign (Email series)": "Add a subscriber to a campaign (Email series)",
11
+ "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
12
+ "Account": "Account",
13
+ "Subscriber Email": "Subscriber Email",
14
+ "Tag": "标签",
15
+ "Email Series Campaign": "Email Series Campaign",
16
+ "tags": "标签",
17
+ "Custom Fields": "Custom Fields",
18
+ "First Name": "名字",
19
+ "Last Name": "名字",
20
+ "Zip Code": "Zip Code",
21
+ "Country": "Country",
22
+ "State": "State",
23
+ "City": "City",
24
+ "Phone": "Phone",
25
+ "Address": "Address",
26
+ "Method": "方法",
27
+ "Headers": "信头",
28
+ "Query Parameters": "查询参数",
29
+ "Body": "正文内容",
30
+ "No Error on Failure": "失败时没有错误",
31
+ "Timeout (in seconds)": "超时(秒)",
32
+ "Email of the subscriber": "Email of the subscriber",
33
+ "Tag to apply": "Tag to apply",
34
+ "Tags to apply to subscriber": "Tags to apply to subscriber",
35
+ "Custom field data about the subscriber": "Custom field data about the subscriber",
36
+ "Postal code in which the subscriber resides": "Postal code in which the subscriber resides",
37
+ "The country in which the subscriber resides": "The country in which the subscriber resides",
38
+ "The region in which the subscriber resides": "The region in which the subscriber resides",
39
+ "The city in which the subscriber resides": "The city in which the subscriber resides",
40
+ "The subscriber's primary phone number": "The subscriber's primary phone number",
41
+ "The subscriber's mailing address": "The subscriber's mailing address",
42
+ "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
43
+ "GET": "获取",
44
+ "POST": "帖子",
45
+ "PATCH": "PATCH",
46
+ "PUT": "弹出",
47
+ "DELETE": "删除",
48
+ "HEAD": "黑色",
49
+ "New Subscriber": "New Subscriber",
50
+ "Tag Applied": "Tag Applied",
51
+ "Triggers when a subscriber is created in your Drip account.": "Triggers when a subscriber is created in your Drip account.",
52
+ "Triggers when a tag is applied.": "Triggers when a tag is applied."
53
+ }
package/src/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.drip = exports.dripAuth = 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");
@@ -17,9 +18,9 @@ exports.dripAuth = pieces_framework_1.PieceAuth.SecretText({
17
18
  exports.drip = (0, pieces_framework_1.createPiece)({
18
19
  displayName: 'Drip',
19
20
  description: 'E-commerce CRM for B2B marketers',
20
- minimumSupportedRelease: '0.5.0',
21
+ minimumSupportedRelease: '0.30.0',
21
22
  logoUrl: 'https://cdn.activepieces.com/pieces/drip.png',
22
- authors: ['AbdulTheActivePiecer'],
23
+ authors: ["kishanprmr", "MoShizzle", "AbdulTheActivePiecer", "khaledmashaly", "abuaboud"],
23
24
  categories: [shared_1.PieceCategory.MARKETING],
24
25
  auth: exports.dripAuth,
25
26
  actions: [
@@ -29,8 +30,10 @@ exports.drip = (0, pieces_framework_1.createPiece)({
29
30
  (0, pieces_common_1.createCustomApiCallAction)({
30
31
  baseUrl: () => `https://api.getdrip.com/v2/`,
31
32
  auth: exports.dripAuth,
32
- authMapping: (auth) => ({
33
- Authorization: `Basic ${Buffer.from(auth).toString('base64')}`,
33
+ authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
34
+ return ({
35
+ Authorization: `Basic ${Buffer.from(auth).toString('base64')}`,
36
+ });
34
37
  }),
35
38
  }),
36
39
  ],
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/drip/src/index.ts"],"names":[],"mappings":";;;AAAA,+DAAwE;AACxE,qEAAwE;AACxE,iDAAqD;AACrD,uGAA8F;AAC9F,iGAAwF;AACxF,qFAAoF;AACpF,iFAA8E;AAC9E,mEAAoE;AAEvD,QAAA,QAAQ,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC3C,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,+CAA+C;CAC7D,CAAC,CAAC;AAEU,QAAA,IAAI,GAAG,IAAA,8BAAW,EAAC;IAC9B,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,kCAAkC;IAC/C,uBAAuB,EAAE,OAAO;IAChC,OAAO,EAAE,8CAA8C;IACvD,OAAO,EAAE,CAAC,sBAAsB,CAAC;IACjC,UAAU,EAAE,CAAC,sBAAa,CAAC,SAAS,CAAC;IACrC,IAAI,EAAE,gBAAQ;IACd,OAAO,EAAE;QACP,yDAAwB;QACxB,+DAA2B;QAC3B,qDAA0B;QAC1B,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,6BAA6B;YAC5C,IAAI,EAAE,gBAAQ;YACd,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBACtB,aAAa,EAAE,SAAS,MAAM,CAAC,IAAI,CAAC,IAAc,CAAC,CAAC,QAAQ,CAC1D,QAAQ,CACT,EAAE;aACJ,CAAC;SACH,CAAC;KACH;IACD,QAAQ,EAAE,CAAC,+CAAsB,EAAE,qCAAmB,CAAC;CACxD,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/drip/src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,qEAAwE;AACxE,iDAAqD;AACrD,uGAA8F;AAC9F,iGAAwF;AACxF,qFAAoF;AACpF,iFAA8E;AAC9E,mEAAoE;AAEvD,QAAA,QAAQ,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC3C,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,+CAA+C;CAC7D,CAAC,CAAC;AAEU,QAAA,IAAI,GAAG,IAAA,8BAAW,EAAC;IAC9B,WAAW,EAAE,MAAM;IACnB,WAAW,EAAE,kCAAkC;IAC/C,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,8CAA8C;IACvD,OAAO,EAAE,CAAC,YAAY,EAAC,WAAW,EAAC,sBAAsB,EAAC,eAAe,EAAC,UAAU,CAAC;IACrF,UAAU,EAAE,CAAC,sBAAa,CAAC,SAAS,CAAC;IACrC,IAAI,EAAE,gBAAQ;IACd,OAAO,EAAE;QACP,yDAAwB;QACxB,+DAA2B;QAC3B,qDAA0B;QAC1B,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,6BAA6B;YAC5C,IAAI,EAAE,gBAAQ;YACd,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAAC,OAAA,CAAC;oBAC5B,aAAa,EAAE,SAAS,MAAM,CAAC,IAAI,CAAC,IAAc,CAAC,CAAC,QAAQ,CAC1D,QAAQ,CACT,EAAE;iBACJ,CAAC,CAAA;cAAA;SACH,CAAC;KACH;IACD,QAAQ,EAAE,CAAC,+CAAsB,EAAE,qCAAmB,CAAC;CACxD,CAAC,CAAC"}
@@ -17,7 +17,7 @@ exports.dripAddSubscriberToCampaign = (0, pieces_framework_1.createAction)({
17
17
  displayName: 'Email Series Campaign',
18
18
  refreshers: ['account_id'],
19
19
  required: true,
20
- options: ({ auth, account_id }) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
20
+ options: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth, account_id }) {
21
21
  if (!auth) {
22
22
  return {
23
23
  disabled: true,
@@ -60,8 +60,8 @@ exports.dripAddSubscriberToCampaign = (0, pieces_framework_1.createAction)({
60
60
  tags: common_1.dripCommon.tags,
61
61
  custom_fields: common_1.dripCommon.custom_fields,
62
62
  },
63
- run({ auth, propsValue }) {
64
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
63
+ run(_a) {
64
+ return tslib_1.__awaiter(this, arguments, void 0, function* ({ auth, propsValue }) {
65
65
  const request = {
66
66
  method: pieces_common_1.HttpMethod.POST,
67
67
  url: `${common_1.dripCommon.baseUrl(propsValue.account_id)}/campaigns/${propsValue.campaign_id}/subscribers`,
@@ -1 +1 @@
1
- {"version":3,"file":"add-subscriber-to-campaign.action.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/actions/add-subscriber-to-campaign.action.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAIqC;AACrC,sCAAuC;AACvC,8BAAkC;AAErB,QAAA,2BAA2B,GAAG,IAAA,+BAAY,EAAC;IACtD,IAAI,EAAE,YAAQ;IACd,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,+CAA+C;IAC5D,WAAW,EAAE,gCAAgC;IAC7C,KAAK,EAAE;QACL,UAAU,EAAE,mBAAU,CAAC,UAAU;QACjC,WAAW,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC7B,WAAW,EAAE,uBAAuB;YACpC,UAAU,EAAE,CAAC,YAAY,CAAC;YAC1B,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAO,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE;gBACtC,IAAI,CAAC,IAAI,EAAE;oBACT,OAAO;wBACL,QAAQ,EAAE,IAAI;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,8BAA8B;qBAC5C,CAAC;iBACH;gBACD,IAAI,CAAC,UAAU,EAAE;oBACf,OAAO;wBACL,QAAQ,EAAE,IAAI;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,gCAAgC;qBAC9C,CAAC;iBACH;gBACD,MAAM,OAAO,GAAgB;oBAC3B,MAAM,EAAE,0BAAU,CAAC,GAAG;oBACtB,GAAG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U,CAAC,aAAa;yBACxC;qBACF;iBACF;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,mBAAU,CAAC,mBAAmB,CAAC,IAAI,CAAC;iBACpD;gBACD,WAAW,EAAE,EAAE;aAChB,CAAC;YACF,OAAO,MAAM,0BAAU,CAAC,WAAW,CAAwB,OAAO,CAAC,CAAC;QACtE,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"add-subscriber-to-campaign.action.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/actions/add-subscriber-to-campaign.action.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAIqC;AACrC,sCAAuC;AACvC,8BAAkC;AAErB,QAAA,2BAA2B,GAAG,IAAA,+BAAY,EAAC;IACtD,IAAI,EAAE,YAAQ;IACd,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,+CAA+C;IAC5D,WAAW,EAAE,gCAAgC;IAC7C,KAAK,EAAE;QACL,UAAU,EAAE,mBAAU,CAAC,UAAU;QACjC,WAAW,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC7B,WAAW,EAAE,uBAAuB;YACpC,UAAU,EAAE,CAAC,YAAY,CAAC;YAC1B,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,KAA6B,EAAE,oDAAxB,EAAE,IAAI,EAAE,UAAU,EAAE;gBAClC,IAAI,CAAC,IAAI,EAAE,CAAC;oBACV,OAAO;wBACL,QAAQ,EAAE,IAAI;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,8BAA8B;qBAC5C,CAAC;gBACJ,CAAC;gBACD,IAAI,CAAC,UAAU,EAAE,CAAC;oBAChB,OAAO;wBACL,QAAQ,EAAE,IAAI;wBACd,OAAO,EAAE,EAAE;wBACX,WAAW,EAAE,gCAAgC;qBAC9C,CAAC;gBACJ,CAAC;gBACD,MAAM,OAAO,GAAgB;oBAC3B,MAAM,EAAE,0BAAU,CAAC,GAAG;oBACtB,GAAG,EA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EAAE,UAAU,CAAC,aAAa;yBACxC;qBACF;iBACF;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,mBAAU,CAAC,mBAAmB,CAAC,IAAI,CAAC;iBACpD;gBACD,WAAW,EAAE,EAAE;aAChB,CAAC;YACF,OAAO,MAAM,0BAAU,CAAC,WAAW,CAAwB,OAAO,CAAC,CAAC;QACtE,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -20,8 +20,8 @@ exports.dripApplyTagToSubscriber = (0, pieces_framework_1.createAction)({
20
20
  description: 'Tag to apply',
21
21
  }),
22
22
  },
23
- run({ auth, propsValue }) {
24
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
23
+ run(_a) {
24
+ return tslib_1.__awaiter(this, arguments, void 0, function* ({ auth, propsValue }) {
25
25
  const request = {
26
26
  method: pieces_common_1.HttpMethod.POST,
27
27
  url: `${common_1.dripCommon.baseUrl(propsValue.account_id)}/tags`,
@@ -1 +1 @@
1
- {"version":3,"file":"apply-tag-to-subscriber.action.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/actions/apply-tag-to-subscriber.action.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAIqC;AACrC,sCAAuC;AACvC,8BAAkC;AAErB,QAAA,wBAAwB,GAAG,IAAA,+BAAY,EAAC;IACnD,IAAI,EAAE,YAAQ;IACd,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE;QACL,UAAU,EAAE,mBAAU,CAAC,UAAU;QACjC,UAAU,EAAE,mBAAU,CAAC,UAAU;QACjC,GAAG,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACtB,WAAW,EAAE,KAAK;YAClB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,cAAc;SAC5B,CAAC;KACH;IACK,GAAG,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE;;YAC5B,MAAM,OAAO,GAAgB;gBAC3B,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,GAAG,mBAAU,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO;gBACxD,IAAI,EAAE;oBACJ,IAAI,EAAE;wBACJ;4BACE,KAAK,EAAE,UAAU,CAAC,UAAU;4BAC5B,GAAG,EAAE,UAAU,CAAC,GAAG;yBACpB;qBACF;iBACF;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,mBAAU,CAAC,mBAAmB,CAAC,IAAI,CAAC;iBACpD;gBACD,WAAW,EAAE,EAAE;aAChB,CAAC;YACF,OAAO,MAAM,0BAAU,CAAC,WAAW,CAAwB,OAAO,CAAC,CAAC;QACtE,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"apply-tag-to-subscriber.action.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/actions/apply-tag-to-subscriber.action.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAIqC;AACrC,sCAAuC;AACvC,8BAAkC;AAErB,QAAA,wBAAwB,GAAG,IAAA,+BAAY,EAAC;IACnD,IAAI,EAAE,YAAQ;IACd,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE;QACL,UAAU,EAAE,mBAAU,CAAC,UAAU;QACjC,UAAU,EAAE,mBAAU,CAAC,UAAU;QACjC,GAAG,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACtB,WAAW,EAAE,KAAK;YAClB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,cAAc;SAC5B,CAAC;KACH;IACK,GAAG;qEAAC,EAAE,IAAI,EAAE,UAAU,EAAE;YAC5B,MAAM,OAAO,GAAgB;gBAC3B,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,GAAG,mBAAU,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO;gBACxD,IAAI,EAAE;oBACJ,IAAI,EAAE;wBACJ;4BACE,KAAK,EAAE,UAAU,CAAC,UAAU;4BAC5B,GAAG,EAAE,UAAU,CAAC,GAAG;yBACpB;qBACF;iBACF;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,mBAAU,CAAC,mBAAmB,CAAC,IAAI,CAAC;iBACpD;gBACD,WAAW,EAAE,EAAE;aAChB,CAAC;YACF,OAAO,MAAM,0BAAU,CAAC,WAAW,CAAwB,OAAO,CAAC,CAAC;QACtE,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -55,8 +55,8 @@ exports.dripUpsertSubscriberAction = (0, pieces_framework_1.createAction)({
55
55
  required: false,
56
56
  }),
57
57
  },
58
- run({ auth, propsValue }) {
59
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
58
+ run(_a) {
59
+ return tslib_1.__awaiter(this, arguments, void 0, function* ({ auth, propsValue }) {
60
60
  const request = {
61
61
  method: pieces_common_1.HttpMethod.POST,
62
62
  url: `${common_1.dripCommon.baseUrl(propsValue.account_id)}/subscribers`,
@@ -1 +1 @@
1
- {"version":3,"file":"upsert-subscriber.action.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/actions/upsert-subscriber.action.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAIqC;AACrC,sCAAuC;AACvC,8BAAkC;AAErB,QAAA,0BAA0B,GAAG,IAAA,+BAAY,EAAC;IACrD,IAAI,EAAE,YAAQ;IACd,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,6BAA6B;IAC1C,KAAK,EAAE;QACL,UAAU,EAAE,mBAAU,CAAC,UAAU;QACjC,UAAU,EAAE,mBAAU,CAAC,UAAU;QACjC,IAAI,EAAE,mBAAU,CAAC,IAAI;QACrB,aAAa,EAAE,mBAAU,CAAC,aAAa;QACvC,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,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IAAI,EAAE,UAAU,CAAC,IAAI;4BACrB,aAAa,EAAE,UAAU,CAAC,aAAa;4BACvC,OAAO,EAAE,UAAU,CAAC,OAAO;4BAC3B,QAAQ,EAAE,UAAU,CAAC,OAAO;4BAC5B,IAAI,EAAE,UAAU,CAAC,IAAI;4BACrB,KAAK,EAAE,UAAU,CAAC,KAAK;4BACvB,GAAG,EAAE,UAAU,CAAC,GAAG;4BACnB,KAAK,EAAE,UAAU,CAAC,KAAK;4BACvB,UAAU,EAAE,UAAU,CAAC,UAAU;4BACjC,SAAS,EAAE,UAAU,CAAC,SAAS;yBAChC;qBACF;iBACF;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,mBAAU,CAAC,mBAAmB,CAAC,IAAI,CAAC;iBACpD;gBACD,WAAW,EAAE,EAAE;aAChB,CAAC;YACF,OAAO,MAAM,0BAAU,CAAC,WAAW,CAAwB,OAAO,CAAC,CAAC;QACtE,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"upsert-subscriber.action.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/actions/upsert-subscriber.action.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAIqC;AACrC,sCAAuC;AACvC,8BAAkC;AAErB,QAAA,0BAA0B,GAAG,IAAA,+BAAY,EAAC;IACrD,IAAI,EAAE,YAAQ;IACd,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,6BAA6B;IAC1C,KAAK,EAAE;QACL,UAAU,EAAE,mBAAU,CAAC,UAAU;QACjC,UAAU,EAAE,mBAAU,CAAC,UAAU;QACjC,IAAI,EAAE,mBAAU,CAAC,IAAI;QACrB,aAAa,EAAE,mBAAU,CAAC,aAAa;QACvC,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,SAAS,EAAE,2BAAQ,C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ACvC,OAAO,EAAE,UAAU,CAAC,OAAO;4BAC3B,QAAQ,EAAE,UAAU,CAAC,OAAO;4BAC5B,IAAI,EAAE,UAAU,CAAC,IAAI;4BACrB,KAAK,EAAE,UAAU,CAAC,KAAK;4BACvB,GAAG,EAAE,UAAU,CAAC,GAAG;4BACnB,KAAK,EAAE,UAAU,CAAC,KAAK;4BACvB,UAAU,EAAE,UAAU,CAAC,UAAU;4BACjC,SAAS,EAAE,UAAU,CAAC,SAAS;yBAChC;qBACF;iBACF;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,mBAAU,CAAC,mBAAmB,CAAC,IAAI,CAAC;iBACpD;gBACD,WAAW,EAAE,EAAE;aAChB,CAAC;YACF,OAAO,MAAM,0BAAU,CAAC,WAAW,CAAwB,OAAO,CAAC,CAAC;QACtE,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -12,7 +12,7 @@ exports.dripCommon = {
12
12
  displayName: 'Account',
13
13
  required: true,
14
14
  refreshers: [],
15
- options: ({ auth }) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
15
+ options: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth }) {
16
16
  if (!auth) {
17
17
  return {
18
18
  disabled: true,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/common/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA0D;AAC1D,+DAIqC;AAExB,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE,CAAC,SAAiB,EAAE,EAAE;QAC7B,OAAO,8BAA8B,SAAS,EAAE,CAAC;IACnD,CAAC;IACD,UAAU,EAAE,2BAAQ,CAAC,QAAQ,CAAC;QAC5B,WAAW,EAAE,SAAS;QACtB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,EAAE;QACd,OAAO,EAAE,CAAO,EAAE,IAAI,EAAE,EAAE,EAAE;YAC1B,IAAI,CAAC,IAAI,EAAE;gBACT,OAAO;o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Q,CAAC,EAAE;CACpD,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/common/index.ts"],"names":[],"mappings":";;;;AAAA,qEAA0D;AAC1D,+DAIqC;AAExB,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE,CAAC,SAAiB,EAAE,EAAE;QAC7B,OAAO,8BAA8B,SAAS,EAAE,CAAC;IACnD,CAAC;IACD,UAAU,EAAE,2BAAQ,CAAC,QAAQ,CAAC;QAC5B,WAAW,EAAE,SAAS;QACtB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,EAAE;QACd,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;YACtB,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,OAAO;oBACL,QAAQ,EAAE,IAAI;oBACd,OAAO,EAAE,EAAE;oBACX,WAAW,EAAE,8BAA8B;iBAC5C,CAAC;YACJ,CAAC;YAED,MAAM,OAAO,GAAgB;gBAC3B,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,qCAAqC;gBAC1C,OAAO,EAAE;oBACP,aAAa,EAAE,SAAS,MAAM,CAAC,IAAI,CAAC,IAAc,CAAC,CAAC,QAAQ,CAC1D,QAAQ,CACT,EAAE;iBACJ;aACF,CAAC;YACF,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAE1C,OAAO,CAAC,CAAC;YACZ,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;gBAC9C,OAAO,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC;YAC5C,CAAC,CAAC,CAAC;YACH,OAAO;gBACL,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC,CAAA;KACF,CAAC;IACF,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;QAC7B,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,kBAAkB;QAC/B,WAAW,EAAE,yBAAyB;KACvC,CAAC;IACF,IAAI,EAAE,2BAAQ,CAAC,KAAK,CAAC;QACnB,WAAW,EAAE,MAAM;QACnB,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6BAA6B;KAC3C,CAAC;IACF,aAAa,EAAE,2BAAQ,CAAC,MAAM,CAAC;QAC7B,WAAW,EAAE,eAAe;QAC5B,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,wCAAwC;KACtD,CAAC;IACF,mBAAmB,EAAE,CAAC,MAAc,EAAE,EAAE,CACtC,SAAS,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;CACpD,CAAC"}
@@ -24,8 +24,8 @@ exports.dripNewSubscriberEvent = (0, pieces_framework_1.createTrigger)({
24
24
  occurred_at: '2013-06-21T10:31:58Z',
25
25
  },
26
26
  type: pieces_framework_1.TriggerStrategy.WEBHOOK,
27
- onEnable({ auth, propsValue, webhookUrl, store }) {
28
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
27
+ onEnable(_a) {
28
+ return tslib_1.__awaiter(this, arguments, void 0, function* ({ auth, propsValue, webhookUrl, store }) {
29
29
  const request = {
30
30
  method: pieces_common_1.HttpMethod.POST,
31
31
  url: `${common_1.dripCommon.baseUrl(propsValue.account_id)}/webhooks`,
@@ -45,8 +45,8 @@ exports.dripNewSubscriberEvent = (0, pieces_framework_1.createTrigger)({
45
45
  });
46
46
  },
47
47
  onDisable(context) {
48
- var _a;
49
48
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
49
+ var _a;
50
50
  const response = yield ((_a = context.store) === null || _a === void 0 ? void 0 : _a.get(triggerNameInStore));
51
51
  if (response !== null && response !== undefined) {
52
52
  const request = {
@@ -1 +1 @@
1
- {"version":3,"file":"new-subscriber.trigger.js","sourceR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CAAC,CAAC,EAAE;gBAC9B,MAAM,EAAE,UAAU,CAAC,UAAU;aAC9B,CAAC,CAAC;QACL,CAAC;KAAA;IACK,SAAS,CAAC,OAAO;;;YACrB,MAAM,QAAQ,GAAG,MAAM,CAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,GAAG,CACvC,kBAAkB,CACnB,CAAA,CAAC;YACF,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAE;gBAC/C,MAAM,OAAO,GAAgB;oBAC3B,MAAM,EAAE,0BAAU,CAAC,MAAM;oBACzB,GAAG,EAAE,GAAG,mBAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,aACzC,QAAQ,CAAC,SACX,EAAE;oBACF,OAAO,EAAE;wBACP,aAAa,EAAE,mBAAU,CAAC,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;qBAC5D;iBACF,CAAC;gBACF,MAAM,0BAAU,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;aACvC;;KACF;IACK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"new-subscriber.trigger.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/trigger/new-subscriber.trigger.ts"],"names":[],"mappings":";;;;AAAA,+DAIqC;AACrC,qEAAgF;AAChF,sCAAuC;AACvC,8BAAkC;AAElC,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AAC5C,QAAA,sBAAsB,GAAG,IAAA,gCAAa,EAAC;IAClD,IAAI,EAAE,YAAQ;IACd,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,6DAA6D;IAC1E,KAAK,EAAE;QACL,UAAU,EAAE,mBAAU,CAAC,UAAU;KAClC;IACD,UAAU,EAAE;QACV,KAAK,EAAE,oBAAoB;QAC3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,QAAQ,CAAC,SACX,EAAE;oBACF,OAAO,EAAE;wBACP,aAAa,EAAE,mBAAU,CAAC,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;qBAC5D;iBACF,CAAC;gBACF,MAAM,0BAAU,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;KAAA;IACK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -28,8 +28,8 @@ exports.dripTagAppliedEvent = (0, pieces_framework_1.createTrigger)({
28
28
  },
29
29
  type: pieces_framework_1.TriggerStrategy.WEBHOOK,
30
30
  onEnable(context) {
31
- var _a;
32
31
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
32
+ var _a;
33
33
  const request = {
34
34
  method: pieces_common_1.HttpMethod.POST,
35
35
  url: `${common_1.dripCommon.baseUrl(context.propsValue.account_id)}/webhooks`,
@@ -51,8 +51,8 @@ exports.dripTagAppliedEvent = (0, pieces_framework_1.createTrigger)({
51
51
  });
52
52
  },
53
53
  onDisable(context) {
54
- var _a;
55
54
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
55
+ var _a;
56
56
  const response = yield ((_a = context.store) === null || _a === void 0 ? void 0 : _a.get(triggerNameInStore));
57
57
  if (response !== null && response !== undefined) {
58
58
  const request = {
@@ -1 +1 @@
1
- {"version":3,"file":"new-tag.trigger.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/trigger/new-tag.trigger.ts"],"names":[],"mappings":";;;;AAAA,+DAIqC;AACrC,qEAAgF;AAChF,sCAAuC;AACvC,8BAAkC;AAElC,MAAM,kBAAkB,GAAG,wCAAwC,CAAC;AACvD,QAAA,mBAAmB,GAAG,IAAA,gCAAa,EAAC;IAC/C,IAAI,EAAE,YAAQ;IACd,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,aAAa;IAC1B,W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AAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAE;gBAC/C,MAAM,OAAO,GAAuB;oBAClC,MAAM,EAAE,0BAAU,CAAC,MAAM;oBACzB,GAAG,EAAE,GAAG,mBAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,aACzC,QAAQ,CAAC,SACX,EAAE;oBACF,OAAO,EAAE;wBACP,aAAa,EAAE,mBAAU,CAAC,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC;qBAC5D;iBACF,CAAC;gBACF,MAAM,0BAAU,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;aACvC;;KACF;IACK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"new-tag.trigger.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/drip/src/lib/trigger/new-tag.trigger.ts"],"names":[],"mappings":";;;;AAAA,+DAIqC;AACrC,qEAAgF;AAChF,sCAAuC;AACvC,8BAAkC;AAElC,MAAM,kBAAkB,GAAG,wCAAwC,CAAC;AACvD,QAAA,mBAAmB,GAAG,IAAA,gCAAa,EAAC;IAC/C,IAAI,EAAE,YAAQ;IACd,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,iCAAiC;IAC9C,KAAK,EAAE;QACL,UAAU,EAAE,mBAAU,CAAC,UAAU;KAClC;IACD,UAAU,EAAE;QACV,KAAK,EAAE,wBAAwB;QAC/B,IAAI,EAAE;YACJ,UAAU,EAAE,SAAS;YACrB,UAAU,EAAE,EAAE;YACd,UAAU,EAAE;gBACV,GAAG,EAAE,UAAU;aAChB;SACF;QACD,WAAW,EAAE,sBAAsB;KACpC;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IACvB,QAAQ,CAAC,OAAO;;;YACpB,MAAM,OAAO,GAAgB;gBAC3B,MA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