Implement SCUM direct data plane
This commit is contained in:
@@ -102,9 +102,14 @@ import type {
|
||||
RemoteAdapterRequest,
|
||||
RemoteAdapterResponse,
|
||||
SCUMListResponse,
|
||||
SCUMActivityListResponse,
|
||||
SCUMGiftsListResponse,
|
||||
SCUMMapPointsListResponse,
|
||||
SCUMOperationListResponse,
|
||||
SCUMOperationRequest,
|
||||
SCUMOperationResponse,
|
||||
SCUMSquadsListResponse,
|
||||
SCUMUsersListResponse,
|
||||
SCUMWorkflowCreateRequest,
|
||||
SCUMWorkflowListResponse,
|
||||
SCUMWorkflowResponse,
|
||||
@@ -587,8 +592,24 @@ export class PlatformApiClient {
|
||||
return this.request<SCUMListResponse>(`/server-instances/${encodeURIComponent(serverInstanceId)}/scum/players`);
|
||||
}
|
||||
|
||||
async listSCUMSquads(serverInstanceId: string): Promise<SCUMListResponse> {
|
||||
return this.request<SCUMListResponse>(`/server-instances/${encodeURIComponent(serverInstanceId)}/scum/squads`);
|
||||
async listSCUMUsers(serverInstanceId: string): Promise<SCUMUsersListResponse> {
|
||||
return this.request<SCUMUsersListResponse>(`/server-instances/${encodeURIComponent(serverInstanceId)}/scum/users`);
|
||||
}
|
||||
|
||||
async listSCUMSquads(serverInstanceId: string): Promise<SCUMSquadsListResponse> {
|
||||
return this.request<SCUMSquadsListResponse>(`/server-instances/${encodeURIComponent(serverInstanceId)}/scum/datasets/squads`);
|
||||
}
|
||||
|
||||
async listSCUMActivity(serverInstanceId: string): Promise<SCUMActivityListResponse> {
|
||||
return this.request<SCUMActivityListResponse>(`/server-instances/${encodeURIComponent(serverInstanceId)}/scum/activity`);
|
||||
}
|
||||
|
||||
async listSCUMGifts(serverInstanceId: string): Promise<SCUMGiftsListResponse> {
|
||||
return this.request<SCUMGiftsListResponse>(`/server-instances/${encodeURIComponent(serverInstanceId)}/scum/gifts`);
|
||||
}
|
||||
|
||||
async listSCUMMapPoints(serverInstanceId: string): Promise<SCUMMapPointsListResponse> {
|
||||
return this.request<SCUMMapPointsListResponse>(`/server-instances/${encodeURIComponent(serverInstanceId)}/scum/map-points`);
|
||||
}
|
||||
|
||||
async listSCUMSquadMembers(serverInstanceId: string): Promise<SCUMListResponse> {
|
||||
|
||||
Reference in New Issue
Block a user