@pipedream/microsoft_outlook 0.0.4 → 0.0.5

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.
@@ -3,7 +3,7 @@ import microsoftOutlook from "../../microsoft_outlook.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "microsoft_outlook-create-calendar-event",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
7
  name: "Create Calendar Event",
8
8
  description: "Create an event in the user's default calendar, [See the docs](https://docs.microsoft.com/en-us/graph/api/user-post-events)",
9
9
  props: {
@@ -3,7 +3,7 @@ import microsoftOutlook from "../../microsoft_outlook.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "microsoft_outlook-create-contact",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
7
  name: "Create Contact",
8
8
  description: "Add a contact to the root Contacts folder, [See the docs](https://docs.microsoft.com/en-us/graph/api/user-post-contacts)",
9
9
  props: {
@@ -3,7 +3,7 @@ import microsoftOutlook from "../../microsoft_outlook.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "microsoft_outlook-create-draft-email",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
7
  name: "Create Draft Email",
8
8
  description: "Create a draft email, [See the docs](https://docs.microsoft.com/en-us/graph/api/user-post-messages)",
9
9
  props: {
@@ -20,6 +20,12 @@ export default {
20
20
  "subject",
21
21
  ],
22
22
  },
23
+ contentType: {
24
+ propDefinition: [
25
+ microsoftOutlook,
26
+ "contentType",
27
+ ],
28
+ },
23
29
  content: {
24
30
  propDefinition: [
25
31
  microsoftOutlook,
@@ -3,7 +3,7 @@ import microsoftOutlook from "../../microsoft_outlook.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "microsoft_outlook-find-contacts",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
7
  name: "Find Contacts",
8
8
  description: "Finds contacts with given search string",
9
9
  props: {
@@ -3,7 +3,7 @@ import microsoftOutlook from "../../microsoft_outlook.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "microsoft_outlook-list-contacts",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
7
  name: "List Contacts",
8
8
  description: "Get a contact collection from the default contacts folder, [See the docs](https://docs.microsoft.com/en-us/graph/api/user-list-contacts)",
9
9
  props: {
@@ -3,7 +3,7 @@ import microsoftOutlook from "../../microsoft_outlook.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "microsoft_outlook-send-email",
6
- version: "0.0.2",
6
+ version: "0.0.3",
7
7
  name: "Send Email",
8
8
  description: "Send an email to one or multiple recipients, [See the docs](https://docs.microsoft.com/en-us/graph/api/user-sendmail)",
9
9
  props: {
@@ -3,7 +3,7 @@ import microsoftOutlook from "../../microsoft_outlook.app.mjs";
3
3
  export default {
4
4
  type: "action",
5
5
  key: "microsoft_outlook-update-contact",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
7
  name: "Update Contact",
8
8
  description: "Add a contact to the root Contacts folder, [See the docs](https://docs.microsoft.com/en-us/graph/api/user-post-contacts)",
9
9
  props: {
@@ -20,13 +20,15 @@ export default {
20
20
  },
21
21
  contentType: {
22
22
  label: "Content Type",
23
- description: "Content type (default `HTML`)",
23
+ description: "Content type (default `text`)",
24
24
  type: "string",
25
25
  optional: true,
26
+ options: ["text", "html"],
27
+ default: "text",
26
28
  },
27
29
  content: {
28
30
  label: "Content",
29
- description: "Content of the email in text format",
31
+ description: "Content of the email in text or html format",
30
32
  type: "string",
31
33
  optional: true,
32
34
  },
@@ -196,7 +198,7 @@ export default {
196
198
  subject: self.subject,
197
199
  body: {
198
200
  content: self.content,
199
- contentType: self.contentType ?? "HTML",
201
+ contentType: self.contentType,
200
202
  },
201
203
  toRecipients,
202
204
  attachments,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/microsoft_outlook",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Pipedream Microsoft Outlook Components",
5
5
  "main": "microsoft_outlook.app.mjs",
6
6
  "keywords": [
@@ -5,7 +5,7 @@ export default {
5
5
  key: "microsoft_outlook-new-calendar-event",
6
6
  name: "New Calendar Event (Instant)",
7
7
  description: "Emit new event when a new Calendar event is created",
8
- version: "0.0.2",
8
+ version: "0.0.3",
9
9
  type: "source",
10
10
  hooks: {
11
11
  ...common.hooks,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "microsoft_outlook-new-contact",
6
6
  name: "New Contact Event (Instant)",
7
7
  description: "Emit new event when a new Contact is created",
8
- version: "0.0.2",
8
+ version: "0.0.3",
9
9
  type: "source",
10
10
  hooks: {
11
11
  ...common.hooks,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "microsoft_outlook-new-email",
6
6
  name: "New Email Event (Instant)",
7
7
  description: "Emit new event when an email received",
8
- version: "0.0.2",
8
+ version: "0.0.3",
9
9
  type: "source",
10
10
  hooks: {
11
11
  ...common.hooks,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "microsoft_outlook-updated-calendar-event",
6
6
  name: "New Calendar Event Update (Instant)",
7
7
  description: "Emit new event when a Calendar event is updated",
8
- version: "0.0.2",
8
+ version: "0.0.3",
9
9
  type: "source",
10
10
  hooks: {
11
11
  ...common.hooks,