files.com 1.1.263 → 1.1.265

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: 0416cd0725dba961d87cf768a8f6b8b02cd9f22306ada8fd3d75d974cb7a7fe6
4
- data.tar.gz: 277e28290dfe76989a8d383b1570bbe2730000c54a942df0706fc44b43140c40
3
+ metadata.gz: 8b301177338c3e3292c292d41b56d99e70dfdbe0ef8e372c16e196609c676df2
4
+ data.tar.gz: a123a4e626419cb2d1762e9741822ef222cf68a58590a379d4b08950698d1a83
5
5
  SHA512:
6
- metadata.gz: a9172af039851340bfd16af71300ef45f79cb4b0788c24e4d48aa8a243d537da75cdd520b01a037282bf7e1a58c9a2681a2531ecfffc3d18549c749bb7983c1b
7
- data.tar.gz: 35fa3b8c7c83f4b80c0cc0086c9f49f9614059023ecfcb36f863770f1c144514dea5a79d2f312992eab89dcd202fb15e9ce02a0428a7f039dc78e90229a98109
6
+ metadata.gz: 2413c2f830445c8dac17717507dc4157851cc8a72cae8a8cb0921c93e7bc1f2525e85dc38cc4743d7312c233de4dcd107ea6a05e20b88a2923375509520146a2
7
+ data.tar.gz: d37eed160658dcf35e06441fc1838c8bbb424c24c91eb9186b51515d2d25db3bea03db877a64de1260ab13a3dfd35266d37c42a9956ff8edae5720e9eecce325
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.263
1
+ 1.1.265
data/docs/public_key.md CHANGED
@@ -9,6 +9,7 @@
9
9
  "created_at": "2000-01-01T01:00:00Z",
10
10
  "fingerprint": "43:51:43:a1:b5:fc:8b:b7:0a:3a:a9:b1:0f:66:73:a8",
11
11
  "fingerprint_sha256": "V5Q5t/ghT3R8Tol5GX9385bzmpygWVRnLuI9EXNrjCX",
12
+ "last_login_at": "2000-01-01T01:00:00Z",
12
13
  "username": "User",
13
14
  "user_id": 1
14
15
  }
@@ -19,6 +20,7 @@
19
20
  * `created_at` (date-time): Public key created at date/time
20
21
  * `fingerprint` (string): Public key fingerprint (MD5)
21
22
  * `fingerprint_sha256` (string): Public key fingerprint (SHA256)
23
+ * `last_login_at` (date-time): Key's most recent login time via SFTP
22
24
  * `username` (string): Username of the user this public key is associated with
23
25
  * `user_id` (int64): User ID this public key is associated with
24
26
  * `public_key` (string): Actual contents of SSH key.
data/docs/site.md CHANGED
@@ -229,7 +229,7 @@
229
229
  "billable": true,
230
230
  "billing_permission": false,
231
231
  "bypass_site_allowed_ips": false,
232
- "bypass_inactive_disable": false,
232
+ "bypass_user_lifecycle_rules": false,
233
233
  "created_at": "2000-01-01T01:00:00Z",
234
234
  "dav_permission": true,
235
235
  "disabled": true,
@@ -299,7 +299,6 @@
299
299
  "welcome_email_enabled": true,
300
300
  "welcome_screen": "user_controlled",
301
301
  "windows_mode_ftp": true,
302
- "disable_users_from_inactivity_period_days": 1,
303
302
  "group_admins_can_set_user_password": true
304
303
  }
305
304
  ```
@@ -473,7 +472,6 @@
473
472
  * `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
474
473
  * `welcome_screen` (string): Does the welcome screen appear?
475
474
  * `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
476
- * `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.
477
475
  * `group_admins_can_set_user_password` (boolean): Allow group admins set password authentication method
478
476
 
479
477
 
@@ -584,7 +582,6 @@ Files::Site.update(
584
582
  opt_out_global: false,
585
583
  use_provided_modified_at: false,
586
584
  custom_namespace: false,
587
- disable_users_from_inactivity_period_days: 1,
588
585
  non_sso_groups_allowed: false,
589
586
  non_sso_users_allowed: false,
590
587
  sharing_enabled: false,
@@ -744,7 +741,6 @@ Files::Site.update(
744
741
  * `opt_out_global` (boolean): Use servers in the USA only?
745
742
  * `use_provided_modified_at` (boolean): Allow uploaders to set `provided_modified_at` for uploaded files?
746
743
  * `custom_namespace` (boolean): Is this site using a custom namespace for users?
747
- * `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.
748
744
  * `non_sso_groups_allowed` (boolean): If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
749
745
  * `non_sso_users_allowed` (boolean): If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
750
746
  * `sharing_enabled` (boolean): Allow bundle creation
data/docs/user.md CHANGED
@@ -18,7 +18,7 @@
18
18
  "billable": true,
19
19
  "billing_permission": true,
20
20
  "bypass_site_allowed_ips": true,
21
- "bypass_inactive_disable": true,
21
+ "bypass_user_lifecycle_rules": true,
22
22
  "created_at": "2000-01-01T01:00:00Z",
23
23
  "dav_permission": true,
24
24
  "disabled": true,
@@ -87,7 +87,7 @@
87
87
  * `billable` (boolean): Is this a billable user record?
88
88
  * `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
89
89
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
90
- * `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
90
+ * `bypass_user_lifecycle_rules` (boolean): Exempt this user from user lifecycle rules?
91
91
  * `created_at` (date-time): When this user was created
92
92
  * `dav_permission` (boolean): Can the user connect with WebDAV?
93
93
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
@@ -208,7 +208,7 @@ Files::User.create(
208
208
  authenticate_until: "2000-01-01T01:00:00Z",
209
209
  authentication_method: "password",
210
210
  billing_permission: false,
211
- bypass_inactive_disable: false,
211
+ bypass_user_lifecycle_rules: false,
212
212
  bypass_site_allowed_ips: false,
213
213
  dav_permission: true,
214
214
  disabled: true,
@@ -260,7 +260,7 @@ Files::User.create(
260
260
  * `authenticate_until` (string): Scheduled Date/Time at which user will be deactivated
261
261
  * `authentication_method` (string): How is this user authenticated?
262
262
  * `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
263
- * `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
263
+ * `bypass_user_lifecycle_rules` (boolean): Exempt this user from user lifecycle rules?
264
264
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
265
265
  * `dav_permission` (boolean): Can the user connect with WebDAV?
266
266
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
@@ -347,7 +347,7 @@ Files::User.update(id,
347
347
  authenticate_until: "2000-01-01T01:00:00Z",
348
348
  authentication_method: "password",
349
349
  billing_permission: false,
350
- bypass_inactive_disable: false,
350
+ bypass_user_lifecycle_rules: false,
351
351
  bypass_site_allowed_ips: false,
352
352
  dav_permission: true,
353
353
  disabled: true,
@@ -400,7 +400,7 @@ Files::User.update(id,
400
400
  * `authenticate_until` (string): Scheduled Date/Time at which user will be deactivated
401
401
  * `authentication_method` (string): How is this user authenticated?
402
402
  * `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
403
- * `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
403
+ * `bypass_user_lifecycle_rules` (boolean): Exempt this user from user lifecycle rules?
404
404
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
405
405
  * `dav_permission` (boolean): Can the user connect with WebDAV?
406
406
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
@@ -511,7 +511,7 @@ user.update(
511
511
  authenticate_until: "2000-01-01T01:00:00Z",
512
512
  authentication_method: "password",
513
513
  billing_permission: false,
514
- bypass_inactive_disable: false,
514
+ bypass_user_lifecycle_rules: false,
515
515
  bypass_site_allowed_ips: false,
516
516
  dav_permission: true,
517
517
  disabled: true,
@@ -564,7 +564,7 @@ user.update(
564
564
  * `authenticate_until` (string): Scheduled Date/Time at which user will be deactivated
565
565
  * `authentication_method` (string): How is this user authenticated?
566
566
  * `billing_permission` (boolean): Allow this user to perform operations on the account, payments, and invoices?
567
- * `bypass_inactive_disable` (boolean): Exempt this user from being disabled based on inactivity?
567
+ * `bypass_user_lifecycle_rules` (boolean): Exempt this user from user lifecycle rules?
568
568
  * `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
569
569
  * `dav_permission` (boolean): Can the user connect with WebDAV?
570
570
  * `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
@@ -50,6 +50,15 @@ module Files
50
50
  @attributes[:fingerprint_sha256] = value
51
51
  end
52
52
 
53
+ # date-time - Key's most recent login time via SFTP
54
+ def last_login_at
55
+ @attributes[:last_login_at]
56
+ end
57
+
58
+ def last_login_at=(value)
59
+ @attributes[:last_login_at] = value
60
+ end
61
+
53
62
  # string - Username of the user this public key is associated with
54
63
  def username
55
64
  @attributes[:username]
@@ -854,11 +854,6 @@ module Files
854
854
  @attributes[:windows_mode_ftp]
855
855
  end
856
856
 
857
- # int64 - If greater than zero, users will unable to login if they do not show activity within this number of days.
858
- def disable_users_from_inactivity_period_days
859
- @attributes[:disable_users_from_inactivity_period_days]
860
- end
861
-
862
857
  # boolean - Allow group admins set password authentication method
863
858
  def group_admins_can_set_user_password
864
859
  @attributes[:group_admins_can_set_user_password]
@@ -959,7 +954,6 @@ module Files
959
954
  # opt_out_global - boolean - Use servers in the USA only?
960
955
  # use_provided_modified_at - boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
961
956
  # custom_namespace - boolean - Is this site using a custom namespace for users?
962
- # 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.
963
957
  # non_sso_groups_allowed - boolean - If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
964
958
  # non_sso_users_allowed - boolean - If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
965
959
  # sharing_enabled - boolean - Allow bundle creation
@@ -1076,7 +1070,6 @@ module Files
1076
1070
  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)
1077
1071
  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)
1078
1072
  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)
1079
- 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)
1080
1073
  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)
1081
1074
  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)
1082
1075
  raise InvalidParameterError.new("Bad parameter: bundle_watermark_value must be an Hash") if params[:bundle_watermark_value] and !params[:bundle_watermark_value].is_a?(Hash)
@@ -117,13 +117,13 @@ module Files
117
117
  @attributes[:bypass_site_allowed_ips] = value
118
118
  end
119
119
 
120
- # boolean - Exempt this user from being disabled based on inactivity?
121
- def bypass_inactive_disable
122
- @attributes[:bypass_inactive_disable]
120
+ # boolean - Exempt this user from user lifecycle rules?
121
+ def bypass_user_lifecycle_rules
122
+ @attributes[:bypass_user_lifecycle_rules]
123
123
  end
124
124
 
125
- def bypass_inactive_disable=(value)
126
- @attributes[:bypass_inactive_disable] = value
125
+ def bypass_user_lifecycle_rules=(value)
126
+ @attributes[:bypass_user_lifecycle_rules] = value
127
127
  end
128
128
 
129
129
  # date-time - When this user was created
@@ -740,7 +740,7 @@ module Files
740
740
  # authenticate_until - string - Scheduled Date/Time at which user will be deactivated
741
741
  # authentication_method - string - How is this user authenticated?
742
742
  # billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
743
- # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
743
+ # bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
744
744
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
745
745
  # dav_permission - boolean - Can the user connect with WebDAV?
746
746
  # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
@@ -905,7 +905,7 @@ module Files
905
905
  # authenticate_until - string - Scheduled Date/Time at which user will be deactivated
906
906
  # authentication_method - string - How is this user authenticated?
907
907
  # billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
908
- # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
908
+ # bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
909
909
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
910
910
  # dav_permission - boolean - Can the user connect with WebDAV?
911
911
  # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
@@ -1020,7 +1020,7 @@ module Files
1020
1020
  # authenticate_until - string - Scheduled Date/Time at which user will be deactivated
1021
1021
  # authentication_method - string - How is this user authenticated?
1022
1022
  # billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
1023
- # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
1023
+ # bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
1024
1024
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
1025
1025
  # dav_permission - boolean - Can the user connect with WebDAV?
1026
1026
  # disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.263"
4
+ VERSION = "1.1.265"
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.263
4
+ version: 1.1.265
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-06-05 00:00:00.000000000 Z
11
+ date: 2025-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable