files.com 1.0.300 → 1.0.301

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.300
1
+ 1.0.301
@@ -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
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.300",
3
+ "version": "1.0.301",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -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