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 { SetPrimaryDomainCommandInput } from './set-primary-domain-command.types.js'; /** * The error codes this command can produce, to compare against `error.code`. * * - `NOT_FOUND`: the given domain is not one of the application's domains */ export declare const SET_PRIMARY_DOMAIN_ERROR_CODES: { readonly NOT_FOUND: 'clever.domain.not-found'; }; export type SetPrimaryDomainErrorCode = (typeof SET_PRIMARY_DOMAIN_ERROR_CODES)[keyof typeof SET_PRIMARY_DOMAIN_ERROR_CODES]; /** * Marks one of the application's domains as its primary domain. * * Common error codes: see {@link SET_PRIMARY_DOMAIN_ERROR_CODES} * * @endpoint [PUT] /v2/organisations/:XXX/applications/:XXX/vhosts/favourite * @group Domain * @version 2 */ export declare class SetPrimaryDomainCommand extends CcApiSimpleCommand { toRequestParams(params: SetPrimaryDomainCommandInput): Partial; transformCommandOutput(): undefined; transformErrorCode({ code }: ApiErrorInfo): "clever.domain.not-found"; getIdsToResolve(): IdResolve; isIdempotent(): boolean; } //# sourceMappingURL=set-primary-domain-command.d.ts.map