@geolens/sdk 1.16.1 → 1.17.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 +37 -1
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +64 -0
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +168 -0
- package/dist/client/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4620,6 +4620,34 @@ export type InfrastructureResponse = {
|
|
|
4620
4620
|
[key: string]: ProviderHealth;
|
|
4621
4621
|
};
|
|
4622
4622
|
};
|
|
4623
|
+
/**
|
|
4624
|
+
* JobCancelResponse
|
|
4625
|
+
*
|
|
4626
|
+
* Outcome of ``POST /jobs/{id}/cancel`` (#1677).
|
|
4627
|
+
*
|
|
4628
|
+
* ``run_id`` is the ``dataset_refresh_runs`` row this cancel finalized, when
|
|
4629
|
+
* the job had one bound (refreshes and reuploads do; plain imports don't).
|
|
4630
|
+
* ``already`` is True when the job was cancelled before this request — the
|
|
4631
|
+
* repeat is idempotent and nothing was written.
|
|
4632
|
+
*/
|
|
4633
|
+
export type JobCancelResponse = {
|
|
4634
|
+
/**
|
|
4635
|
+
* Id
|
|
4636
|
+
*/
|
|
4637
|
+
id: string;
|
|
4638
|
+
/**
|
|
4639
|
+
* Status
|
|
4640
|
+
*/
|
|
4641
|
+
status: 'cancelled';
|
|
4642
|
+
/**
|
|
4643
|
+
* Run Id
|
|
4644
|
+
*/
|
|
4645
|
+
run_id: string | null;
|
|
4646
|
+
/**
|
|
4647
|
+
* Already
|
|
4648
|
+
*/
|
|
4649
|
+
already?: boolean;
|
|
4650
|
+
};
|
|
4623
4651
|
/**
|
|
4624
4652
|
* JobStatusResponse
|
|
4625
4653
|
*/
|
|
@@ -10132,6 +10160,29 @@ export type UploadResponse = {
|
|
|
10132
10160
|
*/
|
|
10133
10161
|
message: string;
|
|
10134
10162
|
};
|
|
10163
|
+
/**
|
|
10164
|
+
* UrlUploadRequest
|
|
10165
|
+
*
|
|
10166
|
+
* Request body for the URL variant of upload (feat #1705).
|
|
10167
|
+
*
|
|
10168
|
+
* The server fetches the file itself (SSRF-validated, size-capped) and
|
|
10169
|
+
* stages it exactly like a direct upload — preview and commit take over
|
|
10170
|
+
* unchanged.
|
|
10171
|
+
*/
|
|
10172
|
+
export type UrlUploadRequest = {
|
|
10173
|
+
/**
|
|
10174
|
+
* Url
|
|
10175
|
+
*
|
|
10176
|
+
* HTTP(S) URL of the file to import. The server validates the URL against SSRF, downloads it with the configured size cap, and stages it like a direct upload.
|
|
10177
|
+
*/
|
|
10178
|
+
url: string;
|
|
10179
|
+
/**
|
|
10180
|
+
* Filename
|
|
10181
|
+
*
|
|
10182
|
+
* Filename override for URLs whose path does not end in the actual file name (e.g. download links keyed by query id). Must carry an allowed extension. Defaults to the URL path's basename.
|
|
10183
|
+
*/
|
|
10184
|
+
filename?: string | null;
|
|
10185
|
+
};
|
|
10135
10186
|
/**
|
|
10136
10187
|
* UserCreate
|
|
10137
10188
|
*/
|
|
@@ -19730,6 +19781,66 @@ export type CompletePresignedUploadIngestUploadPresignedJobIdCompletePostRespons
|
|
|
19730
19781
|
200: UploadResponse;
|
|
19731
19782
|
};
|
|
19732
19783
|
export type CompletePresignedUploadIngestUploadPresignedJobIdCompletePostResponse = CompletePresignedUploadIngestUploadPresignedJobIdCompletePostResponses[keyof CompletePresignedUploadIngestUploadPresignedJobIdCompletePostResponses];
|
|
19784
|
+
export type UploadFromUrlIngestUploadUrlPostData = {
|
|
19785
|
+
body: UrlUploadRequest;
|
|
19786
|
+
path?: never;
|
|
19787
|
+
query?: never;
|
|
19788
|
+
url: '/ingest/upload/url';
|
|
19789
|
+
};
|
|
19790
|
+
export type UploadFromUrlIngestUploadUrlPostErrors = {
|
|
19791
|
+
/**
|
|
19792
|
+
* Bad request — invalid payload
|
|
19793
|
+
*/
|
|
19794
|
+
400: ProblemDetail;
|
|
19795
|
+
/**
|
|
19796
|
+
* Unauthorized — missing or invalid credentials
|
|
19797
|
+
*/
|
|
19798
|
+
401: ProblemDetail;
|
|
19799
|
+
/**
|
|
19800
|
+
* Forbidden — caller lacks write access
|
|
19801
|
+
*/
|
|
19802
|
+
403: ProblemDetail;
|
|
19803
|
+
/**
|
|
19804
|
+
* Not found
|
|
19805
|
+
*/
|
|
19806
|
+
404: ProblemDetail;
|
|
19807
|
+
/**
|
|
19808
|
+
* Conflict — resource state prevents the operation
|
|
19809
|
+
*/
|
|
19810
|
+
409: ProblemDetail;
|
|
19811
|
+
/**
|
|
19812
|
+
* Payload too large
|
|
19813
|
+
*/
|
|
19814
|
+
413: ProblemDetail;
|
|
19815
|
+
/**
|
|
19816
|
+
* Validation error
|
|
19817
|
+
*/
|
|
19818
|
+
422: ProblemDetail;
|
|
19819
|
+
/**
|
|
19820
|
+
* Too many requests — retry after the advertised interval
|
|
19821
|
+
*/
|
|
19822
|
+
429: ProblemDetail;
|
|
19823
|
+
/**
|
|
19824
|
+
* Internal server error
|
|
19825
|
+
*/
|
|
19826
|
+
500: ProblemDetail;
|
|
19827
|
+
/**
|
|
19828
|
+
* Bad gateway — an upstream provider failed
|
|
19829
|
+
*/
|
|
19830
|
+
502: ProblemDetail;
|
|
19831
|
+
/**
|
|
19832
|
+
* Service unavailable — the database could not serve the request
|
|
19833
|
+
*/
|
|
19834
|
+
503: ProblemDetail;
|
|
19835
|
+
};
|
|
19836
|
+
export type UploadFromUrlIngestUploadUrlPostError = UploadFromUrlIngestUploadUrlPostErrors[keyof UploadFromUrlIngestUploadUrlPostErrors];
|
|
19837
|
+
export type UploadFromUrlIngestUploadUrlPostResponses = {
|
|
19838
|
+
/**
|
|
19839
|
+
* Successful Response
|
|
19840
|
+
*/
|
|
19841
|
+
201: UploadResponse;
|
|
19842
|
+
};
|
|
19843
|
+
export type UploadFromUrlIngestUploadUrlPostResponse = UploadFromUrlIngestUploadUrlPostResponses[keyof UploadFromUrlIngestUploadUrlPostResponses];
|
|
19733
19844
|
export type CreateVrtIngestVrtCreatePostData = {
|
|
19734
19845
|
body: VrtCreateRequest;
|
|
19735
19846
|
path?: never;
|
|
@@ -20056,6 +20167,63 @@ export type GetJobStatusJobsJobIdGetResponses = {
|
|
|
20056
20167
|
200: JobStatusResponse;
|
|
20057
20168
|
};
|
|
20058
20169
|
export type GetJobStatusJobsJobIdGetResponse = GetJobStatusJobsJobIdGetResponses[keyof GetJobStatusJobsJobIdGetResponses];
|
|
20170
|
+
export type CancelJobJobsJobIdCancelPostData = {
|
|
20171
|
+
body?: never;
|
|
20172
|
+
path: {
|
|
20173
|
+
/**
|
|
20174
|
+
* Job Id
|
|
20175
|
+
*/
|
|
20176
|
+
job_id: string;
|
|
20177
|
+
};
|
|
20178
|
+
query?: never;
|
|
20179
|
+
url: '/jobs/{job_id}/cancel';
|
|
20180
|
+
};
|
|
20181
|
+
export type CancelJobJobsJobIdCancelPostErrors = {
|
|
20182
|
+
/**
|
|
20183
|
+
* Bad request — invalid query parameters or payload
|
|
20184
|
+
*/
|
|
20185
|
+
400: ProblemDetail;
|
|
20186
|
+
/**
|
|
20187
|
+
* Unauthorized — missing or invalid credentials
|
|
20188
|
+
*/
|
|
20189
|
+
401: ProblemDetail;
|
|
20190
|
+
/**
|
|
20191
|
+
* Forbidden — caller lacks access to this resource
|
|
20192
|
+
*/
|
|
20193
|
+
403: ProblemDetail;
|
|
20194
|
+
/**
|
|
20195
|
+
* Not found
|
|
20196
|
+
*/
|
|
20197
|
+
404: ProblemDetail;
|
|
20198
|
+
/**
|
|
20199
|
+
* Conflict — resource state prevents the operation
|
|
20200
|
+
*/
|
|
20201
|
+
409: ProblemDetail;
|
|
20202
|
+
/**
|
|
20203
|
+
* Validation error
|
|
20204
|
+
*/
|
|
20205
|
+
422: ProblemDetail;
|
|
20206
|
+
/**
|
|
20207
|
+
* Too many requests — retry after the advertised interval
|
|
20208
|
+
*/
|
|
20209
|
+
429: ProblemDetail;
|
|
20210
|
+
/**
|
|
20211
|
+
* Internal server error
|
|
20212
|
+
*/
|
|
20213
|
+
500: ProblemDetail;
|
|
20214
|
+
/**
|
|
20215
|
+
* Service unavailable — the database could not serve the request
|
|
20216
|
+
*/
|
|
20217
|
+
503: ProblemDetail;
|
|
20218
|
+
};
|
|
20219
|
+
export type CancelJobJobsJobIdCancelPostError = CancelJobJobsJobIdCancelPostErrors[keyof CancelJobJobsJobIdCancelPostErrors];
|
|
20220
|
+
export type CancelJobJobsJobIdCancelPostResponses = {
|
|
20221
|
+
/**
|
|
20222
|
+
* Successful Response
|
|
20223
|
+
*/
|
|
20224
|
+
200: JobCancelResponse;
|
|
20225
|
+
};
|
|
20226
|
+
export type CancelJobJobsJobIdCancelPostResponse = CancelJobJobsJobIdCancelPostResponses[keyof CancelJobJobsJobIdCancelPostResponses];
|
|
20059
20227
|
export type RetryJobJobsJobIdRetryPostData = {
|
|
20060
20228
|
body?: never;
|
|
20061
20229
|
path: {
|