@geolens/sdk 1.25.1 → 1.27.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.
@@ -151,9 +151,9 @@ export type AdminApiKeyCreateRequest = {
151
151
  /**
152
152
  * Scope
153
153
  *
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'.
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'. 'publish' also allows uploads, manifest apply, dataset metadata edits and new maps, but no map update, delete, feature write, public visibility, admin or key route.
155
155
  */
156
- scope?: 'full' | 'read_only';
156
+ scope?: 'full' | 'read_only' | 'publish';
157
157
  };
158
158
  /**
159
159
  * AdminApiKeyListItem
@@ -198,9 +198,15 @@ export type AdminApiKeyListItem = {
198
198
  /**
199
199
  * Scope
200
200
  *
201
- * Privilege scope: 'full' or 'read_only'.
201
+ * Privilege scope: 'full', 'read_only', 'publish' (reads, uploads, manifest apply, dataset metadata edits and new maps, but no map updates, deletes, feature writes or public visibility), 'dataset_write' (reads and writes the features of the dataset in dataset_id, and nothing else), or 'dataset_append' (only creates features in that dataset).
202
202
  */
203
203
  scope: string;
204
+ /**
205
+ * Dataset Id
206
+ *
207
+ * The dataset a 'dataset_write' or 'dataset_append' key is bound to; null for other scopes.
208
+ */
209
+ dataset_id?: string | null;
204
210
  /**
205
211
  * Created At
206
212
  *
@@ -763,9 +769,9 @@ export type ApiKeyCreateRequest = {
763
769
  /**
764
770
  * Scope
765
771
  *
766
- * Privilege scope. 'full' impersonates the owner completely. 'read_only' authenticates GET, HEAD and OPTIONS requests only; any other method is refused with 403.
772
+ * Privilege scope. 'full' impersonates the owner completely. 'read_only' authenticates GET, HEAD and OPTIONS requests only; any other method is refused with 403. 'publish' also allows uploads, manifest apply, dataset metadata edits and new maps, but no map update, delete, feature write, public visibility, admin or key route.
767
773
  */
768
- scope?: 'full' | 'read_only';
774
+ scope?: 'full' | 'read_only' | 'publish';
769
775
  };
770
776
  /**
771
777
  * ApiKeyCreateResponse
@@ -800,9 +806,15 @@ export type ApiKeyCreateResponse = {
800
806
  /**
801
807
  * Scope
802
808
  *
803
- * Privilege scope: 'full' or 'read_only'
809
+ * Privilege scope: 'full', 'read_only', 'publish' (reads, uploads, manifest apply, dataset metadata edits and new maps, but no map updates, deletes, feature writes or public visibility), 'dataset_write' (reads and writes the features of the dataset in dataset_id, and nothing else), or 'dataset_append' (only creates features in that dataset)
804
810
  */
805
811
  scope: string;
812
+ /**
813
+ * Dataset Id
814
+ *
815
+ * The dataset a 'dataset_write' or 'dataset_append' key is bound to; null for other scopes
816
+ */
817
+ dataset_id?: string | null;
806
818
  /**
807
819
  * Created At
808
820
  */
@@ -839,9 +851,15 @@ export type ApiKeyListItem = {
839
851
  /**
840
852
  * Scope
841
853
  *
842
- * Privilege scope: 'full' or 'read_only'
854
+ * Privilege scope: 'full', 'read_only', 'publish' (reads, uploads, manifest apply, dataset metadata edits and new maps, but no map updates, deletes, feature writes or public visibility), 'dataset_write' (reads and writes the features of the dataset in dataset_id, and nothing else), or 'dataset_append' (only creates features in that dataset)
843
855
  */
844
856
  scope: string;
857
+ /**
858
+ * Dataset Id
859
+ *
860
+ * The dataset a 'dataset_write' or 'dataset_append' key is bound to; null for other scopes
861
+ */
862
+ dataset_id?: string | null;
845
863
  /**
846
864
  * Created At
847
865
  */
@@ -950,6 +968,148 @@ export type ArcGisSignInResponse = {
950
968
  */
951
969
  expires_at: string;
952
970
  };
971
+ /**
972
+ * ArcgisLossItem
973
+ */
974
+ export type ArcgisLossItem = {
975
+ /**
976
+ * Path
977
+ *
978
+ * JSON path of the web map part that was not carried over.
979
+ */
980
+ path: string;
981
+ /**
982
+ * Kind
983
+ *
984
+ * Stable code for the kind of loss.
985
+ */
986
+ kind: string;
987
+ /**
988
+ * Detail
989
+ *
990
+ * Free text; not localized.
991
+ */
992
+ detail?: string;
993
+ };
994
+ /**
995
+ * ArcgisLossReport
996
+ */
997
+ export type ArcgisLossReport = {
998
+ /**
999
+ * Items
1000
+ */
1001
+ items: Array<ArcgisLossItem>;
1002
+ /**
1003
+ * Summary
1004
+ *
1005
+ * Item count per `kind`.
1006
+ */
1007
+ summary: {
1008
+ [key: string]: number;
1009
+ };
1010
+ };
1011
+ /**
1012
+ * ArcgisUnmatchedLayer
1013
+ */
1014
+ export type ArcgisUnmatchedLayer = {
1015
+ /**
1016
+ * Layer Id
1017
+ */
1018
+ layer_id: string;
1019
+ /**
1020
+ * Title
1021
+ */
1022
+ title: string;
1023
+ /**
1024
+ * Url
1025
+ */
1026
+ url: string;
1027
+ /**
1028
+ * Reason
1029
+ *
1030
+ * `no_match` or `invalid`.
1031
+ */
1032
+ reason: string;
1033
+ };
1034
+ /**
1035
+ * ArcgisWebmapImportRequest
1036
+ */
1037
+ export type ArcgisWebmapImportRequest = {
1038
+ /**
1039
+ * Webmap
1040
+ *
1041
+ * The web map item data JSON, at most 1 MB serialized.
1042
+ */
1043
+ webmap: {
1044
+ [key: string]: unknown;
1045
+ };
1046
+ /**
1047
+ * Name
1048
+ *
1049
+ * Map name. Defaults to `title`.
1050
+ */
1051
+ name?: string | null;
1052
+ /**
1053
+ * Title
1054
+ *
1055
+ * The web map item's title.
1056
+ */
1057
+ title?: string | null;
1058
+ /**
1059
+ * Visibility of the new map: private, internal or public. A map becomes restricted by sharing it with groups afterwards.
1060
+ */
1061
+ visibility?: MapVisibility;
1062
+ /**
1063
+ * Basemap Map
1064
+ *
1065
+ * Esri basemap URL or style URL (the first base map layer's `url` or `styleUrl`) to a GeoLens basemap id. An unmapped basemap falls back to the first enabled basemap and is reported.
1066
+ */
1067
+ basemap_map?: {
1068
+ [key: string]: string;
1069
+ };
1070
+ /**
1071
+ * Dataset Matches
1072
+ *
1073
+ * Operational layer id to GeoLens dataset id. Every dataset must be one the caller can read, or the request is refused with 404. A layer with no entry is not imported and is listed as unmatched.
1074
+ */
1075
+ dataset_matches?: {
1076
+ [key: string]: string;
1077
+ };
1078
+ /**
1079
+ * Dry Run
1080
+ *
1081
+ * Return the translation without creating a map.
1082
+ */
1083
+ dry_run?: boolean;
1084
+ };
1085
+ /**
1086
+ * ArcgisWebmapImportResponse
1087
+ */
1088
+ export type ArcgisWebmapImportResponse = {
1089
+ /**
1090
+ * The new map; null on a dry run.
1091
+ */
1092
+ map: MapResponse | null;
1093
+ /**
1094
+ * Layers
1095
+ *
1096
+ * The translated layers, in draw order.
1097
+ */
1098
+ layers: Array<MapLayerInput>;
1099
+ /**
1100
+ * Layer Ids
1101
+ *
1102
+ * Operational layer id to the id of the map layer created for it. Layers that were not imported are absent; see `loss_report`. Empty on a dry run.
1103
+ */
1104
+ layer_ids?: {
1105
+ [key: string]: string;
1106
+ };
1107
+ loss_report: ArcgisLossReport;
1108
+ /**
1109
+ * Unmatched Layers
1110
+ */
1111
+ unmatched_layers: Array<ArcgisUnmatchedLayer>;
1112
+ };
953
1113
  /**
954
1114
  * AttributeMetadataListResponse
955
1115
  */
@@ -1011,6 +1171,14 @@ export type AttributeMetadataResponse = {
1011
1171
  * Sample values from the column
1012
1172
  */
1013
1173
  example_values?: Array<unknown> | null;
1174
+ /**
1175
+ * Value Labels
1176
+ *
1177
+ * Label for each stored code, keyed by the code as text.
1178
+ */
1179
+ value_labels?: {
1180
+ [key: string]: string;
1181
+ } | null;
1014
1182
  /**
1015
1183
  * Ordinal Position
1016
1184
  *
@@ -1066,6 +1234,14 @@ export type AttributeMetadataUpdate = {
1066
1234
  * Value domain: continuous, categorical, coded, etc.
1067
1235
  */
1068
1236
  domain_type?: 'continuous' | 'discrete' | 'categorical' | 'coded' | 'codedValue' | 'boolean' | 'text' | 'date' | 'temporal' | 'geometry' | 'range' | null;
1237
+ /**
1238
+ * Value Labels
1239
+ *
1240
+ * Label for each stored code, keyed by the code as text.
1241
+ */
1242
+ value_labels?: {
1243
+ [key: string]: string;
1244
+ } | null;
1069
1245
  };
1070
1246
  /**
1071
1247
  * AuditLogListResponse
@@ -1714,6 +1890,176 @@ export type BulkRevokeResponse = {
1714
1890
  */
1715
1891
  revoked_count: number;
1716
1892
  };
1893
+ /**
1894
+ * CapabilitiesAuth
1895
+ */
1896
+ export type CapabilitiesAuth = {
1897
+ /**
1898
+ * Password Login Enabled
1899
+ *
1900
+ * Whether username and password sign-in is on.
1901
+ */
1902
+ password_login_enabled: boolean;
1903
+ /**
1904
+ * Methods
1905
+ *
1906
+ * Sign-in methods on offer: `password` plus each enabled provider type.
1907
+ */
1908
+ methods: Array<string>;
1909
+ };
1910
+ /**
1911
+ * CapabilitiesBasemap
1912
+ */
1913
+ export type CapabilitiesBasemap = {
1914
+ /**
1915
+ * Id
1916
+ *
1917
+ * Basemap identifier to use in a map document.
1918
+ */
1919
+ id: string;
1920
+ /**
1921
+ * Name
1922
+ *
1923
+ * Display name.
1924
+ */
1925
+ name: string;
1926
+ };
1927
+ /**
1928
+ * CapabilitiesKey
1929
+ */
1930
+ export type CapabilitiesKey = {
1931
+ /**
1932
+ * Scope
1933
+ *
1934
+ * Scope of the API key making the request.
1935
+ */
1936
+ scope: string;
1937
+ /**
1938
+ * Expires At
1939
+ *
1940
+ * When the key stops working, or null if it does not expire.
1941
+ */
1942
+ expires_at: string | null;
1943
+ };
1944
+ /**
1945
+ * CapabilitiesMe
1946
+ */
1947
+ export type CapabilitiesMe = {
1948
+ /**
1949
+ * Username
1950
+ *
1951
+ * Signed-in account.
1952
+ */
1953
+ username: string;
1954
+ /**
1955
+ * Permissions
1956
+ *
1957
+ * Capabilities the account holds.
1958
+ */
1959
+ permissions: Array<string>;
1960
+ /**
1961
+ * Present only when the request authenticated with an API key.
1962
+ */
1963
+ key: CapabilitiesKey | null;
1964
+ /**
1965
+ * Remaining Dataset Quota
1966
+ *
1967
+ * Datasets the account can still create, or null when uncapped.
1968
+ */
1969
+ remaining_dataset_quota: number | null;
1970
+ };
1971
+ /**
1972
+ * CapabilitiesRateLimits
1973
+ */
1974
+ export type CapabilitiesRateLimits = {
1975
+ /**
1976
+ * Global Per Second
1977
+ *
1978
+ * Requests per second per client IP.
1979
+ */
1980
+ global_per_second: number;
1981
+ /**
1982
+ * Login Per Minute
1983
+ *
1984
+ * Login attempts per minute.
1985
+ */
1986
+ login_per_minute: number;
1987
+ };
1988
+ /**
1989
+ * CapabilitiesResponse
1990
+ */
1991
+ export type CapabilitiesResponse = {
1992
+ server: CapabilitiesServer;
1993
+ /**
1994
+ * Publish Contract
1995
+ *
1996
+ * Version of the publish contract the server speaks.
1997
+ */
1998
+ publish_contract: number;
1999
+ auth: CapabilitiesAuth;
2000
+ /**
2001
+ * Upload limits. Present only with credentials.
2002
+ */
2003
+ upload: CapabilitiesUpload | null;
2004
+ /**
2005
+ * Basemaps
2006
+ *
2007
+ * Enabled basemaps whose provider key, if any, is configured.
2008
+ */
2009
+ basemaps: Array<CapabilitiesBasemap>;
2010
+ flags: FeatureFlagsResponse;
2011
+ /**
2012
+ * Status Order
2013
+ *
2014
+ * Dataset workflow statuses, from first to last.
2015
+ */
2016
+ status_order: Array<string>;
2017
+ rate_limits: CapabilitiesRateLimits;
2018
+ /**
2019
+ * The caller's account. Present only with credentials.
2020
+ */
2021
+ me: CapabilitiesMe | null;
2022
+ };
2023
+ /**
2024
+ * CapabilitiesServer
2025
+ */
2026
+ export type CapabilitiesServer = {
2027
+ /**
2028
+ * Version
2029
+ *
2030
+ * Running GeoLens version.
2031
+ */
2032
+ version: string;
2033
+ /**
2034
+ * Edition
2035
+ *
2036
+ * Edition the server runs.
2037
+ */
2038
+ edition: string;
2039
+ };
2040
+ /**
2041
+ * CapabilitiesUpload
2042
+ */
2043
+ export type CapabilitiesUpload = {
2044
+ /**
2045
+ * Max File Size Bytes
2046
+ *
2047
+ * Largest accepted upload, in bytes.
2048
+ */
2049
+ max_file_size_bytes: number;
2050
+ /**
2051
+ * Allowed Extensions
2052
+ *
2053
+ * Extensions a publish manifest can carry, a subset of the upload allowlist.
2054
+ */
2055
+ allowed_extensions: Array<string>;
2056
+ /**
2057
+ * Presigned
2058
+ *
2059
+ * Whether direct-to-S3 uploads are enabled.
2060
+ */
2061
+ presigned: boolean;
2062
+ };
1717
2063
  /**
1718
2064
  * CatalogStatsResponse
1719
2065
  */
@@ -1733,9 +2079,15 @@ export type CatalogStatsResponse = {
1733
2079
  /**
1734
2080
  * Total Storage Bytes
1735
2081
  *
1736
- * Total storage used by dataset tables plus the recorded sizes of stored data files (rasters, point clouds, 3D Tiles), in bytes. Quicklook images carry no recorded size and are not counted. Null if calculation is unavailable.
2082
+ * Total storage used by dataset tables, including the tables that keep previous versions, plus the recorded sizes of stored data files (rasters, point clouds, 3D Tiles), in bytes. Quicklook images carry no recorded size and are not counted. Null if calculation is unavailable.
1737
2083
  */
1738
2084
  total_storage_bytes: number | null;
2085
+ /**
2086
+ * Previous Versions Bytes
2087
+ *
2088
+ * Recorded size of the tables that keep datasets' previous versions, in bytes; part of total_storage_bytes.
2089
+ */
2090
+ previous_versions_bytes?: number;
1739
2091
  /**
1740
2092
  * Datasets By Geometry Type
1741
2093
  *
@@ -1789,7 +2141,7 @@ export type ChatAction = {
1789
2141
  /**
1790
2142
  * Type
1791
2143
  */
1792
- type: 'set_filter' | 'set_style' | 'set_data_driven_style' | 'set_label' | 'toggle_visibility' | 'add_layer' | 'remove_layer' | 'show_query_result' | 'set_opacity';
2144
+ type: 'set_filter' | 'set_style' | 'set_data_driven_style' | 'set_label' | 'toggle_visibility' | 'add_layer' | 'remove_layer' | 'show_query_result' | 'set_opacity' | 'set_render_as';
1793
2145
  /**
1794
2146
  * Layer Id
1795
2147
  */
@@ -1840,6 +2192,14 @@ export type ChatAction = {
1840
2192
  * Opacity
1841
2193
  */
1842
2194
  opacity?: number | null;
2195
+ /**
2196
+ * Render As
2197
+ */
2198
+ render_as?: string | null;
2199
+ /**
2200
+ * Height Column
2201
+ */
2202
+ height_column?: string | null;
1843
2203
  geojson?: GeoJsonFeatureCollection | null;
1844
2204
  /**
1845
2205
  * Bbox
@@ -2231,7 +2591,7 @@ export type ColumnDefinition = {
2231
2591
  /**
2232
2592
  * Type
2233
2593
  */
2234
- type: 'text' | 'integer' | 'float' | 'date' | 'boolean';
2594
+ type: 'text' | 'integer' | 'float' | 'date' | 'boolean' | 'timestamp';
2235
2595
  };
2236
2596
  /**
2237
2597
  * ColumnInfo
@@ -2265,6 +2625,10 @@ export type ColumnInfo = {
2265
2625
  stats?: {
2266
2626
  [key: string]: unknown;
2267
2627
  } | null;
2628
+ /**
2629
+ * Source Name
2630
+ */
2631
+ source_name?: string | null;
2268
2632
  };
2269
2633
  /**
2270
2634
  * ColumnListResponse
@@ -2473,6 +2837,18 @@ export type CommitRequest = {
2473
2837
  * Raster only: reject a non-COG TIFF instead of converting it. False (the default) converts the source to a COG during ingest. True fails the job when the source is not already a compliant COG, and cannot be combined with resampling, nodata_override, srid_override or a compression other than the default DEFLATE: each of those is applied by a conversion, so the commit is refused with a 422 naming the fields that clash.
2474
2838
  */
2475
2839
  strict_cog?: boolean;
2840
+ /**
2841
+ * Item Id
2842
+ *
2843
+ * Vector file only: ArcGIS portal item ID the file came from, at most 64 characters (longer is refused with 422). Stored as provenance when it is 32 hex characters, otherwise dropped and reported in origin_link_loss; other import types report it as 'origin_link_unsupported'.
2844
+ */
2845
+ item_id?: string | null;
2846
+ /**
2847
+ * Portal Url
2848
+ *
2849
+ * Vector file only: ArcGIS portal address for the item link, at most 2048 characters (longer is refused with 422). Stored only when it is an https URL, otherwise dropped and reported in origin_link_loss; other import types report it as 'origin_link_unsupported'.
2850
+ */
2851
+ portal_url?: string | null;
2476
2852
  };
2477
2853
  /**
2478
2854
  * CommitResponse
@@ -2496,6 +2872,12 @@ export type CommitResponse = {
2496
2872
  * Human-readable commit result.
2497
2873
  */
2498
2874
  message: string;
2875
+ /**
2876
+ * Origin Link Loss
2877
+ *
2878
+ * Reasons the ArcGIS item link was dropped: 'item_id_invalid', 'portal_url_invalid', 'portal_url_domain_mismatch' or 'origin_link_unsupported'. Empty when nothing was dropped.
2879
+ */
2880
+ origin_link_loss?: Array<string>;
2499
2881
  };
2500
2882
  /**
2501
2883
  * ConfigImportRequest
@@ -2886,14 +3268,71 @@ export type ContactUpdate = {
2886
3268
  sort_order?: number | null;
2887
3269
  };
2888
3270
  /**
2889
- * CreateEmptyDatasetRequest
3271
+ * CountRequest
2890
3272
  */
2891
- export type CreateEmptyDatasetRequest = {
3273
+ export type CountRequest = {
2892
3274
  /**
2893
- * Title
3275
+ * Filter
3276
+ *
3277
+ * CQL2-JSON filter, as the OGC API Features `filter` accepts.
2894
3278
  */
2895
- title: string;
2896
- /**
3279
+ filter?: {
3280
+ [key: string]: unknown;
3281
+ } | null;
3282
+ /**
3283
+ * Bbox
3284
+ *
3285
+ * Map view `[west, south, east, north]` in WGS 84; west greater than east crosses the antimeridian. Omit for the whole layer.
3286
+ */
3287
+ bbox?: [
3288
+ number,
3289
+ number,
3290
+ number,
3291
+ number
3292
+ ] | null;
3293
+ /**
3294
+ * Op
3295
+ */
3296
+ op: 'count';
3297
+ };
3298
+ /**
3299
+ * CountResponse
3300
+ */
3301
+ export type CountResponse = {
3302
+ /**
3303
+ * Approximate
3304
+ *
3305
+ * Always false: a view too wide to count exactly is refused.
3306
+ */
3307
+ approximate?: false;
3308
+ /**
3309
+ * Cached
3310
+ */
3311
+ cached: boolean;
3312
+ /**
3313
+ * Op
3314
+ */
3315
+ op: 'count';
3316
+ result: CountResult;
3317
+ };
3318
+ /**
3319
+ * CountResult
3320
+ */
3321
+ export type CountResult = {
3322
+ /**
3323
+ * Count
3324
+ */
3325
+ count: number;
3326
+ };
3327
+ /**
3328
+ * CreateEmptyDatasetRequest
3329
+ */
3330
+ export type CreateEmptyDatasetRequest = {
3331
+ /**
3332
+ * Title
3333
+ */
3334
+ title: string;
3335
+ /**
2897
3336
  * Columns
2898
3337
  */
2899
3338
  columns: Array<ColumnDefinition>;
@@ -2974,6 +3413,103 @@ export type CreateLayerResponse = {
2974
3413
  */
2975
3414
  created_at: string;
2976
3415
  };
3416
+ /**
3417
+ * DatasetApiKeyCreateRequest
3418
+ */
3419
+ export type DatasetApiKeyCreateRequest = {
3420
+ /**
3421
+ * Name
3422
+ *
3423
+ * Human-readable label for the API key
3424
+ */
3425
+ name: string;
3426
+ /**
3427
+ * Expires At
3428
+ *
3429
+ * Expiry timestamp (RFC 3339, timezone-aware), in the future and at most 365 days away. Expired keys stop authenticating.
3430
+ */
3431
+ expires_at: string;
3432
+ /**
3433
+ * Scope
3434
+ *
3435
+ * 'dataset_write' reads and writes the dataset's features. 'dataset_append' only creates features, one or a FeatureCollection per request, and can't read, change or delete them.
3436
+ */
3437
+ scope?: 'dataset_write' | 'dataset_append';
3438
+ };
3439
+ /**
3440
+ * DatasetApiKeyListItem
3441
+ */
3442
+ export type DatasetApiKeyListItem = {
3443
+ /**
3444
+ * Id
3445
+ */
3446
+ id: string;
3447
+ /**
3448
+ * Name
3449
+ */
3450
+ name: string;
3451
+ /**
3452
+ * Fingerprint
3453
+ *
3454
+ * Non-secret key identifier; null for keys created before fingerprint support
3455
+ */
3456
+ fingerprint: string | null;
3457
+ /**
3458
+ * Is Active
3459
+ */
3460
+ is_active: boolean;
3461
+ /**
3462
+ * Expires At
3463
+ *
3464
+ * Expiry timestamp; null means the key does not expire
3465
+ */
3466
+ expires_at?: string | null;
3467
+ /**
3468
+ * Scope
3469
+ *
3470
+ * Privilege scope: 'full', 'read_only', 'publish' (reads, uploads, manifest apply, dataset metadata edits and new maps, but no map updates, deletes, feature writes or public visibility), 'dataset_write' (reads and writes the features of the dataset in dataset_id, and nothing else), or 'dataset_append' (only creates features in that dataset)
3471
+ */
3472
+ scope: string;
3473
+ /**
3474
+ * Dataset Id
3475
+ *
3476
+ * The dataset a 'dataset_write' or 'dataset_append' key is bound to; null for other scopes
3477
+ */
3478
+ dataset_id?: string | null;
3479
+ /**
3480
+ * Created At
3481
+ */
3482
+ created_at: string;
3483
+ /**
3484
+ * Last Used At
3485
+ */
3486
+ last_used_at: string | null;
3487
+ /**
3488
+ * User Id
3489
+ *
3490
+ * The user who minted the key; it acts as them
3491
+ */
3492
+ user_id: string;
3493
+ /**
3494
+ * Username
3495
+ *
3496
+ * That user's username
3497
+ */
3498
+ username: string;
3499
+ };
3500
+ /**
3501
+ * DatasetApiKeyListResponse
3502
+ */
3503
+ export type DatasetApiKeyListResponse = {
3504
+ /**
3505
+ * Items
3506
+ */
3507
+ items: Array<DatasetApiKeyListItem>;
3508
+ /**
3509
+ * Total
3510
+ */
3511
+ total: number;
3512
+ };
2977
3513
  /**
2978
3514
  * DatasetChatRequest
2979
3515
  *
@@ -3011,6 +3547,40 @@ export type DatasetDeleteRequest = {
3011
3547
  */
3012
3548
  confirm_title: string;
3013
3549
  };
3550
+ /**
3551
+ * DatasetGroupsResponse
3552
+ */
3553
+ export type DatasetGroupsResponse = {
3554
+ /**
3555
+ * Visibility
3556
+ *
3557
+ * The dataset's visibility after the change: a private dataset shared with a group becomes restricted, and a restricted one left with no group or role grant becomes private.
3558
+ */
3559
+ visibility: string;
3560
+ /**
3561
+ * Groups
3562
+ *
3563
+ * The sharing groups the dataset is shared with, by name.
3564
+ */
3565
+ groups: Array<GroupRef>;
3566
+ /**
3567
+ * Metadata Warnings
3568
+ *
3569
+ * Advisory warnings, as on the metadata PATCH. The change has already applied.
3570
+ */
3571
+ metadata_warnings?: Array<string> | null;
3572
+ };
3573
+ /**
3574
+ * DatasetGroupsUpdate
3575
+ */
3576
+ export type DatasetGroupsUpdate = {
3577
+ /**
3578
+ * Group Ids
3579
+ *
3580
+ * Every group the dataset is shared with afterwards; an empty list unshares it. An owner may add only groups they belong to, and an admin any group.
3581
+ */
3582
+ group_ids: Array<string>;
3583
+ };
3014
3584
  /**
3015
3585
  * DatasetListResponse
3016
3586
  */
@@ -3151,6 +3721,12 @@ export type DatasetMeta = {
3151
3721
  * Admin only: transfer the dataset to this active user.
3152
3722
  */
3153
3723
  owner_id?: string | null;
3724
+ /**
3725
+ * Expected Updated At
3726
+ *
3727
+ * The dataset's `updated_at` the caller read. When set and the dataset has changed since, nothing is written and the answer is 409 with `detail.code` `stale_write`. Omit it to write unconditionally.
3728
+ */
3729
+ expected_updated_at?: string | null;
3154
3730
  };
3155
3731
  /**
3156
3732
  * DatasetRefreshRequest
@@ -3185,6 +3761,12 @@ export type DatasetRefreshRequest = {
3185
3761
  * Structured credential for a protected service. Mutually exclusive with the token field.
3186
3762
  */
3187
3763
  auth?: ServiceAuthRequest | null;
3764
+ /**
3765
+ * Expected Data Revision
3766
+ *
3767
+ * The dataset's `data_revision` the caller last saw. When it differs from the revision this replacement is compared with, every write counts as later, so the run stops for review with `live_data_changed` instead of publishing. Omit it to compare with the revision at admission only. Service refreshes only; 422 for any other origin.
3768
+ */
3769
+ expected_data_revision?: number | null;
3188
3770
  };
3189
3771
  /**
3190
3772
  * DatasetRefreshResponse
@@ -3579,6 +4161,10 @@ export type DatasetResponse = {
3579
4161
  * Ordered vector-tile property allowlist; null uses zoom defaults, [] emits geometry-only tiles, list emits those properties at any zoom.
3580
4162
  */
3581
4163
  tile_columns?: Array<string> | null;
4164
+ /**
4165
+ * How long rows are kept; null keeps every row.
4166
+ */
4167
+ retention?: DatasetRetention | null;
3582
4168
  /**
3583
4169
  * Original Srid
3584
4170
  *
@@ -3747,6 +4333,12 @@ export type DatasetResponse = {
3747
4333
  * Updated By
3748
4334
  */
3749
4335
  updated_by?: string | null;
4336
+ /**
4337
+ * Data Revision
4338
+ *
4339
+ * Counts writes to the dataset's features and columns. Owner and admin only; null for other readers.
4340
+ */
4341
+ data_revision?: number | null;
3750
4342
  /**
3751
4343
  * Record Type
3752
4344
  *
@@ -3790,9 +4382,64 @@ export type DatasetResponse = {
3790
4382
  */
3791
4383
  metadata_warnings?: Array<string> | null;
3792
4384
  /**
3793
- * The data the last replacement or restore replaced, which POST /previous-version/restore publishes again. Set on the detail endpoint only; null elsewhere and when there is none.
4385
+ * Deprecated: the first entry of previous_versions. Set on the detail endpoint only; null elsewhere and when there is none.
3794
4386
  */
3795
4387
  previous_version?: PreviousVersionResponse | null;
4388
+ /**
4389
+ * Previous Versions
4390
+ *
4391
+ * The kept previous versions, newest first, each of which POST /previous-versions/{version_number}/restore publishes again. An administrator sets how many a dataset keeps. Set on the detail endpoint only; null elsewhere.
4392
+ */
4393
+ previous_versions?: Array<PreviousVersionResponse> | null;
4394
+ /**
4395
+ * Groups
4396
+ *
4397
+ * The sharing groups the dataset is shared with, by name. Set on the detail endpoint for the owner and admins only; null elsewhere.
4398
+ */
4399
+ groups?: Array<GroupRef> | null;
4400
+ };
4401
+ /**
4402
+ * DatasetRetention
4403
+ *
4404
+ * Keep only the rows from the last `days` days, judged by `column`.
4405
+ */
4406
+ export type DatasetRetention = {
4407
+ /**
4408
+ * Column
4409
+ *
4410
+ * A date or timestamp column of the dataset's table. Rows where it is null are kept.
4411
+ */
4412
+ column: string;
4413
+ /**
4414
+ * Days
4415
+ */
4416
+ days: number;
4417
+ };
4418
+ /**
4419
+ * DatasetRetentionResponse
4420
+ */
4421
+ export type DatasetRetentionResponse = {
4422
+ retention: DatasetRetention | null;
4423
+ /**
4424
+ * Rows Past Cutoff
4425
+ *
4426
+ * On a dry run, rows currently older than the cutoff, 0 when off. Hourly runs delete them in batches, so a large backlog can take several runs. Null on a save, which does not count them.
4427
+ */
4428
+ rows_past_cutoff: number | null;
4429
+ /**
4430
+ * Cutoff
4431
+ *
4432
+ * Rows older than this UTC instant are past retention; for a date column it is UTC midnight of the cutoff date. Null when off.
4433
+ */
4434
+ cutoff?: string | null;
4435
+ };
4436
+ /**
4437
+ * DatasetRetentionUpdate
4438
+ *
4439
+ * The retention setting to store; null turns retention off.
4440
+ */
4441
+ export type DatasetRetentionUpdate = {
4442
+ retention: DatasetRetention | null;
3796
4443
  };
3797
4444
  /**
3798
4445
  * DatasetRowsResponse
@@ -3820,6 +4467,18 @@ export type DatasetRowsResponse = {
3820
4467
  * Cursor value for the next page, null if last
3821
4468
  */
3822
4469
  next_cursor?: number | null;
4470
+ /**
4471
+ * Sortable Columns
4472
+ *
4473
+ * Columns the rows endpoint accepts as `sort`.
4474
+ */
4475
+ sortable_columns?: Array<string>;
4476
+ /**
4477
+ * Table Id
4478
+ *
4479
+ * Opaque id of the data table these rows were read from. Send it as the `table_id` query parameter of a feature write or batch delete to have it refused if a reupload or overwrite replaced the table since.
4480
+ */
4481
+ table_id?: string | null;
3823
4482
  };
3824
4483
  /**
3825
4484
  * DatasetVersionListResponse
@@ -4320,6 +4979,12 @@ export type DuplicateMapResponse = {
4320
4979
  * Legend Title
4321
4980
  */
4322
4981
  legend_title?: string | null;
4982
+ /**
4983
+ * Groups
4984
+ *
4985
+ * The sharing groups the map is shared with, by name. Set on the detail endpoint for the owner and admins only; null elsewhere.
4986
+ */
4987
+ groups?: Array<GroupRef> | null;
4323
4988
  /**
4324
4989
  * Excluded Layer Count
4325
4990
  *
@@ -4636,6 +5301,18 @@ export type FanOutCommitRequest = {
4636
5301
  * Layers to ingest as separate datasets. Maximum 50 per request.
4637
5302
  */
4638
5303
  layers: Array<FanOutLayerRequest>;
5304
+ /**
5305
+ * Item Id
5306
+ *
5307
+ * ArcGIS portal item ID the file came from. Stored as provenance when it is 32 hex characters, otherwise dropped and reported in origin_link_loss.
5308
+ */
5309
+ item_id?: string | null;
5310
+ /**
5311
+ * Portal Url
5312
+ *
5313
+ * ArcGIS portal address for the item link. Stored only when it is an https URL, otherwise dropped and reported in origin_link_loss.
5314
+ */
5315
+ portal_url?: string | null;
4639
5316
  };
4640
5317
  /**
4641
5318
  * FanOutCommitResponse
@@ -4655,6 +5332,12 @@ export type FanOutCommitResponse = {
4655
5332
  * Per-layer outcomes in the same order as the request layers.
4656
5333
  */
4657
5334
  results: Array<FanOutLayerResult>;
5335
+ /**
5336
+ * Origin Link Loss
5337
+ *
5338
+ * Reasons the ArcGIS item link was dropped: 'item_id_invalid', 'portal_url_invalid', 'portal_url_domain_mismatch' or 'origin_link_unsupported'. Empty when nothing was dropped.
5339
+ */
5340
+ origin_link_loss?: Array<string>;
4658
5341
  };
4659
5342
  /**
4660
5343
  * FanOutLayerRequest
@@ -4712,6 +5395,55 @@ export type FanOutLayerResult = {
4712
5395
  */
4713
5396
  error?: string | null;
4714
5397
  };
5398
+ /**
5399
+ * FeatureBatchDelete
5400
+ *
5401
+ * The features a batch delete removes.
5402
+ */
5403
+ export type FeatureBatchDelete = {
5404
+ /**
5405
+ * Gids
5406
+ *
5407
+ * Ids of the features to delete, at most 1000. If any does not exist, none is deleted.
5408
+ */
5409
+ gids: Array<number>;
5410
+ };
5411
+ /**
5412
+ * FeatureBatchDeleted
5413
+ *
5414
+ * The result of a batch delete.
5415
+ */
5416
+ export type FeatureBatchDeleted = {
5417
+ /**
5418
+ * Deleted
5419
+ *
5420
+ * Number of features deleted.
5421
+ */
5422
+ deleted: number;
5423
+ /**
5424
+ * Tile Cache Version
5425
+ *
5426
+ * 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.
5427
+ */
5428
+ tile_cache_version?: number | null;
5429
+ };
5430
+ /**
5431
+ * FeatureCollectionCreate
5432
+ *
5433
+ * A GeoJSON FeatureCollection whose features are inserted together.
5434
+ */
5435
+ export type FeatureCollectionCreate = {
5436
+ /**
5437
+ * Type
5438
+ */
5439
+ type: 'FeatureCollection';
5440
+ /**
5441
+ * Features
5442
+ *
5443
+ * Features to insert in one transaction, at most 1000. If any is refused, none is inserted.
5444
+ */
5445
+ features: Array<FeatureCreate>;
5446
+ };
4715
5447
  /**
4716
5448
  * FeatureCreate
4717
5449
  *
@@ -4859,19 +5591,238 @@ export type GeoJsonGeometryCollection = {
4859
5591
  geometries: Array<GeoJsonGeometry>;
4860
5592
  };
4861
5593
  /**
4862
- * HealthResponse
5594
+ * GroupByRequest
4863
5595
  */
4864
- export type HealthResponse = {
5596
+ export type GroupByRequest = {
4865
5597
  /**
4866
- * Status
5598
+ * Filter
5599
+ *
5600
+ * CQL2-JSON filter, as the OGC API Features `filter` accepts.
4867
5601
  */
4868
- status: string;
5602
+ filter?: {
5603
+ [key: string]: unknown;
5604
+ } | null;
4869
5605
  /**
4870
- * Version
5606
+ * Bbox
5607
+ *
5608
+ * Map view `[west, south, east, north]` in WGS 84; west greater than east crosses the antimeridian. Omit for the whole layer.
4871
5609
  */
4872
- version: string;
5610
+ bbox?: [
5611
+ number,
5612
+ number,
5613
+ number,
5614
+ number
5615
+ ] | null;
4873
5616
  /**
4874
- * Build
5617
+ * Op
5618
+ */
5619
+ op: 'group_by';
5620
+ /**
5621
+ * Group Column
5622
+ */
5623
+ group_column: string;
5624
+ /**
5625
+ * Stat
5626
+ */
5627
+ stat: 'count' | 'sum' | 'avg' | 'min' | 'max';
5628
+ /**
5629
+ * Column
5630
+ *
5631
+ * The numeric column `stat` reads; omit for `count`.
5632
+ */
5633
+ column?: string | null;
5634
+ /**
5635
+ * Limit
5636
+ */
5637
+ limit?: number;
5638
+ };
5639
+ /**
5640
+ * GroupByResponse
5641
+ */
5642
+ export type GroupByResponse = {
5643
+ /**
5644
+ * Approximate
5645
+ *
5646
+ * Always false: a view too wide to count exactly is refused.
5647
+ */
5648
+ approximate?: false;
5649
+ /**
5650
+ * Cached
5651
+ */
5652
+ cached: boolean;
5653
+ /**
5654
+ * Op
5655
+ */
5656
+ op: 'group_by';
5657
+ result: GroupByResult;
5658
+ };
5659
+ /**
5660
+ * GroupByResult
5661
+ */
5662
+ export type GroupByResult = {
5663
+ /**
5664
+ * Groups
5665
+ *
5666
+ * Largest value first.
5667
+ */
5668
+ groups: Array<GroupValue>;
5669
+ };
5670
+ /**
5671
+ * GroupListResponse
5672
+ */
5673
+ export type GroupListResponse = {
5674
+ /**
5675
+ * Groups
5676
+ *
5677
+ * Page of groups, by name.
5678
+ */
5679
+ groups: Array<GroupResponse>;
5680
+ /**
5681
+ * Total
5682
+ *
5683
+ * Total number of groups (across all pages).
5684
+ */
5685
+ total: number;
5686
+ };
5687
+ /**
5688
+ * GroupMemberListResponse
5689
+ */
5690
+ export type GroupMemberListResponse = {
5691
+ /**
5692
+ * Members
5693
+ *
5694
+ * Page of group members, by username.
5695
+ */
5696
+ members: Array<UserNameItem>;
5697
+ /**
5698
+ * Total
5699
+ *
5700
+ * Total number of members (across all pages).
5701
+ */
5702
+ total: number;
5703
+ };
5704
+ /**
5705
+ * GroupMembersAdd
5706
+ */
5707
+ export type GroupMembersAdd = {
5708
+ /**
5709
+ * User Ids
5710
+ *
5711
+ * Users to add. Users already in the group are left as they are; if any id matches no user, none are added.
5712
+ */
5713
+ user_ids: Array<string>;
5714
+ };
5715
+ /**
5716
+ * GroupRef
5717
+ */
5718
+ export type GroupRef = {
5719
+ /**
5720
+ * Id
5721
+ *
5722
+ * Unique group identifier.
5723
+ */
5724
+ id: string;
5725
+ /**
5726
+ * Name
5727
+ *
5728
+ * Group name.
5729
+ */
5730
+ name: string;
5731
+ };
5732
+ /**
5733
+ * GroupRefListResponse
5734
+ */
5735
+ export type GroupRefListResponse = {
5736
+ /**
5737
+ * Groups
5738
+ *
5739
+ * Page of groups, by name.
5740
+ */
5741
+ groups: Array<GroupRef>;
5742
+ /**
5743
+ * Total
5744
+ *
5745
+ * Total number of groups (across all pages).
5746
+ */
5747
+ total: number;
5748
+ };
5749
+ /**
5750
+ * GroupResponse
5751
+ */
5752
+ export type GroupResponse = {
5753
+ /**
5754
+ * Id
5755
+ *
5756
+ * Unique group identifier.
5757
+ */
5758
+ id: string;
5759
+ /**
5760
+ * Name
5761
+ *
5762
+ * Group name.
5763
+ */
5764
+ name: string;
5765
+ /**
5766
+ * Member Count
5767
+ *
5768
+ * Number of users in the group.
5769
+ */
5770
+ member_count: number;
5771
+ /**
5772
+ * Created At
5773
+ *
5774
+ * When the group was created.
5775
+ */
5776
+ created_at: string;
5777
+ /**
5778
+ * Updated At
5779
+ *
5780
+ * When the group was last renamed.
5781
+ */
5782
+ updated_at: string;
5783
+ };
5784
+ /**
5785
+ * GroupValue
5786
+ */
5787
+ export type GroupValue = {
5788
+ /**
5789
+ * Key
5790
+ *
5791
+ * The column's value. A number JSON cannot carry exactly, such as an integer beyond 2^53 or NaN, comes back as text.
5792
+ */
5793
+ key: string | number | number | boolean | null;
5794
+ /**
5795
+ * Value
5796
+ *
5797
+ * Exact for count, sum, min and max, as for a key; avg is a float.
5798
+ */
5799
+ value: number | number | string | null;
5800
+ };
5801
+ /**
5802
+ * GroupWrite
5803
+ */
5804
+ export type GroupWrite = {
5805
+ /**
5806
+ * Name
5807
+ *
5808
+ * Group name, unique across the instance. Leading and trailing whitespace is removed.
5809
+ */
5810
+ name: string;
5811
+ };
5812
+ /**
5813
+ * HealthResponse
5814
+ */
5815
+ export type HealthResponse = {
5816
+ /**
5817
+ * Status
5818
+ */
5819
+ status: string;
5820
+ /**
5821
+ * Version
5822
+ */
5823
+ version: string;
5824
+ /**
5825
+ * Build
4875
5826
  */
4876
5827
  build?: string | null;
4877
5828
  /**
@@ -4881,6 +5832,90 @@ export type HealthResponse = {
4881
5832
  [key: string]: ServiceHealth;
4882
5833
  };
4883
5834
  };
5835
+ /**
5836
+ * HistogramBin
5837
+ */
5838
+ export type HistogramBin = {
5839
+ /**
5840
+ * Lower
5841
+ */
5842
+ lower: number;
5843
+ /**
5844
+ * Upper
5845
+ */
5846
+ upper: number;
5847
+ /**
5848
+ * Count
5849
+ */
5850
+ count: number;
5851
+ };
5852
+ /**
5853
+ * HistogramRequest
5854
+ */
5855
+ export type HistogramRequest = {
5856
+ /**
5857
+ * Filter
5858
+ *
5859
+ * CQL2-JSON filter, as the OGC API Features `filter` accepts.
5860
+ */
5861
+ filter?: {
5862
+ [key: string]: unknown;
5863
+ } | null;
5864
+ /**
5865
+ * Bbox
5866
+ *
5867
+ * Map view `[west, south, east, north]` in WGS 84; west greater than east crosses the antimeridian. Omit for the whole layer.
5868
+ */
5869
+ bbox?: [
5870
+ number,
5871
+ number,
5872
+ number,
5873
+ number
5874
+ ] | null;
5875
+ /**
5876
+ * Op
5877
+ */
5878
+ op: 'histogram';
5879
+ /**
5880
+ * Column
5881
+ */
5882
+ column: string;
5883
+ /**
5884
+ * Bins
5885
+ */
5886
+ bins?: number;
5887
+ };
5888
+ /**
5889
+ * HistogramResponse
5890
+ */
5891
+ export type HistogramResponse = {
5892
+ /**
5893
+ * Approximate
5894
+ *
5895
+ * Always false: a view too wide to count exactly is refused.
5896
+ */
5897
+ approximate?: false;
5898
+ /**
5899
+ * Cached
5900
+ */
5901
+ cached: boolean;
5902
+ /**
5903
+ * Op
5904
+ */
5905
+ op: 'histogram';
5906
+ result: HistogramResult;
5907
+ };
5908
+ /**
5909
+ * HistogramResult
5910
+ */
5911
+ export type HistogramResult = {
5912
+ /**
5913
+ * Bins
5914
+ *
5915
+ * Equal-width bins over the finite values; empty with none.
5916
+ */
5917
+ bins: Array<HistogramBin>;
5918
+ };
4884
5919
  /**
4885
5920
  * ImportResult
4886
5921
  *
@@ -5031,69 +6066,153 @@ export type JobCancelResponse = {
5031
6066
  already?: boolean;
5032
6067
  };
5033
6068
  /**
5034
- * JobStatusResponse
6069
+ * JobRefreshRunSummary
5035
6070
  */
5036
- export type JobStatusResponse = {
6071
+ export type JobRefreshRunSummary = {
5037
6072
  /**
5038
6073
  * Id
5039
6074
  */
5040
6075
  id: string;
5041
6076
  /**
5042
6077
  * Status
6078
+ *
6079
+ * Refresh run status. `blocked` means the run is held for review.
5043
6080
  */
5044
- status: 'pending' | 'running' | 'complete' | 'failed' | 'cancelled' | 'fanned_out';
6081
+ status: string;
5045
6082
  /**
5046
- * Dataset Id
6083
+ * Review Reasons
6084
+ *
6085
+ * Why a blocked run needs review.
5047
6086
  */
5048
- dataset_id: string | null;
6087
+ review_reasons?: Array<string>;
6088
+ };
6089
+ /**
6090
+ * JobStatusBatchEntry
6091
+ */
6092
+ export type JobStatusBatchEntry = {
5049
6093
  /**
5050
- * Source Filename
6094
+ * Id
5051
6095
  */
5052
- source_filename: string | null;
6096
+ id: string;
5053
6097
  /**
5054
- * Error Message
6098
+ * Status
6099
+ *
6100
+ * Job status. `not_found` covers an unknown id and a job the caller may not read alike.
5055
6101
  */
5056
- error_message: string | null;
6102
+ status: 'pending' | 'running' | 'complete' | 'failed' | 'cancelled' | 'fanned_out' | 'not_found';
5057
6103
  /**
5058
- * Error Code
5059
- *
5060
- * 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.
6104
+ * Dataset Id
5061
6105
  */
5062
- error_code?: string | null;
6106
+ dataset_id?: string | null;
5063
6107
  /**
5064
- * Can Retry
6108
+ * Progress
5065
6109
  */
5066
- can_retry: boolean;
6110
+ progress?: number | null;
5067
6111
  /**
5068
- * Retry Reason
6112
+ * Current Step
5069
6113
  */
5070
- retry_reason: string | null;
6114
+ current_step?: 'queued' | 'downloading' | 'validating' | 'ogr2ogr' | 'finalize' | 'complete' | 'cog_convert' | 'quicklook' | 'analyzing' | 'registering' | null;
5071
6115
  /**
5072
- * Warning Message
6116
+ * Error Code
5073
6117
  */
5074
- warning_message?: string | null;
6118
+ error_code?: string | null;
5075
6119
  /**
5076
6120
  * Warnings
5077
6121
  */
5078
6122
  warnings?: Array<ReservedRenameWarning | DbfTruncationCollisionWarning | MercatorClipWarning>;
5079
6123
  /**
5080
- * Progress
6124
+ * Can Retry
5081
6125
  */
5082
- progress?: number | null;
6126
+ can_retry?: boolean;
5083
6127
  /**
5084
- * Current Step
6128
+ * The refresh run bound to a reupload or manifest update job.
5085
6129
  */
5086
- current_step?: 'queued' | 'downloading' | 'validating' | 'ogr2ogr' | 'finalize' | 'complete' | 'cog_convert' | 'quicklook' | 'analyzing' | 'registering' | null;
6130
+ refresh_run?: JobRefreshRunSummary | null;
6131
+ };
6132
+ /**
6133
+ * JobStatusBatchRequest
6134
+ */
6135
+ export type JobStatusBatchRequest = {
5087
6136
  /**
5088
- * Rows Processed
6137
+ * Job Ids
6138
+ *
6139
+ * Jobs to report on. Repeated ids are answered once.
5089
6140
  */
5090
- rows_processed?: number | null;
6141
+ job_ids: Array<string>;
6142
+ };
6143
+ /**
6144
+ * JobStatusBatchResponse
6145
+ */
6146
+ export type JobStatusBatchResponse = {
5091
6147
  /**
5092
- * Rows Failed
6148
+ * Jobs
5093
6149
  */
5094
- rows_failed?: number | null;
6150
+ jobs: Array<JobStatusBatchEntry>;
6151
+ };
6152
+ /**
6153
+ * JobStatusResponse
6154
+ */
6155
+ export type JobStatusResponse = {
5095
6156
  /**
5096
- * Archive Failed
6157
+ * Id
6158
+ */
6159
+ id: string;
6160
+ /**
6161
+ * Status
6162
+ */
6163
+ status: 'pending' | 'running' | 'complete' | 'failed' | 'cancelled' | 'fanned_out';
6164
+ /**
6165
+ * Dataset Id
6166
+ */
6167
+ dataset_id: string | null;
6168
+ /**
6169
+ * Source Filename
6170
+ */
6171
+ source_filename: string | null;
6172
+ /**
6173
+ * Error Message
6174
+ */
6175
+ error_message: string | null;
6176
+ /**
6177
+ * Error Code
6178
+ *
6179
+ * 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.
6180
+ */
6181
+ error_code?: string | null;
6182
+ /**
6183
+ * Can Retry
6184
+ */
6185
+ can_retry: boolean;
6186
+ /**
6187
+ * Retry Reason
6188
+ */
6189
+ retry_reason: string | null;
6190
+ /**
6191
+ * Warning Message
6192
+ */
6193
+ warning_message?: string | null;
6194
+ /**
6195
+ * Warnings
6196
+ */
6197
+ warnings?: Array<ReservedRenameWarning | DbfTruncationCollisionWarning | MercatorClipWarning>;
6198
+ /**
6199
+ * Progress
6200
+ */
6201
+ progress?: number | null;
6202
+ /**
6203
+ * Current Step
6204
+ */
6205
+ current_step?: 'queued' | 'downloading' | 'validating' | 'ogr2ogr' | 'finalize' | 'complete' | 'cog_convert' | 'quicklook' | 'analyzing' | 'registering' | null;
6206
+ /**
6207
+ * Rows Processed
6208
+ */
6209
+ rows_processed?: number | null;
6210
+ /**
6211
+ * Rows Failed
6212
+ */
6213
+ rows_failed?: number | null;
6214
+ /**
6215
+ * Archive Failed
5097
6216
  */
5098
6217
  archive_failed?: boolean;
5099
6218
  /**
@@ -5299,6 +6418,12 @@ export type LayerInfo = {
5299
6418
  * False when the layer holds no features (ArcGIS composite, raster and annotation layers) and a preview of it is refused with 'unsupported_layer_type'.
5300
6419
  */
5301
6420
  importable?: boolean;
6421
+ /**
6422
+ * Has Attachments
6423
+ *
6424
+ * Whether the ArcGIS layer reports file attachments. Null when the service does not say, and for other service types.
6425
+ */
6426
+ has_attachments?: boolean | null;
5302
6427
  /**
5303
6428
  * Layer Id
5304
6429
  *
@@ -5675,6 +6800,50 @@ export type MapGenerateResponse = {
5675
6800
  */
5676
6801
  datasets_used: Array<string>;
5677
6802
  };
6803
+ /**
6804
+ * MapGroupsResponse
6805
+ */
6806
+ export type MapGroupsResponse = {
6807
+ /**
6808
+ * The map's visibility after the change: a private map shared with a group becomes restricted, and a restricted one left with no group becomes private.
6809
+ */
6810
+ visibility: MapVisibility;
6811
+ /**
6812
+ * Groups
6813
+ *
6814
+ * The sharing groups the map is shared with, by name.
6815
+ */
6816
+ groups: Array<GroupRef>;
6817
+ /**
6818
+ * Shared Dataset Ids
6819
+ *
6820
+ * Datasets this request shared with the map's new groups.
6821
+ */
6822
+ shared_dataset_ids?: Array<string>;
6823
+ /**
6824
+ * Hidden Layers
6825
+ *
6826
+ * Layers that some of the map's new groups still can't read; the same shape a 409 lists under `detail.layers`.
6827
+ */
6828
+ hidden_layers?: Array<MapLayerAccessGap>;
6829
+ };
6830
+ /**
6831
+ * MapGroupsUpdate
6832
+ */
6833
+ export type MapGroupsUpdate = {
6834
+ /**
6835
+ * Group Ids
6836
+ *
6837
+ * Every group the map is shared with afterwards; an empty list unshares it. An owner may add only groups they belong to, and an admin any group.
6838
+ */
6839
+ group_ids: Array<string>;
6840
+ /**
6841
+ * Confirm
6842
+ *
6843
+ * Required when the map would become restricted with layers some of its new groups can't read; without it the request answers 409 and lists them. `share_datasets` also shares each such dataset the caller may share with the groups that lack it; `map_only` leaves those layers hidden from them.
6844
+ */
6845
+ confirm?: 'share_datasets' | 'map_only' | null;
6846
+ };
5678
6847
  /**
5679
6848
  * MapHistoryEventResponse
5680
6849
  */
@@ -5793,6 +6962,39 @@ export type MapIconResponse = {
5793
6962
  */
5794
6963
  builtin?: boolean;
5795
6964
  };
6965
+ /**
6966
+ * MapLayerAccessGap
6967
+ */
6968
+ export type MapLayerAccessGap = {
6969
+ /**
6970
+ * Layer Id
6971
+ */
6972
+ layer_id: string;
6973
+ /**
6974
+ * Layer Title
6975
+ */
6976
+ layer_title: string;
6977
+ /**
6978
+ * Dataset Id
6979
+ */
6980
+ dataset_id: string;
6981
+ /**
6982
+ * Dataset Title
6983
+ */
6984
+ dataset_title: string;
6985
+ /**
6986
+ * Group Ids
6987
+ *
6988
+ * The map's groups that have a member who can't read it.
6989
+ */
6990
+ group_ids: Array<string>;
6991
+ /**
6992
+ * Can Share
6993
+ *
6994
+ * Whether `confirm: share_datasets` would share the dataset with those groups.
6995
+ */
6996
+ can_share: boolean;
6997
+ };
5796
6998
  /**
5797
6999
  * MapLayerDiffRequest
5798
7000
  */
@@ -6019,6 +7221,12 @@ export type MapLayerResponse = {
6019
7221
  dataset_column_info?: Array<{
6020
7222
  [key: string]: unknown;
6021
7223
  }> | null;
7224
+ /**
7225
+ * Dataset Tile Columns
7226
+ *
7227
+ * Dataset tile attribute allowlist, used to check cluster filters; null allows all queryable columns, [] exposes none.
7228
+ */
7229
+ dataset_tile_columns?: Array<string> | null;
6022
7230
  /**
6023
7231
  * Dataset Feature Count
6024
7232
  */
@@ -6148,6 +7356,12 @@ export type MapPatch = {
6148
7356
  * Admin only: transfer the map to this active user.
6149
7357
  */
6150
7358
  owner_id: string;
7359
+ /**
7360
+ * Expected Updated At
7361
+ *
7362
+ * The map's `updated_at` the caller read. When set and the map has changed since, nothing is written and the answer is 409 with `detail.code` `stale_write`. Omit it to write unconditionally.
7363
+ */
7364
+ expected_updated_at?: string | null;
6151
7365
  };
6152
7366
  /**
6153
7367
  * MapResponse
@@ -6250,6 +7464,12 @@ export type MapResponse = {
6250
7464
  * Legend Title
6251
7465
  */
6252
7466
  legend_title?: string | null;
7467
+ /**
7468
+ * Groups
7469
+ *
7470
+ * The sharing groups the map is shared with, by name. Set on the detail endpoint for the owner and admins only; null elsewhere.
7471
+ */
7472
+ groups?: Array<GroupRef> | null;
6253
7473
  };
6254
7474
  /**
6255
7475
  * MapSpriteEntry
@@ -6526,7 +7746,7 @@ export type MapUpdate = {
6526
7746
  */
6527
7747
  terrain_config?: TerrainConfig | null;
6528
7748
  /**
6529
- * private, internal, or public
7749
+ * private, internal, public or restricted. A map shared with groups is restricted when it would otherwise be private, so private keeps it restricted; restricted needs at least one group.
6530
7750
  */
6531
7751
  visibility?: MapVisibility | null;
6532
7752
  /**
@@ -6550,8 +7770,12 @@ export type MapUpdate = {
6550
7770
  };
6551
7771
  /**
6552
7772
  * MapVisibility
7773
+ *
7774
+ * Who may read a map. A response names `restricted` only to a client
7775
+ * that sends `X-GeoLens-Map-Visibility: restricted`; any other client
7776
+ * reads a restricted map as `private`.
6553
7777
  */
6554
- export type MapVisibility = 'private' | 'internal' | 'public';
7778
+ export type MapVisibility = 'private' | 'internal' | 'public' | 'restricted';
6555
7779
  /**
6556
7780
  * MercatorClipDetail
6557
7781
  *
@@ -6578,6 +7802,10 @@ export type MercatorClipDetail = {
6578
7802
  * Clip Skipped
6579
7803
  */
6580
7804
  clip_skipped?: boolean;
7805
+ /**
7806
+ * Polar Only
7807
+ */
7808
+ polar_only?: boolean;
6581
7809
  };
6582
7810
  /**
6583
7811
  * MercatorClipWarning
@@ -7288,6 +8516,12 @@ export type OgcLink = {
7288
8516
  * Optional human-readable label for the link.
7289
8517
  */
7290
8518
  title?: string | null;
8519
+ /**
8520
+ * Templated
8521
+ *
8522
+ * True when `href` is a URI template with variables such as {z}, {x} and {y}.
8523
+ */
8524
+ templated?: boolean | null;
7291
8525
  };
7292
8526
  /**
7293
8527
  * OGCRasterBand
@@ -7665,7 +8899,7 @@ export type PointCloudMetadata = {
7665
8899
  /**
7666
8900
  * Url
7667
8901
  *
7668
- * 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
8902
+ * URL path of the COPC file on the app origin, e.g. /api/datasets/{id}/copc/{attempt}/data.copc.laz. Point clouds cannot be replaced; a new file is a new dataset
7669
8903
  */
7670
8904
  url?: string | null;
7671
8905
  /**
@@ -7948,7 +9182,7 @@ export type PreviewResponse = {
7948
9182
  /**
7949
9183
  * PreviousVersionResponse
7950
9184
  *
7951
- * The data a replacement or restore replaced, kept until the next one.
9185
+ * Data a replacement or restore replaced, kept so a restore can publish it again.
7952
9186
  */
7953
9187
  export type PreviousVersionResponse = {
7954
9188
  /**
@@ -8522,6 +9756,12 @@ export type RefreshVerification = {
8522
9756
  * Acceptance Consumed By Run Id
8523
9757
  */
8524
9758
  acceptance_consumed_by_run_id?: string | null;
9759
+ /**
9760
+ * Data Revision
9761
+ *
9762
+ * The dataset's data revision when this run checked its live table. A run accepted after a live edit publishes over this revision.
9763
+ */
9764
+ data_revision?: number | null;
8525
9765
  };
8526
9766
  /**
8527
9767
  * RegisterRequest
@@ -8670,7 +9910,7 @@ export type RestorePreviousVersionRequest = {
8670
9910
  /**
8671
9911
  * Expected Version Number
8672
9912
  *
8673
- * The previous version the caller confirmed restoring
9913
+ * The newest kept version, which the caller confirmed restoring
8674
9914
  */
8675
9915
  expected_version_number: number;
8676
9916
  };
@@ -8721,6 +9961,12 @@ export type ReuploadCommitRequest = {
8721
9961
  * The preview's `review_fingerprint`, sent once a person has seen the changes it describes. A file replacement or service re-upload with review reasons publishes only when the worker's own fingerprint matches; otherwise its run ends `blocked`.
8722
9962
  */
8723
9963
  review_fingerprint?: string | null;
9964
+ /**
9965
+ * Expected Data Revision
9966
+ *
9967
+ * The dataset's `data_revision` the caller last saw. When it differs from the revision this replacement is compared with, every write counts as later, so the run stops for review with `live_data_changed` instead of publishing. Omit it to compare with the revision at admission only.
9968
+ */
9969
+ expected_data_revision?: number | null;
8724
9970
  };
8725
9971
  /**
8726
9972
  * ReuploadCommitResponse
@@ -9271,6 +10517,18 @@ export type ServicePreviewRequest = {
9271
10517
  * Structured credential for a protected service. Mutually exclusive with the token field.
9272
10518
  */
9273
10519
  auth?: ServiceAuthRequest | null;
10520
+ /**
10521
+ * Item Id
10522
+ *
10523
+ * ArcGIS portal item ID the layer was published from, at most 64 characters (longer is refused with 422). Stored as provenance when it is 32 hex characters, otherwise dropped and reported in origin_link_loss. Dropped for a non-ArcGIS service type.
10524
+ */
10525
+ item_id?: string | null;
10526
+ /**
10527
+ * Portal Url
10528
+ *
10529
+ * ArcGIS portal address for the item link, at most 2048 characters (longer is refused with 422). Stored only when it is https and shares a registrable domain with the service URL, otherwise dropped and reported in origin_link_loss.
10530
+ */
10531
+ portal_url?: string | null;
9274
10532
  };
9275
10533
  /**
9276
10534
  * ServicePreviewResponse
@@ -9328,6 +10586,12 @@ export type ServicePreviewResponse = {
9328
10586
  * Layer name as it appears in the remote service.
9329
10587
  */
9330
10588
  layer_name: string;
10589
+ /**
10590
+ * Origin Link Loss
10591
+ *
10592
+ * Reasons the item link was dropped: 'item_id_invalid', 'portal_url_invalid', 'portal_url_domain_mismatch' or 'origin_link_unsupported'. Empty when nothing was dropped.
10593
+ */
10594
+ origin_link_loss?: Array<string>;
9331
10595
  };
9332
10596
  /**
9333
10597
  * ServiceProbeResult
@@ -9479,6 +10743,18 @@ export type ShareTokenResponse = {
9479
10743
  * Full shareable URL — only returned on create
9480
10744
  */
9481
10745
  share_url?: string | null;
10746
+ /**
10747
+ * Share Url Absolute
10748
+ *
10749
+ * share_url on the public app URL; create only
10750
+ */
10751
+ share_url_absolute?: string | null;
10752
+ /**
10753
+ * Viewer Url
10754
+ *
10755
+ * The map page on the public app URL
10756
+ */
10757
+ viewer_url?: string | null;
9482
10758
  /**
9483
10759
  * Expires At
9484
10760
  */
@@ -10796,6 +12072,92 @@ export type StaleCleanupResponse = {
10796
12072
  */
10797
12073
  total_affected: number;
10798
12074
  };
12075
+ /**
12076
+ * StatsRequest
12077
+ */
12078
+ export type StatsRequest = {
12079
+ /**
12080
+ * Filter
12081
+ *
12082
+ * CQL2-JSON filter, as the OGC API Features `filter` accepts.
12083
+ */
12084
+ filter?: {
12085
+ [key: string]: unknown;
12086
+ } | null;
12087
+ /**
12088
+ * Bbox
12089
+ *
12090
+ * Map view `[west, south, east, north]` in WGS 84; west greater than east crosses the antimeridian. Omit for the whole layer.
12091
+ */
12092
+ bbox?: [
12093
+ number,
12094
+ number,
12095
+ number,
12096
+ number
12097
+ ] | null;
12098
+ /**
12099
+ * Op
12100
+ */
12101
+ op: 'stats';
12102
+ /**
12103
+ * Column
12104
+ */
12105
+ column: string;
12106
+ /**
12107
+ * Stats
12108
+ */
12109
+ stats: Array<'count' | 'sum' | 'avg' | 'min' | 'max'>;
12110
+ };
12111
+ /**
12112
+ * StatsResponse
12113
+ */
12114
+ export type StatsResponse = {
12115
+ /**
12116
+ * Approximate
12117
+ *
12118
+ * Always false: a view too wide to count exactly is refused.
12119
+ */
12120
+ approximate?: false;
12121
+ /**
12122
+ * Cached
12123
+ */
12124
+ cached: boolean;
12125
+ /**
12126
+ * Op
12127
+ */
12128
+ op: 'stats';
12129
+ result: StatsResult;
12130
+ };
12131
+ /**
12132
+ * StatsResult
12133
+ *
12134
+ * The requested statistics; one over no rows is null.
12135
+ *
12136
+ * ``sum``, ``min`` and ``max`` are exact: a number when JSON can carry it
12137
+ * exactly, else text. ``avg`` is a float, or text for NaN and infinity.
12138
+ */
12139
+ export type StatsResult = {
12140
+ /**
12141
+ * Count
12142
+ */
12143
+ count?: number | null;
12144
+ /**
12145
+ * Sum
12146
+ */
12147
+ sum?: number | number | string | null;
12148
+ /**
12149
+ * Avg
12150
+ */
12151
+ avg?: number | string | null;
12152
+ /**
12153
+ * Min
12154
+ */
12155
+ min?: number | number | string | null;
12156
+ /**
12157
+ * Max
12158
+ */
12159
+ max?: number | number | string | null;
12160
+ };
10799
12161
  /**
10800
12162
  * StatusUpdate
10801
12163
  */
@@ -11518,57 +12880,157 @@ export type ValidationResultResponse = {
11518
12880
  } | null;
11519
12881
  };
11520
12882
  /**
11521
- * VectorTileToken
12883
+ * ValueCount
11522
12884
  */
11523
- export type VectorTileToken = {
12885
+ export type ValueCount = {
11524
12886
  /**
11525
- * Kind
12887
+ * Value
12888
+ *
12889
+ * The column's value. A number JSON cannot carry exactly, such as an integer beyond 2^53 or NaN, comes back as text.
11526
12890
  */
11527
- kind: 'vector';
12891
+ value: string | number | number | boolean | null;
11528
12892
  /**
11529
- * Sig
12893
+ * Count
11530
12894
  */
11531
- sig: string;
12895
+ count: number;
12896
+ };
12897
+ /**
12898
+ * ValueCountsRequest
12899
+ */
12900
+ export type ValueCountsRequest = {
11532
12901
  /**
11533
- * Exp
12902
+ * Filter
12903
+ *
12904
+ * CQL2-JSON filter, as the OGC API Features `filter` accepts.
11534
12905
  */
11535
- exp: number;
12906
+ filter?: {
12907
+ [key: string]: unknown;
12908
+ } | null;
11536
12909
  /**
11537
- * Scope
12910
+ * Bbox
12911
+ *
12912
+ * Map view `[west, south, east, north]` in WGS 84; west greater than east crosses the antimeridian. Omit for the whole layer.
11538
12913
  */
11539
- scope: string;
12914
+ bbox?: [
12915
+ number,
12916
+ number,
12917
+ number,
12918
+ number
12919
+ ] | null;
11540
12920
  /**
11541
- * Expires In
12921
+ * Op
11542
12922
  */
11543
- expires_in: number;
12923
+ op: 'value_counts';
12924
+ /**
12925
+ * Column
12926
+ */
12927
+ column: string;
12928
+ /**
12929
+ * Limit
12930
+ */
12931
+ limit?: number;
11544
12932
  };
11545
12933
  /**
11546
- * VerifyEmailRequest
12934
+ * ValueCountsResponse
11547
12935
  */
11548
- export type VerifyEmailRequest = {
12936
+ export type ValueCountsResponse = {
11549
12937
  /**
11550
- * Token
12938
+ * Approximate
11551
12939
  *
11552
- * Raw opaque verification token from the email link
12940
+ * Always false: a view too wide to count exactly is refused.
11553
12941
  */
11554
- token: string;
12942
+ approximate?: false;
12943
+ /**
12944
+ * Cached
12945
+ */
12946
+ cached: boolean;
12947
+ /**
12948
+ * Op
12949
+ */
12950
+ op: 'value_counts';
12951
+ result: ValueCountsResult;
11555
12952
  };
11556
12953
  /**
11557
- * VisibilityCheckResponse
12954
+ * ValueCountsResult
11558
12955
  */
11559
- export type VisibilityCheckResponse = {
12956
+ export type ValueCountsResult = {
11560
12957
  /**
11561
- * Non Public Datasets
12958
+ * Values
11562
12959
  *
11563
- * Titles of datasets not publicly visible
12960
+ * Most frequent first.
11564
12961
  */
11565
- non_public_datasets: Array<string>;
12962
+ values: Array<ValueCount>;
11566
12963
  /**
11567
- * Has Non Public
12964
+ * Other Count
11568
12965
  *
11569
- * True if any layer references a non-public dataset
12966
+ * Rows whose value is not listed.
11570
12967
  */
11571
- has_non_public: boolean;
12968
+ other_count: number;
12969
+ };
12970
+ /**
12971
+ * VectorTileToken
12972
+ */
12973
+ export type VectorTileToken = {
12974
+ /**
12975
+ * Kind
12976
+ */
12977
+ kind: 'vector';
12978
+ /**
12979
+ * Sig
12980
+ */
12981
+ sig: string;
12982
+ /**
12983
+ * Exp
12984
+ */
12985
+ exp: number;
12986
+ /**
12987
+ * Scope
12988
+ */
12989
+ scope: string;
12990
+ /**
12991
+ * Expires In
12992
+ */
12993
+ expires_in: number;
12994
+ /**
12995
+ * Tile Url Template
12996
+ *
12997
+ * Signed vector tile URL template, relative to the API root, with `{z}`, `{x}` and `{y}` left for the client to fill in. Null for a dataset with no geometry, which has no tiles to request.
12998
+ */
12999
+ tile_url_template: string | null;
13000
+ };
13001
+ /**
13002
+ * VerifyEmailRequest
13003
+ */
13004
+ export type VerifyEmailRequest = {
13005
+ /**
13006
+ * Token
13007
+ *
13008
+ * Raw opaque verification token from the email link
13009
+ */
13010
+ token: string;
13011
+ };
13012
+ /**
13013
+ * VisibilityCheckResponse
13014
+ */
13015
+ export type VisibilityCheckResponse = {
13016
+ /**
13017
+ * Non Public Datasets
13018
+ *
13019
+ * Titles of datasets not publicly visible
13020
+ */
13021
+ non_public_datasets: Array<string>;
13022
+ /**
13023
+ * Has Non Public
13024
+ *
13025
+ * True if any layer references a non-public dataset
13026
+ */
13027
+ has_non_public: boolean;
13028
+ /**
13029
+ * Hidden From Groups
13030
+ *
13031
+ * On a restricted map, the layers some of its groups can't read, among those the caller reads. Empty on other maps, and when the permission authority can't say who reads a dataset.
13032
+ */
13033
+ hidden_from_groups?: Array<MapLayerAccessGap>;
11572
13034
  };
11573
13035
  /**
11574
13036
  * VrtActiveGeneration
@@ -12024,16 +13486,543 @@ export type ListApiKeysAdminApiKeysGetResponses = {
12024
13486
  /**
12025
13487
  * Successful Response
12026
13488
  */
12027
- 200: AdminApiKeyListResponse;
13489
+ 200: AdminApiKeyListResponse;
13490
+ };
13491
+ export type ListApiKeysAdminApiKeysGetResponse = ListApiKeysAdminApiKeysGetResponses[keyof ListApiKeysAdminApiKeysGetResponses];
13492
+ export type CreateApiKeyAdminApiKeysPostData = {
13493
+ body: AdminApiKeyCreateRequest;
13494
+ path?: never;
13495
+ query?: never;
13496
+ url: '/admin/api-keys/';
13497
+ };
13498
+ export type CreateApiKeyAdminApiKeysPostErrors = {
13499
+ /**
13500
+ * Bad request — invalid query parameters or payload
13501
+ */
13502
+ 400: ProblemDetail;
13503
+ /**
13504
+ * Unauthorized — missing or invalid credentials
13505
+ */
13506
+ 401: ProblemDetail;
13507
+ /**
13508
+ * Forbidden — caller lacks access to this resource
13509
+ */
13510
+ 403: ProblemDetail;
13511
+ /**
13512
+ * Not found
13513
+ */
13514
+ 404: ProblemDetail;
13515
+ /**
13516
+ * Conflict — resource state prevents the operation
13517
+ */
13518
+ 409: ProblemDetail;
13519
+ /**
13520
+ * Validation error
13521
+ */
13522
+ 422: ProblemDetail;
13523
+ /**
13524
+ * Too many requests — retry after the advertised interval
13525
+ */
13526
+ 429: ProblemDetail;
13527
+ /**
13528
+ * Internal server error
13529
+ */
13530
+ 500: ProblemDetail;
13531
+ /**
13532
+ * Service unavailable — the database could not serve the request
13533
+ */
13534
+ 503: ProblemDetail;
13535
+ };
13536
+ export type CreateApiKeyAdminApiKeysPostError = CreateApiKeyAdminApiKeysPostErrors[keyof CreateApiKeyAdminApiKeysPostErrors];
13537
+ export type CreateApiKeyAdminApiKeysPostResponses = {
13538
+ /**
13539
+ * Successful Response
13540
+ */
13541
+ 201: ApiKeyCreateResponse;
13542
+ };
13543
+ export type CreateApiKeyAdminApiKeysPostResponse = CreateApiKeyAdminApiKeysPostResponses[keyof CreateApiKeyAdminApiKeysPostResponses];
13544
+ export type RevokeApiKeyAdminApiKeysKeyIdDeleteData = {
13545
+ body?: never;
13546
+ path: {
13547
+ /**
13548
+ * Key Id
13549
+ */
13550
+ key_id: string;
13551
+ };
13552
+ query?: never;
13553
+ url: '/admin/api-keys/{key_id}';
13554
+ };
13555
+ export type RevokeApiKeyAdminApiKeysKeyIdDeleteErrors = {
13556
+ /**
13557
+ * Bad request — invalid query parameters or payload
13558
+ */
13559
+ 400: ProblemDetail;
13560
+ /**
13561
+ * Unauthorized — missing or invalid credentials
13562
+ */
13563
+ 401: ProblemDetail;
13564
+ /**
13565
+ * Forbidden — caller lacks access to this resource
13566
+ */
13567
+ 403: ProblemDetail;
13568
+ /**
13569
+ * Not found
13570
+ */
13571
+ 404: ProblemDetail;
13572
+ /**
13573
+ * Validation error
13574
+ */
13575
+ 422: ProblemDetail;
13576
+ /**
13577
+ * Too many requests — retry after the advertised interval
13578
+ */
13579
+ 429: ProblemDetail;
13580
+ /**
13581
+ * Internal server error
13582
+ */
13583
+ 500: ProblemDetail;
13584
+ /**
13585
+ * Service unavailable — the database could not serve the request
13586
+ */
13587
+ 503: ProblemDetail;
13588
+ };
13589
+ export type RevokeApiKeyAdminApiKeysKeyIdDeleteError = RevokeApiKeyAdminApiKeysKeyIdDeleteErrors[keyof RevokeApiKeyAdminApiKeysKeyIdDeleteErrors];
13590
+ export type RevokeApiKeyAdminApiKeysKeyIdDeleteResponses = {
13591
+ /**
13592
+ * Successful Response
13593
+ */
13594
+ 204: void;
13595
+ };
13596
+ export type RevokeApiKeyAdminApiKeysKeyIdDeleteResponse = RevokeApiKeyAdminApiKeysKeyIdDeleteResponses[keyof RevokeApiKeyAdminApiKeysKeyIdDeleteResponses];
13597
+ export type ListAuditLogsAdminAuditLogsGetData = {
13598
+ body?: never;
13599
+ path?: never;
13600
+ query?: {
13601
+ /**
13602
+ * User Id
13603
+ */
13604
+ user_id?: string | null;
13605
+ /**
13606
+ * Action
13607
+ */
13608
+ action?: string | null;
13609
+ /**
13610
+ * Resource Type
13611
+ */
13612
+ resource_type?: string | null;
13613
+ /**
13614
+ * Resource Id
13615
+ */
13616
+ resource_id?: string | null;
13617
+ /**
13618
+ * Date From
13619
+ */
13620
+ date_from?: string | null;
13621
+ /**
13622
+ * Date To
13623
+ */
13624
+ date_to?: string | null;
13625
+ /**
13626
+ * Search
13627
+ */
13628
+ search?: string | null;
13629
+ /**
13630
+ * Skip
13631
+ */
13632
+ skip?: number;
13633
+ /**
13634
+ * Limit
13635
+ */
13636
+ limit?: number;
13637
+ /**
13638
+ * Sort
13639
+ *
13640
+ * Column to order by. Resource name is not sortable: it is resolved per page after the query, so the database cannot order by it.
13641
+ */
13642
+ sort?: 'created_at' | 'action' | 'resource_type' | 'ip_address' | 'username';
13643
+ /**
13644
+ * Order
13645
+ *
13646
+ * Sort direction.
13647
+ */
13648
+ order?: 'asc' | 'desc';
13649
+ };
13650
+ url: '/admin/audit-logs/';
13651
+ };
13652
+ export type ListAuditLogsAdminAuditLogsGetErrors = {
13653
+ /**
13654
+ * Bad request — invalid query parameters or payload
13655
+ */
13656
+ 400: ProblemDetail;
13657
+ /**
13658
+ * Unauthorized — missing or invalid credentials
13659
+ */
13660
+ 401: ProblemDetail;
13661
+ /**
13662
+ * Forbidden — caller lacks access to this resource
13663
+ */
13664
+ 403: ProblemDetail;
13665
+ /**
13666
+ * Not found
13667
+ */
13668
+ 404: ProblemDetail;
13669
+ /**
13670
+ * Validation error
13671
+ */
13672
+ 422: ProblemDetail;
13673
+ /**
13674
+ * Too many requests — retry after the advertised interval
13675
+ */
13676
+ 429: ProblemDetail;
13677
+ /**
13678
+ * Internal server error
13679
+ */
13680
+ 500: ProblemDetail;
13681
+ /**
13682
+ * Service unavailable — the database could not serve the request
13683
+ */
13684
+ 503: ProblemDetail;
13685
+ };
13686
+ export type ListAuditLogsAdminAuditLogsGetError = ListAuditLogsAdminAuditLogsGetErrors[keyof ListAuditLogsAdminAuditLogsGetErrors];
13687
+ export type ListAuditLogsAdminAuditLogsGetResponses = {
13688
+ /**
13689
+ * Successful Response
13690
+ */
13691
+ 200: AuditLogListResponse;
13692
+ };
13693
+ export type ListAuditLogsAdminAuditLogsGetResponse = ListAuditLogsAdminAuditLogsGetResponses[keyof ListAuditLogsAdminAuditLogsGetResponses];
13694
+ export type ExportAuditLogsAdminAuditLogsExportFormatGetData = {
13695
+ body?: never;
13696
+ path: {
13697
+ /**
13698
+ * Format
13699
+ */
13700
+ format: string;
13701
+ };
13702
+ query?: {
13703
+ /**
13704
+ * User Id
13705
+ */
13706
+ user_id?: string | null;
13707
+ /**
13708
+ * Action
13709
+ */
13710
+ action?: string | null;
13711
+ /**
13712
+ * Resource Type
13713
+ */
13714
+ resource_type?: string | null;
13715
+ /**
13716
+ * Resource Id
13717
+ */
13718
+ resource_id?: string | null;
13719
+ /**
13720
+ * Date From
13721
+ */
13722
+ date_from?: string | null;
13723
+ /**
13724
+ * Date To
13725
+ */
13726
+ date_to?: string | null;
13727
+ /**
13728
+ * Search
13729
+ */
13730
+ search?: string | null;
13731
+ /**
13732
+ * Max Rows
13733
+ */
13734
+ max_rows?: number;
13735
+ };
13736
+ url: '/admin/audit-logs/export/{format}';
13737
+ };
13738
+ export type ExportAuditLogsAdminAuditLogsExportFormatGetErrors = {
13739
+ /**
13740
+ * Bad request — invalid query parameters or payload
13741
+ */
13742
+ 400: ProblemDetail;
13743
+ /**
13744
+ * Unauthorized — missing or invalid credentials
13745
+ */
13746
+ 401: ProblemDetail;
13747
+ /**
13748
+ * Forbidden — caller lacks access to this resource
13749
+ */
13750
+ 403: ProblemDetail;
13751
+ /**
13752
+ * Not found
13753
+ */
13754
+ 404: ProblemDetail;
13755
+ /**
13756
+ * Validation error
13757
+ */
13758
+ 422: ProblemDetail;
13759
+ /**
13760
+ * Too many requests — retry after the advertised interval
13761
+ */
13762
+ 429: ProblemDetail;
13763
+ /**
13764
+ * Internal server error
13765
+ */
13766
+ 500: ProblemDetail;
13767
+ /**
13768
+ * Service unavailable — the database could not serve the request
13769
+ */
13770
+ 503: ProblemDetail;
13771
+ };
13772
+ export type ExportAuditLogsAdminAuditLogsExportFormatGetError = ExportAuditLogsAdminAuditLogsExportFormatGetErrors[keyof ExportAuditLogsAdminAuditLogsExportFormatGetErrors];
13773
+ export type ExportAuditLogsAdminAuditLogsExportFormatGetResponses = {
13774
+ /**
13775
+ * The CSV file, or a JSON file when the format is json
13776
+ */
13777
+ 200: Blob | File;
13778
+ };
13779
+ export type ExportAuditLogsAdminAuditLogsExportFormatGetResponse = ExportAuditLogsAdminAuditLogsExportFormatGetResponses[keyof ExportAuditLogsAdminAuditLogsExportFormatGetResponses];
13780
+ export type TriggerBackfillAdminBackfillEmbeddingsPostData = {
13781
+ body?: never;
13782
+ path?: never;
13783
+ query?: {
13784
+ /**
13785
+ * Force
13786
+ */
13787
+ force?: boolean;
13788
+ /**
13789
+ * All Tenants
13790
+ */
13791
+ all_tenants?: boolean;
13792
+ };
13793
+ url: '/admin/backfill-embeddings/';
13794
+ };
13795
+ export type TriggerBackfillAdminBackfillEmbeddingsPostErrors = {
13796
+ /**
13797
+ * Bad request — invalid query parameters or payload
13798
+ */
13799
+ 400: ProblemDetail;
13800
+ /**
13801
+ * Unauthorized — missing or invalid credentials
13802
+ */
13803
+ 401: ProblemDetail;
13804
+ /**
13805
+ * Forbidden — caller lacks access to this resource
13806
+ */
13807
+ 403: ProblemDetail;
13808
+ /**
13809
+ * Not found
13810
+ */
13811
+ 404: ProblemDetail;
13812
+ /**
13813
+ * Conflict — resource state prevents the operation
13814
+ */
13815
+ 409: ProblemDetail;
13816
+ /**
13817
+ * Validation error
13818
+ */
13819
+ 422: ProblemDetail;
13820
+ /**
13821
+ * Too many requests — retry after the advertised interval
13822
+ */
13823
+ 429: ProblemDetail;
13824
+ /**
13825
+ * Internal server error
13826
+ */
13827
+ 500: ProblemDetail;
13828
+ /**
13829
+ * Service unavailable — the background job queue could not be reached
13830
+ */
13831
+ 503: ProblemDetail;
13832
+ };
13833
+ export type TriggerBackfillAdminBackfillEmbeddingsPostError = TriggerBackfillAdminBackfillEmbeddingsPostErrors[keyof TriggerBackfillAdminBackfillEmbeddingsPostErrors];
13834
+ export type TriggerBackfillAdminBackfillEmbeddingsPostResponses = {
13835
+ /**
13836
+ * Successful Response
13837
+ */
13838
+ 200: BackfillResponse;
13839
+ };
13840
+ export type TriggerBackfillAdminBackfillEmbeddingsPostResponse = TriggerBackfillAdminBackfillEmbeddingsPostResponses[keyof TriggerBackfillAdminBackfillEmbeddingsPostResponses];
13841
+ export type ListAllEmbedTokensAdminEmbedTokensGetData = {
13842
+ body?: never;
13843
+ path?: never;
13844
+ query?: {
13845
+ /**
13846
+ * Skip
13847
+ */
13848
+ skip?: number;
13849
+ /**
13850
+ * Limit
13851
+ */
13852
+ limit?: number;
13853
+ /**
13854
+ * Map Id
13855
+ */
13856
+ map_id?: string | null;
13857
+ /**
13858
+ * Map Search
13859
+ */
13860
+ map_search?: string | null;
13861
+ /**
13862
+ * Creator
13863
+ */
13864
+ creator?: string | null;
13865
+ /**
13866
+ * Status
13867
+ */
13868
+ status?: string | null;
13869
+ };
13870
+ url: '/admin/embed-tokens/';
13871
+ };
13872
+ export type ListAllEmbedTokensAdminEmbedTokensGetErrors = {
13873
+ /**
13874
+ * Bad request — invalid query parameters or payload
13875
+ */
13876
+ 400: ProblemDetail;
13877
+ /**
13878
+ * Unauthorized — missing or invalid credentials
13879
+ */
13880
+ 401: ProblemDetail;
13881
+ /**
13882
+ * Forbidden — caller lacks access to this resource
13883
+ */
13884
+ 403: ProblemDetail;
13885
+ /**
13886
+ * Not found
13887
+ */
13888
+ 404: ProblemDetail;
13889
+ /**
13890
+ * Validation error
13891
+ */
13892
+ 422: ProblemDetail;
13893
+ /**
13894
+ * Too many requests — retry after the advertised interval
13895
+ */
13896
+ 429: ProblemDetail;
13897
+ /**
13898
+ * Internal server error
13899
+ */
13900
+ 500: ProblemDetail;
13901
+ /**
13902
+ * Service unavailable — the database could not serve the request
13903
+ */
13904
+ 503: ProblemDetail;
13905
+ };
13906
+ export type ListAllEmbedTokensAdminEmbedTokensGetError = ListAllEmbedTokensAdminEmbedTokensGetErrors[keyof ListAllEmbedTokensAdminEmbedTokensGetErrors];
13907
+ export type ListAllEmbedTokensAdminEmbedTokensGetResponses = {
13908
+ /**
13909
+ * Successful Response
13910
+ */
13911
+ 200: AdminEmbedTokenListResponse;
13912
+ };
13913
+ export type ListAllEmbedTokensAdminEmbedTokensGetResponse = ListAllEmbedTokensAdminEmbedTokensGetResponses[keyof ListAllEmbedTokensAdminEmbedTokensGetResponses];
13914
+ export type BulkRevokeAdminEmbedTokensBulkRevokePostData = {
13915
+ body: BulkRevokeRequest;
13916
+ path?: never;
13917
+ query?: never;
13918
+ url: '/admin/embed-tokens/bulk-revoke/';
13919
+ };
13920
+ export type BulkRevokeAdminEmbedTokensBulkRevokePostErrors = {
13921
+ /**
13922
+ * Bad request — invalid query parameters or payload
13923
+ */
13924
+ 400: ProblemDetail;
13925
+ /**
13926
+ * Unauthorized — missing or invalid credentials
13927
+ */
13928
+ 401: ProblemDetail;
13929
+ /**
13930
+ * Forbidden — caller lacks access to this resource
13931
+ */
13932
+ 403: ProblemDetail;
13933
+ /**
13934
+ * Not found
13935
+ */
13936
+ 404: ProblemDetail;
13937
+ /**
13938
+ * Validation error
13939
+ */
13940
+ 422: ProblemDetail;
13941
+ /**
13942
+ * Too many requests — retry after the advertised interval
13943
+ */
13944
+ 429: ProblemDetail;
13945
+ /**
13946
+ * Internal server error
13947
+ */
13948
+ 500: ProblemDetail;
13949
+ /**
13950
+ * Service unavailable — the database could not serve the request
13951
+ */
13952
+ 503: ProblemDetail;
13953
+ };
13954
+ export type BulkRevokeAdminEmbedTokensBulkRevokePostError = BulkRevokeAdminEmbedTokensBulkRevokePostErrors[keyof BulkRevokeAdminEmbedTokensBulkRevokePostErrors];
13955
+ export type BulkRevokeAdminEmbedTokensBulkRevokePostResponses = {
13956
+ /**
13957
+ * Successful Response
13958
+ */
13959
+ 200: BulkRevokeResponse;
13960
+ };
13961
+ export type BulkRevokeAdminEmbedTokensBulkRevokePostResponse = BulkRevokeAdminEmbedTokensBulkRevokePostResponses[keyof BulkRevokeAdminEmbedTokensBulkRevokePostResponses];
13962
+ export type GetEmbeddingStatsAdminEmbeddingStatsGetData = {
13963
+ body?: never;
13964
+ path?: never;
13965
+ query?: never;
13966
+ url: '/admin/embedding-stats/';
13967
+ };
13968
+ export type GetEmbeddingStatsAdminEmbeddingStatsGetErrors = {
13969
+ /**
13970
+ * Bad request — invalid query parameters or payload
13971
+ */
13972
+ 400: ProblemDetail;
13973
+ /**
13974
+ * Unauthorized — missing or invalid credentials
13975
+ */
13976
+ 401: ProblemDetail;
13977
+ /**
13978
+ * Forbidden — caller lacks access to this resource
13979
+ */
13980
+ 403: ProblemDetail;
13981
+ /**
13982
+ * Not found
13983
+ */
13984
+ 404: ProblemDetail;
13985
+ /**
13986
+ * Validation error
13987
+ */
13988
+ 422: ProblemDetail;
13989
+ /**
13990
+ * Too many requests — retry after the advertised interval
13991
+ */
13992
+ 429: ProblemDetail;
13993
+ /**
13994
+ * Internal server error
13995
+ */
13996
+ 500: ProblemDetail;
13997
+ /**
13998
+ * Service unavailable — the database could not serve the request
13999
+ */
14000
+ 503: ProblemDetail;
14001
+ };
14002
+ export type GetEmbeddingStatsAdminEmbeddingStatsGetError = GetEmbeddingStatsAdminEmbeddingStatsGetErrors[keyof GetEmbeddingStatsAdminEmbeddingStatsGetErrors];
14003
+ export type GetEmbeddingStatsAdminEmbeddingStatsGetResponses = {
14004
+ /**
14005
+ * Successful Response
14006
+ */
14007
+ 200: EmbeddingStatsResponse;
12028
14008
  };
12029
- export type ListApiKeysAdminApiKeysGetResponse = ListApiKeysAdminApiKeysGetResponses[keyof ListApiKeysAdminApiKeysGetResponses];
12030
- export type CreateApiKeyAdminApiKeysPostData = {
12031
- body: AdminApiKeyCreateRequest;
14009
+ export type GetEmbeddingStatsAdminEmbeddingStatsGetResponse = GetEmbeddingStatsAdminEmbeddingStatsGetResponses[keyof GetEmbeddingStatsAdminEmbeddingStatsGetResponses];
14010
+ export type ListGroupsAdminGroupsGetData = {
14011
+ body?: never;
12032
14012
  path?: never;
12033
- query?: never;
12034
- url: '/admin/api-keys/';
14013
+ query?: {
14014
+ /**
14015
+ * Skip
14016
+ */
14017
+ skip?: number;
14018
+ /**
14019
+ * Limit
14020
+ */
14021
+ limit?: number;
14022
+ };
14023
+ url: '/admin/groups/';
12035
14024
  };
12036
- export type CreateApiKeyAdminApiKeysPostErrors = {
14025
+ export type ListGroupsAdminGroupsGetErrors = {
12037
14026
  /**
12038
14027
  * Bad request — invalid query parameters or payload
12039
14028
  */
@@ -12050,10 +14039,6 @@ export type CreateApiKeyAdminApiKeysPostErrors = {
12050
14039
  * Not found
12051
14040
  */
12052
14041
  404: ProblemDetail;
12053
- /**
12054
- * Conflict — resource state prevents the operation
12055
- */
12056
- 409: ProblemDetail;
12057
14042
  /**
12058
14043
  * Validation error
12059
14044
  */
@@ -12071,26 +14056,21 @@ export type CreateApiKeyAdminApiKeysPostErrors = {
12071
14056
  */
12072
14057
  503: ProblemDetail;
12073
14058
  };
12074
- export type CreateApiKeyAdminApiKeysPostError = CreateApiKeyAdminApiKeysPostErrors[keyof CreateApiKeyAdminApiKeysPostErrors];
12075
- export type CreateApiKeyAdminApiKeysPostResponses = {
14059
+ export type ListGroupsAdminGroupsGetError = ListGroupsAdminGroupsGetErrors[keyof ListGroupsAdminGroupsGetErrors];
14060
+ export type ListGroupsAdminGroupsGetResponses = {
12076
14061
  /**
12077
14062
  * Successful Response
12078
14063
  */
12079
- 201: ApiKeyCreateResponse;
14064
+ 200: GroupListResponse;
12080
14065
  };
12081
- export type CreateApiKeyAdminApiKeysPostResponse = CreateApiKeyAdminApiKeysPostResponses[keyof CreateApiKeyAdminApiKeysPostResponses];
12082
- export type RevokeApiKeyAdminApiKeysKeyIdDeleteData = {
12083
- body?: never;
12084
- path: {
12085
- /**
12086
- * Key Id
12087
- */
12088
- key_id: string;
12089
- };
14066
+ export type ListGroupsAdminGroupsGetResponse = ListGroupsAdminGroupsGetResponses[keyof ListGroupsAdminGroupsGetResponses];
14067
+ export type CreateGroupAdminGroupsPostData = {
14068
+ body: GroupWrite;
14069
+ path?: never;
12090
14070
  query?: never;
12091
- url: '/admin/api-keys/{key_id}';
14071
+ url: '/admin/groups/';
12092
14072
  };
12093
- export type RevokeApiKeyAdminApiKeysKeyIdDeleteErrors = {
14073
+ export type CreateGroupAdminGroupsPostErrors = {
12094
14074
  /**
12095
14075
  * Bad request — invalid query parameters or payload
12096
14076
  */
@@ -12107,6 +14087,10 @@ export type RevokeApiKeyAdminApiKeysKeyIdDeleteErrors = {
12107
14087
  * Not found
12108
14088
  */
12109
14089
  404: ProblemDetail;
14090
+ /**
14091
+ * Conflict — resource state prevents the operation
14092
+ */
14093
+ 409: ProblemDetail;
12110
14094
  /**
12111
14095
  * Validation error
12112
14096
  */
@@ -12124,70 +14108,26 @@ export type RevokeApiKeyAdminApiKeysKeyIdDeleteErrors = {
12124
14108
  */
12125
14109
  503: ProblemDetail;
12126
14110
  };
12127
- export type RevokeApiKeyAdminApiKeysKeyIdDeleteError = RevokeApiKeyAdminApiKeysKeyIdDeleteErrors[keyof RevokeApiKeyAdminApiKeysKeyIdDeleteErrors];
12128
- export type RevokeApiKeyAdminApiKeysKeyIdDeleteResponses = {
14111
+ export type CreateGroupAdminGroupsPostError = CreateGroupAdminGroupsPostErrors[keyof CreateGroupAdminGroupsPostErrors];
14112
+ export type CreateGroupAdminGroupsPostResponses = {
12129
14113
  /**
12130
14114
  * Successful Response
12131
14115
  */
12132
- 204: void;
14116
+ 201: GroupResponse;
12133
14117
  };
12134
- export type RevokeApiKeyAdminApiKeysKeyIdDeleteResponse = RevokeApiKeyAdminApiKeysKeyIdDeleteResponses[keyof RevokeApiKeyAdminApiKeysKeyIdDeleteResponses];
12135
- export type ListAuditLogsAdminAuditLogsGetData = {
14118
+ export type CreateGroupAdminGroupsPostResponse = CreateGroupAdminGroupsPostResponses[keyof CreateGroupAdminGroupsPostResponses];
14119
+ export type DeleteGroupAdminGroupsGroupIdDeleteData = {
12136
14120
  body?: never;
12137
- path?: never;
12138
- query?: {
12139
- /**
12140
- * User Id
12141
- */
12142
- user_id?: string | null;
12143
- /**
12144
- * Action
12145
- */
12146
- action?: string | null;
12147
- /**
12148
- * Resource Type
12149
- */
12150
- resource_type?: string | null;
12151
- /**
12152
- * Resource Id
12153
- */
12154
- resource_id?: string | null;
12155
- /**
12156
- * Date From
12157
- */
12158
- date_from?: string | null;
12159
- /**
12160
- * Date To
12161
- */
12162
- date_to?: string | null;
12163
- /**
12164
- * Search
12165
- */
12166
- search?: string | null;
12167
- /**
12168
- * Skip
12169
- */
12170
- skip?: number;
12171
- /**
12172
- * Limit
12173
- */
12174
- limit?: number;
12175
- /**
12176
- * Sort
12177
- *
12178
- * Column to order by. Resource name is not sortable: it is resolved per page after the query, so the database cannot order by it.
12179
- */
12180
- sort?: 'created_at' | 'action' | 'resource_type' | 'ip_address' | 'username';
14121
+ path: {
12181
14122
  /**
12182
- * Order
12183
- *
12184
- * Sort direction.
14123
+ * Group Id
12185
14124
  */
12186
- order?: 'asc' | 'desc';
14125
+ group_id: string;
12187
14126
  };
12188
- url: '/admin/audit-logs/';
14127
+ query?: never;
14128
+ url: '/admin/groups/{group_id}';
12189
14129
  };
12190
- export type ListAuditLogsAdminAuditLogsGetErrors = {
14130
+ export type DeleteGroupAdminGroupsGroupIdDeleteErrors = {
12191
14131
  /**
12192
14132
  * Bad request — invalid query parameters or payload
12193
14133
  */
@@ -12221,59 +14161,26 @@ export type ListAuditLogsAdminAuditLogsGetErrors = {
12221
14161
  */
12222
14162
  503: ProblemDetail;
12223
14163
  };
12224
- export type ListAuditLogsAdminAuditLogsGetError = ListAuditLogsAdminAuditLogsGetErrors[keyof ListAuditLogsAdminAuditLogsGetErrors];
12225
- export type ListAuditLogsAdminAuditLogsGetResponses = {
14164
+ export type DeleteGroupAdminGroupsGroupIdDeleteError = DeleteGroupAdminGroupsGroupIdDeleteErrors[keyof DeleteGroupAdminGroupsGroupIdDeleteErrors];
14165
+ export type DeleteGroupAdminGroupsGroupIdDeleteResponses = {
12226
14166
  /**
12227
14167
  * Successful Response
12228
14168
  */
12229
- 200: AuditLogListResponse;
14169
+ 204: void;
12230
14170
  };
12231
- export type ListAuditLogsAdminAuditLogsGetResponse = ListAuditLogsAdminAuditLogsGetResponses[keyof ListAuditLogsAdminAuditLogsGetResponses];
12232
- export type ExportAuditLogsAdminAuditLogsExportFormatGetData = {
14171
+ export type DeleteGroupAdminGroupsGroupIdDeleteResponse = DeleteGroupAdminGroupsGroupIdDeleteResponses[keyof DeleteGroupAdminGroupsGroupIdDeleteResponses];
14172
+ export type GetGroupAdminGroupsGroupIdGetData = {
12233
14173
  body?: never;
12234
14174
  path: {
12235
14175
  /**
12236
- * Format
12237
- */
12238
- format: string;
12239
- };
12240
- query?: {
12241
- /**
12242
- * User Id
12243
- */
12244
- user_id?: string | null;
12245
- /**
12246
- * Action
12247
- */
12248
- action?: string | null;
12249
- /**
12250
- * Resource Type
12251
- */
12252
- resource_type?: string | null;
12253
- /**
12254
- * Resource Id
12255
- */
12256
- resource_id?: string | null;
12257
- /**
12258
- * Date From
12259
- */
12260
- date_from?: string | null;
12261
- /**
12262
- * Date To
12263
- */
12264
- date_to?: string | null;
12265
- /**
12266
- * Search
12267
- */
12268
- search?: string | null;
12269
- /**
12270
- * Max Rows
14176
+ * Group Id
12271
14177
  */
12272
- max_rows?: number;
14178
+ group_id: string;
12273
14179
  };
12274
- url: '/admin/audit-logs/export/{format}';
14180
+ query?: never;
14181
+ url: '/admin/groups/{group_id}';
12275
14182
  };
12276
- export type ExportAuditLogsAdminAuditLogsExportFormatGetErrors = {
14183
+ export type GetGroupAdminGroupsGroupIdGetErrors = {
12277
14184
  /**
12278
14185
  * Bad request — invalid query parameters or payload
12279
14186
  */
@@ -12307,30 +14214,26 @@ export type ExportAuditLogsAdminAuditLogsExportFormatGetErrors = {
12307
14214
  */
12308
14215
  503: ProblemDetail;
12309
14216
  };
12310
- export type ExportAuditLogsAdminAuditLogsExportFormatGetError = ExportAuditLogsAdminAuditLogsExportFormatGetErrors[keyof ExportAuditLogsAdminAuditLogsExportFormatGetErrors];
12311
- export type ExportAuditLogsAdminAuditLogsExportFormatGetResponses = {
14217
+ export type GetGroupAdminGroupsGroupIdGetError = GetGroupAdminGroupsGroupIdGetErrors[keyof GetGroupAdminGroupsGroupIdGetErrors];
14218
+ export type GetGroupAdminGroupsGroupIdGetResponses = {
12312
14219
  /**
12313
- * The CSV file, or a JSON file when the format is json
14220
+ * Successful Response
12314
14221
  */
12315
- 200: Blob | File;
14222
+ 200: GroupResponse;
12316
14223
  };
12317
- export type ExportAuditLogsAdminAuditLogsExportFormatGetResponse = ExportAuditLogsAdminAuditLogsExportFormatGetResponses[keyof ExportAuditLogsAdminAuditLogsExportFormatGetResponses];
12318
- export type TriggerBackfillAdminBackfillEmbeddingsPostData = {
12319
- body?: never;
12320
- path?: never;
12321
- query?: {
12322
- /**
12323
- * Force
12324
- */
12325
- force?: boolean;
14224
+ export type GetGroupAdminGroupsGroupIdGetResponse = GetGroupAdminGroupsGroupIdGetResponses[keyof GetGroupAdminGroupsGroupIdGetResponses];
14225
+ export type RenameGroupAdminGroupsGroupIdPatchData = {
14226
+ body: GroupWrite;
14227
+ path: {
12326
14228
  /**
12327
- * All Tenants
14229
+ * Group Id
12328
14230
  */
12329
- all_tenants?: boolean;
14231
+ group_id: string;
12330
14232
  };
12331
- url: '/admin/backfill-embeddings/';
14233
+ query?: never;
14234
+ url: '/admin/groups/{group_id}';
12332
14235
  };
12333
- export type TriggerBackfillAdminBackfillEmbeddingsPostErrors = {
14236
+ export type RenameGroupAdminGroupsGroupIdPatchErrors = {
12334
14237
  /**
12335
14238
  * Bad request — invalid query parameters or payload
12336
14239
  */
@@ -12364,21 +14267,26 @@ export type TriggerBackfillAdminBackfillEmbeddingsPostErrors = {
12364
14267
  */
12365
14268
  500: ProblemDetail;
12366
14269
  /**
12367
- * Service unavailable — the background job queue could not be reached
14270
+ * Service unavailable — the database could not serve the request
12368
14271
  */
12369
14272
  503: ProblemDetail;
12370
14273
  };
12371
- export type TriggerBackfillAdminBackfillEmbeddingsPostError = TriggerBackfillAdminBackfillEmbeddingsPostErrors[keyof TriggerBackfillAdminBackfillEmbeddingsPostErrors];
12372
- export type TriggerBackfillAdminBackfillEmbeddingsPostResponses = {
14274
+ export type RenameGroupAdminGroupsGroupIdPatchError = RenameGroupAdminGroupsGroupIdPatchErrors[keyof RenameGroupAdminGroupsGroupIdPatchErrors];
14275
+ export type RenameGroupAdminGroupsGroupIdPatchResponses = {
12373
14276
  /**
12374
14277
  * Successful Response
12375
14278
  */
12376
- 200: BackfillResponse;
14279
+ 200: GroupResponse;
12377
14280
  };
12378
- export type TriggerBackfillAdminBackfillEmbeddingsPostResponse = TriggerBackfillAdminBackfillEmbeddingsPostResponses[keyof TriggerBackfillAdminBackfillEmbeddingsPostResponses];
12379
- export type ListAllEmbedTokensAdminEmbedTokensGetData = {
14281
+ export type RenameGroupAdminGroupsGroupIdPatchResponse = RenameGroupAdminGroupsGroupIdPatchResponses[keyof RenameGroupAdminGroupsGroupIdPatchResponses];
14282
+ export type ListGroupMembersAdminGroupsGroupIdMembersGetData = {
12380
14283
  body?: never;
12381
- path?: never;
14284
+ path: {
14285
+ /**
14286
+ * Group Id
14287
+ */
14288
+ group_id: string;
14289
+ };
12382
14290
  query?: {
12383
14291
  /**
12384
14292
  * Skip
@@ -12388,26 +14296,10 @@ export type ListAllEmbedTokensAdminEmbedTokensGetData = {
12388
14296
  * Limit
12389
14297
  */
12390
14298
  limit?: number;
12391
- /**
12392
- * Map Id
12393
- */
12394
- map_id?: string | null;
12395
- /**
12396
- * Map Search
12397
- */
12398
- map_search?: string | null;
12399
- /**
12400
- * Creator
12401
- */
12402
- creator?: string | null;
12403
- /**
12404
- * Status
12405
- */
12406
- status?: string | null;
12407
14299
  };
12408
- url: '/admin/embed-tokens/';
14300
+ url: '/admin/groups/{group_id}/members/';
12409
14301
  };
12410
- export type ListAllEmbedTokensAdminEmbedTokensGetErrors = {
14302
+ export type ListGroupMembersAdminGroupsGroupIdMembersGetErrors = {
12411
14303
  /**
12412
14304
  * Bad request — invalid query parameters or payload
12413
14305
  */
@@ -12441,21 +14333,26 @@ export type ListAllEmbedTokensAdminEmbedTokensGetErrors = {
12441
14333
  */
12442
14334
  503: ProblemDetail;
12443
14335
  };
12444
- export type ListAllEmbedTokensAdminEmbedTokensGetError = ListAllEmbedTokensAdminEmbedTokensGetErrors[keyof ListAllEmbedTokensAdminEmbedTokensGetErrors];
12445
- export type ListAllEmbedTokensAdminEmbedTokensGetResponses = {
14336
+ export type ListGroupMembersAdminGroupsGroupIdMembersGetError = ListGroupMembersAdminGroupsGroupIdMembersGetErrors[keyof ListGroupMembersAdminGroupsGroupIdMembersGetErrors];
14337
+ export type ListGroupMembersAdminGroupsGroupIdMembersGetResponses = {
12446
14338
  /**
12447
14339
  * Successful Response
12448
14340
  */
12449
- 200: AdminEmbedTokenListResponse;
14341
+ 200: GroupMemberListResponse;
12450
14342
  };
12451
- export type ListAllEmbedTokensAdminEmbedTokensGetResponse = ListAllEmbedTokensAdminEmbedTokensGetResponses[keyof ListAllEmbedTokensAdminEmbedTokensGetResponses];
12452
- export type BulkRevokeAdminEmbedTokensBulkRevokePostData = {
12453
- body: BulkRevokeRequest;
12454
- path?: never;
14343
+ export type ListGroupMembersAdminGroupsGroupIdMembersGetResponse = ListGroupMembersAdminGroupsGroupIdMembersGetResponses[keyof ListGroupMembersAdminGroupsGroupIdMembersGetResponses];
14344
+ export type AddGroupMembersAdminGroupsGroupIdMembersPostData = {
14345
+ body: GroupMembersAdd;
14346
+ path: {
14347
+ /**
14348
+ * Group Id
14349
+ */
14350
+ group_id: string;
14351
+ };
12455
14352
  query?: never;
12456
- url: '/admin/embed-tokens/bulk-revoke/';
14353
+ url: '/admin/groups/{group_id}/members/';
12457
14354
  };
12458
- export type BulkRevokeAdminEmbedTokensBulkRevokePostErrors = {
14355
+ export type AddGroupMembersAdminGroupsGroupIdMembersPostErrors = {
12459
14356
  /**
12460
14357
  * Bad request — invalid query parameters or payload
12461
14358
  */
@@ -12489,21 +14386,30 @@ export type BulkRevokeAdminEmbedTokensBulkRevokePostErrors = {
12489
14386
  */
12490
14387
  503: ProblemDetail;
12491
14388
  };
12492
- export type BulkRevokeAdminEmbedTokensBulkRevokePostError = BulkRevokeAdminEmbedTokensBulkRevokePostErrors[keyof BulkRevokeAdminEmbedTokensBulkRevokePostErrors];
12493
- export type BulkRevokeAdminEmbedTokensBulkRevokePostResponses = {
14389
+ export type AddGroupMembersAdminGroupsGroupIdMembersPostError = AddGroupMembersAdminGroupsGroupIdMembersPostErrors[keyof AddGroupMembersAdminGroupsGroupIdMembersPostErrors];
14390
+ export type AddGroupMembersAdminGroupsGroupIdMembersPostResponses = {
12494
14391
  /**
12495
14392
  * Successful Response
12496
14393
  */
12497
- 200: BulkRevokeResponse;
14394
+ 200: GroupResponse;
12498
14395
  };
12499
- export type BulkRevokeAdminEmbedTokensBulkRevokePostResponse = BulkRevokeAdminEmbedTokensBulkRevokePostResponses[keyof BulkRevokeAdminEmbedTokensBulkRevokePostResponses];
12500
- export type GetEmbeddingStatsAdminEmbeddingStatsGetData = {
14396
+ export type AddGroupMembersAdminGroupsGroupIdMembersPostResponse = AddGroupMembersAdminGroupsGroupIdMembersPostResponses[keyof AddGroupMembersAdminGroupsGroupIdMembersPostResponses];
14397
+ export type RemoveGroupMemberAdminGroupsGroupIdMembersUserIdDeleteData = {
12501
14398
  body?: never;
12502
- path?: never;
14399
+ path: {
14400
+ /**
14401
+ * Group Id
14402
+ */
14403
+ group_id: string;
14404
+ /**
14405
+ * User Id
14406
+ */
14407
+ user_id: string;
14408
+ };
12503
14409
  query?: never;
12504
- url: '/admin/embedding-stats/';
14410
+ url: '/admin/groups/{group_id}/members/{user_id}';
12505
14411
  };
12506
- export type GetEmbeddingStatsAdminEmbeddingStatsGetErrors = {
14412
+ export type RemoveGroupMemberAdminGroupsGroupIdMembersUserIdDeleteErrors = {
12507
14413
  /**
12508
14414
  * Bad request — invalid query parameters or payload
12509
14415
  */
@@ -12537,14 +14443,14 @@ export type GetEmbeddingStatsAdminEmbeddingStatsGetErrors = {
12537
14443
  */
12538
14444
  503: ProblemDetail;
12539
14445
  };
12540
- export type GetEmbeddingStatsAdminEmbeddingStatsGetError = GetEmbeddingStatsAdminEmbeddingStatsGetErrors[keyof GetEmbeddingStatsAdminEmbeddingStatsGetErrors];
12541
- export type GetEmbeddingStatsAdminEmbeddingStatsGetResponses = {
14446
+ export type RemoveGroupMemberAdminGroupsGroupIdMembersUserIdDeleteError = RemoveGroupMemberAdminGroupsGroupIdMembersUserIdDeleteErrors[keyof RemoveGroupMemberAdminGroupsGroupIdMembersUserIdDeleteErrors];
14447
+ export type RemoveGroupMemberAdminGroupsGroupIdMembersUserIdDeleteResponses = {
12542
14448
  /**
12543
14449
  * Successful Response
12544
14450
  */
12545
- 200: EmbeddingStatsResponse;
14451
+ 204: void;
12546
14452
  };
12547
- export type GetEmbeddingStatsAdminEmbeddingStatsGetResponse = GetEmbeddingStatsAdminEmbeddingStatsGetResponses[keyof GetEmbeddingStatsAdminEmbeddingStatsGetResponses];
14453
+ export type RemoveGroupMemberAdminGroupsGroupIdMembersUserIdDeleteResponse = RemoveGroupMemberAdminGroupsGroupIdMembersUserIdDeleteResponses[keyof RemoveGroupMemberAdminGroupsGroupIdMembersUserIdDeleteResponses];
12548
14454
  export type GetInfrastructureAdminInfrastructureGetData = {
12549
14455
  body?: never;
12550
14456
  path?: never;
@@ -15070,11 +16976,47 @@ export type VerifyEmailAuthVerifyEmailPostErrors = {
15070
16976
  /**
15071
16977
  * Not found
15072
16978
  */
15073
- 404: ProblemDetail;
16979
+ 404: ProblemDetail;
16980
+ /**
16981
+ * The account can't be activated yet
16982
+ */
16983
+ 409: ProblemDetail;
16984
+ /**
16985
+ * Validation error
16986
+ */
16987
+ 422: ProblemDetail;
16988
+ /**
16989
+ * Too many requests — retry after the advertised interval
16990
+ */
16991
+ 429: ProblemDetail;
16992
+ /**
16993
+ * Internal server error
16994
+ */
16995
+ 500: ProblemDetail;
16996
+ /**
16997
+ * Service unavailable — the database could not serve the request
16998
+ */
16999
+ 503: ProblemDetail;
17000
+ };
17001
+ export type VerifyEmailAuthVerifyEmailPostError = VerifyEmailAuthVerifyEmailPostErrors[keyof VerifyEmailAuthVerifyEmailPostErrors];
17002
+ export type VerifyEmailAuthVerifyEmailPostResponses = {
17003
+ /**
17004
+ * Successful Response
17005
+ */
17006
+ 200: RegisterResponse;
17007
+ };
17008
+ export type VerifyEmailAuthVerifyEmailPostResponse = VerifyEmailAuthVerifyEmailPostResponses[keyof VerifyEmailAuthVerifyEmailPostResponses];
17009
+ export type GetCapabilitiesCapabilitiesGetData = {
17010
+ body?: never;
17011
+ path?: never;
17012
+ query?: never;
17013
+ url: '/capabilities/';
17014
+ };
17015
+ export type GetCapabilitiesCapabilitiesGetErrors = {
15074
17016
  /**
15075
- * Validation error
17017
+ * 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.
15076
17018
  */
15077
- 422: ProblemDetail;
17019
+ 401: ProblemDetail;
15078
17020
  /**
15079
17021
  * Too many requests — retry after the advertised interval
15080
17022
  */
@@ -15088,14 +17030,14 @@ export type VerifyEmailAuthVerifyEmailPostErrors = {
15088
17030
  */
15089
17031
  503: ProblemDetail;
15090
17032
  };
15091
- export type VerifyEmailAuthVerifyEmailPostError = VerifyEmailAuthVerifyEmailPostErrors[keyof VerifyEmailAuthVerifyEmailPostErrors];
15092
- export type VerifyEmailAuthVerifyEmailPostResponses = {
17033
+ export type GetCapabilitiesCapabilitiesGetError = GetCapabilitiesCapabilitiesGetErrors[keyof GetCapabilitiesCapabilitiesGetErrors];
17034
+ export type GetCapabilitiesCapabilitiesGetResponses = {
15093
17035
  /**
15094
17036
  * Successful Response
15095
17037
  */
15096
- 200: RegisterResponse;
17038
+ 200: CapabilitiesResponse;
15097
17039
  };
15098
- export type VerifyEmailAuthVerifyEmailPostResponse = VerifyEmailAuthVerifyEmailPostResponses[keyof VerifyEmailAuthVerifyEmailPostResponses];
17040
+ export type GetCapabilitiesCapabilitiesGetResponse = GetCapabilitiesCapabilitiesGetResponses[keyof GetCapabilitiesCapabilitiesGetResponses];
15099
17041
  export type ListCollectionsEndpointCatalogCollectionsGetData = {
15100
17042
  body?: never;
15101
17043
  path?: never;
@@ -16089,6 +18031,18 @@ export type GetCollectionItemsCollectionsDatasetIdItemsGetData = {
16089
18031
  * CRS of filter geometries. Only CRS84 (http://www.opengis.net/def/crs/OGC/1.3/CRS84) is supported.
16090
18032
  */
16091
18033
  'filter-crs'?: string | null;
18034
+ /**
18035
+ * Crs
18036
+ *
18037
+ * CRS of the returned geometries. Only CRS84 (http://www.opengis.net/def/crs/OGC/1.3/CRS84, its https form or [OGC:CRS84]) is supported; any other value is refused with 400.
18038
+ */
18039
+ crs?: string | null;
18040
+ /**
18041
+ * Bbox-Crs
18042
+ *
18043
+ * CRS of `bbox`. Only CRS84 is supported, as for `crs`.
18044
+ */
18045
+ 'bbox-crs'?: string | null;
16092
18046
  };
16093
18047
  url: '/collections/{dataset_id}/items';
16094
18048
  };
@@ -16188,6 +18142,12 @@ export type GetCollectionItemsCollectionsDatasetIdItemsGetResponses = {
16188
18142
  * Optional human-readable label for the link.
16189
18143
  */
16190
18144
  title?: string | null;
18145
+ /**
18146
+ * Templated
18147
+ *
18148
+ * True when `href` is a URI template with variables such as {z}, {x} and {y}.
18149
+ */
18150
+ templated?: boolean | null;
16191
18151
  }>;
16192
18152
  };
16193
18153
  /**
@@ -16216,6 +18176,12 @@ export type GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetData =
16216
18176
  * F
16217
18177
  */
16218
18178
  f?: string | null;
18179
+ /**
18180
+ * Crs
18181
+ *
18182
+ * CRS of the returned geometry. Only CRS84 is supported.
18183
+ */
18184
+ crs?: string | null;
16219
18185
  };
16220
18186
  url: '/collections/{dataset_id}/items/{feature_id}';
16221
18187
  };
@@ -16316,6 +18282,12 @@ export type GetCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGetRespons
16316
18282
  * Optional human-readable label for the link.
16317
18283
  */
16318
18284
  title?: string | null;
18285
+ /**
18286
+ * Templated
18287
+ *
18288
+ * True when `href` is a URI template with variables such as {z}, {x} and {y}.
18289
+ */
18290
+ templated?: boolean | null;
16319
18291
  }>;
16320
18292
  };
16321
18293
  /**
@@ -17300,6 +19272,92 @@ export type UpdateDatasetMetadataDatasetsDatasetIdPatchResponses = {
17300
19272
  200: DatasetResponse;
17301
19273
  };
17302
19274
  export type UpdateDatasetMetadataDatasetsDatasetIdPatchResponse = UpdateDatasetMetadataDatasetsDatasetIdPatchResponses[keyof UpdateDatasetMetadataDatasetsDatasetIdPatchResponses];
19275
+ export type AggregateEndpointDatasetsDatasetIdAggregatePostData = {
19276
+ /**
19277
+ * Body
19278
+ */
19279
+ body: ({
19280
+ op: 'count';
19281
+ } & CountRequest) | ({
19282
+ op: 'stats';
19283
+ } & StatsRequest) | ({
19284
+ op: 'value_counts';
19285
+ } & ValueCountsRequest) | ({
19286
+ op: 'histogram';
19287
+ } & HistogramRequest) | ({
19288
+ op: 'group_by';
19289
+ } & GroupByRequest);
19290
+ headers?: {
19291
+ /**
19292
+ * X-Embed-Token
19293
+ *
19294
+ * Optional embed token. Datasets in the token's scope are authorized even without user credentials (embed viewers).
19295
+ */
19296
+ 'X-Embed-Token'?: string | null;
19297
+ };
19298
+ path: {
19299
+ /**
19300
+ * Dataset Id
19301
+ */
19302
+ dataset_id: string;
19303
+ };
19304
+ query?: never;
19305
+ url: '/datasets/{dataset_id}/aggregate/';
19306
+ };
19307
+ export type AggregateEndpointDatasetsDatasetIdAggregatePostErrors = {
19308
+ /**
19309
+ * Bad request — invalid query parameters or payload
19310
+ */
19311
+ 400: ProblemDetail;
19312
+ /**
19313
+ * 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 valid X-Embed-Token that authorizes the request on its own. That request is served and the unrelated credential is ignored.
19314
+ */
19315
+ 401: ProblemDetail;
19316
+ /**
19317
+ * Forbidden — caller lacks access to this resource
19318
+ */
19319
+ 403: ProblemDetail;
19320
+ /**
19321
+ * Not found
19322
+ */
19323
+ 404: ProblemDetail;
19324
+ /**
19325
+ * Validation error
19326
+ */
19327
+ 422: ProblemDetail;
19328
+ /**
19329
+ * Too many requests — retry after the advertised interval
19330
+ */
19331
+ 429: ProblemDetail;
19332
+ /**
19333
+ * Internal server error
19334
+ */
19335
+ 500: ProblemDetail;
19336
+ /**
19337
+ * Service unavailable — the database could not serve the request
19338
+ */
19339
+ 503: ProblemDetail;
19340
+ };
19341
+ export type AggregateEndpointDatasetsDatasetIdAggregatePostError = AggregateEndpointDatasetsDatasetIdAggregatePostErrors[keyof AggregateEndpointDatasetsDatasetIdAggregatePostErrors];
19342
+ export type AggregateEndpointDatasetsDatasetIdAggregatePostResponses = {
19343
+ /**
19344
+ * Response Aggregate Endpoint Datasets Dataset Id Aggregate Post
19345
+ *
19346
+ * Successful Response
19347
+ */
19348
+ 200: ({
19349
+ op: 'count';
19350
+ } & CountResponse) | ({
19351
+ op: 'stats';
19352
+ } & StatsResponse) | ({
19353
+ op: 'value_counts';
19354
+ } & ValueCountsResponse) | ({
19355
+ op: 'histogram';
19356
+ } & HistogramResponse) | ({
19357
+ op: 'group_by';
19358
+ } & GroupByResponse);
19359
+ };
19360
+ export type AggregateEndpointDatasetsDatasetIdAggregatePostResponse = AggregateEndpointDatasetsDatasetIdAggregatePostResponses[keyof AggregateEndpointDatasetsDatasetIdAggregatePostResponses];
17303
19361
  export type AnalysisMaterializeEndpointDatasetsDatasetIdAnalysisMaterializePostData = {
17304
19362
  body: AnalysisMaterializeRequest;
17305
19363
  path: {
@@ -17368,7 +19426,191 @@ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostData = {
17368
19426
  query?: never;
17369
19427
  url: '/datasets/{dataset_id}/analysis/preview/';
17370
19428
  };
17371
- export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostErrors = {
19429
+ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostErrors = {
19430
+ /**
19431
+ * Bad request — invalid payload
19432
+ */
19433
+ 400: ProblemDetail;
19434
+ /**
19435
+ * Unauthorized — missing or invalid credentials
19436
+ */
19437
+ 401: ProblemDetail;
19438
+ /**
19439
+ * Forbidden — caller lacks write access
19440
+ */
19441
+ 403: ProblemDetail;
19442
+ /**
19443
+ * Not found
19444
+ */
19445
+ 404: ProblemDetail;
19446
+ /**
19447
+ * Conflict — resource state prevents the operation
19448
+ */
19449
+ 409: ProblemDetail;
19450
+ /**
19451
+ * Validation error
19452
+ */
19453
+ 422: ProblemDetail;
19454
+ /**
19455
+ * Too many requests — retry after the advertised interval
19456
+ */
19457
+ 429: ProblemDetail;
19458
+ /**
19459
+ * Internal server error
19460
+ */
19461
+ 500: ProblemDetail;
19462
+ /**
19463
+ * Service unavailable — the database could not serve the request
19464
+ */
19465
+ 503: ProblemDetail;
19466
+ };
19467
+ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostError = AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostErrors[keyof AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostErrors];
19468
+ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponses = {
19469
+ /**
19470
+ * Successful Response
19471
+ */
19472
+ 200: AnalysisPreviewResponse;
19473
+ };
19474
+ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponse = AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponses[keyof AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponses];
19475
+ export type ListDatasetApiKeysDatasetsDatasetIdApiKeysGetData = {
19476
+ body?: never;
19477
+ path: {
19478
+ /**
19479
+ * Dataset Id
19480
+ */
19481
+ dataset_id: string;
19482
+ };
19483
+ query?: {
19484
+ /**
19485
+ * Skip
19486
+ */
19487
+ skip?: number;
19488
+ /**
19489
+ * Limit
19490
+ */
19491
+ limit?: number;
19492
+ };
19493
+ url: '/datasets/{dataset_id}/api-keys';
19494
+ };
19495
+ export type ListDatasetApiKeysDatasetsDatasetIdApiKeysGetErrors = {
19496
+ /**
19497
+ * Bad request — invalid payload
19498
+ */
19499
+ 400: ProblemDetail;
19500
+ /**
19501
+ * Unauthorized — missing or invalid credentials
19502
+ */
19503
+ 401: ProblemDetail;
19504
+ /**
19505
+ * Forbidden — caller lacks write access
19506
+ */
19507
+ 403: ProblemDetail;
19508
+ /**
19509
+ * Not found
19510
+ */
19511
+ 404: ProblemDetail;
19512
+ /**
19513
+ * Conflict — resource state prevents the operation
19514
+ */
19515
+ 409: ProblemDetail;
19516
+ /**
19517
+ * Validation error
19518
+ */
19519
+ 422: ProblemDetail;
19520
+ /**
19521
+ * Too many requests — retry after the advertised interval
19522
+ */
19523
+ 429: ProblemDetail;
19524
+ /**
19525
+ * Internal server error
19526
+ */
19527
+ 500: ProblemDetail;
19528
+ /**
19529
+ * Service unavailable — the database could not serve the request
19530
+ */
19531
+ 503: ProblemDetail;
19532
+ };
19533
+ export type ListDatasetApiKeysDatasetsDatasetIdApiKeysGetError = ListDatasetApiKeysDatasetsDatasetIdApiKeysGetErrors[keyof ListDatasetApiKeysDatasetsDatasetIdApiKeysGetErrors];
19534
+ export type ListDatasetApiKeysDatasetsDatasetIdApiKeysGetResponses = {
19535
+ /**
19536
+ * Successful Response
19537
+ */
19538
+ 200: DatasetApiKeyListResponse;
19539
+ };
19540
+ export type ListDatasetApiKeysDatasetsDatasetIdApiKeysGetResponse = ListDatasetApiKeysDatasetsDatasetIdApiKeysGetResponses[keyof ListDatasetApiKeysDatasetsDatasetIdApiKeysGetResponses];
19541
+ export type CreateDatasetApiKeyDatasetsDatasetIdApiKeysPostData = {
19542
+ body: DatasetApiKeyCreateRequest;
19543
+ path: {
19544
+ /**
19545
+ * Dataset Id
19546
+ */
19547
+ dataset_id: string;
19548
+ };
19549
+ query?: never;
19550
+ url: '/datasets/{dataset_id}/api-keys';
19551
+ };
19552
+ export type CreateDatasetApiKeyDatasetsDatasetIdApiKeysPostErrors = {
19553
+ /**
19554
+ * Bad request — invalid payload
19555
+ */
19556
+ 400: ProblemDetail;
19557
+ /**
19558
+ * Unauthorized — missing or invalid credentials
19559
+ */
19560
+ 401: ProblemDetail;
19561
+ /**
19562
+ * Forbidden — caller lacks write access
19563
+ */
19564
+ 403: ProblemDetail;
19565
+ /**
19566
+ * Not found
19567
+ */
19568
+ 404: ProblemDetail;
19569
+ /**
19570
+ * Conflict — resource state prevents the operation
19571
+ */
19572
+ 409: ProblemDetail;
19573
+ /**
19574
+ * Validation error
19575
+ */
19576
+ 422: ProblemDetail;
19577
+ /**
19578
+ * Too many requests — retry after the advertised interval
19579
+ */
19580
+ 429: ProblemDetail;
19581
+ /**
19582
+ * Internal server error
19583
+ */
19584
+ 500: ProblemDetail;
19585
+ /**
19586
+ * Service unavailable — the database could not serve the request
19587
+ */
19588
+ 503: ProblemDetail;
19589
+ };
19590
+ export type CreateDatasetApiKeyDatasetsDatasetIdApiKeysPostError = CreateDatasetApiKeyDatasetsDatasetIdApiKeysPostErrors[keyof CreateDatasetApiKeyDatasetsDatasetIdApiKeysPostErrors];
19591
+ export type CreateDatasetApiKeyDatasetsDatasetIdApiKeysPostResponses = {
19592
+ /**
19593
+ * Successful Response
19594
+ */
19595
+ 201: ApiKeyCreateResponse;
19596
+ };
19597
+ export type CreateDatasetApiKeyDatasetsDatasetIdApiKeysPostResponse = CreateDatasetApiKeyDatasetsDatasetIdApiKeysPostResponses[keyof CreateDatasetApiKeyDatasetsDatasetIdApiKeysPostResponses];
19598
+ export type RevokeDatasetApiKeyDatasetsDatasetIdApiKeysKeyIdDeleteData = {
19599
+ body?: never;
19600
+ path: {
19601
+ /**
19602
+ * Dataset Id
19603
+ */
19604
+ dataset_id: string;
19605
+ /**
19606
+ * Key Id
19607
+ */
19608
+ key_id: string;
19609
+ };
19610
+ query?: never;
19611
+ url: '/datasets/{dataset_id}/api-keys/{key_id}';
19612
+ };
19613
+ export type RevokeDatasetApiKeyDatasetsDatasetIdApiKeysKeyIdDeleteErrors = {
17372
19614
  /**
17373
19615
  * Bad request — invalid payload
17374
19616
  */
@@ -17406,14 +19648,14 @@ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostErrors =
17406
19648
  */
17407
19649
  503: ProblemDetail;
17408
19650
  };
17409
- export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostError = AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostErrors[keyof AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostErrors];
17410
- export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponses = {
19651
+ export type RevokeDatasetApiKeyDatasetsDatasetIdApiKeysKeyIdDeleteError = RevokeDatasetApiKeyDatasetsDatasetIdApiKeysKeyIdDeleteErrors[keyof RevokeDatasetApiKeyDatasetsDatasetIdApiKeysKeyIdDeleteErrors];
19652
+ export type RevokeDatasetApiKeyDatasetsDatasetIdApiKeysKeyIdDeleteResponses = {
17411
19653
  /**
17412
19654
  * Successful Response
17413
19655
  */
17414
- 200: AnalysisPreviewResponse;
19656
+ 204: void;
17415
19657
  };
17416
- export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponse = AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponses[keyof AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponses];
19658
+ export type RevokeDatasetApiKeyDatasetsDatasetIdApiKeysKeyIdDeleteResponse = RevokeDatasetApiKeyDatasetsDatasetIdApiKeysKeyIdDeleteResponses[keyof RevokeDatasetApiKeyDatasetsDatasetIdApiKeysKeyIdDeleteResponses];
17417
19659
  export type ListAttributesEndpointDatasetsDatasetIdAttributesGetData = {
17418
19660
  body?: never;
17419
19661
  path: {
@@ -18412,23 +20654,287 @@ export type ListFeaturesDatasetsDatasetIdFeaturesGetResponses = {
18412
20654
  }>;
18413
20655
  };
18414
20656
  };
18415
- export type ListFeaturesDatasetsDatasetIdFeaturesGetResponse = ListFeaturesDatasetsDatasetIdFeaturesGetResponses[keyof ListFeaturesDatasetsDatasetIdFeaturesGetResponses];
18416
- export type CreateFeatureDatasetsDatasetIdFeaturesPostData = {
18417
- body: FeatureCreate;
18418
- headers?: {
18419
- /**
18420
- * Idempotency-Key
18421
- *
18422
- * Optional key that makes a retried create safe. Letters, digits and `._:-`, up to 128 characters.
18423
- */
18424
- 'Idempotency-Key'?: string;
18425
- /**
18426
- * Idempotency-Attempt
18427
- *
18428
- * Attempt number sent with `Idempotency-Key`, counting up by one each time the body is sent again. Counts as 1 when omitted.
18429
- */
18430
- 'Idempotency-Attempt'?: number;
18431
- };
20657
+ export type ListFeaturesDatasetsDatasetIdFeaturesGetResponse = ListFeaturesDatasetsDatasetIdFeaturesGetResponses[keyof ListFeaturesDatasetsDatasetIdFeaturesGetResponses];
20658
+ export type CreateFeatureDatasetsDatasetIdFeaturesPostData = {
20659
+ /**
20660
+ * Body
20661
+ */
20662
+ body: FeatureCreate | FeatureCollectionCreate;
20663
+ headers?: {
20664
+ /**
20665
+ * Idempotency-Key
20666
+ *
20667
+ * Optional key that makes a retried create safe. Any visible ASCII character (`!` to `~`, no spaces), 1 to 128 characters. The key is compared exactly as sent, so a quoted key and the same key unquoted are different keys. For example `device-42:2026-10-17T16:09:33.123000+00:00`.
20668
+ */
20669
+ 'Idempotency-Key'?: string;
20670
+ /**
20671
+ * Idempotency-Attempt
20672
+ *
20673
+ * Attempt number sent with `Idempotency-Key`, counting up by one each time the body is sent again. Counts as 1 when omitted.
20674
+ */
20675
+ 'Idempotency-Attempt'?: number;
20676
+ };
20677
+ path: {
20678
+ /**
20679
+ * Dataset Id
20680
+ */
20681
+ dataset_id: string;
20682
+ };
20683
+ query?: never;
20684
+ url: '/datasets/{dataset_id}/features/';
20685
+ };
20686
+ export type CreateFeatureDatasetsDatasetIdFeaturesPostErrors = {
20687
+ /**
20688
+ * Bad request — invalid payload
20689
+ */
20690
+ 400: ProblemDetail;
20691
+ /**
20692
+ * Unauthorized — missing or invalid credentials
20693
+ */
20694
+ 401: ProblemDetail;
20695
+ /**
20696
+ * Forbidden — caller lacks write access
20697
+ */
20698
+ 403: ProblemDetail;
20699
+ /**
20700
+ * Not found
20701
+ */
20702
+ 404: ProblemDetail;
20703
+ /**
20704
+ * Conflict — resource state prevents the operation
20705
+ */
20706
+ 409: ProblemDetail;
20707
+ /**
20708
+ * Validation error
20709
+ */
20710
+ 422: ProblemDetail;
20711
+ /**
20712
+ * Too many requests — retry after the advertised interval
20713
+ */
20714
+ 429: ProblemDetail;
20715
+ /**
20716
+ * Internal server error
20717
+ */
20718
+ 500: ProblemDetail;
20719
+ /**
20720
+ * Service unavailable — the database could not serve the request
20721
+ */
20722
+ 503: ProblemDetail;
20723
+ };
20724
+ export type CreateFeatureDatasetsDatasetIdFeaturesPostError = CreateFeatureDatasetsDatasetIdFeaturesPostErrors[keyof CreateFeatureDatasetsDatasetIdFeaturesPostErrors];
20725
+ export type CreateFeatureDatasetsDatasetIdFeaturesPostResponses = {
20726
+ /**
20727
+ * Successful Response
20728
+ */
20729
+ 201: {
20730
+ /**
20731
+ * Type
20732
+ */
20733
+ type?: 'Feature';
20734
+ /**
20735
+ * Id
20736
+ */
20737
+ id: number;
20738
+ /**
20739
+ * Geometry
20740
+ */
20741
+ geometry?: {
20742
+ /**
20743
+ * Type
20744
+ */
20745
+ type: 'GeometryCollection';
20746
+ /**
20747
+ * Geometries
20748
+ */
20749
+ geometries: Array<{
20750
+ /**
20751
+ * Type
20752
+ */
20753
+ type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon';
20754
+ /**
20755
+ * Coordinates
20756
+ */
20757
+ coordinates: Array<unknown>;
20758
+ }>;
20759
+ } | {
20760
+ /**
20761
+ * Type
20762
+ */
20763
+ type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon';
20764
+ /**
20765
+ * Coordinates
20766
+ */
20767
+ coordinates: Array<unknown>;
20768
+ } | null;
20769
+ /**
20770
+ * Properties
20771
+ */
20772
+ properties: {
20773
+ [key: string]: unknown;
20774
+ };
20775
+ /**
20776
+ * Table Id
20777
+ *
20778
+ * Opaque id of the data table this feature was read from or written to. A reupload or an overwrite of the dataset's data replaces the table, and the replacement can reuse feature ids. Send it back as the `table_id` query parameter of a PUT, PATCH or DELETE of this feature, or of a batch delete, to have the write refused if the table was replaced since.
20779
+ */
20780
+ table_id?: string | null;
20781
+ /**
20782
+ * Tile Cache Version
20783
+ *
20784
+ * 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.
20785
+ */
20786
+ tile_cache_version?: number | null;
20787
+ } | {
20788
+ /**
20789
+ * Type
20790
+ */
20791
+ type?: 'FeatureCollection';
20792
+ /**
20793
+ * Features
20794
+ */
20795
+ features: Array<{
20796
+ /**
20797
+ * Type
20798
+ */
20799
+ type?: 'Feature';
20800
+ /**
20801
+ * Id
20802
+ */
20803
+ id: number;
20804
+ /**
20805
+ * Geometry
20806
+ */
20807
+ geometry?: {
20808
+ /**
20809
+ * Type
20810
+ */
20811
+ type: 'GeometryCollection';
20812
+ /**
20813
+ * Geometries
20814
+ */
20815
+ geometries: Array<{
20816
+ /**
20817
+ * Type
20818
+ */
20819
+ type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon';
20820
+ /**
20821
+ * Coordinates
20822
+ */
20823
+ coordinates: Array<unknown>;
20824
+ }>;
20825
+ } | {
20826
+ /**
20827
+ * Type
20828
+ */
20829
+ type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon';
20830
+ /**
20831
+ * Coordinates
20832
+ */
20833
+ coordinates: Array<unknown>;
20834
+ } | null;
20835
+ /**
20836
+ * Properties
20837
+ */
20838
+ properties: {
20839
+ [key: string]: unknown;
20840
+ };
20841
+ /**
20842
+ * Table Id
20843
+ *
20844
+ * Opaque id of the data table this feature was read from or written to. A reupload or an overwrite of the dataset's data replaces the table, and the replacement can reuse feature ids. Send it back as the `table_id` query parameter of a PUT, PATCH or DELETE of this feature, or of a batch delete, to have the write refused if the table was replaced since.
20845
+ */
20846
+ table_id?: string | null;
20847
+ /**
20848
+ * Tile Cache Version
20849
+ *
20850
+ * 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.
20851
+ */
20852
+ tile_cache_version?: number | null;
20853
+ }>;
20854
+ /**
20855
+ * Table Id
20856
+ *
20857
+ * Opaque id of the data table this feature was read from or written to. A reupload or an overwrite of the dataset's data replaces the table, and the replacement can reuse feature ids. Send it back as the `table_id` query parameter of a PUT, PATCH or DELETE of this feature, or of a batch delete, to have the write refused if the table was replaced since.
20858
+ */
20859
+ table_id?: string | null;
20860
+ /**
20861
+ * Tile Cache Version
20862
+ *
20863
+ * 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.
20864
+ */
20865
+ tile_cache_version?: number | null;
20866
+ };
20867
+ };
20868
+ export type CreateFeatureDatasetsDatasetIdFeaturesPostResponse = CreateFeatureDatasetsDatasetIdFeaturesPostResponses[keyof CreateFeatureDatasetsDatasetIdFeaturesPostResponses];
20869
+ export type DeleteFeaturesBatchDatasetsDatasetIdFeaturesDeletePostData = {
20870
+ body: FeatureBatchDelete;
20871
+ path: {
20872
+ /**
20873
+ * Dataset Id
20874
+ */
20875
+ dataset_id: string;
20876
+ };
20877
+ query?: {
20878
+ /**
20879
+ * Table Id
20880
+ *
20881
+ * The `table_id` the feature was read with. If the dataset's data has been replaced since, the request is refused with 409 and code `dataset_replaced`, and nothing is written.
20882
+ */
20883
+ table_id?: string;
20884
+ };
20885
+ url: '/datasets/{dataset_id}/features/delete/';
20886
+ };
20887
+ export type DeleteFeaturesBatchDatasetsDatasetIdFeaturesDeletePostErrors = {
20888
+ /**
20889
+ * Bad request — invalid payload
20890
+ */
20891
+ 400: ProblemDetail;
20892
+ /**
20893
+ * Unauthorized — missing or invalid credentials
20894
+ */
20895
+ 401: ProblemDetail;
20896
+ /**
20897
+ * Forbidden — caller lacks write access
20898
+ */
20899
+ 403: ProblemDetail;
20900
+ /**
20901
+ * Not found
20902
+ */
20903
+ 404: ProblemDetail;
20904
+ /**
20905
+ * Conflict — resource state prevents the operation
20906
+ */
20907
+ 409: ProblemDetail;
20908
+ /**
20909
+ * Validation error
20910
+ */
20911
+ 422: ProblemDetail;
20912
+ /**
20913
+ * Too many requests — retry after the advertised interval
20914
+ */
20915
+ 429: ProblemDetail;
20916
+ /**
20917
+ * Internal server error
20918
+ */
20919
+ 500: ProblemDetail;
20920
+ /**
20921
+ * Service unavailable — the database could not serve the request
20922
+ */
20923
+ 503: ProblemDetail;
20924
+ };
20925
+ export type DeleteFeaturesBatchDatasetsDatasetIdFeaturesDeletePostError = DeleteFeaturesBatchDatasetsDatasetIdFeaturesDeletePostErrors[keyof DeleteFeaturesBatchDatasetsDatasetIdFeaturesDeletePostErrors];
20926
+ export type DeleteFeaturesBatchDatasetsDatasetIdFeaturesDeletePostResponses = {
20927
+ /**
20928
+ * Successful Response
20929
+ */
20930
+ 200: FeatureBatchDeleted;
20931
+ };
20932
+ export type DeleteFeaturesBatchDatasetsDatasetIdFeaturesDeletePostResponse = DeleteFeaturesBatchDatasetsDatasetIdFeaturesDeletePostResponses[keyof DeleteFeaturesBatchDatasetsDatasetIdFeaturesDeletePostResponses];
20933
+ export type DryRunCreateFeatureDatasetsDatasetIdFeaturesDryRunPostData = {
20934
+ /**
20935
+ * Body
20936
+ */
20937
+ body: FeatureCreate | FeatureCollectionCreate;
18432
20938
  path: {
18433
20939
  /**
18434
20940
  * Dataset Id
@@ -18436,9 +20942,9 @@ export type CreateFeatureDatasetsDatasetIdFeaturesPostData = {
18436
20942
  dataset_id: string;
18437
20943
  };
18438
20944
  query?: never;
18439
- url: '/datasets/{dataset_id}/features/';
20945
+ url: '/datasets/{dataset_id}/features/dry-run/';
18440
20946
  };
18441
- export type CreateFeatureDatasetsDatasetIdFeaturesPostErrors = {
20947
+ export type DryRunCreateFeatureDatasetsDatasetIdFeaturesDryRunPostErrors = {
18442
20948
  /**
18443
20949
  * Bad request — invalid payload
18444
20950
  */
@@ -18459,6 +20965,10 @@ export type CreateFeatureDatasetsDatasetIdFeaturesPostErrors = {
18459
20965
  * Conflict — resource state prevents the operation
18460
20966
  */
18461
20967
  409: ProblemDetail;
20968
+ /**
20969
+ * Payload too large
20970
+ */
20971
+ 413: ProblemDetail;
18462
20972
  /**
18463
20973
  * Validation error
18464
20974
  */
@@ -18476,22 +20986,16 @@ export type CreateFeatureDatasetsDatasetIdFeaturesPostErrors = {
18476
20986
  */
18477
20987
  503: ProblemDetail;
18478
20988
  };
18479
- export type CreateFeatureDatasetsDatasetIdFeaturesPostError = CreateFeatureDatasetsDatasetIdFeaturesPostErrors[keyof CreateFeatureDatasetsDatasetIdFeaturesPostErrors];
18480
- export type CreateFeatureDatasetsDatasetIdFeaturesPostResponses = {
20989
+ export type DryRunCreateFeatureDatasetsDatasetIdFeaturesDryRunPostError = DryRunCreateFeatureDatasetsDatasetIdFeaturesDryRunPostErrors[keyof DryRunCreateFeatureDatasetsDatasetIdFeaturesDryRunPostErrors];
20990
+ export type DryRunCreateFeatureDatasetsDatasetIdFeaturesDryRunPostResponses = {
18481
20991
  /**
18482
- * GeoJSONFeature
18483
- *
18484
- * A written GeoJSON Feature, plus the dataset's committed tile version.
20992
+ * The feature or features as they would be stored. Nothing was written.
18485
20993
  */
18486
- 201: {
20994
+ 200: {
18487
20995
  /**
18488
20996
  * Type
18489
20997
  */
18490
20998
  type?: 'Feature';
18491
- /**
18492
- * Id
18493
- */
18494
- id: number;
18495
20999
  /**
18496
21000
  * Geometry
18497
21001
  */
@@ -18529,21 +21033,60 @@ export type CreateFeatureDatasetsDatasetIdFeaturesPostResponses = {
18529
21033
  properties: {
18530
21034
  [key: string]: unknown;
18531
21035
  };
21036
+ } | {
18532
21037
  /**
18533
- * Table Id
18534
- *
18535
- * Opaque id of the data table this feature was read from or written to. A reupload or an overwrite of the dataset's data replaces the table, and the replacement can reuse feature ids. Send it back as the `table_id` query parameter of a PUT, PATCH or DELETE of this feature to have the write refused if the table was replaced since.
21038
+ * Type
18536
21039
  */
18537
- table_id?: string | null;
21040
+ type?: 'FeatureCollection';
18538
21041
  /**
18539
- * Tile Cache Version
18540
- *
18541
- * 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.
21042
+ * Features
18542
21043
  */
18543
- tile_cache_version?: number | null;
21044
+ features: Array<{
21045
+ /**
21046
+ * Type
21047
+ */
21048
+ type?: 'Feature';
21049
+ /**
21050
+ * Geometry
21051
+ */
21052
+ geometry?: {
21053
+ /**
21054
+ * Type
21055
+ */
21056
+ type: 'GeometryCollection';
21057
+ /**
21058
+ * Geometries
21059
+ */
21060
+ geometries: Array<{
21061
+ /**
21062
+ * Type
21063
+ */
21064
+ type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon';
21065
+ /**
21066
+ * Coordinates
21067
+ */
21068
+ coordinates: Array<unknown>;
21069
+ }>;
21070
+ } | {
21071
+ /**
21072
+ * Type
21073
+ */
21074
+ type: 'Point' | 'MultiPoint' | 'LineString' | 'MultiLineString' | 'Polygon' | 'MultiPolygon';
21075
+ /**
21076
+ * Coordinates
21077
+ */
21078
+ coordinates: Array<unknown>;
21079
+ } | null;
21080
+ /**
21081
+ * Properties
21082
+ */
21083
+ properties: {
21084
+ [key: string]: unknown;
21085
+ };
21086
+ }>;
18544
21087
  };
18545
21088
  };
18546
- export type CreateFeatureDatasetsDatasetIdFeaturesPostResponse = CreateFeatureDatasetsDatasetIdFeaturesPostResponses[keyof CreateFeatureDatasetsDatasetIdFeaturesPostResponses];
21089
+ export type DryRunCreateFeatureDatasetsDatasetIdFeaturesDryRunPostResponse = DryRunCreateFeatureDatasetsDatasetIdFeaturesDryRunPostResponses[keyof DryRunCreateFeatureDatasetsDatasetIdFeaturesDryRunPostResponses];
18547
21090
  export type DeleteSingleFeatureDatasetsDatasetIdFeaturesGidDeleteData = {
18548
21091
  body?: never;
18549
21092
  path: {
@@ -18717,7 +21260,7 @@ export type GetSingleFeatureDatasetsDatasetIdFeaturesGidGetResponses = {
18717
21260
  /**
18718
21261
  * Table Id
18719
21262
  *
18720
- * Opaque id of the data table this feature was read from or written to. A reupload or an overwrite of the dataset's data replaces the table, and the replacement can reuse feature ids. Send it back as the `table_id` query parameter of a PUT, PATCH or DELETE of this feature to have the write refused if the table was replaced since.
21263
+ * Opaque id of the data table this feature was read from or written to. A reupload or an overwrite of the dataset's data replaces the table, and the replacement can reuse feature ids. Send it back as the `table_id` query parameter of a PUT, PATCH or DELETE of this feature, or of a batch delete, to have the write refused if the table was replaced since.
18721
21264
  */
18722
21265
  table_id?: string | null;
18723
21266
  };
@@ -18839,7 +21382,7 @@ export type PatchSingleFeatureDatasetsDatasetIdFeaturesGidPatchResponses = {
18839
21382
  /**
18840
21383
  * Table Id
18841
21384
  *
18842
- * Opaque id of the data table this feature was read from or written to. A reupload or an overwrite of the dataset's data replaces the table, and the replacement can reuse feature ids. Send it back as the `table_id` query parameter of a PUT, PATCH or DELETE of this feature to have the write refused if the table was replaced since.
21385
+ * Opaque id of the data table this feature was read from or written to. A reupload or an overwrite of the dataset's data replaces the table, and the replacement can reuse feature ids. Send it back as the `table_id` query parameter of a PUT, PATCH or DELETE of this feature, or of a batch delete, to have the write refused if the table was replaced since.
18843
21386
  */
18844
21387
  table_id?: string | null;
18845
21388
  /**
@@ -18967,7 +21510,7 @@ export type ReplaceSingleFeatureDatasetsDatasetIdFeaturesGidPutResponses = {
18967
21510
  /**
18968
21511
  * Table Id
18969
21512
  *
18970
- * Opaque id of the data table this feature was read from or written to. A reupload or an overwrite of the dataset's data replaces the table, and the replacement can reuse feature ids. Send it back as the `table_id` query parameter of a PUT, PATCH or DELETE of this feature to have the write refused if the table was replaced since.
21513
+ * Opaque id of the data table this feature was read from or written to. A reupload or an overwrite of the dataset's data replaces the table, and the replacement can reuse feature ids. Send it back as the `table_id` query parameter of a PUT, PATCH or DELETE of this feature, or of a batch delete, to have the write refused if the table was replaced since.
18971
21514
  */
18972
21515
  table_id?: string | null;
18973
21516
  /**
@@ -19141,6 +21684,63 @@ export type ValidateGeodcatApRecordDatasetsDatasetIdGeodcatApValidationGetRespon
19141
21684
  */
19142
21685
  200: unknown;
19143
21686
  };
21687
+ export type SetDatasetGroupsEndpointDatasetsDatasetIdGroupsPutData = {
21688
+ body: DatasetGroupsUpdate;
21689
+ path: {
21690
+ /**
21691
+ * Dataset Id
21692
+ */
21693
+ dataset_id: string;
21694
+ };
21695
+ query?: never;
21696
+ url: '/datasets/{dataset_id}/groups/';
21697
+ };
21698
+ export type SetDatasetGroupsEndpointDatasetsDatasetIdGroupsPutErrors = {
21699
+ /**
21700
+ * Bad request — invalid payload
21701
+ */
21702
+ 400: ProblemDetail;
21703
+ /**
21704
+ * Unauthorized — missing or invalid credentials
21705
+ */
21706
+ 401: ProblemDetail;
21707
+ /**
21708
+ * Forbidden — caller lacks access to this resource
21709
+ */
21710
+ 403: ProblemDetail;
21711
+ /**
21712
+ * Not found
21713
+ */
21714
+ 404: ProblemDetail;
21715
+ /**
21716
+ * Conflict — resource state prevents the operation
21717
+ */
21718
+ 409: ProblemDetail;
21719
+ /**
21720
+ * Validation error
21721
+ */
21722
+ 422: ProblemDetail;
21723
+ /**
21724
+ * Too many requests — retry after the advertised interval
21725
+ */
21726
+ 429: ProblemDetail;
21727
+ /**
21728
+ * Internal server error
21729
+ */
21730
+ 500: ProblemDetail;
21731
+ /**
21732
+ * Service unavailable — the database could not serve the request
21733
+ */
21734
+ 503: ProblemDetail;
21735
+ };
21736
+ export type SetDatasetGroupsEndpointDatasetsDatasetIdGroupsPutError = SetDatasetGroupsEndpointDatasetsDatasetIdGroupsPutErrors[keyof SetDatasetGroupsEndpointDatasetsDatasetIdGroupsPutErrors];
21737
+ export type SetDatasetGroupsEndpointDatasetsDatasetIdGroupsPutResponses = {
21738
+ /**
21739
+ * Successful Response
21740
+ */
21741
+ 200: DatasetGroupsResponse;
21742
+ };
21743
+ export type SetDatasetGroupsEndpointDatasetsDatasetIdGroupsPutResponse = SetDatasetGroupsEndpointDatasetsDatasetIdGroupsPutResponses[keyof SetDatasetGroupsEndpointDatasetsDatasetIdGroupsPutResponses];
19144
21744
  export type GetDatasetHistoryDatasetsDatasetIdHistoryGetData = {
19145
21745
  body?: never;
19146
21746
  path: {
@@ -19285,7 +21885,7 @@ export type DeletePreviousVersionDatasetsDatasetIdPreviousVersionDeleteData = {
19285
21885
  /**
19286
21886
  * Expected Version Number
19287
21887
  *
19288
- * The previous version the caller confirmed deleting
21888
+ * The newest kept version, which the caller confirmed deleting
19289
21889
  */
19290
21890
  expected_version_number: number;
19291
21891
  };
@@ -19346,9 +21946,131 @@ export type RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostDat
19346
21946
  dataset_id: string;
19347
21947
  };
19348
21948
  query?: never;
19349
- url: '/datasets/{dataset_id}/previous-version/restore';
21949
+ url: '/datasets/{dataset_id}/previous-version/restore';
21950
+ };
21951
+ export type RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostErrors = {
21952
+ /**
21953
+ * Bad request — invalid payload
21954
+ */
21955
+ 400: ProblemDetail;
21956
+ /**
21957
+ * Unauthorized — missing or invalid credentials
21958
+ */
21959
+ 401: ProblemDetail;
21960
+ /**
21961
+ * Forbidden — caller lacks write access
21962
+ */
21963
+ 403: ProblemDetail;
21964
+ /**
21965
+ * Not found
21966
+ */
21967
+ 404: ProblemDetail;
21968
+ /**
21969
+ * Conflict — resource state prevents the operation
21970
+ */
21971
+ 409: ProblemDetail;
21972
+ /**
21973
+ * Validation error
21974
+ */
21975
+ 422: ProblemDetail;
21976
+ /**
21977
+ * Too many requests — retry after the advertised interval
21978
+ */
21979
+ 429: ProblemDetail;
21980
+ /**
21981
+ * Internal server error
21982
+ */
21983
+ 500: ProblemDetail;
21984
+ /**
21985
+ * Service unavailable — the database could not serve the request
21986
+ */
21987
+ 503: ProblemDetail;
21988
+ };
21989
+ export type RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostError = RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostErrors[keyof RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostErrors];
21990
+ export type RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostResponses = {
21991
+ /**
21992
+ * Successful Response
21993
+ */
21994
+ 202: RestorePreviousVersionResponse;
21995
+ };
21996
+ export type RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostResponse = RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostResponses[keyof RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostResponses];
21997
+ export type DeleteKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberDeleteData = {
21998
+ body?: never;
21999
+ path: {
22000
+ /**
22001
+ * Dataset Id
22002
+ */
22003
+ dataset_id: string;
22004
+ /**
22005
+ * Version Number
22006
+ */
22007
+ version_number: number;
22008
+ };
22009
+ query?: never;
22010
+ url: '/datasets/{dataset_id}/previous-versions/{version_number}';
22011
+ };
22012
+ export type DeleteKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberDeleteErrors = {
22013
+ /**
22014
+ * Bad request — invalid payload
22015
+ */
22016
+ 400: ProblemDetail;
22017
+ /**
22018
+ * Unauthorized — missing or invalid credentials
22019
+ */
22020
+ 401: ProblemDetail;
22021
+ /**
22022
+ * Forbidden — caller lacks write access
22023
+ */
22024
+ 403: ProblemDetail;
22025
+ /**
22026
+ * Not found
22027
+ */
22028
+ 404: ProblemDetail;
22029
+ /**
22030
+ * Conflict — resource state prevents the operation
22031
+ */
22032
+ 409: ProblemDetail;
22033
+ /**
22034
+ * Validation error
22035
+ */
22036
+ 422: ProblemDetail;
22037
+ /**
22038
+ * Too many requests — retry after the advertised interval
22039
+ */
22040
+ 429: ProblemDetail;
22041
+ /**
22042
+ * Internal server error
22043
+ */
22044
+ 500: ProblemDetail;
22045
+ /**
22046
+ * Service unavailable — the database could not serve the request
22047
+ */
22048
+ 503: ProblemDetail;
22049
+ };
22050
+ export type DeleteKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberDeleteError = DeleteKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberDeleteErrors[keyof DeleteKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberDeleteErrors];
22051
+ export type DeleteKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberDeleteResponses = {
22052
+ /**
22053
+ * Successful Response
22054
+ */
22055
+ 204: void;
22056
+ };
22057
+ export type DeleteKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberDeleteResponse = DeleteKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberDeleteResponses[keyof DeleteKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberDeleteResponses];
22058
+ export type RestoreKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberRestorePostData = {
22059
+ body?: never;
22060
+ path: {
22061
+ /**
22062
+ * Dataset Id
22063
+ */
22064
+ dataset_id: string;
22065
+ /**
22066
+ * Version Number
22067
+ */
22068
+ version_number: number;
22069
+ };
22070
+ query?: never;
22071
+ url: '/datasets/{dataset_id}/previous-versions/{version_number}/restore';
19350
22072
  };
19351
- export type RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostErrors = {
22073
+ export type RestoreKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberRestorePostErrors = {
19352
22074
  /**
19353
22075
  * Bad request — invalid payload
19354
22076
  */
@@ -19386,14 +22108,14 @@ export type RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostErr
19386
22108
  */
19387
22109
  503: ProblemDetail;
19388
22110
  };
19389
- export type RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostError = RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostErrors[keyof RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostErrors];
19390
- export type RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostResponses = {
22111
+ export type RestoreKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberRestorePostError = RestoreKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberRestorePostErrors[keyof RestoreKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberRestorePostErrors];
22112
+ export type RestoreKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberRestorePostResponses = {
19391
22113
  /**
19392
22114
  * Successful Response
19393
22115
  */
19394
22116
  202: RestorePreviousVersionResponse;
19395
22117
  };
19396
- export type RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostResponse = RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostResponses[keyof RestorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePostResponses];
22118
+ export type RestoreKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberRestorePostResponse = RestoreKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberRestorePostResponses[keyof RestoreKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberRestorePostResponses];
19397
22119
  export type GetQuicklookDatasetsDatasetIdQuicklookGetData = {
19398
22120
  body?: never;
19399
22121
  path: {
@@ -19774,6 +22496,70 @@ export type CreateDatasetRelationshipDatasetsDatasetIdRelationshipsPostResponses
19774
22496
  201: DatasetRelationshipResponse;
19775
22497
  };
19776
22498
  export type CreateDatasetRelationshipDatasetsDatasetIdRelationshipsPostResponse = CreateDatasetRelationshipDatasetsDatasetIdRelationshipsPostResponses[keyof CreateDatasetRelationshipDatasetsDatasetIdRelationshipsPostResponses];
22499
+ export type SetDatasetRetentionDatasetsDatasetIdRetentionPutData = {
22500
+ body: DatasetRetentionUpdate;
22501
+ path: {
22502
+ /**
22503
+ * Dataset Id
22504
+ */
22505
+ dataset_id: string;
22506
+ };
22507
+ query?: {
22508
+ /**
22509
+ * Dry Run
22510
+ *
22511
+ * Check the setting and count its rows without saving it.
22512
+ */
22513
+ dry_run?: boolean;
22514
+ };
22515
+ url: '/datasets/{dataset_id}/retention/';
22516
+ };
22517
+ export type SetDatasetRetentionDatasetsDatasetIdRetentionPutErrors = {
22518
+ /**
22519
+ * Bad request — invalid payload
22520
+ */
22521
+ 400: ProblemDetail;
22522
+ /**
22523
+ * Unauthorized — missing or invalid credentials
22524
+ */
22525
+ 401: ProblemDetail;
22526
+ /**
22527
+ * Forbidden — caller lacks write access
22528
+ */
22529
+ 403: ProblemDetail;
22530
+ /**
22531
+ * Not found
22532
+ */
22533
+ 404: ProblemDetail;
22534
+ /**
22535
+ * Conflict — resource state prevents the operation
22536
+ */
22537
+ 409: ProblemDetail;
22538
+ /**
22539
+ * Validation error
22540
+ */
22541
+ 422: ProblemDetail;
22542
+ /**
22543
+ * Too many requests — retry after the advertised interval
22544
+ */
22545
+ 429: ProblemDetail;
22546
+ /**
22547
+ * Internal server error
22548
+ */
22549
+ 500: ProblemDetail;
22550
+ /**
22551
+ * Service unavailable — the database could not serve the request
22552
+ */
22553
+ 503: ProblemDetail;
22554
+ };
22555
+ export type SetDatasetRetentionDatasetsDatasetIdRetentionPutError = SetDatasetRetentionDatasetsDatasetIdRetentionPutErrors[keyof SetDatasetRetentionDatasetsDatasetIdRetentionPutErrors];
22556
+ export type SetDatasetRetentionDatasetsDatasetIdRetentionPutResponses = {
22557
+ /**
22558
+ * Successful Response
22559
+ */
22560
+ 200: DatasetRetentionResponse;
22561
+ };
22562
+ export type SetDatasetRetentionDatasetsDatasetIdRetentionPutResponse = SetDatasetRetentionDatasetsDatasetIdRetentionPutResponses[keyof SetDatasetRetentionDatasetsDatasetIdRetentionPutResponses];
19777
22563
  export type ReuploadDatasetDatasetsDatasetIdReuploadPostData = {
19778
22564
  body: BodyReuploadDatasetDatasetsDatasetIdReuploadPost;
19779
22565
  path: {
@@ -20172,6 +22958,18 @@ export type GetDatasetRowsEndpointDatasetsDatasetIdRowsGetData = {
20172
22958
  * After
20173
22959
  */
20174
22960
  after?: number;
22961
+ /**
22962
+ * Sort
22963
+ *
22964
+ * Column to order rows by, then by gid. NULLs sort last in both directions. An unknown or unsortable column returns 400.
22965
+ */
22966
+ sort?: string | null;
22967
+ /**
22968
+ * Order
22969
+ *
22970
+ * Sort direction; applies only with `sort`.
22971
+ */
22972
+ order?: 'asc' | 'desc';
20175
22973
  };
20176
22974
  url: '/datasets/{dataset_id}/rows/';
20177
22975
  };
@@ -20822,6 +23620,63 @@ export type GetVrtStatusDatasetsDatasetIdVrtStatusGetResponses = {
20822
23620
  200: VrtStatusResponse;
20823
23621
  };
20824
23622
  export type GetVrtStatusDatasetsDatasetIdVrtStatusGetResponse = GetVrtStatusDatasetsDatasetIdVrtStatusGetResponses[keyof GetVrtStatusDatasetsDatasetIdVrtStatusGetResponses];
23623
+ export type ListMyGroupsGroupsMineGetData = {
23624
+ body?: never;
23625
+ path?: never;
23626
+ query?: {
23627
+ /**
23628
+ * Skip
23629
+ */
23630
+ skip?: number;
23631
+ /**
23632
+ * Limit
23633
+ */
23634
+ limit?: number;
23635
+ };
23636
+ url: '/groups/mine/';
23637
+ };
23638
+ export type ListMyGroupsGroupsMineGetErrors = {
23639
+ /**
23640
+ * Bad request — invalid query parameters or payload
23641
+ */
23642
+ 400: ProblemDetail;
23643
+ /**
23644
+ * Unauthorized — missing or invalid credentials
23645
+ */
23646
+ 401: ProblemDetail;
23647
+ /**
23648
+ * Forbidden — caller lacks access to this resource
23649
+ */
23650
+ 403: ProblemDetail;
23651
+ /**
23652
+ * Not found
23653
+ */
23654
+ 404: ProblemDetail;
23655
+ /**
23656
+ * Validation error
23657
+ */
23658
+ 422: ProblemDetail;
23659
+ /**
23660
+ * Too many requests — retry after the advertised interval
23661
+ */
23662
+ 429: ProblemDetail;
23663
+ /**
23664
+ * Internal server error
23665
+ */
23666
+ 500: ProblemDetail;
23667
+ /**
23668
+ * Service unavailable — the database could not serve the request
23669
+ */
23670
+ 503: ProblemDetail;
23671
+ };
23672
+ export type ListMyGroupsGroupsMineGetError = ListMyGroupsGroupsMineGetErrors[keyof ListMyGroupsGroupsMineGetErrors];
23673
+ export type ListMyGroupsGroupsMineGetResponses = {
23674
+ /**
23675
+ * Successful Response
23676
+ */
23677
+ 200: GroupRefListResponse;
23678
+ };
23679
+ export type ListMyGroupsGroupsMineGetResponse = ListMyGroupsGroupsMineGetResponses[keyof ListMyGroupsGroupsMineGetResponses];
20825
23680
  export type HealthHealthGetData = {
20826
23681
  body?: never;
20827
23682
  path?: never;
@@ -21815,6 +24670,54 @@ export type CleanupStaleJobsJobsCleanupStalePostResponses = {
21815
24670
  200: StaleCleanupResponse;
21816
24671
  };
21817
24672
  export type CleanupStaleJobsJobsCleanupStalePostResponse = CleanupStaleJobsJobsCleanupStalePostResponses[keyof CleanupStaleJobsJobsCleanupStalePostResponses];
24673
+ export type GetJobStatusesJobsStatusPostData = {
24674
+ body: JobStatusBatchRequest;
24675
+ path?: never;
24676
+ query?: never;
24677
+ url: '/jobs/status/';
24678
+ };
24679
+ export type GetJobStatusesJobsStatusPostErrors = {
24680
+ /**
24681
+ * Bad request — invalid query parameters or payload
24682
+ */
24683
+ 400: ProblemDetail;
24684
+ /**
24685
+ * Unauthorized — missing or invalid credentials
24686
+ */
24687
+ 401: ProblemDetail;
24688
+ /**
24689
+ * Forbidden — caller lacks access to this resource
24690
+ */
24691
+ 403: ProblemDetail;
24692
+ /**
24693
+ * Not found
24694
+ */
24695
+ 404: ProblemDetail;
24696
+ /**
24697
+ * Validation error
24698
+ */
24699
+ 422: ProblemDetail;
24700
+ /**
24701
+ * Too many requests — retry after the advertised interval
24702
+ */
24703
+ 429: ProblemDetail;
24704
+ /**
24705
+ * Internal server error
24706
+ */
24707
+ 500: ProblemDetail;
24708
+ /**
24709
+ * Service unavailable — the database could not serve the request
24710
+ */
24711
+ 503: ProblemDetail;
24712
+ };
24713
+ export type GetJobStatusesJobsStatusPostError = GetJobStatusesJobsStatusPostErrors[keyof GetJobStatusesJobsStatusPostErrors];
24714
+ export type GetJobStatusesJobsStatusPostResponses = {
24715
+ /**
24716
+ * Successful Response
24717
+ */
24718
+ 200: JobStatusBatchResponse;
24719
+ };
24720
+ export type GetJobStatusesJobsStatusPostResponse = GetJobStatusesJobsStatusPostResponses[keyof GetJobStatusesJobsStatusPostResponses];
21818
24721
  export type GetJobStatusJobsJobIdGetData = {
21819
24722
  body?: never;
21820
24723
  path: {
@@ -22681,6 +25584,58 @@ export type ImportMapStyleEndpointMapsImportPostResponses = {
22681
25584
  201: MapStyleImportResponse;
22682
25585
  };
22683
25586
  export type ImportMapStyleEndpointMapsImportPostResponse = ImportMapStyleEndpointMapsImportPostResponses[keyof ImportMapStyleEndpointMapsImportPostResponses];
25587
+ export type ImportArcgisWebmapEndpointMapsImportArcgisWebmapPostData = {
25588
+ body: ArcgisWebmapImportRequest;
25589
+ path?: never;
25590
+ query?: never;
25591
+ url: '/maps/import/arcgis-webmap/';
25592
+ };
25593
+ export type ImportArcgisWebmapEndpointMapsImportArcgisWebmapPostErrors = {
25594
+ /**
25595
+ * Bad request — invalid payload
25596
+ */
25597
+ 400: ProblemDetail;
25598
+ /**
25599
+ * Unauthorized — missing or invalid credentials
25600
+ */
25601
+ 401: ProblemDetail;
25602
+ /**
25603
+ * Forbidden — caller lacks write access
25604
+ */
25605
+ 403: ProblemDetail;
25606
+ /**
25607
+ * Not found
25608
+ */
25609
+ 404: ProblemDetail;
25610
+ /**
25611
+ * Conflict — resource state prevents the operation
25612
+ */
25613
+ 409: ProblemDetail;
25614
+ /**
25615
+ * Validation error
25616
+ */
25617
+ 422: ProblemDetail;
25618
+ /**
25619
+ * Too many requests — retry after the advertised interval
25620
+ */
25621
+ 429: ProblemDetail;
25622
+ /**
25623
+ * Internal server error
25624
+ */
25625
+ 500: ProblemDetail;
25626
+ /**
25627
+ * Service unavailable — the database could not serve the request
25628
+ */
25629
+ 503: ProblemDetail;
25630
+ };
25631
+ export type ImportArcgisWebmapEndpointMapsImportArcgisWebmapPostError = ImportArcgisWebmapEndpointMapsImportArcgisWebmapPostErrors[keyof ImportArcgisWebmapEndpointMapsImportArcgisWebmapPostErrors];
25632
+ export type ImportArcgisWebmapEndpointMapsImportArcgisWebmapPostResponses = {
25633
+ /**
25634
+ * Successful Response
25635
+ */
25636
+ 201: ArcgisWebmapImportResponse;
25637
+ };
25638
+ export type ImportArcgisWebmapEndpointMapsImportArcgisWebmapPostResponse = ImportArcgisWebmapEndpointMapsImportArcgisWebmapPostResponses[keyof ImportArcgisWebmapEndpointMapsImportArcgisWebmapPostResponses];
22684
25639
  export type GetSharedMapEndpointMapsSharedTokenGetData = {
22685
25640
  body?: never;
22686
25641
  headers?: {
@@ -23414,6 +26369,63 @@ export type UpdateEmbedTokenEndpointMapsMapIdEmbedTokensTokenIdPatchResponses =
23414
26369
  200: EmbedTokenResponse;
23415
26370
  };
23416
26371
  export type UpdateEmbedTokenEndpointMapsMapIdEmbedTokensTokenIdPatchResponse = UpdateEmbedTokenEndpointMapsMapIdEmbedTokensTokenIdPatchResponses[keyof UpdateEmbedTokenEndpointMapsMapIdEmbedTokensTokenIdPatchResponses];
26372
+ export type SetMapGroupsEndpointMapsMapIdGroupsPutData = {
26373
+ body: MapGroupsUpdate;
26374
+ path: {
26375
+ /**
26376
+ * Map Id
26377
+ */
26378
+ map_id: string;
26379
+ };
26380
+ query?: never;
26381
+ url: '/maps/{map_id}/groups/';
26382
+ };
26383
+ export type SetMapGroupsEndpointMapsMapIdGroupsPutErrors = {
26384
+ /**
26385
+ * Bad request — invalid payload
26386
+ */
26387
+ 400: ProblemDetail;
26388
+ /**
26389
+ * Unauthorized — missing or invalid credentials
26390
+ */
26391
+ 401: ProblemDetail;
26392
+ /**
26393
+ * Forbidden — caller lacks access to this resource
26394
+ */
26395
+ 403: ProblemDetail;
26396
+ /**
26397
+ * Not found
26398
+ */
26399
+ 404: ProblemDetail;
26400
+ /**
26401
+ * Layers some new groups can't read (`detail.code` `layers_hidden_from_groups`), or another change to the map holding its lock (no `detail.code`); branch on `detail.code`.
26402
+ */
26403
+ 409: ProblemDetail;
26404
+ /**
26405
+ * Validation error
26406
+ */
26407
+ 422: ProblemDetail;
26408
+ /**
26409
+ * Too many requests — retry after the advertised interval
26410
+ */
26411
+ 429: ProblemDetail;
26412
+ /**
26413
+ * Internal server error
26414
+ */
26415
+ 500: ProblemDetail;
26416
+ /**
26417
+ * Service unavailable — the database could not serve the request
26418
+ */
26419
+ 503: ProblemDetail;
26420
+ };
26421
+ export type SetMapGroupsEndpointMapsMapIdGroupsPutError = SetMapGroupsEndpointMapsMapIdGroupsPutErrors[keyof SetMapGroupsEndpointMapsMapIdGroupsPutErrors];
26422
+ export type SetMapGroupsEndpointMapsMapIdGroupsPutResponses = {
26423
+ /**
26424
+ * Successful Response
26425
+ */
26426
+ 200: MapGroupsResponse;
26427
+ };
26428
+ export type SetMapGroupsEndpointMapsMapIdGroupsPutResponse = SetMapGroupsEndpointMapsMapIdGroupsPutResponses[keyof SetMapGroupsEndpointMapsMapIdGroupsPutResponses];
23417
26429
  export type GetMapHistoryEndpointMapsMapIdHistoryGetData = {
23418
26430
  body?: never;
23419
26431
  path: {
@@ -27592,6 +30604,10 @@ export type ClusterTileEndpointTilesClustersTablePathZxyPbfGetData = {
27592
30604
  * Cluster Max Zoom
27593
30605
  */
27594
30606
  cluster_max_zoom?: number;
30607
+ /**
30608
+ * Filter
30609
+ */
30610
+ filter?: string | null;
27595
30611
  };
27596
30612
  url: '/tiles/clusters/{table_path}/{z}/{x}/{y}.pbf';
27597
30613
  };
@@ -27700,6 +30716,10 @@ export type RasterTileProxyTilesRasterProxyDatasetIdZxyFmtGetErrors = {
27700
30716
  * 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.
27701
30717
  */
27702
30718
  401: ProblemDetail;
30719
+ /**
30720
+ * Forbidden: the embed token or the signature parameters did not authorize the request, or a multi-tenant request has no tenant context
30721
+ */
30722
+ 403: ProblemDetail;
27703
30723
  /**
27704
30724
  * Not found
27705
30725
  */