files.com 1.0.199 → 1.0.200
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/Automation.md +12 -8
- package/package.json +1 -1
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.200
|
@@ -43,9 +43,11 @@
|
|
43
43
|
],
|
44
44
|
"webhook_url": "https://app.files.com/api/webhooks/abc123",
|
45
45
|
"trigger_actions": [
|
46
|
-
"
|
46
|
+
"create"
|
47
47
|
],
|
48
|
-
"value":
|
48
|
+
"value": {
|
49
|
+
"limit": "1"
|
50
|
+
}
|
49
51
|
}
|
50
52
|
```
|
51
53
|
|
@@ -126,8 +128,8 @@ await Automation.create({
|
|
126
128
|
'schedule': "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
|
127
129
|
'disabled': true,
|
128
130
|
'trigger': "realtime",
|
129
|
-
'trigger_actions': ["
|
130
|
-
'value':
|
131
|
+
'trigger_actions': ["create"],
|
132
|
+
'value': {"limit":"1"},
|
131
133
|
'automation': "create_folder",
|
132
134
|
})
|
133
135
|
```
|
@@ -169,8 +171,8 @@ await automation.update({
|
|
169
171
|
'schedule': "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
|
170
172
|
'disabled': true,
|
171
173
|
'trigger': "realtime",
|
172
|
-
'trigger_actions': ["
|
173
|
-
'value':
|
174
|
+
'trigger_actions': ["create"],
|
175
|
+
'value': {"limit":"1"},
|
174
176
|
'automation': "create_folder",
|
175
177
|
})
|
176
178
|
```
|
@@ -239,9 +241,11 @@ await automation.update({
|
|
239
241
|
],
|
240
242
|
"webhook_url": "https://app.files.com/api/webhooks/abc123",
|
241
243
|
"trigger_actions": [
|
242
|
-
"
|
244
|
+
"create"
|
243
245
|
],
|
244
|
-
"value":
|
246
|
+
"value": {
|
247
|
+
"limit": "1"
|
248
|
+
}
|
245
249
|
}
|
246
250
|
```
|
247
251
|
|