import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { BuildStatus } from "./buildstatus.js"; import { Region } from "./region.js"; export type BuildWithUploadUrlRegionalContainerTags = { containerTag: string; region: Region; }; export type UploadBodyParams = { value: string; key: string; }; /** * A build represents a game server artifact and its associated metadata. */ export type BuildWithUploadUrl = { /** * When the build expired */ expiredAt?: Date | undefined; buildTag?: string | null | undefined; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ regionalContainerTags: Array; /** * The size (in bytes) of the Docker image built by Hathora. */ imageSize: number; status: BuildStatus; /** * When the build was deleted. */ deletedAt: Date | null; /** * When [`RunBuild()`](https://hathora.dev/api#tag/BuildV2/operation/RunBuild) finished executing. */ finishedAt: Date | null; /** * When [`RunBuild()`](https://hathora.dev/api#tag/BuildV2/operation/RunBuild) is called. */ startedAt: Date | null; /** * When [`CreateBuild()`](https://hathora.dev/api#tag/BuildV2/operation/CreateBuild) is called. */ createdAt: Date; createdBy: string; /** * System generated id for a build. Increments by 1. */ buildId: number; /** * System generated unique identifier for an application. */ appId: string; uploadBodyParams: Array; uploadUrl: string; }; /** @internal */ export declare const BuildWithUploadUrlRegionalContainerTags$inboundSchema: z.ZodType; export declare function buildWithUploadUrlRegionalContainerTagsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UploadBodyParams$inboundSchema: z.ZodType; export declare function uploadBodyParamsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BuildWithUploadUrl$inboundSchema: z.ZodType; export declare function buildWithUploadUrlFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=buildwithuploadurl.d.ts.map