files.com 1.1.797 → 1.1.798
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/site.md +0 -1
- data/docs/user.md +0 -8
- 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: b037669a39c1f65e3ab224f3299cd664e10313b310e6f099c9f8482e14c1ffbd
|
|
4
|
+
data.tar.gz: 65e0f35a26d36b6c6fceade4ac4d5d0dc1d90ad67b469e7ada0a8a21f23f75ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd8652bb96a4be6f14b9b7e63a632961fad99646f760331a18ca4165f31cb53a2f043c6770313560ed53d4ee8980c1307ec9f29d1ad5b022b3a7701639d359f7
|
|
7
|
+
data.tar.gz: f94157b5a50ed09b839ae2210eab8101c15be6d80993117f1221d41cccd356025b5ec833e3d9b48c21c73152f02fcdc79e1eeb10be72568ad457abefc6297c71
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.798
|
data/docs/site.md
CHANGED
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
|
|
@@ -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.798
|
|
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
|