skysync-cli
Version:
SkySync Command Line Interface
13 lines (12 loc) • 982 B
TypeScript
import { IHttpClient } from '../http';
import { PagedResource } from './resource';
import { BlockListEntityType, EntityType, EntityTypeEvaluationResult, PatternEntityType, PropertySchema } from '../models';
import { CancellationToken } from '../cancellation-token';
export declare class EntityTypesResource extends PagedResource<EntityType | BlockListEntityType | PatternEntityType> {
constructor(httpClient: IHttpClient);
import(body: FormData, params?: any, token?: CancellationToken): Promise<(EntityType | BlockListEntityType | PatternEntityType)[]>;
schema(id: string, token?: CancellationToken): Promise<PropertySchema>;
test(id: string, body: FormData, params?: any, token?: CancellationToken): Promise<EntityTypeEvaluationResult>;
testAll(body: FormData, params?: any, token?: CancellationToken): Promise<EntityTypeEvaluationResult[]>;
clone(id: string, body?: EntityType, params?: any, token?: CancellationToken): Promise<EntityType>;
}