files.com 1.2.20 → 1.2.21
Sign up to get free protection for your applications and to get access to all the features.
- 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.21
|
package/docs/models/User.md
CHANGED
@@ -115,7 +115,7 @@
|
|
115
115
|
* `active_2fa` (boolean): Is 2fa active for the user?
|
116
116
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
117
117
|
* `password_expired` (boolean): Is user's password expired?
|
118
|
-
* `restapi_permission` (boolean): Can this user access the REST API?
|
118
|
+
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
119
119
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
120
120
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
121
121
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
@@ -261,7 +261,7 @@ await User.create({
|
|
261
261
|
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
|
262
262
|
* `require_login_by` (string): Require user to login by specified date otherwise it will be disabled.
|
263
263
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
264
|
-
* `restapi_permission` (boolean): Can this user access the REST API?
|
264
|
+
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
265
265
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
266
266
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
267
267
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
@@ -404,7 +404,7 @@ await user.update({
|
|
404
404
|
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
|
405
405
|
* `require_login_by` (string): Require user to login by specified date otherwise it will be disabled.
|
406
406
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
407
|
-
* `restapi_permission` (boolean): Can this user access the REST API?
|
407
|
+
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
408
408
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
409
409
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
410
410
|
* `site_admin` (boolean): Is the user an administrator for this site?
|
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.21';
|
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
@@ -352,7 +352,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
352
352
|
(0, _defineProperty2.default)(this, "setPasswordExpired", function (value) {
|
353
353
|
_this.attributes.password_expired = value;
|
354
354
|
});
|
355
|
-
// boolean # Can this user access the REST API?
|
355
|
+
// boolean # Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
356
356
|
(0, _defineProperty2.default)(this, "getRestapiPermission", function () {
|
357
357
|
return _this.attributes.restapi_permission;
|
358
358
|
});
|
@@ -701,7 +701,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
701
701
|
// receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
|
702
702
|
// require_login_by - string - Require user to login by specified date otherwise it will be disabled.
|
703
703
|
// require_password_change - boolean - Is a password change required upon next user login?
|
704
|
-
// restapi_permission - boolean - Can this user access the REST API?
|
704
|
+
// restapi_permission - boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
705
705
|
// self_managed - boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
706
706
|
// sftp_permission - boolean - Can the user access with SFTP?
|
707
707
|
// site_admin - boolean - Is the user an administrator for this site?
|
@@ -1166,7 +1166,7 @@ _User = User;
|
|
1166
1166
|
// receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
|
1167
1167
|
// require_login_by - string - Require user to login by specified date otherwise it will be disabled.
|
1168
1168
|
// require_password_change - boolean - Is a password change required upon next user login?
|
1169
|
-
// restapi_permission - boolean - Can this user access the REST API?
|
1169
|
+
// restapi_permission - boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
1170
1170
|
// self_managed - boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
1171
1171
|
// sftp_permission - boolean - Can the user access with SFTP?
|
1172
1172
|
// site_admin - boolean - Is the user an administrator for this site?
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
package/src/models/User.js
CHANGED
@@ -346,7 +346,7 @@ class User {
|
|
346
346
|
this.attributes.password_expired = value
|
347
347
|
}
|
348
348
|
|
349
|
-
// boolean # Can this user access the REST API?
|
349
|
+
// boolean # Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
350
350
|
getRestapiPermission = () => this.attributes.restapi_permission
|
351
351
|
|
352
352
|
setRestapiPermission = value => {
|
@@ -626,7 +626,7 @@ class User {
|
|
626
626
|
// receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
|
627
627
|
// require_login_by - string - Require user to login by specified date otherwise it will be disabled.
|
628
628
|
// require_password_change - boolean - Is a password change required upon next user login?
|
629
|
-
// restapi_permission - boolean - Can this user access the REST API?
|
629
|
+
// restapi_permission - boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
630
630
|
// self_managed - boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
631
631
|
// sftp_permission - boolean - Can the user access with SFTP?
|
632
632
|
// site_admin - boolean - Is the user an administrator for this site?
|
@@ -905,7 +905,7 @@ class User {
|
|
905
905
|
// receive_admin_alerts - boolean - Should the user receive admin alerts such a certificate expiration notifications and overages?
|
906
906
|
// require_login_by - string - Require user to login by specified date otherwise it will be disabled.
|
907
907
|
// require_password_change - boolean - Is a password change required upon next user login?
|
908
|
-
// restapi_permission - boolean - Can this user access the REST API?
|
908
|
+
// restapi_permission - boolean - Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
909
909
|
// self_managed - boolean - Does this user manage it's own credentials or is it a shared/bot user?
|
910
910
|
// sftp_permission - boolean - Can the user access with SFTP?
|
911
911
|
// site_admin - boolean - Is the user an administrator for this site?
|