ecapi-sdk 3.1.4__tar.gz → 3.1.5__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ecapi-sdk
3
- Version: 3.1.4
3
+ Version: 3.1.5
4
4
  Summary: ECAPI SDK for Python
5
5
  Author: EaseCation
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ecapi-sdk"
7
- version = "3.1.4"
7
+ version = "3.1.5"
8
8
  description = "ECAPI SDK for Python"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -281,6 +281,11 @@ class _BaseApi:
281
281
  request_kwargs, query_kwargs = _extract_request_kwargs(kwargs)
282
282
  return self._http.request("DELETE", path, query=query, **request_kwargs, **query_kwargs)
283
283
 
284
+ class ProtBundleAPI(_BaseApi):
285
+ def get_manifest(self, **kwargs: Any) -> Any:
286
+ """获取控制台 JS 加密包 manifest"""
287
+ return self._get(f"/app-manifest", None, **kwargs)
288
+
284
289
  class AdminAPI(_BaseApi):
285
290
  def delete_mail(self, mailId: Union[int, float], **kwargs: Any) -> Any:
286
291
  """删除邮件"""
@@ -866,6 +866,9 @@ class ECAPIError(Exception):
866
866
  field: Optional[str]
867
867
  def __init__(self, message: str, status: int, payload: Any, url: str) -> None: ...
868
868
 
869
+ class ProtBundleAPI:
870
+ def get_manifest(self, **kwargs: Any) -> Any: ...
871
+
869
872
  class AdminAPI:
870
873
  def delete_mail(self, mailId: Union[int, float], **kwargs: Any) -> Any: ...
871
874
  def get_operation_logs(self, query: Optional[AdminAPIGetOperationLogsQuery] = ..., **kwargs: Any) -> Any: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ecapi-sdk
3
- Version: 3.1.4
3
+ Version: 3.1.5
4
4
  Summary: ECAPI SDK for Python
5
5
  Author: EaseCation
6
6
  License: MIT
File without changes
File without changes