/** * Hathora Cloud API * Welcome to the Hathora Cloud API documentation! Learn how to use the Hathora Cloud APIs to build and scale your game servers globally. * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { Deployment, DeploymentConfig } from '../models'; export interface CreateDeploymentDeprecatedRequest { appId: string; buildId: number; deploymentConfig: DeploymentConfig; } export interface GetDeploymentInfoDeprecatedRequest { appId: string; deploymentId: number; } export interface GetDeploymentsDeprecatedRequest { appId: string; } export interface GetLatestDeploymentDeprecatedRequest { appId: string; } /** * DeploymentV1Api - interface * * @export * @interface DeploymentV1ApiInterface */ export interface DeploymentV1ApiInterface { /** * Create a new [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). Creating a new deployment means all new rooms created will use the latest deployment configuration, but existing games in progress will not be affected. * @param {string} appId * @param {number} buildId * @param {DeploymentConfig} deploymentConfig * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} * @memberof DeploymentV1ApiInterface */ createDeploymentDeprecatedRaw(requestParameters: CreateDeploymentDeprecatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create a new [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). Creating a new deployment means all new rooms created will use the latest deployment configuration, but existing games in progress will not be affected. */ createDeploymentDeprecated(appId: string, buildId: number, deploymentConfig: DeploymentConfig, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). * @param {string} appId * @param {number} deploymentId * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} * @memberof DeploymentV1ApiInterface */ getDeploymentInfoDeprecatedRaw(requestParameters: GetDeploymentInfoDeprecatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). */ getDeploymentInfoDeprecated(appId: string, deploymentId: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param {string} appId * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} * @memberof DeploymentV1ApiInterface */ getDeploymentsDeprecatedRaw(requestParameters: GetDeploymentsDeprecatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). */ getDeploymentsDeprecated(appId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param {string} appId * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} * @memberof DeploymentV1ApiInterface */ getLatestDeploymentDeprecatedRaw(requestParameters: GetLatestDeploymentDeprecatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). */ getLatestDeploymentDeprecated(appId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * */ export declare class DeploymentV1Api extends runtime.BaseAPI implements DeploymentV1ApiInterface { /** * Create a new [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). Creating a new deployment means all new rooms created will use the latest deployment configuration, but existing games in progress will not be affected. */ createDeploymentDeprecatedRaw(requestParameters: CreateDeploymentDeprecatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create a new [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). Creating a new deployment means all new rooms created will use the latest deployment configuration, but existing games in progress will not be affected. */ createDeploymentDeprecated(appId: string, buildId: number, deploymentConfig: DeploymentConfig, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). */ getDeploymentInfoDeprecatedRaw(requestParameters: GetDeploymentInfoDeprecatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). */ getDeploymentInfoDeprecated(appId: string, deploymentId: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). */ getDeploymentsDeprecatedRaw(requestParameters: GetDeploymentsDeprecatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). */ getDeploymentsDeprecated(appId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). */ getLatestDeploymentDeprecatedRaw(requestParameters: GetLatestDeploymentDeprecatedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). */ getLatestDeploymentDeprecated(appId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }