files.com 1.2.236 → 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.
Files changed (106) hide show
  1. package/_VERSION +1 -1
  2. package/docs/models/Site.md +4 -0
  3. package/lib/Api.js +3 -4
  4. package/lib/Errors.js +964 -964
  5. package/lib/Files.js +1 -1
  6. package/lib/models/AccountLineItem.js +1 -2
  7. package/lib/models/Action.js +1 -2
  8. package/lib/models/ActionNotificationExport.js +1 -2
  9. package/lib/models/ActionNotificationExportResult.js +1 -2
  10. package/lib/models/ApiKey.js +1 -2
  11. package/lib/models/ApiRequestLog.js +1 -2
  12. package/lib/models/App.js +1 -2
  13. package/lib/models/As2IncomingMessage.js +1 -2
  14. package/lib/models/As2OutgoingMessage.js +1 -2
  15. package/lib/models/As2Partner.js +1 -2
  16. package/lib/models/As2Station.js +1 -2
  17. package/lib/models/Auto.js +1 -2
  18. package/lib/models/Automation.js +1 -2
  19. package/lib/models/AutomationLog.js +1 -2
  20. package/lib/models/AutomationRun.js +1 -2
  21. package/lib/models/BandwidthSnapshot.js +1 -2
  22. package/lib/models/Behavior.js +1 -2
  23. package/lib/models/Bundle.js +1 -2
  24. package/lib/models/BundleAction.js +1 -2
  25. package/lib/models/BundleDownload.js +1 -2
  26. package/lib/models/BundleNotification.js +1 -2
  27. package/lib/models/BundlePath.js +1 -2
  28. package/lib/models/BundleRecipient.js +1 -2
  29. package/lib/models/BundleRegistration.js +1 -2
  30. package/lib/models/Clickwrap.js +1 -2
  31. package/lib/models/DnsRecord.js +1 -2
  32. package/lib/models/EmailIncomingMessage.js +1 -2
  33. package/lib/models/EmailLog.js +1 -2
  34. package/lib/models/Errors.js +1 -2
  35. package/lib/models/ExavaultApiRequestLog.js +1 -2
  36. package/lib/models/ExternalEvent.js +1 -2
  37. package/lib/models/File.js +206 -207
  38. package/lib/models/FileAction.js +1 -2
  39. package/lib/models/FileComment.js +1 -2
  40. package/lib/models/FileCommentReaction.js +1 -2
  41. package/lib/models/FileMigration.js +1 -2
  42. package/lib/models/FileMigrationLog.js +1 -2
  43. package/lib/models/FileUploadPart.js +1 -2
  44. package/lib/models/Folder.js +1 -2
  45. package/lib/models/FormField.js +1 -2
  46. package/lib/models/FormFieldSet.js +1 -2
  47. package/lib/models/FtpActionLog.js +1 -2
  48. package/lib/models/GpgKey.js +1 -2
  49. package/lib/models/Group.js +1 -2
  50. package/lib/models/GroupUser.js +1 -2
  51. package/lib/models/History.js +1 -2
  52. package/lib/models/HistoryExport.js +1 -2
  53. package/lib/models/HistoryExportResult.js +1 -2
  54. package/lib/models/Image.js +1 -2
  55. package/lib/models/InboxRecipient.js +1 -2
  56. package/lib/models/InboxRegistration.js +1 -2
  57. package/lib/models/InboxUpload.js +1 -2
  58. package/lib/models/Invoice.js +1 -2
  59. package/lib/models/InvoiceLineItem.js +1 -2
  60. package/lib/models/IpAddress.js +1 -2
  61. package/lib/models/Lock.js +1 -2
  62. package/lib/models/Message.js +1 -2
  63. package/lib/models/MessageComment.js +1 -2
  64. package/lib/models/MessageCommentReaction.js +1 -2
  65. package/lib/models/MessageReaction.js +1 -2
  66. package/lib/models/Notification.js +1 -2
  67. package/lib/models/OutboundConnectionLog.js +1 -2
  68. package/lib/models/Payment.js +1 -2
  69. package/lib/models/PaymentLineItem.js +1 -2
  70. package/lib/models/Permission.js +1 -2
  71. package/lib/models/Preview.js +1 -2
  72. package/lib/models/Priority.js +1 -2
  73. package/lib/models/Project.js +1 -2
  74. package/lib/models/PublicHostingRequestLog.js +1 -2
  75. package/lib/models/PublicIpAddress.js +1 -2
  76. package/lib/models/PublicKey.js +1 -2
  77. package/lib/models/RemoteBandwidthSnapshot.js +1 -2
  78. package/lib/models/RemoteServer.js +1 -2
  79. package/lib/models/RemoteServerConfigurationFile.js +1 -2
  80. package/lib/models/Request.js +1 -2
  81. package/lib/models/Restore.js +1 -2
  82. package/lib/models/Session.js +1 -2
  83. package/lib/models/SettingsChange.js +1 -2
  84. package/lib/models/SftpActionLog.js +1 -2
  85. package/lib/models/SftpHostKey.js +1 -2
  86. package/lib/models/ShareGroup.js +1 -2
  87. package/lib/models/ShareGroupMember.js +1 -2
  88. package/lib/models/SiemHttpDestination.js +1 -2
  89. package/lib/models/Site.js +6 -2
  90. package/lib/models/Snapshot.js +1 -2
  91. package/lib/models/SsoStrategy.js +1 -2
  92. package/lib/models/Status.js +1 -2
  93. package/lib/models/Style.js +1 -2
  94. package/lib/models/SyncLog.js +1 -2
  95. package/lib/models/UsageByTopLevelDir.js +1 -2
  96. package/lib/models/UsageDailySnapshot.js +1 -2
  97. package/lib/models/UsageSnapshot.js +1 -2
  98. package/lib/models/User.js +3 -4
  99. package/lib/models/UserCipherUse.js +1 -2
  100. package/lib/models/UserRequest.js +1 -2
  101. package/lib/models/UserSftpClientUse.js +1 -2
  102. package/lib/models/WebDavActionLog.js +1 -2
  103. package/lib/models/WebhookTest.js +1 -2
  104. package/package.json +1 -1
  105. package/src/Files.js +1 -1
  106. package/src/models/Site.js +4 -0
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.236
1
+ 1.2.238
@@ -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/Api.js CHANGED
@@ -20,8 +20,7 @@ var _utils = require("./utils");
20
20
  var _Api;
21
21
  var _excluded = ["timeoutSecs"],
22
22
  _excluded2 = ["getAgentForUrl"];
23
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
24
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
23
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
25
24
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26
25
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
27
26
  var fetchWithTimeout = function fetchWithTimeout(url) {
@@ -257,7 +256,7 @@ _Api = Api;
257
256
  }
258
257
  }, _callee3);
259
258
  }));
260
- return function (_x6, _x7, _x8, _x9, _x10, _x11) {
259
+ return function (_x6, _x7, _x8, _x9, _x0, _x1) {
261
260
  return _ref5.apply(this, arguments);
262
261
  };
263
262
  }());
@@ -383,7 +382,7 @@ _Api = Api;
383
382
  }
384
383
  }, _callee4);
385
384
  }));
386
- return function (_x12, _x13) {
385
+ return function (_x10, _x11) {
387
386
  return _ref7.apply(this, arguments);
388
387
  };
389
388
  }());