files.com 1.1.699 → 1.1.701

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: b1b9be22ebb74b65e03b96b718b6f2e0406f0472e818138613807cd2c8cb9f8b
4
- data.tar.gz: 92656a3a1cf3e8ef7ec96124ff045bcfead5e12bf83dcb26a8e935c4741c0eac
3
+ metadata.gz: 7e2646966a517fc4331b37433e0daed51f5e26d3383436d309f0574c3e4feb81
4
+ data.tar.gz: 3d2b7d0dd9e35b5c7c98e79b379ee23283e1d9cec993cef22c9554de129d08ab
5
5
  SHA512:
6
- metadata.gz: eb2f9eabd5cdcd4e7b0a9399c900728ce0e657729e80dab10ba15bdb40a0efc4d630ae14568fab01762cde531fc450b4d739b3d4edb5be3615179c0fd0716c5a
7
- data.tar.gz: b78256c26f8b5213d05c362514b3213fa3a7da4ebcb0f0a9e68dc51c55da3642fac03906891fd38d2c1d351728ae60e2c4f5d44e36eac23481e728ed8c9029af
6
+ metadata.gz: a811ed7d583e53be08e7bdc4a1fd23b6372cb536236785ca0d109cb3109270485c09e7a31d28aa82a3df820d4a200d8fbaf297c826872cfa101117b72c203c67
7
+ data.tar.gz: '033658b6dc66e413212e336d931e559283c4ea00a814b3d59d7287005082144e60d47e8330f470506503c3681978d0bb9f32e76d6d5544aee5470058dde1f1c3'
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.699
1
+ 1.1.701
data/docs/sso_strategy.md CHANGED
@@ -9,6 +9,7 @@
9
9
  "label": "My Corporate SSO Provider",
10
10
  "logo_url": "https://mysite.files.com/.../logo.png",
11
11
  "id": 1,
12
+ "enabled": true,
12
13
  "user_count": 1,
13
14
  "saml_provider_cert_fingerprint": "example",
14
15
  "saml_provider_issuer_url": "example",
@@ -45,7 +46,6 @@
45
46
  "provider_identifier": "",
46
47
  "ldap_base_dn": "example",
47
48
  "ldap_domain": "mysite.com",
48
- "enabled": true,
49
49
  "display_on_login_page": true,
50
50
  "ldap_host": "ldap.site.com",
51
51
  "ldap_host_2": "ldap2.site.com",
@@ -64,6 +64,7 @@
64
64
  * `label` (string): Custom label for the SSO provider on the login page.
65
65
  * `logo_url` (string): URL holding a custom logo for the SSO provider on the login page.
66
66
  * `id` (int64): ID
67
+ * `enabled` (boolean): Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
67
68
  * `user_count` (int64): Count of users with this SSO Strategy
68
69
  * `saml_provider_cert_fingerprint` (string): Identity provider sha256 cert fingerprint if saml_provider_metadata_url is not available.
69
70
  * `saml_provider_issuer_url` (string): Identity provider issuer url
@@ -100,7 +101,6 @@
100
101
  * `provider_identifier` (string): URL-friendly, unique identifier for Azure SAML configuration
101
102
  * `ldap_base_dn` (string): Base DN for looking up users in LDAP server
102
103
  * `ldap_domain` (string): Domain name that will be appended to LDAP usernames
103
- * `enabled` (boolean): Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
104
104
  * `display_on_login_page` (boolean): Should this strategy be displayed on the login page?
105
105
  * `ldap_host` (string): LDAP host
106
106
  * `ldap_host_2` (string): LDAP backup host
@@ -35,7 +35,7 @@ Files::UserAdditionalEmailRecipient.list(
35
35
  * `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.
36
36
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
37
37
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `email`, `user_id` or `workspace_id`.
38
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `email` and `workspace_id`. Valid field combinations are `[ workspace_id, email ]`.
38
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `email`, `workspace_id` or `user_id`. Valid field combinations are `[ workspace_id, email ]`, `[ user_id, email ]`, `[ workspace_id, user_id ]` or `[ workspace_id, user_id, email ]`.
39
39
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `email`.
40
40
 
41
41
 
@@ -34,6 +34,11 @@ module Files
34
34
  @attributes[:id]
35
35
  end
36
36
 
37
+ # boolean - Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
38
+ def enabled
39
+ @attributes[:enabled]
40
+ end
41
+
37
42
  # int64 - Count of users with this SSO Strategy
38
43
  def user_count
39
44
  @attributes[:user_count]
@@ -214,11 +219,6 @@ module Files
214
219
  @attributes[:ldap_domain]
215
220
  end
216
221
 
217
- # boolean - Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
218
- def enabled
219
- @attributes[:enabled]
220
- end
221
-
222
222
  # boolean - Should this strategy be displayed on the login page?
223
223
  def display_on_login_page
224
224
  @attributes[:display_on_login_page]
@@ -94,7 +94,7 @@ module Files
94
94
  # 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.
95
95
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
96
96
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `email`, `user_id` or `workspace_id`.
97
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `email` and `workspace_id`. Valid field combinations are `[ workspace_id, email ]`.
97
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `email`, `workspace_id` or `user_id`. Valid field combinations are `[ workspace_id, email ]`, `[ user_id, email ]`, `[ workspace_id, user_id ]` or `[ workspace_id, user_id, email ]`.
98
98
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `email`.
99
99
  def self.list(params = {}, options = {})
100
100
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.699"
4
+ VERSION = "1.1.701"
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.699
4
+ version: 1.1.701
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-30 00:00:00.000000000 Z
11
+ date: 2026-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable