files.com 1.0.280 → 1.0.281

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.280
1
+ 1.0.281
@@ -61,7 +61,7 @@
61
61
  * `description` (string): Public description
62
62
  * `password_protected` (boolean): Is this bundle password protected?
63
63
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
64
- * `preview_only` (boolean): Restrict users to previewing files only?
64
+ * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
65
65
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
66
66
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
67
67
  * `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
@@ -180,7 +180,7 @@ await Bundle.create({
180
180
  * `code` (string): Bundle code. This code forms the end part of the Public URL.
181
181
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
182
182
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
183
- * `preview_only` (boolean): Restrict users to previewing files only?
183
+ * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
184
184
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
185
185
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
186
186
  * `inbox_id` (int64): ID of the associated inbox, if available.
@@ -266,7 +266,7 @@ await bundle.update({
266
266
  * `note` (string): Bundle internal note
267
267
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
268
268
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
269
- * `preview_only` (boolean): Restrict users to previewing files only?
269
+ * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
270
270
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
271
271
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
272
272
  * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
@@ -66,7 +66,7 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
66
66
  (0, _defineProperty2.default)(this, "setPermissions", function (value) {
67
67
  _this.attributes.permissions = value;
68
68
  });
69
- // boolean # Restrict users to previewing files only?
69
+ // boolean # DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
70
70
  (0, _defineProperty2.default)(this, "getPreviewOnly", function () {
71
71
  return _this.attributes.preview_only;
72
72
  });
@@ -372,7 +372,7 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
372
372
  // note - string - Bundle internal note
373
373
  // path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
374
374
  // permissions - string - Permissions that apply to Folders in this Share Link.
375
- // preview_only - boolean - Restrict users to previewing files only?
375
+ // preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
376
376
  // require_registration - boolean - Show a registration page that captures the downloader's name and email address?
377
377
  // require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
378
378
  // send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
@@ -707,7 +707,7 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
707
707
  // code - string - Bundle code. This code forms the end part of the Public URL.
708
708
  // path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
709
709
  // permissions - string - Permissions that apply to Folders in this Share Link.
710
- // preview_only - boolean - Restrict users to previewing files only?
710
+ // preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
711
711
  // require_registration - boolean - Show a registration page that captures the downloader's name and email address?
712
712
  // clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
713
713
  // inbox_id - int64 - ID of the associated inbox, if available.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.280",
3
+ "version": "1.0.281",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -58,7 +58,7 @@ class Bundle {
58
58
  this.attributes.permissions = value
59
59
  }
60
60
 
61
- // boolean # Restrict users to previewing files only?
61
+ // boolean # DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
62
62
  getPreviewOnly = () => this.attributes.preview_only
63
63
 
64
64
  setPreviewOnly = value => {
@@ -330,7 +330,7 @@ class Bundle {
330
330
  // note - string - Bundle internal note
331
331
  // path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
332
332
  // permissions - string - Permissions that apply to Folders in this Share Link.
333
- // preview_only - boolean - Restrict users to previewing files only?
333
+ // preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
334
334
  // require_registration - boolean - Show a registration page that captures the downloader's name and email address?
335
335
  // require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
336
336
  // send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
@@ -513,7 +513,7 @@ class Bundle {
513
513
  // code - string - Bundle code. This code forms the end part of the Public URL.
514
514
  // path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
515
515
  // permissions - string - Permissions that apply to Folders in this Share Link.
516
- // preview_only - boolean - Restrict users to previewing files only?
516
+ // preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
517
517
  // require_registration - boolean - Show a registration page that captures the downloader's name and email address?
518
518
  // clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
519
519
  // inbox_id - int64 - ID of the associated inbox, if available.