@geolens/sdk 1.23.1 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/sdk.gen.d.ts +9 -2
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +24 -1
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +97 -3
- package/dist/client/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2345,7 +2345,7 @@ export type ColumnValuesResponse = {
|
|
|
2345
2345
|
/**
|
|
2346
2346
|
* Values
|
|
2347
2347
|
*/
|
|
2348
|
-
values: Array<string | number | number | null>;
|
|
2348
|
+
values: Array<boolean | string | number | number | null>;
|
|
2349
2349
|
/**
|
|
2350
2350
|
* Count
|
|
2351
2351
|
*/
|
|
@@ -3139,6 +3139,12 @@ export type DatasetMeta = {
|
|
|
3139
3139
|
* Ordered vector-tile property allowlist; null restores zoom defaults, [] emits geometry-only tiles, list emits those properties at any zoom.
|
|
3140
3140
|
*/
|
|
3141
3141
|
tile_columns?: Array<string> | null;
|
|
3142
|
+
/**
|
|
3143
|
+
* Owner Id
|
|
3144
|
+
*
|
|
3145
|
+
* Admin only: transfer the dataset to this active user.
|
|
3146
|
+
*/
|
|
3147
|
+
owner_id?: string | null;
|
|
3142
3148
|
};
|
|
3143
3149
|
/**
|
|
3144
3150
|
* DatasetRefreshRequest
|
|
@@ -5269,6 +5275,24 @@ export type LayerInfo = {
|
|
|
5269
5275
|
* Layer kind: 'layer' (spatial) or 'table' (non-spatial attribute table).
|
|
5270
5276
|
*/
|
|
5271
5277
|
layer_type?: string;
|
|
5278
|
+
/**
|
|
5279
|
+
* Source Layer Type
|
|
5280
|
+
*
|
|
5281
|
+
* ArcGIS sub-layer type as the service reports it, for example 'Feature Layer', 'Table', 'Group Layer', 'Raster Layer' or 'Annotation Layer'. Null for other service types.
|
|
5282
|
+
*/
|
|
5283
|
+
source_layer_type?: string | null;
|
|
5284
|
+
/**
|
|
5285
|
+
* Parent Layer Id
|
|
5286
|
+
*
|
|
5287
|
+
* ArcGIS ID of the group layer that contains this layer, if any.
|
|
5288
|
+
*/
|
|
5289
|
+
parent_layer_id?: number | null;
|
|
5290
|
+
/**
|
|
5291
|
+
* Importable
|
|
5292
|
+
*
|
|
5293
|
+
* False when the layer holds no features (ArcGIS composite, raster and annotation layers) and a preview of it is refused with 'unsupported_layer_type'.
|
|
5294
|
+
*/
|
|
5295
|
+
importable?: boolean;
|
|
5272
5296
|
/**
|
|
5273
5297
|
* Layer Id
|
|
5274
5298
|
*
|
|
@@ -5855,7 +5879,7 @@ export type MapLayerInput = {
|
|
|
5855
5879
|
/**
|
|
5856
5880
|
* Label Config
|
|
5857
5881
|
*
|
|
5858
|
-
* Text label configuration
|
|
5882
|
+
* Text label configuration. Accepted keys: allowOverlap, column, fontSize, haloColor, haloWidth, maxZoom, minZoom, placement, textAnchor, textColor, textOffset, textOpacity. Unknown keys are dropped when the map is exported as a MapLibre style. See https://docs.getgeolens.com/guides/api/publishing-from-desktop-gis/
|
|
5859
5883
|
*/
|
|
5860
5884
|
label_config?: {
|
|
5861
5885
|
[key: string]: unknown;
|
|
@@ -5867,7 +5891,7 @@ export type MapLayerInput = {
|
|
|
5867
5891
|
/**
|
|
5868
5892
|
* Style Config
|
|
5869
5893
|
*
|
|
5870
|
-
* Data-driven and builder UI style configuration. Builder-only state lives under builder,
|
|
5894
|
+
* Data-driven and builder UI style configuration. Accepted top-level keys: breaks, builder, categories, classCount, colorLabel, colors, column, heatmapPaint, legendLabel, method, mode, ramp, render_mode, reversed, savedCirclePaint, sizeLabel, sizeRange, sizes, symbol, target; other top-level keys are dropped when the map is exported as a MapLibre style. Builder-only state lives under builder, whose interpreted keys are arrow_color, arrow_size, arrow_spacing, cluster_color, cluster_color_ramp, cluster_max_zoom, cluster_radius, cluster_show_counts, cluster_text_color, cluster_text_size, colormap, extrusion_min_zoom, extrusion_opacity, fill_color_saved, fill_disabled, fill_opacity_saved, folder_group_expanded, folder_group_id, folder_group_name, heatmap_ramp, heatmap_reversed, heatmap_weight_column, height_column, height_scale, hypso_enabled, hypso_ramp, hypso_reversed, lineGradient, outline_color, outline_width, outline_width_saved, pmax, pmin, sigma, stretch, stroke_disabled, symbol. Other builder keys are stored and exported unchanged but have no effect. See https://docs.getgeolens.com/guides/api/publishing-from-desktop-gis/
|
|
5871
5895
|
*/
|
|
5872
5896
|
style_config?: {
|
|
5873
5897
|
[key: string]: unknown;
|
|
@@ -6106,6 +6130,19 @@ export type MapListResponse = {
|
|
|
6106
6130
|
*/
|
|
6107
6131
|
total: number;
|
|
6108
6132
|
};
|
|
6133
|
+
/**
|
|
6134
|
+
* MapPatch
|
|
6135
|
+
*
|
|
6136
|
+
* Partial map update. PUT /maps/{map_id} edits the map's content.
|
|
6137
|
+
*/
|
|
6138
|
+
export type MapPatch = {
|
|
6139
|
+
/**
|
|
6140
|
+
* Owner Id
|
|
6141
|
+
*
|
|
6142
|
+
* Admin only: transfer the map to this active user.
|
|
6143
|
+
*/
|
|
6144
|
+
owner_id: string;
|
|
6145
|
+
};
|
|
6109
6146
|
/**
|
|
6110
6147
|
* MapResponse
|
|
6111
6148
|
*/
|
|
@@ -22901,6 +22938,63 @@ export type GetMapEndpointMapsMapIdGetResponses = {
|
|
|
22901
22938
|
200: MapResponse;
|
|
22902
22939
|
};
|
|
22903
22940
|
export type GetMapEndpointMapsMapIdGetResponse = GetMapEndpointMapsMapIdGetResponses[keyof GetMapEndpointMapsMapIdGetResponses];
|
|
22941
|
+
export type PatchMapEndpointMapsMapIdPatchData = {
|
|
22942
|
+
body: MapPatch;
|
|
22943
|
+
path: {
|
|
22944
|
+
/**
|
|
22945
|
+
* Map Id
|
|
22946
|
+
*/
|
|
22947
|
+
map_id: string;
|
|
22948
|
+
};
|
|
22949
|
+
query?: never;
|
|
22950
|
+
url: '/maps/{map_id}';
|
|
22951
|
+
};
|
|
22952
|
+
export type PatchMapEndpointMapsMapIdPatchErrors = {
|
|
22953
|
+
/**
|
|
22954
|
+
* Bad request — invalid payload
|
|
22955
|
+
*/
|
|
22956
|
+
400: ProblemDetail;
|
|
22957
|
+
/**
|
|
22958
|
+
* Unauthorized — missing or invalid credentials
|
|
22959
|
+
*/
|
|
22960
|
+
401: ProblemDetail;
|
|
22961
|
+
/**
|
|
22962
|
+
* Forbidden — caller lacks write access
|
|
22963
|
+
*/
|
|
22964
|
+
403: ProblemDetail;
|
|
22965
|
+
/**
|
|
22966
|
+
* Not found
|
|
22967
|
+
*/
|
|
22968
|
+
404: ProblemDetail;
|
|
22969
|
+
/**
|
|
22970
|
+
* Conflict — resource state prevents the operation
|
|
22971
|
+
*/
|
|
22972
|
+
409: ProblemDetail;
|
|
22973
|
+
/**
|
|
22974
|
+
* Validation error
|
|
22975
|
+
*/
|
|
22976
|
+
422: ProblemDetail;
|
|
22977
|
+
/**
|
|
22978
|
+
* Too many requests — retry after the advertised interval
|
|
22979
|
+
*/
|
|
22980
|
+
429: ProblemDetail;
|
|
22981
|
+
/**
|
|
22982
|
+
* Internal server error
|
|
22983
|
+
*/
|
|
22984
|
+
500: ProblemDetail;
|
|
22985
|
+
/**
|
|
22986
|
+
* Service unavailable — the database could not serve the request
|
|
22987
|
+
*/
|
|
22988
|
+
503: ProblemDetail;
|
|
22989
|
+
};
|
|
22990
|
+
export type PatchMapEndpointMapsMapIdPatchError = PatchMapEndpointMapsMapIdPatchErrors[keyof PatchMapEndpointMapsMapIdPatchErrors];
|
|
22991
|
+
export type PatchMapEndpointMapsMapIdPatchResponses = {
|
|
22992
|
+
/**
|
|
22993
|
+
* Successful Response
|
|
22994
|
+
*/
|
|
22995
|
+
200: MapResponse;
|
|
22996
|
+
};
|
|
22997
|
+
export type PatchMapEndpointMapsMapIdPatchResponse = PatchMapEndpointMapsMapIdPatchResponses[keyof PatchMapEndpointMapsMapIdPatchResponses];
|
|
22904
22998
|
export type UpdateMapEndpointMapsMapIdPutData = {
|
|
22905
22999
|
body: MapUpdate;
|
|
22906
23000
|
path: {
|