files-com 1.6.68__py3-none-any.whl → 1.6.70__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.68
1
+ 1.6.70
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.68
3
+ Version: 1.6.70
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=1Rj6T45hiVlUVx3J-b3E4n3JnWQSEEkuNibBeYzwgWQ,31440
2
- _VERSION,sha256=_GVBL8n_fqFAixvcIltjz6iyjhUyZQ8OHIcyr8MfPzM,7
3
- files_com-1.6.68.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=ttrA8Fby0ntp-4hsSDuM2nFSIRAlOfIH_SPw2WvC28o,13062
2
+ _VERSION,sha256=X1-BNxOHGe0gJlz2jeSxkvoNbfGhI_RuobBhgk36x8M,7
3
+ files_com-1.6.70.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=09YjyqzA1h9qvfnAcfmw9B1XXiclxtZcehKEnWIlgEQ,13062
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=1Nrfq2AuyTf86XH1Pwx-ykzIKpPGSUibCGs-QF6_9LI,66643
@@ -95,14 +95,14 @@ files_sdk/models/sftp_host_key.py,sha256=3r5noHhRg-Hn3TLGBUDQYayKIw_Dn5waB9YmGSf
95
95
  files_sdk/models/share_group.py,sha256=rw-W2x5XFBPc48rvazaro28HfjOli885417i702Mowc,9066
96
96
  files_sdk/models/share_group_member.py,sha256=m0BUE4AhClJIoaV-_kU0yryCOwQ5EloZlyHQ4WaCVdU,1248
97
97
  files_sdk/models/siem_http_destination.py,sha256=mWgfHro5CObkwTYgiWnrREQX2X6zJR389Zw7DJgMFac,50185
98
- files_sdk/models/site.py,sha256=XvmOkSN5qqHKe344EOjkiKcSzuJlgGCHoEvQ1--7M-c,69613
98
+ files_sdk/models/site.py,sha256=cxXogtBHPPk1ZruEPP-IBcyKP9QKHFzgBGlmH1gwunc,70076
99
99
  files_sdk/models/snapshot.py,sha256=zmdQWKR8EhUkF1mFQHFzWfreaEVXG1p_jEtmY4j3cKA,9840
100
100
  files_sdk/models/sso_strategy.py,sha256=vWNCPfot8z15xUhAoFsS52W-1vg8IpKIqAALZ6pBwd0,9112
101
101
  files_sdk/models/status.py,sha256=IIY3RiJ2RZ2yPByAAh8eIq_cgZFTj13eR4UpqHTANQI,1363
102
102
  files_sdk/models/style.py,sha256=KZY0fZ4kP4AtwZpCi24EtNXL8WFLhE9a1Jme1gA6Kkw,5201
103
103
  files_sdk/models/sync.py,sha256=dIlmpq4LNwYRMeD5-cQpx6r3XCpF5r8uvzYFGFT17fA,28291
104
104
  files_sdk/models/sync_log.py,sha256=uWP2p4LiUmV5hqZvaZFIBJIyPmdZ21lP9O81LQuNKS4,21135
105
- files_sdk/models/sync_run.py,sha256=hxjkVOgsyAL55uZ6AbZWPcICa4283MjhoTrzbkpI8kg,6963
105
+ files_sdk/models/sync_run.py,sha256=aQX8hT1NmZ2i5J2C1vJLAE1HK5gn-TMFukfTsKydF2Y,6879
106
106
  files_sdk/models/usage_by_top_level_dir.py,sha256=o_dETvzcgEA9lsdES_yzwPVAZVFk4ZcnsCTugR8O8eY,1185
107
107
  files_sdk/models/usage_daily_snapshot.py,sha256=rWf6GaTlN9spkUPwfF4IJ0Y6z-JTV9TAWjsFrxI-UFg,5477
108
108
  files_sdk/models/usage_snapshot.py,sha256=3GzMIxBjKelgNP7ksWq4XlrRlAFcYxzd_J6vAgb52qc,4005
@@ -113,7 +113,7 @@ files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6q
113
113
  files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
114
114
  files_sdk/models/web_dav_action_log.py,sha256=uMTIkTgSpW5mgKAEWnCmI4U5eqcAL2g8OHqB-lBir3A,76424
115
115
  files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
116
- files_com-1.6.68.dist-info/METADATA,sha256=YT-3yrllwyt2dWkKvsWatgfpV0GI1aDWeg8OyCDYcUU,31732
117
- files_com-1.6.68.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
118
- files_com-1.6.68.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
119
- files_com-1.6.68.dist-info/RECORD,,
116
+ files_com-1.6.70.dist-info/METADATA,sha256=6-sb5Y9cdy_NN58pcH5dVP4DlHFjwG_4J15_V_4SQIQ,31732
117
+ files_com-1.6.70.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
118
+ files_com-1.6.70.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
119
+ files_com-1.6.70.dist-info/RECORD,,
files_sdk/__init__.py CHANGED
@@ -227,7 +227,7 @@ session_id = None
227
227
  source_ip = None
228
228
  base_url = "https://app.files.com"
229
229
  base_path = "api/rest/v1"
230
- version = "1.6.68"
230
+ version = "1.6.70"
231
231
 
232
232
  __version__ = version
233
233
 
files_sdk/models/site.py CHANGED
@@ -26,6 +26,7 @@ class Site:
26
26
  "allowed_countries": None, # string - Comma separated list of allowed Country codes
27
27
  "allowed_ips": None, # string - List of allowed IP addresses
28
28
  "always_mkdir_parents": None, # boolean - Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
29
+ "as2_message_retention_days": None, # int64 - Number of days to retain AS2 messages (incoming and outgoing).
29
30
  "ask_about_overwrites": None, # boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
30
31
  "bundle_activity_notifications": None, # string - Do Bundle owners receive activity notifications?
31
32
  "bundle_expiration": None, # int64 - Site-wide Bundle expiration in days
@@ -266,6 +267,7 @@ def get_usage(params=None, options=None):
266
267
  # calculate_file_checksums_sha256 - boolean - Calculate SHA256 checksums for files?
267
268
  # legacy_checksums_mode - boolean - Use legacy checksums mode?
268
269
  # migrate_remote_server_sync_to_sync - boolean - If true, we will migrate all remote server syncs to the new Sync model.
270
+ # as2_message_retention_days - int64 - Number of days to retain AS2 messages (incoming and outgoing).
269
271
  # session_expiry - double - Session expiry in hours
270
272
  # ssl_required - boolean - Is SSL required? Disabling this is insecure.
271
273
  # 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.
@@ -623,6 +625,12 @@ def update(params=None, options=None):
623
625
  raise InvalidParameterError(
624
626
  "Bad parameter: migrate_remote_server_sync_to_sync must be an bool"
625
627
  )
628
+ if "as2_message_retention_days" in params and not isinstance(
629
+ params["as2_message_retention_days"], int
630
+ ):
631
+ raise InvalidParameterError(
632
+ "Bad parameter: as2_message_retention_days must be an int"
633
+ )
626
634
  if "session_expiry" in params and not isinstance(
627
635
  params["session_expiry"], float
628
636
  ):
@@ -25,7 +25,6 @@ class SyncRun:
25
25
  "runtime": None, # double - Total runtime in seconds
26
26
  "log_url": None, # string - Link to external log file.
27
27
  "completed_at": None, # date-time - When this run was completed
28
- "notified": None, # boolean - Whether notifications were sent for this run
29
28
  "dry_run": None, # boolean - Whether this run was a dry run (no actual changes made)
30
29
  "bytes_synced": None, # int64 - Total bytes synced in this run
31
30
  "estimated_bytes_count": None, # int64 - Estimated bytes count for this run