@geolens/sdk 1.32.0 → 1.33.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 +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/sdk.gen.d.ts +6 -3
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +6 -3
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +148 -6
- package/dist/client/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1033,6 +1033,99 @@ export type ArcgisLossReport = {
|
|
|
1033
1033
|
[key: string]: number;
|
|
1034
1034
|
};
|
|
1035
1035
|
};
|
|
1036
|
+
/**
|
|
1037
|
+
* ArcgisTranslatedLayer
|
|
1038
|
+
*
|
|
1039
|
+
* A translated layer as the import returns it: its draw order is always set.
|
|
1040
|
+
*/
|
|
1041
|
+
export type ArcgisTranslatedLayer = {
|
|
1042
|
+
/**
|
|
1043
|
+
* Id
|
|
1044
|
+
*
|
|
1045
|
+
* Existing layer id to update in place (full-save reconcile)
|
|
1046
|
+
*/
|
|
1047
|
+
id?: string | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* Dataset Id
|
|
1050
|
+
*/
|
|
1051
|
+
dataset_id: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* Sort Order
|
|
1054
|
+
*
|
|
1055
|
+
* Draw order; 0 draws on top
|
|
1056
|
+
*/
|
|
1057
|
+
sort_order: number;
|
|
1058
|
+
/**
|
|
1059
|
+
* Visible
|
|
1060
|
+
*/
|
|
1061
|
+
visible?: boolean;
|
|
1062
|
+
/**
|
|
1063
|
+
* Opacity
|
|
1064
|
+
*
|
|
1065
|
+
* Layer opacity 0.0-1.0
|
|
1066
|
+
*/
|
|
1067
|
+
opacity?: number;
|
|
1068
|
+
/**
|
|
1069
|
+
* Paint
|
|
1070
|
+
*
|
|
1071
|
+
* MapLibre paint properties override
|
|
1072
|
+
*/
|
|
1073
|
+
paint?: {
|
|
1074
|
+
[key: string]: unknown;
|
|
1075
|
+
} | null;
|
|
1076
|
+
/**
|
|
1077
|
+
* Layout
|
|
1078
|
+
*
|
|
1079
|
+
* MapLibre layout properties override. `_minzoom` and `_maxzoom` set the zoom range where the layer is visible; the exported style writes them as `minzoom` and `maxzoom`.
|
|
1080
|
+
*/
|
|
1081
|
+
layout?: {
|
|
1082
|
+
[key: string]: unknown;
|
|
1083
|
+
} | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Display Name
|
|
1086
|
+
*
|
|
1087
|
+
* Label shown in the layer list
|
|
1088
|
+
*/
|
|
1089
|
+
display_name?: string | null;
|
|
1090
|
+
/**
|
|
1091
|
+
* Filter
|
|
1092
|
+
*
|
|
1093
|
+
* MapLibre filter expression
|
|
1094
|
+
*/
|
|
1095
|
+
filter?: Array<unknown> | null;
|
|
1096
|
+
/**
|
|
1097
|
+
* Label Config
|
|
1098
|
+
*
|
|
1099
|
+
* 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/
|
|
1100
|
+
*/
|
|
1101
|
+
label_config?: {
|
|
1102
|
+
[key: string]: unknown;
|
|
1103
|
+
} | null;
|
|
1104
|
+
/**
|
|
1105
|
+
* Popup configuration: {enabled, expression, visible_fields}
|
|
1106
|
+
*/
|
|
1107
|
+
popup_config?: PopupConfig | null;
|
|
1108
|
+
/**
|
|
1109
|
+
* Style Config
|
|
1110
|
+
*
|
|
1111
|
+
* 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. legendLabel replaces the layer's name in the legend and layer list; colorLabel and sizeLabel replace the column name in the title of the color and size legend sections. See https://docs.getgeolens.com/guides/api/publishing-from-desktop-gis/
|
|
1112
|
+
*/
|
|
1113
|
+
style_config?: {
|
|
1114
|
+
[key: string]: unknown;
|
|
1115
|
+
} | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* Layer Type
|
|
1118
|
+
*
|
|
1119
|
+
* Auto-detected from record_type if omitted
|
|
1120
|
+
*/
|
|
1121
|
+
layer_type?: string | null;
|
|
1122
|
+
/**
|
|
1123
|
+
* Show In Legend
|
|
1124
|
+
*
|
|
1125
|
+
* Whether to include in the map legend
|
|
1126
|
+
*/
|
|
1127
|
+
show_in_legend?: boolean;
|
|
1128
|
+
};
|
|
1036
1129
|
/**
|
|
1037
1130
|
* ArcgisTranslatedView
|
|
1038
1131
|
*/
|
|
@@ -1161,7 +1254,7 @@ export type ArcgisWebmapImportResponse = {
|
|
|
1161
1254
|
*
|
|
1162
1255
|
* The translated layers, in draw order.
|
|
1163
1256
|
*/
|
|
1164
|
-
layers: Array<
|
|
1257
|
+
layers: Array<ArcgisTranslatedLayer>;
|
|
1165
1258
|
/**
|
|
1166
1259
|
* Layer Ids
|
|
1167
1260
|
*
|
|
@@ -1974,6 +2067,14 @@ export type BulkDeleteResultItem = {
|
|
|
1974
2067
|
* Code
|
|
1975
2068
|
*/
|
|
1976
2069
|
code?: string | null;
|
|
2070
|
+
/**
|
|
2071
|
+
* Shared Maps
|
|
2072
|
+
*
|
|
2073
|
+
* The owner's shared maps that refused this item, as `{"id", "name"}` pairs, on a `dataset_in_shared_maps` error. Null otherwise.
|
|
2074
|
+
*/
|
|
2075
|
+
shared_maps?: Array<{
|
|
2076
|
+
[key: string]: string;
|
|
2077
|
+
}> | null;
|
|
1977
2078
|
};
|
|
1978
2079
|
/**
|
|
1979
2080
|
* BulkRegisterItem
|
|
@@ -5832,7 +5933,7 @@ export type EnterpriseTabsResponse = {
|
|
|
5832
5933
|
/**
|
|
5833
5934
|
* ExportFormat
|
|
5834
5935
|
*/
|
|
5835
|
-
export type ExportFormat = 'gpkg' | 'geojson' | 'shp' | 'csv' | 'parquet' | 'fgb' | 'pmtiles';
|
|
5936
|
+
export type ExportFormat = 'gpkg' | 'geojson' | 'shp' | 'csv' | 'parquet' | 'fgb' | 'pmtiles' | 'kml' | 'kmz';
|
|
5836
5937
|
/**
|
|
5837
5938
|
* FacetCountResponse
|
|
5838
5939
|
*
|
|
@@ -7118,7 +7219,7 @@ export type JobStatusBatchEntry = {
|
|
|
7118
7219
|
/**
|
|
7119
7220
|
* Warnings
|
|
7120
7221
|
*/
|
|
7121
|
-
warnings?: Array<ReservedRenameWarning | DbfTruncationCollisionWarning | MercatorClipWarning>;
|
|
7222
|
+
warnings?: Array<ReservedRenameWarning | DbfTruncationCollisionWarning | MercatorClipWarning | ZmDroppedWarning>;
|
|
7122
7223
|
/**
|
|
7123
7224
|
* Can Retry
|
|
7124
7225
|
*/
|
|
@@ -7193,7 +7294,7 @@ export type JobStatusResponse = {
|
|
|
7193
7294
|
/**
|
|
7194
7295
|
* Warnings
|
|
7195
7296
|
*/
|
|
7196
|
-
warnings?: Array<ReservedRenameWarning | DbfTruncationCollisionWarning | MercatorClipWarning>;
|
|
7297
|
+
warnings?: Array<ReservedRenameWarning | DbfTruncationCollisionWarning | MercatorClipWarning | ZmDroppedWarning>;
|
|
7197
7298
|
/**
|
|
7198
7299
|
* Progress
|
|
7199
7300
|
*/
|
|
@@ -8133,9 +8234,9 @@ export type MapLayerInput = {
|
|
|
8133
8234
|
/**
|
|
8134
8235
|
* Sort Order
|
|
8135
8236
|
*
|
|
8136
|
-
* Draw order; 0 draws on top
|
|
8237
|
+
* Draw order; 0 draws on top. When omitted, a new layer is added after the map's other layers and a full save uses the layer's position in the submitted list.
|
|
8137
8238
|
*/
|
|
8138
|
-
sort_order?: number;
|
|
8239
|
+
sort_order?: number | null;
|
|
8139
8240
|
/**
|
|
8140
8241
|
* Visible
|
|
8141
8242
|
*/
|
|
@@ -10543,6 +10644,20 @@ export type ProblemDetail = {
|
|
|
10543
10644
|
* A machine-readable code for the problem, on the errors that carry one, such as `catalog_lock_conflict` on a 409 for a row another request holds. Absent otherwise.
|
|
10544
10645
|
*/
|
|
10545
10646
|
code?: string;
|
|
10647
|
+
/**
|
|
10648
|
+
* Action
|
|
10649
|
+
*
|
|
10650
|
+
* The refused change, on a `dataset_in_shared_maps` 422: `unpublish`, `restrict_visibility` or `delete`. Absent otherwise.
|
|
10651
|
+
*/
|
|
10652
|
+
action?: string;
|
|
10653
|
+
/**
|
|
10654
|
+
* Shared Maps
|
|
10655
|
+
*
|
|
10656
|
+
* The shared maps behind a `dataset_in_shared_maps` 422, as `{"id", "name"}` pairs. Absent otherwise.
|
|
10657
|
+
*/
|
|
10658
|
+
shared_maps?: Array<{
|
|
10659
|
+
[key: string]: string;
|
|
10660
|
+
}>;
|
|
10546
10661
|
};
|
|
10547
10662
|
/**
|
|
10548
10663
|
* ProviderHealth
|
|
@@ -15358,6 +15473,33 @@ export type VrtStatusResponse = {
|
|
|
15358
15473
|
*/
|
|
15359
15474
|
source_health: Array<VrtSourceHealth>;
|
|
15360
15475
|
};
|
|
15476
|
+
/**
|
|
15477
|
+
* ZmDroppedDetail
|
|
15478
|
+
*
|
|
15479
|
+
* How many source features had Z or M values that the copy doesn't keep.
|
|
15480
|
+
*
|
|
15481
|
+
* Z and M are dropped when the source mixes dimensions or holds curves that
|
|
15482
|
+
* lose them when linearized, and M alone when measured features cross the
|
|
15483
|
+
* Web Mercator latitude limit; X and Y are unchanged. The count is taken on
|
|
15484
|
+
* the source just before and after the copy, so a row written during the
|
|
15485
|
+
* copy can be counted.
|
|
15486
|
+
*/
|
|
15487
|
+
export type ZmDroppedDetail = {
|
|
15488
|
+
/**
|
|
15489
|
+
* Features
|
|
15490
|
+
*/
|
|
15491
|
+
features: number;
|
|
15492
|
+
};
|
|
15493
|
+
/**
|
|
15494
|
+
* ZmDroppedWarning
|
|
15495
|
+
*/
|
|
15496
|
+
export type ZmDroppedWarning = {
|
|
15497
|
+
/**
|
|
15498
|
+
* Kind
|
|
15499
|
+
*/
|
|
15500
|
+
kind: 'zm_dropped';
|
|
15501
|
+
details: ZmDroppedDetail;
|
|
15502
|
+
};
|
|
15361
15503
|
export type LandingPageGetData = {
|
|
15362
15504
|
body?: never;
|
|
15363
15505
|
path?: never;
|