import { Service } from './Service'; import { CleanParams, CreateViewFromQueryDc, CreateViewFromQueryLayerDc, DeleteTableDataParams, DetailedTableInfoDc, DisableParams, EnableParams, GetTableDataParams, GetTablesInfoParams, MapTableInfoDc, MapTableParams, PagedListFeatureDc, PagedListHistoryItemDc, ResourceDependenciesDc, TableHistoryRequestDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts'; /** * @title Spatial Processing Gateway API * @version 1.5.1.0 * @baseUrl /sp */ export declare class TablesService extends Service { /** * No description * * @tags Tables * @name CreateTable * @operationId TablesController_CreateTable * @summary Creates a new table. * @request POST:/tables * @secure * @response `200` OK */ createTable(data: DetailedTableInfoDc): Promise; /** * No description * * @tags Tables * @name UpdateTable * @operationId TablesController_UpdateTable * @summary Update exists table. * @request PATCH:/tables/{name} * @secure * @response `200` OK */ updateTable(name: string, data: UpdateTableDc): Promise; /** * No description * * @tags Tables * @name PutTable * @operationId TablesController_PutTable * @summary Override exists table. * @request PUT:/tables/{name} * @secure * @response `200` OK */ putTable(name: string, data: DetailedTableInfoDc): Promise; /** * No description * * @tags Tables * @name GetTableInfo * @operationId TablesController_GetTableInfo * @summary Returns the table information and schema. * @request GET:/tables/{name} * @secure * @response `200` OK */ getTableInfo(name: string): Promise; /** * No description * * @tags Tables * @name GetTablesInfo * @operationId TablesController_GetTablesInfoAsync * @summary Returns the tables information. * @request GET:/tables/batchInfo * @secure * @response `200` OK */ getTablesInfo(query: GetTablesInfoParams): Promise; /** * No description * * @tags Tables * @name GetTableData * @operationId TablesController_GetTableData * @summary Retrieves the data from the table. * @request GET:/tables/{name}/data * @secure * @response `200` OK */ getTableData({ name, ...query }: GetTableDataParams): Promise; /** * No description * * @tags Tables * @name WriteTableData * @operationId TablesController_WriteTableData * @summary Adds the data to the table. * @request POST:/tables/{name}/data * @secure * @response `200` OK */ writeTableData(name: string, data: WriteTableDataPayload): Promise; /** * No description * * @tags Tables * @name UpdateTableData * @operationId TablesController_UpdateTableData * @summary Updates the data in the table. * @request PATCH:/tables/{name}/data * @secure * @response `200` OK */ updateTableData({ name, ...query }: UpdateTableDataParams, data: UpdateTableDataPayload): Promise; /** * No description * * @tags Tables * @name DeleteTableData * @operationId TablesController_DeleteTableData * @summary Delete data rows from the table. * @request DELETE:/tables/{name}/data * @secure * @response `200` OK */ deleteTableData({ name, ...query }: DeleteTableDataParams): Promise; /** * No description * * @tags Tables * @name MapTable * @operationId TablesController_MapTable * @summary Map table to exists table. * @request POST:/tables/map-table * @secure * @response `200` OK */ mapTable(query: MapTableParams, data: MapTableInfoDc): Promise; /** * No description * * @tags Tables * @name UnmapTable * @operationId TablesController_UnmapTableAsync * @summary Unmap datasource from table. * @request DELETE:/tables/map-table/{name} * @secure * @response `200` OK */ unmapTable(name: string): Promise; /** * No description * * @tags Tables * @name Enable * @operationId TablesController_EnableAsync * @summary Enable table history. * @request POST:/tables/{tableName}/history/enable * @secure * @response `200` OK */ enable({ tableName, ...query }: EnableParams): Promise; /** * No description * * @tags Tables * @name Disable * @operationId TablesController_DisableAsync * @summary Disable table history. * @request DELETE:/tables/{tableName}/history/disable * @secure * @response `200` OK */ disable({ tableName, ...query }: DisableParams): Promise; /** * No description * * @tags Tables * @name Clean * @operationId TablesController_CleanAsync * @summary Clean table history. * @request DELETE:/tables/{tableName}/history/clean * @secure * @response `200` OK */ clean({ tableName, ...query }: CleanParams): Promise; /** * No description * * @tags Tables * @name Get * @operationId TablesController_GetAsync * @summary Get history data. * @request POST:/tables/{tableName}/history * @secure * @response `200` OK */ get(tableName: string, data: TableHistoryRequestDc): Promise; /** * No description * * @tags Tables * @name CreateViewFromQueryLayer * @operationId TablesController_CreateViewFromQueryLayer * @summary Creates a new view from query layer. * @request POST:/tables/fromLayer * @secure * @response `200` OK */ createViewFromQueryLayer(data: CreateViewFromQueryLayerDc): Promise; /** * No description * * @tags Tables * @name CreateViewFromQuery * @operationId TablesController_CreateViewFromQuery * @summary Creates a new view from query. * @request POST:/tables/fromQuery * @secure * @response `200` OK */ createViewFromQuery(data: CreateViewFromQueryDc): Promise; /** * No description * * @tags Tables * @name IsExists * @operationId TablesController_IsExistsAsync * @summary Check is resource exists. * @request GET:/tables/{name}/exists * @secure * @response `200` OK */ isExists(name: string): Promise; /** * No description * * @tags Tables * @name GetResourceDependencies * @operationId TablesController_GetResourceDependencies * @summary Get resource dependencies. * @request GET:/tables/{name}/dependencies * @secure * @response `200` OK */ getResourceDependencies(name: string): Promise; /** * No description * * @tags Tables * @name GetResourceReferences * @operationId TablesController_GetResourceReferences * @summary Returns the resource dependency information. * @request GET:/tables/{name}/references * @secure * @response `200` OK */ getResourceReferences(name: string): Promise; }