Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@evergis/api

Package Overview
Dependencies
Maintainers
6
Versions
330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evergis/api - npm Package Compare versions

Comparing version 0.1.57 to 0.1.58

4

es/__generated__/Layers.d.ts

@@ -26,3 +26,3 @@ import { Service } from './Service';

getLayerExtent({ name, filterCondition, sr }: GetLayerExtentParams): Promise<EnvelopeDc>;
classify({ name, attribute, classes, precision }: ClassifyParams): Promise<number[]>;
classify({ name, attribute, classes, precision, type }: ClassifyParams): Promise<number[]>;
getByGeometry({ name, geometry, extentSr, targetSr }: GetByGeometryParams): Promise<FeaturesListDc>;

@@ -168,2 +168,4 @@ getByGeometryPost({ name, geometry, extentSr, targetSr, }: GetByGeometryPostParams): Promise<FeaturesListDc>;

precision?: number;
/** Classification method. */
type?: 'naturalBreaks' | 'equalInterval' | 'quantile';
};

@@ -170,0 +172,0 @@ export declare type GetByGeometryParams = {

@@ -132,5 +132,5 @@ /*

}
classify({ name, attribute, classes, precision }) {
classify({ name, attribute, classes, precision, type }) {
return this.http
.get(`layers/${name}/classify`, { attribute, classes, precision })
.get(`layers/${name}/classify`, { attribute, classes, precision, type })
.json();

@@ -137,0 +137,0 @@ }

import { ServiceBase } from './ServiceBase';
import { SessionInfoDc, AuthorizationData, ImportDataSchema, ClientNotificationDc, TemplateModelDc, ProjectsListDc, TableListDc, ServiceListDc, CatalogDataDc, ResourceDc, NewResourcesTypesDc, WorkspaceLimitsDc, TaskStatusDataDc, TaskInfoDc, TaskProgressDc, CopyTaskParametersDc, AggregateTaskParametersDc, BufferTaskParametersDc, UploadRasterTaskParametersDc, AvailabilityAreaTaskDc, UnionTaskParametersDc, OverlayTaskParametersDc, FilterCopyTaskParametersDc, PipelineTaskParametersDc, FileUploadResponse, StyleDc, StyleCreationResponseDc } from './data-contracts';
import { SessionInfoDc, AuthorizationData, ImportDataSchema, ClientNotificationDc, TemplateModelDc, ProjectsListDc, TableListDc, ServiceListDc, CatalogDataDc, ResourceDc, NewResourcesTypesDc, WorkspaceLimitsDc, CopyResourceResultDc, CopyResourceDc, TaskStatusDataDc, TaskInfoDc, TaskProgressDc, CopyTaskParametersDc, AggregateTaskParametersDc, BufferTaskParametersDc, PrintTaskParametersDc, UploadRasterTaskParametersDc, AvailabilityAreaTaskDc, UnionTaskParametersDc, OverlayTaskParametersDc, FilterCopyTaskParametersDc, PipelineTaskParametersDc, FileUploadResponse, StyleDc, StyleCreationResponseDc } from './data-contracts';
export declare class Services extends ServiceBase {

@@ -17,2 +17,5 @@ findUserByName(startWith?: string): Promise<string[]>;

print(printTemplate?: TemplateModelDc): Promise<Blob>;
getTemplate(name?: string): Promise<string>;
uploadTemplate({ name, template }: UploadTemplateParams): Promise<void>;
deleteTemplate(name?: string): Promise<void>;
getProjects({ filter, offset, limit, orderByFields, isFavorite, }: GetProjectsParams): Promise<ProjectsListDc>;

@@ -29,2 +32,3 @@ getTables({ filter, offset, limit, orderByFields, isFavorite, }: GetTablesParams): Promise<TableListDc>;

checkLimits(workspace?: string): Promise<WorkspaceLimitsDc>;
copyResources(resources?: CopyResourceDc[]): Promise<CopyResourceResultDc[]>;
getTaskList({ owners, statuses, offset, limit }: GetTaskListParams): Promise<TaskStatusDataDc[]>;

@@ -37,3 +41,4 @@ getTaskInfo(id: string): Promise<TaskInfoDc>;

startBufferTask(parameters?: BufferTaskParametersDc): Promise<TaskStatusDataDc>;
startPrintTask(parameters?: UploadRasterTaskParametersDc): Promise<TaskStatusDataDc>;
startPrintTask(parameters?: PrintTaskParametersDc): Promise<TaskStatusDataDc>;
startTilingTask(parameters?: UploadRasterTaskParametersDc): Promise<TaskStatusDataDc>;
startRouteTask(parameters?: AvailabilityAreaTaskDc): Promise<TaskStatusDataDc>;

@@ -45,3 +50,3 @@ startUnionTask(parameters?: UnionTaskParametersDc): Promise<TaskStatusDataDc>;

downloadFile(fileName?: string): Promise<void>;
uploadFile({ file, rewrite }: UploadFileParams): Promise<FileUploadResponse>;
uploadFile({ file }: UploadFileParams): Promise<FileUploadResponse>;
getStyle(id: string): Promise<StyleDc>;

@@ -72,2 +77,8 @@ updateStyle({ id, style }: UpdateStyleParams): Promise<StyleCreationResponseDc>;

};
export declare type UploadTemplateParams = {
/** Template name. */
name?: string;
/** The file to upload. */
template: FormData;
};
export declare type GetProjectsParams = {

@@ -74,0 +85,0 @@ /** Full text search filter that allow to query in alias and name fields.

@@ -76,2 +76,17 @@ /*

}
getTemplate(name) {
return this.http
.get(`${this.name}/print/template`, { name })
.json();
}
uploadTemplate({ name, template }) {
return this.http
.post(`${this.name}/print/template`, template, { name })
.then(() => { });
}
deleteTemplate(name) {
return this.http
.delete(`${this.name}/print/template`, { name })
.then(() => { });
}
getProjects({ filter, offset, limit, orderByFields, isFavorite, }) {

@@ -151,2 +166,7 @@ return this.http

}
copyResources(resources) {
return this.http
.post(`${this.name}/resources/copy`, resources)
.json();
}
getTaskList({ owners, statuses, offset, limit }) {

@@ -187,2 +207,7 @@ return this.http

return this.http
.post(`${this.name}/tasks/tasks`, parameters, { type: 'print' })
.json();
}
startTilingTask(parameters) {
return this.http
.post(`${this.name}/tasks/tasks`, parameters, { type: 'tiling' })

@@ -221,4 +246,3 @@ .json();

}
// @ts-ignore
uploadFile({ file, rewrite }) {
uploadFile({ file }) {
return this.http

@@ -225,0 +249,0 @@ .post(`${this.name}/upload/file`, file)

{
"name": "@evergis/api",
"version": "0.1.57",
"version": "0.1.58",
"license": "ISC",

@@ -5,0 +5,0 @@ "author": "everpoint",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc