files.com 1.0.354 → 1.0.356

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a7cdfdd8ed2bbf363671ae295cfedaf423c62ffec15c24b8376e65fe3c6d067
4
- data.tar.gz: a2bec3edfdcc0c313f5fe55f7ca9a22e71498c0340fe2cd665bd8ae7bfd9e6bc
3
+ metadata.gz: 61319db349ecd31f703bd5f214d3da99860a527606c1a1e6add8c0eb1a0b0932
4
+ data.tar.gz: 6849cbc371d5c4fcf7716c709273840524387282b6c9eba435c5932302a97911
5
5
  SHA512:
6
- metadata.gz: d7514f8d5e31b71cf5c5c30d5c0fd8171b84cd971e92107b66a31435cd363ad9077877e02aee0cf854046cd21cfe420904a2bedf542670b8bf15b87b7e3667d0
7
- data.tar.gz: d7552b02ac39ac08d02db86bc2a13608a97c4da0ca74b3d517bfff7f5713b9e0c43eb42ef1d3f0065d68de5e4a9da55f1e394cf7524f43c4b4e81868c715cd06
6
+ metadata.gz: baa9c85b88f8eeb5907b7dc90a344d8be57f3510f4c5147f0ad08d6708b8bbb036a79f8b885f0ba122dcf3cefbbd864528899bd50308683061c8c5ba312f3210
7
+ data.tar.gz: 48d6b8b9f4869aa29459681a5ac402367183958888b75f5d706c6ca8eac438ff0f512d18c766dc5b61d85426e7d57e33dacdf932b4a6688c86e888d0c3cad603
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.354
1
+ 1.0.356
data/docs/bundle.md CHANGED
@@ -7,6 +7,7 @@
7
7
  "code": "abc123",
8
8
  "url": "https://subdomain.files.com/f/12345678",
9
9
  "description": "The public description of the bundle.",
10
+ "expires_at": "2000-01-01T01:00:00Z",
10
11
  "password_protected": true,
11
12
  "permissions": "read",
12
13
  "preview_only": true,
@@ -35,7 +36,6 @@
35
36
  "id": 1,
36
37
  "created_at": "2000-01-01T01:00:00Z",
37
38
  "dont_separate_submissions_by_folder": true,
38
- "expires_at": "2000-01-01T01:00:00Z",
39
39
  "max_uses": 1,
40
40
  "note": "The internal note on the bundle.",
41
41
  "path_template": "{{name}}_{{ip}}",
@@ -59,9 +59,10 @@
59
59
  * `code` (string): Bundle code. This code forms the end part of the Public URL.
60
60
  * `url` (string): Public URL of Share Link
61
61
  * `description` (string): Public description
62
+ * `expires_at` (date-time): Bundle expiration date/time
62
63
  * `password_protected` (boolean): Is this bundle password protected?
63
64
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
64
- * `preview_only` (boolean): Restrict users to previewing files only?
65
+ * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
65
66
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
66
67
  * `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
68
  * `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
@@ -72,7 +73,6 @@
72
73
  * `id` (int64): Bundle ID
73
74
  * `created_at` (date-time): Bundle created at date/time
74
75
  * `dont_separate_submissions_by_folder` (boolean): Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
75
- * `expires_at` (date-time): Bundle expiration date/time
76
76
  * `max_uses` (int64): Maximum number of times bundle can be accessed
77
77
  * `note` (string): Bundle internal note
78
78
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
@@ -180,7 +180,7 @@ Files::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.
@@ -263,7 +263,7 @@ Files::Bundle.update(id,
263
263
  * `note` (string): Bundle internal note
264
264
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
265
265
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
266
- * `preview_only` (boolean): Restrict users to previewing files only?
266
+ * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
267
267
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
268
268
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
269
269
  * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
@@ -361,7 +361,7 @@ bundle.update(
361
361
  * `note` (string): Bundle internal note
362
362
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
363
363
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
364
- * `preview_only` (boolean): Restrict users to previewing files only?
364
+ * `preview_only` (boolean): DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
365
365
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
366
366
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
367
367
  * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
@@ -36,6 +36,15 @@ module Files
36
36
  @attributes[:description] = value
37
37
  end
38
38
 
39
+ # date-time - Bundle expiration date/time
40
+ def expires_at
41
+ @attributes[:expires_at]
42
+ end
43
+
44
+ def expires_at=(value)
45
+ @attributes[:expires_at] = value
46
+ end
47
+
39
48
  # boolean - Is this bundle password protected?
40
49
  def password_protected
41
50
  @attributes[:password_protected]
@@ -54,7 +63,7 @@ module Files
54
63
  @attributes[:permissions] = value
55
64
  end
56
65
 
57
- # boolean - Restrict users to previewing files only?
66
+ # boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
58
67
  def preview_only
59
68
  @attributes[:preview_only]
60
69
  end
@@ -149,15 +158,6 @@ module Files
149
158
  @attributes[:dont_separate_submissions_by_folder] = value
150
159
  end
151
160
 
152
- # date-time - Bundle expiration date/time
153
- def expires_at
154
- @attributes[:expires_at]
155
- end
156
-
157
- def expires_at=(value)
158
- @attributes[:expires_at] = value
159
- end
160
-
161
161
  # int64 - Maximum number of times bundle can be accessed
162
162
  def max_uses
163
163
  @attributes[:max_uses]
@@ -364,7 +364,7 @@ module Files
364
364
  # note - string - Bundle internal note
365
365
  # path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
366
366
  # permissions - string - Permissions that apply to Folders in this Share Link.
367
- # preview_only - boolean - Restrict users to previewing files only?
367
+ # preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
368
368
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
369
369
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
370
370
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
@@ -479,7 +479,7 @@ module Files
479
479
  # code - string - Bundle code. This code forms the end part of the Public URL.
480
480
  # path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
481
481
  # permissions - string - Permissions that apply to Folders in this Share Link.
482
- # preview_only - boolean - Restrict users to previewing files only?
482
+ # preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
483
483
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
484
484
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
485
485
  # inbox_id - int64 - ID of the associated inbox, if available.
@@ -546,7 +546,7 @@ module Files
546
546
  # note - string - Bundle internal note
547
547
  # path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, and any custom form data.
548
548
  # permissions - string - Permissions that apply to Folders in this Share Link.
549
- # preview_only - boolean - Restrict users to previewing files only?
549
+ # preview_only - boolean - DEPRECATED: Restrict users to previewing files only. Use `permissions` instead.
550
550
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
551
551
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
552
552
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.354
4
+ version: 1.0.356
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable