files.com 1.2.52 → 1.2.53

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.52
1
+ 1.2.53
@@ -8,7 +8,7 @@
8
8
  "automation_id": 1,
9
9
  "completed_at": "2000-01-01T01:00:00Z",
10
10
  "created_at": "2000-01-01T01:00:00Z",
11
- "runtime": "2000-01-01T01:00:00Z",
11
+ "runtime": 1.0,
12
12
  "status": "success",
13
13
  "run_stage": "planning",
14
14
  "successful_operations": 1,
@@ -21,7 +21,7 @@
21
21
  * `automation_id` (int64): ID of the associated Automation.
22
22
  * `completed_at` (date-time): Automation run completion/failure date/time.
23
23
  * `created_at` (date-time): Automation run start date/time.
24
- * `runtime` (date-time): Automation run runtime.
24
+ * `runtime` (double): Automation run runtime.
25
25
  * `status` (string): The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
26
26
  * `run_stage` (string): The stage currently being executed in the execution environment. One of `queued_for_planning`, `planning`, `queued_for_execution`, `executing`, or `finished`.
27
27
  * `successful_operations` (int64): Count of successful operations.
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.52';
14
+ var version = '1.2.53';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -49,7 +49,7 @@ var AutomationRun = /*#__PURE__*/(0, _createClass2.default)(function AutomationR
49
49
  (0, _defineProperty2.default)(this, "getCreatedAt", function () {
50
50
  return _this.attributes.created_at;
51
51
  });
52
- // date-time # Automation run runtime.
52
+ // double # Automation run runtime.
53
53
  (0, _defineProperty2.default)(this, "getRuntime", function () {
54
54
  return _this.attributes.runtime;
55
55
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.52",
3
+ "version": "1.2.53",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
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.52'
8
+ const version = '1.2.53'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -40,7 +40,7 @@ class AutomationRun {
40
40
  // date-time # Automation run start date/time.
41
41
  getCreatedAt = () => this.attributes.created_at
42
42
 
43
- // date-time # Automation run runtime.
43
+ // double # Automation run runtime.
44
44
  getRuntime = () => this.attributes.runtime
45
45
 
46
46
  // string # The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.