files.com 1.1.316 → 1.1.318
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 +4 -4
- data/_VERSION +1 -1
- data/docs/behavior.md +2 -2
- data/docs/bundle_registration.md +1 -1
- data/docs/user.md +7 -2
- data/lib/files.com/models/behavior.rb +2 -2
- data/lib/files.com/models/bundle_registration.rb +1 -1
- data/lib/files.com/models/user.rb +11 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79b4daa7455a8dd92b0efb0b8b0c2a6f86438d370b98c56ae1b3945923a8a96c
|
4
|
+
data.tar.gz: 1ec720d1e66ea7c006f95e1e5a4ff1d97e1bca10902823fbb3354385b754b4ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b7785aba72982538fcc7f473307c3cd29c435f874eb218c4d5e66cbd74b95cb5ba867cbab7e38d52aec550a2e9e8d2dc62d779383cc7e5abdc2fc229a5d27e8
|
7
|
+
data.tar.gz: 83d2271078bc953b68da04116214d91826668a4bf83776badc86ed1d071f8a032fc1729da9afea8496e1b7ff596b4522d0c1bcda21f858c3533cbed3cedc0edb
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.318
|
data/docs/behavior.md
CHANGED
@@ -44,7 +44,7 @@ Files::Behavior.list
|
|
44
44
|
* `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.
|
45
45
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
46
46
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
|
47
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
47
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
|
48
48
|
|
49
49
|
|
50
50
|
---
|
@@ -75,7 +75,7 @@ Files::Behavior.list_for(path,
|
|
75
75
|
* `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.
|
76
76
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
77
77
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
|
78
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
78
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
|
79
79
|
* `path` (string): Required - Path to operate on.
|
80
80
|
* `ancestor_behaviors` (boolean): If `true`, behaviors above this path are shown.
|
81
81
|
|
data/docs/bundle_registration.md
CHANGED
@@ -53,5 +53,5 @@ Files::BundleRegistration.list(
|
|
53
53
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
54
54
|
* `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.
|
55
55
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
56
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
|
56
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id` and `created_at`.
|
57
57
|
* `bundle_id` (int64): ID of the associated Bundle
|
data/docs/user.md
CHANGED
@@ -151,6 +151,7 @@
|
|
151
151
|
* `password` (string): User password.
|
152
152
|
* `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
|
153
153
|
* `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
|
154
|
+
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
154
155
|
|
155
156
|
|
156
157
|
---
|
@@ -376,7 +377,8 @@ Files::User.update(id,
|
|
376
377
|
time_zone: "Pacific Time (US & Canada)",
|
377
378
|
user_root: "example",
|
378
379
|
user_home: "example",
|
379
|
-
username: "user"
|
380
|
+
username: "user",
|
381
|
+
clear_2fa: false
|
380
382
|
)
|
381
383
|
```
|
382
384
|
|
@@ -430,6 +432,7 @@ Files::User.update(id,
|
|
430
432
|
* `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
|
431
433
|
* `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
432
434
|
* `username` (string): User's username
|
435
|
+
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
433
436
|
|
434
437
|
|
435
438
|
---
|
@@ -540,7 +543,8 @@ user.update(
|
|
540
543
|
time_zone: "Pacific Time (US & Canada)",
|
541
544
|
user_root: "example",
|
542
545
|
user_home: "example",
|
543
|
-
username: "user"
|
546
|
+
username: "user",
|
547
|
+
clear_2fa: false
|
544
548
|
)
|
545
549
|
```
|
546
550
|
|
@@ -594,6 +598,7 @@ user.update(
|
|
594
598
|
* `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
|
595
599
|
* `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
596
600
|
* `username` (string): User's username
|
601
|
+
* `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
597
602
|
|
598
603
|
|
599
604
|
---
|
@@ -159,7 +159,7 @@ module Files
|
|
159
159
|
# 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.
|
160
160
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
161
161
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
|
162
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
162
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
|
163
163
|
def self.list(params = {}, options = {})
|
164
164
|
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
165
165
|
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
@@ -195,7 +195,7 @@ module Files
|
|
195
195
|
# 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.
|
196
196
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
197
197
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
|
198
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
198
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
|
199
199
|
# path (required) - string - Path to operate on.
|
200
200
|
# ancestor_behaviors - boolean - If `true`, behaviors above this path are shown.
|
201
201
|
def self.list_for(path, params = {}, options = {})
|
@@ -78,7 +78,7 @@ module Files
|
|
78
78
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
79
79
|
# 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.
|
80
80
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
81
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
|
81
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id` and `created_at`.
|
82
82
|
# bundle_id - int64 - ID of the associated Bundle
|
83
83
|
def self.list(params = {}, options = {})
|
84
84
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
|
@@ -689,6 +689,15 @@ module Files
|
|
689
689
|
@attributes[:announcements_read] = value
|
690
690
|
end
|
691
691
|
|
692
|
+
# boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
693
|
+
def clear_2fa
|
694
|
+
@attributes[:clear_2fa]
|
695
|
+
end
|
696
|
+
|
697
|
+
def clear_2fa=(value)
|
698
|
+
@attributes[:clear_2fa] = value
|
699
|
+
end
|
700
|
+
|
692
701
|
# Unlock user who has been locked out due to failed logins
|
693
702
|
def unlock(params = {})
|
694
703
|
params ||= {}
|
@@ -770,6 +779,7 @@ module Files
|
|
770
779
|
# user_root - string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
|
771
780
|
# user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
772
781
|
# username - string - User's username
|
782
|
+
# clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
773
783
|
def update(params = {})
|
774
784
|
params ||= {}
|
775
785
|
params[:id] = @attributes[:id]
|
@@ -1050,6 +1060,7 @@ module Files
|
|
1050
1060
|
# user_root - string - Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set). Note that this is not used for API, Desktop, or Web interface.
|
1051
1061
|
# user_home - string - Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
1052
1062
|
# username - string - User's username
|
1063
|
+
# clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
|
1053
1064
|
def self.update(id, params = {}, options = {})
|
1054
1065
|
params ||= {}
|
1055
1066
|
params[:id] = id
|
data/lib/files.com/version.rb
CHANGED
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.
|
4
|
+
version: 1.1.318
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|