files.com 1.0.255 → 1.0.256

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: d1052dbfdcdc10cd5ad4292709fd702ec58b39aa8d201b44fdac02ec00e90d80
4
- data.tar.gz: 1d4137b4e1813aa2182aa2ed2c5b0a9b9c8be36face51277adb06270e7c47d84
3
+ metadata.gz: b9195a63009ea82724c1f70c455c69c1ce1124b0b54c83566de49d9ac008fd35
4
+ data.tar.gz: cfcaf0ff12320d05963d10095971574688e87a26b295c114dd994a565a98afd4
5
5
  SHA512:
6
- metadata.gz: cb78b76f70cccf4929ac7ddfcd60413fd31098ed1170d7ab878087658e8b653333de165ab9b99f8fdc6e3faf2ed37c11c7a85885762c263135250e3aa9c700bd
7
- data.tar.gz: 25c6297a670e1f3ca12c3c26b168bb48fae9e788a49d87bc0cd2cc2b177677c98637bbe2c14e13a89d0c8447f4fd4dd57d1dc321008048bf0f5586388a1ee98f
6
+ metadata.gz: 4e66354f94244611812c8108620e9e19365622d83d846e6d0a0b404560aec18ea8135c8d4ef06bcd91ba10340753157d10b90055818a13fda4a383696f452b60
7
+ data.tar.gz: 91afdd1095d7ab9e516b05c241c75785c74ac4f8de4acf588f1bdeb5f6b3b11ac0cab3ba92a1b21a850330ee0ef61aa03efc1cb3077f81f89c88f8c55179b414
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.255
1
+ 1.0.256
data/docs/automation.md CHANGED
@@ -6,6 +6,7 @@
6
6
  {
7
7
  "id": 1,
8
8
  "automation": "create_folder",
9
+ "disabled": true,
9
10
  "trigger": "realtime",
10
11
  "interval": "week",
11
12
  "name": "",
@@ -46,6 +47,7 @@
46
47
 
47
48
  * `id` (int64): Automation ID
48
49
  * `automation` (string): Automation type
50
+ * `disabled` (boolean): If true, this automation will not run.
49
51
  * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
50
52
  * `interval` (string): If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
51
53
  * `name` (string): Name for this automation.
@@ -116,6 +118,7 @@ Files::Automation.create(
116
118
  user_ids: [1,2],
117
119
  group_ids: [1,2],
118
120
  schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
121
+ disabled: true,
119
122
  trigger: "realtime",
120
123
  trigger_actions: "[ \"create\" ]",
121
124
  value: "{\"limit\": \"1\"}"
@@ -136,6 +139,7 @@ Files::Automation.create(
136
139
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
137
140
  * `schedule` (object): Custom schedule for running this automation.
138
141
  * `description` (string): Description for the this Automation.
142
+ * `disabled` (boolean): If true, this automation will not run.
139
143
  * `name` (string): Name for this automation.
140
144
  * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
141
145
  * `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
@@ -155,6 +159,7 @@ Files::Automation.update(id,
155
159
  user_ids: [1,2],
156
160
  group_ids: [1,2],
157
161
  schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
162
+ disabled: true,
158
163
  trigger: "realtime",
159
164
  trigger_actions: "[ \"create\" ]",
160
165
  value: "{\"limit\": \"1\"}"
@@ -176,6 +181,7 @@ Files::Automation.update(id,
176
181
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
177
182
  * `schedule` (object): Custom schedule for running this automation.
178
183
  * `description` (string): Description for the this Automation.
184
+ * `disabled` (boolean): If true, this automation will not run.
179
185
  * `name` (string): Name for this automation.
180
186
  * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
181
187
  * `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
@@ -210,6 +216,7 @@ automation.update(
210
216
  user_ids: [1,2],
211
217
  group_ids: [1,2],
212
218
  schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
219
+ disabled: true,
213
220
  trigger: "realtime",
214
221
  trigger_actions: "[ \"create\" ]",
215
222
  value: "{\"limit\": \"1\"}"
@@ -231,6 +238,7 @@ automation.update(
231
238
  * `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
232
239
  * `schedule` (object): Custom schedule for running this automation.
233
240
  * `description` (string): Description for the this Automation.
241
+ * `disabled` (boolean): If true, this automation will not run.
234
242
  * `name` (string): Name for this automation.
235
243
  * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
236
244
  * `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
@@ -27,6 +27,15 @@ module Files
27
27
  @attributes[:automation] = value
28
28
  end
29
29
 
30
+ # boolean - If true, this automation will not run.
31
+ def disabled
32
+ @attributes[:disabled]
33
+ end
34
+
35
+ def disabled=(value)
36
+ @attributes[:disabled] = value
37
+ end
38
+
30
39
  # string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
31
40
  def trigger
32
41
  @attributes[:trigger]
@@ -193,6 +202,7 @@ module Files
193
202
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
194
203
  # schedule - object - Custom schedule for running this automation.
195
204
  # description - string - Description for the this Automation.
205
+ # disabled - boolean - If true, this automation will not run.
196
206
  # name - string - Name for this automation.
197
207
  # trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
198
208
  # 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
@@ -306,6 +316,7 @@ module Files
306
316
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
307
317
  # schedule - object - Custom schedule for running this automation.
308
318
  # description - string - Description for the this Automation.
319
+ # disabled - boolean - If true, this automation will not run.
309
320
  # name - string - Name for this automation.
310
321
  # trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
311
322
  # 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
@@ -346,6 +357,7 @@ module Files
346
357
  # group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
347
358
  # schedule - object - Custom schedule for running this automation.
348
359
  # description - string - Description for the this Automation.
360
+ # disabled - boolean - If true, this automation will not run.
349
361
  # name - string - Name for this automation.
350
362
  # trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
351
363
  # 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
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.255
4
+ version: 1.0.256
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-04-03 00:00:00.000000000 Z
11
+ date: 2022-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable