files.com 1.2.100 → 1.2.101
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 -2
- package/docs/models/Action.md +0 -2
- package/docs/models/ApiRequestLog.md +0 -2
- package/docs/models/History.md +0 -2
- package/docs/models/HistoryExportResult.md +0 -2
- package/docs/models/SettingsChange.md +0 -2
- package/docs/models/Site.md +1 -2
- package/lib/Errors.js +522 -546
- package/lib/Files.js +1 -1
- package/lib/models/Action.js +0 -4
- package/lib/models/ApiRequestLog.js +0 -4
- package/lib/models/History.js +0 -4
- package/lib/models/HistoryExportResult.js +0 -4
- package/lib/models/SettingsChange.js +0 -4
- package/package.json +1 -1
- package/src/Errors.js +0 -2
- package/src/Files.js +1 -1
- package/src/models/Action.js +0 -3
- package/src/models/ApiRequestLog.js +0 -3
- package/src/models/History.js +0 -3
- package/src/models/HistoryExportResult.js +0 -3
- package/src/models/SettingsChange.js +0 -3
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.101';
|
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/Action.js
CHANGED
@@ -69,10 +69,6 @@ var Action = /*#__PURE__*/(0, _createClass2.default)(function Action() {
|
|
69
69
|
(0, _defineProperty2.default)(this, "getUsername", function () {
|
70
70
|
return _this.attributes.username;
|
71
71
|
});
|
72
|
-
// boolean # true if this change was performed by a user on a parent site.
|
73
|
-
(0, _defineProperty2.default)(this, "getUserIsFromParentSite", function () {
|
74
|
-
return _this.attributes.user_is_from_parent_site;
|
75
|
-
});
|
76
72
|
// string # Type of action
|
77
73
|
(0, _defineProperty2.default)(this, "getAction", function () {
|
78
74
|
return _this.attributes.action;
|
@@ -53,10 +53,6 @@ var ApiRequestLog = /*#__PURE__*/(0, _createClass2.default)(function ApiRequestL
|
|
53
53
|
(0, _defineProperty2.default)(this, "getUsername", function () {
|
54
54
|
return _this.attributes.username;
|
55
55
|
});
|
56
|
-
// boolean # true if this change was performed by a user on a parent site.
|
57
|
-
(0, _defineProperty2.default)(this, "getUserIsFromParentSite", function () {
|
58
|
-
return _this.attributes.user_is_from_parent_site;
|
59
|
-
});
|
60
56
|
// string # API Interface
|
61
57
|
(0, _defineProperty2.default)(this, "getInterface", function () {
|
62
58
|
return _this.attributes.interface;
|
package/lib/models/History.js
CHANGED
@@ -73,10 +73,6 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
|
|
73
73
|
(0, _defineProperty2.default)(this, "getUsername", function () {
|
74
74
|
return _this.attributes.username;
|
75
75
|
});
|
76
|
-
// boolean # true if this change was performed by a user on a parent site.
|
77
|
-
(0, _defineProperty2.default)(this, "getUserIsFromParentSite", function () {
|
78
|
-
return _this.attributes.user_is_from_parent_site;
|
79
|
-
});
|
80
76
|
// string # Type of action
|
81
77
|
(0, _defineProperty2.default)(this, "getAction", function () {
|
82
78
|
return _this.attributes.action;
|
@@ -81,10 +81,6 @@ var HistoryExportResult = /*#__PURE__*/(0, _createClass2.default)(function Histo
|
|
81
81
|
(0, _defineProperty2.default)(this, "getUsername", function () {
|
82
82
|
return _this.attributes.username;
|
83
83
|
});
|
84
|
-
// boolean # true if this change was performed by a user on a parent site.
|
85
|
-
(0, _defineProperty2.default)(this, "getUserIsFromParentSite", function () {
|
86
|
-
return _this.attributes.user_is_from_parent_site;
|
87
|
-
});
|
88
84
|
// string # What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
89
85
|
(0, _defineProperty2.default)(this, "getAction", function () {
|
90
86
|
return _this.attributes.action;
|
@@ -53,10 +53,6 @@ var SettingsChange = /*#__PURE__*/(0, _createClass2.default)(function SettingsCh
|
|
53
53
|
(0, _defineProperty2.default)(this, "getUserIsFilesSupport", function () {
|
54
54
|
return _this.attributes.user_is_files_support;
|
55
55
|
});
|
56
|
-
// boolean # true if this change was performed by a user on a parent site.
|
57
|
-
(0, _defineProperty2.default)(this, "getUserIsFromParentSite", function () {
|
58
|
-
return _this.attributes.user_is_from_parent_site;
|
59
|
-
});
|
60
56
|
// string # The username of the user responsible for this change
|
61
57
|
(0, _defineProperty2.default)(this, "getUsername", function () {
|
62
58
|
return _this.attributes.username;
|
package/package.json
CHANGED
package/src/Errors.js
CHANGED
@@ -145,7 +145,6 @@ export class NotAuthenticated_InboxRegistrationCodeFailedError extends NotAuthen
|
|
145
145
|
export class NotAuthenticated_InvalidCredentialsError extends NotAuthenticatedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthenticated_InvalidCredentialsError' } } errorClasses.NotAuthenticated_InvalidCredentialsError = NotAuthenticated_InvalidCredentialsError
|
146
146
|
export class NotAuthenticated_InvalidOauthError extends NotAuthenticatedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthenticated_InvalidOauthError' } } errorClasses.NotAuthenticated_InvalidOauthError = NotAuthenticated_InvalidOauthError
|
147
147
|
export class NotAuthenticated_InvalidOrExpiredCodeError extends NotAuthenticatedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthenticated_InvalidOrExpiredCodeError' } } errorClasses.NotAuthenticated_InvalidOrExpiredCodeError = NotAuthenticated_InvalidOrExpiredCodeError
|
148
|
-
export class NotAuthenticated_InvalidSessionError extends NotAuthenticatedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthenticated_InvalidSessionError' } } errorClasses.NotAuthenticated_InvalidSessionError = NotAuthenticated_InvalidSessionError
|
149
148
|
export class NotAuthenticated_InvalidUsernameOrPasswordError extends NotAuthenticatedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthenticated_InvalidUsernameOrPasswordError' } } errorClasses.NotAuthenticated_InvalidUsernameOrPasswordError = NotAuthenticated_InvalidUsernameOrPasswordError
|
150
149
|
export class NotAuthenticated_LockedOutError extends NotAuthenticatedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthenticated_LockedOutError' } } errorClasses.NotAuthenticated_LockedOutError = NotAuthenticated_LockedOutError
|
151
150
|
export class NotAuthenticated_LockoutRegionMismatchError extends NotAuthenticatedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthenticated_LockoutRegionMismatchError' } } errorClasses.NotAuthenticated_LockoutRegionMismatchError = NotAuthenticated_LockoutRegionMismatchError
|
@@ -168,7 +167,6 @@ export class NotAuthorized_FolderAdminPermissionRequiredError extends NotAuthori
|
|
168
167
|
export class NotAuthorized_FullPermissionRequiredError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_FullPermissionRequiredError' } } errorClasses.NotAuthorized_FullPermissionRequiredError = NotAuthorized_FullPermissionRequiredError
|
169
168
|
export class NotAuthorized_HistoryPermissionRequiredError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_HistoryPermissionRequiredError' } } errorClasses.NotAuthorized_HistoryPermissionRequiredError = NotAuthorized_HistoryPermissionRequiredError
|
170
169
|
export class NotAuthorized_InsufficientPermissionForParamsError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_InsufficientPermissionForParamsError' } } errorClasses.NotAuthorized_InsufficientPermissionForParamsError = NotAuthorized_InsufficientPermissionForParamsError
|
171
|
-
export class NotAuthorized_InsufficientPermissionForSiteError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_InsufficientPermissionForSiteError' } } errorClasses.NotAuthorized_InsufficientPermissionForSiteError = NotAuthorized_InsufficientPermissionForSiteError
|
172
170
|
export class NotAuthorized_MustAuthenticateWithApiKeyError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_MustAuthenticateWithApiKeyError' } } errorClasses.NotAuthorized_MustAuthenticateWithApiKeyError = NotAuthorized_MustAuthenticateWithApiKeyError
|
173
171
|
export class NotAuthorized_NeedAdminPermissionForInboxError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_NeedAdminPermissionForInboxError' } } errorClasses.NotAuthorized_NeedAdminPermissionForInboxError = NotAuthorized_NeedAdminPermissionForInboxError
|
174
172
|
export class NotAuthorized_NonAdminsMustQueryByFolderOrPathError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_NonAdminsMustQueryByFolderOrPathError' } } errorClasses.NotAuthorized_NonAdminsMustQueryByFolderOrPathError = NotAuthorized_NonAdminsMustQueryByFolderOrPathError
|
package/src/Files.js
CHANGED
package/src/models/Action.js
CHANGED
@@ -58,9 +58,6 @@ class Action {
|
|
58
58
|
// string # Username
|
59
59
|
getUsername = () => this.attributes.username
|
60
60
|
|
61
|
-
// boolean # true if this change was performed by a user on a parent site.
|
62
|
-
getUserIsFromParentSite = () => this.attributes.user_is_from_parent_site
|
63
|
-
|
64
61
|
// string # Type of action
|
65
62
|
getAction = () => this.attributes.action
|
66
63
|
|
@@ -43,9 +43,6 @@ class ApiRequestLog {
|
|
43
43
|
// string # Username
|
44
44
|
getUsername = () => this.attributes.username
|
45
45
|
|
46
|
-
// boolean # true if this change was performed by a user on a parent site.
|
47
|
-
getUserIsFromParentSite = () => this.attributes.user_is_from_parent_site
|
48
|
-
|
49
46
|
// string # API Interface
|
50
47
|
getInterface = () => this.attributes.interface
|
51
48
|
|
package/src/models/History.js
CHANGED
@@ -58,9 +58,6 @@ class History {
|
|
58
58
|
// string # Username
|
59
59
|
getUsername = () => this.attributes.username
|
60
60
|
|
61
|
-
// boolean # true if this change was performed by a user on a parent site.
|
62
|
-
getUserIsFromParentSite = () => this.attributes.user_is_from_parent_site
|
63
|
-
|
64
61
|
// string # Type of action
|
65
62
|
getAction = () => this.attributes.action
|
66
63
|
|
@@ -64,9 +64,6 @@ class HistoryExportResult {
|
|
64
64
|
// string # Username of the user that performed the action
|
65
65
|
getUsername = () => this.attributes.username
|
66
66
|
|
67
|
-
// boolean # true if this change was performed by a user on a parent site.
|
68
|
-
getUserIsFromParentSite = () => this.attributes.user_is_from_parent_site
|
69
|
-
|
70
67
|
// string # What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
71
68
|
getAction = () => this.attributes.action
|
72
69
|
|
@@ -43,9 +43,6 @@ class SettingsChange {
|
|
43
43
|
// boolean # true if this change was performed by Files.com support.
|
44
44
|
getUserIsFilesSupport = () => this.attributes.user_is_files_support
|
45
45
|
|
46
|
-
// boolean # true if this change was performed by a user on a parent site.
|
47
|
-
getUserIsFromParentSite = () => this.attributes.user_is_from_parent_site
|
48
|
-
|
49
46
|
// string # The username of the user responsible for this change
|
50
47
|
getUsername = () => this.attributes.username
|
51
48
|
|