files.com 1.0.224 → 1.0.226
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 +0 -1
- package/docs/models/File.md +4 -0
- package/docs/models/Folder.md +2 -0
- package/lib/Errors.js +121 -135
- package/lib/models/File.js +6 -0
- package/lib/models/Folder.js +6 -0
- package/package.json +1 -1
- package/src/Errors.js +0 -1
- package/src/models/File.js +7 -0
- package/src/models/Folder.js +7 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.226
|
package/docs/Errors.md
CHANGED
@@ -165,7 +165,6 @@ These errors are derived from the error groups listed above.
|
|
165
165
|
### ProcessingFailure_InvalidFilenameError
|
166
166
|
### ProcessingFailure_InvalidRangeError
|
167
167
|
### ProcessingFailure_ModelSaveErrorError
|
168
|
-
### ProcessingFailure_MultipartUploadsRequiredForRemotesError
|
169
168
|
### ProcessingFailure_MultipleProcessingErrorsError
|
170
169
|
### ProcessingFailure_PathTooLongError
|
171
170
|
### ProcessingFailure_RecipientAlreadySharedError
|
package/docs/models/File.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
"region": "us-east-1",
|
18
18
|
"permissions": "rwd",
|
19
19
|
"subfolders_locked?": true,
|
20
|
+
"is_locked": true,
|
20
21
|
"download_uri": "https://mysite.files.com/...",
|
21
22
|
"priority_color": "red",
|
22
23
|
"preview_id": 1,
|
@@ -37,6 +38,7 @@
|
|
37
38
|
* `region` (string): Region location
|
38
39
|
* `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
|
39
40
|
* `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
|
41
|
+
* `is_locked` (boolean): Is this folder locked and unable to be modified?
|
40
42
|
* `download_uri` (string): Link to download file. Provided only in response to a download request.
|
41
43
|
* `priority_color` (string): Bookmark/priority color of file/folder
|
42
44
|
* `preview_id` (int64): File preview ID
|
@@ -144,6 +146,7 @@ await file.download({
|
|
144
146
|
"region": "us-east-1",
|
145
147
|
"permissions": "rwd",
|
146
148
|
"subfolders_locked?": true,
|
149
|
+
"is_locked": true,
|
147
150
|
"download_uri": "https://mysite.files.com/...",
|
148
151
|
"priority_color": "red",
|
149
152
|
"preview_id": 1,
|
@@ -188,6 +191,7 @@ await file.update({
|
|
188
191
|
"region": "us-east-1",
|
189
192
|
"permissions": "rwd",
|
190
193
|
"subfolders_locked?": true,
|
194
|
+
"is_locked": true,
|
191
195
|
"download_uri": "https://mysite.files.com/...",
|
192
196
|
"priority_color": "red",
|
193
197
|
"preview_id": 1,
|
package/docs/models/Folder.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
"region": "us-east-1",
|
18
18
|
"permissions": "rwd",
|
19
19
|
"subfolders_locked?": true,
|
20
|
+
"is_locked": true,
|
20
21
|
"download_uri": "https://mysite.files.com/...",
|
21
22
|
"priority_color": "red",
|
22
23
|
"preview_id": 1,
|
@@ -37,6 +38,7 @@
|
|
37
38
|
* `region` (string): Region location
|
38
39
|
* `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
|
39
40
|
* `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
|
41
|
+
* `is_locked` (boolean): Is this folder locked and unable to be modified?
|
40
42
|
* `download_uri` (string): Link to download file. Provided only in response to a download request.
|
41
43
|
* `priority_color` (string): Bookmark/priority color of file/folder
|
42
44
|
* `preview_id` (int64): File preview ID
|
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_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 = exports.NotAuthorized_WritePermissionRequiredError = 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_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_InvalidOauthProviderError = exports.BadRequest_InvalidInterfaceError = exports.BadRequest_InvalidInputEncodingError = exports.BadRequest_InvalidFilterFieldError = exports.BadRequest_InvalidFilterCombinationError = 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.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.
|
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_BundleOnlyAllowsPreviewsError = exports.ProcessingFailureError = exports.NotImplementedError = exports.NotFound_UserNotFoundError = exports.NotFound_SiteNotFoundError = exports.NotFound_PlanNotFoundError = 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"));
|
@@ -1926,127 +1926,113 @@ var ProcessingFailure_ModelSaveErrorError = /*#__PURE__*/function (_ProcessingFa
|
|
1926
1926
|
}(ProcessingFailureError);
|
1927
1927
|
exports.ProcessingFailure_ModelSaveErrorError = ProcessingFailure_ModelSaveErrorError;
|
1928
1928
|
errorClasses.ProcessingFailure_ModelSaveErrorError = ProcessingFailure_ModelSaveErrorError;
|
1929
|
-
var
|
1930
|
-
(0, _inherits2.default)(
|
1931
|
-
var _super134 = _createSuper(
|
1932
|
-
function
|
1929
|
+
var ProcessingFailure_MultipleProcessingErrorsError = /*#__PURE__*/function (_ProcessingFailureErr26) {
|
1930
|
+
(0, _inherits2.default)(ProcessingFailure_MultipleProcessingErrorsError, _ProcessingFailureErr26);
|
1931
|
+
var _super134 = _createSuper(ProcessingFailure_MultipleProcessingErrorsError);
|
1932
|
+
function ProcessingFailure_MultipleProcessingErrorsError(message, code) {
|
1933
1933
|
var _this134;
|
1934
|
-
(0, _classCallCheck2.default)(this,
|
1934
|
+
(0, _classCallCheck2.default)(this, ProcessingFailure_MultipleProcessingErrorsError);
|
1935
1935
|
_this134 = _super134.call(this, message, code);
|
1936
|
-
_this134.name = '
|
1936
|
+
_this134.name = 'ProcessingFailure_MultipleProcessingErrorsError';
|
1937
1937
|
return _this134;
|
1938
1938
|
}
|
1939
|
-
return (0, _createClass2.default)(ProcessingFailure_MultipartUploadsRequiredForRemotesError);
|
1940
|
-
}(ProcessingFailureError);
|
1941
|
-
exports.ProcessingFailure_MultipartUploadsRequiredForRemotesError = ProcessingFailure_MultipartUploadsRequiredForRemotesError;
|
1942
|
-
errorClasses.ProcessingFailure_MultipartUploadsRequiredForRemotesError = ProcessingFailure_MultipartUploadsRequiredForRemotesError;
|
1943
|
-
var ProcessingFailure_MultipleProcessingErrorsError = /*#__PURE__*/function (_ProcessingFailureErr27) {
|
1944
|
-
(0, _inherits2.default)(ProcessingFailure_MultipleProcessingErrorsError, _ProcessingFailureErr27);
|
1945
|
-
var _super135 = _createSuper(ProcessingFailure_MultipleProcessingErrorsError);
|
1946
|
-
function ProcessingFailure_MultipleProcessingErrorsError(message, code) {
|
1947
|
-
var _this135;
|
1948
|
-
(0, _classCallCheck2.default)(this, ProcessingFailure_MultipleProcessingErrorsError);
|
1949
|
-
_this135 = _super135.call(this, message, code);
|
1950
|
-
_this135.name = 'ProcessingFailure_MultipleProcessingErrorsError';
|
1951
|
-
return _this135;
|
1952
|
-
}
|
1953
1939
|
return (0, _createClass2.default)(ProcessingFailure_MultipleProcessingErrorsError);
|
1954
1940
|
}(ProcessingFailureError);
|
1955
1941
|
exports.ProcessingFailure_MultipleProcessingErrorsError = ProcessingFailure_MultipleProcessingErrorsError;
|
1956
1942
|
errorClasses.ProcessingFailure_MultipleProcessingErrorsError = ProcessingFailure_MultipleProcessingErrorsError;
|
1957
|
-
var ProcessingFailure_PathTooLongError = /*#__PURE__*/function (
|
1958
|
-
(0, _inherits2.default)(ProcessingFailure_PathTooLongError,
|
1959
|
-
var
|
1943
|
+
var ProcessingFailure_PathTooLongError = /*#__PURE__*/function (_ProcessingFailureErr27) {
|
1944
|
+
(0, _inherits2.default)(ProcessingFailure_PathTooLongError, _ProcessingFailureErr27);
|
1945
|
+
var _super135 = _createSuper(ProcessingFailure_PathTooLongError);
|
1960
1946
|
function ProcessingFailure_PathTooLongError(message, code) {
|
1961
|
-
var
|
1947
|
+
var _this135;
|
1962
1948
|
(0, _classCallCheck2.default)(this, ProcessingFailure_PathTooLongError);
|
1963
|
-
|
1964
|
-
|
1965
|
-
return
|
1949
|
+
_this135 = _super135.call(this, message, code);
|
1950
|
+
_this135.name = 'ProcessingFailure_PathTooLongError';
|
1951
|
+
return _this135;
|
1966
1952
|
}
|
1967
1953
|
return (0, _createClass2.default)(ProcessingFailure_PathTooLongError);
|
1968
1954
|
}(ProcessingFailureError);
|
1969
1955
|
exports.ProcessingFailure_PathTooLongError = ProcessingFailure_PathTooLongError;
|
1970
1956
|
errorClasses.ProcessingFailure_PathTooLongError = ProcessingFailure_PathTooLongError;
|
1971
|
-
var ProcessingFailure_RecipientAlreadySharedError = /*#__PURE__*/function (
|
1972
|
-
(0, _inherits2.default)(ProcessingFailure_RecipientAlreadySharedError,
|
1973
|
-
var
|
1957
|
+
var ProcessingFailure_RecipientAlreadySharedError = /*#__PURE__*/function (_ProcessingFailureErr28) {
|
1958
|
+
(0, _inherits2.default)(ProcessingFailure_RecipientAlreadySharedError, _ProcessingFailureErr28);
|
1959
|
+
var _super136 = _createSuper(ProcessingFailure_RecipientAlreadySharedError);
|
1974
1960
|
function ProcessingFailure_RecipientAlreadySharedError(message, code) {
|
1975
|
-
var
|
1961
|
+
var _this136;
|
1976
1962
|
(0, _classCallCheck2.default)(this, ProcessingFailure_RecipientAlreadySharedError);
|
1977
|
-
|
1978
|
-
|
1979
|
-
return
|
1963
|
+
_this136 = _super136.call(this, message, code);
|
1964
|
+
_this136.name = 'ProcessingFailure_RecipientAlreadySharedError';
|
1965
|
+
return _this136;
|
1980
1966
|
}
|
1981
1967
|
return (0, _createClass2.default)(ProcessingFailure_RecipientAlreadySharedError);
|
1982
1968
|
}(ProcessingFailureError);
|
1983
1969
|
exports.ProcessingFailure_RecipientAlreadySharedError = ProcessingFailure_RecipientAlreadySharedError;
|
1984
1970
|
errorClasses.ProcessingFailure_RecipientAlreadySharedError = ProcessingFailure_RecipientAlreadySharedError;
|
1985
|
-
var ProcessingFailure_RemoteServerErrorError = /*#__PURE__*/function (
|
1986
|
-
(0, _inherits2.default)(ProcessingFailure_RemoteServerErrorError,
|
1987
|
-
var
|
1971
|
+
var ProcessingFailure_RemoteServerErrorError = /*#__PURE__*/function (_ProcessingFailureErr29) {
|
1972
|
+
(0, _inherits2.default)(ProcessingFailure_RemoteServerErrorError, _ProcessingFailureErr29);
|
1973
|
+
var _super137 = _createSuper(ProcessingFailure_RemoteServerErrorError);
|
1988
1974
|
function ProcessingFailure_RemoteServerErrorError(message, code) {
|
1989
|
-
var
|
1975
|
+
var _this137;
|
1990
1976
|
(0, _classCallCheck2.default)(this, ProcessingFailure_RemoteServerErrorError);
|
1991
|
-
|
1992
|
-
|
1993
|
-
return
|
1977
|
+
_this137 = _super137.call(this, message, code);
|
1978
|
+
_this137.name = 'ProcessingFailure_RemoteServerErrorError';
|
1979
|
+
return _this137;
|
1994
1980
|
}
|
1995
1981
|
return (0, _createClass2.default)(ProcessingFailure_RemoteServerErrorError);
|
1996
1982
|
}(ProcessingFailureError);
|
1997
1983
|
exports.ProcessingFailure_RemoteServerErrorError = ProcessingFailure_RemoteServerErrorError;
|
1998
1984
|
errorClasses.ProcessingFailure_RemoteServerErrorError = ProcessingFailure_RemoteServerErrorError;
|
1999
|
-
var ProcessingFailure_ResourceLockedError = /*#__PURE__*/function (
|
2000
|
-
(0, _inherits2.default)(ProcessingFailure_ResourceLockedError,
|
2001
|
-
var
|
1985
|
+
var ProcessingFailure_ResourceLockedError = /*#__PURE__*/function (_ProcessingFailureErr30) {
|
1986
|
+
(0, _inherits2.default)(ProcessingFailure_ResourceLockedError, _ProcessingFailureErr30);
|
1987
|
+
var _super138 = _createSuper(ProcessingFailure_ResourceLockedError);
|
2002
1988
|
function ProcessingFailure_ResourceLockedError(message, code) {
|
2003
|
-
var
|
1989
|
+
var _this138;
|
2004
1990
|
(0, _classCallCheck2.default)(this, ProcessingFailure_ResourceLockedError);
|
2005
|
-
|
2006
|
-
|
2007
|
-
return
|
1991
|
+
_this138 = _super138.call(this, message, code);
|
1992
|
+
_this138.name = 'ProcessingFailure_ResourceLockedError';
|
1993
|
+
return _this138;
|
2008
1994
|
}
|
2009
1995
|
return (0, _createClass2.default)(ProcessingFailure_ResourceLockedError);
|
2010
1996
|
}(ProcessingFailureError);
|
2011
1997
|
exports.ProcessingFailure_ResourceLockedError = ProcessingFailure_ResourceLockedError;
|
2012
1998
|
errorClasses.ProcessingFailure_ResourceLockedError = ProcessingFailure_ResourceLockedError;
|
2013
|
-
var ProcessingFailure_SubfolderLockedError = /*#__PURE__*/function (
|
2014
|
-
(0, _inherits2.default)(ProcessingFailure_SubfolderLockedError,
|
2015
|
-
var
|
1999
|
+
var ProcessingFailure_SubfolderLockedError = /*#__PURE__*/function (_ProcessingFailureErr31) {
|
2000
|
+
(0, _inherits2.default)(ProcessingFailure_SubfolderLockedError, _ProcessingFailureErr31);
|
2001
|
+
var _super139 = _createSuper(ProcessingFailure_SubfolderLockedError);
|
2016
2002
|
function ProcessingFailure_SubfolderLockedError(message, code) {
|
2017
|
-
var
|
2003
|
+
var _this139;
|
2018
2004
|
(0, _classCallCheck2.default)(this, ProcessingFailure_SubfolderLockedError);
|
2019
|
-
|
2020
|
-
|
2021
|
-
return
|
2005
|
+
_this139 = _super139.call(this, message, code);
|
2006
|
+
_this139.name = 'ProcessingFailure_SubfolderLockedError';
|
2007
|
+
return _this139;
|
2022
2008
|
}
|
2023
2009
|
return (0, _createClass2.default)(ProcessingFailure_SubfolderLockedError);
|
2024
2010
|
}(ProcessingFailureError);
|
2025
2011
|
exports.ProcessingFailure_SubfolderLockedError = ProcessingFailure_SubfolderLockedError;
|
2026
2012
|
errorClasses.ProcessingFailure_SubfolderLockedError = ProcessingFailure_SubfolderLockedError;
|
2027
|
-
var ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError = /*#__PURE__*/function (
|
2028
|
-
(0, _inherits2.default)(ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError,
|
2029
|
-
var
|
2013
|
+
var ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError = /*#__PURE__*/function (_ProcessingFailureErr32) {
|
2014
|
+
(0, _inherits2.default)(ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError, _ProcessingFailureErr32);
|
2015
|
+
var _super140 = _createSuper(ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError);
|
2030
2016
|
function ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError(message, code) {
|
2031
|
-
var
|
2017
|
+
var _this140;
|
2032
2018
|
(0, _classCallCheck2.default)(this, ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError);
|
2033
|
-
|
2034
|
-
|
2035
|
-
return
|
2019
|
+
_this140 = _super140.call(this, message, code);
|
2020
|
+
_this140.name = 'ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError';
|
2021
|
+
return _this140;
|
2036
2022
|
}
|
2037
2023
|
return (0, _createClass2.default)(ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError);
|
2038
2024
|
}(ProcessingFailureError);
|
2039
2025
|
exports.ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError = ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError;
|
2040
2026
|
errorClasses.ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError = ProcessingFailure_TwoFactorAuthenticationCodeAlreadySentError;
|
2041
|
-
var ProcessingFailure_UpdatesNotAllowedForRemotesError = /*#__PURE__*/function (
|
2042
|
-
(0, _inherits2.default)(ProcessingFailure_UpdatesNotAllowedForRemotesError,
|
2043
|
-
var
|
2027
|
+
var ProcessingFailure_UpdatesNotAllowedForRemotesError = /*#__PURE__*/function (_ProcessingFailureErr33) {
|
2028
|
+
(0, _inherits2.default)(ProcessingFailure_UpdatesNotAllowedForRemotesError, _ProcessingFailureErr33);
|
2029
|
+
var _super141 = _createSuper(ProcessingFailure_UpdatesNotAllowedForRemotesError);
|
2044
2030
|
function ProcessingFailure_UpdatesNotAllowedForRemotesError(message, code) {
|
2045
|
-
var
|
2031
|
+
var _this141;
|
2046
2032
|
(0, _classCallCheck2.default)(this, ProcessingFailure_UpdatesNotAllowedForRemotesError);
|
2047
|
-
|
2048
|
-
|
2049
|
-
return
|
2033
|
+
_this141 = _super141.call(this, message, code);
|
2034
|
+
_this141.name = 'ProcessingFailure_UpdatesNotAllowedForRemotesError';
|
2035
|
+
return _this141;
|
2050
2036
|
}
|
2051
2037
|
return (0, _createClass2.default)(ProcessingFailure_UpdatesNotAllowedForRemotesError);
|
2052
2038
|
}(ProcessingFailureError);
|
@@ -2054,13 +2040,13 @@ exports.ProcessingFailure_UpdatesNotAllowedForRemotesError = ProcessingFailure_U
|
|
2054
2040
|
errorClasses.ProcessingFailure_UpdatesNotAllowedForRemotesError = ProcessingFailure_UpdatesNotAllowedForRemotesError;
|
2055
2041
|
var RateLimited_ReauthenticationRateLimitedError = /*#__PURE__*/function (_RateLimitedError) {
|
2056
2042
|
(0, _inherits2.default)(RateLimited_ReauthenticationRateLimitedError, _RateLimitedError);
|
2057
|
-
var
|
2043
|
+
var _super142 = _createSuper(RateLimited_ReauthenticationRateLimitedError);
|
2058
2044
|
function RateLimited_ReauthenticationRateLimitedError(message, code) {
|
2059
|
-
var
|
2045
|
+
var _this142;
|
2060
2046
|
(0, _classCallCheck2.default)(this, RateLimited_ReauthenticationRateLimitedError);
|
2061
|
-
|
2062
|
-
|
2063
|
-
return
|
2047
|
+
_this142 = _super142.call(this, message, code);
|
2048
|
+
_this142.name = 'RateLimited_ReauthenticationRateLimitedError';
|
2049
|
+
return _this142;
|
2064
2050
|
}
|
2065
2051
|
return (0, _createClass2.default)(RateLimited_ReauthenticationRateLimitedError);
|
2066
2052
|
}(RateLimitedError);
|
@@ -2068,13 +2054,13 @@ exports.RateLimited_ReauthenticationRateLimitedError = RateLimited_Reauthenticat
|
|
2068
2054
|
errorClasses.RateLimited_ReauthenticationRateLimitedError = RateLimited_ReauthenticationRateLimitedError;
|
2069
2055
|
var RateLimited_TooManyConcurrentRequestsError = /*#__PURE__*/function (_RateLimitedError2) {
|
2070
2056
|
(0, _inherits2.default)(RateLimited_TooManyConcurrentRequestsError, _RateLimitedError2);
|
2071
|
-
var
|
2057
|
+
var _super143 = _createSuper(RateLimited_TooManyConcurrentRequestsError);
|
2072
2058
|
function RateLimited_TooManyConcurrentRequestsError(message, code) {
|
2073
|
-
var
|
2059
|
+
var _this143;
|
2074
2060
|
(0, _classCallCheck2.default)(this, RateLimited_TooManyConcurrentRequestsError);
|
2075
|
-
|
2076
|
-
|
2077
|
-
return
|
2061
|
+
_this143 = _super143.call(this, message, code);
|
2062
|
+
_this143.name = 'RateLimited_TooManyConcurrentRequestsError';
|
2063
|
+
return _this143;
|
2078
2064
|
}
|
2079
2065
|
return (0, _createClass2.default)(RateLimited_TooManyConcurrentRequestsError);
|
2080
2066
|
}(RateLimitedError);
|
@@ -2082,13 +2068,13 @@ exports.RateLimited_TooManyConcurrentRequestsError = RateLimited_TooManyConcurre
|
|
2082
2068
|
errorClasses.RateLimited_TooManyConcurrentRequestsError = RateLimited_TooManyConcurrentRequestsError;
|
2083
2069
|
var RateLimited_TooManyLoginAttemptsError = /*#__PURE__*/function (_RateLimitedError3) {
|
2084
2070
|
(0, _inherits2.default)(RateLimited_TooManyLoginAttemptsError, _RateLimitedError3);
|
2085
|
-
var
|
2071
|
+
var _super144 = _createSuper(RateLimited_TooManyLoginAttemptsError);
|
2086
2072
|
function RateLimited_TooManyLoginAttemptsError(message, code) {
|
2087
|
-
var
|
2073
|
+
var _this144;
|
2088
2074
|
(0, _classCallCheck2.default)(this, RateLimited_TooManyLoginAttemptsError);
|
2089
|
-
|
2090
|
-
|
2091
|
-
return
|
2075
|
+
_this144 = _super144.call(this, message, code);
|
2076
|
+
_this144.name = 'RateLimited_TooManyLoginAttemptsError';
|
2077
|
+
return _this144;
|
2092
2078
|
}
|
2093
2079
|
return (0, _createClass2.default)(RateLimited_TooManyLoginAttemptsError);
|
2094
2080
|
}(RateLimitedError);
|
@@ -2096,13 +2082,13 @@ exports.RateLimited_TooManyLoginAttemptsError = RateLimited_TooManyLoginAttempts
|
|
2096
2082
|
errorClasses.RateLimited_TooManyLoginAttemptsError = RateLimited_TooManyLoginAttemptsError;
|
2097
2083
|
var RateLimited_TooManyRequestsError = /*#__PURE__*/function (_RateLimitedError4) {
|
2098
2084
|
(0, _inherits2.default)(RateLimited_TooManyRequestsError, _RateLimitedError4);
|
2099
|
-
var
|
2085
|
+
var _super145 = _createSuper(RateLimited_TooManyRequestsError);
|
2100
2086
|
function RateLimited_TooManyRequestsError(message, code) {
|
2101
|
-
var
|
2087
|
+
var _this145;
|
2102
2088
|
(0, _classCallCheck2.default)(this, RateLimited_TooManyRequestsError);
|
2103
|
-
|
2104
|
-
|
2105
|
-
return
|
2089
|
+
_this145 = _super145.call(this, message, code);
|
2090
|
+
_this145.name = 'RateLimited_TooManyRequestsError';
|
2091
|
+
return _this145;
|
2106
2092
|
}
|
2107
2093
|
return (0, _createClass2.default)(RateLimited_TooManyRequestsError);
|
2108
2094
|
}(RateLimitedError);
|
@@ -2110,13 +2096,13 @@ exports.RateLimited_TooManyRequestsError = RateLimited_TooManyRequestsError;
|
|
2110
2096
|
errorClasses.RateLimited_TooManyRequestsError = RateLimited_TooManyRequestsError;
|
2111
2097
|
var RateLimited_TooManySharesError = /*#__PURE__*/function (_RateLimitedError5) {
|
2112
2098
|
(0, _inherits2.default)(RateLimited_TooManySharesError, _RateLimitedError5);
|
2113
|
-
var
|
2099
|
+
var _super146 = _createSuper(RateLimited_TooManySharesError);
|
2114
2100
|
function RateLimited_TooManySharesError(message, code) {
|
2115
|
-
var
|
2101
|
+
var _this146;
|
2116
2102
|
(0, _classCallCheck2.default)(this, RateLimited_TooManySharesError);
|
2117
|
-
|
2118
|
-
|
2119
|
-
return
|
2103
|
+
_this146 = _super146.call(this, message, code);
|
2104
|
+
_this146.name = 'RateLimited_TooManySharesError';
|
2105
|
+
return _this146;
|
2120
2106
|
}
|
2121
2107
|
return (0, _createClass2.default)(RateLimited_TooManySharesError);
|
2122
2108
|
}(RateLimitedError);
|
@@ -2124,13 +2110,13 @@ exports.RateLimited_TooManySharesError = RateLimited_TooManySharesError;
|
|
2124
2110
|
errorClasses.RateLimited_TooManySharesError = RateLimited_TooManySharesError;
|
2125
2111
|
var ServiceUnavailable_UploadsUnavailableError = /*#__PURE__*/function (_ServiceUnavailableEr) {
|
2126
2112
|
(0, _inherits2.default)(ServiceUnavailable_UploadsUnavailableError, _ServiceUnavailableEr);
|
2127
|
-
var
|
2113
|
+
var _super147 = _createSuper(ServiceUnavailable_UploadsUnavailableError);
|
2128
2114
|
function ServiceUnavailable_UploadsUnavailableError(message, code) {
|
2129
|
-
var
|
2115
|
+
var _this147;
|
2130
2116
|
(0, _classCallCheck2.default)(this, ServiceUnavailable_UploadsUnavailableError);
|
2131
|
-
|
2132
|
-
|
2133
|
-
return
|
2117
|
+
_this147 = _super147.call(this, message, code);
|
2118
|
+
_this147.name = 'ServiceUnavailable_UploadsUnavailableError';
|
2119
|
+
return _this147;
|
2134
2120
|
}
|
2135
2121
|
return (0, _createClass2.default)(ServiceUnavailable_UploadsUnavailableError);
|
2136
2122
|
}(ServiceUnavailableError);
|
@@ -2138,13 +2124,13 @@ exports.ServiceUnavailable_UploadsUnavailableError = ServiceUnavailable_UploadsU
|
|
2138
2124
|
errorClasses.ServiceUnavailable_UploadsUnavailableError = ServiceUnavailable_UploadsUnavailableError;
|
2139
2125
|
var SiteConfiguration_AccountAlreadyExistsError = /*#__PURE__*/function (_SiteConfigurationErr) {
|
2140
2126
|
(0, _inherits2.default)(SiteConfiguration_AccountAlreadyExistsError, _SiteConfigurationErr);
|
2141
|
-
var
|
2127
|
+
var _super148 = _createSuper(SiteConfiguration_AccountAlreadyExistsError);
|
2142
2128
|
function SiteConfiguration_AccountAlreadyExistsError(message, code) {
|
2143
|
-
var
|
2129
|
+
var _this148;
|
2144
2130
|
(0, _classCallCheck2.default)(this, SiteConfiguration_AccountAlreadyExistsError);
|
2145
|
-
|
2146
|
-
|
2147
|
-
return
|
2131
|
+
_this148 = _super148.call(this, message, code);
|
2132
|
+
_this148.name = 'SiteConfiguration_AccountAlreadyExistsError';
|
2133
|
+
return _this148;
|
2148
2134
|
}
|
2149
2135
|
return (0, _createClass2.default)(SiteConfiguration_AccountAlreadyExistsError);
|
2150
2136
|
}(SiteConfigurationError);
|
@@ -2152,13 +2138,13 @@ exports.SiteConfiguration_AccountAlreadyExistsError = SiteConfiguration_AccountA
|
|
2152
2138
|
errorClasses.SiteConfiguration_AccountAlreadyExistsError = SiteConfiguration_AccountAlreadyExistsError;
|
2153
2139
|
var SiteConfiguration_AccountOverdueError = /*#__PURE__*/function (_SiteConfigurationErr2) {
|
2154
2140
|
(0, _inherits2.default)(SiteConfiguration_AccountOverdueError, _SiteConfigurationErr2);
|
2155
|
-
var
|
2141
|
+
var _super149 = _createSuper(SiteConfiguration_AccountOverdueError);
|
2156
2142
|
function SiteConfiguration_AccountOverdueError(message, code) {
|
2157
|
-
var
|
2143
|
+
var _this149;
|
2158
2144
|
(0, _classCallCheck2.default)(this, SiteConfiguration_AccountOverdueError);
|
2159
|
-
|
2160
|
-
|
2161
|
-
return
|
2145
|
+
_this149 = _super149.call(this, message, code);
|
2146
|
+
_this149.name = 'SiteConfiguration_AccountOverdueError';
|
2147
|
+
return _this149;
|
2162
2148
|
}
|
2163
2149
|
return (0, _createClass2.default)(SiteConfiguration_AccountOverdueError);
|
2164
2150
|
}(SiteConfigurationError);
|
@@ -2166,13 +2152,13 @@ exports.SiteConfiguration_AccountOverdueError = SiteConfiguration_AccountOverdue
|
|
2166
2152
|
errorClasses.SiteConfiguration_AccountOverdueError = SiteConfiguration_AccountOverdueError;
|
2167
2153
|
var SiteConfiguration_NoAccountForSiteError = /*#__PURE__*/function (_SiteConfigurationErr3) {
|
2168
2154
|
(0, _inherits2.default)(SiteConfiguration_NoAccountForSiteError, _SiteConfigurationErr3);
|
2169
|
-
var
|
2155
|
+
var _super150 = _createSuper(SiteConfiguration_NoAccountForSiteError);
|
2170
2156
|
function SiteConfiguration_NoAccountForSiteError(message, code) {
|
2171
|
-
var
|
2157
|
+
var _this150;
|
2172
2158
|
(0, _classCallCheck2.default)(this, SiteConfiguration_NoAccountForSiteError);
|
2173
|
-
|
2174
|
-
|
2175
|
-
return
|
2159
|
+
_this150 = _super150.call(this, message, code);
|
2160
|
+
_this150.name = 'SiteConfiguration_NoAccountForSiteError';
|
2161
|
+
return _this150;
|
2176
2162
|
}
|
2177
2163
|
return (0, _createClass2.default)(SiteConfiguration_NoAccountForSiteError);
|
2178
2164
|
}(SiteConfigurationError);
|
@@ -2180,13 +2166,13 @@ exports.SiteConfiguration_NoAccountForSiteError = SiteConfiguration_NoAccountFor
|
|
2180
2166
|
errorClasses.SiteConfiguration_NoAccountForSiteError = SiteConfiguration_NoAccountForSiteError;
|
2181
2167
|
var SiteConfiguration_SiteWasRemovedError = /*#__PURE__*/function (_SiteConfigurationErr4) {
|
2182
2168
|
(0, _inherits2.default)(SiteConfiguration_SiteWasRemovedError, _SiteConfigurationErr4);
|
2183
|
-
var
|
2169
|
+
var _super151 = _createSuper(SiteConfiguration_SiteWasRemovedError);
|
2184
2170
|
function SiteConfiguration_SiteWasRemovedError(message, code) {
|
2185
|
-
var
|
2171
|
+
var _this151;
|
2186
2172
|
(0, _classCallCheck2.default)(this, SiteConfiguration_SiteWasRemovedError);
|
2187
|
-
|
2188
|
-
|
2189
|
-
return
|
2173
|
+
_this151 = _super151.call(this, message, code);
|
2174
|
+
_this151.name = 'SiteConfiguration_SiteWasRemovedError';
|
2175
|
+
return _this151;
|
2190
2176
|
}
|
2191
2177
|
return (0, _createClass2.default)(SiteConfiguration_SiteWasRemovedError);
|
2192
2178
|
}(SiteConfigurationError);
|
@@ -2194,13 +2180,13 @@ exports.SiteConfiguration_SiteWasRemovedError = SiteConfiguration_SiteWasRemoved
|
|
2194
2180
|
errorClasses.SiteConfiguration_SiteWasRemovedError = SiteConfiguration_SiteWasRemovedError;
|
2195
2181
|
var SiteConfiguration_TrialExpiredError = /*#__PURE__*/function (_SiteConfigurationErr5) {
|
2196
2182
|
(0, _inherits2.default)(SiteConfiguration_TrialExpiredError, _SiteConfigurationErr5);
|
2197
|
-
var
|
2183
|
+
var _super152 = _createSuper(SiteConfiguration_TrialExpiredError);
|
2198
2184
|
function SiteConfiguration_TrialExpiredError(message, code) {
|
2199
|
-
var
|
2185
|
+
var _this152;
|
2200
2186
|
(0, _classCallCheck2.default)(this, SiteConfiguration_TrialExpiredError);
|
2201
|
-
|
2202
|
-
|
2203
|
-
return
|
2187
|
+
_this152 = _super152.call(this, message, code);
|
2188
|
+
_this152.name = 'SiteConfiguration_TrialExpiredError';
|
2189
|
+
return _this152;
|
2204
2190
|
}
|
2205
2191
|
return (0, _createClass2.default)(SiteConfiguration_TrialExpiredError);
|
2206
2192
|
}(SiteConfigurationError);
|
@@ -2208,13 +2194,13 @@ exports.SiteConfiguration_TrialExpiredError = SiteConfiguration_TrialExpiredErro
|
|
2208
2194
|
errorClasses.SiteConfiguration_TrialExpiredError = SiteConfiguration_TrialExpiredError;
|
2209
2195
|
var SiteConfiguration_TrialLockedError = /*#__PURE__*/function (_SiteConfigurationErr6) {
|
2210
2196
|
(0, _inherits2.default)(SiteConfiguration_TrialLockedError, _SiteConfigurationErr6);
|
2211
|
-
var
|
2197
|
+
var _super153 = _createSuper(SiteConfiguration_TrialLockedError);
|
2212
2198
|
function SiteConfiguration_TrialLockedError(message, code) {
|
2213
|
-
var
|
2199
|
+
var _this153;
|
2214
2200
|
(0, _classCallCheck2.default)(this, SiteConfiguration_TrialLockedError);
|
2215
|
-
|
2216
|
-
|
2217
|
-
return
|
2201
|
+
_this153 = _super153.call(this, message, code);
|
2202
|
+
_this153.name = 'SiteConfiguration_TrialLockedError';
|
2203
|
+
return _this153;
|
2218
2204
|
}
|
2219
2205
|
return (0, _createClass2.default)(SiteConfiguration_TrialLockedError);
|
2220
2206
|
}(SiteConfigurationError);
|
@@ -2222,13 +2208,13 @@ exports.SiteConfiguration_TrialLockedError = SiteConfiguration_TrialLockedError;
|
|
2222
2208
|
errorClasses.SiteConfiguration_TrialLockedError = SiteConfiguration_TrialLockedError;
|
2223
2209
|
var SiteConfiguration_UserRequestsEnabledRequiredError = /*#__PURE__*/function (_SiteConfigurationErr7) {
|
2224
2210
|
(0, _inherits2.default)(SiteConfiguration_UserRequestsEnabledRequiredError, _SiteConfigurationErr7);
|
2225
|
-
var
|
2211
|
+
var _super154 = _createSuper(SiteConfiguration_UserRequestsEnabledRequiredError);
|
2226
2212
|
function SiteConfiguration_UserRequestsEnabledRequiredError(message, code) {
|
2227
|
-
var
|
2213
|
+
var _this154;
|
2228
2214
|
(0, _classCallCheck2.default)(this, SiteConfiguration_UserRequestsEnabledRequiredError);
|
2229
|
-
|
2230
|
-
|
2231
|
-
return
|
2215
|
+
_this154 = _super154.call(this, message, code);
|
2216
|
+
_this154.name = 'SiteConfiguration_UserRequestsEnabledRequiredError';
|
2217
|
+
return _this154;
|
2232
2218
|
}
|
2233
2219
|
return (0, _createClass2.default)(SiteConfiguration_UserRequestsEnabledRequiredError);
|
2234
2220
|
}(SiteConfigurationError);
|
package/lib/models/File.js
CHANGED
@@ -220,6 +220,12 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
220
220
|
(0, _defineProperty2.default)(this, "setSubfoldersLocked", function (value) {
|
221
221
|
_this.attributes.subfolders_locked = value;
|
222
222
|
});
|
223
|
+
(0, _defineProperty2.default)(this, "getIsLocked", function () {
|
224
|
+
return _this.attributes.is_locked;
|
225
|
+
});
|
226
|
+
(0, _defineProperty2.default)(this, "setIsLocked", function (value) {
|
227
|
+
_this.attributes.is_locked = value;
|
228
|
+
});
|
223
229
|
(0, _defineProperty2.default)(this, "getDownloadUri", function () {
|
224
230
|
return _this.attributes.download_uri;
|
225
231
|
});
|
package/lib/models/Folder.js
CHANGED
@@ -107,6 +107,12 @@ var Folder = /*#__PURE__*/(0, _createClass2.default)(function Folder() {
|
|
107
107
|
(0, _defineProperty2.default)(this, "setSubfoldersLocked", function (value) {
|
108
108
|
_this.attributes.subfolders_locked = value;
|
109
109
|
});
|
110
|
+
(0, _defineProperty2.default)(this, "getIsLocked", function () {
|
111
|
+
return _this.attributes.is_locked;
|
112
|
+
});
|
113
|
+
(0, _defineProperty2.default)(this, "setIsLocked", function (value) {
|
114
|
+
_this.attributes.is_locked = value;
|
115
|
+
});
|
110
116
|
(0, _defineProperty2.default)(this, "getDownloadUri", function () {
|
111
117
|
return _this.attributes.download_uri;
|
112
118
|
});
|
package/package.json
CHANGED
package/src/Errors.js
CHANGED
@@ -204,7 +204,6 @@ export class ProcessingFailure_InvalidFileTypeError extends ProcessingFailureErr
|
|
204
204
|
export class ProcessingFailure_InvalidFilenameError extends ProcessingFailureError { constructor(message, code) { super(message, code); this.name = 'ProcessingFailure_InvalidFilenameError' } } errorClasses.ProcessingFailure_InvalidFilenameError = ProcessingFailure_InvalidFilenameError
|
205
205
|
export class ProcessingFailure_InvalidRangeError extends ProcessingFailureError { constructor(message, code) { super(message, code); this.name = 'ProcessingFailure_InvalidRangeError' } } errorClasses.ProcessingFailure_InvalidRangeError = ProcessingFailure_InvalidRangeError
|
206
206
|
export class ProcessingFailure_ModelSaveErrorError extends ProcessingFailureError { constructor(message, code) { super(message, code); this.name = 'ProcessingFailure_ModelSaveErrorError' } } errorClasses.ProcessingFailure_ModelSaveErrorError = ProcessingFailure_ModelSaveErrorError
|
207
|
-
export class ProcessingFailure_MultipartUploadsRequiredForRemotesError extends ProcessingFailureError { constructor(message, code) { super(message, code); this.name = 'ProcessingFailure_MultipartUploadsRequiredForRemotesError' } } errorClasses.ProcessingFailure_MultipartUploadsRequiredForRemotesError = ProcessingFailure_MultipartUploadsRequiredForRemotesError
|
208
207
|
export class ProcessingFailure_MultipleProcessingErrorsError extends ProcessingFailureError { constructor(message, code) { super(message, code); this.name = 'ProcessingFailure_MultipleProcessingErrorsError' } } errorClasses.ProcessingFailure_MultipleProcessingErrorsError = ProcessingFailure_MultipleProcessingErrorsError
|
209
208
|
export class ProcessingFailure_PathTooLongError extends ProcessingFailureError { constructor(message, code) { super(message, code); this.name = 'ProcessingFailure_PathTooLongError' } } errorClasses.ProcessingFailure_PathTooLongError = ProcessingFailure_PathTooLongError
|
210
209
|
export class ProcessingFailure_RecipientAlreadySharedError extends ProcessingFailureError { constructor(message, code) { super(message, code); this.name = 'ProcessingFailure_RecipientAlreadySharedError' } } errorClasses.ProcessingFailure_RecipientAlreadySharedError = ProcessingFailure_RecipientAlreadySharedError
|
package/src/models/File.js
CHANGED
@@ -308,6 +308,13 @@ class File {
|
|
308
308
|
this.attributes.subfolders_locked = value
|
309
309
|
}
|
310
310
|
|
311
|
+
// boolean # Is this folder locked and unable to be modified?
|
312
|
+
getIsLocked = () => this.attributes.is_locked
|
313
|
+
|
314
|
+
setIsLocked = value => {
|
315
|
+
this.attributes.is_locked = value
|
316
|
+
}
|
317
|
+
|
311
318
|
// string # Link to download file. Provided only in response to a download request.
|
312
319
|
getDownloadUri = () => this.attributes.download_uri
|
313
320
|
|
package/src/models/Folder.js
CHANGED
@@ -111,6 +111,13 @@ class Folder {
|
|
111
111
|
this.attributes.subfolders_locked = value
|
112
112
|
}
|
113
113
|
|
114
|
+
// boolean # Is this folder locked and unable to be modified?
|
115
|
+
getIsLocked = () => this.attributes.is_locked
|
116
|
+
|
117
|
+
setIsLocked = value => {
|
118
|
+
this.attributes.is_locked = value
|
119
|
+
}
|
120
|
+
|
114
121
|
// string # Link to download file. Provided only in response to a download request.
|
115
122
|
getDownloadUri = () => this.attributes.download_uri
|
116
123
|
|