files.com 1.2.92 → 1.2.93

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 CHANGED
@@ -1 +1 @@
1
- 1.2.92
1
+ 1.2.93
@@ -34,6 +34,7 @@
34
34
  "bundle_registration_notifications": "never",
35
35
  "bundle_require_registration": true,
36
36
  "bundle_require_share_recipient": true,
37
+ "bundle_require_note": true,
37
38
  "bundle_upload_receipt_notifications": "never",
38
39
  "bundle_watermark_attachment": {
39
40
  "name": "My logo",
@@ -308,6 +309,7 @@
308
309
  * `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
309
310
  * `bundle_require_registration` (boolean): Do Bundles require registration?
310
311
  * `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
312
+ * `bundle_require_note` (boolean): Do Bundles require internal notes?
311
313
  * `bundle_upload_receipt_notifications` (string): Do Bundle uploaders receive upload confirmation notifications?
312
314
  * `bundle_watermark_attachment` (Image): Preview watermark image applied to all bundle items.
313
315
  * `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
@@ -501,6 +503,7 @@ await Site.update({
501
503
  'motd_use_for_ftp': true,
502
504
  'motd_use_for_sftp': true,
503
505
  'additional_text_file_types': ["example"],
506
+ 'bundle_require_note': true,
504
507
  'session_expiry': 1.0,
505
508
  'ssl_required': true,
506
509
  'tls_disabled': true,
@@ -652,6 +655,7 @@ await Site.update({
652
655
  * `motd_use_for_sftp` (boolean): Show message to users connecting via SFTP
653
656
  * `left_navigation_visibility` (object): Visibility settings for account navigation
654
657
  * `additional_text_file_types` (array(string)): Additional extensions that are considered text files
658
+ * `bundle_require_note` (boolean): Do Bundles require internal notes?
655
659
  * `session_expiry` (double): Session expiry in hours
656
660
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
657
661
  * `tls_disabled` (boolean): DO NOT ENABLE. This setting allows TLSv1.0 and TLSv1.1 to be used on your site. We intend to remove this capability entirely in early 2024. If set, the `sftp_insecure_ciphers` flag will be automatically set to true.
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.92';
14
+ var version = '1.2.93';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -137,6 +137,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
137
137
  (0, _defineProperty2.default)(this, "getBundleRequireShareRecipient", function () {
138
138
  return _this.attributes.bundle_require_share_recipient;
139
139
  });
140
+ // boolean # Do Bundles require internal notes?
141
+ (0, _defineProperty2.default)(this, "getBundleRequireNote", function () {
142
+ return _this.attributes.bundle_require_note;
143
+ });
140
144
  // string # Do Bundle uploaders receive upload confirmation notifications?
141
145
  (0, _defineProperty2.default)(this, "getBundleUploadReceiptNotifications", function () {
142
146
  return _this.attributes.bundle_upload_receipt_notifications;
@@ -763,6 +767,7 @@ _Site = Site;
763
767
  // motd_use_for_sftp - boolean - Show message to users connecting via SFTP
764
768
  // left_navigation_visibility - object - Visibility settings for account navigation
765
769
  // additional_text_file_types - array(string) - Additional extensions that are considered text files
770
+ // bundle_require_note - boolean - Do Bundles require internal notes?
766
771
  // session_expiry - double - Session expiry in hours
767
772
  // ssl_required - boolean - Is SSL required? Disabling this is insecure.
768
773
  // tls_disabled - boolean - DO NOT ENABLE. This setting allows TLSv1.0 and TLSv1.1 to be used on your site. We intend to remove this capability entirely in early 2024. If set, the `sftp_insecure_ciphers` flag will be automatically set to true.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.92",
3
+ "version": "1.2.93",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.92'
8
+ const version = '1.2.93'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -106,6 +106,9 @@ class Site {
106
106
  // boolean # Do Bundles require recipients for sharing?
107
107
  getBundleRequireShareRecipient = () => this.attributes.bundle_require_share_recipient
108
108
 
109
+ // boolean # Do Bundles require internal notes?
110
+ getBundleRequireNote = () => this.attributes.bundle_require_note
111
+
109
112
  // string # Do Bundle uploaders receive upload confirmation notifications?
110
113
  getBundleUploadReceiptNotifications = () => this.attributes.bundle_upload_receipt_notifications
111
114
 
@@ -557,6 +560,7 @@ class Site {
557
560
  // motd_use_for_sftp - boolean - Show message to users connecting via SFTP
558
561
  // left_navigation_visibility - object - Visibility settings for account navigation
559
562
  // additional_text_file_types - array(string) - Additional extensions that are considered text files
563
+ // bundle_require_note - boolean - Do Bundles require internal notes?
560
564
  // session_expiry - double - Session expiry in hours
561
565
  // ssl_required - boolean - Is SSL required? Disabling this is insecure.
562
566
  // tls_disabled - boolean - DO NOT ENABLE. This setting allows TLSv1.0 and TLSv1.1 to be used on your site. We intend to remove this capability entirely in early 2024. If set, the `sftp_insecure_ciphers` flag will be automatically set to true.