ecapi-sdk 3.7.9__tar.gz → 3.7.10__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.
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/PKG-INFO +1 -1
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/pyproject.toml +1 -1
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/src/ecapi_sdk/client.py +4 -0
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/src/ecapi_sdk/client.pyi +3 -1
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/src/ecapi_sdk.egg-info/PKG-INFO +1 -1
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/README.md +0 -0
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/setup.cfg +0 -0
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/src/ecapi_sdk/__init__.py +0 -0
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/src/ecapi_sdk/py.typed +0 -0
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/src/ecapi_sdk.egg-info/SOURCES.txt +0 -0
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/src/ecapi_sdk.egg-info/dependency_links.txt +0 -0
- {ecapi_sdk-3.7.9 → ecapi_sdk-3.7.10}/src/ecapi_sdk.egg-info/top_level.txt +0 -0
|
@@ -725,6 +725,10 @@ class AdminPunishmentAPI(_BaseApi):
|
|
|
725
725
|
"""创建处罚"""
|
|
726
726
|
return self._post(f"/admin/players/{quote(str(ecid), safe='')}/punishments", payload, **kwargs)
|
|
727
727
|
|
|
728
|
+
def get_report_punishment(self, ecid: str, **kwargs: Any) -> Any:
|
|
729
|
+
"""获取玩家禁用举报状态"""
|
|
730
|
+
return self._get(f"/admin/players/{quote(str(ecid), safe='')}/report-punishment", None, **kwargs)
|
|
731
|
+
|
|
728
732
|
def list(self, query: Optional[QueryParams] = None, **kwargs: Any) -> Any:
|
|
729
733
|
"""分页查询处罚列表"""
|
|
730
734
|
return self._get(f"/admin/punishments", query, **kwargs)
|
|
@@ -697,7 +697,7 @@ class AuthAPILoginByOauth2BodyRequired(TypedDict):
|
|
|
697
697
|
code: str
|
|
698
698
|
|
|
699
699
|
class AuthAPILoginByOauth2Body(AuthAPILoginByOauth2BodyRequired, total=False):
|
|
700
|
-
|
|
700
|
+
redirectUri: str
|
|
701
701
|
|
|
702
702
|
class AuthAPIRefreshTokenBodyRequired(TypedDict):
|
|
703
703
|
refreshToken: str
|
|
@@ -1781,6 +1781,7 @@ class ServerRoomAPICreateBody(ServerRoomAPICreateBodyRequired, total=False):
|
|
|
1781
1781
|
map: str
|
|
1782
1782
|
name: str
|
|
1783
1783
|
owner: str
|
|
1784
|
+
publicRoom: bool
|
|
1784
1785
|
metadata: str
|
|
1785
1786
|
ownerOnlyStart: bool
|
|
1786
1787
|
allowCreative: bool
|
|
@@ -1993,6 +1994,7 @@ class AdminPlayerWalletAPI:
|
|
|
1993
1994
|
class AdminPunishmentAPI:
|
|
1994
1995
|
def clear_degree(self, ecid: str, **kwargs: Any) -> Any: ...
|
|
1995
1996
|
def create(self, ecid: str, payload: AdminPunishmentAPICreateBody, **kwargs: Any) -> Any: ...
|
|
1997
|
+
def get_report_punishment(self, ecid: str, **kwargs: Any) -> Any: ...
|
|
1996
1998
|
def list(self, query: Optional[AdminPunishmentAPIListQuery] = ..., **kwargs: Any) -> Any: ...
|
|
1997
1999
|
def list_prism_device_ban_logs(self, query: Optional[AdminPunishmentAPIListPrismDeviceBanLogsQuery] = ..., **kwargs: Any) -> Any: ...
|
|
1998
2000
|
def remove(self, ecid: str, type: str, query: Optional[AdminPunishmentAPIRemoveQuery] = ..., **kwargs: Any) -> Any: ...
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|