@activepieces/piece-microsoft-outlook 0.1.7 → 0.1.9
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 +3 -3
- package/src/i18n/de.json +32 -32
- package/src/i18n/es.json +35 -35
- package/src/i18n/ja.json +35 -35
- package/src/i18n/nl.json +36 -36
- package/src/i18n/pt.json +38 -38
- package/src/i18n/zh.json +15 -15
- package/src/lib/common/auth.js +29 -0
- package/src/lib/common/auth.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-microsoft-outlook",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@microsoft/microsoft-graph-client": "3.0.7",
|
|
6
6
|
"@microsoft/microsoft-graph-types": "2.40.0",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"semver": "7.6.0",
|
|
16
16
|
"zod": "3.25.76",
|
|
17
17
|
"@activepieces/pieces-common": "0.7.0",
|
|
18
|
-
"@activepieces/pieces-framework": "0.18.
|
|
19
|
-
"@activepieces/shared": "0.
|
|
18
|
+
"@activepieces/pieces-framework": "0.18.5",
|
|
19
|
+
"@activepieces/shared": "0.20.0",
|
|
20
20
|
"tslib": "2.8.1"
|
|
21
21
|
},
|
|
22
22
|
"overrides": {
|
package/src/i18n/de.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Microsoft Outlook": "Microsoft Outlook",
|
|
3
|
-
"Send Email": "
|
|
4
|
-
"Download Attachment": "
|
|
5
|
-
"Reply to Email": "
|
|
6
|
-
"Custom API Call": "
|
|
7
|
-
"Sends an email using Microsoft Outlook.": "
|
|
8
|
-
"Download attachments from a specific email message.": "
|
|
9
|
-
"Reply to an outlook email.": "
|
|
10
|
-
"Make a custom API call to a specific endpoint": "
|
|
11
|
-
"To Email(s)": "
|
|
3
|
+
"Send Email": "E-Mail senden",
|
|
4
|
+
"Download Attachment": "Anhang herunterladen",
|
|
5
|
+
"Reply to Email": "Auf E-Mail antworten",
|
|
6
|
+
"Custom API Call": "Eigener API-Aufruf",
|
|
7
|
+
"Sends an email using Microsoft Outlook.": "Sendet eine E-Mail mit Microsoft Outlook.",
|
|
8
|
+
"Download attachments from a specific email message.": "Laden Sie Anhänge von einer bestimmten E-Mail herunter.",
|
|
9
|
+
"Reply to an outlook email.": "Auf eine Outlook-E-Mail antworten.",
|
|
10
|
+
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
|
11
|
+
"To Email(s)": "An E-Mail(s)",
|
|
12
12
|
"CC Email(s)": "CC Email(s)",
|
|
13
|
-
"BCC Email(s)": "BCC
|
|
14
|
-
"Subject": "
|
|
13
|
+
"BCC Email(s)": "BCC E-Mail(s)",
|
|
14
|
+
"Subject": "Betreff",
|
|
15
15
|
"Body Format": "Body Format",
|
|
16
|
-
"Body": "
|
|
17
|
-
"Attachments": "
|
|
18
|
-
"Message ID": "
|
|
19
|
-
"Reply Body": "
|
|
20
|
-
"CC Recipients": "CC
|
|
21
|
-
"BCC Recipients": "BCC
|
|
22
|
-
"Create Draft": "
|
|
23
|
-
"Method": "
|
|
24
|
-
"Headers": "
|
|
25
|
-
"Query Parameters": "
|
|
26
|
-
"Response is Binary ?": "
|
|
27
|
-
"No Error on Failure": "
|
|
28
|
-
"Timeout (in seconds)": "Timeout (in
|
|
29
|
-
"The ID of the email message containing the attachment.": "
|
|
30
|
-
"If enabled, creates draft without sending.": "
|
|
31
|
-
"Authorization headers are injected automatically from your connection.": "
|
|
32
|
-
"Enable for files like PDFs, images, etc..": "
|
|
16
|
+
"Body": "Körper",
|
|
17
|
+
"Attachments": "Anhänge",
|
|
18
|
+
"Message ID": "Nachrichten-ID",
|
|
19
|
+
"Reply Body": "Antwort-Körper",
|
|
20
|
+
"CC Recipients": "CC-Empfänger",
|
|
21
|
+
"BCC Recipients": "BCC-Empfänger",
|
|
22
|
+
"Create Draft": "Entwurf erstellen",
|
|
23
|
+
"Method": "Methode",
|
|
24
|
+
"Headers": "Kopfzeilen",
|
|
25
|
+
"Query Parameters": "Abfrageparameter",
|
|
26
|
+
"Response is Binary ?": "Antwort ist binär?",
|
|
27
|
+
"No Error on Failure": "Kein Fehler bei Fehler",
|
|
28
|
+
"Timeout (in seconds)": "Timeout (in Sekunden)",
|
|
29
|
+
"The ID of the email message containing the attachment.": "Die ID der E-Mail-Nachricht, die den Anhang enthält.",
|
|
30
|
+
"If enabled, creates draft without sending.": "Wenn aktiviert, erstellt Entwurf ohne zu senden.",
|
|
31
|
+
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
|
32
|
+
"Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
|
|
33
33
|
"HTML": "HTML",
|
|
34
34
|
"Text": "Text",
|
|
35
|
-
"GET": "
|
|
35
|
+
"GET": "ERHALTEN",
|
|
36
36
|
"POST": "POST",
|
|
37
37
|
"PATCH": "PATCH",
|
|
38
38
|
"PUT": "PUT",
|
|
39
|
-
"DELETE": "
|
|
39
|
+
"DELETE": "LÖSCHEN",
|
|
40
40
|
"HEAD": "HEAD",
|
|
41
|
-
"New Email": "
|
|
42
|
-
"Triggers when a new email is received in the inbox.": "
|
|
41
|
+
"New Email": "Neue E-Mail",
|
|
42
|
+
"Triggers when a new email is received in the inbox.": "Wird ausgelöst, wenn eine neue E-Mail im Posteingang empfangen wird."
|
|
43
43
|
}
|
package/src/i18n/es.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Microsoft Outlook": "Microsoft Outlook",
|
|
3
|
-
"Send Email": "
|
|
4
|
-
"Download Attachment": "
|
|
5
|
-
"Reply to Email": "
|
|
6
|
-
"Custom API Call": "
|
|
7
|
-
"Sends an email using Microsoft Outlook.": "
|
|
8
|
-
"Download attachments from a specific email message.": "
|
|
9
|
-
"Reply to an outlook email.": "
|
|
10
|
-
"Make a custom API call to a specific endpoint": "
|
|
11
|
-
"To Email(s)": "
|
|
3
|
+
"Send Email": "Enviar Email",
|
|
4
|
+
"Download Attachment": "Descargar adjunto",
|
|
5
|
+
"Reply to Email": "Responder al email",
|
|
6
|
+
"Custom API Call": "Llamada API personalizada",
|
|
7
|
+
"Sends an email using Microsoft Outlook.": "Envía un correo electrónico usando Microsoft Outlook.",
|
|
8
|
+
"Download attachments from a specific email message.": "Descargar archivos adjuntos de un mensaje de correo electrónico específico.",
|
|
9
|
+
"Reply to an outlook email.": "Responder a un correo electrónico de perspectiva.",
|
|
10
|
+
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
|
11
|
+
"To Email(s)": "A Email(s)",
|
|
12
12
|
"CC Email(s)": "CC Email(s)",
|
|
13
|
-
"BCC Email(s)": "BCC
|
|
14
|
-
"Subject": "
|
|
15
|
-
"Body Format": "
|
|
16
|
-
"Body": "
|
|
17
|
-
"Attachments": "
|
|
18
|
-
"Message ID": "
|
|
19
|
-
"Reply Body": "
|
|
20
|
-
"CC Recipients": "CC
|
|
21
|
-
"BCC Recipients": "BCC
|
|
22
|
-
"Create Draft": "
|
|
23
|
-
"Method": "
|
|
24
|
-
"Headers": "
|
|
25
|
-
"Query Parameters": "
|
|
26
|
-
"Response is Binary ?": "
|
|
27
|
-
"No Error on Failure": "No
|
|
28
|
-
"Timeout (in seconds)": "
|
|
29
|
-
"The ID of the email message containing the attachment.": "
|
|
30
|
-
"If enabled, creates draft without sending.": "
|
|
31
|
-
"Authorization headers are injected automatically from your connection.": "
|
|
32
|
-
"Enable for files like PDFs, images, etc..": "
|
|
13
|
+
"BCC Email(s)": "Correo electrónico BCC",
|
|
14
|
+
"Subject": "Asunto",
|
|
15
|
+
"Body Format": "Formato del cuerpo",
|
|
16
|
+
"Body": "Cuerpo",
|
|
17
|
+
"Attachments": "Adjuntos",
|
|
18
|
+
"Message ID": "ID del mensaje",
|
|
19
|
+
"Reply Body": "Responder cuerpo",
|
|
20
|
+
"CC Recipients": "Destinatarios CC",
|
|
21
|
+
"BCC Recipients": "Destinatarios BCC",
|
|
22
|
+
"Create Draft": "Crear borrador",
|
|
23
|
+
"Method": "Método",
|
|
24
|
+
"Headers": "Encabezados",
|
|
25
|
+
"Query Parameters": "Parámetros de consulta",
|
|
26
|
+
"Response is Binary ?": "¿Respuesta es binaria?",
|
|
27
|
+
"No Error on Failure": "No hay ningún error en fallo",
|
|
28
|
+
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
|
|
29
|
+
"The ID of the email message containing the attachment.": "El ID del mensaje de correo electrónico que contiene el adjunto.",
|
|
30
|
+
"If enabled, creates draft without sending.": "Si está activado, crea borrador sin enviar.",
|
|
31
|
+
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
|
32
|
+
"Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
|
|
33
33
|
"HTML": "HTML",
|
|
34
|
-
"Text": "
|
|
35
|
-
"GET": "
|
|
34
|
+
"Text": "Texto",
|
|
35
|
+
"GET": "RECOGER",
|
|
36
36
|
"POST": "POST",
|
|
37
37
|
"PATCH": "PATCH",
|
|
38
38
|
"PUT": "PUT",
|
|
39
|
-
"DELETE": "
|
|
40
|
-
"HEAD": "
|
|
41
|
-
"New Email": "
|
|
42
|
-
"Triggers when a new email is received in the inbox.": "
|
|
39
|
+
"DELETE": "BORRAR",
|
|
40
|
+
"HEAD": "LIMPIO",
|
|
41
|
+
"New Email": "Nuevo Email",
|
|
42
|
+
"Triggers when a new email is received in the inbox.": "Se activa cuando se recibe un nuevo correo electrónico en la bandeja de entrada."
|
|
43
43
|
}
|
package/src/i18n/ja.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Microsoft Outlook": "Microsoft Outlook",
|
|
3
|
-
"Send Email": "
|
|
4
|
-
"Download Attachment": "
|
|
5
|
-
"Reply to Email": "
|
|
6
|
-
"Custom API Call": "
|
|
7
|
-
"Sends an email using Microsoft Outlook.": "
|
|
8
|
-
"Download attachments from a specific email message.": "
|
|
9
|
-
"Reply to an outlook email.": "
|
|
10
|
-
"Make a custom API call to a specific endpoint": "
|
|
11
|
-
"To Email(s)": "
|
|
3
|
+
"Send Email": "メール送信",
|
|
4
|
+
"Download Attachment": "添付ファイルをダウンロード",
|
|
5
|
+
"Reply to Email": "メールに返信",
|
|
6
|
+
"Custom API Call": "カスタムAPI通話",
|
|
7
|
+
"Sends an email using Microsoft Outlook.": "Microsoft Outlookを使用して電子メールを送信します。",
|
|
8
|
+
"Download attachments from a specific email message.": "特定の電子メールメッセージから添付ファイルをダウンロードします。",
|
|
9
|
+
"Reply to an outlook email.": "Outlookのメールに返信します。",
|
|
10
|
+
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
|
11
|
+
"To Email(s)": "電子メールへ",
|
|
12
12
|
"CC Email(s)": "CC Email(s)",
|
|
13
|
-
"BCC Email(s)": "BCC
|
|
14
|
-
"Subject": "
|
|
15
|
-
"Body Format": "
|
|
16
|
-
"Body": "
|
|
17
|
-
"Attachments": "
|
|
18
|
-
"Message ID": "
|
|
19
|
-
"Reply Body": "
|
|
20
|
-
"CC Recipients": "CC
|
|
21
|
-
"BCC Recipients": "BCC
|
|
22
|
-
"Create Draft": "
|
|
23
|
-
"Method": "
|
|
24
|
-
"Headers": "
|
|
25
|
-
"Query Parameters": "
|
|
26
|
-
"Response is Binary ?": "
|
|
27
|
-
"No Error on Failure": "
|
|
28
|
-
"Timeout (in seconds)": "
|
|
29
|
-
"The ID of the email message containing the attachment.": "
|
|
30
|
-
"If enabled, creates draft without sending.": "
|
|
31
|
-
"Authorization headers are injected automatically from your connection.": "
|
|
32
|
-
"Enable for files like PDFs, images, etc..": "
|
|
13
|
+
"BCC Email(s)": "BCC メール",
|
|
14
|
+
"Subject": "件名",
|
|
15
|
+
"Body Format": "本文フォーマット",
|
|
16
|
+
"Body": "本文",
|
|
17
|
+
"Attachments": "添付ファイル",
|
|
18
|
+
"Message ID": "メッセージID",
|
|
19
|
+
"Reply Body": "本文に返信",
|
|
20
|
+
"CC Recipients": "CC受信者",
|
|
21
|
+
"BCC Recipients": "BCC受信者",
|
|
22
|
+
"Create Draft": "下書きを作成",
|
|
23
|
+
"Method": "方法",
|
|
24
|
+
"Headers": "ヘッダー",
|
|
25
|
+
"Query Parameters": "クエリパラメータ",
|
|
26
|
+
"Response is Binary ?": "応答はバイナリですか?",
|
|
27
|
+
"No Error on Failure": "失敗時にエラーはありません",
|
|
28
|
+
"Timeout (in seconds)": "タイムアウト(秒)",
|
|
29
|
+
"The ID of the email message containing the attachment.": "添付ファイルを含む電子メールメッセージの ID。",
|
|
30
|
+
"If enabled, creates draft without sending.": "有効にした場合、送信せずに下書きを作成します。",
|
|
31
|
+
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
|
32
|
+
"Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
|
|
33
33
|
"HTML": "HTML",
|
|
34
|
-
"Text": "
|
|
35
|
-
"GET": "
|
|
34
|
+
"Text": "テキスト",
|
|
35
|
+
"GET": "取得",
|
|
36
36
|
"POST": "POST",
|
|
37
37
|
"PATCH": "PATCH",
|
|
38
38
|
"PUT": "PUT",
|
|
39
|
-
"DELETE": "
|
|
40
|
-
"HEAD": "
|
|
41
|
-
"New Email": "
|
|
42
|
-
"Triggers when a new email is received in the inbox.": "
|
|
39
|
+
"DELETE": "削除",
|
|
40
|
+
"HEAD": "頭",
|
|
41
|
+
"New Email": "新しいメール",
|
|
42
|
+
"Triggers when a new email is received in the inbox.": "受信トレイに新しいメールを受信したときにトリガーします。"
|
|
43
43
|
}
|
package/src/i18n/nl.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Microsoft Outlook": "Microsoft Outlook",
|
|
3
|
-
"Send Email": "
|
|
4
|
-
"Download Attachment": "
|
|
5
|
-
"Reply to Email": "
|
|
3
|
+
"Send Email": "E-mail verzenden",
|
|
4
|
+
"Download Attachment": "Bijlage downloaden",
|
|
5
|
+
"Reply to Email": "Beantwoord e-mail",
|
|
6
6
|
"Custom API Call": "Custom API Call",
|
|
7
|
-
"Sends an email using Microsoft Outlook.": "
|
|
8
|
-
"Download attachments from a specific email message.": "
|
|
9
|
-
"Reply to an outlook email.": "
|
|
10
|
-
"Make a custom API call to a specific endpoint": "
|
|
11
|
-
"To Email(s)": "
|
|
7
|
+
"Sends an email using Microsoft Outlook.": "Stuurt een e-mail met Microsoft Outlook.",
|
|
8
|
+
"Download attachments from a specific email message.": "Bijlagen van een specifiek e-mailbericht downloaden.",
|
|
9
|
+
"Reply to an outlook email.": "Reageer op een e-mail met perspectief.",
|
|
10
|
+
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
|
11
|
+
"To Email(s)": "Naar E-mail(s)",
|
|
12
12
|
"CC Email(s)": "CC Email(s)",
|
|
13
|
-
"BCC Email(s)": "BCC
|
|
14
|
-
"Subject": "
|
|
15
|
-
"Body Format": "
|
|
16
|
-
"Body": "
|
|
17
|
-
"Attachments": "
|
|
18
|
-
"Message ID": "
|
|
19
|
-
"Reply Body": "
|
|
20
|
-
"CC Recipients": "CC
|
|
21
|
-
"BCC Recipients": "BCC
|
|
22
|
-
"Create Draft": "
|
|
23
|
-
"Method": "
|
|
24
|
-
"Headers": "
|
|
25
|
-
"Query Parameters": "Query
|
|
26
|
-
"Response is Binary ?": "
|
|
27
|
-
"No Error on Failure": "
|
|
28
|
-
"Timeout (in seconds)": "
|
|
29
|
-
"The ID of the email message containing the attachment.": "
|
|
30
|
-
"If enabled, creates draft without sending.": "
|
|
31
|
-
"Authorization headers are injected automatically from your connection.": "
|
|
32
|
-
"Enable for files like PDFs, images, etc..": "
|
|
13
|
+
"BCC Email(s)": "BCC e-mail(s)",
|
|
14
|
+
"Subject": "Onderwerp",
|
|
15
|
+
"Body Format": "Lichaam formaat",
|
|
16
|
+
"Body": "Lichaam",
|
|
17
|
+
"Attachments": "Bijlagen",
|
|
18
|
+
"Message ID": "Bericht ID",
|
|
19
|
+
"Reply Body": "Antwoord inhoud",
|
|
20
|
+
"CC Recipients": "CC Ontvangers",
|
|
21
|
+
"BCC Recipients": "BCC Ontvangers",
|
|
22
|
+
"Create Draft": "Concept maken",
|
|
23
|
+
"Method": "Methode",
|
|
24
|
+
"Headers": "Kopteksten",
|
|
25
|
+
"Query Parameters": "Query parameters",
|
|
26
|
+
"Response is Binary ?": "Antwoord is binair?",
|
|
27
|
+
"No Error on Failure": "Geen fout bij fout",
|
|
28
|
+
"Timeout (in seconds)": "Time-out (in seconden)",
|
|
29
|
+
"The ID of the email message containing the attachment.": "Het ID van het e-mailbericht met de bijlage.",
|
|
30
|
+
"If enabled, creates draft without sending.": "Indien ingeschakeld, wordt concept aangemaakt zonder verzending.",
|
|
31
|
+
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
|
32
|
+
"Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
|
|
33
33
|
"HTML": "HTML",
|
|
34
|
-
"Text": "
|
|
35
|
-
"GET": "
|
|
36
|
-
"POST": "
|
|
37
|
-
"PATCH": "
|
|
34
|
+
"Text": "Tekstveld",
|
|
35
|
+
"GET": "KRIJG",
|
|
36
|
+
"POST": "POSTE",
|
|
37
|
+
"PATCH": "BEKIJK",
|
|
38
38
|
"PUT": "PUT",
|
|
39
|
-
"DELETE": "
|
|
40
|
-
"HEAD": "
|
|
41
|
-
"New Email": "
|
|
42
|
-
"Triggers when a new email is received in the inbox.": "
|
|
39
|
+
"DELETE": "VERWIJDEREN",
|
|
40
|
+
"HEAD": "HOOFD",
|
|
41
|
+
"New Email": "Nieuw e-mailadres",
|
|
42
|
+
"Triggers when a new email is received in the inbox.": "Triggert wanneer een nieuwe e-mail wordt ontvangen in de inbox."
|
|
43
43
|
}
|
package/src/i18n/pt.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Microsoft Outlook": "Microsoft Outlook",
|
|
3
|
-
"Send Email": "
|
|
4
|
-
"Download Attachment": "
|
|
5
|
-
"Reply to Email": "
|
|
6
|
-
"Custom API Call": "
|
|
7
|
-
"Sends an email using Microsoft Outlook.": "
|
|
8
|
-
"Download attachments from a specific email message.": "Download
|
|
9
|
-
"Reply to an outlook email.": "
|
|
10
|
-
"Make a custom API call to a specific endpoint": "
|
|
11
|
-
"To Email(s)": "
|
|
3
|
+
"Send Email": "Enviar e-mail",
|
|
4
|
+
"Download Attachment": "Baixar anexo",
|
|
5
|
+
"Reply to Email": "Responder para o E-mail",
|
|
6
|
+
"Custom API Call": "Chamada de API personalizada",
|
|
7
|
+
"Sends an email using Microsoft Outlook.": "Envia um email usando o Microsoft Outlook.",
|
|
8
|
+
"Download attachments from a specific email message.": "Download de anexos de uma mensagem de e-mail específica.",
|
|
9
|
+
"Reply to an outlook email.": "Responde a um e-mail de antecipação.",
|
|
10
|
+
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
|
11
|
+
"To Email(s)": "Para e-mail(s)",
|
|
12
12
|
"CC Email(s)": "CC Email(s)",
|
|
13
|
-
"BCC Email(s)": "
|
|
14
|
-
"Subject": "
|
|
15
|
-
"Body Format": "
|
|
16
|
-
"Body": "
|
|
17
|
-
"Attachments": "
|
|
18
|
-
"Message ID": "
|
|
19
|
-
"Reply Body": "
|
|
20
|
-
"CC Recipients": "CC
|
|
21
|
-
"BCC Recipients": "BCC
|
|
22
|
-
"Create Draft": "
|
|
23
|
-
"Method": "
|
|
24
|
-
"Headers": "
|
|
25
|
-
"Query Parameters": "
|
|
26
|
-
"Response is Binary ?": "
|
|
27
|
-
"No Error on Failure": "
|
|
28
|
-
"Timeout (in seconds)": "
|
|
29
|
-
"The ID of the email message containing the attachment.": "
|
|
30
|
-
"If enabled, creates draft without sending.": "
|
|
31
|
-
"Authorization headers are injected automatically from your connection.": "
|
|
32
|
-
"Enable for files like PDFs, images, etc..": "
|
|
13
|
+
"BCC Email(s)": "E-mail(s) BCC",
|
|
14
|
+
"Subject": "Cargo",
|
|
15
|
+
"Body Format": "Formato do Corpo",
|
|
16
|
+
"Body": "Conteúdo",
|
|
17
|
+
"Attachments": "Anexos",
|
|
18
|
+
"Message ID": "ID da mensagem",
|
|
19
|
+
"Reply Body": "Corpo da Resposta",
|
|
20
|
+
"CC Recipients": "Destinatários CC",
|
|
21
|
+
"BCC Recipients": "Destinatários do BCC",
|
|
22
|
+
"Create Draft": "Criar rascunho",
|
|
23
|
+
"Method": "Método",
|
|
24
|
+
"Headers": "Cabeçalhos",
|
|
25
|
+
"Query Parameters": "Parâmetros da consulta",
|
|
26
|
+
"Response is Binary ?": "A resposta é binária ?",
|
|
27
|
+
"No Error on Failure": "Nenhum erro no Failure",
|
|
28
|
+
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
|
29
|
+
"The ID of the email message containing the attachment.": "A identificação da mensagem de e-mail que contém o anexo.",
|
|
30
|
+
"If enabled, creates draft without sending.": "Se ativado, cria rascunho sem enviar.",
|
|
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.",
|
|
32
|
+
"Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
|
|
33
33
|
"HTML": "HTML",
|
|
34
|
-
"Text": "
|
|
35
|
-
"GET": "
|
|
36
|
-
"POST": "
|
|
37
|
-
"PATCH": "
|
|
38
|
-
"PUT": "
|
|
39
|
-
"DELETE": "
|
|
40
|
-
"HEAD": "
|
|
41
|
-
"New Email": "
|
|
42
|
-
"Triggers when a new email is received in the inbox.": "
|
|
34
|
+
"Text": "texto",
|
|
35
|
+
"GET": "OBTER",
|
|
36
|
+
"POST": "POSTAR",
|
|
37
|
+
"PATCH": "COMPRAR",
|
|
38
|
+
"PUT": "COLOCAR",
|
|
39
|
+
"DELETE": "EXCLUIR",
|
|
40
|
+
"HEAD": "CABEÇA",
|
|
41
|
+
"New Email": "Novo E-mail",
|
|
42
|
+
"Triggers when a new email is received in the inbox.": "Aciona quando um novo e-mail é recebido na caixa de entrada."
|
|
43
43
|
}
|
package/src/i18n/zh.json
CHANGED
|
@@ -3,41 +3,41 @@
|
|
|
3
3
|
"Send Email": "Send Email",
|
|
4
4
|
"Download Attachment": "Download Attachment",
|
|
5
5
|
"Reply to Email": "Reply to Email",
|
|
6
|
-
"Custom API Call": "
|
|
6
|
+
"Custom API Call": "自定义 API 呼叫",
|
|
7
7
|
"Sends an email using Microsoft Outlook.": "Sends an email using Microsoft Outlook.",
|
|
8
8
|
"Download attachments from a specific email message.": "Download attachments from a specific email message.",
|
|
9
9
|
"Reply to an outlook email.": "Reply to an outlook email.",
|
|
10
|
-
"Make a custom API call to a specific endpoint": "
|
|
10
|
+
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
|
11
11
|
"To Email(s)": "To Email(s)",
|
|
12
12
|
"CC Email(s)": "CC Email(s)",
|
|
13
13
|
"BCC Email(s)": "BCC Email(s)",
|
|
14
14
|
"Subject": "Subject",
|
|
15
15
|
"Body Format": "Body Format",
|
|
16
|
-
"Body": "
|
|
16
|
+
"Body": "正文内容",
|
|
17
17
|
"Attachments": "Attachments",
|
|
18
18
|
"Message ID": "Message ID",
|
|
19
19
|
"Reply Body": "Reply Body",
|
|
20
20
|
"CC Recipients": "CC Recipients",
|
|
21
21
|
"BCC Recipients": "BCC Recipients",
|
|
22
22
|
"Create Draft": "Create Draft",
|
|
23
|
-
"Method": "
|
|
24
|
-
"Headers": "
|
|
25
|
-
"Query Parameters": "
|
|
23
|
+
"Method": "方法",
|
|
24
|
+
"Headers": "信头",
|
|
25
|
+
"Query Parameters": "查询参数",
|
|
26
26
|
"Response is Binary ?": "Response is Binary ?",
|
|
27
|
-
"No Error on Failure": "
|
|
28
|
-
"Timeout (in seconds)": "
|
|
27
|
+
"No Error on Failure": "失败时没有错误",
|
|
28
|
+
"Timeout (in seconds)": "超时(秒)",
|
|
29
29
|
"The ID of the email message containing the attachment.": "The ID of the email message containing the attachment.",
|
|
30
30
|
"If enabled, creates draft without sending.": "If enabled, creates draft without sending.",
|
|
31
|
-
"Authorization headers are injected automatically from your connection.": "
|
|
31
|
+
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
|
32
32
|
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
|
33
33
|
"HTML": "HTML",
|
|
34
|
-
"Text": "
|
|
35
|
-
"GET": "
|
|
36
|
-
"POST": "
|
|
34
|
+
"Text": "文本",
|
|
35
|
+
"GET": "获取",
|
|
36
|
+
"POST": "帖子",
|
|
37
37
|
"PATCH": "PATCH",
|
|
38
|
-
"PUT": "
|
|
39
|
-
"DELETE": "
|
|
40
|
-
"HEAD": "
|
|
38
|
+
"PUT": "弹出",
|
|
39
|
+
"DELETE": "删除",
|
|
40
|
+
"HEAD": "黑色",
|
|
41
41
|
"New Email": "New Email",
|
|
42
42
|
"Triggers when a new email is received in the inbox.": "Triggers when a new email is received in the inbox."
|
|
43
43
|
}
|
package/src/lib/common/auth.js
CHANGED
|
@@ -4,7 +4,36 @@ exports.microsoftOutlookAuth = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
6
|
const microsoft_graph_client_1 = require("@microsoft/microsoft-graph-client");
|
|
7
|
+
const authDesc = `
|
|
8
|
+
1. Sign in to [Microsoft Azure Portal](https://portal.azure.com/).
|
|
9
|
+
2. From the left sidebar, go to **Microsoft Enfra ID**.
|
|
10
|
+
3. Under **Manage**, click on **App registrations**.
|
|
11
|
+
4. Click the **New registration** button.
|
|
12
|
+
5. Enter a **Name** for your app.
|
|
13
|
+
6. For **Supported account types**, choose:
|
|
14
|
+
- **Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts**
|
|
15
|
+
- Or select based on your requirement.
|
|
16
|
+
7. In **Redirect URI**, select **Web** and add the given URL.
|
|
17
|
+
8. Click **Register**.
|
|
18
|
+
9. After registration, you’ll be redirected to the app’s overview page. Copy the **Application (client) ID**.
|
|
19
|
+
10. From the left menu, go to **Certificates & secrets**.
|
|
20
|
+
- Under **Client secrets**, click **New client secret**.
|
|
21
|
+
- Provide a description, set an expiry, and click **Add**.
|
|
22
|
+
- Copy the **Value** of the client secret (this will not be shown again).
|
|
23
|
+
11. Go to **API permissions** from the left menu.
|
|
24
|
+
- Click **Add a permission**.
|
|
25
|
+
- Select **Microsoft Graph** → **Delegated permissions**.
|
|
26
|
+
- Add the following scopes:
|
|
27
|
+
- Mail.ReadWrite
|
|
28
|
+
- Mail.Send
|
|
29
|
+
- Calendars.Read
|
|
30
|
+
- offline_access
|
|
31
|
+
- User.Read
|
|
32
|
+
- Click **Add permissions**.
|
|
33
|
+
12. Copy your **Client ID** and **Client Secret**.
|
|
34
|
+
`;
|
|
7
35
|
exports.microsoftOutlookAuth = pieces_framework_1.PieceAuth.OAuth2({
|
|
36
|
+
description: authDesc,
|
|
8
37
|
authUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',
|
|
9
38
|
tokenUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',
|
|
10
39
|
required: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/microsoft-outlook/src/lib/common/auth.ts"],"names":[],"mappings":";;;;AAAA,qEAAgF;AAChF,8EAA2D;
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/microsoft-outlook/src/lib/common/auth.ts"],"names":[],"mappings":";;;;AAAA,qEAAgF;AAChF,8EAA2D;AAE3D,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BhB,CAAA;AAEY,QAAA,oBAAoB,GAAG,4BAAS,CAAC,MAAM,CAAC;IACpD,WAAW,EAAC,QAAQ;IACpB,OAAO,EAAE,gEAAgE;IACzE,QAAQ,EAAE,4DAA4D;IACtE,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,CAAC,gBAAgB,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,WAAW,CAAC;IACvF,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;QACxB,IAAI,CAAC;YACJ,MAAM,SAAS,GAAG,IAA2B,CAAC;YAC9C,MAAM,MAAM,GAAG,+BAAM,CAAC,kBAAkB,CAAC;gBACxC,YAAY,EAAE;oBACb,cAAc,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,YAAY,CAAC;iBAC7D;aACD,CAAC,CAAC;YACH,MAAM,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,CAAC;YAC9B,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QACxB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,sBAAsB,EAAE,CAAC;QACxD,CAAC;IACF,CAAC,CAAA;CACD,CAAC,CAAC"}
|