files.com 1.2.145 → 1.2.146

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.145
1
+ 1.2.146
@@ -35,6 +35,7 @@
35
35
  "bundle_require_registration": true,
36
36
  "bundle_require_share_recipient": true,
37
37
  "bundle_require_note": true,
38
+ "bundle_send_shared_receipts": true,
38
39
  "bundle_upload_receipt_notifications": "never",
39
40
  "bundle_watermark_attachment": {
40
41
  "name": "My logo",
@@ -316,6 +317,7 @@
316
317
  * `bundle_require_registration` (boolean): Do Bundles require registration?
317
318
  * `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
318
319
  * `bundle_require_note` (boolean): Do Bundles require internal notes?
320
+ * `bundle_send_shared_receipts` (boolean): Do Bundle creators receive receipts of invitations?
319
321
  * `bundle_upload_receipt_notifications` (string): Do Bundle uploaders receive upload confirmation notifications?
320
322
  * `bundle_watermark_attachment` (Image): Preview watermark image applied to all bundle items.
321
323
  * `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
@@ -512,6 +514,7 @@ await Site.update({
512
514
  'motd_use_for_sftp': true,
513
515
  'additional_text_file_types': ["example"],
514
516
  'bundle_require_note': true,
517
+ 'bundle_send_shared_receipts': true,
515
518
  'session_expiry': 1.0,
516
519
  'ssl_required': true,
517
520
  'tls_disabled': true,
@@ -665,6 +668,7 @@ await Site.update({
665
668
  * `left_navigation_visibility` (object): Visibility settings for account navigation
666
669
  * `additional_text_file_types` (array(string)): Additional extensions that are considered text files
667
670
  * `bundle_require_note` (boolean): Do Bundles require internal notes?
671
+ * `bundle_send_shared_receipts` (boolean): Do Bundle creators receive receipts of invitations?
668
672
  * `session_expiry` (double): Session expiry in hours
669
673
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
670
674
  * `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.145';
14
+ var version = '1.2.146';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -141,6 +141,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
141
141
  (0, _defineProperty2.default)(this, "getBundleRequireNote", function () {
142
142
  return _this.attributes.bundle_require_note;
143
143
  });
144
+ // boolean # Do Bundle creators receive receipts of invitations?
145
+ (0, _defineProperty2.default)(this, "getBundleSendSharedReceipts", function () {
146
+ return _this.attributes.bundle_send_shared_receipts;
147
+ });
144
148
  // string # Do Bundle uploaders receive upload confirmation notifications?
145
149
  (0, _defineProperty2.default)(this, "getBundleUploadReceiptNotifications", function () {
146
150
  return _this.attributes.bundle_upload_receipt_notifications;
@@ -776,6 +780,7 @@ _Site = Site;
776
780
  // left_navigation_visibility - object - Visibility settings for account navigation
777
781
  // additional_text_file_types - array(string) - Additional extensions that are considered text files
778
782
  // bundle_require_note - boolean - Do Bundles require internal notes?
783
+ // bundle_send_shared_receipts - boolean - Do Bundle creators receive receipts of invitations?
779
784
  // session_expiry - double - Session expiry in hours
780
785
  // ssl_required - boolean - Is SSL required? Disabling this is insecure.
781
786
  // 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.145",
3
+ "version": "1.2.146",
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.145'
8
+ const version = '1.2.146'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -109,6 +109,9 @@ class Site {
109
109
  // boolean # Do Bundles require internal notes?
110
110
  getBundleRequireNote = () => this.attributes.bundle_require_note
111
111
 
112
+ // boolean # Do Bundle creators receive receipts of invitations?
113
+ getBundleSendSharedReceipts = () => this.attributes.bundle_send_shared_receipts
114
+
112
115
  // string # Do Bundle uploaders receive upload confirmation notifications?
113
116
  getBundleUploadReceiptNotifications = () => this.attributes.bundle_upload_receipt_notifications
114
117
 
@@ -567,6 +570,7 @@ class Site {
567
570
  // left_navigation_visibility - object - Visibility settings for account navigation
568
571
  // additional_text_file_types - array(string) - Additional extensions that are considered text files
569
572
  // bundle_require_note - boolean - Do Bundles require internal notes?
573
+ // bundle_send_shared_receipts - boolean - Do Bundle creators receive receipts of invitations?
570
574
  // session_expiry - double - Session expiry in hours
571
575
  // ssl_required - boolean - Is SSL required? Disabling this is insecure.
572
576
  // 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.