UNPKG

2.25 kBTypeScriptView Raw
1import { APIClient } from '@heroku-cli/command';
2import * as Heroku from '@heroku-cli/schema';
3import http from 'http-call';
4export declare const V3_HEADER = "application/vnd.heroku+json; version=3";
5export declare const FILTERS_HEADER: string;
6export declare const PIPELINES_HEADER: string;
7export declare function createAppSetup(heroku: APIClient, body: {
8 body: any;
9}): Promise<http<unknown>>;
10export declare function postCoupling(heroku: APIClient, pipeline: any, app: any, stage: string): Promise<http<unknown>>;
11export declare function createCoupling(heroku: APIClient, pipeline: any, app: string, stage: string): Promise<http<unknown>>;
12export declare function createPipeline(heroku: APIClient, name: any, owner: any): Promise<http<unknown>>;
13export declare function createPipelineTransfer(heroku: APIClient, pipeline: Heroku.Pipeline): Promise<http<unknown>>;
14export declare function destroyPipeline(heroku: APIClient, name: any, pipelineId: any): Promise<http<unknown>>;
15export declare function findPipelineByName(heroku: APIClient, idOrName: string): Promise<http<Heroku.Pipeline[]>>;
16export declare function getCoupling(heroku: APIClient, app: string): Promise<http<Heroku.PipelineCoupling>>;
17export declare function getPipeline(heroku: APIClient, id: string): Promise<http<Heroku.Pipeline>>;
18export declare function updatePipeline(heroku: APIClient, id: string, body: Heroku.Pipeline): Promise<http<Heroku.Pipeline>>;
19export declare function getTeam(heroku: APIClient, teamId: any): Promise<http<Heroku.Team>>;
20export declare function getAccountInfo(heroku: APIClient, id?: string): Promise<http<Heroku.Account>>;
21export declare function getAppSetup(heroku: APIClient, buildId: any): Promise<http<unknown>>;
22export declare function listPipelineApps(heroku: APIClient, pipelineId: string): Promise<Array<Heroku.App>>;
23export declare function patchCoupling(heroku: APIClient, id: string, stage: string): Promise<http<unknown>>;
24export declare function removeCoupling(heroku: APIClient, app: string): Promise<http<unknown>>;
25export declare function updateCoupling(heroku: APIClient, app: string, stage: string): Promise<http<unknown>>;
26export declare function getReleases(heroku: APIClient, appId: string): Promise<http<Heroku.Release[]>>;