files.com 1.1.473 → 1.1.475

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: e0e8254f3bcfc4f4e5d872f43464998faa0f9795bc5eb47438c36d418fcdbfd0
4
- data.tar.gz: 85a3cbf494bf5618d6a829945a6da3f21ffa79b596a41fecd7db525233d7db83
3
+ metadata.gz: e81c1ceb52b4f843f50ce068b0a6ca3542dfe539fb8ba93bc63a9b25df592f0b
4
+ data.tar.gz: 13e97c0ada38e0c1d87d95208da9b0b1c184e163e90e79a188b1554752d28a6e
5
5
  SHA512:
6
- metadata.gz: 8189ad0717228652bb907d203fdb4772e77405433e7a0a50a5ba9cbfa3e01403a708cb4e3dd6156669ec30239671c4bfa75244e9e7df1672c2ca036f881fa0ba
7
- data.tar.gz: c51ccab3b039cb77ea0265501c2a797b7824ab9464164f2ab20d6b41c64b0fbc58987c92bb359f1c153f135128c75c3bf4f6503b3c5275b76fa02f72763ad985
6
+ metadata.gz: 8f399dc5845b3a9b9e5a1309c2aeb277552959fc15d899cfe41d4ff1870f9325d8ead8125e32914eace512d9db90820abe196b1cf98464bb3a937af686652e16
7
+ data.tar.gz: e1f1ad8fd4e7e99121bb8818c0ba5b89b42704de4aaf46c768ccccb444cb98beb613c77981f701a1affc6d6e96536aedf2e6ab226199323ba29ccb918107ee1c
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.473
1
+ 1.1.475
data/docs/bundle.md CHANGED
@@ -74,6 +74,7 @@
74
74
  "watermark_value": {
75
75
  "key": "example value"
76
76
  },
77
+ "send_one_time_password_to_recipient_at_registration": true,
77
78
  "has_inbox": true,
78
79
  "dont_allow_folders_in_uploads": true,
79
80
  "paths": [
@@ -124,6 +125,7 @@
124
125
  * `inbox_id` (int64): ID of the associated inbox, if available.
125
126
  * `watermark_attachment` (Image): Preview watermark image applied to all bundle items.
126
127
  * `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
128
+ * `send_one_time_password_to_recipient_at_registration` (boolean): If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
127
129
  * `has_inbox` (boolean): Does this bundle have an associated inbox?
128
130
  * `dont_allow_folders_in_uploads` (boolean): Should folder uploads be prevented?
129
131
  * `paths` (array(string)): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
@@ -152,7 +154,7 @@ Files::Bundle.list(
152
154
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
153
155
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
154
156
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
155
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
157
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
156
158
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
157
159
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
158
160
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -198,6 +200,7 @@ Files::Bundle.create(
198
200
  clickwrap_id: 1,
199
201
  inbox_id: 1,
200
202
  require_share_recipient: false,
203
+ send_one_time_password_to_recipient_at_registration: true,
201
204
  send_email_receipt_to_uploader: true,
202
205
  skip_email: true,
203
206
  skip_name: true,
@@ -228,6 +231,7 @@ Files::Bundle.create(
228
231
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
229
232
  * `inbox_id` (int64): ID of the associated inbox, if available.
230
233
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
234
+ * `send_one_time_password_to_recipient_at_registration` (boolean): If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
231
235
  * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
232
236
  * `skip_email` (boolean): BundleRegistrations can be saved without providing email?
233
237
  * `skip_name` (boolean): BundleRegistrations can be saved without providing name?
@@ -281,6 +285,7 @@ Files::Bundle.update(id,
281
285
  permissions: "read",
282
286
  require_registration: false,
283
287
  require_share_recipient: false,
288
+ send_one_time_password_to_recipient_at_registration: true,
284
289
  send_email_receipt_to_uploader: true,
285
290
  skip_company: true,
286
291
  start_access_on_date: "2000-01-01T01:00:00Z",
@@ -312,6 +317,7 @@ Files::Bundle.update(id,
312
317
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
313
318
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
314
319
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
320
+ * `send_one_time_password_to_recipient_at_registration` (boolean): If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
315
321
  * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
316
322
  * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
317
323
  * `start_access_on_date` (string): Date when share will start to be accessible. If `nil` access granted right after create.
@@ -383,6 +389,7 @@ bundle.update(
383
389
  permissions: "read",
384
390
  require_registration: false,
385
391
  require_share_recipient: false,
392
+ send_one_time_password_to_recipient_at_registration: true,
386
393
  send_email_receipt_to_uploader: true,
387
394
  skip_company: true,
388
395
  start_access_on_date: "2000-01-01T01:00:00Z",
@@ -414,6 +421,7 @@ bundle.update(
414
421
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
415
422
  * `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
416
423
  * `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
424
+ * `send_one_time_password_to_recipient_at_registration` (boolean): If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
417
425
  * `send_email_receipt_to_uploader` (boolean): Send delivery receipt to the uploader. Note: For writable share only
418
426
  * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
419
427
  * `start_access_on_date` (string): Date when share will start to be accessible. If `nil` access granted right after create.
@@ -329,6 +329,15 @@ module Files
329
329
  @attributes[:watermark_value] = value
330
330
  end
331
331
 
332
+ # boolean - If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
333
+ def send_one_time_password_to_recipient_at_registration
334
+ @attributes[:send_one_time_password_to_recipient_at_registration]
335
+ end
336
+
337
+ def send_one_time_password_to_recipient_at_registration=(value)
338
+ @attributes[:send_one_time_password_to_recipient_at_registration] = value
339
+ end
340
+
332
341
  # boolean - Does this bundle have an associated inbox?
333
342
  def has_inbox
334
343
  @attributes[:has_inbox]
@@ -457,6 +466,7 @@ module Files
457
466
  # permissions - string - Permissions that apply to Folders in this Share Link.
458
467
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
459
468
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
469
+ # send_one_time_password_to_recipient_at_registration - boolean - If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
460
470
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
461
471
  # skip_company - boolean - BundleRegistrations can be saved without providing company?
462
472
  # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
@@ -521,7 +531,7 @@ module Files
521
531
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
522
532
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
523
533
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
524
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
534
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
525
535
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
526
536
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
527
537
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -584,6 +594,7 @@ module Files
584
594
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
585
595
  # inbox_id - int64 - ID of the associated inbox, if available.
586
596
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
597
+ # send_one_time_password_to_recipient_at_registration - boolean - If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
587
598
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
588
599
  # skip_email - boolean - BundleRegistrations can be saved without providing email?
589
600
  # skip_name - boolean - BundleRegistrations can be saved without providing name?
@@ -652,6 +663,7 @@ module Files
652
663
  # permissions - string - Permissions that apply to Folders in this Share Link.
653
664
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
654
665
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
666
+ # send_one_time_password_to_recipient_at_registration - boolean - If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
655
667
  # send_email_receipt_to_uploader - boolean - Send delivery receipt to the uploader. Note: For writable share only
656
668
  # skip_company - boolean - BundleRegistrations can be saved without providing company?
657
669
  # start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.473"
4
+ VERSION = "1.1.475"
5
5
  end
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.1.473
4
+ version: 1.1.475
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-09 00:00:00.000000000 Z
11
+ date: 2026-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable