files.com 1.0.299 → 1.0.300

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/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.299
1
+ 1.0.300
@@ -7,7 +7,9 @@
7
7
  "id": 1,
8
8
  "inbox_id": 1,
9
9
  "sender": "example",
10
+ "sender_name": "example",
10
11
  "status": "success",
12
+ "body": "example",
11
13
  "message": "example",
12
14
  "created_at": "2000-01-01T01:00:00Z"
13
15
  }
@@ -16,7 +18,9 @@
16
18
  * `id` (int64): Id of the Email Incoming Message
17
19
  * `inbox_id` (int64): Id of the Inbox associated with this message
18
20
  * `sender` (string): Sender of the email
21
+ * `sender_name` (string): Sender name
19
22
  * `status` (string): Status of the message
23
+ * `body` (string): Body of the email
20
24
  * `message` (string): Message describing the failure
21
25
  * `created_at` (date-time): Message creation date/time
22
26
 
@@ -43,10 +43,18 @@ var EmailIncomingMessage = /*#__PURE__*/(0, _createClass2.default)(function Emai
43
43
  (0, _defineProperty2.default)(this, "getSender", function () {
44
44
  return _this.attributes.sender;
45
45
  });
46
+ // string # Sender name
47
+ (0, _defineProperty2.default)(this, "getSenderName", function () {
48
+ return _this.attributes.sender_name;
49
+ });
46
50
  // string # Status of the message
47
51
  (0, _defineProperty2.default)(this, "getStatus", function () {
48
52
  return _this.attributes.status;
49
53
  });
54
+ // string # Body of the email
55
+ (0, _defineProperty2.default)(this, "getBody", function () {
56
+ return _this.attributes.body;
57
+ });
50
58
  // string # Message describing the failure
51
59
  (0, _defineProperty2.default)(this, "getMessage", function () {
52
60
  return _this.attributes.message;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.299",
3
+ "version": "1.0.300",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -32,9 +32,15 @@ class EmailIncomingMessage {
32
32
  // string # Sender of the email
33
33
  getSender = () => this.attributes.sender
34
34
 
35
+ // string # Sender name
36
+ getSenderName = () => this.attributes.sender_name
37
+
35
38
  // string # Status of the message
36
39
  getStatus = () => this.attributes.status
37
40
 
41
+ // string # Body of the email
42
+ getBody = () => this.attributes.body
43
+
38
44
  // string # Message describing the failure
39
45
  getMessage = () => this.attributes.message
40
46