files.com 1.1.603 → 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: bbb4000a4fef4d9a08ec6584c260036f85fc135cf04b627a4701bebfa217cab3
4
- data.tar.gz: 3a04d5538c5751491746a7bab834b80b155a2127c47f970c115621f82617ee3c
3
+ metadata.gz: b43f3d0bfddc0d6f61a286065abcae70be3dd14354d95d32ce5726458bde227c
4
+ data.tar.gz: 9687989b52bdbafc927e38d8af782f862c1bbcae08023c7a721923bcecc8a1eb
5
5
  SHA512:
6
- metadata.gz: 567d6d5dcdd1fe9c164b034443352999fcacf0b91fe1e0265d396445f53408d9f10ed0f668f481eb9f097936c58dc3c8f2c57ed49e11ded7f7b1006efb50e798
7
- data.tar.gz: 30f630aef6ca3b6e20943ac4a9f83077482637385440e48e8dab0bb22be891f0efbf91ade65af97b58450cf18175a5ab20ab6bb8efbb595bdfb6515fc81427dc
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.603
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 ]`.
@@ -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 ]`.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.603"
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.603
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-17 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