files.com 1.0.254 → 1.0.255

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: 3b02c1d15b2e559465baa4f5ce9b7977b0b4a8fb2267366846e1160d68cbbff1
4
- data.tar.gz: 9e81299c84cfec2a425636a5fa57f5ad5d76395002e550e438ca995be8cdbb53
3
+ metadata.gz: d1052dbfdcdc10cd5ad4292709fd702ec58b39aa8d201b44fdac02ec00e90d80
4
+ data.tar.gz: 1d4137b4e1813aa2182aa2ed2c5b0a9b9c8be36face51277adb06270e7c47d84
5
5
  SHA512:
6
- metadata.gz: 8d676beb9bb1b9b42dfe798cdbd39a43b50498dccf4a8baabf0fcaec5113e2526faa6a005d6e22887c34b7489e90932edb1d714cc51f2a1a7156374d6cc9f560
7
- data.tar.gz: 03c56d72c665ce6aed3c191a13505bd761eed37f2834bd88fb9e1e5a3bf8a43468f18ff1f3a020793c2e78c3923ad3bed383521f20dfd3d88d993352f2fb66c4
6
+ metadata.gz: cb78b76f70cccf4929ac7ddfcd60413fd31098ed1170d7ab878087658e8b653333de165ab9b99f8fdc6e3faf2ed37c11c7a85885762c263135250e3aa9c700bd
7
+ data.tar.gz: 25c6297a670e1f3ca12c3c26b168bb48fae9e788a49d87bc0cd2cc2b177677c98637bbe2c14e13a89d0c8447f4fd4dd57d1dc321008048bf0f5586388a1ee98f
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.254
1
+ 1.0.255
data/docs/bundle.md CHANGED
@@ -151,7 +151,10 @@ Files::Bundle.create(
151
151
  require_registration: true,
152
152
  clickwrap_id: 1,
153
153
  inbox_id: 1,
154
- require_share_recipient: true
154
+ require_share_recipient: true,
155
+ skip_email: true,
156
+ skip_name: true,
157
+ skip_company: true
155
158
  )
156
159
  ```
157
160
 
@@ -171,6 +174,9 @@ Files::Bundle.create(
171
174
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
172
175
  * `inbox_id` (int64): ID of the associated inbox, if available.
173
176
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
177
+ * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
178
+ * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
179
+ * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
174
180
  * `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
175
181
 
176
182
 
@@ -213,6 +219,9 @@ Files::Bundle.update(id,
213
219
  preview_only: true,
214
220
  require_registration: true,
215
221
  require_share_recipient: true,
222
+ skip_email: true,
223
+ skip_name: true,
224
+ skip_company: true,
216
225
  watermark_attachment_delete: true
217
226
  )
218
227
  ```
@@ -233,6 +242,9 @@ Files::Bundle.update(id,
233
242
  * `preview_only` (boolean): Restrict users to previewing files only?
234
243
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
235
244
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
245
+ * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
246
+ * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
247
+ * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
236
248
  * `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
237
249
  * `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
238
250
 
@@ -293,6 +305,9 @@ bundle.update(
293
305
  preview_only: true,
294
306
  require_registration: true,
295
307
  require_share_recipient: true,
308
+ skip_email: true,
309
+ skip_name: true,
310
+ skip_company: true,
296
311
  watermark_attachment_delete: true
297
312
  )
298
313
  ```
@@ -313,6 +328,9 @@ bundle.update(
313
328
  * `preview_only` (boolean): Restrict users to previewing files only?
314
329
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
315
330
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
331
+ * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
332
+ * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
333
+ * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
316
334
  * `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
317
335
  * `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
318
336
 
@@ -299,6 +299,9 @@ module Files
299
299
  # preview_only - boolean - Restrict users to previewing files only?
300
300
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
301
301
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
302
+ # skip_email - boolean - BundleRegistrations can be saved without providing email?
303
+ # skip_name - boolean - BundleRegistrations can be saved without providing name?
304
+ # skip_company - boolean - BundleRegistrations can be saved without providing company?
302
305
  # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
303
306
  # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
304
307
  def update(params = {})
@@ -407,6 +410,9 @@ module Files
407
410
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
408
411
  # inbox_id - int64 - ID of the associated inbox, if available.
409
412
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
413
+ # skip_email - boolean - BundleRegistrations can be saved without providing email?
414
+ # skip_name - boolean - BundleRegistrations can be saved without providing name?
415
+ # skip_company - boolean - BundleRegistrations can be saved without providing company?
410
416
  # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
411
417
  def self.create(params = {}, options = {})
412
418
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -459,6 +465,9 @@ module Files
459
465
  # preview_only - boolean - Restrict users to previewing files only?
460
466
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
461
467
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
468
+ # skip_email - boolean - BundleRegistrations can be saved without providing email?
469
+ # skip_name - boolean - BundleRegistrations can be saved without providing name?
470
+ # skip_company - boolean - BundleRegistrations can be saved without providing company?
462
471
  # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
463
472
  # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
464
473
  def self.update(id, params = {}, options = {})
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.254
4
+ version: 1.0.255
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-31 00:00:00.000000000 Z
11
+ date: 2022-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable