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 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.104
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
@@ -362,7 +362,7 @@ await file.move({
362
362
 
363
363
  ---
364
364
 
365
- ## Begin file upload
365
+ ## Begin File Upload
366
366
 
367
367
  ```
368
368
  const file = await File.find(path)
@@ -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 FileMigration to check for status updates.
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): Sftp Host Key ID
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
@@ -248,6 +248,7 @@
248
248
  "active_2fa": true,
249
249
  "require_password_change": true,
250
250
  "password_expired": true,
251
+ "readonly_site_admin": true,
251
252
  "restapi_permission": true,
252
253
  "self_managed": true,
253
254
  "sftp_permission": true,
@@ -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,