files.com 1.1.119 → 1.1.121

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: ac7f390f7960a92bd1228a5c7ccc994530f0dc454d6d36e5703e717ef9253070
4
- data.tar.gz: ac94a5ac3bac51ac7e5b2951b2cae55b61c2828cfa0d2c295283dc510fd1633b
3
+ metadata.gz: dce63e3623a456f294fcc1ade271ecd32637c0eac3c143bb26cd88c5522132fa
4
+ data.tar.gz: 239ce771db645f073d483cd935f7ffcae24682202953077ee1b7131b60f764c9
5
5
  SHA512:
6
- metadata.gz: c46a5914301e7fd89b640f2a46bcd70541bbb38db17e468c0295653c9bb6c5e43ccf75718305e8fb317d3c8b8a13ae4f37bb3a7d138c65480a478ac46c2e966b
7
- data.tar.gz: 07472d9a8460bf66d03d5826a2a00bc5267e3bfb1711fef22f94a32cf50169a01478aacaae04110d4e2b7f8f5a24a3e57267ce35feea212a60f3be88c3ca0ed5
6
+ metadata.gz: 83e908df6f5dfb4d3ed6c86b3eef92bc6b2186fb33f323e54228c38802f5f3c334dd7cbd8a7c1347676966b07caaa6eb3b109974f3421bda00a8de506492a38b
7
+ data.tar.gz: 40bbd944a1142e26ac288a575350601dd0869441b48692ce6e6ff7b35cd2b6693ae64d387fcc9fc3da6456480c0e5a5528405c778787e43363e652b890d22917
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.119
1
+ 1.1.121
data/docs/api_key.md CHANGED
@@ -31,7 +31,7 @@
31
31
  * `platform` (string): If this API key represents a Desktop app, what platform was it created on?
32
32
  * `url` (string): URL for API host.
33
33
  * `user_id` (int64): User ID for the owner of this API Key. May be blank for Site-wide API Keys.
34
- * `path` (string): Folder path restriction for this API key.
34
+ * `path` (string): Folder path restriction for `office_integration` permission set API keys.
35
35
 
36
36
 
37
37
  ---
@@ -101,7 +101,7 @@ Files::ApiKey.create(
101
101
  * `expires_at` (string): API Key expiration date
102
102
  * `permission_set` (string): Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
103
103
  * `name` (string): Required - Internal name for the API Key. For your use.
104
- * `path` (string): Folder path restriction for this API key.
104
+ * `path` (string): Folder path restriction for `office_integration` permission set API keys.
105
105
 
106
106
 
107
107
  ---
data/docs/file.md CHANGED
@@ -113,7 +113,6 @@ 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.
117
116
 
118
117
 
119
118
  ---
@@ -292,7 +291,6 @@ file.download(
292
291
  * `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
293
292
  * `with_previews` (boolean): Include file preview information?
294
293
  * `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.
296
294
 
297
295
 
298
296
  ---
data/docs/folder.md CHANGED
@@ -113,7 +113,6 @@ 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.
117
116
 
118
117
 
119
118
  ---
@@ -113,7 +113,7 @@ module Files
113
113
  @attributes[:user_id] = value
114
114
  end
115
115
 
116
- # string - Folder path restriction for this API key.
116
+ # string - Folder path restriction for `office_integration` permission set API keys.
117
117
  def path
118
118
  @attributes[:path]
119
119
  end
@@ -224,7 +224,7 @@ module Files
224
224
  # expires_at - string - API Key expiration date
225
225
  # permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
226
226
  # name (required) - string - Internal name for the API Key. For your use.
227
- # path - string - Folder path restriction for this API key.
227
+ # path - string - Folder path restriction for `office_integration` permission set API keys.
228
228
  def self.create(params = {}, options = {})
229
229
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
230
230
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params[:description] and !params[:description].is_a?(String)
@@ -947,7 +947,6 @@ 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.
951
950
  def download(params = {})
952
951
  params ||= {}
953
952
  params[:path] = @attributes[:path]
@@ -955,7 +954,6 @@ module Files
955
954
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
956
955
  raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
957
956
  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)
959
957
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
960
958
 
961
959
  Api.send_request("/files/#{@attributes[:path]}", :get, params, @options)
@@ -1067,14 +1065,12 @@ module Files
1067
1065
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
1068
1066
  # with_previews - boolean - Include file preview information?
1069
1067
  # 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.
1071
1068
  def self.download(path, params = {}, options = {})
1072
1069
  params ||= {}
1073
1070
  params[:path] = path
1074
1071
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
1075
1072
  raise InvalidParameterError.new("Bad parameter: action must be an String") if params[:action] and !params[:action].is_a?(String)
1076
1073
  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)
1078
1074
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
1079
1075
 
1080
1076
  response, options = Api.send_request("/files/#{params[:path]}", :get, params, options)
@@ -469,7 +469,6 @@ 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.
473
472
  def self.list_for(path, params = {}, options = {})
474
473
  params ||= {}
475
474
  params[:path] = path
@@ -480,7 +479,6 @@ module Files
480
479
  raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
481
480
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
482
481
  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)
484
482
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
485
483
 
486
484
  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.119"
4
+ VERSION = "1.1.121"
5
5
  end
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.119
4
+ version: 1.1.121
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-21 00:00:00.000000000 Z
11
+ date: 2024-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable