@geolens/sdk 1.11.0 → 1.12.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/dist/client/index.d.ts +2 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/sdk.gen.d.ts +12 -1
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +27 -0
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +113 -11
- package/dist/client/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2101,7 +2101,7 @@ export type CommitRequest = {
|
|
|
2101
2101
|
/**
|
|
2102
2102
|
* Srid Override
|
|
2103
2103
|
*
|
|
2104
|
-
* EPSG code to use when source CRS is missing or incorrect.
|
|
2104
|
+
* EPSG code to use when the source CRS is missing or incorrect. Assigns (relabels) the CRS the source is read under rather than reprojecting from it: raster pixel values are unchanged, and vector geometries are reprojected to EPSG:4326 from the assigned CRS as usual.
|
|
2105
2105
|
*/
|
|
2106
2106
|
srid_override?: number | null;
|
|
2107
2107
|
/**
|
|
@@ -2938,7 +2938,7 @@ export type DatasetRefreshRunResponse = {
|
|
|
2938
2938
|
/**
|
|
2939
2939
|
* Origin Kind
|
|
2940
2940
|
*
|
|
2941
|
-
* upload, postgis, service, stac, or raster
|
|
2941
|
+
* The run's execution door, not the dataset's origin: upload, postgis, service, stac, or raster. The two can visibly diverge; for example a STAC-imported raster's pending or failed replace run is recorded 'upload' while the dataset's origin stays 'stac' until the replace succeeds. 'raster' itself is reserved for a future, distinct raster-replace door label, with today's raster-replace runs recorded 'upload'.
|
|
2942
2942
|
*/
|
|
2943
2943
|
origin_kind: string;
|
|
2944
2944
|
/**
|
|
@@ -8126,6 +8126,56 @@ export type SseToolStartEvent = {
|
|
|
8126
8126
|
*/
|
|
8127
8127
|
label: string;
|
|
8128
8128
|
};
|
|
8129
|
+
/**
|
|
8130
|
+
* SandboxQueryRequest
|
|
8131
|
+
*
|
|
8132
|
+
* One read-only SELECT plus its mandatory table scope.
|
|
8133
|
+
*/
|
|
8134
|
+
export type SandboxQueryRequest = {
|
|
8135
|
+
/**
|
|
8136
|
+
* Sql
|
|
8137
|
+
*
|
|
8138
|
+
* A single SELECT statement over `data.*` tables.
|
|
8139
|
+
*/
|
|
8140
|
+
sql: string;
|
|
8141
|
+
/**
|
|
8142
|
+
* Restrict Tables
|
|
8143
|
+
*
|
|
8144
|
+
* Table names (without the `data.` prefix) the query may touch. Required and non-empty; intersected with your access — it can only narrow what you already see, never widen it.
|
|
8145
|
+
*/
|
|
8146
|
+
restrict_tables: Array<string>;
|
|
8147
|
+
/**
|
|
8148
|
+
* Row Limit
|
|
8149
|
+
*
|
|
8150
|
+
* Maximum rows to return.
|
|
8151
|
+
*/
|
|
8152
|
+
row_limit?: number;
|
|
8153
|
+
};
|
|
8154
|
+
/**
|
|
8155
|
+
* SandboxResult
|
|
8156
|
+
*
|
|
8157
|
+
* Structured result from sandbox query execution.
|
|
8158
|
+
*
|
|
8159
|
+
* Uses list-of-lists for rows (not list-of-dicts) for serialization performance.
|
|
8160
|
+
*/
|
|
8161
|
+
export type SandboxResult = {
|
|
8162
|
+
/**
|
|
8163
|
+
* Rows
|
|
8164
|
+
*/
|
|
8165
|
+
rows: Array<Array<unknown>>;
|
|
8166
|
+
/**
|
|
8167
|
+
* Columns
|
|
8168
|
+
*/
|
|
8169
|
+
columns: Array<string>;
|
|
8170
|
+
/**
|
|
8171
|
+
* Row Count
|
|
8172
|
+
*/
|
|
8173
|
+
row_count: number;
|
|
8174
|
+
/**
|
|
8175
|
+
* Truncated
|
|
8176
|
+
*/
|
|
8177
|
+
truncated: boolean;
|
|
8178
|
+
};
|
|
8129
8179
|
/**
|
|
8130
8180
|
* SavedSearchCreate
|
|
8131
8181
|
*
|
|
@@ -8672,11 +8722,15 @@ export type SharedMapResponse = {
|
|
|
8672
8722
|
*
|
|
8673
8723
|
* Result of one on-demand origin probe (ADR-002, #1222).
|
|
8674
8724
|
*
|
|
8675
|
-
*
|
|
8676
|
-
*
|
|
8677
|
-
*
|
|
8678
|
-
*
|
|
8679
|
-
*
|
|
8725
|
+
* Shares its first three words with ``VrtSourceHealth.status``, so the UI
|
|
8726
|
+
* renders one legend across VRT members and standalone origins.
|
|
8727
|
+
* ``VrtSourceHealth`` carries a fourth, VRT-specific value, ``stale``
|
|
8728
|
+
* (fix(#1221)): it means a member's raster was replaced after the parent
|
|
8729
|
+
* VRT was last built, and it does not apply to a single-origin probe. This
|
|
8730
|
+
* endpoint always probes, so it also never returns the OTHER fourth value,
|
|
8731
|
+
* ``unknown`` — the response-boundary projection of a never-determined NULL
|
|
8732
|
+
* column, which reaches clients through ``DatasetResponse``, not through
|
|
8733
|
+
* here.
|
|
8680
8734
|
*/
|
|
8681
8735
|
export type SourceHealthResponse = {
|
|
8682
8736
|
/**
|
|
@@ -15562,7 +15616,7 @@ export type GetSingleDatasetDatasetsDatasetIdGetErrors = {
|
|
|
15562
15616
|
*/
|
|
15563
15617
|
401: ProblemDetail;
|
|
15564
15618
|
/**
|
|
15565
|
-
* Forbidden — caller lacks
|
|
15619
|
+
* Forbidden — caller lacks access to this resource
|
|
15566
15620
|
*/
|
|
15567
15621
|
403: ProblemDetail;
|
|
15568
15622
|
/**
|
|
@@ -17315,7 +17369,7 @@ export type GetDatasetHistoryDatasetsDatasetIdHistoryGetErrors = {
|
|
|
17315
17369
|
*/
|
|
17316
17370
|
401: ProblemDetail;
|
|
17317
17371
|
/**
|
|
17318
|
-
* Forbidden — caller lacks
|
|
17372
|
+
* Forbidden — caller lacks access to this resource
|
|
17319
17373
|
*/
|
|
17320
17374
|
403: ProblemDetail;
|
|
17321
17375
|
/**
|
|
@@ -17445,7 +17499,7 @@ export type GetQuicklookDatasetsDatasetIdQuicklookGetErrors = {
|
|
|
17445
17499
|
*/
|
|
17446
17500
|
401: ProblemDetail;
|
|
17447
17501
|
/**
|
|
17448
|
-
* Forbidden — caller lacks
|
|
17502
|
+
* Forbidden — caller lacks access to this resource
|
|
17449
17503
|
*/
|
|
17450
17504
|
403: ProblemDetail;
|
|
17451
17505
|
/**
|
|
@@ -17570,7 +17624,7 @@ export type ListDatasetRefreshRunsDatasetsDatasetIdRefreshRunsGetErrors = {
|
|
|
17570
17624
|
*/
|
|
17571
17625
|
401: ProblemDetail;
|
|
17572
17626
|
/**
|
|
17573
|
-
* Forbidden — caller lacks
|
|
17627
|
+
* Forbidden — caller lacks access to this resource
|
|
17574
17628
|
*/
|
|
17575
17629
|
403: ProblemDetail;
|
|
17576
17630
|
/**
|
|
@@ -22095,6 +22149,54 @@ export type VisibilityCheckEndpointMapsMapIdVisibilityCheckGetResponses = {
|
|
|
22095
22149
|
200: VisibilityCheckResponse;
|
|
22096
22150
|
};
|
|
22097
22151
|
export type VisibilityCheckEndpointMapsMapIdVisibilityCheckGetResponse = VisibilityCheckEndpointMapsMapIdVisibilityCheckGetResponses[keyof VisibilityCheckEndpointMapsMapIdVisibilityCheckGetResponses];
|
|
22152
|
+
export type SandboxQueryEndpointQueryPostData = {
|
|
22153
|
+
body: SandboxQueryRequest;
|
|
22154
|
+
path?: never;
|
|
22155
|
+
query?: never;
|
|
22156
|
+
url: '/query/';
|
|
22157
|
+
};
|
|
22158
|
+
export type SandboxQueryEndpointQueryPostErrors = {
|
|
22159
|
+
/**
|
|
22160
|
+
* Bad request — invalid query parameters or payload
|
|
22161
|
+
*/
|
|
22162
|
+
400: ProblemDetail;
|
|
22163
|
+
/**
|
|
22164
|
+
* Unauthorized — missing or invalid credentials
|
|
22165
|
+
*/
|
|
22166
|
+
401: ProblemDetail;
|
|
22167
|
+
/**
|
|
22168
|
+
* Forbidden — caller lacks access to this resource
|
|
22169
|
+
*/
|
|
22170
|
+
403: ProblemDetail;
|
|
22171
|
+
/**
|
|
22172
|
+
* Not found
|
|
22173
|
+
*/
|
|
22174
|
+
404: ProblemDetail;
|
|
22175
|
+
/**
|
|
22176
|
+
* Validation error
|
|
22177
|
+
*/
|
|
22178
|
+
422: ProblemDetail;
|
|
22179
|
+
/**
|
|
22180
|
+
* Too many requests — retry after the advertised interval
|
|
22181
|
+
*/
|
|
22182
|
+
429: ProblemDetail;
|
|
22183
|
+
/**
|
|
22184
|
+
* Internal server error
|
|
22185
|
+
*/
|
|
22186
|
+
500: ProblemDetail;
|
|
22187
|
+
/**
|
|
22188
|
+
* Service unavailable — the database could not serve the request
|
|
22189
|
+
*/
|
|
22190
|
+
503: ProblemDetail;
|
|
22191
|
+
};
|
|
22192
|
+
export type SandboxQueryEndpointQueryPostError = SandboxQueryEndpointQueryPostErrors[keyof SandboxQueryEndpointQueryPostErrors];
|
|
22193
|
+
export type SandboxQueryEndpointQueryPostResponses = {
|
|
22194
|
+
/**
|
|
22195
|
+
* Successful Response
|
|
22196
|
+
*/
|
|
22197
|
+
200: SandboxResult;
|
|
22198
|
+
};
|
|
22199
|
+
export type SandboxQueryEndpointQueryPostResponse = SandboxQueryEndpointQueryPostResponses[keyof SandboxQueryEndpointQueryPostResponses];
|
|
22098
22200
|
export type ListContactsEndpointRecordsRecordIdContactsGetData = {
|
|
22099
22201
|
body?: never;
|
|
22100
22202
|
path: {
|