@activepieces/piece-lead-connector 0.2.0 → 0.2.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,21 +1,23 @@
1
1
  {
2
2
  "name": "@activepieces/piece-lead-connector",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "dependencies": {
5
5
  "@sinclair/typebox": "0.34.11",
6
+ "ai": "^6.0.0",
6
7
  "axios": "1.13.1",
7
8
  "axios-retry": "4.4.1",
8
9
  "deepmerge-ts": "7.1.0",
9
10
  "form-data": "4.0.4",
11
+ "i18next": "23.13.0",
10
12
  "jsonwebtoken": "9.0.1",
11
13
  "mime-types": "2.1.35",
12
14
  "nanoid": "3.3.8",
13
15
  "semver": "7.6.0",
14
16
  "socket.io-client": "4.8.1",
15
17
  "zod": "4.1.13",
16
- "@activepieces/pieces-common": "0.11.0",
17
- "@activepieces/pieces-framework": "0.23.0",
18
- "@activepieces/shared": "0.30.4",
18
+ "@activepieces/pieces-common": "0.11.3",
19
+ "@activepieces/pieces-framework": "0.25.1",
20
+ "@activepieces/shared": "0.34.0",
19
21
  "tslib": "2.6.2"
20
22
  },
21
23
  "resolutions": {
package/src/i18n/de.json CHANGED
@@ -58,10 +58,12 @@
58
58
  "Method": "Methode",
59
59
  "Headers": "Kopfzeilen",
60
60
  "Query Parameters": "Abfrageparameter",
61
+ "Body Type": "Körpertyp",
61
62
  "Body": "Körper",
62
63
  "Response is Binary ?": "Antwort ist binär?",
63
64
  "No Error on Failure": "Kein Fehler bei Fehler",
64
65
  "Timeout (in seconds)": "Timeout (in Sekunden)",
66
+ "Follow redirects": "Weiterleitungen folgen",
65
67
  "When using a dynamic value, make sure to use the ISO-2 country code, and not the country name.": "Wenn Sie einen dynamischen Wert verwenden, stellen Sie sicher, dass Sie den ISO-2-Ländercode und nicht den Landesnamen verwenden.",
66
68
  "The ID of the contact.": "Die ID des Kontakts.",
67
69
  "The contact to use.": "Der zu verwendende Kontakt.",
@@ -69,13 +71,17 @@
69
71
  "The ID of the pipeline to use.": "Die ID der zu verwendenden Pipeline.",
70
72
  "The stage of the pipeline to use.": "Die Phase der zu verwendenden Pipeline.",
71
73
  "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
72
- "Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
74
+ "Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
73
75
  "GET": "ERHALTEN",
74
76
  "POST": "POST",
75
77
  "PATCH": "PATCH",
76
78
  "PUT": "PUT",
77
79
  "DELETE": "LÖSCHEN",
78
80
  "HEAD": "HEAD",
81
+ "None": "Keine",
82
+ "JSON": "JSON",
83
+ "Form Data": "Formulardaten",
84
+ "Raw": "Rohe",
79
85
  "New Contact": "Neuer Kontakt",
80
86
  "Contact Created or Updated": "Kontakt erstellt oder aktualisiert",
81
87
  "New Form Submission": "Neue Formulareinreichung",
package/src/i18n/es.json CHANGED
@@ -58,10 +58,12 @@
58
58
  "Method": "Método",
59
59
  "Headers": "Encabezados",
60
60
  "Query Parameters": "Parámetros de consulta",
61
+ "Body Type": "Tipo de cuerpo",
61
62
  "Body": "Cuerpo",
62
63
  "Response is Binary ?": "¿Respuesta es binaria?",
63
64
  "No Error on Failure": "No hay ningún error en fallo",
64
65
  "Timeout (in seconds)": "Tiempo de espera (en segundos)",
66
+ "Follow redirects": "Seguir redirecciones",
65
67
  "When using a dynamic value, make sure to use the ISO-2 country code, and not the country name.": "Cuando utilice un valor dinámico, asegúrese de usar el código de país ISO-2, y no el nombre del país.",
66
68
  "The ID of the contact.": "El ID del contacto.",
67
69
  "The contact to use.": "El contacto a utilizar.",
@@ -69,13 +71,17 @@
69
71
  "The ID of the pipeline to use.": "El ID del pipeline a utilizar.",
70
72
  "The stage of the pipeline to use.": "La etapa del pipeline a utilizar.",
71
73
  "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
72
- "Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
74
+ "Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
73
75
  "GET": "RECOGER",
74
76
  "POST": "POST",
75
77
  "PATCH": "PATCH",
76
78
  "PUT": "PUT",
77
79
  "DELETE": "BORRAR",
78
80
  "HEAD": "LIMPIO",
81
+ "None": "Ninguna",
82
+ "JSON": "JSON",
83
+ "Form Data": "Datos de Formulario",
84
+ "Raw": "Rápido",
79
85
  "New Contact": "Nuevo contacto",
80
86
  "Contact Created or Updated": "Contacto creado o actualizado",
81
87
  "New Form Submission": "Nuevo envío de formulario",
package/src/i18n/fr.json CHANGED
@@ -58,10 +58,12 @@
58
58
  "Method": "Méthode",
59
59
  "Headers": "En-têtes",
60
60
  "Query Parameters": "Paramètres de requête",
61
+ "Body Type": "Body Type",
61
62
  "Body": "Corps",
62
63
  "Response is Binary ?": "La réponse est Binaire ?",
63
64
  "No Error on Failure": "Aucune erreur en cas d'échec",
64
65
  "Timeout (in seconds)": "Délai d'attente (en secondes)",
66
+ "Follow redirects": "Suivre les redirections",
65
67
  "When using a dynamic value, make sure to use the ISO-2 country code, and not the country name.": "Lorsque vous utilisez une valeur dynamique, assurez-vous d'utiliser le code de pays ISO-2, et non le nom du pays.",
66
68
  "The ID of the contact.": "L'ID du contact.",
67
69
  "The contact to use.": "Le contact à utiliser.",
@@ -69,13 +71,17 @@
69
71
  "The ID of the pipeline to use.": "L'ID du pipeline à utiliser.",
70
72
  "The stage of the pipeline to use.": "L'étape du pipeline à utiliser.",
71
73
  "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
72
- "Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
74
+ "Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
73
75
  "GET": "OBTENIR",
74
76
  "POST": "POSTER",
75
77
  "PATCH": "PATCH",
76
78
  "PUT": "EFFACER",
77
79
  "DELETE": "SUPPRIMER",
78
80
  "HEAD": "TÊTE",
81
+ "None": "Aucun",
82
+ "JSON": "JSON",
83
+ "Form Data": "Données du formulaire",
84
+ "Raw": "Brut",
79
85
  "New Contact": "Nouveau contact",
80
86
  "Contact Created or Updated": "Contact créé ou mis à jour",
81
87
  "New Form Submission": "Nouvelle soumission de formulaire",
package/src/i18n/ja.json CHANGED
@@ -58,10 +58,12 @@
58
58
  "Method": "方法",
59
59
  "Headers": "ヘッダー",
60
60
  "Query Parameters": "クエリパラメータ",
61
+ "Body Type": "ボディタイプ",
61
62
  "Body": "本文",
62
63
  "Response is Binary ?": "応答はバイナリですか?",
63
64
  "No Error on Failure": "失敗時にエラーはありません",
64
65
  "Timeout (in seconds)": "タイムアウト(秒)",
66
+ "Follow redirects": "リダイレクトをフォローする",
65
67
  "When using a dynamic value, make sure to use the ISO-2 country code, and not the country name.": "動的な値を使用する場合は、必ず国名ではなくISO-2の国コードを使用してください。",
66
68
  "The ID of the contact.": "連絡先のID。",
67
69
  "The contact to use.": "使用する連絡先",
@@ -69,13 +71,17 @@
69
71
  "The ID of the pipeline to use.": "使用するパイプラインのID。",
70
72
  "The stage of the pipeline to use.": "使用するパイプラインの段階。",
71
73
  "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
72
- "Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
74
+ "Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
73
75
  "GET": "取得",
74
76
  "POST": "POST",
75
77
  "PATCH": "PATCH",
76
78
  "PUT": "PUT",
77
79
  "DELETE": "削除",
78
80
  "HEAD": "頭",
81
+ "None": "なし",
82
+ "JSON": "JSON",
83
+ "Form Data": "フォームデータ",
84
+ "Raw": "Raw",
79
85
  "New Contact": "新しい連絡先",
80
86
  "Contact Created or Updated": "連絡先が作成または更新されました",
81
87
  "New Form Submission": "新しいフォーム提出",
package/src/i18n/nl.json CHANGED
@@ -58,10 +58,12 @@
58
58
  "Method": "Methode",
59
59
  "Headers": "Kopteksten",
60
60
  "Query Parameters": "Query parameters",
61
+ "Body Type": "Type lichaam",
61
62
  "Body": "Lichaam",
62
63
  "Response is Binary ?": "Antwoord is binair?",
63
64
  "No Error on Failure": "Geen fout bij fout",
64
65
  "Timeout (in seconds)": "Time-out (in seconden)",
66
+ "Follow redirects": "Volg omleidingen",
65
67
  "When using a dynamic value, make sure to use the ISO-2 country code, and not the country name.": "Let op dat bij het gebruik van een dynamische waarde de ISO-2-landcode gebruikt en niet de landnaam.",
66
68
  "The ID of the contact.": "Het ID van de contactpersoon",
67
69
  "The contact to use.": "De contactpersoon te gebruiken.",
@@ -69,13 +71,17 @@
69
71
  "The ID of the pipeline to use.": "De ID van de pipeline om te gebruiken.",
70
72
  "The stage of the pipeline to use.": "De fase van de pijpleiding om te gebruiken.",
71
73
  "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
72
- "Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
74
+ "Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
73
75
  "GET": "KRIJG",
74
76
  "POST": "POSTE",
75
77
  "PATCH": "BEKIJK",
76
78
  "PUT": "PUT",
77
79
  "DELETE": "VERWIJDEREN",
78
80
  "HEAD": "HOOFD",
81
+ "None": "geen",
82
+ "JSON": "JSON",
83
+ "Form Data": "Formulieren gegevens",
84
+ "Raw": "Onbewerkte",
79
85
  "New Contact": "Nieuw contactpersoon",
80
86
  "Contact Created or Updated": "Contact aangemaakt of bijgewerkt",
81
87
  "New Form Submission": "Nieuw formulier indienen",
package/src/i18n/pt.json CHANGED
@@ -58,10 +58,12 @@
58
58
  "Method": "Método",
59
59
  "Headers": "Cabeçalhos",
60
60
  "Query Parameters": "Parâmetros da consulta",
61
+ "Body Type": "Tipo de Corpo",
61
62
  "Body": "Conteúdo",
62
63
  "Response is Binary ?": "A resposta é binária ?",
63
64
  "No Error on Failure": "Nenhum erro no Failure",
64
65
  "Timeout (in seconds)": "Tempo limite (em segundos)",
66
+ "Follow redirects": "Seguir redirecionamentos",
65
67
  "When using a dynamic value, make sure to use the ISO-2 country code, and not the country name.": "Ao usar um valor dinâmico, certifique-se de usar o código do país ISO-2, e não o nome do país.",
66
68
  "The ID of the contact.": "O ID do contato.",
67
69
  "The contact to use.": "O contato a ser usado",
@@ -69,13 +71,17 @@
69
71
  "The ID of the pipeline to use.": "A ID do pipeline a ser usado.",
70
72
  "The stage of the pipeline to use.": "O estágio do pipeline a ser usado.",
71
73
  "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
72
- "Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
74
+ "Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
73
75
  "GET": "OBTER",
74
76
  "POST": "POSTAR",
75
77
  "PATCH": "COMPRAR",
76
78
  "PUT": "COLOCAR",
77
79
  "DELETE": "EXCLUIR",
78
80
  "HEAD": "CABEÇA",
81
+ "None": "Nenhuma",
82
+ "JSON": "JSON",
83
+ "Form Data": "Dados de Formulário",
84
+ "Raw": "RAW",
79
85
  "New Contact": "Novo Contato",
80
86
  "Contact Created or Updated": "Contato criado ou atualizado",
81
87
  "New Form Submission": "Nova Submissão de Formulário",
@@ -58,10 +58,12 @@
58
58
  "Method": "Method",
59
59
  "Headers": "Headers",
60
60
  "Query Parameters": "Query Parameters",
61
+ "Body Type": "Body Type",
61
62
  "Body": "Body",
62
63
  "Response is Binary ?": "Response is Binary ?",
63
64
  "No Error on Failure": "No Error on Failure",
64
65
  "Timeout (in seconds)": "Timeout (in seconds)",
66
+ "Follow redirects": "Follow redirects",
65
67
  "When using a dynamic value, make sure to use the ISO-2 country code, and not the country name.": "When using a dynamic value, make sure to use the ISO-2 country code, and not the country name.",
66
68
  "The ID of the contact.": "The ID of the contact.",
67
69
  "The contact to use.": "The contact to use.",
@@ -69,13 +71,17 @@
69
71
  "The ID of the pipeline to use.": "The ID of the pipeline to use.",
70
72
  "The stage of the pipeline to use.": "The stage of the pipeline to use.",
71
73
  "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
72
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
74
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
73
75
  "GET": "GET",
74
76
  "POST": "POST",
75
77
  "PATCH": "PATCH",
76
78
  "PUT": "PUT",
77
79
  "DELETE": "DELETE",
78
80
  "HEAD": "HEAD",
81
+ "None": "None",
82
+ "JSON": "JSON",
83
+ "Form Data": "Form Data",
84
+ "Raw": "Raw",
79
85
  "New Contact": "New Contact",
80
86
  "Contact Created or Updated": "Contact Created or Updated",
81
87
  "New Form Submission": "New Form Submission",
package/src/i18n/zh.json CHANGED
@@ -58,10 +58,12 @@
58
58
  "Method": "方法",
59
59
  "Headers": "信头",
60
60
  "Query Parameters": "查询参数",
61
+ "Body Type": "Body Type",
61
62
  "Body": "正文内容",
62
63
  "Response is Binary ?": "Response is Binary ?",
63
64
  "No Error on Failure": "失败时没有错误",
64
65
  "Timeout (in seconds)": "超时(秒)",
66
+ "Follow redirects": "Follow redirects",
65
67
  "When using a dynamic value, make sure to use the ISO-2 country code, and not the country name.": "When using a dynamic value, make sure to use the ISO-2 country code, and not the country name.",
66
68
  "The ID of the contact.": "The ID of the contact.",
67
69
  "The contact to use.": "The contact to use.",
@@ -69,13 +71,17 @@
69
71
  "The ID of the pipeline to use.": "The ID of the pipeline to use.",
70
72
  "The stage of the pipeline to use.": "The stage of the pipeline to use.",
71
73
  "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
72
- "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
74
+ "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
73
75
  "GET": "获取",
74
76
  "POST": "帖子",
75
77
  "PATCH": "PATCH",
76
78
  "PUT": "弹出",
77
79
  "DELETE": "删除",
78
80
  "HEAD": "黑色",
81
+ "None": "无",
82
+ "JSON": "JSON",
83
+ "Form Data": "表单数据",
84
+ "Raw": "原始文件",
79
85
  "New Contact": "New Contact",
80
86
  "Contact Created or Updated": "Contact Created or Updated",
81
87
  "New Form Submission": "New Form Submission",
@@ -1,2 +1,2 @@
1
1
  import { TriggerStrategy } from '@activepieces/pieces-framework';
2
- export declare const contactUpdated: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}>;
2
+ export declare const contactUpdated: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}>;
@@ -1,2 +1,2 @@
1
1
  import { TriggerStrategy } from '@activepieces/pieces-framework';
2
- export declare const newContact: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}>;
2
+ export declare const newContact: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {}>;
@@ -3,6 +3,8 @@ export declare const newFormSubmission: import("@activepieces/pieces-framework")
3
3
  form: import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
4
4
  }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
5
5
  form: import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
6
+ }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
7
+ form: import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
6
8
  }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
7
9
  form: import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
8
10
  }>;
@@ -3,6 +3,8 @@ export declare const newOpportunity: import("@activepieces/pieces-framework").IT
3
3
  pipeline: import("@activepieces/pieces-framework").DropdownProperty<any, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
4
4
  }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
5
5
  pipeline: import("@activepieces/pieces-framework").DropdownProperty<any, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
6
+ }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
7
+ pipeline: import("@activepieces/pieces-framework").DropdownProperty<any, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
6
8
  }> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
7
9
  pipeline: import("@activepieces/pieces-framework").DropdownProperty<any, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
8
10
  }>;