files.com 1.1.739 → 1.1.740

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: fb068d7f5ccf84dd4eaeb364c3a75a47ebd4376c5db274aff41be1566f9277f5
4
- data.tar.gz: 9cf430859c53101d653932aaebae2d2eabf9a8c58371904577f95a65fc9e340c
3
+ metadata.gz: 58f07bfe5e8d2be7cc7371fb18debc668f2ee92bcd65acf1d3146452e0b55d8c
4
+ data.tar.gz: 9257ec5ee62df6fac09565466d2d69e712b23a4eefad33a7987829cc32468662
5
5
  SHA512:
6
- metadata.gz: 62be9c2f3cc6b99124f1453a5905fa2c74496eb22c483518f2a777a9d2562a6de234238e4daa697c981dfe1ecad2c08756acd6e957a32d33330192e383d60808
7
- data.tar.gz: 6734128ab21d20c4b9ee7610b9521741af530cabd3ddb7fb3f27072bac8b1914510152d5227b19597920d4caade047e51e78a0a4467ee781415049fff455353c
6
+ metadata.gz: cf67a88f9c55d56a97aae4f5f53ec65c161a86199fc8d2fd2e842bf594198877d5afcd6761dc8eaec89d0a7954797604bcbea2a4a5c4e89b9fcfb0fe81c0e85b
7
+ data.tar.gz: c8b0a5262b1ec2e6fc5b79ceaa45361e5d440867b5b9efc06f1621a9d31c4ff2f2b434bbee61c169c6ef9b0a496d8d8ea52bcc4e3c86dd4f4626f077da4d38be
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.739
1
+ 1.1.740
data/docs/bundle.md CHANGED
@@ -60,6 +60,7 @@
60
60
  "deleted": true,
61
61
  "deleted_at": "2000-01-01T01:00:00Z",
62
62
  "dont_separate_submissions_by_folder": true,
63
+ "effective_expires_at": "2000-01-01T01:00:00Z",
63
64
  "max_uses": 1,
64
65
  "internal_name": "Quarterly reports",
65
66
  "note": "The internal note on the bundle.",
@@ -110,7 +111,7 @@
110
111
  * `color_top_text` (string): Top bar text color
111
112
  * `url` (string): Public URL of Share Link
112
113
  * `description` (string): Public description
113
- * `expires_at` (date-time): Bundle expiration date/time
114
+ * `expires_at` (date-time): Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
114
115
  * `password_protected` (boolean): Is this bundle password protected?
115
116
  * `permissions` (string): Permissions that apply to Folders in this Share Link.
116
117
  * `preview_only` (boolean):
@@ -129,6 +130,7 @@
129
130
  * `deleted` (boolean): Indicates if the bundle has been deleted.
130
131
  * `deleted_at` (date-time): Bundle deleted at date/time
131
132
  * `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.
133
+ * `effective_expires_at` (date-time): Read-only expiration date/time, using the explicit expiration or the site-wide setting when applicable. Null when the Share Link does not expire.
132
134
  * `max_uses` (int64): Maximum number of times bundle can be accessed
133
135
  * `internal_name` (string): Internal name for identifying this Share Link.
134
136
  * `note` (string): Bundle internal note
@@ -249,7 +251,7 @@ Files::Bundle.create(
249
251
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
250
252
  * `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
251
253
  * `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.
252
- * `expires_at` (string): Bundle expiration date/time
254
+ * `expires_at` (string): Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
253
255
  * `finalize_snapshot` (boolean): If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
254
256
  * `max_uses` (int64): Maximum number of times bundle can be accessed
255
257
  * `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
@@ -348,7 +350,7 @@ Files::Bundle.update(id,
348
350
  * `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
349
351
  * `description` (string): Public description
350
352
  * `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.
351
- * `expires_at` (string): Bundle expiration date/time
353
+ * `expires_at` (string): Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
352
354
  * `finalize_snapshot` (boolean): If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
353
355
  * `inbox_id` (int64): ID of the associated inbox, if available.
354
356
  * `max_uses` (int64): Maximum number of times bundle can be accessed
@@ -462,7 +464,7 @@ bundle.update(
462
464
  * `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
463
465
  * `description` (string): Public description
464
466
  * `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.
465
- * `expires_at` (string): Bundle expiration date/time
467
+ * `expires_at` (string): Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
466
468
  * `finalize_snapshot` (boolean): If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
467
469
  * `inbox_id` (int64): ID of the associated inbox, if available.
468
470
  * `max_uses` (int64): Maximum number of times bundle can be accessed
@@ -81,7 +81,7 @@ module Files
81
81
  @attributes[:description] = value
82
82
  end
83
83
 
84
- # date-time - Bundle expiration date/time
84
+ # date-time - Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
85
85
  def expires_at
86
86
  @attributes[:expires_at]
87
87
  end
@@ -248,6 +248,15 @@ module Files
248
248
  @attributes[:dont_separate_submissions_by_folder] = value
249
249
  end
250
250
 
251
+ # date-time - Read-only expiration date/time, using the explicit expiration or the site-wide setting when applicable. Null when the Share Link does not expire.
252
+ def effective_expires_at
253
+ @attributes[:effective_expires_at]
254
+ end
255
+
256
+ def effective_expires_at=(value)
257
+ @attributes[:effective_expires_at] = value
258
+ end
259
+
251
260
  # int64 - Maximum number of times bundle can be accessed
252
261
  def max_uses
253
262
  @attributes[:max_uses]
@@ -520,7 +529,7 @@ module Files
520
529
  # create_snapshot - boolean - If true, create a snapshot of this bundle's contents.
521
530
  # description - string - Public description
522
531
  # 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.
523
- # expires_at - string - Bundle expiration date/time
532
+ # expires_at - string - Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
524
533
  # finalize_snapshot - boolean - If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
525
534
  # inbox_id - int64 - ID of the associated inbox, if available.
526
535
  # max_uses - int64 - Maximum number of times bundle can be accessed
@@ -655,7 +664,7 @@ module Files
655
664
  # form_field_set_id - int64 - Id of Form Field Set to use with this bundle
656
665
  # create_snapshot - boolean - If true, create a snapshot of this bundle's contents.
657
666
  # 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.
658
- # expires_at - string - Bundle expiration date/time
667
+ # expires_at - string - Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
659
668
  # finalize_snapshot - boolean - If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
660
669
  # max_uses - int64 - Maximum number of times bundle can be accessed
661
670
  # group_id - int64 - Owning group ID. If set, members of this group can view, edit, and share this Share Link.
@@ -736,7 +745,7 @@ module Files
736
745
  # create_snapshot - boolean - If true, create a snapshot of this bundle's contents.
737
746
  # description - string - Public description
738
747
  # 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.
739
- # expires_at - string - Bundle expiration date/time
748
+ # expires_at - string - Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
740
749
  # finalize_snapshot - boolean - If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
741
750
  # inbox_id - int64 - ID of the associated inbox, if available.
742
751
  # max_uses - int64 - Maximum number of times bundle can be accessed
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.739"
4
+ VERSION = "1.1.740"
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.739
4
+ version: 1.1.740
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-09-20 00:00:00.000000000 Z
11
+ date: 2026-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable