import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; export declare class BuildsV2 extends ClientSDK { /** * GetBuildsV2Deprecated * * @remarks * Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ getBuildsV2Deprecated(appId?: string | undefined, options?: RequestOptions): Promise>; /** * GetBuildInfoV2Deprecated * * @remarks * Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ getBuildInfoV2Deprecated(buildId: number, appId?: string | undefined, options?: RequestOptions): Promise; /** * CreateBuildV2Deprecated * * @remarks * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). Responds with a `buildId` that you must pass to [`RunBuild()`](https://hathora.dev/api#tag/BuildV1/operation/RunBuild) to build the game server artifact. You can optionally pass in a `buildTag` to associate an external version with a build. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ createBuildV2Deprecated(createBuildParams: components.CreateBuildParams, appId?: string | undefined, options?: RequestOptions): Promise; /** * CreateBuildWithUploadUrlV2Deprecated * * @remarks * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build) with `uploadUrl` that can be used to upload the build to before calling `runBuild`. Responds with a `buildId` that you must pass to [`RunBuild()`](https://hathora.dev/api#tag/BuildV1/operation/RunBuild) to build the game server artifact. You can optionally pass in a `buildTag` to associate an external version with a build. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ createBuildWithUploadUrlV2Deprecated(createBuildParams: components.CreateBuildParams, appId?: string | undefined, options?: RequestOptions): Promise; /** * CreateWithMultipartUploadsV2Deprecated * * @remarks * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build) with optional `multipartUploadUrls` that can be used to upload larger builds in parts before calling `runBuild`. Responds with a `buildId` that you must pass to [`RunBuild()`](https://hathora.dev/api#tag/BuildV1/operation/RunBuild) to build the game server artifact. You can optionally pass in a `buildTag` to associate an external version with a build. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ createWithMultipartUploadsV2Deprecated(createMultipartBuildParams: components.CreateMultipartBuildParams, appId?: string | undefined, options?: RequestOptions): Promise; /** * DeleteBuildV2Deprecated * * @remarks * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ deleteBuildV2Deprecated(buildId: number, appId?: string | undefined, options?: RequestOptions): Promise; /** * RunBuildV2Deprecated * * @remarks * Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). * * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ runBuildV2Deprecated(buildId: number, requestBody: operations.RunBuildV2DeprecatedRequestBody, appId?: string | undefined, options?: RequestOptions): Promise>; } //# sourceMappingURL=buildsv2.d.ts.map