files.com 1.0.344 → 1.0.346

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: e998a43775abe983b4df5de11fb0710b77851d07597a6c4bc6a3a6b793d134a5
4
- data.tar.gz: b0a613d4e127e3f74abeb0d5f7f27d10934045f738094f1df5a742960e4ab615
3
+ metadata.gz: 592315e300f9aa0c07e06df05823aaab69b01dc2aac1041ffa42df366c97f46a
4
+ data.tar.gz: eaf99712300783f8da9391c5e76d750d47ab0aa103a944a6843f6cb660af2475
5
5
  SHA512:
6
- metadata.gz: 41ea84db12136eee0a9294684b77e908ca408c99b0931b827e716106676aec34cb79728ee3249408583e88effce42be3ae8290bc01cf8d0ce384cb8a4f873dbe
7
- data.tar.gz: c96ab2737e8c509b2f44289c69b2d36ff25240c68bdfc8dafd7d6b7f254fc4b34e147ca935da89bcecd8342f1e2eaa0ec5aa4e123c30ce18e08ab49f62b442d6
6
+ metadata.gz: ac23366bb81b2dd9719b8b9120c7024bf01c450fd75e494b01bf8a3c058892f6b6186f7316859f67aefef640503d97581902b2d0756b12921e92e7da7fa3635b
7
+ data.tar.gz: 706d1a15c2f8688a36edcb30cae582dfa34f7b7648a74bb8b01b7f5c67cf22bb12742d994954fbaa46111655db8c8ff39c598e2c24b657a1848d33dc408d0ae3
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.344
1
+ 1.0.346
data/docs/site.md CHANGED
@@ -213,7 +213,8 @@
213
213
  "welcome_email_enabled": true,
214
214
  "welcome_screen": "user_controlled",
215
215
  "windows_mode_ftp": true,
216
- "disable_users_from_inactivity_period_days": 1
216
+ "disable_users_from_inactivity_period_days": 1,
217
+ "group_admins_can_set_user_password": true
217
218
  }
218
219
  ```
219
220
 
@@ -358,6 +359,7 @@
358
359
  * `welcome_screen` (string): Does the welcome screen appear?
359
360
  * `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
360
361
  * `disable_users_from_inactivity_period_days` (int64): If greater than zero, users will unable to login if they do not show activity within this number of days.
362
+ * `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
361
363
 
362
364
 
363
365
  ---
@@ -462,6 +464,7 @@ Files::Site.update(
462
464
  sftp_host_key_type: "default",
463
465
  active_sftp_host_key_id: 1,
464
466
  bundle_watermark_value: {"key":"example value"},
467
+ group_admins_can_set_user_password: true,
465
468
  allowed_2fa_method_sms: true,
466
469
  allowed_2fa_method_u2f: true,
467
470
  allowed_2fa_method_totp: true,
@@ -591,6 +594,7 @@ Files::Site.update(
591
594
  * `sftp_host_key_type` (string): Sftp Host Key Type
592
595
  * `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
593
596
  * `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
597
+ * `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
594
598
  * `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
595
599
  * `allowed_2fa_method_u2f` (boolean): Is U2F two factor authentication allowed?
596
600
  * `allowed_2fa_method_totp` (boolean): Is TOTP two factor authentication allowed?
data/docs/user.md CHANGED
@@ -153,7 +153,7 @@ Files::User.list(
153
153
 
154
154
  * `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.
155
155
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
156
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[authenticate_until]=desc`). Valid fields are `authenticate_until`, `active`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `site_admin`, `receive_admin_alerts`, `password_validity_days`, `ssl_required` or `not_site_admin`.
156
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[authenticate_until]=desc`). Valid fields are `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `site_admin`, `receive_admin_alerts`, `password_validity_days`, `ssl_required` or `not_site_admin`.
157
157
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
158
158
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
159
159
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
@@ -714,6 +714,11 @@ module Files
714
714
  @attributes[:disable_users_from_inactivity_period_days]
715
715
  end
716
716
 
717
+ # boolean - Allow group admins set password authentication method
718
+ def group_admins_can_set_user_password
719
+ @attributes[:group_admins_can_set_user_password]
720
+ end
721
+
717
722
  def self.get(params = {}, options = {})
718
723
  response, options = Api.send_request("/site", :get, params, options)
719
724
  Site.new(response.data, options)
@@ -803,6 +808,7 @@ module Files
803
808
  # sftp_host_key_type - string - Sftp Host Key Type
804
809
  # active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
805
810
  # bundle_watermark_value - object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
811
+ # group_admins_can_set_user_password - boolean - Allow group admins set password authentication method
806
812
  # allowed_2fa_method_sms - boolean - Is SMS two factor authentication allowed?
807
813
  # allowed_2fa_method_u2f - boolean - Is U2F two factor authentication allowed?
808
814
  # allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
@@ -765,7 +765,7 @@ module Files
765
765
  # Parameters:
766
766
  # 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.
767
767
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
768
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[authenticate_until]=desc`). Valid fields are `authenticate_until`, `active`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `site_admin`, `receive_admin_alerts`, `password_validity_days`, `ssl_required` or `not_site_admin`.
768
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[authenticate_until]=desc`). Valid fields are `authenticate_until`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `site_admin`, `receive_admin_alerts`, `password_validity_days`, `ssl_required` or `not_site_admin`.
769
769
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
770
770
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
771
771
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
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.0.344
4
+ version: 1.0.346
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-26 00:00:00.000000000 Z
11
+ date: 2023-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable