files-com 1.6.20__py3-none-any.whl → 1.6.21__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.20
1
+ 1.6.21
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.20
3
+ Version: 1.6.21
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=PhBmdD-YN-1xZD5o5-3Vs36QJ5qKaYK7KcEn3GMnGHQ,7
3
- files_com-1.6.20.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=Rm38mr-IlSLurYQw2x9NlJbZgVs577QTHllZk0XgAcs,12631
2
+ _VERSION,sha256=YLmP7xdvh3MBv9DqDXx8Hi6eHuq3Rs1t5WxTuh4tGes,7
3
+ files_com-1.6.21.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=aAa61dEqjb5C6tGDX9RkP8WgqpmEWX4Mxg6G1-vlV1E,12631
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
@@ -18,7 +18,7 @@ files_sdk/models/api_request_log.py,sha256=s6i_YzKWbT8ioqIK8tMtHYWdInOrLDYwokfCe
18
18
  files_sdk/models/app.py,sha256=JiK40FW3FOp_sUehb3RCWfkc9-1OcjWai15tn9BtxbU,4678
19
19
  files_sdk/models/as2_incoming_message.py,sha256=VEkva5pSbXo_mM4UWQLcaL3EZSgBWIPqNY8PMLTMn2o,7153
20
20
  files_sdk/models/as2_outgoing_message.py,sha256=7mSM2Ce-9HUsk7klRmS30kBBPMJBRWsXmWCI7Uz85MQ,6696
21
- files_sdk/models/as2_partner.py,sha256=VEaRaGXJBOk4OS6zrhxNmMcPCANiy7o8mKoIekL7_c4,20022
21
+ files_sdk/models/as2_partner.py,sha256=e7gPlPqTYZorX7XZSA8iSaDAkV9U12ANAFKCviw3T3U,22467
22
22
  files_sdk/models/as2_station.py,sha256=XKgf0t8HVPevF1nkx8IrvGb00leahz-LSU9RG6Rn2Y4,11003
23
23
  files_sdk/models/auto.py,sha256=nODYUPqEsTw7suz0s6zDTsFd8j5yeSIzBELTiaXxzRE,995
24
24
  files_sdk/models/automation.py,sha256=MmzKUW6VbOGUcNOEQdyhMPAT49M8sIvuf3jakXG4m6s,48097
@@ -110,7 +110,7 @@ files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6q
110
110
  files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
111
111
  files_sdk/models/web_dav_action_log.py,sha256=7__LZvb_fInvXwy90ur7IrcRSxKOwF8L6OwpjJbS73Y,355354
112
112
  files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
113
- files_com-1.6.20.dist-info/METADATA,sha256=Mv-wckXIAKXzcoyBGeo_fwWSRT_n52o51GKDmtIs75g,29050
114
- files_com-1.6.20.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
115
- files_com-1.6.20.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
116
- files_com-1.6.20.dist-info/RECORD,,
113
+ files_com-1.6.21.dist-info/METADATA,sha256=HKj3lG9blYFCmVgdhamlozZv7sfRvqE_M_HbUDVSSJU,29050
114
+ files_com-1.6.21.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
115
+ files_com-1.6.21.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
116
+ files_com-1.6.21.dist-info/RECORD,,
files_sdk/__init__.py CHANGED
@@ -219,7 +219,7 @@ session_id = None
219
219
  source_ip = None
220
220
  base_url = "https://app.files.com"
221
221
  base_path = "api/rest/v1"
222
- version = "1.6.20"
222
+ version = "1.6.21"
223
223
 
224
224
  __version__ = version
225
225
 
@@ -18,7 +18,8 @@ class As2Partner:
18
18
  "http_auth_username": None, # string - Username to send to server for HTTP Authentication.
19
19
  "additional_http_headers": None, # object - Additional HTTP Headers for outgoing message sent to this partner.
20
20
  "default_mime_type": None, # string - Default mime type of the file attached to the encrypted message
21
- "mdn_validation_level": None, # string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
21
+ "mdn_validation_level": None, # string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
22
+ "signature_validation_level": None, # string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: Automatically set the correct value for this setting based on next message received.
22
23
  "enable_dedicated_ips": None, # boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
23
24
  "hex_public_certificate_serial": None, # string - Serial of public certificate used for message security in hex format.
24
25
  "public_certificate": None, # string - Public certificate used for message security.
@@ -54,7 +55,8 @@ class As2Partner:
54
55
  # enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
55
56
  # http_auth_username - string - Username to send to server for HTTP Authentication.
56
57
  # http_auth_password - string - Password to send to server for HTTP Authentication.
57
- # mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
58
+ # mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
59
+ # signature_validation_level - string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: Automatically set the correct value for this setting based on next message received.
58
60
  # server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
59
61
  # default_mime_type - string - Default mime type of the file attached to the encrypted message
60
62
  # additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
@@ -91,6 +93,12 @@ class As2Partner:
91
93
  raise InvalidParameterError(
92
94
  "Bad parameter: mdn_validation_level must be an str"
93
95
  )
96
+ if "signature_validation_level" in params and not isinstance(
97
+ params["signature_validation_level"], str
98
+ ):
99
+ raise InvalidParameterError(
100
+ "Bad parameter: signature_validation_level must be an str"
101
+ )
94
102
  if "server_certificate" in params and not isinstance(
95
103
  params["server_certificate"], str
96
104
  ):
@@ -199,7 +207,8 @@ def get(id, params=None, options=None):
199
207
  # enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
200
208
  # http_auth_username - string - Username to send to server for HTTP Authentication.
201
209
  # http_auth_password - string - Password to send to server for HTTP Authentication.
202
- # mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
210
+ # mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
211
+ # signature_validation_level - string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: Automatically set the correct value for this setting based on next message received.
203
212
  # server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
204
213
  # default_mime_type - string - Default mime type of the file attached to the encrypted message
205
214
  # additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
@@ -236,6 +245,12 @@ def create(params=None, options=None):
236
245
  raise InvalidParameterError(
237
246
  "Bad parameter: mdn_validation_level must be an str"
238
247
  )
248
+ if "signature_validation_level" in params and not isinstance(
249
+ params["signature_validation_level"], str
250
+ ):
251
+ raise InvalidParameterError(
252
+ "Bad parameter: signature_validation_level must be an str"
253
+ )
239
254
  if "server_certificate" in params and not isinstance(
240
255
  params["server_certificate"], str
241
256
  ):
@@ -288,7 +303,8 @@ def create(params=None, options=None):
288
303
  # enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
289
304
  # http_auth_username - string - Username to send to server for HTTP Authentication.
290
305
  # http_auth_password - string - Password to send to server for HTTP Authentication.
291
- # mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
306
+ # mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
307
+ # signature_validation_level - string - Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: Automatically set the correct value for this setting based on next message received.
292
308
  # server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
293
309
  # default_mime_type - string - Default mime type of the file attached to the encrypted message
294
310
  # additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
@@ -327,6 +343,12 @@ def update(id, params=None, options=None):
327
343
  raise InvalidParameterError(
328
344
  "Bad parameter: mdn_validation_level must be an str"
329
345
  )
346
+ if "signature_validation_level" in params and not isinstance(
347
+ params["signature_validation_level"], str
348
+ ):
349
+ raise InvalidParameterError(
350
+ "Bad parameter: signature_validation_level must be an str"
351
+ )
330
352
  if "server_certificate" in params and not isinstance(
331
353
  params["server_certificate"], str
332
354
  ):