files.com 1.1.738 → 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: cb2509356926a0a3708b056408eb442fcf63abef3977fe8b3c963ea2e8596f32
4
- data.tar.gz: 4e7513f71151a43f87cb6abbf0cea63cb91df61d7cdf8a087ba345b310125a8d
3
+ metadata.gz: 58f07bfe5e8d2be7cc7371fb18debc668f2ee92bcd65acf1d3146452e0b55d8c
4
+ data.tar.gz: 9257ec5ee62df6fac09565466d2d69e712b23a4eefad33a7987829cc32468662
5
5
  SHA512:
6
- metadata.gz: '0329c8d20a9c7292d430307b2fa03b364a4c8e9ca8ab27ca20abfc5c49c8e6eb9a575194a3c5e8fea1e0d0d15a707bf39d97a16fa6fb786753666279f730f6b0'
7
- data.tar.gz: 1cfa331c574d3c657794298f1a92f09171a8e11be7e8cc5d223f6266082a8845ea55e31b70306bc143723eba9e321182af38c9152eba11cba40672ad78f6d4ba
6
+ metadata.gz: cf67a88f9c55d56a97aae4f5f53ec65c161a86199fc8d2fd2e842bf594198877d5afcd6761dc8eaec89d0a7954797604bcbea2a4a5c4e89b9fcfb0fe81c0e85b
7
+ data.tar.gz: c8b0a5262b1ec2e6fc5b79ceaa45361e5d440867b5b9efc06f1621a9d31c4ff2f2b434bbee61c169c6ef9b0a496d8d8ea52bcc4e3c86dd4f4626f077da4d38be
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.738
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
data/docs/group_user.md CHANGED
@@ -35,7 +35,7 @@ Files::GroupUser.list(
35
35
 
36
36
  * `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.
37
37
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
38
- * `group_id` (int64): Group ID. If provided, will return group_users of this group.
38
+ * `group_id` (int64): Group ID. If provided, returns memberships of this group. Requires a Site Administrator, a Read-only Administrator, a Workspace Administrator for the group's workspace, or a Group Administrator of this group.
39
39
  * `user_id` (int64): User ID. If provided, will return group_users of this user.
40
40
 
41
41
 
data/docs/user.md CHANGED
@@ -567,7 +567,7 @@ Files::User.update(id,
567
567
  * `user_home` (string): Home folder for FTP/SFTP. For users with the partner_root filesystem layout, this path is relative to the Partner root folder. In all other cases, it is an absolute path. Only applies to FTP and SFTP, and not any other interface.
568
568
  * `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
569
569
  * `username` (string): User's username
570
- * `workspace_id` (int64): Workspace ID
570
+ * `workspace_id` (int64): Workspace ID. Only Site Administrators can change this field. Values supplied by Workspace Administrators, Group Administrators, or other non-Site Administrators using `/user` are ignored.
571
571
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
572
572
  * `convert_to_partner_user` (boolean): Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
573
573
 
@@ -779,7 +779,7 @@ user.update(
779
779
  * `user_home` (string): Home folder for FTP/SFTP. For users with the partner_root filesystem layout, this path is relative to the Partner root folder. In all other cases, it is an absolute path. Only applies to FTP and SFTP, and not any other interface.
780
780
  * `workspace_admin` (boolean): Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
781
781
  * `username` (string): User's username
782
- * `workspace_id` (int64): Workspace ID
782
+ * `workspace_id` (int64): Workspace ID. Only Site Administrators can change this field. Values supplied by Workspace Administrators, Group Administrators, or other non-Site Administrators using `/user` are ignored.
783
783
  * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
784
784
  * `convert_to_partner_user` (boolean): Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
785
785
 
@@ -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
@@ -117,7 +117,7 @@ module Files
117
117
  # Parameters:
118
118
  # 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.
119
119
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
120
- # group_id - int64 - Group ID. If provided, will return group_users of this group.
120
+ # group_id - int64 - Group ID. If provided, returns memberships of this group. Requires a Site Administrator, a Read-only Administrator, a Workspace Administrator for the group's workspace, or a Group Administrator of this group.
121
121
  # user_id - int64 - User ID. If provided, will return group_users of this user.
122
122
  def self.list(params = {}, options = {})
123
123
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -1016,7 +1016,7 @@ module Files
1016
1016
  # user_home - string - Home folder for FTP/SFTP. For users with the partner_root filesystem layout, this path is relative to the Partner root folder. In all other cases, it is an absolute path. Only applies to FTP and SFTP, and not any other interface.
1017
1017
  # workspace_admin - boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
1018
1018
  # username - string - User's username
1019
- # workspace_id - int64 - Workspace ID
1019
+ # workspace_id - int64 - Workspace ID. Only Site Administrators can change this field. Values supplied by Workspace Administrators, Group Administrators, or other non-Site Administrators using `/user` are ignored.
1020
1020
  # clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
1021
1021
  # convert_to_partner_user - boolean - Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
1022
1022
  def update(params = {})
@@ -1364,7 +1364,7 @@ module Files
1364
1364
  # user_home - string - Home folder for FTP/SFTP. For users with the partner_root filesystem layout, this path is relative to the Partner root folder. In all other cases, it is an absolute path. Only applies to FTP and SFTP, and not any other interface.
1365
1365
  # workspace_admin - boolean - Is the user a Workspace administrator? Applicable only to the workspace ID related to this user, if one is set.
1366
1366
  # username - string - User's username
1367
- # workspace_id - int64 - Workspace ID
1367
+ # workspace_id - int64 - Workspace ID. Only Site Administrators can change this field. Values supplied by Workspace Administrators, Group Administrators, or other non-Site Administrators using `/user` are ignored.
1368
1368
  # clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
1369
1369
  # convert_to_partner_user - boolean - Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
1370
1370
  def self.update(id, params = {}, options = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.738"
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.738
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