@geolens/sdk 1.19.1 → 1.21.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.
@@ -4,12 +4,10 @@ export type ClientOptions = {
4
4
  /**
5
5
  * AIAvailabilityResponse
6
6
  *
7
- * Public-safe AI readiness signal (#338).
7
+ * Public-safe AI readiness signal.
8
8
  *
9
- * Carries a single boolean and intentionally exposes NO provider name, model,
10
- * or key detail — it is readable by any non-admin editor holding
11
- * ``use_ai_chat`` so the builder can enable/disable chat without the
12
- * admin-only ``/admin/ai-status`` endpoint (which leaks provider/key info).
9
+ * The response exposes no provider, model, or key details. Editors with
10
+ * ``use_ai_chat`` can use it without access to the admin-only AI status.
13
11
  */
14
12
  export type AiAvailabilityResponse = {
15
13
  /**
@@ -153,7 +151,7 @@ export type AdminApiKeyCreateRequest = {
153
151
  /**
154
152
  * Scope
155
153
  *
156
- * Privilege scope (#875). 'full' impersonates the owner completely, the pre-existing behavior. 'read_only' authenticates GET, HEAD and OPTIONS requests only; any other method is refused with 403. A service-account key minted for an application is the usual case for 'read_only'.
154
+ * Privilege scope. 'full' impersonates the owner completely. 'read_only' authenticates GET, HEAD and OPTIONS requests only; any other method is refused with 403. A service-account key minted for an application is the usual case for 'read_only'.
157
155
  */
158
156
  scope?: 'full' | 'read_only';
159
157
  };
@@ -200,7 +198,7 @@ export type AdminApiKeyListItem = {
200
198
  /**
201
199
  * Scope
202
200
  *
203
- * Privilege scope: 'full' or 'read_only' (#875).
201
+ * Privilege scope: 'full' or 'read_only'.
204
202
  */
205
203
  scope: string;
206
204
  /**
@@ -333,7 +331,7 @@ export type AdminJobResponse = {
333
331
  /**
334
332
  * Status
335
333
  *
336
- * Current job status: 'pending', 'running', 'complete', 'failed', or 'cancelled'.
334
+ * Current job status: 'pending', 'running', 'complete', 'failed', 'cancelled', or 'fanned_out' (a multi-layer upload split into per-layer child jobs).
337
335
  */
338
336
  status: 'pending' | 'running' | 'complete' | 'failed' | 'cancelled' | 'fanned_out';
339
337
  /**
@@ -354,6 +352,12 @@ export type AdminJobResponse = {
354
352
  * Error details if the job failed.
355
353
  */
356
354
  error_message: string | null;
355
+ /**
356
+ * Error Code
357
+ *
358
+ * Stable code for a fixed failure reason, so a client can show it in the reader's language; `error_message` keeps its English text. Null when the reason is free text.
359
+ */
360
+ error_code?: string | null;
357
361
  /**
358
362
  * Can Retry
359
363
  *
@@ -369,7 +373,7 @@ export type AdminJobResponse = {
369
373
  /**
370
374
  * User Metadata
371
375
  *
372
- * User-supplied metadata captured at upload time (title, summary, tags, vrt_type, file_type, warnings, etc.). Heterogeneous shape across ingest paths -- canonical keys: title, summary, visibility, file_type, vrt_type, warnings.
376
+ * Metadata captured with the job: the fields supplied at upload and commit (title, summary, tags, visibility, file_type, vrt_type, etc.) and outcomes such as warnings. Heterogeneous shape across ingest paths. Worker bookkeeping, such as staging keys and unpublished artifacts, is left out; null when nothing else is recorded.
373
377
  */
374
378
  user_metadata: {
375
379
  [key: string]: unknown;
@@ -633,7 +637,7 @@ export type AnalysisPreviewRequest = {
633
637
  /**
634
638
  * Bbox
635
639
  *
636
- * [minx, miny, maxx, maxy] in EPSG:4326, typically the map's current viewport. When present, only source features intersecting the envelope are considered before the preview's row cap applies, so a capped result reflects what is on screen rather than an arbitrary sample in ingest order (fix(#727)). Applies to every operation, not just one, so it is deliberately absent from _ANALYSIS_PARAM_OWNERS — omit it to preview the whole dataset, unchanged from before this field existed.
640
+ * [minx, miny, maxx, maxy] in EPSG:4326, typically the map's current viewport. When present, only source features intersecting the envelope are considered before the preview's row cap applies, so a capped result reflects what is on screen rather than an arbitrary sample in ingest order. Applies to every operation, not just one, so it is deliberately absent from _ANALYSIS_PARAM_OWNERS — omit it to preview the whole dataset, unchanged from before this field existed.
637
641
  */
638
642
  bbox?: Array<number> | null;
639
643
  };
@@ -664,7 +668,7 @@ export type AnalysisPreviewResponse = {
664
668
  /**
665
669
  * Source Feature Count
666
670
  *
667
- * Total feature count of the source dataset (1:1 operations only; null when the operation filters rows, e.g. clip). When the request carried a bbox this is a LIVE count of rows intersecting it rather than the dataset's cached whole-table total (fix(#727)) — also null, same as match_count, when that live count could not be computed within the query budget
671
+ * Total feature count of the source dataset (1:1 operations only; null when the operation filters rows, e.g. clip). When the request carried a bbox this is a live count of rows intersecting it rather than the dataset's cached whole-table total. It is also null, like match_count, when that live count could not be computed within the query budget
668
672
  */
669
673
  source_feature_count?: number | null;
670
674
  /**
@@ -693,7 +697,7 @@ export type ApiKeyCreateRequest = {
693
697
  /**
694
698
  * Scope
695
699
  *
696
- * Privilege scope (#875). 'full' impersonates the owner completely, the pre-existing behavior. 'read_only' authenticates GET, HEAD and OPTIONS requests only; any other method is refused with 403.
700
+ * Privilege scope. 'full' impersonates the owner completely. 'read_only' authenticates GET, HEAD and OPTIONS requests only; any other method is refused with 403.
697
701
  */
698
702
  scope?: 'full' | 'read_only';
699
703
  };
@@ -730,7 +734,7 @@ export type ApiKeyCreateResponse = {
730
734
  /**
731
735
  * Scope
732
736
  *
733
- * Privilege scope: 'full' or 'read_only' (#875)
737
+ * Privilege scope: 'full' or 'read_only'
734
738
  */
735
739
  scope: string;
736
740
  /**
@@ -769,7 +773,7 @@ export type ApiKeyListItem = {
769
773
  /**
770
774
  * Scope
771
775
  *
772
- * Privilege scope: 'full' or 'read_only' (#875)
776
+ * Privilege scope: 'full' or 'read_only'
773
777
  */
774
778
  scope: string;
775
779
  /**
@@ -1076,11 +1080,10 @@ export type BackfillEstimate = {
1076
1080
  /**
1077
1081
  * BackfillResponse
1078
1082
  *
1079
- * Acknowledgement that a backfill run was queued (fix(#1542)).
1083
+ * Acknowledgement that a backfill run was queued.
1080
1084
  *
1081
- * The run itself happens on the job queue, so this carries no counts — a full
1082
- * regenerate takes minutes and used to hold the HTTP request open past the
1083
- * 600s edge timeout. Poll ``GET /jobs/{job_id}`` for the run's status.
1085
+ * The response carries no counts because the work runs asynchronously. Poll
1086
+ * ``GET /jobs/{job_id}`` for status.
1084
1087
  */
1085
1088
  export type BackfillResponse = {
1086
1089
  /**
@@ -1364,6 +1367,12 @@ export type BodyUploadFileIngestUploadPost = {
1364
1367
  * File
1365
1368
  */
1366
1369
  file: Blob | File;
1370
+ /**
1371
+ * Kind
1372
+ *
1373
+ * 'tiles3d' uploads a 3D Tiles tileset as a .zip or .3tz archive holding tileset.json. Omit it for any other file; a .zip without it is read as geospatial data, and a .3tz without it is refused. 'pointcloud' uploads a COPC point cloud as a .laz file; a .laz without it is refused.
1374
+ */
1375
+ kind?: string | null;
1367
1376
  };
1368
1377
  /**
1369
1378
  * Body_upload_map_icon_endpoint_maps_icons_post
@@ -2260,6 +2269,7 @@ export type ColumnValuesResponse = {
2260
2269
  * - ``VectorCommitRequest`` — default for file uploads
2261
2270
  * - ``RasterCommitRequest`` — when ``job.user_metadata['file_type'] == 'raster'``
2262
2271
  * - ``ServiceCommitRequest`` — when ``job.source_url`` is set and ``job.file_path`` is None
2272
+ * - ``TilesetCommitRequest`` — when ``job.user_metadata['file_type'] == 'tiles3d'``
2263
2273
  *
2264
2274
  * For new internal code that constructs a commit view, prefer importing
2265
2275
  * the appropriate subclass directly. This flat class is the wire contract,
@@ -2504,6 +2514,10 @@ export type ConnectivityResult = {
2504
2514
  * Cache backend probe result.
2505
2515
  */
2506
2516
  cache: ServiceProbeResult;
2517
+ /**
2518
+ * Shared credential handoff probe result.
2519
+ */
2520
+ credential_store: ServiceProbeResult;
2507
2521
  /**
2508
2522
  * Oidc Providers
2509
2523
  *
@@ -3032,7 +3046,7 @@ export type DatasetMeta = {
3032
3046
  /**
3033
3047
  * DatasetRefreshRequest
3034
3048
  *
3035
- * Body of a one-request refresh (#1220). Carries no source pointer.
3049
+ * Body of a one-request refresh. Carries no source pointer.
3036
3050
  *
3037
3051
  * Everything about WHERE the data comes from is read server-side from the
3038
3052
  * dataset's stored origin binding — that is the whole feature. A client
@@ -3046,6 +3060,18 @@ export type DatasetRefreshRequest = {
3046
3060
  * Transient credential for a protected service. Used for this refresh only and never persisted: it is handed to the worker through a single-use, short-lived reference and is gone once claimed. A retry needs a new token. Deprecated: use the auth object with method bearer.
3047
3061
  */
3048
3062
  token?: string | null;
3063
+ /**
3064
+ * Verification Policy
3065
+ *
3066
+ * Verification policy for this refresh. arcgis_id_set_v1 performs the stronger ArcGIS object-ID membership check.
3067
+ */
3068
+ verification_policy?: 'standard' | 'arcgis_id_set_v1';
3069
+ /**
3070
+ * Accept Blocked Run Id
3071
+ *
3072
+ * A blocked run whose reviewed source and staged content may be accepted. The refresh that uses the acceptance holds it until it ends, and a cancelled or failed refresh gives it back. A different result blocks again.
3073
+ */
3074
+ accept_blocked_run_id?: string | null;
3049
3075
  /**
3050
3076
  * Structured credential for a protected service. Mutually exclusive with the token field.
3051
3077
  */
@@ -3110,15 +3136,13 @@ export type DatasetRefreshRunListResponse = {
3110
3136
  /**
3111
3137
  * DatasetRefreshRunResponse
3112
3138
  *
3113
- * One refresh attempt, success or failure (ADR-002 Decision 4).
3139
+ * One refresh attempt, including failures.
3114
3140
  *
3115
- * Five fields are redacted for callers who are neither the dataset owner nor
3141
+ * Refresh details are redacted for callers who are neither the dataset owner nor
3116
3142
  * an admin: ``triggered_by``, ``triggered_by_username``, ``error_code``,
3117
- * ``error_message`` and ``schema_diff``. A public dataset's refresh history
3143
+ * ``error_message``, ``schema_diff`` and ``verification``. A public dataset's refresh history
3118
3144
  * otherwise enumerates who edits it, and failure text leaks internal origin
3119
- * detail. The redaction is enumerated against NAMED third-party readers as
3120
- * well as anonymous ones — a signed-in stranger is the case that gets
3121
- * missed.
3145
+ * detail.
3122
3146
  */
3123
3147
  export type DatasetRefreshRunResponse = {
3124
3148
  /**
@@ -3150,13 +3174,25 @@ export type DatasetRefreshRunResponse = {
3150
3174
  /**
3151
3175
  * Trigger
3152
3176
  *
3153
- * manual, api, or cli
3177
+ * manual, api, cli, or scheduled
3154
3178
  */
3155
3179
  trigger: string;
3180
+ /**
3181
+ * Scheduled For
3182
+ *
3183
+ * The scheduled occurrence time. Null for manual, API, and CLI runs.
3184
+ */
3185
+ scheduled_for?: string | null;
3186
+ /**
3187
+ * Claim Deadline
3188
+ *
3189
+ * The immutable admission deadline for a scheduled or keyed run. Null for legacy runs without an admission fence.
3190
+ */
3191
+ claim_deadline?: string | null;
3156
3192
  /**
3157
3193
  * Status
3158
3194
  *
3159
- * pending, running, succeeded, failed, or cancelled
3195
+ * pending, running, succeeded, failed, cancelled, or blocked
3160
3196
  */
3161
3197
  status: string;
3162
3198
  /**
@@ -3195,6 +3231,10 @@ export type DatasetRefreshRunResponse = {
3195
3231
  * Schema drift measured against the incoming data at swap time. Null for a run that never reached the swap.
3196
3232
  */
3197
3233
  schema_diff?: SchemaDiff | null;
3234
+ /**
3235
+ * Pre-publication count evidence, review reasons, and publication decision.
3236
+ */
3237
+ verification?: RefreshVerification | null;
3198
3238
  /**
3199
3239
  * Error Code
3200
3240
  */
@@ -3335,7 +3375,7 @@ export type DatasetResponse = {
3335
3375
  /**
3336
3376
  * Has Generic Geometry
3337
3377
  *
3338
- * 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.
3378
+ * 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; list endpoints always report false.
3339
3379
  */
3340
3380
  has_generic_geometry?: boolean;
3341
3381
  /**
@@ -3451,13 +3491,13 @@ export type DatasetResponse = {
3451
3491
  /**
3452
3492
  * Origin Uri
3453
3493
  *
3454
- * Machine-readable pointer back to the origin, written only by ingest and refresh. Distinct from source_url, which is editable descriptive metadata. Null for uploads and created datasets. feat(#1316): also null for any reader who is neither the dataset's owner nor an admin — origin (above) and the freshness/health fields below are not gated and still describe the dataset's capabilities.
3494
+ * Machine-readable pointer back to the origin, written only by ingest and refresh. Distinct from source_url, which is editable descriptive metadata. Null for uploads and created datasets. It is also null for any reader who is neither the dataset's owner nor an admin — origin (above) and the freshness/health fields below are not gated and still describe the dataset's capabilities.
3455
3495
  */
3456
3496
  origin_uri?: string | null;
3457
3497
  /**
3458
3498
  * Origin Ref
3459
3499
  *
3460
- * Typed per-origin payload with a `kind` discriminator, e.g. {"kind": "service", "service_type": "wfs", "url": "...", "layer_id": "0"}. Never contains credentials. feat(#1316): owner-or-admin only, same redaction as origin_uri.
3500
+ * Typed per-origin payload with a `kind` discriminator, e.g. {"kind": "service", "service_type": "wfs", "url": "...", "layer_id": "0"}. Never contains credentials. owner-or-admin only, same redaction as origin_uri.
3461
3501
  */
3462
3502
  origin_ref?: {
3463
3503
  [key: string]: unknown;
@@ -3595,13 +3635,21 @@ export type DatasetResponse = {
3595
3635
  /**
3596
3636
  * Record Type
3597
3637
  *
3598
- * Record type: 'vector_dataset' (spatial features), 'raster_dataset' (single COG), 'vrt_dataset' (VRT mosaic), 'table' (non-spatial tabular), 'map' (saved map), 'service' (catalogued remote service), 'collection' (flat dataset group).
3638
+ * Record type: 'vector_dataset' (spatial features), 'raster_dataset' (single COG), 'vrt_dataset' (VRT mosaic), 'table' (non-spatial tabular), 'map' (saved map), 'service' (catalogued remote service), 'collection' (flat dataset group), 'tiles3d_dataset' (3D Tiles tileset), 'pointcloud_dataset' (COPC point cloud).
3599
3639
  */
3600
3640
  record_type?: string;
3601
3641
  /**
3602
3642
  * Raster-specific metadata (null for vectors)
3603
3643
  */
3604
3644
  raster?: RasterMetadata | null;
3645
+ /**
3646
+ * 3D Tiles metadata on the dataset detail response; null for other record types and before a tileset is published
3647
+ */
3648
+ tileset?: TilesetMetadata | null;
3649
+ /**
3650
+ * COPC point cloud metadata on the dataset detail response; null for other record types and before a point cloud is published
3651
+ */
3652
+ pointcloud?: PointCloudMetadata | null;
3605
3653
  /**
3606
3654
  * Stac Assets
3607
3655
  *
@@ -3623,7 +3671,7 @@ export type DatasetResponse = {
3623
3671
  /**
3624
3672
  * Metadata Warnings
3625
3673
  *
3626
- * Advisory warnings produced by a metadata update — e.g. a visibility or status change exposing keywords inherited from an analysis source the new audience cannot open (feat #1070). Only ever set on the PATCH response; the change has already applied.
3674
+ * Advisory warnings produced by a metadata update — e.g. a visibility or status change exposing keywords inherited from an analysis source the new audience cannot open. Only ever set on the PATCH response; the change has already applied.
3627
3675
  */
3628
3676
  metadata_warnings?: Array<string> | null;
3629
3677
  };
@@ -3672,11 +3720,9 @@ export type DatasetVersionListResponse = {
3672
3720
  *
3673
3721
  * One version in a dataset's history.
3674
3722
  *
3675
- * feat(#1316): ``file_hash`` and ``uploaded_by`` are null for any caller who
3676
- * is neither the dataset's owner nor an admin — the same predicate that
3677
- * gates ``origin_uri``/``origin_ref`` on the dataset itself and
3678
- * ``triggered_by`` on refresh-runs (ADR-002 Decision 4e). Unredacted, a
3679
- * public dataset's version history enumerates its editors.
3723
+ * ``file_hash`` and ``uploaded_by`` are null for callers who are neither the
3724
+ * dataset owner nor an administrator. This prevents public version history
3725
+ * from identifying editors.
3680
3726
  */
3681
3727
  export type DatasetVersionResponse = {
3682
3728
  /**
@@ -3755,20 +3801,9 @@ export type DbfTruncationDetail = {
3755
3801
  *
3756
3802
  * Provenance for an analysis output: what it came from, and how.
3757
3803
  *
3758
- * fix(#765 review): declared as a model rather than ``dict[str, Any]``. The
3759
- * dict spelled itself into the checked-in OpenAPI as bare
3760
- * ``additionalProperties: true``, so both generated SDKs lost the shape — the
3761
- * TypeScript one degraded to an index signature and the Python one to an
3762
- * empty additional-properties container. The stable shape was documented in
3763
- * prose and mirrored by hand in the frontend types while the SDKs, which is
3764
- * where most consumers actually meet it, could not use it type-safely.
3765
- *
3766
3804
  * ``params`` stays untyped on purpose: it is the operation's own parameter
3767
- * dict, so its keys differ per operation (``distance_meters`` for a buffer,
3768
- * ``mask_source``/``mask_dataset_id`` for a clip), and it is additionally
3769
- * REDACTED per requester — ``visible_derived_from`` drops any embedded
3770
- * dataset id the caller cannot see. A union of per-operation models would
3771
- * describe a shape the redaction is free to punch holes in.
3805
+ * dictionary, so its keys differ by operation. It is also redacted for each
3806
+ * requester: dataset ids that the caller cannot access are omitted.
3772
3807
  */
3773
3808
  export type DerivedFromResponse = {
3774
3809
  /**
@@ -3816,7 +3851,7 @@ export type DiscoverResponse = {
3816
3851
  /**
3817
3852
  * Tables
3818
3853
  *
3819
- * Tables in the `data` schema that are eligible for registration as datasets.
3854
+ * Tables in the `data` schema not yet registered as datasets. `refusal_reason` marks those discovery knows registration would refuse.
3820
3855
  */
3821
3856
  tables: Array<DiscoveredTable>;
3822
3857
  };
@@ -3848,6 +3883,12 @@ export type DiscoveredTable = {
3848
3883
  * PostgreSQL row count estimate from `pg_class.reltuples`.
3849
3884
  */
3850
3885
  estimated_rows: number | null;
3886
+ /**
3887
+ * Refusal Reason
3888
+ *
3889
+ * Why registration would refuse this table, as one of a fixed set of GeoLens codes: source_srid_undeclared. Null when discovery finds none, though registration can still refuse a table for a reason discovery does not check.
3890
+ */
3891
+ refusal_reason?: string | null;
3851
3892
  };
3852
3893
  /**
3853
3894
  * DistributionCreate
@@ -4668,17 +4709,11 @@ export type GeoJsonGeometry = {
4668
4709
  *
4669
4710
  * A GeoJSON GeometryCollection (RFC 7946 §3.1.8).
4670
4711
  *
4671
- * fix(#430 codex r9): carries ``geometries`` instead of ``coordinates``, so
4672
- * it needs its own model — only generic-GEOMETRY datasets accept it on write
4673
- * (enforced in the service), and any stored collection must serialize back
4674
- * out on read.
4712
+ * Geometry collections carry ``geometries`` instead of ``coordinates``.
4713
+ * Only generic-geometry datasets accept them on write.
4675
4714
  *
4676
- * Deliberately NON-recursive (codex r13, refuted): PostGIS cannot round-trip
4677
- * nested collections through the GeoJSON boundary in either direction —
4678
- * ST_GeomFromGeoJSON rejects them on write and ST_AsGeoJSON raises
4679
- * 'GeoJson: geometry not supported' on read — so a recursive model could
4680
- * never receive one and would only convert the write-side 422 into a raw
4681
- * database 500. The write schemas add a raw-payload guard for a clear 422.
4715
+ * Nested collections are rejected because PostGIS cannot round-trip them
4716
+ * through the GeoJSON boundary.
4682
4717
  */
4683
4718
  export type GeoJsonGeometryCollection = {
4684
4719
  /**
@@ -4837,7 +4872,7 @@ export type InfrastructureResponse = {
4837
4872
  /**
4838
4873
  * JobCancelResponse
4839
4874
  *
4840
- * Outcome of ``POST /jobs/{id}/cancel`` (#1677).
4875
+ * Outcome of ``POST /jobs/{id}/cancel``.
4841
4876
  *
4842
4877
  * ``run_id`` is the ``dataset_refresh_runs`` row this cancel finalized, when
4843
4878
  * the job had one bound (refreshes and reuploads do; plain imports don't).
@@ -4886,6 +4921,12 @@ export type JobStatusResponse = {
4886
4921
  * Error Message
4887
4922
  */
4888
4923
  error_message: string | null;
4924
+ /**
4925
+ * Error Code
4926
+ *
4927
+ * Stable code for a fixed failure reason, so a client can show it in the reader's language; `error_message` keeps its English text. Null when the reason is free text.
4928
+ */
4929
+ error_code?: string | null;
4889
4930
  /**
4890
4931
  * Can Retry
4891
4932
  */
@@ -4977,7 +5018,7 @@ export type KeywordListResponse = {
4977
5018
  /**
4978
5019
  * Inherited Audience Gap
4979
5020
  *
4980
- * True when at least one keyword is inherited AND this record's audience — at its stored state, or at the counterfactual audience_visibility/audience_record_status query parameters, which are honored only for the record's owner and admins — includes someone who cannot open the source dataset (feat #1070).
5021
+ * True when at least one keyword is inherited AND this record's audience — at its stored state, or at the counterfactual audience_visibility/audience_record_status query parameters, which are honored only for the record's owner and admins — includes someone who cannot open the source dataset.
4981
5022
  */
4982
5023
  inherited_audience_gap?: boolean;
4983
5024
  };
@@ -5008,7 +5049,7 @@ export type KeywordResponse = {
5008
5049
  /**
5009
5050
  * Inherited
5010
5051
  *
5011
- * True when this keyword also exists on the dataset this record was derived from (feat #1070). Derived at read time from derived_from; only ever true for a requester who can access that source dataset, so everyone else sees false — matching the derived_from redaction.
5052
+ * True when this keyword also exists on the dataset this record was derived from. Derived at read time from derived_from; only ever true for a requester who can access that source dataset, so everyone else sees false — matching the derived_from redaction.
5012
5053
  */
5013
5054
  inherited?: boolean;
5014
5055
  };
@@ -6231,6 +6272,10 @@ export type MapSummaryResponse = {
6231
6272
  * Updated At
6232
6273
  */
6233
6274
  updated_at: string;
6275
+ /**
6276
+ * Created By
6277
+ */
6278
+ created_by?: string | null;
6234
6279
  };
6235
6280
  /**
6236
6281
  * MapUpdate
@@ -6326,12 +6371,11 @@ export type MapVisibility = 'private' | 'internal' | 'public';
6326
6371
  /**
6327
6372
  * MercatorClipDetail
6328
6373
  *
6329
- * fix(#888): how much geometry the Web Mercator clamp destroyed.
6374
+ * Counts geometry changed by the Web Mercator clamp.
6330
6375
  *
6331
6376
  * The clamp is a box, not a latitude cutoff: longitude -180 to 180 and
6332
6377
  * latitude -85.06 to 85.06. Either bound can be the one that cost the user
6333
- * geometry, so clients must not present this as a latitude-only problem
6334
- * (fix(#899 codex r1)).
6378
+ * geometry, so clients must not present this as a latitude-only problem.
6335
6379
  *
6336
6380
  * ``dropped_features`` lost their geometry entirely (a valid point at lat
6337
6381
  * -89.95 becomes ``MULTIPOINT EMPTY``); ``clipped_features`` survived in
@@ -6870,7 +6914,7 @@ export type OgcAsset = {
6870
6914
  /**
6871
6915
  * Type
6872
6916
  */
6873
- type: string;
6917
+ type?: string | null;
6874
6918
  /**
6875
6919
  * Title
6876
6920
  */
@@ -7060,11 +7104,8 @@ export type OgcLink = {
7060
7104
  *
7061
7105
  * One entry in the raster:bands STAC extension array.
7062
7106
  *
7063
- * fix(#1805 review round 3 P2): matches the shape service_records.py
7064
- * actually serializes per band. `statistics` matches the normalized
7065
- * band_info shape core/raster_bands.py (introduced by #1803, the raster
7066
- * lifecycle PR) produces on read; keep this in sync if that PR changes
7067
- * the per-band keys.
7107
+ * This matches the per-band data returned by catalog search. ``statistics``
7108
+ * uses the normalized raster band metadata shape.
7068
7109
  */
7069
7110
  export type OgcRasterBand = {
7070
7111
  /**
@@ -7419,6 +7460,110 @@ export type PermissionsResponse = {
7419
7460
  [key: string]: boolean;
7420
7461
  };
7421
7462
  };
7463
+ /**
7464
+ * PointCloudMetadata
7465
+ *
7466
+ * A COPC point cloud's published file.
7467
+ */
7468
+ export type PointCloudMetadata = {
7469
+ /**
7470
+ * Url
7471
+ *
7472
+ * URL path of the COPC file on the app origin, e.g. /api/datasets/{id}/copc/{attempt}/data.copc.laz. A replaced file gets a new URL
7473
+ */
7474
+ url?: string | null;
7475
+ /**
7476
+ * Size Bytes
7477
+ *
7478
+ * Size of the COPC file in bytes
7479
+ */
7480
+ size_bytes?: number | null;
7481
+ /**
7482
+ * Point Count
7483
+ *
7484
+ * Number of points, from the file's header
7485
+ */
7486
+ point_count?: number | null;
7487
+ /**
7488
+ * Point Format
7489
+ *
7490
+ * LAS point data record format: 6 (no colour), 7 (RGB) or 8 (RGB and near infrared)
7491
+ */
7492
+ point_format?: number | null;
7493
+ /**
7494
+ * Vertical Crs
7495
+ *
7496
+ * Name of the file's vertical CRS, when its WKT gives one
7497
+ */
7498
+ vertical_crs?: string | null;
7499
+ };
7500
+ /**
7501
+ * PointCloudPreviewResponse
7502
+ *
7503
+ * What a staged COPC point cloud holds, read from its header and hierarchy.
7504
+ */
7505
+ export type PointCloudPreviewResponse = {
7506
+ /**
7507
+ * Job Id
7508
+ *
7509
+ * Identifier of the point cloud ingestion job being previewed.
7510
+ */
7511
+ job_id: string;
7512
+ /**
7513
+ * Source Filename
7514
+ *
7515
+ * Original filename of the uploaded point cloud.
7516
+ */
7517
+ source_filename: string | null;
7518
+ /**
7519
+ * Point Count
7520
+ *
7521
+ * Number of points in the file.
7522
+ */
7523
+ point_count: number;
7524
+ /**
7525
+ * Point Format
7526
+ *
7527
+ * The file's LAS point data record format.
7528
+ */
7529
+ point_format: 6 | 7 | 8;
7530
+ /**
7531
+ * Srid
7532
+ *
7533
+ * EPSG code of the horizontal coordinate reference system.
7534
+ */
7535
+ srid: number;
7536
+ /**
7537
+ * Vertical Crs
7538
+ *
7539
+ * Name of the vertical coordinate reference system, if any.
7540
+ */
7541
+ vertical_crs: string | null;
7542
+ /**
7543
+ * Extent Bbox
7544
+ *
7545
+ * The extent as [west, south, east, north] in degrees; west > east when it crosses the antimeridian.
7546
+ */
7547
+ extent_bbox: Array<number>;
7548
+ /**
7549
+ * Z Min
7550
+ *
7551
+ * Lowest elevation, in the file's units.
7552
+ */
7553
+ z_min: number;
7554
+ /**
7555
+ * Z Max
7556
+ *
7557
+ * Highest elevation, in the file's units.
7558
+ */
7559
+ z_max: number;
7560
+ /**
7561
+ * Size Bytes
7562
+ *
7563
+ * Size of the file in bytes.
7564
+ */
7565
+ size_bytes: number;
7566
+ };
7422
7567
  /**
7423
7568
  * PopupConfig
7424
7569
  *
@@ -7493,6 +7638,12 @@ export type PresignedUploadRequest = {
7493
7638
  * MIME type to associate with the uploaded object.
7494
7639
  */
7495
7640
  content_type?: string;
7641
+ /**
7642
+ * Kind
7643
+ *
7644
+ * 'tiles3d' uploads a 3D Tiles tileset as a .zip or .3tz archive holding tileset.json. Omit it for any other file; a .zip without it is read as geospatial data, and a .3tz without it is refused. 'pointcloud' uploads a COPC point cloud as a .laz file; a .laz without it is refused.
7645
+ */
7646
+ kind?: 'tiles3d' | 'pointcloud' | null;
7496
7647
  };
7497
7648
  /**
7498
7649
  * PresignedUploadResponse
@@ -7715,7 +7866,7 @@ export type QualityDetail = {
7715
7866
  /**
7716
7867
  * Attribute Completeness
7717
7868
  */
7718
- attribute_completeness: number;
7869
+ attribute_completeness: number | null;
7719
7870
  /**
7720
7871
  * Crs Defined
7721
7872
  */
@@ -8000,17 +8151,10 @@ export type RasterPreviewResponse = {
8000
8151
  *
8001
8152
  * A raster tile template, signed like its vector sibling.
8002
8153
  *
8003
- * fix(#688): the raster shape used to carry no signature at all, so a client
8004
- * following the API contract literally received an *unauthenticated* template
8005
- * for a private raster. MapLibre issues the tile image requests itself and
8006
- * attaches no `X-Api-Key`, so an API-key-only client could not render one —
8007
- * the workarounds were `setTransformRequest` (not available to every consumer)
8008
- * or `?api_key=` in the tile URL, which puts a non-expiring unscoped
8009
- * credential into tile URLs, server logs, and saved client project files.
8010
- *
8011
- * `tile_url` now arrives with `sig`/`exp`/`scope` already in its query string,
8012
- * so the template is self-sufficient and expires. The three are also returned
8013
- * as fields, mirroring `VectorTileToken`, for clients that rebuild the URL.
8154
+ * ``tile_url`` includes ``sig``, ``exp``, and ``scope`` in its query string,
8155
+ * so MapLibre can request private tiles without attaching an API key. The
8156
+ * signature expires, and its fields are also returned separately for clients
8157
+ * that rebuild the URL.
8014
8158
  */
8015
8159
  export type RasterTileToken = {
8016
8160
  /**
@@ -8067,6 +8211,79 @@ export type RefreshRequest = {
8067
8211
  */
8068
8212
  refresh_token: string;
8069
8213
  };
8214
+ /**
8215
+ * RefreshVerification
8216
+ */
8217
+ export type RefreshVerification = {
8218
+ /**
8219
+ * Decision
8220
+ */
8221
+ decision: 'allowed' | 'blocked' | 'rejected';
8222
+ /**
8223
+ * Source Binding
8224
+ */
8225
+ source_binding: {
8226
+ [key: string]: unknown;
8227
+ };
8228
+ /**
8229
+ * Source Binding Fingerprint
8230
+ */
8231
+ source_binding_fingerprint?: string | null;
8232
+ /**
8233
+ * Source Count
8234
+ */
8235
+ source_count: number | null;
8236
+ /**
8237
+ * Fetched Count
8238
+ */
8239
+ fetched_count: number | null;
8240
+ /**
8241
+ * Count Status
8242
+ */
8243
+ count_status: 'matched' | 'mismatched' | 'unavailable';
8244
+ /**
8245
+ * Identity Check
8246
+ */
8247
+ identity_check: 'unavailable' | 'content_digest' | 'arcgis_id_set';
8248
+ /**
8249
+ * Content Digest
8250
+ */
8251
+ content_digest?: string | null;
8252
+ /**
8253
+ * Arcgis Id Coverage
8254
+ */
8255
+ arcgis_id_coverage?: {
8256
+ [key: string]: unknown;
8257
+ } | null;
8258
+ /**
8259
+ * Staged Geometry Type
8260
+ */
8261
+ staged_geometry_type?: string | null;
8262
+ /**
8263
+ * Staged Srid
8264
+ */
8265
+ staged_srid?: number | null;
8266
+ /**
8267
+ * Staged Coordinate Dimension
8268
+ */
8269
+ staged_coordinate_dimension?: number | null;
8270
+ /**
8271
+ * Review Reasons
8272
+ */
8273
+ review_reasons: Array<'source_count_unavailable' | 'empty_result' | 'destructive_schema_change' | 'arcgis_id_coverage_unavailable' | 'arcgis_source_membership_changed'>;
8274
+ /**
8275
+ * Review Fingerprint
8276
+ */
8277
+ review_fingerprint: string | null;
8278
+ /**
8279
+ * Accepted Blocked Run Id
8280
+ */
8281
+ accepted_blocked_run_id: string | null;
8282
+ /**
8283
+ * Acceptance Consumed By Run Id
8284
+ */
8285
+ acceptance_consumed_by_run_id?: string | null;
8286
+ };
8070
8287
  /**
8071
8288
  * RegisterRequest
8072
8289
  */
@@ -8218,7 +8435,7 @@ export type ReuploadCommitRequest = {
8218
8435
  /**
8219
8436
  * Expected Origin Kind
8220
8437
  *
8221
- * The dataset origin the client saw when it staged this replacement. When set, the commit is refused with 409 `origin_changed` if the dataset's origin no longer matches, so a service, STAC or registered-table binding established after the upload is not silently rebound to an upload. Optional: a client that omits it keeps the pre-#1768 behaviour.
8438
+ * The dataset origin the client saw when it staged this replacement. When set, the commit is refused with 409 `origin_changed` if the dataset's origin no longer matches, so a service, STAC or registered-table binding established after the upload is not silently rebound to an upload. A client may omit the field to skip this concurrency check.
8222
8439
  */
8223
8440
  expected_origin_kind?: 'upload' | 'postgis' | 'service' | 'stac' | 'created' | null;
8224
8441
  /**
@@ -9087,6 +9304,10 @@ export type SharedLayerResponse = {
9087
9304
  * Dataset Attribution
9088
9305
  */
9089
9306
  dataset_attribution?: string | null;
9307
+ /**
9308
+ * Dataset Extent Bbox
9309
+ */
9310
+ dataset_extent_bbox?: Array<number> | null;
9090
9311
  };
9091
9312
  /**
9092
9313
  * SharedMapResponse
@@ -9146,17 +9367,12 @@ export type SharedMapResponse = {
9146
9367
  /**
9147
9368
  * SourceHealthResponse
9148
9369
  *
9149
- * Result of one on-demand origin probe (ADR-002, #1222).
9370
+ * Result of one on-demand origin probe.
9150
9371
  *
9151
- * Shares its first three words with ``VrtSourceHealth.status``, so the UI
9152
- * renders one legend across VRT members and standalone origins.
9153
- * ``VrtSourceHealth`` carries a fourth, VRT-specific value, ``stale``
9154
- * (fix(#1221)): it means a member's raster was replaced after the parent
9155
- * VRT was last built, and it does not apply to a single-origin probe. This
9156
- * endpoint always probes, so it also never returns the OTHER fourth value,
9157
- * ``unknown`` — the response-boundary projection of a never-determined NULL
9158
- * column, which reaches clients through ``DatasetResponse``, not through
9159
- * here.
9372
+ * The values align with ``VrtSourceHealth.status`` so clients can use one
9373
+ * legend for VRT members and standalone origins. ``stale`` applies only to
9374
+ * VRT members, while ``unknown`` represents health that has not been checked;
9375
+ * this endpoint always performs a probe and returns neither value.
9160
9376
  */
9161
9377
  export type SourceHealthResponse = {
9162
9378
  /**
@@ -9933,7 +10149,7 @@ export type StacItemSummary = {
9933
10149
  /**
9934
10150
  * Data Asset Key
9935
10151
  *
9936
- * The key the data asset is published under on the item. Echo it back on import so the dataset records WHICH asset it came from: hrefs move, and the key is what survives the move (#1266).
10152
+ * The key the data asset is published under on the item. Echo it back on import so the dataset records which asset it came from. The key remains stable when the href changes.
9937
10153
  */
9938
10154
  data_asset_key?: string | null;
9939
10155
  /**
@@ -9942,6 +10158,12 @@ export type StacItemSummary = {
9942
10158
  * Size of the primary data asset in bytes (from STAC file:size). None when not in manifest.
9943
10159
  */
9944
10160
  data_asset_size_bytes?: number | null;
10161
+ /**
10162
+ * Data Asset Import Refusal
10163
+ *
10164
+ * Why /import would refuse this item's data asset, based on its URL alone, or null if the href passes import's format, length and credential checks. 'not_http' for a scheme other than http/https, such as s3://; 'credentials' for a URL carrying a credential query parameter GeoLens won't store; 'too_long' for a URL over the length import allows. Import also checks each asset's host, and can still refuse a null item there as a per-item failure that leaves the rest of the batch importing.
10165
+ */
10166
+ data_asset_import_refusal?: 'not_http' | 'credentials' | 'too_long' | null;
9945
10167
  /**
9946
10168
  * Thumbnail Href
9947
10169
  *
@@ -10177,7 +10399,7 @@ export type StatusUpdateResponse = {
10177
10399
  /**
10178
10400
  * Metadata Warnings
10179
10401
  *
10180
- * Advisory warnings from the status change — the same inherited-keyword disclosure check the metadata PATCH runs (feat #1070, fix #1178 review). The transition has already applied.
10402
+ * Advisory warnings from the status change — the same inherited-keyword disclosure check the metadata PATCH runs. The transition has already applied.
10181
10403
  */
10182
10404
  metadata_warnings?: Array<string> | null;
10183
10405
  };
@@ -10239,7 +10461,7 @@ export type SublayerOverride = {
10239
10461
  /**
10240
10462
  * Opacity
10241
10463
  *
10242
- * Per-sublayer opacity (0-1), or null to use the basemap default. Composes on top of BasemapConfig.opacity (the whole-basemap master opacity): the rendered opacity is override.opacity * master_opacity (#338). The UI opacity slider in BasemapSublayerEditorScene persists through this field: MapBuilderPage.handleSublayerOpacityChange -> setBasemapSublayerOpacity -> updateBasemapSublayerOverride writes config.sublayer_overrides[key].opacity.
10464
+ * Per-sublayer opacity (0-1), or null to use the basemap default. Composes on top of BasemapConfig.opacity (the whole-basemap master opacity). The rendered opacity is the sublayer override multiplied by the master opacity.
10243
10465
  */
10244
10466
  opacity?: number | null;
10245
10467
  };
@@ -10393,6 +10615,110 @@ export type TileTokenBatchResponse = {
10393
10615
  };
10394
10616
  };
10395
10617
  };
10618
+ /**
10619
+ * TilesetMetadata
10620
+ *
10621
+ * A 3D Tiles dataset's published tileset.
10622
+ */
10623
+ export type TilesetMetadata = {
10624
+ /**
10625
+ * Url
10626
+ *
10627
+ * URL path of the tileset's tileset.json on the app origin, e.g. /api/datasets/{id}/tiles3d/tileset.json
10628
+ */
10629
+ url: string;
10630
+ /**
10631
+ * Size Bytes
10632
+ *
10633
+ * Unpacked size of the tileset in bytes
10634
+ */
10635
+ size_bytes?: number | null;
10636
+ /**
10637
+ * Version
10638
+ *
10639
+ * The tileset's asset.version: '1.0' or '1.1'
10640
+ */
10641
+ version?: string | null;
10642
+ /**
10643
+ * Geometric Error
10644
+ *
10645
+ * The root tile's geometricError, when tileset.json gives one
10646
+ */
10647
+ geometric_error?: number | null;
10648
+ /**
10649
+ * Bounding Volume
10650
+ *
10651
+ * The kind of the root tile's bounding volume. Only a region yields the dataset's extent; a box or sphere leaves it null.
10652
+ */
10653
+ bounding_volume?: 'region' | 'box' | 'sphere' | null;
10654
+ /**
10655
+ * Content Types
10656
+ *
10657
+ * The tile formats in the tileset, sorted: b3dm, i3dm, pnts, cmpt, glb, gltf, subtree, vctr or geom, including the tiles inside a cmpt. Null for a tileset published before GeoLens recorded them.
10658
+ */
10659
+ content_types?: Array<string> | null;
10660
+ /**
10661
+ * Extensions Required
10662
+ *
10663
+ * Every extension a client must support to load the tileset, sorted: the extensionsRequired of its tileset JSON, external tilesets included, and of its glTF content. Null for a tileset published before GeoLens recorded them.
10664
+ */
10665
+ extensions_required?: Array<string> | null;
10666
+ };
10667
+ /**
10668
+ * TilesetPreviewResponse
10669
+ *
10670
+ * What a staged 3D Tiles tileset archive holds, read without unpacking it.
10671
+ */
10672
+ export type TilesetPreviewResponse = {
10673
+ /**
10674
+ * Job Id
10675
+ *
10676
+ * Identifier of the tileset ingestion job being previewed.
10677
+ */
10678
+ job_id: string;
10679
+ /**
10680
+ * Source Filename
10681
+ *
10682
+ * Original filename of the uploaded tileset archive.
10683
+ */
10684
+ source_filename: string | null;
10685
+ /**
10686
+ * Version
10687
+ *
10688
+ * The tileset's asset.version from its tileset.json.
10689
+ */
10690
+ version: '1.0' | '1.1';
10691
+ /**
10692
+ * Geometric Error
10693
+ *
10694
+ * The root tile's geometricError, or null when tileset.json gives none.
10695
+ */
10696
+ geometric_error: number | null;
10697
+ /**
10698
+ * Bounding Volume
10699
+ *
10700
+ * The kind of the root tile's bounding volume.
10701
+ */
10702
+ bounding_volume: 'region' | 'box' | 'sphere';
10703
+ /**
10704
+ * Extent Bbox
10705
+ *
10706
+ * The root region as [west, south, east, north] in degrees; west > east when it crosses the antimeridian. Null for a box or sphere.
10707
+ */
10708
+ extent_bbox: Array<number> | null;
10709
+ /**
10710
+ * Unpacked Bytes
10711
+ *
10712
+ * Total size of the archive's files once unpacked.
10713
+ */
10714
+ unpacked_bytes: number;
10715
+ /**
10716
+ * Entry Count
10717
+ *
10718
+ * Number of entries, files and folders, in the archive.
10719
+ */
10720
+ entry_count: number;
10721
+ };
10396
10722
  /**
10397
10723
  * TokenResponse
10398
10724
  */
@@ -10545,11 +10871,10 @@ export type UploadResponse = {
10545
10871
  /**
10546
10872
  * UrlUploadRequest
10547
10873
  *
10548
- * Request body for the URL variant of upload (feat #1705).
10874
+ * Request body for importing a file from a URL.
10549
10875
  *
10550
- * The server fetches the file itself (SSRF-validated, size-capped) and
10551
- * stages it exactly like a direct upload — preview and commit take over
10552
- * unchanged.
10876
+ * The server validates the URL for SSRF, enforces the size limit, and stages
10877
+ * the file through the same preview and commit flow as a direct upload.
10553
10878
  */
10554
10879
  export type UrlUploadRequest = {
10555
10880
  /**
@@ -10564,6 +10889,12 @@ export type UrlUploadRequest = {
10564
10889
  * Filename override for URLs whose path does not end in the actual file name (e.g. download links keyed by query id). Must carry an allowed extension. Defaults to the URL path's basename.
10565
10890
  */
10566
10891
  filename?: string | null;
10892
+ /**
10893
+ * Kind
10894
+ *
10895
+ * 'tiles3d' uploads a 3D Tiles tileset as a .zip or .3tz archive holding tileset.json. Omit it for any other file; a .zip without it is read as geospatial data, and a .3tz without it is refused.
10896
+ */
10897
+ kind?: 'tiles3d' | null;
10567
10898
  };
10568
10899
  /**
10569
10900
  * UserCreate
@@ -10685,6 +11016,12 @@ export type UserResponse = {
10685
11016
  * Assigned role names, e.g. ['admin', 'editor']
10686
11017
  */
10687
11018
  roles: Array<string>;
11019
+ /**
11020
+ * Can Reset Password
11021
+ *
11022
+ * Whether an administrator can set a local password for this account. True for local accounts even when an identity provider is also linked.
11023
+ */
11024
+ can_reset_password: boolean;
10688
11025
  /**
10689
11026
  * Per-user storage quota usage. Populated only on admin list responses; None when the caller did not load usage (e.g. /auth/me, single-user GET).
10690
11027
  */
@@ -12105,6 +12442,12 @@ export type ListUsersAdminUsersGetData = {
12105
12442
  * Status
12106
12443
  */
12107
12444
  status?: string | null;
12445
+ /**
12446
+ * Role
12447
+ *
12448
+ * Assigned role membership to match.
12449
+ */
12450
+ role?: 'admin' | 'editor' | 'viewer' | null;
12108
12451
  /**
12109
12452
  * Search
12110
12453
  */
@@ -13693,6 +14036,69 @@ export type LogoutAuthLogoutPostResponses = {
13693
14036
  204: void;
13694
14037
  };
13695
14038
  export type LogoutAuthLogoutPostResponse = LogoutAuthLogoutPostResponses[keyof LogoutAuthLogoutPostResponses];
14039
+ export type LogoutCurrentSessionAuthLogoutSessionPostData = {
14040
+ /**
14041
+ * Body
14042
+ */
14043
+ body?: RefreshRequest | null;
14044
+ headers?: {
14045
+ /**
14046
+ * Authorization
14047
+ */
14048
+ authorization?: string | null;
14049
+ /**
14050
+ * X-Csrf-Token
14051
+ *
14052
+ * Double-submit CSRF token, enforced only when the refresh cookie is what authenticates the call. Echo the value of the `geolens_csrf` cookie issued alongside the refresh cookie. Callers presenting a refresh token in the request body do not send it.
14053
+ */
14054
+ 'X-CSRF-Token'?: string | null;
14055
+ };
14056
+ path?: never;
14057
+ query?: never;
14058
+ url: '/auth/logout/session/';
14059
+ };
14060
+ export type LogoutCurrentSessionAuthLogoutSessionPostErrors = {
14061
+ /**
14062
+ * Bad request — invalid query parameters or payload
14063
+ */
14064
+ 400: ProblemDetail;
14065
+ /**
14066
+ * Unauthorized — missing or invalid credentials
14067
+ */
14068
+ 401: ProblemDetail;
14069
+ /**
14070
+ * Forbidden — caller lacks access to this resource
14071
+ */
14072
+ 403: ProblemDetail;
14073
+ /**
14074
+ * Not found
14075
+ */
14076
+ 404: ProblemDetail;
14077
+ /**
14078
+ * Validation error
14079
+ */
14080
+ 422: ProblemDetail;
14081
+ /**
14082
+ * Too many requests — retry after the advertised interval
14083
+ */
14084
+ 429: ProblemDetail;
14085
+ /**
14086
+ * Internal server error
14087
+ */
14088
+ 500: ProblemDetail;
14089
+ /**
14090
+ * Service unavailable — the database could not serve the request
14091
+ */
14092
+ 503: ProblemDetail;
14093
+ };
14094
+ export type LogoutCurrentSessionAuthLogoutSessionPostError = LogoutCurrentSessionAuthLogoutSessionPostErrors[keyof LogoutCurrentSessionAuthLogoutSessionPostErrors];
14095
+ export type LogoutCurrentSessionAuthLogoutSessionPostResponses = {
14096
+ /**
14097
+ * Successful Response
14098
+ */
14099
+ 204: void;
14100
+ };
14101
+ export type LogoutCurrentSessionAuthLogoutSessionPostResponse = LogoutCurrentSessionAuthLogoutSessionPostResponses[keyof LogoutCurrentSessionAuthLogoutSessionPostResponses];
13696
14102
  export type MeAuthMeGetData = {
13697
14103
  body?: never;
13698
14104
  path?: never;
@@ -15176,7 +15582,7 @@ export type GetCollectionItemsCollectionsDatasetIdItemsGetData = {
15176
15582
  /**
15177
15583
  * Filter
15178
15584
  *
15179
- * 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.
15585
+ * CQL2 filter expression evaluated server-side against this collection's OGC Features Part 3 queryables document. Combines with bbox and property filters by AND.
15180
15586
  */
15181
15587
  filter?: string | null;
15182
15588
  /**
@@ -16888,6 +17294,75 @@ export type GetColumnValuesDatasetsDatasetIdColumnsColumnNameValuesGetResponses
16888
17294
  200: ColumnValuesResponse;
16889
17295
  };
16890
17296
  export type GetColumnValuesDatasetsDatasetIdColumnsColumnNameValuesGetResponse = GetColumnValuesDatasetsDatasetIdColumnsColumnNameValuesGetResponses[keyof GetColumnValuesDatasetsDatasetIdColumnsColumnNameValuesGetResponses];
17297
+ export type GetPointcloudFileDatasetsDatasetIdCopcAttemptIdNameCopcLazGetData = {
17298
+ body?: never;
17299
+ path: {
17300
+ /**
17301
+ * Dataset Id
17302
+ */
17303
+ dataset_id: string;
17304
+ /**
17305
+ * Attempt Id
17306
+ */
17307
+ attempt_id: string;
17308
+ /**
17309
+ * Name
17310
+ */
17311
+ name: string;
17312
+ };
17313
+ query?: never;
17314
+ url: '/datasets/{dataset_id}/copc/{attempt_id}/{name}.copc.laz';
17315
+ };
17316
+ export type GetPointcloudFileDatasetsDatasetIdCopcAttemptIdNameCopcLazGetErrors = {
17317
+ /**
17318
+ * A credential was supplied and could not be resolved (expired, revoked or malformed); a read with none is anonymous
17319
+ */
17320
+ 401: ProblemDetail;
17321
+ /**
17322
+ * Not found
17323
+ */
17324
+ 404: ProblemDetail;
17325
+ /**
17326
+ * Precondition failed — the caller's If-Match no longer matches the current representation
17327
+ */
17328
+ 412: ProblemDetail;
17329
+ /**
17330
+ * The Range names no byte of the file, or is malformed
17331
+ */
17332
+ 416: ProblemDetail;
17333
+ /**
17334
+ * Validation error
17335
+ */
17336
+ 422: ProblemDetail;
17337
+ /**
17338
+ * Too many requests — retry after the advertised interval
17339
+ */
17340
+ 429: ProblemDetail;
17341
+ /**
17342
+ * Internal server error
17343
+ */
17344
+ 500: ProblemDetail;
17345
+ /**
17346
+ * Bad gateway — an upstream provider failed
17347
+ */
17348
+ 502: ProblemDetail;
17349
+ /**
17350
+ * Service unavailable — the database could not serve the request
17351
+ */
17352
+ 503: ProblemDetail;
17353
+ };
17354
+ export type GetPointcloudFileDatasetsDatasetIdCopcAttemptIdNameCopcLazGetError = GetPointcloudFileDatasetsDatasetIdCopcAttemptIdNameCopcLazGetErrors[keyof GetPointcloudFileDatasetsDatasetIdCopcAttemptIdNameCopcLazGetErrors];
17355
+ export type GetPointcloudFileDatasetsDatasetIdCopcAttemptIdNameCopcLazGetResponses = {
17356
+ /**
17357
+ * The whole COPC file
17358
+ */
17359
+ 200: Blob | File;
17360
+ /**
17361
+ * One byte range of the COPC file
17362
+ */
17363
+ 206: Blob | File;
17364
+ };
17365
+ export type GetPointcloudFileDatasetsDatasetIdCopcAttemptIdNameCopcLazGetResponse = GetPointcloudFileDatasetsDatasetIdCopcAttemptIdNameCopcLazGetResponses[keyof GetPointcloudFileDatasetsDatasetIdCopcAttemptIdNameCopcLazGetResponses];
16891
17366
  export type GetDcatUs3RecordDatasetsDatasetIdDcatUs30GetData = {
16892
17367
  body?: never;
16893
17368
  path: {
@@ -17116,10 +17591,15 @@ export type DownloadCogDatasetsDatasetIdDownloadCogGetErrors = {
17116
17591
  export type DownloadCogDatasetsDatasetIdDownloadCogGetError = DownloadCogDatasetsDatasetIdDownloadCogGetErrors[keyof DownloadCogDatasetsDatasetIdDownloadCogGetErrors];
17117
17592
  export type DownloadCogDatasetsDatasetIdDownloadCogGetResponses = {
17118
17593
  /**
17119
- * Successful Response
17594
+ * The whole COG file
17120
17595
  */
17121
- 200: unknown;
17596
+ 200: Blob | File;
17597
+ /**
17598
+ * One byte range of the COG file
17599
+ */
17600
+ 206: Blob | File;
17122
17601
  };
17602
+ export type DownloadCogDatasetsDatasetIdDownloadCogGetResponse = DownloadCogDatasetsDatasetIdDownloadCogGetResponses[keyof DownloadCogDatasetsDatasetIdDownloadCogGetResponses];
17123
17603
  export type ExportDatasetEndpointDatasetsDatasetIdExportGetData = {
17124
17604
  body?: never;
17125
17605
  path: {
@@ -17199,10 +17679,15 @@ export type ExportDatasetEndpointDatasetsDatasetIdExportGetErrors = {
17199
17679
  export type ExportDatasetEndpointDatasetsDatasetIdExportGetError = ExportDatasetEndpointDatasetsDatasetIdExportGetErrors[keyof ExportDatasetEndpointDatasetsDatasetIdExportGetErrors];
17200
17680
  export type ExportDatasetEndpointDatasetsDatasetIdExportGetResponses = {
17201
17681
  /**
17202
- * Successful Response
17682
+ * The exported file
17203
17683
  */
17204
- 200: unknown;
17684
+ 200: Blob | File;
17685
+ /**
17686
+ * One byte range of the exported file
17687
+ */
17688
+ 206: Blob | File;
17205
17689
  };
17690
+ export type ExportDatasetEndpointDatasetsDatasetIdExportGetResponse = ExportDatasetEndpointDatasetsDatasetIdExportGetResponses[keyof ExportDatasetEndpointDatasetsDatasetIdExportGetResponses];
17206
17691
  export type GetFeaturesGeojsonZEndpointDatasetsDatasetIdFeaturesGeojsonGetData = {
17207
17692
  body?: never;
17208
17693
  headers?: {
@@ -17475,7 +17960,7 @@ export type CreateFeatureDatasetsDatasetIdFeaturesPostResponses = {
17475
17960
  /**
17476
17961
  * GeoJSONFeature
17477
17962
  *
17478
- * A single GeoJSON Feature.
17963
+ * A written GeoJSON Feature, plus the dataset's committed tile version.
17479
17964
  */
17480
17965
  201: {
17481
17966
  /**
@@ -17523,6 +18008,12 @@ export type CreateFeatureDatasetsDatasetIdFeaturesPostResponses = {
17523
18008
  properties: {
17524
18009
  [key: string]: unknown;
17525
18010
  };
18011
+ /**
18012
+ * Tile Cache Version
18013
+ *
18014
+ * The dataset's tile_cache_version after this write committed. Send it as the tile routes' `_v` query parameter when reloading tiles, so a request that reaches a different API worker is forced to re-read the dataset instead of serving that worker's own cached snapshot.
18015
+ */
18016
+ tile_cache_version?: number | null;
17526
18017
  };
17527
18018
  };
17528
18019
  export type CreateFeatureDatasetsDatasetIdFeaturesPostResponse = CreateFeatureDatasetsDatasetIdFeaturesPostResponses[keyof CreateFeatureDatasetsDatasetIdFeaturesPostResponses];
@@ -17582,7 +18073,7 @@ export type DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteErrors = {
17582
18073
  export type DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteError = DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteErrors[keyof DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteErrors];
17583
18074
  export type DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteResponses = {
17584
18075
  /**
17585
- * Successful Response
18076
+ * Feature deleted.
17586
18077
  */
17587
18078
  204: void;
17588
18079
  };
@@ -17750,7 +18241,7 @@ export type PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses = {
17750
18241
  /**
17751
18242
  * GeoJSONFeature
17752
18243
  *
17753
- * A single GeoJSON Feature.
18244
+ * A written GeoJSON Feature, plus the dataset's committed tile version.
17754
18245
  */
17755
18246
  200: {
17756
18247
  /**
@@ -17798,6 +18289,12 @@ export type PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses = {
17798
18289
  properties: {
17799
18290
  [key: string]: unknown;
17800
18291
  };
18292
+ /**
18293
+ * Tile Cache Version
18294
+ *
18295
+ * The dataset's tile_cache_version after this write committed. Send it as the tile routes' `_v` query parameter when reloading tiles, so a request that reaches a different API worker is forced to re-read the dataset instead of serving that worker's own cached snapshot.
18296
+ */
18297
+ tile_cache_version?: number | null;
17801
18298
  };
17802
18299
  };
17803
18300
  export type PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponse = PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses[keyof PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses];
@@ -17859,7 +18356,7 @@ export type ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses = {
17859
18356
  /**
17860
18357
  * GeoJSONFeature
17861
18358
  *
17862
- * A single GeoJSON Feature.
18359
+ * A written GeoJSON Feature, plus the dataset's committed tile version.
17863
18360
  */
17864
18361
  200: {
17865
18362
  /**
@@ -17907,6 +18404,12 @@ export type ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses = {
17907
18404
  properties: {
17908
18405
  [key: string]: unknown;
17909
18406
  };
18407
+ /**
18408
+ * Tile Cache Version
18409
+ *
18410
+ * The dataset's tile_cache_version after this write committed. Send it as the tile routes' `_v` query parameter when reloading tiles, so a request that reaches a different API worker is forced to re-read the dataset instead of serving that worker's own cached snapshot.
18411
+ */
18412
+ tile_cache_version?: number | null;
17910
18413
  };
17911
18414
  };
17912
18415
  export type ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponse = ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses[keyof ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses];
@@ -19195,6 +19698,59 @@ export type SetTargetStatusDatasetsDatasetIdTargetStatusPatchResponses = {
19195
19698
  200: StatusUpdateResponse;
19196
19699
  };
19197
19700
  export type SetTargetStatusDatasetsDatasetIdTargetStatusPatchResponse = SetTargetStatusDatasetsDatasetIdTargetStatusPatchResponses[keyof SetTargetStatusDatasetsDatasetIdTargetStatusPatchResponses];
19701
+ export type GetTilesetFileDatasetsDatasetIdTiles3dPathGetData = {
19702
+ body?: never;
19703
+ path: {
19704
+ /**
19705
+ * Dataset Id
19706
+ */
19707
+ dataset_id: string;
19708
+ /**
19709
+ * Path
19710
+ */
19711
+ path: string;
19712
+ };
19713
+ query?: never;
19714
+ url: '/datasets/{dataset_id}/tiles3d/{path}';
19715
+ };
19716
+ export type GetTilesetFileDatasetsDatasetIdTiles3dPathGetErrors = {
19717
+ /**
19718
+ * 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.
19719
+ */
19720
+ 401: ProblemDetail;
19721
+ /**
19722
+ * Not found
19723
+ */
19724
+ 404: ProblemDetail;
19725
+ /**
19726
+ * Precondition failed — the caller's If-Match no longer matches the current representation
19727
+ */
19728
+ 412: ProblemDetail;
19729
+ /**
19730
+ * Validation error
19731
+ */
19732
+ 422: ProblemDetail;
19733
+ /**
19734
+ * Internal server error
19735
+ */
19736
+ 500: ProblemDetail;
19737
+ /**
19738
+ * Bad gateway — an upstream provider failed
19739
+ */
19740
+ 502: ProblemDetail;
19741
+ /**
19742
+ * Service unavailable — the database could not serve the request
19743
+ */
19744
+ 503: ProblemDetail;
19745
+ };
19746
+ export type GetTilesetFileDatasetsDatasetIdTiles3dPathGetError = GetTilesetFileDatasetsDatasetIdTiles3dPathGetErrors[keyof GetTilesetFileDatasetsDatasetIdTiles3dPathGetErrors];
19747
+ export type GetTilesetFileDatasetsDatasetIdTiles3dPathGetResponses = {
19748
+ /**
19749
+ * The requested tileset file
19750
+ */
19751
+ 200: Blob | File;
19752
+ };
19753
+ export type GetTilesetFileDatasetsDatasetIdTiles3dPathGetResponse = GetTilesetFileDatasetsDatasetIdTiles3dPathGetResponses[keyof GetTilesetFileDatasetsDatasetIdTiles3dPathGetResponses];
19198
19754
  export type ValidateDatasetDatasetsDatasetIdValidateGetData = {
19199
19755
  body?: never;
19200
19756
  path: {
@@ -19689,6 +20245,10 @@ export type CommitImportIngestCommitJobIdPostErrors = {
19689
20245
  * Conflict — resource state prevents the operation
19690
20246
  */
19691
20247
  409: ProblemDetail;
20248
+ /**
20249
+ * Payload too large
20250
+ */
20251
+ 413: ProblemDetail;
19692
20252
  /**
19693
20253
  * Validation error
19694
20254
  */
@@ -19888,7 +20448,7 @@ export type PreviewFileIngestPreviewJobIdPostResponses = {
19888
20448
  *
19889
20449
  * Successful Response
19890
20450
  */
19891
- 200: PreviewResponse | RasterPreviewResponse;
20451
+ 200: PreviewResponse | RasterPreviewResponse | TilesetPreviewResponse | PointCloudPreviewResponse;
19892
20452
  };
19893
20453
  export type PreviewFileIngestPreviewJobIdPostResponse = PreviewFileIngestPreviewJobIdPostResponses[keyof PreviewFileIngestPreviewJobIdPostResponses];
19894
20454
  export type RegisterTableIngestRegisterPostData = {
@@ -21109,6 +21669,10 @@ export type ListMapsEndpointMapsGetData = {
21109
21669
  * Visibility
21110
21670
  */
21111
21671
  visibility?: string | null;
21672
+ /**
21673
+ * Owned Only
21674
+ */
21675
+ owned_only?: boolean;
21112
21676
  };
21113
21677
  url: '/maps/';
21114
21678
  };
@@ -23536,13 +24100,13 @@ export type ListKeywordsEndpointRecordsRecordIdKeywordsGetData = {
23536
24100
  /**
23537
24101
  * Audience Visibility
23538
24102
  *
23539
- * Compute inherited_audience_gap as if the record had this visibility — the counterfactual an owner asks before widening access (feat #1070). Honored only for the record's owner and admins; ignored for everyone else, who get the gap at the record's stored state. Keywords themselves are unaffected.
24103
+ * Compute inherited_audience_gap as if the record had this visibility. Honored only for the record's owner and admins; ignored for everyone else, who get the gap at the record's stored state. Keywords themselves are unaffected.
23540
24104
  */
23541
24105
  audience_visibility?: string | null;
23542
24106
  /**
23543
24107
  * Audience Record Status
23544
24108
  *
23545
- * Compute inherited_audience_gap as if the record had this status — the counterfactual an owner asks before publishing (feat #1070). Honored only for the record's owner and admins; ignored for everyone else, who get the gap at the record's stored state. Deliberately not pinned to an enum: the lifecycle statuses come from the workflow extension's status_order(), so an overlay may define its own. An unrecognized status is treated conservatively (it reaches only the owner, which errs toward warning) rather than rejected.
24109
+ * Compute inherited_audience_gap as if the record had this status — the counterfactual an owner asks before publishing. Honored only for the record's owner and admins; ignored for everyone else, who get the gap at the record's stored state. Deliberately not pinned to an enum: the lifecycle statuses come from the workflow extension's status_order(), so an overlay may define its own. An unrecognized status is treated conservatively (it reaches only the owner, which errs toward warning) rather than rejected.
23546
24110
  */
23547
24111
  audience_record_status?: string | null;
23548
24112
  };