files.com 1.1.678 → 1.1.679

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ef7bf9cde3f8d5da53a59f84147b250576de0cd29611b5c879ad1d4f09cf124
4
- data.tar.gz: 211ea1233c6828c9db8c2e1ecc71858d992e5c1074218f22e5580eae75a60007
3
+ metadata.gz: a8903be135ecc5d24d7ff1d0c05d817b511848118b9f4b348470ad7a5888e3aa
4
+ data.tar.gz: fcb51efc5e6673d393f2381a9992b75a6b1bc294ea0a1c319375a812caffdaad
5
5
  SHA512:
6
- metadata.gz: c7f54f058a1b201d599fc754fe7a0e68e48e15a96c092b8646d6cf8a27108306a1f496ba93c92cfef404e039fab060855b1c5416f7ad4c41e08f6b1b180bc477
7
- data.tar.gz: 447a0a28591ab4dcb73261bdbaf5266c8700d02240c2e09f8fd5fd769cc73931fcddc9885a026dcdce81fa006e24f9a0b44280762ea5575a5d17e43ccc07a7da
6
+ metadata.gz: 9350dfdcd0e2c42f37c000c383263da394bb703497e3eeb0e8576376c45e75e523fd80c8f2131d9ad55072004fbbb237367fd0de18e943adb32619dafd8ca8a8
7
+ data.tar.gz: 8c3793b9c8a6ac6c7937d4ce7c0696eba8c979831895a572533f4362631ab08a51b96dadb0663f9a1526f5aab2f3d3e9f2d69a5479738fe34b4eef5442ba313f
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.678
1
+ 1.1.679
data/docs/automation.md CHANGED
@@ -11,6 +11,7 @@
11
11
  "automation": "create_folder",
12
12
  "deleted": true,
13
13
  "description": "example",
14
+ "definition": "example",
14
15
  "destination_replace_from": "example",
15
16
  "destination_replace_to": "example",
16
17
  "destinations": [
@@ -44,6 +45,7 @@
44
45
  "overwrite_files": true,
45
46
  "path": "example",
46
47
  "path_time_zone": "Eastern Time (US & Canada)",
48
+ "version": 1,
47
49
  "recurring_day": 25,
48
50
  "retry_on_failure_interval_in_minutes": 60,
49
51
  "retry_on_failure_number_of_attempts": 10,
@@ -103,6 +105,7 @@
103
105
  * `automation` (string): Automation type
104
106
  * `deleted` (boolean): Indicates if the automation has been deleted.
105
107
  * `description` (string): Description for the this Automation.
108
+ * `definition` (object): Automation v2 graph definition.
106
109
  * `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
107
110
  * `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
108
111
  * `destinations` (array(string)): Destination Paths
@@ -119,6 +122,7 @@
119
122
  * `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten on Copy automations if they appear to be the same file size as the newly incoming file. Use the `always_overwrite_size_matching_files` option in conjunction with `overwrite_files` to override this behavior and overwrite files no matter what.
120
123
  * `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
121
124
  * `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
125
+ * `version` (int64): Current Automation v2 definition version.
122
126
  * `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
123
127
  * `retry_on_failure_interval_in_minutes` (int64): If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
124
128
  * `retry_on_failure_number_of_attempts` (int64): If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
@@ -6,6 +6,7 @@
6
6
  {
7
7
  "id": 1,
8
8
  "automation_id": 1,
9
+ "automation_version_id": 1,
9
10
  "workspace_id": 1,
10
11
  "completed_at": "2000-01-01T01:00:00Z",
11
12
  "created_at": "2000-01-01T01:00:00Z",
@@ -17,12 +18,15 @@
17
18
  "status": "success",
18
19
  "successful_operations": 1,
19
20
  "failed_operations": 1,
21
+ "definition": "example",
22
+ "journal_url": "example",
20
23
  "status_messages_url": "https://www.example.com/log_file.txt"
21
24
  }
22
25
  ```
23
26
 
24
27
  * `id` (int64): ID.
25
28
  * `automation_id` (int64): ID of the associated Automation.
29
+ * `automation_version_id` (int64): ID of the immutable Automation version pinned by this run.
26
30
  * `workspace_id` (int64): Workspace ID.
27
31
  * `completed_at` (date-time): Automation run completion/failure date/time.
28
32
  * `created_at` (date-time): Automation run start date/time.
@@ -34,6 +38,8 @@
34
38
  * `status` (string): The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
35
39
  * `successful_operations` (int64): Count of successful operations.
36
40
  * `failed_operations` (int64): Count of failed operations.
41
+ * `definition` (object): Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
42
+ * `journal_url` (string): Link to the run journal artifact.
37
43
  * `status_messages_url` (string): Link to status messages log file.
38
44
 
39
45
 
@@ -72,6 +72,15 @@ module Files
72
72
  @attributes[:description] = value
73
73
  end
74
74
 
75
+ # object - Automation v2 graph definition.
76
+ def definition
77
+ @attributes[:definition]
78
+ end
79
+
80
+ def definition=(value)
81
+ @attributes[:definition] = value
82
+ end
83
+
75
84
  # string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
76
85
  def destination_replace_from
77
86
  @attributes[:destination_replace_from]
@@ -216,6 +225,15 @@ module Files
216
225
  @attributes[:path_time_zone] = value
217
226
  end
218
227
 
228
+ # int64 - Current Automation v2 definition version.
229
+ def version
230
+ @attributes[:version]
231
+ end
232
+
233
+ def version=(value)
234
+ @attributes[:version] = value
235
+ end
236
+
219
237
  # int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
220
238
  def recurring_day
221
239
  @attributes[:recurring_day]
@@ -19,6 +19,11 @@ module Files
19
19
  @attributes[:automation_id]
20
20
  end
21
21
 
22
+ # int64 - ID of the immutable Automation version pinned by this run.
23
+ def automation_version_id
24
+ @attributes[:automation_version_id]
25
+ end
26
+
22
27
  # int64 - Workspace ID.
23
28
  def workspace_id
24
29
  @attributes[:workspace_id]
@@ -74,6 +79,16 @@ module Files
74
79
  @attributes[:failed_operations]
75
80
  end
76
81
 
82
+ # object - Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
83
+ def definition
84
+ @attributes[:definition]
85
+ end
86
+
87
+ # string - Link to the run journal artifact.
88
+ def journal_url
89
+ @attributes[:journal_url]
90
+ end
91
+
77
92
  # string - Link to status messages log file.
78
93
  def status_messages_url
79
94
  @attributes[:status_messages_url]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.678"
4
+ VERSION = "1.1.679"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.678
4
+ version: 1.1.679
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-12 00:00:00.000000000 Z
11
+ date: 2026-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable