files.com 1.2.202 → 1.2.203

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.202
1
+ 1.2.203
@@ -8,9 +8,10 @@
8
8
  "automation_id": 1,
9
9
  "completed_at": "2000-01-01T01:00:00Z",
10
10
  "created_at": "2000-01-01T01:00:00Z",
11
+ "retry_at": "example",
11
12
  "retried_at": "2000-01-01T01:00:00Z",
12
- "retry_of_run_id": 1,
13
13
  "retried_in_run_id": 1,
14
+ "retry_of_run_id": 1,
14
15
  "runtime": 1.0,
15
16
  "status": "success",
16
17
  "successful_operations": 1,
@@ -23,9 +24,10 @@
23
24
  * `automation_id` (int64): ID of the associated Automation.
24
25
  * `completed_at` (date-time): Automation run completion/failure date/time.
25
26
  * `created_at` (date-time): Automation run start date/time.
27
+ * `retry_at` (string): If set, this automation will be retried at this date/time due to `failure` or `partial_failure`.
26
28
  * `retried_at` (date-time): If set, this Automation run was retried due to `failure` or `partial_failure`.
27
- * `retry_of_run_id` (int64): ID of the original run that this run is retrying.
28
29
  * `retried_in_run_id` (int64): ID of the run that is or will be retrying this run.
30
+ * `retry_of_run_id` (int64): ID of the original run that this run is retrying.
29
31
  * `runtime` (double): Automation run runtime.
30
32
  * `status` (string): The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
31
33
  * `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.202';
14
+ var version = '1.2.203';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -49,18 +49,22 @@ 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
+ // string # If set, this automation will be retried at this date/time due to `failure` or `partial_failure`.
53
+ (0, _defineProperty2.default)(this, "getRetryAt", function () {
54
+ return _this.attributes.retry_at;
55
+ });
52
56
  // date-time # If set, this Automation run was retried due to `failure` or `partial_failure`.
53
57
  (0, _defineProperty2.default)(this, "getRetriedAt", function () {
54
58
  return _this.attributes.retried_at;
55
59
  });
56
- // int64 # ID of the original run that this run is retrying.
57
- (0, _defineProperty2.default)(this, "getRetryOfRunId", function () {
58
- return _this.attributes.retry_of_run_id;
59
- });
60
60
  // int64 # ID of the run that is or will be retrying this run.
61
61
  (0, _defineProperty2.default)(this, "getRetriedInRunId", function () {
62
62
  return _this.attributes.retried_in_run_id;
63
63
  });
64
+ // int64 # ID of the original run that this run is retrying.
65
+ (0, _defineProperty2.default)(this, "getRetryOfRunId", function () {
66
+ return _this.attributes.retry_of_run_id;
67
+ });
64
68
  // double # Automation run runtime.
65
69
  (0, _defineProperty2.default)(this, "getRuntime", function () {
66
70
  return _this.attributes.runtime;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.202",
3
+ "version": "1.2.203",
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.202'
8
+ const version = '1.2.203'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -40,15 +40,18 @@ class AutomationRun {
40
40
  // date-time # Automation run start date/time.
41
41
  getCreatedAt = () => this.attributes.created_at
42
42
 
43
+ // string # If set, this automation will be retried at this date/time due to `failure` or `partial_failure`.
44
+ getRetryAt = () => this.attributes.retry_at
45
+
43
46
  // date-time # If set, this Automation run was retried due to `failure` or `partial_failure`.
44
47
  getRetriedAt = () => this.attributes.retried_at
45
48
 
46
- // int64 # ID of the original run that this run is retrying.
47
- getRetryOfRunId = () => this.attributes.retry_of_run_id
48
-
49
49
  // int64 # ID of the run that is or will be retrying this run.
50
50
  getRetriedInRunId = () => this.attributes.retried_in_run_id
51
51
 
52
+ // int64 # ID of the original run that this run is retrying.
53
+ getRetryOfRunId = () => this.attributes.retry_of_run_id
54
+
52
55
  // double # Automation run runtime.
53
56
  getRuntime = () => this.attributes.runtime
54
57