@pipedream/microsoft_outlook 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/microsoft_outlook",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Pipedream Microsoft Outlook Components",
5
5
  "main": "microsoft_outlook.app.mjs",
6
6
  "keywords": [
@@ -1,11 +1,12 @@
1
1
  import common from "../common.mjs";
2
+ import sampleEmit from "./test-event.mjs";
2
3
 
3
4
  export default {
4
5
  ...common,
5
6
  key: "microsoft_outlook-new-email",
6
7
  name: "New Email Event (Instant)",
7
8
  description: "Emit new event when an email received",
8
- version: "0.0.6",
9
+ version: "0.0.7",
9
10
  type: "source",
10
11
  hooks: {
11
12
  ...common.hooks,
@@ -53,4 +54,5 @@ export default {
53
54
  },
54
55
  });
55
56
  },
57
+ sampleEmit,
56
58
  };
@@ -0,0 +1,57 @@
1
+ export default {
2
+ "email": {
3
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('hungvturing%40outlook.com')/messages/$entity",
4
+ "@odata.etag": "W/\"CQAAABYAAjSvdS5Q4eKWQh5kr77AAA1qCBu\"",
5
+ "id": "AQMkADAwATMwAi0wMAoARgAAA5s75F287T1HnVlwotePjeEHAAaU2NK91LlDh4pZCHmSvvsAAAIBDAAAAAaU2NK91LlDh4pZCHmSvvsAAAA1qWTHAAAA",
6
+ "createdDateTime": "2023-07-03T09:32:32Z",
7
+ "lastModifiedDateTime": "2023-07-03T09:32:33Z",
8
+ "changeKey": "CQAAABYAvdS5Q4eKWQh5kr77AAA1qCBu",
9
+ "categories": [],
10
+ "receivedDateTime": "2023-07-03T09:32:33Z",
11
+ "sentDateTime": "2023-07-03T09:32:17Z",
12
+ "hasAttachments": false,
13
+ "internetMessageId": "<CAMy7fS6yVwqvj_O5+Bvuhgda4zQLKD9b7gydA_g5mg@mail.gmail.com>",
14
+ "subject": "Hi hello",
15
+ "bodyPreview": "Hi hello how are you?",
16
+ "importance": "normal",
17
+ "parentFolderId": "AQMkADAwATMwM0YjM3LTAwAi0wMAoALgAAA5s75F287T1HnVlwotePjeEBAAaU2NK91LlDh4pZCHmSvvsAAAIBDAAAAA==",
18
+ "conversationId": "AQQkADAwATMwM0YjM3LTAwAi0wMAoAEAA_cUTd_wdjS71eaRr3Nrqc",
19
+ "conversationIndex": "AQHZrZFLY0u9Xmka9za6nA==",
20
+ "isDeliveryReceiptRequested": null,
21
+ "isReadReceiptRequested": false,
22
+ "isRead": false,
23
+ "isDraft": false,
24
+ "webLink": "https://outlook.live.com/owa/?ItemID=AQMkADAwATMwYjM3LTAwAi0wMAoARgAAA5s75F287T1HnVlwotePjeEHAAaU2NK91LlDh4pZCHmSvvsAAAIBDAAAAAaU2NK91LlDh4pZCHmSvvsAAAA1qWTHAAAA&exvsurl=1&viewmodel=ReadMessageItem",
25
+ "inferenceClassification": "focused",
26
+ "body": {
27
+ "contentType": "html",
28
+ "content": "<html><head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"></head><body><div dir=\"ltr\">Hi hello how are&nbsp;you?</div></body></html>"
29
+ },
30
+ "sender": {
31
+ "emailAddress": {
32
+ "name": "John Doe",
33
+ "address": "john@doe.com"
34
+ }
35
+ },
36
+ "from": {
37
+ "emailAddress": {
38
+ "name": "John Doe",
39
+ "address": "john@doe.com"
40
+ }
41
+ },
42
+ "toRecipients": [
43
+ {
44
+ "emailAddress": {
45
+ "name": "johndoe@outlook.com",
46
+ "address": "johndoe@outlook.com"
47
+ }
48
+ }
49
+ ],
50
+ "ccRecipients": [],
51
+ "bccRecipients": [],
52
+ "replyTo": [],
53
+ "flag": {
54
+ "flagStatus": "notFlagged"
55
+ }
56
+ }
57
+ }