files.com 1.2.70 → 1.2.72

Sign up to get free protection for your applications and to get access to all the features.
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.70';
14
+ var version = '1.2.72';
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;
@@ -57,6 +57,10 @@ var FtpActionLog = /*#__PURE__*/(0, _createClass2.default)(function FtpActionLog
57
57
  (0, _defineProperty2.default)(this, "getSeqId", function () {
58
58
  return _this.attributes.seq_id;
59
59
  });
60
+ // string # Authentication Ciphers
61
+ (0, _defineProperty2.default)(this, "getAuthCiphers", function () {
62
+ return _this.attributes.auth_ciphers;
63
+ });
60
64
  // string # Action Type
61
65
  (0, _defineProperty2.default)(this, "getActionType", function () {
62
66
  return _this.attributes.action_type;
@@ -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 path.
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 folder path.
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 path.
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 path as destination.
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 path.
317
- // query_folder - string - Return results that are file actions related to files or folders inside this folder path.
318
- // query_src - string - Return results that are file moves originating from this path.
319
- // query_destination - string - Return results that are file moves with this path as destination.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.70",
3
+ "version": "1.2.72",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
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
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.70'
8
+ const version = '1.2.72'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -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
 
@@ -46,6 +46,9 @@ class FtpActionLog {
46
46
  // int64 # FTP Sequence ID
47
47
  getSeqId = () => this.attributes.seq_id
48
48
 
49
+ // string # Authentication Ciphers
50
+ getAuthCiphers = () => this.attributes.auth_ciphers
51
+
49
52
  // string # Action Type
50
53
  getActionType = () => this.attributes.action_type
51
54
 
@@ -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 path.
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 folder path.
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 path.
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 path as destination.
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 path.
258
- // query_folder - string - Return results that are file actions related to files or folders inside this folder path.
259
- // query_src - string - Return results that are file moves originating from this path.
260
- // query_destination - string - Return results that are file moves with this path as destination.
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`