files-com 1.6.39__py3-none-any.whl → 1.6.40__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.39
1
+ 1.6.40
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.39
3
+ Version: 1.6.40
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=hrDbMEYAx762iSyEdwBQQE_oh3CBwcpEmd1WBSJtkQg,7
3
- files_com-1.6.39.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=S8Df5yppJydRMo51_yIlAG6BCjjf89OWMK-YwTEN91w,12884
2
+ _VERSION,sha256=oI-eJ1FxO1ZXoF38ctBHBvU50K0yaWu52FqOKw-uGQE,7
3
+ files_com-1.6.40.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=jvgoy3XxxboyGS1EGO_ra1dzfWyVdPUsiEt4sIu8Q8I,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=lZKht6lYj9i99CzRbHschmdSs6T2Y51-YrZX_5Y_o7A,64945
@@ -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=VqYKbKsWa6S9yg7R-NQClWbStBXodH9FEL8jxEbiOFI,69580
97
+ files_sdk/models/site.py,sha256=Nd7dzi5kqWgxN7iSwsDvk-9X2bKfC1lqDIgDg2SKU0Q,70438
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.39.dist-info/METADATA,sha256=ZevGNUhFbZSZLYVd8L9PsY1QKNDZRb-7sia_oXAxWc4,29050
116
- files_com-1.6.39.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
117
- files_com-1.6.39.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
118
- files_com-1.6.39.dist-info/RECORD,,
115
+ files_com-1.6.40.dist-info/METADATA,sha256=9RTPtr_rCHY3JQcCaaGDVUAM3ICbjb49JpMPTKbqLlo,29050
116
+ files_com-1.6.40.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
117
+ files_com-1.6.40.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
118
+ files_com-1.6.40.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.39"
226
+ version = "1.6.40"
227
227
 
228
228
  __version__ = version
229
229
 
files_sdk/models/site.py CHANGED
@@ -146,8 +146,10 @@ class Site:
146
146
  "sharing_enabled": None, # boolean - Allow bundle creation
147
147
  "show_user_notifications_log_in_link": None, # boolean - Show log in link in user notifications?
148
148
  "show_request_access_link": None, # boolean - Show request access link for users without access? Currently unused.
149
- "site_footer": None, # string - Custom site footer text
150
- "site_header": None, # string - Custom site header text
149
+ "site_footer": None, # string - Custom site footer text for authenticated pages
150
+ "site_header": None, # string - Custom site header text for authenticated pages
151
+ "site_public_footer": None, # string - Custom site footer text for public pages
152
+ "site_public_header": None, # string - Custom site header text for public pages
151
153
  "smtp_address": None, # string - SMTP server hostname or IP
152
154
  "smtp_authentication": None, # string - SMTP server authentication type
153
155
  "smtp_from": None, # string - From address to use when mailing through custom SMTP
@@ -340,8 +342,10 @@ def get_usage(params=None, options=None):
340
342
  # color2_link - string - Top bar link color
341
343
  # color2_text - string - Page link and button color
342
344
  # color2_top_text - string - Top bar text color
343
- # site_header - string - Custom site header text
344
- # site_footer - string - Custom site footer text
345
+ # site_header - string - Custom site header text for authenticated pages
346
+ # site_footer - string - Custom site footer text for authenticated pages
347
+ # site_public_header - string - Custom site header text for public pages
348
+ # site_public_footer - string - Custom site footer text for public pages
345
349
  # login_help_text - string - Login help text
346
350
  # use_dedicated_ips_for_smtp - boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
347
351
  # smtp_address - string - SMTP server hostname or IP
@@ -1078,6 +1082,18 @@ def update(params=None, options=None):
1078
1082
  raise InvalidParameterError(
1079
1083
  "Bad parameter: site_footer must be an str"
1080
1084
  )
1085
+ if "site_public_header" in params and not isinstance(
1086
+ params["site_public_header"], str
1087
+ ):
1088
+ raise InvalidParameterError(
1089
+ "Bad parameter: site_public_header must be an str"
1090
+ )
1091
+ if "site_public_footer" in params and not isinstance(
1092
+ params["site_public_footer"], str
1093
+ ):
1094
+ raise InvalidParameterError(
1095
+ "Bad parameter: site_public_footer must be an str"
1096
+ )
1081
1097
  if "login_help_text" in params and not isinstance(
1082
1098
  params["login_help_text"], str
1083
1099
  ):