files-com 1.5.3__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.3
1
+ 1.5.5
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.5.3
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=wD44JAAfOblRgkm41lIkIvxN5yJ-EqVowBZGYrA7d1g,6
3
- files_com-1.5.3.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=R1cqfFICyoxoVSd4PfXh3SN5hUdxvaWOwcOixA_vb5o,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
@@ -81,7 +81,7 @@ files_sdk/models/public_hosting_request_log.py,sha256=N3QWRTV0fmKNNrSRlw04-xwPez
81
81
  files_sdk/models/public_ip_address.py,sha256=5VSlJ4PZQilV6tpGRCnyvGJzqRzdSRpwVDZxKwsplcU,1259
82
82
  files_sdk/models/public_key.py,sha256=I0svinQm9cN_VjvzLluUv7t_8_mxpW0-qRZhPST76rU,8414
83
83
  files_sdk/models/remote_bandwidth_snapshot.py,sha256=kryNewGqe_ZN4D3JBL26DoVYKDowubUNLXn7NQtEJb8,4476
84
- files_sdk/models/remote_server.py,sha256=hHx_DcE5-YVXVYV0HNYwXKxXWRX2T_5YbeFNMqZhlrY,84712
84
+ files_sdk/models/remote_server.py,sha256=4YfXLuQgs2LUy9Oj725_VpEuYNJaMMUw5vWm9fbLI9o,83650
85
85
  files_sdk/models/remote_server_configuration_file.py,sha256=m6kfh5yUAYTP42nHuYJ-GFu73981kjjqPuZX3SeHbiA,3330
86
86
  files_sdk/models/request.py,sha256=dFhqI7rWdWr0j2UHaTmVzHVrpO0b8ogEqo-k7v6xHXQ,8585
87
87
  files_sdk/models/restore.py,sha256=3dZO18DGH_hjAoGN1FnS1K4S9QIwmPz2oswuTQ-RQ-A,6010
@@ -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.3.dist-info/METADATA,sha256=kNU54reIYzu7bhCr7q5N6cb7ul_tOojfnk2Y3NVXn88,28594
111
- files_com-1.5.3.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
112
- files_com-1.5.3.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
113
- files_com-1.5.3.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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.1.0)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
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.3"
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):
@@ -33,7 +33,6 @@ class RemoteServer:
33
33
  "username": None, # string - Remote server username. Not needed for S3 buckets.
34
34
  "google_cloud_storage_bucket": None, # string - Google Cloud Storage: Bucket Name
35
35
  "google_cloud_storage_project_id": None, # string - Google Cloud Storage: Project ID
36
- "google_cloud_storage_region": None, # string - Google Cloud Storage: Region
37
36
  "google_cloud_storage_s3_compatible_access_key": None, # string - Google Cloud Storage: S3-compatible Access Key.
38
37
  "backblaze_b2_s3_endpoint": None, # string - Backblaze B2 Cloud Storage: S3 Endpoint
39
38
  "backblaze_b2_bucket": None, # string - Backblaze B2 Cloud Storage: Bucket name
@@ -241,7 +240,6 @@ class RemoteServer:
241
240
  # files_agent_version - string - Files Agent version
242
241
  # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
243
242
  # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
244
- # google_cloud_storage_region - string - Google Cloud Storage: Region
245
243
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
246
244
  # hostname - string - Hostname or IP address
247
245
  # linode_access_key - string - Linode: Access Key
@@ -513,12 +511,6 @@ class RemoteServer:
513
511
  raise InvalidParameterError(
514
512
  "Bad parameter: google_cloud_storage_project_id must be an str"
515
513
  )
516
- if "google_cloud_storage_region" in params and not isinstance(
517
- params["google_cloud_storage_region"], str
518
- ):
519
- raise InvalidParameterError(
520
- "Bad parameter: google_cloud_storage_region must be an str"
521
- )
522
514
  if (
523
515
  "google_cloud_storage_s3_compatible_access_key" in params
524
516
  and not isinstance(
@@ -817,7 +809,6 @@ def find_configuration_file(id, params=None, options=None):
817
809
  # files_agent_version - string - Files Agent version
818
810
  # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
819
811
  # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
820
- # google_cloud_storage_region - string - Google Cloud Storage: Region
821
812
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
822
813
  # hostname - string - Hostname or IP address
823
814
  # linode_access_key - string - Linode: Access Key
@@ -1075,12 +1066,6 @@ def create(params=None, options=None):
1075
1066
  raise InvalidParameterError(
1076
1067
  "Bad parameter: google_cloud_storage_project_id must be an str"
1077
1068
  )
1078
- if "google_cloud_storage_region" in params and not isinstance(
1079
- params["google_cloud_storage_region"], str
1080
- ):
1081
- raise InvalidParameterError(
1082
- "Bad parameter: google_cloud_storage_region must be an str"
1083
- )
1084
1069
  if (
1085
1070
  "google_cloud_storage_s3_compatible_access_key" in params
1086
1071
  and not isinstance(
@@ -1328,7 +1313,6 @@ def configuration_file(id, params=None, options=None):
1328
1313
  # files_agent_version - string - Files Agent version
1329
1314
  # google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
1330
1315
  # google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
1331
- # google_cloud_storage_region - string - Google Cloud Storage: Region
1332
1316
  # google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
1333
1317
  # hostname - string - Hostname or IP address
1334
1318
  # linode_access_key - string - Linode: Access Key
@@ -1589,12 +1573,6 @@ def update(id, params=None, options=None):
1589
1573
  raise InvalidParameterError(
1590
1574
  "Bad parameter: google_cloud_storage_project_id must be an str"
1591
1575
  )
1592
- if "google_cloud_storage_region" in params and not isinstance(
1593
- params["google_cloud_storage_region"], str
1594
- ):
1595
- raise InvalidParameterError(
1596
- "Bad parameter: google_cloud_storage_region must be an str"
1597
- )
1598
1576
  if (
1599
1577
  "google_cloud_storage_s3_compatible_access_key" in params
1600
1578
  and not isinstance(
@@ -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):