files.com 1.2.267 → 1.2.269

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/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.267
1
+ 1.2.269
@@ -19,8 +19,7 @@
19
19
  "errored_files": 1,
20
20
  "successful_files": 1,
21
21
  "runtime": 1.0,
22
- "s3_body_path": "example",
23
- "s3_internal_body_path": "example",
22
+ "log_url": "https://www.example.com/log_file.txt",
24
23
  "completed_at": "2000-01-01T01:00:00Z",
25
24
  "notified": true,
26
25
  "created_at": "2000-01-01T01:00:00Z",
@@ -41,8 +40,7 @@
41
40
  * `errored_files` (int64): Number of files that errored
42
41
  * `successful_files` (int64): Number of files successfully synced
43
42
  * `runtime` (double): Total runtime in seconds
44
- * `s3_body_path` (string): S3 path to the main log file
45
- * `s3_internal_body_path` (string): S3 path to the internal log file
43
+ * `log_url` (string): Link to external log file.
46
44
  * `completed_at` (date-time): When this run was completed
47
45
  * `notified` (boolean): Whether notifications were sent for this run
48
46
  * `created_at` (date-time): When this run was created
@@ -71,8 +71,7 @@
71
71
  "user_root": "example",
72
72
  "user_home": "example",
73
73
  "days_remaining_until_password_expire": 1,
74
- "password_expire_at": "2000-01-01T01:00:00Z",
75
- "has_reassignable_associations": true
74
+ "password_expire_at": "2000-01-01T01:00:00Z"
76
75
  }
77
76
  ```
78
77
 
@@ -142,7 +141,6 @@
142
141
  * `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
143
142
  * `days_remaining_until_password_expire` (int64): Number of days remaining until password expires
144
143
  * `password_expire_at` (date-time): Password expiration datetime
145
- * `has_reassignable_associations` (boolean): Does this user have any associations that can be reassigned on delete?
146
144
  * `avatar_file` (file): An image file for your user avatar.
147
145
  * `avatar_delete` (boolean): If true, the avatar will be deleted.
148
146
  * `change_password` (string): Used for changing a password on an existing user.
@@ -511,8 +509,7 @@ await user.update({
511
509
  "user_root": "example",
512
510
  "user_home": "example",
513
511
  "days_remaining_until_password_expire": 1,
514
- "password_expire_at": "2000-01-01T01:00:00Z",
515
- "has_reassignable_associations": true
512
+ "password_expire_at": "2000-01-01T01:00:00Z"
516
513
  }
517
514
  ```
518
515
 
package/lib/Files.js CHANGED
@@ -12,7 +12,7 @@ var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
14
  var language = null;
15
- var version = '1.2.267';
15
+ var version = '1.2.269';
16
16
  var userAgent = "Files.com JavaScript SDK v".concat(version);
17
17
  var logLevel = _Logger.LogLevel.INFO;
18
18
  var debugRequest = false;
@@ -84,13 +84,9 @@ var SyncRun = /*#__PURE__*/(0, _createClass2.default)(function SyncRun() {
84
84
  (0, _defineProperty2.default)(this, "getRuntime", function () {
85
85
  return _this.attributes.runtime;
86
86
  });
87
- // string # S3 path to the main log file
88
- (0, _defineProperty2.default)(this, "getS3BodyPath", function () {
89
- return _this.attributes.s3_body_path;
90
- });
91
- // string # S3 path to the internal log file
92
- (0, _defineProperty2.default)(this, "getS3InternalBodyPath", function () {
93
- return _this.attributes.s3_internal_body_path;
87
+ // string # Link to external log file.
88
+ (0, _defineProperty2.default)(this, "getLogUrl", function () {
89
+ return _this.attributes.log_url;
94
90
  });
95
91
  // date-time # When this run was completed
96
92
  (0, _defineProperty2.default)(this, "getCompletedAt", function () {
@@ -491,13 +491,6 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
491
491
  (0, _defineProperty2.default)(this, "setPasswordExpireAt", function (value) {
492
492
  _this.attributes.password_expire_at = value;
493
493
  });
494
- // boolean # Does this user have any associations that can be reassigned on delete?
495
- (0, _defineProperty2.default)(this, "getHasReassignableAssociations", function () {
496
- return _this.attributes.has_reassignable_associations;
497
- });
498
- (0, _defineProperty2.default)(this, "setHasReassignableAssociations", function (value) {
499
- _this.attributes.has_reassignable_associations = value;
500
- });
501
494
  // file # An image file for your user avatar.
502
495
  (0, _defineProperty2.default)(this, "getAvatarFile", function () {
503
496
  return _this.attributes.avatar_file;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.267",
3
+ "version": "1.2.269",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -6,7 +6,7 @@ let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
8
  let language = null
9
- const version = '1.2.267'
9
+ const version = '1.2.269'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO
@@ -67,11 +67,8 @@ class SyncRun {
67
67
  // double # Total runtime in seconds
68
68
  getRuntime = () => this.attributes.runtime
69
69
 
70
- // string # S3 path to the main log file
71
- getS3BodyPath = () => this.attributes.s3_body_path
72
-
73
- // string # S3 path to the internal log file
74
- getS3InternalBodyPath = () => this.attributes.s3_internal_body_path
70
+ // string # Link to external log file.
71
+ getLogUrl = () => this.attributes.log_url
75
72
 
76
73
  // date-time # When this run was completed
77
74
  getCompletedAt = () => this.attributes.completed_at
@@ -486,13 +486,6 @@ class User {
486
486
  this.attributes.password_expire_at = value
487
487
  }
488
488
 
489
- // boolean # Does this user have any associations that can be reassigned on delete?
490
- getHasReassignableAssociations = () => this.attributes.has_reassignable_associations
491
-
492
- setHasReassignableAssociations = value => {
493
- this.attributes.has_reassignable_associations = value
494
- }
495
-
496
489
  // file # An image file for your user avatar.
497
490
  getAvatarFile = () => this.attributes.avatar_file
498
491