@evergis/api
Advanced tools
Comparing version 0.1.18 to 0.1.19
@@ -117,3 +117,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -134,3 +134,3 @@ /** | ||
/** Acl set */ | ||
permissions: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -175,3 +175,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -207,3 +207,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -318,2 +318,37 @@ /** | ||
/** | ||
* Geocode result | ||
*/ | ||
export declare type GeocodeResultDc = { | ||
/** Input geocode address. */ | ||
address?: string; | ||
/** Source. */ | ||
source?: string; | ||
/** Result score point. */ | ||
score?: number; | ||
/** Result geometry. */ | ||
geometry?: IGeometry; | ||
}; | ||
/** | ||
* undefined | ||
*/ | ||
export declare type IGeometry = { | ||
/** */ | ||
centroid?: IVector; | ||
/** */ | ||
geometryType?: 'unknown' | 'point' | 'polyline' | 'polygon' | 'envelope' | 'multipoint'; | ||
/** */ | ||
sr?: ISpatialReference; | ||
/** */ | ||
envelope?: IEnvelopeGeometry; | ||
}; | ||
/** | ||
* Geocode suggest result | ||
*/ | ||
export declare type GeocodeSuggestResultDc = { | ||
/** Suggested text. */ | ||
text?: string; | ||
/** Source label. */ | ||
label?: string; | ||
}; | ||
/** | ||
* Data schema of a file for import. | ||
@@ -483,3 +518,3 @@ */ | ||
/** */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -513,3 +548,3 @@ /** | ||
/** */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -642,3 +677,3 @@ /** | ||
/** */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -735,3 +770,3 @@ /** | ||
/** */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -768,7 +803,7 @@ /** | ||
/** */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
/** */ | ||
acl?: { | ||
/** */ | ||
[key: string]: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
[key: string]: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -918,3 +953,3 @@ /** */ | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -990,3 +1025,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -1018,3 +1053,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -1102,3 +1137,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -1141,3 +1176,3 @@ /** | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -1427,2 +1462,17 @@ /** | ||
/** | ||
* Configuration for the remote tile service. | ||
*/ | ||
export declare type GeocodeServiceConfigurationDc = { | ||
/** Geocode provider name. */ | ||
providerName: string; | ||
/** 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; | ||
}; | ||
/** | ||
* Configuration of a postgres service manager service. | ||
@@ -1521,3 +1571,3 @@ */ | ||
/** Resource permissions. */ | ||
permissions?: 'none' | 'read' | 'write' | 'configure' | 'read,write' | 'read,write,configure'; | ||
permissions?: 'none' | 'configure' | 'write' | 'read' | 'read,write' | 'read,write,configure'; | ||
}; | ||
@@ -1524,0 +1574,0 @@ /** |
@@ -5,3 +5,3 @@ import { ServiceBase } from './ServiceBase'; | ||
getDataSchema(fileId?: string): Promise<ImportDataSchema>; | ||
getExcelDataSchema({ fileId, spatialReference, attributeNameRowNumber, coordSourceFields, aliasRowNumber, }: GetExcelDataSchemaParams): Promise<ImportDataSchema>; | ||
getExcelDataSchema({ fileId, attributeNameRowNumber, aliasRowNumber, }: GetExcelDataSchemaParams): Promise<ImportDataSchema>; | ||
} | ||
@@ -11,10 +11,6 @@ export declare type GetExcelDataSchemaParams = { | ||
fileId?: string; | ||
/** Spatial reference */ | ||
spatialReference?: number; | ||
/** Attribute name row number. */ | ||
attributeNameRowNumber?: number; | ||
/** Coordinates source fields name. */ | ||
coordSourceFields?: string[]; | ||
/** Alias row number. */ | ||
aliasRowNumber?: number; | ||
}; |
@@ -14,9 +14,7 @@ /* | ||
} | ||
getExcelDataSchema({ fileId, spatialReference, attributeNameRowNumber, coordSourceFields, aliasRowNumber, }) { | ||
getExcelDataSchema({ fileId, attributeNameRowNumber, aliasRowNumber, }) { | ||
return this.http | ||
.get(`${this.name}/excelDataSchema`, { | ||
fileId, | ||
spatialReference, | ||
attributeNameRowNumber, | ||
coordSourceFields, | ||
aliasRowNumber, | ||
@@ -23,0 +21,0 @@ }) |
import { ServiceBase } from './ServiceBase'; | ||
import { ServiceListDc, ResourceDependencyDc, RemoteTileServiceInfoDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, TileServiceInfoDc, FeatureLayerServiceInfoDc, PostgresLayerServiceConfigurationDc, StyledLayerServiceConfigurationDc, CompositeServiceInfoDc, CompositeServiceConfigurationDc, ServiceInfoDc, WorkspaceConfigurationDc } from './data-contracts'; | ||
import { ServiceListDc, ResourceDependencyDc, RemoteTileServiceInfoDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, TileServiceInfoDc, ServiceInfoDc, GeocodeServiceConfigurationDc, FeatureLayerServiceInfoDc, PostgresLayerServiceConfigurationDc, StyledLayerServiceConfigurationDc, CompositeServiceInfoDc, CompositeServiceConfigurationDc, WorkspaceConfigurationDc } from './data-contracts'; | ||
export declare class ServiceManager extends ServiceBase { | ||
@@ -10,2 +10,3 @@ getServiceList({ query, types, offset, limit, orderByFields, }: GetServiceListParams): Promise<ServiceListDc>; | ||
updateLocalTileService(configuration?: RemoteTileServiceConfigurationDc): Promise<TileServiceInfoDc>; | ||
publishGeocodeService(configuration?: GeocodeServiceConfigurationDc): Promise<ServiceInfoDc>; | ||
publishPostgresLayerService(configuration?: PostgresLayerServiceConfigurationDc): Promise<FeatureLayerServiceInfoDc>; | ||
@@ -12,0 +13,0 @@ updatePostgresLayerService(configuration?: PostgresLayerServiceConfigurationDc): Promise<FeatureLayerServiceInfoDc>; |
@@ -53,2 +53,7 @@ /* | ||
} | ||
publishGeocodeService(configuration) { | ||
return this.http | ||
.post(`${this.name}/services`, configuration, { type: 'GeocodeService' }) | ||
.json(); | ||
} | ||
publishPostgresLayerService(configuration) { | ||
@@ -55,0 +60,0 @@ return this.http |
{ | ||
"name": "@evergis/api", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"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
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
224694
161
4901