files.com 1.1.797 → 1.1.799
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/_VERSION +1 -1
- data/docs/api_key.md +2 -2
- data/docs/site.md +4 -1
- data/docs/user.md +0 -8
- data/lib/files.com/models/api_key.rb +2 -2
- data/lib/files.com/models/site.rb +7 -0
- data/lib/files.com/models/user.rb +0 -15
- 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: 21f7fa8a72987aa4fdf2222751ac721df1d4b969b2036845370b7f7b8188b2c0
|
|
4
|
+
data.tar.gz: 80f41dfeeaf903fb48bd568430a8c15f13d35254ceb409b85253665cc511ee30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 123cbd719526f44e72d43e76089f37ea9fecd3a96c6e56555d9fb9121265f97a40a085cb59c5497f47fe6bce77f6e15dbd9d85894ba68155d7c2f049f82c256c
|
|
7
|
+
data.tar.gz: '08be0cdb53ab73a6abe5f911342de1b9779f2d53e1db046dfea477c847819f7a2fbd5c567c9b8eeef6827bd5826ea02952c0aa917d8d2c6698f84979fae508a3'
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.799
|
data/docs/api_key.md
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
* `url` (string): URL for API host.
|
|
44
44
|
* `user_id` (int64): User ID for the owner of this API Key. May be blank for Site-wide API Keys.
|
|
45
45
|
* `workspace_id` (int64): Workspace ID for this API Key. `0` means the default workspace.
|
|
46
|
-
* `path` (string): Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. For `GET /file_migrations/{id}`, a key with a path can read only migrations it started.
|
|
46
|
+
* `path` (string): Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. For `GET /file_migrations/{id}`, a key with a path can read only migrations it started. Does not grant access beyond the owning user's permissions. Optional for `files_only` keys and required for `office_integration` keys, which need a path the owning user can read. Keys with any other permission set cannot have a path.
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
---
|
|
@@ -115,7 +115,7 @@ Files::ApiKey.create(
|
|
|
115
115
|
* `expires_at` (string): API Key expiration date
|
|
116
116
|
* `name` (string): Required - Internal name for the API Key. For your use.
|
|
117
117
|
* `aws_style_credentials` (boolean): If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
|
|
118
|
-
* `path` (string): Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. For `GET /file_migrations/{id}`, a key with a path can read only migrations it started.
|
|
118
|
+
* `path` (string): Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. For `GET /file_migrations/{id}`, a key with a path can read only migrations it started. Does not grant access beyond the owning user's permissions. Optional for `files_only` keys and required for `office_integration` keys, which need a path the owning user can read. Keys with any other permission set cannot have a path.
|
|
119
119
|
* `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `mobile_app` permission set can only perform the functions provided by our Mobile App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, excluding the GPG Encrypt and GPG Decrypt file actions, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. On the migration lookup, any key with a `path` can read only migrations it started. Without a `path`, user-owned keys retain user-scoped access; site-wide Workspace-bound keys can read only migrations whose source and destination are both in their Workspace. Every `files_only` key is Workspace-bound, including Workspace `0`, as is a full-access key in a named Workspace. A full-access site-wide key in the default Workspace retains Site-wide migration access. Migrations outside the caller's visibility return `not-found`. Keys with `files_only` cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user. Both GPG file actions and every other endpoint deny them with `not-authorized/api-key-only-for-file-operations`. Folder-configured GPG encryption and decryption still apply to files uploaded with a `files_only` key.
|
|
120
120
|
* `workspace_id` (int64): Workspace ID for this API Key. `0` means the default workspace.
|
|
121
121
|
|
data/docs/site.md
CHANGED
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"allow_user_level_ssl_override": true,
|
|
38
38
|
"allowed_countries": "US,DE",
|
|
39
39
|
"allowed_ips": "example",
|
|
40
|
+
"enforce_parent_site_user_ip_restrictions": true,
|
|
40
41
|
"always_mkdir_parents": false,
|
|
41
42
|
"as2_message_retention_days": 1,
|
|
42
43
|
"ask_about_overwrites": true,
|
|
@@ -348,7 +349,6 @@
|
|
|
348
349
|
"skip_welcome_screen": true,
|
|
349
350
|
"ssl_required": "always_require",
|
|
350
351
|
"sso_strategy_id": 1,
|
|
351
|
-
"subscribe_to_newsletter": true,
|
|
352
352
|
"externally_managed": true,
|
|
353
353
|
"tags": "example",
|
|
354
354
|
"time_zone": "Pacific Time (US & Canada)",
|
|
@@ -399,6 +399,7 @@
|
|
|
399
399
|
* `allow_user_level_ssl_override` (boolean): Allow the site-wide FTP SSL requirement to be overriden on a per-user-basis?
|
|
400
400
|
* `allowed_countries` (string): Comma separated list of allowed Country codes
|
|
401
401
|
* `allowed_ips` (string): List of allowed IP addresses
|
|
402
|
+
* `enforce_parent_site_user_ip_restrictions` (boolean): Require Parent Site users entering this Child Site to match its allowed IP addresses in addition to their existing IP restrictions. Applies to all Workspaces. Defaults to false.
|
|
402
403
|
* `always_mkdir_parents` (boolean): Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
|
|
403
404
|
* `as2_message_retention_days` (int64): Number of days to retain AS2 messages (incoming and outgoing).
|
|
404
405
|
* `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
|
@@ -673,6 +674,7 @@ Files::Site.update(
|
|
|
673
674
|
allow_user_level_2fa_override: false,
|
|
674
675
|
allow_user_level_allowed_ip_override: false,
|
|
675
676
|
allow_user_level_ssl_override: false,
|
|
677
|
+
enforce_parent_site_user_ip_restrictions: false,
|
|
676
678
|
disallowed_countries: "US,DE",
|
|
677
679
|
days_to_retain_backups: 1,
|
|
678
680
|
max_prior_passwords: 1,
|
|
@@ -864,6 +866,7 @@ Files::Site.update(
|
|
|
864
866
|
* `allow_user_level_2fa_override` (boolean): Allow the site-wide two-factor authentication requirement to be overriden on a per-user-basis?
|
|
865
867
|
* `allow_user_level_allowed_ip_override` (boolean): Allow the site-wide allowed IP restriction to be overriden on a per-user-basis?
|
|
866
868
|
* `allow_user_level_ssl_override` (boolean): Allow the site-wide FTP SSL requirement to be overriden on a per-user-basis?
|
|
869
|
+
* `enforce_parent_site_user_ip_restrictions` (boolean): Require Parent Site users entering this Child Site to match its allowed IP addresses in addition to their existing IP restrictions. Applies to all Workspaces. Defaults to false.
|
|
867
870
|
* `disallowed_countries` (string): Comma separated list of disallowed Country codes
|
|
868
871
|
* `days_to_retain_backups` (int64): Number of days to keep deleted files
|
|
869
872
|
* `max_prior_passwords` (int64): Number of prior passwords to disallow
|
data/docs/user.md
CHANGED
|
@@ -85,7 +85,6 @@
|
|
|
85
85
|
"skip_welcome_screen": true,
|
|
86
86
|
"ssl_required": "always_require",
|
|
87
87
|
"sso_strategy_id": 1,
|
|
88
|
-
"subscribe_to_newsletter": true,
|
|
89
88
|
"externally_managed": true,
|
|
90
89
|
"tags": "example",
|
|
91
90
|
"time_zone": "Pacific Time (US & Canada)",
|
|
@@ -177,7 +176,6 @@
|
|
|
177
176
|
* `skip_welcome_screen` (boolean): Skip Welcome page in the UI?
|
|
178
177
|
* `ssl_required` (string): SSL required setting
|
|
179
178
|
* `sso_strategy_id` (int64): SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
180
|
-
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
|
|
181
179
|
* `externally_managed` (boolean): Is this user managed by a SsoStrategy?
|
|
182
180
|
* `tags` (string): Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
183
181
|
* `time_zone` (string): User time zone
|
|
@@ -301,7 +299,6 @@ Files::User.create(
|
|
|
301
299
|
skip_welcome_screen: true,
|
|
302
300
|
ssl_required: "always_require",
|
|
303
301
|
sso_strategy_id: 1,
|
|
304
|
-
subscribe_to_newsletter: true,
|
|
305
302
|
require_2fa: "always_require",
|
|
306
303
|
tags: "example",
|
|
307
304
|
time_zone: "Pacific Time (US & Canada)",
|
|
@@ -375,7 +372,6 @@ Files::User.create(
|
|
|
375
372
|
* `skip_welcome_screen` (boolean): Skip Welcome page in the UI?
|
|
376
373
|
* `ssl_required` (string): SSL required setting
|
|
377
374
|
* `sso_strategy_id` (int64): SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
378
|
-
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
|
|
379
375
|
* `require_2fa` (string): 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
380
376
|
* `tags` (string): Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
381
377
|
* `time_zone` (string): User time zone
|
|
@@ -484,7 +480,6 @@ Files::User.update(id,
|
|
|
484
480
|
skip_welcome_screen: true,
|
|
485
481
|
ssl_required: "always_require",
|
|
486
482
|
sso_strategy_id: 1,
|
|
487
|
-
subscribe_to_newsletter: true,
|
|
488
483
|
require_2fa: "always_require",
|
|
489
484
|
tags: "example",
|
|
490
485
|
time_zone: "Pacific Time (US & Canada)",
|
|
@@ -561,7 +556,6 @@ Files::User.update(id,
|
|
|
561
556
|
* `skip_welcome_screen` (boolean): Skip Welcome page in the UI?
|
|
562
557
|
* `ssl_required` (string): SSL required setting
|
|
563
558
|
* `sso_strategy_id` (int64): SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
564
|
-
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
|
|
565
559
|
* `require_2fa` (string): 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
566
560
|
* `tags` (string): Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
567
561
|
* `time_zone` (string): User time zone
|
|
@@ -696,7 +690,6 @@ user.update(
|
|
|
696
690
|
skip_welcome_screen: true,
|
|
697
691
|
ssl_required: "always_require",
|
|
698
692
|
sso_strategy_id: 1,
|
|
699
|
-
subscribe_to_newsletter: true,
|
|
700
693
|
require_2fa: "always_require",
|
|
701
694
|
tags: "example",
|
|
702
695
|
time_zone: "Pacific Time (US & Canada)",
|
|
@@ -773,7 +766,6 @@ user.update(
|
|
|
773
766
|
* `skip_welcome_screen` (boolean): Skip Welcome page in the UI?
|
|
774
767
|
* `ssl_required` (string): SSL required setting
|
|
775
768
|
* `sso_strategy_id` (int64): SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
776
|
-
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
|
|
777
769
|
* `require_2fa` (string): 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
778
770
|
* `tags` (string): Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
779
771
|
* `time_zone` (string): User time zone
|
|
@@ -169,7 +169,7 @@ module Files
|
|
|
169
169
|
@attributes[:workspace_id] = value
|
|
170
170
|
end
|
|
171
171
|
|
|
172
|
-
# string - Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. For `GET /file_migrations/{id}`, a key with a path can read only migrations it started.
|
|
172
|
+
# string - Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. For `GET /file_migrations/{id}`, a key with a path can read only migrations it started. Does not grant access beyond the owning user's permissions. Optional for `files_only` keys and required for `office_integration` keys, which need a path the owning user can read. Keys with any other permission set cannot have a path.
|
|
173
173
|
def path
|
|
174
174
|
@attributes[:path]
|
|
175
175
|
end
|
|
@@ -303,7 +303,7 @@ module Files
|
|
|
303
303
|
# expires_at - string - API Key expiration date
|
|
304
304
|
# name (required) - string - Internal name for the API Key. For your use.
|
|
305
305
|
# aws_style_credentials - boolean - If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
|
|
306
|
-
# path - string - Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. For `GET /file_migrations/{id}`, a key with a path can read only migrations it started.
|
|
306
|
+
# path - string - Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. For `GET /file_migrations/{id}`, a key with a path can read only migrations it started. Does not grant access beyond the owning user's permissions. Optional for `files_only` keys and required for `office_integration` keys, which need a path the owning user can read. Keys with any other permission set cannot have a path.
|
|
307
307
|
# permission_set - string - Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `mobile_app` permission set can only perform the functions provided by our Mobile App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, excluding the GPG Encrypt and GPG Decrypt file actions, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. On the migration lookup, any key with a `path` can read only migrations it started. Without a `path`, user-owned keys retain user-scoped access; site-wide Workspace-bound keys can read only migrations whose source and destination are both in their Workspace. Every `files_only` key is Workspace-bound, including Workspace `0`, as is a full-access key in a named Workspace. A full-access site-wide key in the default Workspace retains Site-wide migration access. Migrations outside the caller's visibility return `not-found`. Keys with `files_only` cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user. Both GPG file actions and every other endpoint deny them with `not-authorized/api-key-only-for-file-operations`. Folder-configured GPG encryption and decryption still apply to files uploaded with a `files_only` key.
|
|
308
308
|
# workspace_id - int64 - Workspace ID for this API Key. `0` means the default workspace.
|
|
309
309
|
#
|
|
@@ -108,6 +108,11 @@ module Files
|
|
|
108
108
|
@attributes[:allowed_ips]
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
+
# boolean - Require Parent Site users entering this Child Site to match its allowed IP addresses in addition to their existing IP restrictions. Applies to all Workspaces. Defaults to false.
|
|
112
|
+
def enforce_parent_site_user_ip_restrictions
|
|
113
|
+
@attributes[:enforce_parent_site_user_ip_restrictions]
|
|
114
|
+
end
|
|
115
|
+
|
|
111
116
|
# boolean - Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
|
|
112
117
|
def always_mkdir_parents
|
|
113
118
|
@attributes[:always_mkdir_parents]
|
|
@@ -1111,6 +1116,7 @@ module Files
|
|
|
1111
1116
|
# allow_user_level_2fa_override - boolean - Allow the site-wide two-factor authentication requirement to be overriden on a per-user-basis?
|
|
1112
1117
|
# allow_user_level_allowed_ip_override - boolean - Allow the site-wide allowed IP restriction to be overriden on a per-user-basis?
|
|
1113
1118
|
# allow_user_level_ssl_override - boolean - Allow the site-wide FTP SSL requirement to be overriden on a per-user-basis?
|
|
1119
|
+
# enforce_parent_site_user_ip_restrictions - boolean - Require Parent Site users entering this Child Site to match its allowed IP addresses in addition to their existing IP restrictions. Applies to all Workspaces. Defaults to false.
|
|
1114
1120
|
# disallowed_countries - string - Comma separated list of disallowed Country codes
|
|
1115
1121
|
# days_to_retain_backups - int64 - Number of days to keep deleted files
|
|
1116
1122
|
# max_prior_passwords - int64 - Number of prior passwords to disallow
|
|
@@ -1313,6 +1319,7 @@ module Files
|
|
|
1313
1319
|
raise InvalidParameterError.new("Bad parameter: allow_user_level_2fa_override must be a single value, not #{params[:allow_user_level_2fa_override].class}") if [ Array, Hash ].any? { |klass| params[:allow_user_level_2fa_override].is_a?(klass) }
|
|
1314
1320
|
raise InvalidParameterError.new("Bad parameter: allow_user_level_allowed_ip_override must be a single value, not #{params[:allow_user_level_allowed_ip_override].class}") if [ Array, Hash ].any? { |klass| params[:allow_user_level_allowed_ip_override].is_a?(klass) }
|
|
1315
1321
|
raise InvalidParameterError.new("Bad parameter: allow_user_level_ssl_override must be a single value, not #{params[:allow_user_level_ssl_override].class}") if [ Array, Hash ].any? { |klass| params[:allow_user_level_ssl_override].is_a?(klass) }
|
|
1322
|
+
raise InvalidParameterError.new("Bad parameter: enforce_parent_site_user_ip_restrictions must be a single value, not #{params[:enforce_parent_site_user_ip_restrictions].class}") if [ Array, Hash ].any? { |klass| params[:enforce_parent_site_user_ip_restrictions].is_a?(klass) }
|
|
1316
1323
|
raise InvalidParameterError.new("Bad parameter: disallowed_countries must be an String") if !params[:disallowed_countries].nil? and !params[:disallowed_countries].is_a?(String)
|
|
1317
1324
|
raise InvalidParameterError.new("Bad parameter: days_to_retain_backups must be an Integer") if !params[:days_to_retain_backups].nil? and !params[:days_to_retain_backups].is_a?(Integer)
|
|
1318
1325
|
raise InvalidParameterError.new("Bad parameter: max_prior_passwords must be an Integer") if !params[:max_prior_passwords].nil? and !params[:max_prior_passwords].is_a?(Integer)
|
|
@@ -718,15 +718,6 @@ module Files
|
|
|
718
718
|
@attributes[:sso_strategy_id] = value
|
|
719
719
|
end
|
|
720
720
|
|
|
721
|
-
# boolean - Is the user subscribed to the newsletter?
|
|
722
|
-
def subscribe_to_newsletter
|
|
723
|
-
@attributes[:subscribe_to_newsletter]
|
|
724
|
-
end
|
|
725
|
-
|
|
726
|
-
def subscribe_to_newsletter=(value)
|
|
727
|
-
@attributes[:subscribe_to_newsletter] = value
|
|
728
|
-
end
|
|
729
|
-
|
|
730
721
|
# boolean - Is this user managed by a SsoStrategy?
|
|
731
722
|
def externally_managed
|
|
732
723
|
@attributes[:externally_managed]
|
|
@@ -1022,7 +1013,6 @@ module Files
|
|
|
1022
1013
|
# skip_welcome_screen - boolean - Skip Welcome page in the UI?
|
|
1023
1014
|
# ssl_required - string - SSL required setting
|
|
1024
1015
|
# sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
1025
|
-
# subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
|
|
1026
1016
|
# require_2fa - string - 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
1027
1017
|
# tags - string - Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
1028
1018
|
# time_zone - string - User time zone
|
|
@@ -1097,7 +1087,6 @@ module Files
|
|
|
1097
1087
|
raise InvalidParameterError.new("Bad parameter: skip_welcome_screen must be a single value, not #{params[:skip_welcome_screen].class}") if [ Array, Hash ].any? { |klass| params[:skip_welcome_screen].is_a?(klass) }
|
|
1098
1088
|
raise InvalidParameterError.new("Bad parameter: ssl_required must be an String") if !params[:ssl_required].nil? and !params[:ssl_required].is_a?(String)
|
|
1099
1089
|
raise InvalidParameterError.new("Bad parameter: sso_strategy_id must be an Integer") if !params[:sso_strategy_id].nil? and !params[:sso_strategy_id].is_a?(Integer)
|
|
1100
|
-
raise InvalidParameterError.new("Bad parameter: subscribe_to_newsletter must be a single value, not #{params[:subscribe_to_newsletter].class}") if [ Array, Hash ].any? { |klass| params[:subscribe_to_newsletter].is_a?(klass) }
|
|
1101
1090
|
raise InvalidParameterError.new("Bad parameter: require_2fa must be an String") if !params[:require_2fa].nil? and !params[:require_2fa].is_a?(String)
|
|
1102
1091
|
raise InvalidParameterError.new("Bad parameter: tags must be an String") if !params[:tags].nil? and !params[:tags].is_a?(String)
|
|
1103
1092
|
raise InvalidParameterError.new("Bad parameter: time_zone must be an String") if !params[:time_zone].nil? and !params[:time_zone].is_a?(String)
|
|
@@ -1279,7 +1268,6 @@ module Files
|
|
|
1279
1268
|
# skip_welcome_screen - boolean - Skip Welcome page in the UI?
|
|
1280
1269
|
# ssl_required - string - SSL required setting
|
|
1281
1270
|
# sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
1282
|
-
# subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
|
|
1283
1271
|
# require_2fa - string - 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
1284
1272
|
# tags - string - Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
1285
1273
|
# time_zone - string - User time zone
|
|
@@ -1353,7 +1341,6 @@ module Files
|
|
|
1353
1341
|
raise InvalidParameterError.new("Bad parameter: skip_welcome_screen must be a single value, not #{params[:skip_welcome_screen].class}") if [ Array, Hash ].any? { |klass| params[:skip_welcome_screen].is_a?(klass) }
|
|
1354
1342
|
raise InvalidParameterError.new("Bad parameter: ssl_required must be an String") if !params[:ssl_required].nil? and !params[:ssl_required].is_a?(String)
|
|
1355
1343
|
raise InvalidParameterError.new("Bad parameter: sso_strategy_id must be an Integer") if !params[:sso_strategy_id].nil? and !params[:sso_strategy_id].is_a?(Integer)
|
|
1356
|
-
raise InvalidParameterError.new("Bad parameter: subscribe_to_newsletter must be a single value, not #{params[:subscribe_to_newsletter].class}") if [ Array, Hash ].any? { |klass| params[:subscribe_to_newsletter].is_a?(klass) }
|
|
1357
1344
|
raise InvalidParameterError.new("Bad parameter: require_2fa must be an String") if !params[:require_2fa].nil? and !params[:require_2fa].is_a?(String)
|
|
1358
1345
|
raise InvalidParameterError.new("Bad parameter: tags must be an String") if !params[:tags].nil? and !params[:tags].is_a?(String)
|
|
1359
1346
|
raise InvalidParameterError.new("Bad parameter: time_zone must be an String") if !params[:time_zone].nil? and !params[:time_zone].is_a?(String)
|
|
@@ -1477,7 +1464,6 @@ module Files
|
|
|
1477
1464
|
# skip_welcome_screen - boolean - Skip Welcome page in the UI?
|
|
1478
1465
|
# ssl_required - string - SSL required setting
|
|
1479
1466
|
# sso_strategy_id - int64 - SSO (Single Sign On) strategy ID for the user, if applicable.
|
|
1480
|
-
# subscribe_to_newsletter - boolean - Is the user subscribed to the newsletter?
|
|
1481
1467
|
# require_2fa - string - 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
|
|
1482
1468
|
# tags - string - Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
|
|
1483
1469
|
# time_zone - string - User time zone
|
|
@@ -1556,7 +1542,6 @@ module Files
|
|
|
1556
1542
|
raise InvalidParameterError.new("Bad parameter: skip_welcome_screen must be a single value, not #{params[:skip_welcome_screen].class}") if [ Array, Hash ].any? { |klass| params[:skip_welcome_screen].is_a?(klass) }
|
|
1557
1543
|
raise InvalidParameterError.new("Bad parameter: ssl_required must be an String") if !params[:ssl_required].nil? and !params[:ssl_required].is_a?(String)
|
|
1558
1544
|
raise InvalidParameterError.new("Bad parameter: sso_strategy_id must be an Integer") if !params[:sso_strategy_id].nil? and !params[:sso_strategy_id].is_a?(Integer)
|
|
1559
|
-
raise InvalidParameterError.new("Bad parameter: subscribe_to_newsletter must be a single value, not #{params[:subscribe_to_newsletter].class}") if [ Array, Hash ].any? { |klass| params[:subscribe_to_newsletter].is_a?(klass) }
|
|
1560
1545
|
raise InvalidParameterError.new("Bad parameter: require_2fa must be an String") if !params[:require_2fa].nil? and !params[:require_2fa].is_a?(String)
|
|
1561
1546
|
raise InvalidParameterError.new("Bad parameter: tags must be an String") if !params[:tags].nil? and !params[:tags].is_a?(String)
|
|
1562
1547
|
raise InvalidParameterError.new("Bad parameter: time_zone must be an String") if !params[:time_zone].nil? and !params[:time_zone].is_a?(String)
|
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.799
|
|
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-10-
|
|
11
|
+
date: 2026-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|