files-com 1.5.4__py3-none-any.whl → 1.5.5__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.5.4
1
+ 1.5.5
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.5.4
3
+ Version: 1.5.5
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=rVOUbl9T_vio5S50NXggbFF5vlAtu7TOWgMQOWVXrl0,28303
2
- _VERSION,sha256=h5pnoZdEZHnng8jiKlhoH-0yTwnqwc6Aj2paTF4YlK0,6
3
- files_com-1.5.4.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=7UL4sR5fd2bvtqaRHT8Y4AwxvR-ovBhONpNNsFXL2Y0,12163
2
+ _VERSION,sha256=BMk7fnY1pD0MttCX-a8KcqmXMEHRGEflIcxoLxZoxgU,6
3
+ files_com-1.5.5.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=Ujtxe062kdVfC3ymeJ-Of3pdkNx2uXNGgR-uAJZBHpI,12163
5
5
  files_sdk/api.py,sha256=pApkR1SYNByTLJICNnuC3S9DP5QzIsGv401Z_00oEpI,1717
6
6
  files_sdk/api_client.py,sha256=bMzG89eFrAfqy3u69AuZlIj3AFwEKbufC0w2EEKdHPA,11041
7
7
  files_sdk/error.py,sha256=lZKht6lYj9i99CzRbHschmdSs6T2Y51-YrZX_5Y_o7A,64945
@@ -23,16 +23,16 @@ files_sdk/models/as2_station.py,sha256=ZFjSw2sBRQgh9x1m76dFB2crSp4P__9xqStaBZa8Z
23
23
  files_sdk/models/auto.py,sha256=nODYUPqEsTw7suz0s6zDTsFd8j5yeSIzBELTiaXxzRE,995
24
24
  files_sdk/models/automation.py,sha256=kswZXOs6kh-EnZBqAfrAlihwtS0zK4clDYs1vv4VxVw,43565
25
25
  files_sdk/models/automation_log.py,sha256=hzaEoc1_ZG8aLmymK4QpB1OD-tYphg2NTNggF8UMFqs,15299
26
- files_sdk/models/automation_run.py,sha256=RruWjOJ9Ok-PeKNdY-DLQxydk9rKYZwXaF2cdGhYtJE,5099
26
+ files_sdk/models/automation_run.py,sha256=ThDA_5inLYaunKOcNgXFD9QLlhndJXC2TOl7-GqK098,5341
27
27
  files_sdk/models/bandwidth_snapshot.py,sha256=IBcRP5r_iFl86lhHOb5o5UZdsT8_-cBrAjKyPAc7OBw,4722
28
28
  files_sdk/models/behavior.py,sha256=Z0TbXgoh8-5wGX-jMFEgsF0znbNhdDPlEOZGdGmA6L4,17328
29
29
  files_sdk/models/bundle.py,sha256=Ei8V8dkGu3hEJ_qZZC63tHclKNHrbRlDLCuhUYcGOXE,30030
30
- files_sdk/models/bundle_action.py,sha256=bwD-HLZYXp-hfATKdTpoplVYb4SnJrlh5EzDrmpNdVc,4797
30
+ files_sdk/models/bundle_action.py,sha256=lgDrrFake0zkxE0Cq5QDwlJi2M2ZyJrquP5sgh_XnA0,5039
31
31
  files_sdk/models/bundle_download.py,sha256=ZSjf6R0kCiFGgjQq7bu5nsFAtaW0sE72IZhCx2g5D10,4832
32
32
  files_sdk/models/bundle_notification.py,sha256=1qJP1wvruz3seXj1Pj0sqFT8wyQhDgp0AD7utAT0ofQ,8530
33
33
  files_sdk/models/bundle_path.py,sha256=UQc3Y1zD6s2AWEoFZ1H5_FuXr3cuNoLw18XGHxauMVA,1249
34
34
  files_sdk/models/bundle_recipient.py,sha256=Aw1TGxCiVDez20eH43pKpfOjpnjPOPZRhVn2ty9olpQ,5587
35
- files_sdk/models/bundle_registration.py,sha256=CoYc15qPQ6Enke5glK0ywGhWVhm0hNCjRvql8SsUSvo,3668
35
+ files_sdk/models/bundle_registration.py,sha256=Igvrg3K2dT0re8MO4hmXg6u02ljiR569nOOyG0L7NHE,3910
36
36
  files_sdk/models/clickwrap.py,sha256=6xCBvo38zlA2s7U0lIH1nmbEjv2U2A_FL_5pAtbjkGE,11563
37
37
  files_sdk/models/dns_record.py,sha256=iXrDPyaovMmPopCGaiPcK1hcuKCYaqnhnsj0Olxjq8g,2370
38
38
  files_sdk/models/email_incoming_message.py,sha256=ciP9FI3wxfC7vqzZ0Cx3-_mszoZKfdFwD1sg6QI7tok,5391
@@ -102,12 +102,12 @@ files_sdk/models/usage_by_top_level_dir.py,sha256=o_dETvzcgEA9lsdES_yzwPVAZVFk4Z
102
102
  files_sdk/models/usage_daily_snapshot.py,sha256=rWf6GaTlN9spkUPwfF4IJ0Y6z-JTV9TAWjsFrxI-UFg,5477
103
103
  files_sdk/models/usage_snapshot.py,sha256=3GzMIxBjKelgNP7ksWq4XlrRlAFcYxzd_J6vAgb52qc,4005
104
104
  files_sdk/models/user.py,sha256=dUoxi4amdK0-iZBfsvm7IV2qtyNCYgBmT8fnDxuf4Qw,50520
105
- files_sdk/models/user_cipher_use.py,sha256=wpvBgzMbySYVF_Z982pcblMa2OtlUZ2rj69zcpt3h5A,3029
105
+ files_sdk/models/user_cipher_use.py,sha256=FugKNQhWaRuqxLiYabpXeskk9DcWVVCN2iL7A3xY-pM,3011
106
106
  files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6qxgU,6187
107
- files_sdk/models/user_sftp_client_use.py,sha256=BCjih2cUqUbdwse_YST21fbbDtCikQQE-0YnH7UPb0g,2845
107
+ files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
108
108
  files_sdk/models/web_dav_action_log.py,sha256=jPX4sOmR9TbYnsU8DU3b0-KQ8E2cHNaqdmFZKTjzpwE,56358
109
109
  files_sdk/models/webhook_test.py,sha256=dHqPZ-xhsC83rq7suHA5n6tb9M8yhg0k6i9-u-N_WWQ,4601
110
- files_com-1.5.4.dist-info/METADATA,sha256=RQY-ojIh55VA2goFCE1y481QHa78nfNFFCG-zdP_spE,28594
111
- files_com-1.5.4.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
112
- files_com-1.5.4.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
113
- files_com-1.5.4.dist-info/RECORD,,
110
+ files_com-1.5.5.dist-info/METADATA,sha256=vA5Btky5xghq98a7IXtfgjJjEU3B89o4VBKbXtiY1yc,28594
111
+ files_com-1.5.5.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
112
+ files_com-1.5.5.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
113
+ files_com-1.5.5.dist-info/RECORD,,
files_sdk/__init__.py CHANGED
@@ -212,7 +212,7 @@ session_id = None
212
212
  source_ip = None
213
213
  base_url = "https://app.files.com"
214
214
  base_path = "api/rest/v1"
215
- version = "1.5.4"
215
+ version = "1.5.5"
216
216
 
217
217
  __version__ = version
218
218
 
@@ -49,6 +49,7 @@ class AutomationRun:
49
49
 
50
50
 
51
51
  # Parameters:
52
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
52
53
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
53
54
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
54
55
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
@@ -59,6 +60,8 @@ def list(params=None, options=None):
59
60
  params = {}
60
61
  if not isinstance(options, dict):
61
62
  options = {}
63
+ if "user_id" in params and not isinstance(params["user_id"], int):
64
+ raise InvalidParameterError("Bad parameter: user_id must be an int")
62
65
  if "cursor" in params and not isinstance(params["cursor"], str):
63
66
  raise InvalidParameterError("Bad parameter: cursor must be an str")
64
67
  if "per_page" in params and not isinstance(params["per_page"], int):
@@ -42,6 +42,7 @@ class BundleAction:
42
42
 
43
43
 
44
44
  # Parameters:
45
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
45
46
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
46
47
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
47
48
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
@@ -55,6 +56,8 @@ def list(params=None, options=None):
55
56
  params = {}
56
57
  if not isinstance(options, dict):
57
58
  options = {}
59
+ if "user_id" in params and not isinstance(params["user_id"], int):
60
+ raise InvalidParameterError("Bad parameter: user_id must be an int")
58
61
  if "cursor" in params and not isinstance(params["cursor"], str):
59
62
  raise InvalidParameterError("Bad parameter: cursor must be an str")
60
63
  if "per_page" in params and not isinstance(params["per_page"], int):
@@ -49,6 +49,7 @@ class BundleRegistration:
49
49
 
50
50
 
51
51
  # Parameters:
52
+ # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
52
53
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
53
54
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
54
55
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
@@ -58,6 +59,8 @@ def list(params=None, options=None):
58
59
  params = {}
59
60
  if not isinstance(options, dict):
60
61
  options = {}
62
+ if "user_id" in params and not isinstance(params["user_id"], int):
63
+ raise InvalidParameterError("Bad parameter: user_id must be an int")
61
64
  if "cursor" in params and not isinstance(params["cursor"], str):
62
65
  raise InvalidParameterError("Bad parameter: cursor must be an str")
63
66
  if "per_page" in params and not isinstance(params["per_page"], int):
@@ -43,7 +43,7 @@ class UserCipherUse:
43
43
 
44
44
 
45
45
  # Parameters:
46
- # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
46
+ # user_id - int64 - User ID. If provided, will return uses for this user.
47
47
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
48
48
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
49
49
  def list(params=None, options=None):
@@ -41,7 +41,7 @@ class UserSftpClientUse:
41
41
 
42
42
 
43
43
  # Parameters:
44
- # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
44
+ # user_id - int64 - User ID. If provided, will return uses for this user.
45
45
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
46
46
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
47
47
  def list(params=None, options=None):