files.com 1.1.609 → 1.1.611

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: 0141b45b7feb4472e1f7b7452ec2f6db80187cbc7682e200f2f51ea1eb07f597
4
- data.tar.gz: 83705f870364c1b6a06ca1ac7c944a25f340d196c9c2c286b3ab24b0f89a360f
3
+ metadata.gz: 3432e78be8fec703fb02df31bd3bef2b4569eaeb35e3b29e2de88bfe0c964826
4
+ data.tar.gz: 43c0c80c0e1f86defb2ab0b0f70f9333266173ccb73debac0e0e6add74aee253
5
5
  SHA512:
6
- metadata.gz: 5911fe0749e5015fbba0365a1c6d1bf9d19f6c483941c6e9d2b4d6ed630d4f76c85fa05cae286dfeda0ec9cb4f7416ba4da29759bb3d1a98aa5f7915302d1289
7
- data.tar.gz: 522f663240d45389edfa63015967a9e562ce684c48f165e2dd18c1e9ab0f516421d1bfc126634fba62373d7b6172f96ad51a83c3345aa9c8b31c46c29aef2ca9
6
+ metadata.gz: 4d06f3db670f41c8c4c97f895a18a63bf672516680d63a2288a31451437ebef19267f766efdaead6f1d9c5b1b2f7917a42721c7dc5e32aa6ae9b101a1de5919d
7
+ data.tar.gz: 016e1a803fe86d1ba0c00e93627a520de9d86cc52cae0e9feed0e7e13bc5eb2b20ce7f9d63ad72913ed6b38aa6baeaea74a4f5261c10fb9bafb27be2a62689f7
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.609
1
+ 1.1.611
data/docs/behavior.md CHANGED
@@ -26,7 +26,7 @@
26
26
  * `description` (string): Description for this behavior.
27
27
  * `value` (object): Settings for this behavior. See the section above for an example value to provide here. Formatting is different for each Behavior type. May be sent as nested JSON or a single JSON-encoded string. If using XML encoding for the API call, this data must be sent as a JSON-encoded string.
28
28
  * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
29
- * `recursive` (boolean): Is behavior recursive?
29
+ * `recursive` (boolean): Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
30
30
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
31
31
  * `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
32
32
 
@@ -101,7 +101,7 @@ Files::Behavior.create(
101
101
  * `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
102
102
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
103
103
  * `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
104
- * `recursive` (boolean): If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
104
+ * `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
105
105
  * `name` (string): Name for this behavior.
106
106
  * `description` (string): Description for this behavior.
107
107
  * `path` (string): Required - Path where this behavior should apply.
@@ -153,7 +153,7 @@ Files::Behavior.update(id,
153
153
  * `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
154
154
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
155
155
  * `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
156
- * `recursive` (boolean): If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
156
+ * `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
157
157
  * `name` (string): Name for this behavior.
158
158
  * `description` (string): Description for this behavior.
159
159
  * `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
@@ -195,7 +195,7 @@ behavior.update(
195
195
  * `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
196
196
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
197
197
  * `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
198
- * `recursive` (boolean): If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
198
+ * `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
199
199
  * `name` (string): Name for this behavior.
200
200
  * `description` (string): Description for this behavior.
201
201
  * `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
data/docs/bundle.md CHANGED
@@ -55,6 +55,7 @@
55
55
  "start_access_on_date": "2000-01-01T01:00:00Z",
56
56
  "skip_company": true,
57
57
  "id": 1,
58
+ "bypasses_site_expiration_rules": true,
58
59
  "created_at": "2000-01-01T01:00:00Z",
59
60
  "dont_separate_submissions_by_folder": true,
60
61
  "max_uses": 1,
@@ -112,6 +113,7 @@
112
113
  * `start_access_on_date` (date-time): Date when share will start to be accessible. If `nil` access granted right after create.
113
114
  * `skip_company` (boolean): BundleRegistrations can be saved without providing company?
114
115
  * `id` (int64): Bundle ID
116
+ * `bypasses_site_expiration_rules` (boolean): If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
115
117
  * `created_at` (date-time): Bundle created at date/time
116
118
  * `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.
117
119
  * `max_uses` (int64): Maximum number of times bundle can be accessed
@@ -156,7 +158,7 @@ Files::Bundle.list(
156
158
  * `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.
157
159
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
158
160
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
159
- * `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 ]`.
161
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ user_id, expires_at ]`.
160
162
  * `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`.
161
163
  * `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`.
162
164
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -186,6 +188,7 @@ Files::Bundle.create(
186
188
  user_id: 1,
187
189
  paths: ["file.txt"],
188
190
  password: "Password",
191
+ bypasses_site_expiration_rules: true,
189
192
  form_field_set_id: 1,
190
193
  create_snapshot: false,
191
194
  dont_separate_submissions_by_folder: true,
@@ -218,6 +221,7 @@ Files::Bundle.create(
218
221
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
219
222
  * `paths` (array(string)): Required - A list of paths to include in this bundle.
220
223
  * `password` (string): Password for this bundle.
224
+ * `bypasses_site_expiration_rules` (boolean): If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
221
225
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
222
226
  * `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
223
227
  * `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.
@@ -273,6 +277,7 @@ Files::Bundle.share(id,
273
277
  Files::Bundle.update(id,
274
278
  paths: ["file.txt"],
275
279
  password: "Password",
280
+ bypasses_site_expiration_rules: true,
276
281
  form_field_set_id: 1,
277
282
  clickwrap_id: 1,
278
283
  code: "abc123",
@@ -306,6 +311,7 @@ Files::Bundle.update(id,
306
311
  * `id` (int64): Required - Bundle ID.
307
312
  * `paths` (array(string)): A list of paths to include in this bundle.
308
313
  * `password` (string): Password for this bundle.
314
+ * `bypasses_site_expiration_rules` (boolean): If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
309
315
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
310
316
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
311
317
  * `code` (string): Bundle code. This code forms the end part of the Public URL.
@@ -379,6 +385,7 @@ bundle = Files::Bundle.find(id)
379
385
  bundle.update(
380
386
  paths: ["file.txt"],
381
387
  password: "Password",
388
+ bypasses_site_expiration_rules: true,
382
389
  form_field_set_id: 1,
383
390
  clickwrap_id: 1,
384
391
  code: "abc123",
@@ -412,6 +419,7 @@ bundle.update(
412
419
  * `id` (int64): Required - Bundle ID.
413
420
  * `paths` (array(string)): A list of paths to include in this bundle.
414
421
  * `password` (string): Password for this bundle.
422
+ * `bypasses_site_expiration_rules` (boolean): If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
415
423
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
416
424
  * `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
417
425
  * `code` (string): Bundle code. This code forms the end part of the Public URL.
data/docs/sso_strategy.md CHANGED
@@ -46,6 +46,7 @@
46
46
  "ldap_base_dn": "example",
47
47
  "ldap_domain": "mysite.com",
48
48
  "enabled": true,
49
+ "display_on_login_page": true,
49
50
  "ldap_host": "ldap.site.com",
50
51
  "ldap_host_2": "ldap2.site.com",
51
52
  "ldap_host_3": "ldap3.site.com",
@@ -98,6 +99,7 @@
98
99
  * `ldap_base_dn` (string): Base DN for looking up users in LDAP server
99
100
  * `ldap_domain` (string): Domain name that will be appended to LDAP usernames
100
101
  * `enabled` (boolean): Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
102
+ * `display_on_login_page` (boolean): Should this strategy be displayed on the login page?
101
103
  * `ldap_host` (string): LDAP host
102
104
  * `ldap_host_2` (string): LDAP backup host
103
105
  * `ldap_host_3` (string): LDAP backup host
@@ -81,7 +81,7 @@ module Files
81
81
  @attributes[:disable_parent_folder_behavior] = value
82
82
  end
83
83
 
84
- # boolean - Is behavior recursive?
84
+ # boolean - Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
85
85
  def recursive
86
86
  @attributes[:recursive]
87
87
  end
@@ -112,7 +112,7 @@ module Files
112
112
  # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
113
113
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
114
114
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
115
- # recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
115
+ # recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
116
116
  # name - string - Name for this behavior.
117
117
  # description - string - Description for this behavior.
118
118
  # attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
@@ -216,7 +216,7 @@ module Files
216
216
  # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
217
217
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
218
218
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
219
- # recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
219
+ # recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
220
220
  # name - string - Name for this behavior.
221
221
  # description - string - Description for this behavior.
222
222
  # path (required) - string - Path where this behavior should apply.
@@ -258,7 +258,7 @@ module Files
258
258
  # value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
259
259
  # attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
260
260
  # disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
261
- # recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
261
+ # recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
262
262
  # name - string - Name for this behavior.
263
263
  # description - string - Description for this behavior.
264
264
  # attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
@@ -207,6 +207,15 @@ module Files
207
207
  @attributes[:id] = value
208
208
  end
209
209
 
210
+ # boolean - If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
211
+ def bypasses_site_expiration_rules
212
+ @attributes[:bypasses_site_expiration_rules]
213
+ end
214
+
215
+ def bypasses_site_expiration_rules=(value)
216
+ @attributes[:bypasses_site_expiration_rules] = value
217
+ end
218
+
210
219
  # date-time - Bundle created at date/time
211
220
  def created_at
212
221
  @attributes[:created_at]
@@ -459,6 +468,7 @@ module Files
459
468
  # Parameters:
460
469
  # paths - array(string) - A list of paths to include in this bundle.
461
470
  # password - string - Password for this bundle.
471
+ # bypasses_site_expiration_rules - boolean - If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
462
472
  # form_field_set_id - int64 - Id of Form Field Set to use with this bundle
463
473
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
464
474
  # code - string - Bundle code. This code forms the end part of the Public URL.
@@ -542,7 +552,7 @@ module Files
542
552
  # 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.
543
553
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
544
554
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
545
- # 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 ]`.
555
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ user_id, expires_at ]`.
546
556
  # 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`.
547
557
  # 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`.
548
558
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -589,6 +599,7 @@ module Files
589
599
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
590
600
  # paths (required) - array(string) - A list of paths to include in this bundle.
591
601
  # password - string - Password for this bundle.
602
+ # bypasses_site_expiration_rules - boolean - If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
592
603
  # form_field_set_id - int64 - Id of Form Field Set to use with this bundle
593
604
  # create_snapshot - boolean - If true, create a snapshot of this bundle's contents.
594
605
  # 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.
@@ -660,6 +671,7 @@ module Files
660
671
  # Parameters:
661
672
  # paths - array(string) - A list of paths to include in this bundle.
662
673
  # password - string - Password for this bundle.
674
+ # bypasses_site_expiration_rules - boolean - If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
663
675
  # form_field_set_id - int64 - Id of Form Field Set to use with this bundle
664
676
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
665
677
  # code - string - Bundle code. This code forms the end part of the Public URL.
@@ -219,6 +219,11 @@ module Files
219
219
  @attributes[:enabled]
220
220
  end
221
221
 
222
+ # boolean - Should this strategy be displayed on the login page?
223
+ def display_on_login_page
224
+ @attributes[:display_on_login_page]
225
+ end
226
+
222
227
  # string - LDAP host
223
228
  def ldap_host
224
229
  @attributes[:ldap_host]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.609"
4
+ VERSION = "1.1.611"
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.609
4
+ version: 1.1.611
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-04-23 00:00:00.000000000 Z
11
+ date: 2026-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable