files.com 1.0.262 → 1.0.263

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.262
1
+ 1.0.263
@@ -131,7 +131,7 @@
131
131
  * `avatar_delete` (boolean): If true, the avatar will be deleted.
132
132
  * `change_password` (string): Used for changing a password on an existing user.
133
133
  * `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
134
- * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
134
+ * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
135
135
  * `group_id` (int64): Group ID to associate this user with.
136
136
  * `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 menthods are MD5, SHA1, and SHA256.
137
137
  * `password` (string): User password.
@@ -237,7 +237,7 @@ await User.create({
237
237
  * `change_password` (string): Used for changing a password on an existing user.
238
238
  * `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
239
239
  * `email` (string): User's email.
240
- * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
240
+ * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
241
241
  * `group_id` (int64): Group ID to associate this user with.
242
242
  * `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
243
243
  * `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 menthods are MD5, SHA1, and SHA256.
@@ -378,7 +378,7 @@ await user.update({
378
378
  * `change_password` (string): Used for changing a password on an existing user.
379
379
  * `change_password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
380
380
  * `email` (string): User's email.
381
- * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
381
+ * `grant_permission` (string): Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
382
382
  * `group_id` (int64): Group ID to associate this user with.
383
383
  * `group_ids` (string): A list of group ids to associate this user with. Comma delimited.
384
384
  * `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 menthods are MD5, SHA1, and SHA256.
@@ -469,7 +469,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
469
469
  (0, _defineProperty2.default)(this, "setChangePasswordConfirmation", function (value) {
470
470
  _this.attributes.change_password_confirmation = value;
471
471
  });
472
- // string # Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
472
+ // string # Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
473
473
  (0, _defineProperty2.default)(this, "getGrantPermission", function () {
474
474
  return _this.attributes.grant_permission;
475
475
  });
@@ -676,7 +676,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
676
676
  // change_password - string - Used for changing a password on an existing user.
677
677
  // change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
678
678
  // email - string - User's email.
679
- // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
679
+ // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
680
680
  // group_id - int64 - Group ID to associate this user with.
681
681
  // group_ids - string - A list of group ids to associate this user with. Comma delimited.
682
682
  // 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 menthods are MD5, SHA1, and SHA256.
@@ -1125,7 +1125,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
1125
1125
  // change_password - string - Used for changing a password on an existing user.
1126
1126
  // change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
1127
1127
  // email - string - User's email.
1128
- // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
1128
+ // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
1129
1129
  // group_id - int64 - Group ID to associate this user with.
1130
1130
  // group_ids - string - A list of group ids to associate this user with. Comma delimited.
1131
1131
  // 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 menthods are MD5, SHA1, and SHA256.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.262",
3
+ "version": "1.0.263",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -460,7 +460,7 @@ class User {
460
460
  this.attributes.change_password_confirmation = value
461
461
  }
462
462
 
463
- // string # Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
463
+ // string # Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
464
464
  getGrantPermission = () => this.attributes.grant_permission
465
465
 
466
466
  setGrantPermission = value => {
@@ -593,7 +593,7 @@ class User {
593
593
  // change_password - string - Used for changing a password on an existing user.
594
594
  // change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
595
595
  // email - string - User's email.
596
- // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
596
+ // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
597
597
  // group_id - int64 - Group ID to associate this user with.
598
598
  // group_ids - string - A list of group ids to associate this user with. Comma delimited.
599
599
  // 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 menthods are MD5, SHA1, and SHA256.
@@ -849,7 +849,7 @@ class User {
849
849
  // change_password - string - Used for changing a password on an existing user.
850
850
  // change_password_confirmation - string - Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
851
851
  // email - string - User's email.
852
- // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, or `history`.
852
+ // grant_permission - string - Permission to grant on the user root. Can be blank or `full`, `read`, `write`, `list`, `read+write`, or `list+write`
853
853
  // group_id - int64 - Group ID to associate this user with.
854
854
  // group_ids - string - A list of group ids to associate this user with. Comma delimited.
855
855
  // 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 menthods are MD5, SHA1, and SHA256.