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 CHANGED
@@ -1 +1 @@
1
- 1.0.199
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
- "[ \"create\" ]"
46
+ "create"
47
47
  ],
48
- "value": "{\"limit\": \"1\"}"
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': ["[ \"create\" ]"],
130
- 'value': "{\"limit\": \"1\"}",
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': ["[ \"create\" ]"],
173
- 'value': "{\"limit\": \"1\"}",
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
- "[ \"create\" ]"
244
+ "create"
243
245
  ],
244
- "value": "{\"limit\": \"1\"}"
246
+ "value": {
247
+ "limit": "1"
248
+ }
245
249
  }
246
250
  ```
247
251
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.199",
3
+ "version": "1.0.200",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",