/** * Copyright Linkurious SAS 2012 - 2019 * * - Created on 2019-05-15. */ import { Request } from '../../http/request'; import { IDataSourceParams } from '../commonTypes'; import { AdminGraphSchemaProperty, AdminGraphSchemaType, GetSamplingStatusResponse, AdminGraphSchema, GraphSchemaWithAccess, ICreatePropertyParams, ICreateTypeParams, IGetTypesParams, IStartSchemaSamplingParams, IUpdatePropertyParams, IUpdateSchemaSettingsParams, IUpdateTypeParams } from './types'; export * from './types'; export declare class GraphSchemaAPI extends Request { /** * Start the schema sampling. */ startSchemaSampling(params?: IStartSchemaSamplingParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Get the schema sampling status. */ getSamplingStatus(this: Request, params?: IDataSourceParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Stop the schema sampling. */ stopSchemaSampling(params?: IDataSourceParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Update the strict schema settings of the data-source. */ updateSchemaSettings(params: IUpdateSchemaSettingsParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Add a new type to the graph schema. */ createType(this: Request, params: ICreateTypeParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Update an existing graph schema type. */ updateType(params: IUpdateTypeParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Add a new property for a type on the graph schema. */ createProperty(this: Request, params: ICreatePropertyParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Update an existing graph schema property. */ updateProperty(this: Request, params: IUpdatePropertyParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * List all the types and properties of a data-source. */ getTypes(this: Request, params: IGetTypesParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * List all the readable types and properties of a data-source. */ getTypesWithAccess(this: Request, params: IGetTypesParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; }