/** * @license * MOST Web Framework 2.0 Codename Blueshift * Copyright (c) 2017, THEMOST LP All rights reserved * * Use of this source code is governed by an BSD-3-Clause license that can be * found in the LICENSE file at https://themost.io/license */ import HttpBaseController from "./base"; import {HttpJsonResult} from "../mvc"; import {HttpApplication} from "../app"; declare class HttpServiceController extends HttpBaseController { static configure(app: HttpApplication): void; getMetadata():Promise; getIndex():Promise; getItems(entitySet: string): Promise; postItems(entitySet: string): Promise; deleteItems(entitySet: string): Promise; getItem(entitySet: string, id: any): Promise; patchItem(entitySet: string, id: any): Promise; deleteItem(entitySet: string, id: any): Promise; postItem(entitySet: string, id: any): Promise; getNavigationProperty(entitySet: string, navigationProperty: string, id: any): Promise; getEntityFunction(entitySet: string, entityFunction: string, id: any): Promise; getEntitySetFunction(entitySet: string, entityFunction: string, navigationProperty?: string): Promise; postEntityAction(entitySet: string, entityAction: string, id: any): Promise; postEntitySetAction(entitySet: string, entityAction: string): Promise; postEntitySetFunction(eentitySet: string, entitySetFunction: string, entityAction: string): Promise; getBuilder():any; } export default HttpServiceController;