files-com 1.6.77__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 CHANGED
@@ -1 +1 @@
1
- 1.6.77
1
+ 1.6.78
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.77
3
+ Version: 1.6.78
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=FP2dBIQ4z-T5ZXYVQzdatYcqf8JWTg-hgZJZMtDDJ3I,7
3
- files_com-1.6.77.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=LV69af24MZ6pjRf29RqAqZJgzbcE2LQNT0RCOnUb4RQ,13241
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=yhdiocQ-_7g8vqUw6exR5qj25YioH17ENd9MSZGjeCw,17105
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=4CHC1JRh1Hc28-xc4UdaZ_50o8bdJHX3O50q47JTywI,14438
60
- files_sdk/models/history_export_result.py,sha256=7A7dwPxuUsAH5Ldbkkt_4rP6v3YKTIOoaFdAwCF1jS8,6377
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
@@ -115,7 +115,7 @@ files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6q
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.77.dist-info/METADATA,sha256=T864ZAv_YLvNMSppUUuPmiWgz7xcty0dCQS1m8P2sZA,31732
119
- files_com-1.6.77.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
120
- files_com-1.6.77.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
121
- files_com-1.6.77.dist-info/RECORD,,
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
@@ -231,7 +231,7 @@ session_id = None
231
231
  source_ip = None
232
232
  base_url = "https://app.files.com"
233
233
  base_path = "api/rest/v1"
234
- version = "1.6.77"
234
+ version = "1.6.78"
235
235
 
236
236
  __version__ = version
237
237
 
@@ -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