files-com 1.6.65__py3-none-any.whl → 1.6.66__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.65
1
+ 1.6.66
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.65
3
+ Version: 1.6.66
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=NjGYBlk7Kp3rAPuDL5sqNSS_koSiKYWdqxEWcUrz_Qo,7
3
- files_com-1.6.65.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=QWYdY6-6ZUEzDRQqX4iuK1lOhayVpXttctbeek6X7vs,13062
2
+ _VERSION,sha256=9en8UKF0LfddWxf0_Txtyp0XQ2MGmi2-tXOlyHRlRZs,7
3
+ files_com-1.6.66.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=k-c_2mkTwCJ-2JCRQ1jQzo9xOTEsI76i5QEAwk51OcI,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
@@ -102,7 +102,7 @@ files_sdk/models/status.py,sha256=IIY3RiJ2RZ2yPByAAh8eIq_cgZFTj13eR4UpqHTANQI,13
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=ZSTcL9Qj00AF2BvZArSPpmmgpv9VO3o9KM2RKtnAtXs,5273
105
+ files_sdk/models/sync_run.py,sha256=hxjkVOgsyAL55uZ6AbZWPcICa4283MjhoTrzbkpI8kg,6963
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.65.dist-info/METADATA,sha256=OpXKaWYr8laiWzzbmlO6m84bzlegHe9WIchA8IJPkdQ,31732
117
- files_com-1.6.65.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
118
- files_com-1.6.65.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
119
- files_com-1.6.65.dist-info/RECORD,,
116
+ files_com-1.6.66.dist-info/METADATA,sha256=9CY4-EioXuF2pnVGS5qfaCDOun3V8iRJVKMZv4FCU7U,31732
117
+ files_com-1.6.66.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
118
+ files_com-1.6.66.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
119
+ files_com-1.6.66.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.65"
230
+ version = "1.6.66"
231
231
 
232
232
  __version__ = version
233
233
 
@@ -57,8 +57,12 @@ class SyncRun:
57
57
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
58
58
  # 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.
59
59
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
60
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `sync_id` or `created_at`.
61
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `dry_run` or `sync_id`. Valid field combinations are `[ sync_id, status ]`.
60
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `sync_id`, `created_at` or `status`.
61
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `status`, `dry_run`, `src_remote_server_type`, `dest_remote_server_type` or `sync_id`. Valid field combinations are `[ status, created_at ]`, `[ src_remote_server_type, created_at ]`, `[ dest_remote_server_type, created_at ]`, `[ sync_id, created_at ]`, `[ src_remote_server_type, status ]`, `[ dest_remote_server_type, status ]`, `[ sync_id, status ]`, `[ src_remote_server_type, status, created_at ]`, `[ dest_remote_server_type, status, created_at ]` or `[ sync_id, status, created_at ]`.
62
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
63
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
64
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
65
+ # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
62
66
  def list(params=None, options=None):
63
67
  if not isinstance(params, dict):
64
68
  params = {}
@@ -74,6 +78,18 @@ def list(params=None, options=None):
74
78
  raise InvalidParameterError("Bad parameter: sort_by must be an dict")
75
79
  if "filter" in params and not isinstance(params["filter"], dict):
76
80
  raise InvalidParameterError("Bad parameter: filter must be an dict")
81
+ if "filter_gt" in params and not isinstance(params["filter_gt"], dict):
82
+ raise InvalidParameterError("Bad parameter: filter_gt must be an dict")
83
+ if "filter_gteq" in params and not isinstance(params["filter_gteq"], dict):
84
+ raise InvalidParameterError(
85
+ "Bad parameter: filter_gteq must be an dict"
86
+ )
87
+ if "filter_lt" in params and not isinstance(params["filter_lt"], dict):
88
+ raise InvalidParameterError("Bad parameter: filter_lt must be an dict")
89
+ if "filter_lteq" in params and not isinstance(params["filter_lteq"], dict):
90
+ raise InvalidParameterError(
91
+ "Bad parameter: filter_lteq must be an dict"
92
+ )
77
93
  return ListObj(SyncRun, "GET", "/sync_runs", params, options)
78
94
 
79
95