files.com 1.1.604 → 1.1.606
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.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/clickwrap.md +4 -4
- data/docs/notification.md +8 -0
- data/lib/files.com/models/clickwrap.rb +4 -4
- data/lib/files.com/models/notification.rb +15 -0
- data/lib/files.com/version.rb +1 -1
- 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: bcea2f73759be6497b990dda431e103791e52a802d152204964b6326fa10b1fe
|
|
4
|
+
data.tar.gz: add0d09637d06150d1b927e37f87b25fced8ad8272aff3e0d7ab368fcbe8179e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 552e7ec8fa51eb57daff1162a763d9e7cab01339be50be9afc0630e53c6650b2dda31ad163e363e9260ee1c76a567c5e800256654947fb7161415aaa52d22acc
|
|
7
|
+
data.tar.gz: '059ee6bfe5f55c7e50db8cd7dea3f9d87f4181b664813009b61235137f136a6a9beb539e404c58f8975c4359f7c047cf9213a040c89e29a374a588d1f7240a8d'
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.606
|
data/docs/clickwrap.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* `id` (int64): Clickwrap ID
|
|
17
17
|
* `name` (string): Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.)
|
|
18
18
|
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
|
19
|
-
* `use_with_users` (string): Use this Clickwrap for
|
|
19
|
+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
20
20
|
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
|
21
21
|
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
|
22
22
|
|
|
@@ -69,7 +69,7 @@ Files::Clickwrap.create(
|
|
|
69
69
|
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
|
70
70
|
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
|
71
71
|
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
|
72
|
-
* `use_with_users` (string): Use this Clickwrap for
|
|
72
|
+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
---
|
|
@@ -93,7 +93,7 @@ Files::Clickwrap.update(id,
|
|
|
93
93
|
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
|
94
94
|
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
|
95
95
|
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
|
96
|
-
* `use_with_users` (string): Use this Clickwrap for
|
|
96
|
+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
---
|
|
@@ -132,7 +132,7 @@ clickwrap.update(
|
|
|
132
132
|
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
|
133
133
|
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
|
134
134
|
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
|
135
|
-
* `use_with_users` (string): Use this Clickwrap for
|
|
135
|
+
* `use_with_users` (string): Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
---
|
data/docs/notification.md
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"notify_on_upload": true,
|
|
30
30
|
"recursive": true,
|
|
31
31
|
"send_interval": "fifteen_minutes",
|
|
32
|
+
"subject": "Vendor A CSV Activity",
|
|
32
33
|
"message": "custom notification email message",
|
|
33
34
|
"triggering_filenames": [
|
|
34
35
|
"*.jpg",
|
|
@@ -59,6 +60,7 @@
|
|
|
59
60
|
* `notify_on_upload` (boolean): Trigger on files created/uploaded/updated/changed in this path?
|
|
60
61
|
* `recursive` (boolean): Apply notification recursively? This will enable notifications for each subfolder.
|
|
61
62
|
* `send_interval` (string): The time interval that notifications are aggregated to
|
|
63
|
+
* `subject` (string): Custom subject line to use for notification emails
|
|
62
64
|
* `message` (string): Custom message to include in notification emails
|
|
63
65
|
* `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to scope trigger
|
|
64
66
|
* `unsubscribed` (boolean): Is the user unsubscribed from this notification?
|
|
@@ -119,6 +121,7 @@ Files::Notification.create(
|
|
|
119
121
|
notify_user_actions: false,
|
|
120
122
|
recursive: false,
|
|
121
123
|
send_interval: "daily",
|
|
124
|
+
subject: "Vendor A CSV Activity",
|
|
122
125
|
message: "custom notification email message",
|
|
123
126
|
triggering_filenames: ["*.jpg","notify_file.txt"],
|
|
124
127
|
triggering_group_ids: [1],
|
|
@@ -141,6 +144,7 @@ Files::Notification.create(
|
|
|
141
144
|
* `notify_user_actions` (boolean): If `true` actions initiated by the user will still result in a notification
|
|
142
145
|
* `recursive` (boolean): If `true`, enable notifications for each subfolder in this path
|
|
143
146
|
* `send_interval` (string): The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
|
|
147
|
+
* `subject` (string): Custom subject line to use for notification emails
|
|
144
148
|
* `message` (string): Custom message to include in notification emails
|
|
145
149
|
* `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to scope trigger
|
|
146
150
|
* `triggering_group_ids` (array(int64)): If set, will only notify on actions made by a member of one of the specified groups
|
|
@@ -166,6 +170,7 @@ Files::Notification.update(id,
|
|
|
166
170
|
notify_user_actions: false,
|
|
167
171
|
recursive: false,
|
|
168
172
|
send_interval: "daily",
|
|
173
|
+
subject: "Vendor A CSV Activity",
|
|
169
174
|
message: "custom notification email message",
|
|
170
175
|
triggering_filenames: ["*.jpg","notify_file.txt"],
|
|
171
176
|
triggering_group_ids: [1],
|
|
@@ -185,6 +190,7 @@ Files::Notification.update(id,
|
|
|
185
190
|
* `notify_user_actions` (boolean): If `true` actions initiated by the user will still result in a notification
|
|
186
191
|
* `recursive` (boolean): If `true`, enable notifications for each subfolder in this path
|
|
187
192
|
* `send_interval` (string): The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
|
|
193
|
+
* `subject` (string): Custom subject line to use for notification emails
|
|
188
194
|
* `message` (string): Custom message to include in notification emails
|
|
189
195
|
* `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to scope trigger
|
|
190
196
|
* `triggering_group_ids` (array(int64)): If set, will only notify on actions made by a member of one of the specified groups
|
|
@@ -221,6 +227,7 @@ notification.update(
|
|
|
221
227
|
notify_user_actions: false,
|
|
222
228
|
recursive: false,
|
|
223
229
|
send_interval: "daily",
|
|
230
|
+
subject: "Vendor A CSV Activity",
|
|
224
231
|
message: "custom notification email message",
|
|
225
232
|
triggering_filenames: ["*.jpg","notify_file.txt"],
|
|
226
233
|
triggering_group_ids: [1],
|
|
@@ -240,6 +247,7 @@ notification.update(
|
|
|
240
247
|
* `notify_user_actions` (boolean): If `true` actions initiated by the user will still result in a notification
|
|
241
248
|
* `recursive` (boolean): If `true`, enable notifications for each subfolder in this path
|
|
242
249
|
* `send_interval` (string): The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
|
|
250
|
+
* `subject` (string): Custom subject line to use for notification emails
|
|
243
251
|
* `message` (string): Custom message to include in notification emails
|
|
244
252
|
* `triggering_filenames` (array(string)): Array of filenames (possibly with wildcards) to scope trigger
|
|
245
253
|
* `triggering_group_ids` (array(int64)): If set, will only notify on actions made by a member of one of the specified groups
|
|
@@ -36,7 +36,7 @@ module Files
|
|
|
36
36
|
@attributes[:body] = value
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
# string - Use this Clickwrap for
|
|
39
|
+
# string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
40
40
|
def use_with_users
|
|
41
41
|
@attributes[:use_with_users]
|
|
42
42
|
end
|
|
@@ -68,7 +68,7 @@ module Files
|
|
|
68
68
|
# body - string - Body text of Clickwrap (supports Markdown formatting).
|
|
69
69
|
# use_with_bundles - string - Use this Clickwrap for Bundles?
|
|
70
70
|
# use_with_inboxes - string - Use this Clickwrap for Inboxes?
|
|
71
|
-
# use_with_users - string - Use this Clickwrap for
|
|
71
|
+
# use_with_users - string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
72
72
|
def update(params = {})
|
|
73
73
|
params ||= {}
|
|
74
74
|
params[:id] = @attributes[:id]
|
|
@@ -149,7 +149,7 @@ module Files
|
|
|
149
149
|
# body - string - Body text of Clickwrap (supports Markdown formatting).
|
|
150
150
|
# use_with_bundles - string - Use this Clickwrap for Bundles?
|
|
151
151
|
# use_with_inboxes - string - Use this Clickwrap for Inboxes?
|
|
152
|
-
# use_with_users - string - Use this Clickwrap for
|
|
152
|
+
# use_with_users - string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
153
153
|
def self.create(params = {}, options = {})
|
|
154
154
|
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
155
155
|
raise InvalidParameterError.new("Bad parameter: body must be an String") if params[:body] and !params[:body].is_a?(String)
|
|
@@ -166,7 +166,7 @@ module Files
|
|
|
166
166
|
# body - string - Body text of Clickwrap (supports Markdown formatting).
|
|
167
167
|
# use_with_bundles - string - Use this Clickwrap for Bundles?
|
|
168
168
|
# use_with_inboxes - string - Use this Clickwrap for Inboxes?
|
|
169
|
-
# use_with_users - string - Use this Clickwrap for
|
|
169
|
+
# use_with_users - string - Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
|
|
170
170
|
def self.update(id, params = {}, options = {})
|
|
171
171
|
params ||= {}
|
|
172
172
|
params[:id] = id
|
|
@@ -162,6 +162,15 @@ module Files
|
|
|
162
162
|
@attributes[:send_interval] = value
|
|
163
163
|
end
|
|
164
164
|
|
|
165
|
+
# string - Custom subject line to use for notification emails
|
|
166
|
+
def subject
|
|
167
|
+
@attributes[:subject]
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
def subject=(value)
|
|
171
|
+
@attributes[:subject] = value
|
|
172
|
+
end
|
|
173
|
+
|
|
165
174
|
# string - Custom message to include in notification emails
|
|
166
175
|
def message
|
|
167
176
|
@attributes[:message]
|
|
@@ -234,6 +243,7 @@ module Files
|
|
|
234
243
|
# notify_user_actions - boolean - If `true` actions initiated by the user will still result in a notification
|
|
235
244
|
# recursive - boolean - If `true`, enable notifications for each subfolder in this path
|
|
236
245
|
# send_interval - string - The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
|
|
246
|
+
# subject - string - Custom subject line to use for notification emails
|
|
237
247
|
# message - string - Custom message to include in notification emails
|
|
238
248
|
# triggering_filenames - array(string) - Array of filenames (possibly with wildcards) to scope trigger
|
|
239
249
|
# triggering_group_ids - array(int64) - If set, will only notify on actions made by a member of one of the specified groups
|
|
@@ -245,6 +255,7 @@ module Files
|
|
|
245
255
|
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
246
256
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
247
257
|
raise InvalidParameterError.new("Bad parameter: send_interval must be an String") if params[:send_interval] and !params[:send_interval].is_a?(String)
|
|
258
|
+
raise InvalidParameterError.new("Bad parameter: subject must be an String") if params[:subject] and !params[:subject].is_a?(String)
|
|
248
259
|
raise InvalidParameterError.new("Bad parameter: message must be an String") if params[:message] and !params[:message].is_a?(String)
|
|
249
260
|
raise InvalidParameterError.new("Bad parameter: triggering_filenames must be an Array") if params[:triggering_filenames] and !params[:triggering_filenames].is_a?(Array)
|
|
250
261
|
raise InvalidParameterError.new("Bad parameter: triggering_group_ids must be an Array") if params[:triggering_group_ids] and !params[:triggering_group_ids].is_a?(Array)
|
|
@@ -333,6 +344,7 @@ module Files
|
|
|
333
344
|
# notify_user_actions - boolean - If `true` actions initiated by the user will still result in a notification
|
|
334
345
|
# recursive - boolean - If `true`, enable notifications for each subfolder in this path
|
|
335
346
|
# send_interval - string - The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
|
|
347
|
+
# subject - string - Custom subject line to use for notification emails
|
|
336
348
|
# message - string - Custom message to include in notification emails
|
|
337
349
|
# triggering_filenames - array(string) - Array of filenames (possibly with wildcards) to scope trigger
|
|
338
350
|
# triggering_group_ids - array(int64) - If set, will only notify on actions made by a member of one of the specified groups
|
|
@@ -345,6 +357,7 @@ module Files
|
|
|
345
357
|
def self.create(params = {}, options = {})
|
|
346
358
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
|
347
359
|
raise InvalidParameterError.new("Bad parameter: send_interval must be an String") if params[:send_interval] and !params[:send_interval].is_a?(String)
|
|
360
|
+
raise InvalidParameterError.new("Bad parameter: subject must be an String") if params[:subject] and !params[:subject].is_a?(String)
|
|
348
361
|
raise InvalidParameterError.new("Bad parameter: message must be an String") if params[:message] and !params[:message].is_a?(String)
|
|
349
362
|
raise InvalidParameterError.new("Bad parameter: triggering_filenames must be an Array") if params[:triggering_filenames] and !params[:triggering_filenames].is_a?(Array)
|
|
350
363
|
raise InvalidParameterError.new("Bad parameter: triggering_group_ids must be an Array") if params[:triggering_group_ids] and !params[:triggering_group_ids].is_a?(Array)
|
|
@@ -367,6 +380,7 @@ module Files
|
|
|
367
380
|
# notify_user_actions - boolean - If `true` actions initiated by the user will still result in a notification
|
|
368
381
|
# recursive - boolean - If `true`, enable notifications for each subfolder in this path
|
|
369
382
|
# send_interval - string - The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
|
|
383
|
+
# subject - string - Custom subject line to use for notification emails
|
|
370
384
|
# message - string - Custom message to include in notification emails
|
|
371
385
|
# triggering_filenames - array(string) - Array of filenames (possibly with wildcards) to scope trigger
|
|
372
386
|
# triggering_group_ids - array(int64) - If set, will only notify on actions made by a member of one of the specified groups
|
|
@@ -377,6 +391,7 @@ module Files
|
|
|
377
391
|
params[:id] = id
|
|
378
392
|
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
379
393
|
raise InvalidParameterError.new("Bad parameter: send_interval must be an String") if params[:send_interval] and !params[:send_interval].is_a?(String)
|
|
394
|
+
raise InvalidParameterError.new("Bad parameter: subject must be an String") if params[:subject] and !params[:subject].is_a?(String)
|
|
380
395
|
raise InvalidParameterError.new("Bad parameter: message must be an String") if params[:message] and !params[:message].is_a?(String)
|
|
381
396
|
raise InvalidParameterError.new("Bad parameter: triggering_filenames must be an Array") if params[:triggering_filenames] and !params[:triggering_filenames].is_a?(Array)
|
|
382
397
|
raise InvalidParameterError.new("Bad parameter: triggering_group_ids must be an Array") if params[:triggering_group_ids] and !params[:triggering_group_ids].is_a?(Array)
|
data/lib/files.com/version.rb
CHANGED
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.1.
|
|
4
|
+
version: 1.1.606
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|