files.com 1.2.166 → 1.2.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.166';
14
+ var version = '1.2.168';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -57,7 +57,7 @@ var Action = /*#__PURE__*/(0, _createClass2.default)(function Action() {
57
57
  (0, _defineProperty2.default)(this, "getSource", function () {
58
58
  return _this.attributes.source;
59
59
  });
60
- // array(object) # Targets
60
+ // object # Targets
61
61
  (0, _defineProperty2.default)(this, "getTargets", function () {
62
62
  return _this.attributes.targets;
63
63
  });
@@ -61,7 +61,7 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
61
61
  (0, _defineProperty2.default)(this, "getSource", function () {
62
62
  return _this.attributes.source;
63
63
  });
64
- // array(object) # Targets
64
+ // object # Targets
65
65
  (0, _defineProperty2.default)(this, "getTargets", function () {
66
66
  return _this.attributes.targets;
67
67
  });
@@ -533,10 +533,6 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
533
533
  (0, _defineProperty2.default)(this, "getSession", function () {
534
534
  return _this.attributes.session;
535
535
  });
536
- // boolean # Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
537
- (0, _defineProperty2.default)(this, "getSessionPinnedByIp", function () {
538
- return _this.attributes.session_pinned_by_ip;
539
- });
540
536
  // boolean # Is SFTP enabled?
541
537
  (0, _defineProperty2.default)(this, "getSftpEnabled", function () {
542
538
  return _this.attributes.sftp_enabled;
@@ -834,7 +830,6 @@ _Site = Site;
834
830
  // sftp_user_root_enabled - boolean - Use user FTP roots also for SFTP?
835
831
  // disable_password_reset - boolean - Is password reset disabled?
836
832
  // immutable_files - boolean - Are files protected from modification?
837
- // session_pinned_by_ip - boolean - Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
838
833
  // bundle_not_found_message - string - Custom error message to show when bundle is not found.
839
834
  // bundle_password_required - boolean - Do Bundles require password protection?
840
835
  // bundle_require_registration - boolean - Do Bundles require registration?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.166",
3
+ "version": "1.2.168",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Errors.js CHANGED
@@ -190,7 +190,6 @@ export class NotAuthorized_TwoFactorAuthenticationRequiredError extends NotAutho
190
190
  export class NotAuthorized_UserIdWithoutSiteAdminError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_UserIdWithoutSiteAdminError' } } errorClasses.NotAuthorized_UserIdWithoutSiteAdminError = NotAuthorized_UserIdWithoutSiteAdminError
191
191
  export class NotAuthorized_WriteAndBundlePermissionRequiredError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_WriteAndBundlePermissionRequiredError' } } errorClasses.NotAuthorized_WriteAndBundlePermissionRequiredError = NotAuthorized_WriteAndBundlePermissionRequiredError
192
192
  export class NotAuthorized_WritePermissionRequiredError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_WritePermissionRequiredError' } } errorClasses.NotAuthorized_WritePermissionRequiredError = NotAuthorized_WritePermissionRequiredError
193
- export class NotAuthorized_ZipDownloadIpMismatchError extends NotAuthorizedError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotAuthorized_ZipDownloadIpMismatchError' } } errorClasses.NotAuthorized_ZipDownloadIpMismatchError = NotAuthorized_ZipDownloadIpMismatchError
194
193
  export class NotFound_ApiKeyNotFoundError extends NotFoundError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotFound_ApiKeyNotFoundError' } } errorClasses.NotFound_ApiKeyNotFoundError = NotFound_ApiKeyNotFoundError
195
194
  export class NotFound_BundlePathNotFoundError extends NotFoundError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotFound_BundlePathNotFoundError' } } errorClasses.NotFound_BundlePathNotFoundError = NotFound_BundlePathNotFoundError
196
195
  export class NotFound_BundleRegistrationNotFoundError extends NotFoundError { constructor(message, code, errorData) { super(message, code, errorData); this.name = 'NotFound_BundleRegistrationNotFoundError' } } errorClasses.NotFound_BundleRegistrationNotFoundError = NotFound_BundleRegistrationNotFoundError
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.166'
8
+ const version = '1.2.168'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -49,7 +49,7 @@ class Action {
49
49
  // string # The source path for this action, if applicable
50
50
  getSource = () => this.attributes.source
51
51
 
52
- // array(object) # Targets
52
+ // object # Targets
53
53
  getTargets = () => this.attributes.targets
54
54
 
55
55
  // int64 # User ID
@@ -49,7 +49,7 @@ class History {
49
49
  // string # The source path for this action, if applicable
50
50
  getSource = () => this.attributes.source
51
51
 
52
- // array(object) # Targets
52
+ // object # Targets
53
53
  getTargets = () => this.attributes.targets
54
54
 
55
55
  // int64 # User ID
@@ -403,9 +403,6 @@ class Site {
403
403
  // Session # Current session
404
404
  getSession = () => this.attributes.session
405
405
 
406
- // boolean # Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
407
- getSessionPinnedByIp = () => this.attributes.session_pinned_by_ip
408
-
409
406
  // boolean # Is SFTP enabled?
410
407
  getSftpEnabled = () => this.attributes.sftp_enabled
411
408
 
@@ -619,7 +616,6 @@ class Site {
619
616
  // sftp_user_root_enabled - boolean - Use user FTP roots also for SFTP?
620
617
  // disable_password_reset - boolean - Is password reset disabled?
621
618
  // immutable_files - boolean - Are files protected from modification?
622
- // session_pinned_by_ip - boolean - Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
623
619
  // bundle_not_found_message - string - Custom error message to show when bundle is not found.
624
620
  // bundle_password_required - boolean - Do Bundles require password protection?
625
621
  // bundle_require_registration - boolean - Do Bundles require registration?