files.com 1.0.159 → 1.0.160

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.159
1
+ 1.0.160
@@ -50,6 +50,12 @@ var SettingsChange = /*#__PURE__*/(0, _createClass2.default)(function SettingsCh
50
50
  (0, _defineProperty2.default)(this, "getUserId", function () {
51
51
  return _this.attributes.user_id;
52
52
  });
53
+ (0, _defineProperty2.default)(this, "getUserIsFilesSupport", function () {
54
+ return _this.attributes.user_is_files_support;
55
+ });
56
+ (0, _defineProperty2.default)(this, "getUsername", function () {
57
+ return _this.attributes.username;
58
+ });
53
59
  Object.entries(attributes).forEach(function (_ref) {
54
60
  var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
55
61
  key = _ref2[0],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.159",
3
+ "version": "1.0.160",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -31,6 +31,12 @@ class SettingsChange {
31
31
  // int64 # The user id responsible for this change
32
32
  getUserId = () => this.attributes.user_id
33
33
 
34
+ // boolean # true if this change was performed by Files.com support.
35
+ getUserIsFilesSupport = () => this.attributes.user_is_files_support
36
+
37
+ // string # The username of the user responsible for this change
38
+ getUsername = () => this.attributes.username
39
+
34
40
 
35
41
  // Parameters:
36
42
  // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.