files.com 1.2.237 → 1.2.238
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/Site.md +4 -0
- package/lib/Files.js +1 -1
- package/lib/models/Site.js +5 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/Site.js +4 -0
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.238
|
package/docs/models/Site.md
CHANGED
|
@@ -154,6 +154,7 @@
|
|
|
154
154
|
"protocol_access_groups_only": true,
|
|
155
155
|
"require_2fa": true,
|
|
156
156
|
"require_2fa_stop_time": "2000-01-01T01:00:00Z",
|
|
157
|
+
"revoke_bundle_access_on_disable_or_delete": true,
|
|
157
158
|
"require_2fa_user_type": "`site_admins`",
|
|
158
159
|
"require_logout_from_bundles_and_inboxes": true,
|
|
159
160
|
"session": {
|
|
@@ -425,6 +426,7 @@
|
|
|
425
426
|
* `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
|
426
427
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
|
427
428
|
* `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
|
429
|
+
* `revoke_bundle_access_on_disable_or_delete` (boolean): Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
428
430
|
* `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
|
429
431
|
* `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
|
430
432
|
* `session` (Session): Current session
|
|
@@ -596,6 +598,7 @@ await Site.update({
|
|
|
596
598
|
'sftp_host_key_type': "default",
|
|
597
599
|
'active_sftp_host_key_id': 1,
|
|
598
600
|
'protocol_access_groups_only': false,
|
|
601
|
+
'revoke_bundle_access_on_disable_or_delete': false,
|
|
599
602
|
'bundle_watermark_value': {"key":"example value"},
|
|
600
603
|
'group_admins_can_set_user_password': false,
|
|
601
604
|
'bundle_recipient_blacklist_free_email_domains': false,
|
|
@@ -756,6 +759,7 @@ await Site.update({
|
|
|
756
759
|
* `sftp_host_key_type` (string): Sftp Host Key Type
|
|
757
760
|
* `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
|
|
758
761
|
* `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
|
762
|
+
* `revoke_bundle_access_on_disable_or_delete` (boolean): Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
759
763
|
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
760
764
|
* `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
|
|
761
765
|
* `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
|
package/lib/Files.js
CHANGED
|
@@ -12,7 +12,7 @@ var apiKey;
|
|
|
12
12
|
var baseUrl = 'https://app.files.com';
|
|
13
13
|
var sessionId = null;
|
|
14
14
|
var language = null;
|
|
15
|
-
var version = '1.2.
|
|
15
|
+
var version = '1.2.238';
|
|
16
16
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
17
17
|
var logLevel = _Logger.LogLevel.INFO;
|
|
18
18
|
var debugRequest = false;
|
package/lib/models/Site.js
CHANGED
|
@@ -524,6 +524,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
|
524
524
|
(0, _defineProperty2.default)(this, "getRequire2faStopTime", function () {
|
|
525
525
|
return _this.attributes.require_2fa_stop_time;
|
|
526
526
|
});
|
|
527
|
+
// boolean # Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
528
|
+
(0, _defineProperty2.default)(this, "getRevokeBundleAccessOnDisableOrDelete", function () {
|
|
529
|
+
return _this.attributes.revoke_bundle_access_on_disable_or_delete;
|
|
530
|
+
});
|
|
527
531
|
// string # What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
|
528
532
|
(0, _defineProperty2.default)(this, "getRequire2faUserType", function () {
|
|
529
533
|
return _this.attributes.require_2fa_user_type;
|
|
@@ -867,6 +871,7 @@ _Site = Site;
|
|
|
867
871
|
// sftp_host_key_type - string - Sftp Host Key Type
|
|
868
872
|
// active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
|
|
869
873
|
// protocol_access_groups_only - boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
|
874
|
+
// revoke_bundle_access_on_disable_or_delete - boolean - Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
870
875
|
// bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
871
876
|
// group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
|
|
872
877
|
// bundle_recipient_blacklist_free_email_domains - boolean - Disallow free email domains for Bundle/Inbox recipients?
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
package/src/models/Site.js
CHANGED
|
@@ -397,6 +397,9 @@ class Site {
|
|
|
397
397
|
// date-time # If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
|
398
398
|
getRequire2faStopTime = () => this.attributes.require_2fa_stop_time
|
|
399
399
|
|
|
400
|
+
// boolean # Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
401
|
+
getRevokeBundleAccessOnDisableOrDelete = () => this.attributes.revoke_bundle_access_on_disable_or_delete
|
|
402
|
+
|
|
400
403
|
// string # What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
|
401
404
|
getRequire2faUserType = () => this.attributes.require_2fa_user_type
|
|
402
405
|
|
|
@@ -652,6 +655,7 @@ class Site {
|
|
|
652
655
|
// sftp_host_key_type - string - Sftp Host Key Type
|
|
653
656
|
// active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
|
|
654
657
|
// protocol_access_groups_only - boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
|
658
|
+
// revoke_bundle_access_on_disable_or_delete - boolean - Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
|
|
655
659
|
// bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
656
660
|
// group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
|
|
657
661
|
// bundle_recipient_blacklist_free_email_domains - boolean - Disallow free email domains for Bundle/Inbox recipients?
|