files.com 1.2.69 → 1.2.71
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 -1
- package/docs/models/AutomationRun.md +0 -2
- package/docs/models/HistoryExport.md +8 -8
- package/lib/Errors.js +532 -532
- package/lib/Files.js +1 -1
- package/lib/models/AutomationRun.js +0 -4
- package/lib/models/HistoryExport.js +8 -8
- package/package.json +1 -1
- package/src/Errors.js +1 -1
- package/src/Files.js +1 -1
- package/src/models/AutomationRun.js +0 -3
- package/src/models/HistoryExport.js +8 -8
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.71';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
@@ -57,10 +57,6 @@ var AutomationRun = /*#__PURE__*/(0, _createClass2.default)(function AutomationR
|
|
57
57
|
(0, _defineProperty2.default)(this, "getStatus", function () {
|
58
58
|
return _this.attributes.status;
|
59
59
|
});
|
60
|
-
// string # The stage currently being executed in the execution environment. One of `queued_for_planning`, `planning`, `queued_for_execution`, `executing`, or `finished`.
|
61
|
-
(0, _defineProperty2.default)(this, "getRunStage", function () {
|
62
|
-
return _this.attributes.run_stage;
|
63
|
-
});
|
64
60
|
// int64 # Count of successful operations.
|
65
61
|
(0, _defineProperty2.default)(this, "getSuccessfulOperations", function () {
|
66
62
|
return _this.attributes.successful_operations;
|
@@ -103,28 +103,28 @@ var HistoryExport = /*#__PURE__*/(0, _createClass2.default)(function HistoryExpo
|
|
103
103
|
(0, _defineProperty2.default)(this, "setQueryParentId", function (value) {
|
104
104
|
_this.attributes.query_parent_id = value;
|
105
105
|
});
|
106
|
-
// string # Return results that are file actions related to this
|
106
|
+
// string # Return results that are file actions related to paths matching this pattern.
|
107
107
|
(0, _defineProperty2.default)(this, "getQueryPath", function () {
|
108
108
|
return _this.attributes.query_path;
|
109
109
|
});
|
110
110
|
(0, _defineProperty2.default)(this, "setQueryPath", function (value) {
|
111
111
|
_this.attributes.query_path = value;
|
112
112
|
});
|
113
|
-
// string # Return results that are file actions related to files or folders inside this
|
113
|
+
// string # Return results that are file actions related to files or folders inside folder paths matching this pattern.
|
114
114
|
(0, _defineProperty2.default)(this, "getQueryFolder", function () {
|
115
115
|
return _this.attributes.query_folder;
|
116
116
|
});
|
117
117
|
(0, _defineProperty2.default)(this, "setQueryFolder", function (value) {
|
118
118
|
_this.attributes.query_folder = value;
|
119
119
|
});
|
120
|
-
// string # Return results that are file moves originating from this
|
120
|
+
// string # Return results that are file moves originating from paths matching this pattern.
|
121
121
|
(0, _defineProperty2.default)(this, "getQuerySrc", function () {
|
122
122
|
return _this.attributes.query_src;
|
123
123
|
});
|
124
124
|
(0, _defineProperty2.default)(this, "setQuerySrc", function (value) {
|
125
125
|
_this.attributes.query_src = value;
|
126
126
|
});
|
127
|
-
// string # Return results that are file moves with this
|
127
|
+
// string # Return results that are file moves with paths matching this pattern as destination.
|
128
128
|
(0, _defineProperty2.default)(this, "getQueryDestination", function () {
|
129
129
|
return _this.attributes.query_destination;
|
130
130
|
});
|
@@ -313,10 +313,10 @@ _HistoryExport = HistoryExport;
|
|
313
313
|
// query_user_id - string - Return results that are actions performed by the user indiciated by this User ID
|
314
314
|
// query_file_id - string - Return results that are file actions related to the file indicated by this File ID
|
315
315
|
// query_parent_id - string - Return results that are file actions inside the parent folder specified by this folder ID
|
316
|
-
// query_path - string - Return results that are file actions related to this
|
317
|
-
// query_folder - string - Return results that are file actions related to files or folders inside this
|
318
|
-
// query_src - string - Return results that are file moves originating from this
|
319
|
-
// query_destination - string - Return results that are file moves with this
|
316
|
+
// query_path - string - Return results that are file actions related to paths matching this pattern.
|
317
|
+
// query_folder - string - Return results that are file actions related to files or folders inside folder paths matching this pattern.
|
318
|
+
// query_src - string - Return results that are file moves originating from paths matching this pattern.
|
319
|
+
// query_destination - string - Return results that are file moves with paths matching this pattern as destination.
|
320
320
|
// query_ip - string - Filter results by this IP address.
|
321
321
|
// query_username - string - Filter results by this username.
|
322
322
|
// query_failure_type - string - If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
|
package/package.json
CHANGED
package/src/Errors.js
CHANGED
@@ -124,7 +124,6 @@ export class BadRequest_InvalidUploadPartGapError extends BadRequestError { cons
|
|
124
124
|
export class BadRequest_InvalidUploadPartSizeError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_InvalidUploadPartSizeError' } } errorClasses.BadRequest_InvalidUploadPartSizeError = BadRequest_InvalidUploadPartSizeError
|
125
125
|
export class BadRequest_MethodNotAllowedError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_MethodNotAllowedError' } } errorClasses.BadRequest_MethodNotAllowedError = BadRequest_MethodNotAllowedError
|
126
126
|
export class BadRequest_NoValidInputParamsError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_NoValidInputParamsError' } } errorClasses.BadRequest_NoValidInputParamsError = BadRequest_NoValidInputParamsError
|
127
|
-
export class BadRequest_OperationOnNonScimResourceError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_OperationOnNonScimResourceError' } } errorClasses.BadRequest_OperationOnNonScimResourceError = BadRequest_OperationOnNonScimResourceError
|
128
127
|
export class BadRequest_PartNumberTooLargeError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_PartNumberTooLargeError' } } errorClasses.BadRequest_PartNumberTooLargeError = BadRequest_PartNumberTooLargeError
|
129
128
|
export class BadRequest_PathCannotHaveTrailingWhitespaceError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_PathCannotHaveTrailingWhitespaceError' } } errorClasses.BadRequest_PathCannotHaveTrailingWhitespaceError = BadRequest_PathCannotHaveTrailingWhitespaceError
|
130
129
|
export class BadRequest_ReauthenticationNeededFieldsError extends BadRequestError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'BadRequest_ReauthenticationNeededFieldsError' } } errorClasses.BadRequest_ReauthenticationNeededFieldsError = BadRequest_ReauthenticationNeededFieldsError
|
@@ -246,6 +245,7 @@ export class ProcessingFailure_TwoFactorAuthenticationUnsubscribedRecipientError
|
|
246
245
|
export class ProcessingFailure_UpdatesNotAllowedForRemotesError extends ProcessingFailureError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'ProcessingFailure_UpdatesNotAllowedForRemotesError' } } errorClasses.ProcessingFailure_UpdatesNotAllowedForRemotesError = ProcessingFailure_UpdatesNotAllowedForRemotesError
|
247
246
|
export class RateLimited_DuplicateShareRecipientError extends RateLimitedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'RateLimited_DuplicateShareRecipientError' } } errorClasses.RateLimited_DuplicateShareRecipientError = RateLimited_DuplicateShareRecipientError
|
248
247
|
export class RateLimited_ReauthenticationRateLimitedError extends RateLimitedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'RateLimited_ReauthenticationRateLimitedError' } } errorClasses.RateLimited_ReauthenticationRateLimitedError = RateLimited_ReauthenticationRateLimitedError
|
248
|
+
export class RateLimited_TooManyConcurrentLoginsError extends RateLimitedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'RateLimited_TooManyConcurrentLoginsError' } } errorClasses.RateLimited_TooManyConcurrentLoginsError = RateLimited_TooManyConcurrentLoginsError
|
249
249
|
export class RateLimited_TooManyConcurrentRequestsError extends RateLimitedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'RateLimited_TooManyConcurrentRequestsError' } } errorClasses.RateLimited_TooManyConcurrentRequestsError = RateLimited_TooManyConcurrentRequestsError
|
250
250
|
export class RateLimited_TooManyLoginAttemptsError extends RateLimitedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'RateLimited_TooManyLoginAttemptsError' } } errorClasses.RateLimited_TooManyLoginAttemptsError = RateLimited_TooManyLoginAttemptsError
|
251
251
|
export class RateLimited_TooManyRequestsError extends RateLimitedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'RateLimited_TooManyRequestsError' } } errorClasses.RateLimited_TooManyRequestsError = RateLimited_TooManyRequestsError
|
package/src/Files.js
CHANGED
@@ -46,9 +46,6 @@ class AutomationRun {
|
|
46
46
|
// string # The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
|
47
47
|
getStatus = () => this.attributes.status
|
48
48
|
|
49
|
-
// string # The stage currently being executed in the execution environment. One of `queued_for_planning`, `planning`, `queued_for_execution`, `executing`, or `finished`.
|
50
|
-
getRunStage = () => this.attributes.run_stage
|
51
|
-
|
52
49
|
// int64 # Count of successful operations.
|
53
50
|
getSuccessfulOperations = () => this.attributes.successful_operations
|
54
51
|
|
@@ -98,28 +98,28 @@ class HistoryExport {
|
|
98
98
|
this.attributes.query_parent_id = value
|
99
99
|
}
|
100
100
|
|
101
|
-
// string # Return results that are file actions related to this
|
101
|
+
// string # Return results that are file actions related to paths matching this pattern.
|
102
102
|
getQueryPath = () => this.attributes.query_path
|
103
103
|
|
104
104
|
setQueryPath = value => {
|
105
105
|
this.attributes.query_path = value
|
106
106
|
}
|
107
107
|
|
108
|
-
// string # Return results that are file actions related to files or folders inside this
|
108
|
+
// string # Return results that are file actions related to files or folders inside folder paths matching this pattern.
|
109
109
|
getQueryFolder = () => this.attributes.query_folder
|
110
110
|
|
111
111
|
setQueryFolder = value => {
|
112
112
|
this.attributes.query_folder = value
|
113
113
|
}
|
114
114
|
|
115
|
-
// string # Return results that are file moves originating from this
|
115
|
+
// string # Return results that are file moves originating from paths matching this pattern.
|
116
116
|
getQuerySrc = () => this.attributes.query_src
|
117
117
|
|
118
118
|
setQuerySrc = value => {
|
119
119
|
this.attributes.query_src = value
|
120
120
|
}
|
121
121
|
|
122
|
-
// string # Return results that are file moves with this
|
122
|
+
// string # Return results that are file moves with paths matching this pattern as destination.
|
123
123
|
getQueryDestination = () => this.attributes.query_destination
|
124
124
|
|
125
125
|
setQueryDestination = value => {
|
@@ -254,10 +254,10 @@ class HistoryExport {
|
|
254
254
|
// query_user_id - string - Return results that are actions performed by the user indiciated by this User ID
|
255
255
|
// query_file_id - string - Return results that are file actions related to the file indicated by this File ID
|
256
256
|
// query_parent_id - string - Return results that are file actions inside the parent folder specified by this folder ID
|
257
|
-
// query_path - string - Return results that are file actions related to this
|
258
|
-
// query_folder - string - Return results that are file actions related to files or folders inside this
|
259
|
-
// query_src - string - Return results that are file moves originating from this
|
260
|
-
// query_destination - string - Return results that are file moves with this
|
257
|
+
// query_path - string - Return results that are file actions related to paths matching this pattern.
|
258
|
+
// query_folder - string - Return results that are file actions related to files or folders inside folder paths matching this pattern.
|
259
|
+
// query_src - string - Return results that are file moves originating from paths matching this pattern.
|
260
|
+
// query_destination - string - Return results that are file moves with paths matching this pattern as destination.
|
261
261
|
// query_ip - string - Filter results by this IP address.
|
262
262
|
// query_username - string - Filter results by this username.
|
263
263
|
// query_failure_type - string - If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
|