@geolens/sdk 1.26.0 → 1.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth.d.ts +8 -0
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +16 -1
- package/dist/auth.js.map +1 -1
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/sdk.gen.d.ts +205 -34
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +441 -34
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +6727 -4495
- package/dist/client/types.gen.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/client/sdk.gen.js
CHANGED
|
@@ -233,6 +233,171 @@ export const getEmbeddingStatsAdminEmbeddingStatsGet = (options) => (options?.cl
|
|
|
233
233
|
url: '/admin/embedding-stats/',
|
|
234
234
|
...options
|
|
235
235
|
});
|
|
236
|
+
/**
|
|
237
|
+
* List Groups
|
|
238
|
+
*
|
|
239
|
+
* List sharing groups by name, with member counts (admin only).
|
|
240
|
+
*/
|
|
241
|
+
export const listGroupsAdminGroupsGet = (options) => (options?.client ?? client).get({
|
|
242
|
+
security: [
|
|
243
|
+
{ scheme: 'bearer', type: 'http' },
|
|
244
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
245
|
+
{
|
|
246
|
+
in: 'query',
|
|
247
|
+
name: 'api_key',
|
|
248
|
+
type: 'apiKey'
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
url: '/admin/groups/',
|
|
252
|
+
...options
|
|
253
|
+
});
|
|
254
|
+
/**
|
|
255
|
+
* Create Group
|
|
256
|
+
*
|
|
257
|
+
* Create an empty sharing group (admin only). A duplicate name is 409.
|
|
258
|
+
*/
|
|
259
|
+
export const createGroupAdminGroupsPost = (options) => (options.client ?? client).post({
|
|
260
|
+
security: [
|
|
261
|
+
{ scheme: 'bearer', type: 'http' },
|
|
262
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
263
|
+
{
|
|
264
|
+
in: 'query',
|
|
265
|
+
name: 'api_key',
|
|
266
|
+
type: 'apiKey'
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
url: '/admin/groups/',
|
|
270
|
+
...options,
|
|
271
|
+
headers: {
|
|
272
|
+
'Content-Type': 'application/json',
|
|
273
|
+
...options.headers
|
|
274
|
+
}
|
|
275
|
+
});
|
|
276
|
+
/**
|
|
277
|
+
* Delete Group
|
|
278
|
+
*
|
|
279
|
+
* Delete a sharing group and all its memberships (admin only).
|
|
280
|
+
*
|
|
281
|
+
* Its members lose the group's datasets and maps at once, signed tile URLs
|
|
282
|
+
* included. A restricted map shared only with this group becomes private.
|
|
283
|
+
*/
|
|
284
|
+
export const deleteGroupAdminGroupsGroupIdDelete = (options) => (options.client ?? client).delete({
|
|
285
|
+
security: [
|
|
286
|
+
{ scheme: 'bearer', type: 'http' },
|
|
287
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
288
|
+
{
|
|
289
|
+
in: 'query',
|
|
290
|
+
name: 'api_key',
|
|
291
|
+
type: 'apiKey'
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
url: '/admin/groups/{group_id}',
|
|
295
|
+
...options
|
|
296
|
+
});
|
|
297
|
+
/**
|
|
298
|
+
* Get Group
|
|
299
|
+
*
|
|
300
|
+
* Get one sharing group with its member count (admin only).
|
|
301
|
+
*/
|
|
302
|
+
export const getGroupAdminGroupsGroupIdGet = (options) => (options.client ?? client).get({
|
|
303
|
+
security: [
|
|
304
|
+
{ scheme: 'bearer', type: 'http' },
|
|
305
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
306
|
+
{
|
|
307
|
+
in: 'query',
|
|
308
|
+
name: 'api_key',
|
|
309
|
+
type: 'apiKey'
|
|
310
|
+
}
|
|
311
|
+
],
|
|
312
|
+
url: '/admin/groups/{group_id}',
|
|
313
|
+
...options
|
|
314
|
+
});
|
|
315
|
+
/**
|
|
316
|
+
* Rename Group
|
|
317
|
+
*
|
|
318
|
+
* Rename a sharing group (admin only). A name already in use is 409.
|
|
319
|
+
*/
|
|
320
|
+
export const renameGroupAdminGroupsGroupIdPatch = (options) => (options.client ?? client).patch({
|
|
321
|
+
security: [
|
|
322
|
+
{ scheme: 'bearer', type: 'http' },
|
|
323
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
324
|
+
{
|
|
325
|
+
in: 'query',
|
|
326
|
+
name: 'api_key',
|
|
327
|
+
type: 'apiKey'
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
url: '/admin/groups/{group_id}',
|
|
331
|
+
...options,
|
|
332
|
+
headers: {
|
|
333
|
+
'Content-Type': 'application/json',
|
|
334
|
+
...options.headers
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
/**
|
|
338
|
+
* List Group Members
|
|
339
|
+
*
|
|
340
|
+
* List a sharing group's members by username (admin only).
|
|
341
|
+
*/
|
|
342
|
+
export const listGroupMembersAdminGroupsGroupIdMembersGet = (options) => (options.client ?? client).get({
|
|
343
|
+
security: [
|
|
344
|
+
{ scheme: 'bearer', type: 'http' },
|
|
345
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
346
|
+
{
|
|
347
|
+
in: 'query',
|
|
348
|
+
name: 'api_key',
|
|
349
|
+
type: 'apiKey'
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
url: '/admin/groups/{group_id}/members/',
|
|
353
|
+
...options
|
|
354
|
+
});
|
|
355
|
+
/**
|
|
356
|
+
* Add Group Members
|
|
357
|
+
*
|
|
358
|
+
* Add users to a sharing group (admin only).
|
|
359
|
+
*
|
|
360
|
+
* Users already in the group are skipped. If any id matches no user, the
|
|
361
|
+
* request is 404 and nobody is added. 422 when the new members' access to
|
|
362
|
+
* the group's datasets would let a VRT reach past one of its sources.
|
|
363
|
+
*/
|
|
364
|
+
export const addGroupMembersAdminGroupsGroupIdMembersPost = (options) => (options.client ?? client).post({
|
|
365
|
+
security: [
|
|
366
|
+
{ scheme: 'bearer', type: 'http' },
|
|
367
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
368
|
+
{
|
|
369
|
+
in: 'query',
|
|
370
|
+
name: 'api_key',
|
|
371
|
+
type: 'apiKey'
|
|
372
|
+
}
|
|
373
|
+
],
|
|
374
|
+
url: '/admin/groups/{group_id}/members/',
|
|
375
|
+
...options,
|
|
376
|
+
headers: {
|
|
377
|
+
'Content-Type': 'application/json',
|
|
378
|
+
...options.headers
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
/**
|
|
382
|
+
* Remove Group Member
|
|
383
|
+
*
|
|
384
|
+
* Remove one user from a sharing group (admin only).
|
|
385
|
+
*
|
|
386
|
+
* The user loses the group's datasets at once, signed tile URLs included.
|
|
387
|
+
*/
|
|
388
|
+
export const removeGroupMemberAdminGroupsGroupIdMembersUserIdDelete = (options) => (options.client ?? client).delete({
|
|
389
|
+
security: [
|
|
390
|
+
{ scheme: 'bearer', type: 'http' },
|
|
391
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
392
|
+
{
|
|
393
|
+
in: 'query',
|
|
394
|
+
name: 'api_key',
|
|
395
|
+
type: 'apiKey'
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
url: '/admin/groups/{group_id}/members/{user_id}',
|
|
399
|
+
...options
|
|
400
|
+
});
|
|
236
401
|
/**
|
|
237
402
|
* Get Infrastructure
|
|
238
403
|
*
|
|
@@ -1193,6 +1358,27 @@ export const verifyEmailAuthVerifyEmailPost = (options) => (options.client ?? cl
|
|
|
1193
1358
|
...options.headers
|
|
1194
1359
|
}
|
|
1195
1360
|
});
|
|
1361
|
+
/**
|
|
1362
|
+
* Get Capabilities
|
|
1363
|
+
*
|
|
1364
|
+
* Describe what this server offers, for a client's first call.
|
|
1365
|
+
*
|
|
1366
|
+
* Anonymous callers get the server, sign-in, basemap, workflow and rate-limit
|
|
1367
|
+
* facts. A caller with credentials also gets `upload` and `me`.
|
|
1368
|
+
*/
|
|
1369
|
+
export const getCapabilitiesCapabilitiesGet = (options) => (options?.client ?? client).get({
|
|
1370
|
+
security: [
|
|
1371
|
+
{ scheme: 'bearer', type: 'http' },
|
|
1372
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
1373
|
+
{
|
|
1374
|
+
in: 'query',
|
|
1375
|
+
name: 'api_key',
|
|
1376
|
+
type: 'apiKey'
|
|
1377
|
+
}
|
|
1378
|
+
],
|
|
1379
|
+
url: '/capabilities/',
|
|
1380
|
+
...options
|
|
1381
|
+
});
|
|
1196
1382
|
/**
|
|
1197
1383
|
* List Collections Endpoint
|
|
1198
1384
|
*
|
|
@@ -1876,6 +2062,42 @@ export const updateDatasetMetadataDatasetsDatasetIdPatch = (options) => (options
|
|
|
1876
2062
|
...options.headers
|
|
1877
2063
|
}
|
|
1878
2064
|
});
|
|
2065
|
+
/**
|
|
2066
|
+
* Aggregate Endpoint
|
|
2067
|
+
*
|
|
2068
|
+
* Compute one exact aggregate over a dataset's rows, for a widget.
|
|
2069
|
+
*
|
|
2070
|
+
* Anonymous callers can read public, published datasets; ``X-Embed-Token``
|
|
2071
|
+
* authorizes datasets in the token's scope. Other datasets return 404.
|
|
2072
|
+
*
|
|
2073
|
+
* With ``bbox``, a view the planner expects to hold more than 500,000 rows
|
|
2074
|
+
* is refused with 422 and the code ``too_wide`` rather than approximated. A
|
|
2075
|
+
* ``bbox`` that contains the whole dataset is answered as the whole layer.
|
|
2076
|
+
* Refusals carry a ``code`` in ``detail``: ``too_wide``, ``invalid_column``,
|
|
2077
|
+
* ``invalid_filter``, ``no_geometry``, ``query_timeout``,
|
|
2078
|
+
* ``query_data_error``, ``result_too_large``, and with 429 ``query_busy``
|
|
2079
|
+
* (this caller already has two aggregates running) or ``query_at_capacity``.
|
|
2080
|
+
*
|
|
2081
|
+
* Clients should keep at most two requests in flight per caller and retry a
|
|
2082
|
+
* 429 after 200-400 ms with jitter.
|
|
2083
|
+
*/
|
|
2084
|
+
export const aggregateEndpointDatasetsDatasetIdAggregatePost = (options) => (options.client ?? client).post({
|
|
2085
|
+
security: [
|
|
2086
|
+
{ scheme: 'bearer', type: 'http' },
|
|
2087
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
2088
|
+
{
|
|
2089
|
+
in: 'query',
|
|
2090
|
+
name: 'api_key',
|
|
2091
|
+
type: 'apiKey'
|
|
2092
|
+
}
|
|
2093
|
+
],
|
|
2094
|
+
url: '/datasets/{dataset_id}/aggregate/',
|
|
2095
|
+
...options,
|
|
2096
|
+
headers: {
|
|
2097
|
+
'Content-Type': 'application/json',
|
|
2098
|
+
...options.headers
|
|
2099
|
+
}
|
|
2100
|
+
});
|
|
1879
2101
|
/**
|
|
1880
2102
|
* Analysis Materialize Endpoint
|
|
1881
2103
|
*
|
|
@@ -2121,12 +2343,13 @@ export const getColumnValuesDatasetsDatasetIdColumnsColumnNameValuesGet = (optio
|
|
|
2121
2343
|
* Serve a published COPC point cloud's file, whole or by HTTP byte range.
|
|
2122
2344
|
*
|
|
2123
2345
|
* Point a client at the dataset's ``pointcloud.url``. The path names the
|
|
2124
|
-
* upload attempt,
|
|
2125
|
-
*
|
|
2126
|
-
* ``
|
|
2127
|
-
*
|
|
2128
|
-
*
|
|
2129
|
-
*
|
|
2346
|
+
* upload attempt, and a URL naming any other attempt answers 404. Point
|
|
2347
|
+
* clouds cannot be replaced; a new file is a new dataset. Header credentials
|
|
2348
|
+
* (``X-Api-Key`` or ``Authorization``) or the ``api_key`` query parameter
|
|
2349
|
+
* authenticate the read, and any caller who can view the dataset can read the
|
|
2350
|
+
* file. The response carries a strong ETag and honours ``Range``,
|
|
2351
|
+
* ``If-Range``, ``If-Match`` and ``If-None-Match``; a malformed byte range, or
|
|
2352
|
+
* one naming no byte of the file, answers 416.
|
|
2130
2353
|
* Each client may make 1200 reads a minute. A read of one byte range of up
|
|
2131
2354
|
* to 16 MiB also draws its size on a budget of 1 GiB a minute, in 64 KiB
|
|
2132
2355
|
* units; any other read of the file, such as one without ``Range``, counts
|
|
@@ -2135,8 +2358,8 @@ export const getColumnValuesDatasetsDatasetIdColumnsColumnNameValuesGet = (optio
|
|
|
2135
2358
|
* A page on any origin can read a public file without credentials. Through
|
|
2136
2359
|
* the bundled web server it can also send header credentials; the API alone
|
|
2137
2360
|
* accepts those only from the origins in ``CORS_ALLOWED_ORIGINS``. A
|
|
2138
|
-
* private
|
|
2139
|
-
*
|
|
2361
|
+
* private or missing point cloud answers 404, and a storage failure answers
|
|
2362
|
+
* 502.
|
|
2140
2363
|
*/
|
|
2141
2364
|
export const getPointcloudFileDatasetsDatasetIdCopcAttemptIdNameCopcLazGet = (options) => (options.client ?? client).get({
|
|
2142
2365
|
security: [
|
|
@@ -2597,6 +2820,35 @@ export const validateGeodcatApRecordDatasetsDatasetIdGeodcatApValidationGet = (o
|
|
|
2597
2820
|
url: '/datasets/{dataset_id}/geodcat-ap/validation/',
|
|
2598
2821
|
...options
|
|
2599
2822
|
});
|
|
2823
|
+
/**
|
|
2824
|
+
* Set Dataset Groups Endpoint
|
|
2825
|
+
*
|
|
2826
|
+
* Share a dataset with exactly these sharing groups (owner or admin).
|
|
2827
|
+
*
|
|
2828
|
+
* An owner may add only groups they belong to (403); an admin may add any.
|
|
2829
|
+
* A private dataset shared with a group becomes restricted, and a restricted
|
|
2830
|
+
* one left with no group or role grant becomes private; internal and public
|
|
2831
|
+
* datasets keep their audience. 404 for an unknown group, and 422 when the
|
|
2832
|
+
* change would hide the dataset from viewers of the owner's shared maps or
|
|
2833
|
+
* let a VRT reach people who cannot see all of its sources.
|
|
2834
|
+
*/
|
|
2835
|
+
export const setDatasetGroupsEndpointDatasetsDatasetIdGroupsPut = (options) => (options.client ?? client).put({
|
|
2836
|
+
security: [
|
|
2837
|
+
{ scheme: 'bearer', type: 'http' },
|
|
2838
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
2839
|
+
{
|
|
2840
|
+
in: 'query',
|
|
2841
|
+
name: 'api_key',
|
|
2842
|
+
type: 'apiKey'
|
|
2843
|
+
}
|
|
2844
|
+
],
|
|
2845
|
+
url: '/datasets/{dataset_id}/groups/',
|
|
2846
|
+
...options,
|
|
2847
|
+
headers: {
|
|
2848
|
+
'Content-Type': 'application/json',
|
|
2849
|
+
...options.headers
|
|
2850
|
+
}
|
|
2851
|
+
});
|
|
2600
2852
|
/**
|
|
2601
2853
|
* Get Dataset History
|
|
2602
2854
|
*
|
|
@@ -2636,13 +2888,13 @@ export const datasetMapsDatasetsDatasetIdMapsGet = (options) => (options.client
|
|
|
2636
2888
|
/**
|
|
2637
2889
|
* Delete Previous Version
|
|
2638
2890
|
*
|
|
2639
|
-
* Delete the dataset's
|
|
2891
|
+
* Delete the dataset's newest kept version, so it can no longer be restored.
|
|
2892
|
+
*
|
|
2893
|
+
* Deprecated: use ``DELETE /previous-versions/{version_number}``. Behaves
|
|
2894
|
+
* like it, and also refuses with 409 ``previous_version_changed`` when
|
|
2895
|
+
* ``expected_version_number`` is not the newest kept version.
|
|
2640
2896
|
*
|
|
2641
|
-
*
|
|
2642
|
-
* ``previous_version_changed`` when it is not ``expected_version_number``,
|
|
2643
|
-
* 409 ``previous_version_in_use`` while a view or foreign key elsewhere
|
|
2644
|
-
* reads its table, and 409 ``dataset_busy`` while a refresh, replacement or
|
|
2645
|
-
* restore is active.
|
|
2897
|
+
* @deprecated
|
|
2646
2898
|
*/
|
|
2647
2899
|
export const deletePreviousVersionDatasetsDatasetIdPreviousVersionDelete = (options) => (options.client ?? client).delete({
|
|
2648
2900
|
security: [
|
|
@@ -2660,20 +2912,13 @@ export const deletePreviousVersionDatasetsDatasetIdPreviousVersionDelete = (opti
|
|
|
2660
2912
|
/**
|
|
2661
2913
|
* Restore Previous Version
|
|
2662
2914
|
*
|
|
2663
|
-
* Publish the dataset's
|
|
2915
|
+
* Publish the dataset's newest kept version as its live data again.
|
|
2664
2916
|
*
|
|
2665
|
-
*
|
|
2666
|
-
*
|
|
2667
|
-
* ``
|
|
2668
|
-
* ``restored_from_version``. The data it replaces, including any feature
|
|
2669
|
-
* edits made since, becomes the previous version in turn. Scheduled
|
|
2670
|
-
* refreshes of the dataset are held afterwards.
|
|
2917
|
+
* Deprecated: use ``POST /previous-versions/{version_number}/restore``.
|
|
2918
|
+
* Behaves like it, and also refuses with 409 ``previous_version_changed``
|
|
2919
|
+
* when ``expected_version_number`` is not the newest kept version.
|
|
2671
2920
|
*
|
|
2672
|
-
*
|
|
2673
|
-
* feature table, 404 ``no_previous_version`` when there is none, 409
|
|
2674
|
-
* ``previous_version_changed`` when it is not ``expected_version_number``,
|
|
2675
|
-
* and 409 ``dataset_busy`` while another refresh, replacement or restore is
|
|
2676
|
-
* active.
|
|
2921
|
+
* @deprecated
|
|
2677
2922
|
*/
|
|
2678
2923
|
export const restorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePost = (options) => (options.client ?? client).post({
|
|
2679
2924
|
security: [
|
|
@@ -2692,6 +2937,59 @@ export const restorePreviousVersionDatasetsDatasetIdPreviousVersionRestorePost =
|
|
|
2692
2937
|
...options.headers
|
|
2693
2938
|
}
|
|
2694
2939
|
});
|
|
2940
|
+
/**
|
|
2941
|
+
* Delete Kept Version
|
|
2942
|
+
*
|
|
2943
|
+
* Delete one of the dataset's kept previous versions, so it can no longer be restored.
|
|
2944
|
+
*
|
|
2945
|
+
* Refuses with 404 ``no_previous_version`` when the dataset does not keep
|
|
2946
|
+
* ``version_number``, 409 ``previous_version_in_use`` while a view or
|
|
2947
|
+
* foreign key elsewhere reads its table, and 409 ``dataset_busy`` while a
|
|
2948
|
+
* refresh, replacement or restore is active.
|
|
2949
|
+
*/
|
|
2950
|
+
export const deleteKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberDelete = (options) => (options.client ?? client).delete({
|
|
2951
|
+
security: [
|
|
2952
|
+
{ scheme: 'bearer', type: 'http' },
|
|
2953
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
2954
|
+
{
|
|
2955
|
+
in: 'query',
|
|
2956
|
+
name: 'api_key',
|
|
2957
|
+
type: 'apiKey'
|
|
2958
|
+
}
|
|
2959
|
+
],
|
|
2960
|
+
url: '/datasets/{dataset_id}/previous-versions/{version_number}',
|
|
2961
|
+
...options
|
|
2962
|
+
});
|
|
2963
|
+
/**
|
|
2964
|
+
* Restore Kept Version
|
|
2965
|
+
*
|
|
2966
|
+
* Publish one of the dataset's kept previous versions as its live data again.
|
|
2967
|
+
*
|
|
2968
|
+
* The dataset detail lists the kept versions in ``previous_versions``. The
|
|
2969
|
+
* restore runs as a job and a refresh run with origin kind ``restore``, and
|
|
2970
|
+
* publishes a new version that names the restored one in
|
|
2971
|
+
* ``restored_from_version``. The data it replaces, including any feature
|
|
2972
|
+
* edits made since, becomes a kept version in turn. Scheduled refreshes of
|
|
2973
|
+
* the dataset are held afterwards.
|
|
2974
|
+
*
|
|
2975
|
+
* Refuses with 422 ``restore_not_applicable`` for a dataset without a
|
|
2976
|
+
* feature table, 404 ``no_previous_version`` when the dataset does not keep
|
|
2977
|
+
* ``version_number``, and 409 ``dataset_busy`` while another refresh,
|
|
2978
|
+
* replacement or restore is active.
|
|
2979
|
+
*/
|
|
2980
|
+
export const restoreKeptVersionDatasetsDatasetIdPreviousVersionsVersionNumberRestorePost = (options) => (options.client ?? client).post({
|
|
2981
|
+
security: [
|
|
2982
|
+
{ scheme: 'bearer', type: 'http' },
|
|
2983
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
2984
|
+
{
|
|
2985
|
+
in: 'query',
|
|
2986
|
+
name: 'api_key',
|
|
2987
|
+
type: 'apiKey'
|
|
2988
|
+
}
|
|
2989
|
+
],
|
|
2990
|
+
url: '/datasets/{dataset_id}/previous-versions/{version_number}/restore',
|
|
2991
|
+
...options
|
|
2992
|
+
});
|
|
2695
2993
|
/**
|
|
2696
2994
|
* Get Quicklook
|
|
2697
2995
|
*
|
|
@@ -3273,6 +3571,26 @@ export const getVrtStatusDatasetsDatasetIdVrtStatusGet = (options) => (options.c
|
|
|
3273
3571
|
url: '/datasets/{dataset_id}/vrt/status/',
|
|
3274
3572
|
...options
|
|
3275
3573
|
});
|
|
3574
|
+
/**
|
|
3575
|
+
* List My Groups
|
|
3576
|
+
*
|
|
3577
|
+
* List the sharing groups the caller may share with, by name.
|
|
3578
|
+
*
|
|
3579
|
+
* That is the groups the caller belongs to, or every group for an admin.
|
|
3580
|
+
*/
|
|
3581
|
+
export const listMyGroupsGroupsMineGet = (options) => (options?.client ?? client).get({
|
|
3582
|
+
security: [
|
|
3583
|
+
{ scheme: 'bearer', type: 'http' },
|
|
3584
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
3585
|
+
{
|
|
3586
|
+
in: 'query',
|
|
3587
|
+
name: 'api_key',
|
|
3588
|
+
type: 'apiKey'
|
|
3589
|
+
}
|
|
3590
|
+
],
|
|
3591
|
+
url: '/groups/mine/',
|
|
3592
|
+
...options
|
|
3593
|
+
});
|
|
3276
3594
|
/**
|
|
3277
3595
|
* Health
|
|
3278
3596
|
*
|
|
@@ -3734,6 +4052,33 @@ export const cleanupStaleJobsJobsCleanupStalePost = (options) => (options?.clien
|
|
|
3734
4052
|
url: '/jobs/cleanup/stale/',
|
|
3735
4053
|
...options
|
|
3736
4054
|
});
|
|
4055
|
+
/**
|
|
4056
|
+
* Get Job Statuses
|
|
4057
|
+
*
|
|
4058
|
+
* Get the status of up to 100 ingestion jobs in one request.
|
|
4059
|
+
*
|
|
4060
|
+
* Applies the same access rule as `GET /jobs/{id}`: the job creator, or a
|
|
4061
|
+
* caller the effective permission policy lets read other users' jobs. An
|
|
4062
|
+
* unknown id and a job the caller may not read both come back as
|
|
4063
|
+
* `not_found`, so the response does not reveal which jobs exist.
|
|
4064
|
+
*/
|
|
4065
|
+
export const getJobStatusesJobsStatusPost = (options) => (options.client ?? client).post({
|
|
4066
|
+
security: [
|
|
4067
|
+
{ scheme: 'bearer', type: 'http' },
|
|
4068
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
4069
|
+
{
|
|
4070
|
+
in: 'query',
|
|
4071
|
+
name: 'api_key',
|
|
4072
|
+
type: 'apiKey'
|
|
4073
|
+
}
|
|
4074
|
+
],
|
|
4075
|
+
url: '/jobs/status/',
|
|
4076
|
+
...options,
|
|
4077
|
+
headers: {
|
|
4078
|
+
'Content-Type': 'application/json',
|
|
4079
|
+
...options.headers
|
|
4080
|
+
}
|
|
4081
|
+
});
|
|
3737
4082
|
/**
|
|
3738
4083
|
* Get Job Status
|
|
3739
4084
|
*
|
|
@@ -3939,10 +4284,10 @@ export const alterColumnTypeEndpointLayersDatasetIdColumnsColumnNameTypePatch =
|
|
|
3939
4284
|
/**
|
|
3940
4285
|
* List Maps Endpoint
|
|
3941
4286
|
*
|
|
3942
|
-
* List maps. Admins see all; authenticated users see own + internal + public; anonymous see public only.
|
|
4287
|
+
* List maps. Admins see all; authenticated users see own + internal + public + restricted maps shared with their groups; anonymous see public only.
|
|
3943
4288
|
*
|
|
3944
4289
|
* Supports search (ILIKE on name+description), sort_by (name/created_at/updated_at),
|
|
3945
|
-
* sort_dir (asc/desc), and visibility filter (private/internal/public).
|
|
4290
|
+
* sort_dir (asc/desc), and visibility filter (private/internal/public/restricted).
|
|
3946
4291
|
* owned_only restricts results to the caller's maps; anonymous callers get no maps.
|
|
3947
4292
|
*/
|
|
3948
4293
|
export const listMapsEndpointMapsGet = (options) => (options?.client ?? client).get({
|
|
@@ -4062,6 +4407,35 @@ export const importMapStyleEndpointMapsImportPost = (options) => (options.client
|
|
|
4062
4407
|
...options.headers
|
|
4063
4408
|
}
|
|
4064
4409
|
});
|
|
4410
|
+
/**
|
|
4411
|
+
* Import Arcgis Webmap Endpoint
|
|
4412
|
+
*
|
|
4413
|
+
* Import an ArcGIS web map as a new GeoLens map.
|
|
4414
|
+
*
|
|
4415
|
+
* Translates the web map's operational layers, renderers, labels, popups and
|
|
4416
|
+
* scale ranges, and reports everything it could not carry over in
|
|
4417
|
+
* `loss_report`. Only layers named in `dataset_matches` are imported, and
|
|
4418
|
+
* every matched dataset must be readable by the caller (404 otherwise). The
|
|
4419
|
+
* report is also written to the map's private notes. With `dry_run` nothing
|
|
4420
|
+
* is created and `map` is null.
|
|
4421
|
+
*/
|
|
4422
|
+
export const importArcgisWebmapEndpointMapsImportArcgisWebmapPost = (options) => (options.client ?? client).post({
|
|
4423
|
+
security: [
|
|
4424
|
+
{ scheme: 'bearer', type: 'http' },
|
|
4425
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
4426
|
+
{
|
|
4427
|
+
in: 'query',
|
|
4428
|
+
name: 'api_key',
|
|
4429
|
+
type: 'apiKey'
|
|
4430
|
+
}
|
|
4431
|
+
],
|
|
4432
|
+
url: '/maps/import/arcgis-webmap/',
|
|
4433
|
+
...options,
|
|
4434
|
+
headers: {
|
|
4435
|
+
'Content-Type': 'application/json',
|
|
4436
|
+
...options.headers
|
|
4437
|
+
}
|
|
4438
|
+
});
|
|
4065
4439
|
/**
|
|
4066
4440
|
* Get Shared Map Endpoint
|
|
4067
4441
|
*
|
|
@@ -4301,6 +4675,38 @@ export const updateEmbedTokenEndpointMapsMapIdEmbedTokensTokenIdPatch = (options
|
|
|
4301
4675
|
...options.headers
|
|
4302
4676
|
}
|
|
4303
4677
|
});
|
|
4678
|
+
/**
|
|
4679
|
+
* Set Map Groups Endpoint
|
|
4680
|
+
*
|
|
4681
|
+
* Share a map with exactly these sharing groups (owner or admin).
|
|
4682
|
+
*
|
|
4683
|
+
* An owner may add only groups they belong to (403); an admin may add any.
|
|
4684
|
+
* A private map shared with a group becomes restricted and its members can
|
|
4685
|
+
* read it; a restricted one left with no group becomes private. Internal
|
|
4686
|
+
* and public maps keep their audience. Becoming restricted revokes the
|
|
4687
|
+
* map's share link and embed tokens. 404 for an unknown group.
|
|
4688
|
+
*
|
|
4689
|
+
* 409 (`detail.code` `layers_hidden_from_groups`, the layers under
|
|
4690
|
+
* `detail.layers`) when new groups can't read some layers; see `confirm`.
|
|
4691
|
+
* A lock wait that times out also answers 409, without `detail.code`.
|
|
4692
|
+
*/
|
|
4693
|
+
export const setMapGroupsEndpointMapsMapIdGroupsPut = (options) => (options.client ?? client).put({
|
|
4694
|
+
security: [
|
|
4695
|
+
{ scheme: 'bearer', type: 'http' },
|
|
4696
|
+
{ name: 'X-Api-Key', type: 'apiKey' },
|
|
4697
|
+
{
|
|
4698
|
+
in: 'query',
|
|
4699
|
+
name: 'api_key',
|
|
4700
|
+
type: 'apiKey'
|
|
4701
|
+
}
|
|
4702
|
+
],
|
|
4703
|
+
url: '/maps/{map_id}/groups/',
|
|
4704
|
+
...options,
|
|
4705
|
+
headers: {
|
|
4706
|
+
'Content-Type': 'application/json',
|
|
4707
|
+
...options.headers
|
|
4708
|
+
}
|
|
4709
|
+
});
|
|
4304
4710
|
/**
|
|
4305
4711
|
* Get Map History Endpoint
|
|
4306
4712
|
*
|
|
@@ -4628,12 +5034,10 @@ export const uploadThumbnailMapsMapIdThumbnailPut = (options) => (options.client
|
|
|
4628
5034
|
/**
|
|
4629
5035
|
* Visibility Check Endpoint
|
|
4630
5036
|
*
|
|
4631
|
-
* Check
|
|
5037
|
+
* Check which layers a map's audience can't see. Informational only.
|
|
4632
5038
|
*
|
|
4633
|
-
* Owner-or-admin
|
|
4634
|
-
*
|
|
4635
|
-
* Read access is checked first so unreadable maps keep answering 404
|
|
4636
|
-
* (existence-hiding); readable non-owners get 403.
|
|
5039
|
+
* Owner-or-admin, since the answer names datasets that read access alone
|
|
5040
|
+
* must not reveal. Unreadable maps answer 404; readable non-owners get 403.
|
|
4637
5041
|
*/
|
|
4638
5042
|
export const visibilityCheckEndpointMapsMapIdVisibilityCheckGet = (options) => (options.client ?? client).get({
|
|
4639
5043
|
security: [
|
|
@@ -5808,7 +6212,10 @@ export const searchPostStacSearchPost = (options) => (options.client ?? client).
|
|
|
5808
6212
|
*
|
|
5809
6213
|
* ``cluster_radius`` is a screen-pixel distance, the same units MapLibre's
|
|
5810
6214
|
* ``clusterRadius`` uses, and ``cluster_max_zoom`` is the last zoom at which
|
|
5811
|
-
* features are grouped. ``
|
|
6215
|
+
* features are grouped. ``filter`` is an optional CQL2-JSON expression over
|
|
6216
|
+
* the dataset's attribute columns, as the OGC items ``filter`` takes; only the
|
|
6217
|
+
* points it keeps are clustered. An invalid expression responds 400. ``cols``
|
|
6218
|
+
* works as it does on the vector route, and
|
|
5812
6219
|
* the named columns are projected onto the unclustered features, so
|
|
5813
6220
|
* data-driven styling and popups keep working here too.
|
|
5814
6221
|
*
|