files.com 1.2.125 → 1.2.127

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.125",
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.125'
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 => {