files.com 1.1.796 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86cf131c69ae6f5ed14759519a6eda0fc7418da517049dd58742d0d6e88e6f03
4
- data.tar.gz: 1f12f821cf54a85007457ffbe4ece5d8188746fa91c649f136519b25da09e891
3
+ metadata.gz: b037669a39c1f65e3ab224f3299cd664e10313b310e6f099c9f8482e14c1ffbd
4
+ data.tar.gz: 65e0f35a26d36b6c6fceade4ac4d5d0dc1d90ad67b469e7ada0a8a21f23f75ef
5
5
  SHA512:
6
- metadata.gz: 1d9027441e8bec7da48773e17a0d588dbce31b6748569539fa1836db5330256cae1812ce8cfa54d48cea818c8261ce319b36fca8db570baf9314898bc6054fa0
7
- data.tar.gz: 3f55c0d42f68137795ac00df50a0a5d5988c9d717f544b1124a5095af4a4c04dc0bf31808154ce7c70d9ef9c4726dc963a1853813a8689b8b3c9365f5804e087
6
+ metadata.gz: fd8652bb96a4be6f14b9b7e63a632961fad99646f760331a18ca4165f31cb53a2f043c6770313560ed53d4ee8980c1307ec9f29d1ad5b022b3a7701639d359f7
7
+ data.tar.gz: f94157b5a50ed09b839ae2210eab8101c15be6d80993117f1221d41cccd356025b5ec833e3d9b48c21c73152f02fcdc79e1eeb10be72568ad457abefc6297c71
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.796
1
+ 1.1.798
data/docs/gpg_key.md CHANGED
@@ -56,7 +56,7 @@ Files::GpgKey.list(
56
56
  * `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.
57
57
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
58
58
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name` or `expires_at`.
59
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`, `partner_id` or `expires_at`. Valid field combinations are `[ workspace_id, expires_at ]`.
59
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`, `partner_id` or `expires_at`. Valid field combinations are `[ workspace_id, partner_id ]`, `[ workspace_id, expires_at ]`, `[ partner_id, expires_at ]` or `[ workspace_id, partner_id, expires_at ]`.
60
60
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
61
61
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
62
62
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
data/docs/site.md CHANGED
@@ -348,7 +348,6 @@
348
348
  "skip_welcome_screen": true,
349
349
  "ssl_required": "always_require",
350
350
  "sso_strategy_id": 1,
351
- "subscribe_to_newsletter": true,
352
351
  "externally_managed": true,
353
352
  "tags": "example",
354
353
  "time_zone": "Pacific Time (US & Canada)",
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
@@ -242,7 +242,7 @@ module Files
242
242
  # 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.
243
243
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
244
244
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name` or `expires_at`.
245
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`, `partner_id` or `expires_at`. Valid field combinations are `[ workspace_id, expires_at ]`.
245
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`, `partner_id` or `expires_at`. Valid field combinations are `[ workspace_id, partner_id ]`, `[ workspace_id, expires_at ]`, `[ partner_id, expires_at ]` or `[ workspace_id, partner_id, expires_at ]`.
246
246
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
247
247
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
248
248
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
@@ -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.796
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-22 00:00:00.000000000 Z
11
+ date: 2026-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable