files-com 1.6.60__py3-none-any.whl → 1.6.62__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.60
1
+ 1.6.62
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.60
3
+ Version: 1.6.62
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=8brGVb0t-hIt9OJ6xT3aL1nG76z8zq_clluJ3UBWlFM,31373
2
- _VERSION,sha256=ZzUi6FLaQuXzY3oVSi4NEgca1U5gEMw6IQC1m4VZnfE,7
3
- files_com-1.6.60.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=00TxHqES_hE_Pmjbx_s43cxetk5TSkE16TIMkoYfgz4,13062
2
+ _VERSION,sha256=fwN0UwyGWhbnWJip527horYeyt3Xg4YXsBawKX5hCW4,7
3
+ files_com-1.6.62.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=Q2RjKU3aVPV5hY8grLV_o-7lA4Ai79RTY0Z_70Dh1iM,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=At-DuOFUQMVvBr5yYUHynMAuFAiZBTngnLQLdKcfkt4,66293
@@ -75,7 +75,7 @@ files_sdk/models/notification.py,sha256=HEPLDynR4lCF_vZ7-RJD8hoxaWMl3BrrkGEIbQk6
75
75
  files_sdk/models/outbound_connection_log.py,sha256=tt56csYZrPr3o1hJhbuQ3Rv6j5hsl8TSGF41l086D6A,45948
76
76
  files_sdk/models/payment.py,sha256=UUWxK3x2RVYQdRAWeA-WA_Oegh5TDXYPQA_m3BYd0bQ,3753
77
77
  files_sdk/models/payment_line_item.py,sha256=x97h4kBtul5S1EqI_jskhbebnucwA-EOnQn1oV8Hid0,1284
78
- files_sdk/models/permission.py,sha256=-_Rb1315rwtfn2-a18cfSogkX7oTth9H-jH1v7H4WUE,8689
78
+ files_sdk/models/permission.py,sha256=lZbugp_MHyA8_mKj7vvXtrbx1FHLqCDINeNsm5DZfbk,8726
79
79
  files_sdk/models/preview.py,sha256=XaKqSEC0RPBW87Kt6qlvRLeui5YeA6JUumUoZKMvARU,1347
80
80
  files_sdk/models/priority.py,sha256=kByzhOOVwKVSxrMI5xJb1RwUtQdSuFFBLBNEHYzWSm0,2680
81
81
  files_sdk/models/project.py,sha256=nDpX0qc7jY6evRprjQ7l4YgjM9WNH0aXaRbE2mpo6zk,7510
@@ -100,7 +100,7 @@ files_sdk/models/snapshot.py,sha256=zmdQWKR8EhUkF1mFQHFzWfreaEVXG1p_jEtmY4j3cKA,
100
100
  files_sdk/models/sso_strategy.py,sha256=vWNCPfot8z15xUhAoFsS52W-1vg8IpKIqAALZ6pBwd0,9112
101
101
  files_sdk/models/status.py,sha256=IIY3RiJ2RZ2yPByAAh8eIq_cgZFTj13eR4UpqHTANQI,1363
102
102
  files_sdk/models/style.py,sha256=KZY0fZ4kP4AtwZpCi24EtNXL8WFLhE9a1Jme1gA6Kkw,5201
103
- files_sdk/models/sync.py,sha256=64tNcdpYIh5_g8IM9OGWQXEosxZQrubAMoseo_vSXdM,28739
103
+ files_sdk/models/sync.py,sha256=dIlmpq4LNwYRMeD5-cQpx6r3XCpF5r8uvzYFGFT17fA,28291
104
104
  files_sdk/models/sync_log.py,sha256=uWP2p4LiUmV5hqZvaZFIBJIyPmdZ21lP9O81LQuNKS4,21135
105
105
  files_sdk/models/sync_run.py,sha256=ZSTcL9Qj00AF2BvZArSPpmmgpv9VO3o9KM2RKtnAtXs,5273
106
106
  files_sdk/models/usage_by_top_level_dir.py,sha256=o_dETvzcgEA9lsdES_yzwPVAZVFk4ZcnsCTugR8O8eY,1185
@@ -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.60.dist-info/METADATA,sha256=ij4qzHNmWfEb8_8m8SaZ5lHNFrbgXi7hmbDhQ6IhYsQ,31665
117
- files_com-1.6.60.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
118
- files_com-1.6.60.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
119
- files_com-1.6.60.dist-info/RECORD,,
116
+ files_com-1.6.62.dist-info/METADATA,sha256=CabL8MFOOcitGIIPx8zmlWsHisXp6bok-nnSr8JISYA,31665
117
+ files_com-1.6.62.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
118
+ files_com-1.6.62.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
119
+ files_com-1.6.62.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.60"
230
+ version = "1.6.62"
231
231
 
232
232
  __version__ = version
233
233
 
@@ -76,8 +76,8 @@ class Permission:
76
76
  # Parameters:
77
77
  # 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.
78
78
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
79
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `group_id`, `path` or `user_id`.
80
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ user_id, path ]` or `[ user_id, group_id ]`.
79
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `group_id`, `path`, `user_id` or `id`.
80
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ user_id, path ]`, `[ user_id, group_id ]` or `[ user_id, group_id, path ]`.
81
81
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
82
82
  # path - string - Permission path. If provided, will scope all permissions(including upward) to this path.
83
83
  # include_groups - boolean - If searching by user or group, also include user's permissions that are inherited from its groups?
files_sdk/models/sync.py CHANGED
@@ -105,7 +105,6 @@ class Sync:
105
105
  # dest_path - string - Absolute destination path
106
106
  # src_remote_server_id - int64 - Remote server ID for the source
107
107
  # dest_remote_server_id - int64 - Remote server ID for the destination
108
- # two_way - boolean - Is this a two-way sync?
109
108
  # keep_after_copy - boolean - Keep files after copying?
110
109
  # delete_empty_folders - boolean - Delete empty folders after sync?
111
110
  # disabled - boolean - Is this sync disabled?
@@ -297,7 +296,6 @@ def get(id, params=None, options=None):
297
296
  # dest_path - string - Absolute destination path
298
297
  # src_remote_server_id - int64 - Remote server ID for the source
299
298
  # dest_remote_server_id - int64 - Remote server ID for the destination
300
- # two_way - boolean - Is this a two-way sync?
301
299
  # keep_after_copy - boolean - Keep files after copying?
302
300
  # delete_empty_folders - boolean - Delete empty folders after sync?
303
301
  # disabled - boolean - Is this sync disabled?
@@ -337,8 +335,6 @@ def create(params=None, options=None):
337
335
  raise InvalidParameterError(
338
336
  "Bad parameter: dest_remote_server_id must be an int"
339
337
  )
340
- if "two_way" in params and not isinstance(params["two_way"], bool):
341
- raise InvalidParameterError("Bad parameter: two_way must be an bool")
342
338
  if "keep_after_copy" in params and not isinstance(
343
339
  params["keep_after_copy"], bool
344
340
  ):
@@ -445,7 +441,6 @@ def manual_run(id, params=None, options=None):
445
441
  # dest_path - string - Absolute destination path
446
442
  # src_remote_server_id - int64 - Remote server ID for the source
447
443
  # dest_remote_server_id - int64 - Remote server ID for the destination
448
- # two_way - boolean - Is this a two-way sync?
449
444
  # keep_after_copy - boolean - Keep files after copying?
450
445
  # delete_empty_folders - boolean - Delete empty folders after sync?
451
446
  # disabled - boolean - Is this sync disabled?
@@ -488,8 +483,6 @@ def update(id, params=None, options=None):
488
483
  raise InvalidParameterError(
489
484
  "Bad parameter: dest_remote_server_id must be an int"
490
485
  )
491
- if "two_way" in params and not isinstance(params["two_way"], bool):
492
- raise InvalidParameterError("Bad parameter: two_way must be an bool")
493
486
  if "keep_after_copy" in params and not isinstance(
494
487
  params["keep_after_copy"], bool
495
488
  ):