files.com 1.1.105 → 1.1.107
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/action.md +2 -0
- data/docs/api_request_log.md +3 -4
- data/docs/app.md +1 -5
- data/docs/automation_log.md +1 -4
- data/docs/bandwidth_snapshot.md +1 -8
- data/docs/behavior.md +1 -5
- data/docs/bundle_notification.md +1 -4
- data/docs/email_incoming_message.md +1 -9
- data/docs/email_log.md +1 -4
- data/docs/exavault_api_request_log.md +1 -4
- data/docs/external_event.md +1 -9
- data/docs/file_migration_log.md +1 -4
- data/docs/ftp_action_log.md +1 -4
- data/docs/group.md +1 -6
- data/docs/history.md +2 -0
- data/docs/history_export_result.md +2 -0
- data/docs/outbound_connection_log.md +1 -4
- data/docs/public_hosting_request_log.md +1 -4
- data/docs/remote_bandwidth_snapshot.md +1 -8
- data/docs/settings_change.md +3 -4
- data/docs/sftp_action_log.md +1 -4
- data/docs/site.md +2 -1
- data/docs/sync_log.md +1 -4
- data/docs/usage_daily_snapshot.md +1 -8
- data/docs/user.md +1 -11
- data/docs/web_dav_action_log.md +1 -4
- data/lib/files.com/errors.rb +2 -0
- data/lib/files.com/models/action.rb +5 -0
- data/lib/files.com/models/api_request_log.rb +5 -0
- data/lib/files.com/models/history.rb +5 -0
- data/lib/files.com/models/history_export_result.rb +5 -0
- data/lib/files.com/models/settings_change.rb +5 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bbe4d169ac2eda4d4ea012a8d9dc7371ea90084d50c4afcd4630c4bfc059091
|
4
|
+
data.tar.gz: 696362385417f0e54cdcb4330950a14fda115b821febd1a104c33887781f14ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20a406d31f96b106420c21adf642eb116b158f8f1c6d3ec620326382c5082a259d30a10f87eb216aad8745feb22a410df53310332509eaf163240335dbe5db74
|
7
|
+
data.tar.gz: 1c5841d83dee98b9030fb102cb2af47ce181d8d001be486a61df8afb6e4a011457e025bcb666f3e49f2580f50813dcfc8f65d7d0b0345e3d65ad4080305029cb
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.107
|
data/docs/action.md
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
],
|
17
17
|
"user_id": 1,
|
18
18
|
"username": "user",
|
19
|
+
"user_is_from_parent_site": true,
|
19
20
|
"action": "create",
|
20
21
|
"failure_type": "none",
|
21
22
|
"interface": "web"
|
@@ -32,6 +33,7 @@
|
|
32
33
|
* `targets` (array(object)): Targets
|
33
34
|
* `user_id` (int64): User ID
|
34
35
|
* `username` (string): Username
|
36
|
+
* `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
|
35
37
|
* `action` (string): Type of action
|
36
38
|
* `failure_type` (string): Failure type. If action was a user login or session failure, why did it fail?
|
37
39
|
* `interface` (string): Interface on which this action occurred.
|
data/docs/api_request_log.md
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
"api_key_prefix": "example",
|
10
10
|
"user_id": 1,
|
11
11
|
"username": "example",
|
12
|
+
"user_is_from_parent_site": true,
|
12
13
|
"interface": "example",
|
13
14
|
"request_method": "example",
|
14
15
|
"request_path": "example",
|
@@ -30,6 +31,7 @@
|
|
30
31
|
* `api_key_prefix` (string): API Key Prefix, if applicable
|
31
32
|
* `user_id` (int64): User ID
|
32
33
|
* `username` (string): Username
|
34
|
+
* `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
|
33
35
|
* `interface` (string): API Interface
|
34
36
|
* `request_method` (string): HTTP Method
|
35
37
|
* `request_path` (string): Request path
|
@@ -50,10 +52,7 @@
|
|
50
52
|
## List API Request Logs
|
51
53
|
|
52
54
|
```
|
53
|
-
Files::ApiRequestLog.list
|
54
|
-
filter: "",
|
55
|
-
filter_prefix: ""
|
56
|
-
)
|
55
|
+
Files::ApiRequestLog.list
|
57
56
|
```
|
58
57
|
|
59
58
|
### Parameters
|
data/docs/app.md
CHANGED
data/docs/automation_log.md
CHANGED
data/docs/bandwidth_snapshot.md
CHANGED
@@ -32,14 +32,7 @@
|
|
32
32
|
## List Bandwidth Snapshots
|
33
33
|
|
34
34
|
```
|
35
|
-
Files::BandwidthSnapshot.list
|
36
|
-
sort_by: "",
|
37
|
-
filter: "",
|
38
|
-
filter_gt: "",
|
39
|
-
filter_gteq: "",
|
40
|
-
filter_lt: "",
|
41
|
-
filter_lteq: ""
|
42
|
-
)
|
35
|
+
Files::BandwidthSnapshot.list
|
43
36
|
```
|
44
37
|
|
45
38
|
### Parameters
|
data/docs/behavior.md
CHANGED
data/docs/bundle_notification.md
CHANGED
@@ -32,15 +32,7 @@
|
|
32
32
|
## List Email Incoming Messages
|
33
33
|
|
34
34
|
```
|
35
|
-
Files::EmailIncomingMessage.list
|
36
|
-
sort_by: "",
|
37
|
-
filter: "",
|
38
|
-
filter_gt: "",
|
39
|
-
filter_gteq: "",
|
40
|
-
filter_prefix: "",
|
41
|
-
filter_lt: "",
|
42
|
-
filter_lteq: ""
|
43
|
-
)
|
35
|
+
Files::EmailIncomingMessage.list
|
44
36
|
```
|
45
37
|
|
46
38
|
### Parameters
|
data/docs/email_log.md
CHANGED
data/docs/external_event.md
CHANGED
@@ -40,15 +40,7 @@
|
|
40
40
|
## List External Events
|
41
41
|
|
42
42
|
```
|
43
|
-
Files::ExternalEvent.list
|
44
|
-
sort_by: "",
|
45
|
-
filter: "",
|
46
|
-
filter_gt: "",
|
47
|
-
filter_gteq: "",
|
48
|
-
filter_prefix: "",
|
49
|
-
filter_lt: "",
|
50
|
-
filter_lteq: ""
|
51
|
-
)
|
43
|
+
Files::ExternalEvent.list
|
52
44
|
```
|
53
45
|
|
54
46
|
### Parameters
|
data/docs/file_migration_log.md
CHANGED
data/docs/ftp_action_log.md
CHANGED
data/docs/group.md
CHANGED
data/docs/history.md
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
],
|
17
17
|
"user_id": 1,
|
18
18
|
"username": "user",
|
19
|
+
"user_is_from_parent_site": true,
|
19
20
|
"action": "create",
|
20
21
|
"failure_type": "none",
|
21
22
|
"interface": "web"
|
@@ -32,6 +33,7 @@
|
|
32
33
|
* `targets` (array(object)): Targets
|
33
34
|
* `user_id` (int64): User ID
|
34
35
|
* `username` (string): Username
|
36
|
+
* `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
|
35
37
|
* `action` (string): Type of action
|
36
38
|
* `failure_type` (string): Failure type. If action was a user login or session failure, why did it fail?
|
37
39
|
* `interface` (string): Interface on which this action occurred.
|
@@ -16,6 +16,7 @@
|
|
16
16
|
"destination": "DestFolder",
|
17
17
|
"ip": "127.0.0.1",
|
18
18
|
"username": "jerry",
|
19
|
+
"user_is_from_parent_site": true,
|
19
20
|
"action": "read",
|
20
21
|
"failure_type": "bad_password",
|
21
22
|
"interface": "ftp",
|
@@ -44,6 +45,7 @@
|
|
44
45
|
* `destination` (string): File moved to this destination folder
|
45
46
|
* `ip` (string): Client IP that performed the action
|
46
47
|
* `username` (string): Username of the user that performed the action
|
48
|
+
* `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
|
47
49
|
* `action` (string): What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
48
50
|
* `failure_type` (string): The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
|
49
51
|
* `interface` (string): Inteface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
|
@@ -24,14 +24,7 @@
|
|
24
24
|
## List Remote Bandwidth Snapshots
|
25
25
|
|
26
26
|
```
|
27
|
-
Files::RemoteBandwidthSnapshot.list
|
28
|
-
sort_by: "",
|
29
|
-
filter: "",
|
30
|
-
filter_gt: "",
|
31
|
-
filter_gteq: "",
|
32
|
-
filter_lt: "",
|
33
|
-
filter_lteq: ""
|
34
|
-
)
|
27
|
+
Files::RemoteBandwidthSnapshot.list
|
35
28
|
```
|
36
29
|
|
37
30
|
### Parameters
|
data/docs/settings_change.md
CHANGED
@@ -11,6 +11,7 @@
|
|
11
11
|
"user_id": 1,
|
12
12
|
"api_key_id": 1,
|
13
13
|
"user_is_files_support": true,
|
14
|
+
"user_is_from_parent_site": true,
|
14
15
|
"username": "some_user"
|
15
16
|
}
|
16
17
|
```
|
@@ -20,6 +21,7 @@
|
|
20
21
|
* `user_id` (int64): The user id responsible for this change
|
21
22
|
* `api_key_id` (int64): The API key id responsible for this change
|
22
23
|
* `user_is_files_support` (boolean): true if this change was performed by Files.com support.
|
24
|
+
* `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
|
23
25
|
* `username` (string): The username of the user responsible for this change
|
24
26
|
|
25
27
|
|
@@ -28,10 +30,7 @@
|
|
28
30
|
## List Settings Changes
|
29
31
|
|
30
32
|
```
|
31
|
-
Files::SettingsChange.list
|
32
|
-
sort_by: "",
|
33
|
-
filter: ""
|
34
|
-
)
|
33
|
+
Files::SettingsChange.list
|
35
34
|
```
|
36
35
|
|
37
36
|
### Parameters
|
data/docs/sftp_action_log.md
CHANGED
data/docs/site.md
CHANGED
@@ -169,7 +169,8 @@
|
|
169
169
|
"allowed_2fa_method_webauthn": true,
|
170
170
|
"allowed_2fa_method_yubi": true,
|
171
171
|
"use_provided_modified_at": true,
|
172
|
-
"windows_mode_ftp": false
|
172
|
+
"windows_mode_ftp": false,
|
173
|
+
"user_belongs_to_parent_site": false
|
173
174
|
},
|
174
175
|
"session_pinned_by_ip": true,
|
175
176
|
"sftp_enabled": true,
|
data/docs/sync_log.md
CHANGED
@@ -38,14 +38,7 @@
|
|
38
38
|
## List Usage Daily Snapshots
|
39
39
|
|
40
40
|
```
|
41
|
-
Files::UsageDailySnapshot.list
|
42
|
-
sort_by: "",
|
43
|
-
filter: "",
|
44
|
-
filter_gt: "",
|
45
|
-
filter_gteq: "",
|
46
|
-
filter_lt: "",
|
47
|
-
filter_lteq: ""
|
48
|
-
)
|
41
|
+
Files::UsageDailySnapshot.list
|
49
42
|
```
|
50
43
|
|
51
44
|
### Parameters
|
data/docs/user.md
CHANGED
@@ -150,17 +150,7 @@
|
|
150
150
|
## List Users
|
151
151
|
|
152
152
|
```
|
153
|
-
Files::User.list
|
154
|
-
sort_by: "",
|
155
|
-
filter: "",
|
156
|
-
filter_gt: "",
|
157
|
-
filter_gteq: "",
|
158
|
-
filter_prefix: "",
|
159
|
-
filter_lt: "",
|
160
|
-
filter_lteq: "",
|
161
|
-
ids: "",
|
162
|
-
search: ""
|
163
|
-
)
|
153
|
+
Files::User.list
|
164
154
|
```
|
165
155
|
|
166
156
|
### Parameters
|
data/docs/web_dav_action_log.md
CHANGED
data/lib/files.com/errors.rb
CHANGED
@@ -95,6 +95,7 @@ module Files
|
|
95
95
|
class InvalidCredentialsError < NotAuthenticatedError; end
|
96
96
|
class InvalidOauthError < NotAuthenticatedError; end
|
97
97
|
class InvalidOrExpiredCodeError < NotAuthenticatedError; end
|
98
|
+
class InvalidSessionError < NotAuthenticatedError; end
|
98
99
|
class InvalidUsernameOrPasswordError < NotAuthenticatedError; end
|
99
100
|
class LockedOutError < NotAuthenticatedError; end
|
100
101
|
class LockoutRegionMismatchError < NotAuthenticatedError; end
|
@@ -119,6 +120,7 @@ module Files
|
|
119
120
|
class FullPermissionRequiredError < NotAuthorizedError; end
|
120
121
|
class HistoryPermissionRequiredError < NotAuthorizedError; end
|
121
122
|
class InsufficientPermissionForParamsError < NotAuthorizedError; end
|
123
|
+
class InsufficientPermissionForSiteError < NotAuthorizedError; end
|
122
124
|
class MustAuthenticateWithApiKeyError < NotAuthorizedError; end
|
123
125
|
class NeedAdminPermissionForInboxError < NotAuthorizedError; end
|
124
126
|
class NonAdminsMustQueryByFolderOrPathError < NotAuthorizedError; end
|
@@ -59,6 +59,11 @@ module Files
|
|
59
59
|
@attributes[:username]
|
60
60
|
end
|
61
61
|
|
62
|
+
# boolean - true if this change was performed by a user on a parent site.
|
63
|
+
def user_is_from_parent_site
|
64
|
+
@attributes[:user_is_from_parent_site]
|
65
|
+
end
|
66
|
+
|
62
67
|
# string - Type of action
|
63
68
|
def action
|
64
69
|
@attributes[:action]
|
@@ -34,6 +34,11 @@ module Files
|
|
34
34
|
@attributes[:username]
|
35
35
|
end
|
36
36
|
|
37
|
+
# boolean - true if this change was performed by a user on a parent site.
|
38
|
+
def user_is_from_parent_site
|
39
|
+
@attributes[:user_is_from_parent_site]
|
40
|
+
end
|
41
|
+
|
37
42
|
# string - API Interface
|
38
43
|
def interface
|
39
44
|
@attributes[:interface]
|
@@ -59,6 +59,11 @@ module Files
|
|
59
59
|
@attributes[:username]
|
60
60
|
end
|
61
61
|
|
62
|
+
# boolean - true if this change was performed by a user on a parent site.
|
63
|
+
def user_is_from_parent_site
|
64
|
+
@attributes[:user_is_from_parent_site]
|
65
|
+
end
|
66
|
+
|
62
67
|
# string - Type of action
|
63
68
|
def action
|
64
69
|
@attributes[:action]
|
@@ -69,6 +69,11 @@ module Files
|
|
69
69
|
@attributes[:username]
|
70
70
|
end
|
71
71
|
|
72
|
+
# boolean - true if this change was performed by a user on a parent site.
|
73
|
+
def user_is_from_parent_site
|
74
|
+
@attributes[:user_is_from_parent_site]
|
75
|
+
end
|
76
|
+
|
72
77
|
# string - What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
73
78
|
def action
|
74
79
|
@attributes[:action]
|
@@ -34,6 +34,11 @@ module Files
|
|
34
34
|
@attributes[:user_is_files_support]
|
35
35
|
end
|
36
36
|
|
37
|
+
# boolean - true if this change was performed by a user on a parent site.
|
38
|
+
def user_is_from_parent_site
|
39
|
+
@attributes[:user_is_from_parent_site]
|
40
|
+
end
|
41
|
+
|
37
42
|
# string - The username of the user responsible for this change
|
38
43
|
def username
|
39
44
|
@attributes[:username]
|
data/lib/files.com/version.rb
CHANGED
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.
|
4
|
+
version: 1.1.107
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|