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 +1 -1
- package/docs/models/User.md +3 -3
- package/lib/Files.js +1 -1
- package/lib/models/User.js +3 -3
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/User.js +3 -3
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.224
|
package/docs/models/User.md
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
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.
|
|
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;
|
package/lib/models/User.js
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
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
package/src/Files.js
CHANGED
package/src/models/User.js
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
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.
|