@geolens/sdk 1.20.0 → 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.
- package/README.md +20 -0
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +6 -0
- package/dist/auth.js.map +1 -1
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/sdk.gen.d.ts +82 -16
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +105 -15
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +472 -19
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/fileReads.d.ts +37 -0
- package/dist/fileReads.d.ts.map +1 -0
- package/dist/fileReads.js +45 -0
- package/dist/fileReads.js.map +1 -0
- package/dist/index.d.ts +2 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/redirects.d.ts +48 -0
- package/dist/redirects.d.ts.map +1 -0
- package/dist/redirects.js +127 -0
- package/dist/redirects.js.map +1 -0
- package/package.json +2 -2
|
@@ -331,7 +331,7 @@ export type AdminJobResponse = {
|
|
|
331
331
|
/**
|
|
332
332
|
* Status
|
|
333
333
|
*
|
|
334
|
-
* Current job status: 'pending', 'running', 'complete', 'failed', or '
|
|
334
|
+
* Current job status: 'pending', 'running', 'complete', 'failed', 'cancelled', or 'fanned_out' (a multi-layer upload split into per-layer child jobs).
|
|
335
335
|
*/
|
|
336
336
|
status: 'pending' | 'running' | 'complete' | 'failed' | 'cancelled' | 'fanned_out';
|
|
337
337
|
/**
|
|
@@ -352,6 +352,12 @@ export type AdminJobResponse = {
|
|
|
352
352
|
* Error details if the job failed.
|
|
353
353
|
*/
|
|
354
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;
|
|
355
361
|
/**
|
|
356
362
|
* Can Retry
|
|
357
363
|
*
|
|
@@ -367,7 +373,7 @@ export type AdminJobResponse = {
|
|
|
367
373
|
/**
|
|
368
374
|
* User Metadata
|
|
369
375
|
*
|
|
370
|
-
*
|
|
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.
|
|
371
377
|
*/
|
|
372
378
|
user_metadata: {
|
|
373
379
|
[key: string]: unknown;
|
|
@@ -1361,6 +1367,12 @@ export type BodyUploadFileIngestUploadPost = {
|
|
|
1361
1367
|
* File
|
|
1362
1368
|
*/
|
|
1363
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;
|
|
1364
1376
|
};
|
|
1365
1377
|
/**
|
|
1366
1378
|
* Body_upload_map_icon_endpoint_maps_icons_post
|
|
@@ -2257,6 +2269,7 @@ export type ColumnValuesResponse = {
|
|
|
2257
2269
|
* - ``VectorCommitRequest`` — default for file uploads
|
|
2258
2270
|
* - ``RasterCommitRequest`` — when ``job.user_metadata['file_type'] == 'raster'``
|
|
2259
2271
|
* - ``ServiceCommitRequest`` — when ``job.source_url`` is set and ``job.file_path`` is None
|
|
2272
|
+
* - ``TilesetCommitRequest`` — when ``job.user_metadata['file_type'] == 'tiles3d'``
|
|
2260
2273
|
*
|
|
2261
2274
|
* For new internal code that constructs a commit view, prefer importing
|
|
2262
2275
|
* the appropriate subclass directly. This flat class is the wire contract,
|
|
@@ -3047,10 +3060,16 @@ export type DatasetRefreshRequest = {
|
|
|
3047
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.
|
|
3048
3061
|
*/
|
|
3049
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';
|
|
3050
3069
|
/**
|
|
3051
3070
|
* Accept Blocked Run Id
|
|
3052
3071
|
*
|
|
3053
|
-
* A blocked run whose reviewed source and staged content may be accepted
|
|
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.
|
|
3054
3073
|
*/
|
|
3055
3074
|
accept_blocked_run_id?: string | null;
|
|
3056
3075
|
/**
|
|
@@ -3155,9 +3174,21 @@ export type DatasetRefreshRunResponse = {
|
|
|
3155
3174
|
/**
|
|
3156
3175
|
* Trigger
|
|
3157
3176
|
*
|
|
3158
|
-
* manual, api, or
|
|
3177
|
+
* manual, api, cli, or scheduled
|
|
3159
3178
|
*/
|
|
3160
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;
|
|
3161
3192
|
/**
|
|
3162
3193
|
* Status
|
|
3163
3194
|
*
|
|
@@ -3604,13 +3635,21 @@ export type DatasetResponse = {
|
|
|
3604
3635
|
/**
|
|
3605
3636
|
* Record Type
|
|
3606
3637
|
*
|
|
3607
|
-
* 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).
|
|
3608
3639
|
*/
|
|
3609
3640
|
record_type?: string;
|
|
3610
3641
|
/**
|
|
3611
3642
|
* Raster-specific metadata (null for vectors)
|
|
3612
3643
|
*/
|
|
3613
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;
|
|
3614
3653
|
/**
|
|
3615
3654
|
* Stac Assets
|
|
3616
3655
|
*
|
|
@@ -3812,7 +3851,7 @@ export type DiscoverResponse = {
|
|
|
3812
3851
|
/**
|
|
3813
3852
|
* Tables
|
|
3814
3853
|
*
|
|
3815
|
-
* Tables in the `data` schema
|
|
3854
|
+
* Tables in the `data` schema not yet registered as datasets. `refusal_reason` marks those discovery knows registration would refuse.
|
|
3816
3855
|
*/
|
|
3817
3856
|
tables: Array<DiscoveredTable>;
|
|
3818
3857
|
};
|
|
@@ -3844,6 +3883,12 @@ export type DiscoveredTable = {
|
|
|
3844
3883
|
* PostgreSQL row count estimate from `pg_class.reltuples`.
|
|
3845
3884
|
*/
|
|
3846
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;
|
|
3847
3892
|
};
|
|
3848
3893
|
/**
|
|
3849
3894
|
* DistributionCreate
|
|
@@ -4876,6 +4921,12 @@ export type JobStatusResponse = {
|
|
|
4876
4921
|
* Error Message
|
|
4877
4922
|
*/
|
|
4878
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;
|
|
4879
4930
|
/**
|
|
4880
4931
|
* Can Retry
|
|
4881
4932
|
*/
|
|
@@ -6221,6 +6272,10 @@ export type MapSummaryResponse = {
|
|
|
6221
6272
|
* Updated At
|
|
6222
6273
|
*/
|
|
6223
6274
|
updated_at: string;
|
|
6275
|
+
/**
|
|
6276
|
+
* Created By
|
|
6277
|
+
*/
|
|
6278
|
+
created_by?: string | null;
|
|
6224
6279
|
};
|
|
6225
6280
|
/**
|
|
6226
6281
|
* MapUpdate
|
|
@@ -6859,7 +6914,7 @@ export type OgcAsset = {
|
|
|
6859
6914
|
/**
|
|
6860
6915
|
* Type
|
|
6861
6916
|
*/
|
|
6862
|
-
type
|
|
6917
|
+
type?: string | null;
|
|
6863
6918
|
/**
|
|
6864
6919
|
* Title
|
|
6865
6920
|
*/
|
|
@@ -7405,6 +7460,110 @@ export type PermissionsResponse = {
|
|
|
7405
7460
|
[key: string]: boolean;
|
|
7406
7461
|
};
|
|
7407
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
|
+
};
|
|
7408
7567
|
/**
|
|
7409
7568
|
* PopupConfig
|
|
7410
7569
|
*
|
|
@@ -7479,6 +7638,12 @@ export type PresignedUploadRequest = {
|
|
|
7479
7638
|
* MIME type to associate with the uploaded object.
|
|
7480
7639
|
*/
|
|
7481
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;
|
|
7482
7647
|
};
|
|
7483
7648
|
/**
|
|
7484
7649
|
* PresignedUploadResponse
|
|
@@ -7701,7 +7866,7 @@ export type QualityDetail = {
|
|
|
7701
7866
|
/**
|
|
7702
7867
|
* Attribute Completeness
|
|
7703
7868
|
*/
|
|
7704
|
-
attribute_completeness: number;
|
|
7869
|
+
attribute_completeness: number | null;
|
|
7705
7870
|
/**
|
|
7706
7871
|
* Crs Defined
|
|
7707
7872
|
*/
|
|
@@ -8060,6 +8225,10 @@ export type RefreshVerification = {
|
|
|
8060
8225
|
source_binding: {
|
|
8061
8226
|
[key: string]: unknown;
|
|
8062
8227
|
};
|
|
8228
|
+
/**
|
|
8229
|
+
* Source Binding Fingerprint
|
|
8230
|
+
*/
|
|
8231
|
+
source_binding_fingerprint?: string | null;
|
|
8063
8232
|
/**
|
|
8064
8233
|
* Source Count
|
|
8065
8234
|
*/
|
|
@@ -8075,11 +8244,17 @@ export type RefreshVerification = {
|
|
|
8075
8244
|
/**
|
|
8076
8245
|
* Identity Check
|
|
8077
8246
|
*/
|
|
8078
|
-
identity_check: 'unavailable' | 'content_digest';
|
|
8247
|
+
identity_check: 'unavailable' | 'content_digest' | 'arcgis_id_set';
|
|
8079
8248
|
/**
|
|
8080
8249
|
* Content Digest
|
|
8081
8250
|
*/
|
|
8082
8251
|
content_digest?: string | null;
|
|
8252
|
+
/**
|
|
8253
|
+
* Arcgis Id Coverage
|
|
8254
|
+
*/
|
|
8255
|
+
arcgis_id_coverage?: {
|
|
8256
|
+
[key: string]: unknown;
|
|
8257
|
+
} | null;
|
|
8083
8258
|
/**
|
|
8084
8259
|
* Staged Geometry Type
|
|
8085
8260
|
*/
|
|
@@ -8095,7 +8270,7 @@ export type RefreshVerification = {
|
|
|
8095
8270
|
/**
|
|
8096
8271
|
* Review Reasons
|
|
8097
8272
|
*/
|
|
8098
|
-
review_reasons: Array<'source_count_unavailable' | 'empty_result' | 'destructive_schema_change'>;
|
|
8273
|
+
review_reasons: Array<'source_count_unavailable' | 'empty_result' | 'destructive_schema_change' | 'arcgis_id_coverage_unavailable' | 'arcgis_source_membership_changed'>;
|
|
8099
8274
|
/**
|
|
8100
8275
|
* Review Fingerprint
|
|
8101
8276
|
*/
|
|
@@ -9129,6 +9304,10 @@ export type SharedLayerResponse = {
|
|
|
9129
9304
|
* Dataset Attribution
|
|
9130
9305
|
*/
|
|
9131
9306
|
dataset_attribution?: string | null;
|
|
9307
|
+
/**
|
|
9308
|
+
* Dataset Extent Bbox
|
|
9309
|
+
*/
|
|
9310
|
+
dataset_extent_bbox?: Array<number> | null;
|
|
9132
9311
|
};
|
|
9133
9312
|
/**
|
|
9134
9313
|
* SharedMapResponse
|
|
@@ -9979,6 +10158,12 @@ export type StacItemSummary = {
|
|
|
9979
10158
|
* Size of the primary data asset in bytes (from STAC file:size). None when not in manifest.
|
|
9980
10159
|
*/
|
|
9981
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;
|
|
9982
10167
|
/**
|
|
9983
10168
|
* Thumbnail Href
|
|
9984
10169
|
*
|
|
@@ -10430,6 +10615,110 @@ export type TileTokenBatchResponse = {
|
|
|
10430
10615
|
};
|
|
10431
10616
|
};
|
|
10432
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
|
+
};
|
|
10433
10722
|
/**
|
|
10434
10723
|
* TokenResponse
|
|
10435
10724
|
*/
|
|
@@ -10600,6 +10889,12 @@ export type UrlUploadRequest = {
|
|
|
10600
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.
|
|
10601
10890
|
*/
|
|
10602
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;
|
|
10603
10898
|
};
|
|
10604
10899
|
/**
|
|
10605
10900
|
* UserCreate
|
|
@@ -16999,6 +17294,75 @@ export type GetColumnValuesDatasetsDatasetIdColumnsColumnNameValuesGetResponses
|
|
|
16999
17294
|
200: ColumnValuesResponse;
|
|
17000
17295
|
};
|
|
17001
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];
|
|
17002
17366
|
export type GetDcatUs3RecordDatasetsDatasetIdDcatUs30GetData = {
|
|
17003
17367
|
body?: never;
|
|
17004
17368
|
path: {
|
|
@@ -17227,10 +17591,15 @@ export type DownloadCogDatasetsDatasetIdDownloadCogGetErrors = {
|
|
|
17227
17591
|
export type DownloadCogDatasetsDatasetIdDownloadCogGetError = DownloadCogDatasetsDatasetIdDownloadCogGetErrors[keyof DownloadCogDatasetsDatasetIdDownloadCogGetErrors];
|
|
17228
17592
|
export type DownloadCogDatasetsDatasetIdDownloadCogGetResponses = {
|
|
17229
17593
|
/**
|
|
17230
|
-
*
|
|
17594
|
+
* The whole COG file
|
|
17231
17595
|
*/
|
|
17232
|
-
200:
|
|
17596
|
+
200: Blob | File;
|
|
17597
|
+
/**
|
|
17598
|
+
* One byte range of the COG file
|
|
17599
|
+
*/
|
|
17600
|
+
206: Blob | File;
|
|
17233
17601
|
};
|
|
17602
|
+
export type DownloadCogDatasetsDatasetIdDownloadCogGetResponse = DownloadCogDatasetsDatasetIdDownloadCogGetResponses[keyof DownloadCogDatasetsDatasetIdDownloadCogGetResponses];
|
|
17234
17603
|
export type ExportDatasetEndpointDatasetsDatasetIdExportGetData = {
|
|
17235
17604
|
body?: never;
|
|
17236
17605
|
path: {
|
|
@@ -17310,10 +17679,15 @@ export type ExportDatasetEndpointDatasetsDatasetIdExportGetErrors = {
|
|
|
17310
17679
|
export type ExportDatasetEndpointDatasetsDatasetIdExportGetError = ExportDatasetEndpointDatasetsDatasetIdExportGetErrors[keyof ExportDatasetEndpointDatasetsDatasetIdExportGetErrors];
|
|
17311
17680
|
export type ExportDatasetEndpointDatasetsDatasetIdExportGetResponses = {
|
|
17312
17681
|
/**
|
|
17313
|
-
*
|
|
17682
|
+
* The exported file
|
|
17314
17683
|
*/
|
|
17315
|
-
200:
|
|
17684
|
+
200: Blob | File;
|
|
17685
|
+
/**
|
|
17686
|
+
* One byte range of the exported file
|
|
17687
|
+
*/
|
|
17688
|
+
206: Blob | File;
|
|
17316
17689
|
};
|
|
17690
|
+
export type ExportDatasetEndpointDatasetsDatasetIdExportGetResponse = ExportDatasetEndpointDatasetsDatasetIdExportGetResponses[keyof ExportDatasetEndpointDatasetsDatasetIdExportGetResponses];
|
|
17317
17691
|
export type GetFeaturesGeojsonZEndpointDatasetsDatasetIdFeaturesGeojsonGetData = {
|
|
17318
17692
|
body?: never;
|
|
17319
17693
|
headers?: {
|
|
@@ -17586,7 +17960,7 @@ export type CreateFeatureDatasetsDatasetIdFeaturesPostResponses = {
|
|
|
17586
17960
|
/**
|
|
17587
17961
|
* GeoJSONFeature
|
|
17588
17962
|
*
|
|
17589
|
-
* A
|
|
17963
|
+
* A written GeoJSON Feature, plus the dataset's committed tile version.
|
|
17590
17964
|
*/
|
|
17591
17965
|
201: {
|
|
17592
17966
|
/**
|
|
@@ -17634,6 +18008,12 @@ export type CreateFeatureDatasetsDatasetIdFeaturesPostResponses = {
|
|
|
17634
18008
|
properties: {
|
|
17635
18009
|
[key: string]: unknown;
|
|
17636
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;
|
|
17637
18017
|
};
|
|
17638
18018
|
};
|
|
17639
18019
|
export type CreateFeatureDatasetsDatasetIdFeaturesPostResponse = CreateFeatureDatasetsDatasetIdFeaturesPostResponses[keyof CreateFeatureDatasetsDatasetIdFeaturesPostResponses];
|
|
@@ -17693,7 +18073,7 @@ export type DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteErrors = {
|
|
|
17693
18073
|
export type DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteError = DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteErrors[keyof DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteErrors];
|
|
17694
18074
|
export type DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteResponses = {
|
|
17695
18075
|
/**
|
|
17696
|
-
*
|
|
18076
|
+
* Feature deleted.
|
|
17697
18077
|
*/
|
|
17698
18078
|
204: void;
|
|
17699
18079
|
};
|
|
@@ -17861,7 +18241,7 @@ export type PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses = {
|
|
|
17861
18241
|
/**
|
|
17862
18242
|
* GeoJSONFeature
|
|
17863
18243
|
*
|
|
17864
|
-
* A
|
|
18244
|
+
* A written GeoJSON Feature, plus the dataset's committed tile version.
|
|
17865
18245
|
*/
|
|
17866
18246
|
200: {
|
|
17867
18247
|
/**
|
|
@@ -17909,6 +18289,12 @@ export type PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses = {
|
|
|
17909
18289
|
properties: {
|
|
17910
18290
|
[key: string]: unknown;
|
|
17911
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;
|
|
17912
18298
|
};
|
|
17913
18299
|
};
|
|
17914
18300
|
export type PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponse = PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses[keyof PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses];
|
|
@@ -17970,7 +18356,7 @@ export type ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses = {
|
|
|
17970
18356
|
/**
|
|
17971
18357
|
* GeoJSONFeature
|
|
17972
18358
|
*
|
|
17973
|
-
* A
|
|
18359
|
+
* A written GeoJSON Feature, plus the dataset's committed tile version.
|
|
17974
18360
|
*/
|
|
17975
18361
|
200: {
|
|
17976
18362
|
/**
|
|
@@ -18018,6 +18404,12 @@ export type ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses = {
|
|
|
18018
18404
|
properties: {
|
|
18019
18405
|
[key: string]: unknown;
|
|
18020
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;
|
|
18021
18413
|
};
|
|
18022
18414
|
};
|
|
18023
18415
|
export type ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponse = ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses[keyof ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses];
|
|
@@ -19306,6 +19698,59 @@ export type SetTargetStatusDatasetsDatasetIdTargetStatusPatchResponses = {
|
|
|
19306
19698
|
200: StatusUpdateResponse;
|
|
19307
19699
|
};
|
|
19308
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];
|
|
19309
19754
|
export type ValidateDatasetDatasetsDatasetIdValidateGetData = {
|
|
19310
19755
|
body?: never;
|
|
19311
19756
|
path: {
|
|
@@ -19800,6 +20245,10 @@ export type CommitImportIngestCommitJobIdPostErrors = {
|
|
|
19800
20245
|
* Conflict — resource state prevents the operation
|
|
19801
20246
|
*/
|
|
19802
20247
|
409: ProblemDetail;
|
|
20248
|
+
/**
|
|
20249
|
+
* Payload too large
|
|
20250
|
+
*/
|
|
20251
|
+
413: ProblemDetail;
|
|
19803
20252
|
/**
|
|
19804
20253
|
* Validation error
|
|
19805
20254
|
*/
|
|
@@ -19999,7 +20448,7 @@ export type PreviewFileIngestPreviewJobIdPostResponses = {
|
|
|
19999
20448
|
*
|
|
20000
20449
|
* Successful Response
|
|
20001
20450
|
*/
|
|
20002
|
-
200: PreviewResponse | RasterPreviewResponse;
|
|
20451
|
+
200: PreviewResponse | RasterPreviewResponse | TilesetPreviewResponse | PointCloudPreviewResponse;
|
|
20003
20452
|
};
|
|
20004
20453
|
export type PreviewFileIngestPreviewJobIdPostResponse = PreviewFileIngestPreviewJobIdPostResponses[keyof PreviewFileIngestPreviewJobIdPostResponses];
|
|
20005
20454
|
export type RegisterTableIngestRegisterPostData = {
|
|
@@ -21220,6 +21669,10 @@ export type ListMapsEndpointMapsGetData = {
|
|
|
21220
21669
|
* Visibility
|
|
21221
21670
|
*/
|
|
21222
21671
|
visibility?: string | null;
|
|
21672
|
+
/**
|
|
21673
|
+
* Owned Only
|
|
21674
|
+
*/
|
|
21675
|
+
owned_only?: boolean;
|
|
21223
21676
|
};
|
|
21224
21677
|
url: '/maps/';
|
|
21225
21678
|
};
|