@activepieces/piece-gmail 0.10.0 → 0.10.1
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 +6 -4
- package/src/i18n/de.json +6 -1
- package/src/i18n/es.json +6 -1
- package/src/i18n/fr.json +6 -1
- package/src/i18n/ja.json +8 -3
- package/src/i18n/nl.json +6 -1
- package/src/i18n/pt.json +6 -1
- package/src/i18n/translation.json +6 -1
- package/src/i18n/zh.json +6 -1
- package/src/lib/triggers/new-email.d.ts +6 -0
- package/src/lib/triggers/new-labeled-email.d.ts +15 -0
package/package.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-gmail",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
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
|
"dayjs": "1.11.9",
|
|
9
10
|
"deepmerge-ts": "7.1.0",
|
|
10
11
|
"form-data": "4.0.4",
|
|
11
12
|
"googleapis": "129.0.0",
|
|
13
|
+
"i18next": "23.13.0",
|
|
12
14
|
"mailparser": "3.7.5",
|
|
13
15
|
"mime-types": "2.1.35",
|
|
14
16
|
"nanoid": "3.3.8",
|
|
@@ -16,9 +18,9 @@
|
|
|
16
18
|
"semver": "7.6.0",
|
|
17
19
|
"socket.io-client": "4.8.1",
|
|
18
20
|
"zod": "4.1.13",
|
|
19
|
-
"@activepieces/pieces-common": "0.11.
|
|
20
|
-
"@activepieces/pieces-framework": "0.
|
|
21
|
-
"@activepieces/shared": "0.
|
|
21
|
+
"@activepieces/pieces-common": "0.11.2",
|
|
22
|
+
"@activepieces/pieces-framework": "0.24.0",
|
|
23
|
+
"@activepieces/shared": "0.32.0",
|
|
22
24
|
"tslib": "2.6.2"
|
|
23
25
|
},
|
|
24
26
|
"resolutions": {
|
package/src/i18n/de.json
CHANGED
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"Response is Binary ?": "Antwort ist binär?",
|
|
23
23
|
"No Error on Failure": "Kein Fehler bei Fehler",
|
|
24
24
|
"Timeout (in seconds)": "Timeout (in Sekunden)",
|
|
25
|
+
"Follow redirects": "Weiterleitungen folgen",
|
|
25
26
|
"Body for the email you want to send": "Body für die E-Mail, die Sie senden möchten",
|
|
26
27
|
"Email address to set as the \"Reply-To\" header": "E-Mail-Adresse, die als \"Antwort-An\"-Header festgelegt wird",
|
|
27
28
|
"The address must be listed in your GMail account's settings": "Die Adresse muss in den Einstellungen Ihres GMail-Kontos aufgelistet werden",
|
|
28
29
|
"Reply to this Message-ID": "Auf diese Nachrichten-ID antworten",
|
|
29
30
|
"Create draft without sending the actual email": "Erstellen Sie einen Entwurf, ohne die eigentliche E-Mail zu senden",
|
|
30
31
|
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
|
31
|
-
"Enable for files like PDFs, images, etc
|
|
32
|
+
"Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
|
|
32
33
|
"plain text": "schlichter Text",
|
|
33
34
|
"html": "html",
|
|
34
35
|
"GET": "ERHALTEN",
|
|
@@ -37,6 +38,10 @@
|
|
|
37
38
|
"PUT": "PUT",
|
|
38
39
|
"DELETE": "LÖSCHEN",
|
|
39
40
|
"HEAD": "HEAD",
|
|
41
|
+
"None": "Keine",
|
|
42
|
+
"JSON": "JSON",
|
|
43
|
+
"Form Data": "Formulardaten",
|
|
44
|
+
"Raw": "Rohe",
|
|
40
45
|
"New Email": "Neue E-Mail",
|
|
41
46
|
"New Labeled Email": "Neue etikettierte E-Mail",
|
|
42
47
|
"Triggers when new mail is found in your Gmail inbox": "Auslöser wenn neue Nachrichten in Ihrem Google Mail-Posteingang gefunden werden",
|
package/src/i18n/es.json
CHANGED
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"Response is Binary ?": "¿Respuesta es binaria?",
|
|
23
23
|
"No Error on Failure": "No hay ningún error en fallo",
|
|
24
24
|
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
|
|
25
|
+
"Follow redirects": "Seguir redirecciones",
|
|
25
26
|
"Body for the email you want to send": "Cuerpo para el correo electrónico que desea enviar",
|
|
26
27
|
"Email address to set as the \"Reply-To\" header": "Dirección de correo electrónico a establecer como la cabecera \"Responder a\"",
|
|
27
28
|
"The address must be listed in your GMail account's settings": "La dirección debe aparecer en la configuración de su cuenta de GMail",
|
|
28
29
|
"Reply to this Message-ID": "Responder a este mensaje-ID",
|
|
29
30
|
"Create draft without sending the actual email": "Crear borrador sin enviar el correo electrónico actual",
|
|
30
31
|
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
|
31
|
-
"Enable for files like PDFs, images, etc
|
|
32
|
+
"Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
|
|
32
33
|
"plain text": "texto plano",
|
|
33
34
|
"html": "html",
|
|
34
35
|
"GET": "RECOGER",
|
|
@@ -37,6 +38,10 @@
|
|
|
37
38
|
"PUT": "PUT",
|
|
38
39
|
"DELETE": "BORRAR",
|
|
39
40
|
"HEAD": "LIMPIO",
|
|
41
|
+
"None": "Ninguna",
|
|
42
|
+
"JSON": "JSON",
|
|
43
|
+
"Form Data": "Datos de Formulario",
|
|
44
|
+
"Raw": "Rápido",
|
|
40
45
|
"New Email": "Nuevo Email",
|
|
41
46
|
"New Labeled Email": "Nuevo Email Etiquetado",
|
|
42
47
|
"Triggers when new mail is found in your Gmail inbox": "Dispara cuando se encuentra un nuevo correo en tu bandeja de entrada de Gmail",
|
package/src/i18n/fr.json
CHANGED
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"Response is Binary ?": "La réponse est Binaire ?",
|
|
23
23
|
"No Error on Failure": "Aucune erreur en cas d'échec",
|
|
24
24
|
"Timeout (in seconds)": "Délai d'expiration (en secondes)",
|
|
25
|
+
"Follow redirects": "Suivre les redirections",
|
|
25
26
|
"Body for the email you want to send": "Corps de l'e-mail que vous souhaitez envoyer",
|
|
26
27
|
"Email address to set as the \"Reply-To\" header": "Adresse e-mail à définir comme en-tête de \"Répondre à\"",
|
|
27
28
|
"The address must be listed in your GMail account's settings": "L'adresse doit être listée dans les paramètres de votre compte Gmail",
|
|
28
29
|
"Reply to this Message-ID": "Répondre à cet ID de message",
|
|
29
30
|
"Create draft without sending the actual email": "Créer un brouillon sans envoyer l'e-mail actuel",
|
|
30
31
|
"Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
|
|
31
|
-
"Enable for files like PDFs, images, etc
|
|
32
|
+
"Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
|
|
32
33
|
"plain text": "texte brut",
|
|
33
34
|
"html": "html",
|
|
34
35
|
"GET": "GET",
|
|
@@ -37,6 +38,10 @@
|
|
|
37
38
|
"PUT": "PUT",
|
|
38
39
|
"DELETE": "DELETE",
|
|
39
40
|
"HEAD": "HEAD",
|
|
41
|
+
"None": "Aucun",
|
|
42
|
+
"JSON": "JSON",
|
|
43
|
+
"Form Data": "Données du formulaire",
|
|
44
|
+
"Raw": "Brut",
|
|
40
45
|
"New Email": "Nouvel e-mail",
|
|
41
46
|
"New Labeled Email": "Nouvel e-mail libellé",
|
|
42
47
|
"Triggers when new mail is found in your Gmail inbox": "Se déclenche quand un nouveau courrier est trouvé dans votre boîte de réception Gmail",
|
package/src/i18n/ja.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Email service by Google": "Google のメール サービス",
|
|
3
3
|
"Send Email": "メール送信",
|
|
4
|
-
"Custom API Call": "カスタムAPI
|
|
4
|
+
"Custom API Call": "カスタムAPI呼び出し",
|
|
5
5
|
"Send an email through a Gmail account": "Gmail アカウントを通じてメールを送信",
|
|
6
6
|
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
|
7
7
|
"Receiver Email (To)": "受信者メールアドレス (宛先)",
|
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"Response is Binary ?": "応答はバイナリですか?",
|
|
23
23
|
"No Error on Failure": "失敗時にエラーはありません",
|
|
24
24
|
"Timeout (in seconds)": "タイムアウト(秒)",
|
|
25
|
+
"Follow redirects": "リダイレクトをフォローする",
|
|
25
26
|
"Body for the email you want to send": "送信したいメールの本文",
|
|
26
27
|
"Email address to set as the \"Reply-To\" header": "\"Reply-To\" ヘッダーとして設定するメールアドレス",
|
|
27
|
-
"The address must be listed in your GMail account's settings": "
|
|
28
|
+
"The address must be listed in your GMail account's settings": "アドレスはGmailアカウントの設定に登録されている必要があります",
|
|
28
29
|
"Reply to this Message-ID": "このメッセージIDへの返信",
|
|
29
30
|
"Create draft without sending the actual email": "実際のメールを送信せずに下書きを作成する",
|
|
30
31
|
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
|
31
|
-
"Enable for files like PDFs, images, etc
|
|
32
|
+
"Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
|
|
32
33
|
"plain text": "プレーンテキスト",
|
|
33
34
|
"html": "html",
|
|
34
35
|
"GET": "取得",
|
|
@@ -37,6 +38,10 @@
|
|
|
37
38
|
"PUT": "PUT",
|
|
38
39
|
"DELETE": "削除",
|
|
39
40
|
"HEAD": "頭",
|
|
41
|
+
"None": "なし",
|
|
42
|
+
"JSON": "JSON",
|
|
43
|
+
"Form Data": "フォームデータ",
|
|
44
|
+
"Raw": "Raw",
|
|
40
45
|
"New Email": "新しいメール",
|
|
41
46
|
"New Labeled Email": "新しいラベル付きメール",
|
|
42
47
|
"Triggers when new mail is found in your Gmail inbox": "Gmailの受信トレイに新しいメールが見つかったときにトリガーします",
|
package/src/i18n/nl.json
CHANGED
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"Response is Binary ?": "Antwoord is binair?",
|
|
23
23
|
"No Error on Failure": "Geen fout bij fout",
|
|
24
24
|
"Timeout (in seconds)": "Time-out (in seconden)",
|
|
25
|
+
"Follow redirects": "Volg omleidingen",
|
|
25
26
|
"Body for the email you want to send": "Body voor de e-mail die u wilt verzenden",
|
|
26
27
|
"Email address to set as the \"Reply-To\" header": "E-mailadres om in te stellen als de \"Reply-To\" header",
|
|
27
28
|
"The address must be listed in your GMail account's settings": "Het adres moet worden vermeld in de instellingen van uw GMail account",
|
|
28
29
|
"Reply to this Message-ID": "Reageer op dit bericht-ID",
|
|
29
30
|
"Create draft without sending the actual email": "Concept maken zonder de werkelijke e-mail te verzenden",
|
|
30
31
|
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
|
31
|
-
"Enable for files like PDFs, images, etc
|
|
32
|
+
"Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
|
|
32
33
|
"plain text": "onopgemaakte tekst",
|
|
33
34
|
"html": "html",
|
|
34
35
|
"GET": "KRIJG",
|
|
@@ -37,6 +38,10 @@
|
|
|
37
38
|
"PUT": "PUT",
|
|
38
39
|
"DELETE": "VERWIJDEREN",
|
|
39
40
|
"HEAD": "HOOFD",
|
|
41
|
+
"None": "geen",
|
|
42
|
+
"JSON": "JSON",
|
|
43
|
+
"Form Data": "Formulieren gegevens",
|
|
44
|
+
"Raw": "Onbewerkte",
|
|
40
45
|
"New Email": "Nieuw e-mailadres",
|
|
41
46
|
"New Labeled Email": "Nieuw label e-mailadres",
|
|
42
47
|
"Triggers when new mail is found in your Gmail inbox": "Triggert wanneer nieuwe mail gevonden is in uw Gmail inbox",
|
package/src/i18n/pt.json
CHANGED
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"Response is Binary ?": "A resposta é binária ?",
|
|
23
23
|
"No Error on Failure": "Nenhum erro no Failure",
|
|
24
24
|
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
|
25
|
+
"Follow redirects": "Seguir redirecionamentos",
|
|
25
26
|
"Body for the email you want to send": "Corpo para o e-mail que deseja enviar",
|
|
26
27
|
"Email address to set as the \"Reply-To\" header": "Endereço de e-mail para definir como cabeçalho \"Responder-Para\"",
|
|
27
28
|
"The address must be listed in your GMail account's settings": "O endereço deve ser listado nas configurações da sua conta do GMail",
|
|
28
29
|
"Reply to this Message-ID": "Responder a esta Mensagem-ID",
|
|
29
30
|
"Create draft without sending the actual email": "Criar rascunho sem enviar o próprio e-mail",
|
|
30
31
|
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
|
31
|
-
"Enable for files like PDFs, images, etc
|
|
32
|
+
"Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
|
|
32
33
|
"plain text": "texto simples",
|
|
33
34
|
"html": "HTML",
|
|
34
35
|
"GET": "OBTER",
|
|
@@ -37,6 +38,10 @@
|
|
|
37
38
|
"PUT": "COLOCAR",
|
|
38
39
|
"DELETE": "EXCLUIR",
|
|
39
40
|
"HEAD": "CABEÇA",
|
|
41
|
+
"None": "Nenhuma",
|
|
42
|
+
"JSON": "JSON",
|
|
43
|
+
"Form Data": "Dados de Formulário",
|
|
44
|
+
"Raw": "RAW",
|
|
40
45
|
"New Email": "Novo E-mail",
|
|
41
46
|
"New Labeled Email": "Novo E-mail Marcado",
|
|
42
47
|
"Triggers when new mail is found in your Gmail inbox": "Dispara quando novas mensagens forem encontradas em sua caixa de entrada do Gmail",
|
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"Response is Binary ?": "Response is Binary ?",
|
|
23
23
|
"No Error on Failure": "No Error on Failure",
|
|
24
24
|
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
25
|
+
"Follow redirects": "Follow redirects",
|
|
25
26
|
"Body for the email you want to send": "Body for the email you want to send",
|
|
26
27
|
"Email address to set as the \"Reply-To\" header": "Email address to set as the \"Reply-To\" header",
|
|
27
28
|
"The address must be listed in your GMail account's settings": "The address must be listed in your GMail account's settings",
|
|
28
29
|
"Reply to this Message-ID": "Reply to this Message-ID",
|
|
29
30
|
"Create draft without sending the actual email": "Create draft without sending the actual email",
|
|
30
31
|
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
31
|
-
"Enable for files like PDFs, images, etc
|
|
32
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
32
33
|
"plain text": "plain text",
|
|
33
34
|
"html": "html",
|
|
34
35
|
"GET": "GET",
|
|
@@ -37,6 +38,10 @@
|
|
|
37
38
|
"PUT": "PUT",
|
|
38
39
|
"DELETE": "DELETE",
|
|
39
40
|
"HEAD": "HEAD",
|
|
41
|
+
"None": "None",
|
|
42
|
+
"JSON": "JSON",
|
|
43
|
+
"Form Data": "Form Data",
|
|
44
|
+
"Raw": "Raw",
|
|
40
45
|
"New Email": "New Email",
|
|
41
46
|
"New Labeled Email": "New Labeled Email",
|
|
42
47
|
"Triggers when new mail is found in your Gmail inbox": "Triggers when new mail is found in your Gmail inbox",
|
package/src/i18n/zh.json
CHANGED
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
"Response is Binary ?": "Response is Binary ?",
|
|
23
23
|
"No Error on Failure": "失败时没有错误",
|
|
24
24
|
"Timeout (in seconds)": "超时(秒)",
|
|
25
|
+
"Follow redirects": "Follow redirects",
|
|
25
26
|
"Body for the email you want to send": "Body for the email you want to send",
|
|
26
27
|
"Email address to set as the \"Reply-To\" header": "Email address to set as the \"Reply-To\" header",
|
|
27
28
|
"The address must be listed in your GMail account's settings": "The address must be listed in your GMail account's settings",
|
|
28
29
|
"Reply to this Message-ID": "Reply to this Message-ID",
|
|
29
30
|
"Create draft without sending the actual email": "Create draft without sending the actual email",
|
|
30
31
|
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
|
31
|
-
"Enable for files like PDFs, images, etc
|
|
32
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
32
33
|
"plain text": "plain text",
|
|
33
34
|
"html": "html",
|
|
34
35
|
"GET": "获取",
|
|
@@ -37,6 +38,10 @@
|
|
|
37
38
|
"PUT": "弹出",
|
|
38
39
|
"DELETE": "删除",
|
|
39
40
|
"HEAD": "黑色",
|
|
41
|
+
"None": "无",
|
|
42
|
+
"JSON": "JSON",
|
|
43
|
+
"Form Data": "表单数据",
|
|
44
|
+
"Raw": "原始文件",
|
|
40
45
|
"New Email": "New Email",
|
|
41
46
|
"New Labeled Email": "New Labeled Email",
|
|
42
47
|
"Triggers when new mail is found in your Gmail inbox": "Triggers when new mail is found in your Gmail inbox",
|
|
@@ -12,6 +12,12 @@ export declare const gmailNewEmailTrigger: import("@activepieces/pieces-framewor
|
|
|
12
12
|
to: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
13
13
|
label: import("@activepieces/pieces-framework").DropdownProperty<GmailLabel, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
14
14
|
category: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
15
|
+
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
16
|
+
subject: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
17
|
+
from: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
18
|
+
to: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
19
|
+
label: import("@activepieces/pieces-framework").DropdownProperty<GmailLabel, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
20
|
+
category: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
15
21
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
16
22
|
subject: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
17
23
|
from: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
@@ -29,6 +29,21 @@ export declare const gmailNewLabeledEmailTrigger: import("@activepieces/pieces-f
|
|
|
29
29
|
type: import("@activepieces/pieces-framework").PropertyType.DROPDOWN;
|
|
30
30
|
defaultValue?: unknown;
|
|
31
31
|
};
|
|
32
|
+
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
33
|
+
label: {
|
|
34
|
+
required: true;
|
|
35
|
+
description?: string | undefined;
|
|
36
|
+
displayName: string;
|
|
37
|
+
auth: import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>;
|
|
38
|
+
refreshers: string[];
|
|
39
|
+
refreshOnSearch?: boolean;
|
|
40
|
+
options: (propsValue: Record<string, unknown> & {
|
|
41
|
+
auth?: import("dist/packages/shared/src").OAuth2ConnectionValueWithApp | undefined;
|
|
42
|
+
}, ctx: import("@activepieces/pieces-framework").PropertyContext) => Promise<import("@activepieces/pieces-framework").DropdownState<import("../common/models").GmailLabel>>;
|
|
43
|
+
valueSchema: import("../common/models").GmailLabel;
|
|
44
|
+
type: import("@activepieces/pieces-framework").PropertyType.DROPDOWN;
|
|
45
|
+
defaultValue?: unknown;
|
|
46
|
+
};
|
|
32
47
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
33
48
|
label: {
|
|
34
49
|
required: true;
|