files.com 1.2.81 → 1.2.82
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 +1 -1
- package/docs/models/SftpActionLog.md +4 -4
- package/lib/Files.js +1 -1
- package/lib/models/SftpActionLog.js +2 -2
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/SftpActionLog.js +2 -2
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.82
|
@@ -19,8 +19,8 @@
|
|
19
19
|
"sftp_response_code": "example",
|
20
20
|
"sftp_response_message": "example",
|
21
21
|
"md5": "example",
|
22
|
-
"size":
|
23
|
-
"data_length":
|
22
|
+
"size": 1,
|
23
|
+
"data_length": 1,
|
24
24
|
"entries_returned": 1,
|
25
25
|
"success": true,
|
26
26
|
"duration_ms": 1
|
@@ -42,8 +42,8 @@
|
|
42
42
|
* `sftp_response_code` (string): SFTP Response Code Returned to the Client.
|
43
43
|
* `sftp_response_message` (string): SFTP Response Message Returned to the Client.
|
44
44
|
* `md5` (string): MD5 Hash of the file. Not always available.
|
45
|
-
* `size` (
|
46
|
-
* `data_length` (
|
45
|
+
* `size` (int64): Size of File That was Uploaded or Downloaded.
|
46
|
+
* `data_length` (int64): Data Length in Bytes. Present for actions that transfer data.
|
47
47
|
* `entries_returned` (int64): Number of entries returned when listing files and folders
|
48
48
|
* `success` (boolean): Whether SFTP Action was successful.
|
49
49
|
* `duration_ms` (int64): Duration (in milliseconds)
|
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.82';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
@@ -93,11 +93,11 @@ var SftpActionLog = /*#__PURE__*/(0, _createClass2.default)(function SftpActionL
|
|
93
93
|
(0, _defineProperty2.default)(this, "getMd5", function () {
|
94
94
|
return _this.attributes.md5;
|
95
95
|
});
|
96
|
-
//
|
96
|
+
// int64 # Size of File That was Uploaded or Downloaded.
|
97
97
|
(0, _defineProperty2.default)(this, "getSize", function () {
|
98
98
|
return _this.attributes.size;
|
99
99
|
});
|
100
|
-
//
|
100
|
+
// int64 # Data Length in Bytes. Present for actions that transfer data.
|
101
101
|
(0, _defineProperty2.default)(this, "getDataLength", function () {
|
102
102
|
return _this.attributes.data_length;
|
103
103
|
});
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
@@ -73,10 +73,10 @@ class SftpActionLog {
|
|
73
73
|
// string # MD5 Hash of the file. Not always available.
|
74
74
|
getMd5 = () => this.attributes.md5
|
75
75
|
|
76
|
-
//
|
76
|
+
// int64 # Size of File That was Uploaded or Downloaded.
|
77
77
|
getSize = () => this.attributes.size
|
78
78
|
|
79
|
-
//
|
79
|
+
// int64 # Data Length in Bytes. Present for actions that transfer data.
|
80
80
|
getDataLength = () => this.attributes.data_length
|
81
81
|
|
82
82
|
// int64 # Number of entries returned when listing files and folders
|