Skip to content

Commit 7b47c94

Browse files
authored
[Components] Add search param support to outlook find-email (#18211)
* Add `search` param support to outlook `find-email` * Bumping version
1 parent 577bd0f commit 7b47c94

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

components/microsoft_outlook/actions/find-email/find-email.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "microsoft_outlook-find-email",
55
name: "Find Email",
66
description: "Search for an email in Microsoft Outlook. [See the documentation](https://learn.microsoft.com/en-us/graph/api/user-list-messages)",
7-
version: "0.0.7",
7+
version: "0.0.8",
88
type: "action",
99
props: {
1010
microsoftOutlook,
@@ -13,6 +13,12 @@ export default {
1313
alertType: "info",
1414
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).",
1515
},
16+
search: {
17+
type: "string",
18+
label: "Search",
19+
description: "Search for an email in Microsoft Outlook. Can search for specific message properties such as `to:[email protected]` or `subject:example`. If the property is excluded, the search targets the default propertes `from`, `subject`, and `body`. For example, `pizza` will search for messages with the word `pizza` in the subject, body, or from address, but `to:[email protected]` will only search for messages to `[email protected]`.",
20+
optional: true,
21+
},
1622
filter: {
1723
type: "string",
1824
label: "Filter",
@@ -38,6 +44,7 @@ export default {
3844
args: {
3945
$,
4046
params: {
47+
"$search": this.search,
4148
"$filter": this.filter,
4249
"$orderby": this.orderBy,
4350
},

components/microsoft_outlook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/microsoft_outlook",
3-
"version": "1.5.3",
3+
"version": "1.5.4",
44
"description": "Pipedream Microsoft Outlook Components",
55
"main": "microsoft_outlook.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)