files.com 1.1.170 → 1.1.172

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: 1bec5c3ab068720a1e61fbac4bbacbb7bc774d168d54ce0c7ac3fc532165c43d
4
- data.tar.gz: e54526612d35ded8063ba6291c880f09c12fc20a542dfd97ae8531d22713f0e7
3
+ metadata.gz: d8df37806e5e558cb102955bcc602c345a19c4114ef43e62f2c0275044b07011
4
+ data.tar.gz: bb42bc3487b4e403a99ad3d2b9ef7d660a20bd775f2952f34cae779114446e70
5
5
  SHA512:
6
- metadata.gz: daca73e090ca96c31da73622c7ce1e7bcd29276401f860b6b085a97a66d6062139ee950696c00b63b26fc5b95918c6f656323549e67ec7e70cb322f739abcd16
7
- data.tar.gz: 8bb6a75260ba6884407a8fc606da87d885c984079ecc6be9475c3513ac9928359d9129f2d9bbc1c6e73cffb4e4a968f60f93b9be7f5154fca87ea306c1c2a021
6
+ metadata.gz: 4cf6c501b535d63a8d90ff9633ec555efe729b97db1d48e5fca5b17feda8272d345d93c9d79ce91b604d61d6d7abff3f189259b30dc233b2fb8fc47ab672c43d
7
+ data.tar.gz: 0b123b00603973aaf8bfd119b102ba5c835f7bfd7447660b8ab9aa5d23593c49ff89d3c45eb229016429aee588899ff9551f6fb853ccb073430b438e2424aca6
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.170
1
+ 1.1.172
data/docs/folder.md CHANGED
@@ -99,6 +99,7 @@ Files::Dir is an alias of Files::Folder
99
99
 
100
100
  ```
101
101
  Files::Folder.list_for(path,
102
+ search: "some-partial-filename",
102
103
  search_all: true,
103
104
  with_previews: true,
104
105
  with_priority_color: true
@@ -110,10 +111,9 @@ Files::Folder.list_for(path,
110
111
  * `cursor` (string): Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
111
112
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
112
113
  * `path` (string): Required - Path to operate on.
113
- * `filter` (string): If specified, will filter folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
114
114
  * `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
115
115
  * `sort_by` (object): Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
116
- * `search` (string): If `search_all` is `true`, provide the search string here. Otherwise, this parameter acts like an alias of `filter`.
116
+ * `search` (string): If specified, will filter folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
117
117
  * `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 web UI when running 'Search All Files'. 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.
118
118
  * `with_previews` (boolean): Include file previews?
119
119
  * `with_priority_color` (boolean): Include file priority color information?
data/docs/site.md CHANGED
@@ -61,7 +61,7 @@
61
61
  "dav_enabled": true,
62
62
  "dav_user_root_enabled": true,
63
63
  "days_to_retain_backups": 30,
64
- "document_edits_in_bundle_allowed": "example",
64
+ "document_edits_in_bundle_allowed": true,
65
65
  "default_time_zone": "Pacific Time (US & Canada)",
66
66
  "desktop_app": true,
67
67
  "desktop_app_session_ip_pinning": true,
@@ -348,7 +348,7 @@
348
348
  * `dav_enabled` (boolean): Is WebDAV enabled?
349
349
  * `dav_user_root_enabled` (boolean): Use user FTP roots also for WebDAV?
350
350
  * `days_to_retain_backups` (int64): Number of days to keep deleted files
351
- * `document_edits_in_bundle_allowed` (string): If true, allow public viewers of Bundles with full permissions to use document editing integrations.
351
+ * `document_edits_in_bundle_allowed` (boolean): If true, allow public viewers of Bundles with full permissions to use document editing integrations.
352
352
  * `default_time_zone` (string): Site default time zone
353
353
  * `desktop_app` (boolean): Is the desktop app enabled?
354
354
  * `desktop_app_session_ip_pinning` (boolean): Is desktop app session IP pinning enabled?
@@ -572,7 +572,7 @@ Files::Site.update(
572
572
  bundle_registration_notifications: "never",
573
573
  bundle_activity_notifications: "never",
574
574
  bundle_upload_receipt_notifications: "never",
575
- document_edits_in_bundle_allowed: "example",
575
+ document_edits_in_bundle_allowed: true,
576
576
  password_requirements_apply_to_bundles: true,
577
577
  prevent_root_permissions_for_non_site_admins: true,
578
578
  opt_out_global: true,
@@ -730,7 +730,7 @@ Files::Site.update(
730
730
  * `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
731
731
  * `bundle_activity_notifications` (string): Do Bundle owners receive activity notifications?
732
732
  * `bundle_upload_receipt_notifications` (string): Do Bundle uploaders receive upload confirmation notifications?
733
- * `document_edits_in_bundle_allowed` (string): If true, allow public viewers of Bundles with full permissions to use document editing integrations.
733
+ * `document_edits_in_bundle_allowed` (boolean): If true, allow public viewers of Bundles with full permissions to use document editing integrations.
734
734
  * `password_requirements_apply_to_bundles` (boolean): Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
735
735
  * `prevent_root_permissions_for_non_site_admins` (boolean): If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
736
736
  * `opt_out_global` (boolean): Use servers in the USA only?
@@ -480,10 +480,9 @@ module Files
480
480
  # cursor - string - Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
481
481
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
482
482
  # path (required) - string - Path to operate on.
483
- # filter - string - If specified, will filter folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
484
483
  # preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
485
484
  # sort_by - object - Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
486
- # search - string - If `search_all` is `true`, provide the search string here. Otherwise, this parameter acts like an alias of `filter`.
485
+ # search - string - If specified, will filter folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
487
486
  # 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 web UI when running 'Search All Files'. 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.
488
487
  # with_previews - boolean - Include file previews?
489
488
  # with_priority_color - boolean - Include file priority color information?
@@ -493,7 +492,6 @@ module Files
493
492
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
494
493
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
495
494
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
496
- raise InvalidParameterError.new("Bad parameter: filter must be an String") if params[:filter] and !params[:filter].is_a?(String)
497
495
  raise InvalidParameterError.new("Bad parameter: preview_size must be an String") if params[:preview_size] and !params[:preview_size].is_a?(String)
498
496
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
499
497
  raise InvalidParameterError.new("Bad parameter: search must be an String") if params[:search] and !params[:search].is_a?(String)
@@ -249,7 +249,7 @@ module Files
249
249
  @attributes[:days_to_retain_backups]
250
250
  end
251
251
 
252
- # string - If true, allow public viewers of Bundles with full permissions to use document editing integrations.
252
+ # boolean - If true, allow public viewers of Bundles with full permissions to use document editing integrations.
253
253
  def document_edits_in_bundle_allowed
254
254
  @attributes[:document_edits_in_bundle_allowed]
255
255
  end
@@ -943,7 +943,7 @@ module Files
943
943
  # bundle_registration_notifications - string - Do Bundle owners receive registration notification?
944
944
  # bundle_activity_notifications - string - Do Bundle owners receive activity notifications?
945
945
  # bundle_upload_receipt_notifications - string - Do Bundle uploaders receive upload confirmation notifications?
946
- # document_edits_in_bundle_allowed - string - If true, allow public viewers of Bundles with full permissions to use document editing integrations.
946
+ # document_edits_in_bundle_allowed - boolean - If true, allow public viewers of Bundles with full permissions to use document editing integrations.
947
947
  # password_requirements_apply_to_bundles - boolean - Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
948
948
  # prevent_root_permissions_for_non_site_admins - boolean - If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
949
949
  # opt_out_global - boolean - Use servers in the USA only?
@@ -1063,7 +1063,6 @@ module Files
1063
1063
  raise InvalidParameterError.new("Bad parameter: bundle_registration_notifications must be an String") if params[:bundle_registration_notifications] and !params[:bundle_registration_notifications].is_a?(String)
1064
1064
  raise InvalidParameterError.new("Bad parameter: bundle_activity_notifications must be an String") if params[:bundle_activity_notifications] and !params[:bundle_activity_notifications].is_a?(String)
1065
1065
  raise InvalidParameterError.new("Bad parameter: bundle_upload_receipt_notifications must be an String") if params[:bundle_upload_receipt_notifications] and !params[:bundle_upload_receipt_notifications].is_a?(String)
1066
- raise InvalidParameterError.new("Bad parameter: document_edits_in_bundle_allowed must be an String") if params[:document_edits_in_bundle_allowed] and !params[:document_edits_in_bundle_allowed].is_a?(String)
1067
1066
  raise InvalidParameterError.new("Bad parameter: disable_users_from_inactivity_period_days must be an Integer") if params[:disable_users_from_inactivity_period_days] and !params[:disable_users_from_inactivity_period_days].is_a?(Integer)
1068
1067
  raise InvalidParameterError.new("Bad parameter: sftp_host_key_type must be an String") if params[:sftp_host_key_type] and !params[:sftp_host_key_type].is_a?(String)
1069
1068
  raise InvalidParameterError.new("Bad parameter: active_sftp_host_key_id must be an Integer") if params[:active_sftp_host_key_id] and !params[:active_sftp_host_key_id].is_a?(Integer)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.170"
4
+ VERSION = "1.1.172"
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.170
4
+ version: 1.1.172
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-11-04 00:00:00.000000000 Z
11
+ date: 2024-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable