ecapi-sdk 3.3.15__tar.gz → 3.3.16__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.3.15
3
+ Version: 3.3.16
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.3.15"
7
+ version = "3.3.16"
8
8
  description = "ECAPI SDK for Python"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -1196,9 +1196,9 @@ class ServerSpamDetectorAPI(_BaseApi):
1196
1196
  return self._patch(f"/spam-detector/config", payload, **kwargs)
1197
1197
 
1198
1198
  class SystemAPI(_BaseApi):
1199
- def get_app_manifest(self, **kwargs: Any) -> Any:
1199
+ def get_app_manifest(self, query: Optional[QueryParams] = None, **kwargs: Any) -> Any:
1200
1200
  """获取控制台 JS 加密包 manifest"""
1201
- return self._get(f"/app-manifest", None, **kwargs)
1201
+ return self._get(f"/app-manifest", query, **kwargs)
1202
1202
 
1203
1203
  def get_health(self, **kwargs: Any) -> Any:
1204
1204
  """获取服务健康状态"""
@@ -1032,6 +1032,9 @@ class ServerSpamDetectorAPISetStateBodyRequired(TypedDict):
1032
1032
  class ServerSpamDetectorAPISetStateBody(ServerSpamDetectorAPISetStateBodyRequired, total=False):
1033
1033
  pass
1034
1034
 
1035
+ class SystemAPIGetAppManifestQuery(TypedDict, total=False):
1036
+ version: QueryValue
1037
+
1035
1038
  class SystemAPIProbeDatabaseIndexesQueryRequired(TypedDict):
1036
1039
  tables: QueryValue
1037
1040
 
@@ -1371,7 +1374,7 @@ class ServerSpamDetectorAPI:
1371
1374
  def update_config(self, payload: ServerSpamDetectorAPIUpdateConfigBody, **kwargs: Any) -> Any: ...
1372
1375
 
1373
1376
  class SystemAPI:
1374
- def get_app_manifest(self, **kwargs: Any) -> Any: ...
1377
+ def get_app_manifest(self, query: Optional[SystemAPIGetAppManifestQuery] = ..., **kwargs: Any) -> Any: ...
1375
1378
  def get_health(self, **kwargs: Any) -> Any: ...
1376
1379
  def get_liveness(self, **kwargs: Any) -> Any: ...
1377
1380
  def get_readiness(self, **kwargs: Any) -> Any: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ecapi-sdk
3
- Version: 3.3.15
3
+ Version: 3.3.16
4
4
  Summary: ECAPI SDK for Python
5
5
  Author: EaseCation
6
6
  License: MIT
File without changes
File without changes