@capgo/cli 8.99.1 → 8.99.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,41 @@
1
+ export interface SimulatorCommandOptions {
2
+ apikey?: string;
3
+ apiHost?: string;
4
+ platform?: string;
5
+ name?: string;
6
+ json?: boolean;
7
+ }
8
+ export declare function simulatorApiRequest(host: string, command: 'start' | 'stop' | 'get', input: {
9
+ appId: string;
10
+ platform?: string;
11
+ name?: string;
12
+ id?: string;
13
+ }): {
14
+ method: "POST";
15
+ url: string;
16
+ body: {
17
+ app_id: string;
18
+ platform: string | undefined;
19
+ name: string | undefined;
20
+ };
21
+ } | {
22
+ method: "POST";
23
+ url: string;
24
+ body: {
25
+ app_id: string;
26
+ platform?: undefined;
27
+ name?: undefined;
28
+ };
29
+ } | {
30
+ method: "GET";
31
+ url: string;
32
+ body: undefined;
33
+ };
34
+ export declare function simulatorTextOutput(data: {
35
+ id?: string;
36
+ url?: string;
37
+ status?: string;
38
+ } | undefined): string;
39
+ export declare function startSimulatorCommand(appId: string | undefined, options: SimulatorCommandOptions): Promise<void>;
40
+ export declare function stopSimulatorCommand(sessionId: string | undefined, appId: string | undefined, options: SimulatorCommandOptions): Promise<void>;
41
+ export declare function getSimulatorCommand(sessionId: string | undefined, appId: string | undefined, options: SimulatorCommandOptions): Promise<void>;