@activepieces/piece-microsoft-outlook 0.4.0 → 0.5.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 +2 -4
- package/src/i18n/translation.json +10 -1
- package/src/index.js +7 -8
package/package.json
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-microsoft-outlook",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
|
-
"dependencies": {
|
|
6
|
-
"@microsoft/microsoft-graph-types": "2.40.0"
|
|
7
|
-
},
|
|
5
|
+
"dependencies": {},
|
|
8
6
|
"files": [
|
|
9
7
|
"src/index.js",
|
|
10
8
|
"package.json",
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Cloud Environment": "Cloud Environment",
|
|
3
|
+
"Access Mode": "Access Mode",
|
|
4
|
+
"Tenant ID": "Tenant ID",
|
|
5
|
+
"Mailbox (App-only)": "Mailbox (App-only)",
|
|
3
6
|
"Select your Microsoft cloud environment.": "Select your Microsoft cloud environment.",
|
|
7
|
+
"Pick the option matching your Grant Type. Use a Delegated option with the Authorization Code grant (acts as the signed-in user). Use an App-only option with the Client Credentials grant (acts as the application — also set Tenant ID and Mailbox), choosing the one that matches your Cloud Environment.": "Pick the option matching your Grant Type. Use a Delegated option with the Authorization Code grant (acts as the signed-in user). Use an App-only option with the Client Credentials grant (acts as the application — also set Tenant ID and Mailbox), choosing the one that matches your Cloud Environment.",
|
|
8
|
+
"Use \"common\" for the default delegated multi-tenant flow. For app-only (Client Credentials), set this to your Directory (tenant) ID.": "Use \"common\" for the default delegated multi-tenant flow. For app-only (Client Credentials), set this to your Directory (tenant) ID.",
|
|
9
|
+
"Email/UPN or user object ID of the mailbox to act on. Required for app-only (Client Credentials). Leave blank for delegated access (acts as the signed-in user).": "Email/UPN or user object ID of the mailbox to act on. Required for app-only (Client Credentials). Leave blank for delegated access (acts as the signed-in user).",
|
|
4
10
|
"Commercial (Global)": "Commercial (Global)",
|
|
5
11
|
"US Government (GCC High)": "US Government (GCC High)",
|
|
6
|
-
"
|
|
12
|
+
"Delegated — Commercial (Global)": "Delegated — Commercial (Global)",
|
|
13
|
+
"App-only — Commercial (Global)": "App-only — Commercial (Global)",
|
|
14
|
+
"App-only — US Government (GCC High)": "App-only — US Government (GCC High)",
|
|
15
|
+
"\nThis connection supports two access modes. Pick the matching **Grant Type** and **Access Mode** below.\n\n**Delegated (Authorization Code)** — acts as the signed-in user. Keep **Access Mode** on the Delegated option, leave **Mailbox** blank, and keep **Tenant ID** as `common`. If you use your own Azure app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application), set the **Redirect URI** to {{redirectUrl}} and add these ": "\nThis connection supports two access modes. Pick the matching **Grant Type** and **Access Mode** below.\n\n**Delegated (Authorization Code)** — acts as the signed-in user. Keep **Access Mode** on the Delegated option, leave **Mailbox** blank, and keep **Tenant ID** as `common`. If you use your own Azure app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application), set the **Redirect URI** to {{redirectUrl}} and add these **Microsoft Graph (Delegated) permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n\n**App-only (Client Credentials)** — acts as the application, with no signed-in user. Choose the **Server-to-Server (Client Credentials)** authentication method when creating the connection. Then set **Access Mode** to the App-only option for your cloud, set **Tenant ID** to your Directory (tenant) ID, and set **Mailbox** to the target user's email/UPN or object ID. You must register your own Azure app (the shared app cannot grant app-only access to your tenant). Add these **Microsoft Graph (Application) permissions** and **grant admin consent**:\n - Mail.ReadWrite\n - Mail.Send\n\nFor app-only, Microsoft grants tenant-wide mailbox access by default — scope it to specific mailboxes with an [ApplicationAccessPolicy](https://learn.microsoft.com/en-us/graph/auth-limit-mailbox-access).\n",
|
|
7
16
|
"Send Email": "Send Email",
|
|
8
17
|
"Download Attachment": "Download Attachment",
|
|
9
18
|
"Reply to Email": "Reply to Email",
|