files.com 1.0.52 → 1.0.53

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: 695e9e40b7f3014c90d26aa30ef23517ab6ddcf9bbf3026c161acfabb0382c44
4
- data.tar.gz: 3223db2b7fc3a290a7e9e90103115181d16bf8331f3095e184fd6d9177449f85
3
+ metadata.gz: a363686b90e3e1673bf9f7b47d9368dd514f05d680000195651de99f0889b310
4
+ data.tar.gz: d73ee31b349dc91f5a5b92b76a2acc94f52b4622509df03afdfc3caf76c4a337
5
5
  SHA512:
6
- metadata.gz: 0d3bfa42ae786e7c7ecf7ae82e926fc05dd2ee15eaa928cf0570e58487bd9325d20986a180c907a4e33c48b942dc66e45258984b78534bc96fff43659589617a
7
- data.tar.gz: 25d9d61bc718ba29b73f0bd57dfddfb7827e8a642c32d48046c023346c3e7dc386a1b98969bc91565f0ed375714a8cc6ec64d3ceda02b2db84db0681e3cb25a2
6
+ metadata.gz: 55bef934d42e9c1d2843b4d9a84851d1bb2c64e3fb5f2ed53d61b06936abd8ca0199f87345acf9820985ceca6d9952be51ede738e906fb219e762f81d5cce4b5
7
+ data.tar.gz: 4f4bb4f7af296041691fdc12f84e51a1751cb0ca6ec8a6f890ba20b919ced709fc3dce9a5399a967d2ec86a6f9c73046def7ebcb8f2d0ef50db3015ff3886fb3
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.52
1
+ 1.0.53
@@ -26,8 +26,8 @@
26
26
  ```
27
27
 
28
28
  * `id` (int64): Line item Id
29
- * `amount` (float): Line item amount
30
- * `balance` (float): Line item balance
29
+ * `amount` (double): Line item amount
30
+ * `balance` (double): Line item balance
31
31
  * `created_at` (date-time): Line item created at
32
32
  * `currency` (string): Line item currency
33
33
  * `download_uri` (string): Line item download uri
data/docs/invoice.md CHANGED
@@ -26,8 +26,8 @@
26
26
  ```
27
27
 
28
28
  * `id` (int64): Line item Id
29
- * `amount` (float): Line item amount
30
- * `balance` (float): Line item balance
29
+ * `amount` (double): Line item amount
30
+ * `balance` (double): Line item balance
31
31
  * `created_at` (date-time): Line item created at
32
32
  * `currency` (string): Line item currency
33
33
  * `download_uri` (string): Line item download uri
@@ -16,7 +16,7 @@
16
16
  }
17
17
  ```
18
18
 
19
- * `amount` (float): Invoice line item amount
19
+ * `amount` (double): Invoice line item amount
20
20
  * `created_at` (date-time): Invoice line item created at date/time
21
21
  * `description` (string): Invoice line item description
22
22
  * `type` (string): Invoice line item type
data/docs/payment.md CHANGED
@@ -26,8 +26,8 @@
26
26
  ```
27
27
 
28
28
  * `id` (int64): Line item Id
29
- * `amount` (float): Line item amount
30
- * `balance` (float): Line item balance
29
+ * `amount` (double): Line item amount
30
+ * `balance` (double): Line item balance
31
31
  * `created_at` (date-time): Line item created at
32
32
  * `currency` (string): Line item currency
33
33
  * `download_uri` (string): Line item download uri
@@ -12,7 +12,7 @@
12
12
  }
13
13
  ```
14
14
 
15
- * `amount` (float): Payment line item amount
15
+ * `amount` (double): Payment line item amount
16
16
  * `created_at` (date-time): Payment line item created at date/time
17
17
  * `invoice_id` (int64): Invoice ID
18
18
  * `payment_id` (int64): Payment ID
data/docs/site.md CHANGED
@@ -90,7 +90,7 @@
90
90
  "smtp_from": "me@my-mail-server.com",
91
91
  "smtp_port": 25,
92
92
  "smtp_username": "mail",
93
- "session_expiry": 6,
93
+ "session_expiry": 6.0,
94
94
  "ssl_required": true,
95
95
  "subdomain": "mysite",
96
96
  "switch_to_plan_date": "2000-01-01T01:00:00Z",
@@ -170,7 +170,7 @@
170
170
  * `login_help_text` (string): Login help text
171
171
  * `logo`: Branded logo
172
172
  * `max_prior_passwords` (int64): Number of prior passwords to disallow
173
- * `next_billing_amount` (float): Next billing amount
173
+ * `next_billing_amount` (double): Next billing amount
174
174
  * `next_billing_date` (string): Next billing date
175
175
  * `opt_out_global` (boolean): Use servers in the USA only?
176
176
  * `overage_notified_at` (date-time): Last time the site was notified about an overage
@@ -199,7 +199,7 @@
199
199
  * `smtp_from` (string): From address to use when mailing through custom SMTP
200
200
  * `smtp_port` (int64): SMTP server port
201
201
  * `smtp_username` (string): SMTP server username
202
- * `session_expiry` (int64): Session expiry in hours
202
+ * `session_expiry` (double): Session expiry in hours
203
203
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
204
204
  * `subdomain` (string): Site subdomain
205
205
  * `switch_to_plan_date` (date-time): If switching plans, when does the new plan take effect?
@@ -264,7 +264,7 @@ Files::Site.update(
264
264
  desktop_app_session_lifetime: 1,
265
265
  folder_permissions_groups_only: true,
266
266
  welcome_screen: "user_controlled",
267
- session_expiry: 1,
267
+ session_expiry: 6.0,
268
268
  ssl_required: true,
269
269
  tls_disabled: true,
270
270
  user_lockout: true,
@@ -351,7 +351,7 @@ Files::Site.update(
351
351
  * `desktop_app_session_lifetime` (int64): Desktop app session lifetime (in hours)
352
352
  * `folder_permissions_groups_only` (boolean): If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
353
353
  * `welcome_screen` (string): Does the welcome screen appear?
354
- * `session_expiry` (int64): Session expiry in hours
354
+ * `session_expiry` (number): Session expiry in hours
355
355
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
356
356
  * `tls_disabled` (boolean): Is TLS disabled(site setting)?
357
357
  * `user_lockout` (boolean): Will users be locked out after incorrect login attempts?
@@ -24,15 +24,15 @@
24
24
  * `start_at` (date-time): Site usage report start date/time
25
25
  * `end_at` (date-time): Site usage report end date/time
26
26
  * `created_at` (date-time): Site usage report created at date/time
27
- * `current_storage` (float): Current site usage as of report
28
- * `high_water_storage` (float): Site usage report highest usage in time period
27
+ * `current_storage` (double): Current site usage as of report
28
+ * `high_water_storage` (double): Site usage report highest usage in time period
29
29
  * `total_downloads` (int64): Number of downloads in report time period
30
30
  * `total_uploads` (int64): Number of uploads in time period
31
31
  * `updated_at` (date-time): The last time this site usage report was updated
32
32
  * `usage_by_top_level_dir` (object): A map of root folders to their total usage
33
- * `root_storage` (float): Usage for root folder
34
- * `deleted_files_counted_in_minimum` (float): Usage for files that are deleted but uploaded within last 30 days
35
- * `deleted_files_storage` (float): Usage for files that are deleted but retained as backups
33
+ * `root_storage` (double): Usage for root folder
34
+ * `deleted_files_counted_in_minimum` (double): Usage for files that are deleted but uploaded within last 30 days
35
+ * `deleted_files_storage` (double): Usage for files that are deleted but retained as backups
36
36
 
37
37
 
38
38
  ---
@@ -14,12 +14,12 @@ module Files
14
14
  @attributes[:id]
15
15
  end
16
16
 
17
- # float - Line item amount
17
+ # double - Line item amount
18
18
  def amount
19
19
  @attributes[:amount]
20
20
  end
21
21
 
22
- # float - Line item balance
22
+ # double - Line item balance
23
23
  def balance
24
24
  @attributes[:balance]
25
25
  end
@@ -14,12 +14,12 @@ module Files
14
14
  @attributes[:id]
15
15
  end
16
16
 
17
- # float - Line item amount
17
+ # double - Line item amount
18
18
  def amount
19
19
  @attributes[:amount]
20
20
  end
21
21
 
22
- # float - Line item balance
22
+ # double - Line item balance
23
23
  def balance
24
24
  @attributes[:balance]
25
25
  end
@@ -9,7 +9,7 @@ module Files
9
9
  @options = options || {}
10
10
  end
11
11
 
12
- # float - Invoice line item amount
12
+ # double - Invoice line item amount
13
13
  def amount
14
14
  @attributes[:amount]
15
15
  end
@@ -14,12 +14,12 @@ module Files
14
14
  @attributes[:id]
15
15
  end
16
16
 
17
- # float - Line item amount
17
+ # double - Line item amount
18
18
  def amount
19
19
  @attributes[:amount]
20
20
  end
21
21
 
22
- # float - Line item balance
22
+ # double - Line item balance
23
23
  def balance
24
24
  @attributes[:balance]
25
25
  end
@@ -9,7 +9,7 @@ module Files
9
9
  @options = options || {}
10
10
  end
11
11
 
12
- # float - Payment line item amount
12
+ # double - Payment line item amount
13
13
  def amount
14
14
  @attributes[:amount]
15
15
  end
@@ -294,7 +294,7 @@ module Files
294
294
  @attributes[:max_prior_passwords]
295
295
  end
296
296
 
297
- # float - Next billing amount
297
+ # double - Next billing amount
298
298
  def next_billing_amount
299
299
  @attributes[:next_billing_amount]
300
300
  end
@@ -439,7 +439,7 @@ module Files
439
439
  @attributes[:smtp_username]
440
440
  end
441
441
 
442
- # int64 - Session expiry in hours
442
+ # double - Session expiry in hours
443
443
  def session_expiry
444
444
  @attributes[:session_expiry]
445
445
  end
@@ -570,7 +570,7 @@ module Files
570
570
  # desktop_app_session_lifetime - integer - Desktop app session lifetime (in hours)
571
571
  # folder_permissions_groups_only - boolean - If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
572
572
  # welcome_screen - string - Does the welcome screen appear?
573
- # session_expiry - integer - Session expiry in hours
573
+ # session_expiry - number - Session expiry in hours
574
574
  # ssl_required - boolean - Is SSL required? Disabling this is insecure.
575
575
  # tls_disabled - boolean - Is TLS disabled(site setting)?
576
576
  # user_lockout - boolean - Will users be locked out after incorrect login attempts?
@@ -660,7 +660,6 @@ module Files
660
660
  raise InvalidParameterError.new("Bad parameter: default_time_zone must be an String") if params.dig(:default_time_zone) and !params.dig(:default_time_zone).is_a?(String)
661
661
  raise InvalidParameterError.new("Bad parameter: desktop_app_session_lifetime must be an Integer") if params.dig(:desktop_app_session_lifetime) and !params.dig(:desktop_app_session_lifetime).is_a?(Integer)
662
662
  raise InvalidParameterError.new("Bad parameter: welcome_screen must be an String") if params.dig(:welcome_screen) and !params.dig(:welcome_screen).is_a?(String)
663
- raise InvalidParameterError.new("Bad parameter: session_expiry must be an Integer") if params.dig(:session_expiry) and !params.dig(:session_expiry).is_a?(Integer)
664
663
  raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params.dig(:user_lockout_tries) and !params.dig(:user_lockout_tries).is_a?(Integer)
665
664
  raise InvalidParameterError.new("Bad parameter: user_lockout_within must be an Integer") if params.dig(:user_lockout_within) and !params.dig(:user_lockout_within).is_a?(Integer)
666
665
  raise InvalidParameterError.new("Bad parameter: user_lockout_lock_period must be an Integer") if params.dig(:user_lockout_lock_period) and !params.dig(:user_lockout_lock_period).is_a?(Integer)
@@ -29,12 +29,12 @@ module Files
29
29
  @attributes[:created_at]
30
30
  end
31
31
 
32
- # float - Current site usage as of report
32
+ # double - Current site usage as of report
33
33
  def current_storage
34
34
  @attributes[:current_storage]
35
35
  end
36
36
 
37
- # float - Site usage report highest usage in time period
37
+ # double - Site usage report highest usage in time period
38
38
  def high_water_storage
39
39
  @attributes[:high_water_storage]
40
40
  end
@@ -59,17 +59,17 @@ module Files
59
59
  @attributes[:usage_by_top_level_dir]
60
60
  end
61
61
 
62
- # float - Usage for root folder
62
+ # double - Usage for root folder
63
63
  def root_storage
64
64
  @attributes[:root_storage]
65
65
  end
66
66
 
67
- # float - Usage for files that are deleted but uploaded within last 30 days
67
+ # double - Usage for files that are deleted but uploaded within last 30 days
68
68
  def deleted_files_counted_in_minimum
69
69
  @attributes[:deleted_files_counted_in_minimum]
70
70
  end
71
71
 
72
- # float - Usage for files that are deleted but retained as backups
72
+ # double - Usage for files that are deleted but retained as backups
73
73
  def deleted_files_storage
74
74
  @attributes[:deleted_files_storage]
75
75
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.52
4
+ version: 1.0.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com