files.com 1.1.151 → 1.1.153

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: be78fe1cb88fef9dbfb626802a552241066a40e8e8f8d40e7f3a7ab0c15d7374
4
- data.tar.gz: 3912883625b7fa7a5950da5d141c3b6cb62cd226ad77205ac03ddfe9833bfbf2
3
+ metadata.gz: ea471afd57eb4dbc7c84e8862024a6eb1b0e2818d2a3946f546bc4f5cc4222e3
4
+ data.tar.gz: 139316408c4e7cd6fbe4dd4a2a4cf94a1d5adfac6ab7bde235dc02e8c50f98d6
5
5
  SHA512:
6
- metadata.gz: 99c7d9f3959ccc583af79c96b06fa36779f9063da5ceb344ecbca4f84d2e1bf2fa1e620298d8a6a09c03b7bfffc038814c51294f9f0711918af4fd1fbf8e3438
7
- data.tar.gz: 62a51d1c2cc6757356c203acc6860eecf48e36feafab722cbfd4a9d7044111bde46666fa76f7f4594da976eb422919d6fa575b5d21d685284c1e01838164e066
6
+ metadata.gz: 68bd449632b206f5ff51a0e705dec632e37bcc9774c4841e982ffc65a8eecb5aa6abc85bfb2d487f1c050bdb6e351051509b02bbd137eca514a6c4f5052b31af
7
+ data.tar.gz: 44439f58efd0b0f1f6ee05eb11b9ab350825ce45b2d67d8959b1a41365f46ce939131aadceddd05e32dd96a538e0810f55113ad6a9988d75e1310c7003e371be
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.151
1
+ 1.1.153
@@ -37,5 +37,5 @@ Files::SettingsChange.list
37
37
 
38
38
  * `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.
39
39
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
40
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `api_key_id`, `created_at` or `user_id`.
40
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `api_key_id` or `user_id`.
41
41
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
data/docs/site.md CHANGED
@@ -212,6 +212,7 @@
212
212
  "authenticate_until": "2000-01-01T01:00:00Z",
213
213
  "authentication_method": "password",
214
214
  "avatar_url": "example",
215
+ "billable": true,
215
216
  "billing_permission": false,
216
217
  "bypass_site_allowed_ips": false,
217
218
  "bypass_inactive_disable": false,
data/docs/user.md CHANGED
@@ -15,6 +15,7 @@
15
15
  "authenticate_until": "2000-01-01T01:00:00Z",
16
16
  "authentication_method": "password",
17
17
  "avatar_url": "example",
18
+ "billable": true,
18
19
  "billing_permission": true,
19
20
  "bypass_site_allowed_ips": true,
20
21
  "bypass_inactive_disable": true,
@@ -82,6 +83,7 @@
82
83
  * `authenticate_until` (date-time): Scheduled Date/Time at which user will be deactivated
83
84
  * `authentication_method` (string): How is this user authenticated?
84
85
  * `avatar_url` (string): URL holding the user's avatar
86
+ * `billable` (boolean): Is this a billable user record?
85
87
  * `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
86
88
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
87
89
  * `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
@@ -47,7 +47,7 @@ module Files
47
47
  # Parameters:
48
48
  # 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.
49
49
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
50
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `api_key_id`, `created_at` or `user_id`.
50
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `api_key_id` or `user_id`.
51
51
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
52
52
  def self.list(params = {}, options = {})
53
53
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -90,6 +90,15 @@ module Files
90
90
  @attributes[:avatar_url] = value
91
91
  end
92
92
 
93
+ # boolean - Is this a billable user record?
94
+ def billable
95
+ @attributes[:billable]
96
+ end
97
+
98
+ def billable=(value)
99
+ @attributes[:billable] = value
100
+ end
101
+
93
102
  # boolean - Allow this user to perform operations on the account, payments, and invoices?
94
103
  def billing_permission
95
104
  @attributes[:billing_permission]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.151"
4
+ VERSION = "1.1.153"
5
5
  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.1.151
4
+ version: 1.1.153
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com