import type { ApiErrorInfo } from '../../../../types/command.types.js'; import { CcApiSimpleCommand } from '../../lib/cc-api-command.js'; import type { IdResolve } from '../../types/resource-id-resolver.types.js'; import type { DeployApplicationCommandInput, DeployApplicationCommandOutput } from './deploy-application-command.types.js'; /** * The error codes this command can produce, to compare against `error.code`. * * - `NEVER_DEPLOYED`: the application has never been deployed, there is no commit to deploy */ export declare const DEPLOY_APPLICATION_ERROR_CODES: { readonly NEVER_DEPLOYED: 'clever.application.never-deployed'; }; export type DeployApplicationErrorCode = (typeof DEPLOY_APPLICATION_ERROR_CODES)[keyof typeof DEPLOY_APPLICATION_ERROR_CODES]; /** * Deploys an application. * * Common error codes: see {@link DEPLOY_APPLICATION_ERROR_CODES} * * @endpoint [POST] /v2/organisations/:XXX/applications/:XXX/instances * @group Application * @version 2 */ export declare class DeployApplicationCommand extends CcApiSimpleCommand { toRequestParams(params: DeployApplicationCommandInput): Partial; transformCommandOutput(response: unknown): DeployApplicationCommandOutput; transformErrorCode({ code }: ApiErrorInfo): "clever.application.never-deployed"; getIdsToResolve(): IdResolve; isIdempotent(): boolean; } //# sourceMappingURL=deploy-application-command.d.ts.map