From 5bbf12654faaa95ffdf253ff70dbca6a920dce3b Mon Sep 17 00:00:00 2001 From: Michelle Bergeron Date: Mon, 7 Jul 2025 17:36:49 -0400 Subject: [PATCH 1/2] add orderby --- .../actions/find-email/find-email.mjs | 14 +++++++++++++- components/microsoft_outlook/package.json | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/components/microsoft_outlook/actions/find-email/find-email.mjs b/components/microsoft_outlook/actions/find-email/find-email.mjs index fff91ae57b8df..fbe7b74c65d9b 100644 --- a/components/microsoft_outlook/actions/find-email/find-email.mjs +++ b/components/microsoft_outlook/actions/find-email/find-email.mjs @@ -4,16 +4,27 @@ export default { key: "microsoft_outlook-find-email", name: "Find Email", description: "Search for an email in Microsoft Outlook. [See the documentation](https://learn.microsoft.com/en-us/graph/api/user-list-messages)", - version: "0.0.6", + version: "0.0.7", type: "action", props: { microsoftOutlook, + info: { + type: "alert", + alertType: "info", + content: "When you specify `$filter`, the service infers a sort order for the results. If you use both `$orderby` and `$filter` to get messages, because the server always infers a sort order for the results of a `$filter`, you must [specify properties in certain ways](https://learn.microsoft.com/en-us/graph/api/user-list-messages#using-filter-and-orderby-in-the-same-query).", + }, filter: { type: "string", label: "Filter", description: "Filters results. For example, `contains(subject, 'meet for lunch?')` will include messages whose subject contains ‘meet for lunch?’. [See documentation](https://learn.microsoft.com/en-us/graph/filter-query-parameter) for the full list of operations.", optional: true, }, + orderBy: { + type: "string", + label: "Order By", + description: "Order results by a property. For example, `receivedDateTime desc` will order messages by the received date in descending order.", + optional: true, + }, maxResults: { propDefinition: [ microsoftOutlook, @@ -28,6 +39,7 @@ export default { $, params: { "$filter": this.filter, + "$orderby": this.orderBy, }, }, max: this.maxResults, diff --git a/components/microsoft_outlook/package.json b/components/microsoft_outlook/package.json index 98a229b4a34a7..715926db24b4b 100644 --- a/components/microsoft_outlook/package.json +++ b/components/microsoft_outlook/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/microsoft_outlook", - "version": "1.5.2", + "version": "1.5.3", "description": "Pipedream Microsoft Outlook Components", "main": "microsoft_outlook.app.mjs", "keywords": [ From bfb2100161257a5f3022a5d706f1de84338591d4 Mon Sep 17 00:00:00 2001 From: Michelle Bergeron Date: Mon, 7 Jul 2025 17:37:23 -0400 Subject: [PATCH 2/2] pnpm-lock.yaml --- pnpm-lock.yaml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c7b875fc01cbc..e707e68a6bba6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -242,8 +242,7 @@ importers: specifier: ^3.0.0 version: 3.0.3 - components/accuweather: - specifiers: {} + components/accuweather: {} components/acelle_mail: {} @@ -714,8 +713,7 @@ importers: components/alphamoon: {} - components/alt_text_generator_ai: - specifiers: {} + components/alt_text_generator_ai: {} components/alteryx_analytics_cloud: {} @@ -15838,14 +15836,6 @@ importers: specifier: ^6.0.0 version: 6.2.0 - modelcontextprotocol/node_modules2/@modelcontextprotocol/sdk/dist/cjs: {} - - modelcontextprotocol/node_modules2/@modelcontextprotocol/sdk/dist/esm: {} - - modelcontextprotocol/node_modules2/zod-to-json-schema/dist/cjs: {} - - modelcontextprotocol/node_modules2/zod-to-json-schema/dist/esm: {} - packages/ai: dependencies: '@pipedream/sdk':