files.com 1.0.232 → 1.0.233

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: 4e853badb0a1e39fec123b97f30f3464469400fe2bb515d278f18dbf11218b4b
4
- data.tar.gz: e6d7bf73ac7299cb6f2fe321a36abc39139cad3b1eb81adc98db906f7184d4e9
3
+ metadata.gz: ede3aa7e5f1afefe4774eed468ad77c1644672e495be9b6bbd78d7fda1f7be4c
4
+ data.tar.gz: 36dc1586e89118de37d151e840dc153c105e323f990381735e8c6a1f60f3c7ff
5
5
  SHA512:
6
- metadata.gz: 351b85e9adf6a772545a5da425ea0367fe5ca58db50cab1a439cc5e7f80e2a0d7f70369165fbb1d37bb5ea8d741989a70eb297866d5056c15db4a199404a70c4
7
- data.tar.gz: 2fe0748bd322d8550e461a57a9d27e6f2496cbdfd6eab2c7fa17bfcb8b4a9c1bd960ca18a0261090b9006deef2aa17a554ecc3da377c5c65fc06cdec09e658e9
6
+ metadata.gz: 5aabdc3853c077deb4e73d9a750b4d405176b463d46bac52c38e4d274853441556deaec0268d4cbf2268fb36b2ad43066f11d0acd3be0dcd88f0c9f108f68bbc
7
+ data.tar.gz: 80afd6cad7c9d3db169410c97ad9e56937ebadc50f353fb21eda9fded43c2e50fcf184637d6dcd48bde9e54a0a3dc9bcded85378442bbd6988ac7368679eb42b
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.232
1
+ 1.0.233
data/docs/automation.md CHANGED
@@ -40,7 +40,6 @@
40
40
  ],
41
41
  "webhook_url": "https://app.files.com/api/webhooks/abc123",
42
42
  "trigger_actions": "[ \"create\" ]",
43
- "trigger_action_path": "path/to/file/or/folder",
44
43
  "value": "{\"limit\": \"1\"}"
45
44
  }
46
45
  ```
@@ -62,7 +61,6 @@
62
61
  * `group_ids` (array): IDs of Groups for the Automation (i.e. who to Request File from)
63
62
  * `webhook_url` (string): If trigger is `webhook`, this is the URL of the webhook to trigger the Automation.
64
63
  * `trigger_actions` (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
65
- * `trigger_action_path` (string): If trigger is `action`, this is the path to watch for the specified trigger actions.
66
64
  * `value` (object): A Hash of attributes specific to the automation type.
67
65
  * `destination` (string): DEPRECATED: Destination Path. Use `destinations` instead.
68
66
 
@@ -120,7 +118,6 @@ Files::Automation.create(
120
118
  schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
121
119
  trigger: "realtime",
122
120
  trigger_actions: "[ \"create\" ]",
123
- trigger_action_path: "path/to/file/or/folder",
124
121
  value: "{\"limit\": \"1\"}"
125
122
  )
126
123
  ```
@@ -142,7 +139,6 @@ Files::Automation.create(
142
139
  * `name` (string): Name for this automation.
143
140
  * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
144
141
  * `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
145
- * `trigger_action_path` (string): If trigger is `action`, this is the path to watch for the specified trigger actions.
146
142
  * `value` (object): A Hash of attributes specific to the automation type.
147
143
 
148
144
 
@@ -161,7 +157,6 @@ Files::Automation.update(id,
161
157
  schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
162
158
  trigger: "realtime",
163
159
  trigger_actions: "[ \"create\" ]",
164
- trigger_action_path: "path/to/file/or/folder",
165
160
  value: "{\"limit\": \"1\"}"
166
161
  )
167
162
  ```
@@ -184,7 +179,6 @@ Files::Automation.update(id,
184
179
  * `name` (string): Name for this automation.
185
180
  * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
186
181
  * `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
- * `trigger_action_path` (string): If trigger is `action`, this is the path to watch for the specified trigger actions.
188
182
  * `value` (object): A Hash of attributes specific to the automation type.
189
183
 
190
184
 
@@ -218,7 +212,6 @@ automation.update(
218
212
  schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
219
213
  trigger: "realtime",
220
214
  trigger_actions: "[ \"create\" ]",
221
- trigger_action_path: "path/to/file/or/folder",
222
215
  value: "{\"limit\": \"1\"}"
223
216
  )
224
217
  ```
@@ -241,7 +234,6 @@ automation.update(
241
234
  * `name` (string): Name for this automation.
242
235
  * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
243
236
  * `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
244
- * `trigger_action_path` (string): If trigger is `action`, this is the path to watch for the specified trigger actions.
245
237
  * `value` (object): A Hash of attributes specific to the automation type.
246
238
 
247
239
 
@@ -162,15 +162,6 @@ module Files
162
162
  @attributes[:trigger_actions] = value
163
163
  end
164
164
 
165
- # string - If trigger is `action`, this is the path to watch for the specified trigger actions.
166
- def trigger_action_path
167
- @attributes[:trigger_action_path]
168
- end
169
-
170
- def trigger_action_path=(value)
171
- @attributes[:trigger_action_path] = value
172
- end
173
-
174
165
  # object - A Hash of attributes specific to the automation type.
175
166
  def value
176
167
  @attributes[:value]
@@ -205,7 +196,6 @@ module Files
205
196
  # name - string - Name for this automation.
206
197
  # trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
207
198
  # 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
208
- # trigger_action_path - string - If trigger is `action`, this is the path to watch for the specified trigger actions.
209
199
  # value - object - A Hash of attributes specific to the automation type.
210
200
  def update(params = {})
211
201
  params ||= {}
@@ -226,7 +216,6 @@ module Files
226
216
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
227
217
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params.dig(:trigger) and !params.dig(:trigger).is_a?(String)
228
218
  raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params.dig(:trigger_actions) and !params.dig(:trigger_actions).is_a?(Array)
229
- raise InvalidParameterError.new("Bad parameter: trigger_action_path must be an String") if params.dig(:trigger_action_path) and !params.dig(:trigger_action_path).is_a?(String)
230
219
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
231
220
  raise MissingParameterError.new("Parameter missing: automation") unless params.dig(:automation)
232
221
 
@@ -320,7 +309,6 @@ module Files
320
309
  # name - string - Name for this automation.
321
310
  # trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
322
311
  # 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
323
- # trigger_action_path - string - If trigger is `action`, this is the path to watch for the specified trigger actions.
324
312
  # value - object - A Hash of attributes specific to the automation type.
325
313
  def self.create(params = {}, options = {})
326
314
  raise InvalidParameterError.new("Bad parameter: automation must be an String") if params.dig(:automation) and !params.dig(:automation).is_a?(String)
@@ -338,7 +326,6 @@ module Files
338
326
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
339
327
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params.dig(:trigger) and !params.dig(:trigger).is_a?(String)
340
328
  raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params.dig(:trigger_actions) and !params.dig(:trigger_actions).is_a?(Array)
341
- raise InvalidParameterError.new("Bad parameter: trigger_action_path must be an String") if params.dig(:trigger_action_path) and !params.dig(:trigger_action_path).is_a?(String)
342
329
  raise InvalidParameterError.new("Bad parameter: value must be an Hash") if params.dig(:value) and !params.dig(:value).is_a?(Hash)
343
330
  raise MissingParameterError.new("Parameter missing: automation") unless params.dig(:automation)
344
331
 
@@ -362,7 +349,6 @@ module Files
362
349
  # name - string - Name for this automation.
363
350
  # trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
364
351
  # 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
365
- # trigger_action_path - string - If trigger is `action`, this is the path to watch for the specified trigger actions.
366
352
  # value - object - A Hash of attributes specific to the automation type.
367
353
  def self.update(id, params = {}, options = {})
368
354
  params ||= {}
@@ -383,7 +369,6 @@ module Files
383
369
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
384
370
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params.dig(:trigger) and !params.dig(:trigger).is_a?(String)
385
371
  raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params.dig(:trigger_actions) and !params.dig(:trigger_actions).is_a?(Array)
386
- raise InvalidParameterError.new("Bad parameter: trigger_action_path must be an String") if params.dig(:trigger_action_path) and !params.dig(:trigger_action_path).is_a?(String)
387
372
  raise InvalidParameterError.new("Bad parameter: value must be an Hash") if params.dig(:value) and !params.dig(:value).is_a?(Hash)
388
373
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
389
374
  raise MissingParameterError.new("Parameter missing: automation") unless params.dig(:automation)
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.0.232
4
+ version: 1.0.233
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-05 00:00:00.000000000 Z
11
+ date: 2022-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable