files.com 1.0.173 → 1.0.174

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.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.173
1
+ 1.0.174
@@ -53,6 +53,12 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
53
53
  (0, _defineProperty2.default)(this, "setAutomation", function (value) {
54
54
  _this.attributes.automation = value;
55
55
  });
56
+ (0, _defineProperty2.default)(this, "getDisabled", function () {
57
+ return _this.attributes.disabled;
58
+ });
59
+ (0, _defineProperty2.default)(this, "setDisabled", function (value) {
60
+ _this.attributes.disabled = value;
61
+ });
56
62
  (0, _defineProperty2.default)(this, "getTrigger", function () {
57
63
  return _this.attributes.trigger;
58
64
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.173",
3
+ "version": "1.0.174",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -36,6 +36,13 @@ class Automation {
36
36
  this.attributes.automation = value
37
37
  }
38
38
 
39
+ // boolean # If true, this automation will not run.
40
+ getDisabled = () => this.attributes.disabled
41
+
42
+ setDisabled = value => {
43
+ this.attributes.disabled = value
44
+ }
45
+
39
46
  // string # How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
40
47
  getTrigger = () => this.attributes.trigger
41
48
 
@@ -169,6 +176,7 @@ class Automation {
169
176
  // group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
170
177
  // schedule - object - Custom schedule for running this automation.
171
178
  // description - string - Description for the this Automation.
179
+ // disabled - boolean - If true, this automation will not run.
172
180
  // name - string - Name for this automation.
173
181
  // trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
174
182
  // 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
@@ -360,6 +368,7 @@ class Automation {
360
368
  // group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
361
369
  // schedule - object - Custom schedule for running this automation.
362
370
  // description - string - Description for the this Automation.
371
+ // disabled - boolean - If true, this automation will not run.
363
372
  // name - string - Name for this automation.
364
373
  // trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
365
374
  // 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