files.com 1.2.237 → 1.2.239

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.
@@ -32,22 +32,22 @@ var SettingsChange = /*#__PURE__*/(0, _createClass2.default)(function SettingsCh
32
32
  (0, _defineProperty2.default)(this, "isLoaded", function () {
33
33
  return !!_this.attributes.id;
34
34
  });
35
+ // int64 # The API key id responsible for this change.
36
+ (0, _defineProperty2.default)(this, "getApiKeyId", function () {
37
+ return _this.attributes.api_key_id;
38
+ });
35
39
  // array(string) # Markdown-formatted change messages.
36
40
  (0, _defineProperty2.default)(this, "getChanges", function () {
37
41
  return _this.attributes.changes;
38
42
  });
39
- // date-time # The time this change was made
43
+ // date-time # The time this change was made.
40
44
  (0, _defineProperty2.default)(this, "getCreatedAt", function () {
41
45
  return _this.attributes.created_at;
42
46
  });
43
- // int64 # The user id responsible for this change
47
+ // int64 # The user id responsible for this change.
44
48
  (0, _defineProperty2.default)(this, "getUserId", function () {
45
49
  return _this.attributes.user_id;
46
50
  });
47
- // int64 # The API key id responsible for this change
48
- (0, _defineProperty2.default)(this, "getApiKeyId", function () {
49
- return _this.attributes.api_key_id;
50
- });
51
51
  // boolean # true if this change was performed by Files.com support.
52
52
  (0, _defineProperty2.default)(this, "getUserIsFilesSupport", function () {
53
53
  return _this.attributes.user_is_files_support;
@@ -56,7 +56,7 @@ var SettingsChange = /*#__PURE__*/(0, _createClass2.default)(function SettingsCh
56
56
  (0, _defineProperty2.default)(this, "getUserIsFromParentSite", function () {
57
57
  return _this.attributes.user_is_from_parent_site;
58
58
  });
59
- // string # The username of the user responsible for this change
59
+ // string # The username of the user responsible for this change.
60
60
  (0, _defineProperty2.default)(this, "getUsername", function () {
61
61
  return _this.attributes.username;
62
62
  });
@@ -298,6 +298,20 @@ var SiemHttpDestination = /*#__PURE__*/(0, _createClass2.default)(function SiemH
298
298
  (0, _defineProperty2.default)(this, "setExavaultApiRequestEntriesSent", function (value) {
299
299
  _this.attributes.exavault_api_request_entries_sent = value;
300
300
  });
301
+ // boolean # Whether or not sending is enabled for settings_change logs.
302
+ (0, _defineProperty2.default)(this, "getSettingsChangeSendEnabled", function () {
303
+ return _this.attributes.settings_change_send_enabled;
304
+ });
305
+ (0, _defineProperty2.default)(this, "setSettingsChangeSendEnabled", function (value) {
306
+ _this.attributes.settings_change_send_enabled = value;
307
+ });
308
+ // int64 # Number of log entries sent for the lifetime of this destination.
309
+ (0, _defineProperty2.default)(this, "getSettingsChangeEntriesSent", function () {
310
+ return _this.attributes.settings_change_entries_sent;
311
+ });
312
+ (0, _defineProperty2.default)(this, "setSettingsChangeEntriesSent", function (value) {
313
+ _this.attributes.settings_change_entries_sent = value;
314
+ });
301
315
  // string # Type of URL that was last called. Can be `destination_url` or `azure_oauth_client_credentials_url`
302
316
  (0, _defineProperty2.default)(this, "getLastHttpCallTargetType", function () {
303
317
  return _this.attributes.last_http_call_target_type;
@@ -429,6 +443,7 @@ var SiemHttpDestination = /*#__PURE__*/(0, _createClass2.default)(function SiemH
429
443
  // public_hosting_request_send_enabled - boolean - Whether or not sending is enabled for public_hosting_request logs.
430
444
  // email_send_enabled - boolean - Whether or not sending is enabled for email logs.
431
445
  // exavault_api_request_send_enabled - boolean - Whether or not sending is enabled for exavault_api_request logs.
446
+ // settings_change_send_enabled - boolean - Whether or not sending is enabled for settings_change logs.
432
447
  // destination_type - string - Destination Type
433
448
  // destination_url - string - Destination Url
434
449
  (0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
@@ -789,6 +804,7 @@ _SiemHttpDestination = SiemHttpDestination;
789
804
  // public_hosting_request_send_enabled - boolean - Whether or not sending is enabled for public_hosting_request logs.
790
805
  // email_send_enabled - boolean - Whether or not sending is enabled for email logs.
791
806
  // exavault_api_request_send_enabled - boolean - Whether or not sending is enabled for exavault_api_request logs.
807
+ // settings_change_send_enabled - boolean - Whether or not sending is enabled for settings_change logs.
792
808
  // destination_type (required) - string - Destination Type
793
809
  // destination_url (required) - string - Destination Url
794
810
  (0, _defineProperty2.default)(SiemHttpDestination, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee6() {
@@ -943,6 +959,7 @@ _SiemHttpDestination = SiemHttpDestination;
943
959
  // public_hosting_request_send_enabled - boolean - Whether or not sending is enabled for public_hosting_request logs.
944
960
  // email_send_enabled - boolean - Whether or not sending is enabled for email logs.
945
961
  // exavault_api_request_send_enabled - boolean - Whether or not sending is enabled for exavault_api_request logs.
962
+ // settings_change_send_enabled - boolean - Whether or not sending is enabled for settings_change logs.
946
963
  (0, _defineProperty2.default)(SiemHttpDestination, "sendTestEntry", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee7() {
947
964
  var params,
948
965
  options,
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.237",
3
+ "version": "1.2.239",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -6,7 +6,7 @@ let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
8
  let language = null
9
- const version = '1.2.237'
9
+ const version = '1.2.239'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO