files-com 1.6.7__py3-none-any.whl → 1.6.9__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.7.dist-info → files_com-1.6.9.dist-info}/METADATA +1 -1
- {files_com-1.6.7.dist-info → files_com-1.6.9.dist-info}/RECORD +9 -9
- files_sdk/__init__.py +1 -1
- files_sdk/models/api_request_log.py +1 -0
- files_sdk/models/user.py +16 -0
- {files_com-1.6.7.dist-info → files_com-1.6.9.dist-info}/WHEEL +0 -0
- {files_com-1.6.7.dist-info → files_com-1.6.9.dist-info}/licenses/LICENSE +0 -0
- {files_com-1.6.7.dist-info → files_com-1.6.9.dist-info}/top_level.txt +0 -0
_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.6.
|
|
1
|
+
1.6.9
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
README.md,sha256=dJpTjuJA-JJIQ4CKgQhlbqyxanVatHk0RXgCD6KFl3A,28758
|
|
2
|
-
_VERSION,sha256=
|
|
3
|
-
files_com-1.6.
|
|
4
|
-
files_sdk/__init__.py,sha256=
|
|
2
|
+
_VERSION,sha256=CB_H5bskFNDJylRFedt-TjMC2CzNZH4lbeGnOXaUJmo,6
|
|
3
|
+
files_com-1.6.9.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
|
|
4
|
+
files_sdk/__init__.py,sha256=8HFiMW8iJ5DKkS0A3upVAZJPadOaNn8ciDon08HqxSI,12463
|
|
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=lZKht6lYj9i99CzRbHschmdSs6T2Y51-YrZX_5Y_o7A,64945
|
|
@@ -14,7 +14,7 @@ files_sdk/models/action.py,sha256=M1lyMybE7SKht2nGXtYWp2l8b4oVkeImo6KF8DLiCos,20
|
|
|
14
14
|
files_sdk/models/action_notification_export.py,sha256=4cdEo2ZCDV3RH3GLSqHV7RWyJ2ONRSUq0glCEi94zd0,6636
|
|
15
15
|
files_sdk/models/action_notification_export_result.py,sha256=yusHopmVJ9zO5lHG2C4sq4-kDnX3trRdb52SRL-R9Go,4071
|
|
16
16
|
files_sdk/models/api_key.py,sha256=yhdiocQ-_7g8vqUw6exR5qj25YioH17ENd9MSZGjeCw,17105
|
|
17
|
-
files_sdk/models/api_request_log.py,sha256=
|
|
17
|
+
files_sdk/models/api_request_log.py,sha256=zpHdjzuyof6IngTSCYDrL7wX2_mG6HUQwjRdhc8nCs0,63027
|
|
18
18
|
files_sdk/models/app.py,sha256=JiK40FW3FOp_sUehb3RCWfkc9-1OcjWai15tn9BtxbU,4678
|
|
19
19
|
files_sdk/models/as2_incoming_message.py,sha256=VEkva5pSbXo_mM4UWQLcaL3EZSgBWIPqNY8PMLTMn2o,7153
|
|
20
20
|
files_sdk/models/as2_outgoing_message.py,sha256=7mSM2Ce-9HUsk7klRmS30kBBPMJBRWsXmWCI7Uz85MQ,6696
|
|
@@ -101,14 +101,14 @@ files_sdk/models/sync_log.py,sha256=JFIUCOmFon9qMhA6aeruZ55ugMHsM29jlpGVbzqNDoY,
|
|
|
101
101
|
files_sdk/models/usage_by_top_level_dir.py,sha256=o_dETvzcgEA9lsdES_yzwPVAZVFk4ZcnsCTugR8O8eY,1185
|
|
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
|
-
files_sdk/models/user.py,sha256=
|
|
104
|
+
files_sdk/models/user.py,sha256=E6a6GUaaGbwk49sHgWI-FyCPF8u9vYhppKJ1f4gcw_M,59730
|
|
105
105
|
files_sdk/models/user_cipher_use.py,sha256=FugKNQhWaRuqxLiYabpXeskk9DcWVVCN2iL7A3xY-pM,3011
|
|
106
106
|
files_sdk/models/user_lifecycle_rule.py,sha256=Rj4lYUt_11fny42dvpP6WSRz8ipB6E4SP3t8HaHDkPM,11937
|
|
107
107
|
files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6qxgU,6187
|
|
108
108
|
files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
|
|
109
109
|
files_sdk/models/web_dav_action_log.py,sha256=jPX4sOmR9TbYnsU8DU3b0-KQ8E2cHNaqdmFZKTjzpwE,56358
|
|
110
110
|
files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
|
|
111
|
-
files_com-1.6.
|
|
112
|
-
files_com-1.6.
|
|
113
|
-
files_com-1.6.
|
|
114
|
-
files_com-1.6.
|
|
111
|
+
files_com-1.6.9.dist-info/METADATA,sha256=MfxO04sTxzxmx_niTRq36ZvLYrGn0mq2CfrIzvyYgOo,29049
|
|
112
|
+
files_com-1.6.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
113
|
+
files_com-1.6.9.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
|
|
114
|
+
files_com-1.6.9.dist-info/RECORD,,
|
files_sdk/__init__.py
CHANGED
|
@@ -29,6 +29,7 @@ class ApiRequestLog:
|
|
|
29
29
|
"response_code": None, # int64 - HTTP Response Code
|
|
30
30
|
"success": None, # boolean - `false` if HTTP Response Code is 4xx or 5xx
|
|
31
31
|
"duration_ms": None, # int64 - Duration (in milliseconds)
|
|
32
|
+
"impersonator_user_id": None, # int64 - User ID of Site Admin user impersonating this user via a Read-Only session.
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
def __init__(self, attributes=None, options=None):
|
files_sdk/models/user.py
CHANGED
|
@@ -367,6 +367,8 @@ class User:
|
|
|
367
367
|
)
|
|
368
368
|
return response.data
|
|
369
369
|
|
|
370
|
+
# Parameters:
|
|
371
|
+
# new_owner_id - int64 - Provide a User ID here to transfer ownership of certain resources such as Automations and Share Links (Bundles) to that new user.
|
|
370
372
|
def delete(self, params=None):
|
|
371
373
|
if not isinstance(params, dict):
|
|
372
374
|
params = {}
|
|
@@ -379,6 +381,12 @@ class User:
|
|
|
379
381
|
raise MissingParameterError("Parameter missing: id")
|
|
380
382
|
if "id" in params and not isinstance(params["id"], int):
|
|
381
383
|
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
384
|
+
if "new_owner_id" in params and not isinstance(
|
|
385
|
+
params["new_owner_id"], int
|
|
386
|
+
):
|
|
387
|
+
raise InvalidParameterError(
|
|
388
|
+
"Bad parameter: new_owner_id must be an int"
|
|
389
|
+
)
|
|
382
390
|
Api.send_request(
|
|
383
391
|
"DELETE",
|
|
384
392
|
"/users/{id}".format(id=params["id"]),
|
|
@@ -1092,6 +1100,8 @@ def update(id, params=None, options=None):
|
|
|
1092
1100
|
return User(response.data, options)
|
|
1093
1101
|
|
|
1094
1102
|
|
|
1103
|
+
# Parameters:
|
|
1104
|
+
# new_owner_id - int64 - Provide a User ID here to transfer ownership of certain resources such as Automations and Share Links (Bundles) to that new user.
|
|
1095
1105
|
def delete(id, params=None, options=None):
|
|
1096
1106
|
if not isinstance(params, dict):
|
|
1097
1107
|
params = {}
|
|
@@ -1100,6 +1110,12 @@ def delete(id, params=None, options=None):
|
|
|
1100
1110
|
params["id"] = id
|
|
1101
1111
|
if "id" in params and not isinstance(params["id"], int):
|
|
1102
1112
|
raise InvalidParameterError("Bad parameter: id must be an int")
|
|
1113
|
+
if "new_owner_id" in params and not isinstance(
|
|
1114
|
+
params["new_owner_id"], int
|
|
1115
|
+
):
|
|
1116
|
+
raise InvalidParameterError(
|
|
1117
|
+
"Bad parameter: new_owner_id must be an int"
|
|
1118
|
+
)
|
|
1103
1119
|
if "id" not in params:
|
|
1104
1120
|
raise MissingParameterError("Parameter missing: id")
|
|
1105
1121
|
Api.send_request(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|