@geolens/sdk 1.15.1 → 1.16.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.
@@ -4178,7 +4178,7 @@ export type EnterpriseTabsResponse = {
4178
4178
  /**
4179
4179
  * ExportFormat
4180
4180
  */
4181
- export type ExportFormat = 'gpkg' | 'geojson' | 'shp' | 'csv' | 'parquet';
4181
+ export type ExportFormat = 'gpkg' | 'geojson' | 'shp' | 'csv' | 'parquet' | 'fgb' | 'pmtiles';
4182
4182
  /**
4183
4183
  * FacetCountResponse
4184
4184
  *
@@ -4472,15 +4472,6 @@ export type GeoJsonGeometryCollection = {
4472
4472
  */
4473
4473
  geometries: Array<GeoJsonGeometry>;
4474
4474
  };
4475
- /**
4476
- * HTTPValidationError
4477
- */
4478
- export type HttpValidationError = {
4479
- /**
4480
- * Detail
4481
- */
4482
- detail?: Array<ValidationError>;
4483
- };
4484
4475
  /**
4485
4476
  * HealthResponse
4486
4477
  */
@@ -5091,7 +5082,7 @@ export type ManifestSource = {
5091
5082
  /**
5092
5083
  * Type
5093
5084
  *
5094
- * Source modality. Vector sources require zip, gpkg, geojson, json, csv, xlsx, or xls; raster_cog sources require tif or tiff.
5085
+ * Source modality. Vector sources require zip, gpkg, geojson, json, csv, xlsx, xls, fgb, kml, or kmz; raster_cog sources require tif or tiff.
5095
5086
  */
5096
5087
  type: 'vector' | 'raster_cog';
5097
5088
  /**
@@ -5781,6 +5772,21 @@ export type MapResponse = {
5781
5772
  */
5782
5773
  legend_title?: string | null;
5783
5774
  };
5775
+ /**
5776
+ * MapSpriteEntry
5777
+ *
5778
+ * One entry of the MapLibre array-form ``sprite`` ({id, url}).
5779
+ */
5780
+ export type MapSpriteEntry = {
5781
+ /**
5782
+ * Id
5783
+ */
5784
+ id: string;
5785
+ /**
5786
+ * Url
5787
+ */
5788
+ url: string;
5789
+ };
5784
5790
  /**
5785
5791
  * MapStyleImportRequest
5786
5792
  *
@@ -5845,8 +5851,10 @@ export type MapStyleImportRequest = {
5845
5851
  } | null;
5846
5852
  /**
5847
5853
  * Sprite
5854
+ *
5855
+ * MapLibre sprite: base URL string or array of {id, url} entries (the array form is what GeoLens style exports emit)
5848
5856
  */
5849
- sprite?: string | null;
5857
+ sprite?: string | Array<MapSpriteEntry> | null;
5850
5858
  /**
5851
5859
  * Glyphs
5852
5860
  */
@@ -10268,33 +10276,6 @@ export type UserUpdate = {
10268
10276
  */
10269
10277
  role?: string | null;
10270
10278
  };
10271
- /**
10272
- * ValidationError
10273
- */
10274
- export type ValidationError = {
10275
- /**
10276
- * Location
10277
- */
10278
- loc: Array<string | number>;
10279
- /**
10280
- * Message
10281
- */
10282
- msg: string;
10283
- /**
10284
- * Error Type
10285
- */
10286
- type: string;
10287
- /**
10288
- * Input
10289
- */
10290
- input?: unknown;
10291
- /**
10292
- * Context
10293
- */
10294
- ctx?: {
10295
- [key: string]: unknown;
10296
- };
10297
- };
10298
10279
  /**
10299
10280
  * ValidationIssue
10300
10281
  */
@@ -14279,10 +14260,7 @@ export type GetCollectionMetadataCollectionsDatasetsGetResponses = {
14279
14260
  };
14280
14261
  export type GetCollectionMetadataCollectionsDatasetsGetResponse = GetCollectionMetadataCollectionsDatasetsGetResponses[keyof GetCollectionMetadataCollectionsDatasetsGetResponses];
14281
14262
  export type CollectionItemsCollectionsDatasetsItemsGetData = {
14282
- /**
14283
- * Keywords
14284
- */
14285
- body?: Array<string> | null;
14263
+ body?: never;
14286
14264
  path?: never;
14287
14265
  query?: {
14288
14266
  /**
@@ -14377,10 +14355,6 @@ export type CollectionItemsCollectionsDatasetsItemsGetData = {
14377
14355
  * Filter
14378
14356
  */
14379
14357
  filter?: string | null;
14380
- /**
14381
- * Cql2 Filter Lang
14382
- */
14383
- cql2_filter_lang?: string;
14384
14358
  /**
14385
14359
  * Datetime
14386
14360
  */
@@ -14401,6 +14375,18 @@ export type CollectionItemsCollectionsDatasetsItemsGetData = {
14401
14375
  * Collection Id
14402
14376
  */
14403
14377
  collection_id?: string | null;
14378
+ /**
14379
+ * Keywords
14380
+ *
14381
+ * Filter by keywords
14382
+ */
14383
+ keywords?: Array<string> | null;
14384
+ /**
14385
+ * Filter-Lang
14386
+ *
14387
+ * Filter language: cql2-text or cql2-json
14388
+ */
14389
+ 'filter-lang'?: string;
14404
14390
  };
14405
14391
  url: '/collections/datasets/items';
14406
14392
  };
@@ -14687,6 +14673,24 @@ export type GetCollectionItemsCollectionsDatasetIdItemsGetData = {
14687
14673
  * Include geometry in response. Set to false for attribute-only queries.
14688
14674
  */
14689
14675
  include_geometry?: boolean;
14676
+ /**
14677
+ * Filter
14678
+ *
14679
+ * CQL2 filter expression evaluated server-side against this collection's queryables document (feat(#1614), OGC Features Part 3). Combines with bbox and property filters by AND.
14680
+ */
14681
+ filter?: string | null;
14682
+ /**
14683
+ * Filter-Lang
14684
+ *
14685
+ * Filter language: cql2-text (default) or cql2-json.
14686
+ */
14687
+ 'filter-lang'?: string;
14688
+ /**
14689
+ * Filter-Crs
14690
+ *
14691
+ * CRS of filter geometries. Only CRS84 (http://www.opengis.net/def/crs/OGC/1.3/CRS84) is supported.
14692
+ */
14693
+ 'filter-crs'?: string | null;
14690
14694
  };
14691
14695
  url: '/collections/{dataset_id}/items';
14692
14696
  };
@@ -14788,6 +14792,13 @@ export type GetCollectionItemsCollectionsDatasetIdItemsGetResponses = {
14788
14792
  title?: string | null;
14789
14793
  }>;
14790
14794
  };
14795
+ /**
14796
+ * Dataset table is cold and being rehydrated (multi-tenant); poll the job and retry.
14797
+ */
14798
+ 202: {
14799
+ status?: string;
14800
+ job_id?: string;
14801
+ };
14791
14802
  };
14792
14803
  export type GetCollectionItemsCollectionsDatasetIdItemsGetResponse = GetCollectionItemsCollectionsDatasetIdItemsGetResponses[keyof GetCollectionItemsCollectionsDatasetIdItemsGetResponses];
14793
14804
  export type GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetData = {
@@ -14909,8 +14920,72 @@ export type GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetRespons
14909
14920
  title?: string | null;
14910
14921
  }>;
14911
14922
  };
14923
+ /**
14924
+ * Dataset table is cold and being rehydrated (multi-tenant); poll the job and retry.
14925
+ */
14926
+ 202: {
14927
+ status?: string;
14928
+ job_id?: string;
14929
+ };
14912
14930
  };
14913
14931
  export type GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetResponse = GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetResponses[keyof GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetResponses];
14932
+ export type GetCollectionQueryablesCollectionsDatasetIdQueryablesGetData = {
14933
+ body?: never;
14934
+ path: {
14935
+ /**
14936
+ * Dataset Id
14937
+ */
14938
+ dataset_id: string;
14939
+ };
14940
+ query?: {
14941
+ /**
14942
+ * F
14943
+ */
14944
+ f?: string | null;
14945
+ };
14946
+ url: '/collections/{dataset_id}/queryables';
14947
+ };
14948
+ export type GetCollectionQueryablesCollectionsDatasetIdQueryablesGetErrors = {
14949
+ /**
14950
+ * Bad request — invalid query parameters or payload
14951
+ */
14952
+ 400: ProblemDetail;
14953
+ /**
14954
+ * Unauthenticated — a credential was supplied and could not be resolved (expired, revoked, or malformed). Sending no credential at all is not an error on these operations; they answer anonymously with the public subset. Neither is sending an unresolvable credential alongside a capability that authorizes the request on its own — a valid X-Embed-Token or a valid signed tile template (sig, exp, scope). Those are served and the unrelated credential is ignored.
14955
+ */
14956
+ 401: ProblemDetail;
14957
+ /**
14958
+ * Not found
14959
+ */
14960
+ 404: ProblemDetail;
14961
+ /**
14962
+ * Too many requests — retry after the advertised interval
14963
+ */
14964
+ 429: ProblemDetail;
14965
+ /**
14966
+ * Internal server error
14967
+ */
14968
+ 500: ProblemDetail;
14969
+ /**
14970
+ * Service unavailable — the database could not serve the request
14971
+ */
14972
+ 503: ProblemDetail;
14973
+ };
14974
+ export type GetCollectionQueryablesCollectionsDatasetIdQueryablesGetError = GetCollectionQueryablesCollectionsDatasetIdQueryablesGetErrors[keyof GetCollectionQueryablesCollectionsDatasetIdQueryablesGetErrors];
14975
+ export type GetCollectionQueryablesCollectionsDatasetIdQueryablesGetResponses = {
14976
+ /**
14977
+ * Successful Response
14978
+ */
14979
+ 200: unknown;
14980
+ /**
14981
+ * Dataset table is cold and being rehydrated (multi-tenant); poll the job and retry.
14982
+ */
14983
+ 202: {
14984
+ status?: string;
14985
+ job_id?: string;
14986
+ };
14987
+ };
14988
+ export type GetCollectionQueryablesCollectionsDatasetIdQueryablesGetResponse = GetCollectionQueryablesCollectionsDatasetIdQueryablesGetResponses[keyof GetCollectionQueryablesCollectionsDatasetIdQueryablesGetResponses];
14914
14989
  export type DryRunConfigurationConfigOpsDryRunPostData = {
14915
14990
  body: ConfigImportRequest;
14916
14991
  path?: never;
@@ -16597,9 +16672,9 @@ export type ExportDatasetEndpointDatasetsDatasetIdExportGetErrors = {
16597
16672
  */
16598
16673
  413: ProblemDetail;
16599
16674
  /**
16600
- * Validation Error
16675
+ * Validation error
16601
16676
  */
16602
- 422: HttpValidationError;
16677
+ 422: ProblemDetail;
16603
16678
  /**
16604
16679
  * Too many requests — retry after the advertised interval
16605
16680
  */
@@ -22097,10 +22172,13 @@ export type ExportMapStyleEndpointMapsMapIdStyleJsonGetErrors = {
22097
22172
  export type ExportMapStyleEndpointMapsMapIdStyleJsonGetError = ExportMapStyleEndpointMapsMapIdStyleJsonGetErrors[keyof ExportMapStyleEndpointMapsMapIdStyleJsonGetErrors];
22098
22173
  export type ExportMapStyleEndpointMapsMapIdStyleJsonGetResponses = {
22099
22174
  /**
22100
- * Successful Response
22175
+ * MapLibre style document (https://maplibre.org/maplibre-style-spec/)
22101
22176
  */
22102
- 200: unknown;
22177
+ 200: {
22178
+ [key: string]: unknown;
22179
+ };
22103
22180
  };
22181
+ export type ExportMapStyleEndpointMapsMapIdStyleJsonGetResponse = ExportMapStyleEndpointMapsMapIdStyleJsonGetResponses[keyof ExportMapStyleEndpointMapsMapIdStyleJsonGetResponses];
22104
22182
  export type GetThumbnailMapsMapIdThumbnailGetData = {
22105
22183
  body?: never;
22106
22184
  path: {
@@ -23193,94 +23271,139 @@ export type UpsertTranslationEndpointRecordsRecordIdTranslationsLanguagePutRespo
23193
23271
  };
23194
23272
  export type UpsertTranslationEndpointRecordsRecordIdTranslationsLanguagePutResponse = UpsertTranslationEndpointRecordsRecordIdTranslationsLanguagePutResponses[keyof UpsertTranslationEndpointRecordsRecordIdTranslationsLanguagePutResponses];
23195
23273
  export type SearchDatasetsEndpointSearchDatasetsGetData = {
23196
- /**
23197
- * Keywords
23198
- */
23199
- body?: Array<string> | null;
23274
+ body?: never;
23200
23275
  path?: never;
23201
23276
  query?: {
23202
23277
  /**
23203
23278
  * Q
23279
+ *
23280
+ * Full-text search query
23204
23281
  */
23205
23282
  q?: string | null;
23206
23283
  /**
23207
23284
  * Bbox
23285
+ *
23286
+ * Bounding box: minx,miny,maxx,maxy
23208
23287
  */
23209
23288
  bbox?: string | null;
23289
+ /**
23290
+ * Keywords
23291
+ *
23292
+ * Filter by keywords
23293
+ */
23294
+ keywords?: Array<string> | null;
23210
23295
  /**
23211
23296
  * Geometry Type
23297
+ *
23298
+ * Filter by geometry type
23212
23299
  */
23213
23300
  geometry_type?: string | null;
23214
23301
  /**
23215
23302
  * Srid
23303
+ *
23304
+ * Filter by SRID
23216
23305
  */
23217
23306
  srid?: number | null;
23218
23307
  /**
23219
23308
  * Source Organization
23309
+ *
23310
+ * Filter by source organization
23220
23311
  */
23221
23312
  source_organization?: string | null;
23222
23313
  /**
23223
23314
  * Record Type
23315
+ *
23316
+ * Filter by record type (vector_dataset, raster_dataset)
23224
23317
  */
23225
23318
  record_type?: string | null;
23226
23319
  /**
23227
23320
  * Date From
23321
+ *
23322
+ * Filter created_at >=
23228
23323
  */
23229
23324
  date_from?: string | null;
23230
23325
  /**
23231
23326
  * Date To
23327
+ *
23328
+ * Filter created_at <=
23232
23329
  */
23233
23330
  date_to?: string | null;
23234
23331
  /**
23235
23332
  * Vintage Start
23333
+ *
23334
+ * Filter data_vintage_start >=
23236
23335
  */
23237
23336
  vintage_start?: string | null;
23238
23337
  /**
23239
23338
  * Vintage End
23339
+ *
23340
+ * Filter data_vintage_end <=
23240
23341
  */
23241
23342
  vintage_end?: string | null;
23242
23343
  /**
23243
23344
  * Sort By
23345
+ *
23346
+ * Sort: relevance, date_added, name, last_updated
23244
23347
  */
23245
23348
  sort_by?: string;
23246
23349
  /**
23247
23350
  * Sort Desc
23351
+ *
23352
+ * Sort direction override
23248
23353
  */
23249
23354
  sort_desc?: boolean | null;
23250
23355
  /**
23251
23356
  * Offset
23357
+ *
23358
+ * Pagination offset
23252
23359
  */
23253
23360
  offset?: number;
23254
23361
  /**
23255
23362
  * Limit
23363
+ *
23364
+ * Page size. Values above the maximum (200) are clamped to it rather than rejected, per OGC API Features Core /req/core/fc-limit-response-1(C).
23256
23365
  */
23257
23366
  limit?: number;
23258
23367
  /**
23259
23368
  * Filter
23369
+ *
23370
+ * CQL2 filter expression
23260
23371
  */
23261
23372
  filter?: string | null;
23262
23373
  /**
23263
- * Cql2 Filter Lang
23374
+ * Filter-Lang
23375
+ *
23376
+ * Filter language: cql2-text or cql2-json
23264
23377
  */
23265
- cql2_filter_lang?: string;
23378
+ 'filter-lang'?: string;
23266
23379
  /**
23267
23380
  * Datetime
23381
+ *
23382
+ * OGC datetime interval: instant, start/end, ../end, start/..
23268
23383
  */
23269
23384
  datetime?: string | null;
23270
23385
  /**
23271
23386
  * Exclude Synthetic
23387
+ *
23388
+ * Exclude synthetic/test datasets
23272
23389
  */
23273
23390
  exclude_synthetic?: boolean;
23274
23391
  /**
23275
23392
  * Spatial Predicate
23393
+ *
23394
+ * Spatial predicate: intersects or within
23276
23395
  */
23277
23396
  spatial_predicate?: 'intersects' | 'within';
23278
23397
  /**
23279
23398
  * Geometry
23399
+ *
23400
+ * GeoJSON geometry for spatial filter
23280
23401
  */
23281
23402
  geometry?: string | null;
23282
23403
  /**
23283
23404
  * Collection Id
23405
+ *
23406
+ * Filter by collection membership
23284
23407
  */
23285
23408
  collection_id?: string | null;
23286
23409
  };
@@ -23296,9 +23419,9 @@ export type SearchDatasetsEndpointSearchDatasetsGetErrors = {
23296
23419
  */
23297
23420
  401: ProblemDetail;
23298
23421
  /**
23299
- * Validation Error
23422
+ * Validation error
23300
23423
  */
23301
- 422: HttpValidationError;
23424
+ 422: ProblemDetail;
23302
23425
  /**
23303
23426
  * Too many requests — retry after the advertised interval
23304
23427
  */
@@ -23399,9 +23522,9 @@ export type SearchFacetsEndpointSearchFacetsGetErrors = {
23399
23522
  */
23400
23523
  401: ProblemDetail;
23401
23524
  /**
23402
- * Validation Error
23525
+ * Validation error
23403
23526
  */
23404
- 422: HttpValidationError;
23527
+ 422: ProblemDetail;
23405
23528
  /**
23406
23529
  * Too many requests — retry after the advertised interval
23407
23530
  */
@@ -23440,9 +23563,9 @@ export type ListSavedSearchesEndpointSearchSavedGetData = {
23440
23563
  };
23441
23564
  export type ListSavedSearchesEndpointSearchSavedGetErrors = {
23442
23565
  /**
23443
- * Validation Error
23566
+ * Validation error
23444
23567
  */
23445
- 422: HttpValidationError;
23568
+ 422: ProblemDetail;
23446
23569
  /**
23447
23570
  * Too many requests — retry after the advertised interval
23448
23571
  */
@@ -23472,9 +23595,9 @@ export type CreateSavedSearchEndpointSearchSavedPostData = {
23472
23595
  };
23473
23596
  export type CreateSavedSearchEndpointSearchSavedPostErrors = {
23474
23597
  /**
23475
- * Validation Error
23598
+ * Validation error
23476
23599
  */
23477
- 422: HttpValidationError;
23600
+ 422: ProblemDetail;
23478
23601
  /**
23479
23602
  * Too many requests — retry after the advertised interval
23480
23603
  */
@@ -23513,9 +23636,9 @@ export type DeleteSavedSearchEndpointSearchSavedSearchIdDeleteErrors = {
23513
23636
  */
23514
23637
  404: ProblemDetail;
23515
23638
  /**
23516
- * Validation Error
23639
+ * Validation error
23517
23640
  */
23518
- 422: HttpValidationError;
23641
+ 422: ProblemDetail;
23519
23642
  /**
23520
23643
  * Too many requests — retry after the advertised interval
23521
23644
  */
@@ -23554,9 +23677,9 @@ export type GetSavedSearchEndpointSearchSavedSearchIdGetErrors = {
23554
23677
  */
23555
23678
  404: ProblemDetail;
23556
23679
  /**
23557
- * Validation Error
23680
+ * Validation error
23558
23681
  */
23559
- 422: HttpValidationError;
23682
+ 422: ProblemDetail;
23560
23683
  /**
23561
23684
  * Too many requests — retry after the advertised interval
23562
23685
  */