files-com 1.6.11__py3-none-any.whl → 1.6.13__py3-none-any.whl

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.

Potentially problematic release.


This version of files-com might be problematic. Click here for more details.

_VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.11
1
+ 1.6.13
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.11
3
+ Version: 1.6.13
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -1,7 +1,7 @@
1
1
  README.md,sha256=dJpTjuJA-JJIQ4CKgQhlbqyxanVatHk0RXgCD6KFl3A,28758
2
- _VERSION,sha256=Lty-CLevhl38Fp1XGHgQARVE18b-e6wafPbBK-NCM2c,7
3
- files_com-1.6.11.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=HfzpIYLtmk2RFcXS7eyHdEasS2b_TVzie4Y5bROhgDw,12464
2
+ _VERSION,sha256=hBywEi78_CByKsmcvkGGUTHtOisdBObTVMEvXB_Ka6o,7
3
+ files_com-1.6.13.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=ocPlWJxCyuSASm07VyIiMU3G8Bkvc5dy31SARJacuOI,12464
5
5
  files_sdk/api.py,sha256=HOLk50HLQCbnHwnAr9OElQEWvdA_BABBSEvvFSt1S4A,1846
6
6
  files_sdk/api_client.py,sha256=cfFvm-o4Ao8SWADiJv7t7qnJfG_LJmWV3l6ALTC-Opo,11264
7
7
  files_sdk/error.py,sha256=lZKht6lYj9i99CzRbHschmdSs6T2Y51-YrZX_5Y_o7A,64945
@@ -79,7 +79,7 @@ files_sdk/models/priority.py,sha256=kByzhOOVwKVSxrMI5xJb1RwUtQdSuFFBLBNEHYzWSm0,
79
79
  files_sdk/models/project.py,sha256=nDpX0qc7jY6evRprjQ7l4YgjM9WNH0aXaRbE2mpo6zk,7510
80
80
  files_sdk/models/public_hosting_request_log.py,sha256=N3QWRTV0fmKNNrSRlw04-xwPezvKhsCXiFYkr5eKsyE,5441
81
81
  files_sdk/models/public_ip_address.py,sha256=5VSlJ4PZQilV6tpGRCnyvGJzqRzdSRpwVDZxKwsplcU,1259
82
- files_sdk/models/public_key.py,sha256=3UXc02w07lerh2g9ANGetkiwAXGss2uCPkKHzmh5CqQ,9955
82
+ files_sdk/models/public_key.py,sha256=c-OySt4m2ghmPZ6jutTZTmB8IVYp5jN-OE8_K9k2U9Y,10039
83
83
  files_sdk/models/remote_bandwidth_snapshot.py,sha256=kryNewGqe_ZN4D3JBL26DoVYKDowubUNLXn7NQtEJb8,4476
84
84
  files_sdk/models/remote_server.py,sha256=crDqrWv56GEYW49Y0vUiZhXCvjymMyn-ByWmqfEof3k,86036
85
85
  files_sdk/models/remote_server_configuration_file.py,sha256=m6kfh5yUAYTP42nHuYJ-GFu73981kjjqPuZX3SeHbiA,3330
@@ -92,7 +92,7 @@ files_sdk/models/sftp_host_key.py,sha256=3r5noHhRg-Hn3TLGBUDQYayKIw_Dn5waB9YmGSf
92
92
  files_sdk/models/share_group.py,sha256=rw-W2x5XFBPc48rvazaro28HfjOli885417i702Mowc,9066
93
93
  files_sdk/models/share_group_member.py,sha256=m0BUE4AhClJIoaV-_kU0yryCOwQ5EloZlyHQ4WaCVdU,1248
94
94
  files_sdk/models/siem_http_destination.py,sha256=BDExKltNMH8q3ZoKJO_fBRtjVliqzjnj1KHEKycXiCw,49945
95
- files_sdk/models/site.py,sha256=Q9PRXxXrWDcKB5UPkmN6qxjJOuv5TX4CktMr-1I6W6U,70093
95
+ files_sdk/models/site.py,sha256=hnWiYy9wF3tDhpSf3DDsufwmAFC_cJ7ifwi13gga5ec,69437
96
96
  files_sdk/models/snapshot.py,sha256=zmdQWKR8EhUkF1mFQHFzWfreaEVXG1p_jEtmY4j3cKA,9840
97
97
  files_sdk/models/sso_strategy.py,sha256=vWNCPfot8z15xUhAoFsS52W-1vg8IpKIqAALZ6pBwd0,9112
98
98
  files_sdk/models/status.py,sha256=IIY3RiJ2RZ2yPByAAh8eIq_cgZFTj13eR4UpqHTANQI,1363
@@ -101,14 +101,14 @@ files_sdk/models/sync_log.py,sha256=JFIUCOmFon9qMhA6aeruZ55ugMHsM29jlpGVbzqNDoY,
101
101
  files_sdk/models/usage_by_top_level_dir.py,sha256=o_dETvzcgEA9lsdES_yzwPVAZVFk4ZcnsCTugR8O8eY,1185
102
102
  files_sdk/models/usage_daily_snapshot.py,sha256=rWf6GaTlN9spkUPwfF4IJ0Y6z-JTV9TAWjsFrxI-UFg,5477
103
103
  files_sdk/models/usage_snapshot.py,sha256=3GzMIxBjKelgNP7ksWq4XlrRlAFcYxzd_J6vAgb52qc,4005
104
- files_sdk/models/user.py,sha256=E6a6GUaaGbwk49sHgWI-FyCPF8u9vYhppKJ1f4gcw_M,59730
104
+ files_sdk/models/user.py,sha256=VRpgFNf8rSddzSRb62hXLq7YeVHkVuTzPrQ6jTJkQX4,59714
105
105
  files_sdk/models/user_cipher_use.py,sha256=FugKNQhWaRuqxLiYabpXeskk9DcWVVCN2iL7A3xY-pM,3011
106
106
  files_sdk/models/user_lifecycle_rule.py,sha256=Rj4lYUt_11fny42dvpP6WSRz8ipB6E4SP3t8HaHDkPM,11937
107
107
  files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6qxgU,6187
108
108
  files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
109
109
  files_sdk/models/web_dav_action_log.py,sha256=jPX4sOmR9TbYnsU8DU3b0-KQ8E2cHNaqdmFZKTjzpwE,56358
110
110
  files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
111
- files_com-1.6.11.dist-info/METADATA,sha256=cfnt9k7x56MBaTwgyAklRLnl6TjLN19FBmP8WZPjycc,29050
112
- files_com-1.6.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
113
- files_com-1.6.11.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
114
- files_com-1.6.11.dist-info/RECORD,,
111
+ files_com-1.6.13.dist-info/METADATA,sha256=KyRFpXP7UQBoTXVsVKyL_pcUsWRuoAVPN9YwisO1x5A,29050
112
+ files_com-1.6.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
113
+ files_com-1.6.13.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
114
+ files_com-1.6.13.dist-info/RECORD,,
files_sdk/__init__.py CHANGED
@@ -215,7 +215,7 @@ session_id = None
215
215
  source_ip = None
216
216
  base_url = "https://app.files.com"
217
217
  base_path = "api/rest/v1"
218
- version = "1.6.11"
218
+ version = "1.6.13"
219
219
 
220
220
  __version__ = version
221
221
 
@@ -15,6 +15,7 @@ class PublicKey:
15
15
  "created_at": None, # date-time - Public key created at date/time
16
16
  "fingerprint": None, # string - Public key fingerprint (MD5)
17
17
  "fingerprint_sha256": None, # string - Public key fingerprint (SHA256)
18
+ "last_login_at": None, # date-time - Key's most recent login time via SFTP
18
19
  "username": None, # string - Username of the user this public key is associated with
19
20
  "user_id": None, # int64 - User ID this public key is associated with
20
21
  "public_key": None, # string - Actual contents of SSH key.
files_sdk/models/site.py CHANGED
@@ -179,7 +179,6 @@ class Site:
179
179
  "welcome_email_enabled": None, # boolean - Will the welcome email be sent to new users?
180
180
  "welcome_screen": None, # string - Does the welcome screen appear?
181
181
  "windows_mode_ftp": None, # boolean - Does FTP user Windows emulation mode?
182
- "disable_users_from_inactivity_period_days": None, # int64 - If greater than zero, users will unable to login if they do not show activity within this number of days.
183
182
  "group_admins_can_set_user_password": None, # boolean - Allow group admins set password authentication method
184
183
  }
185
184
 
@@ -306,7 +305,6 @@ def get_usage(params=None, options=None):
306
305
  # opt_out_global - boolean - Use servers in the USA only?
307
306
  # use_provided_modified_at - boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
308
307
  # custom_namespace - boolean - Is this site using a custom namespace for users?
309
- # 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.
310
308
  # 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.
311
309
  # 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.
312
310
  # sharing_enabled - boolean - Allow bundle creation
@@ -869,15 +867,6 @@ def update(params=None, options=None):
869
867
  raise InvalidParameterError(
870
868
  "Bad parameter: custom_namespace must be an bool"
871
869
  )
872
- if (
873
- "disable_users_from_inactivity_period_days" in params
874
- and not isinstance(
875
- params["disable_users_from_inactivity_period_days"], int
876
- )
877
- ):
878
- raise InvalidParameterError(
879
- "Bad parameter: disable_users_from_inactivity_period_days must be an int"
880
- )
881
870
  if "non_sso_groups_allowed" in params and not isinstance(
882
871
  params["non_sso_groups_allowed"], bool
883
872
  ):
files_sdk/models/user.py CHANGED
@@ -22,7 +22,7 @@ class User:
22
22
  "billable": None, # boolean - Is this a billable user record?
23
23
  "billing_permission": None, # boolean - Allow this user to perform operations on the account, payments, and invoices?
24
24
  "bypass_site_allowed_ips": None, # boolean - Allow this user to skip site-wide IP blacklists?
25
- "bypass_inactive_disable": None, # boolean - Exempt this user from being disabled based on inactivity?
25
+ "bypass_user_lifecycle_rules": None, # boolean - Exempt this user from user lifecycle rules?
26
26
  "created_at": None, # date-time - When this user was created
27
27
  "dav_permission": None, # boolean - Can the user connect with WebDAV?
28
28
  "disabled": None, # 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.
@@ -185,7 +185,7 @@ class User:
185
185
  # authenticate_until - string - Scheduled Date/Time at which user will be deactivated
186
186
  # authentication_method - string - How is this user authenticated?
187
187
  # billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
188
- # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
188
+ # bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
189
189
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
190
190
  # dav_permission - boolean - Can the user connect with WebDAV?
191
191
  # 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.
@@ -509,7 +509,7 @@ def get(id, params=None, options=None):
509
509
  # authenticate_until - string - Scheduled Date/Time at which user will be deactivated
510
510
  # authentication_method - string - How is this user authenticated?
511
511
  # billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
512
- # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
512
+ # bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
513
513
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
514
514
  # dav_permission - boolean - Can the user connect with WebDAV?
515
515
  # 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.
@@ -622,11 +622,11 @@ def create(params=None, options=None):
622
622
  raise InvalidParameterError(
623
623
  "Bad parameter: billing_permission must be an bool"
624
624
  )
625
- if "bypass_inactive_disable" in params and not isinstance(
626
- params["bypass_inactive_disable"], bool
625
+ if "bypass_user_lifecycle_rules" in params and not isinstance(
626
+ params["bypass_user_lifecycle_rules"], bool
627
627
  ):
628
628
  raise InvalidParameterError(
629
- "Bad parameter: bypass_inactive_disable must be an bool"
629
+ "Bad parameter: bypass_user_lifecycle_rules must be an bool"
630
630
  )
631
631
  if "bypass_site_allowed_ips" in params and not isinstance(
632
632
  params["bypass_site_allowed_ips"], bool
@@ -838,7 +838,7 @@ def user_2fa_reset(id, params=None, options=None):
838
838
  # authenticate_until - string - Scheduled Date/Time at which user will be deactivated
839
839
  # authentication_method - string - How is this user authenticated?
840
840
  # billing_permission - boolean - Allow this user to perform operations on the account, payments, and invoices?
841
- # bypass_inactive_disable - boolean - Exempt this user from being disabled based on inactivity?
841
+ # bypass_user_lifecycle_rules - boolean - Exempt this user from user lifecycle rules?
842
842
  # bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
843
843
  # dav_permission - boolean - Can the user connect with WebDAV?
844
844
  # 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.
@@ -954,11 +954,11 @@ def update(id, params=None, options=None):
954
954
  raise InvalidParameterError(
955
955
  "Bad parameter: billing_permission must be an bool"
956
956
  )
957
- if "bypass_inactive_disable" in params and not isinstance(
958
- params["bypass_inactive_disable"], bool
957
+ if "bypass_user_lifecycle_rules" in params and not isinstance(
958
+ params["bypass_user_lifecycle_rules"], bool
959
959
  ):
960
960
  raise InvalidParameterError(
961
- "Bad parameter: bypass_inactive_disable must be an bool"
961
+ "Bad parameter: bypass_user_lifecycle_rules must be an bool"
962
962
  )
963
963
  if "bypass_site_allowed_ips" in params and not isinstance(
964
964
  params["bypass_site_allowed_ips"], bool