ecapi-sdk 3.1.3__tar.gz → 3.1.4__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.3
3
+ Version: 3.1.4
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.3"
7
+ version = "3.1.4"
8
8
  description = "ECAPI SDK for Python"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -339,6 +339,10 @@ class AuditAPI(_BaseApi):
339
339
  """查询处罚操作日志"""
340
340
  return self._get(f"/audits/punishment", query, **kwargs)
341
341
 
342
+ def query_account_logs(self, query: Optional[QueryParams] = None, **kwargs: Any) -> Any:
343
+ """查询账号敏感变更日志"""
344
+ return self._get(f"/audits/account", query, **kwargs)
345
+
342
346
  class AuthAPI(_BaseApi):
343
347
  def get_open_id(self, **kwargs: Any) -> Any:
344
348
  """获取用户 OpenId"""
@@ -69,6 +69,21 @@ class AdminAPIGetPrismDeviceBanLogQuery(TypedDict, total=False):
69
69
  current: QueryValue
70
70
  pageSize: QueryValue
71
71
 
72
+ class AuditAPIQueryAccountLogsQuery(TypedDict, total=False):
73
+ current: QueryValue
74
+ pageSize: QueryValue
75
+ startTime: QueryValue
76
+ endTime: QueryValue
77
+ sortOrder: QueryValue
78
+ operatorId: QueryValue
79
+ operationStatus: QueryValue
80
+ targetEcid: QueryValue
81
+ action: QueryValue
82
+ httpMethod: QueryValue
83
+ xuid: QueryValue
84
+ oldEcid: QueryValue
85
+ newEcid: QueryValue
86
+
72
87
  class AuditAPIGetAdminLogsQuery(TypedDict, total=False):
73
88
  current: QueryValue
74
89
  pageSize: QueryValue
@@ -868,6 +883,7 @@ class AuditAPI:
868
883
  def get_permission_logs(self, query: Optional[AuditAPIGetPermissionLogsQuery] = ..., **kwargs: Any) -> Any: ...
869
884
  def get_player_logs(self, query: Optional[AuditAPIGetPlayerLogsQuery] = ..., **kwargs: Any) -> Any: ...
870
885
  def get_punishment_logs(self, query: Optional[AuditAPIGetPunishmentLogsQuery] = ..., **kwargs: Any) -> Any: ...
886
+ def query_account_logs(self, query: Optional[AuditAPIQueryAccountLogsQuery] = ..., **kwargs: Any) -> Any: ...
871
887
 
872
888
  class AuthAPI:
873
889
  def get_open_id(self, **kwargs: Any) -> Any: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ecapi-sdk
3
- Version: 3.1.3
3
+ Version: 3.1.4
4
4
  Summary: ECAPI SDK for Python
5
5
  Author: EaseCation
6
6
  License: MIT
File without changes
File without changes