files.com 1.1.603 → 1.1.605
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 +4 -4
- data/Gemfile.lock +1 -1
- data/_VERSION +1 -1
- data/docs/clickwrap.md +4 -4
- data/docs/metadata_category.md +15 -0
- data/docs/site.md +4 -0
- data/docs/user.md +1 -1
- data/lib/files.com/models/clickwrap.rb +4 -4
- data/lib/files.com/models/metadata_category.rb +17 -0
- data/lib/files.com/models/site.rb +6 -0
- data/lib/files.com/models/user.rb +1 -1
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b897c4afdd2176526743b2a4202037c7b6908a274bd7a2d8e437fb7d8a3ed1ad
|
|
4
|
+
data.tar.gz: '078b68d769eb4c9a4ff551f3a00ecd7fa47ae8814c1aab2a48c37a5435d620f6'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f847476d8069f9720e8d8f84121431349e5012a8ed01de64caafa21b2df61fb2a8f914c0fe2d021bdaaaf3fc3e7a4b8173ad45a848bdcd58008943dd436f8fd2
|
|
7
|
+
data.tar.gz: f361e278971ea7874d5147915ecbde80eed6b41a245d94831288266d1eb68046e507fe7b5b5a196ca45c483d90106300bc0e566a30ed34e241a2ceb4bb87d76d
|
data/Gemfile.lock
CHANGED
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.605
|
data/docs/clickwrap.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* `id` (int64): Clickwrap ID
|
|
17
17
|
* `name` (string): Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.)
|
|
18
18
|
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
|
19
|
-
* `use_with_users` (string): Use this Clickwrap for
|
|
19
|
+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
20
20
|
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
|
21
21
|
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
|
22
22
|
|
|
@@ -69,7 +69,7 @@ Files::Clickwrap.create(
|
|
|
69
69
|
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
|
70
70
|
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
|
71
71
|
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
|
72
|
-
* `use_with_users` (string): Use this Clickwrap for
|
|
72
|
+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
---
|
|
@@ -93,7 +93,7 @@ Files::Clickwrap.update(id,
|
|
|
93
93
|
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
|
94
94
|
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
|
95
95
|
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
|
96
|
-
* `use_with_users` (string): Use this Clickwrap for
|
|
96
|
+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
---
|
|
@@ -132,7 +132,7 @@ clickwrap.update(
|
|
|
132
132
|
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
|
133
133
|
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
|
134
134
|
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
|
135
|
-
* `use_with_users` (string): Use this Clickwrap for
|
|
135
|
+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
---
|
data/docs/metadata_category.md
CHANGED
|
@@ -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 ]`.
|
|
@@ -36,7 +36,7 @@ module Files
|
|
|
36
36
|
@attributes[:body] = value
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
# string - Use this Clickwrap for
|
|
39
|
+
# string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
40
40
|
def use_with_users
|
|
41
41
|
@attributes[:use_with_users]
|
|
42
42
|
end
|
|
@@ -68,7 +68,7 @@ module Files
|
|
|
68
68
|
# body - string - Body text of Clickwrap (supports Markdown formatting).
|
|
69
69
|
# use_with_bundles - string - Use this Clickwrap for Bundles?
|
|
70
70
|
# use_with_inboxes - string - Use this Clickwrap for Inboxes?
|
|
71
|
-
# use_with_users - string - Use this Clickwrap for
|
|
71
|
+
# use_with_users - string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
72
72
|
def update(params = {})
|
|
73
73
|
params ||= {}
|
|
74
74
|
params[:id] = @attributes[:id]
|
|
@@ -149,7 +149,7 @@ module Files
|
|
|
149
149
|
# body - string - Body text of Clickwrap (supports Markdown formatting).
|
|
150
150
|
# use_with_bundles - string - Use this Clickwrap for Bundles?
|
|
151
151
|
# use_with_inboxes - string - Use this Clickwrap for Inboxes?
|
|
152
|
-
# use_with_users - string - Use this Clickwrap for
|
|
152
|
+
# use_with_users - string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
153
153
|
def self.create(params = {}, options = {})
|
|
154
154
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
155
155
|
raise InvalidParameterError.new("Bad parameter: body must be an String") if params[:body] and !params[:body].is_a?(String)
|
|
@@ -166,7 +166,7 @@ module Files
|
|
|
166
166
|
# body - string - Body text of Clickwrap (supports Markdown formatting).
|
|
167
167
|
# use_with_bundles - string - Use this Clickwrap for Bundles?
|
|
168
168
|
# use_with_inboxes - string - Use this Clickwrap for Inboxes?
|
|
169
|
-
# use_with_users - string - Use this Clickwrap for
|
|
169
|
+
# use_with_users - string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
170
170
|
def self.update(id, params = {}, options = {})
|
|
171
171
|
params ||= {}
|
|
172
172
|
params[:id] = id
|
|
@@ -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 ]`.
|
data/lib/files.com/version.rb
CHANGED
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.
|
|
4
|
+
version: 1.1.605
|
|
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-
|
|
11
|
+
date: 2026-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|