files.com 1.2.126 → 1.2.128
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/Permission.md +5 -5
- package/docs/models/Site.md +0 -5
- package/docs/models/User.md +1 -1
- package/lib/Errors.js +101 -89
- package/lib/Files.js +1 -1
- package/lib/models/Permission.js +5 -5
- package/lib/models/Site.js +0 -5
- package/lib/models/User.js +1 -1
- package/package.json +1 -1
- package/src/Errors.js +1 -0
- package/src/Files.js +1 -1
- package/src/models/Permission.js +5 -5
- package/src/models/Site.js +0 -4
- package/src/models/User.js +1 -1
package/README.md
CHANGED
@@ -524,6 +524,7 @@ Error
|
|
524
524
|
| `ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError`| `ProcessingFailureError` |
|
525
525
|
| `ProcessingFailure_TwoFactorAuthenticationCountryBlacklistedError`| `ProcessingFailureError` |
|
526
526
|
| `ProcessingFailure_TwoFactorAuthenticationGeneralErrorError`| `ProcessingFailureError` |
|
527
|
+
| `ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError`| `ProcessingFailureError` |
|
527
528
|
| `ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError`| `ProcessingFailureError` |
|
528
529
|
| `ProcessingFailure_UpdatesNotAllowedForRemotesError`| `ProcessingFailureError` |
|
529
530
|
| `RateLimited_DuplicateShareRecipientError`| `RateLimitedError` |
|
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.128
|
package/docs/Errors.md
CHANGED
@@ -193,6 +193,7 @@ These errors are derived from the error groups listed above.
|
|
193
193
|
### ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError
|
194
194
|
### ProcessingFailure_TwoFactorAuthenticationCountryBlacklistedError
|
195
195
|
### ProcessingFailure_TwoFactorAuthenticationGeneralErrorError
|
196
|
+
### ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError
|
196
197
|
### ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError
|
197
198
|
### ProcessingFailure_UpdatesNotAllowedForRemotesError
|
198
199
|
### RateLimited_DuplicateShareRecipientError
|
@@ -16,13 +16,13 @@
|
|
16
16
|
```
|
17
17
|
|
18
18
|
* `id` (int64): Permission ID
|
19
|
-
* `path` (string):
|
19
|
+
* `path` (string): Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
20
20
|
* `user_id` (int64): User ID
|
21
|
-
* `username` (string):
|
21
|
+
* `username` (string): Username (if applicable)
|
22
22
|
* `group_id` (int64): Group ID
|
23
|
-
* `group_name` (string): Group name if applicable
|
24
|
-
* `permission` (string): Permission type
|
25
|
-
* `recursive` (boolean):
|
23
|
+
* `group_name` (string): Group name (if applicable)
|
24
|
+
* `permission` (string): Permission type. See the table referenced in the documentation for an explanation of each permission.
|
25
|
+
* `recursive` (boolean): Recursive: does this permission apply to subfolders?
|
26
26
|
|
27
27
|
---
|
28
28
|
|
package/docs/models/Site.md
CHANGED
@@ -11,7 +11,6 @@
|
|
11
11
|
],
|
12
12
|
"allowed_2fa_method_sms": true,
|
13
13
|
"allowed_2fa_method_totp": true,
|
14
|
-
"allowed_2fa_method_u2f": true,
|
15
14
|
"allowed_2fa_method_webauthn": true,
|
16
15
|
"allowed_2fa_method_yubi": true,
|
17
16
|
"allowed_2fa_method_email": true,
|
@@ -166,7 +165,6 @@
|
|
166
165
|
"two_factor_setup_needed": false,
|
167
166
|
"allowed_2fa_method_sms": true,
|
168
167
|
"allowed_2fa_method_totp": true,
|
169
|
-
"allowed_2fa_method_u2f": true,
|
170
168
|
"allowed_2fa_method_webauthn": true,
|
171
169
|
"allowed_2fa_method_yubi": true,
|
172
170
|
"use_provided_modified_at": true,
|
@@ -291,7 +289,6 @@
|
|
291
289
|
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
292
290
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
293
291
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
294
|
-
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
295
292
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
296
293
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
297
294
|
* `allowed_2fa_method_email` (boolean): Is OTP via email two factor authentication allowed?
|
@@ -569,7 +566,6 @@ await Site.update({
|
|
569
566
|
'bundle_recipient_blacklist_domains': ["example"],
|
570
567
|
'admins_bypass_locked_subfolders': true,
|
571
568
|
'allowed_2fa_method_sms': true,
|
572
|
-
'allowed_2fa_method_u2f': true,
|
573
569
|
'allowed_2fa_method_totp': true,
|
574
570
|
'allowed_2fa_method_webauthn': true,
|
575
571
|
'allowed_2fa_method_yubi': true,
|
@@ -721,7 +717,6 @@ await Site.update({
|
|
721
717
|
* `bundle_recipient_blacklist_domains` (array(string)): List of email domains to disallow when entering a Bundle/Inbox recipients
|
722
718
|
* `admins_bypass_locked_subfolders` (boolean): Allow admins to bypass the locked subfolders setting.
|
723
719
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
724
|
-
* `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
|
725
720
|
* `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
|
726
721
|
* `allowed_2fa_method_webauthn` (boolean): Is WebAuthn two factor authentication allowed?
|
727
722
|
* `allowed_2fa_method_yubi` (boolean): Is yubikey two factor authentication allowed?
|
package/docs/models/User.md
CHANGED
@@ -130,7 +130,7 @@
|
|
130
130
|
* `subscribe_to_newsletter` (boolean): Is the user subscribed to the newsletter?
|
131
131
|
* `externally_managed` (boolean): Is this user managed by a SsoStrategy?
|
132
132
|
* `time_zone` (string): User time zone
|
133
|
-
* `type_of_2fa` (string): Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `
|
133
|
+
* `type_of_2fa` (string): Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `webauthn`, `yubi`, `email`, or multiple values sorted alphabetically and joined by an underscore. Does not specify whether user has more than one of a given method.
|
134
134
|
* `type_of_2fa_for_display` (string): Type(s) of 2FA methods in use, formatted for displaying in the UI. Unlike `type_of_2fa`, this value will make clear when a user has more than 1 of the same type of method.
|
135
135
|
* `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
|
136
136
|
* `days_remaining_until_password_expire` (int64): Number of days remaining until password expires
|
package/lib/Errors.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
4
|
exports.__esModule = true;
|
5
5
|
exports.NotAuthorized_WritePermissionRequiredError = exports.NotAuthorized_WriteAndBundlePermissionRequiredError = exports.NotAuthorized_UserIdWithoutSiteAdminError = exports.NotAuthorized_TwoFactorAuthenticationRequiredError = exports.NotAuthorized_SiteFilesAreImmutableError = exports.NotAuthorized_SiteAdminRequiredError = exports.NotAuthorized_SelfManagedRequiredError = exports.NotAuthorized_RecaptchaFailedError = exports.NotAuthorized_ReauthenticationNeededActionError = exports.NotAuthorized_ReauthenticationFailedFinalError = exports.NotAuthorized_ReauthenticationFailedError = exports.NotAuthorized_ReadPermissionRequiredError = exports.NotAuthorized_ReadOnlySessionError = exports.NotAuthorized_PasswordChangeRequiredError = exports.NotAuthorized_PasswordChangeNotRequiredError = exports.NotAuthorized_NotAllowedToCreateBundleError = exports.NotAuthorized_NonAdminsMustQueryByFolderOrPathError = exports.NotAuthorized_NeedAdminPermissionForInboxError = exports.NotAuthorized_MustAuthenticateWithApiKeyError = exports.NotAuthorized_InsufficientPermissionForSiteError = exports.NotAuthorized_InsufficientPermissionForParamsError = exports.NotAuthorized_HistoryPermissionRequiredError = exports.NotAuthorized_FullPermissionRequiredError = exports.NotAuthorized_FolderAdminPermissionRequiredError = exports.NotAuthorized_FolderAdminOrBillingPermissionRequiredError = exports.NotAuthorized_FilesAgentFailedAuthorizationError = exports.NotAuthorized_ContactAdminForPasswordChangeHelpError = exports.NotAuthorized_CantActForOtherUserError = exports.NotAuthorized_CannotLoginWhileUsingKeyError = exports.NotAuthorized_BundleMaximumUsesReachedError = exports.NotAuthorized_BillingPermissionRequiredError = exports.NotAuthorized_BillingOrSiteAdminPermissionRequiredError = exports.NotAuthorized_ApiKeyOnlyForOfficeIntegrationError = exports.NotAuthorized_ApiKeyOnlyForMobileAppError = exports.NotAuthorized_ApiKeyOnlyForDesktopAppError = exports.NotAuthorized_ApiKeyIsPathRestrictedError = exports.NotAuthorized_ApiKeyIsDisabledError = exports.NotAuthorizedError = exports.NotAuthenticated_TwoFactorAuthenticationSetupExpiredError = exports.NotAuthenticated_TwoFactorAuthenticationErrorError = exports.NotAuthenticated_OneTimePasswordIncorrectError = exports.NotAuthenticated_LockoutRegionMismatchError = exports.NotAuthenticated_LockedOutError = exports.NotAuthenticated_InvalidUsernameOrPasswordError = exports.NotAuthenticated_InvalidSessionError = exports.NotAuthenticated_InvalidOrExpiredCodeError = exports.NotAuthenticated_InvalidOauthError = exports.NotAuthenticated_InvalidCredentialsError = exports.NotAuthenticated_InboxRegistrationCodeFailedError = exports.NotAuthenticated_FilesAgentTokenFailedError = exports.NotAuthenticated_BundleRegistrationCodeFailedError = exports.NotAuthenticated_AuthenticationRequiredError = exports.NotAuthenticated_AdditionalAuthenticationRequiredError = exports.NotAuthenticatedError = exports.MissingParameterError = exports.InvalidParameterError = exports.FilesError = exports.FilesApiError = exports.EmptyPropertyError = exports.ConfigurationError = exports.BadRequest_UserRequiredError = exports.BadRequest_UserIdOnUserEndpointError = exports.BadRequest_UserIdInvalidError = exports.BadRequest_UnsupportedMediaTypeError = exports.BadRequest_UnsupportedHttpResponseFormatError = exports.BadRequest_UnsupportedCurrencyError = exports.BadRequest_SearchAllOnChildPathError = exports.BadRequest_RequestParamsRequiredError = exports.BadRequest_RequestParamsInvalidError = exports.BadRequest_RequestParamsContainInvalidCharacterError = exports.BadRequest_ReauthenticationNeededFieldsError = exports.BadRequest_PathCannotHaveTrailingWhitespaceError = exports.BadRequest_PartNumberTooLargeError = exports.BadRequest_NoValidInputParamsError = exports.BadRequest_MethodNotAllowedError = exports.BadRequest_InvalidUploadPartSizeError = exports.BadRequest_InvalidUploadPartGapError = exports.BadRequest_InvalidUploadOffsetError = exports.BadRequest_InvalidReturnToUrlError = exports.BadRequest_InvalidPathError = exports.BadRequest_InvalidOauthProviderError = exports.BadRequest_InvalidInterfaceError = exports.BadRequest_InvalidInputEncodingError = exports.BadRequest_InvalidFilterParamValueError = exports.BadRequest_InvalidFilterParamError = exports.BadRequest_InvalidFilterFieldError = exports.BadRequest_InvalidFilterCombinationError = exports.BadRequest_InvalidFilterAliasCombinationError = exports.BadRequest_InvalidEtagsError = exports.BadRequest_InvalidCursorTypeForSortError = exports.BadRequest_InvalidCursorError = exports.BadRequest_InvalidBodyError = exports.BadRequest_FolderMustNotBeAFileError = exports.BadRequest_DestinationSameError = exports.BadRequest_DatetimeParseError = exports.BadRequest_CantMoveWithMultipleLocationsError = exports.BadRequest_CannotDownloadDirectoryError = exports.BadRequest_AttachmentTooLargeError = exports.BadRequest_AgentUpgradeRequiredError = exports.BadRequestError = void 0;
|
6
|
-
exports.handleErrorResponse = exports.SiteConfiguration_UserRequestsEnabledRequiredError = exports.SiteConfiguration_TrialLockedError = exports.SiteConfiguration_TrialExpiredError = exports.SiteConfiguration_SiteWasRemovedError = exports.SiteConfiguration_NoAccountForSiteError = exports.SiteConfiguration_AccountOverdueError = exports.SiteConfiguration_AccountAlreadyExistsError = exports.SiteConfigurationError = exports.ServiceUnavailable_UploadsUnavailableError = exports.ServiceUnavailable_SiteDisabledError = exports.ServiceUnavailable_MigrationInProgressError = exports.ServiceUnavailable_AutomationsUnavailableError = exports.ServiceUnavailable_AgentUnavailableError = exports.ServiceUnavailableError = exports.RateLimited_TooManySharesError = exports.RateLimited_TooManyRequestsError = exports.RateLimited_TooManyLoginAttemptsError = exports.RateLimited_TooManyConcurrentRequestsError = exports.RateLimited_TooManyConcurrentLoginsError = exports.RateLimited_ReauthenticationRateLimitedError = exports.RateLimited_DuplicateShareRecipientError = exports.RateLimitedError = exports.ProcessingFailure_UpdatesNotAllowedForRemotesError = exports.ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError = exports.ProcessingFailure_TwoFactorAuthenticationGeneralErrorError = exports.ProcessingFailure_TwoFactorAuthenticationCountryBlacklistedError = exports.ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError = exports.ProcessingFailure_SubfolderLockedError = exports.ProcessingFailure_ResourceLockedError = exports.ProcessingFailure_RemoteServerErrorError = exports.ProcessingFailure_RecipientAlreadySharedError = exports.ProcessingFailure_PathTooLongError = exports.ProcessingFailure_MultipleProcessingErrorsError = exports.ProcessingFailure_ModelSaveErrorError = exports.ProcessingFailure_InvalidRangeError = exports.ProcessingFailure_InvalidPriorityColorError = exports.ProcessingFailure_InvalidFilenameError = exports.ProcessingFailure_InvalidFileTypeError = exports.ProcessingFailure_InvalidBundleCodeError = exports.ProcessingFailure_HistoryUnavailableError = exports.ProcessingFailure_FolderNotEmptyError = exports.ProcessingFailure_FolderLockedError = exports.ProcessingFailure_FilenameTooLongError = exports.ProcessingFailure_FileUploadedToWrongRegionError = exports.ProcessingFailure_FileTooBigToEncryptError = exports.ProcessingFailure_FileTooBigToDecryptError = exports.ProcessingFailure_FileProcessingErrorError = exports.ProcessingFailure_FilePendingProcessingError = exports.ProcessingFailure_FileNotUploadedError = exports.ProcessingFailure_FileLockedError = exports.ProcessingFailure_FailedToChangePasswordError = exports.ProcessingFailure_ExportNotReadyError = exports.ProcessingFailure_ExportFailureError = exports.ProcessingFailure_ExpiredPublicKeyError = exports.ProcessingFailure_ExpiredPrivateKeyError = exports.ProcessingFailure_DestinationParentDoesNotExistError = exports.ProcessingFailure_DestinationParentConflictError = exports.ProcessingFailure_DestinationFolderLimitedError = exports.ProcessingFailure_DestinationExistsError = exports.ProcessingFailure_CouldNotCreateParentError = exports.ProcessingFailure_BundleOperationRequiresSubfolderError = exports.ProcessingFailure_BundleOnlyAllowsPreviewsError = exports.ProcessingFailure_BehaviorNotAllowedOnRemoteServerError = exports.ProcessingFailure_AutomationCannotBeRunManuallyError = exports.ProcessingFailure_AlreadyCompletedError = exports.ProcessingFailureError = exports.NotImplementedError = exports.NotFound_UserNotFoundError = exports.NotFound_SiteNotFoundError = exports.NotFound_PlanNotFoundError = exports.NotFound_NestedNotFoundError = exports.NotFound_InboxNotFoundError = exports.NotFound_GroupNotFoundError = exports.NotFound_FolderNotFoundError = exports.NotFound_FileUploadNotFoundError = exports.NotFound_FileNotFoundError = exports.NotFound_CodeNotFoundError = exports.NotFound_BundleRegistrationNotFoundError = exports.NotFound_BundlePathNotFoundError = exports.NotFound_ApiKeyNotFoundError = exports.NotFoundError = exports.NotAuthorized_ZipDownloadIpMismatchError = void 0;
|
6
|
+
exports.handleErrorResponse = exports.SiteConfiguration_UserRequestsEnabledRequiredError = exports.SiteConfiguration_TrialLockedError = exports.SiteConfiguration_TrialExpiredError = exports.SiteConfiguration_SiteWasRemovedError = exports.SiteConfiguration_NoAccountForSiteError = exports.SiteConfiguration_AccountOverdueError = exports.SiteConfiguration_AccountAlreadyExistsError = exports.SiteConfigurationError = exports.ServiceUnavailable_UploadsUnavailableError = exports.ServiceUnavailable_SiteDisabledError = exports.ServiceUnavailable_MigrationInProgressError = exports.ServiceUnavailable_AutomationsUnavailableError = exports.ServiceUnavailable_AgentUnavailableError = exports.ServiceUnavailableError = exports.RateLimited_TooManySharesError = exports.RateLimited_TooManyRequestsError = exports.RateLimited_TooManyLoginAttemptsError = exports.RateLimited_TooManyConcurrentRequestsError = exports.RateLimited_TooManyConcurrentLoginsError = exports.RateLimited_ReauthenticationRateLimitedError = exports.RateLimited_DuplicateShareRecipientError = exports.RateLimitedError = exports.ProcessingFailure_UpdatesNotAllowedForRemotesError = exports.ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError = exports.ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError = exports.ProcessingFailure_TwoFactorAuthenticationGeneralErrorError = exports.ProcessingFailure_TwoFactorAuthenticationCountryBlacklistedError = exports.ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError = exports.ProcessingFailure_SubfolderLockedError = exports.ProcessingFailure_ResourceLockedError = exports.ProcessingFailure_RemoteServerErrorError = exports.ProcessingFailure_RecipientAlreadySharedError = exports.ProcessingFailure_PathTooLongError = exports.ProcessingFailure_MultipleProcessingErrorsError = exports.ProcessingFailure_ModelSaveErrorError = exports.ProcessingFailure_InvalidRangeError = exports.ProcessingFailure_InvalidPriorityColorError = exports.ProcessingFailure_InvalidFilenameError = exports.ProcessingFailure_InvalidFileTypeError = exports.ProcessingFailure_InvalidBundleCodeError = exports.ProcessingFailure_HistoryUnavailableError = exports.ProcessingFailure_FolderNotEmptyError = exports.ProcessingFailure_FolderLockedError = exports.ProcessingFailure_FilenameTooLongError = exports.ProcessingFailure_FileUploadedToWrongRegionError = exports.ProcessingFailure_FileTooBigToEncryptError = exports.ProcessingFailure_FileTooBigToDecryptError = exports.ProcessingFailure_FileProcessingErrorError = exports.ProcessingFailure_FilePendingProcessingError = exports.ProcessingFailure_FileNotUploadedError = exports.ProcessingFailure_FileLockedError = exports.ProcessingFailure_FailedToChangePasswordError = exports.ProcessingFailure_ExportNotReadyError = exports.ProcessingFailure_ExportFailureError = exports.ProcessingFailure_ExpiredPublicKeyError = exports.ProcessingFailure_ExpiredPrivateKeyError = exports.ProcessingFailure_DestinationParentDoesNotExistError = exports.ProcessingFailure_DestinationParentConflictError = exports.ProcessingFailure_DestinationFolderLimitedError = exports.ProcessingFailure_DestinationExistsError = exports.ProcessingFailure_CouldNotCreateParentError = exports.ProcessingFailure_BundleOperationRequiresSubfolderError = exports.ProcessingFailure_BundleOnlyAllowsPreviewsError = exports.ProcessingFailure_BehaviorNotAllowedOnRemoteServerError = exports.ProcessingFailure_AutomationCannotBeRunManuallyError = exports.ProcessingFailure_AlreadyCompletedError = exports.ProcessingFailureError = exports.NotImplementedError = exports.NotFound_UserNotFoundError = exports.NotFound_SiteNotFoundError = exports.NotFound_PlanNotFoundError = exports.NotFound_NestedNotFoundError = exports.NotFound_InboxNotFoundError = exports.NotFound_GroupNotFoundError = exports.NotFound_FolderNotFoundError = exports.NotFound_FileUploadNotFoundError = exports.NotFound_FileNotFoundError = exports.NotFound_CodeNotFoundError = exports.NotFound_BundleRegistrationNotFoundError = exports.NotFound_BundlePathNotFoundError = exports.NotFound_ApiKeyNotFoundError = exports.NotFoundError = exports.NotAuthorized_ZipDownloadIpMismatchError = void 0;
|
7
7
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
8
8
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
9
9
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
@@ -2008,37 +2008,49 @@ var ProcessingFailure_TwoFactorAuthenticationGeneralErrorError = exports.Process
|
|
2008
2008
|
return (0, _createClass2.default)(ProcessingFailure_TwoFactorAuthenticationGeneralErrorError);
|
2009
2009
|
}(ProcessingFailureError);
|
2010
2010
|
errorClasses.ProcessingFailure_TwoFactorAuthenticationGeneralErrorError = ProcessingFailure_TwoFactorAuthenticationGeneralErrorError;
|
2011
|
-
var
|
2012
|
-
function
|
2011
|
+
var ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError = exports.ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError = /*#__PURE__*/function (_ProcessingFailureErr42) {
|
2012
|
+
function ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError(message, code, errorData) {
|
2013
2013
|
var _this162;
|
2014
|
-
(0, _classCallCheck2.default)(this,
|
2015
|
-
_this162 = _callSuper(this,
|
2016
|
-
_this162.name = '
|
2014
|
+
(0, _classCallCheck2.default)(this, ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError);
|
2015
|
+
_this162 = _callSuper(this, ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError, [message, code, errorData]);
|
2016
|
+
_this162.name = 'ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError';
|
2017
2017
|
return _this162;
|
2018
2018
|
}
|
2019
|
-
(0, _inherits2.default)(
|
2019
|
+
(0, _inherits2.default)(ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError, _ProcessingFailureErr42);
|
2020
|
+
return (0, _createClass2.default)(ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError);
|
2021
|
+
}(ProcessingFailureError);
|
2022
|
+
errorClasses.ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError = ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError;
|
2023
|
+
var ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError = exports.ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError = /*#__PURE__*/function (_ProcessingFailureErr43) {
|
2024
|
+
function ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError(message, code, errorData) {
|
2025
|
+
var _this163;
|
2026
|
+
(0, _classCallCheck2.default)(this, ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError);
|
2027
|
+
_this163 = _callSuper(this, ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError, [message, code, errorData]);
|
2028
|
+
_this163.name = 'ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError';
|
2029
|
+
return _this163;
|
2030
|
+
}
|
2031
|
+
(0, _inherits2.default)(ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError, _ProcessingFailureErr43);
|
2020
2032
|
return (0, _createClass2.default)(ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError);
|
2021
2033
|
}(ProcessingFailureError);
|
2022
2034
|
errorClasses.ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError = ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError;
|
2023
|
-
var ProcessingFailure_UpdatesNotAllowedForRemotesError = exports.ProcessingFailure_UpdatesNotAllowedForRemotesError = /*#__PURE__*/function (
|
2035
|
+
var ProcessingFailure_UpdatesNotAllowedForRemotesError = exports.ProcessingFailure_UpdatesNotAllowedForRemotesError = /*#__PURE__*/function (_ProcessingFailureErr44) {
|
2024
2036
|
function ProcessingFailure_UpdatesNotAllowedForRemotesError(message, code, errorData) {
|
2025
|
-
var
|
2037
|
+
var _this164;
|
2026
2038
|
(0, _classCallCheck2.default)(this, ProcessingFailure_UpdatesNotAllowedForRemotesError);
|
2027
|
-
|
2028
|
-
|
2029
|
-
return
|
2039
|
+
_this164 = _callSuper(this, ProcessingFailure_UpdatesNotAllowedForRemotesError, [message, code, errorData]);
|
2040
|
+
_this164.name = 'ProcessingFailure_UpdatesNotAllowedForRemotesError';
|
2041
|
+
return _this164;
|
2030
2042
|
}
|
2031
|
-
(0, _inherits2.default)(ProcessingFailure_UpdatesNotAllowedForRemotesError,
|
2043
|
+
(0, _inherits2.default)(ProcessingFailure_UpdatesNotAllowedForRemotesError, _ProcessingFailureErr44);
|
2032
2044
|
return (0, _createClass2.default)(ProcessingFailure_UpdatesNotAllowedForRemotesError);
|
2033
2045
|
}(ProcessingFailureError);
|
2034
2046
|
errorClasses.ProcessingFailure_UpdatesNotAllowedForRemotesError = ProcessingFailure_UpdatesNotAllowedForRemotesError;
|
2035
2047
|
var RateLimited_DuplicateShareRecipientError = exports.RateLimited_DuplicateShareRecipientError = /*#__PURE__*/function (_RateLimitedError) {
|
2036
2048
|
function RateLimited_DuplicateShareRecipientError(message, code, errorData) {
|
2037
|
-
var
|
2049
|
+
var _this165;
|
2038
2050
|
(0, _classCallCheck2.default)(this, RateLimited_DuplicateShareRecipientError);
|
2039
|
-
|
2040
|
-
|
2041
|
-
return
|
2051
|
+
_this165 = _callSuper(this, RateLimited_DuplicateShareRecipientError, [message, code, errorData]);
|
2052
|
+
_this165.name = 'RateLimited_DuplicateShareRecipientError';
|
2053
|
+
return _this165;
|
2042
2054
|
}
|
2043
2055
|
(0, _inherits2.default)(RateLimited_DuplicateShareRecipientError, _RateLimitedError);
|
2044
2056
|
return (0, _createClass2.default)(RateLimited_DuplicateShareRecipientError);
|
@@ -2046,11 +2058,11 @@ var RateLimited_DuplicateShareRecipientError = exports.RateLimited_DuplicateShar
|
|
2046
2058
|
errorClasses.RateLimited_DuplicateShareRecipientError = RateLimited_DuplicateShareRecipientError;
|
2047
2059
|
var RateLimited_ReauthenticationRateLimitedError = exports.RateLimited_ReauthenticationRateLimitedError = /*#__PURE__*/function (_RateLimitedError2) {
|
2048
2060
|
function RateLimited_ReauthenticationRateLimitedError(message, code, errorData) {
|
2049
|
-
var
|
2061
|
+
var _this166;
|
2050
2062
|
(0, _classCallCheck2.default)(this, RateLimited_ReauthenticationRateLimitedError);
|
2051
|
-
|
2052
|
-
|
2053
|
-
return
|
2063
|
+
_this166 = _callSuper(this, RateLimited_ReauthenticationRateLimitedError, [message, code, errorData]);
|
2064
|
+
_this166.name = 'RateLimited_ReauthenticationRateLimitedError';
|
2065
|
+
return _this166;
|
2054
2066
|
}
|
2055
2067
|
(0, _inherits2.default)(RateLimited_ReauthenticationRateLimitedError, _RateLimitedError2);
|
2056
2068
|
return (0, _createClass2.default)(RateLimited_ReauthenticationRateLimitedError);
|
@@ -2058,11 +2070,11 @@ var RateLimited_ReauthenticationRateLimitedError = exports.RateLimited_Reauthent
|
|
2058
2070
|
errorClasses.RateLimited_ReauthenticationRateLimitedError = RateLimited_ReauthenticationRateLimitedError;
|
2059
2071
|
var RateLimited_TooManyConcurrentLoginsError = exports.RateLimited_TooManyConcurrentLoginsError = /*#__PURE__*/function (_RateLimitedError3) {
|
2060
2072
|
function RateLimited_TooManyConcurrentLoginsError(message, code, errorData) {
|
2061
|
-
var
|
2073
|
+
var _this167;
|
2062
2074
|
(0, _classCallCheck2.default)(this, RateLimited_TooManyConcurrentLoginsError);
|
2063
|
-
|
2064
|
-
|
2065
|
-
return
|
2075
|
+
_this167 = _callSuper(this, RateLimited_TooManyConcurrentLoginsError, [message, code, errorData]);
|
2076
|
+
_this167.name = 'RateLimited_TooManyConcurrentLoginsError';
|
2077
|
+
return _this167;
|
2066
2078
|
}
|
2067
2079
|
(0, _inherits2.default)(RateLimited_TooManyConcurrentLoginsError, _RateLimitedError3);
|
2068
2080
|
return (0, _createClass2.default)(RateLimited_TooManyConcurrentLoginsError);
|
@@ -2070,11 +2082,11 @@ var RateLimited_TooManyConcurrentLoginsError = exports.RateLimited_TooManyConcur
|
|
2070
2082
|
errorClasses.RateLimited_TooManyConcurrentLoginsError = RateLimited_TooManyConcurrentLoginsError;
|
2071
2083
|
var RateLimited_TooManyConcurrentRequestsError = exports.RateLimited_TooManyConcurrentRequestsError = /*#__PURE__*/function (_RateLimitedError4) {
|
2072
2084
|
function RateLimited_TooManyConcurrentRequestsError(message, code, errorData) {
|
2073
|
-
var
|
2085
|
+
var _this168;
|
2074
2086
|
(0, _classCallCheck2.default)(this, RateLimited_TooManyConcurrentRequestsError);
|
2075
|
-
|
2076
|
-
|
2077
|
-
return
|
2087
|
+
_this168 = _callSuper(this, RateLimited_TooManyConcurrentRequestsError, [message, code, errorData]);
|
2088
|
+
_this168.name = 'RateLimited_TooManyConcurrentRequestsError';
|
2089
|
+
return _this168;
|
2078
2090
|
}
|
2079
2091
|
(0, _inherits2.default)(RateLimited_TooManyConcurrentRequestsError, _RateLimitedError4);
|
2080
2092
|
return (0, _createClass2.default)(RateLimited_TooManyConcurrentRequestsError);
|
@@ -2082,11 +2094,11 @@ var RateLimited_TooManyConcurrentRequestsError = exports.RateLimited_TooManyConc
|
|
2082
2094
|
errorClasses.RateLimited_TooManyConcurrentRequestsError = RateLimited_TooManyConcurrentRequestsError;
|
2083
2095
|
var RateLimited_TooManyLoginAttemptsError = exports.RateLimited_TooManyLoginAttemptsError = /*#__PURE__*/function (_RateLimitedError5) {
|
2084
2096
|
function RateLimited_TooManyLoginAttemptsError(message, code, errorData) {
|
2085
|
-
var
|
2097
|
+
var _this169;
|
2086
2098
|
(0, _classCallCheck2.default)(this, RateLimited_TooManyLoginAttemptsError);
|
2087
|
-
|
2088
|
-
|
2089
|
-
return
|
2099
|
+
_this169 = _callSuper(this, RateLimited_TooManyLoginAttemptsError, [message, code, errorData]);
|
2100
|
+
_this169.name = 'RateLimited_TooManyLoginAttemptsError';
|
2101
|
+
return _this169;
|
2090
2102
|
}
|
2091
2103
|
(0, _inherits2.default)(RateLimited_TooManyLoginAttemptsError, _RateLimitedError5);
|
2092
2104
|
return (0, _createClass2.default)(RateLimited_TooManyLoginAttemptsError);
|
@@ -2094,11 +2106,11 @@ var RateLimited_TooManyLoginAttemptsError = exports.RateLimited_TooManyLoginAtte
|
|
2094
2106
|
errorClasses.RateLimited_TooManyLoginAttemptsError = RateLimited_TooManyLoginAttemptsError;
|
2095
2107
|
var RateLimited_TooManyRequestsError = exports.RateLimited_TooManyRequestsError = /*#__PURE__*/function (_RateLimitedError6) {
|
2096
2108
|
function RateLimited_TooManyRequestsError(message, code, errorData) {
|
2097
|
-
var
|
2109
|
+
var _this170;
|
2098
2110
|
(0, _classCallCheck2.default)(this, RateLimited_TooManyRequestsError);
|
2099
|
-
|
2100
|
-
|
2101
|
-
return
|
2111
|
+
_this170 = _callSuper(this, RateLimited_TooManyRequestsError, [message, code, errorData]);
|
2112
|
+
_this170.name = 'RateLimited_TooManyRequestsError';
|
2113
|
+
return _this170;
|
2102
2114
|
}
|
2103
2115
|
(0, _inherits2.default)(RateLimited_TooManyRequestsError, _RateLimitedError6);
|
2104
2116
|
return (0, _createClass2.default)(RateLimited_TooManyRequestsError);
|
@@ -2106,11 +2118,11 @@ var RateLimited_TooManyRequestsError = exports.RateLimited_TooManyRequestsError
|
|
2106
2118
|
errorClasses.RateLimited_TooManyRequestsError = RateLimited_TooManyRequestsError;
|
2107
2119
|
var RateLimited_TooManySharesError = exports.RateLimited_TooManySharesError = /*#__PURE__*/function (_RateLimitedError7) {
|
2108
2120
|
function RateLimited_TooManySharesError(message, code, errorData) {
|
2109
|
-
var
|
2121
|
+
var _this171;
|
2110
2122
|
(0, _classCallCheck2.default)(this, RateLimited_TooManySharesError);
|
2111
|
-
|
2112
|
-
|
2113
|
-
return
|
2123
|
+
_this171 = _callSuper(this, RateLimited_TooManySharesError, [message, code, errorData]);
|
2124
|
+
_this171.name = 'RateLimited_TooManySharesError';
|
2125
|
+
return _this171;
|
2114
2126
|
}
|
2115
2127
|
(0, _inherits2.default)(RateLimited_TooManySharesError, _RateLimitedError7);
|
2116
2128
|
return (0, _createClass2.default)(RateLimited_TooManySharesError);
|
@@ -2118,11 +2130,11 @@ var RateLimited_TooManySharesError = exports.RateLimited_TooManySharesError = /*
|
|
2118
2130
|
errorClasses.RateLimited_TooManySharesError = RateLimited_TooManySharesError;
|
2119
2131
|
var ServiceUnavailable_AgentUnavailableError = exports.ServiceUnavailable_AgentUnavailableError = /*#__PURE__*/function (_ServiceUnavailableEr) {
|
2120
2132
|
function ServiceUnavailable_AgentUnavailableError(message, code, errorData) {
|
2121
|
-
var
|
2133
|
+
var _this172;
|
2122
2134
|
(0, _classCallCheck2.default)(this, ServiceUnavailable_AgentUnavailableError);
|
2123
|
-
|
2124
|
-
|
2125
|
-
return
|
2135
|
+
_this172 = _callSuper(this, ServiceUnavailable_AgentUnavailableError, [message, code, errorData]);
|
2136
|
+
_this172.name = 'ServiceUnavailable_AgentUnavailableError';
|
2137
|
+
return _this172;
|
2126
2138
|
}
|
2127
2139
|
(0, _inherits2.default)(ServiceUnavailable_AgentUnavailableError, _ServiceUnavailableEr);
|
2128
2140
|
return (0, _createClass2.default)(ServiceUnavailable_AgentUnavailableError);
|
@@ -2130,11 +2142,11 @@ var ServiceUnavailable_AgentUnavailableError = exports.ServiceUnavailable_AgentU
|
|
2130
2142
|
errorClasses.ServiceUnavailable_AgentUnavailableError = ServiceUnavailable_AgentUnavailableError;
|
2131
2143
|
var ServiceUnavailable_AutomationsUnavailableError = exports.ServiceUnavailable_AutomationsUnavailableError = /*#__PURE__*/function (_ServiceUnavailableEr2) {
|
2132
2144
|
function ServiceUnavailable_AutomationsUnavailableError(message, code, errorData) {
|
2133
|
-
var
|
2145
|
+
var _this173;
|
2134
2146
|
(0, _classCallCheck2.default)(this, ServiceUnavailable_AutomationsUnavailableError);
|
2135
|
-
|
2136
|
-
|
2137
|
-
return
|
2147
|
+
_this173 = _callSuper(this, ServiceUnavailable_AutomationsUnavailableError, [message, code, errorData]);
|
2148
|
+
_this173.name = 'ServiceUnavailable_AutomationsUnavailableError';
|
2149
|
+
return _this173;
|
2138
2150
|
}
|
2139
2151
|
(0, _inherits2.default)(ServiceUnavailable_AutomationsUnavailableError, _ServiceUnavailableEr2);
|
2140
2152
|
return (0, _createClass2.default)(ServiceUnavailable_AutomationsUnavailableError);
|
@@ -2142,11 +2154,11 @@ var ServiceUnavailable_AutomationsUnavailableError = exports.ServiceUnavailable_
|
|
2142
2154
|
errorClasses.ServiceUnavailable_AutomationsUnavailableError = ServiceUnavailable_AutomationsUnavailableError;
|
2143
2155
|
var ServiceUnavailable_MigrationInProgressError = exports.ServiceUnavailable_MigrationInProgressError = /*#__PURE__*/function (_ServiceUnavailableEr3) {
|
2144
2156
|
function ServiceUnavailable_MigrationInProgressError(message, code, errorData) {
|
2145
|
-
var
|
2157
|
+
var _this174;
|
2146
2158
|
(0, _classCallCheck2.default)(this, ServiceUnavailable_MigrationInProgressError);
|
2147
|
-
|
2148
|
-
|
2149
|
-
return
|
2159
|
+
_this174 = _callSuper(this, ServiceUnavailable_MigrationInProgressError, [message, code, errorData]);
|
2160
|
+
_this174.name = 'ServiceUnavailable_MigrationInProgressError';
|
2161
|
+
return _this174;
|
2150
2162
|
}
|
2151
2163
|
(0, _inherits2.default)(ServiceUnavailable_MigrationInProgressError, _ServiceUnavailableEr3);
|
2152
2164
|
return (0, _createClass2.default)(ServiceUnavailable_MigrationInProgressError);
|
@@ -2154,11 +2166,11 @@ var ServiceUnavailable_MigrationInProgressError = exports.ServiceUnavailable_Mig
|
|
2154
2166
|
errorClasses.ServiceUnavailable_MigrationInProgressError = ServiceUnavailable_MigrationInProgressError;
|
2155
2167
|
var ServiceUnavailable_SiteDisabledError = exports.ServiceUnavailable_SiteDisabledError = /*#__PURE__*/function (_ServiceUnavailableEr4) {
|
2156
2168
|
function ServiceUnavailable_SiteDisabledError(message, code, errorData) {
|
2157
|
-
var
|
2169
|
+
var _this175;
|
2158
2170
|
(0, _classCallCheck2.default)(this, ServiceUnavailable_SiteDisabledError);
|
2159
|
-
|
2160
|
-
|
2161
|
-
return
|
2171
|
+
_this175 = _callSuper(this, ServiceUnavailable_SiteDisabledError, [message, code, errorData]);
|
2172
|
+
_this175.name = 'ServiceUnavailable_SiteDisabledError';
|
2173
|
+
return _this175;
|
2162
2174
|
}
|
2163
2175
|
(0, _inherits2.default)(ServiceUnavailable_SiteDisabledError, _ServiceUnavailableEr4);
|
2164
2176
|
return (0, _createClass2.default)(ServiceUnavailable_SiteDisabledError);
|
@@ -2166,11 +2178,11 @@ var ServiceUnavailable_SiteDisabledError = exports.ServiceUnavailable_SiteDisabl
|
|
2166
2178
|
errorClasses.ServiceUnavailable_SiteDisabledError = ServiceUnavailable_SiteDisabledError;
|
2167
2179
|
var ServiceUnavailable_UploadsUnavailableError = exports.ServiceUnavailable_UploadsUnavailableError = /*#__PURE__*/function (_ServiceUnavailableEr5) {
|
2168
2180
|
function ServiceUnavailable_UploadsUnavailableError(message, code, errorData) {
|
2169
|
-
var
|
2181
|
+
var _this176;
|
2170
2182
|
(0, _classCallCheck2.default)(this, ServiceUnavailable_UploadsUnavailableError);
|
2171
|
-
|
2172
|
-
|
2173
|
-
return
|
2183
|
+
_this176 = _callSuper(this, ServiceUnavailable_UploadsUnavailableError, [message, code, errorData]);
|
2184
|
+
_this176.name = 'ServiceUnavailable_UploadsUnavailableError';
|
2185
|
+
return _this176;
|
2174
2186
|
}
|
2175
2187
|
(0, _inherits2.default)(ServiceUnavailable_UploadsUnavailableError, _ServiceUnavailableEr5);
|
2176
2188
|
return (0, _createClass2.default)(ServiceUnavailable_UploadsUnavailableError);
|
@@ -2178,11 +2190,11 @@ var ServiceUnavailable_UploadsUnavailableError = exports.ServiceUnavailable_Uplo
|
|
2178
2190
|
errorClasses.ServiceUnavailable_UploadsUnavailableError = ServiceUnavailable_UploadsUnavailableError;
|
2179
2191
|
var SiteConfiguration_AccountAlreadyExistsError = exports.SiteConfiguration_AccountAlreadyExistsError = /*#__PURE__*/function (_SiteConfigurationErr) {
|
2180
2192
|
function SiteConfiguration_AccountAlreadyExistsError(message, code, errorData) {
|
2181
|
-
var
|
2193
|
+
var _this177;
|
2182
2194
|
(0, _classCallCheck2.default)(this, SiteConfiguration_AccountAlreadyExistsError);
|
2183
|
-
|
2184
|
-
|
2185
|
-
return
|
2195
|
+
_this177 = _callSuper(this, SiteConfiguration_AccountAlreadyExistsError, [message, code, errorData]);
|
2196
|
+
_this177.name = 'SiteConfiguration_AccountAlreadyExistsError';
|
2197
|
+
return _this177;
|
2186
2198
|
}
|
2187
2199
|
(0, _inherits2.default)(SiteConfiguration_AccountAlreadyExistsError, _SiteConfigurationErr);
|
2188
2200
|
return (0, _createClass2.default)(SiteConfiguration_AccountAlreadyExistsError);
|
@@ -2190,11 +2202,11 @@ var SiteConfiguration_AccountAlreadyExistsError = exports.SiteConfiguration_Acco
|
|
2190
2202
|
errorClasses.SiteConfiguration_AccountAlreadyExistsError = SiteConfiguration_AccountAlreadyExistsError;
|
2191
2203
|
var SiteConfiguration_AccountOverdueError = exports.SiteConfiguration_AccountOverdueError = /*#__PURE__*/function (_SiteConfigurationErr2) {
|
2192
2204
|
function SiteConfiguration_AccountOverdueError(message, code, errorData) {
|
2193
|
-
var
|
2205
|
+
var _this178;
|
2194
2206
|
(0, _classCallCheck2.default)(this, SiteConfiguration_AccountOverdueError);
|
2195
|
-
|
2196
|
-
|
2197
|
-
return
|
2207
|
+
_this178 = _callSuper(this, SiteConfiguration_AccountOverdueError, [message, code, errorData]);
|
2208
|
+
_this178.name = 'SiteConfiguration_AccountOverdueError';
|
2209
|
+
return _this178;
|
2198
2210
|
}
|
2199
2211
|
(0, _inherits2.default)(SiteConfiguration_AccountOverdueError, _SiteConfigurationErr2);
|
2200
2212
|
return (0, _createClass2.default)(SiteConfiguration_AccountOverdueError);
|
@@ -2202,11 +2214,11 @@ var SiteConfiguration_AccountOverdueError = exports.SiteConfiguration_AccountOve
|
|
2202
2214
|
errorClasses.SiteConfiguration_AccountOverdueError = SiteConfiguration_AccountOverdueError;
|
2203
2215
|
var SiteConfiguration_NoAccountForSiteError = exports.SiteConfiguration_NoAccountForSiteError = /*#__PURE__*/function (_SiteConfigurationErr3) {
|
2204
2216
|
function SiteConfiguration_NoAccountForSiteError(message, code, errorData) {
|
2205
|
-
var
|
2217
|
+
var _this179;
|
2206
2218
|
(0, _classCallCheck2.default)(this, SiteConfiguration_NoAccountForSiteError);
|
2207
|
-
|
2208
|
-
|
2209
|
-
return
|
2219
|
+
_this179 = _callSuper(this, SiteConfiguration_NoAccountForSiteError, [message, code, errorData]);
|
2220
|
+
_this179.name = 'SiteConfiguration_NoAccountForSiteError';
|
2221
|
+
return _this179;
|
2210
2222
|
}
|
2211
2223
|
(0, _inherits2.default)(SiteConfiguration_NoAccountForSiteError, _SiteConfigurationErr3);
|
2212
2224
|
return (0, _createClass2.default)(SiteConfiguration_NoAccountForSiteError);
|
@@ -2214,11 +2226,11 @@ var SiteConfiguration_NoAccountForSiteError = exports.SiteConfiguration_NoAccoun
|
|
2214
2226
|
errorClasses.SiteConfiguration_NoAccountForSiteError = SiteConfiguration_NoAccountForSiteError;
|
2215
2227
|
var SiteConfiguration_SiteWasRemovedError = exports.SiteConfiguration_SiteWasRemovedError = /*#__PURE__*/function (_SiteConfigurationErr4) {
|
2216
2228
|
function SiteConfiguration_SiteWasRemovedError(message, code, errorData) {
|
2217
|
-
var
|
2229
|
+
var _this180;
|
2218
2230
|
(0, _classCallCheck2.default)(this, SiteConfiguration_SiteWasRemovedError);
|
2219
|
-
|
2220
|
-
|
2221
|
-
return
|
2231
|
+
_this180 = _callSuper(this, SiteConfiguration_SiteWasRemovedError, [message, code, errorData]);
|
2232
|
+
_this180.name = 'SiteConfiguration_SiteWasRemovedError';
|
2233
|
+
return _this180;
|
2222
2234
|
}
|
2223
2235
|
(0, _inherits2.default)(SiteConfiguration_SiteWasRemovedError, _SiteConfigurationErr4);
|
2224
2236
|
return (0, _createClass2.default)(SiteConfiguration_SiteWasRemovedError);
|
@@ -2226,11 +2238,11 @@ var SiteConfiguration_SiteWasRemovedError = exports.SiteConfiguration_SiteWasRem
|
|
2226
2238
|
errorClasses.SiteConfiguration_SiteWasRemovedError = SiteConfiguration_SiteWasRemovedError;
|
2227
2239
|
var SiteConfiguration_TrialExpiredError = exports.SiteConfiguration_TrialExpiredError = /*#__PURE__*/function (_SiteConfigurationErr5) {
|
2228
2240
|
function SiteConfiguration_TrialExpiredError(message, code, errorData) {
|
2229
|
-
var
|
2241
|
+
var _this181;
|
2230
2242
|
(0, _classCallCheck2.default)(this, SiteConfiguration_TrialExpiredError);
|
2231
|
-
|
2232
|
-
|
2233
|
-
return
|
2243
|
+
_this181 = _callSuper(this, SiteConfiguration_TrialExpiredError, [message, code, errorData]);
|
2244
|
+
_this181.name = 'SiteConfiguration_TrialExpiredError';
|
2245
|
+
return _this181;
|
2234
2246
|
}
|
2235
2247
|
(0, _inherits2.default)(SiteConfiguration_TrialExpiredError, _SiteConfigurationErr5);
|
2236
2248
|
return (0, _createClass2.default)(SiteConfiguration_TrialExpiredError);
|
@@ -2238,11 +2250,11 @@ var SiteConfiguration_TrialExpiredError = exports.SiteConfiguration_TrialExpired
|
|
2238
2250
|
errorClasses.SiteConfiguration_TrialExpiredError = SiteConfiguration_TrialExpiredError;
|
2239
2251
|
var SiteConfiguration_TrialLockedError = exports.SiteConfiguration_TrialLockedError = /*#__PURE__*/function (_SiteConfigurationErr6) {
|
2240
2252
|
function SiteConfiguration_TrialLockedError(message, code, errorData) {
|
2241
|
-
var
|
2253
|
+
var _this182;
|
2242
2254
|
(0, _classCallCheck2.default)(this, SiteConfiguration_TrialLockedError);
|
2243
|
-
|
2244
|
-
|
2245
|
-
return
|
2255
|
+
_this182 = _callSuper(this, SiteConfiguration_TrialLockedError, [message, code, errorData]);
|
2256
|
+
_this182.name = 'SiteConfiguration_TrialLockedError';
|
2257
|
+
return _this182;
|
2246
2258
|
}
|
2247
2259
|
(0, _inherits2.default)(SiteConfiguration_TrialLockedError, _SiteConfigurationErr6);
|
2248
2260
|
return (0, _createClass2.default)(SiteConfiguration_TrialLockedError);
|
@@ -2250,11 +2262,11 @@ var SiteConfiguration_TrialLockedError = exports.SiteConfiguration_TrialLockedEr
|
|
2250
2262
|
errorClasses.SiteConfiguration_TrialLockedError = SiteConfiguration_TrialLockedError;
|
2251
2263
|
var SiteConfiguration_UserRequestsEnabledRequiredError = exports.SiteConfiguration_UserRequestsEnabledRequiredError = /*#__PURE__*/function (_SiteConfigurationErr7) {
|
2252
2264
|
function SiteConfiguration_UserRequestsEnabledRequiredError(message, code, errorData) {
|
2253
|
-
var
|
2265
|
+
var _this183;
|
2254
2266
|
(0, _classCallCheck2.default)(this, SiteConfiguration_UserRequestsEnabledRequiredError);
|
2255
|
-
|
2256
|
-
|
2257
|
-
return
|
2267
|
+
_this183 = _callSuper(this, SiteConfiguration_UserRequestsEnabledRequiredError, [message, code, errorData]);
|
2268
|
+
_this183.name = 'SiteConfiguration_UserRequestsEnabledRequiredError';
|
2269
|
+
return _this183;
|
2258
2270
|
}
|
2259
2271
|
(0, _inherits2.default)(SiteConfiguration_UserRequestsEnabledRequiredError, _SiteConfigurationErr7);
|
2260
2272
|
return (0, _createClass2.default)(SiteConfiguration_UserRequestsEnabledRequiredError);
|
package/lib/Files.js
CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
|
|
11
11
|
var apiKey;
|
12
12
|
var baseUrl = 'https://app.files.com';
|
13
13
|
var sessionId = null;
|
14
|
-
var version = '1.2.
|
14
|
+
var version = '1.2.128';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
package/lib/models/Permission.js
CHANGED
@@ -40,7 +40,7 @@ var Permission = /*#__PURE__*/(0, _createClass2.default)(function Permission() {
|
|
40
40
|
(0, _defineProperty2.default)(this, "setId", function (value) {
|
41
41
|
_this.attributes.id = value;
|
42
42
|
});
|
43
|
-
// string #
|
43
|
+
// string # Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
44
44
|
(0, _defineProperty2.default)(this, "getPath", function () {
|
45
45
|
return _this.attributes.path;
|
46
46
|
});
|
@@ -54,7 +54,7 @@ var Permission = /*#__PURE__*/(0, _createClass2.default)(function Permission() {
|
|
54
54
|
(0, _defineProperty2.default)(this, "setUserId", function (value) {
|
55
55
|
_this.attributes.user_id = value;
|
56
56
|
});
|
57
|
-
// string #
|
57
|
+
// string # Username (if applicable)
|
58
58
|
(0, _defineProperty2.default)(this, "getUsername", function () {
|
59
59
|
return _this.attributes.username;
|
60
60
|
});
|
@@ -68,21 +68,21 @@ var Permission = /*#__PURE__*/(0, _createClass2.default)(function Permission() {
|
|
68
68
|
(0, _defineProperty2.default)(this, "setGroupId", function (value) {
|
69
69
|
_this.attributes.group_id = value;
|
70
70
|
});
|
71
|
-
// string # Group name if applicable
|
71
|
+
// string # Group name (if applicable)
|
72
72
|
(0, _defineProperty2.default)(this, "getGroupName", function () {
|
73
73
|
return _this.attributes.group_name;
|
74
74
|
});
|
75
75
|
(0, _defineProperty2.default)(this, "setGroupName", function (value) {
|
76
76
|
_this.attributes.group_name = value;
|
77
77
|
});
|
78
|
-
// string # Permission type
|
78
|
+
// string # Permission type. See the table referenced in the documentation for an explanation of each permission.
|
79
79
|
(0, _defineProperty2.default)(this, "getPermission", function () {
|
80
80
|
return _this.attributes.permission;
|
81
81
|
});
|
82
82
|
(0, _defineProperty2.default)(this, "setPermission", function (value) {
|
83
83
|
_this.attributes.permission = value;
|
84
84
|
});
|
85
|
-
// boolean #
|
85
|
+
// boolean # Recursive: does this permission apply to subfolders?
|
86
86
|
(0, _defineProperty2.default)(this, "getRecursive", function () {
|
87
87
|
return _this.attributes.recursive;
|
88
88
|
});
|
package/lib/models/Site.js
CHANGED
@@ -53,10 +53,6 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
53
53
|
(0, _defineProperty2.default)(this, "getAllowed2faMethodTotp", function () {
|
54
54
|
return _this.attributes.allowed_2fa_method_totp;
|
55
55
|
});
|
56
|
-
// boolean # Is U2F two factor authentication allowed?
|
57
|
-
(0, _defineProperty2.default)(this, "getAllowed2faMethodU2f", function () {
|
58
|
-
return _this.attributes.allowed_2fa_method_u2f;
|
59
|
-
});
|
60
56
|
// boolean # Is WebAuthn two factor authentication allowed?
|
61
57
|
(0, _defineProperty2.default)(this, "getAllowed2faMethodWebauthn", function () {
|
62
58
|
return _this.attributes.allowed_2fa_method_webauthn;
|
@@ -833,7 +829,6 @@ _Site = Site;
|
|
833
829
|
// bundle_recipient_blacklist_domains - array(string) - List of email domains to disallow when entering a Bundle/Inbox recipients
|
834
830
|
// admins_bypass_locked_subfolders - boolean - Allow admins to bypass the locked subfolders setting.
|
835
831
|
// allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
|
836
|
-
// allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
|
837
832
|
// allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
838
833
|
// allowed_2fa_method_webauthn - boolean - Is WebAuthn two factor authentication allowed?
|
839
834
|
// allowed_2fa_method_yubi - boolean - Is yubikey two factor authentication allowed?
|
package/lib/models/User.js
CHANGED
@@ -436,7 +436,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
436
436
|
(0, _defineProperty2.default)(this, "setTimeZone", function (value) {
|
437
437
|
_this.attributes.time_zone = value;
|
438
438
|
});
|
439
|
-
// string # Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `
|
439
|
+
// string # Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `webauthn`, `yubi`, `email`, or multiple values sorted alphabetically and joined by an underscore. Does not specify whether user has more than one of a given method.
|
440
440
|
(0, _defineProperty2.default)(this, "getTypeOf2fa", function () {
|
441
441
|
return _this.attributes.type_of_2fa;
|
442
442
|
});
|
package/package.json
CHANGED
package/src/Errors.js
CHANGED
@@ -244,6 +244,7 @@ export class ProcessingFailure_SubfolderLockedError extends ProcessingFailureErr
|
|
244
244
|
export class ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError extends ProcessingFailureError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError' } } errorClasses.ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError = ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError
|
245
245
|
export class ProcessingFailure_TwoFactorAuthenticationCountryBlacklistedError extends ProcessingFailureError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'ProcessingFailure_TwoFactorAuthenticationCountryBlacklistedError' } } errorClasses.ProcessingFailure_TwoFactorAuthenticationCountryBlacklistedError = ProcessingFailure_TwoFactorAuthenticationCountryBlacklistedError
|
246
246
|
export class ProcessingFailure_TwoFactorAuthenticationGeneralErrorError extends ProcessingFailureError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'ProcessingFailure_TwoFactorAuthenticationGeneralErrorError' } } errorClasses.ProcessingFailure_TwoFactorAuthenticationGeneralErrorError = ProcessingFailure_TwoFactorAuthenticationGeneralErrorError
|
247
|
+
export class ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError extends ProcessingFailureError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError' } } errorClasses.ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError = ProcessingFailure_TwoFactorAuthenticationMethodUnsupportedErrorError
|
247
248
|
export class ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError extends ProcessingFailureError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError' } } errorClasses.ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError = ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError
|
248
249
|
export class ProcessingFailure_UpdatesNotAllowedForRemotesError extends ProcessingFailureError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'ProcessingFailure_UpdatesNotAllowedForRemotesError' } } errorClasses.ProcessingFailure_UpdatesNotAllowedForRemotesError = ProcessingFailure_UpdatesNotAllowedForRemotesError
|
249
250
|
export class RateLimited_DuplicateShareRecipientError extends RateLimitedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'RateLimited_DuplicateShareRecipientError' } } errorClasses.RateLimited_DuplicateShareRecipientError = RateLimited_DuplicateShareRecipientError
|
package/src/Files.js
CHANGED
package/src/models/Permission.js
CHANGED
@@ -35,7 +35,7 @@ class Permission {
|
|
35
35
|
this.attributes.id = value
|
36
36
|
}
|
37
37
|
|
38
|
-
// string #
|
38
|
+
// string # Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
39
39
|
getPath = () => this.attributes.path
|
40
40
|
|
41
41
|
setPath = value => {
|
@@ -49,7 +49,7 @@ class Permission {
|
|
49
49
|
this.attributes.user_id = value
|
50
50
|
}
|
51
51
|
|
52
|
-
// string #
|
52
|
+
// string # Username (if applicable)
|
53
53
|
getUsername = () => this.attributes.username
|
54
54
|
|
55
55
|
setUsername = value => {
|
@@ -63,21 +63,21 @@ class Permission {
|
|
63
63
|
this.attributes.group_id = value
|
64
64
|
}
|
65
65
|
|
66
|
-
// string # Group name if applicable
|
66
|
+
// string # Group name (if applicable)
|
67
67
|
getGroupName = () => this.attributes.group_name
|
68
68
|
|
69
69
|
setGroupName = value => {
|
70
70
|
this.attributes.group_name = value
|
71
71
|
}
|
72
72
|
|
73
|
-
// string # Permission type
|
73
|
+
// string # Permission type. See the table referenced in the documentation for an explanation of each permission.
|
74
74
|
getPermission = () => this.attributes.permission
|
75
75
|
|
76
76
|
setPermission = value => {
|
77
77
|
this.attributes.permission = value
|
78
78
|
}
|
79
79
|
|
80
|
-
// boolean #
|
80
|
+
// boolean # Recursive: does this permission apply to subfolders?
|
81
81
|
getRecursive = () => this.attributes.recursive
|
82
82
|
|
83
83
|
setRecursive = value => {
|
package/src/models/Site.js
CHANGED
@@ -43,9 +43,6 @@ class Site {
|
|
43
43
|
// boolean # Is TOTP two factor authentication allowed?
|
44
44
|
getAllowed2faMethodTotp = () => this.attributes.allowed_2fa_method_totp
|
45
45
|
|
46
|
-
// boolean # Is U2F two factor authentication allowed?
|
47
|
-
getAllowed2faMethodU2f = () => this.attributes.allowed_2fa_method_u2f
|
48
|
-
|
49
46
|
// boolean # Is WebAuthn two factor authentication allowed?
|
50
47
|
getAllowed2faMethodWebauthn = () => this.attributes.allowed_2fa_method_webauthn
|
51
48
|
|
@@ -625,7 +622,6 @@ class Site {
|
|
625
622
|
// bundle_recipient_blacklist_domains - array(string) - List of email domains to disallow when entering a Bundle/Inbox recipients
|
626
623
|
// admins_bypass_locked_subfolders - boolean - Allow admins to bypass the locked subfolders setting.
|
627
624
|
// allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
|
628
|
-
// allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
|
629
625
|
// allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
630
626
|
// allowed_2fa_method_webauthn - boolean - Is WebAuthn two factor authentication allowed?
|
631
627
|
// allowed_2fa_method_yubi - boolean - Is yubikey two factor authentication allowed?
|
package/src/models/User.js
CHANGED
@@ -430,7 +430,7 @@ class User {
|
|
430
430
|
this.attributes.time_zone = value
|
431
431
|
}
|
432
432
|
|
433
|
-
// string # Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `
|
433
|
+
// string # Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `webauthn`, `yubi`, `email`, or multiple values sorted alphabetically and joined by an underscore. Does not specify whether user has more than one of a given method.
|
434
434
|
getTypeOf2fa = () => this.attributes.type_of_2fa
|
435
435
|
|
436
436
|
setTypeOf2fa = value => {
|