UNPKG

finite-state-sdk

Version:

The Finite State SDK.

33 lines (32 loc) 766 B
import { Context } from "../types"; interface Asset { id: string; name: string; } interface AssetVersion { id: string; name: string; asset: Asset; } interface CreatedBy { id: string; email: string; } export interface CreateArtifactResponse { createArtifact: { id: string; name: string; assetVersion: AssetVersion; createdBy: CreatedBy; ctx: Context; }; } export interface createArtifactParams { businessUnitId: string; createdByUserId: string; assetVersionId: string; artifactName: string; productId?: string; } export declare function createArtifact(token: string, organizationContext: string, params: createArtifactParams): Promise<CreateArtifactResponse>; export {};