files.com 1.0.286 → 1.0.287
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/Errors.md +1 -0
- package/lib/Errors.js +89 -75
- package/package.json +1 -1
- package/src/Errors.js +1 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.287
|
package/docs/Errors.md
CHANGED
@@ -181,6 +181,7 @@ These errors are derived from the error groups listed above.
|
|
181
181
|
### ProcessingFailure_SubfolderLockedError
|
182
182
|
### ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError
|
183
183
|
### ProcessingFailure_UpdatesNotAllowedForRemotesError
|
184
|
+
### RateLimited_DuplicateShareRecipientError
|
184
185
|
### RateLimited_ReauthenticationRateLimitedError
|
185
186
|
### RateLimited_TooManyConcurrentRequestsError
|
186
187
|
### RateLimited_TooManyLoginAttemptsError
|
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.NotFound_CodeNotFoundError = exports.NotFound_BundleRegistrationNotFoundError = exports.NotFound_BundlePathNotFoundError = exports.NotFound_ApiKeyNotFoundError = exports.NotFoundError = exports.NotAuthorized_ZipDownloadIpMismatchError = exports.NotAuthorized_WritePermissionRequiredError = exports.NotAuthorized_WriteAndBundlePermissionRequiredError = exports.NotAuthorized_UserIdWithoutSiteAdminError = exports.NotAuthorized_TwoFactorAuthenticationRequiredError = exports.NotAuthorized_SiteFilesAreImmutableError = exports.NotAuthorized_SiteAdminRequiredError = exports.NotAuthorized_SelfManagedRequiredError = 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_InsufficientPermissionForParamsError = exports.NotAuthorized_HistoryPermissionRequiredError = exports.NotAuthorized_FullPermissionRequiredError = exports.NotAuthorized_FolderAdminPermissionRequiredError = exports.NotAuthorized_FolderAdminOrBillingPermissionRequiredError = exports.NotAuthorized_ContactAdminForPasswordChangeHelpError = exports.NotAuthorized_CantActForOtherUserError = exports.NotAuthorized_CannotLoginWhileUsingKeyError = exports.NotAuthorized_BundleMaximumUsesReachedError = exports.NotAuthorized_BillingPermissionRequiredError = 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_InvalidOrExpiredCodeError = exports.NotAuthenticated_InvalidOauthError = exports.NotAuthenticated_InvalidCredentialsError = exports.NotAuthenticated_InboxRegistrationCodeFailedError = exports.NotAuthenticated_FilesAgentTokenFailedError = exports.NotAuthenticated_BundleRegistrationCodeFailedError = exports.NotAuthenticated_AuthenticationRequiredError = 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_RequestParamPathCannotHaveTrailingWhitespaceError = exports.BadRequest_ReauthenticationNeededFieldsError = exports.BadRequest_PartNumberTooLargeError = exports.BadRequest_OperationOnNonScimResourceError = 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_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.ServiceUnavailableError = exports.RateLimited_TooManySharesError = exports.RateLimited_TooManyRequestsError = exports.RateLimited_TooManyLoginAttemptsError = exports.RateLimited_TooManyConcurrentRequestsError = exports.RateLimited_ReauthenticationRateLimitedError = exports.RateLimitedError = exports.ProcessingFailure_UpdatesNotAllowedForRemotesError = 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_InvalidFilenameError = exports.ProcessingFailure_InvalidFileTypeError = exports.ProcessingFailure_InvalidBundleCodeError = exports.ProcessingFailure_HistoryUnavailableError = exports.ProcessingFailure_FolderNotEmptyError = exports.ProcessingFailure_FolderLockedError = exports.ProcessingFailure_FileUploadedToWrongRegionError = exports.ProcessingFailure_FileTooBigToEncryptError = exports.ProcessingFailure_FileTooBigToDecryptError = 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_AutomationCannotBeRunManuallyError = 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 = 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.ServiceUnavailableError = exports.RateLimited_TooManySharesError = exports.RateLimited_TooManyRequestsError = exports.RateLimited_TooManyLoginAttemptsError = exports.RateLimited_TooManyConcurrentRequestsError = exports.RateLimited_ReauthenticationRateLimitedError = exports.RateLimited_DuplicateShareRecipientError = exports.RateLimitedError = exports.ProcessingFailure_UpdatesNotAllowedForRemotesError = 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_InvalidFilenameError = exports.ProcessingFailure_InvalidFileTypeError = exports.ProcessingFailure_InvalidBundleCodeError = exports.ProcessingFailure_HistoryUnavailableError = exports.ProcessingFailure_FolderNotEmptyError = exports.ProcessingFailure_FolderLockedError = exports.ProcessingFailure_FileUploadedToWrongRegionError = exports.ProcessingFailure_FileTooBigToEncryptError = exports.ProcessingFailure_FileTooBigToDecryptError = 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_AutomationCannotBeRunManuallyError = 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 = 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"));
|
@@ -2150,71 +2150,85 @@ var ProcessingFailure_UpdatesNotAllowedForRemotesError = /*#__PURE__*/function (
|
|
2150
2150
|
}(ProcessingFailureError);
|
2151
2151
|
exports.ProcessingFailure_UpdatesNotAllowedForRemotesError = ProcessingFailure_UpdatesNotAllowedForRemotesError;
|
2152
2152
|
errorClasses.ProcessingFailure_UpdatesNotAllowedForRemotesError = ProcessingFailure_UpdatesNotAllowedForRemotesError;
|
2153
|
-
var
|
2154
|
-
(0, _inherits2.default)(
|
2155
|
-
var _super150 = _createSuper(
|
2156
|
-
function
|
2153
|
+
var RateLimited_DuplicateShareRecipientError = /*#__PURE__*/function (_RateLimitedError) {
|
2154
|
+
(0, _inherits2.default)(RateLimited_DuplicateShareRecipientError, _RateLimitedError);
|
2155
|
+
var _super150 = _createSuper(RateLimited_DuplicateShareRecipientError);
|
2156
|
+
function RateLimited_DuplicateShareRecipientError(message, code) {
|
2157
2157
|
var _this150;
|
2158
|
-
(0, _classCallCheck2.default)(this,
|
2158
|
+
(0, _classCallCheck2.default)(this, RateLimited_DuplicateShareRecipientError);
|
2159
2159
|
_this150 = _super150.call(this, message, code);
|
2160
|
-
_this150.name = '
|
2160
|
+
_this150.name = 'RateLimited_DuplicateShareRecipientError';
|
2161
2161
|
return _this150;
|
2162
2162
|
}
|
2163
|
+
return (0, _createClass2.default)(RateLimited_DuplicateShareRecipientError);
|
2164
|
+
}(RateLimitedError);
|
2165
|
+
exports.RateLimited_DuplicateShareRecipientError = RateLimited_DuplicateShareRecipientError;
|
2166
|
+
errorClasses.RateLimited_DuplicateShareRecipientError = RateLimited_DuplicateShareRecipientError;
|
2167
|
+
var RateLimited_ReauthenticationRateLimitedError = /*#__PURE__*/function (_RateLimitedError2) {
|
2168
|
+
(0, _inherits2.default)(RateLimited_ReauthenticationRateLimitedError, _RateLimitedError2);
|
2169
|
+
var _super151 = _createSuper(RateLimited_ReauthenticationRateLimitedError);
|
2170
|
+
function RateLimited_ReauthenticationRateLimitedError(message, code) {
|
2171
|
+
var _this151;
|
2172
|
+
(0, _classCallCheck2.default)(this, RateLimited_ReauthenticationRateLimitedError);
|
2173
|
+
_this151 = _super151.call(this, message, code);
|
2174
|
+
_this151.name = 'RateLimited_ReauthenticationRateLimitedError';
|
2175
|
+
return _this151;
|
2176
|
+
}
|
2163
2177
|
return (0, _createClass2.default)(RateLimited_ReauthenticationRateLimitedError);
|
2164
2178
|
}(RateLimitedError);
|
2165
2179
|
exports.RateLimited_ReauthenticationRateLimitedError = RateLimited_ReauthenticationRateLimitedError;
|
2166
2180
|
errorClasses.RateLimited_ReauthenticationRateLimitedError = RateLimited_ReauthenticationRateLimitedError;
|
2167
|
-
var RateLimited_TooManyConcurrentRequestsError = /*#__PURE__*/function (
|
2168
|
-
(0, _inherits2.default)(RateLimited_TooManyConcurrentRequestsError,
|
2169
|
-
var
|
2181
|
+
var RateLimited_TooManyConcurrentRequestsError = /*#__PURE__*/function (_RateLimitedError3) {
|
2182
|
+
(0, _inherits2.default)(RateLimited_TooManyConcurrentRequestsError, _RateLimitedError3);
|
2183
|
+
var _super152 = _createSuper(RateLimited_TooManyConcurrentRequestsError);
|
2170
2184
|
function RateLimited_TooManyConcurrentRequestsError(message, code) {
|
2171
|
-
var
|
2185
|
+
var _this152;
|
2172
2186
|
(0, _classCallCheck2.default)(this, RateLimited_TooManyConcurrentRequestsError);
|
2173
|
-
|
2174
|
-
|
2175
|
-
return
|
2187
|
+
_this152 = _super152.call(this, message, code);
|
2188
|
+
_this152.name = 'RateLimited_TooManyConcurrentRequestsError';
|
2189
|
+
return _this152;
|
2176
2190
|
}
|
2177
2191
|
return (0, _createClass2.default)(RateLimited_TooManyConcurrentRequestsError);
|
2178
2192
|
}(RateLimitedError);
|
2179
2193
|
exports.RateLimited_TooManyConcurrentRequestsError = RateLimited_TooManyConcurrentRequestsError;
|
2180
2194
|
errorClasses.RateLimited_TooManyConcurrentRequestsError = RateLimited_TooManyConcurrentRequestsError;
|
2181
|
-
var RateLimited_TooManyLoginAttemptsError = /*#__PURE__*/function (
|
2182
|
-
(0, _inherits2.default)(RateLimited_TooManyLoginAttemptsError,
|
2183
|
-
var
|
2195
|
+
var RateLimited_TooManyLoginAttemptsError = /*#__PURE__*/function (_RateLimitedError4) {
|
2196
|
+
(0, _inherits2.default)(RateLimited_TooManyLoginAttemptsError, _RateLimitedError4);
|
2197
|
+
var _super153 = _createSuper(RateLimited_TooManyLoginAttemptsError);
|
2184
2198
|
function RateLimited_TooManyLoginAttemptsError(message, code) {
|
2185
|
-
var
|
2199
|
+
var _this153;
|
2186
2200
|
(0, _classCallCheck2.default)(this, RateLimited_TooManyLoginAttemptsError);
|
2187
|
-
|
2188
|
-
|
2189
|
-
return
|
2201
|
+
_this153 = _super153.call(this, message, code);
|
2202
|
+
_this153.name = 'RateLimited_TooManyLoginAttemptsError';
|
2203
|
+
return _this153;
|
2190
2204
|
}
|
2191
2205
|
return (0, _createClass2.default)(RateLimited_TooManyLoginAttemptsError);
|
2192
2206
|
}(RateLimitedError);
|
2193
2207
|
exports.RateLimited_TooManyLoginAttemptsError = RateLimited_TooManyLoginAttemptsError;
|
2194
2208
|
errorClasses.RateLimited_TooManyLoginAttemptsError = RateLimited_TooManyLoginAttemptsError;
|
2195
|
-
var RateLimited_TooManyRequestsError = /*#__PURE__*/function (
|
2196
|
-
(0, _inherits2.default)(RateLimited_TooManyRequestsError,
|
2197
|
-
var
|
2209
|
+
var RateLimited_TooManyRequestsError = /*#__PURE__*/function (_RateLimitedError5) {
|
2210
|
+
(0, _inherits2.default)(RateLimited_TooManyRequestsError, _RateLimitedError5);
|
2211
|
+
var _super154 = _createSuper(RateLimited_TooManyRequestsError);
|
2198
2212
|
function RateLimited_TooManyRequestsError(message, code) {
|
2199
|
-
var
|
2213
|
+
var _this154;
|
2200
2214
|
(0, _classCallCheck2.default)(this, RateLimited_TooManyRequestsError);
|
2201
|
-
|
2202
|
-
|
2203
|
-
return
|
2215
|
+
_this154 = _super154.call(this, message, code);
|
2216
|
+
_this154.name = 'RateLimited_TooManyRequestsError';
|
2217
|
+
return _this154;
|
2204
2218
|
}
|
2205
2219
|
return (0, _createClass2.default)(RateLimited_TooManyRequestsError);
|
2206
2220
|
}(RateLimitedError);
|
2207
2221
|
exports.RateLimited_TooManyRequestsError = RateLimited_TooManyRequestsError;
|
2208
2222
|
errorClasses.RateLimited_TooManyRequestsError = RateLimited_TooManyRequestsError;
|
2209
|
-
var RateLimited_TooManySharesError = /*#__PURE__*/function (
|
2210
|
-
(0, _inherits2.default)(RateLimited_TooManySharesError,
|
2211
|
-
var
|
2223
|
+
var RateLimited_TooManySharesError = /*#__PURE__*/function (_RateLimitedError6) {
|
2224
|
+
(0, _inherits2.default)(RateLimited_TooManySharesError, _RateLimitedError6);
|
2225
|
+
var _super155 = _createSuper(RateLimited_TooManySharesError);
|
2212
2226
|
function RateLimited_TooManySharesError(message, code) {
|
2213
|
-
var
|
2227
|
+
var _this155;
|
2214
2228
|
(0, _classCallCheck2.default)(this, RateLimited_TooManySharesError);
|
2215
|
-
|
2216
|
-
|
2217
|
-
return
|
2229
|
+
_this155 = _super155.call(this, message, code);
|
2230
|
+
_this155.name = 'RateLimited_TooManySharesError';
|
2231
|
+
return _this155;
|
2218
2232
|
}
|
2219
2233
|
return (0, _createClass2.default)(RateLimited_TooManySharesError);
|
2220
2234
|
}(RateLimitedError);
|
@@ -2222,13 +2236,13 @@ exports.RateLimited_TooManySharesError = RateLimited_TooManySharesError;
|
|
2222
2236
|
errorClasses.RateLimited_TooManySharesError = RateLimited_TooManySharesError;
|
2223
2237
|
var ServiceUnavailable_UploadsUnavailableError = /*#__PURE__*/function (_ServiceUnavailableEr) {
|
2224
2238
|
(0, _inherits2.default)(ServiceUnavailable_UploadsUnavailableError, _ServiceUnavailableEr);
|
2225
|
-
var
|
2239
|
+
var _super156 = _createSuper(ServiceUnavailable_UploadsUnavailableError);
|
2226
2240
|
function ServiceUnavailable_UploadsUnavailableError(message, code) {
|
2227
|
-
var
|
2241
|
+
var _this156;
|
2228
2242
|
(0, _classCallCheck2.default)(this, ServiceUnavailable_UploadsUnavailableError);
|
2229
|
-
|
2230
|
-
|
2231
|
-
return
|
2243
|
+
_this156 = _super156.call(this, message, code);
|
2244
|
+
_this156.name = 'ServiceUnavailable_UploadsUnavailableError';
|
2245
|
+
return _this156;
|
2232
2246
|
}
|
2233
2247
|
return (0, _createClass2.default)(ServiceUnavailable_UploadsUnavailableError);
|
2234
2248
|
}(ServiceUnavailableError);
|
@@ -2236,13 +2250,13 @@ exports.ServiceUnavailable_UploadsUnavailableError = ServiceUnavailable_UploadsU
|
|
2236
2250
|
errorClasses.ServiceUnavailable_UploadsUnavailableError = ServiceUnavailable_UploadsUnavailableError;
|
2237
2251
|
var SiteConfiguration_AccountAlreadyExistsError = /*#__PURE__*/function (_SiteConfigurationErr) {
|
2238
2252
|
(0, _inherits2.default)(SiteConfiguration_AccountAlreadyExistsError, _SiteConfigurationErr);
|
2239
|
-
var
|
2253
|
+
var _super157 = _createSuper(SiteConfiguration_AccountAlreadyExistsError);
|
2240
2254
|
function SiteConfiguration_AccountAlreadyExistsError(message, code) {
|
2241
|
-
var
|
2255
|
+
var _this157;
|
2242
2256
|
(0, _classCallCheck2.default)(this, SiteConfiguration_AccountAlreadyExistsError);
|
2243
|
-
|
2244
|
-
|
2245
|
-
return
|
2257
|
+
_this157 = _super157.call(this, message, code);
|
2258
|
+
_this157.name = 'SiteConfiguration_AccountAlreadyExistsError';
|
2259
|
+
return _this157;
|
2246
2260
|
}
|
2247
2261
|
return (0, _createClass2.default)(SiteConfiguration_AccountAlreadyExistsError);
|
2248
2262
|
}(SiteConfigurationError);
|
@@ -2250,13 +2264,13 @@ exports.SiteConfiguration_AccountAlreadyExistsError = SiteConfiguration_AccountA
|
|
2250
2264
|
errorClasses.SiteConfiguration_AccountAlreadyExistsError = SiteConfiguration_AccountAlreadyExistsError;
|
2251
2265
|
var SiteConfiguration_AccountOverdueError = /*#__PURE__*/function (_SiteConfigurationErr2) {
|
2252
2266
|
(0, _inherits2.default)(SiteConfiguration_AccountOverdueError, _SiteConfigurationErr2);
|
2253
|
-
var
|
2267
|
+
var _super158 = _createSuper(SiteConfiguration_AccountOverdueError);
|
2254
2268
|
function SiteConfiguration_AccountOverdueError(message, code) {
|
2255
|
-
var
|
2269
|
+
var _this158;
|
2256
2270
|
(0, _classCallCheck2.default)(this, SiteConfiguration_AccountOverdueError);
|
2257
|
-
|
2258
|
-
|
2259
|
-
return
|
2271
|
+
_this158 = _super158.call(this, message, code);
|
2272
|
+
_this158.name = 'SiteConfiguration_AccountOverdueError';
|
2273
|
+
return _this158;
|
2260
2274
|
}
|
2261
2275
|
return (0, _createClass2.default)(SiteConfiguration_AccountOverdueError);
|
2262
2276
|
}(SiteConfigurationError);
|
@@ -2264,13 +2278,13 @@ exports.SiteConfiguration_AccountOverdueError = SiteConfiguration_AccountOverdue
|
|
2264
2278
|
errorClasses.SiteConfiguration_AccountOverdueError = SiteConfiguration_AccountOverdueError;
|
2265
2279
|
var SiteConfiguration_NoAccountForSiteError = /*#__PURE__*/function (_SiteConfigurationErr3) {
|
2266
2280
|
(0, _inherits2.default)(SiteConfiguration_NoAccountForSiteError, _SiteConfigurationErr3);
|
2267
|
-
var
|
2281
|
+
var _super159 = _createSuper(SiteConfiguration_NoAccountForSiteError);
|
2268
2282
|
function SiteConfiguration_NoAccountForSiteError(message, code) {
|
2269
|
-
var
|
2283
|
+
var _this159;
|
2270
2284
|
(0, _classCallCheck2.default)(this, SiteConfiguration_NoAccountForSiteError);
|
2271
|
-
|
2272
|
-
|
2273
|
-
return
|
2285
|
+
_this159 = _super159.call(this, message, code);
|
2286
|
+
_this159.name = 'SiteConfiguration_NoAccountForSiteError';
|
2287
|
+
return _this159;
|
2274
2288
|
}
|
2275
2289
|
return (0, _createClass2.default)(SiteConfiguration_NoAccountForSiteError);
|
2276
2290
|
}(SiteConfigurationError);
|
@@ -2278,13 +2292,13 @@ exports.SiteConfiguration_NoAccountForSiteError = SiteConfiguration_NoAccountFor
|
|
2278
2292
|
errorClasses.SiteConfiguration_NoAccountForSiteError = SiteConfiguration_NoAccountForSiteError;
|
2279
2293
|
var SiteConfiguration_SiteWasRemovedError = /*#__PURE__*/function (_SiteConfigurationErr4) {
|
2280
2294
|
(0, _inherits2.default)(SiteConfiguration_SiteWasRemovedError, _SiteConfigurationErr4);
|
2281
|
-
var
|
2295
|
+
var _super160 = _createSuper(SiteConfiguration_SiteWasRemovedError);
|
2282
2296
|
function SiteConfiguration_SiteWasRemovedError(message, code) {
|
2283
|
-
var
|
2297
|
+
var _this160;
|
2284
2298
|
(0, _classCallCheck2.default)(this, SiteConfiguration_SiteWasRemovedError);
|
2285
|
-
|
2286
|
-
|
2287
|
-
return
|
2299
|
+
_this160 = _super160.call(this, message, code);
|
2300
|
+
_this160.name = 'SiteConfiguration_SiteWasRemovedError';
|
2301
|
+
return _this160;
|
2288
2302
|
}
|
2289
2303
|
return (0, _createClass2.default)(SiteConfiguration_SiteWasRemovedError);
|
2290
2304
|
}(SiteConfigurationError);
|
@@ -2292,13 +2306,13 @@ exports.SiteConfiguration_SiteWasRemovedError = SiteConfiguration_SiteWasRemoved
|
|
2292
2306
|
errorClasses.SiteConfiguration_SiteWasRemovedError = SiteConfiguration_SiteWasRemovedError;
|
2293
2307
|
var SiteConfiguration_TrialExpiredError = /*#__PURE__*/function (_SiteConfigurationErr5) {
|
2294
2308
|
(0, _inherits2.default)(SiteConfiguration_TrialExpiredError, _SiteConfigurationErr5);
|
2295
|
-
var
|
2309
|
+
var _super161 = _createSuper(SiteConfiguration_TrialExpiredError);
|
2296
2310
|
function SiteConfiguration_TrialExpiredError(message, code) {
|
2297
|
-
var
|
2311
|
+
var _this161;
|
2298
2312
|
(0, _classCallCheck2.default)(this, SiteConfiguration_TrialExpiredError);
|
2299
|
-
|
2300
|
-
|
2301
|
-
return
|
2313
|
+
_this161 = _super161.call(this, message, code);
|
2314
|
+
_this161.name = 'SiteConfiguration_TrialExpiredError';
|
2315
|
+
return _this161;
|
2302
2316
|
}
|
2303
2317
|
return (0, _createClass2.default)(SiteConfiguration_TrialExpiredError);
|
2304
2318
|
}(SiteConfigurationError);
|
@@ -2306,13 +2320,13 @@ exports.SiteConfiguration_TrialExpiredError = SiteConfiguration_TrialExpiredErro
|
|
2306
2320
|
errorClasses.SiteConfiguration_TrialExpiredError = SiteConfiguration_TrialExpiredError;
|
2307
2321
|
var SiteConfiguration_TrialLockedError = /*#__PURE__*/function (_SiteConfigurationErr6) {
|
2308
2322
|
(0, _inherits2.default)(SiteConfiguration_TrialLockedError, _SiteConfigurationErr6);
|
2309
|
-
var
|
2323
|
+
var _super162 = _createSuper(SiteConfiguration_TrialLockedError);
|
2310
2324
|
function SiteConfiguration_TrialLockedError(message, code) {
|
2311
|
-
var
|
2325
|
+
var _this162;
|
2312
2326
|
(0, _classCallCheck2.default)(this, SiteConfiguration_TrialLockedError);
|
2313
|
-
|
2314
|
-
|
2315
|
-
return
|
2327
|
+
_this162 = _super162.call(this, message, code);
|
2328
|
+
_this162.name = 'SiteConfiguration_TrialLockedError';
|
2329
|
+
return _this162;
|
2316
2330
|
}
|
2317
2331
|
return (0, _createClass2.default)(SiteConfiguration_TrialLockedError);
|
2318
2332
|
}(SiteConfigurationError);
|
@@ -2320,13 +2334,13 @@ exports.SiteConfiguration_TrialLockedError = SiteConfiguration_TrialLockedError;
|
|
2320
2334
|
errorClasses.SiteConfiguration_TrialLockedError = SiteConfiguration_TrialLockedError;
|
2321
2335
|
var SiteConfiguration_UserRequestsEnabledRequiredError = /*#__PURE__*/function (_SiteConfigurationErr7) {
|
2322
2336
|
(0, _inherits2.default)(SiteConfiguration_UserRequestsEnabledRequiredError, _SiteConfigurationErr7);
|
2323
|
-
var
|
2337
|
+
var _super163 = _createSuper(SiteConfiguration_UserRequestsEnabledRequiredError);
|
2324
2338
|
function SiteConfiguration_UserRequestsEnabledRequiredError(message, code) {
|
2325
|
-
var
|
2339
|
+
var _this163;
|
2326
2340
|
(0, _classCallCheck2.default)(this, SiteConfiguration_UserRequestsEnabledRequiredError);
|
2327
|
-
|
2328
|
-
|
2329
|
-
return
|
2341
|
+
_this163 = _super163.call(this, message, code);
|
2342
|
+
_this163.name = 'SiteConfiguration_UserRequestsEnabledRequiredError';
|
2343
|
+
return _this163;
|
2330
2344
|
}
|
2331
2345
|
return (0, _createClass2.default)(SiteConfiguration_UserRequestsEnabledRequiredError);
|
2332
2346
|
}(SiteConfigurationError);
|
package/package.json
CHANGED
package/src/Errors.js
CHANGED
@@ -220,6 +220,7 @@ export class ProcessingFailure_ResourceLockedError extends ProcessingFailureErro
|
|
220
220
|
export class ProcessingFailure_SubfolderLockedError extends ProcessingFailureError { constructor(message, code) { super(message, code); this.name = 'ProcessingFailure_SubfolderLockedError' } } errorClasses.ProcessingFailure_SubfolderLockedError = ProcessingFailure_SubfolderLockedError
|
221
221
|
export class ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError extends ProcessingFailureError { constructor(message, code) { super(message, code); this.name = 'ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError' } } errorClasses.ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError = ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError
|
222
222
|
export class ProcessingFailure_UpdatesNotAllowedForRemotesError extends ProcessingFailureError { constructor(message, code) { super(message, code); this.name = 'ProcessingFailure_UpdatesNotAllowedForRemotesError' } } errorClasses.ProcessingFailure_UpdatesNotAllowedForRemotesError = ProcessingFailure_UpdatesNotAllowedForRemotesError
|
223
|
+
export class RateLimited_DuplicateShareRecipientError extends RateLimitedError { constructor(message, code) { super(message, code); this.name = 'RateLimited_DuplicateShareRecipientError' } } errorClasses.RateLimited_DuplicateShareRecipientError = RateLimited_DuplicateShareRecipientError
|
223
224
|
export class RateLimited_ReauthenticationRateLimitedError extends RateLimitedError { constructor(message, code) { super(message, code); this.name = 'RateLimited_ReauthenticationRateLimitedError' } } errorClasses.RateLimited_ReauthenticationRateLimitedError = RateLimited_ReauthenticationRateLimitedError
|
224
225
|
export class RateLimited_TooManyConcurrentRequestsError extends RateLimitedError { constructor(message, code) { super(message, code); this.name = 'RateLimited_TooManyConcurrentRequestsError' } } errorClasses.RateLimited_TooManyConcurrentRequestsError = RateLimited_TooManyConcurrentRequestsError
|
225
226
|
export class RateLimited_TooManyLoginAttemptsError extends RateLimitedError { constructor(message, code) { super(message, code); this.name = 'RateLimited_TooManyLoginAttemptsError' } } errorClasses.RateLimited_TooManyLoginAttemptsError = RateLimited_TooManyLoginAttemptsError
|