UNPKG

hcc-imageright-apis

Version:

imageright APIs

31 lines (30 loc) 1.5 kB
import { AxiosInstance } from 'axios'; interface DefaultStepLinkOptions { isDefault?: boolean; status?: string; } export declare function getDefaultStepLink(api: AxiosInstance, stepId: string, options?: DefaultStepLinkOptions): Promise<any>; export declare function getPriorityList(api: AxiosInstance, stepId: string): Promise<any>; interface SplitLinkParametersOptions { isDebug?: boolean; } export declare function getSplitLinkParameters(api: AxiosInstance, stepId: string, options?: SplitLinkParametersOptions): Promise<any>; export declare function getStepAttributeById(api: AxiosInstance, stepId: string, id: string): Promise<any>; export declare function getStepAttributeByName(api: AxiosInstance, stepId: string, name: string): Promise<any>; export declare function getStepAttributes(api: AxiosInstance, stepId: string): Promise<any>; interface StepLinksOptions { targetStepId?: string; status?: string; } export declare function getStepLinks(api: AxiosInstance, srcStepId: string, options?: StepLinksOptions): Promise<any>; interface StepsOptions { includeBuddies?: boolean; flag?: string; } export declare function getSteps(api: AxiosInstance, flowId: string, options?: StepsOptions): Promise<any>; export declare function getUsersToAssign(api: AxiosInstance, stepId: string): Promise<any>; interface WorkflowsOptions { includeBuddies?: boolean; } export declare function getWorkflows(api: AxiosInstance, options?: WorkflowsOptions): Promise<any>; export {};