files.com 1.1.682 → 1.1.683

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: 2c86cae5b00c3655207ca8a4425401eac36bcd0a92db0200cd34d546f490d2df
4
- data.tar.gz: 9ba89c4e3380e60f347d418849583781c727212f3902b467ee04c05b9979f0f8
3
+ metadata.gz: 5ed47796e505dddf19405cf5eafb106a333029fbfce94d3b8303cb7ef375240a
4
+ data.tar.gz: e078917468a41070b39145b1fd483aa9bcb150686c82b92e8d0ee8ad8cb5094f
5
5
  SHA512:
6
- metadata.gz: 54f1251d77ee97cc00f53e0d43df23e2801aa6807a160456967cfcf3df397f2b61faf72888c2b6cdab58852de95bcbc70e51cbd7a7542bc665ef5c2b7480a50f
7
- data.tar.gz: 6dc7aba8222b3e55812567b362282e3ce3b93bf37ae4077bcef14f1911490288dceb0502df924f4118727ec490a1e2c0cc28cfa00fe5203ea68587243d63dc30
6
+ metadata.gz: 51ffcb02734ebd77e4fc43645e9283cd3281b66929d1c4d3b6533df0bd69b15c6e96ef27799223fb891503ee08dd3ff26c4f77e07cda330f2324a8431e465630
7
+ data.tar.gz: 0f655e22b02716d6971ceae493b562bc939f04660b9d347cf9337db7b240fdf2326284174c2bb273b4aaf12726373840a89999af34ae3b3ece2970b8c29cb452
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.682
1
+ 1.1.683
data/docs/automation.md CHANGED
@@ -32,6 +32,7 @@
32
32
  }
33
33
  }
34
34
  ],
35
+ "inbound_email_address": "example-automation-abc123@inbox.files.com",
35
36
  "flatten_destination_structure": true,
36
37
  "group_ids": [
37
38
  1,
@@ -112,6 +113,7 @@
112
113
  * `disabled` (boolean): If true, this automation will not run.
113
114
  * `exclude_pattern` (string): If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
114
115
  * `import_urls` (array(object)): List of URLs to be imported and names to be used.
116
+ * `inbound_email_address` (string): If trigger is `email`, this is the address that triggers the Automation.
115
117
  * `flatten_destination_structure` (boolean): Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
116
118
  * `group_ids` (array(int64)): IDs of Groups for the Automation (i.e. who to Request File from)
117
119
  * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
@@ -268,15 +270,18 @@ Files::Automation.create(
268
270
 
269
271
  ---
270
272
 
271
- ## Manually Run Automation
273
+ ## Manually Run Automation. v2 Automations require Site or Workspace Admin permission
272
274
 
273
275
  ```
274
- Files::Automation.manual_run(id)
276
+ Files::Automation.manual_run(id,
277
+ items: [{"file":"incoming/report.csv"},{"data":{"customer":"Acme"}}]
278
+ )
275
279
  ```
276
280
 
277
281
  ### Parameters
278
282
 
279
283
  * `id` (int64): Required - Automation ID.
284
+ * `items` (array(object)): Initial items for a v2 manual trigger. Each item contains exactly one `file` path or `data` object.
280
285
 
281
286
 
282
287
  ---
@@ -374,17 +379,20 @@ Files::Automation.delete(id)
374
379
 
375
380
  ---
376
381
 
377
- ## Manually Run Automation
382
+ ## Manually Run Automation. v2 Automations require Site or Workspace Admin permission
378
383
 
379
384
  ```
380
385
  automation = Files::Automation.find(id)
381
386
 
382
- automation.manual_run
387
+ automation.manual_run(
388
+ items: [{"file":"incoming/report.csv"},{"data":{"customer":"Acme"}}]
389
+ )
383
390
  ```
384
391
 
385
392
  ### Parameters
386
393
 
387
394
  * `id` (int64): Required - Automation ID.
395
+ * `items` (array(object)): Initial items for a v2 manual trigger. Each item contains exactly one `file` path or `data` object.
388
396
 
389
397
 
390
398
  ---
@@ -10,10 +10,12 @@
10
10
  ],
11
11
  "nodes": [
12
12
  "example"
13
- ]
13
+ ],
14
+ "schema_url": "example"
14
15
  }
15
16
  ```
16
17
 
17
18
  * `definition_schema` (object): JSON Schema for active Automation v2 graph definitions.
18
19
  * `error_families` (array(object)): Typed error families accepted by Automation v2 on_error rules.
19
20
  * `nodes` (array(object)): Active Automation v2 node authoring metadata.
21
+ * `schema_url` (string): Stable public URL for the Automation v2 graph definition JSON Schema.
@@ -0,0 +1,39 @@
1
+ # AutomationExecutionNode
2
+
3
+ ## Example AutomationExecutionNode Object
4
+
5
+ ```
6
+ {
7
+ "node_id": "example",
8
+ "node_type": "example",
9
+ "status": "example",
10
+ "run_stage": "example",
11
+ "reused": true,
12
+ "successful_operations": 1,
13
+ "failed_operations": 1,
14
+ "started_at": "2000-01-01T01:00:00Z",
15
+ "completed_at": "2000-01-01T01:00:00Z",
16
+ "duration_ms": 1,
17
+ "inputs": [
18
+ "example"
19
+ ],
20
+ "outputs": "example",
21
+ "input_items": "example",
22
+ "output_items": "example"
23
+ }
24
+ ```
25
+
26
+ * `node_id` (string): Node ID from the pinned Automation definition.
27
+ * `node_type` (string): Node type.
28
+ * `status` (string): Node status.
29
+ * `run_stage` (string): Current node execution stage.
30
+ * `reused` (boolean): Whether this node reused persisted output from an earlier run.
31
+ * `successful_operations` (int64): Count of successful operations in this node.
32
+ * `failed_operations` (int64): Count of failed operations in this node.
33
+ * `started_at` (date-time): When this node started.
34
+ * `completed_at` (date-time): When this node completed.
35
+ * `duration_ms` (int64): Node runtime in milliseconds.
36
+ * `inputs` (array(object)): Ordered inbound edge references.
37
+ * `outputs` (object): Output counts, item kinds, and typed-error summaries by outlet.
38
+ * `input_items` (object): Materialized input items currently available, grouped by inlet.
39
+ * `output_items` (object): Materialized output items grouped by outlet.