@geolens/sdk 1.4.2 → 1.4.5
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/client/client.gen.d.ts.map +1 -1
- package/dist/client/client/client.gen.js +104 -123
- package/dist/client/client/client.gen.js.map +1 -1
- package/dist/client/client/index.d.ts +2 -0
- package/dist/client/client/index.d.ts.map +1 -1
- package/dist/client/client/index.js.map +1 -1
- package/dist/client/client/types.gen.d.ts +5 -3
- package/dist/client/client/types.gen.d.ts.map +1 -1
- package/dist/client/client/utils.gen.d.ts +8 -4
- package/dist/client/client/utils.gen.d.ts.map +1 -1
- package/dist/client/client/utils.gen.js +3 -3
- package/dist/client/client/utils.gen.js.map +1 -1
- package/dist/client/client.gen.d.ts +2 -2
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/core/auth.gen.d.ts +7 -0
- package/dist/client/core/auth.gen.d.ts.map +1 -1
- package/dist/client/core/auth.gen.js.map +1 -1
- package/dist/client/core/params.gen.d.ts +2 -2
- package/dist/client/core/params.gen.d.ts.map +1 -1
- package/dist/client/core/params.gen.js +23 -14
- package/dist/client/core/params.gen.js.map +1 -1
- package/dist/client/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/client/core/pathSerializer.gen.js.map +1 -1
- package/dist/client/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/client/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/client/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/client/core/types.gen.d.ts +5 -0
- package/dist/client/core/types.gen.d.ts.map +1 -1
- package/dist/client/core/utils.gen.d.ts.map +1 -1
- package/dist/client/core/utils.gen.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/sdk.gen.d.ts +277 -248
- 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 +160 -18
- package/dist/client/types.gen.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -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
|
*/
|
|
@@ -3591,7 +3606,34 @@ export type GeoJsonGeometry = {
|
|
|
3591
3606
|
/**
|
|
3592
3607
|
* Type
|
|
3593
3608
|
*/
|
|
3594
|
-
type:
|
|
3609
|
+
type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon';
|
|
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';
|
|
3595
3637
|
};
|
|
3596
3638
|
/**
|
|
3597
3639
|
* HTTPValidationError
|
|
@@ -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
|
*/
|
|
@@ -3836,11 +3916,7 @@ export type JobStatusResponse = {
|
|
|
3836
3916
|
/**
|
|
3837
3917
|
* Warnings
|
|
3838
3918
|
*/
|
|
3839
|
-
warnings?: Array<
|
|
3840
|
-
kind: 'reserved_rename';
|
|
3841
|
-
} & ReservedRenameWarning) | ({
|
|
3842
|
-
kind: 'dbf_truncation_collision';
|
|
3843
|
-
} & DbfTruncationCollisionWarning)>;
|
|
3919
|
+
warnings?: Array<ReservedRenameWarning | DbfTruncationCollisionWarning>;
|
|
3844
3920
|
};
|
|
3845
3921
|
/**
|
|
3846
3922
|
* KeywordCreate
|
|
@@ -4511,6 +4587,12 @@ export type MapLayerInput = {
|
|
|
4511
4587
|
* MapLibre filter expression
|
|
4512
4588
|
*/
|
|
4513
4589
|
filter?: Array<unknown> | null;
|
|
4590
|
+
/**
|
|
4591
|
+
* Id
|
|
4592
|
+
*
|
|
4593
|
+
* Existing layer id to update in place (full-save reconcile)
|
|
4594
|
+
*/
|
|
4595
|
+
id?: string | null;
|
|
4514
4596
|
/**
|
|
4515
4597
|
* Label Config
|
|
4516
4598
|
*
|
|
@@ -4690,10 +4772,18 @@ export type MapLayerResponse = {
|
|
|
4690
4772
|
dataset_sample_values?: {
|
|
4691
4773
|
[key: string]: unknown;
|
|
4692
4774
|
} | null;
|
|
4775
|
+
/**
|
|
4776
|
+
* Dataset Status
|
|
4777
|
+
*/
|
|
4778
|
+
dataset_status?: string | null;
|
|
4693
4779
|
/**
|
|
4694
4780
|
* Dataset Table Name
|
|
4695
4781
|
*/
|
|
4696
4782
|
dataset_table_name: string;
|
|
4783
|
+
/**
|
|
4784
|
+
* Dataset Visibility
|
|
4785
|
+
*/
|
|
4786
|
+
dataset_visibility?: string | null;
|
|
4697
4787
|
/**
|
|
4698
4788
|
* Dem Vertical Units
|
|
4699
4789
|
*/
|
|
@@ -4759,6 +4849,10 @@ export type MapLayerResponse = {
|
|
|
4759
4849
|
style_config?: {
|
|
4760
4850
|
[key: string]: unknown;
|
|
4761
4851
|
} | null;
|
|
4852
|
+
/**
|
|
4853
|
+
* Tile Version
|
|
4854
|
+
*/
|
|
4855
|
+
tile_version?: number | null;
|
|
4762
4856
|
/**
|
|
4763
4857
|
* Visible
|
|
4764
4858
|
*/
|
|
@@ -5985,6 +6079,12 @@ export type OgcRecordProperties = {
|
|
|
5985
6079
|
* Source Count
|
|
5986
6080
|
*/
|
|
5987
6081
|
source_count?: number | null;
|
|
6082
|
+
/**
|
|
6083
|
+
* Source Format
|
|
6084
|
+
*
|
|
6085
|
+
* Ingest source format ('geojson', 'shapefile', 'geotiff', 'wfs', 'stac', 'created', ...). Null for datasets registered from existing PostGIS tables and for composed VRT datasets.
|
|
6086
|
+
*/
|
|
6087
|
+
source_format?: string | null;
|
|
5988
6088
|
/**
|
|
5989
6089
|
* Source Organization
|
|
5990
6090
|
*/
|
|
@@ -7334,7 +7434,7 @@ export type ShareTokenRequest = {
|
|
|
7334
7434
|
/**
|
|
7335
7435
|
* Expires At
|
|
7336
7436
|
*
|
|
7337
|
-
* Expiration timestamp. Null creates a non-expiring share link.
|
|
7437
|
+
* Expiration timestamp; must carry a UTC offset. Null creates a non-expiring share link. A custom expiration requires advanced sharing controls.
|
|
7338
7438
|
*/
|
|
7339
7439
|
expires_at?: string | null;
|
|
7340
7440
|
};
|
|
@@ -7466,6 +7566,10 @@ export type SharedLayerResponse = {
|
|
|
7466
7566
|
* Tile Url
|
|
7467
7567
|
*/
|
|
7468
7568
|
tile_url: string;
|
|
7569
|
+
/**
|
|
7570
|
+
* Tile Version
|
|
7571
|
+
*/
|
|
7572
|
+
tile_version?: number | null;
|
|
7469
7573
|
/**
|
|
7470
7574
|
* Visible
|
|
7471
7575
|
*/
|
|
@@ -13583,6 +13687,14 @@ export type ExportDatasetEndpointDatasetsDatasetIdExportGetResponses = {
|
|
|
13583
13687
|
};
|
|
13584
13688
|
export type GetFeaturesGeojsonZEndpointDatasetsDatasetIdFeaturesGeojsonGetData = {
|
|
13585
13689
|
body?: never;
|
|
13690
|
+
headers?: {
|
|
13691
|
+
/**
|
|
13692
|
+
* X-Embed-Token
|
|
13693
|
+
*
|
|
13694
|
+
* Optional embed token. Datasets in the token's scope are authorized even without user credentials (embed viewers).
|
|
13695
|
+
*/
|
|
13696
|
+
'X-Embed-Token'?: string | null;
|
|
13697
|
+
};
|
|
13586
13698
|
path: {
|
|
13587
13699
|
/**
|
|
13588
13700
|
* Dataset Id
|
|
@@ -13696,7 +13808,7 @@ export type ListFeaturesDatasetsDatasetIdFeaturesGetResponses = {
|
|
|
13696
13808
|
/**
|
|
13697
13809
|
* Features
|
|
13698
13810
|
*/
|
|
13699
|
-
features: Array<
|
|
13811
|
+
features: Array<InlineDefGeoJsonFeatureAdc353E4>;
|
|
13700
13812
|
/**
|
|
13701
13813
|
* Links
|
|
13702
13814
|
*/
|
|
@@ -13765,7 +13877,10 @@ export type CreateFeatureDatasetsDatasetIdFeaturesPostResponses = {
|
|
|
13765
13877
|
* A single GeoJSON Feature.
|
|
13766
13878
|
*/
|
|
13767
13879
|
201: {
|
|
13768
|
-
|
|
13880
|
+
/**
|
|
13881
|
+
* Geometry
|
|
13882
|
+
*/
|
|
13883
|
+
geometry?: InlineDefGeoJsonGeometryCollectionD6B7Eb76 | GeoJsonGeometry | null;
|
|
13769
13884
|
/**
|
|
13770
13885
|
* Id
|
|
13771
13886
|
*/
|
|
@@ -13885,7 +14000,10 @@ export type GetSingleFeatureDatasetsDatasetIdFeaturesGidGetResponses = {
|
|
|
13885
14000
|
* A single GeoJSON Feature.
|
|
13886
14001
|
*/
|
|
13887
14002
|
200: {
|
|
13888
|
-
|
|
14003
|
+
/**
|
|
14004
|
+
* Geometry
|
|
14005
|
+
*/
|
|
14006
|
+
geometry?: InlineDefGeoJsonGeometryCollectionD6B7Eb76 | GeoJsonGeometry | null;
|
|
13889
14007
|
/**
|
|
13890
14008
|
* Id
|
|
13891
14009
|
*/
|
|
@@ -13956,7 +14074,10 @@ export type PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses = {
|
|
|
13956
14074
|
* A single GeoJSON Feature.
|
|
13957
14075
|
*/
|
|
13958
14076
|
200: {
|
|
13959
|
-
|
|
14077
|
+
/**
|
|
14078
|
+
* Geometry
|
|
14079
|
+
*/
|
|
14080
|
+
geometry?: InlineDefGeoJsonGeometryCollectionD6B7Eb76 | GeoJsonGeometry | null;
|
|
13960
14081
|
/**
|
|
13961
14082
|
* Id
|
|
13962
14083
|
*/
|
|
@@ -14027,7 +14148,10 @@ export type ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses = {
|
|
|
14027
14148
|
* A single GeoJSON Feature.
|
|
14028
14149
|
*/
|
|
14029
14150
|
200: {
|
|
14030
|
-
|
|
14151
|
+
/**
|
|
14152
|
+
* Geometry
|
|
14153
|
+
*/
|
|
14154
|
+
geometry?: InlineDefGeoJsonGeometryCollectionD6B7Eb76 | GeoJsonGeometry | null;
|
|
14031
14155
|
/**
|
|
14032
14156
|
* Id
|
|
14033
14157
|
*/
|
|
@@ -16581,6 +16705,14 @@ export type ImportMapStyleEndpointMapsImportPostResponses = {
|
|
|
16581
16705
|
export type ImportMapStyleEndpointMapsImportPostResponse = ImportMapStyleEndpointMapsImportPostResponses[keyof ImportMapStyleEndpointMapsImportPostResponses];
|
|
16582
16706
|
export type GetSharedMapEndpointMapsSharedTokenGetData = {
|
|
16583
16707
|
body?: never;
|
|
16708
|
+
headers?: {
|
|
16709
|
+
/**
|
|
16710
|
+
* X-Embed-Token
|
|
16711
|
+
*
|
|
16712
|
+
* Optional embed token — includes its scoped dataset layers when valid for this map.
|
|
16713
|
+
*/
|
|
16714
|
+
'X-Embed-Token'?: string | null;
|
|
16715
|
+
};
|
|
16584
16716
|
path: {
|
|
16585
16717
|
/**
|
|
16586
16718
|
* Token
|
|
@@ -20111,6 +20243,10 @@ export type ClusterTileEndpointTilesClustersTablePathZxyPbfGetData = {
|
|
|
20111
20243
|
* Scope
|
|
20112
20244
|
*/
|
|
20113
20245
|
scope?: string | null;
|
|
20246
|
+
/**
|
|
20247
|
+
* Cols
|
|
20248
|
+
*/
|
|
20249
|
+
cols?: string | null;
|
|
20114
20250
|
/**
|
|
20115
20251
|
* Cluster Radius
|
|
20116
20252
|
*/
|
|
@@ -20307,6 +20443,12 @@ export type GetTileTokenTilesTokenDatasetIdGetResponses = {
|
|
|
20307
20443
|
export type GetTileTokenTilesTokenDatasetIdGetResponse = GetTileTokenTilesTokenDatasetIdGetResponses[keyof GetTileTokenTilesTokenDatasetIdGetResponses];
|
|
20308
20444
|
export type GetTileTokensBatchTilesTokensPostData = {
|
|
20309
20445
|
body: TileTokenBatchRequest;
|
|
20446
|
+
headers?: {
|
|
20447
|
+
/**
|
|
20448
|
+
* X-Embed-Token
|
|
20449
|
+
*/
|
|
20450
|
+
'X-Embed-Token'?: string | null;
|
|
20451
|
+
};
|
|
20310
20452
|
path?: never;
|
|
20311
20453
|
query?: never;
|
|
20312
20454
|
url: '/tiles/tokens/';
|