1 | import { CommandLineInputs, CommandLineOptions } from '@ionic/cli-framework';
|
2 | import { CommandMetadata } from '../../definitions';
|
3 | import { Command } from '../../lib/command';
|
4 | interface PackageBuild {
|
5 | job_id: number;
|
6 | id: string;
|
7 | caller_id: number;
|
8 | platform: string;
|
9 | build_type: string;
|
10 | created: string;
|
11 | finished: string;
|
12 | state: string;
|
13 | commit: any;
|
14 | stack: any;
|
15 | profile_tag: string;
|
16 | automation_id: number;
|
17 | environment_id: number;
|
18 | native_config_id: number;
|
19 | automation_name: string;
|
20 | environment_name: string;
|
21 | native_config_name: string;
|
22 | job: any;
|
23 | }
|
24 | interface DownloadUrl {
|
25 | url: string | null;
|
26 | }
|
27 | export declare class BuildCommand extends Command {
|
28 | getMetadata(): Promise<CommandMetadata>;
|
29 | preRun(inputs: CommandLineInputs, options: CommandLineOptions): Promise<void>;
|
30 | run(inputs: CommandLineInputs, options: CommandLineOptions): Promise<void>;
|
31 | createPackageBuild(appflowId: string, token: string, platform: string, buildType: string, options: CommandLineOptions): Promise<PackageBuild>;
|
32 | getPackageBuild(appflowId: string, buildId: number, token: string): Promise<PackageBuild>;
|
33 | getDownloadUrl(appflowId: string, buildId: number, token: string): Promise<DownloadUrl>;
|
34 | tailBuildLog(appflowId: string, buildId: number, token: string): Promise<PackageBuild>;
|
35 | downloadBuild(url: string, filename: string): Promise<string>;
|
36 | }
|
37 | export {};
|