files.com 1.0.261 → 1.0.263
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 +1 -1
- package/docs/Errors.md +1 -0
- package/docs/models/User.md +3 -3
- package/lib/Errors.js +734 -720
- package/lib/models/User.js +3 -3
- package/package.json +1 -1
- package/src/Errors.js +1 -0
- package/src/models/User.js +3 -3
    
        package/lib/models/User.js
    CHANGED
    
    | @@ -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 ` | 
| 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 ` | 
| 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 ` | 
| 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
    
    
    
        package/src/Errors.js
    CHANGED
    
    | @@ -97,6 +97,7 @@ export class BadRequest_InvalidBodyError extends BadRequestError { constructor(m | |
| 97 97 | 
             
            export class BadRequest_InvalidCursorError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidCursorError' } } errorClasses.BadRequest_InvalidCursorError = BadRequest_InvalidCursorError
         | 
| 98 98 | 
             
            export class BadRequest_InvalidCursorTypeForSortError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidCursorTypeForSortError' } } errorClasses.BadRequest_InvalidCursorTypeForSortError = BadRequest_InvalidCursorTypeForSortError
         | 
| 99 99 | 
             
            export class BadRequest_InvalidEtagsError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidEtagsError' } } errorClasses.BadRequest_InvalidEtagsError = BadRequest_InvalidEtagsError
         | 
| 100 | 
            +
            export class BadRequest_InvalidFilterAliasCombinationError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidFilterAliasCombinationError' } } errorClasses.BadRequest_InvalidFilterAliasCombinationError = BadRequest_InvalidFilterAliasCombinationError
         | 
| 100 101 | 
             
            export class BadRequest_InvalidFilterCombinationError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidFilterCombinationError' } } errorClasses.BadRequest_InvalidFilterCombinationError = BadRequest_InvalidFilterCombinationError
         | 
| 101 102 | 
             
            export class BadRequest_InvalidFilterFieldError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidFilterFieldError' } } errorClasses.BadRequest_InvalidFilterFieldError = BadRequest_InvalidFilterFieldError
         | 
| 102 103 | 
             
            export class BadRequest_InvalidFilterParamError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidFilterParamError' } } errorClasses.BadRequest_InvalidFilterParamError = BadRequest_InvalidFilterParamError
         | 
    
        package/src/models/User.js
    CHANGED
    
    | @@ -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 ` | 
| 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 ` | 
| 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 ` | 
| 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.
         |