@apistudio/apim-cli
Version:
CLI for API Management Products
16 lines • 2.17 kB
TypeScript
import { TestOptionsModel } from '../../model/studio/command-options/test-options-model.js';
import { GatewaysJson } from '@apic/studio-shared';
import { TestOutputBuffers } from '../../model/studio/test-response-model.js';
export declare const getGatewayJson: (options: TestOptionsModel, gatewayPassword: string) => Promise<GatewaysJson>;
export declare const handleTestWarnings: (projects: string, options: TestOptionsModel) => void;
export declare const handleDeploymentForProjects: (options: TestOptionsModel, gatewayJson: GatewaysJson, localDir: string, finalZipBuffer: Buffer, ApiReference: Record<string, string>) => Promise<TestOutputBuffers>;
export declare const handleDeploymentWarning: (options: TestOptionsModel) => TestOutputBuffers | null;
export declare const handleNonDeploymentForProjects: (apiReferencesString: string, options: TestOptionsModel, gatewayJson: GatewaysJson, localDir: string, finalZipBuffer: Buffer, apiReference: any) => Promise<TestOutputBuffers>;
export declare const handleNonDeploymentForAssets: (apiReference: string, options: TestOptionsModel, gatewayJson: GatewaysJson, localDir: string, projects: string, testZipBuffer: Buffer) => Promise<TestOutputBuffers>;
export declare const handleDeploymentForAssets: (options: TestOptionsModel, gatewayJson: GatewaysJson, localDir: string, apiReference: any, projects: string, testZipBuffer: Buffer) => Promise<TestOutputBuffers>;
export declare const handleTestAssets: (options: TestOptionsModel, projects: string, localDir: string, gatewayJson: GatewaysJson) => Promise<TestOutputBuffers>;
export declare const handleTestProjects: (options: TestOptionsModel, projects: string, localDir: string, gatewayJson: GatewaysJson) => Promise<TestOutputBuffers>;
export declare const validateEndpointOptions: (options: TestOptionsModel) => boolean;
export declare const testAssetsForEndpoint: (options: TestOptionsModel, project: string, localDir: string) => Promise<TestOutputBuffers>;
export declare const writeArchive: (projects: string, all: boolean, names: string, testZipBuffer: Buffer, buildZipBuffer: Buffer | undefined) => Promise<void>;
//# sourceMappingURL=test-action-helper.d.ts.map