files.com 1.1.660 → 1.1.661

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82209e3d411a0f6df1666efe608ea199a5293809e6cb7a20d4acbe7093e42695
4
- data.tar.gz: 88273779926a5da5cb0f365bee0a3eaedcca4964883477897f6c60da311ecd64
3
+ metadata.gz: f5d1657cd2960ca08a61d277113bab0c606889dbcd13de1a0f0101f60bce5cf5
4
+ data.tar.gz: 454cec2c47344387c5ecf6bcb290ec2e23563f4213d98a27143619e0ed5de982
5
5
  SHA512:
6
- metadata.gz: 80f6239481ce085d7b19ebfd1f62c2d2b81f055ca5481cf8edf30813a63407ff3cad3e0df3c7cfa6609f44aec30eeebeb8705077d3b047c421fd3d99a919144b
7
- data.tar.gz: 9d105b1d03b25af9bb3d0d1ccabb08c1645baff7c83f34d53c87b28e728042a5fbd8b1860a7b851cd2e15e4376eb30401441d181d2b8cda11750f17e3ced7d18
6
+ metadata.gz: eb6e585c04932db0c0d34aceef06ad83f1f4ef7cd97adf00255e0ff26a9720098ef64b0903d35e9c963f21348bd926eae24f457b86d678b6469894cae21bc94f
7
+ data.tar.gz: 85eb230534050c522e8f42b21bffa8e505edc489b1a12e4ea6f2f7fdc40c5451371275085c0494b7e23489ac8f2b8da5c145c640f2632b12b1e648c7cc440e5f
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.660
1
+ 1.1.661
data/docs/bundle.md CHANGED
@@ -61,6 +61,7 @@
61
61
  "deleted_at": "2000-01-01T01:00:00Z",
62
62
  "dont_separate_submissions_by_folder": true,
63
63
  "max_uses": 1,
64
+ "internal_name": "Quarterly reports",
64
65
  "note": "The internal note on the bundle.",
65
66
  "path_template": "{{name}}_{{ip}}",
66
67
  "path_template_time_zone": "Eastern Time (US & Canada)",
@@ -122,6 +123,7 @@
122
123
  * `deleted_at` (date-time): Bundle deleted at date/time
123
124
  * `dont_separate_submissions_by_folder` (boolean): Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
124
125
  * `max_uses` (int64): Maximum number of times bundle can be accessed
126
+ * `internal_name` (string): Internal name for identifying this Share Link.
125
127
  * `note` (string): Bundle internal note
126
128
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
127
129
  * `path_template_time_zone` (string): Timezone to use when rendering timestamps in path templates.
@@ -207,6 +209,7 @@ Files::Bundle.create(
207
209
  finalize_snapshot: false,
208
210
  max_uses: 1,
209
211
  group_id: 1,
212
+ internal_name: "Quarterly reports",
210
213
  description: "The public description of the bundle.",
211
214
  note: "The internal note on the bundle.",
212
215
  code: "abc123",
@@ -241,6 +244,7 @@ Files::Bundle.create(
241
244
  * `finalize_snapshot` (boolean): If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
242
245
  * `max_uses` (int64): Maximum number of times bundle can be accessed
243
246
  * `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
247
+ * `internal_name` (string): Internal name for identifying this Share Link.
244
248
  * `description` (string): Public description
245
249
  * `note` (string): Bundle internal note
246
250
  * `code` (string): Bundle code. This code forms the end part of the Public URL.
@@ -302,6 +306,7 @@ Files::Bundle.update(id,
302
306
  inbox_id: 1,
303
307
  max_uses: 1,
304
308
  group_id: 1,
309
+ internal_name: "Quarterly reports",
305
310
  note: "The internal note on the bundle.",
306
311
  path_template: "{{name}}_{{ip}}",
307
312
  path_template_time_zone: "Eastern Time (US & Canada)",
@@ -337,6 +342,7 @@ Files::Bundle.update(id,
337
342
  * `inbox_id` (int64): ID of the associated inbox, if available.
338
343
  * `max_uses` (int64): Maximum number of times bundle can be accessed
339
344
  * `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
345
+ * `internal_name` (string): Internal name for identifying this Share Link.
340
346
  * `note` (string): Bundle internal note
341
347
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
342
348
  * `path_template_time_zone` (string): Timezone to use when rendering timestamps in path templates.
@@ -412,6 +418,7 @@ bundle.update(
412
418
  inbox_id: 1,
413
419
  max_uses: 1,
414
420
  group_id: 1,
421
+ internal_name: "Quarterly reports",
415
422
  note: "The internal note on the bundle.",
416
423
  path_template: "{{name}}_{{ip}}",
417
424
  path_template_time_zone: "Eastern Time (US & Canada)",
@@ -447,6 +454,7 @@ bundle.update(
447
454
  * `inbox_id` (int64): ID of the associated inbox, if available.
448
455
  * `max_uses` (int64): Maximum number of times bundle can be accessed
449
456
  * `group_id` (int64): Owning group ID. If set, members of this group can view, edit, and share this Share Link.
457
+ * `internal_name` (string): Internal name for identifying this Share Link.
450
458
  * `note` (string): Bundle internal note
451
459
  * `path_template` (string): Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
452
460
  * `path_template_time_zone` (string): Timezone to use when rendering timestamps in path templates.
@@ -257,6 +257,15 @@ module Files
257
257
  @attributes[:max_uses] = value
258
258
  end
259
259
 
260
+ # string - Internal name for identifying this Share Link.
261
+ def internal_name
262
+ @attributes[:internal_name]
263
+ end
264
+
265
+ def internal_name=(value)
266
+ @attributes[:internal_name] = value
267
+ end
268
+
260
269
  # string - Bundle internal note
261
270
  def note
262
271
  @attributes[:note]
@@ -507,6 +516,7 @@ module Files
507
516
  # inbox_id - int64 - ID of the associated inbox, if available.
508
517
  # max_uses - int64 - Maximum number of times bundle can be accessed
509
518
  # group_id - int64 - Owning group ID. If set, members of this group can view, edit, and share this Share Link.
519
+ # internal_name - string - Internal name for identifying this Share Link.
510
520
  # note - string - Bundle internal note
511
521
  # path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
512
522
  # path_template_time_zone - string - Timezone to use when rendering timestamps in path templates.
@@ -538,6 +548,7 @@ module Files
538
548
  raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
539
549
  raise InvalidParameterError.new("Bad parameter: max_uses must be an Integer") if params[:max_uses] and !params[:max_uses].is_a?(Integer)
540
550
  raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
551
+ raise InvalidParameterError.new("Bad parameter: internal_name must be an String") if params[:internal_name] and !params[:internal_name].is_a?(String)
541
552
  raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
542
553
  raise InvalidParameterError.new("Bad parameter: path_template must be an String") if params[:path_template] and !params[:path_template].is_a?(String)
543
554
  raise InvalidParameterError.new("Bad parameter: path_template_time_zone must be an String") if params[:path_template_time_zone] and !params[:path_template_time_zone].is_a?(String)
@@ -638,6 +649,7 @@ module Files
638
649
  # finalize_snapshot - boolean - If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
639
650
  # max_uses - int64 - Maximum number of times bundle can be accessed
640
651
  # group_id - int64 - Owning group ID. If set, members of this group can view, edit, and share this Share Link.
652
+ # internal_name - string - Internal name for identifying this Share Link.
641
653
  # description - string - Public description
642
654
  # note - string - Bundle internal note
643
655
  # code - string - Bundle code. This code forms the end part of the Public URL.
@@ -665,6 +677,7 @@ module Files
665
677
  raise InvalidParameterError.new("Bad parameter: expires_at must be an String") if params[:expires_at] and !params[:expires_at].is_a?(String)
666
678
  raise InvalidParameterError.new("Bad parameter: max_uses must be an Integer") if params[:max_uses] and !params[:max_uses].is_a?(Integer)
667
679
  raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
680
+ raise InvalidParameterError.new("Bad parameter: internal_name must be an String") if params[:internal_name] and !params[:internal_name].is_a?(String)
668
681
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
669
682
  raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
670
683
  raise InvalidParameterError.new("Bad parameter: code must be an String") if params[:code] and !params[:code].is_a?(String)
@@ -716,6 +729,7 @@ module Files
716
729
  # inbox_id - int64 - ID of the associated inbox, if available.
717
730
  # max_uses - int64 - Maximum number of times bundle can be accessed
718
731
  # group_id - int64 - Owning group ID. If set, members of this group can view, edit, and share this Share Link.
732
+ # internal_name - string - Internal name for identifying this Share Link.
719
733
  # note - string - Bundle internal note
720
734
  # path_template - string - Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
721
735
  # path_template_time_zone - string - Timezone to use when rendering timestamps in path templates.
@@ -746,6 +760,7 @@ module Files
746
760
  raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
747
761
  raise InvalidParameterError.new("Bad parameter: max_uses must be an Integer") if params[:max_uses] and !params[:max_uses].is_a?(Integer)
748
762
  raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
763
+ raise InvalidParameterError.new("Bad parameter: internal_name must be an String") if params[:internal_name] and !params[:internal_name].is_a?(String)
749
764
  raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
750
765
  raise InvalidParameterError.new("Bad parameter: path_template must be an String") if params[:path_template] and !params[:path_template].is_a?(String)
751
766
  raise InvalidParameterError.new("Bad parameter: path_template_time_zone must be an String") if params[:path_template_time_zone] and !params[:path_template_time_zone].is_a?(String)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.660"
4
+ VERSION = "1.1.661"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.660
4
+ version: 1.1.661
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com