@geolens/sdk 1.23.1 → 1.25.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.
@@ -68,7 +68,7 @@ export type AiStatusResponse = {
68
68
  /**
69
69
  * Model
70
70
  *
71
- * Active model name (e.g. 'claude-sonnet-4-20250514').
71
+ * Active model name (e.g. 'claude-sonnet-5-5').
72
72
  */
73
73
  model: string | null;
74
74
  /**
@@ -873,9 +873,15 @@ export type ApiKeyStatusResponse = {
873
873
  /**
874
874
  * Anthropic Configured
875
875
  *
876
- * Whether ANTHROPIC_API_KEY is set in the environment.
876
+ * Whether Claude's credentials are set for the selected platform: ANTHROPIC_API_KEY on Anthropic's API, or that platform's settings on Foundry, Bedrock or Vertex. The model is checked separately.
877
877
  */
878
878
  anthropic_configured: boolean;
879
+ /**
880
+ * Anthropic Platform
881
+ *
882
+ * Where Claude requests go, from ANTHROPIC_PLATFORM.
883
+ */
884
+ anthropic_platform: 'anthropic' | 'foundry' | 'bedrock' | 'vertex';
879
885
  /**
880
886
  * Openai Configured
881
887
  *
@@ -1640,7 +1646,7 @@ export type BulkRegisterRequest = {
1640
1646
  /**
1641
1647
  * Tables
1642
1648
  *
1643
- * List of tables to register as datasets in a single request.
1649
+ * Tables to register as datasets in a single request, at most 100.
1644
1650
  */
1645
1651
  tables: Array<BulkRegisterItem>;
1646
1652
  };
@@ -1727,7 +1733,7 @@ export type CatalogStatsResponse = {
1727
1733
  /**
1728
1734
  * Total Storage Bytes
1729
1735
  *
1730
- * Total storage used by all dataset tables, in bytes. Null if calculation is unavailable.
1736
+ * Total storage used by dataset tables plus the recorded sizes of stored data files (rasters, point clouds, 3D Tiles), in bytes. Quicklook images carry no recorded size and are not counted. Null if calculation is unavailable.
1731
1737
  */
1732
1738
  total_storage_bytes: number | null;
1733
1739
  /**
@@ -2345,7 +2351,7 @@ export type ColumnValuesResponse = {
2345
2351
  /**
2346
2352
  * Values
2347
2353
  */
2348
- values: Array<string | number | number | null>;
2354
+ values: Array<boolean | string | number | number | null>;
2349
2355
  /**
2350
2356
  * Count
2351
2357
  */
@@ -3139,6 +3145,12 @@ export type DatasetMeta = {
3139
3145
  * Ordered vector-tile property allowlist; null restores zoom defaults, [] emits geometry-only tiles, list emits those properties at any zoom.
3140
3146
  */
3141
3147
  tile_columns?: Array<string> | null;
3148
+ /**
3149
+ * Owner Id
3150
+ *
3151
+ * Admin only: transfer the dataset to this active user.
3152
+ */
3153
+ owner_id?: string | null;
3142
3154
  };
3143
3155
  /**
3144
3156
  * DatasetRefreshRequest
@@ -5269,6 +5281,24 @@ export type LayerInfo = {
5269
5281
  * Layer kind: 'layer' (spatial) or 'table' (non-spatial attribute table).
5270
5282
  */
5271
5283
  layer_type?: string;
5284
+ /**
5285
+ * Source Layer Type
5286
+ *
5287
+ * 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.
5288
+ */
5289
+ source_layer_type?: string | null;
5290
+ /**
5291
+ * Parent Layer Id
5292
+ *
5293
+ * ArcGIS ID of the group layer that contains this layer, if any.
5294
+ */
5295
+ parent_layer_id?: number | null;
5296
+ /**
5297
+ * Importable
5298
+ *
5299
+ * False when the layer holds no features (ArcGIS composite, raster and annotation layers) and a preview of it is refused with 'unsupported_layer_type'.
5300
+ */
5301
+ importable?: boolean;
5272
5302
  /**
5273
5303
  * Layer Id
5274
5304
  *
@@ -5855,7 +5885,7 @@ export type MapLayerInput = {
5855
5885
  /**
5856
5886
  * Label Config
5857
5887
  *
5858
- * Text label configuration
5888
+ * 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
5889
  */
5860
5890
  label_config?: {
5861
5891
  [key: string]: unknown;
@@ -5867,7 +5897,7 @@ export type MapLayerInput = {
5867
5897
  /**
5868
5898
  * Style Config
5869
5899
  *
5870
- * Data-driven and builder UI style configuration. Builder-only state lives under builder, e.g. fill_disabled, stroke_disabled, outline settings, heatmap metadata, and height_column.
5900
+ * 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
5901
  */
5872
5902
  style_config?: {
5873
5903
  [key: string]: unknown;
@@ -6106,6 +6136,19 @@ export type MapListResponse = {
6106
6136
  */
6107
6137
  total: number;
6108
6138
  };
6139
+ /**
6140
+ * MapPatch
6141
+ *
6142
+ * Partial map update. PUT /maps/{map_id} edits the map's content.
6143
+ */
6144
+ export type MapPatch = {
6145
+ /**
6146
+ * Owner Id
6147
+ *
6148
+ * Admin only: transfer the map to this active user.
6149
+ */
6150
+ owner_id: string;
6151
+ };
6109
6152
  /**
6110
6153
  * MapResponse
6111
6154
  */
@@ -8881,6 +8924,12 @@ export type SseErrorEvent = {
8881
8924
  * HTTP-equivalent status for router-level failures; provider and model errors raised inside the stream may omit it.
8882
8925
  */
8883
8926
  status?: number | null;
8927
+ /**
8928
+ * Code
8929
+ *
8930
+ * Stable identifier for a failure the client can explain in its own language. model_requires_responses_api: the configured model calls tools only through the OpenAI Responses API.
8931
+ */
8932
+ code?: 'model_requires_responses_api' | null;
8884
8933
  };
8885
8934
  /**
8886
8935
  * SSEMapDoneEvent
@@ -9025,7 +9074,7 @@ export type SavedSearchCreate = {
9025
9074
  /**
9026
9075
  * Params
9027
9076
  *
9028
- * Serialized SearchParams filters to replay
9077
+ * Serialized SearchParams filters to replay, at most 64 KiB as JSON
9029
9078
  */
9030
9079
  params: {
9031
9080
  [key: string]: unknown;
@@ -22901,6 +22950,63 @@ export type GetMapEndpointMapsMapIdGetResponses = {
22901
22950
  200: MapResponse;
22902
22951
  };
22903
22952
  export type GetMapEndpointMapsMapIdGetResponse = GetMapEndpointMapsMapIdGetResponses[keyof GetMapEndpointMapsMapIdGetResponses];
22953
+ export type PatchMapEndpointMapsMapIdPatchData = {
22954
+ body: MapPatch;
22955
+ path: {
22956
+ /**
22957
+ * Map Id
22958
+ */
22959
+ map_id: string;
22960
+ };
22961
+ query?: never;
22962
+ url: '/maps/{map_id}';
22963
+ };
22964
+ export type PatchMapEndpointMapsMapIdPatchErrors = {
22965
+ /**
22966
+ * Bad request — invalid payload
22967
+ */
22968
+ 400: ProblemDetail;
22969
+ /**
22970
+ * Unauthorized — missing or invalid credentials
22971
+ */
22972
+ 401: ProblemDetail;
22973
+ /**
22974
+ * Forbidden — caller lacks write access
22975
+ */
22976
+ 403: ProblemDetail;
22977
+ /**
22978
+ * Not found
22979
+ */
22980
+ 404: ProblemDetail;
22981
+ /**
22982
+ * Conflict — resource state prevents the operation
22983
+ */
22984
+ 409: ProblemDetail;
22985
+ /**
22986
+ * Validation error
22987
+ */
22988
+ 422: ProblemDetail;
22989
+ /**
22990
+ * Too many requests — retry after the advertised interval
22991
+ */
22992
+ 429: ProblemDetail;
22993
+ /**
22994
+ * Internal server error
22995
+ */
22996
+ 500: ProblemDetail;
22997
+ /**
22998
+ * Service unavailable — the database could not serve the request
22999
+ */
23000
+ 503: ProblemDetail;
23001
+ };
23002
+ export type PatchMapEndpointMapsMapIdPatchError = PatchMapEndpointMapsMapIdPatchErrors[keyof PatchMapEndpointMapsMapIdPatchErrors];
23003
+ export type PatchMapEndpointMapsMapIdPatchResponses = {
23004
+ /**
23005
+ * Successful Response
23006
+ */
23007
+ 200: MapResponse;
23008
+ };
23009
+ export type PatchMapEndpointMapsMapIdPatchResponse = PatchMapEndpointMapsMapIdPatchResponses[keyof PatchMapEndpointMapsMapIdPatchResponses];
22904
23010
  export type UpdateMapEndpointMapsMapIdPutData = {
22905
23011
  body: MapUpdate;
22906
23012
  path: {
@@ -25432,6 +25538,10 @@ export type CreateSavedSearchEndpointSearchSavedPostData = {
25432
25538
  url: '/search/saved/';
25433
25539
  };
25434
25540
  export type CreateSavedSearchEndpointSearchSavedPostErrors = {
25541
+ /**
25542
+ * Conflict — resource state prevents the operation
25543
+ */
25544
+ 409: ProblemDetail;
25435
25545
  /**
25436
25546
  * Validation error
25437
25547
  */