import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ExposedPort } from "./exposedport.js"; import { Hosting } from "./hosting.js"; import { ProcessStatus } from "./processstatus.js"; import { Region } from "./region.js"; import { TransportType } from "./transporttype.js"; /** * Connection details for an active process. */ export type ProcessV3ExposedPort = { /** * Transport type specifies the underlying communication protocol to the exposed port. */ transportType: TransportType; port: number; host: string; name: string; }; export type ProcessV3 = { hosting?: Hosting | undefined; status: ProcessStatus; /** * Tracks the number of rooms that have been allocated to the process. */ roomsAllocated: number; /** * The summary of why the process exited, if it has stopped. */ summaryExitReason?: string | undefined; /** * When the process has been terminated. */ terminatedAt: Date | null; /** * When the process is issued to stop. */ stoppingAt: Date | null; /** * When the process bound to the specified port. We use this to determine when to register the process to the load balancer. */ startedAt: Date | null; /** * When the container was fully downloaded and started booting. */ bootedAt: Date | null; /** * When the process was assigned to an available node. */ scheduledAt: Date | null; /** * When the process started being provisioned. */ createdAt: Date; /** * Governs how many [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) can be scheduled in a process. */ roomsPerProcess: number; additionalExposedPorts: Array; exposedPort: ProcessV3ExposedPort | null; region: Region; /** * System generated unique identifier to a runtime instance of your game server. */ processId: string; /** * The id of the fleet. */ fleetId?: string | undefined; /** * System generated id for a deployment. */ deploymentId: string; /** * System generated unique identifier for an application. */ appId: string; }; /** @internal */ export declare const ProcessV3ExposedPort$inboundSchema: z.ZodType; export declare function processV3ExposedPortFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProcessV3$inboundSchema: z.ZodType; export declare function processV3FromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=processv3.d.ts.map