files.com 1.2.126 → 1.2.127

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.126
1
+ 1.2.127
@@ -16,13 +16,13 @@
16
16
  ```
17
17
 
18
18
  * `id` (int64): Permission ID
19
- * `path` (string): Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
19
+ * `path` (string): Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
20
20
  * `user_id` (int64): User ID
21
- * `username` (string): User's username
21
+ * `username` (string): Username (if applicable)
22
22
  * `group_id` (int64): Group ID
23
- * `group_name` (string): Group name if applicable
24
- * `permission` (string): Permission type
25
- * `recursive` (boolean): Does this permission apply to subfolders?
23
+ * `group_name` (string): Group name (if applicable)
24
+ * `permission` (string): Permission type. See the table referenced in the documentation for an explanation of each permission.
25
+ * `recursive` (boolean): Recursive: does this permission apply to subfolders?
26
26
 
27
27
  ---
28
28
 
package/lib/Files.js CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
11
11
  var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
- var version = '1.2.126';
14
+ var version = '1.2.127';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -40,7 +40,7 @@ var Permission = /*#__PURE__*/(0, _createClass2.default)(function Permission() {
40
40
  (0, _defineProperty2.default)(this, "setId", function (value) {
41
41
  _this.attributes.id = value;
42
42
  });
43
- // string # Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
43
+ // string # Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
44
44
  (0, _defineProperty2.default)(this, "getPath", function () {
45
45
  return _this.attributes.path;
46
46
  });
@@ -54,7 +54,7 @@ var Permission = /*#__PURE__*/(0, _createClass2.default)(function Permission() {
54
54
  (0, _defineProperty2.default)(this, "setUserId", function (value) {
55
55
  _this.attributes.user_id = value;
56
56
  });
57
- // string # User's username
57
+ // string # Username (if applicable)
58
58
  (0, _defineProperty2.default)(this, "getUsername", function () {
59
59
  return _this.attributes.username;
60
60
  });
@@ -68,21 +68,21 @@ var Permission = /*#__PURE__*/(0, _createClass2.default)(function Permission() {
68
68
  (0, _defineProperty2.default)(this, "setGroupId", function (value) {
69
69
  _this.attributes.group_id = value;
70
70
  });
71
- // string # Group name if applicable
71
+ // string # Group name (if applicable)
72
72
  (0, _defineProperty2.default)(this, "getGroupName", function () {
73
73
  return _this.attributes.group_name;
74
74
  });
75
75
  (0, _defineProperty2.default)(this, "setGroupName", function (value) {
76
76
  _this.attributes.group_name = value;
77
77
  });
78
- // string # Permission type
78
+ // string # Permission type. See the table referenced in the documentation for an explanation of each permission.
79
79
  (0, _defineProperty2.default)(this, "getPermission", function () {
80
80
  return _this.attributes.permission;
81
81
  });
82
82
  (0, _defineProperty2.default)(this, "setPermission", function (value) {
83
83
  _this.attributes.permission = value;
84
84
  });
85
- // boolean # Does this permission apply to subfolders?
85
+ // boolean # Recursive: does this permission apply to subfolders?
86
86
  (0, _defineProperty2.default)(this, "getRecursive", function () {
87
87
  return _this.attributes.recursive;
88
88
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.126",
3
+ "version": "1.2.127",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.126'
8
+ const version = '1.2.127'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -35,7 +35,7 @@ class Permission {
35
35
  this.attributes.id = value
36
36
  }
37
37
 
38
- // string # Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
38
+ // string # Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
39
39
  getPath = () => this.attributes.path
40
40
 
41
41
  setPath = value => {
@@ -49,7 +49,7 @@ class Permission {
49
49
  this.attributes.user_id = value
50
50
  }
51
51
 
52
- // string # User's username
52
+ // string # Username (if applicable)
53
53
  getUsername = () => this.attributes.username
54
54
 
55
55
  setUsername = value => {
@@ -63,21 +63,21 @@ class Permission {
63
63
  this.attributes.group_id = value
64
64
  }
65
65
 
66
- // string # Group name if applicable
66
+ // string # Group name (if applicable)
67
67
  getGroupName = () => this.attributes.group_name
68
68
 
69
69
  setGroupName = value => {
70
70
  this.attributes.group_name = value
71
71
  }
72
72
 
73
- // string # Permission type
73
+ // string # Permission type. See the table referenced in the documentation for an explanation of each permission.
74
74
  getPermission = () => this.attributes.permission
75
75
 
76
76
  setPermission = value => {
77
77
  this.attributes.permission = value
78
78
  }
79
79
 
80
- // boolean # Does this permission apply to subfolders?
80
+ // boolean # Recursive: does this permission apply to subfolders?
81
81
  getRecursive = () => this.attributes.recursive
82
82
 
83
83
  setRecursive = value => {