files.com 1.2.99 → 1.2.100
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.
- package/_VERSION +1 -1
- package/docs/Errors.md +2 -0
- package/docs/models/Action.md +2 -0
- package/docs/models/ApiRequestLog.md +2 -0
- package/docs/models/History.md +2 -0
- package/docs/models/HistoryExportResult.md +2 -0
- package/docs/models/SettingsChange.md +2 -0
- package/docs/models/Site.md +2 -1
- package/lib/Errors.js +546 -522
- package/lib/Files.js +1 -1
- package/lib/models/Action.js +4 -0
- package/lib/models/ApiRequestLog.js +4 -0
- package/lib/models/History.js +4 -0
- package/lib/models/HistoryExportResult.js +4 -0
- package/lib/models/SettingsChange.js +4 -0
- package/package.json +1 -1
- package/src/Errors.js +2 -0
- package/src/Files.js +1 -1
- package/src/models/Action.js +3 -0
- package/src/models/ApiRequestLog.js +3 -0
- package/src/models/History.js +3 -0
- package/src/models/HistoryExportResult.js +3 -0
- package/src/models/SettingsChange.js +3 -0
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.100
|
package/docs/Errors.md
CHANGED
|
@@ -94,6 +94,7 @@ These errors are derived from the error groups listed above.
|
|
|
94
94
|
### NotAuthenticated_InvalidCredentialsError
|
|
95
95
|
### NotAuthenticated_InvalidOauthError
|
|
96
96
|
### NotAuthenticated_InvalidOrExpiredCodeError
|
|
97
|
+
### NotAuthenticated_InvalidSessionError
|
|
97
98
|
### NotAuthenticated_InvalidUsernameOrPasswordError
|
|
98
99
|
### NotAuthenticated_LockedOutError
|
|
99
100
|
### NotAuthenticated_LockoutRegionMismatchError
|
|
@@ -116,6 +117,7 @@ These errors are derived from the error groups listed above.
|
|
|
116
117
|
### NotAuthorized_FullPermissionRequiredError
|
|
117
118
|
### NotAuthorized_HistoryPermissionRequiredError
|
|
118
119
|
### NotAuthorized_InsufficientPermissionForParamsError
|
|
120
|
+
### NotAuthorized_InsufficientPermissionForSiteError
|
|
119
121
|
### NotAuthorized_MustAuthenticateWithApiKeyError
|
|
120
122
|
### NotAuthorized_NeedAdminPermissionForInboxError
|
|
121
123
|
### NotAuthorized_NonAdminsMustQueryByFolderOrPathError
|
package/docs/models/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.
|
|
@@ -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
|
package/docs/models/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`
|
|
@@ -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
|
---
|
package/docs/models/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,
|