Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/microsoft_outlook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/microsoft_outlook",
"version": "1.7.1",
"version": "1.7.2",
"description": "Pipedream Microsoft Outlook Components",
"main": "microsoft_outlook.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
this.db.set("draftsFolderId", await this.getFolderIdByName("Drafts"));

const events = await this.getSampleEvents({
pageSize: 25,
pageSize: 5,
});
if (!events || events.length == 0) {
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "microsoft_outlook-new-attachment-received",
name: "New Attachment Received (Instant)",
description: "Emit new event when a new email containing one or more attachments arrives in a specified Microsoft Outlook folder.",
version: "0.1.1",
version: "0.1.2",
type: "source",
dedupe: "unique",
props: {
Expand Down Expand Up @@ -52,23 +52,6 @@ export default {
}
return attachments;
},
async getMessageAttachments(message) {
const { value: attachments } = await this.microsoftOutlook.listAttachments({
messageId: message.id,
});
if (!attachments?.length) {
return [];
}
return attachments.map((attachment) => ({
...attachment,
messageId: message.id,
messageSubject: message.subject,
messageSender: message.sender,
messageReceivedDateTime: message.receivedDateTime,
parentFolderId: message.parentFolderId,
contentBytes: undefined,
}));
},
async stashAttachment(item) {
const messageAttachment = await this.microsoftOutlook.getAttachment({
messageId: item.messageId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "microsoft_outlook-new-email",
name: "New Email Event (Instant)",
description: "Emit new event when an email is received in specified folders.",
version: "0.1.3",
version: "0.1.4",
type: "source",
dedupe: "unique",
methods: {
Expand Down
Loading