files.com 1.1.602 → 1.1.604

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: 407c1e78f55e57b83687bda6d5d67db52270cbcb27ccbbe98fc3938d5bf02253
4
- data.tar.gz: da5b4b864a77ef159883c2d18bed8c8b43a82d5e10e7e9db8d91f853329824f0
3
+ metadata.gz: b43f3d0bfddc0d6f61a286065abcae70be3dd14354d95d32ce5726458bde227c
4
+ data.tar.gz: 9687989b52bdbafc927e38d8af782f862c1bbcae08023c7a721923bcecc8a1eb
5
5
  SHA512:
6
- metadata.gz: c3e5980fcfed3128002c39455caf2c576cb3f25967a26f291289d8992e4f7ad45b12274de8ba74b8a4f5ebc33be8913fe6ec8724ef117fea625c0a3dcdcfcd3d
7
- data.tar.gz: 34ccb83648bd4e5191b575b4c5409c3bce10bab35364aee39c91e3382f03406d9800e040cd2a2e0003553ca53e2f917cf24eb9c49c0c5d0b8afd9f6910b7a6ee
6
+ metadata.gz: 29b921a4634b9007fc0ee22496fa1c53fd65bfe5d2f31f1b0235a6f06e8329ed406ad5604e1f5aa3800091305c3b594409c7b875f6c64b52e6c3b424ab07320b
7
+ data.tar.gz: 4fa83d7559385861df76ec3395c996eb7021f0de8bf2359fd0292429d8c2306e1baa24c1ad4e13db183330d5bc8e9dc535bf706a7474e65fd5d0ae9135ae4aa2
data/Gemfile.lock CHANGED
@@ -21,7 +21,7 @@ GEM
21
21
  ast (2.4.2)
22
22
  base64 (0.2.0)
23
23
  benchmark (0.4.1)
24
- bigdecimal (4.1.1)
24
+ bigdecimal (4.1.2)
25
25
  byebug (11.1.3)
26
26
  coderay (1.1.3)
27
27
  concurrent-ruby (1.1.10)
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.602
1
+ 1.1.604
@@ -56,6 +56,21 @@ Files::MetadataCategory.find(id)
56
56
  * `id` (int64): Required - Metadata Category ID.
57
57
 
58
58
 
59
+ ---
60
+
61
+ ## List Metadata Categories by Path
62
+
63
+ ```
64
+ Files::MetadataCategory.list_for(path)
65
+ ```
66
+
67
+ ### Parameters
68
+
69
+ * `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.
70
+ * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
71
+ * `path` (string): Required - Path to operate on.
72
+
73
+
59
74
  ---
60
75
 
61
76
  ## Create Metadata Category
data/docs/site.md CHANGED
@@ -92,6 +92,7 @@
92
92
  "group_admins_can_delete_users": true,
93
93
  "group_admins_can_enable_disable_users": true,
94
94
  "group_admins_can_modify_users": true,
95
+ "group_admins_can_bypass_user_lifecycle_rules": true,
95
96
  "group_admins_can_reset_passwords": true,
96
97
  "group_admins_can_set_user_password": true,
97
98
  "hipaa": true,
@@ -405,6 +406,7 @@
405
406
  * `group_admins_can_delete_users` (boolean): Allow group admins to delete users in their groups
406
407
  * `group_admins_can_enable_disable_users` (boolean): Allow group admins to enable or disable users in their groups
407
408
  * `group_admins_can_modify_users` (boolean): Allow group admins to modify users in their groups
409
+ * `group_admins_can_bypass_user_lifecycle_rules` (boolean): Allow group admins to exempt users in their groups from lifecycle rules
408
410
  * `group_admins_can_reset_passwords` (boolean): Allow group admins to reset passwords for users in their groups
409
411
  * `group_admins_can_set_user_password` (boolean): Allow group admins to set password authentication method
410
412
  * `hipaa` (boolean): Is there a signed HIPAA BAA between Files.com and this site?
@@ -642,6 +644,7 @@ Files::Site.update(
642
644
  group_admins_can_delete_users: false,
643
645
  group_admins_can_enable_disable_users: false,
644
646
  group_admins_can_modify_users: false,
647
+ group_admins_can_bypass_user_lifecycle_rules: false,
645
648
  group_admins_can_reset_passwords: false,
646
649
  group_admins_can_set_user_password: false,
647
650
  bundle_recipient_blacklist_free_email_domains: false,
@@ -812,6 +815,7 @@ Files::Site.update(
812
815
  * `group_admins_can_delete_users` (boolean): Allow group admins to delete users in their groups
813
816
  * `group_admins_can_enable_disable_users` (boolean): Allow group admins to enable or disable users in their groups
814
817
  * `group_admins_can_modify_users` (boolean): Allow group admins to modify users in their groups
818
+ * `group_admins_can_bypass_user_lifecycle_rules` (boolean): Allow group admins to exempt users in their groups from lifecycle rules
815
819
  * `group_admins_can_reset_passwords` (boolean): Allow group admins to reset passwords for users in their groups
816
820
  * `group_admins_can_set_user_password` (boolean): Allow group admins to set password authentication method
817
821
  * `bundle_recipient_blacklist_free_email_domains` (boolean): Disallow free email domains for Bundle/Inbox recipients?
data/docs/user.md CHANGED
@@ -188,7 +188,7 @@ Files::User.list(
188
188
  * `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.
189
189
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
190
190
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id`, `company`, `name`, `disabled`, `authenticate_until`, `username`, `email`, `site_admin`, `last_desktop_login_at`, `last_login_at`, `password_validity_days` or `ssl_required`.
191
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, site_admin ]`, `[ workspace_id, not_site_admin ]`, `[ workspace_id, disabled ]`, `[ workspace_id, partner_id ]`, `[ workspace_id, site_admin, username ]`, `[ workspace_id, not_site_admin, username ]`, `[ workspace_id, disabled, username ]`, `[ workspace_id, partner_id, username ]` or `[ workspace_id, company, name ]`.
191
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id`, `primary_group_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, site_admin ]`, `[ workspace_id, not_site_admin ]`, `[ workspace_id, disabled ]`, `[ workspace_id, partner_id ]`, `[ workspace_id, site_admin, username ]`, `[ workspace_id, not_site_admin, username ]`, `[ workspace_id, disabled, username ]`, `[ workspace_id, partner_id, username ]` or `[ workspace_id, company, name ]`.
192
192
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
193
193
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
194
194
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`. Valid field combinations are `[ company, name ]`.
@@ -5,7 +5,7 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "authentication_method": "password",
8
+ "authentication_method": "all_non_sso",
9
9
  "group_ids": [
10
10
  1,
11
11
  2,
@@ -26,7 +26,7 @@
26
26
  ```
27
27
 
28
28
  * `id` (int64): User Lifecycle Rule ID
29
- * `authentication_method` (string): User authentication method for which the rule will apply.
29
+ * `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
30
30
  * `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
31
31
  * `action` (string): Action to take on inactive users (disable or delete)
32
32
  * `inactivity_days` (int64): Number of days of inactivity before the rule applies
@@ -77,7 +77,7 @@ Files::UserLifecycleRule.find(id)
77
77
  ```
78
78
  Files::UserLifecycleRule.create(
79
79
  apply_to_all_workspaces: true,
80
- authentication_method: "password",
80
+ authentication_method: "all_non_sso",
81
81
  group_ids: [1,2,3],
82
82
  inactivity_days: 12,
83
83
  include_site_admins: true,
@@ -94,7 +94,7 @@ Files::UserLifecycleRule.create(
94
94
 
95
95
  * `action` (string): Action to take on inactive users (disable or delete)
96
96
  * `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
97
- * `authentication_method` (string): User authentication method for which the rule will apply.
97
+ * `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
98
98
  * `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
99
99
  * `inactivity_days` (int64): Number of days of inactivity before the rule applies
100
100
  * `include_site_admins` (boolean): If true, the rule will apply to site admins.
@@ -113,7 +113,7 @@ Files::UserLifecycleRule.create(
113
113
  ```
114
114
  Files::UserLifecycleRule.update(id,
115
115
  apply_to_all_workspaces: true,
116
- authentication_method: "password",
116
+ authentication_method: "all_non_sso",
117
117
  group_ids: [1,2,3],
118
118
  inactivity_days: 12,
119
119
  include_site_admins: true,
@@ -131,7 +131,7 @@ Files::UserLifecycleRule.update(id,
131
131
  * `id` (int64): Required - User Lifecycle Rule ID.
132
132
  * `action` (string): Action to take on inactive users (disable or delete)
133
133
  * `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
134
- * `authentication_method` (string): User authentication method for which the rule will apply.
134
+ * `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
135
135
  * `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
136
136
  * `inactivity_days` (int64): Number of days of inactivity before the rule applies
137
137
  * `include_site_admins` (boolean): If true, the rule will apply to site admins.
@@ -165,7 +165,7 @@ user_lifecycle_rule = Files::UserLifecycleRule.find(id)
165
165
 
166
166
  user_lifecycle_rule.update(
167
167
  apply_to_all_workspaces: true,
168
- authentication_method: "password",
168
+ authentication_method: "all_non_sso",
169
169
  group_ids: [1,2,3],
170
170
  inactivity_days: 12,
171
171
  include_site_admins: true,
@@ -183,7 +183,7 @@ user_lifecycle_rule.update(
183
183
  * `id` (int64): Required - User Lifecycle Rule ID.
184
184
  * `action` (string): Action to take on inactive users (disable or delete)
185
185
  * `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
186
- * `authentication_method` (string): User authentication method for which the rule will apply.
186
+ * `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
187
187
  * `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
188
188
  * `inactivity_days` (int64): Number of days of inactivity before the rule applies
189
189
  * `include_site_admins` (boolean): If true, the rule will apply to site admins.
@@ -120,6 +120,23 @@ module Files
120
120
  find(id, params, options)
121
121
  end
122
122
 
123
+ # Parameters:
124
+ # 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.
125
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
126
+ # path (required) - string - Path to operate on.
127
+ def self.list_for(path, params = {}, options = {})
128
+ params ||= {}
129
+ params[:path] = path
130
+ raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
131
+ raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
132
+ raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
133
+ raise MissingParameterError.new("Parameter missing: path") unless params[:path]
134
+
135
+ List.new(MetadataCategory, params) do
136
+ Api.send_request("/metadata_categories/list_by_path/#{params[:path]}", :get, params, options)
137
+ end
138
+ end
139
+
123
140
  # Parameters:
124
141
  # name (required) - string - Name of the metadata category.
125
142
  # default_columns - array(string) - Metadata keys that should appear as columns in the UI by default.
@@ -406,6 +406,11 @@ module Files
406
406
  @attributes[:group_admins_can_modify_users]
407
407
  end
408
408
 
409
+ # boolean - Allow group admins to exempt users in their groups from lifecycle rules
410
+ def group_admins_can_bypass_user_lifecycle_rules
411
+ @attributes[:group_admins_can_bypass_user_lifecycle_rules]
412
+ end
413
+
409
414
  # boolean - Allow group admins to reset passwords for users in their groups
410
415
  def group_admins_can_reset_passwords
411
416
  @attributes[:group_admins_can_reset_passwords]
@@ -1044,6 +1049,7 @@ module Files
1044
1049
  # group_admins_can_delete_users - boolean - Allow group admins to delete users in their groups
1045
1050
  # group_admins_can_enable_disable_users - boolean - Allow group admins to enable or disable users in their groups
1046
1051
  # group_admins_can_modify_users - boolean - Allow group admins to modify users in their groups
1052
+ # group_admins_can_bypass_user_lifecycle_rules - boolean - Allow group admins to exempt users in their groups from lifecycle rules
1047
1053
  # group_admins_can_reset_passwords - boolean - Allow group admins to reset passwords for users in their groups
1048
1054
  # group_admins_can_set_user_password - boolean - Allow group admins to set password authentication method
1049
1055
  # bundle_recipient_blacklist_free_email_domains - boolean - Disallow free email domains for Bundle/Inbox recipients?
@@ -953,7 +953,7 @@ module Files
953
953
  # 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.
954
954
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
955
955
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id`, `company`, `name`, `disabled`, `authenticate_until`, `username`, `email`, `site_admin`, `last_desktop_login_at`, `last_login_at`, `password_validity_days` or `ssl_required`.
956
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, site_admin ]`, `[ workspace_id, not_site_admin ]`, `[ workspace_id, disabled ]`, `[ workspace_id, partner_id ]`, `[ workspace_id, site_admin, username ]`, `[ workspace_id, not_site_admin, username ]`, `[ workspace_id, disabled, username ]`, `[ workspace_id, partner_id, username ]` or `[ workspace_id, company, name ]`.
956
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id`, `primary_group_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, site_admin ]`, `[ workspace_id, not_site_admin ]`, `[ workspace_id, disabled ]`, `[ workspace_id, partner_id ]`, `[ workspace_id, site_admin, username ]`, `[ workspace_id, not_site_admin, username ]`, `[ workspace_id, disabled, username ]`, `[ workspace_id, partner_id, username ]` or `[ workspace_id, company, name ]`.
957
957
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
958
958
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
959
959
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`. Valid field combinations are `[ company, name ]`.
@@ -18,7 +18,7 @@ module Files
18
18
  @attributes[:id] = value
19
19
  end
20
20
 
21
- # string - User authentication method for which the rule will apply.
21
+ # string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
22
22
  def authentication_method
23
23
  @attributes[:authentication_method]
24
24
  end
@@ -138,7 +138,7 @@ module Files
138
138
  # Parameters:
139
139
  # action - string - Action to take on inactive users (disable or delete)
140
140
  # apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
141
- # authentication_method - string - User authentication method for which the rule will apply.
141
+ # authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
142
142
  # group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
143
143
  # inactivity_days - int64 - Number of days of inactivity before the rule applies
144
144
  # include_site_admins - boolean - If true, the rule will apply to site admins.
@@ -232,7 +232,7 @@ module Files
232
232
  # Parameters:
233
233
  # action - string - Action to take on inactive users (disable or delete)
234
234
  # apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
235
- # authentication_method - string - User authentication method for which the rule will apply.
235
+ # authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
236
236
  # group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
237
237
  # inactivity_days - int64 - Number of days of inactivity before the rule applies
238
238
  # include_site_admins - boolean - If true, the rule will apply to site admins.
@@ -260,7 +260,7 @@ module Files
260
260
  # Parameters:
261
261
  # action - string - Action to take on inactive users (disable or delete)
262
262
  # apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
263
- # authentication_method - string - User authentication method for which the rule will apply.
263
+ # authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
264
264
  # group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
265
265
  # inactivity_days - int64 - Number of days of inactivity before the rule applies
266
266
  # include_site_admins - boolean - If true, the rule will apply to site admins.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.602"
4
+ VERSION = "1.1.604"
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.602
4
+ version: 1.1.604
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-15 00:00:00.000000000 Z
11
+ date: 2026-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable