@geolens/sdk 1.15.1 → 1.16.1

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
  *
@@ -4355,6 +4355,10 @@ export type FeatureFlagsResponse = {
4355
4355
  * Require Metadata For Publish
4356
4356
  */
4357
4357
  require_metadata_for_publish?: boolean;
4358
+ /**
4359
+ * Restrict Public Visibility
4360
+ */
4361
+ restrict_public_visibility?: boolean;
4358
4362
  };
4359
4363
  /**
4360
4364
  * FeatureReplace
@@ -4472,15 +4476,6 @@ export type GeoJsonGeometryCollection = {
4472
4476
  */
4473
4477
  geometries: Array<GeoJsonGeometry>;
4474
4478
  };
4475
- /**
4476
- * HTTPValidationError
4477
- */
4478
- export type HttpValidationError = {
4479
- /**
4480
- * Detail
4481
- */
4482
- detail?: Array<ValidationError>;
4483
- };
4484
4479
  /**
4485
4480
  * HealthResponse
4486
4481
  */
@@ -5091,7 +5086,7 @@ export type ManifestSource = {
5091
5086
  /**
5092
5087
  * Type
5093
5088
  *
5094
- * Source modality. Vector sources require zip, gpkg, geojson, json, csv, xlsx, or xls; raster_cog sources require tif or tiff.
5089
+ * Source modality. Vector sources require zip, gpkg, geojson, json, csv, xlsx, xls, fgb, kml, or kmz; raster_cog sources require tif or tiff.
5095
5090
  */
5096
5091
  type: 'vector' | 'raster_cog';
5097
5092
  /**
@@ -5781,6 +5776,21 @@ export type MapResponse = {
5781
5776
  */
5782
5777
  legend_title?: string | null;
5783
5778
  };
5779
+ /**
5780
+ * MapSpriteEntry
5781
+ *
5782
+ * One entry of the MapLibre array-form ``sprite`` ({id, url}).
5783
+ */
5784
+ export type MapSpriteEntry = {
5785
+ /**
5786
+ * Id
5787
+ */
5788
+ id: string;
5789
+ /**
5790
+ * Url
5791
+ */
5792
+ url: string;
5793
+ };
5784
5794
  /**
5785
5795
  * MapStyleImportRequest
5786
5796
  *
@@ -5845,8 +5855,10 @@ export type MapStyleImportRequest = {
5845
5855
  } | null;
5846
5856
  /**
5847
5857
  * Sprite
5858
+ *
5859
+ * MapLibre sprite: base URL string or array of {id, url} entries (the array form is what GeoLens style exports emit)
5848
5860
  */
5849
- sprite?: string | null;
5861
+ sprite?: string | Array<MapSpriteEntry> | null;
5850
5862
  /**
5851
5863
  * Glyphs
5852
5864
  */
@@ -9142,6 +9154,12 @@ export type StacImportItem = {
9142
9154
  * The asset key on the item, echoed from search results.
9143
9155
  */
9144
9156
  data_asset_key?: string | null;
9157
+ /**
9158
+ * Data Asset Type
9159
+ *
9160
+ * Media type of the data asset, echoed from search results.
9161
+ */
9162
+ data_asset_type?: string | null;
9145
9163
  /**
9146
9164
  * Bbox
9147
9165
  *
@@ -10268,33 +10286,6 @@ export type UserUpdate = {
10268
10286
  */
10269
10287
  role?: string | null;
10270
10288
  };
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
10289
  /**
10299
10290
  * ValidationIssue
10300
10291
  */
@@ -14279,10 +14270,7 @@ export type GetCollectionMetadataCollectionsDatasetsGetResponses = {
14279
14270
  };
14280
14271
  export type GetCollectionMetadataCollectionsDatasetsGetResponse = GetCollectionMetadataCollectionsDatasetsGetResponses[keyof GetCollectionMetadataCollectionsDatasetsGetResponses];
14281
14272
  export type CollectionItemsCollectionsDatasetsItemsGetData = {
14282
- /**
14283
- * Keywords
14284
- */
14285
- body?: Array<string> | null;
14273
+ body?: never;
14286
14274
  path?: never;
14287
14275
  query?: {
14288
14276
  /**
@@ -14377,10 +14365,6 @@ export type CollectionItemsCollectionsDatasetsItemsGetData = {
14377
14365
  * Filter
14378
14366
  */
14379
14367
  filter?: string | null;
14380
- /**
14381
- * Cql2 Filter Lang
14382
- */
14383
- cql2_filter_lang?: string;
14384
14368
  /**
14385
14369
  * Datetime
14386
14370
  */
@@ -14401,6 +14385,18 @@ export type CollectionItemsCollectionsDatasetsItemsGetData = {
14401
14385
  * Collection Id
14402
14386
  */
14403
14387
  collection_id?: string | null;
14388
+ /**
14389
+ * Keywords
14390
+ *
14391
+ * Filter by keywords
14392
+ */
14393
+ keywords?: Array<string> | null;
14394
+ /**
14395
+ * Filter-Lang
14396
+ *
14397
+ * Filter language: cql2-text or cql2-json
14398
+ */
14399
+ 'filter-lang'?: string;
14404
14400
  };
14405
14401
  url: '/collections/datasets/items';
14406
14402
  };
@@ -14687,6 +14683,24 @@ export type GetCollectionItemsCollectionsDatasetIdItemsGetData = {
14687
14683
  * Include geometry in response. Set to false for attribute-only queries.
14688
14684
  */
14689
14685
  include_geometry?: boolean;
14686
+ /**
14687
+ * Filter
14688
+ *
14689
+ * 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.
14690
+ */
14691
+ filter?: string | null;
14692
+ /**
14693
+ * Filter-Lang
14694
+ *
14695
+ * Filter language: cql2-text (default) or cql2-json.
14696
+ */
14697
+ 'filter-lang'?: string;
14698
+ /**
14699
+ * Filter-Crs
14700
+ *
14701
+ * CRS of filter geometries. Only CRS84 (http://www.opengis.net/def/crs/OGC/1.3/CRS84) is supported.
14702
+ */
14703
+ 'filter-crs'?: string | null;
14690
14704
  };
14691
14705
  url: '/collections/{dataset_id}/items';
14692
14706
  };
@@ -14788,6 +14802,13 @@ export type GetCollectionItemsCollectionsDatasetIdItemsGetResponses = {
14788
14802
  title?: string | null;
14789
14803
  }>;
14790
14804
  };
14805
+ /**
14806
+ * Dataset table is cold and being rehydrated (multi-tenant); poll the job and retry.
14807
+ */
14808
+ 202: {
14809
+ status?: string;
14810
+ job_id?: string;
14811
+ };
14791
14812
  };
14792
14813
  export type GetCollectionItemsCollectionsDatasetIdItemsGetResponse = GetCollectionItemsCollectionsDatasetIdItemsGetResponses[keyof GetCollectionItemsCollectionsDatasetIdItemsGetResponses];
14793
14814
  export type GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetData = {
@@ -14909,8 +14930,72 @@ export type GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetRespons
14909
14930
  title?: string | null;
14910
14931
  }>;
14911
14932
  };
14933
+ /**
14934
+ * Dataset table is cold and being rehydrated (multi-tenant); poll the job and retry.
14935
+ */
14936
+ 202: {
14937
+ status?: string;
14938
+ job_id?: string;
14939
+ };
14912
14940
  };
14913
14941
  export type GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetResponse = GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetResponses[keyof GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetResponses];
14942
+ export type GetCollectionQueryablesCollectionsDatasetIdQueryablesGetData = {
14943
+ body?: never;
14944
+ path: {
14945
+ /**
14946
+ * Dataset Id
14947
+ */
14948
+ dataset_id: string;
14949
+ };
14950
+ query?: {
14951
+ /**
14952
+ * F
14953
+ */
14954
+ f?: string | null;
14955
+ };
14956
+ url: '/collections/{dataset_id}/queryables';
14957
+ };
14958
+ export type GetCollectionQueryablesCollectionsDatasetIdQueryablesGetErrors = {
14959
+ /**
14960
+ * Bad request — invalid query parameters or payload
14961
+ */
14962
+ 400: ProblemDetail;
14963
+ /**
14964
+ * 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.
14965
+ */
14966
+ 401: ProblemDetail;
14967
+ /**
14968
+ * Not found
14969
+ */
14970
+ 404: ProblemDetail;
14971
+ /**
14972
+ * Too many requests — retry after the advertised interval
14973
+ */
14974
+ 429: ProblemDetail;
14975
+ /**
14976
+ * Internal server error
14977
+ */
14978
+ 500: ProblemDetail;
14979
+ /**
14980
+ * Service unavailable — the database could not serve the request
14981
+ */
14982
+ 503: ProblemDetail;
14983
+ };
14984
+ export type GetCollectionQueryablesCollectionsDatasetIdQueryablesGetError = GetCollectionQueryablesCollectionsDatasetIdQueryablesGetErrors[keyof GetCollectionQueryablesCollectionsDatasetIdQueryablesGetErrors];
14985
+ export type GetCollectionQueryablesCollectionsDatasetIdQueryablesGetResponses = {
14986
+ /**
14987
+ * Successful Response
14988
+ */
14989
+ 200: unknown;
14990
+ /**
14991
+ * Dataset table is cold and being rehydrated (multi-tenant); poll the job and retry.
14992
+ */
14993
+ 202: {
14994
+ status?: string;
14995
+ job_id?: string;
14996
+ };
14997
+ };
14998
+ export type GetCollectionQueryablesCollectionsDatasetIdQueryablesGetResponse = GetCollectionQueryablesCollectionsDatasetIdQueryablesGetResponses[keyof GetCollectionQueryablesCollectionsDatasetIdQueryablesGetResponses];
14914
14999
  export type DryRunConfigurationConfigOpsDryRunPostData = {
14915
15000
  body: ConfigImportRequest;
14916
15001
  path?: never;
@@ -16597,9 +16682,9 @@ export type ExportDatasetEndpointDatasetsDatasetIdExportGetErrors = {
16597
16682
  */
16598
16683
  413: ProblemDetail;
16599
16684
  /**
16600
- * Validation Error
16685
+ * Validation error
16601
16686
  */
16602
- 422: HttpValidationError;
16687
+ 422: ProblemDetail;
16603
16688
  /**
16604
16689
  * Too many requests — retry after the advertised interval
16605
16690
  */
@@ -22097,10 +22182,13 @@ export type ExportMapStyleEndpointMapsMapIdStyleJsonGetErrors = {
22097
22182
  export type ExportMapStyleEndpointMapsMapIdStyleJsonGetError = ExportMapStyleEndpointMapsMapIdStyleJsonGetErrors[keyof ExportMapStyleEndpointMapsMapIdStyleJsonGetErrors];
22098
22183
  export type ExportMapStyleEndpointMapsMapIdStyleJsonGetResponses = {
22099
22184
  /**
22100
- * Successful Response
22185
+ * MapLibre style document (https://maplibre.org/maplibre-style-spec/)
22101
22186
  */
22102
- 200: unknown;
22187
+ 200: {
22188
+ [key: string]: unknown;
22189
+ };
22103
22190
  };
22191
+ export type ExportMapStyleEndpointMapsMapIdStyleJsonGetResponse = ExportMapStyleEndpointMapsMapIdStyleJsonGetResponses[keyof ExportMapStyleEndpointMapsMapIdStyleJsonGetResponses];
22104
22192
  export type GetThumbnailMapsMapIdThumbnailGetData = {
22105
22193
  body?: never;
22106
22194
  path: {
@@ -23193,94 +23281,139 @@ export type UpsertTranslationEndpointRecordsRecordIdTranslationsLanguagePutRespo
23193
23281
  };
23194
23282
  export type UpsertTranslationEndpointRecordsRecordIdTranslationsLanguagePutResponse = UpsertTranslationEndpointRecordsRecordIdTranslationsLanguagePutResponses[keyof UpsertTranslationEndpointRecordsRecordIdTranslationsLanguagePutResponses];
23195
23283
  export type SearchDatasetsEndpointSearchDatasetsGetData = {
23196
- /**
23197
- * Keywords
23198
- */
23199
- body?: Array<string> | null;
23284
+ body?: never;
23200
23285
  path?: never;
23201
23286
  query?: {
23202
23287
  /**
23203
23288
  * Q
23289
+ *
23290
+ * Full-text search query
23204
23291
  */
23205
23292
  q?: string | null;
23206
23293
  /**
23207
23294
  * Bbox
23295
+ *
23296
+ * Bounding box: minx,miny,maxx,maxy
23208
23297
  */
23209
23298
  bbox?: string | null;
23299
+ /**
23300
+ * Keywords
23301
+ *
23302
+ * Filter by keywords
23303
+ */
23304
+ keywords?: Array<string> | null;
23210
23305
  /**
23211
23306
  * Geometry Type
23307
+ *
23308
+ * Filter by geometry type
23212
23309
  */
23213
23310
  geometry_type?: string | null;
23214
23311
  /**
23215
23312
  * Srid
23313
+ *
23314
+ * Filter by SRID
23216
23315
  */
23217
23316
  srid?: number | null;
23218
23317
  /**
23219
23318
  * Source Organization
23319
+ *
23320
+ * Filter by source organization
23220
23321
  */
23221
23322
  source_organization?: string | null;
23222
23323
  /**
23223
23324
  * Record Type
23325
+ *
23326
+ * Filter by record type (vector_dataset, raster_dataset)
23224
23327
  */
23225
23328
  record_type?: string | null;
23226
23329
  /**
23227
23330
  * Date From
23331
+ *
23332
+ * Filter created_at >=
23228
23333
  */
23229
23334
  date_from?: string | null;
23230
23335
  /**
23231
23336
  * Date To
23337
+ *
23338
+ * Filter created_at <=
23232
23339
  */
23233
23340
  date_to?: string | null;
23234
23341
  /**
23235
23342
  * Vintage Start
23343
+ *
23344
+ * Filter data_vintage_start >=
23236
23345
  */
23237
23346
  vintage_start?: string | null;
23238
23347
  /**
23239
23348
  * Vintage End
23349
+ *
23350
+ * Filter data_vintage_end <=
23240
23351
  */
23241
23352
  vintage_end?: string | null;
23242
23353
  /**
23243
23354
  * Sort By
23355
+ *
23356
+ * Sort: relevance, date_added, name, last_updated
23244
23357
  */
23245
23358
  sort_by?: string;
23246
23359
  /**
23247
23360
  * Sort Desc
23361
+ *
23362
+ * Sort direction override
23248
23363
  */
23249
23364
  sort_desc?: boolean | null;
23250
23365
  /**
23251
23366
  * Offset
23367
+ *
23368
+ * Pagination offset
23252
23369
  */
23253
23370
  offset?: number;
23254
23371
  /**
23255
23372
  * Limit
23373
+ *
23374
+ * 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
23375
  */
23257
23376
  limit?: number;
23258
23377
  /**
23259
23378
  * Filter
23379
+ *
23380
+ * CQL2 filter expression
23260
23381
  */
23261
23382
  filter?: string | null;
23262
23383
  /**
23263
- * Cql2 Filter Lang
23384
+ * Filter-Lang
23385
+ *
23386
+ * Filter language: cql2-text or cql2-json
23264
23387
  */
23265
- cql2_filter_lang?: string;
23388
+ 'filter-lang'?: string;
23266
23389
  /**
23267
23390
  * Datetime
23391
+ *
23392
+ * OGC datetime interval: instant, start/end, ../end, start/..
23268
23393
  */
23269
23394
  datetime?: string | null;
23270
23395
  /**
23271
23396
  * Exclude Synthetic
23397
+ *
23398
+ * Exclude synthetic/test datasets
23272
23399
  */
23273
23400
  exclude_synthetic?: boolean;
23274
23401
  /**
23275
23402
  * Spatial Predicate
23403
+ *
23404
+ * Spatial predicate: intersects or within
23276
23405
  */
23277
23406
  spatial_predicate?: 'intersects' | 'within';
23278
23407
  /**
23279
23408
  * Geometry
23409
+ *
23410
+ * GeoJSON geometry for spatial filter
23280
23411
  */
23281
23412
  geometry?: string | null;
23282
23413
  /**
23283
23414
  * Collection Id
23415
+ *
23416
+ * Filter by collection membership
23284
23417
  */
23285
23418
  collection_id?: string | null;
23286
23419
  };
@@ -23296,9 +23429,9 @@ export type SearchDatasetsEndpointSearchDatasetsGetErrors = {
23296
23429
  */
23297
23430
  401: ProblemDetail;
23298
23431
  /**
23299
- * Validation Error
23432
+ * Validation error
23300
23433
  */
23301
- 422: HttpValidationError;
23434
+ 422: ProblemDetail;
23302
23435
  /**
23303
23436
  * Too many requests — retry after the advertised interval
23304
23437
  */
@@ -23399,9 +23532,9 @@ export type SearchFacetsEndpointSearchFacetsGetErrors = {
23399
23532
  */
23400
23533
  401: ProblemDetail;
23401
23534
  /**
23402
- * Validation Error
23535
+ * Validation error
23403
23536
  */
23404
- 422: HttpValidationError;
23537
+ 422: ProblemDetail;
23405
23538
  /**
23406
23539
  * Too many requests — retry after the advertised interval
23407
23540
  */
@@ -23440,9 +23573,9 @@ export type ListSavedSearchesEndpointSearchSavedGetData = {
23440
23573
  };
23441
23574
  export type ListSavedSearchesEndpointSearchSavedGetErrors = {
23442
23575
  /**
23443
- * Validation Error
23576
+ * Validation error
23444
23577
  */
23445
- 422: HttpValidationError;
23578
+ 422: ProblemDetail;
23446
23579
  /**
23447
23580
  * Too many requests — retry after the advertised interval
23448
23581
  */
@@ -23472,9 +23605,9 @@ export type CreateSavedSearchEndpointSearchSavedPostData = {
23472
23605
  };
23473
23606
  export type CreateSavedSearchEndpointSearchSavedPostErrors = {
23474
23607
  /**
23475
- * Validation Error
23608
+ * Validation error
23476
23609
  */
23477
- 422: HttpValidationError;
23610
+ 422: ProblemDetail;
23478
23611
  /**
23479
23612
  * Too many requests — retry after the advertised interval
23480
23613
  */
@@ -23513,9 +23646,9 @@ export type DeleteSavedSearchEndpointSearchSavedSearchIdDeleteErrors = {
23513
23646
  */
23514
23647
  404: ProblemDetail;
23515
23648
  /**
23516
- * Validation Error
23649
+ * Validation error
23517
23650
  */
23518
- 422: HttpValidationError;
23651
+ 422: ProblemDetail;
23519
23652
  /**
23520
23653
  * Too many requests — retry after the advertised interval
23521
23654
  */
@@ -23554,9 +23687,9 @@ export type GetSavedSearchEndpointSearchSavedSearchIdGetErrors = {
23554
23687
  */
23555
23688
  404: ProblemDetail;
23556
23689
  /**
23557
- * Validation Error
23690
+ * Validation error
23558
23691
  */
23559
- 422: HttpValidationError;
23692
+ 422: ProblemDetail;
23560
23693
  /**
23561
23694
  * Too many requests — retry after the advertised interval
23562
23695
  */