files-com 1.6.65__py3-none-any.whl → 1.6.67__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 +1 -1
- {files_com-1.6.65.dist-info → files_com-1.6.67.dist-info}/METADATA +1 -1
- {files_com-1.6.65.dist-info → files_com-1.6.67.dist-info}/RECORD +9 -9
- files_sdk/__init__.py +1 -1
- files_sdk/models/remote_mount_backend.py +1 -0
- files_sdk/models/sync_run.py +18 -2
- {files_com-1.6.65.dist-info → files_com-1.6.67.dist-info}/WHEEL +0 -0
- {files_com-1.6.65.dist-info → files_com-1.6.67.dist-info}/licenses/LICENSE +0 -0
- {files_com-1.6.65.dist-info → files_com-1.6.67.dist-info}/top_level.txt +0 -0
_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.6.
|
|
1
|
+
1.6.67
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
README.md,sha256=1Rj6T45hiVlUVx3J-b3E4n3JnWQSEEkuNibBeYzwgWQ,31440
|
|
2
|
-
_VERSION,sha256=
|
|
3
|
-
files_com-1.6.
|
|
4
|
-
files_sdk/__init__.py,sha256=
|
|
2
|
+
_VERSION,sha256=lcGd-QbqvPwI5GwUlAd-7H7BtH78zgJ0kDmPRSInQAE,7
|
|
3
|
+
files_com-1.6.67.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
|
|
4
|
+
files_sdk/__init__.py,sha256=dZBd9UNNB_o1wdyZ4X8CSSZObCmfnDxjnvqi4I09J1s,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
|
|
@@ -83,7 +83,7 @@ files_sdk/models/public_hosting_request_log.py,sha256=YOgcT8NX-x7Ag5ti2KU8npPRIj
|
|
|
83
83
|
files_sdk/models/public_ip_address.py,sha256=5VSlJ4PZQilV6tpGRCnyvGJzqRzdSRpwVDZxKwsplcU,1259
|
|
84
84
|
files_sdk/models/public_key.py,sha256=kY00rMoKiYCNwQFNmv1s3M8MQOSR98lMTMBhjKMe_Es,12502
|
|
85
85
|
files_sdk/models/remote_bandwidth_snapshot.py,sha256=kryNewGqe_ZN4D3JBL26DoVYKDowubUNLXn7NQtEJb8,4476
|
|
86
|
-
files_sdk/models/remote_mount_backend.py,sha256=
|
|
86
|
+
files_sdk/models/remote_mount_backend.py,sha256=TZ6pLJPLy8se4poHMuREHYNavCOKiznBxPLti008CBY,19360
|
|
87
87
|
files_sdk/models/remote_server.py,sha256=Ma_5SoEfr5PREcpK-XPvwjCEJpCYQBtjOWg3UyqH7mM,81335
|
|
88
88
|
files_sdk/models/remote_server_configuration_file.py,sha256=So6cK83z_6xwLnHJYgEwzSb9eBkDK5XG2Q4k8kp9nno,3476
|
|
89
89
|
files_sdk/models/request.py,sha256=mWOS36b5pRiAZqDuf1tGidw-FAikYPDqfv5LXdDJA9Q,8867
|
|
@@ -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=
|
|
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.
|
|
117
|
-
files_com-1.6.
|
|
118
|
-
files_com-1.6.
|
|
119
|
-
files_com-1.6.
|
|
116
|
+
files_com-1.6.67.dist-info/METADATA,sha256=a4och6EciyacesF8ePKUu7AyOoRkmVbNWBjSBrvyAbU,31732
|
|
117
|
+
files_com-1.6.67.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
118
|
+
files_com-1.6.67.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
|
|
119
|
+
files_com-1.6.67.dist-info/RECORD,,
|
files_sdk/__init__.py
CHANGED
|
@@ -14,6 +14,7 @@ class RemoteMountBackend:
|
|
|
14
14
|
"enabled": None, # boolean - True if this backend is enabled.
|
|
15
15
|
"fall": None, # int64 - Number of consecutive failures before considering the backend unhealthy.
|
|
16
16
|
"health_check_enabled": None, # boolean - True if health checks are enabled for this backend.
|
|
17
|
+
"health_check_results": None, # array(object) - Array of recent health check results.
|
|
17
18
|
"health_check_type": None, # string - Type of health check to perform.
|
|
18
19
|
"id": None, # int64 - Unique identifier for this backend.
|
|
19
20
|
"interval": None, # int64 - Interval in seconds between health checks.
|
files_sdk/models/sync_run.py
CHANGED
|
@@ -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 `
|
|
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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|