UNPKG

bump-cli

Version:

The Bump CLI is used to interact with your API documentation hosted on Bump.sh by using the API of developers.bump.sh

12 lines (11 loc) 759 B
import { BumpApi } from '../api/index.js'; import { VersionRequest, VersionResponse } from '../api/models.js'; import { API } from '../definition.js'; export declare class Deploy { private _bump; constructor(bumpClient: BumpApi); protected createVersion(request: VersionRequest, token: string): Promise<VersionResponse | undefined>; d(formatter: any, ...args: any[]): void; run(api: API, dryRun: boolean, documentation: string, token: string, hub: string | undefined, autoCreate: boolean, documentationName: string | undefined, branch: string | undefined, overlay?: string[] | undefined, temporary?: boolean | false): Promise<VersionResponse | undefined>; validateVersion(version: VersionRequest, token: string): Promise<undefined>; }