files.com 1.1.176 → 1.1.178

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: 2e25ae59e297094550badf14d9e3e3cd758ef04dff01aeef5be0c8a6aea2aad9
4
- data.tar.gz: 41f5b1ed6799f8b358e1625d84a16978e0d82133782b7aada6b0fb62b2904b40
3
+ metadata.gz: 3c277306c58869359840049a216eaf284e84678eb4e75b8c8f96d9dc7b8b0358
4
+ data.tar.gz: 46d2548f33d60f27b5e8ad4aac1fee90d00b03104d69727d2c2e5bde4d83fec4
5
5
  SHA512:
6
- metadata.gz: 6f0984ac71938aaf540f78fd53a992baa33ff41e1dda16d9e9e92140497a079d46a4cf0c289f772d39d01a84a8e3d9f5f68b0a62660a54958939941a28ecd166
7
- data.tar.gz: e8f445e81fb17e409f62e5863a3d182709f7828d8b91d59af13aa9f6930d16c08ad3322a0cb489764b8d6a20843b0433173cece8b31378c5f1ef2a575d22a3f2
6
+ metadata.gz: 3c99c3af2c09ef96555226a5e5a1813f4aa244a516c236f82df4dedb37ab7b7118d9d4e39f0684b37667e1a33d661af061845c5585ae311c458fb4b54e9e5d6a
7
+ data.tar.gz: ed9857743084b7a8e9bdd403f42e942f7f55b4e2b8bdb161c957eb28264babad9aacd2dbff9a84787a65a8b9ec91d54823a9e9ba8200871d32e39dd4b31d70dc
data/README.md CHANGED
@@ -422,7 +422,6 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
422
422
  |`UserIdWithoutSiteAdminError`| `NotAuthorizedError` |
423
423
  |`WriteAndBundlePermissionRequiredError`| `NotAuthorizedError` |
424
424
  |`WritePermissionRequiredError`| `NotAuthorizedError` |
425
- |`ZipDownloadIpMismatchError`| `NotAuthorizedError` |
426
425
  |`ApiKeyNotFoundError`| `NotFoundError` |
427
426
  |`BundlePathNotFoundError`| `NotFoundError` |
428
427
  |`BundleRegistrationNotFoundError`| `NotFoundError` |
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.176
1
+ 1.1.178
data/docs/inbox_upload.md CHANGED
@@ -20,10 +20,7 @@
20
20
  ## List Inbox Uploads
21
21
 
22
22
  ```
23
- Files::InboxUpload.list(
24
- inbox_registration_id: 1,
25
- inbox_id: 1
26
- )
23
+ Files::InboxUpload.list
27
24
  ```
28
25
 
29
26
  ### Parameters
@@ -31,10 +28,8 @@ Files::InboxUpload.list(
31
28
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
32
29
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
33
30
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
34
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
31
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ created_at, folder_behavior_id ]` and `[ created_at, inbox_registration_id ]`.
35
32
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
36
33
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
37
34
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
38
35
  * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
39
- * `inbox_registration_id` (int64): InboxRegistration ID
40
- * `inbox_id` (int64): Inbox ID
data/docs/site.md CHANGED
@@ -184,7 +184,6 @@
184
184
  "windows_mode_ftp": false,
185
185
  "user_belongs_to_parent_site": false
186
186
  },
187
- "session_pinned_by_ip": true,
188
187
  "sftp_enabled": true,
189
188
  "sftp_host_key_type": "default",
190
189
  "active_sftp_host_key_id": 1,
@@ -425,7 +424,6 @@
425
424
  * `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
426
425
  * `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
427
426
  * `session` (Session): Current session
428
- * `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
429
427
  * `sftp_enabled` (boolean): Is SFTP enabled?
430
428
  * `sftp_host_key_type` (string): Sftp Host Key Type
431
429
  * `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
@@ -564,7 +562,6 @@ Files::Site.update(
564
562
  sftp_user_root_enabled: true,
565
563
  disable_password_reset: true,
566
564
  immutable_files: true,
567
- session_pinned_by_ip: true,
568
565
  bundle_not_found_message: "example",
569
566
  bundle_password_required: true,
570
567
  bundle_require_registration: true,
@@ -722,7 +719,6 @@ Files::Site.update(
722
719
  * `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
723
720
  * `disable_password_reset` (boolean): Is password reset disabled?
724
721
  * `immutable_files` (boolean): Are files protected from modification?
725
- * `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
726
722
  * `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
727
723
  * `bundle_password_required` (boolean): Do Bundles require password protection?
728
724
  * `bundle_require_registration` (boolean): Do Bundles require registration?
@@ -142,7 +142,6 @@ module Files
142
142
  class UserIdWithoutSiteAdminError < NotAuthorizedError; end
143
143
  class WriteAndBundlePermissionRequiredError < NotAuthorizedError; end
144
144
  class WritePermissionRequiredError < NotAuthorizedError; end
145
- class ZipDownloadIpMismatchError < NotAuthorizedError; end
146
145
 
147
146
  class NotFoundError < APIError; end
148
147
  class ApiKeyNotFoundError < NotFoundError; end
@@ -28,13 +28,11 @@ module Files
28
28
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
29
29
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
30
30
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
31
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
31
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ created_at, folder_behavior_id ]` and `[ created_at, inbox_registration_id ]`.
32
32
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
33
33
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
34
34
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
35
35
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
36
- # inbox_registration_id - int64 - InboxRegistration ID
37
- # inbox_id - int64 - Inbox ID
38
36
  def self.list(params = {}, options = {})
39
37
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
40
38
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -44,8 +42,6 @@ module Files
44
42
  raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
45
43
  raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
46
44
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
47
- raise InvalidParameterError.new("Bad parameter: inbox_registration_id must be an Integer") if params[:inbox_registration_id] and !params[:inbox_registration_id].is_a?(Integer)
48
- raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
49
45
 
50
46
  List.new(InboxUpload, params) do
51
47
  Api.send_request("/inbox_uploads", :get, params, options)
@@ -634,11 +634,6 @@ module Files
634
634
  @attributes[:session]
635
635
  end
636
636
 
637
- # boolean - Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
638
- def session_pinned_by_ip
639
- @attributes[:session_pinned_by_ip]
640
- end
641
-
642
637
  # boolean - Is SFTP enabled?
643
638
  def sftp_enabled
644
639
  @attributes[:sftp_enabled]
@@ -935,7 +930,6 @@ module Files
935
930
  # sftp_user_root_enabled - boolean - Use user FTP roots also for SFTP?
936
931
  # disable_password_reset - boolean - Is password reset disabled?
937
932
  # immutable_files - boolean - Are files protected from modification?
938
- # session_pinned_by_ip - boolean - Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
939
933
  # bundle_not_found_message - string - Custom error message to show when bundle is not found.
940
934
  # bundle_password_required - boolean - Do Bundles require password protection?
941
935
  # bundle_require_registration - boolean - Do Bundles require registration?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.176"
4
+ VERSION = "1.1.178"
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.176
4
+ version: 1.1.178
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-18 00:00:00.000000000 Z
11
+ date: 2024-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable