@vertracloud/api-types 0.3.6 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,394 @@
1
+ import { ISODateString, RESTAPIWorkspaceQuery, APIPayload, SnowFlake } from '../../common/v1.js';
2
+ import { BlobVisibility, BlobContentDisposition, APIBlobRule, APIBlobDeleteResult, APIBlobRules, APIBlobCustomDomain, APIBlobDownload, APIBlobObject, APIBlobObjectList, APIBlobS3Credentials, APIBlobSharePublic, APIBlobShare, APIBlobStats, APIBlobUpload, APIBlobBatchResult, APIBlobUploadPart, APIBlobUploadToken } from '../../payloads/v1/blob.js';
3
+ import '../../payloads/v1/api-error.js';
4
+
5
+ /**
6
+ * Options shared by both ways of uploading. Defaults: `visibility: "private"`, `overwrite: false`,
7
+ * `random_suffix: false` (always `true` for an upload token without a fixed `path`).
8
+ */
9
+ interface RESTBlobObjectWriteOptions {
10
+ visibility?: BlobVisibility;
11
+ /** Replace an existing object at `path`. Without it a taken path returns `BLOB_OBJECT_ALREADY_EXISTS`. */
12
+ overwrite?: boolean;
13
+ /** Insert `-<10 random characters>` before the extension. */
14
+ random_suffix?: boolean;
15
+ /**
16
+ * When `path` is taken, save as `name-1.ext`, `name-2.ext`, … (the first free one) instead of returning
17
+ * `BLOB_OBJECT_ALREADY_EXISTS`. The object comes back with the final `path`. Cannot be combined with `overwrite`.
18
+ */
19
+ rename_on_conflict?: boolean;
20
+ cache_control?: string;
21
+ content_disposition?: BlobContentDisposition;
22
+ filename?: string;
23
+ expires_at?: ISODateString;
24
+ /**
25
+ * Hex SHA-256 of the file; a mismatch returns `BLOB_CHECKSUM_MISMATCH`. Only valid for the
26
+ * single-request upload and for a direct upload sent in one part: a multipart upload refuses it
27
+ * (`VALIDATION_ERROR`), because a SHA-256 of the whole object cannot be verified from separate parts.
28
+ */
29
+ checksum_sha256?: string;
30
+ }
31
+ /**
32
+ * `POST /v1/objects` — single-request upload (up to the plan's `max_simple_upload_bytes`). The
33
+ * body is `multipart/form-data` with one `file` field; options go in the query. Accepts an upload token.
34
+ *
35
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/upload
36
+ */
37
+ interface RESTPostAPIBlobObjectQuery extends RESTAPIWorkspaceQuery, RESTBlobObjectWriteOptions {
38
+ path: string;
39
+ /** JSON object, URL-encoded. */
40
+ metadata?: string;
41
+ }
42
+ /**
43
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/upload
44
+ */
45
+ type RESTPostAPIBlobObjectResponse = APIPayload<APIBlobObject>;
46
+ /**
47
+ * `POST /v1/uploads` — starts a direct upload (single or multipart, chosen by `size`). Accepts an upload token.
48
+ *
49
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/create
50
+ */
51
+ interface RESTPostAPIBlobUploadBody extends RESTBlobObjectWriteOptions {
52
+ path: string;
53
+ size: number;
54
+ metadata?: Record<string, string>;
55
+ }
56
+ type RESTPostAPIBlobUploadQuery = RESTAPIWorkspaceQuery;
57
+ /**
58
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/create
59
+ */
60
+ type RESTPostAPIBlobUploadResponse = APIPayload<APIBlobUpload>;
61
+ /** `GET /v1/uploads` — uploads still in progress. */
62
+ type RESTGetAPIBlobUploadsQuery = RESTAPIWorkspaceQuery;
63
+ /**
64
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/list
65
+ */
66
+ type RESTGetAPIBlobUploadsResponse = APIPayload<APIBlobUpload[]>;
67
+ /** `GET /v1/uploads/:upload_id` — status of one upload, to resume it. Accepts an upload token. */
68
+ type RESTGetAPIBlobUploadQuery = RESTAPIWorkspaceQuery;
69
+ /**
70
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/get
71
+ */
72
+ type RESTGetAPIBlobUploadResponse = APIPayload<APIBlobUpload>;
73
+ /**
74
+ * `POST /v1/uploads/:upload_id/parts` — URLs for up to 100 parts. Accepts an upload token.
75
+ *
76
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/parts
77
+ */
78
+ interface RESTPostAPIBlobUploadPartsBody {
79
+ part_numbers: number[];
80
+ }
81
+ type RESTPostAPIBlobUploadPartsQuery = RESTAPIWorkspaceQuery;
82
+ /**
83
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/parts
84
+ */
85
+ type RESTPostAPIBlobUploadPartsResponse = APIPayload<APIBlobUploadPart[]>;
86
+ /** `POST /v1/uploads/:upload_id/complete` — checks the parts and creates the object. Accepts an upload token. */
87
+ type RESTPostAPIBlobUploadCompleteQuery = RESTAPIWorkspaceQuery;
88
+ /**
89
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/complete
90
+ */
91
+ type RESTPostAPIBlobUploadCompleteResponse = APIPayload<APIBlobObject>;
92
+ /** `DELETE /v1/uploads/:upload_id` — aborts an upload; repeating it is not an error. Accepts an upload token. */
93
+ type RESTDeleteAPIBlobUploadQuery = RESTAPIWorkspaceQuery;
94
+ /**
95
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/abort
96
+ */
97
+ type RESTDeleteAPIBlobUploadResponse = APIPayload<null>;
98
+ /**
99
+ * `GET /v1/objects`.
100
+ *
101
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/list
102
+ */
103
+ interface RESTGetAPIBlobObjectsQuery extends RESTAPIWorkspaceQuery {
104
+ prefix?: string;
105
+ /** Group paths into folders at `/`. Omit it for a flat list. */
106
+ delimiter?: "/";
107
+ visibility?: BlobVisibility;
108
+ cursor?: string;
109
+ /** 1–1000. Default 100. */
110
+ limit?: number;
111
+ }
112
+ /**
113
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/list
114
+ */
115
+ type RESTGetAPIBlobObjectsResponse = APIPayload<APIBlobObjectList>;
116
+ /** `GET /v1/objects/:object_id`. */
117
+ type RESTGetAPIBlobObjectQuery = RESTAPIWorkspaceQuery;
118
+ /**
119
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/get
120
+ */
121
+ type RESTGetAPIBlobObjectResponse = APIPayload<APIBlobObject>;
122
+ /**
123
+ * Fields of an object that can change. `null` restores the default; a `null` metadata value removes that key.
124
+ *
125
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/update
126
+ */
127
+ interface RESTPatchAPIBlobObjectBody {
128
+ visibility?: BlobVisibility;
129
+ cache_control?: string | null;
130
+ content_disposition?: BlobContentDisposition | null;
131
+ filename?: string | null;
132
+ expires_at?: ISODateString | null;
133
+ metadata?: Record<string, string | null>;
134
+ }
135
+ /** `PATCH /v1/objects/:object_id`. */
136
+ type RESTPatchAPIBlobObjectQuery = RESTAPIWorkspaceQuery;
137
+ /**
138
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/update
139
+ */
140
+ type RESTPatchAPIBlobObjectResponse = APIPayload<APIBlobObject>;
141
+ /**
142
+ * `PATCH /v1/objects` — applies the same changes to up to 100 objects.
143
+ *
144
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/update-many
145
+ */
146
+ interface RESTPatchAPIBlobObjectsBody {
147
+ ids: SnowFlake[];
148
+ changes: RESTPatchAPIBlobObjectBody;
149
+ }
150
+ type RESTPatchAPIBlobObjectsQuery = RESTAPIWorkspaceQuery;
151
+ /**
152
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/update-many
153
+ */
154
+ type RESTPatchAPIBlobObjectsResponse = APIPayload<APIBlobBatchResult[]>;
155
+ /**
156
+ * `POST /v1/objects/copy` — copies or moves an object. A move keeps the `id`; a copy creates
157
+ * another object that counts toward storage.
158
+ *
159
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/copy
160
+ */
161
+ interface RESTPostAPIBlobObjectCopyBody {
162
+ source: SnowFlake;
163
+ path: string;
164
+ move?: boolean;
165
+ overwrite?: boolean;
166
+ random_suffix?: boolean;
167
+ visibility?: BlobVisibility;
168
+ }
169
+ type RESTPostAPIBlobObjectCopyQuery = RESTAPIWorkspaceQuery;
170
+ /**
171
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/copy
172
+ */
173
+ type RESTPostAPIBlobObjectCopyResponse = APIPayload<APIBlobObject>;
174
+ /** `DELETE /v1/objects/:object_id`. */
175
+ type RESTDeleteAPIBlobObjectQuery = RESTAPIWorkspaceQuery;
176
+ /**
177
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/delete
178
+ */
179
+ type RESTDeleteAPIBlobObjectResponse = APIPayload<null>;
180
+ /**
181
+ * `DELETE /v1/objects` — up to 1000 objects per call, by `ids` or by folder `prefix` (send one of them).
182
+ *
183
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/delete-many
184
+ */
185
+ type RESTDeleteAPIBlobObjectsBody = {
186
+ ids: SnowFlake[];
187
+ prefix?: never;
188
+ } | {
189
+ prefix: string;
190
+ ids?: never;
191
+ };
192
+ type RESTDeleteAPIBlobObjectsQuery = RESTAPIWorkspaceQuery;
193
+ /**
194
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/delete-many
195
+ */
196
+ type RESTDeleteAPIBlobObjectsResponse = APIPayload<APIBlobDeleteResult>;
197
+ /**
198
+ * `GET /v1/objects/:object_id/download` — temporary download link; it cannot be revoked. With
199
+ * `redirect` true (default) the response is a `302` to the link; with `false` it is `RESTGetAPIBlobObjectDownloadResponse`.
200
+ *
201
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/download
202
+ */
203
+ interface RESTGetAPIBlobObjectDownloadQuery extends RESTAPIWorkspaceQuery {
204
+ /** Seconds, 60–86400. Default 3600. */
205
+ expires_in?: number;
206
+ disposition?: BlobContentDisposition;
207
+ filename?: string;
208
+ redirect?: boolean;
209
+ }
210
+ /**
211
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/download
212
+ */
213
+ type RESTGetAPIBlobObjectDownloadResponse = APIPayload<APIBlobDownload>;
214
+ /**
215
+ * `POST /v1/shares` — responds `201`.
216
+ *
217
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/shares/create
218
+ */
219
+ interface RESTPostAPIBlobShareBody {
220
+ object_id: SnowFlake;
221
+ /** Seconds, 60 to 30 days. Default 24 hours. */
222
+ expires_in?: number;
223
+ /** 1–10000. */
224
+ max_downloads?: number;
225
+ /** 8–128 characters; plan-dependent. */
226
+ password?: string;
227
+ }
228
+ type RESTPostAPIBlobShareQuery = RESTAPIWorkspaceQuery;
229
+ /**
230
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/shares/create
231
+ */
232
+ type RESTPostAPIBlobShareResponse = APIPayload<APIBlobShare>;
233
+ /**
234
+ * `GET /v1/shares`.
235
+ *
236
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/shares/list
237
+ */
238
+ interface RESTGetAPIBlobSharesQuery extends RESTAPIWorkspaceQuery {
239
+ object_id?: SnowFlake;
240
+ }
241
+ /**
242
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/shares/list
243
+ */
244
+ type RESTGetAPIBlobSharesResponse = APIPayload<APIBlobShare[]>;
245
+ /** `DELETE /v1/shares/:share_id` — revokes the share. */
246
+ type RESTDeleteAPIBlobShareQuery = RESTAPIWorkspaceQuery;
247
+ /**
248
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/shares/revoke
249
+ */
250
+ type RESTDeleteAPIBlobShareResponse = APIPayload<null>;
251
+ /** `GET /v1/shares/public/:token` — no authentication; used by the share page. `BLOB_SHARE_NOT_FOUND` / `BLOB_SHARE_EXHAUSTED`. */
252
+ type RESTGetAPIBlobSharePublicResponse = APIPayload<APIBlobSharePublic>;
253
+ /** `POST /v1/shares/public/:token/download` — no authentication. Counts one download and returns a temporary link. A wrong password returns `BLOB_SHARE_PASSWORD_INVALID` (rate limited). */
254
+ interface RESTPostAPIBlobSharePublicDownloadBody {
255
+ password?: string;
256
+ }
257
+ type RESTPostAPIBlobSharePublicDownloadResponse = APIPayload<APIBlobDownload>;
258
+ /** Rule fields a client sends; `prefix` and `created_at` are not part of the body, `active_from` is set by the platform. */
259
+ type RESTBlobRuleInput = Omit<APIBlobRule, "prefix" | "created_at" | "active_from">;
260
+ /** `GET /v1/rules`. */
261
+ type RESTGetAPIBlobRulesQuery = RESTAPIWorkspaceQuery;
262
+ /**
263
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/get
264
+ */
265
+ type RESTGetAPIBlobRulesResponse = APIPayload<APIBlobRules>;
266
+ /**
267
+ * `PUT /v1/rules` — replaces the whole list. Requires the `If-Match` header with the `etag` of the list you read. Returns the saved list and its new `etag`.
268
+ *
269
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/replace
270
+ */
271
+ interface RESTPutAPIBlobRulesBody {
272
+ rules: (RESTBlobRuleInput & {
273
+ prefix: string;
274
+ })[];
275
+ }
276
+ type RESTPutAPIBlobRulesQuery = RESTAPIWorkspaceQuery;
277
+ /**
278
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/replace
279
+ */
280
+ interface RESTPutAPIBlobRulesHeaders {
281
+ "If-Match": string;
282
+ }
283
+ /**
284
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/replace
285
+ */
286
+ type RESTPutAPIBlobRulesResponse = APIPayload<APIBlobRules>;
287
+ /**
288
+ * `PUT /v1/rules/:prefix` — creates or changes one rule (URL-encode the prefix). Returns the whole list and its new `etag`.
289
+ *
290
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/put
291
+ */
292
+ type RESTPutAPIBlobRuleBody = RESTBlobRuleInput;
293
+ type RESTPutAPIBlobRuleQuery = RESTAPIWorkspaceQuery;
294
+ /**
295
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/put
296
+ */
297
+ type RESTPutAPIBlobRuleResponse = APIPayload<APIBlobRules>;
298
+ /** `DELETE /v1/rules/:prefix` (URL-encode the prefix). Returns the remaining list and its new `etag`. */
299
+ type RESTDeleteAPIBlobRuleQuery = RESTAPIWorkspaceQuery;
300
+ /**
301
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/delete
302
+ */
303
+ type RESTDeleteAPIBlobRuleResponse = APIPayload<APIBlobRules>;
304
+ /** `GET /v1/stats`. */
305
+ type RESTGetAPIBlobStatsQuery = RESTAPIWorkspaceQuery;
306
+ /**
307
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/account/stats
308
+ */
309
+ type RESTGetAPIBlobStatsResponse = APIPayload<APIBlobStats>;
310
+ /**
311
+ * `POST /v1/upload-tokens` — creates a token that fixes every constraint below. Send `path` (one
312
+ * file) or `prefix` (any file under a folder, random suffix forced). It stops working when the
313
+ * API key that created it is revoked.
314
+ *
315
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/account/upload-tokens
316
+ */
317
+ interface RESTPostAPIBlobUploadTokenBody {
318
+ path?: string;
319
+ prefix?: string;
320
+ visibility?: BlobVisibility;
321
+ max_size?: number;
322
+ /** 1–20 extensions, lowercase, without the dot. */
323
+ allowed_extensions?: string[];
324
+ cache_control?: string;
325
+ content_disposition?: BlobContentDisposition;
326
+ expires_at?: ISODateString;
327
+ metadata?: Record<string, string>;
328
+ /**
329
+ * Allow the token to replace an existing object. Default `false`: a token without `overwrite: true`
330
+ * never replaces an object, even if the upload asks for `overwrite`.
331
+ */
332
+ overwrite?: boolean;
333
+ /** Seconds the token stays valid, 60–3600. Default 900. */
334
+ expires_in?: number;
335
+ /** 1–100. Default 1. */
336
+ max_uses?: number;
337
+ }
338
+ type RESTPostAPIBlobUploadTokenQuery = RESTAPIWorkspaceQuery;
339
+ /**
340
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/account/upload-tokens
341
+ */
342
+ type RESTPostAPIBlobUploadTokenResponse = APIPayload<APIBlobUploadToken>;
343
+ /** `GET /v1/s3/credentials` — read-only access when the API key only has `blob:read`. Limited to 10 calls per hour. */
344
+ type RESTGetAPIBlobS3CredentialsQuery = RESTAPIWorkspaceQuery;
345
+ /**
346
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/account/s3-credentials
347
+ */
348
+ type RESTGetAPIBlobS3CredentialsResponse = APIPayload<APIBlobS3Credentials>;
349
+ /** `GET /v1/domains`. */
350
+ type RESTGetAPIBlobDomainsQuery = RESTAPIWorkspaceQuery;
351
+ /**
352
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/list
353
+ */
354
+ type RESTGetAPIBlobDomainsResponse = APIPayload<APIBlobCustomDomain[]>;
355
+ /**
356
+ * `POST /v1/domains` — responds `201`. Plan-dependent.
357
+ *
358
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/add
359
+ */
360
+ interface RESTPostAPIBlobDomainBody {
361
+ hostname: string;
362
+ prefix?: string;
363
+ /** Defaults to `false`. See {@link APIBlobCustomDomain.web_content}. */
364
+ web_content?: boolean;
365
+ }
366
+ type RESTPostAPIBlobDomainQuery = RESTAPIWorkspaceQuery;
367
+ /**
368
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/add
369
+ */
370
+ type RESTPostAPIBlobDomainResponse = APIPayload<APIBlobCustomDomain>;
371
+ /** `POST /v1/domains/:domain_id/verify` — checks the ownership record, the CNAME and the certificate again. */
372
+ type RESTPostAPIBlobDomainVerifyQuery = RESTAPIWorkspaceQuery;
373
+ /**
374
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/verify
375
+ */
376
+ type RESTPostAPIBlobDomainVerifyResponse = APIPayload<APIBlobCustomDomain>;
377
+ /** `PATCH /v1/domains/:domain_id`. */
378
+ interface RESTPatchAPIBlobDomainBody {
379
+ /** See {@link APIBlobCustomDomain.web_content}. Takes effect within about a minute. */
380
+ web_content?: boolean;
381
+ }
382
+ type RESTPatchAPIBlobDomainQuery = RESTAPIWorkspaceQuery;
383
+ /**
384
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/update
385
+ */
386
+ type RESTPatchAPIBlobDomainResponse = APIPayload<APIBlobCustomDomain>;
387
+ /** `DELETE /v1/domains/:domain_id`. */
388
+ type RESTDeleteAPIBlobDomainQuery = RESTAPIWorkspaceQuery;
389
+ /**
390
+ * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/delete
391
+ */
392
+ type RESTDeleteAPIBlobDomainResponse = APIPayload<null>;
393
+
394
+ export type { RESTBlobObjectWriteOptions, RESTBlobRuleInput, RESTDeleteAPIBlobDomainQuery, RESTDeleteAPIBlobDomainResponse, RESTDeleteAPIBlobObjectQuery, RESTDeleteAPIBlobObjectResponse, RESTDeleteAPIBlobObjectsBody, RESTDeleteAPIBlobObjectsQuery, RESTDeleteAPIBlobObjectsResponse, RESTDeleteAPIBlobRuleQuery, RESTDeleteAPIBlobRuleResponse, RESTDeleteAPIBlobShareQuery, RESTDeleteAPIBlobShareResponse, RESTDeleteAPIBlobUploadQuery, RESTDeleteAPIBlobUploadResponse, RESTGetAPIBlobDomainsQuery, RESTGetAPIBlobDomainsResponse, RESTGetAPIBlobObjectDownloadQuery, RESTGetAPIBlobObjectDownloadResponse, RESTGetAPIBlobObjectQuery, RESTGetAPIBlobObjectResponse, RESTGetAPIBlobObjectsQuery, RESTGetAPIBlobObjectsResponse, RESTGetAPIBlobRulesQuery, RESTGetAPIBlobRulesResponse, RESTGetAPIBlobS3CredentialsQuery, RESTGetAPIBlobS3CredentialsResponse, RESTGetAPIBlobSharePublicResponse, RESTGetAPIBlobSharesQuery, RESTGetAPIBlobSharesResponse, RESTGetAPIBlobStatsQuery, RESTGetAPIBlobStatsResponse, RESTGetAPIBlobUploadQuery, RESTGetAPIBlobUploadResponse, RESTGetAPIBlobUploadsQuery, RESTGetAPIBlobUploadsResponse, RESTPatchAPIBlobDomainBody, RESTPatchAPIBlobDomainQuery, RESTPatchAPIBlobDomainResponse, RESTPatchAPIBlobObjectBody, RESTPatchAPIBlobObjectQuery, RESTPatchAPIBlobObjectResponse, RESTPatchAPIBlobObjectsBody, RESTPatchAPIBlobObjectsQuery, RESTPatchAPIBlobObjectsResponse, RESTPostAPIBlobDomainBody, RESTPostAPIBlobDomainQuery, RESTPostAPIBlobDomainResponse, RESTPostAPIBlobDomainVerifyQuery, RESTPostAPIBlobDomainVerifyResponse, RESTPostAPIBlobObjectCopyBody, RESTPostAPIBlobObjectCopyQuery, RESTPostAPIBlobObjectCopyResponse, RESTPostAPIBlobObjectQuery, RESTPostAPIBlobObjectResponse, RESTPostAPIBlobShareBody, RESTPostAPIBlobSharePublicDownloadBody, RESTPostAPIBlobSharePublicDownloadResponse, RESTPostAPIBlobShareQuery, RESTPostAPIBlobShareResponse, RESTPostAPIBlobUploadBody, RESTPostAPIBlobUploadCompleteQuery, RESTPostAPIBlobUploadCompleteResponse, RESTPostAPIBlobUploadPartsBody, RESTPostAPIBlobUploadPartsQuery, RESTPostAPIBlobUploadPartsResponse, RESTPostAPIBlobUploadQuery, RESTPostAPIBlobUploadResponse, RESTPostAPIBlobUploadTokenBody, RESTPostAPIBlobUploadTokenQuery, RESTPostAPIBlobUploadTokenResponse, RESTPutAPIBlobRuleBody, RESTPutAPIBlobRuleQuery, RESTPutAPIBlobRuleResponse, RESTPutAPIBlobRulesBody, RESTPutAPIBlobRulesHeaders, RESTPutAPIBlobRulesQuery, RESTPutAPIBlobRulesResponse };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // rest/v1/blob.ts
17
+ var blob_exports = {};
18
+ module.exports = __toCommonJS(blob_exports);
19
+ //# sourceMappingURL=blob.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["blob.ts"],"sourcesContent":["import type {\n\tAPIBlobBatchResult,\n\tAPIBlobCustomDomain,\n\tAPIBlobDeleteResult,\n\tAPIBlobDownload,\n\tAPIBlobObject,\n\tAPIBlobObjectList,\n\tAPIBlobRule,\n\tAPIBlobRules,\n\tAPIBlobS3Credentials,\n\tAPIBlobShare,\n\tAPIBlobSharePublic,\n\tAPIBlobStats,\n\tAPIBlobUpload,\n\tAPIBlobUploadPart,\n\tAPIBlobUploadToken,\n\tAPIPayload,\n\tBlobContentDisposition,\n\tBlobVisibility,\n\tISODateString,\n\tRESTAPIWorkspaceQuery,\n\tSnowFlake,\n} from \"../../v1\";\n\n// Blob Storage routes are served at `https://blob.vertracloud.app/v1/...`. Every route accepts\n// `workspace_id` (query) to act on the blob of a workspace owner. Authenticate with a dashboard\n// session, an API key (`blob:read` / `blob:write`) or, on the upload routes only, an upload token.\n\n/**\n * Options shared by both ways of uploading. Defaults: `visibility: \"private\"`, `overwrite: false`,\n * `random_suffix: false` (always `true` for an upload token without a fixed `path`).\n */\nexport interface RESTBlobObjectWriteOptions {\n\tvisibility?: BlobVisibility;\n\t/** Replace an existing object at `path`. Without it a taken path returns `BLOB_OBJECT_ALREADY_EXISTS`. */\n\toverwrite?: boolean;\n\t/** Insert `-<10 random characters>` before the extension. */\n\trandom_suffix?: boolean;\n\t/**\n\t * When `path` is taken, save as `name-1.ext`, `name-2.ext`, … (the first free one) instead of returning\n\t * `BLOB_OBJECT_ALREADY_EXISTS`. The object comes back with the final `path`. Cannot be combined with `overwrite`.\n\t */\n\trename_on_conflict?: boolean;\n\tcache_control?: string;\n\tcontent_disposition?: BlobContentDisposition;\n\tfilename?: string;\n\texpires_at?: ISODateString;\n\t/**\n\t * Hex SHA-256 of the file; a mismatch returns `BLOB_CHECKSUM_MISMATCH`. Only valid for the\n\t * single-request upload and for a direct upload sent in one part: a multipart upload refuses it\n\t * (`VALIDATION_ERROR`), because a SHA-256 of the whole object cannot be verified from separate parts.\n\t */\n\tchecksum_sha256?: string;\n}\n\n// ---------------------------------------------------------------------------\n// Upload\n// ---------------------------------------------------------------------------\n\n/**\n * `POST /v1/objects` — single-request upload (up to the plan's `max_simple_upload_bytes`). The\n * body is `multipart/form-data` with one `file` field; options go in the query. Accepts an upload token.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/upload\n */\nexport interface RESTPostAPIBlobObjectQuery extends RESTAPIWorkspaceQuery, RESTBlobObjectWriteOptions {\n\tpath: string;\n\t/** JSON object, URL-encoded. */\n\tmetadata?: string;\n}\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/upload\n */\nexport type RESTPostAPIBlobObjectResponse = APIPayload<APIBlobObject>;\n\n/**\n * `POST /v1/uploads` — starts a direct upload (single or multipart, chosen by `size`). Accepts an upload token.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/create\n */\nexport interface RESTPostAPIBlobUploadBody extends RESTBlobObjectWriteOptions {\n\tpath: string;\n\tsize: number;\n\tmetadata?: Record<string, string>;\n}\nexport type RESTPostAPIBlobUploadQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/create\n */\nexport type RESTPostAPIBlobUploadResponse = APIPayload<APIBlobUpload>;\n\n/** `GET /v1/uploads` — uploads still in progress. */\nexport type RESTGetAPIBlobUploadsQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/list\n */\nexport type RESTGetAPIBlobUploadsResponse = APIPayload<APIBlobUpload[]>;\n\n/** `GET /v1/uploads/:upload_id` — status of one upload, to resume it. Accepts an upload token. */\nexport type RESTGetAPIBlobUploadQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/get\n */\nexport type RESTGetAPIBlobUploadResponse = APIPayload<APIBlobUpload>;\n\n/**\n * `POST /v1/uploads/:upload_id/parts` — URLs for up to 100 parts. Accepts an upload token.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/parts\n */\nexport interface RESTPostAPIBlobUploadPartsBody {\n\tpart_numbers: number[];\n}\nexport type RESTPostAPIBlobUploadPartsQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/parts\n */\nexport type RESTPostAPIBlobUploadPartsResponse = APIPayload<APIBlobUploadPart[]>;\n\n/** `POST /v1/uploads/:upload_id/complete` — checks the parts and creates the object. Accepts an upload token. */\nexport type RESTPostAPIBlobUploadCompleteQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/complete\n */\nexport type RESTPostAPIBlobUploadCompleteResponse = APIPayload<APIBlobObject>;\n\n/** `DELETE /v1/uploads/:upload_id` — aborts an upload; repeating it is not an error. Accepts an upload token. */\nexport type RESTDeleteAPIBlobUploadQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/uploads/abort\n */\nexport type RESTDeleteAPIBlobUploadResponse = APIPayload<null>;\n\n// ---------------------------------------------------------------------------\n// Objects\n// ---------------------------------------------------------------------------\n\n/**\n * `GET /v1/objects`.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/list\n */\nexport interface RESTGetAPIBlobObjectsQuery extends RESTAPIWorkspaceQuery {\n\tprefix?: string;\n\t/** Group paths into folders at `/`. Omit it for a flat list. */\n\tdelimiter?: \"/\";\n\tvisibility?: BlobVisibility;\n\tcursor?: string;\n\t/** 1–1000. Default 100. */\n\tlimit?: number;\n}\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/list\n */\nexport type RESTGetAPIBlobObjectsResponse = APIPayload<APIBlobObjectList>;\n\n/** `GET /v1/objects/:object_id`. */\nexport type RESTGetAPIBlobObjectQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/get\n */\nexport type RESTGetAPIBlobObjectResponse = APIPayload<APIBlobObject>;\n\n/**\n * Fields of an object that can change. `null` restores the default; a `null` metadata value removes that key.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/update\n */\nexport interface RESTPatchAPIBlobObjectBody {\n\tvisibility?: BlobVisibility;\n\tcache_control?: string | null;\n\tcontent_disposition?: BlobContentDisposition | null;\n\tfilename?: string | null;\n\texpires_at?: ISODateString | null;\n\tmetadata?: Record<string, string | null>;\n}\n\n/** `PATCH /v1/objects/:object_id`. */\nexport type RESTPatchAPIBlobObjectQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/update\n */\nexport type RESTPatchAPIBlobObjectResponse = APIPayload<APIBlobObject>;\n\n/**\n * `PATCH /v1/objects` — applies the same changes to up to 100 objects.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/update-many\n */\nexport interface RESTPatchAPIBlobObjectsBody {\n\tids: SnowFlake[];\n\tchanges: RESTPatchAPIBlobObjectBody;\n}\nexport type RESTPatchAPIBlobObjectsQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/update-many\n */\nexport type RESTPatchAPIBlobObjectsResponse = APIPayload<APIBlobBatchResult[]>;\n\n/**\n * `POST /v1/objects/copy` — copies or moves an object. A move keeps the `id`; a copy creates\n * another object that counts toward storage.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/copy\n */\nexport interface RESTPostAPIBlobObjectCopyBody {\n\tsource: SnowFlake;\n\tpath: string;\n\tmove?: boolean;\n\toverwrite?: boolean;\n\trandom_suffix?: boolean;\n\tvisibility?: BlobVisibility;\n}\nexport type RESTPostAPIBlobObjectCopyQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/copy\n */\nexport type RESTPostAPIBlobObjectCopyResponse = APIPayload<APIBlobObject>;\n\n/** `DELETE /v1/objects/:object_id`. */\nexport type RESTDeleteAPIBlobObjectQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/delete\n */\nexport type RESTDeleteAPIBlobObjectResponse = APIPayload<null>;\n\n/**\n * `DELETE /v1/objects` — up to 1000 objects per call, by `ids` or by folder `prefix` (send one of them).\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/delete-many\n */\nexport type RESTDeleteAPIBlobObjectsBody = { ids: SnowFlake[]; prefix?: never } | { prefix: string; ids?: never };\nexport type RESTDeleteAPIBlobObjectsQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/delete-many\n */\nexport type RESTDeleteAPIBlobObjectsResponse = APIPayload<APIBlobDeleteResult>;\n\n/**\n * `GET /v1/objects/:object_id/download` — temporary download link; it cannot be revoked. With\n * `redirect` true (default) the response is a `302` to the link; with `false` it is `RESTGetAPIBlobObjectDownloadResponse`.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/download\n */\nexport interface RESTGetAPIBlobObjectDownloadQuery extends RESTAPIWorkspaceQuery {\n\t/** Seconds, 60–86400. Default 3600. */\n\texpires_in?: number;\n\tdisposition?: BlobContentDisposition;\n\tfilename?: string;\n\tredirect?: boolean;\n}\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/objects/download\n */\nexport type RESTGetAPIBlobObjectDownloadResponse = APIPayload<APIBlobDownload>;\n\n// ---------------------------------------------------------------------------\n// Shares\n// ---------------------------------------------------------------------------\n\n/**\n * `POST /v1/shares` — responds `201`.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/shares/create\n */\nexport interface RESTPostAPIBlobShareBody {\n\tobject_id: SnowFlake;\n\t/** Seconds, 60 to 30 days. Default 24 hours. */\n\texpires_in?: number;\n\t/** 1–10000. */\n\tmax_downloads?: number;\n\t/** 8–128 characters; plan-dependent. */\n\tpassword?: string;\n}\nexport type RESTPostAPIBlobShareQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/shares/create\n */\nexport type RESTPostAPIBlobShareResponse = APIPayload<APIBlobShare>;\n\n/**\n * `GET /v1/shares`.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/shares/list\n */\nexport interface RESTGetAPIBlobSharesQuery extends RESTAPIWorkspaceQuery {\n\tobject_id?: SnowFlake;\n}\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/shares/list\n */\nexport type RESTGetAPIBlobSharesResponse = APIPayload<APIBlobShare[]>;\n\n/** `DELETE /v1/shares/:share_id` — revokes the share. */\nexport type RESTDeleteAPIBlobShareQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/shares/revoke\n */\nexport type RESTDeleteAPIBlobShareResponse = APIPayload<null>;\n\n/** `GET /v1/shares/public/:token` — no authentication; used by the share page. `BLOB_SHARE_NOT_FOUND` / `BLOB_SHARE_EXHAUSTED`. */\nexport type RESTGetAPIBlobSharePublicResponse = APIPayload<APIBlobSharePublic>;\n\n/** `POST /v1/shares/public/:token/download` — no authentication. Counts one download and returns a temporary link. A wrong password returns `BLOB_SHARE_PASSWORD_INVALID` (rate limited). */\nexport interface RESTPostAPIBlobSharePublicDownloadBody {\n\tpassword?: string;\n}\nexport type RESTPostAPIBlobSharePublicDownloadResponse = APIPayload<APIBlobDownload>;\n\n// ---------------------------------------------------------------------------\n// Folder rules\n// ---------------------------------------------------------------------------\n\n/** Rule fields a client sends; `prefix` and `created_at` are not part of the body, `active_from` is set by the platform. */\nexport type RESTBlobRuleInput = Omit<APIBlobRule, \"prefix\" | \"created_at\" | \"active_from\">;\n\n/** `GET /v1/rules`. */\nexport type RESTGetAPIBlobRulesQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/get\n */\nexport type RESTGetAPIBlobRulesResponse = APIPayload<APIBlobRules>;\n\n/**\n * `PUT /v1/rules` — replaces the whole list. Requires the `If-Match` header with the `etag` of the list you read. Returns the saved list and its new `etag`.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/replace\n */\nexport interface RESTPutAPIBlobRulesBody {\n\trules: (RESTBlobRuleInput & { prefix: string })[];\n}\nexport type RESTPutAPIBlobRulesQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/replace\n */\nexport interface RESTPutAPIBlobRulesHeaders {\n\t\"If-Match\": string;\n}\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/replace\n */\nexport type RESTPutAPIBlobRulesResponse = APIPayload<APIBlobRules>;\n\n/**\n * `PUT /v1/rules/:prefix` — creates or changes one rule (URL-encode the prefix). Returns the whole list and its new `etag`.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/put\n */\nexport type RESTPutAPIBlobRuleBody = RESTBlobRuleInput;\nexport type RESTPutAPIBlobRuleQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/put\n */\nexport type RESTPutAPIBlobRuleResponse = APIPayload<APIBlobRules>;\n\n/** `DELETE /v1/rules/:prefix` (URL-encode the prefix). Returns the remaining list and its new `etag`. */\nexport type RESTDeleteAPIBlobRuleQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/rules/delete\n */\nexport type RESTDeleteAPIBlobRuleResponse = APIPayload<APIBlobRules>;\n\n// ---------------------------------------------------------------------------\n// Account, upload tokens, S3 and custom domains\n// ---------------------------------------------------------------------------\n\n/** `GET /v1/stats`. */\nexport type RESTGetAPIBlobStatsQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/account/stats\n */\nexport type RESTGetAPIBlobStatsResponse = APIPayload<APIBlobStats>;\n\n/**\n * `POST /v1/upload-tokens` — creates a token that fixes every constraint below. Send `path` (one\n * file) or `prefix` (any file under a folder, random suffix forced). It stops working when the\n * API key that created it is revoked.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/account/upload-tokens\n */\nexport interface RESTPostAPIBlobUploadTokenBody {\n\tpath?: string;\n\tprefix?: string;\n\tvisibility?: BlobVisibility;\n\tmax_size?: number;\n\t/** 1–20 extensions, lowercase, without the dot. */\n\tallowed_extensions?: string[];\n\tcache_control?: string;\n\tcontent_disposition?: BlobContentDisposition;\n\texpires_at?: ISODateString;\n\tmetadata?: Record<string, string>;\n\t/**\n\t * Allow the token to replace an existing object. Default `false`: a token without `overwrite: true`\n\t * never replaces an object, even if the upload asks for `overwrite`.\n\t */\n\toverwrite?: boolean;\n\t/** Seconds the token stays valid, 60–3600. Default 900. */\n\texpires_in?: number;\n\t/** 1–100. Default 1. */\n\tmax_uses?: number;\n}\nexport type RESTPostAPIBlobUploadTokenQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/account/upload-tokens\n */\nexport type RESTPostAPIBlobUploadTokenResponse = APIPayload<APIBlobUploadToken>;\n\n/** `GET /v1/s3/credentials` — read-only access when the API key only has `blob:read`. Limited to 10 calls per hour. */\nexport type RESTGetAPIBlobS3CredentialsQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/account/s3-credentials\n */\nexport type RESTGetAPIBlobS3CredentialsResponse = APIPayload<APIBlobS3Credentials>;\n\n/** `GET /v1/domains`. */\nexport type RESTGetAPIBlobDomainsQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/list\n */\nexport type RESTGetAPIBlobDomainsResponse = APIPayload<APIBlobCustomDomain[]>;\n\n/**\n * `POST /v1/domains` — responds `201`. Plan-dependent.\n *\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/add\n */\nexport interface RESTPostAPIBlobDomainBody {\n\thostname: string;\n\tprefix?: string;\n\t/** Defaults to `false`. See {@link APIBlobCustomDomain.web_content}. */\n\tweb_content?: boolean;\n}\nexport type RESTPostAPIBlobDomainQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/add\n */\nexport type RESTPostAPIBlobDomainResponse = APIPayload<APIBlobCustomDomain>;\n\n/** `POST /v1/domains/:domain_id/verify` — checks the ownership record, the CNAME and the certificate again. */\nexport type RESTPostAPIBlobDomainVerifyQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/verify\n */\nexport type RESTPostAPIBlobDomainVerifyResponse = APIPayload<APIBlobCustomDomain>;\n\n/** `PATCH /v1/domains/:domain_id`. */\nexport interface RESTPatchAPIBlobDomainBody {\n\t/** See {@link APIBlobCustomDomain.web_content}. Takes effect within about a minute. */\n\tweb_content?: boolean;\n}\nexport type RESTPatchAPIBlobDomainQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/update\n */\nexport type RESTPatchAPIBlobDomainResponse = APIPayload<APIBlobCustomDomain>;\n\n/** `DELETE /v1/domains/:domain_id`. */\nexport type RESTDeleteAPIBlobDomainQuery = RESTAPIWorkspaceQuery;\n\n/**\n * @see https://docs.vertracloud.app/api-reference/endpoint/blob/domains/delete\n */\nexport type RESTDeleteAPIBlobDomainResponse = APIPayload<null>;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=blob.mjs.map
@@ -2,6 +2,7 @@ export { RESTGetAPIActivitiesQuery, RESTGetAPIActivitiesResponse } from './activ
2
2
  export { RESTDeleteAPIUserApiKeyResponse, RESTGetAPIUserApiKeysResponse, RESTPatchAPIUserApiKeyBody, RESTPatchAPIUserApiKeyResponse, RESTPostAPIUserApiKeyCreateBody, RESTPostAPIUserApiKeyCreateResponse, RESTPostAPIUserApiKeyRotateResponse } from './api-key.js';
3
3
  export { RESTDeleteAPIApplicationCustomDomainResponse, RESTDeleteAPIApplicationEnvironmentResponse, RESTDeleteAPIApplicationFileBody, RESTDeleteAPIApplicationFileResponse, RESTDeleteAPIApplicationResponse, RESTDeleteAPIApplicationWebPublishResponse, RESTDeleteAPIApplicationWebhookResponse, RESTGetAPIApplicationCustomDomainResponse, RESTGetAPIApplicationDeploymentsResponse, RESTGetAPIApplicationDnsRecordsResponse, RESTGetAPIApplicationDownloadResponse, RESTGetAPIApplicationEnvironmentResponse, RESTGetAPIApplicationFileContentQuery, RESTGetAPIApplicationFileContentResponse, RESTGetAPIApplicationFileTreeResponse, RESTGetAPIApplicationFilesQuery, RESTGetAPIApplicationFilesResponse, RESTGetAPIApplicationLogsResponse, RESTGetAPIApplicationMetricsQuery, RESTGetAPIApplicationMetricsResponse, RESTGetAPIApplicationRealtimeQuery, RESTGetAPIApplicationRealtimeResponse, RESTGetAPIApplicationReleaseLogResponse, RESTGetAPIApplicationReleasesQuery, RESTGetAPIApplicationReleasesResponse, RESTGetAPIApplicationResponse, RESTGetAPIApplicationRollbackPreviewResponse, RESTGetAPIApplicationRuntimesResponse, RESTGetAPIApplicationStatusResponse, RESTGetAPIApplicationStatusShortResponse, RESTGetAPIApplicationWebhookUrlResponse, RESTPatchAPIApplicationFileMoveBody, RESTPatchAPIApplicationFileMoveResponse, RESTPatchAPIApplicationSubdomainBody, RESTPatchAPIApplicationSubdomainResponse, RESTPatchAPIApplicationUpdateConfigBody, RESTPatchAPIApplicationUpdateConfigResponse, RESTPostAPIApplicationCreateBody, RESTPostAPIApplicationCreateResponse, RESTPostAPIApplicationCustomDomainBody, RESTPostAPIApplicationCustomDomainResponse, RESTPostAPIApplicationEnvironmentBody, RESTPostAPIApplicationEnvironmentResponse, RESTPostAPIApplicationEnvironmentVariableBody, RESTPostAPIApplicationFileUploadBody, RESTPostAPIApplicationFileUploadQuery, RESTPostAPIApplicationFileUploadResponse, RESTPostAPIApplicationPurgeCacheBody, RESTPostAPIApplicationPurgeCacheResponse, RESTPostAPIApplicationRestartBody, RESTPostAPIApplicationRestartResponse, RESTPostAPIApplicationRollbackBody, RESTPostAPIApplicationRollbackResponse, RESTPostAPIApplicationScanBody, RESTPostAPIApplicationScanResponse, RESTPostAPIApplicationStartResponse, RESTPostAPIApplicationStopResponse, RESTPostAPIApplicationWebPublishBody, RESTPostAPIApplicationWebPublishResponse, RESTPostAPIApplicationWebhookCreateBody, RESTPostAPIApplicationWebhookCreateResponse, RESTPutAPIApplicationFileBody, RESTPutAPIApplicationFileResponse } from './application.js';
4
4
  export { RESTDeleteAPIBillingCardResponse, RESTGetAPIBillingCardsResponse, RESTGetAPIBillingDetailsResponse, RESTGetAPIBillingRenewalResponse, RESTPatchAPIBillingRenewalBody, RESTPatchAPIBillingRenewalResponse, RESTPostAPIBillingCardDefaultResponse, RESTPostAPIBillingCardSetupResponse, RESTPutAPIBillingDetailsBody, RESTPutAPIBillingDetailsResponse } from './billing.js';
5
+ export { RESTBlobObjectWriteOptions, RESTBlobRuleInput, RESTDeleteAPIBlobDomainQuery, RESTDeleteAPIBlobDomainResponse, RESTDeleteAPIBlobObjectQuery, RESTDeleteAPIBlobObjectResponse, RESTDeleteAPIBlobObjectsBody, RESTDeleteAPIBlobObjectsQuery, RESTDeleteAPIBlobObjectsResponse, RESTDeleteAPIBlobRuleQuery, RESTDeleteAPIBlobRuleResponse, RESTDeleteAPIBlobShareQuery, RESTDeleteAPIBlobShareResponse, RESTDeleteAPIBlobUploadQuery, RESTDeleteAPIBlobUploadResponse, RESTGetAPIBlobDomainsQuery, RESTGetAPIBlobDomainsResponse, RESTGetAPIBlobObjectDownloadQuery, RESTGetAPIBlobObjectDownloadResponse, RESTGetAPIBlobObjectQuery, RESTGetAPIBlobObjectResponse, RESTGetAPIBlobObjectsQuery, RESTGetAPIBlobObjectsResponse, RESTGetAPIBlobRulesQuery, RESTGetAPIBlobRulesResponse, RESTGetAPIBlobS3CredentialsQuery, RESTGetAPIBlobS3CredentialsResponse, RESTGetAPIBlobSharePublicResponse, RESTGetAPIBlobSharesQuery, RESTGetAPIBlobSharesResponse, RESTGetAPIBlobStatsQuery, RESTGetAPIBlobStatsResponse, RESTGetAPIBlobUploadQuery, RESTGetAPIBlobUploadResponse, RESTGetAPIBlobUploadsQuery, RESTGetAPIBlobUploadsResponse, RESTPatchAPIBlobDomainBody, RESTPatchAPIBlobDomainQuery, RESTPatchAPIBlobDomainResponse, RESTPatchAPIBlobObjectBody, RESTPatchAPIBlobObjectQuery, RESTPatchAPIBlobObjectResponse, RESTPatchAPIBlobObjectsBody, RESTPatchAPIBlobObjectsQuery, RESTPatchAPIBlobObjectsResponse, RESTPostAPIBlobDomainBody, RESTPostAPIBlobDomainQuery, RESTPostAPIBlobDomainResponse, RESTPostAPIBlobDomainVerifyQuery, RESTPostAPIBlobDomainVerifyResponse, RESTPostAPIBlobObjectCopyBody, RESTPostAPIBlobObjectCopyQuery, RESTPostAPIBlobObjectCopyResponse, RESTPostAPIBlobObjectQuery, RESTPostAPIBlobObjectResponse, RESTPostAPIBlobShareBody, RESTPostAPIBlobSharePublicDownloadBody, RESTPostAPIBlobSharePublicDownloadResponse, RESTPostAPIBlobShareQuery, RESTPostAPIBlobShareResponse, RESTPostAPIBlobUploadBody, RESTPostAPIBlobUploadCompleteQuery, RESTPostAPIBlobUploadCompleteResponse, RESTPostAPIBlobUploadPartsBody, RESTPostAPIBlobUploadPartsQuery, RESTPostAPIBlobUploadPartsResponse, RESTPostAPIBlobUploadQuery, RESTPostAPIBlobUploadResponse, RESTPostAPIBlobUploadTokenBody, RESTPostAPIBlobUploadTokenQuery, RESTPostAPIBlobUploadTokenResponse, RESTPutAPIBlobRuleBody, RESTPutAPIBlobRuleQuery, RESTPutAPIBlobRuleResponse, RESTPutAPIBlobRulesBody, RESTPutAPIBlobRulesHeaders, RESTPutAPIBlobRulesQuery, RESTPutAPIBlobRulesResponse } from './blob.js';
5
6
  export { RESTDeleteAPIDatabaseResponse, RESTGetAPIDatabaseCertificateResponse, RESTGetAPIDatabaseMetricsResponse, RESTGetAPIDatabaseResponse, RESTGetAPIDatabaseStatusResponse, RESTGetAPIDatabaseStatusShortResponse, RESTPostAPIDatabaseCreateBody, RESTPostAPIDatabaseCreateResponse, RESTPostAPIDatabaseResetCertificateResponse, RESTPostAPIDatabaseResetPasswordResponse, RESTPostAPIDatabaseResetResponse, RESTPostAPIDatabaseStartResponse, RESTPostAPIDatabaseStopResponse, RESTPutAPIDatabaseUpdateBody, RESTPutAPIDatabaseUpdateResponse } from './database.js';
6
7
  export { RESTDeleteAPIDatabaseDocumentsBody, RESTDeleteAPIDatabaseRedisKeysBody, RESTDeleteAPIDatabaseRowsBody, RESTGetAPIDatabaseCollectionIndexesResult, RESTGetAPIDatabaseCollectionsResult, RESTGetAPIDatabaseDataOverviewResult, RESTGetAPIDatabaseDocumentsResult, RESTGetAPIDatabaseRedisInfoResult, RESTGetAPIDatabaseRedisKeyValueResult, RESTGetAPIDatabaseRedisKeysResult, RESTGetAPIDatabaseSchemasResult, RESTGetAPIDatabaseTableColumnsResult, RESTGetAPIDatabaseTableRowsResult, RESTGetAPIDatabaseTablesResult, RESTMutateAPIDatabaseDocumentsResult, RESTMutateAPIDatabaseRedisKeysResult, RESTMutateAPIDatabaseRowsResult, RESTPostAPIDatabaseDocumentCreateBody, RESTPostAPIDatabaseQueryBody, RESTPostAPIDatabaseQueryResult, RESTPostAPIDatabaseRowCreateBody, RESTPutAPIDatabaseDocumentUpdateBody, RESTPutAPIDatabaseRedisKeyBody, RESTPutAPIDatabaseRedisKeyExpireBody, RESTPutAPIDatabaseRowUpdateBody } from './database-data.js';
7
8
  export { RESTGetAPINotificationsResponse } from './notification.js';
@@ -19,6 +20,7 @@ import '../../payloads/v1/notification.js';
19
20
  import '../../payloads/v1/api-key.js';
20
21
  import '../../payloads/v1/application.js';
21
22
  import '../../payloads/v1/billing.js';
23
+ import '../../payloads/v1/blob.js';
22
24
  import '../../payloads/v1/database.js';
23
25
  import '../../payloads/v1/database-data.js';
24
26
  import '../../payloads/v1/oauth.js';
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from \"./activity\";\nexport * from \"./api-key\";\nexport * from \"./application\";\nexport * from \"./billing\";\nexport * from \"./database\";\nexport * from \"./database-data\";\nexport * from \"./notification\";\nexport * from \"./oauth\";\nexport * from \"./orders\";\nexport * from \"./redeem\";\nexport * from \"./snapshot\";\nexport * from \"./status\";\nexport * from \"./user\";\nexport * from \"./workspace\";\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from \"./activity\";\nexport * from \"./api-key\";\nexport * from \"./application\";\nexport * from \"./billing\";\nexport * from \"./blob\";\nexport * from \"./database\";\nexport * from \"./database-data\";\nexport * from \"./notification\";\nexport * from \"./oauth\";\nexport * from \"./orders\";\nexport * from \"./redeem\";\nexport * from \"./snapshot\";\nexport * from \"./status\";\nexport * from \"./user\";\nexport * from \"./workspace\";\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
package/v1.d.ts CHANGED
@@ -4,6 +4,7 @@ export { APIApiKey, APIApiKeyCreated, APIApiKeyPreset, APIApiKeyRoute, APIApiKey
4
4
  export { APIErrorCode, API_ERROR_CODES } from './payloads/v1/api-error.js';
5
5
  export { APIApplication, APIApplicationConfig, APIApplicationCustomDomain, APIApplicationDeploySettings, APIApplicationDeployment, APIApplicationDnsRecord, APIApplicationEnvironment, APIApplicationFile, APIApplicationFileContent, APIApplicationFileTree, APIApplicationFileUpload, APIApplicationGithub, APIApplicationMetric, APIApplicationNetwork, APIApplicationOperationResponse, APIApplicationRealtimeEvent, APIApplicationRelease, APIApplicationReleaseLog, APIApplicationRollbackPreview, APIApplicationRuntime, APIApplicationRuntimes, APIApplicationScanSuggestions, APIApplicationShieldCooldown, APIApplicationStatus, APIApplicationStatusShort, APIApplicationSubdomain, APIApplicationWebPublish, APIApplicationWebhook, APIApplicationWebhookUrl, ApplicationCluster, ApplicationDnsRecordStatus, ApplicationDnsRecordType, ApplicationEnvironmentChange, ApplicationFileContentType, ApplicationFileType, ApplicationLanguage, ApplicationRealtimeEventType, ApplicationReleaseSource, ApplicationReleaseStatus, ApplicationStatus, ApplicationType, ApplicationVersion, ApplicationZeroDowntime, ShieldIncidentDirection, ShieldIncidentReason } from './payloads/v1/application.js';
6
6
  export { APIBillingAddress, APIBillingCard, APIBillingDetails, APIBillingRenewal, APIBillingTaxId, BillingTaxIdType } from './payloads/v1/billing.js';
7
+ export { APIBlobBatchResult, APIBlobCustomDomain, APIBlobDeleteResult, APIBlobDownload, APIBlobLimits, APIBlobObject, APIBlobObjectList, APIBlobRule, APIBlobRules, APIBlobS3Credentials, APIBlobShare, APIBlobSharePublic, APIBlobStats, APIBlobUpload, APIBlobUploadPart, APIBlobUploadToken, BlobContentDisposition, BlobCustomDomainStatus, BlobUploadMode, BlobUploadStatus, BlobVisibility } from './payloads/v1/blob.js';
7
8
  export { APIDatabase, APIDatabaseCertificate, APIDatabaseMetrics, APIDatabaseNetwork, APIDatabaseOperationResponse, APIDatabasePasswordReset, APIDatabaseStatus, APIDatabaseStatusShort, DatabaseCluster, DatabaseStatus, DatabaseType } from './payloads/v1/database.js';
8
9
  export { APIDatabaseCollection, APIDatabaseColumn, APIDatabaseColumnReference, APIDatabaseDataError, APIDatabaseDataOverview, APIDatabaseDocumentListParams, APIDatabaseDocumentsPage, APIDatabaseIndex, APIDatabaseListParams, APIDatabaseMongoIndex, APIDatabaseQueryResult, APIDatabaseRedisInfo, APIDatabaseRedisKey, APIDatabaseRedisKeyValue, APIDatabaseRedisKeysPage, APIDatabaseRedisScanParams, APIDatabaseRedisZSetMember, APIDatabaseRowFilter, APIDatabaseRowsPage, APIDatabaseSchema, APIDatabaseTable, DatabaseFilterOperator, DatabaseRedisKeyType, DatabaseSortDirection, DatabaseTableKind } from './payloads/v1/database-data.js';
9
10
  export { APINotification, LocalizedContent, NotificationImportance, NotificationType } from './payloads/v1/notification.js';
@@ -18,6 +19,7 @@ export { RESTGetAPIActivitiesQuery, RESTGetAPIActivitiesResponse } from './rest/
18
19
  export { RESTDeleteAPIUserApiKeyResponse, RESTGetAPIUserApiKeysResponse, RESTPatchAPIUserApiKeyBody, RESTPatchAPIUserApiKeyResponse, RESTPostAPIUserApiKeyCreateBody, RESTPostAPIUserApiKeyCreateResponse, RESTPostAPIUserApiKeyRotateResponse } from './rest/v1/api-key.js';
19
20
  export { RESTDeleteAPIApplicationCustomDomainResponse, RESTDeleteAPIApplicationEnvironmentResponse, RESTDeleteAPIApplicationFileBody, RESTDeleteAPIApplicationFileResponse, RESTDeleteAPIApplicationResponse, RESTDeleteAPIApplicationWebPublishResponse, RESTDeleteAPIApplicationWebhookResponse, RESTGetAPIApplicationCustomDomainResponse, RESTGetAPIApplicationDeploymentsResponse, RESTGetAPIApplicationDnsRecordsResponse, RESTGetAPIApplicationDownloadResponse, RESTGetAPIApplicationEnvironmentResponse, RESTGetAPIApplicationFileContentQuery, RESTGetAPIApplicationFileContentResponse, RESTGetAPIApplicationFileTreeResponse, RESTGetAPIApplicationFilesQuery, RESTGetAPIApplicationFilesResponse, RESTGetAPIApplicationLogsResponse, RESTGetAPIApplicationMetricsQuery, RESTGetAPIApplicationMetricsResponse, RESTGetAPIApplicationRealtimeQuery, RESTGetAPIApplicationRealtimeResponse, RESTGetAPIApplicationReleaseLogResponse, RESTGetAPIApplicationReleasesQuery, RESTGetAPIApplicationReleasesResponse, RESTGetAPIApplicationResponse, RESTGetAPIApplicationRollbackPreviewResponse, RESTGetAPIApplicationRuntimesResponse, RESTGetAPIApplicationStatusResponse, RESTGetAPIApplicationStatusShortResponse, RESTGetAPIApplicationWebhookUrlResponse, RESTPatchAPIApplicationFileMoveBody, RESTPatchAPIApplicationFileMoveResponse, RESTPatchAPIApplicationSubdomainBody, RESTPatchAPIApplicationSubdomainResponse, RESTPatchAPIApplicationUpdateConfigBody, RESTPatchAPIApplicationUpdateConfigResponse, RESTPostAPIApplicationCreateBody, RESTPostAPIApplicationCreateResponse, RESTPostAPIApplicationCustomDomainBody, RESTPostAPIApplicationCustomDomainResponse, RESTPostAPIApplicationEnvironmentBody, RESTPostAPIApplicationEnvironmentResponse, RESTPostAPIApplicationEnvironmentVariableBody, RESTPostAPIApplicationFileUploadBody, RESTPostAPIApplicationFileUploadQuery, RESTPostAPIApplicationFileUploadResponse, RESTPostAPIApplicationPurgeCacheBody, RESTPostAPIApplicationPurgeCacheResponse, RESTPostAPIApplicationRestartBody, RESTPostAPIApplicationRestartResponse, RESTPostAPIApplicationRollbackBody, RESTPostAPIApplicationRollbackResponse, RESTPostAPIApplicationScanBody, RESTPostAPIApplicationScanResponse, RESTPostAPIApplicationStartResponse, RESTPostAPIApplicationStopResponse, RESTPostAPIApplicationWebPublishBody, RESTPostAPIApplicationWebPublishResponse, RESTPostAPIApplicationWebhookCreateBody, RESTPostAPIApplicationWebhookCreateResponse, RESTPutAPIApplicationFileBody, RESTPutAPIApplicationFileResponse } from './rest/v1/application.js';
20
21
  export { RESTDeleteAPIBillingCardResponse, RESTGetAPIBillingCardsResponse, RESTGetAPIBillingDetailsResponse, RESTGetAPIBillingRenewalResponse, RESTPatchAPIBillingRenewalBody, RESTPatchAPIBillingRenewalResponse, RESTPostAPIBillingCardDefaultResponse, RESTPostAPIBillingCardSetupResponse, RESTPutAPIBillingDetailsBody, RESTPutAPIBillingDetailsResponse } from './rest/v1/billing.js';
22
+ export { RESTBlobObjectWriteOptions, RESTBlobRuleInput, RESTDeleteAPIBlobDomainQuery, RESTDeleteAPIBlobDomainResponse, RESTDeleteAPIBlobObjectQuery, RESTDeleteAPIBlobObjectResponse, RESTDeleteAPIBlobObjectsBody, RESTDeleteAPIBlobObjectsQuery, RESTDeleteAPIBlobObjectsResponse, RESTDeleteAPIBlobRuleQuery, RESTDeleteAPIBlobRuleResponse, RESTDeleteAPIBlobShareQuery, RESTDeleteAPIBlobShareResponse, RESTDeleteAPIBlobUploadQuery, RESTDeleteAPIBlobUploadResponse, RESTGetAPIBlobDomainsQuery, RESTGetAPIBlobDomainsResponse, RESTGetAPIBlobObjectDownloadQuery, RESTGetAPIBlobObjectDownloadResponse, RESTGetAPIBlobObjectQuery, RESTGetAPIBlobObjectResponse, RESTGetAPIBlobObjectsQuery, RESTGetAPIBlobObjectsResponse, RESTGetAPIBlobRulesQuery, RESTGetAPIBlobRulesResponse, RESTGetAPIBlobS3CredentialsQuery, RESTGetAPIBlobS3CredentialsResponse, RESTGetAPIBlobSharePublicResponse, RESTGetAPIBlobSharesQuery, RESTGetAPIBlobSharesResponse, RESTGetAPIBlobStatsQuery, RESTGetAPIBlobStatsResponse, RESTGetAPIBlobUploadQuery, RESTGetAPIBlobUploadResponse, RESTGetAPIBlobUploadsQuery, RESTGetAPIBlobUploadsResponse, RESTPatchAPIBlobDomainBody, RESTPatchAPIBlobDomainQuery, RESTPatchAPIBlobDomainResponse, RESTPatchAPIBlobObjectBody, RESTPatchAPIBlobObjectQuery, RESTPatchAPIBlobObjectResponse, RESTPatchAPIBlobObjectsBody, RESTPatchAPIBlobObjectsQuery, RESTPatchAPIBlobObjectsResponse, RESTPostAPIBlobDomainBody, RESTPostAPIBlobDomainQuery, RESTPostAPIBlobDomainResponse, RESTPostAPIBlobDomainVerifyQuery, RESTPostAPIBlobDomainVerifyResponse, RESTPostAPIBlobObjectCopyBody, RESTPostAPIBlobObjectCopyQuery, RESTPostAPIBlobObjectCopyResponse, RESTPostAPIBlobObjectQuery, RESTPostAPIBlobObjectResponse, RESTPostAPIBlobShareBody, RESTPostAPIBlobSharePublicDownloadBody, RESTPostAPIBlobSharePublicDownloadResponse, RESTPostAPIBlobShareQuery, RESTPostAPIBlobShareResponse, RESTPostAPIBlobUploadBody, RESTPostAPIBlobUploadCompleteQuery, RESTPostAPIBlobUploadCompleteResponse, RESTPostAPIBlobUploadPartsBody, RESTPostAPIBlobUploadPartsQuery, RESTPostAPIBlobUploadPartsResponse, RESTPostAPIBlobUploadQuery, RESTPostAPIBlobUploadResponse, RESTPostAPIBlobUploadTokenBody, RESTPostAPIBlobUploadTokenQuery, RESTPostAPIBlobUploadTokenResponse, RESTPutAPIBlobRuleBody, RESTPutAPIBlobRuleQuery, RESTPutAPIBlobRuleResponse, RESTPutAPIBlobRulesBody, RESTPutAPIBlobRulesHeaders, RESTPutAPIBlobRulesQuery, RESTPutAPIBlobRulesResponse } from './rest/v1/blob.js';
21
23
  export { RESTDeleteAPIDatabaseResponse, RESTGetAPIDatabaseCertificateResponse, RESTGetAPIDatabaseMetricsResponse, RESTGetAPIDatabaseResponse, RESTGetAPIDatabaseStatusResponse, RESTGetAPIDatabaseStatusShortResponse, RESTPostAPIDatabaseCreateBody, RESTPostAPIDatabaseCreateResponse, RESTPostAPIDatabaseResetCertificateResponse, RESTPostAPIDatabaseResetPasswordResponse, RESTPostAPIDatabaseResetResponse, RESTPostAPIDatabaseStartResponse, RESTPostAPIDatabaseStopResponse, RESTPutAPIDatabaseUpdateBody, RESTPutAPIDatabaseUpdateResponse } from './rest/v1/database.js';
22
24
  export { RESTDeleteAPIDatabaseDocumentsBody, RESTDeleteAPIDatabaseRedisKeysBody, RESTDeleteAPIDatabaseRowsBody, RESTGetAPIDatabaseCollectionIndexesResult, RESTGetAPIDatabaseCollectionsResult, RESTGetAPIDatabaseDataOverviewResult, RESTGetAPIDatabaseDocumentsResult, RESTGetAPIDatabaseRedisInfoResult, RESTGetAPIDatabaseRedisKeyValueResult, RESTGetAPIDatabaseRedisKeysResult, RESTGetAPIDatabaseSchemasResult, RESTGetAPIDatabaseTableColumnsResult, RESTGetAPIDatabaseTableRowsResult, RESTGetAPIDatabaseTablesResult, RESTMutateAPIDatabaseDocumentsResult, RESTMutateAPIDatabaseRedisKeysResult, RESTMutateAPIDatabaseRowsResult, RESTPostAPIDatabaseDocumentCreateBody, RESTPostAPIDatabaseQueryBody, RESTPostAPIDatabaseQueryResult, RESTPostAPIDatabaseRowCreateBody, RESTPutAPIDatabaseDocumentUpdateBody, RESTPutAPIDatabaseRedisKeyBody, RESTPutAPIDatabaseRedisKeyExpireBody, RESTPutAPIDatabaseRowUpdateBody } from './rest/v1/database-data.js';
23
25
  export { RESTGetAPINotificationsResponse } from './rest/v1/notification.js';