Skip to content

Commit 4be9a91

Browse files
[Bot] push changes from Files.com
1 parent 18a9984 commit 4be9a91

7 files changed

Lines changed: 13 additions & 4 deletions

File tree

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.608
1+
1.2.609

docs/models/FileMigration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"id": 1,
88
"path": "MyFolder",
99
"dest_path": "MyFolder",
10+
"failure_message": "example",
1011
"files_moved": 1,
1112
"files_total": 1,
1213
"operation": "move",
@@ -19,6 +20,7 @@
1920
* `id` (int64): File migration ID
2021
* `path` (string): Source path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
2122
* `dest_path` (string): Destination path
23+
* `failure_message` (string): Reason for the failure, if applicable.
2224
* `files_moved` (int64): Number of files processed
2325
* `files_total` (int64):
2426
* `operation` (string): The type of operation

lib/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var apiKey;
1212
var baseUrl = 'https://app.files.com';
1313
var sessionId = null;
1414
var language = null;
15-
var version = '1.2.608';
15+
var version = '1.2.609';
1616
var userAgent = "Files.com JavaScript SDK v".concat(version);
1717
var logLevel = _Logger.LogLevel.INFO;
1818
var debugRequest = false;

lib/models/FileMigration.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ var FileMigration = /*#__PURE__*/(0, _createClass2.default)(function FileMigrati
4444
(0, _defineProperty2.default)(this, "getDestPath", function () {
4545
return _this.attributes.dest_path;
4646
});
47+
// string # Reason for the failure, if applicable.
48+
(0, _defineProperty2.default)(this, "getFailureMessage", function () {
49+
return _this.attributes.failure_message;
50+
});
4751
// int64 # Number of files processed
4852
(0, _defineProperty2.default)(this, "getFilesMoved", function () {
4953
return _this.attributes.files_moved;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "files.com",
3-
"version": "1.2.608",
3+
"version": "1.2.609",
44
"description": "Files.com SDK for JavaScript",
55
"keywords": [
66
"files.com",

src/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let apiKey
66
let baseUrl = 'https://app.files.com'
77
let sessionId = null
88
let language = null
9-
const version = '1.2.608'
9+
const version = '1.2.609'
1010
let userAgent = `Files.com JavaScript SDK v${version}`
1111

1212
let logLevel = LogLevel.INFO

src/models/FileMigration.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ class FileMigration {
3737
// string # Destination path
3838
getDestPath = () => this.attributes.dest_path
3939

40+
// string # Reason for the failure, if applicable.
41+
getFailureMessage = () => this.attributes.failure_message
42+
4043
// int64 # Number of files processed
4144
getFilesMoved = () => this.attributes.files_moved
4245

0 commit comments

Comments
 (0)