files.com 1.2.223 → 1.2.224

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.2.223
1
+ 1.2.224
@@ -145,7 +145,7 @@
145
145
  * `avatar_delete` (boolean): If true, the avatar will be deleted.
146
146
  * `change_password` (string): Used for changing a password on an existing user.
147
147
  * `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
148
- * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
148
+ * `grant_permission` (string): Permission to grant on the User Root upon user creation. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
149
149
  * `group_id` (int64): Group ID to associate this user with.
150
150
  * `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256.
151
151
  * `password` (string): User password.
@@ -248,7 +248,7 @@ await User.create({
248
248
  * `change_password` (string): Used for changing a password on an existing user.
249
249
  * `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
250
250
  * `email` (string): User's email.
251
- * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
251
+ * `grant_permission` (string): Permission to grant on the User Root upon user creation. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
252
252
  * `group_id` (int64): Group ID to associate this user with.
253
253
  * `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
254
254
  * `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256.
@@ -395,7 +395,7 @@ await user.update({
395
395
  * `change_password` (string): Used for changing a password on an existing user.
396
396
  * `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
397
397
  * `email` (string): User's email.
398
- * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
398
+ * `grant_permission` (string): Permission to grant on the User Root upon user creation. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
399
399
  * `group_id` (int64): Group ID to associate this user with.
400
400
  * `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
401
401
  * `imported_password_hash` (string): Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256.
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.223';
14
+ var version = '1.2.224';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -520,7 +520,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
520
520
  (0, _defineProperty2.default)(this, "setChangePasswordConfirmation", function (value) {
521
521
  _this.attributes.change_password_confirmation = value;
522
522
  });
523
- // string # Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
523
+ // string # Permission to grant on the User Root upon user creation. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
524
524
  (0, _defineProperty2.default)(this, "getGrantPermission", function () {
525
525
  return _this.attributes.grant_permission;
526
526
  });
@@ -715,7 +715,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
715
715
  // change_password - string - Used for changing a password on an existing user.
716
716
  // change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
717
717
  // email - string - User's email.
718
- // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
718
+ // grant_permission - string - Permission to grant on the User Root upon user creation. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
719
719
  // group_id - int64 - Group ID to associate this user with.
720
720
  // group_ids - string - A list of group ids to associate this user with. Comma delimited.
721
721
  // imported_password_hash - string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256.
@@ -1189,7 +1189,7 @@ _User = User;
1189
1189
  // change_password - string - Used for changing a password on an existing user.
1190
1190
  // change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
1191
1191
  // email - string - User's email.
1192
- // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
1192
+ // grant_permission - string - Permission to grant on the User Root upon user creation. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
1193
1193
  // group_id - int64 - Group ID to associate this user with.
1194
1194
  // group_ids - string - A list of group ids to associate this user with. Comma delimited.
1195
1195
  // imported_password_hash - string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.223",
3
+ "version": "1.2.224",
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.223'
8
+ const version = '1.2.224'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -514,7 +514,7 @@ class User {
514
514
  this.attributes.change_password_confirmation = value
515
515
  }
516
516
 
517
- // string # Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
517
+ // string # Permission to grant on the User Root upon user creation. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
518
518
  getGrantPermission = () => this.attributes.grant_permission
519
519
 
520
520
  setGrantPermission = value => {
@@ -640,7 +640,7 @@ class User {
640
640
  // change_password - string - Used for changing a password on an existing user.
641
641
  // change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
642
642
  // email - string - User's email.
643
- // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
643
+ // grant_permission - string - Permission to grant on the User Root upon user creation. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
644
644
  // group_id - int64 - Group ID to associate this user with.
645
645
  // group_ids - string - A list of group ids to associate this user with. Comma delimited.
646
646
  // imported_password_hash - string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256.
@@ -926,7 +926,7 @@ class User {
926
926
  // change_password - string - Used for changing a password on an existing user.
927
927
  // change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
928
928
  // email - string - User's email.
929
- // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
929
+ // grant_permission - string - Permission to grant on the User Root upon user creation. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
930
930
  // group_id - int64 - Group ID to associate this user with.
931
931
  // group_ids - string - A list of group ids to associate this user with. Comma delimited.
932
932
  // imported_password_hash - string - Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256.