files-com 1.6.76__py3-none-any.whl → 1.6.78__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.76.dist-info → files_com-1.6.78.dist-info}/METADATA +1 -1
- {files_com-1.6.76.dist-info → files_com-1.6.78.dist-info}/RECORD +11 -11
- files_sdk/__init__.py +1 -1
- files_sdk/models/api_key.py +10 -0
- files_sdk/models/history_export.py +2 -2
- files_sdk/models/history_export_result.py +1 -1
- files_sdk/models/user.py +15 -0
- {files_com-1.6.76.dist-info → files_com-1.6.78.dist-info}/WHEEL +0 -0
- {files_com-1.6.76.dist-info → files_com-1.6.78.dist-info}/licenses/LICENSE +0 -0
- {files_com-1.6.76.dist-info → files_com-1.6.78.dist-info}/top_level.txt +0 -0
_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.6.
|
|
1
|
+
1.6.78
|
|
@@ -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=jcTwNe2bmhfxwgVsK-lD8M8dsMNSmhyKofKujf4QyBw,7
|
|
3
|
+
files_com-1.6.78.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
|
|
4
|
+
files_sdk/__init__.py,sha256=EJV3CsJvaJEeaTb7OcfPTgzOae6wg8A-wLj-vDuE6rw,13241
|
|
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
|
|
@@ -13,7 +13,7 @@ files_sdk/models/account_line_item.py,sha256=8FLg83Aqpz4y_QYy3fZ_KZsZFWv1f1KGD9T
|
|
|
13
13
|
files_sdk/models/action.py,sha256=M1lyMybE7SKht2nGXtYWp2l8b4oVkeImo6KF8DLiCos,2034
|
|
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
|
-
files_sdk/models/api_key.py,sha256=
|
|
16
|
+
files_sdk/models/api_key.py,sha256=YI8-qL7OJL3buOcKCzgDxtVGADPTKHA_wkts-4yA2UM,17939
|
|
17
17
|
files_sdk/models/api_request_log.py,sha256=B3H8hwo9Qadh3C9q1UI-RcS9Yetx_gYeDQtCxxmykhQ,86447
|
|
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
|
|
@@ -56,8 +56,8 @@ files_sdk/models/gpg_key.py,sha256=6lwNuDCj3q5YlPOSlliE7TGpof25FB58Stu-07SHFxo,1
|
|
|
56
56
|
files_sdk/models/group.py,sha256=NCWhnhjBK8jAeCgLp2qYLV2lURxuSD1QO4EsmTF_tzw,16062
|
|
57
57
|
files_sdk/models/group_user.py,sha256=ZVl2vQ2FuPFC9YW5Geo9iST438eLvs6Pc_BlQRGg9Sg,10087
|
|
58
58
|
files_sdk/models/history.py,sha256=Elc04ji3rWWhEc68KzPzcEeCqfMSA4Jmjb9sAZ4LvKc,14138
|
|
59
|
-
files_sdk/models/history_export.py,sha256=
|
|
60
|
-
files_sdk/models/history_export_result.py,sha256=
|
|
59
|
+
files_sdk/models/history_export.py,sha256=yaHqn1ogmd_t9J_OSb1O6iMvykdLA88EYuxnO_Ns_R8,14466
|
|
60
|
+
files_sdk/models/history_export_result.py,sha256=Wnw1Rmz9TPduYdG6ExM4cai3poK0QhufHHU4OvR7f9E,6391
|
|
61
61
|
files_sdk/models/holiday_region.py,sha256=WJyvwskMxRf3WwGgxH0bndf04xTnf1cwNEpnjZs0QUQ,2259
|
|
62
62
|
files_sdk/models/image.py,sha256=xGDz4VULw5EkYGS0h6cmsRkpYv-c1qi5bhOgiyLA3mM,1052
|
|
63
63
|
files_sdk/models/inbox_recipient.py,sha256=_iUVVsBJLmAU2GatfjxYNBTEiv4D-DoJ0vbBKAwbG1I,5762
|
|
@@ -108,14 +108,14 @@ files_sdk/models/sync_run.py,sha256=aQX8hT1NmZ2i5J2C1vJLAE1HK5gn-TMFukfTsKydF2Y,
|
|
|
108
108
|
files_sdk/models/usage_by_top_level_dir.py,sha256=o_dETvzcgEA9lsdES_yzwPVAZVFk4ZcnsCTugR8O8eY,1185
|
|
109
109
|
files_sdk/models/usage_daily_snapshot.py,sha256=rWf6GaTlN9spkUPwfF4IJ0Y6z-JTV9TAWjsFrxI-UFg,5477
|
|
110
110
|
files_sdk/models/usage_snapshot.py,sha256=3GzMIxBjKelgNP7ksWq4XlrRlAFcYxzd_J6vAgb52qc,4005
|
|
111
|
-
files_sdk/models/user.py,sha256=
|
|
111
|
+
files_sdk/models/user.py,sha256=hkdffwMd8LX91ThzxBFo1afkY_QUVetr4w20zyySUgE,62796
|
|
112
112
|
files_sdk/models/user_cipher_use.py,sha256=5Mto-oU87rG2jGIq8TQoOdNZgJA4_ViikvOdM9_jdt0,4994
|
|
113
113
|
files_sdk/models/user_lifecycle_rule.py,sha256=ZEG3pHxc-lbtofwu9DOCZQgiAbqxAJbDOdiG8JnB6Qo,13421
|
|
114
114
|
files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6qxgU,6187
|
|
115
115
|
files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
|
|
116
116
|
files_sdk/models/web_dav_action_log.py,sha256=uMTIkTgSpW5mgKAEWnCmI4U5eqcAL2g8OHqB-lBir3A,76424
|
|
117
117
|
files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
|
|
118
|
-
files_com-1.6.
|
|
119
|
-
files_com-1.6.
|
|
120
|
-
files_com-1.6.
|
|
121
|
-
files_com-1.6.
|
|
118
|
+
files_com-1.6.78.dist-info/METADATA,sha256=c7HpIyDcXzRnypga-ClWK2x-7ujXj9Mp2jUjR0wLEWI,31732
|
|
119
|
+
files_com-1.6.78.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
120
|
+
files_com-1.6.78.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
|
|
121
|
+
files_com-1.6.78.dist-info/RECORD,,
|
files_sdk/__init__.py
CHANGED
files_sdk/models/api_key.py
CHANGED
|
@@ -16,6 +16,9 @@ class ApiKey:
|
|
|
16
16
|
"created_at": None, # date-time - Time which API Key was created
|
|
17
17
|
"expires_at": None, # date-time - API Key expiration date
|
|
18
18
|
"key": None, # string - API Key actual key string
|
|
19
|
+
"aws_style_credentials": None, # boolean - If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
|
|
20
|
+
"aws_access_key_id": None, # string - AWS Access Key ID to use with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
|
|
21
|
+
"aws_secret_key": None, # string - AWS Secret Key to use with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
|
|
19
22
|
"last_use_at": None, # date-time - API Key last used - note this value is only updated once per 3 hour period, so the 'actual' time of last use may be up to 3 hours later than this timestamp.
|
|
20
23
|
"name": None, # string - Internal name for the API Key. For your use.
|
|
21
24
|
"permission_set": None, # string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
|
@@ -203,6 +206,7 @@ def get(id, params=None, options=None):
|
|
|
203
206
|
# expires_at - string - API Key expiration date
|
|
204
207
|
# permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
|
|
205
208
|
# name (required) - string - Internal name for the API Key. For your use.
|
|
209
|
+
# aws_style_credentials - boolean - If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
|
|
206
210
|
# path - string - Folder path restriction for `office_integration` permission set API keys.
|
|
207
211
|
def create(params=None, options=None):
|
|
208
212
|
if not isinstance(params, dict):
|
|
@@ -225,6 +229,12 @@ def create(params=None, options=None):
|
|
|
225
229
|
)
|
|
226
230
|
if "name" in params and not isinstance(params["name"], str):
|
|
227
231
|
raise InvalidParameterError("Bad parameter: name must be an str")
|
|
232
|
+
if "aws_style_credentials" in params and not isinstance(
|
|
233
|
+
params["aws_style_credentials"], bool
|
|
234
|
+
):
|
|
235
|
+
raise InvalidParameterError(
|
|
236
|
+
"Bad parameter: aws_style_credentials must be an bool"
|
|
237
|
+
)
|
|
228
238
|
if "path" in params and not isinstance(params["path"], str):
|
|
229
239
|
raise InvalidParameterError("Bad parameter: path must be an str")
|
|
230
240
|
if "name" not in params:
|
|
@@ -15,7 +15,7 @@ class HistoryExport:
|
|
|
15
15
|
"end_at": None, # date-time - End date/time of export range.
|
|
16
16
|
"status": None, # string - Status of export. Will be: `building`, `ready`, or `failed`
|
|
17
17
|
"query_action": None, # string - Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`
|
|
18
|
-
"query_interface": None, # string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
|
|
18
|
+
"query_interface": None, # string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`
|
|
19
19
|
"query_user_id": None, # string - Return results that are actions performed by the user indicated by this User ID
|
|
20
20
|
"query_file_id": None, # string - Return results that are file actions related to the file indicated by this File ID
|
|
21
21
|
"query_parent_id": None, # string - Return results that are file actions inside the parent folder specified by this folder ID
|
|
@@ -97,7 +97,7 @@ def get(id, params=None, options=None):
|
|
|
97
97
|
# start_at - string - Start date/time of export range.
|
|
98
98
|
# end_at - string - End date/time of export range.
|
|
99
99
|
# query_action - string - Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`
|
|
100
|
-
# query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
|
|
100
|
+
# query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`
|
|
101
101
|
# query_user_id - string - Return results that are actions performed by the user indicated by this User ID
|
|
102
102
|
# query_file_id - string - Return results that are file actions related to the file indicated by this File ID
|
|
103
103
|
# query_parent_id - string - Return results that are file actions inside the parent folder specified by this folder ID
|
|
@@ -25,7 +25,7 @@ class HistoryExportResult:
|
|
|
25
25
|
"user_is_from_parent_site": None, # boolean - true if this change was performed by a user on a parent site.
|
|
26
26
|
"action": None, # string - What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`
|
|
27
27
|
"failure_type": None, # string - The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`
|
|
28
|
-
"interface": None, # string - Interface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`
|
|
28
|
+
"interface": None, # string - Interface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`
|
|
29
29
|
"target_id": None, # int64 - ID of the object (such as Users, or API Keys) on which the action was taken
|
|
30
30
|
"target_name": None, # string - Name of the User, Group or other object with a name related to this action
|
|
31
31
|
"target_permission": None, # string - Permission level of the action
|
files_sdk/models/user.py
CHANGED
|
@@ -202,6 +202,7 @@ class User:
|
|
|
202
202
|
# company - string - User's company
|
|
203
203
|
# notes - string - Any internal notes on the user
|
|
204
204
|
# office_integration_enabled - boolean - Enable integration with Office for the web?
|
|
205
|
+
# partner_admin - boolean - Is this user a Partner administrator?
|
|
205
206
|
# partner_id - int64 - Partner ID if this user belongs to a Partner
|
|
206
207
|
# password_validity_days - int64 - Number of days to allow user to use the same password
|
|
207
208
|
# readonly_site_admin - boolean - Is the user an allowed to view all (non-billing) site configuration for this site?
|
|
@@ -541,6 +542,7 @@ def get(id, params=None, options=None):
|
|
|
541
542
|
# company - string - User's company
|
|
542
543
|
# notes - string - Any internal notes on the user
|
|
543
544
|
# office_integration_enabled - boolean - Enable integration with Office for the web?
|
|
545
|
+
# partner_admin - boolean - Is this user a Partner administrator?
|
|
544
546
|
# partner_id - int64 - Partner ID if this user belongs to a Partner
|
|
545
547
|
# password_validity_days - int64 - Number of days to allow user to use the same password
|
|
546
548
|
# readonly_site_admin - boolean - Is the user an allowed to view all (non-billing) site configuration for this site?
|
|
@@ -699,6 +701,12 @@ def create(params=None, options=None):
|
|
|
699
701
|
raise InvalidParameterError(
|
|
700
702
|
"Bad parameter: office_integration_enabled must be an bool"
|
|
701
703
|
)
|
|
704
|
+
if "partner_admin" in params and not isinstance(
|
|
705
|
+
params["partner_admin"], bool
|
|
706
|
+
):
|
|
707
|
+
raise InvalidParameterError(
|
|
708
|
+
"Bad parameter: partner_admin must be an bool"
|
|
709
|
+
)
|
|
702
710
|
if "partner_id" in params and not isinstance(params["partner_id"], int):
|
|
703
711
|
raise InvalidParameterError("Bad parameter: partner_id must be an int")
|
|
704
712
|
if "password_validity_days" in params and not isinstance(
|
|
@@ -880,6 +888,7 @@ def user_2fa_reset(id, params=None, options=None):
|
|
|
880
888
|
# company - string - User's company
|
|
881
889
|
# notes - string - Any internal notes on the user
|
|
882
890
|
# office_integration_enabled - boolean - Enable integration with Office for the web?
|
|
891
|
+
# partner_admin - boolean - Is this user a Partner administrator?
|
|
883
892
|
# partner_id - int64 - Partner ID if this user belongs to a Partner
|
|
884
893
|
# password_validity_days - int64 - Number of days to allow user to use the same password
|
|
885
894
|
# readonly_site_admin - boolean - Is the user an allowed to view all (non-billing) site configuration for this site?
|
|
@@ -1042,6 +1051,12 @@ def update(id, params=None, options=None):
|
|
|
1042
1051
|
raise InvalidParameterError(
|
|
1043
1052
|
"Bad parameter: office_integration_enabled must be an bool"
|
|
1044
1053
|
)
|
|
1054
|
+
if "partner_admin" in params and not isinstance(
|
|
1055
|
+
params["partner_admin"], bool
|
|
1056
|
+
):
|
|
1057
|
+
raise InvalidParameterError(
|
|
1058
|
+
"Bad parameter: partner_admin must be an bool"
|
|
1059
|
+
)
|
|
1045
1060
|
if "partner_id" in params and not isinstance(params["partner_id"], int):
|
|
1046
1061
|
raise InvalidParameterError("Bad parameter: partner_id must be an int")
|
|
1047
1062
|
if "password_validity_days" in params and not isinstance(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|