files.com 1.0.237 → 1.0.241
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/bandwidth_snapshot.md +1 -5
- data/docs/file.md +2 -2
- data/docs/folder.md +2 -2
- data/docs/remote_bandwidth_snapshot.md +42 -0
- data/docs/session.md +2 -0
- data/docs/settings_change.md +0 -2
- data/docs/site.md +6 -1
- data/docs/user.md +1 -1
- data/lib/files.com/models/bandwidth_snapshot.rb +0 -10
- data/lib/files.com/models/file.rb +1 -1
- data/lib/files.com/models/folder.rb +1 -1
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +67 -0
- data/lib/files.com/models/session.rb +9 -0
- data/lib/files.com/models/settings_change.rb +0 -5
- data/lib/files.com/models/site.rb +6 -0
- data/lib/files.com.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9988977331e15b6c955ceb1f186c653ceb4c6a70a1fb8ddea3744e056b109e0e
|
|
4
|
+
data.tar.gz: 7127cf3b35e224176f954e7769398c6208d1850519afd5f7cba885c7500ed884
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2dbe285fcac050bdaa7c94416eb0eec54ea0bb454ee27c9ff92081d4b36ab3eaed8431aeccc3d99561e11bd3f50bc1137cea3a84580d667e252a4ce8a93ba0d
|
|
7
|
+
data.tar.gz: b2cbafeeb430ac23e20cd7745d17f3405bfaeb6d67eeb5ce26a8f3d97510374314390b17fffbba6d09e5f3464f5d0c8ed4038710a90262a7181c3c5a994b1670
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.241
|
data/docs/bandwidth_snapshot.md
CHANGED
|
@@ -12,9 +12,7 @@
|
|
|
12
12
|
"requests_get": 1.0,
|
|
13
13
|
"requests_put": 1.0,
|
|
14
14
|
"requests_other": 1.0,
|
|
15
|
-
"logged_at": "2000-01-01T01:00:00Z"
|
|
16
|
-
"created_at": "2000-01-01T01:00:00Z",
|
|
17
|
-
"updated_at": "2000-01-01T01:00:00Z"
|
|
15
|
+
"logged_at": "2000-01-01T01:00:00Z"
|
|
18
16
|
}
|
|
19
17
|
```
|
|
20
18
|
|
|
@@ -27,8 +25,6 @@
|
|
|
27
25
|
* `requests_put` (double): Site bandwidth report put requests
|
|
28
26
|
* `requests_other` (double): Site bandwidth report other requests
|
|
29
27
|
* `logged_at` (date-time): Time the site bandwidth report was logged
|
|
30
|
-
* `created_at` (date-time): Site bandwidth report created at date/time
|
|
31
|
-
* `updated_at` (date-time): The last time this site bandwidth report was updated
|
|
32
28
|
|
|
33
29
|
|
|
34
30
|
---
|
data/docs/file.md
CHANGED
|
@@ -17,7 +17,7 @@ may places where a Ruby File object can be used.
|
|
|
17
17
|
"md5": "17c54824e9931a4688ca032d03f6663c",
|
|
18
18
|
"mime_type": "application/octet-stream",
|
|
19
19
|
"region": "us-east-1",
|
|
20
|
-
"permissions": "
|
|
20
|
+
"permissions": "rwd",
|
|
21
21
|
"subfolders_locked?": true,
|
|
22
22
|
"download_uri": "https://mysite.files.com/...",
|
|
23
23
|
"priority_color": "red",
|
|
@@ -42,7 +42,7 @@ may places where a Ruby File object can be used.
|
|
|
42
42
|
* `md5` (string): File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
|
43
43
|
* `mime_type` (string): MIME Type. This is determined by the filename extension and is not stored separately internally.
|
|
44
44
|
* `region` (string): Region location
|
|
45
|
-
* `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`
|
|
45
|
+
* `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
|
|
46
46
|
* `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
|
|
47
47
|
* `download_uri` (string): Link to download file. Provided only in response to a download request.
|
|
48
48
|
* `priority_color` (string): Bookmark/priority color of file/folder
|
data/docs/folder.md
CHANGED
|
@@ -19,7 +19,7 @@ Files::Dir is an alias of Files::Folder
|
|
|
19
19
|
"md5": "17c54824e9931a4688ca032d03f6663c",
|
|
20
20
|
"mime_type": "application/octet-stream",
|
|
21
21
|
"region": "us-east-1",
|
|
22
|
-
"permissions": "
|
|
22
|
+
"permissions": "rwd",
|
|
23
23
|
"subfolders_locked?": true,
|
|
24
24
|
"download_uri": "https://mysite.files.com/...",
|
|
25
25
|
"priority_color": "red",
|
|
@@ -44,7 +44,7 @@ Files::Dir is an alias of Files::Folder
|
|
|
44
44
|
* `md5` (string): File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
|
45
45
|
* `mime_type` (string): MIME Type. This is determined by the filename extension and is not stored separately internally.
|
|
46
46
|
* `region` (string): Region location
|
|
47
|
-
* `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`
|
|
47
|
+
* `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
|
|
48
48
|
* `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
|
|
49
49
|
* `download_uri` (string): Link to download file. Provided only in response to a download request.
|
|
50
50
|
* `priority_color` (string): Bookmark/priority color of file/folder
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# RemoteBandwidthSnapshot
|
|
2
|
+
|
|
3
|
+
## Example RemoteBandwidthSnapshot Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"id": 1,
|
|
8
|
+
"sync_bytes_received": 1.0,
|
|
9
|
+
"sync_bytes_sent": 1.0,
|
|
10
|
+
"logged_at": "2000-01-01T01:00:00Z",
|
|
11
|
+
"remote_server_id": 1
|
|
12
|
+
}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
* `id` (int64): Site bandwidth ID
|
|
16
|
+
* `sync_bytes_received` (double): Site sync bandwidth report bytes received
|
|
17
|
+
* `sync_bytes_sent` (double): Site sync bandwidth report bytes sent
|
|
18
|
+
* `logged_at` (date-time): Time the site bandwidth report was logged
|
|
19
|
+
* `remote_server_id` (int64): ID of related Remote Server
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## List Remote Bandwidth Snapshots
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
Files::RemoteBandwidthSnapshot.list(
|
|
28
|
+
per_page: 1
|
|
29
|
+
)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Parameters
|
|
33
|
+
|
|
34
|
+
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
|
35
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
36
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `logged_at`.
|
|
37
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
|
38
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
|
|
39
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `logged_at`.
|
|
40
|
+
* `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
|
41
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
|
|
42
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `logged_at`.
|
data/docs/session.md
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"allowed_2fa_method_sms": true,
|
|
21
21
|
"allowed_2fa_method_totp": true,
|
|
22
22
|
"allowed_2fa_method_u2f": true,
|
|
23
|
+
"allowed_2fa_method_webauthn": true,
|
|
23
24
|
"allowed_2fa_method_yubi": true,
|
|
24
25
|
"use_provided_modified_at": true,
|
|
25
26
|
"windows_mode_ftp": true
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
* `allowed_2fa_method_sms` (boolean): Sent only if 2FA setup is needed. Is SMS two factor authentication allowed?
|
|
43
44
|
* `allowed_2fa_method_totp` (boolean): Sent only if 2FA setup is needed. Is TOTP two factor authentication allowed?
|
|
44
45
|
* `allowed_2fa_method_u2f` (boolean): Sent only if 2FA setup is needed. Is U2F two factor authentication allowed?
|
|
46
|
+
* `allowed_2fa_method_webauthn` (boolean): Sent only if 2FA setup is needed. Is WebAuthn two factor authentication allowed?
|
|
45
47
|
* `allowed_2fa_method_yubi` (boolean): Sent only if 2FA setup is needed. Is Yubikey two factor authentication allowed?
|
|
46
48
|
* `use_provided_modified_at` (boolean): Allow the user to provide file/folder modified at dates? If false, the server will always use the current date/time.
|
|
47
49
|
* `windows_mode_ftp` (boolean): Does this user want to use Windows line-ending emulation? (CR vs CRLF)
|
data/docs/settings_change.md
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
|
-
"change_details": "{ domain: [\"olddomain.com', \"newdomain.com\"] }",
|
|
8
7
|
"changes": [
|
|
9
8
|
""
|
|
10
9
|
],
|
|
@@ -13,7 +12,6 @@
|
|
|
13
12
|
}
|
|
14
13
|
```
|
|
15
14
|
|
|
16
|
-
* `change_details` (object): Specifics on what changed.
|
|
17
15
|
* `changes` (string): Markdown-formatted change messages.
|
|
18
16
|
* `created_at` (date-time): The time this change was made
|
|
19
17
|
* `user_id` (int64): The user id responsible for this change
|
data/docs/site.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"allowed_2fa_method_sms": true,
|
|
9
9
|
"allowed_2fa_method_totp": true,
|
|
10
10
|
"allowed_2fa_method_u2f": true,
|
|
11
|
+
"allowed_2fa_method_webauthn": true,
|
|
11
12
|
"allowed_2fa_method_yubi": true,
|
|
12
13
|
"admin_user_id": 1,
|
|
13
14
|
"allow_bundle_names": true,
|
|
@@ -130,6 +131,7 @@
|
|
|
130
131
|
"allowed_2fa_method_sms": true,
|
|
131
132
|
"allowed_2fa_method_totp": true,
|
|
132
133
|
"allowed_2fa_method_u2f": true,
|
|
134
|
+
"allowed_2fa_method_webauthn": true,
|
|
133
135
|
"allowed_2fa_method_yubi": true,
|
|
134
136
|
"use_provided_modified_at": true,
|
|
135
137
|
"windows_mode_ftp": false
|
|
@@ -205,7 +207,7 @@
|
|
|
205
207
|
"subscribe_to_newsletter": true,
|
|
206
208
|
"externally_managed": true,
|
|
207
209
|
"time_zone": "Pacific Time (US & Canada)",
|
|
208
|
-
"type_of_2fa": "",
|
|
210
|
+
"type_of_2fa": "yubi",
|
|
209
211
|
"user_root": ""
|
|
210
212
|
},
|
|
211
213
|
"user_lockout": true,
|
|
@@ -226,6 +228,7 @@
|
|
|
226
228
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
|
227
229
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
|
228
230
|
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
|
231
|
+
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
|
229
232
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
|
230
233
|
* `admin_user_id` (int64): User ID for the main site administrator
|
|
231
234
|
* `allow_bundle_names` (boolean): Are manual Bundle names allowed?
|
|
@@ -439,6 +442,7 @@ Files::Site.update(
|
|
|
439
442
|
allowed_2fa_method_sms: true,
|
|
440
443
|
allowed_2fa_method_u2f: true,
|
|
441
444
|
allowed_2fa_method_totp: true,
|
|
445
|
+
allowed_2fa_method_webauthn: true,
|
|
442
446
|
allowed_2fa_method_yubi: true,
|
|
443
447
|
require_2fa: true,
|
|
444
448
|
require_2fa_user_type: "`site_admins`",
|
|
@@ -545,6 +549,7 @@ Files::Site.update(
|
|
|
545
549
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
|
546
550
|
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
|
547
551
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
|
552
|
+
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
|
548
553
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
|
549
554
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
|
550
555
|
* `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
data/docs/user.md
CHANGED
|
@@ -54,16 +54,6 @@ module Files
|
|
|
54
54
|
@attributes[:logged_at]
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
# date-time - Site bandwidth report created at date/time
|
|
58
|
-
def created_at
|
|
59
|
-
@attributes[:created_at]
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
# date-time - The last time this site bandwidth report was updated
|
|
63
|
-
def updated_at
|
|
64
|
-
@attributes[:updated_at]
|
|
65
|
-
end
|
|
66
|
-
|
|
67
57
|
# Parameters:
|
|
68
58
|
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
|
69
59
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
@@ -682,7 +682,7 @@ module Files
|
|
|
682
682
|
@attributes[:region] = value
|
|
683
683
|
end
|
|
684
684
|
|
|
685
|
-
# string - A short string representing the current user's permissions. Can be `r`,`w`,`
|
|
685
|
+
# string - A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
|
|
686
686
|
def permissions
|
|
687
687
|
@attributes[:permissions]
|
|
688
688
|
end
|
|
@@ -240,7 +240,7 @@ module Files
|
|
|
240
240
|
@attributes[:region] = value
|
|
241
241
|
end
|
|
242
242
|
|
|
243
|
-
# string - A short string representing the current user's permissions. Can be `r`,`w`,`
|
|
243
|
+
# string - A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
|
|
244
244
|
def permissions
|
|
245
245
|
@attributes[:permissions]
|
|
246
246
|
end
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Files
|
|
4
|
+
class RemoteBandwidthSnapshot
|
|
5
|
+
attr_reader :options, :attributes
|
|
6
|
+
|
|
7
|
+
def initialize(attributes = {}, options = {})
|
|
8
|
+
@attributes = attributes || {}
|
|
9
|
+
@options = options || {}
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
# int64 - Site bandwidth ID
|
|
13
|
+
def id
|
|
14
|
+
@attributes[:id]
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# double - Site sync bandwidth report bytes received
|
|
18
|
+
def sync_bytes_received
|
|
19
|
+
@attributes[:sync_bytes_received]
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# double - Site sync bandwidth report bytes sent
|
|
23
|
+
def sync_bytes_sent
|
|
24
|
+
@attributes[:sync_bytes_sent]
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# date-time - Time the site bandwidth report was logged
|
|
28
|
+
def logged_at
|
|
29
|
+
@attributes[:logged_at]
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# int64 - ID of related Remote Server
|
|
33
|
+
def remote_server_id
|
|
34
|
+
@attributes[:remote_server_id]
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Parameters:
|
|
38
|
+
# cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
|
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 (e.g. sort_by[last_login_at]=desc). Valid fields are `logged_at`.
|
|
41
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
|
42
|
+
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
|
|
43
|
+
# filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `logged_at`.
|
|
44
|
+
# filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
|
45
|
+
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
|
|
46
|
+
# filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `logged_at`.
|
|
47
|
+
def self.list(params = {}, options = {})
|
|
48
|
+
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
|
|
49
|
+
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
|
|
50
|
+
raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params.dig(:sort_by) and !params.dig(:sort_by).is_a?(Hash)
|
|
51
|
+
raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params.dig(:filter) and !params.dig(:filter).is_a?(Hash)
|
|
52
|
+
raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params.dig(:filter_gt) and !params.dig(:filter_gt).is_a?(Hash)
|
|
53
|
+
raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params.dig(:filter_gteq) and !params.dig(:filter_gteq).is_a?(Hash)
|
|
54
|
+
raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params.dig(:filter_like) and !params.dig(:filter_like).is_a?(Hash)
|
|
55
|
+
raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params.dig(:filter_lt) and !params.dig(:filter_lt).is_a?(Hash)
|
|
56
|
+
raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params.dig(:filter_lteq) and !params.dig(:filter_lteq).is_a?(Hash)
|
|
57
|
+
|
|
58
|
+
List.new(RemoteBandwidthSnapshot, params) do
|
|
59
|
+
Api.send_request("/remote_bandwidth_snapshots", :get, params, options)
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def self.all(params = {}, options = {})
|
|
64
|
+
list(params, options)
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
@@ -157,6 +157,15 @@ module Files
|
|
|
157
157
|
@attributes[:allowed_2fa_method_u2f] = value
|
|
158
158
|
end
|
|
159
159
|
|
|
160
|
+
# boolean - Sent only if 2FA setup is needed. Is WebAuthn two factor authentication allowed?
|
|
161
|
+
def allowed_2fa_method_webauthn
|
|
162
|
+
@attributes[:allowed_2fa_method_webauthn]
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
def allowed_2fa_method_webauthn=(value)
|
|
166
|
+
@attributes[:allowed_2fa_method_webauthn] = value
|
|
167
|
+
end
|
|
168
|
+
|
|
160
169
|
# boolean - Sent only if 2FA setup is needed. Is Yubikey two factor authentication allowed?
|
|
161
170
|
def allowed_2fa_method_yubi
|
|
162
171
|
@attributes[:allowed_2fa_method_yubi]
|
|
@@ -29,6 +29,11 @@ module Files
|
|
|
29
29
|
@attributes[:allowed_2fa_method_u2f]
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
+
# boolean - Is WebAuthn two factor authentication allowed?
|
|
33
|
+
def allowed_2fa_method_webauthn
|
|
34
|
+
@attributes[:allowed_2fa_method_webauthn]
|
|
35
|
+
end
|
|
36
|
+
|
|
32
37
|
# boolean - Is yubikey two factor authentication allowed?
|
|
33
38
|
def allowed_2fa_method_yubi
|
|
34
39
|
@attributes[:allowed_2fa_method_yubi]
|
|
@@ -718,6 +723,7 @@ module Files
|
|
|
718
723
|
# allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
|
|
719
724
|
# allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
|
|
720
725
|
# allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
|
726
|
+
# allowed_2fa_method_webauthn - boolean - Is WebAuthn two factor authentication allowed?
|
|
721
727
|
# allowed_2fa_method_yubi - boolean - Is yubikey two factor authentication allowed?
|
|
722
728
|
# require_2fa - boolean - Require two-factor authentication for all users?
|
|
723
729
|
# require_2fa_user_type - string - What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
data/lib/files.com.rb
CHANGED
|
@@ -86,6 +86,7 @@ require "files.com/models/priority"
|
|
|
86
86
|
require "files.com/models/project"
|
|
87
87
|
require "files.com/models/public_ip_address"
|
|
88
88
|
require "files.com/models/public_key"
|
|
89
|
+
require "files.com/models/remote_bandwidth_snapshot"
|
|
89
90
|
require "files.com/models/remote_server"
|
|
90
91
|
require "files.com/models/request"
|
|
91
92
|
require "files.com/models/session"
|
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.
|
|
4
|
+
version: 1.0.241
|
|
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-
|
|
11
|
+
date: 2022-02-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|
|
@@ -146,6 +146,7 @@ files:
|
|
|
146
146
|
- docs/project.md
|
|
147
147
|
- docs/public_ip_address.md
|
|
148
148
|
- docs/public_key.md
|
|
149
|
+
- docs/remote_bandwidth_snapshot.md
|
|
149
150
|
- docs/remote_server.md
|
|
150
151
|
- docs/request.md
|
|
151
152
|
- docs/session.md
|
|
@@ -227,6 +228,7 @@ files:
|
|
|
227
228
|
- lib/files.com/models/project.rb
|
|
228
229
|
- lib/files.com/models/public_ip_address.rb
|
|
229
230
|
- lib/files.com/models/public_key.rb
|
|
231
|
+
- lib/files.com/models/remote_bandwidth_snapshot.rb
|
|
230
232
|
- lib/files.com/models/remote_server.rb
|
|
231
233
|
- lib/files.com/models/request.rb
|
|
232
234
|
- lib/files.com/models/session.rb
|