@evergis/api
Advanced tools
Comparing version 0.1.17 to 0.1.18
@@ -5,4 +5,4 @@ import { ServiceBase } from './ServiceBase'; | ||
getList({ ids, query, offset, limit, layers, targetSr }: GetListParams): Promise<PagedFeaturesListDc>; | ||
getByGeometry({ geometry, layers, extentSr }: GetByGeometryParams): Promise<FeaturesListDc>; | ||
getByGeometryPost({ geometry, layers, extentSr }: GetByGeometryPostParams): Promise<FeaturesListDc>; | ||
getByGeometry({ geometry, layers, extentSr, targetSr }: GetByGeometryParams): Promise<FeaturesListDc>; | ||
getByGeometryPost({ geometry, layers, extentSr, targetSr, }: GetByGeometryPostParams): Promise<FeaturesListDc>; | ||
getLayerImage({ extent, size, layers, extentSr, condition, }: GetLayerImageParams): string; | ||
@@ -33,2 +33,4 @@ } | ||
extentSr?: number; | ||
/** Spatial reference wkid of returned features. */ | ||
targetSr?: number; | ||
}; | ||
@@ -42,2 +44,4 @@ export declare type GetByGeometryPostParams = { | ||
extentSr?: number; | ||
/** Spatial reference wkid of returned features. */ | ||
targetSr?: number; | ||
}; | ||
@@ -44,0 +48,0 @@ export declare type GetLayerImageParams = { |
@@ -21,3 +21,3 @@ /* | ||
} | ||
getByGeometry({ geometry, layers, extentSr }) { | ||
getByGeometry({ geometry, layers, extentSr, targetSr }) { | ||
return this.http | ||
@@ -28,6 +28,7 @@ .get(`${this.name}/features/getByGeometry`, { | ||
extentSr, | ||
targetSr, | ||
}) | ||
.json(); | ||
} | ||
getByGeometryPost({ geometry, layers, extentSr }) { | ||
getByGeometryPost({ geometry, layers, extentSr, targetSr, }) { | ||
return this.http | ||
@@ -37,2 +38,3 @@ .post(`${this.name}/features/getByGeometry`, geometry, { | ||
extentSr, | ||
targetSr, | ||
}) | ||
@@ -39,0 +41,0 @@ .json(); |
@@ -117,3 +117,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -134,3 +134,3 @@ /** | ||
/** Acl set */ | ||
permissions: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -175,3 +175,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -207,3 +207,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -482,3 +482,3 @@ /** | ||
/** */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -512,3 +512,3 @@ /** | ||
/** */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -584,3 +584,3 @@ /** | ||
to provide the single value for this attribute from many entries in the related table. */ | ||
aggregation?: 'None' | 'Array' | 'Min' | 'Max' | 'Avg' | 'Sum' | 'Extent'; | ||
aggregation?: 'None' | 'Array' | 'Min' | 'Max' | 'Avg' | 'Sum' | 'Extent' | 'Count'; | ||
}; | ||
@@ -642,3 +642,3 @@ /** | ||
/** */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -735,3 +735,3 @@ /** | ||
/** */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -768,7 +768,7 @@ /** | ||
/** */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
/** */ | ||
acl?: { | ||
/** */ | ||
[key: string]: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
[key: string]: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -844,2 +844,79 @@ /** */ | ||
/** | ||
* undefined | ||
*/ | ||
export declare type SharedProjectConfigurationDc = { | ||
/** */ | ||
options?: SharedProjectMapOptionsDc; | ||
/** */ | ||
minScale?: number; | ||
/** */ | ||
maxScale?: number; | ||
/** Composite service layers list. */ | ||
layers: CompositeLayerConfigurationDc[]; | ||
/** Name of the service. */ | ||
name: string; | ||
/** Human friendly name of the service. */ | ||
alias?: string; | ||
/** Description of the service. */ | ||
description?: string; | ||
/** Service access control list. */ | ||
acl?: AccessControlListDc; | ||
}; | ||
/** | ||
* undefined | ||
*/ | ||
export declare type SharedProjectMapOptionsDc = { | ||
/** */ | ||
basemapChangeEnabled?: boolean; | ||
/** */ | ||
selectEnabled?: boolean; | ||
/** */ | ||
visibilityChangeEnabled?: boolean; | ||
}; | ||
/** | ||
* undefined | ||
*/ | ||
export declare type SharedProjectInfoDc = { | ||
/** */ | ||
projectName?: string; | ||
/** */ | ||
position?: number[]; | ||
/** */ | ||
resolution?: number; | ||
/** */ | ||
srid?: number; | ||
/** */ | ||
baseMapName?: string; | ||
/** */ | ||
options?: SharedProjectMapOptionsDc; | ||
/** */ | ||
minScale?: number; | ||
/** */ | ||
maxScale?: number; | ||
/** Composite layer list. */ | ||
layers?: CompositeLayerInfoDc[]; | ||
/** The type of the resource. */ | ||
type: string; | ||
/** The category of the service. */ | ||
categories?: string[]; | ||
/** Name of the resource including its namespaces (names of the service managers that contain this service). */ | ||
name: string; | ||
/** Name of the resource without namespaces. */ | ||
ownName?: string; | ||
/** Resource alias. */ | ||
alias?: string; | ||
/** Resource owner. */ | ||
owner?: string; | ||
/** Resource description. */ | ||
description?: string; | ||
/** Resource preview. */ | ||
preview?: string; | ||
/** The date when resource was created. */ | ||
createdDate?: string; | ||
/** The date when resource was last modified. */ | ||
changedDate?: string; | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
/** | ||
* Resource dependency description. | ||
@@ -913,3 +990,3 @@ */ | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -941,3 +1018,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -992,79 +1069,2 @@ /** | ||
/** | ||
* undefined | ||
*/ | ||
export declare type SharedProjectConfigurationDc = { | ||
/** */ | ||
options?: SharedProjectMapOptionsDc; | ||
/** */ | ||
minScale?: number; | ||
/** */ | ||
maxScale?: number; | ||
/** Composite service layers list. */ | ||
layers: CompositeLayerConfigurationDc[]; | ||
/** Name of the service. */ | ||
name: string; | ||
/** Human friendly name of the service. */ | ||
alias?: string; | ||
/** Description of the service. */ | ||
description?: string; | ||
/** Service access control list. */ | ||
acl?: AccessControlListDc; | ||
}; | ||
/** | ||
* undefined | ||
*/ | ||
export declare type SharedProjectMapOptionsDc = { | ||
/** */ | ||
basemapChangeEnabled?: boolean; | ||
/** */ | ||
selectEnabled?: boolean; | ||
/** */ | ||
visibilityChangeEnabled?: boolean; | ||
}; | ||
/** | ||
* undefined | ||
*/ | ||
export declare type SharedProjectInfoDc = { | ||
/** */ | ||
projectName?: string; | ||
/** */ | ||
position?: number[]; | ||
/** */ | ||
resolution?: number; | ||
/** */ | ||
srid?: number; | ||
/** */ | ||
baseMapName?: string; | ||
/** */ | ||
options?: SharedProjectMapOptionsDc; | ||
/** */ | ||
minScale?: number; | ||
/** */ | ||
maxScale?: number; | ||
/** Composite layer list. */ | ||
layers?: CompositeLayerInfoDc[]; | ||
/** The type of the resource. */ | ||
type: string; | ||
/** The category of the service. */ | ||
categories?: string[]; | ||
/** Name of the resource including its namespaces (names of the service managers that contain this service). */ | ||
name: string; | ||
/** Name of the resource without namespaces. */ | ||
ownName?: string; | ||
/** Resource alias. */ | ||
alias?: string; | ||
/** Resource owner. */ | ||
owner?: string; | ||
/** Resource description. */ | ||
description?: string; | ||
/** Resource preview. */ | ||
preview?: string; | ||
/** The date when resource was created. */ | ||
createdDate?: string; | ||
/** The date when resource was last modified. */ | ||
changedDate?: string; | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
/** | ||
* List of the projects in projects manager service. | ||
@@ -1103,3 +1103,3 @@ */ | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -1142,3 +1142,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -1269,2 +1269,28 @@ /** | ||
/** | ||
* Server task that aggregate the objects from one storage to another by polygon geometry. | ||
*/ | ||
export declare type AggregateTaskParametersDc = { | ||
/** */ | ||
type?: string; | ||
/** Storage that is to be used as a data source for the task. */ | ||
geometry?: BaseTaskDataStorageDc; | ||
/** Storage that is to be used as a data source for the task. */ | ||
aggregationSettings?: AggregationSettingDc[]; | ||
/** Storage that is to be used as a data source for the task. */ | ||
source?: BaseTaskDataStorageDc; | ||
/** Storage that is to be used as a target for writing the task result. */ | ||
target?: BaseTaskDataStorageDc; | ||
}; | ||
/** | ||
* Aggregation settings. | ||
*/ | ||
export declare type AggregationSettingDc = { | ||
/** Target attribute name. */ | ||
targetAttributeName?: string; | ||
/** Source attribute name. */ | ||
sourceAttributeName?: string; | ||
/** Aggregation function. */ | ||
aggregationFunction?: 'None' | 'Array' | 'Min' | 'Max' | 'Avg' | 'Sum' | 'Extent' | 'Count'; | ||
}; | ||
/** | ||
* Buffer operation calculates the buffer geometries around the input geometries and writes them | ||
@@ -1369,6 +1395,6 @@ into the target storage. | ||
*/ | ||
export declare type LayerTaskDataStorageDc = { | ||
/** The name of the layer service. */ | ||
export declare type LayerTaskDataStorageDc = BaseTaskDataStorageDc & { | ||
/** */ | ||
serviceName?: string; | ||
/** If set to true, a new service with the given LayerServiceName will be created before the task is executed. */ | ||
/** */ | ||
createNewService?: boolean; | ||
@@ -1497,3 +1523,3 @@ /** */ | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -1881,1 +1907,123 @@ /** | ||
}; | ||
/** | ||
* Description of the temp file as a task data storage. | ||
*/ | ||
export declare type ExcelStaticTaskDataStorageDc = BaseTaskDataStorageDc & { | ||
/** */ | ||
attributeNameRowNumber?: number; | ||
/** */ | ||
aliasRowNumber?: number; | ||
/** */ | ||
firstDataRowNumber?: number; | ||
/** */ | ||
coordSourceFields?: string[]; | ||
/** */ | ||
spatialReference?: number; | ||
/** */ | ||
type?: string; | ||
/** */ | ||
fileName?: string; | ||
/** */ | ||
layerName?: string; | ||
}; | ||
/** | ||
* Description of the temp file as a task data storage. | ||
*/ | ||
export declare type StaticTaskDataStorageDc = BaseTaskDataStorageDc & { | ||
/** */ | ||
fileName?: string; | ||
/** */ | ||
layerName?: string; | ||
/** */ | ||
type?: string; | ||
}; | ||
/** | ||
* The parameter that uses the provided scale to choose it's value. | ||
*/ | ||
export declare type ScaleParameterDcDouble = { | ||
/** */ | ||
type?: string; | ||
/** If the resulting value of the expression is off the scale, or if the execution of the expression fails, | ||
this value is used as the parameter value. */ | ||
defaultValue?: number; | ||
/** This expression is executed against the feature to be drawn, and the resulting number is used as the position | ||
on the scale, from which the parameter value is taken. */ | ||
expression?: string; | ||
/** Scale that is used to get the parameter value. */ | ||
scale?: ScaleVertexDouble[]; | ||
}; | ||
/** | ||
* A point on the SPCore.Connectors.Connectors.Base.Models.Style.Parameters.ScaleParameterDc`1 scale. | ||
*/ | ||
export declare type ScaleVertexDouble = { | ||
/** The value that is used as the parameter value. */ | ||
parameterValue?: number; | ||
/** The position on the scale that corresponds to the SPCore.Connectors.Connectors.Base.Models.Style.Parameters.ScaleVertex`1.ParameterValue value. */ | ||
scaleValue?: number; | ||
}; | ||
/** | ||
* The parameter that uses the provided scale to choose it's value. | ||
*/ | ||
export declare type ScaleParameterDcColor = { | ||
/** */ | ||
type?: string; | ||
/** If the resulting value of the expression is off the scale, or if the execution of the expression fails, | ||
this value is used as the parameter value. */ | ||
defaultValue?: string; | ||
/** This expression is executed against the feature to be drawn, and the resulting number is used as the position | ||
on the scale, from which the parameter value is taken. */ | ||
expression?: string; | ||
/** Scale that is used to get the parameter value. */ | ||
scale?: ScaleVertexColor[]; | ||
}; | ||
/** | ||
* A point on the SPCore.Connectors.Connectors.Base.Models.Style.Parameters.ScaleParameterDc`1 scale. | ||
*/ | ||
export declare type ScaleVertexColor = { | ||
/** The value that is used as the parameter value. */ | ||
parameterValue?: string; | ||
/** The position on the scale that corresponds to the SPCore.Connectors.Connectors.Base.Models.Style.Parameters.ScaleVertex`1.ParameterValue value. */ | ||
scaleValue?: number; | ||
}; | ||
/** | ||
* Parameter that selects the value by checking the given conditions. Type of this parameter is "byAttribute". | ||
*/ | ||
export declare type ByAttributeParameterDcDouble = { | ||
/** */ | ||
type?: string; | ||
/** If none of the conditions in the SPCore.Connectors.Connectors.Base.Models.Style.Parameters.ByAttributeParameterDc`1.Values are met, this value is used. */ | ||
defaultValue?: number; | ||
/** To choose the value for the parameter, this class checks the conditions in this array. The value of the first array entry | ||
which condition returns true against a target feature, is used. */ | ||
values?: ConditionalValueDouble[]; | ||
}; | ||
/** | ||
* An entry in values list of a by attribute parameter. | ||
*/ | ||
export declare type ConditionalValueDouble = { | ||
/** Condition tha is checked against a feature to be drawn. */ | ||
condition?: string; | ||
/** The value that is used, if the condition result is true. */ | ||
value?: number; | ||
}; | ||
/** | ||
* Parameter that selects the value by checking the given conditions. Type of this parameter is "byAttribute". | ||
*/ | ||
export declare type ByAttributeParameterDcColor = { | ||
/** */ | ||
type?: string; | ||
/** If none of the conditions in the SPCore.Connectors.Connectors.Base.Models.Style.Parameters.ByAttributeParameterDc`1.Values are met, this value is used. */ | ||
defaultValue?: string; | ||
/** To choose the value for the parameter, this class checks the conditions in this array. The value of the first array entry | ||
which condition returns true against a target feature, is used. */ | ||
values?: ConditionalValueColor[]; | ||
}; | ||
/** | ||
* An entry in values list of a by attribute parameter. | ||
*/ | ||
export declare type ConditionalValueColor = { | ||
/** Condition tha is checked against a feature to be drawn. */ | ||
condition?: string; | ||
/** The value that is used, if the condition result is true. */ | ||
value?: string; | ||
}; |
@@ -11,5 +11,5 @@ import { ServiceBase } from './ServiceBase'; | ||
getLayerImage({ extent, size, extentSr, condition, styleId, }: GetLayerImageParams): string; | ||
getByGeometry({ geometry, extentSr }: GetByGeometryParams): Promise<FeaturesListDc>; | ||
getByGeometryPost({ geometry, extentSr }: GetByGeometryPostParams): Promise<FeaturesListDc>; | ||
getByGeometryGet({ imageRectangle, envelope, clickPoint, extentSr, useFilledSymbols, }: GetByGeometryGetParams): Promise<FeaturesListDc>; | ||
getByGeometry({ geometry, extentSr, targetSr }: GetByGeometryParams): Promise<FeaturesListDc>; | ||
getByGeometryPost({ geometry, extentSr, targetSr }: GetByGeometryPostParams): Promise<FeaturesListDc>; | ||
getByGeometryGet({ imageRectangle, envelope, clickPoint, extentSr, targetSr, useFilledSymbols, }: GetByGeometryGetParams): Promise<FeaturesListDc>; | ||
getLayerExtent({ filterCondition, sr }: GetLayerExtentParams): Promise<EnvelopeDc>; | ||
@@ -54,2 +54,4 @@ } | ||
extentSr?: number; | ||
/** Spatial reference wkid of returned features. */ | ||
targetSr?: number; | ||
}; | ||
@@ -61,2 +63,4 @@ export declare type GetByGeometryPostParams = { | ||
extentSr?: number; | ||
/** Spatial reference wkid of returned features. */ | ||
targetSr?: number; | ||
}; | ||
@@ -72,2 +76,4 @@ export declare type GetByGeometryGetParams = { | ||
extentSr?: number; | ||
/** Spatial reference wkid of returned features. */ | ||
targetSr?: number; | ||
/** If true, include transparent pixels too. */ | ||
@@ -74,0 +80,0 @@ useFilledSymbols?: boolean; |
@@ -48,13 +48,20 @@ /* | ||
} | ||
getByGeometry({ geometry, extentSr }) { | ||
getByGeometry({ geometry, extentSr, targetSr }) { | ||
return this.http | ||
.get(`${this.name}/features/getByGeometry`, { geometry, extentSr }) | ||
.get(`${this.name}/features/getByGeometry`, { | ||
geometry, | ||
extentSr, | ||
targetSr, | ||
}) | ||
.json(); | ||
} | ||
getByGeometryPost({ geometry, extentSr }) { | ||
getByGeometryPost({ geometry, extentSr, targetSr }) { | ||
return this.http | ||
.post(`${this.name}/features/getByGeometry`, geometry, { extentSr }) | ||
.post(`${this.name}/features/getByGeometry`, geometry, { | ||
extentSr, | ||
targetSr, | ||
}) | ||
.json(); | ||
} | ||
getByGeometryGet({ imageRectangle, envelope, clickPoint, extentSr, useFilledSymbols, }) { | ||
getByGeometryGet({ imageRectangle, envelope, clickPoint, extentSr, targetSr, useFilledSymbols, }) { | ||
return this.http | ||
@@ -66,2 +73,3 @@ .get(`${this.name}/features/getByGeometryByClick`, { | ||
extentSr, | ||
targetSr, | ||
useFilledSymbols, | ||
@@ -68,0 +76,0 @@ }) |
@@ -5,2 +5,15 @@ import { ServiceBase } from './ServiceBase'; | ||
getDataSchema(fileId?: string): Promise<ImportDataSchema>; | ||
getExcelDataSchema({ fileId, spatialReference, attributeNameRowNumber, coordSourceFields, aliasRowNumber, }: GetExcelDataSchemaParams): Promise<ImportDataSchema>; | ||
} | ||
export declare type GetExcelDataSchemaParams = { | ||
/** Id of the excel file in the temporary static storage. */ | ||
fileId?: string; | ||
/** Spatial reference */ | ||
spatialReference?: number; | ||
/** Attribute name row number. */ | ||
attributeNameRowNumber?: number; | ||
/** Coordinates source fields name. */ | ||
coordSourceFields?: string[]; | ||
/** Alias row number. */ | ||
aliasRowNumber?: number; | ||
}; |
@@ -14,3 +14,14 @@ /* | ||
} | ||
getExcelDataSchema({ fileId, spatialReference, attributeNameRowNumber, coordSourceFields, aliasRowNumber, }) { | ||
return this.http | ||
.get(`${this.name}/excelDataSchema`, { | ||
fileId, | ||
spatialReference, | ||
attributeNameRowNumber, | ||
coordSourceFields, | ||
aliasRowNumber, | ||
}) | ||
.json(); | ||
} | ||
} | ||
//# sourceMappingURL=ImportService.js.map |
@@ -30,7 +30,7 @@ import { Service } from './Service'; | ||
classify({ name, attribute, classes, precision }: ClassifyParams): Promise<number[]>; | ||
getByGeometry({ name, geometry, extentSr }: GetByGeometryParams): Promise<FeaturesListDc>; | ||
getByGeometryPost({ name, geometry, extentSr }: GetByGeometryPostParams): Promise<FeaturesListDc>; | ||
getByGeometry({ name, geometry, extentSr, targetSr }: GetByGeometryParams): Promise<FeaturesListDc>; | ||
getByGeometryPost({ name, geometry, extentSr, targetSr, }: GetByGeometryPostParams): Promise<FeaturesListDc>; | ||
deleteFeatures({ ids, name }: DeleteFeaturesParams): Promise<LayerUpdateInfoDc>; | ||
getTilesLayerImage({ name, x, y, z }: GetTilesLayerImageParams): string; | ||
getByGeometryGet({ name, imageRectangle, envelope, clickPoint, extentSr, useFilledSymbols, }: GetByGeometryGetParams): Promise<FeaturesListDc>; | ||
getByGeometryGet({ name, imageRectangle, envelope, clickPoint, extentSr, targetSr, useFilledSymbols, }: GetByGeometryGetParams): Promise<FeaturesListDc>; | ||
} | ||
@@ -176,2 +176,4 @@ export declare type GetLayersListParams = { | ||
extentSr?: number; | ||
/** */ | ||
targetSr?: number; | ||
}; | ||
@@ -185,2 +187,4 @@ export declare type GetByGeometryPostParams = { | ||
extentSr?: number; | ||
/** */ | ||
targetSr?: number; | ||
}; | ||
@@ -215,3 +219,5 @@ export declare type DeleteFeaturesParams = { | ||
/** */ | ||
targetSr?: number; | ||
/** */ | ||
useFilledSymbols?: boolean; | ||
}; |
@@ -142,10 +142,17 @@ /* | ||
} | ||
getByGeometry({ name, geometry, extentSr }) { | ||
getByGeometry({ name, geometry, extentSr, targetSr }) { | ||
return this.http | ||
.get(`layers/${name}/features/getByGeometry`, { geometry, extentSr }) | ||
.get(`layers/${name}/features/getByGeometry`, { | ||
geometry, | ||
extentSr, | ||
targetSr, | ||
}) | ||
.json(); | ||
} | ||
getByGeometryPost({ name, geometry, extentSr }) { | ||
getByGeometryPost({ name, geometry, extentSr, targetSr, }) { | ||
return this.http | ||
.post(`layers/${name}/features/getByGeometry`, geometry, { extentSr }) | ||
.post(`layers/${name}/features/getByGeometry`, geometry, { | ||
extentSr, | ||
targetSr, | ||
}) | ||
.json(); | ||
@@ -161,3 +168,3 @@ } | ||
} | ||
getByGeometryGet({ name, imageRectangle, envelope, clickPoint, extentSr, useFilledSymbols, }) { | ||
getByGeometryGet({ name, imageRectangle, envelope, clickPoint, extentSr, targetSr, useFilledSymbols, }) { | ||
return this.http | ||
@@ -169,2 +176,3 @@ .get(`layers/${name}/features/getByGeometryByClick`, { | ||
extentSr, | ||
targetSr, | ||
useFilledSymbols, | ||
@@ -171,0 +179,0 @@ }) |
import { ServiceBase } from './ServiceBase'; | ||
import { TaskStatusDataDc, TaskInfoDc, TaskProgressDc, CopyTaskParametersDc, BufferTaskParametersDc, PrintTaskParametersDc, AvailabilityAreaTaskDc, UnionTaskParametersDc, OverlayTaskParametersDc, FilterCopyTaskParametersDc, PipelineTaskParametersDc } from './data-contracts'; | ||
import { TaskStatusDataDc, TaskInfoDc, TaskProgressDc, CopyTaskParametersDc, AggregateTaskParametersDc, BufferTaskParametersDc, PrintTaskParametersDc, AvailabilityAreaTaskDc, UnionTaskParametersDc, OverlayTaskParametersDc, FilterCopyTaskParametersDc, PipelineTaskParametersDc } from './data-contracts'; | ||
export declare class SchedulerService extends ServiceBase { | ||
@@ -9,2 +9,3 @@ getTaskList({ owners, statuses, offset, limit }: GetTaskListParams): Promise<TaskStatusDataDc[]>; | ||
startCopyTask(parameters?: CopyTaskParametersDc): Promise<TaskStatusDataDc>; | ||
startAggregateTask(parameters?: AggregateTaskParametersDc): Promise<TaskStatusDataDc>; | ||
startBufferTask(parameters?: BufferTaskParametersDc): Promise<TaskStatusDataDc>; | ||
@@ -11,0 +12,0 @@ startPrintTask(parameters?: PrintTaskParametersDc): Promise<TaskStatusDataDc>; |
@@ -30,2 +30,7 @@ /* | ||
} | ||
startAggregateTask(parameters) { | ||
return this.http | ||
.post(`${this.name}/aggregate`, parameters, { type: 'aggregate' }) | ||
.json(); | ||
} | ||
startBufferTask(parameters) { | ||
@@ -32,0 +37,0 @@ return this.http |
{ | ||
"name": "@evergis/api", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "author": "everpoint", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
221724
4820