@geolens/sdk 1.4.2 → 1.4.4
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 +29 -0
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +29 -0
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +158 -12
- package/dist/client/types.gen.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -2495,6 +2495,12 @@ export type DatasetResponse = {
|
|
|
2495
2495
|
* OGC geometry type, e.g. MultiPolygon
|
|
2496
2496
|
*/
|
|
2497
2497
|
geometry_type?: string | null;
|
|
2498
|
+
/**
|
|
2499
|
+
* Has Generic Geometry
|
|
2500
|
+
*
|
|
2501
|
+
* True when the underlying column is generic GEOMETRY (created sketch datasets): the dataset accepts ANY geometry subtype on write regardless of the display geometry_type above. Computed on the detail endpoint only (fix #430 codex r18); list endpoints always report false.
|
|
2502
|
+
*/
|
|
2503
|
+
has_generic_geometry?: boolean;
|
|
2498
2504
|
/**
|
|
2499
2505
|
* Id
|
|
2500
2506
|
*/
|
|
@@ -3487,7 +3493,10 @@ export type FanOutLayerResult = {
|
|
|
3487
3493
|
* GeoJSON-style feature for insertion.
|
|
3488
3494
|
*/
|
|
3489
3495
|
export type FeatureCreate = {
|
|
3490
|
-
|
|
3496
|
+
/**
|
|
3497
|
+
* Geometry
|
|
3498
|
+
*/
|
|
3499
|
+
geometry: GeoJsonGeometryCollection | GeoJsonGeometry;
|
|
3491
3500
|
/**
|
|
3492
3501
|
* Properties
|
|
3493
3502
|
*/
|
|
@@ -3516,7 +3525,10 @@ export type FeatureFlagsResponse = {
|
|
|
3516
3525
|
* Full feature replacement (PUT semantics).
|
|
3517
3526
|
*/
|
|
3518
3527
|
export type FeatureReplace = {
|
|
3519
|
-
|
|
3528
|
+
/**
|
|
3529
|
+
* Geometry
|
|
3530
|
+
*/
|
|
3531
|
+
geometry: GeoJsonGeometryCollection | GeoJsonGeometry;
|
|
3520
3532
|
/**
|
|
3521
3533
|
* Properties
|
|
3522
3534
|
*/
|
|
@@ -3530,7 +3542,10 @@ export type FeatureReplace = {
|
|
|
3530
3542
|
* Partial feature update (PATCH semantics).
|
|
3531
3543
|
*/
|
|
3532
3544
|
export type FeatureUpdate = {
|
|
3533
|
-
|
|
3545
|
+
/**
|
|
3546
|
+
* Geometry
|
|
3547
|
+
*/
|
|
3548
|
+
geometry?: GeoJsonGeometryCollection | GeoJsonGeometry | null;
|
|
3534
3549
|
/**
|
|
3535
3550
|
* Properties
|
|
3536
3551
|
*/
|
|
@@ -3593,6 +3608,33 @@ export type GeoJsonGeometry = {
|
|
|
3593
3608
|
*/
|
|
3594
3609
|
type: string;
|
|
3595
3610
|
};
|
|
3611
|
+
/**
|
|
3612
|
+
* GeoJSONGeometryCollection
|
|
3613
|
+
*
|
|
3614
|
+
* A GeoJSON GeometryCollection (RFC 7946 §3.1.8).
|
|
3615
|
+
*
|
|
3616
|
+
* fix(#430 codex r9): carries ``geometries`` instead of ``coordinates``, so
|
|
3617
|
+
* it needs its own model — only generic-GEOMETRY datasets accept it on write
|
|
3618
|
+
* (enforced in the service), and any stored collection must serialize back
|
|
3619
|
+
* out on read.
|
|
3620
|
+
*
|
|
3621
|
+
* Deliberately NON-recursive (codex r13, refuted): PostGIS cannot round-trip
|
|
3622
|
+
* nested collections through the GeoJSON boundary in either direction —
|
|
3623
|
+
* ST_GeomFromGeoJSON rejects them on write and ST_AsGeoJSON raises
|
|
3624
|
+
* 'GeoJson: geometry not supported' on read — so a recursive model could
|
|
3625
|
+
* never receive one and would only convert the write-side 422 into a raw
|
|
3626
|
+
* database 500. The write schemas add a raw-payload guard for a clear 422.
|
|
3627
|
+
*/
|
|
3628
|
+
export type GeoJsonGeometryCollection = {
|
|
3629
|
+
/**
|
|
3630
|
+
* Geometries
|
|
3631
|
+
*/
|
|
3632
|
+
geometries: Array<GeoJsonGeometry>;
|
|
3633
|
+
/**
|
|
3634
|
+
* Type
|
|
3635
|
+
*/
|
|
3636
|
+
type: 'GeometryCollection';
|
|
3637
|
+
};
|
|
3596
3638
|
/**
|
|
3597
3639
|
* HTTPValidationError
|
|
3598
3640
|
*/
|
|
@@ -3606,6 +3648,10 @@ export type HttpValidationError = {
|
|
|
3606
3648
|
* HealthResponse
|
|
3607
3649
|
*/
|
|
3608
3650
|
export type HealthResponse = {
|
|
3651
|
+
/**
|
|
3652
|
+
* Build
|
|
3653
|
+
*/
|
|
3654
|
+
build?: string | null;
|
|
3609
3655
|
/**
|
|
3610
3656
|
* Providers
|
|
3611
3657
|
*/
|
|
@@ -3616,6 +3662,10 @@ export type HealthResponse = {
|
|
|
3616
3662
|
* Status
|
|
3617
3663
|
*/
|
|
3618
3664
|
status: string;
|
|
3665
|
+
/**
|
|
3666
|
+
* Version
|
|
3667
|
+
*/
|
|
3668
|
+
version: string;
|
|
3619
3669
|
};
|
|
3620
3670
|
/**
|
|
3621
3671
|
* ImportResult
|
|
@@ -3733,12 +3783,15 @@ export type InfrastructureResponse = {
|
|
|
3733
3783
|
};
|
|
3734
3784
|
};
|
|
3735
3785
|
/**
|
|
3736
|
-
*
|
|
3786
|
+
* InlineDef_GeoJSONFeature_adc353e4
|
|
3737
3787
|
*
|
|
3738
3788
|
* A single GeoJSON Feature.
|
|
3739
3789
|
*/
|
|
3740
|
-
export type
|
|
3741
|
-
|
|
3790
|
+
export type InlineDefGeoJsonFeatureAdc353E4 = {
|
|
3791
|
+
/**
|
|
3792
|
+
* Geometry
|
|
3793
|
+
*/
|
|
3794
|
+
geometry?: InlineDefGeoJsonGeometryCollectionD6B7Eb76 | GeoJsonGeometry | null;
|
|
3742
3795
|
/**
|
|
3743
3796
|
* Id
|
|
3744
3797
|
*/
|
|
@@ -3754,6 +3807,33 @@ export type InlineDefGeoJsonFeatureAfaebacb = {
|
|
|
3754
3807
|
*/
|
|
3755
3808
|
type?: 'Feature';
|
|
3756
3809
|
};
|
|
3810
|
+
/**
|
|
3811
|
+
* InlineDef_GeoJSONGeometryCollection_d6b7eb76
|
|
3812
|
+
*
|
|
3813
|
+
* A GeoJSON GeometryCollection (RFC 7946 §3.1.8).
|
|
3814
|
+
*
|
|
3815
|
+
* fix(#430 codex r9): carries ``geometries`` instead of ``coordinates``, so
|
|
3816
|
+
* it needs its own model — only generic-GEOMETRY datasets accept it on write
|
|
3817
|
+
* (enforced in the service), and any stored collection must serialize back
|
|
3818
|
+
* out on read.
|
|
3819
|
+
*
|
|
3820
|
+
* Deliberately NON-recursive (codex r13, refuted): PostGIS cannot round-trip
|
|
3821
|
+
* nested collections through the GeoJSON boundary in either direction —
|
|
3822
|
+
* ST_GeomFromGeoJSON rejects them on write and ST_AsGeoJSON raises
|
|
3823
|
+
* 'GeoJson: geometry not supported' on read — so a recursive model could
|
|
3824
|
+
* never receive one and would only convert the write-side 422 into a raw
|
|
3825
|
+
* database 500. The write schemas add a raw-payload guard for a clear 422.
|
|
3826
|
+
*/
|
|
3827
|
+
export type InlineDefGeoJsonGeometryCollectionD6B7Eb76 = {
|
|
3828
|
+
/**
|
|
3829
|
+
* Geometries
|
|
3830
|
+
*/
|
|
3831
|
+
geometries: Array<GeoJsonGeometry>;
|
|
3832
|
+
/**
|
|
3833
|
+
* Type
|
|
3834
|
+
*/
|
|
3835
|
+
type: 'GeometryCollection';
|
|
3836
|
+
};
|
|
3757
3837
|
/**
|
|
3758
3838
|
* InlineDef_Link_900f1c94
|
|
3759
3839
|
*/
|
|
@@ -4511,6 +4591,12 @@ export type MapLayerInput = {
|
|
|
4511
4591
|
* MapLibre filter expression
|
|
4512
4592
|
*/
|
|
4513
4593
|
filter?: Array<unknown> | null;
|
|
4594
|
+
/**
|
|
4595
|
+
* Id
|
|
4596
|
+
*
|
|
4597
|
+
* Existing layer id to update in place (full-save reconcile)
|
|
4598
|
+
*/
|
|
4599
|
+
id?: string | null;
|
|
4514
4600
|
/**
|
|
4515
4601
|
* Label Config
|
|
4516
4602
|
*
|
|
@@ -4690,10 +4776,18 @@ export type MapLayerResponse = {
|
|
|
4690
4776
|
dataset_sample_values?: {
|
|
4691
4777
|
[key: string]: unknown;
|
|
4692
4778
|
} | null;
|
|
4779
|
+
/**
|
|
4780
|
+
* Dataset Status
|
|
4781
|
+
*/
|
|
4782
|
+
dataset_status?: string | null;
|
|
4693
4783
|
/**
|
|
4694
4784
|
* Dataset Table Name
|
|
4695
4785
|
*/
|
|
4696
4786
|
dataset_table_name: string;
|
|
4787
|
+
/**
|
|
4788
|
+
* Dataset Visibility
|
|
4789
|
+
*/
|
|
4790
|
+
dataset_visibility?: string | null;
|
|
4697
4791
|
/**
|
|
4698
4792
|
* Dem Vertical Units
|
|
4699
4793
|
*/
|
|
@@ -4759,6 +4853,10 @@ export type MapLayerResponse = {
|
|
|
4759
4853
|
style_config?: {
|
|
4760
4854
|
[key: string]: unknown;
|
|
4761
4855
|
} | null;
|
|
4856
|
+
/**
|
|
4857
|
+
* Tile Version
|
|
4858
|
+
*/
|
|
4859
|
+
tile_version?: number | null;
|
|
4762
4860
|
/**
|
|
4763
4861
|
* Visible
|
|
4764
4862
|
*/
|
|
@@ -5985,6 +6083,12 @@ export type OgcRecordProperties = {
|
|
|
5985
6083
|
* Source Count
|
|
5986
6084
|
*/
|
|
5987
6085
|
source_count?: number | null;
|
|
6086
|
+
/**
|
|
6087
|
+
* Source Format
|
|
6088
|
+
*
|
|
6089
|
+
* Ingest source format ('geojson', 'shapefile', 'geotiff', 'wfs', 'stac', 'created', ...). Null for datasets registered from existing PostGIS tables and for composed VRT datasets.
|
|
6090
|
+
*/
|
|
6091
|
+
source_format?: string | null;
|
|
5988
6092
|
/**
|
|
5989
6093
|
* Source Organization
|
|
5990
6094
|
*/
|
|
@@ -7334,7 +7438,7 @@ export type ShareTokenRequest = {
|
|
|
7334
7438
|
/**
|
|
7335
7439
|
* Expires At
|
|
7336
7440
|
*
|
|
7337
|
-
* Expiration timestamp. Null creates a non-expiring share link.
|
|
7441
|
+
* Expiration timestamp; must carry a UTC offset. Null creates a non-expiring share link. A custom expiration requires advanced sharing controls.
|
|
7338
7442
|
*/
|
|
7339
7443
|
expires_at?: string | null;
|
|
7340
7444
|
};
|
|
@@ -7466,6 +7570,10 @@ export type SharedLayerResponse = {
|
|
|
7466
7570
|
* Tile Url
|
|
7467
7571
|
*/
|
|
7468
7572
|
tile_url: string;
|
|
7573
|
+
/**
|
|
7574
|
+
* Tile Version
|
|
7575
|
+
*/
|
|
7576
|
+
tile_version?: number | null;
|
|
7469
7577
|
/**
|
|
7470
7578
|
* Visible
|
|
7471
7579
|
*/
|
|
@@ -13583,6 +13691,14 @@ export type ExportDatasetEndpointDatasetsDatasetIdExportGetResponses = {
|
|
|
13583
13691
|
};
|
|
13584
13692
|
export type GetFeaturesGeojsonZEndpointDatasetsDatasetIdFeaturesGeojsonGetData = {
|
|
13585
13693
|
body?: never;
|
|
13694
|
+
headers?: {
|
|
13695
|
+
/**
|
|
13696
|
+
* X-Embed-Token
|
|
13697
|
+
*
|
|
13698
|
+
* Optional embed token. Datasets in the token's scope are authorized even without user credentials (embed viewers).
|
|
13699
|
+
*/
|
|
13700
|
+
'X-Embed-Token'?: string | null;
|
|
13701
|
+
};
|
|
13586
13702
|
path: {
|
|
13587
13703
|
/**
|
|
13588
13704
|
* Dataset Id
|
|
@@ -13696,7 +13812,7 @@ export type ListFeaturesDatasetsDatasetIdFeaturesGetResponses = {
|
|
|
13696
13812
|
/**
|
|
13697
13813
|
* Features
|
|
13698
13814
|
*/
|
|
13699
|
-
features: Array<
|
|
13815
|
+
features: Array<InlineDefGeoJsonFeatureAdc353E4>;
|
|
13700
13816
|
/**
|
|
13701
13817
|
* Links
|
|
13702
13818
|
*/
|
|
@@ -13765,7 +13881,10 @@ export type CreateFeatureDatasetsDatasetIdFeaturesPostResponses = {
|
|
|
13765
13881
|
* A single GeoJSON Feature.
|
|
13766
13882
|
*/
|
|
13767
13883
|
201: {
|
|
13768
|
-
|
|
13884
|
+
/**
|
|
13885
|
+
* Geometry
|
|
13886
|
+
*/
|
|
13887
|
+
geometry?: InlineDefGeoJsonGeometryCollectionD6B7Eb76 | GeoJsonGeometry | null;
|
|
13769
13888
|
/**
|
|
13770
13889
|
* Id
|
|
13771
13890
|
*/
|
|
@@ -13885,7 +14004,10 @@ export type GetSingleFeatureDatasetsDatasetIdFeaturesGidGetResponses = {
|
|
|
13885
14004
|
* A single GeoJSON Feature.
|
|
13886
14005
|
*/
|
|
13887
14006
|
200: {
|
|
13888
|
-
|
|
14007
|
+
/**
|
|
14008
|
+
* Geometry
|
|
14009
|
+
*/
|
|
14010
|
+
geometry?: InlineDefGeoJsonGeometryCollectionD6B7Eb76 | GeoJsonGeometry | null;
|
|
13889
14011
|
/**
|
|
13890
14012
|
* Id
|
|
13891
14013
|
*/
|
|
@@ -13956,7 +14078,10 @@ export type PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses = {
|
|
|
13956
14078
|
* A single GeoJSON Feature.
|
|
13957
14079
|
*/
|
|
13958
14080
|
200: {
|
|
13959
|
-
|
|
14081
|
+
/**
|
|
14082
|
+
* Geometry
|
|
14083
|
+
*/
|
|
14084
|
+
geometry?: InlineDefGeoJsonGeometryCollectionD6B7Eb76 | GeoJsonGeometry | null;
|
|
13960
14085
|
/**
|
|
13961
14086
|
* Id
|
|
13962
14087
|
*/
|
|
@@ -14027,7 +14152,10 @@ export type ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses = {
|
|
|
14027
14152
|
* A single GeoJSON Feature.
|
|
14028
14153
|
*/
|
|
14029
14154
|
200: {
|
|
14030
|
-
|
|
14155
|
+
/**
|
|
14156
|
+
* Geometry
|
|
14157
|
+
*/
|
|
14158
|
+
geometry?: InlineDefGeoJsonGeometryCollectionD6B7Eb76 | GeoJsonGeometry | null;
|
|
14031
14159
|
/**
|
|
14032
14160
|
* Id
|
|
14033
14161
|
*/
|
|
@@ -16581,6 +16709,14 @@ export type ImportMapStyleEndpointMapsImportPostResponses = {
|
|
|
16581
16709
|
export type ImportMapStyleEndpointMapsImportPostResponse = ImportMapStyleEndpointMapsImportPostResponses[keyof ImportMapStyleEndpointMapsImportPostResponses];
|
|
16582
16710
|
export type GetSharedMapEndpointMapsSharedTokenGetData = {
|
|
16583
16711
|
body?: never;
|
|
16712
|
+
headers?: {
|
|
16713
|
+
/**
|
|
16714
|
+
* X-Embed-Token
|
|
16715
|
+
*
|
|
16716
|
+
* Optional embed token — includes its scoped dataset layers when valid for this map.
|
|
16717
|
+
*/
|
|
16718
|
+
'X-Embed-Token'?: string | null;
|
|
16719
|
+
};
|
|
16584
16720
|
path: {
|
|
16585
16721
|
/**
|
|
16586
16722
|
* Token
|
|
@@ -20111,6 +20247,10 @@ export type ClusterTileEndpointTilesClustersTablePathZxyPbfGetData = {
|
|
|
20111
20247
|
* Scope
|
|
20112
20248
|
*/
|
|
20113
20249
|
scope?: string | null;
|
|
20250
|
+
/**
|
|
20251
|
+
* Cols
|
|
20252
|
+
*/
|
|
20253
|
+
cols?: string | null;
|
|
20114
20254
|
/**
|
|
20115
20255
|
* Cluster Radius
|
|
20116
20256
|
*/
|
|
@@ -20307,6 +20447,12 @@ export type GetTileTokenTilesTokenDatasetIdGetResponses = {
|
|
|
20307
20447
|
export type GetTileTokenTilesTokenDatasetIdGetResponse = GetTileTokenTilesTokenDatasetIdGetResponses[keyof GetTileTokenTilesTokenDatasetIdGetResponses];
|
|
20308
20448
|
export type GetTileTokensBatchTilesTokensPostData = {
|
|
20309
20449
|
body: TileTokenBatchRequest;
|
|
20450
|
+
headers?: {
|
|
20451
|
+
/**
|
|
20452
|
+
* X-Embed-Token
|
|
20453
|
+
*/
|
|
20454
|
+
'X-Embed-Token'?: string | null;
|
|
20455
|
+
};
|
|
20310
20456
|
path?: never;
|
|
20311
20457
|
query?: never;
|
|
20312
20458
|
url: '/tiles/tokens/';
|