files.com 1.0.298 → 1.0.300

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.298
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
 
@@ -6,7 +6,7 @@
6
6
  {
7
7
  "id": 1,
8
8
  "created_at": 1,
9
- "created_at_iso8601": 1,
9
+ "created_at_iso8601": "example",
10
10
  "user_id": 1,
11
11
  "file_id": 1,
12
12
  "parent_id": 1,
@@ -33,7 +33,7 @@
33
33
 
34
34
  * `id` (int64): Action ID
35
35
  * `created_at` (int64): When the action happened
36
- * `created_at_iso8601` (int64): When the action happened, in ISO8601 format.
36
+ * `created_at_iso8601` (string): When the action happened, in ISO8601 format.
37
37
  * `user_id` (int64): User ID
38
38
  * `file_id` (int64): File ID related to the action
39
39
  * `parent_id` (int64): ID of the parent folder
@@ -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;
@@ -39,7 +39,7 @@ var HistoryExportResult = /*#__PURE__*/(0, _createClass2.default)(function Histo
39
39
  (0, _defineProperty2.default)(this, "getCreatedAt", function () {
40
40
  return _this.attributes.created_at;
41
41
  });
42
- // int64 # When the action happened, in ISO8601 format.
42
+ // string # When the action happened, in ISO8601 format.
43
43
  (0, _defineProperty2.default)(this, "getCreatedAtIso8601", function () {
44
44
  return _this.attributes.created_at_iso8601;
45
45
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.298",
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
 
@@ -29,7 +29,7 @@ class HistoryExportResult {
29
29
  // int64 # When the action happened
30
30
  getCreatedAt = () => this.attributes.created_at
31
31
 
32
- // int64 # When the action happened, in ISO8601 format.
32
+ // string # When the action happened, in ISO8601 format.
33
33
  getCreatedAtIso8601 = () => this.attributes.created_at_iso8601
34
34
 
35
35
  // int64 # User ID