@activepieces/piece-microsoft-outlook 0.3.0 → 0.3.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/piece-microsoft-outlook",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "main": "./src/index.js",
5
5
  "types": "./src/index.d.ts",
6
6
  "dependencies": {
@@ -11,8 +11,8 @@
11
11
  "@babel/runtime": "7.26.10",
12
12
  "regenerator-runtime": "0.14.1",
13
13
  "@activepieces/pieces-common": "0.12.1",
14
- "@activepieces/pieces-framework": "0.26.2",
15
- "@activepieces/shared": "0.54.4"
14
+ "@activepieces/pieces-framework": "0.27.2",
15
+ "@activepieces/shared": "0.60.0"
16
16
  },
17
17
  "scripts": {
18
18
  "build": "tsc -p tsconfig.lib.json && cp package.json dist/",
package/src/i18n/de.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
+ "Cloud Environment": "Cloud-Umgebung",
3
+ "Select your Microsoft cloud environment.": "Wählen Sie Ihre Microsoft-Cloud-Umgebung.",
4
+ "Commercial (Global)": "Kommerzielle (Global)",
5
+ "US Government (GCC High)": "US-Regierung (GCC High)",
2
6
  "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n": "\nWenn du deine eigene eigene Azure App anstelle der Standard Activepieces App verwenden möchtest, folge der [Azure App Erstellungsanleitung](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n setzte die **Umleitungs-URI** auf {{redirectUrl}} und füge folgende **Microsoft Graph (Delegiert) Berechtigungen** unter **API Berechtigungen**:\n - Benutzer hinzu. ead\n - Mail.ReadSchreiben\n - Mail.Senden Sie\n - Kalender.Lesen Sie\n - offline_access\n",
3
7
  "Send Email": "E-Mail senden",
4
8
  "Download Attachment": "Anhang herunterladen",
package/src/i18n/es.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
+ "Cloud Environment": "Entorno en la nube",
3
+ "Select your Microsoft cloud environment.": "Seleccione su entorno de nube de Microsoft.",
4
+ "Commercial (Global)": "Comercial (Global)",
5
+ "US Government (GCC High)": "Gobierno de EEUU (GCC Alto)",
2
6
  "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n": "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n",
3
7
  "Send Email": "Enviar Email",
4
8
  "Download Attachment": "Descargar adjunto",
package/src/i18n/fr.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
+ "Cloud Environment": "Environnement Cloud",
3
+ "Select your Microsoft cloud environment.": "Sélectionnez votre environnement de cloud Microsoft.",
4
+ "Commercial (Global)": "Commerce (Mondial)",
5
+ "US Government (GCC High)": "Gouvernement américain (GCC High)",
2
6
  "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n": "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n",
3
7
  "Send Email": "Envoyer un e-mail",
4
8
  "Download Attachment": "Télécharger la pièce jointe",
package/src/i18n/ja.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
+ "Cloud Environment": "クラウド環境",
3
+ "Select your Microsoft cloud environment.": "Microsoft クラウド環境を選択します。",
4
+ "Commercial (Global)": "取引(世界)",
5
+ "US Government (GCC High)": "米国政府(GCCハイ)",
2
6
  "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n": "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n",
3
7
  "Send Email": "メール送信",
4
8
  "Download Attachment": "添付ファイルをダウンロード",
package/src/i18n/nl.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
+ "Cloud Environment": "Cloud Omgeving",
3
+ "Select your Microsoft cloud environment.": "Selecteer je Microsoft cloud omgeving.",
4
+ "Commercial (Global)": "Commerciële (globaal)",
5
+ "US Government (GCC High)": "Amerikaanse regering (GCC High)",
2
6
  "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n": "\nAls u uw eigen aangepaste Azure app wilt gebruiken in plaats van de standaard Activepieces app, Volg de [Azure app creatie handleiding] (https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n zet de **Redirect URI** naar {{redirectUrl}} en voeg de volgende **Microsoft Graph (Delegated) permissies** toe onder **API permissies**:\n - gebruiker. ead\n - Mail.ReadWrite\n - Mail.Send\n - Kalendars.Lees\n - offline_access\n",
3
7
  "Send Email": "E-mail verzenden",
4
8
  "Download Attachment": "Bijlage downloaden",
package/src/i18n/pt.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
+ "Cloud Environment": "Ambiente de Nuvem",
3
+ "Select your Microsoft cloud environment.": "Selecione seu ambiente de nuvem da Microsoft.",
4
+ "Commercial (Global)": "Comercial (Global)",
5
+ "US Government (GCC High)": "Governo dos EUA (GCC High)",
2
6
  "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n": "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n",
3
7
  "Send Email": "Enviar e-mail",
4
8
  "Download Attachment": "Baixar anexo",
@@ -1,4 +1,8 @@
1
1
  {
2
+ "Cloud Environment": "Cloud Environment",
3
+ "Select your Microsoft cloud environment.": "Select your Microsoft cloud environment.",
4
+ "Commercial (Global)": "Commercial (Global)",
5
+ "US Government (GCC High)": "US Government (GCC High)",
2
6
  "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n": "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n",
3
7
  "Send Email": "Send Email",
4
8
  "Download Attachment": "Download Attachment",
package/src/i18n/zh.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
+ "Cloud Environment": "Cloud Environment",
3
+ "Select your Microsoft cloud environment.": "Select your Microsoft cloud environment.",
4
+ "Commercial (Global)": "Commercial (Global)",
5
+ "US Government (GCC High)": "US Government (GCC High)",
2
6
  "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n": "\nIf you’d like to use your own custom Azure app instead of the default Activepieces app, follow the [Azure app creation guide](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app#register-an-application),\n set the **Redirect URI** to {{redirectUrl}} and add the following **Microsoft Graph (Delegated) permissions** under **API permissions**:\n - User.Read\n - Mail.ReadWrite\n - Mail.Send\n - Calendars.Read\n - offline_access\n",
3
7
  "Send Email": "Send Email",
4
8
  "Download Attachment": "Download Attachment",
package/src/index.js CHANGED
@@ -24,7 +24,7 @@ const request_approval_send_email_1 = require("./lib/actions/request-approval-se
24
24
  exports.microsoftOutlook = (0, pieces_framework_1.createPiece)({
25
25
  displayName: 'Microsoft Outlook',
26
26
  auth: auth_1.microsoftOutlookAuth,
27
- minimumSupportedRelease: '0.36.1',
27
+ minimumSupportedRelease: '0.82.0',
28
28
  logoUrl: 'https://cdn.activepieces.com/pieces/microsoft-outlook.jpg',
29
29
  categories: [shared_1.PieceCategory.PRODUCTIVITY],
30
30
  authors: ['lucaslimasouza', 'kishanprmr', 'sanket-a11y'],
@@ -1 +1 @@
1
- {"version":3,"file":"request-approval-send-email.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/request-approval-send-email.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,qBAAqB;;;;EA6GhC,CAAC"}
1
+ {"version":3,"file":"request-approval-send-email.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/request-approval-send-email.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,qBAAqB;;;;EA2GhC,CAAC"}
@@ -41,10 +41,13 @@ exports.requestApprovalInMail = (0, pieces_framework_1.createAction)({
41
41
  (0, shared_1.assertNotNullOrUndefined)(recipients, 'recipients');
42
42
  (0, shared_1.assertNotNullOrUndefined)(subject, 'subject');
43
43
  (0, shared_1.assertNotNullOrUndefined)(body, 'body');
44
- const approvalLink = context.generateResumeUrl({
44
+ const waitpoint = yield context.run.createWaitpoint({
45
+ type: 'WEBHOOK',
46
+ });
47
+ const approvalLink = waitpoint.buildResumeUrl({
45
48
  queryParams: { action: 'approve' },
46
49
  });
47
- const disapprovalLink = context.generateResumeUrl({
50
+ const disapprovalLink = waitpoint.buildResumeUrl({
48
51
  queryParams: { action: 'disapprove' },
49
52
  });
50
53
  const htmlBody = `
@@ -82,12 +85,7 @@ exports.requestApprovalInMail = (0, pieces_framework_1.createAction)({
82
85
  message: mailPayload,
83
86
  saveToSentItems: true,
84
87
  });
85
- context.run.pause({
86
- pauseMetadata: {
87
- type: shared_1.PauseType.WEBHOOK,
88
- response: {},
89
- },
90
- });
88
+ context.run.waitForWaitpoint(waitpoint.id);
91
89
  return {
92
90
  approved: false, // default approval is false
93
91
  };
@@ -1 +1 @@
1
- {"version":3,"file":"request-approval-send-email.js","sourceRoot":"","sources":["../../../../src/lib/actions/request-approval-send-email.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAA4D;AAC5D,8EAA2D;AAE3D,iDAI8B;AAC9B,yCAAsD;AAEzC,QAAA,qBAAqB,GAAG,IAAA,+BAAY,EAAC;IAChD,IAAI,EAAE,2BAAoB;IAC1B,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,2BAA2B;IACxC,WAAW,EACT,sFAAsF;IACxF,KAAK,EAAE;QACL,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,kBAAkB;YAC/B,WAAW,EACT,2EAA2E;YAC7E,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,OAAO,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC1B,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,4CAA4C;YACzD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,IAAI,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACtB,WAAW,EAAE,MAAM;YACnB,WAAW,EACT,0HAA0H;YAC5H,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACK,GAAG,CAAC,OAAO;;;YACf,IAAI,OAAO,CAAC,aAAa,KAAK,sBAAa,CAAC,KAAK,EAAE,CAAC;gBAClD,IAAI,CAAC;oBACH,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC;oBAExC,MAAM,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;oBAEF,MAAM,UAAU,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC;wBACvD,OAAO,EAAE,WAAW;wBACpB,eAAe,EAAE,IAAI;qBACtB,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC;wBAChB,aAAa,EAAE;4BACb,IAAI,EAAE,kBAAS,CAAC,OAAO;4BACvB,QAAQ,EAAE,EAAE;yBACb;qBACF,CAAC,CAAC;oBAEH,OAAO;wBACL,QAAQ,EAAE,KAAK,EAAE,4BAA4B;qBAC9C,CAAC;gBACJ,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACf,OAAO,CAAC,KAAK,CACX,sDAAsD,EACtD,KAAK,CACN,CAAC;oBACF,MAAM,KAAK,CAAC;gBACd,CAAC;YACH,CAAC;iBAAM,CAAC;gBACN,MAAM,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;gBAC3D,MAAM,QAAQ,GAAG,MAAM,KAAK,SAAS,CAAC;gBAEtC,OAAO;oBACL,QAAQ;iBACT,CAAC;YACJ,CAAC;QACH,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"request-approval-send-email.js","sourceRoot":"","sources":["../../../../src/lib/actions/request-approval-send-email.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAA4D;AAC5D,8EAA2D;AAE3D,iDAG8B;AAC9B,yCAAsD;AAEzC,QAAA,qBAAqB,GAAG,IAAA,+BAAY,EAAC;IAChD,IAAI,EAAE,2BAAoB;IAC1B,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,2BAA2B;IACxC,WAAW,EACT,sFAAsF;IACxF,KAAK,EAAE;QACL,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,kBAAkB;YAC/B,WAAW,EACT,2EAA2E;YAC7E,QAAQ,EAAE,IAAI;SACf,CAAC;Q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