files.com 1.0.285 → 1.0.288

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d9c26f1575d9053004e4e965a3178c8c63ada90d159097ccd0087e1a81c079f
4
- data.tar.gz: 488c20ff04287529d9a7b1fd1184263f4d1236bee7dbf533d464d8b71c8f01d4
3
+ metadata.gz: 58866ec2b5f9506d6b6ae2b2ce2ba3aa5939777b5cf463501b18588f6d8ad0ac
4
+ data.tar.gz: 9a290f4b1aaf7aa3f54117666c671ecdd33f506b750662eaab1354245172e6e6
5
5
  SHA512:
6
- metadata.gz: d9dc26b0e0dfd812a65ad31c4b47d58a7978791dd2d35148a787c2cca425359d65adc8edb76890425a9b578807e2979c4340f7ccc4ad57a9265c0025eb863b07
7
- data.tar.gz: 99483961fa8f1b0cbc8277d43ac90ba4ab6d0daab4b807587bfb82b9468b6e90e815120ac57c8d33b70daf9d6afff687daff1b5f13314386dab68654a1a285b0
6
+ metadata.gz: 28e9e19b3c7f835152e172ede524137bc253c562b2e40eb9398d35a3b209cf3c46e6f6ca2063e022c8118426d155ec7ee4249dbbf38326d804cb90c3eb9d46b5
7
+ data.tar.gz: d1d1889dadbab8349a3cecf476656d92ae745337ba1538f2fa346905e86e801724e7a2dc14c6176fdb164f17c4b7f87c55f06f6afa3138dbf405b7b22499f372
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.285
1
+ 1.0.288
data/docs/site.md CHANGED
@@ -562,6 +562,7 @@ Files::Site.update(
562
562
  * `user_requests_notify_admins` (boolean): Send email to site admins when a user request is received?
563
563
  * `ftp_enabled` (boolean): Is FTP enabled?
564
564
  * `sftp_enabled` (boolean): Is SFTP enabled?
565
+ * `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
565
566
  * `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
566
567
  * `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
567
568
  * `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
@@ -14,9 +14,7 @@
14
14
  "deleted_files_storage": "65536",
15
15
  "deleted_files_counted_in_minimum": "65536",
16
16
  "root_storage": "65536",
17
- "usage_by_top_level_dir": [
18
- ""
19
- ]
17
+ "usage_by_top_level_dir": ""
20
18
  }
21
19
  ```
22
20
 
@@ -30,7 +28,7 @@
30
28
  * `deleted_files_storage` (int64): GB of Files Native Storage used on this day for files that have been deleted and are stored as backups.
31
29
  * `deleted_files_counted_in_minimum` (int64): GB of Files Native Storage used on this day for files that have been permanently deleted but were uploaded less than 30 days ago, and are still billable.
32
30
  * `root_storage` (int64): GB of Files Native Storage used for the root folder. Included here because this value will not be part of `usage_by_top_level_dir`
33
- * `usage_by_top_level_dir` (array): Usage broken down by each top-level folder
31
+ * `usage_by_top_level_dir` (object): Usage broken down by each top-level folder
34
32
 
35
33
 
36
34
  ---
@@ -145,6 +145,7 @@ module Files
145
145
  class NotFoundError < APIError; end
146
146
  class ApiKeyNotFoundError < NotFoundError; end
147
147
  class BundlePathNotFoundError < NotFoundError; end
148
+ class BundleRegistrationNotFoundError < NotFoundError; end
148
149
  class CodeNotFoundError < NotFoundError; end
149
150
  class FileNotFoundError < NotFoundError; end
150
151
  class FileUploadNotFoundError < NotFoundError; end
@@ -197,6 +198,7 @@ module Files
197
198
  class TooManyConcurrentRequestsError < RateLimitedError; end
198
199
  class TooManyLoginAttemptsError < RateLimitedError; end
199
200
  class TooManyRequestsError < RateLimitedError; end
201
+ class TooManySharesError < RateLimitedError; end
200
202
 
201
203
  class ServiceUnavailableError < APIError; end
202
204
  class UploadsUnavailableError < ServiceUnavailableError; end
@@ -743,6 +743,7 @@ module Files
743
743
  # user_requests_notify_admins - boolean - Send email to site admins when a user request is received?
744
744
  # ftp_enabled - boolean - Is FTP enabled?
745
745
  # sftp_enabled - boolean - Is SFTP enabled?
746
+ # bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
746
747
  # allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
747
748
  # allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
748
749
  # allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
@@ -824,6 +825,7 @@ module Files
824
825
  raise InvalidParameterError.new("Bad parameter: password_validity_days must be an Integer") if params.dig(:password_validity_days) and !params.dig(:password_validity_days).is_a?(Integer)
825
826
  raise InvalidParameterError.new("Bad parameter: password_min_length must be an Integer") if params.dig(:password_min_length) and !params.dig(:password_min_length).is_a?(Integer)
826
827
  raise InvalidParameterError.new("Bad parameter: disable_users_from_inactivity_period_days must be an Integer") if params.dig(:disable_users_from_inactivity_period_days) and !params.dig(:disable_users_from_inactivity_period_days).is_a?(Integer)
828
+ raise InvalidParameterError.new("Bad parameter: bundle_watermark_value must be an Hash") if params.dig(:bundle_watermark_value) and !params.dig(:bundle_watermark_value).is_a?(Hash)
827
829
  raise InvalidParameterError.new("Bad parameter: require_2fa_user_type must be an String") if params.dig(:require_2fa_user_type) and !params.dig(:require_2fa_user_type).is_a?(String)
828
830
  raise InvalidParameterError.new("Bad parameter: color2_top must be an String") if params.dig(:color2_top) and !params.dig(:color2_top).is_a?(String)
829
831
  raise InvalidParameterError.new("Bad parameter: color2_left must be an String") if params.dig(:color2_left) and !params.dig(:color2_left).is_a?(String)
@@ -59,7 +59,7 @@ module Files
59
59
  @attributes[:root_storage]
60
60
  end
61
61
 
62
- # array - Usage broken down by each top-level folder
62
+ # object - Usage broken down by each top-level folder
63
63
  def usage_by_top_level_dir
64
64
  @attributes[:usage_by_top_level_dir]
65
65
  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.0.285
4
+ version: 1.0.288
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-12 00:00:00.000000000 Z
11
+ date: 2022-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable