files.com 1.0.253 → 1.0.256
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/automation.md +8 -0
- data/docs/bundle.md +25 -1
- data/lib/files.com/models/automation.rb +12 -0
- data/lib/files.com/models/bundle.rb +36 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9195a63009ea82724c1f70c455c69c1ce1124b0b54c83566de49d9ac008fd35
|
4
|
+
data.tar.gz: cfcaf0ff12320d05963d10095971574688e87a26b295c114dd994a565a98afd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e66354f94244611812c8108620e9e19365622d83d846e6d0a0b404560aec18ea8135c8d4ef06bcd91ba10340753157d10b90055818a13fda4a383696f452b60
|
7
|
+
data.tar.gz: 91afdd1095d7ab9e516b05c241c75785c74ac4f8de4acf588f1bdeb5f6b3b11ac0cab3ba92a1b21a850330ee0ef61aa03efc1cb3077f81f89c88f8c55179b414
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
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
|
data/docs/bundle.md
CHANGED
@@ -39,6 +39,9 @@
|
|
39
39
|
"skip_email": true,
|
40
40
|
"skip_company": true
|
41
41
|
},
|
42
|
+
"skip_name": true,
|
43
|
+
"skip_email": true,
|
44
|
+
"skip_company": true,
|
42
45
|
"id": 1,
|
43
46
|
"created_at": "2000-01-01T01:00:00Z",
|
44
47
|
"expires_at": "2000-01-01T01:00:00Z",
|
@@ -69,6 +72,9 @@
|
|
69
72
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
70
73
|
* `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
|
71
74
|
* `form_field_set` (FormFieldSet): Custom Form to use
|
75
|
+
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
76
|
+
* `skip_email` (boolean): BundleRegistrations can be saved without providing email?
|
77
|
+
* `skip_company` (boolean): BundleRegistrations can be saved without providing company?
|
72
78
|
* `id` (int64): Bundle ID
|
73
79
|
* `created_at` (date-time): Bundle created at date/time
|
74
80
|
* `expires_at` (date-time): Bundle expiration date/time
|
@@ -145,7 +151,10 @@ Files::Bundle.create(
|
|
145
151
|
require_registration: true,
|
146
152
|
clickwrap_id: 1,
|
147
153
|
inbox_id: 1,
|
148
|
-
require_share_recipient: true
|
154
|
+
require_share_recipient: true,
|
155
|
+
skip_email: true,
|
156
|
+
skip_name: true,
|
157
|
+
skip_company: true
|
149
158
|
)
|
150
159
|
```
|
151
160
|
|
@@ -165,6 +174,9 @@ Files::Bundle.create(
|
|
165
174
|
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
166
175
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
167
176
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
177
|
+
* `skip_email` (boolean): BundleRegistrations can be saved without providing email?
|
178
|
+
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
179
|
+
* `skip_company` (boolean): BundleRegistrations can be saved without providing company?
|
168
180
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
169
181
|
|
170
182
|
|
@@ -207,6 +219,9 @@ Files::Bundle.update(id,
|
|
207
219
|
preview_only: true,
|
208
220
|
require_registration: true,
|
209
221
|
require_share_recipient: true,
|
222
|
+
skip_email: true,
|
223
|
+
skip_name: true,
|
224
|
+
skip_company: true,
|
210
225
|
watermark_attachment_delete: true
|
211
226
|
)
|
212
227
|
```
|
@@ -227,6 +242,9 @@ Files::Bundle.update(id,
|
|
227
242
|
* `preview_only` (boolean): Restrict users to previewing files only?
|
228
243
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
229
244
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
245
|
+
* `skip_email` (boolean): BundleRegistrations can be saved without providing email?
|
246
|
+
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
247
|
+
* `skip_company` (boolean): BundleRegistrations can be saved without providing company?
|
230
248
|
* `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
|
231
249
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
232
250
|
|
@@ -287,6 +305,9 @@ bundle.update(
|
|
287
305
|
preview_only: true,
|
288
306
|
require_registration: true,
|
289
307
|
require_share_recipient: true,
|
308
|
+
skip_email: true,
|
309
|
+
skip_name: true,
|
310
|
+
skip_company: true,
|
290
311
|
watermark_attachment_delete: true
|
291
312
|
)
|
292
313
|
```
|
@@ -307,6 +328,9 @@ bundle.update(
|
|
307
328
|
* `preview_only` (boolean): Restrict users to previewing files only?
|
308
329
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
309
330
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
331
|
+
* `skip_email` (boolean): BundleRegistrations can be saved without providing email?
|
332
|
+
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
333
|
+
* `skip_company` (boolean): BundleRegistrations can be saved without providing company?
|
310
334
|
* `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
|
311
335
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
312
336
|
|
@@ -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
|
@@ -90,6 +90,33 @@ module Files
|
|
90
90
|
@attributes[:form_field_set] = value
|
91
91
|
end
|
92
92
|
|
93
|
+
# boolean - BundleRegistrations can be saved without providing name?
|
94
|
+
def skip_name
|
95
|
+
@attributes[:skip_name]
|
96
|
+
end
|
97
|
+
|
98
|
+
def skip_name=(value)
|
99
|
+
@attributes[:skip_name] = value
|
100
|
+
end
|
101
|
+
|
102
|
+
# boolean - BundleRegistrations can be saved without providing email?
|
103
|
+
def skip_email
|
104
|
+
@attributes[:skip_email]
|
105
|
+
end
|
106
|
+
|
107
|
+
def skip_email=(value)
|
108
|
+
@attributes[:skip_email] = value
|
109
|
+
end
|
110
|
+
|
111
|
+
# boolean - BundleRegistrations can be saved without providing company?
|
112
|
+
def skip_company
|
113
|
+
@attributes[:skip_company]
|
114
|
+
end
|
115
|
+
|
116
|
+
def skip_company=(value)
|
117
|
+
@attributes[:skip_company] = value
|
118
|
+
end
|
119
|
+
|
93
120
|
# int64 - Bundle ID
|
94
121
|
def id
|
95
122
|
@attributes[:id]
|
@@ -272,6 +299,9 @@ module Files
|
|
272
299
|
# preview_only - boolean - Restrict users to previewing files only?
|
273
300
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
274
301
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
302
|
+
# skip_email - boolean - BundleRegistrations can be saved without providing email?
|
303
|
+
# skip_name - boolean - BundleRegistrations can be saved without providing name?
|
304
|
+
# skip_company - boolean - BundleRegistrations can be saved without providing company?
|
275
305
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
276
306
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
277
307
|
def update(params = {})
|
@@ -380,6 +410,9 @@ module Files
|
|
380
410
|
# clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
|
381
411
|
# inbox_id - int64 - ID of the associated inbox, if available.
|
382
412
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
413
|
+
# skip_email - boolean - BundleRegistrations can be saved without providing email?
|
414
|
+
# skip_name - boolean - BundleRegistrations can be saved without providing name?
|
415
|
+
# skip_company - boolean - BundleRegistrations can be saved without providing company?
|
383
416
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
384
417
|
def self.create(params = {}, options = {})
|
385
418
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
@@ -432,6 +465,9 @@ module Files
|
|
432
465
|
# preview_only - boolean - Restrict users to previewing files only?
|
433
466
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
434
467
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
468
|
+
# skip_email - boolean - BundleRegistrations can be saved without providing email?
|
469
|
+
# skip_name - boolean - BundleRegistrations can be saved without providing name?
|
470
|
+
# skip_company - boolean - BundleRegistrations can be saved without providing company?
|
435
471
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
436
472
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
437
473
|
def self.update(id, params = {}, options = {})
|
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.
|
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-
|
11
|
+
date: 2022-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|