files.com 1.2.166 → 1.2.168
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/README.md +0 -1
- package/_VERSION +1 -1
- package/docs/Errors.md +0 -1
- package/docs/models/Action.md +2 -4
- package/docs/models/History.md +2 -4
- package/docs/models/Site.md +0 -4
- package/lib/Errors.js +305 -317
- package/lib/Files.js +1 -1
- package/lib/models/Action.js +1 -1
- package/lib/models/History.js +1 -1
- package/lib/models/Site.js +0 -5
- package/package.json +1 -1
- package/src/Errors.js +0 -1
- package/src/Files.js +1 -1
- package/src/models/Action.js +1 -1
- package/src/models/History.js +1 -1
- package/src/models/Site.js +0 -4
package/README.md
CHANGED
|
@@ -468,7 +468,6 @@ Error
|
|
|
468
468
|
| `NotAuthorized_UserIdWithoutSiteAdminError`| `NotAuthorizedError` |
|
|
469
469
|
| `NotAuthorized_WriteAndBundlePermissionRequiredError`| `NotAuthorizedError` |
|
|
470
470
|
| `NotAuthorized_WritePermissionRequiredError`| `NotAuthorizedError` |
|
|
471
|
-
| `NotAuthorized_ZipDownloadIpMismatchError`| `NotAuthorizedError` |
|
|
472
471
|
| `NotFound_ApiKeyNotFoundError`| `NotFoundError` |
|
|
473
472
|
| `NotFound_BundlePathNotFoundError`| `NotFoundError` |
|
|
474
473
|
| `NotFound_BundleRegistrationNotFoundError`| `NotFoundError` |
|
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.168
|
package/docs/Errors.md
CHANGED
|
@@ -139,7 +139,6 @@ These errors are derived from the error groups listed above.
|
|
|
139
139
|
### NotAuthorized_UserIdWithoutSiteAdminError
|
|
140
140
|
### NotAuthorized_WriteAndBundlePermissionRequiredError
|
|
141
141
|
### NotAuthorized_WritePermissionRequiredError
|
|
142
|
-
### NotAuthorized_ZipDownloadIpMismatchError
|
|
143
142
|
### NotFound_ApiKeyNotFoundError
|
|
144
143
|
### NotFound_BundlePathNotFoundError
|
|
145
144
|
### NotFound_BundleRegistrationNotFoundError
|
package/docs/models/Action.md
CHANGED
|
@@ -11,9 +11,7 @@
|
|
|
11
11
|
"display": "Actual text of the action here.",
|
|
12
12
|
"ip": "192.283.128.182",
|
|
13
13
|
"source": "/from_path",
|
|
14
|
-
"targets":
|
|
15
|
-
|
|
16
|
-
],
|
|
14
|
+
"targets": null,
|
|
17
15
|
"user_id": 1,
|
|
18
16
|
"username": "user",
|
|
19
17
|
"user_is_from_parent_site": true,
|
|
@@ -30,7 +28,7 @@
|
|
|
30
28
|
* `display` (string): Friendly displayed output
|
|
31
29
|
* `ip` (string): IP Address that performed this action
|
|
32
30
|
* `source` (string): The source path for this action, if applicable
|
|
33
|
-
* `targets` (
|
|
31
|
+
* `targets` (object): Targets
|
|
34
32
|
* `user_id` (int64): User ID
|
|
35
33
|
* `username` (string): Username
|
|
36
34
|
* `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
|
package/docs/models/History.md
CHANGED
|
@@ -11,9 +11,7 @@
|
|
|
11
11
|
"display": "Actual text of the action here.",
|
|
12
12
|
"ip": "192.283.128.182",
|
|
13
13
|
"source": "/from_path",
|
|
14
|
-
"targets":
|
|
15
|
-
|
|
16
|
-
],
|
|
14
|
+
"targets": null,
|
|
17
15
|
"user_id": 1,
|
|
18
16
|
"username": "user",
|
|
19
17
|
"user_is_from_parent_site": true,
|
|
@@ -30,7 +28,7 @@
|
|
|
30
28
|
* `display` (string): Friendly displayed output
|
|
31
29
|
* `ip` (string): IP Address that performed this action
|
|
32
30
|
* `source` (string): The source path for this action, if applicable
|
|
33
|
-
* `targets` (
|
|
31
|
+
* `targets` (object): Targets
|
|
34
32
|
* `user_id` (int64): User ID
|
|
35
33
|
* `username` (string): Username
|
|
36
34
|
* `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
|
package/docs/models/Site.md
CHANGED
|
@@ -184,7 +184,6 @@
|
|
|
184
184
|
"windows_mode_ftp": false,
|
|
185
185
|
"user_belongs_to_parent_site": false
|
|
186
186
|
},
|
|
187
|
-
"session_pinned_by_ip": true,
|
|
188
187
|
"sftp_enabled": true,
|
|
189
188
|
"sftp_host_key_type": "default",
|
|
190
189
|
"active_sftp_host_key_id": 1,
|
|
@@ -425,7 +424,6 @@
|
|
|
425
424
|
* `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)?
|
|
426
425
|
* `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
|
|
427
426
|
* `session` (Session): Current session
|
|
428
|
-
* `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
|
429
427
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
|
430
428
|
* `sftp_host_key_type` (string): Sftp Host Key Type
|
|
431
429
|
* `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
|
|
@@ -563,7 +561,6 @@ await Site.update({
|
|
|
563
561
|
'sftp_user_root_enabled': true,
|
|
564
562
|
'disable_password_reset': true,
|
|
565
563
|
'immutable_files': true,
|
|
566
|
-
'session_pinned_by_ip': true,
|
|
567
564
|
'bundle_not_found_message': "example",
|
|
568
565
|
'bundle_password_required': true,
|
|
569
566
|
'bundle_require_registration': true,
|
|
@@ -722,7 +719,6 @@ await Site.update({
|
|
|
722
719
|
* `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
|
|
723
720
|
* `disable_password_reset` (boolean): Is password reset disabled?
|
|
724
721
|
* `immutable_files` (boolean): Are files protected from modification?
|
|
725
|
-
* `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
|
726
722
|
* `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
|
|
727
723
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
|
728
724
|
* `bundle_require_registration` (boolean): Do Bundles require registration?
|