files.com 1.0.333 → 1.0.335

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f66268de3c346a62ee07907abf6c0ee4454c32033cd00592d3336b3a043f2c02
4
- data.tar.gz: '086fc0447193c38583978c16675231da91bbb536c118f14178419d953e55273e'
3
+ metadata.gz: 2bb8ed7d2b6b62be749d2946f216069d2ba54737bd555c7320ccae31441e1213
4
+ data.tar.gz: 23be34ec31a3b6b0e2bdf5c9e23de568aba4742e413da8d2fe549b866a9aa582
5
5
  SHA512:
6
- metadata.gz: fcb8126dd3284ab0650357d28123aa57ff642d3a7776870649cea3db2170f80d5c62b47ec591320e3eeac72872f165bb2106652e8c93fb6dce9debaa67e18054
7
- data.tar.gz: 6c13961ae3b576c4364d6649b80f70b43ad4b82fe2a422573832fdd56a2f88cd7e95517f49f844f3534a7b04d4502a4b74d16d2960e6812a5dbda3084de1d6da
6
+ metadata.gz: 9fac595f488df3404462796613571896ebd7bb8326c21d8f294b474b0aba1b5ab4c08c107c82b96e9d5f0dd628f20e9b67d9f09794f1cc31c6567517dd377242
7
+ data.tar.gz: 6381f0cb8938f2942a085360394d2eab3ce3dafee5e0b6fcc3693e6bccf68679d4e79191c67801ba544419822eefd68583f8a1e25cf74c3dd88e2b4ee58ec1cc
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.333
1
+ 1.0.335
data/docs/automation.md CHANGED
@@ -20,6 +20,7 @@
20
20
  "destination_replace_from": "example",
21
21
  "destination_replace_to": "example",
22
22
  "description": "example",
23
+ "recurring_day": 25,
23
24
  "path": "example",
24
25
  "user_id": 1,
25
26
  "sync_ids": [
@@ -58,6 +59,7 @@
58
59
  * `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
59
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.
60
61
  * `description` (string): Description for the this Automation.
62
+ * `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`.
61
63
  * `path` (string): Path on which this Automation runs. Supports globs. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
62
64
  * `user_id` (int64): User ID of the Automation's creator.
63
65
  * `sync_ids` (array): IDs of remote sync folder behaviors to run by this Automation
@@ -130,6 +132,7 @@ Files::Automation.create(
130
132
  trigger: "realtime",
131
133
  trigger_actions: ["create"],
132
134
  value: {"limit":"1"},
135
+ recurring_day: 25,
133
136
  automation: "create_folder"
134
137
  )
135
138
  ```
@@ -153,6 +156,7 @@ Files::Automation.create(
153
156
  * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
154
157
  * `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
158
  * `value` (object): A Hash of attributes specific to the automation type.
159
+ * `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`.
156
160
  * `automation` (string): Required - Automation type
157
161
 
158
162
 
@@ -178,6 +182,7 @@ Files::Automation.update(id,
178
182
  trigger: "realtime",
179
183
  trigger_actions: ["create"],
180
184
  value: {"limit":"1"},
185
+ recurring_day: 25,
181
186
  automation: "create_folder"
182
187
  )
183
188
  ```
@@ -202,6 +207,7 @@ Files::Automation.update(id,
202
207
  * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
203
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
204
209
  * `value` (object): A Hash of attributes specific to the automation type.
210
+ * `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`.
205
211
  * `automation` (string): Automation type
206
212
 
207
213
 
@@ -242,6 +248,7 @@ automation.update(
242
248
  trigger: "realtime",
243
249
  trigger_actions: ["create"],
244
250
  value: {"limit":"1"},
251
+ recurring_day: 25,
245
252
  automation: "create_folder"
246
253
  )
247
254
  ```
@@ -266,6 +273,7 @@ automation.update(
266
273
  * `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
267
274
  * `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
268
275
  * `value` (object): A Hash of attributes specific to the automation type.
276
+ * `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`.
269
277
  * `automation` (string): Automation type
270
278
 
271
279
 
data/docs/site.md CHANGED
@@ -93,8 +93,6 @@
93
93
  "office_integration_type": "example",
94
94
  "oncehub_link": "https://go.oncehub.com/files",
95
95
  "opt_out_global": true,
96
- "overage_notified_at": "2000-01-01T01:00:00Z",
97
- "overage_notify": true,
98
96
  "overdue": true,
99
97
  "password_min_length": 1,
100
98
  "password_require_letter": true,
@@ -239,8 +237,6 @@
239
237
  * `office_integration_type` (string): Office integration application used to edit and view the MS Office documents
240
238
  * `oncehub_link` (string): Link to scheduling a meeting with our Sales team
241
239
  * `opt_out_global` (boolean): Use servers in the USA only?
242
- * `overage_notified_at` (date-time): Last time the site was notified about an overage
243
- * `overage_notify` (boolean): Notify site email of overages?
244
240
  * `overdue` (boolean): Is this site's billing overdue?
245
241
  * `password_min_length` (int64): Shortest password length for users
246
242
  * `password_require_letter` (boolean): Require a letter in passwords?
@@ -330,7 +326,6 @@ Files::Site.update(
330
326
  reply_to_email: "example",
331
327
  allow_bundle_names: true,
332
328
  bundle_expiration: 1,
333
- overage_notify: true,
334
329
  welcome_email_enabled: true,
335
330
  ask_about_overwrites: true,
336
331
  show_request_access_link: true,
@@ -460,7 +455,6 @@ Files::Site.update(
460
455
  * `reply_to_email` (string): Reply-to email for this site
461
456
  * `allow_bundle_names` (boolean): Are manual Bundle names allowed?
462
457
  * `bundle_expiration` (int64): Site-wide Bundle expiration in days
463
- * `overage_notify` (boolean): Notify site email of overages?
464
458
  * `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
465
459
  * `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
466
460
  * `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
@@ -135,6 +135,15 @@ module Files
135
135
  @attributes[:description] = value
136
136
  end
137
137
 
138
+ # int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
139
+ def recurring_day
140
+ @attributes[:recurring_day]
141
+ end
142
+
143
+ def recurring_day=(value)
144
+ @attributes[:recurring_day] = value
145
+ end
146
+
138
147
  # string - Path on which this Automation runs. Supports globs. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
139
148
  def path
140
149
  @attributes[:path]
@@ -234,6 +243,7 @@ module Files
234
243
  # trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
235
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
236
245
  # value - object - A Hash of attributes specific to the automation type.
246
+ # 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`.
237
247
  # automation - string - Automation type
238
248
  def update(params = {})
239
249
  params ||= {}
@@ -254,6 +264,7 @@ module Files
254
264
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
255
265
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
256
266
  raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
267
+ raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
257
268
  raise InvalidParameterError.new("Bad parameter: automation must be an String") if params[:automation] and !params[:automation].is_a?(String)
258
269
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
259
270
 
@@ -348,6 +359,7 @@ module Files
348
359
  # trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
349
360
  # 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
350
361
  # value - object - A Hash of attributes specific to the automation type.
362
+ # 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`.
351
363
  # automation (required) - string - Automation type
352
364
  def self.create(params = {}, options = {})
353
365
  raise InvalidParameterError.new("Bad parameter: source must be an String") if params[:source] and !params[:source].is_a?(String)
@@ -366,6 +378,7 @@ module Files
366
378
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
367
379
  raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
368
380
  raise InvalidParameterError.new("Bad parameter: value must be an Hash") if params[:value] and !params[:value].is_a?(Hash)
381
+ raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
369
382
  raise InvalidParameterError.new("Bad parameter: automation must be an String") if params[:automation] and !params[:automation].is_a?(String)
370
383
  raise MissingParameterError.new("Parameter missing: automation") unless params[:automation]
371
384
 
@@ -391,6 +404,7 @@ module Files
391
404
  # trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
392
405
  # 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
393
406
  # value - object - A Hash of attributes specific to the automation type.
407
+ # 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`.
394
408
  # automation - string - Automation type
395
409
  def self.update(id, params = {}, options = {})
396
410
  params ||= {}
@@ -412,6 +426,7 @@ module Files
412
426
  raise InvalidParameterError.new("Bad parameter: trigger must be an String") if params[:trigger] and !params[:trigger].is_a?(String)
413
427
  raise InvalidParameterError.new("Bad parameter: trigger_actions must be an Array") if params[:trigger_actions] and !params[:trigger_actions].is_a?(Array)
414
428
  raise InvalidParameterError.new("Bad parameter: value must be an Hash") if params[:value] and !params[:value].is_a?(Hash)
429
+ raise InvalidParameterError.new("Bad parameter: recurring_day must be an Integer") if params[:recurring_day] and !params[:recurring_day].is_a?(Integer)
415
430
  raise InvalidParameterError.new("Bad parameter: automation must be an String") if params[:automation] and !params[:automation].is_a?(String)
416
431
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
417
432
 
@@ -444,16 +444,6 @@ module Files
444
444
  @attributes[:opt_out_global]
445
445
  end
446
446
 
447
- # date-time - Last time the site was notified about an overage
448
- def overage_notified_at
449
- @attributes[:overage_notified_at]
450
- end
451
-
452
- # boolean - Notify site email of overages?
453
- def overage_notify
454
- @attributes[:overage_notify]
455
- end
456
-
457
447
  # boolean - Is this site's billing overdue?
458
448
  def overdue
459
449
  @attributes[:overdue]
@@ -744,7 +734,6 @@ module Files
744
734
  # reply_to_email - string - Reply-to email for this site
745
735
  # allow_bundle_names - boolean - Are manual Bundle names allowed?
746
736
  # bundle_expiration - int64 - Site-wide Bundle expiration in days
747
- # overage_notify - boolean - Notify site email of overages?
748
737
  # welcome_email_enabled - boolean - Will the welcome email be sent to new users?
749
738
  # ask_about_overwrites - boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
750
739
  # show_request_access_link - boolean - Show request access link for users without access? Currently unused.
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.333
4
+ version: 1.0.335
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-28 00:00:00.000000000 Z
11
+ date: 2023-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable