finite-state-sdk
Version:
The Finite State SDK.
27 lines (26 loc) • 1.22 kB
TypeScript
import { CompleteTestResultUploadResponse, LaunchBinaryUploadProcessingResponse } from "../types";
import { UploadMethod } from "./types";
interface uploadFileForBinaryAnalysisParams {
testId: string | null;
filePath: string | null;
chunkSize?: number;
quickScan?: boolean;
}
export declare function uploadFileForBinaryAnalysis(token: string, organizationContext: string, params: uploadFileForBinaryAnalysisParams): Promise<LaunchBinaryUploadProcessingResponse>;
interface createNewAssetVersionArtifactAndTestForUploadParams {
businessUnitId?: string;
createdByUserId?: string;
assetId?: string;
version?: string;
productId?: string;
testType: string;
artifactDescription?: string;
uploadMethod?: UploadMethod;
}
export declare function createNewAssetVersionArtifactAndTestForUpload(token: string, organizationContext: string, params: createNewAssetVersionArtifactAndTestForUploadParams): Promise<string>;
interface uploadTestResultsFileParams {
testId: string;
filePath: string;
}
export declare function uploadTestResultsFile(token: string, organizationContext: string, params: uploadTestResultsFileParams): Promise<CompleteTestResultUploadResponse>;
export {};