import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { RoomStatus } from "./roomstatus.js"; /** * Metadata on an allocated instance of a room. */ export type RoomWithoutAllocationsCurrentAllocation = { unscheduledAt: Date | null; scheduledAt: Date; /** * System generated unique identifier to a runtime instance of your game server. */ processId: string; /** * System generated unique identifier to an allocated instance of a room. */ roomAllocationId: string; }; export type RoomWithoutAllocations = { currentAllocation: RoomWithoutAllocationsCurrentAllocation | null; /** * The allocation status of a room. * * @remarks * * `scheduling`: a process is not allocated yet and the room is waiting to be scheduled * * `active`: ready to accept connections * * `destroyed`: all associated metadata is deleted */ status: RoomStatus; roomConfig?: string | null | undefined; /** * Unique identifier to a game session or match. Use the default system generated ID or overwrite it with your own. * * @remarks * Note: error will be returned if `roomId` is not globally unique. */ roomId: string; /** * System generated unique identifier for an application. */ appId: string; }; /** @internal */ export declare const RoomWithoutAllocationsCurrentAllocation$inboundSchema: z.ZodType; export declare function roomWithoutAllocationsCurrentAllocationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const RoomWithoutAllocations$inboundSchema: z.ZodType; export declare function roomWithoutAllocationsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=roomwithoutallocations.d.ts.map