ecapi-sdk 3.4.6__tar.gz → 3.4.7__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.4.6 → ecapi_sdk-3.4.7}/PKG-INFO +1 -1
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/pyproject.toml +1 -1
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/src/ecapi_sdk/client.py +0 -6
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/src/ecapi_sdk/client.pyi +0 -16
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/src/ecapi_sdk.egg-info/PKG-INFO +1 -1
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/README.md +0 -0
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/setup.cfg +0 -0
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/src/ecapi_sdk/__init__.py +0 -0
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/src/ecapi_sdk/py.typed +0 -0
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/src/ecapi_sdk.egg-info/SOURCES.txt +0 -0
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/src/ecapi_sdk.egg-info/dependency_links.txt +0 -0
- {ecapi_sdk-3.4.6 → ecapi_sdk-3.4.7}/src/ecapi_sdk.egg-info/top_level.txt +0 -0
|
@@ -956,7 +956,6 @@ class PlayerStatusAPI(_BaseApi):
|
|
|
956
956
|
class ServerAPI(_BaseApi):
|
|
957
957
|
def __init__(self, http: _HttpClient) -> None:
|
|
958
958
|
super().__init__(http)
|
|
959
|
-
self.attendance = ServerAttendanceAPI(http)
|
|
960
959
|
self.broadcast = ServerBroadcastAPI(http)
|
|
961
960
|
self.config_sync = ServerConfigSyncAPI(http)
|
|
962
961
|
self.easechat = ServerEaseChatAPI(http)
|
|
@@ -983,11 +982,6 @@ class ServerAPI(_BaseApi):
|
|
|
983
982
|
"""查询服务器运行列表"""
|
|
984
983
|
return self._get(f"/servers", query, **kwargs)
|
|
985
984
|
|
|
986
|
-
class ServerAttendanceAPI(_BaseApi):
|
|
987
|
-
def set_projection(self, ecid: str, payload: Mapping[str, Any], **kwargs: Any) -> Any:
|
|
988
|
-
"""设置管理员出勤投影"""
|
|
989
|
-
return self._put(f"/admin/players/{quote(str(ecid), safe='')}/attendance-projection", payload, **kwargs)
|
|
990
|
-
|
|
991
985
|
class ServerBroadcastAPI(_BaseApi):
|
|
992
986
|
def compare(self, **kwargs: Any) -> Any:
|
|
993
987
|
"""查询 Broadcast 差异"""
|
|
@@ -839,18 +839,6 @@ class ServerAPIGetMainstackEventsQueryRequired(TypedDict):
|
|
|
839
839
|
class ServerAPIGetMainstackEventsQuery(ServerAPIGetMainstackEventsQueryRequired, total=False):
|
|
840
840
|
pass
|
|
841
841
|
|
|
842
|
-
class ServerAttendanceAPISetProjectionBodyRequired(TypedDict):
|
|
843
|
-
eventId: str
|
|
844
|
-
revision: int
|
|
845
|
-
state: str
|
|
846
|
-
sessionId: Optional[str]
|
|
847
|
-
startedAt: Optional[str]
|
|
848
|
-
elapsedMinutes: int
|
|
849
|
-
occurredAt: str
|
|
850
|
-
|
|
851
|
-
class ServerAttendanceAPISetProjectionBody(ServerAttendanceAPISetProjectionBodyRequired, total=False):
|
|
852
|
-
reason: str
|
|
853
|
-
|
|
854
842
|
class ServerBroadcastAPIDeployBodyRequired(TypedDict):
|
|
855
843
|
items: Sequence[Any]
|
|
856
844
|
|
|
@@ -1378,7 +1366,6 @@ class PlayerStatusAPI:
|
|
|
1378
1366
|
def get(self, query: PlayerStatusAPIGetQuery, **kwargs: Any) -> Any: ...
|
|
1379
1367
|
|
|
1380
1368
|
class ServerAPI:
|
|
1381
|
-
attendance: ServerAttendanceAPI
|
|
1382
1369
|
broadcast: ServerBroadcastAPI
|
|
1383
1370
|
config_sync: ServerConfigSyncAPI
|
|
1384
1371
|
easechat: ServerEaseChatAPI
|
|
@@ -1396,9 +1383,6 @@ class ServerAPI:
|
|
|
1396
1383
|
def get_statistics(self, **kwargs: Any) -> Any: ...
|
|
1397
1384
|
def list(self, query: Optional[ServerAPIListQuery] = ..., **kwargs: Any) -> Any: ...
|
|
1398
1385
|
|
|
1399
|
-
class ServerAttendanceAPI:
|
|
1400
|
-
def set_projection(self, ecid: str, payload: ServerAttendanceAPISetProjectionBody, **kwargs: Any) -> Any: ...
|
|
1401
|
-
|
|
1402
1386
|
class ServerBroadcastAPI:
|
|
1403
1387
|
def compare(self, **kwargs: Any) -> Any: ...
|
|
1404
1388
|
def create(self, payload: ServerBroadcastAPICreateBody, **kwargs: Any) -> Any: ...
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|