files-com 1.6.46__py3-none-any.whl → 1.6.47__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.46
1
+ 1.6.47
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.46
3
+ Version: 1.6.47
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=g1DcyvuLNh7PXvgnat7MTirGLA0ck1_aI9_WcjSIXmg,28715
2
- _VERSION,sha256=3FzfBK9ebhrqf6RyKknml3dbZRMGEImYE-dPuYwd3N4,7
3
- files_com-1.6.46.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=djdehGQzLytBEWBbDwiAVfFxrzdS9ALtJY3hrOnrUMw,12884
2
+ _VERSION,sha256=kyatQXvnBoge-sqaYhd32GfwwqZc7ZQZoMfRt4DnP54,7
3
+ files_com-1.6.47.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=UrWwFKzkgFyizXksM0PJcZh_U32to1Um3DkgrL3gCfo,12884
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=JZD-njfO1NG0xGBc1kExiDUCbq9xT5JHjBv9oBXtJ58,64619
@@ -94,7 +94,7 @@ files_sdk/models/sftp_host_key.py,sha256=3r5noHhRg-Hn3TLGBUDQYayKIw_Dn5waB9YmGSf
94
94
  files_sdk/models/share_group.py,sha256=rw-W2x5XFBPc48rvazaro28HfjOli885417i702Mowc,9066
95
95
  files_sdk/models/share_group_member.py,sha256=m0BUE4AhClJIoaV-_kU0yryCOwQ5EloZlyHQ4WaCVdU,1248
96
96
  files_sdk/models/siem_http_destination.py,sha256=BDExKltNMH8q3ZoKJO_fBRtjVliqzjnj1KHEKycXiCw,49945
97
- files_sdk/models/site.py,sha256=Nd7dzi5kqWgxN7iSwsDvk-9X2bKfC1lqDIgDg2SKU0Q,70438
97
+ files_sdk/models/site.py,sha256=EAN5c7je-CtidFpetrxyAjfuaCDYOGc5zt8j0Tyww0g,69513
98
98
  files_sdk/models/snapshot.py,sha256=zmdQWKR8EhUkF1mFQHFzWfreaEVXG1p_jEtmY4j3cKA,9840
99
99
  files_sdk/models/sso_strategy.py,sha256=vWNCPfot8z15xUhAoFsS52W-1vg8IpKIqAALZ6pBwd0,9112
100
100
  files_sdk/models/status.py,sha256=IIY3RiJ2RZ2yPByAAh8eIq_cgZFTj13eR4UpqHTANQI,1363
@@ -112,7 +112,7 @@ files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6q
112
112
  files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
113
113
  files_sdk/models/web_dav_action_log.py,sha256=uMTIkTgSpW5mgKAEWnCmI4U5eqcAL2g8OHqB-lBir3A,76424
114
114
  files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
115
- files_com-1.6.46.dist-info/METADATA,sha256=OoI-Fq6QWW_c1zGnw1fOa-VfL8gEc7w8Q6c-3fC2thg,29007
116
- files_com-1.6.46.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
117
- files_com-1.6.46.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
118
- files_com-1.6.46.dist-info/RECORD,,
115
+ files_com-1.6.47.dist-info/METADATA,sha256=n0NEOKZaH4YGG3pSzYX3bALVcG7bu8yiX5Oi5ZK4D-Y,29007
116
+ files_com-1.6.47.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
117
+ files_com-1.6.47.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
118
+ files_com-1.6.47.dist-info/RECORD,,
files_sdk/__init__.py CHANGED
@@ -223,7 +223,7 @@ session_id = None
223
223
  source_ip = None
224
224
  base_url = "https://app.files.com"
225
225
  base_path = "api/rest/v1"
226
- version = "1.6.46"
226
+ version = "1.6.47"
227
227
 
228
228
  __version__ = version
229
229
 
files_sdk/models/site.py CHANGED
@@ -161,7 +161,6 @@ class Site:
161
161
  "ssl_required": None, # boolean - Is SSL required? Disabling this is insecure.
162
162
  "subdomain": None, # string - Site subdomain
163
163
  "switch_to_plan_date": None, # date-time - If switching plans, when does the new plan take effect?
164
- "tls_disabled": None, # boolean - This setting enables Legacy Support for Insecure Ciphers across SFTP and FTP. See our documentation for more information. Contrary to its name, this setting does not disable TLS (it used to do that a long time ago), but rather enables certain ciphers which are known to be insecure but required for broad MFT compatibility.
165
164
  "trial_days_left": None, # int64 - Number of days left in trial
166
165
  "trial_until": None, # date-time - When does this Site trial expire?
167
166
  "use_dedicated_ips_for_smtp": None, # boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
@@ -268,7 +267,6 @@ def get_usage(params=None, options=None):
268
267
  # migrate_remote_server_sync_to_sync - boolean - If true, we will migrate all remote server syncs to the new Sync model.
269
268
  # session_expiry - double - Session expiry in hours
270
269
  # ssl_required - boolean - Is SSL required? Disabling this is insecure.
271
- # tls_disabled - boolean - This setting enables Legacy Support for Insecure Ciphers across SFTP and FTP. See our documentation for more information. Contrary to its name, this setting does not disable TLS (it used to do that a long time ago), but rather enables certain ciphers which are known to be insecure but required for broad MFT compatibility.
272
270
  # sftp_insecure_ciphers - boolean - If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
273
271
  # sftp_insecure_diffie_hellman - boolean - If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
274
272
  # disable_files_certificate_generation - boolean - If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
@@ -636,12 +634,6 @@ def update(params=None, options=None):
636
634
  raise InvalidParameterError(
637
635
  "Bad parameter: ssl_required must be an bool"
638
636
  )
639
- if "tls_disabled" in params and not isinstance(
640
- params["tls_disabled"], bool
641
- ):
642
- raise InvalidParameterError(
643
- "Bad parameter: tls_disabled must be an bool"
644
- )
645
637
  if "sftp_insecure_ciphers" in params and not isinstance(
646
638
  params["sftp_insecure_ciphers"], bool
647
639
  ):