files.com 1.2.104 → 1.2.106
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 +1 -0
- package/_VERSION +1 -1
- package/docs/Errors.md +1 -0
- package/docs/models/File.md +1 -1
- package/docs/models/FileAction.md +1 -1
- package/docs/models/SftpHostKey.md +1 -1
- package/docs/models/Site.md +1 -0
- package/docs/models/User.md +7 -0
- package/lib/Errors.js +506 -494
- package/lib/Files.js +1 -1
- package/lib/models/File.js +1 -1
- package/lib/models/FileAction.js +1 -1
- package/lib/models/SftpHostKey.js +1 -1
- package/lib/models/User.js +9 -0
- package/package.json +1 -1
- package/src/Errors.js +1 -0
- package/src/Files.js +1 -1
- package/src/models/File.js +1 -1
- package/src/models/FileAction.js +1 -1
- package/src/models/SftpHostKey.js +1 -1
- package/src/models/User.js +9 -0
- package/docs/models/ActionWebhookFailure.md +0 -16
- package/lib/models/ActionWebhookFailure.js +0 -98
- package/src/models/ActionWebhookFailure.js +0 -61
package/README.md
CHANGED
@@ -366,6 +366,7 @@ Error
|
|
366
366
|
| `NotAuthorized_ApiKeyOnlyForDesktopAppError`| `NotAuthorizedError` |
|
367
367
|
| `NotAuthorized_ApiKeyOnlyForMobileAppError`| `NotAuthorizedError` |
|
368
368
|
| `NotAuthorized_ApiKeyOnlyForOfficeIntegrationError`| `NotAuthorizedError` |
|
369
|
+
| `NotAuthorized_BillingOrSiteAdminPermissionRequiredError`| `NotAuthorizedError` |
|
369
370
|
| `NotAuthorized_BillingPermissionRequiredError`| `NotAuthorizedError` |
|
370
371
|
| `NotAuthorized_BundleMaximumUsesReachedError`| `NotAuthorizedError` |
|
371
372
|
| `NotAuthorized_CannotLoginWhileUsingKeyError`| `NotAuthorizedError` |
|
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.106
|
package/docs/Errors.md
CHANGED
@@ -106,6 +106,7 @@ These errors are derived from the error groups listed above.
|
|
106
106
|
### NotAuthorized_ApiKeyOnlyForDesktopAppError
|
107
107
|
### NotAuthorized_ApiKeyOnlyForMobileAppError
|
108
108
|
### NotAuthorized_ApiKeyOnlyForOfficeIntegrationError
|
109
|
+
### NotAuthorized_BillingOrSiteAdminPermissionRequiredError
|
109
110
|
### NotAuthorized_BillingPermissionRequiredError
|
110
111
|
### NotAuthorized_BundleMaximumUsesReachedError
|
111
112
|
### NotAuthorized_CannotLoginWhileUsingKeyError
|
package/docs/models/File.md
CHANGED
@@ -10,4 +10,4 @@
|
|
10
10
|
```
|
11
11
|
|
12
12
|
* `status` (string): Status of file operation.
|
13
|
-
* `file_migration_id` (int64): If status is pending, this is the id of the
|
13
|
+
* `file_migration_id` (int64): If status is pending, this is the id of the File Migration to check for status updates.
|
@@ -11,7 +11,7 @@
|
|
11
11
|
}
|
12
12
|
```
|
13
13
|
|
14
|
-
* `id` (int64):
|
14
|
+
* `id` (int64): SFTP Host Key ID
|
15
15
|
* `name` (string): The friendly name of this SFTP Host Key.
|
16
16
|
* `fingerprint_md5` (string): MD5 Fingerpint of the public key
|
17
17
|
* `fingerprint_sha256` (string): SHA256 Fingerpint of the public key
|
package/docs/models/Site.md
CHANGED
package/docs/models/User.md
CHANGED
@@ -53,6 +53,7 @@
|
|
53
53
|
"active_2fa": true,
|
54
54
|
"require_password_change": true,
|
55
55
|
"password_expired": true,
|
56
|
+
"readonly_site_admin": true,
|
56
57
|
"restapi_permission": true,
|
57
58
|
"self_managed": true,
|
58
59
|
"sftp_permission": true,
|
@@ -118,6 +119,7 @@
|
|
118
119
|
* `active_2fa` (boolean): Is 2fa active for the user?
|
119
120
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
120
121
|
* `password_expired` (boolean): Is user's password expired?
|
122
|
+
* `readonly_site_admin` (boolean): Is the user an allowed to view all (non-billing) site configuration for this site?
|
121
123
|
* `restapi_permission` (boolean): Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.)
|
122
124
|
* `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
|
123
125
|
* `sftp_permission` (boolean): Can the user access with SFTP?
|
@@ -209,6 +211,7 @@ await User.create({
|
|
209
211
|
'notes': "Internal notes on this user.",
|
210
212
|
'office_integration_enabled': true,
|
211
213
|
'password_validity_days': 1,
|
214
|
+
'readonly_site_admin': true,
|
212
215
|
'receive_admin_alerts': true,
|
213
216
|
'require_login_by': "2000-01-01T01:00:00Z",
|
214
217
|
'require_password_change': true,
|
@@ -260,6 +263,7 @@ await User.create({
|
|
260
263
|
* `notes` (string): Any internal notes on the user
|
261
264
|
* `office_integration_enabled` (boolean): Enable integration with Office for the web?
|
262
265
|
* `password_validity_days` (int64): Number of days to allow user to use the same password
|
266
|
+
* `readonly_site_admin` (boolean): Is the user an allowed to view all (non-billing) site configuration for this site?
|
263
267
|
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
|
264
268
|
* `require_login_by` (string): Require user to login by specified date otherwise it will be disabled.
|
265
269
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
@@ -352,6 +356,7 @@ await user.update({
|
|
352
356
|
'notes': "Internal notes on this user.",
|
353
357
|
'office_integration_enabled': true,
|
354
358
|
'password_validity_days': 1,
|
359
|
+
'readonly_site_admin': true,
|
355
360
|
'receive_admin_alerts': true,
|
356
361
|
'require_login_by': "2000-01-01T01:00:00Z",
|
357
362
|
'require_password_change': true,
|
@@ -403,6 +408,7 @@ await user.update({
|
|
403
408
|
* `notes` (string): Any internal notes on the user
|
404
409
|
* `office_integration_enabled` (boolean): Enable integration with Office for the web?
|
405
410
|
* `password_validity_days` (int64): Number of days to allow user to use the same password
|
411
|
+
* `readonly_site_admin` (boolean): Is the user an allowed to view all (non-billing) site configuration for this site?
|
406
412
|
* `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
|
407
413
|
* `require_login_by` (string): Require user to login by specified date otherwise it will be disabled.
|
408
414
|
* `require_password_change` (boolean): Is a password change required upon next user login?
|
@@ -472,6 +478,7 @@ await user.update({
|
|
472
478
|
"active_2fa": true,
|
473
479
|
"require_password_change": true,
|
474
480
|
"password_expired": true,
|
481
|
+
"readonly_site_admin": true,
|
475
482
|
"restapi_permission": true,
|
476
483
|
"self_managed": true,
|
477
484
|
"sftp_permission": true,
|