File tree Expand file tree Collapse file tree 4 files changed +4
-21
lines changed
components/microsoft_outlook Expand file tree Collapse file tree 4 files changed +4
-21
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/microsoft_outlook" ,
3- "version" : " 1.7.1 " ,
3+ "version" : " 1.7.2 " ,
44 "description" : " Pipedream Microsoft Outlook Components" ,
55 "main" : " microsoft_outlook.app.mjs" ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default {
1919 this . db . set ( "draftsFolderId" , await this . getFolderIdByName ( "Drafts" ) ) ;
2020
2121 const events = await this . getSampleEvents ( {
22- pageSize : 25 ,
22+ pageSize : 5 ,
2323 } ) ;
2424 if ( ! events || events . length == 0 ) {
2525 return ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export default {
66 key : "microsoft_outlook-new-attachment-received" ,
77 name : "New Attachment Received (Instant)" ,
88 description : "Emit new event when a new email containing one or more attachments arrives in a specified Microsoft Outlook folder." ,
9- version : "0.1.1 " ,
9+ version : "0.1.2 " ,
1010 type : "source" ,
1111 dedupe : "unique" ,
1212 props : {
@@ -52,23 +52,6 @@ export default {
5252 }
5353 return attachments ;
5454 } ,
55- async getMessageAttachments ( message ) {
56- const { value : attachments } = await this . microsoftOutlook . listAttachments ( {
57- messageId : message . id ,
58- } ) ;
59- if ( ! attachments ?. length ) {
60- return [ ] ;
61- }
62- return attachments . map ( ( attachment ) => ( {
63- ...attachment ,
64- messageId : message . id ,
65- messageSubject : message . subject ,
66- messageSender : message . sender ,
67- messageReceivedDateTime : message . receivedDateTime ,
68- parentFolderId : message . parentFolderId ,
69- contentBytes : undefined ,
70- } ) ) ;
71- } ,
7255 async stashAttachment ( item ) {
7356 const messageAttachment = await this . microsoftOutlook . getAttachment ( {
7457 messageId : item . messageId ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export default {
77 key : "microsoft_outlook-new-email" ,
88 name : "New Email Event (Instant)" ,
99 description : "Emit new event when an email is received in specified folders." ,
10- version : "0.1.3 " ,
10+ version : "0.1.4 " ,
1111 type : "source" ,
1212 dedupe : "unique" ,
1313 methods : {
You can’t perform that action at this time.
0 commit comments