files.com 1.0.296 → 1.0.297

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.296
1
+ 1.0.297
@@ -8,7 +8,7 @@
8
8
  "automation": "create_folder",
9
9
  "deleted": true,
10
10
  "disabled": true,
11
- "trigger": "realtime",
11
+ "trigger": "daily",
12
12
  "interval": "week",
13
13
  "last_modified_at": "2000-01-01T01:00:00Z",
14
14
  "name": "example",
@@ -49,13 +49,13 @@
49
49
  * `automation` (string): Automation type
50
50
  * `deleted` (boolean): Indicates if the automation has been deleted.
51
51
  * `disabled` (boolean): If true, this automation will not run.
52
- * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
52
+ * `trigger` (string): How this automation is triggered to run.
53
53
  * `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`
54
54
  * `last_modified_at` (date-time): Time when automation was last modified. Does not change for name or description updates.
55
55
  * `name` (string): Name for this automation.
56
56
  * `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
57
57
  * `source` (string): Source Path
58
- * `destinations` (array): Destination Path
58
+ * `destinations` (array): Destination Paths
59
59
  * `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
60
60
  * `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
61
61
  * `description` (string): Description for the this Automation.
@@ -126,7 +126,7 @@ await Automation.create({
126
126
  'description': "example",
127
127
  'disabled': true,
128
128
  'name': "example",
129
- 'trigger': "realtime",
129
+ 'trigger': "daily",
130
130
  'trigger_actions': ["create"],
131
131
  'value': {"limit":"1"},
132
132
  'recurring_day': 25,
@@ -151,7 +151,7 @@ await Automation.create({
151
151
  * `description` (string): Description for the this Automation.
152
152
  * `disabled` (boolean): If true, this automation will not run.
153
153
  * `name` (string): Name for this automation.
154
- * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
154
+ * `trigger` (string): How this automation is triggered to run.
155
155
  * `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
156
156
  * `value` (object): A Hash of attributes specific to the automation type.
157
157
  * `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`.
@@ -193,7 +193,7 @@ await automation.update({
193
193
  'description': "example",
194
194
  'disabled': true,
195
195
  'name': "example",
196
- 'trigger': "realtime",
196
+ 'trigger': "daily",
197
197
  'trigger_actions': ["create"],
198
198
  'value': {"limit":"1"},
199
199
  'recurring_day': 25,
@@ -218,7 +218,7 @@ await automation.update({
218
218
  * `description` (string): Description for the this Automation.
219
219
  * `disabled` (boolean): If true, this automation will not run.
220
220
  * `name` (string): Name for this automation.
221
- * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
221
+ * `trigger` (string): How this automation is triggered to run.
222
222
  * `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
223
223
  * `value` (object): A Hash of attributes specific to the automation type.
224
224
  * `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`.
@@ -232,7 +232,7 @@ await automation.update({
232
232
  "automation": "create_folder",
233
233
  "deleted": true,
234
234
  "disabled": true,
235
- "trigger": "realtime",
235
+ "trigger": "daily",
236
236
  "interval": "week",
237
237
  "last_modified_at": "2000-01-01T01:00:00Z",
238
238
  "name": "example",
@@ -59,7 +59,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
59
59
  (0, _defineProperty2.default)(this, "setDisabled", function (value) {
60
60
  _this.attributes.disabled = value;
61
61
  });
62
- // string # How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
62
+ // string # How this automation is triggered to run.
63
63
  (0, _defineProperty2.default)(this, "getTrigger", function () {
64
64
  return _this.attributes.trigger;
65
65
  });
@@ -101,7 +101,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
101
101
  (0, _defineProperty2.default)(this, "setSource", function (value) {
102
102
  _this.attributes.source = value;
103
103
  });
104
- // array # Destination Path
104
+ // array # Destination Paths
105
105
  (0, _defineProperty2.default)(this, "getDestinations", function () {
106
106
  return _this.attributes.destinations;
107
107
  });
@@ -267,7 +267,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
267
267
  // description - string - Description for the this Automation.
268
268
  // disabled - boolean - If true, this automation will not run.
269
269
  // name - string - Name for this automation.
270
- // trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
270
+ // trigger - string - How this automation is triggered to run.
271
271
  // 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
272
272
  // value - object - A Hash of attributes specific to the automation type.
273
273
  // 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`.
@@ -616,7 +616,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
616
616
  // description - string - Description for the this Automation.
617
617
  // disabled - boolean - If true, this automation will not run.
618
618
  // name - string - Name for this automation.
619
- // trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
619
+ // trigger - string - How this automation is triggered to run.
620
620
  // 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
621
621
  // value - object - A Hash of attributes specific to the automation type.
622
622
  // 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`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.296",
3
+ "version": "1.0.297",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -51,7 +51,7 @@ class Automation {
51
51
  this.attributes.disabled = value
52
52
  }
53
53
 
54
- // string # How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
54
+ // string # How this automation is triggered to run.
55
55
  getTrigger = () => this.attributes.trigger
56
56
 
57
57
  setTrigger = value => {
@@ -93,7 +93,7 @@ class Automation {
93
93
  this.attributes.source = value
94
94
  }
95
95
 
96
- // array # Destination Path
96
+ // array # Destination Paths
97
97
  getDestinations = () => this.attributes.destinations
98
98
 
99
99
  setDestinations = value => {
@@ -235,7 +235,7 @@ class Automation {
235
235
  // description - string - Description for the this Automation.
236
236
  // disabled - boolean - If true, this automation will not run.
237
237
  // name - string - Name for this automation.
238
- // trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
238
+ // trigger - string - How this automation is triggered to run.
239
239
  // 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
240
240
  // value - object - A Hash of attributes specific to the automation type.
241
241
  // 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`.
@@ -422,7 +422,7 @@ class Automation {
422
422
  // description - string - Description for the this Automation.
423
423
  // disabled - boolean - If true, this automation will not run.
424
424
  // name - string - Name for this automation.
425
- // trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
425
+ // trigger - string - How this automation is triggered to run.
426
426
  // 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
427
427
  // value - object - A Hash of attributes specific to the automation type.
428
428
  // 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`.