@pipedream/microsoft_outlook_calendar 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,14 +4,14 @@ export default {
4
4
  key: "microsoft_outlook_calendar-get-schedule",
5
5
  name: "Get Free/Busy Schedule",
6
6
  description: "Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. [See the documentation](https://learn.microsoft.com/en-us/graph/api/calendar-getschedule)",
7
- version: "0.0.1",
7
+ version: "0.0.2",
8
8
  type: "action",
9
9
  props: {
10
10
  microsoftOutlook,
11
11
  schedules: {
12
12
  type: "string[]",
13
- label: "Schedules",
14
- description: "A collection of SMTP addresses of users, distribution lists, or resources to get availability information for",
13
+ label: "Emails",
14
+ description: "A list of emails of users, distribution lists, or resources. For example: `[ \"adelev@contoso.com\" , \"meganb@contoso.com\" ]`",
15
15
  },
16
16
  start: {
17
17
  propDefinition: [
@@ -4,38 +4,21 @@ export default {
4
4
  key: "microsoft_outlook_calendar-list-events",
5
5
  name: "List Events",
6
6
  description: "Get a list of event objects in the user's mailbox. [See the documentation](https://learn.microsoft.com/en-us/graph/api/user-list-events)",
7
- version: "0.0.1",
7
+ version: "0.0.2",
8
8
  type: "action",
9
9
  props: {
10
10
  microsoftOutlook,
11
11
  filter: {
12
12
  type: "string",
13
13
  label: "Filter",
14
- description: "Use the `$filter` query parameter to filter events. E.g. `contains(subject, 'my event')` [See the documentation](https://learn.microsoft.com/en-us/graph/filter-query-parameter) for more information about the `$filter` parameter.",
14
+ description: "Filters results. For example, `contains(subject, 'meet for lunch?')` will include events whose title contains ‘meet for lunch?’. [See documentation](https://learn.microsoft.com/en-us/graph/filter-query-parameter) for the full list of operations.",
15
15
  optional: true,
16
16
  },
17
17
  orderBy: {
18
18
  type: "string",
19
19
  label: "Order By",
20
- description: "The field to sort the results by. Default is `createdDateTime`. [See the documentation](https://learn.microsoft.com/en-us/graph/query-parameters?tabs=http#orderby-parameter) for more info about the `$orderby` parameter.",
21
- default: "createdDateTime",
22
- optional: true,
23
- },
24
- sortOrder: {
25
- type: "string",
26
- label: "Sort Order",
27
- description: "Whether to sort the results in ascending or descending order. Default is `descending`.",
28
- options: [
29
- {
30
- label: "ascending",
31
- value: "asc",
32
- },
33
- {
34
- label: "descending",
35
- value: "desc",
36
- },
37
- ],
38
- default: "desc",
20
+ description: "Orders results. For example, `displayName desc` will sort the results by Display Name in decending order.",
21
+ default: "createdDateTime desc",
39
22
  optional: true,
40
23
  },
41
24
  maxResults: {
@@ -49,7 +32,7 @@ export default {
49
32
  const { value = [] } = await this.microsoftOutlook.listCalendarEvents({
50
33
  $,
51
34
  params: {
52
- "$orderby": `${this.orderBy} ${this.sortOrder}`,
35
+ "$orderby": this.orderBy,
53
36
  "$filter": this.filter,
54
37
  "$top": this.maxResults,
55
38
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/microsoft_outlook_calendar",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Pipedream Microsoft Outlook Calendar Components",
5
5
  "main": "microsoft_outlook_calendar.app.mjs",
6
6
  "keywords": [