files-com 1.6.46__py3-none-any.whl → 1.6.48__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.48
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.46
3
+ Version: 1.6.48
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=-h8lkWB2if0nBpatrm73wG1RdLTma98BgEIItg6m7Ww,7
3
+ files_com-1.6.48.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=xH7rA8Zlu_OvrewlvOuPP2ft9FRhwwAdP82VufJw3P0,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
@@ -51,7 +51,7 @@ files_sdk/models/folder.py,sha256=KCKbx5FlRSzxm5JJmDpdZbAev7PmrGmdUusPKWJi44A,11
51
51
  files_sdk/models/form_field.py,sha256=xaaLnvctZ3Do5lnppn-s6UQguzfsyVpfdmz-Ykij9Nw,1509
52
52
  files_sdk/models/form_field_set.py,sha256=7hms9QZNWmSoCdZZUsYoQvTaT5lmDwDGz5YdwBZxOq8,10528
53
53
  files_sdk/models/ftp_action_log.py,sha256=ozCEqTrOEfzBrvlIPuhsVLaVSRj8MhtThVHjsJUog54,168594
54
- files_sdk/models/gpg_key.py,sha256=140Y0rU2XTeJW0KITsWurXKyxjKHy2owLkGTo8gWf2U,12439
54
+ files_sdk/models/gpg_key.py,sha256=54HsjbVI5zGrHSsnC0oVwyUva1h_U6-aAQUGZLN-aqI,12666
55
55
  files_sdk/models/group.py,sha256=NCWhnhjBK8jAeCgLp2qYLV2lURxuSD1QO4EsmTF_tzw,16062
56
56
  files_sdk/models/group_user.py,sha256=ZVl2vQ2FuPFC9YW5Geo9iST438eLvs6Pc_BlQRGg9Sg,10087
57
57
  files_sdk/models/history.py,sha256=Elc04ji3rWWhEc68KzPzcEeCqfMSA4Jmjb9sAZ4LvKc,14138
@@ -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.48.dist-info/METADATA,sha256=d5PXet3uyTMpp993AIRNpAbvOj-MleKGezd58reSgH8,29007
116
+ files_com-1.6.48.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
117
+ files_com-1.6.48.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
118
+ files_com-1.6.48.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.48"
227
227
 
228
228
  __version__ = version
229
229
 
@@ -14,6 +14,8 @@ class GpgKey:
14
14
  "expires_at": None, # date-time - Your GPG key expiration date.
15
15
  "name": None, # string - Your GPG key name.
16
16
  "user_id": None, # int64 - GPG owner's user id
17
+ "public_key_md5": None, # string - MD5 hash of your GPG public key
18
+ "private_key_md5": None, # string - MD5 hash of your GPG private key.
17
19
  "public_key": None, # string - Your GPG public key
18
20
  "private_key": None, # string - Your GPG private key.
19
21
  "private_key_password": None, # string - Your GPG private key password. Only required for password protected keys.
@@ -43,8 +45,8 @@ class GpgKey:
43
45
  }
44
46
 
45
47
  # Parameters:
46
- # public_key - string - Your GPG public key
47
- # private_key - string - Your GPG private key.
48
+ # public_key - string - MD5 hash of your GPG public key
49
+ # private_key - string - MD5 hash of your GPG private key.
48
50
  # private_key_password - string - Your GPG private key password. Only required for password protected keys.
49
51
  # name - string - Your GPG key name.
50
52
  def update(self, params=None):
@@ -169,8 +171,8 @@ def get(id, params=None, options=None):
169
171
 
170
172
  # Parameters:
171
173
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
172
- # public_key - string - Your GPG public key
173
- # private_key - string - Your GPG private key.
174
+ # public_key - string - MD5 hash of your GPG public key
175
+ # private_key - string - MD5 hash of your GPG private key.
174
176
  # private_key_password - string - Your GPG private key password. Only required for password protected keys.
175
177
  # name (required) - string - Your GPG key name.
176
178
  # generate_expires_at - string - Expiration date of the key. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
@@ -229,8 +231,8 @@ def create(params=None, options=None):
229
231
 
230
232
 
231
233
  # Parameters:
232
- # public_key - string - Your GPG public key
233
- # private_key - string - Your GPG private key.
234
+ # public_key - string - MD5 hash of your GPG public key
235
+ # private_key - string - MD5 hash of your GPG private key.
234
236
  # private_key_password - string - Your GPG private key password. Only required for password protected keys.
235
237
  # name - string - Your GPG key name.
236
238
  def update(id, params=None, options=None):
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
  ):