@geolens/sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -0
- package/README.md +19 -0
- package/dist/auth.d.ts +48 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +55 -0
- package/dist/auth.js.map +1 -0
- package/dist/client/client/client.gen.d.ts +3 -0
- package/dist/client/client/client.gen.d.ts.map +1 -0
- package/dist/client/client/client.gen.js +236 -0
- package/dist/client/client/client.gen.js.map +1 -0
- package/dist/client/client/index.d.ts +9 -0
- package/dist/client/client/index.d.ts.map +1 -0
- package/dist/client/client/index.js +7 -0
- package/dist/client/client/index.js.map +1 -0
- package/dist/client/client/types.gen.d.ts +119 -0
- package/dist/client/client/types.gen.d.ts.map +1 -0
- package/dist/client/client/types.gen.js +3 -0
- package/dist/client/client/types.gen.js.map +1 -0
- package/dist/client/client/utils.gen.d.ts +34 -0
- package/dist/client/client/utils.gen.d.ts.map +1 -0
- package/dist/client/client/utils.gen.js +229 -0
- package/dist/client/client/utils.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts +13 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +4 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/core/auth.gen.d.ts +19 -0
- package/dist/client/core/auth.gen.d.ts.map +1 -0
- package/dist/client/core/auth.gen.js +15 -0
- package/dist/client/core/auth.gen.js.map +1 -0
- package/dist/client/core/bodySerializer.gen.d.ts +26 -0
- package/dist/client/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/client/core/bodySerializer.gen.js +58 -0
- package/dist/client/core/bodySerializer.gen.js.map +1 -0
- package/dist/client/core/params.gen.d.ts +44 -0
- package/dist/client/core/params.gen.d.ts.map +1 -0
- package/dist/client/core/params.gen.js +101 -0
- package/dist/client/core/params.gen.js.map +1 -0
- package/dist/client/core/pathSerializer.gen.d.ts +34 -0
- package/dist/client/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/client/core/pathSerializer.gen.js +107 -0
- package/dist/client/core/pathSerializer.gen.js.map +1 -0
- package/dist/client/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/client/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/client/core/queryKeySerializer.gen.js +93 -0
- package/dist/client/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/client/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/client/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/client/core/serverSentEvents.gen.js +133 -0
- package/dist/client/core/serverSentEvents.gen.js.map +1 -0
- package/dist/client/core/types.gen.d.ts +79 -0
- package/dist/client/core/types.gen.d.ts.map +1 -0
- package/dist/client/core/types.gen.js +3 -0
- package/dist/client/core/types.gen.js.map +1 -0
- package/dist/client/core/utils.gen.d.ts +20 -0
- package/dist/client/core/utils.gen.d.ts.map +1 -0
- package/dist/client/core/utils.gen.js +88 -0
- package/dist/client/core/utils.gen.js.map +1 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +3 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/sdk.gen.d.ts +1514 -0
- package/dist/client/sdk.gen.d.ts.map +1 -0
- package/dist/client/sdk.gen.js +2574 -0
- package/dist/client/sdk.gen.js.map +1 -0
- package/dist/client/types.gen.d.ts +17643 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1,2574 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
import { client } from './client.gen.js';
|
|
3
|
+
import { formDataBodySerializer, urlSearchParamsBodySerializer } from './client/index.js';
|
|
4
|
+
/**
|
|
5
|
+
* Landing Page
|
|
6
|
+
*
|
|
7
|
+
* OGC API landing page -- entry point for machine clients.
|
|
8
|
+
*/
|
|
9
|
+
export const landingPageGet = (options) => (options?.client ?? client).get({ url: '/', ...options });
|
|
10
|
+
/**
|
|
11
|
+
* Get Ai Status
|
|
12
|
+
*
|
|
13
|
+
* Return single-deployment AI status; no provider-routing policy controls (admin only).
|
|
14
|
+
*/
|
|
15
|
+
export const getAiStatusAdminAiStatusGet = (options) => (options?.client ?? client).get({
|
|
16
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
17
|
+
url: '/admin/ai-status/',
|
|
18
|
+
...options
|
|
19
|
+
});
|
|
20
|
+
/**
|
|
21
|
+
* Update Ai Status
|
|
22
|
+
*
|
|
23
|
+
* Toggle base AI features on/off at runtime; no provider-routing policy controls (admin only).
|
|
24
|
+
*/
|
|
25
|
+
export const updateAiStatusAdminAiStatusPatch = (options) => (options.client ?? client).patch({
|
|
26
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
27
|
+
url: '/admin/ai-status/',
|
|
28
|
+
...options,
|
|
29
|
+
headers: {
|
|
30
|
+
'Content-Type': 'application/json',
|
|
31
|
+
...options.headers
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
/**
|
|
35
|
+
* List Api Keys
|
|
36
|
+
*
|
|
37
|
+
* List all API keys (admin only). Never returns the raw key.
|
|
38
|
+
*/
|
|
39
|
+
export const listApiKeysAdminApiKeysGet = (options) => (options?.client ?? client).get({
|
|
40
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
41
|
+
url: '/admin/api-keys/',
|
|
42
|
+
...options
|
|
43
|
+
});
|
|
44
|
+
/**
|
|
45
|
+
* Create Api Key
|
|
46
|
+
*
|
|
47
|
+
* Create an API key for a user (admin only).
|
|
48
|
+
*
|
|
49
|
+
* The raw key is returned only in this response and cannot be retrieved again.
|
|
50
|
+
*/
|
|
51
|
+
export const createApiKeyAdminApiKeysPost = (options) => (options.client ?? client).post({
|
|
52
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
53
|
+
url: '/admin/api-keys/',
|
|
54
|
+
...options,
|
|
55
|
+
headers: {
|
|
56
|
+
'Content-Type': 'application/json',
|
|
57
|
+
...options.headers
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
/**
|
|
61
|
+
* Revoke Api Key
|
|
62
|
+
*
|
|
63
|
+
* Revoke (soft-delete) an API key (admin only).
|
|
64
|
+
*/
|
|
65
|
+
export const revokeApiKeyAdminApiKeysKeyIdDelete = (options) => (options.client ?? client).delete({
|
|
66
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
67
|
+
url: '/admin/api-keys/{key_id}',
|
|
68
|
+
...options
|
|
69
|
+
});
|
|
70
|
+
/**
|
|
71
|
+
* List Audit Logs
|
|
72
|
+
*
|
|
73
|
+
* Query audit logs with optional filters (admin only).
|
|
74
|
+
*/
|
|
75
|
+
export const listAuditLogsAdminAuditLogsGet = (options) => (options?.client ?? client).get({
|
|
76
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
77
|
+
url: '/admin/audit-logs/',
|
|
78
|
+
...options
|
|
79
|
+
});
|
|
80
|
+
/**
|
|
81
|
+
* Export Audit Logs
|
|
82
|
+
*
|
|
83
|
+
* Export audit logs as CSV or JSON.
|
|
84
|
+
*
|
|
85
|
+
* Available formats are defined by the active ``AuditExtension`` — community
|
|
86
|
+
* advertises none (404 via ``require_enterprise``); enterprise overlays
|
|
87
|
+
* advertise ``csv``/``json`` (or additional formats) by registering an
|
|
88
|
+
* extension whose ``get_export_formats()`` returns the format list. Unknown
|
|
89
|
+
* formats also 404 to prevent leaking which formats exist in other editions.
|
|
90
|
+
*/
|
|
91
|
+
export const exportAuditLogsAdminAuditLogsExportFormatGet = (options) => (options.client ?? client).get({
|
|
92
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
93
|
+
url: '/admin/audit-logs/export/{format}',
|
|
94
|
+
...options
|
|
95
|
+
});
|
|
96
|
+
/**
|
|
97
|
+
* Trigger Backfill
|
|
98
|
+
*
|
|
99
|
+
* Trigger semantic-search embedding generation for records (admin only).
|
|
100
|
+
*
|
|
101
|
+
* Pass ?force=true to delete all existing embeddings and regenerate from
|
|
102
|
+
* scratch (required after changing the embedding model or dimensions).
|
|
103
|
+
*/
|
|
104
|
+
export const triggerBackfillAdminBackfillEmbeddingsPost = (options) => (options?.client ?? client).post({
|
|
105
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
106
|
+
url: '/admin/backfill-embeddings/',
|
|
107
|
+
...options
|
|
108
|
+
});
|
|
109
|
+
/**
|
|
110
|
+
* List All Embed Tokens
|
|
111
|
+
*
|
|
112
|
+
* List basic embed-token inventory across maps; no quota or domain-policy controls (admin only).
|
|
113
|
+
*/
|
|
114
|
+
export const listAllEmbedTokensAdminEmbedTokensGet = (options) => (options?.client ?? client).get({
|
|
115
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
116
|
+
url: '/admin/embed-tokens/',
|
|
117
|
+
...options
|
|
118
|
+
});
|
|
119
|
+
/**
|
|
120
|
+
* Bulk Revoke
|
|
121
|
+
*
|
|
122
|
+
* Bulk-revoke basic embed tokens; no quota or domain-policy controls (admin only).
|
|
123
|
+
*/
|
|
124
|
+
export const bulkRevokeAdminEmbedTokensBulkRevokePost = (options) => (options.client ?? client).post({
|
|
125
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
126
|
+
url: '/admin/embed-tokens/bulk-revoke/',
|
|
127
|
+
...options,
|
|
128
|
+
headers: {
|
|
129
|
+
'Content-Type': 'application/json',
|
|
130
|
+
...options.headers
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
/**
|
|
134
|
+
* Get Embedding Stats
|
|
135
|
+
*
|
|
136
|
+
* Return semantic-search embedding coverage statistics (admin only).
|
|
137
|
+
*/
|
|
138
|
+
export const getEmbeddingStatsAdminEmbeddingStatsGet = (options) => (options?.client ?? client).get({
|
|
139
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
140
|
+
url: '/admin/embedding-stats/',
|
|
141
|
+
...options
|
|
142
|
+
});
|
|
143
|
+
/**
|
|
144
|
+
* Get Infrastructure
|
|
145
|
+
*
|
|
146
|
+
* Return infrastructure configuration, live health status, and OIDC provider connectivity.
|
|
147
|
+
*/
|
|
148
|
+
export const getInfrastructureAdminInfrastructureGet = (options) => (options?.client ?? client).get({
|
|
149
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
150
|
+
url: '/admin/infrastructure/',
|
|
151
|
+
...options
|
|
152
|
+
});
|
|
153
|
+
/**
|
|
154
|
+
* List Admin Jobs
|
|
155
|
+
*
|
|
156
|
+
* List all ingestion jobs with optional status/user/search filters (admin only).
|
|
157
|
+
*/
|
|
158
|
+
export const listAdminJobsAdminJobsGet = (options) => (options?.client ?? client).get({
|
|
159
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
160
|
+
url: '/admin/jobs/',
|
|
161
|
+
...options
|
|
162
|
+
});
|
|
163
|
+
/**
|
|
164
|
+
* List Share Tokens Endpoint
|
|
165
|
+
*
|
|
166
|
+
* List basic share-token inventory with map info; no quotas or domain controls (admin only).
|
|
167
|
+
*/
|
|
168
|
+
export const listShareTokensEndpointAdminShareTokensGet = (options) => (options?.client ?? client).get({
|
|
169
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
170
|
+
url: '/admin/share-tokens/',
|
|
171
|
+
...options
|
|
172
|
+
});
|
|
173
|
+
/**
|
|
174
|
+
* Admin Revoke Share Token
|
|
175
|
+
*
|
|
176
|
+
* Revoke a basic share token and cascade to its embed tokens; no quota controls (admin only).
|
|
177
|
+
*/
|
|
178
|
+
export const adminRevokeShareTokenAdminShareTokensTokenIdDelete = (options) => (options.client ?? client).delete({
|
|
179
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
180
|
+
url: '/admin/share-tokens/{token_id}',
|
|
181
|
+
...options
|
|
182
|
+
});
|
|
183
|
+
/**
|
|
184
|
+
* Get Catalog Stats
|
|
185
|
+
*
|
|
186
|
+
* Return catalog statistics: counts, storage, breakdowns (admin only).
|
|
187
|
+
*/
|
|
188
|
+
export const getCatalogStatsAdminStatsGet = (options) => (options?.client ?? client).get({
|
|
189
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
190
|
+
url: '/admin/stats/',
|
|
191
|
+
...options
|
|
192
|
+
});
|
|
193
|
+
/**
|
|
194
|
+
* List Users
|
|
195
|
+
*
|
|
196
|
+
* List all users with pagination and optional status/search filter (admin only).
|
|
197
|
+
*/
|
|
198
|
+
export const listUsersAdminUsersGet = (options) => (options?.client ?? client).get({
|
|
199
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
200
|
+
url: '/admin/users/',
|
|
201
|
+
...options
|
|
202
|
+
});
|
|
203
|
+
/**
|
|
204
|
+
* Create User
|
|
205
|
+
*
|
|
206
|
+
* Create a new user with the specified role (admin only).
|
|
207
|
+
*/
|
|
208
|
+
export const createUserAdminUsersPost = (options) => (options.client ?? client).post({
|
|
209
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
210
|
+
url: '/admin/users/',
|
|
211
|
+
...options,
|
|
212
|
+
headers: {
|
|
213
|
+
'Content-Type': 'application/json',
|
|
214
|
+
...options.headers
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
/**
|
|
218
|
+
* List User Names
|
|
219
|
+
*
|
|
220
|
+
* Return lightweight id+username list for filter dropdowns.
|
|
221
|
+
*
|
|
222
|
+
* Paginated to bound response size on deployments with many users. Default
|
|
223
|
+
* page size of 500 is enough for typical admin dropdowns; the limit cap of
|
|
224
|
+
* 1000 matches the previous hard cap. Clients needing the full list should
|
|
225
|
+
* page by incrementing ``skip``.
|
|
226
|
+
*/
|
|
227
|
+
export const listUserNamesAdminUsersNamesGet = (options) => (options?.client ?? client).get({
|
|
228
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
229
|
+
url: '/admin/users/names/',
|
|
230
|
+
...options
|
|
231
|
+
});
|
|
232
|
+
/**
|
|
233
|
+
* Delete User
|
|
234
|
+
*
|
|
235
|
+
* Hard-delete a user (admin only). Returns 400 for self-deletion or last-admin.
|
|
236
|
+
*/
|
|
237
|
+
export const deleteUserAdminUsersUserIdDelete = (options) => (options.client ?? client).delete({
|
|
238
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
239
|
+
url: '/admin/users/{user_id}',
|
|
240
|
+
...options
|
|
241
|
+
});
|
|
242
|
+
/**
|
|
243
|
+
* Get User
|
|
244
|
+
*
|
|
245
|
+
* Get a specific user by ID (admin only).
|
|
246
|
+
*/
|
|
247
|
+
export const getUserAdminUsersUserIdGet = (options) => (options.client ?? client).get({
|
|
248
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
249
|
+
url: '/admin/users/{user_id}',
|
|
250
|
+
...options
|
|
251
|
+
});
|
|
252
|
+
/**
|
|
253
|
+
* Update User
|
|
254
|
+
*
|
|
255
|
+
* Update a user's fields and/or role (admin only).
|
|
256
|
+
*/
|
|
257
|
+
export const updateUserAdminUsersUserIdPatch = (options) => (options.client ?? client).patch({
|
|
258
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
259
|
+
url: '/admin/users/{user_id}',
|
|
260
|
+
...options,
|
|
261
|
+
headers: {
|
|
262
|
+
'Content-Type': 'application/json',
|
|
263
|
+
...options.headers
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
/**
|
|
267
|
+
* Approve User
|
|
268
|
+
*
|
|
269
|
+
* Approve a pending user with the specified role (admin only).
|
|
270
|
+
*/
|
|
271
|
+
export const approveUserAdminUsersUserIdApprovePost = (options) => (options.client ?? client).post({
|
|
272
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
273
|
+
url: '/admin/users/{user_id}/approve/',
|
|
274
|
+
...options,
|
|
275
|
+
headers: {
|
|
276
|
+
'Content-Type': 'application/json',
|
|
277
|
+
...options.headers
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
/**
|
|
281
|
+
* Convert Saml To Local
|
|
282
|
+
*
|
|
283
|
+
* Convert a SAML-authenticated user to local-password (admin only).
|
|
284
|
+
*
|
|
285
|
+
* Phase 221 LIFECYCLE-06. The conversion happens in a single DB transaction:
|
|
286
|
+
* validate -> set password -> flip auth_provider -> delete SAML oauth_accounts
|
|
287
|
+
* row -> write audit_log row. The audit_log write is the LAST step before
|
|
288
|
+
* commit (per D-05) so failed conversions never leave an orphan audit entry.
|
|
289
|
+
*
|
|
290
|
+
* Audit details are an explicit allow-list ({"from", "to", "provider_slug"})
|
|
291
|
+
* -- password material is never logged.
|
|
292
|
+
*
|
|
293
|
+
* Self-conversion is blocked with 422 to prevent admin self-lockout when an
|
|
294
|
+
* admin fat-fingers the new password (Phase 221 Risk Surfaces / Pitfall 7).
|
|
295
|
+
*/
|
|
296
|
+
export const convertSamlToLocalAdminUsersUserIdConvertSamlToLocalPost = (options) => (options.client ?? client).post({
|
|
297
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
298
|
+
url: '/admin/users/{user_id}/convert-saml-to-local/',
|
|
299
|
+
...options,
|
|
300
|
+
headers: {
|
|
301
|
+
'Content-Type': 'application/json',
|
|
302
|
+
...options.headers
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
/**
|
|
306
|
+
* Deactivate User
|
|
307
|
+
*
|
|
308
|
+
* Deactivate a user (admin only).
|
|
309
|
+
*/
|
|
310
|
+
export const deactivateUserAdminUsersUserIdDeactivatePost = (options) => (options.client ?? client).post({
|
|
311
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
312
|
+
url: '/admin/users/{user_id}/deactivate/',
|
|
313
|
+
...options
|
|
314
|
+
});
|
|
315
|
+
/**
|
|
316
|
+
* Reject User
|
|
317
|
+
*
|
|
318
|
+
* Reject a pending user by hard-deleting them (admin only).
|
|
319
|
+
*/
|
|
320
|
+
export const rejectUserAdminUsersUserIdRejectPost = (options) => (options.client ?? client).post({
|
|
321
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
322
|
+
url: '/admin/users/{user_id}/reject/',
|
|
323
|
+
...options
|
|
324
|
+
});
|
|
325
|
+
/**
|
|
326
|
+
* Chat Endpoint
|
|
327
|
+
*
|
|
328
|
+
* Chat-based map editing: send a message and get back edit actions.
|
|
329
|
+
*/
|
|
330
|
+
export const chatEndpointAiChatPost = (options) => (options.client ?? client).post({
|
|
331
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
332
|
+
url: '/ai/chat/',
|
|
333
|
+
...options,
|
|
334
|
+
headers: {
|
|
335
|
+
'Content-Type': 'application/json',
|
|
336
|
+
...options.headers
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
/**
|
|
340
|
+
* Chat Stream Endpoint
|
|
341
|
+
*
|
|
342
|
+
* Chat-based map editing with server-sent event streaming.
|
|
343
|
+
*/
|
|
344
|
+
export const chatStreamEndpointAiChatStreamPost = (options) => (options.client ?? client).post({
|
|
345
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
346
|
+
url: '/ai/chat/stream/',
|
|
347
|
+
...options,
|
|
348
|
+
headers: {
|
|
349
|
+
'Content-Type': 'application/json',
|
|
350
|
+
...options.headers
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
/**
|
|
354
|
+
* Generate Map Endpoint
|
|
355
|
+
*
|
|
356
|
+
* Generate a map from a natural language prompt using an LLM.
|
|
357
|
+
*/
|
|
358
|
+
export const generateMapEndpointAiGenerateMapPost = (options) => (options.client ?? client).post({
|
|
359
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
360
|
+
url: '/ai/generate-map/',
|
|
361
|
+
...options,
|
|
362
|
+
headers: {
|
|
363
|
+
'Content-Type': 'application/json',
|
|
364
|
+
...options.headers
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
/**
|
|
368
|
+
* Generate Map Stream Endpoint
|
|
369
|
+
*
|
|
370
|
+
* Generate a map from a natural language prompt with streaming progress events.
|
|
371
|
+
*/
|
|
372
|
+
export const generateMapStreamEndpointAiGenerateMapStreamPost = (options) => (options.client ?? client).post({
|
|
373
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
374
|
+
url: '/ai/generate-map/stream/',
|
|
375
|
+
...options,
|
|
376
|
+
headers: {
|
|
377
|
+
'Content-Type': 'application/json',
|
|
378
|
+
...options.headers
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
/**
|
|
382
|
+
* Generate Metadata Keywords
|
|
383
|
+
*
|
|
384
|
+
* Generate AI-suggested keywords for a dataset.
|
|
385
|
+
*/
|
|
386
|
+
export const generateMetadataKeywordsAiMetadataKeywordsPost = (options) => (options.client ?? client).post({
|
|
387
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
388
|
+
url: '/ai/metadata/keywords/',
|
|
389
|
+
...options,
|
|
390
|
+
headers: {
|
|
391
|
+
'Content-Type': 'application/json',
|
|
392
|
+
...options.headers
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
/**
|
|
396
|
+
* Generate Metadata Lineage
|
|
397
|
+
*
|
|
398
|
+
* Generate an AI-drafted lineage summary for a dataset.
|
|
399
|
+
*/
|
|
400
|
+
export const generateMetadataLineageAiMetadataLineagePost = (options) => (options.client ?? client).post({
|
|
401
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
402
|
+
url: '/ai/metadata/lineage/',
|
|
403
|
+
...options,
|
|
404
|
+
headers: {
|
|
405
|
+
'Content-Type': 'application/json',
|
|
406
|
+
...options.headers
|
|
407
|
+
}
|
|
408
|
+
});
|
|
409
|
+
/**
|
|
410
|
+
* Generate Metadata Quality Statement
|
|
411
|
+
*
|
|
412
|
+
* Generate an AI-drafted quality statement for a dataset.
|
|
413
|
+
*/
|
|
414
|
+
export const generateMetadataQualityStatementAiMetadataQualityStatementPost = (options) => (options.client ?? client).post({
|
|
415
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
416
|
+
url: '/ai/metadata/quality-statement/',
|
|
417
|
+
...options,
|
|
418
|
+
headers: {
|
|
419
|
+
'Content-Type': 'application/json',
|
|
420
|
+
...options.headers
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
/**
|
|
424
|
+
* Generate Metadata Summary
|
|
425
|
+
*
|
|
426
|
+
* Generate an AI-drafted summary for a dataset.
|
|
427
|
+
*/
|
|
428
|
+
export const generateMetadataSummaryAiMetadataSummaryPost = (options) => (options.client ?? client).post({
|
|
429
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
430
|
+
url: '/ai/metadata/summary/',
|
|
431
|
+
...options,
|
|
432
|
+
headers: {
|
|
433
|
+
'Content-Type': 'application/json',
|
|
434
|
+
...options.headers
|
|
435
|
+
}
|
|
436
|
+
});
|
|
437
|
+
/**
|
|
438
|
+
* List My Api Keys
|
|
439
|
+
*
|
|
440
|
+
* List the current user's API keys.
|
|
441
|
+
*/
|
|
442
|
+
export const listMyApiKeysAuthApiKeysGet = (options) => (options?.client ?? client).get({
|
|
443
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
444
|
+
url: '/auth/api-keys/',
|
|
445
|
+
...options
|
|
446
|
+
});
|
|
447
|
+
/**
|
|
448
|
+
* Create My Api Key
|
|
449
|
+
*
|
|
450
|
+
* Create an API key for the current user.
|
|
451
|
+
*
|
|
452
|
+
* The raw key is returned only in this response and cannot be retrieved again.
|
|
453
|
+
*/
|
|
454
|
+
export const createMyApiKeyAuthApiKeysPost = (options) => (options.client ?? client).post({
|
|
455
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
456
|
+
url: '/auth/api-keys/',
|
|
457
|
+
...options,
|
|
458
|
+
headers: {
|
|
459
|
+
'Content-Type': 'application/json',
|
|
460
|
+
...options.headers
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
/**
|
|
464
|
+
* Revoke My Api Key
|
|
465
|
+
*
|
|
466
|
+
* Revoke (soft-delete) one of the current user's API keys.
|
|
467
|
+
*/
|
|
468
|
+
export const revokeMyApiKeyAuthApiKeysKeyIdDelete = (options) => (options.client ?? client).delete({
|
|
469
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
470
|
+
url: '/auth/api-keys/{key_id}',
|
|
471
|
+
...options
|
|
472
|
+
});
|
|
473
|
+
/**
|
|
474
|
+
* Change Password
|
|
475
|
+
*
|
|
476
|
+
* Change the current user's password (requires current password).
|
|
477
|
+
*/
|
|
478
|
+
export const changePasswordAuthChangePasswordPost = (options) => (options.client ?? client).post({
|
|
479
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
480
|
+
url: '/auth/change-password/',
|
|
481
|
+
...options,
|
|
482
|
+
headers: {
|
|
483
|
+
'Content-Type': 'application/json',
|
|
484
|
+
...options.headers
|
|
485
|
+
}
|
|
486
|
+
});
|
|
487
|
+
/**
|
|
488
|
+
* Config
|
|
489
|
+
*
|
|
490
|
+
* Return public auth configuration (no authentication required).
|
|
491
|
+
*/
|
|
492
|
+
export const configAuthConfigGet = (options) => (options?.client ?? client).get({ url: '/auth/config/', ...options });
|
|
493
|
+
/**
|
|
494
|
+
* Login
|
|
495
|
+
*
|
|
496
|
+
* Authenticate with username and password, receive a JWT token.
|
|
497
|
+
*/
|
|
498
|
+
export const loginAuthLoginPost = (options) => (options.client ?? client).post({
|
|
499
|
+
...urlSearchParamsBodySerializer,
|
|
500
|
+
url: '/auth/login/',
|
|
501
|
+
...options,
|
|
502
|
+
headers: {
|
|
503
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
504
|
+
...options.headers
|
|
505
|
+
}
|
|
506
|
+
});
|
|
507
|
+
/**
|
|
508
|
+
* Logout
|
|
509
|
+
*
|
|
510
|
+
* Revoke all refresh tokens for the current user.
|
|
511
|
+
*/
|
|
512
|
+
export const logoutAuthLogoutPost = (options) => (options?.client ?? client).post({
|
|
513
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
514
|
+
url: '/auth/logout/',
|
|
515
|
+
...options
|
|
516
|
+
});
|
|
517
|
+
/**
|
|
518
|
+
* Me
|
|
519
|
+
*
|
|
520
|
+
* Return the currently authenticated user's profile and roles.
|
|
521
|
+
*/
|
|
522
|
+
export const meAuthMeGet = (options) => (options?.client ?? client).get({
|
|
523
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
524
|
+
url: '/auth/me/',
|
|
525
|
+
...options
|
|
526
|
+
});
|
|
527
|
+
/**
|
|
528
|
+
* Me Permissions
|
|
529
|
+
*
|
|
530
|
+
* Return the effective permissions for the currently authenticated user.
|
|
531
|
+
*/
|
|
532
|
+
export const mePermissionsAuthMePermissionsGet = (options) => (options?.client ?? client).get({
|
|
533
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
534
|
+
url: '/auth/me/permissions/',
|
|
535
|
+
...options
|
|
536
|
+
});
|
|
537
|
+
/**
|
|
538
|
+
* List Public Providers
|
|
539
|
+
*
|
|
540
|
+
* Return the list of enabled OAuth providers for the login page.
|
|
541
|
+
*/
|
|
542
|
+
export const listPublicProvidersAuthOauthProvidersGet = (options) => (options?.client ?? client).get({ url: '/auth/oauth/providers/', ...options });
|
|
543
|
+
/**
|
|
544
|
+
* Oauth Callback
|
|
545
|
+
*
|
|
546
|
+
* Handle IdP callback: exchange code, find/create user, issue JWT, redirect to frontend.
|
|
547
|
+
*/
|
|
548
|
+
export const oauthCallbackAuthOauthProviderSlugCallbackGet = (options) => (options.client ?? client).get({ url: '/auth/oauth/{provider_slug}/callback', ...options });
|
|
549
|
+
/**
|
|
550
|
+
* Oauth Login
|
|
551
|
+
*
|
|
552
|
+
* Redirect user to the IdP authorization URL with PKCE parameters.
|
|
553
|
+
*/
|
|
554
|
+
export const oauthLoginAuthOauthProviderSlugLoginGet = (options) => (options.client ?? client).get({ url: '/auth/oauth/{provider_slug}/login', ...options });
|
|
555
|
+
/**
|
|
556
|
+
* Refresh
|
|
557
|
+
*
|
|
558
|
+
* Exchange a valid refresh token for a new access + refresh token pair.
|
|
559
|
+
*/
|
|
560
|
+
export const refreshAuthRefreshPost = (options) => (options.client ?? client).post({
|
|
561
|
+
url: '/auth/refresh/',
|
|
562
|
+
...options,
|
|
563
|
+
headers: {
|
|
564
|
+
'Content-Type': 'application/json',
|
|
565
|
+
...options.headers
|
|
566
|
+
}
|
|
567
|
+
});
|
|
568
|
+
/**
|
|
569
|
+
* Register
|
|
570
|
+
*
|
|
571
|
+
* Register a new user. Account requires admin approval before login.
|
|
572
|
+
*/
|
|
573
|
+
export const registerAuthRegisterPost = (options) => (options.client ?? client).post({
|
|
574
|
+
url: '/auth/register/',
|
|
575
|
+
...options,
|
|
576
|
+
headers: {
|
|
577
|
+
'Content-Type': 'application/json',
|
|
578
|
+
...options.headers
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
/**
|
|
582
|
+
* List Collections Endpoint
|
|
583
|
+
*
|
|
584
|
+
* List all collections with dataset_count and extent computed per-user.
|
|
585
|
+
*/
|
|
586
|
+
export const listCollectionsEndpointCatalogCollectionsGet = (options) => (options?.client ?? client).get({
|
|
587
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
588
|
+
url: '/catalog/collections/',
|
|
589
|
+
...options
|
|
590
|
+
});
|
|
591
|
+
/**
|
|
592
|
+
* Create Collection Endpoint
|
|
593
|
+
*
|
|
594
|
+
* Create a new collection.
|
|
595
|
+
*/
|
|
596
|
+
export const createCollectionEndpointCatalogCollectionsPost = (options) => (options.client ?? client).post({
|
|
597
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
598
|
+
url: '/catalog/collections/',
|
|
599
|
+
...options,
|
|
600
|
+
headers: {
|
|
601
|
+
'Content-Type': 'application/json',
|
|
602
|
+
...options.headers
|
|
603
|
+
}
|
|
604
|
+
});
|
|
605
|
+
/**
|
|
606
|
+
* Delete Collection Endpoint
|
|
607
|
+
*
|
|
608
|
+
* Delete a collection. Admin only.
|
|
609
|
+
*/
|
|
610
|
+
export const deleteCollectionEndpointCatalogCollectionsCollectionIdDelete = (options) => (options.client ?? client).delete({
|
|
611
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
612
|
+
url: '/catalog/collections/{collection_id}',
|
|
613
|
+
...options
|
|
614
|
+
});
|
|
615
|
+
/**
|
|
616
|
+
* Get Collection Endpoint
|
|
617
|
+
*
|
|
618
|
+
* Get a single collection with dataset_count and extent.
|
|
619
|
+
*/
|
|
620
|
+
export const getCollectionEndpointCatalogCollectionsCollectionIdGet = (options) => (options.client ?? client).get({
|
|
621
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
622
|
+
url: '/catalog/collections/{collection_id}',
|
|
623
|
+
...options
|
|
624
|
+
});
|
|
625
|
+
/**
|
|
626
|
+
* Update Collection Endpoint
|
|
627
|
+
*
|
|
628
|
+
* Update a collection's name and/or description.
|
|
629
|
+
*/
|
|
630
|
+
export const updateCollectionEndpointCatalogCollectionsCollectionIdPatch = (options) => (options.client ?? client).patch({
|
|
631
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
632
|
+
url: '/catalog/collections/{collection_id}',
|
|
633
|
+
...options,
|
|
634
|
+
headers: {
|
|
635
|
+
'Content-Type': 'application/json',
|
|
636
|
+
...options.headers
|
|
637
|
+
}
|
|
638
|
+
});
|
|
639
|
+
/**
|
|
640
|
+
* Get Collection Datasets Endpoint
|
|
641
|
+
*
|
|
642
|
+
* Get datasets in a collection with RBAC filtering.
|
|
643
|
+
*/
|
|
644
|
+
export const getCollectionDatasetsEndpointCatalogCollectionsCollectionIdDatasetsGet = (options) => (options.client ?? client).get({
|
|
645
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
646
|
+
url: '/catalog/collections/{collection_id}/datasets/',
|
|
647
|
+
...options
|
|
648
|
+
});
|
|
649
|
+
/**
|
|
650
|
+
* Add Datasets Endpoint
|
|
651
|
+
*
|
|
652
|
+
* Add datasets to a collection.
|
|
653
|
+
*/
|
|
654
|
+
export const addDatasetsEndpointCatalogCollectionsCollectionIdDatasetsPost = (options) => (options.client ?? client).post({
|
|
655
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
656
|
+
url: '/catalog/collections/{collection_id}/datasets/',
|
|
657
|
+
...options,
|
|
658
|
+
headers: {
|
|
659
|
+
'Content-Type': 'application/json',
|
|
660
|
+
...options.headers
|
|
661
|
+
}
|
|
662
|
+
});
|
|
663
|
+
/**
|
|
664
|
+
* Remove Dataset Endpoint
|
|
665
|
+
*
|
|
666
|
+
* Remove a dataset from a collection.
|
|
667
|
+
*/
|
|
668
|
+
export const removeDatasetEndpointCatalogCollectionsCollectionIdDatasetsDatasetIdDelete = (options) => (options.client ?? client).delete({
|
|
669
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
670
|
+
url: '/catalog/collections/{collection_id}/datasets/{dataset_id}',
|
|
671
|
+
...options
|
|
672
|
+
});
|
|
673
|
+
/**
|
|
674
|
+
* List Collections
|
|
675
|
+
*
|
|
676
|
+
* List available OGC collections (catalog + per-dataset feature collections).
|
|
677
|
+
*/
|
|
678
|
+
export const listCollectionsCollectionsGet = (options) => (options?.client ?? client).get({
|
|
679
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
680
|
+
url: '/collections',
|
|
681
|
+
...options
|
|
682
|
+
});
|
|
683
|
+
/**
|
|
684
|
+
* Get Collection Metadata
|
|
685
|
+
*
|
|
686
|
+
* Get metadata for the datasets collection.
|
|
687
|
+
*/
|
|
688
|
+
export const getCollectionMetadataCollectionsDatasetsGet = (options) => (options?.client ?? client).get({
|
|
689
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
690
|
+
url: '/collections/datasets',
|
|
691
|
+
...options
|
|
692
|
+
});
|
|
693
|
+
/**
|
|
694
|
+
* Collection Items
|
|
695
|
+
*
|
|
696
|
+
* OGC API Records items endpoint -- mirrors /search/datasets.
|
|
697
|
+
*/
|
|
698
|
+
export const collectionItemsCollectionsDatasetsItemsGet = (options) => (options?.client ?? client).get({
|
|
699
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
700
|
+
url: '/collections/datasets/items',
|
|
701
|
+
...options,
|
|
702
|
+
headers: {
|
|
703
|
+
'Content-Type': 'application/json',
|
|
704
|
+
...options?.headers
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
|
+
/**
|
|
708
|
+
* Get Collection Item
|
|
709
|
+
*
|
|
710
|
+
* Get a single dataset as an OGC Record Feature.
|
|
711
|
+
*/
|
|
712
|
+
export const getCollectionItemCollectionsDatasetsItemsRecordIdGet = (options) => (options.client ?? client).get({
|
|
713
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
714
|
+
url: '/collections/datasets/items/{record_id}',
|
|
715
|
+
...options
|
|
716
|
+
});
|
|
717
|
+
/**
|
|
718
|
+
* Get Queryables
|
|
719
|
+
*
|
|
720
|
+
* Queryable properties for the datasets collection (OGC API Features Part 3).
|
|
721
|
+
*/
|
|
722
|
+
export const getQueryablesCollectionsDatasetsQueryablesGet = (options) => (options?.client ?? client).get({ url: '/collections/datasets/queryables', ...options });
|
|
723
|
+
/**
|
|
724
|
+
* Get Record Schema
|
|
725
|
+
*
|
|
726
|
+
* JSON Schema describing a catalog record (OGC API Common Part 3).
|
|
727
|
+
*/
|
|
728
|
+
export const getRecordSchemaCollectionsDatasetsSchemaGet = (options) => (options?.client ?? client).get({ url: '/collections/datasets/schema', ...options });
|
|
729
|
+
/**
|
|
730
|
+
* Get Sortables
|
|
731
|
+
*
|
|
732
|
+
* Sortable properties for the datasets collection (OGC API Records).
|
|
733
|
+
*/
|
|
734
|
+
export const getSortablesCollectionsDatasetsSortablesGet = (options) => (options?.client ?? client).get({ url: '/collections/datasets/sortables', ...options });
|
|
735
|
+
/**
|
|
736
|
+
* Get Dataset Collection
|
|
737
|
+
*
|
|
738
|
+
* Per-dataset OGC collection metadata with extent, CRS, and items link.
|
|
739
|
+
*/
|
|
740
|
+
export const getDatasetCollectionCollectionsDatasetIdGet = (options) => (options.client ?? client).get({
|
|
741
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
742
|
+
url: '/collections/{dataset_id}',
|
|
743
|
+
...options
|
|
744
|
+
});
|
|
745
|
+
/**
|
|
746
|
+
* Get Collection Items
|
|
747
|
+
*
|
|
748
|
+
* OGC API Features items endpoint -- returns GeoJSON FeatureCollection for a dataset.
|
|
749
|
+
*
|
|
750
|
+
* Note: ``datetime`` is accepted per OGC API Features Core but acts as a
|
|
751
|
+
* no-op for per-dataset feature queries. Per-dataset feature tables contain
|
|
752
|
+
* user-uploaded data with no standard temporal column, so the spec provision
|
|
753
|
+
* "if the collection does not include temporal information, the datetime
|
|
754
|
+
* parameter SHALL be ignored" applies (OGC 17-069r4 §7.15.5).
|
|
755
|
+
*/
|
|
756
|
+
export const getCollectionItemsCollectionsDatasetIdItemsGet = (options) => (options.client ?? client).get({
|
|
757
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
758
|
+
url: '/collections/{dataset_id}/items',
|
|
759
|
+
...options
|
|
760
|
+
});
|
|
761
|
+
/**
|
|
762
|
+
* Get Collection Item Feature
|
|
763
|
+
*
|
|
764
|
+
* OGC API Features single feature endpoint -- returns a GeoJSON Feature.
|
|
765
|
+
*/
|
|
766
|
+
export const getCollectionItemFeatureCollectionsDatasetIdItemsFeatureIdGet = (options) => (options.client ?? client).get({
|
|
767
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
768
|
+
url: '/collections/{dataset_id}/items/{feature_id}',
|
|
769
|
+
...options
|
|
770
|
+
});
|
|
771
|
+
/**
|
|
772
|
+
* Dry Run Configuration
|
|
773
|
+
*
|
|
774
|
+
* Preview what an import would change without applying any modifications.
|
|
775
|
+
*/
|
|
776
|
+
export const dryRunConfigurationConfigOpsDryRunPost = (options) => (options.client ?? client).post({
|
|
777
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
778
|
+
url: '/config-ops/dry-run/',
|
|
779
|
+
...options,
|
|
780
|
+
headers: {
|
|
781
|
+
'Content-Type': 'application/json',
|
|
782
|
+
...options.headers
|
|
783
|
+
}
|
|
784
|
+
});
|
|
785
|
+
/**
|
|
786
|
+
* Export Configuration
|
|
787
|
+
*
|
|
788
|
+
* Export full configuration as JSON (settings + OAuth providers, secrets redacted).
|
|
789
|
+
*
|
|
790
|
+
* Returns a downloadable JSON payload with Content-Disposition header. This is a
|
|
791
|
+
* file-download endpoint — the previous ``response_model=ConfigExportResponse``
|
|
792
|
+
* was silently ignored because the handler returns a raw JSONResponse with custom
|
|
793
|
+
* headers (TYPE-N3). Using ``response_class=JSONResponse`` is the correct way to
|
|
794
|
+
* document a download endpoint in OpenAPI.
|
|
795
|
+
*/
|
|
796
|
+
export const exportConfigurationConfigOpsExportGet = (options) => (options?.client ?? client).get({
|
|
797
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
798
|
+
url: '/config-ops/export/',
|
|
799
|
+
...options
|
|
800
|
+
});
|
|
801
|
+
/**
|
|
802
|
+
* Import Configuration
|
|
803
|
+
*
|
|
804
|
+
* Import configuration in merge or overwrite mode.
|
|
805
|
+
*
|
|
806
|
+
* Merge mode: updates existing settings and OAuth providers, adds new ones.
|
|
807
|
+
* Overwrite mode: replaces all settings and OAuth providers.
|
|
808
|
+
*/
|
|
809
|
+
export const importConfigurationConfigOpsImportPost = (options) => (options.client ?? client).post({
|
|
810
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
811
|
+
url: '/config-ops/import/',
|
|
812
|
+
...options,
|
|
813
|
+
headers: {
|
|
814
|
+
'Content-Type': 'application/json',
|
|
815
|
+
...options.headers
|
|
816
|
+
}
|
|
817
|
+
});
|
|
818
|
+
/**
|
|
819
|
+
* Validate Configuration
|
|
820
|
+
*
|
|
821
|
+
* Validate connectivity to storage, cache, and all enabled OIDC providers.
|
|
822
|
+
*
|
|
823
|
+
* Returns pass/fail with latency and error details for each service.
|
|
824
|
+
*/
|
|
825
|
+
export const validateConfigurationConfigOpsValidatePost = (options) => (options?.client ?? client).post({
|
|
826
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
827
|
+
url: '/config-ops/validate/',
|
|
828
|
+
...options
|
|
829
|
+
});
|
|
830
|
+
/**
|
|
831
|
+
* Conformance
|
|
832
|
+
*
|
|
833
|
+
* OGC conformance declaration -- lists supported specification classes.
|
|
834
|
+
*/
|
|
835
|
+
export const conformanceConformanceGet = (options) => (options?.client ?? client).get({ url: '/conformance', ...options });
|
|
836
|
+
/**
|
|
837
|
+
* List All Datasets
|
|
838
|
+
*
|
|
839
|
+
* List datasets with visibility filtering and pagination.
|
|
840
|
+
*/
|
|
841
|
+
export const listAllDatasetsDatasetsGet = (options) => (options?.client ?? client).get({
|
|
842
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
843
|
+
url: '/datasets/',
|
|
844
|
+
...options
|
|
845
|
+
});
|
|
846
|
+
/**
|
|
847
|
+
* Bulk Delete Datasets Endpoint
|
|
848
|
+
*
|
|
849
|
+
* Delete multiple datasets in one request. Returns per-item results.
|
|
850
|
+
*/
|
|
851
|
+
export const bulkDeleteDatasetsEndpointDatasetsBulkDeletePost = (options) => (options.client ?? client).post({
|
|
852
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
853
|
+
url: '/datasets/bulk-delete/',
|
|
854
|
+
...options,
|
|
855
|
+
headers: {
|
|
856
|
+
'Content-Type': 'application/json',
|
|
857
|
+
...options.headers
|
|
858
|
+
}
|
|
859
|
+
});
|
|
860
|
+
/**
|
|
861
|
+
* Create Empty Dataset Endpoint
|
|
862
|
+
*
|
|
863
|
+
* Create an empty dataset with user-defined columns.
|
|
864
|
+
*
|
|
865
|
+
* Creates a PostGIS table in the data schema and a catalog record.
|
|
866
|
+
*/
|
|
867
|
+
export const createEmptyDatasetEndpointDatasetsCreatePost = (options) => (options.client ?? client).post({
|
|
868
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
869
|
+
url: '/datasets/create/',
|
|
870
|
+
...options,
|
|
871
|
+
headers: {
|
|
872
|
+
'Content-Type': 'application/json',
|
|
873
|
+
...options.headers
|
|
874
|
+
}
|
|
875
|
+
});
|
|
876
|
+
/**
|
|
877
|
+
* Get Dcat Catalog
|
|
878
|
+
*
|
|
879
|
+
* DCAT 3 JSON-LD catalog feed. Respects dataset visibility.
|
|
880
|
+
*/
|
|
881
|
+
export const getDcatCatalogDatasetsDcatGet = (options) => (options?.client ?? client).get({
|
|
882
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
883
|
+
url: '/datasets/dcat/',
|
|
884
|
+
...options
|
|
885
|
+
});
|
|
886
|
+
/**
|
|
887
|
+
* Delete Dataset Relationship
|
|
888
|
+
*
|
|
889
|
+
* Delete a FK relationship. Editor+ required.
|
|
890
|
+
*/
|
|
891
|
+
export const deleteDatasetRelationshipDatasetsRelationshipsRelationshipIdDelete = (options) => (options.client ?? client).delete({
|
|
892
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
893
|
+
url: '/datasets/relationships/{relationship_id}/',
|
|
894
|
+
...options
|
|
895
|
+
});
|
|
896
|
+
/**
|
|
897
|
+
* Delete Dataset Endpoint
|
|
898
|
+
*
|
|
899
|
+
* Delete a dataset with cascade cleanup. Admin only, requires confirm_title.
|
|
900
|
+
*/
|
|
901
|
+
export const deleteDatasetEndpointDatasetsDatasetIdDelete = (options) => (options.client ?? client).delete({
|
|
902
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
903
|
+
url: '/datasets/{dataset_id}',
|
|
904
|
+
...options,
|
|
905
|
+
headers: {
|
|
906
|
+
'Content-Type': 'application/json',
|
|
907
|
+
...options.headers
|
|
908
|
+
}
|
|
909
|
+
});
|
|
910
|
+
/**
|
|
911
|
+
* Get Single Dataset
|
|
912
|
+
*
|
|
913
|
+
* Get a single dataset by ID with visibility check.
|
|
914
|
+
*/
|
|
915
|
+
export const getSingleDatasetDatasetsDatasetIdGet = (options) => (options.client ?? client).get({
|
|
916
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
917
|
+
url: '/datasets/{dataset_id}',
|
|
918
|
+
...options
|
|
919
|
+
});
|
|
920
|
+
/**
|
|
921
|
+
* Update Dataset Metadata
|
|
922
|
+
*
|
|
923
|
+
* Update user-editable dataset metadata.
|
|
924
|
+
*/
|
|
925
|
+
export const updateDatasetMetadataDatasetsDatasetIdPatch = (options) => (options.client ?? client).patch({
|
|
926
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
927
|
+
url: '/datasets/{dataset_id}',
|
|
928
|
+
...options,
|
|
929
|
+
headers: {
|
|
930
|
+
'Content-Type': 'application/json',
|
|
931
|
+
...options.headers
|
|
932
|
+
}
|
|
933
|
+
});
|
|
934
|
+
/**
|
|
935
|
+
* List Attributes Endpoint
|
|
936
|
+
*
|
|
937
|
+
* List all attribute metadata for a dataset.
|
|
938
|
+
*/
|
|
939
|
+
export const listAttributesEndpointDatasetsDatasetIdAttributesGet = (options) => (options.client ?? client).get({
|
|
940
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
941
|
+
url: '/datasets/{dataset_id}/attributes/',
|
|
942
|
+
...options
|
|
943
|
+
});
|
|
944
|
+
/**
|
|
945
|
+
* Get Attribute Endpoint
|
|
946
|
+
*
|
|
947
|
+
* Get a single attribute metadata entry.
|
|
948
|
+
*/
|
|
949
|
+
export const getAttributeEndpointDatasetsDatasetIdAttributesAttributeIdGet = (options) => (options.client ?? client).get({
|
|
950
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
951
|
+
url: '/datasets/{dataset_id}/attributes/{attribute_id}/',
|
|
952
|
+
...options
|
|
953
|
+
});
|
|
954
|
+
/**
|
|
955
|
+
* Update Attribute Endpoint
|
|
956
|
+
*
|
|
957
|
+
* Update user-editable attribute metadata fields.
|
|
958
|
+
*/
|
|
959
|
+
export const updateAttributeEndpointDatasetsDatasetIdAttributesAttributeIdPatch = (options) => (options.client ?? client).patch({
|
|
960
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
961
|
+
url: '/datasets/{dataset_id}/attributes/{attribute_id}/',
|
|
962
|
+
...options,
|
|
963
|
+
headers: {
|
|
964
|
+
'Content-Type': 'application/json',
|
|
965
|
+
...options.headers
|
|
966
|
+
}
|
|
967
|
+
});
|
|
968
|
+
/**
|
|
969
|
+
* Reset Attribute Endpoint
|
|
970
|
+
*
|
|
971
|
+
* Reset attribute metadata to auto-populated values, clearing user_modified_fields.
|
|
972
|
+
*/
|
|
973
|
+
export const resetAttributeEndpointDatasetsDatasetIdAttributesAttributeIdResetPost = (options) => (options.client ?? client).post({
|
|
974
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
975
|
+
url: '/datasets/{dataset_id}/attributes/{attribute_id}/reset/',
|
|
976
|
+
...options
|
|
977
|
+
});
|
|
978
|
+
/**
|
|
979
|
+
* Get Column Stats Endpoint
|
|
980
|
+
*
|
|
981
|
+
* Get statistics for a numeric dataset column (for graduated styling).
|
|
982
|
+
*/
|
|
983
|
+
export const getColumnStatsEndpointDatasetsDatasetIdColumnsColumnNameStatsGet = (options) => (options.client ?? client).get({
|
|
984
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
985
|
+
url: '/datasets/{dataset_id}/columns/{column_name}/stats/',
|
|
986
|
+
...options
|
|
987
|
+
});
|
|
988
|
+
/**
|
|
989
|
+
* Get Column Values
|
|
990
|
+
*
|
|
991
|
+
* Get distinct values for a dataset column (for categorical styling).
|
|
992
|
+
*/
|
|
993
|
+
export const getColumnValuesDatasetsDatasetIdColumnsColumnNameValuesGet = (options) => (options.client ?? client).get({
|
|
994
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
995
|
+
url: '/datasets/{dataset_id}/columns/{column_name}/values/',
|
|
996
|
+
...options
|
|
997
|
+
});
|
|
998
|
+
/**
|
|
999
|
+
* Get Dcat Record
|
|
1000
|
+
*
|
|
1001
|
+
* DCAT 3 JSON-LD for a single dataset.
|
|
1002
|
+
*/
|
|
1003
|
+
export const getDcatRecordDatasetsDatasetIdDcatGet = (options) => (options.client ?? client).get({
|
|
1004
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1005
|
+
url: '/datasets/{dataset_id}/dcat/',
|
|
1006
|
+
...options
|
|
1007
|
+
});
|
|
1008
|
+
/**
|
|
1009
|
+
* Download Cog
|
|
1010
|
+
*
|
|
1011
|
+
* Download the Cloud-Optimized GeoTIFF for a raster dataset.
|
|
1012
|
+
*
|
|
1013
|
+
* Local storage: streams the COG file with Content-Type image/tiff.
|
|
1014
|
+
* S3 storage: returns a 302 redirect to a presigned GET URL (1-hour expiry).
|
|
1015
|
+
* Accepts standard auth or ?token= JWT query parameter for browser downloads.
|
|
1016
|
+
*/
|
|
1017
|
+
export const downloadCogDatasetsDatasetIdDownloadCogGet = (options) => (options.client ?? client).get({
|
|
1018
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1019
|
+
url: '/datasets/{dataset_id}/download/cog',
|
|
1020
|
+
...options
|
|
1021
|
+
});
|
|
1022
|
+
/**
|
|
1023
|
+
* Export Dataset Endpoint
|
|
1024
|
+
*
|
|
1025
|
+
* Export a dataset as a downloadable file.
|
|
1026
|
+
*
|
|
1027
|
+
* Supports GeoPackage, GeoJSON, Shapefile (zipped), and CSV formats.
|
|
1028
|
+
* Optional CRS reprojection, spatial filtering, and attribute filtering.
|
|
1029
|
+
*/
|
|
1030
|
+
export const exportDatasetEndpointDatasetsDatasetIdExportGet = (options) => (options.client ?? client).get({
|
|
1031
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1032
|
+
url: '/datasets/{dataset_id}/export',
|
|
1033
|
+
...options
|
|
1034
|
+
});
|
|
1035
|
+
/**
|
|
1036
|
+
* Get Features Geojson Z Endpoint
|
|
1037
|
+
*
|
|
1038
|
+
* Return up to 5,000 features as RFC 7946 GeoJSON with Z coordinates.
|
|
1039
|
+
*/
|
|
1040
|
+
export const getFeaturesGeojsonZEndpointDatasetsDatasetIdFeaturesGeojsonGet = (options) => (options.client ?? client).get({
|
|
1041
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1042
|
+
url: '/datasets/{dataset_id}/features.geojson',
|
|
1043
|
+
...options
|
|
1044
|
+
});
|
|
1045
|
+
/**
|
|
1046
|
+
* List Features
|
|
1047
|
+
*
|
|
1048
|
+
* Get paginated GeoJSON features for a dataset.
|
|
1049
|
+
*/
|
|
1050
|
+
export const listFeaturesDatasetsDatasetIdFeaturesGet = (options) => (options.client ?? client).get({
|
|
1051
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1052
|
+
url: '/datasets/{dataset_id}/features/',
|
|
1053
|
+
...options
|
|
1054
|
+
});
|
|
1055
|
+
/**
|
|
1056
|
+
* Create Feature
|
|
1057
|
+
*
|
|
1058
|
+
* Insert a new GeoJSON feature into a dataset.
|
|
1059
|
+
*/
|
|
1060
|
+
export const createFeatureDatasetsDatasetIdFeaturesPost = (options) => (options.client ?? client).post({
|
|
1061
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1062
|
+
url: '/datasets/{dataset_id}/features/',
|
|
1063
|
+
...options,
|
|
1064
|
+
headers: {
|
|
1065
|
+
'Content-Type': 'application/json',
|
|
1066
|
+
...options.headers
|
|
1067
|
+
}
|
|
1068
|
+
});
|
|
1069
|
+
/**
|
|
1070
|
+
* Delete Single Feature
|
|
1071
|
+
*
|
|
1072
|
+
* Delete a feature by gid (hard delete).
|
|
1073
|
+
*/
|
|
1074
|
+
export const deleteSingleFeatureDatasetsDatasetIdFeaturesGidDelete = (options) => (options.client ?? client).delete({
|
|
1075
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1076
|
+
url: '/datasets/{dataset_id}/features/{gid}',
|
|
1077
|
+
...options
|
|
1078
|
+
});
|
|
1079
|
+
/**
|
|
1080
|
+
* Get Single Feature
|
|
1081
|
+
*
|
|
1082
|
+
* Get a single GeoJSON feature by gid.
|
|
1083
|
+
*/
|
|
1084
|
+
export const getSingleFeatureDatasetsDatasetIdFeaturesGidGet = (options) => (options.client ?? client).get({
|
|
1085
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1086
|
+
url: '/datasets/{dataset_id}/features/{gid}',
|
|
1087
|
+
...options
|
|
1088
|
+
});
|
|
1089
|
+
/**
|
|
1090
|
+
* Patch Single Feature
|
|
1091
|
+
*
|
|
1092
|
+
* Partial update of a feature (PATCH semantics).
|
|
1093
|
+
*/
|
|
1094
|
+
export const patchSingleFeatureDatasetsDatasetIdFeaturesGidPatch = (options) => (options.client ?? client).patch({
|
|
1095
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1096
|
+
url: '/datasets/{dataset_id}/features/{gid}',
|
|
1097
|
+
...options,
|
|
1098
|
+
headers: {
|
|
1099
|
+
'Content-Type': 'application/json',
|
|
1100
|
+
...options.headers
|
|
1101
|
+
}
|
|
1102
|
+
});
|
|
1103
|
+
/**
|
|
1104
|
+
* Replace Single Feature
|
|
1105
|
+
*
|
|
1106
|
+
* Full replacement of a feature (PUT semantics).
|
|
1107
|
+
*/
|
|
1108
|
+
export const replaceSingleFeatureDatasetsDatasetIdFeaturesGidPut = (options) => (options.client ?? client).put({
|
|
1109
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1110
|
+
url: '/datasets/{dataset_id}/features/{gid}',
|
|
1111
|
+
...options,
|
|
1112
|
+
headers: {
|
|
1113
|
+
'Content-Type': 'application/json',
|
|
1114
|
+
...options.headers
|
|
1115
|
+
}
|
|
1116
|
+
});
|
|
1117
|
+
/**
|
|
1118
|
+
* Get Feature Related Records
|
|
1119
|
+
*
|
|
1120
|
+
* Get related records for a feature via FK relationship.
|
|
1121
|
+
*/
|
|
1122
|
+
export const getFeatureRelatedRecordsDatasetsDatasetIdFeaturesGidRelatedRelationshipIdGet = (options) => (options.client ?? client).get({
|
|
1123
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1124
|
+
url: '/datasets/{dataset_id}/features/{gid}/related/{relationship_id}/',
|
|
1125
|
+
...options
|
|
1126
|
+
});
|
|
1127
|
+
/**
|
|
1128
|
+
* Get Dataset History
|
|
1129
|
+
*
|
|
1130
|
+
* Get audit log history for a specific dataset.
|
|
1131
|
+
*/
|
|
1132
|
+
export const getDatasetHistoryDatasetsDatasetIdHistoryGet = (options) => (options.client ?? client).get({
|
|
1133
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1134
|
+
url: '/datasets/{dataset_id}/history',
|
|
1135
|
+
...options
|
|
1136
|
+
});
|
|
1137
|
+
/**
|
|
1138
|
+
* Dataset Maps
|
|
1139
|
+
*
|
|
1140
|
+
* Return maps that contain this dataset, filtered by caller's RBAC visibility.
|
|
1141
|
+
*/
|
|
1142
|
+
export const datasetMapsDatasetsDatasetIdMapsGet = (options) => (options.client ?? client).get({
|
|
1143
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1144
|
+
url: '/datasets/{dataset_id}/maps/',
|
|
1145
|
+
...options
|
|
1146
|
+
});
|
|
1147
|
+
/**
|
|
1148
|
+
* Get Quicklook
|
|
1149
|
+
*
|
|
1150
|
+
* Serve a quicklook PNG image for a dataset.
|
|
1151
|
+
*/
|
|
1152
|
+
export const getQuicklookDatasetsDatasetIdQuicklookGet = (options) => (options.client ?? client).get({
|
|
1153
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1154
|
+
url: '/datasets/{dataset_id}/quicklook',
|
|
1155
|
+
...options
|
|
1156
|
+
});
|
|
1157
|
+
/**
|
|
1158
|
+
* List Related Datasets
|
|
1159
|
+
*
|
|
1160
|
+
* Return top-5 datasets similar to this one by embedding cosine similarity.
|
|
1161
|
+
*/
|
|
1162
|
+
export const listRelatedDatasetsDatasetsDatasetIdRelatedGet = (options) => (options.client ?? client).get({
|
|
1163
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1164
|
+
url: '/datasets/{dataset_id}/related/',
|
|
1165
|
+
...options
|
|
1166
|
+
});
|
|
1167
|
+
/**
|
|
1168
|
+
* List Dataset Relationships
|
|
1169
|
+
*
|
|
1170
|
+
* List FK relationships for a dataset.
|
|
1171
|
+
*
|
|
1172
|
+
* Paginated via ``skip`` and ``limit`` to bound response size for datasets
|
|
1173
|
+
* with large numbers of auto-detected relationships.
|
|
1174
|
+
*/
|
|
1175
|
+
export const listDatasetRelationshipsDatasetsDatasetIdRelationshipsGet = (options) => (options.client ?? client).get({
|
|
1176
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1177
|
+
url: '/datasets/{dataset_id}/relationships/',
|
|
1178
|
+
...options
|
|
1179
|
+
});
|
|
1180
|
+
/**
|
|
1181
|
+
* Create Dataset Relationship
|
|
1182
|
+
*
|
|
1183
|
+
* Create a new FK relationship. Editor+ required.
|
|
1184
|
+
*/
|
|
1185
|
+
export const createDatasetRelationshipDatasetsDatasetIdRelationshipsPost = (options) => (options.client ?? client).post({
|
|
1186
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1187
|
+
url: '/datasets/{dataset_id}/relationships/',
|
|
1188
|
+
...options,
|
|
1189
|
+
headers: {
|
|
1190
|
+
'Content-Type': 'application/json',
|
|
1191
|
+
...options.headers
|
|
1192
|
+
}
|
|
1193
|
+
});
|
|
1194
|
+
/**
|
|
1195
|
+
* Reupload Dataset
|
|
1196
|
+
*
|
|
1197
|
+
* Upload a new file to replace the data in an existing dataset.
|
|
1198
|
+
*/
|
|
1199
|
+
export const reuploadDatasetDatasetsDatasetIdReuploadPost = (options) => (options.client ?? client).post({
|
|
1200
|
+
...formDataBodySerializer,
|
|
1201
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1202
|
+
url: '/datasets/{dataset_id}/reupload',
|
|
1203
|
+
...options,
|
|
1204
|
+
headers: {
|
|
1205
|
+
'Content-Type': null,
|
|
1206
|
+
...options.headers
|
|
1207
|
+
}
|
|
1208
|
+
});
|
|
1209
|
+
/**
|
|
1210
|
+
* Request Presigned Reupload
|
|
1211
|
+
*
|
|
1212
|
+
* Request presigned URL(s) for direct-to-S3 reupload.
|
|
1213
|
+
*/
|
|
1214
|
+
export const requestPresignedReuploadDatasetsDatasetIdReuploadPresignedPost = (options) => (options.client ?? client).post({
|
|
1215
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1216
|
+
url: '/datasets/{dataset_id}/reupload/presigned',
|
|
1217
|
+
...options,
|
|
1218
|
+
headers: {
|
|
1219
|
+
'Content-Type': 'application/json',
|
|
1220
|
+
...options.headers
|
|
1221
|
+
}
|
|
1222
|
+
});
|
|
1223
|
+
/**
|
|
1224
|
+
* Complete Presigned Reupload
|
|
1225
|
+
*
|
|
1226
|
+
* Notify that direct-to-S3 reupload is complete.
|
|
1227
|
+
*/
|
|
1228
|
+
export const completePresignedReuploadDatasetsDatasetIdReuploadPresignedJobIdCompletePost = (options) => (options.client ?? client).post({
|
|
1229
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1230
|
+
url: '/datasets/{dataset_id}/reupload/presigned/{job_id}/complete',
|
|
1231
|
+
...options,
|
|
1232
|
+
headers: {
|
|
1233
|
+
'Content-Type': 'application/json',
|
|
1234
|
+
...options.headers
|
|
1235
|
+
}
|
|
1236
|
+
});
|
|
1237
|
+
/**
|
|
1238
|
+
* Reupload Service Preview
|
|
1239
|
+
*
|
|
1240
|
+
* Preview a remote service layer for dataset re-upload.
|
|
1241
|
+
*/
|
|
1242
|
+
export const reuploadServicePreviewDatasetsDatasetIdReuploadServicePreviewPost = (options) => (options.client ?? client).post({
|
|
1243
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1244
|
+
url: '/datasets/{dataset_id}/reupload/service/preview',
|
|
1245
|
+
...options,
|
|
1246
|
+
headers: {
|
|
1247
|
+
'Content-Type': 'application/json',
|
|
1248
|
+
...options.headers
|
|
1249
|
+
}
|
|
1250
|
+
});
|
|
1251
|
+
/**
|
|
1252
|
+
* Reupload Commit
|
|
1253
|
+
*
|
|
1254
|
+
* Commit a re-upload, queuing the background swap task.
|
|
1255
|
+
*/
|
|
1256
|
+
export const reuploadCommitDatasetsDatasetIdReuploadJobIdCommitPost = (options) => (options.client ?? client).post({
|
|
1257
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1258
|
+
url: '/datasets/{dataset_id}/reupload/{job_id}/commit',
|
|
1259
|
+
...options,
|
|
1260
|
+
headers: {
|
|
1261
|
+
'Content-Type': 'application/json',
|
|
1262
|
+
...options.headers
|
|
1263
|
+
}
|
|
1264
|
+
});
|
|
1265
|
+
/**
|
|
1266
|
+
* Reupload Preview
|
|
1267
|
+
*
|
|
1268
|
+
* Preview the schema diff between old dataset and new upload.
|
|
1269
|
+
*/
|
|
1270
|
+
export const reuploadPreviewDatasetsDatasetIdReuploadJobIdPreviewPost = (options) => (options.client ?? client).post({
|
|
1271
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1272
|
+
url: '/datasets/{dataset_id}/reupload/{job_id}/preview',
|
|
1273
|
+
...options
|
|
1274
|
+
});
|
|
1275
|
+
/**
|
|
1276
|
+
* Get Dataset Rows Endpoint
|
|
1277
|
+
*
|
|
1278
|
+
* Get keyset-paginated rows from a dataset's data table.
|
|
1279
|
+
*
|
|
1280
|
+
* Uses cursor-based pagination: pass ``after`` (gid) to fetch the next page.
|
|
1281
|
+
* Supports column filtering via query params: ``filter[column_name]=value``.
|
|
1282
|
+
*/
|
|
1283
|
+
export const getDatasetRowsEndpointDatasetsDatasetIdRowsGet = (options) => (options.client ?? client).get({
|
|
1284
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1285
|
+
url: '/datasets/{dataset_id}/rows/',
|
|
1286
|
+
...options
|
|
1287
|
+
});
|
|
1288
|
+
/**
|
|
1289
|
+
* Update Publication Status
|
|
1290
|
+
*
|
|
1291
|
+
* Transition a dataset's publication status following allowed paths.
|
|
1292
|
+
*
|
|
1293
|
+
* Allowed transitions:
|
|
1294
|
+
* draft -> ready -> internal -> published (and back one step).
|
|
1295
|
+
*/
|
|
1296
|
+
export const updatePublicationStatusDatasetsDatasetIdStatusPatch = (options) => (options.client ?? client).patch({
|
|
1297
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1298
|
+
url: '/datasets/{dataset_id}/status/',
|
|
1299
|
+
...options,
|
|
1300
|
+
headers: {
|
|
1301
|
+
'Content-Type': 'application/json',
|
|
1302
|
+
...options.headers
|
|
1303
|
+
}
|
|
1304
|
+
});
|
|
1305
|
+
/**
|
|
1306
|
+
* Set Target Status
|
|
1307
|
+
*
|
|
1308
|
+
* Walk the publication chain from current status to target in one request.
|
|
1309
|
+
*
|
|
1310
|
+
* Executes each intermediate transition so the full chain
|
|
1311
|
+
* (e.g. draft -> ready -> internal -> published) completes server-side.
|
|
1312
|
+
*/
|
|
1313
|
+
export const setTargetStatusDatasetsDatasetIdTargetStatusPatch = (options) => (options.client ?? client).patch({
|
|
1314
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1315
|
+
url: '/datasets/{dataset_id}/target-status/',
|
|
1316
|
+
...options,
|
|
1317
|
+
headers: {
|
|
1318
|
+
'Content-Type': 'application/json',
|
|
1319
|
+
...options.headers
|
|
1320
|
+
}
|
|
1321
|
+
});
|
|
1322
|
+
/**
|
|
1323
|
+
* Validate Dataset
|
|
1324
|
+
*
|
|
1325
|
+
* Get validation status for a dataset. Shows hard errors and soft warnings.
|
|
1326
|
+
*
|
|
1327
|
+
* By default returns the quality score persisted at ingest time. Pass
|
|
1328
|
+
* ``?refresh=true`` to recompute and persist a fresh score (expensive on
|
|
1329
|
+
* large tables — issues a full scan per non-geometry column coalesced into
|
|
1330
|
+
* a single query).
|
|
1331
|
+
*/
|
|
1332
|
+
export const validateDatasetDatasetsDatasetIdValidateGet = (options) => (options.client ?? client).get({
|
|
1333
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1334
|
+
url: '/datasets/{dataset_id}/validate/',
|
|
1335
|
+
...options
|
|
1336
|
+
});
|
|
1337
|
+
/**
|
|
1338
|
+
* Get Dataset Versions Endpoint
|
|
1339
|
+
*
|
|
1340
|
+
* Get paginated version history for a dataset.
|
|
1341
|
+
*/
|
|
1342
|
+
export const getDatasetVersionsEndpointDatasetsDatasetIdVersionsGet = (options) => (options.client ?? client).get({
|
|
1343
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1344
|
+
url: '/datasets/{dataset_id}/versions/',
|
|
1345
|
+
...options
|
|
1346
|
+
});
|
|
1347
|
+
/**
|
|
1348
|
+
* List Vrt Sources
|
|
1349
|
+
*
|
|
1350
|
+
* Return ordered list of COG sources for a VRT dataset.
|
|
1351
|
+
*/
|
|
1352
|
+
export const listVrtSourcesDatasetsDatasetIdVrtSourcesGet = (options) => (options.client ?? client).get({
|
|
1353
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1354
|
+
url: '/datasets/{dataset_id}/vrt-sources/',
|
|
1355
|
+
...options
|
|
1356
|
+
});
|
|
1357
|
+
/**
|
|
1358
|
+
* List Vrt Generations
|
|
1359
|
+
*
|
|
1360
|
+
* Return paginated generation history for a VRT dataset.
|
|
1361
|
+
*/
|
|
1362
|
+
export const listVrtGenerationsDatasetsDatasetIdVrtGenerationsGet = (options) => (options.client ?? client).get({
|
|
1363
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1364
|
+
url: '/datasets/{dataset_id}/vrt/generations/',
|
|
1365
|
+
...options
|
|
1366
|
+
});
|
|
1367
|
+
/**
|
|
1368
|
+
* Regenerate Vrt Endpoint
|
|
1369
|
+
*
|
|
1370
|
+
* Trigger manual VRT regeneration with advisory lock to prevent concurrent rebuilds.
|
|
1371
|
+
*/
|
|
1372
|
+
export const regenerateVrtEndpointDatasetsDatasetIdVrtRegeneratePost = (options) => (options.client ?? client).post({
|
|
1373
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1374
|
+
url: '/datasets/{dataset_id}/vrt/regenerate/',
|
|
1375
|
+
...options
|
|
1376
|
+
});
|
|
1377
|
+
/**
|
|
1378
|
+
* Get Vrt Status
|
|
1379
|
+
*
|
|
1380
|
+
* Return VRT dataset status, last generation time, source count, and per-source health.
|
|
1381
|
+
*/
|
|
1382
|
+
export const getVrtStatusDatasetsDatasetIdVrtStatusGet = (options) => (options.client ?? client).get({
|
|
1383
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1384
|
+
url: '/datasets/{dataset_id}/vrt/status/',
|
|
1385
|
+
...options
|
|
1386
|
+
});
|
|
1387
|
+
/**
|
|
1388
|
+
* Health
|
|
1389
|
+
*
|
|
1390
|
+
* Health check endpoint for ALB, Docker, and Nginx.
|
|
1391
|
+
*/
|
|
1392
|
+
export const healthHealthGet = (options) => (options?.client ?? client).get({ url: '/health', ...options });
|
|
1393
|
+
/**
|
|
1394
|
+
* Commit Import
|
|
1395
|
+
*
|
|
1396
|
+
* Commit a staged file for ingestion with user-supplied metadata.
|
|
1397
|
+
*
|
|
1398
|
+
* Stores user metadata on the job and queues the ingest task.
|
|
1399
|
+
* Only callable on jobs with status 'pending'.
|
|
1400
|
+
*/
|
|
1401
|
+
export const commitImportIngestCommitJobIdPost = (options) => (options.client ?? client).post({
|
|
1402
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1403
|
+
url: '/ingest/commit/{job_id}',
|
|
1404
|
+
...options,
|
|
1405
|
+
headers: {
|
|
1406
|
+
'Content-Type': 'application/json',
|
|
1407
|
+
...options.headers
|
|
1408
|
+
}
|
|
1409
|
+
});
|
|
1410
|
+
/**
|
|
1411
|
+
* Discover Tables
|
|
1412
|
+
*
|
|
1413
|
+
* Discover unregistered tables in the data schema.
|
|
1414
|
+
*
|
|
1415
|
+
* Returns tables not yet in the catalog, excluding staging, old, and
|
|
1416
|
+
* system tables. Includes geometry type, SRID, and estimated row count.
|
|
1417
|
+
* Bounded by ``limit`` (default 1000, max 5000) so instances with
|
|
1418
|
+
* thousands of orphan tables don't blow up the response payload.
|
|
1419
|
+
*/
|
|
1420
|
+
export const discoverTablesIngestDiscoverGet = (options) => (options?.client ?? client).get({
|
|
1421
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1422
|
+
url: '/ingest/discover/',
|
|
1423
|
+
...options
|
|
1424
|
+
});
|
|
1425
|
+
/**
|
|
1426
|
+
* Preview File
|
|
1427
|
+
*
|
|
1428
|
+
* Run preview on a staged file and return preview data.
|
|
1429
|
+
*
|
|
1430
|
+
* For vector files: returns columns, CRS, geometry type, feature count, sample rows.
|
|
1431
|
+
* For raster files: returns band count, CRS, resolution, compliance status.
|
|
1432
|
+
* Only callable on jobs with status 'pending'.
|
|
1433
|
+
*/
|
|
1434
|
+
export const previewFileIngestPreviewJobIdPost = (options) => (options.client ?? client).post({
|
|
1435
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1436
|
+
url: '/ingest/preview/{job_id}',
|
|
1437
|
+
...options
|
|
1438
|
+
});
|
|
1439
|
+
/**
|
|
1440
|
+
* Register Table
|
|
1441
|
+
*
|
|
1442
|
+
* Register an existing PostGIS table as a dataset.
|
|
1443
|
+
*
|
|
1444
|
+
* Verifies the table exists, extracts metadata, and creates a
|
|
1445
|
+
* catalog entry.
|
|
1446
|
+
*/
|
|
1447
|
+
export const registerTableIngestRegisterPost = (options) => (options.client ?? client).post({
|
|
1448
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1449
|
+
url: '/ingest/register/',
|
|
1450
|
+
...options,
|
|
1451
|
+
headers: {
|
|
1452
|
+
'Content-Type': 'application/json',
|
|
1453
|
+
...options.headers
|
|
1454
|
+
}
|
|
1455
|
+
});
|
|
1456
|
+
/**
|
|
1457
|
+
* Bulk Register Tables
|
|
1458
|
+
*
|
|
1459
|
+
* Bulk-register multiple existing PostGIS tables as datasets.
|
|
1460
|
+
*
|
|
1461
|
+
* Each table is registered independently -- one failure does not block
|
|
1462
|
+
* others. Tables are processed in parallel via ``asyncio.gather`` with
|
|
1463
|
+
* a fresh session per task, which keeps transaction isolation while
|
|
1464
|
+
* removing the sequential per-table latency (PERF-3).
|
|
1465
|
+
*/
|
|
1466
|
+
export const bulkRegisterTablesIngestRegisterBulkPost = (options) => (options.client ?? client).post({
|
|
1467
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1468
|
+
url: '/ingest/register/bulk/',
|
|
1469
|
+
...options,
|
|
1470
|
+
headers: {
|
|
1471
|
+
'Content-Type': 'application/json',
|
|
1472
|
+
...options.headers
|
|
1473
|
+
}
|
|
1474
|
+
});
|
|
1475
|
+
/**
|
|
1476
|
+
* Upload File
|
|
1477
|
+
*
|
|
1478
|
+
* Upload a geospatial file for staging.
|
|
1479
|
+
*
|
|
1480
|
+
* Validates the file extension, creates an ingest job, and saves the file
|
|
1481
|
+
* to staging. Does NOT auto-queue ingestion -- use preview then commit.
|
|
1482
|
+
*/
|
|
1483
|
+
export const uploadFileIngestUploadPost = (options) => (options.client ?? client).post({
|
|
1484
|
+
...formDataBodySerializer,
|
|
1485
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1486
|
+
url: '/ingest/upload',
|
|
1487
|
+
...options,
|
|
1488
|
+
headers: {
|
|
1489
|
+
'Content-Type': null,
|
|
1490
|
+
...options.headers
|
|
1491
|
+
}
|
|
1492
|
+
});
|
|
1493
|
+
/**
|
|
1494
|
+
* Get Upload Config
|
|
1495
|
+
*
|
|
1496
|
+
* Return upload configuration including presigned upload availability.
|
|
1497
|
+
*/
|
|
1498
|
+
export const getUploadConfigIngestUploadConfigGet = (options) => (options?.client ?? client).get({
|
|
1499
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1500
|
+
url: '/ingest/upload/config',
|
|
1501
|
+
...options
|
|
1502
|
+
});
|
|
1503
|
+
/**
|
|
1504
|
+
* Request Presigned Upload
|
|
1505
|
+
*
|
|
1506
|
+
* Request presigned URL(s) for direct-to-S3 file upload.
|
|
1507
|
+
*/
|
|
1508
|
+
export const requestPresignedUploadIngestUploadPresignedPost = (options) => (options.client ?? client).post({
|
|
1509
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1510
|
+
url: '/ingest/upload/presigned',
|
|
1511
|
+
...options,
|
|
1512
|
+
headers: {
|
|
1513
|
+
'Content-Type': 'application/json',
|
|
1514
|
+
...options.headers
|
|
1515
|
+
}
|
|
1516
|
+
});
|
|
1517
|
+
/**
|
|
1518
|
+
* Complete Presigned Upload
|
|
1519
|
+
*
|
|
1520
|
+
* Notify that direct-to-S3 upload is complete.
|
|
1521
|
+
*/
|
|
1522
|
+
export const completePresignedUploadIngestUploadPresignedJobIdCompletePost = (options) => (options.client ?? client).post({
|
|
1523
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1524
|
+
url: '/ingest/upload/presigned/{job_id}/complete',
|
|
1525
|
+
...options,
|
|
1526
|
+
headers: {
|
|
1527
|
+
'Content-Type': 'application/json',
|
|
1528
|
+
...options.headers
|
|
1529
|
+
}
|
|
1530
|
+
});
|
|
1531
|
+
/**
|
|
1532
|
+
* Create Vrt
|
|
1533
|
+
*
|
|
1534
|
+
* Create a VRT dataset by combining existing raster datasets.
|
|
1535
|
+
*
|
|
1536
|
+
* Validates sources synchronously, then defers VRT assembly to an async task.
|
|
1537
|
+
* Returns a job_id for polling. Validation + queuing logic lives in
|
|
1538
|
+
* ``ingest.service.create_vrt_job`` (K5 extraction).
|
|
1539
|
+
*/
|
|
1540
|
+
export const createVrtIngestVrtCreatePost = (options) => (options.client ?? client).post({
|
|
1541
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1542
|
+
url: '/ingest/vrt/create',
|
|
1543
|
+
...options,
|
|
1544
|
+
headers: {
|
|
1545
|
+
'Content-Type': 'application/json',
|
|
1546
|
+
...options.headers
|
|
1547
|
+
}
|
|
1548
|
+
});
|
|
1549
|
+
/**
|
|
1550
|
+
* Add Vrt Source
|
|
1551
|
+
*
|
|
1552
|
+
* Add a COG source to an existing VRT and trigger async regeneration.
|
|
1553
|
+
*
|
|
1554
|
+
* Validates the new source against existing sources synchronously.
|
|
1555
|
+
* Returns 202 Accepted with a job_id for polling.
|
|
1556
|
+
* Returns 409 if the VRT is currently regenerating (SRC-05) or source already linked.
|
|
1557
|
+
* Returns 422 if the source is incompatible with existing sources.
|
|
1558
|
+
*/
|
|
1559
|
+
export const addVrtSourceIngestVrtDatasetIdSourcesPost = (options) => (options.client ?? client).post({
|
|
1560
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1561
|
+
url: '/ingest/vrt/{dataset_id}/sources/',
|
|
1562
|
+
...options,
|
|
1563
|
+
headers: {
|
|
1564
|
+
'Content-Type': 'application/json',
|
|
1565
|
+
...options.headers
|
|
1566
|
+
}
|
|
1567
|
+
});
|
|
1568
|
+
/**
|
|
1569
|
+
* Remove Vrt Source
|
|
1570
|
+
*
|
|
1571
|
+
* Remove a COG source from an existing VRT and trigger async regeneration.
|
|
1572
|
+
*
|
|
1573
|
+
* Returns 202 Accepted with a job_id for polling.
|
|
1574
|
+
* Returns 409 if the VRT is currently regenerating (SRC-05).
|
|
1575
|
+
* Returns 422 if removing would leave fewer than 2 sources.
|
|
1576
|
+
* Returns 404 if the source is not linked to the VRT.
|
|
1577
|
+
*/
|
|
1578
|
+
export const removeVrtSourceIngestVrtDatasetIdSourcesSourceDatasetIdDelete = (options) => (options.client ?? client).delete({
|
|
1579
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1580
|
+
url: '/ingest/vrt/{dataset_id}/sources/{source_dataset_id}/',
|
|
1581
|
+
...options
|
|
1582
|
+
});
|
|
1583
|
+
/**
|
|
1584
|
+
* Get Job Status By Dataset
|
|
1585
|
+
*
|
|
1586
|
+
* Look up the most recent ingest job for a dataset.
|
|
1587
|
+
*
|
|
1588
|
+
* Used by the dataset detail page to surface ingest warnings permanently
|
|
1589
|
+
* (S3 completion) — the job is the source of truth for
|
|
1590
|
+
* ``reserved_rename`` / ``dbf_truncation_collision`` / ``archive_failed``
|
|
1591
|
+
* / ``temporal_parse_errors`` metadata.
|
|
1592
|
+
*
|
|
1593
|
+
* Returns the most recently created completed job for the dataset, or 404
|
|
1594
|
+
* if none exists (e.g. the dataset was registered from an existing table,
|
|
1595
|
+
* not ingested).
|
|
1596
|
+
*/
|
|
1597
|
+
export const getJobStatusByDatasetJobsByDatasetDatasetIdGet = (options) => (options.client ?? client).get({
|
|
1598
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1599
|
+
url: '/jobs/by-dataset/{dataset_id}',
|
|
1600
|
+
...options
|
|
1601
|
+
});
|
|
1602
|
+
/**
|
|
1603
|
+
* Cleanup Stale Jobs
|
|
1604
|
+
*
|
|
1605
|
+
* Fail all stale jobs: pending >1h or running >1h.
|
|
1606
|
+
*
|
|
1607
|
+
* **Ops-only.** Not used by the GeoLens UI — invoke from `curl`/`gh api`/cron
|
|
1608
|
+
* when you need to force-clean orphaned jobs after a worker outage.
|
|
1609
|
+
* Equivalent logic runs automatically every 5 minutes via the lifespan
|
|
1610
|
+
* sweeper, so this endpoint is only needed if you need cleanup faster than
|
|
1611
|
+
* that interval.
|
|
1612
|
+
*/
|
|
1613
|
+
export const cleanupStaleJobsJobsCleanupStalePost = (options) => (options?.client ?? client).post({
|
|
1614
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1615
|
+
url: '/jobs/cleanup/stale/',
|
|
1616
|
+
...options
|
|
1617
|
+
});
|
|
1618
|
+
/**
|
|
1619
|
+
* Get Job Status
|
|
1620
|
+
*
|
|
1621
|
+
* Get the status of an ingestion job.
|
|
1622
|
+
*
|
|
1623
|
+
* Only the job creator or an admin can view job status.
|
|
1624
|
+
*/
|
|
1625
|
+
export const getJobStatusJobsJobIdGet = (options) => (options.client ?? client).get({
|
|
1626
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1627
|
+
url: '/jobs/{job_id}',
|
|
1628
|
+
...options
|
|
1629
|
+
});
|
|
1630
|
+
/**
|
|
1631
|
+
* Retry Job
|
|
1632
|
+
*
|
|
1633
|
+
* Retry a failed ingestion job by re-queuing.
|
|
1634
|
+
*
|
|
1635
|
+
* Only callable on jobs with status 'failed'. The staging file must
|
|
1636
|
+
* still exist (preserved on failure for retry).
|
|
1637
|
+
*/
|
|
1638
|
+
export const retryJobJobsJobIdRetryPost = (options) => (options.client ?? client).post({
|
|
1639
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1640
|
+
url: '/jobs/{job_id}/retry',
|
|
1641
|
+
...options
|
|
1642
|
+
});
|
|
1643
|
+
/**
|
|
1644
|
+
* Create Layer Endpoint
|
|
1645
|
+
*
|
|
1646
|
+
* Create a new empty spatial layer.
|
|
1647
|
+
*
|
|
1648
|
+
* Creates a PostGIS table with a typed geometry column, runs the full
|
|
1649
|
+
* post-processing pipeline (geom_4326, spatial index, reader grants),
|
|
1650
|
+
* and registers the layer as a catalog dataset.
|
|
1651
|
+
*
|
|
1652
|
+
* Requires editor or admin role.
|
|
1653
|
+
*/
|
|
1654
|
+
export const createLayerEndpointLayersPost = (options) => (options.client ?? client).post({
|
|
1655
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1656
|
+
url: '/layers/',
|
|
1657
|
+
...options,
|
|
1658
|
+
headers: {
|
|
1659
|
+
'Content-Type': 'application/json',
|
|
1660
|
+
...options.headers
|
|
1661
|
+
}
|
|
1662
|
+
});
|
|
1663
|
+
/**
|
|
1664
|
+
* Add Column Endpoint
|
|
1665
|
+
*
|
|
1666
|
+
* Add a column to an existing layer.
|
|
1667
|
+
*/
|
|
1668
|
+
export const addColumnEndpointLayersDatasetIdColumnsPost = (options) => (options.client ?? client).post({
|
|
1669
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1670
|
+
url: '/layers/{dataset_id}/columns/',
|
|
1671
|
+
...options,
|
|
1672
|
+
headers: {
|
|
1673
|
+
'Content-Type': 'application/json',
|
|
1674
|
+
...options.headers
|
|
1675
|
+
}
|
|
1676
|
+
});
|
|
1677
|
+
/**
|
|
1678
|
+
* Drop Column Endpoint
|
|
1679
|
+
*
|
|
1680
|
+
* Remove a column from an existing layer.
|
|
1681
|
+
*/
|
|
1682
|
+
export const dropColumnEndpointLayersDatasetIdColumnsColumnNameDelete = (options) => (options.client ?? client).delete({
|
|
1683
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1684
|
+
url: '/layers/{dataset_id}/columns/{column_name}',
|
|
1685
|
+
...options
|
|
1686
|
+
});
|
|
1687
|
+
/**
|
|
1688
|
+
* Rename Column Endpoint
|
|
1689
|
+
*
|
|
1690
|
+
* Rename a column on an existing layer.
|
|
1691
|
+
*/
|
|
1692
|
+
export const renameColumnEndpointLayersDatasetIdColumnsColumnNameNamePatch = (options) => (options.client ?? client).patch({
|
|
1693
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1694
|
+
url: '/layers/{dataset_id}/columns/{column_name}/name',
|
|
1695
|
+
...options,
|
|
1696
|
+
headers: {
|
|
1697
|
+
'Content-Type': 'application/json',
|
|
1698
|
+
...options.headers
|
|
1699
|
+
}
|
|
1700
|
+
});
|
|
1701
|
+
/**
|
|
1702
|
+
* Alter Column Type Endpoint
|
|
1703
|
+
*
|
|
1704
|
+
* Change a column's type on an existing layer.
|
|
1705
|
+
*
|
|
1706
|
+
* Postgres performs an implicit ``column::TYPE`` cast; values that cannot be
|
|
1707
|
+
* cast cause the request to fail and roll back.
|
|
1708
|
+
*/
|
|
1709
|
+
export const alterColumnTypeEndpointLayersDatasetIdColumnsColumnNameTypePatch = (options) => (options.client ?? client).patch({
|
|
1710
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1711
|
+
url: '/layers/{dataset_id}/columns/{column_name}/type',
|
|
1712
|
+
...options,
|
|
1713
|
+
headers: {
|
|
1714
|
+
'Content-Type': 'application/json',
|
|
1715
|
+
...options.headers
|
|
1716
|
+
}
|
|
1717
|
+
});
|
|
1718
|
+
/**
|
|
1719
|
+
* List Maps Endpoint
|
|
1720
|
+
*
|
|
1721
|
+
* List maps. Admins see all; authenticated users see own + internal + public; anonymous see public only.
|
|
1722
|
+
*
|
|
1723
|
+
* Supports search (ILIKE on name+description), sort_by (name/created_at/updated_at),
|
|
1724
|
+
* sort_dir (asc/desc), and visibility filter (private/internal/public).
|
|
1725
|
+
*/
|
|
1726
|
+
export const listMapsEndpointMapsGet = (options) => (options?.client ?? client).get({
|
|
1727
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1728
|
+
url: '/maps/',
|
|
1729
|
+
...options
|
|
1730
|
+
});
|
|
1731
|
+
/**
|
|
1732
|
+
* Create Map Endpoint
|
|
1733
|
+
*
|
|
1734
|
+
* Create a new map.
|
|
1735
|
+
*/
|
|
1736
|
+
export const createMapEndpointMapsPost = (options) => (options.client ?? client).post({
|
|
1737
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1738
|
+
url: '/maps/',
|
|
1739
|
+
...options,
|
|
1740
|
+
headers: {
|
|
1741
|
+
'Content-Type': 'application/json',
|
|
1742
|
+
...options.headers
|
|
1743
|
+
}
|
|
1744
|
+
});
|
|
1745
|
+
/**
|
|
1746
|
+
* Get Shared Map Endpoint
|
|
1747
|
+
*
|
|
1748
|
+
* Get a shared map by token. Optionally authenticated for non-public layers.
|
|
1749
|
+
*/
|
|
1750
|
+
export const getSharedMapEndpointMapsSharedTokenGet = (options) => (options.client ?? client).get({
|
|
1751
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1752
|
+
url: '/maps/shared/{token}',
|
|
1753
|
+
...options
|
|
1754
|
+
});
|
|
1755
|
+
/**
|
|
1756
|
+
* Delete Map Endpoint
|
|
1757
|
+
*
|
|
1758
|
+
* Delete a map. Only the owner or an admin can delete.
|
|
1759
|
+
*/
|
|
1760
|
+
export const deleteMapEndpointMapsMapIdDelete = (options) => (options.client ?? client).delete({
|
|
1761
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1762
|
+
url: '/maps/{map_id}',
|
|
1763
|
+
...options
|
|
1764
|
+
});
|
|
1765
|
+
/**
|
|
1766
|
+
* Get Map Endpoint
|
|
1767
|
+
*
|
|
1768
|
+
* Get a single map with its layers.
|
|
1769
|
+
*/
|
|
1770
|
+
export const getMapEndpointMapsMapIdGet = (options) => (options.client ?? client).get({
|
|
1771
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1772
|
+
url: '/maps/{map_id}',
|
|
1773
|
+
...options
|
|
1774
|
+
});
|
|
1775
|
+
/**
|
|
1776
|
+
* Update Map Endpoint
|
|
1777
|
+
*
|
|
1778
|
+
* Update a map's metadata and/or replace its layers.
|
|
1779
|
+
*/
|
|
1780
|
+
export const updateMapEndpointMapsMapIdPut = (options) => (options.client ?? client).put({
|
|
1781
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1782
|
+
url: '/maps/{map_id}',
|
|
1783
|
+
...options,
|
|
1784
|
+
headers: {
|
|
1785
|
+
'Content-Type': 'application/json',
|
|
1786
|
+
...options.headers
|
|
1787
|
+
}
|
|
1788
|
+
});
|
|
1789
|
+
/**
|
|
1790
|
+
* Duplicate Map Endpoint
|
|
1791
|
+
*
|
|
1792
|
+
* Fork a map with RBAC-filtered layers. Any authenticated user can fork.
|
|
1793
|
+
*/
|
|
1794
|
+
export const duplicateMapEndpointMapsMapIdDuplicatePost = (options) => (options.client ?? client).post({
|
|
1795
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1796
|
+
url: '/maps/{map_id}/duplicate/',
|
|
1797
|
+
...options
|
|
1798
|
+
});
|
|
1799
|
+
/**
|
|
1800
|
+
* List Embed Tokens Endpoint
|
|
1801
|
+
*
|
|
1802
|
+
* List all embed tokens for a map.
|
|
1803
|
+
*/
|
|
1804
|
+
export const listEmbedTokensEndpointMapsMapIdEmbedTokensGet = (options) => (options.client ?? client).get({
|
|
1805
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1806
|
+
url: '/maps/{map_id}/embed-tokens/',
|
|
1807
|
+
...options
|
|
1808
|
+
});
|
|
1809
|
+
/**
|
|
1810
|
+
* Create Embed Token Endpoint
|
|
1811
|
+
*
|
|
1812
|
+
* Create an embed token scoped to a map's current layers.
|
|
1813
|
+
*/
|
|
1814
|
+
export const createEmbedTokenEndpointMapsMapIdEmbedTokensPost = (options) => (options.client ?? client).post({
|
|
1815
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1816
|
+
url: '/maps/{map_id}/embed-tokens/',
|
|
1817
|
+
...options,
|
|
1818
|
+
headers: {
|
|
1819
|
+
'Content-Type': 'application/json',
|
|
1820
|
+
...options.headers
|
|
1821
|
+
}
|
|
1822
|
+
});
|
|
1823
|
+
/**
|
|
1824
|
+
* Revoke Embed Token Endpoint
|
|
1825
|
+
*
|
|
1826
|
+
* Revoke an embed token.
|
|
1827
|
+
*/
|
|
1828
|
+
export const revokeEmbedTokenEndpointMapsMapIdEmbedTokensTokenIdDelete = (options) => (options.client ?? client).delete({
|
|
1829
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1830
|
+
url: '/maps/{map_id}/embed-tokens/{token_id}/',
|
|
1831
|
+
...options
|
|
1832
|
+
});
|
|
1833
|
+
/**
|
|
1834
|
+
* Update Embed Token Endpoint
|
|
1835
|
+
*
|
|
1836
|
+
* Update embed token allowed_origins.
|
|
1837
|
+
*/
|
|
1838
|
+
export const updateEmbedTokenEndpointMapsMapIdEmbedTokensTokenIdPatch = (options) => (options.client ?? client).patch({
|
|
1839
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1840
|
+
url: '/maps/{map_id}/embed-tokens/{token_id}/',
|
|
1841
|
+
...options,
|
|
1842
|
+
headers: {
|
|
1843
|
+
'Content-Type': 'application/json',
|
|
1844
|
+
...options.headers
|
|
1845
|
+
}
|
|
1846
|
+
});
|
|
1847
|
+
/**
|
|
1848
|
+
* Add Layer Endpoint
|
|
1849
|
+
*
|
|
1850
|
+
* Add a layer to a map.
|
|
1851
|
+
*/
|
|
1852
|
+
export const addLayerEndpointMapsMapIdLayersPost = (options) => (options.client ?? client).post({
|
|
1853
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1854
|
+
url: '/maps/{map_id}/layers/',
|
|
1855
|
+
...options,
|
|
1856
|
+
headers: {
|
|
1857
|
+
'Content-Type': 'application/json',
|
|
1858
|
+
...options.headers
|
|
1859
|
+
}
|
|
1860
|
+
});
|
|
1861
|
+
/**
|
|
1862
|
+
* Remove Layer Endpoint
|
|
1863
|
+
*
|
|
1864
|
+
* Remove a layer from a map.
|
|
1865
|
+
*/
|
|
1866
|
+
export const removeLayerEndpointMapsMapIdLayersLayerIdDelete = (options) => (options.client ?? client).delete({
|
|
1867
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1868
|
+
url: '/maps/{map_id}/layers/{layer_id}',
|
|
1869
|
+
...options
|
|
1870
|
+
});
|
|
1871
|
+
/**
|
|
1872
|
+
* Revoke Map Share Endpoint
|
|
1873
|
+
*
|
|
1874
|
+
* Revoke share token(s) for a map. Owner or admin only.
|
|
1875
|
+
*/
|
|
1876
|
+
export const revokeMapShareEndpointMapsMapIdShareDelete = (options) => (options.client ?? client).delete({
|
|
1877
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1878
|
+
url: '/maps/{map_id}/share/',
|
|
1879
|
+
...options
|
|
1880
|
+
});
|
|
1881
|
+
/**
|
|
1882
|
+
* Get Map Share Token Endpoint
|
|
1883
|
+
*
|
|
1884
|
+
* Return the active share token for a map, or null if none exists.
|
|
1885
|
+
*/
|
|
1886
|
+
export const getMapShareTokenEndpointMapsMapIdShareGet = (options) => (options.client ?? client).get({
|
|
1887
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1888
|
+
url: '/maps/{map_id}/share/',
|
|
1889
|
+
...options
|
|
1890
|
+
});
|
|
1891
|
+
/**
|
|
1892
|
+
* Update Map Share Token Endpoint
|
|
1893
|
+
*
|
|
1894
|
+
* Update expiration on an existing share token. Owner or admin only.
|
|
1895
|
+
*/
|
|
1896
|
+
export const updateMapShareTokenEndpointMapsMapIdSharePatch = (options) => (options.client ?? client).patch({
|
|
1897
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1898
|
+
url: '/maps/{map_id}/share/',
|
|
1899
|
+
...options,
|
|
1900
|
+
headers: {
|
|
1901
|
+
'Content-Type': 'application/json',
|
|
1902
|
+
...options.headers
|
|
1903
|
+
}
|
|
1904
|
+
});
|
|
1905
|
+
/**
|
|
1906
|
+
* Share Map Endpoint
|
|
1907
|
+
*
|
|
1908
|
+
* Create or retrieve a share token for a public map.
|
|
1909
|
+
*/
|
|
1910
|
+
export const shareMapEndpointMapsMapIdSharePost = (options) => (options.client ?? client).post({
|
|
1911
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1912
|
+
url: '/maps/{map_id}/share/',
|
|
1913
|
+
...options,
|
|
1914
|
+
headers: {
|
|
1915
|
+
'Content-Type': 'application/json',
|
|
1916
|
+
...options.headers
|
|
1917
|
+
}
|
|
1918
|
+
});
|
|
1919
|
+
/**
|
|
1920
|
+
* Get Thumbnail
|
|
1921
|
+
*
|
|
1922
|
+
* Serve map thumbnail image from storage (visibility-checked).
|
|
1923
|
+
*/
|
|
1924
|
+
export const getThumbnailMapsMapIdThumbnailGet = (options) => (options.client ?? client).get({
|
|
1925
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1926
|
+
url: '/maps/{map_id}/thumbnail/',
|
|
1927
|
+
...options
|
|
1928
|
+
});
|
|
1929
|
+
/**
|
|
1930
|
+
* Upload Thumbnail
|
|
1931
|
+
*
|
|
1932
|
+
* Upload a base64 thumbnail for a map.
|
|
1933
|
+
*
|
|
1934
|
+
* Accepts a data:image/ URI, decodes the base64 payload, writes the image
|
|
1935
|
+
* bytes to the configured storage provider, and stores the storage key.
|
|
1936
|
+
*/
|
|
1937
|
+
export const uploadThumbnailMapsMapIdThumbnailPut = (options) => (options.client ?? client).put({
|
|
1938
|
+
bodySerializer: null,
|
|
1939
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1940
|
+
url: '/maps/{map_id}/thumbnail/',
|
|
1941
|
+
...options,
|
|
1942
|
+
headers: {
|
|
1943
|
+
'Content-Type': 'text/plain',
|
|
1944
|
+
...options.headers
|
|
1945
|
+
}
|
|
1946
|
+
});
|
|
1947
|
+
/**
|
|
1948
|
+
* Visibility Check Endpoint
|
|
1949
|
+
*
|
|
1950
|
+
* Check if a map has non-public datasets. Informational only.
|
|
1951
|
+
*/
|
|
1952
|
+
export const visibilityCheckEndpointMapsMapIdVisibilityCheckGet = (options) => (options.client ?? client).get({
|
|
1953
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1954
|
+
url: '/maps/{map_id}/visibility-check/',
|
|
1955
|
+
...options
|
|
1956
|
+
});
|
|
1957
|
+
/**
|
|
1958
|
+
* List Contacts Endpoint
|
|
1959
|
+
*
|
|
1960
|
+
* List all contacts for a record.
|
|
1961
|
+
*/
|
|
1962
|
+
export const listContactsEndpointRecordsRecordIdContactsGet = (options) => (options.client ?? client).get({
|
|
1963
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1964
|
+
url: '/records/{record_id}/contacts/',
|
|
1965
|
+
...options
|
|
1966
|
+
});
|
|
1967
|
+
/**
|
|
1968
|
+
* Create Contact Endpoint
|
|
1969
|
+
*
|
|
1970
|
+
* Create a new contact for a record.
|
|
1971
|
+
*/
|
|
1972
|
+
export const createContactEndpointRecordsRecordIdContactsPost = (options) => (options.client ?? client).post({
|
|
1973
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1974
|
+
url: '/records/{record_id}/contacts/',
|
|
1975
|
+
...options,
|
|
1976
|
+
headers: {
|
|
1977
|
+
'Content-Type': 'application/json',
|
|
1978
|
+
...options.headers
|
|
1979
|
+
}
|
|
1980
|
+
});
|
|
1981
|
+
/**
|
|
1982
|
+
* Delete Contact Endpoint
|
|
1983
|
+
*
|
|
1984
|
+
* Delete a contact.
|
|
1985
|
+
*/
|
|
1986
|
+
export const deleteContactEndpointRecordsRecordIdContactsContactIdDelete = (options) => (options.client ?? client).delete({
|
|
1987
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1988
|
+
url: '/records/{record_id}/contacts/{contact_id}/',
|
|
1989
|
+
...options
|
|
1990
|
+
});
|
|
1991
|
+
/**
|
|
1992
|
+
* Update Contact Endpoint
|
|
1993
|
+
*
|
|
1994
|
+
* Update a contact.
|
|
1995
|
+
*/
|
|
1996
|
+
export const updateContactEndpointRecordsRecordIdContactsContactIdPatch = (options) => (options.client ?? client).patch({
|
|
1997
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1998
|
+
url: '/records/{record_id}/contacts/{contact_id}/',
|
|
1999
|
+
...options,
|
|
2000
|
+
headers: {
|
|
2001
|
+
'Content-Type': 'application/json',
|
|
2002
|
+
...options.headers
|
|
2003
|
+
}
|
|
2004
|
+
});
|
|
2005
|
+
/**
|
|
2006
|
+
* List Distributions Endpoint
|
|
2007
|
+
*
|
|
2008
|
+
* List all distributions for a record.
|
|
2009
|
+
*/
|
|
2010
|
+
export const listDistributionsEndpointRecordsRecordIdDistributionsGet = (options) => (options.client ?? client).get({
|
|
2011
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2012
|
+
url: '/records/{record_id}/distributions/',
|
|
2013
|
+
...options
|
|
2014
|
+
});
|
|
2015
|
+
/**
|
|
2016
|
+
* Create Distribution Endpoint
|
|
2017
|
+
*
|
|
2018
|
+
* Create a manual distribution for a record.
|
|
2019
|
+
*/
|
|
2020
|
+
export const createDistributionEndpointRecordsRecordIdDistributionsPost = (options) => (options.client ?? client).post({
|
|
2021
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2022
|
+
url: '/records/{record_id}/distributions/',
|
|
2023
|
+
...options,
|
|
2024
|
+
headers: {
|
|
2025
|
+
'Content-Type': 'application/json',
|
|
2026
|
+
...options.headers
|
|
2027
|
+
}
|
|
2028
|
+
});
|
|
2029
|
+
/**
|
|
2030
|
+
* Delete Distribution Endpoint
|
|
2031
|
+
*
|
|
2032
|
+
* Delete a distribution (manual only; auto-generated distributions are immutable).
|
|
2033
|
+
*/
|
|
2034
|
+
export const deleteDistributionEndpointRecordsRecordIdDistributionsDistributionIdDelete = (options) => (options.client ?? client).delete({
|
|
2035
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2036
|
+
url: '/records/{record_id}/distributions/{distribution_id}/',
|
|
2037
|
+
...options
|
|
2038
|
+
});
|
|
2039
|
+
/**
|
|
2040
|
+
* Update Distribution Endpoint
|
|
2041
|
+
*
|
|
2042
|
+
* Update a distribution (manual only; auto-generated distributions are immutable).
|
|
2043
|
+
*/
|
|
2044
|
+
export const updateDistributionEndpointRecordsRecordIdDistributionsDistributionIdPatch = (options) => (options.client ?? client).patch({
|
|
2045
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2046
|
+
url: '/records/{record_id}/distributions/{distribution_id}/',
|
|
2047
|
+
...options,
|
|
2048
|
+
headers: {
|
|
2049
|
+
'Content-Type': 'application/json',
|
|
2050
|
+
...options.headers
|
|
2051
|
+
}
|
|
2052
|
+
});
|
|
2053
|
+
/**
|
|
2054
|
+
* List Keywords Endpoint
|
|
2055
|
+
*
|
|
2056
|
+
* List all keywords for a record.
|
|
2057
|
+
*/
|
|
2058
|
+
export const listKeywordsEndpointRecordsRecordIdKeywordsGet = (options) => (options.client ?? client).get({
|
|
2059
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2060
|
+
url: '/records/{record_id}/keywords/',
|
|
2061
|
+
...options
|
|
2062
|
+
});
|
|
2063
|
+
/**
|
|
2064
|
+
* Create Keyword Endpoint
|
|
2065
|
+
*
|
|
2066
|
+
* Create a new keyword for a record.
|
|
2067
|
+
*/
|
|
2068
|
+
export const createKeywordEndpointRecordsRecordIdKeywordsPost = (options) => (options.client ?? client).post({
|
|
2069
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2070
|
+
url: '/records/{record_id}/keywords/',
|
|
2071
|
+
...options,
|
|
2072
|
+
headers: {
|
|
2073
|
+
'Content-Type': 'application/json',
|
|
2074
|
+
...options.headers
|
|
2075
|
+
}
|
|
2076
|
+
});
|
|
2077
|
+
/**
|
|
2078
|
+
* Delete Keyword Endpoint
|
|
2079
|
+
*
|
|
2080
|
+
* Delete a keyword.
|
|
2081
|
+
*/
|
|
2082
|
+
export const deleteKeywordEndpointRecordsRecordIdKeywordsKeywordIdDelete = (options) => (options.client ?? client).delete({
|
|
2083
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2084
|
+
url: '/records/{record_id}/keywords/{keyword_id}/',
|
|
2085
|
+
...options
|
|
2086
|
+
});
|
|
2087
|
+
/**
|
|
2088
|
+
* Search Datasets Endpoint
|
|
2089
|
+
*
|
|
2090
|
+
* Search datasets with text, spatial, and faceted filters.
|
|
2091
|
+
*/
|
|
2092
|
+
export const searchDatasetsEndpointSearchDatasetsGet = (options) => (options?.client ?? client).get({
|
|
2093
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2094
|
+
url: '/search/datasets/',
|
|
2095
|
+
...options,
|
|
2096
|
+
headers: {
|
|
2097
|
+
'Content-Type': 'application/json',
|
|
2098
|
+
...options?.headers
|
|
2099
|
+
}
|
|
2100
|
+
});
|
|
2101
|
+
/**
|
|
2102
|
+
* Search Facets Endpoint
|
|
2103
|
+
*
|
|
2104
|
+
* Return record_type facet counts for the given filters.
|
|
2105
|
+
*/
|
|
2106
|
+
export const searchFacetsEndpointSearchFacetsGet = (options) => (options?.client ?? client).get({
|
|
2107
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2108
|
+
url: '/search/facets/',
|
|
2109
|
+
...options
|
|
2110
|
+
});
|
|
2111
|
+
/**
|
|
2112
|
+
* List Saved Searches Endpoint
|
|
2113
|
+
*
|
|
2114
|
+
* List saved searches for the authenticated user.
|
|
2115
|
+
*/
|
|
2116
|
+
export const listSavedSearchesEndpointSearchSavedGet = (options) => (options?.client ?? client).get({
|
|
2117
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2118
|
+
url: '/search/saved/',
|
|
2119
|
+
...options
|
|
2120
|
+
});
|
|
2121
|
+
/**
|
|
2122
|
+
* Create Saved Search Endpoint
|
|
2123
|
+
*
|
|
2124
|
+
* Save a search query with a name for later reuse.
|
|
2125
|
+
*/
|
|
2126
|
+
export const createSavedSearchEndpointSearchSavedPost = (options) => (options.client ?? client).post({
|
|
2127
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2128
|
+
url: '/search/saved/',
|
|
2129
|
+
...options,
|
|
2130
|
+
headers: {
|
|
2131
|
+
'Content-Type': 'application/json',
|
|
2132
|
+
...options.headers
|
|
2133
|
+
}
|
|
2134
|
+
});
|
|
2135
|
+
/**
|
|
2136
|
+
* Delete Saved Search Endpoint
|
|
2137
|
+
*
|
|
2138
|
+
* Delete a saved search.
|
|
2139
|
+
*/
|
|
2140
|
+
export const deleteSavedSearchEndpointSearchSavedSearchIdDelete = (options) => (options.client ?? client).delete({
|
|
2141
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2142
|
+
url: '/search/saved/{search_id}',
|
|
2143
|
+
...options
|
|
2144
|
+
});
|
|
2145
|
+
/**
|
|
2146
|
+
* Get Saved Search Endpoint
|
|
2147
|
+
*
|
|
2148
|
+
* Get a single saved search by ID.
|
|
2149
|
+
*/
|
|
2150
|
+
export const getSavedSearchEndpointSearchSavedSearchIdGet = (options) => (options.client ?? client).get({
|
|
2151
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2152
|
+
url: '/search/saved/{search_id}',
|
|
2153
|
+
...options
|
|
2154
|
+
});
|
|
2155
|
+
/**
|
|
2156
|
+
* Preview Service Layer
|
|
2157
|
+
*
|
|
2158
|
+
* Preview a selected remote layer via ogrinfo and create a pending IngestJob.
|
|
2159
|
+
*
|
|
2160
|
+
* Validates the URL against SSRF, builds the GDAL driver source string,
|
|
2161
|
+
* runs ogrinfo to extract metadata and sample rows, then creates an IngestJob
|
|
2162
|
+
* ready for the existing commit flow.
|
|
2163
|
+
*/
|
|
2164
|
+
export const previewServiceLayerServicesPreviewPost = (options) => (options.client ?? client).post({
|
|
2165
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2166
|
+
url: '/services/preview/',
|
|
2167
|
+
...options,
|
|
2168
|
+
headers: {
|
|
2169
|
+
'Content-Type': 'application/json',
|
|
2170
|
+
...options.headers
|
|
2171
|
+
}
|
|
2172
|
+
});
|
|
2173
|
+
/**
|
|
2174
|
+
* Probe Service Url
|
|
2175
|
+
*
|
|
2176
|
+
* Probe a remote service URL to detect its type and list available layers.
|
|
2177
|
+
*
|
|
2178
|
+
* Validates the URL against SSRF, detects whether it is a WFS or ArcGIS
|
|
2179
|
+
* service, and returns a unified layer list. All attempts are audit-logged.
|
|
2180
|
+
*/
|
|
2181
|
+
export const probeServiceUrlServicesProbePost = (options) => (options.client ?? client).post({
|
|
2182
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2183
|
+
url: '/services/probe/',
|
|
2184
|
+
...options,
|
|
2185
|
+
headers: {
|
|
2186
|
+
'Content-Type': 'application/json',
|
|
2187
|
+
...options.headers
|
|
2188
|
+
}
|
|
2189
|
+
});
|
|
2190
|
+
/**
|
|
2191
|
+
* Stac Collections
|
|
2192
|
+
*
|
|
2193
|
+
* List collections from a connected STAC API.
|
|
2194
|
+
*/
|
|
2195
|
+
export const stacCollectionsServicesStacCollectionsPost = (options) => (options.client ?? client).post({
|
|
2196
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2197
|
+
url: '/services/stac/collections',
|
|
2198
|
+
...options,
|
|
2199
|
+
headers: {
|
|
2200
|
+
'Content-Type': 'application/json',
|
|
2201
|
+
...options.headers
|
|
2202
|
+
}
|
|
2203
|
+
});
|
|
2204
|
+
/**
|
|
2205
|
+
* Stac Connect
|
|
2206
|
+
*
|
|
2207
|
+
* Connect to a STAC API and validate the endpoint.
|
|
2208
|
+
*/
|
|
2209
|
+
export const stacConnectServicesStacConnectPost = (options) => (options.client ?? client).post({
|
|
2210
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2211
|
+
url: '/services/stac/connect',
|
|
2212
|
+
...options,
|
|
2213
|
+
headers: {
|
|
2214
|
+
'Content-Type': 'application/json',
|
|
2215
|
+
...options.headers
|
|
2216
|
+
}
|
|
2217
|
+
});
|
|
2218
|
+
/**
|
|
2219
|
+
* Stac Import
|
|
2220
|
+
*
|
|
2221
|
+
* Import selected STAC items as raster datasets.
|
|
2222
|
+
*
|
|
2223
|
+
* Each item is registered as a raster_dataset record referencing the
|
|
2224
|
+
* remote COG asset URL. Titiler serves the tiles directly from the
|
|
2225
|
+
* remote source — no file download required.
|
|
2226
|
+
*/
|
|
2227
|
+
export const stacImportServicesStacImportPost = (options) => (options.client ?? client).post({
|
|
2228
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2229
|
+
url: '/services/stac/import',
|
|
2230
|
+
...options,
|
|
2231
|
+
headers: {
|
|
2232
|
+
'Content-Type': 'application/json',
|
|
2233
|
+
...options.headers
|
|
2234
|
+
}
|
|
2235
|
+
});
|
|
2236
|
+
/**
|
|
2237
|
+
* Stac Search
|
|
2238
|
+
*
|
|
2239
|
+
* Search items in a STAC API with spatial/temporal filters.
|
|
2240
|
+
*/
|
|
2241
|
+
export const stacSearchServicesStacSearchPost = (options) => (options.client ?? client).post({
|
|
2242
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2243
|
+
url: '/services/stac/search',
|
|
2244
|
+
...options,
|
|
2245
|
+
headers: {
|
|
2246
|
+
'Content-Type': 'application/json',
|
|
2247
|
+
...options.headers
|
|
2248
|
+
}
|
|
2249
|
+
});
|
|
2250
|
+
/**
|
|
2251
|
+
* Update Settings
|
|
2252
|
+
*
|
|
2253
|
+
* Update one or more settings (admin only). Returns updated settings.
|
|
2254
|
+
*/
|
|
2255
|
+
export const updateSettingsSettingsPut = (options) => (options.client ?? client).put({
|
|
2256
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2257
|
+
url: '/settings/',
|
|
2258
|
+
...options,
|
|
2259
|
+
headers: {
|
|
2260
|
+
'Content-Type': 'application/json',
|
|
2261
|
+
...options.headers
|
|
2262
|
+
}
|
|
2263
|
+
});
|
|
2264
|
+
/**
|
|
2265
|
+
* Get All Settings
|
|
2266
|
+
*
|
|
2267
|
+
* Return all settings grouped by tab with source indicators (admin only).
|
|
2268
|
+
*/
|
|
2269
|
+
export const getAllSettingsSettingsAllGet = (options) => (options?.client ?? client).get({
|
|
2270
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2271
|
+
url: '/settings/all/',
|
|
2272
|
+
...options
|
|
2273
|
+
});
|
|
2274
|
+
/**
|
|
2275
|
+
* Get Api Key Status
|
|
2276
|
+
*
|
|
2277
|
+
* Return which LLM API keys are configured (without exposing values).
|
|
2278
|
+
*/
|
|
2279
|
+
export const getApiKeyStatusSettingsApiKeyStatusGet = (options) => (options?.client ?? client).get({
|
|
2280
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2281
|
+
url: '/settings/api-key-status/',
|
|
2282
|
+
...options
|
|
2283
|
+
});
|
|
2284
|
+
/**
|
|
2285
|
+
* Get Basemaps
|
|
2286
|
+
*
|
|
2287
|
+
* Return the configured basemap list (public, no auth required).
|
|
2288
|
+
*
|
|
2289
|
+
* Basemaps with ``{api_key}`` in the URL are filtered out when no key is
|
|
2290
|
+
* configured. When a key IS set the placeholder is resolved server-side.
|
|
2291
|
+
* The response uses ``BasemapPublicResponse`` which excludes ``api_key``.
|
|
2292
|
+
*/
|
|
2293
|
+
export const getBasemapsSettingsBasemapsGet = (options) => (options?.client ?? client).get({ url: '/settings/basemaps/', ...options });
|
|
2294
|
+
/**
|
|
2295
|
+
* Get Branding
|
|
2296
|
+
*
|
|
2297
|
+
* Return branding configuration (public, no auth required).
|
|
2298
|
+
*
|
|
2299
|
+
* The active ``BrandingExtension`` provides initial defaults for branding
|
|
2300
|
+
* keys. PersistentConfig overrides take precedence when set. Community
|
|
2301
|
+
* advertises read-only ``show_badge`` only; badge-removal writes and
|
|
2302
|
+
* additional branding keys are enterprise controls (enterprise only).
|
|
2303
|
+
*/
|
|
2304
|
+
export const getBrandingSettingsBrandingGet = (options) => (options?.client ?? client).get({ url: '/settings/branding/', ...options });
|
|
2305
|
+
/**
|
|
2306
|
+
* Get Config Mode
|
|
2307
|
+
*
|
|
2308
|
+
* Return whether the app is in env-only config mode (public, no auth).
|
|
2309
|
+
*/
|
|
2310
|
+
export const getConfigModeSettingsConfigModeGet = (options) => (options?.client ?? client).get({ url: '/settings/config-mode/', ...options });
|
|
2311
|
+
/**
|
|
2312
|
+
* Detect Embedding Dims
|
|
2313
|
+
*
|
|
2314
|
+
* Probe the configured embedding model and return its output dimensions.
|
|
2315
|
+
*/
|
|
2316
|
+
export const detectEmbeddingDimsSettingsDetectEmbeddingDimsPost = (options) => (options?.client ?? client).post({
|
|
2317
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2318
|
+
url: '/settings/detect-embedding-dims/',
|
|
2319
|
+
...options
|
|
2320
|
+
});
|
|
2321
|
+
/**
|
|
2322
|
+
* Edition Info
|
|
2323
|
+
*
|
|
2324
|
+
* Return current edition and available features. Public, no auth required.
|
|
2325
|
+
*/
|
|
2326
|
+
export const editionInfoSettingsEditionGet = (options) => (options?.client ?? client).get({ url: '/settings/edition/', ...options });
|
|
2327
|
+
/**
|
|
2328
|
+
* Get Enabled Widgets
|
|
2329
|
+
*
|
|
2330
|
+
* Return enabled widget IDs. null = no restriction (all shown), [] = none, [...ids] = only those.
|
|
2331
|
+
*/
|
|
2332
|
+
export const getEnabledWidgetsSettingsEnabledWidgetsGet = (options) => (options?.client ?? client).get({ url: '/settings/enabled-widgets/', ...options });
|
|
2333
|
+
/**
|
|
2334
|
+
* Get Feature Flags
|
|
2335
|
+
*
|
|
2336
|
+
* Return public feature flags (no auth required).
|
|
2337
|
+
*/
|
|
2338
|
+
export const getFeatureFlagsSettingsFeatureFlagsGet = (options) => (options?.client ?? client).get({ url: '/settings/feature-flags/', ...options });
|
|
2339
|
+
/**
|
|
2340
|
+
* Get Map Defaults
|
|
2341
|
+
*
|
|
2342
|
+
* Return the default map center and zoom (public, no auth required).
|
|
2343
|
+
*/
|
|
2344
|
+
export const getMapDefaultsSettingsMapDefaultsGet = (options) => (options?.client ?? client).get({ url: '/settings/map-defaults/', ...options });
|
|
2345
|
+
/**
|
|
2346
|
+
* List Oauth Providers
|
|
2347
|
+
*
|
|
2348
|
+
* List all OAuth providers (admin only).
|
|
2349
|
+
*/
|
|
2350
|
+
export const listOauthProvidersSettingsOauthProvidersGet = (options) => (options?.client ?? client).get({
|
|
2351
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2352
|
+
url: '/settings/oauth-providers/',
|
|
2353
|
+
...options
|
|
2354
|
+
});
|
|
2355
|
+
/**
|
|
2356
|
+
* Create Oauth Provider
|
|
2357
|
+
*
|
|
2358
|
+
* Create a new OAuth or SAML provider (admin only).
|
|
2359
|
+
*
|
|
2360
|
+
* Audit-log payload includes the full ``created`` snapshot with non-secret
|
|
2361
|
+
* fields verbatim and ``<redacted>`` markers for secrets that were submitted
|
|
2362
|
+
* in the request body (SAML-12 / Pitfall 9 / T-217-03-AUDIT-LEAK).
|
|
2363
|
+
*/
|
|
2364
|
+
export const createOauthProviderSettingsOauthProvidersPost = (options) => (options.client ?? client).post({
|
|
2365
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2366
|
+
url: '/settings/oauth-providers/',
|
|
2367
|
+
...options,
|
|
2368
|
+
headers: {
|
|
2369
|
+
'Content-Type': 'application/json',
|
|
2370
|
+
...options.headers
|
|
2371
|
+
}
|
|
2372
|
+
});
|
|
2373
|
+
/**
|
|
2374
|
+
* Delete Oauth Provider
|
|
2375
|
+
*
|
|
2376
|
+
* Delete an OAuth or SAML provider (admin only).
|
|
2377
|
+
*
|
|
2378
|
+
* Audit-log payload contains a ``deleted`` snapshot with the pre-delete
|
|
2379
|
+
* state — non-secret fields verbatim, secret fields marked ``<redacted>``
|
|
2380
|
+
* if they were previously set (T-217-03-AUDIT-LEAK mitigation extends to
|
|
2381
|
+
* delete events too).
|
|
2382
|
+
*/
|
|
2383
|
+
export const deleteOauthProviderSettingsOauthProvidersProviderIdDelete = (options) => (options.client ?? client).delete({
|
|
2384
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2385
|
+
url: '/settings/oauth-providers/{provider_id}',
|
|
2386
|
+
...options
|
|
2387
|
+
});
|
|
2388
|
+
/**
|
|
2389
|
+
* Update Oauth Provider
|
|
2390
|
+
*
|
|
2391
|
+
* Update an existing OAuth or SAML provider (admin only).
|
|
2392
|
+
*
|
|
2393
|
+
* Audit-log payload contains ``details.changes`` with per-field
|
|
2394
|
+
* ``{"old": ..., "new": ...}`` diffs. Secret fields (idp_certificate,
|
|
2395
|
+
* client_secret_encrypted, client_secret) are redacted as
|
|
2396
|
+
* ``{"old": "<redacted>", "new": "<redacted>"}`` (Pitfall 9 / SAML-12 /
|
|
2397
|
+
* T-217-03-AUDIT-LEAK HIGH severity).
|
|
2398
|
+
*/
|
|
2399
|
+
export const updateOauthProviderSettingsOauthProvidersProviderIdPut = (options) => (options.client ?? client).put({
|
|
2400
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2401
|
+
url: '/settings/oauth-providers/{provider_id}',
|
|
2402
|
+
...options,
|
|
2403
|
+
headers: {
|
|
2404
|
+
'Content-Type': 'application/json',
|
|
2405
|
+
...options.headers
|
|
2406
|
+
}
|
|
2407
|
+
});
|
|
2408
|
+
/**
|
|
2409
|
+
* Reset Settings
|
|
2410
|
+
*
|
|
2411
|
+
* Reset one or more settings to their defaults (admin only). Returns updated settings.
|
|
2412
|
+
*/
|
|
2413
|
+
export const resetSettingsSettingsResetPost = (options) => (options.client ?? client).post({
|
|
2414
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2415
|
+
url: '/settings/reset/',
|
|
2416
|
+
...options,
|
|
2417
|
+
headers: {
|
|
2418
|
+
'Content-Type': 'application/json',
|
|
2419
|
+
...options.headers
|
|
2420
|
+
}
|
|
2421
|
+
});
|
|
2422
|
+
/**
|
|
2423
|
+
* Get Tile Config
|
|
2424
|
+
*
|
|
2425
|
+
* Return tile delivery configuration (public, no auth required).
|
|
2426
|
+
*/
|
|
2427
|
+
export const getTileConfigSettingsTileConfigGet = (options) => (options?.client ?? client).get({ url: '/settings/tile-config/', ...options });
|
|
2428
|
+
/**
|
|
2429
|
+
* Landing Page
|
|
2430
|
+
*
|
|
2431
|
+
* STAC Catalog landing page.
|
|
2432
|
+
*/
|
|
2433
|
+
export const landingPageStacGet = (options) => (options?.client ?? client).get({ url: '/stac/', ...options });
|
|
2434
|
+
/**
|
|
2435
|
+
* Get Collections
|
|
2436
|
+
*
|
|
2437
|
+
* List all STAC Collections.
|
|
2438
|
+
*/
|
|
2439
|
+
export const getCollectionsStacCollectionsGet = (options) => (options?.client ?? client).get({ url: '/stac/collections', ...options });
|
|
2440
|
+
/**
|
|
2441
|
+
* Get Collection
|
|
2442
|
+
*
|
|
2443
|
+
* Get a single STAC Collection.
|
|
2444
|
+
*/
|
|
2445
|
+
export const getCollectionStacCollectionsCollectionIdGet = (options) => (options.client ?? client).get({ url: '/stac/collections/{collection_id}', ...options });
|
|
2446
|
+
/**
|
|
2447
|
+
* Get Collection Items
|
|
2448
|
+
*
|
|
2449
|
+
* List STAC Items within a collection.
|
|
2450
|
+
*/
|
|
2451
|
+
export const getCollectionItemsStacCollectionsCollectionIdItemsGet = (options) => (options.client ?? client).get({ url: '/stac/collections/{collection_id}/items', ...options });
|
|
2452
|
+
/**
|
|
2453
|
+
* Get Collection Item
|
|
2454
|
+
*
|
|
2455
|
+
* Get a single STAC Item within a collection.
|
|
2456
|
+
*/
|
|
2457
|
+
export const getCollectionItemStacCollectionsCollectionIdItemsItemIdGet = (options) => (options.client ?? client).get({ url: '/stac/collections/{collection_id}/items/{item_id}', ...options });
|
|
2458
|
+
/**
|
|
2459
|
+
* Conformance
|
|
2460
|
+
*
|
|
2461
|
+
* STAC API conformance classes.
|
|
2462
|
+
*/
|
|
2463
|
+
export const conformanceStacConformanceGet = (options) => (options?.client ?? client).get({ url: '/stac/conformance', ...options });
|
|
2464
|
+
/**
|
|
2465
|
+
* Get Item
|
|
2466
|
+
*
|
|
2467
|
+
* Get a single STAC Item by dataset ID.
|
|
2468
|
+
*/
|
|
2469
|
+
export const getItemStacItemsItemIdGet = (options) => (options.client ?? client).get({ url: '/stac/items/{item_id}', ...options });
|
|
2470
|
+
/**
|
|
2471
|
+
* Search Get
|
|
2472
|
+
*
|
|
2473
|
+
* STAC Item Search (GET).
|
|
2474
|
+
*/
|
|
2475
|
+
export const searchGetStacSearchGet = (options) => (options?.client ?? client).get({ url: '/stac/search', ...options });
|
|
2476
|
+
/**
|
|
2477
|
+
* Search Post
|
|
2478
|
+
*
|
|
2479
|
+
* STAC Item Search (POST with JSON body).
|
|
2480
|
+
*/
|
|
2481
|
+
export const searchPostStacSearchPost = (options) => (options.client ?? client).post({
|
|
2482
|
+
url: '/stac/search',
|
|
2483
|
+
...options,
|
|
2484
|
+
headers: {
|
|
2485
|
+
'Content-Type': 'application/json',
|
|
2486
|
+
...options.headers
|
|
2487
|
+
}
|
|
2488
|
+
});
|
|
2489
|
+
/**
|
|
2490
|
+
* Raster Auth Check
|
|
2491
|
+
*
|
|
2492
|
+
* Auth-check endpoint called by nginx auth_request for raster tile serving.
|
|
2493
|
+
*
|
|
2494
|
+
* Validates RBAC access to a raster dataset and returns the COG open-path
|
|
2495
|
+
* in response headers (which nginx passes to Titiler, never the browser).
|
|
2496
|
+
*
|
|
2497
|
+
* Returns:
|
|
2498
|
+
* 200 with X-GeoLens-Asset-OpenPath and X-GeoLens-Cache-Status headers
|
|
2499
|
+
* 401 if authentication is required but missing
|
|
2500
|
+
* 403 if embed token is invalid
|
|
2501
|
+
* 404 if dataset not found, not a raster, or has no raster asset
|
|
2502
|
+
*/
|
|
2503
|
+
export const rasterAuthCheckTilesRasterAuthCheckGet = (options) => (options.client ?? client).get({
|
|
2504
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2505
|
+
url: '/tiles/raster-auth-check/',
|
|
2506
|
+
...options
|
|
2507
|
+
});
|
|
2508
|
+
/**
|
|
2509
|
+
* Raster Tile Proxy
|
|
2510
|
+
*
|
|
2511
|
+
* API-side raster tile proxy: auth check + fetch from Titiler.
|
|
2512
|
+
*
|
|
2513
|
+
* Used by Vite dev proxy and as a fallback for deployments without nginx.
|
|
2514
|
+
* Production deployments with nginx should use the nginx raster-tiles path
|
|
2515
|
+
* for better caching and performance.
|
|
2516
|
+
*/
|
|
2517
|
+
export const rasterTileProxyTilesRasterProxyDatasetIdZXYFmtGet = (options) => (options.client ?? client).get({
|
|
2518
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2519
|
+
url: '/tiles/raster-proxy/{dataset_id}/{z}/{x}/{y}.{fmt}',
|
|
2520
|
+
...options
|
|
2521
|
+
});
|
|
2522
|
+
/**
|
|
2523
|
+
* Get Tile Token
|
|
2524
|
+
*
|
|
2525
|
+
* Generate a tile token for a dataset.
|
|
2526
|
+
*
|
|
2527
|
+
* For vector datasets: returns HMAC-signed token (sig, exp, scope, expires_in).
|
|
2528
|
+
* For raster datasets: returns tile URL template and metadata.
|
|
2529
|
+
*
|
|
2530
|
+
* Both responses include a discriminated ``kind`` field.
|
|
2531
|
+
*
|
|
2532
|
+
* Public datasets can be accessed without authentication.
|
|
2533
|
+
* Private/restricted datasets require authentication and RBAC checks.
|
|
2534
|
+
*/
|
|
2535
|
+
export const getTileTokenTilesTokenDatasetIdGet = (options) => (options.client ?? client).get({
|
|
2536
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2537
|
+
url: '/tiles/token/{dataset_id}/',
|
|
2538
|
+
...options
|
|
2539
|
+
});
|
|
2540
|
+
/**
|
|
2541
|
+
* Get Tile Tokens Batch
|
|
2542
|
+
*
|
|
2543
|
+
* Batch-generate tile tokens for up to 50 datasets in one request.
|
|
2544
|
+
*
|
|
2545
|
+
* Optimization for multi-layer maps: a 20-layer builder map previously
|
|
2546
|
+
* fired 20 parallel GET /token/{id}/ requests (20 HTTP + 20 RBAC + 20 HMAC
|
|
2547
|
+
* signatures). This endpoint does the same work in a single round trip
|
|
2548
|
+
* with one DB query for dataset metadata (PERF-N5).
|
|
2549
|
+
*
|
|
2550
|
+
* Per-dataset errors (404, 403) do not fail the batch — instead the
|
|
2551
|
+
* response maps the offending dataset_id to ``{"error": "..."}``. Clients
|
|
2552
|
+
* should check each entry for the ``error`` key.
|
|
2553
|
+
*/
|
|
2554
|
+
export const getTileTokensBatchTilesTokensPost = (options) => (options.client ?? client).post({
|
|
2555
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2556
|
+
url: '/tiles/tokens/',
|
|
2557
|
+
...options,
|
|
2558
|
+
headers: {
|
|
2559
|
+
'Content-Type': 'application/json',
|
|
2560
|
+
...options.headers
|
|
2561
|
+
}
|
|
2562
|
+
});
|
|
2563
|
+
/**
|
|
2564
|
+
* Tile Endpoint
|
|
2565
|
+
*
|
|
2566
|
+
* Serve a vector tile as gzipped MVT binary.
|
|
2567
|
+
*
|
|
2568
|
+
* URL pattern: /tiles/data.{table_name}/{z}/{x}/{y}.pbf
|
|
2569
|
+
*
|
|
2570
|
+
* Non-public datasets require valid HMAC signature params (sig, exp, scope).
|
|
2571
|
+
* Public datasets can be accessed without any signature.
|
|
2572
|
+
*/
|
|
2573
|
+
export const tileEndpointTilesTablePathZXYPbfGet = (options) => (options.client ?? client).get({ url: '/tiles/{table_path}/{z}/{x}/{y}.pbf', ...options });
|
|
2574
|
+
//# sourceMappingURL=sdk.gen.js.map
|