files.com 1.2.98 → 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 +3 -4
- package/docs/models/App.md +1 -5
- package/docs/models/AutomationLog.md +1 -4
- package/docs/models/BandwidthSnapshot.md +1 -8
- package/docs/models/Behavior.md +1 -5
- package/docs/models/BundleNotification.md +1 -4
- package/docs/models/EmailIncomingMessage.md +1 -9
- package/docs/models/EmailLog.md +1 -4
- package/docs/models/ExavaultApiRequestLog.md +1 -4
- package/docs/models/ExternalEvent.md +1 -9
- package/docs/models/FileMigrationLog.md +1 -4
- package/docs/models/FtpActionLog.md +1 -4
- package/docs/models/Group.md +1 -6
- package/docs/models/History.md +2 -0
- package/docs/models/HistoryExportResult.md +2 -0
- package/docs/models/OutboundConnectionLog.md +1 -4
- package/docs/models/PublicHostingRequestLog.md +1 -4
- package/docs/models/RemoteBandwidthSnapshot.md +1 -8
- package/docs/models/SettingsChange.md +3 -4
- package/docs/models/SftpActionLog.md +1 -4
- package/docs/models/Site.md +2 -1
- package/docs/models/SyncLog.md +1 -4
- package/docs/models/UsageDailySnapshot.md +1 -8
- package/docs/models/User.md +1 -11
- package/docs/models/WebDavActionLog.md +1 -4
- 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
|
|
@@ -49,10 +51,7 @@
|
|
|
49
51
|
## List API Request Logs
|
|
50
52
|
|
|
51
53
|
```
|
|
52
|
-
await ApiRequestLog.list
|
|
53
|
-
'filter': "",
|
|
54
|
-
'filter_prefix': "",
|
|
55
|
-
})
|
|
54
|
+
await ApiRequestLog.list
|
|
56
55
|
```
|
|
57
56
|
|
|
58
57
|
|
package/docs/models/App.md
CHANGED
package/docs/models/Behavior.md
CHANGED
|
@@ -31,15 +31,7 @@
|
|
|
31
31
|
## List Email Incoming Messages
|
|
32
32
|
|
|
33
33
|
```
|
|
34
|
-
await EmailIncomingMessage.list
|
|
35
|
-
'sort_by': "",
|
|
36
|
-
'filter': "",
|
|
37
|
-
'filter_gt': "",
|
|
38
|
-
'filter_gteq': "",
|
|
39
|
-
'filter_prefix': "",
|
|
40
|
-
'filter_lt': "",
|
|
41
|
-
'filter_lteq': "",
|
|
42
|
-
})
|
|
34
|
+
await EmailIncomingMessage.list
|
|
43
35
|
```
|
|
44
36
|
|
|
45
37
|
|
package/docs/models/EmailLog.md
CHANGED
|
@@ -39,15 +39,7 @@
|
|
|
39
39
|
## List External Events
|
|
40
40
|
|
|
41
41
|
```
|
|
42
|
-
await ExternalEvent.list
|
|
43
|
-
'sort_by': "",
|
|
44
|
-
'filter': "",
|
|
45
|
-
'filter_gt': "",
|
|
46
|
-
'filter_gteq': "",
|
|
47
|
-
'filter_prefix': "",
|
|
48
|
-
'filter_lt': "",
|
|
49
|
-
'filter_lteq': "",
|
|
50
|
-
})
|
|
42
|
+
await ExternalEvent.list
|
|
51
43
|
```
|
|
52
44
|
|
|
53
45
|
|
package/docs/models/Group.md
CHANGED
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`
|
|
@@ -23,14 +23,7 @@
|
|
|
23
23
|
## List Remote Bandwidth Snapshots
|
|
24
24
|
|
|
25
25
|
```
|
|
26
|
-
await RemoteBandwidthSnapshot.list
|
|
27
|
-
'sort_by': "",
|
|
28
|
-
'filter': "",
|
|
29
|
-
'filter_gt': "",
|
|
30
|
-
'filter_gteq': "",
|
|
31
|
-
'filter_lt': "",
|
|
32
|
-
'filter_lteq': "",
|
|
33
|
-
})
|
|
26
|
+
await RemoteBandwidthSnapshot.list
|
|
34
27
|
```
|
|
35
28
|
|
|
36
29
|
|
|
@@ -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
|
---
|
|
@@ -27,10 +29,7 @@
|
|
|
27
29
|
## List Settings Changes
|
|
28
30
|
|
|
29
31
|
```
|
|
30
|
-
await SettingsChange.list
|
|
31
|
-
'sort_by': "",
|
|
32
|
-
'filter': "",
|
|
33
|
-
})
|
|
32
|
+
await SettingsChange.list
|
|
34
33
|
```
|
|
35
34
|
|
|
36
35
|
|
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,
|
package/docs/models/SyncLog.md
CHANGED
|
@@ -37,14 +37,7 @@
|
|
|
37
37
|
## List Usage Daily Snapshots
|
|
38
38
|
|
|
39
39
|
```
|
|
40
|
-
await UsageDailySnapshot.list
|
|
41
|
-
'sort_by': "",
|
|
42
|
-
'filter': "",
|
|
43
|
-
'filter_gt': "",
|
|
44
|
-
'filter_gteq': "",
|
|
45
|
-
'filter_lt': "",
|
|
46
|
-
'filter_lteq': "",
|
|
47
|
-
})
|
|
40
|
+
await UsageDailySnapshot.list
|
|
48
41
|
```
|
|
49
42
|
|
|
50
43
|
|
package/docs/models/User.md
CHANGED
|
@@ -149,17 +149,7 @@
|
|
|
149
149
|
## List Users
|
|
150
150
|
|
|
151
151
|
```
|
|
152
|
-
await User.list
|
|
153
|
-
'sort_by': "",
|
|
154
|
-
'filter': "",
|
|
155
|
-
'filter_gt': "",
|
|
156
|
-
'filter_gteq': "",
|
|
157
|
-
'filter_prefix': "",
|
|
158
|
-
'filter_lt': "",
|
|
159
|
-
'filter_lteq': "",
|
|
160
|
-
'ids': "",
|
|
161
|
-
'search': "",
|
|
162
|
-
})
|
|
152
|
+
await User.list
|
|
163
153
|
```
|
|
164
154
|
|
|
165
155
|
|