files.com 1.1.121 → 1.1.122

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: dce63e3623a456f294fcc1ade271ecd32637c0eac3c143bb26cd88c5522132fa
4
- data.tar.gz: 239ce771db645f073d483cd935f7ffcae24682202953077ee1b7131b60f764c9
3
+ metadata.gz: a1a53a2c59353753b7e4dd055551fcfd38dc92cff2ab062e73acc5f7c081c7db
4
+ data.tar.gz: c02c359ea3171f4b49ffe87d3a8a49f1824f226a09dacee8217076e4b929a517
5
5
  SHA512:
6
- metadata.gz: 83e908df6f5dfb4d3ed6c86b3eef92bc6b2186fb33f323e54228c38802f5f3c334dd7cbd8a7c1347676966b07caaa6eb3b109974f3421bda00a8de506492a38b
7
- data.tar.gz: 40bbd944a1142e26ac288a575350601dd0869441b48692ce6e6ff7b35cd2b6693ae64d387fcc9fc3da6456480c0e5a5528405c778787e43363e652b890d22917
6
+ metadata.gz: 6d6bdbb9a2d5fb65e50ee1e1e8ecb72c404556dce96080be39d4d71a3d39430ef2649e0625a74f5bf14e73c9da7e307cef0f9d6c915a6d759165405c97267453
7
+ data.tar.gz: 920ae0bd2aa5fbf5a10af55e98d5a73f20108f78bff0ddeba3c1c6ad1b1f5b14c25e583b9f55ba11b1bc2355d0578459410a67397067ebbd3836db02c768951d
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.121
1
+ 1.1.122
data/docs/file.md CHANGED
@@ -113,6 +113,7 @@ Files::File.download(path,
113
113
  * `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
114
114
  * `with_previews` (boolean): Include file preview information?
115
115
  * `with_priority_color` (boolean): Include file priority color information?
116
+ * `point_in_time` (string): Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
116
117
 
117
118
 
118
119
  ---
@@ -291,6 +292,7 @@ file.download(
291
292
  * `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
292
293
  * `with_previews` (boolean): Include file preview information?
293
294
  * `with_priority_color` (boolean): Include file priority color information?
295
+ * `point_in_time` (string): Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
294
296
 
295
297
 
296
298
  ---
data/docs/folder.md CHANGED
@@ -113,6 +113,7 @@ Files::Folder.list_for(path,
113
113
  * `search_all` (boolean): Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the UI. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
114
114
  * `with_previews` (boolean): Include file previews?
115
115
  * `with_priority_color` (boolean): Include file priority color information?
116
+ * `point_in_time` (string): Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
116
117
 
117
118
 
118
119
  ---
@@ -947,6 +947,7 @@ module Files
947
947
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
948
948
  # with_previews - boolean - Include file preview information?
949
949
  # with_priority_color - boolean - Include file priority color information?
950
+ # point_in_time - string - Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
950
951
  def download(params = {})
951
952
  params ||= {}
952
953
  params[:path] = @attributes[:path]
@@ -954,6 +955,7 @@ module Files
954
955
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
955
956
  raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
956
957
  raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
958
+ raise InvalidParameterError.new("Bad parameter: point_in_time must be an String") if params[:point_in_time] and !params[:point_in_time].is_a?(String)
957
959
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
958
960
 
959
961
  Api.send_request("/files/#{@attributes[:path]}", :get, params, @options)
@@ -1065,12 +1067,14 @@ module Files
1065
1067
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
1066
1068
  # with_previews - boolean - Include file preview information?
1067
1069
  # with_priority_color - boolean - Include file priority color information?
1070
+ # point_in_time - string - Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
1068
1071
  def self.download(path, params = {}, options = {})
1069
1072
  params ||= {}
1070
1073
  params[:path] = path
1071
1074
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
1072
1075
  raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
1073
1076
  raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
1077
+ raise InvalidParameterError.new("Bad parameter: point_in_time must be an String") if params[:point_in_time] and !params[:point_in_time].is_a?(String)
1074
1078
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
1075
1079
 
1076
1080
  response, options = Api.send_request("/files/#{params[:path]}", :get, params, options)
@@ -469,6 +469,7 @@ module Files
469
469
  # search_all - boolean - Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the UI. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
470
470
  # with_previews - boolean - Include file previews?
471
471
  # with_priority_color - boolean - Include file priority color information?
472
+ # point_in_time - string - Point in time to view the folder. Available only on remote server mounts for S3 with versioned buckets.
472
473
  def self.list_for(path, params = {}, options = {})
473
474
  params ||= {}
474
475
  params[:path] = path
@@ -479,6 +480,7 @@ module Files
479
480
  raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
480
481
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
481
482
  raise InvalidParameterError.new("Bad parameter: search must be an String") if params[:search] and !params[:search].is_a?(String)
483
+ raise InvalidParameterError.new("Bad parameter: point_in_time must be an String") if params[:point_in_time] and !params[:point_in_time].is_a?(String)
482
484
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
483
485
 
484
486
  List.new(File, params) do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.121"
4
+ VERSION = "1.1.122"
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.121
4
+ version: 1.1.122
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com