files.com 1.0.299 → 1.0.301
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/EmailIncomingMessage.md +4 -0
- package/docs/models/HistoryExportResult.md +3 -1
- package/lib/models/EmailIncomingMessage.js +8 -0
- package/lib/models/HistoryExportResult.js +5 -1
- package/package.json +1 -1
- package/src/models/EmailIncomingMessage.js +6 -0
- package/src/models/HistoryExportResult.js +4 -1
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.301
|
@@ -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
|
|
@@ -24,6 +24,7 @@
|
|
24
24
|
"target_permission": "full",
|
25
25
|
"target_recursive": true,
|
26
26
|
"target_expires_at": 1,
|
27
|
+
"target_expires_at_iso8601": "example",
|
27
28
|
"target_permission_set": "desktop_app",
|
28
29
|
"target_platform": "windows",
|
29
30
|
"target_username": "jerry",
|
@@ -50,7 +51,8 @@
|
|
50
51
|
* `target_name` (string): Name of the User, Group or other object with a name related to this action
|
51
52
|
* `target_permission` (string): Permission level of the action
|
52
53
|
* `target_recursive` (boolean): Whether or not the action was recursive
|
53
|
-
* `target_expires_at` (int64): If searching for Histories about API keys, this is when the API key will expire
|
54
|
+
* `target_expires_at` (int64): If searching for Histories about API keys, this is when the API key will expire. Represented as a Unix timestamp.
|
55
|
+
* `target_expires_at_iso8601` (string): If searching for Histories about API keys, this is when the API key will expire. Represented in ISO8601 format.
|
54
56
|
* `target_permission_set` (string): If searching for Histories about API keys, this represents the permission set of the associated API key
|
55
57
|
* `target_platform` (string): If searching for Histories about API keys, this is the platform on which the action was taken
|
56
58
|
* `target_username` (string): If searching for Histories about API keys, this is the username on which the action was taken
|
@@ -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;
|
@@ -107,10 +107,14 @@ var HistoryExportResult = /*#__PURE__*/(0, _createClass2.default)(function Histo
|
|
107
107
|
(0, _defineProperty2.default)(this, "getTargetRecursive", function () {
|
108
108
|
return _this.attributes.target_recursive;
|
109
109
|
});
|
110
|
-
// int64 # If searching for Histories about API keys, this is when the API key will expire
|
110
|
+
// int64 # If searching for Histories about API keys, this is when the API key will expire. Represented as a Unix timestamp.
|
111
111
|
(0, _defineProperty2.default)(this, "getTargetExpiresAt", function () {
|
112
112
|
return _this.attributes.target_expires_at;
|
113
113
|
});
|
114
|
+
// string # If searching for Histories about API keys, this is when the API key will expire. Represented in ISO8601 format.
|
115
|
+
(0, _defineProperty2.default)(this, "getTargetExpiresAtIso8601", function () {
|
116
|
+
return _this.attributes.target_expires_at_iso8601;
|
117
|
+
});
|
114
118
|
// string # If searching for Histories about API keys, this represents the permission set of the associated API key
|
115
119
|
(0, _defineProperty2.default)(this, "getTargetPermissionSet", function () {
|
116
120
|
return _this.attributes.target_permission_set;
|
package/package.json
CHANGED
@@ -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
|
|
@@ -80,9 +80,12 @@ class HistoryExportResult {
|
|
80
80
|
// boolean # Whether or not the action was recursive
|
81
81
|
getTargetRecursive = () => this.attributes.target_recursive
|
82
82
|
|
83
|
-
// int64 # If searching for Histories about API keys, this is when the API key will expire
|
83
|
+
// int64 # If searching for Histories about API keys, this is when the API key will expire. Represented as a Unix timestamp.
|
84
84
|
getTargetExpiresAt = () => this.attributes.target_expires_at
|
85
85
|
|
86
|
+
// string # If searching for Histories about API keys, this is when the API key will expire. Represented in ISO8601 format.
|
87
|
+
getTargetExpiresAtIso8601 = () => this.attributes.target_expires_at_iso8601
|
88
|
+
|
86
89
|
// string # If searching for Histories about API keys, this represents the permission set of the associated API key
|
87
90
|
getTargetPermissionSet = () => this.attributes.target_permission_set
|
88
91
|
|