files.com 1.1.51 → 1.1.53

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8bd9cc3feb73431ee538e9295167cdebb8ce110bf18ee89ef2c8b163efb881b
4
- data.tar.gz: 858411d5c41eebb73365462ca7c4816a20a586b1270b75391fce1c7d692bd12e
3
+ metadata.gz: ce3c2338b3bf69ad2c101baf7ed2094c8ffe85d177b15c17ee8839c48a518268
4
+ data.tar.gz: a89bc6b82ed391dd248dab96ded86357aae5b5530f10d493e5544f3ae8b56c13
5
5
  SHA512:
6
- metadata.gz: 9775894e1107eba82c28bda7d817ce175550dfcdfe0d085b9692a39e182485eb583798cb120918da878ad06eb10eb8f0ed21b75d338932a17bd69a4dad0e1018
7
- data.tar.gz: 958e5c54dbdf03f378c37f88a3c99a171c954872ed54233f4a93d74e43de3881a4010c7fb4ca8003eacf4ca361303e160e2995a231fa58ff17fdbbfdee909a48
6
+ metadata.gz: 07d291a9da6db2f8176d21df6d5682022fea22f14973c66338e1b51aa7de4a7e820e026dcd5b5d51e563a9857992336fbc4cf66300f9aa4cb92d32d186433c04
7
+ data.tar.gz: a423e22b05341e5e347ebb8ae5af501827ec6d36c425625f684a4e83d2c3575f60a93a82aeec67e6d087686026ed73ee66b115fe69f6f55af34bd40d1678f732
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.51
1
+ 1.1.53
data/docs/automation.md CHANGED
@@ -25,6 +25,7 @@
25
25
  "name": "example",
26
26
  "overwrite_files": true,
27
27
  "path": "example",
28
+ "path_time_zone": "Eastern Time (US & Canada)",
28
29
  "recurring_day": 25,
29
30
  "schedule": "example",
30
31
  "human_readable_schedule": "Triggered every Monday, Wednesday at 6:30 AM,\n 2:30 PM Eastern Time (US & Canada) TZ",
@@ -75,6 +76,7 @@
75
76
  * `name` (string): Name for this automation.
76
77
  * `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 if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
77
78
  * `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.
79
+ * `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
78
80
  * `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`.
79
81
  * `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
80
82
  * `human_readable_schedule` (string): If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
@@ -153,6 +155,7 @@ Files::Automation.create(
153
155
  ignore_locked_folders: true,
154
156
  name: "example",
155
157
  overwrite_files: true,
158
+ path_time_zone: "Eastern Time (US & Canada)",
156
159
  trigger: "daily",
157
160
  trigger_actions: ["create"],
158
161
  value: {"limit":"1"},
@@ -182,6 +185,7 @@ Files::Automation.create(
182
185
  * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
183
186
  * `name` (string): Name for this automation.
184
187
  * `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 if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
188
+ * `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
185
189
  * `trigger` (string): How this automation is triggered to run.
186
190
  * `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
187
191
  * `value` (object): A Hash of attributes specific to the automation type.
@@ -226,6 +230,7 @@ Files::Automation.update(id,
226
230
  ignore_locked_folders: true,
227
231
  name: "example",
228
232
  overwrite_files: true,
233
+ path_time_zone: "Eastern Time (US & Canada)",
229
234
  trigger: "daily",
230
235
  trigger_actions: ["create"],
231
236
  value: {"limit":"1"},
@@ -256,6 +261,7 @@ Files::Automation.update(id,
256
261
  * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
257
262
  * `name` (string): Name for this automation.
258
263
  * `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 if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
264
+ * `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
259
265
  * `trigger` (string): How this automation is triggered to run.
260
266
  * `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
261
267
  * `value` (object): A Hash of attributes specific to the automation type.
@@ -317,6 +323,7 @@ automation.update(
317
323
  ignore_locked_folders: true,
318
324
  name: "example",
319
325
  overwrite_files: true,
326
+ path_time_zone: "Eastern Time (US & Canada)",
320
327
  trigger: "daily",
321
328
  trigger_actions: ["create"],
322
329
  value: {"limit":"1"},
@@ -347,6 +354,7 @@ automation.update(
347
354
  * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
348
355
  * `name` (string): Name for this automation.
349
356
  * `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 if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
357
+ * `path_time_zone` (string): Timezone to use when rendering timestamps in paths.
350
358
  * `trigger` (string): How this automation is triggered to run.
351
359
  * `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
352
360
  * `value` (object): A Hash of attributes specific to the automation type.
data/docs/bundle.md CHANGED
@@ -77,7 +77,12 @@
77
77
  "paths": [
78
78
  "file.txt"
79
79
  ],
80
- "bundlepaths": "example"
80
+ "bundlepaths": [
81
+ {
82
+ "recursive": true,
83
+ "path": "example"
84
+ }
85
+ ]
81
86
  }
82
87
  ```
83
88
 
@@ -119,7 +124,7 @@
119
124
  * `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
120
125
  * `has_inbox` (boolean): Does this bundle have an associated inbox?
121
126
  * `paths` (array): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
122
- * `bundlepaths` (BundlePath): A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
127
+ * `bundlepaths` (array): A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
123
128
  * `password` (string): Password for this bundle.
124
129
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
125
130
  * `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
@@ -153,6 +153,15 @@ module Files
153
153
  @attributes[:path] = value
154
154
  end
155
155
 
156
+ # string - Timezone to use when rendering timestamps in paths.
157
+ def path_time_zone
158
+ @attributes[:path_time_zone]
159
+ end
160
+
161
+ def path_time_zone=(value)
162
+ @attributes[:path_time_zone] = value
163
+ end
164
+
156
165
  # int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
157
166
  def recurring_day
158
167
  @attributes[:recurring_day]
@@ -319,6 +328,7 @@ module Files
319
328
  # ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
320
329
  # name - string - Name for this automation.
321
330
  # 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 if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
331
+ # path_time_zone - string - Timezone to use when rendering timestamps in paths.
322
332
  # trigger - string - How this automation is triggered to run.
323
333
  # trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
324
334
  # value - object - A Hash of attributes specific to the automation type.
@@ -344,6 +354,7 @@ module Files
344
354
  raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
345
355
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
346
356
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
357
+ raise InvalidParameterError.new("Bad parameter: path_time_zone must be an String") if params[:path_time_zone] and !params[:path_time_zone].is_a?(String)
347
358
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
348
359
  raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
349
360
  raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
@@ -444,6 +455,7 @@ module Files
444
455
  # ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
445
456
  # name - string - Name for this automation.
446
457
  # 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 if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
458
+ # path_time_zone - string - Timezone to use when rendering timestamps in paths.
447
459
  # trigger - string - How this automation is triggered to run.
448
460
  # trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
449
461
  # value - object - A Hash of attributes specific to the automation type.
@@ -465,6 +477,7 @@ module Files
465
477
  raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
466
478
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
467
479
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
480
+ raise InvalidParameterError.new("Bad parameter: path_time_zone must be an String") if params[:path_time_zone] and !params[:path_time_zone].is_a?(String)
468
481
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
469
482
  raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
470
483
  raise InvalidParameterError.new("Bad parameter: value must be an Hash") if params[:value] and !params[:value].is_a?(Hash)
@@ -507,6 +520,7 @@ module Files
507
520
  # ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
508
521
  # name - string - Name for this automation.
509
522
  # 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 if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
523
+ # path_time_zone - string - Timezone to use when rendering timestamps in paths.
510
524
  # trigger - string - How this automation is triggered to run.
511
525
  # trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
512
526
  # value - object - A Hash of attributes specific to the automation type.
@@ -531,6 +545,7 @@ module Files
531
545
  raise InvalidParameterError.new("Bad parameter: schedule_time_zone must be an String") if params[:schedule_time_zone] and !params[:schedule_time_zone].is_a?(String)
532
546
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
533
547
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
548
+ raise InvalidParameterError.new("Bad parameter: path_time_zone must be an String") if params[:path_time_zone] and !params[:path_time_zone].is_a?(String)
534
549
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
535
550
  raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
536
551
  raise InvalidParameterError.new("Bad parameter: value must be an Hash") if params[:value] and !params[:value].is_a?(Hash)
@@ -347,7 +347,7 @@ module Files
347
347
  @attributes[:paths] = value
348
348
  end
349
349
 
350
- # BundlePath - A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
350
+ # array - A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
351
351
  def bundlepaths
352
352
  @attributes[:bundlepaths]
353
353
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.51"
4
+ VERSION = "1.1.53"
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.51
4
+ version: 1.1.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-23 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable