@nsp-labs/agnostic-sdk 1.0.4 → 1.4.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/CHANGELOG.md +67 -0
- package/README.md +100 -6
- package/package.json +1 -1
- package/src/generated/openapi.d.ts +829 -0
- package/src/index.d.ts +3 -2
- package/src/index.js +6 -1
- package/src/lib/manifest.d.ts +41 -0
- package/src/lib/manifest.js +117 -0
- package/src/lib/runtime-client.d.ts +27 -1
- package/src/lib/runtime-client.js +124 -6
- package/src/lib/types.d.ts +93 -0
|
@@ -38,6 +38,23 @@ export interface paths {
|
|
|
38
38
|
patch?: never;
|
|
39
39
|
trace?: never;
|
|
40
40
|
};
|
|
41
|
+
"/api/v1/runtime/data/tables/{tableName}/records/aggregate": {
|
|
42
|
+
parameters: {
|
|
43
|
+
query?: never;
|
|
44
|
+
header?: never;
|
|
45
|
+
path?: never;
|
|
46
|
+
cookie?: never;
|
|
47
|
+
};
|
|
48
|
+
get?: never;
|
|
49
|
+
put?: never;
|
|
50
|
+
/** Aggregate Data records in the authenticated runtime context */
|
|
51
|
+
post: operations["runtimeDataAggregateRecords"];
|
|
52
|
+
delete?: never;
|
|
53
|
+
options?: never;
|
|
54
|
+
head?: never;
|
|
55
|
+
patch?: never;
|
|
56
|
+
trace?: never;
|
|
57
|
+
};
|
|
41
58
|
"/api/v1/runtime/data/tables/{tableName}/records/{recordId}": {
|
|
42
59
|
parameters: {
|
|
43
60
|
query?: never;
|
|
@@ -158,10 +175,138 @@ export interface paths {
|
|
|
158
175
|
patch?: never;
|
|
159
176
|
trace?: never;
|
|
160
177
|
};
|
|
178
|
+
"/api/v1/runtime/files/buckets/{bucketRef}/uploads": {
|
|
179
|
+
parameters: {
|
|
180
|
+
query?: never;
|
|
181
|
+
header?: never;
|
|
182
|
+
path?: never;
|
|
183
|
+
cookie?: never;
|
|
184
|
+
};
|
|
185
|
+
get?: never;
|
|
186
|
+
put?: never;
|
|
187
|
+
/** Create an exact-object runtime upload grant */
|
|
188
|
+
post: operations["runtimeFilesCreateUpload"];
|
|
189
|
+
delete?: never;
|
|
190
|
+
options?: never;
|
|
191
|
+
head?: never;
|
|
192
|
+
patch?: never;
|
|
193
|
+
trace?: never;
|
|
194
|
+
};
|
|
195
|
+
"/api/v1/runtime/files/buckets/{bucketRef}/uploads/{uploadId}/complete": {
|
|
196
|
+
parameters: {
|
|
197
|
+
query?: never;
|
|
198
|
+
header?: never;
|
|
199
|
+
path?: never;
|
|
200
|
+
cookie?: never;
|
|
201
|
+
};
|
|
202
|
+
get?: never;
|
|
203
|
+
put?: never;
|
|
204
|
+
/** Complete one runtime upload idempotently */
|
|
205
|
+
post: operations["runtimeFilesCompleteUpload"];
|
|
206
|
+
delete?: never;
|
|
207
|
+
options?: never;
|
|
208
|
+
head?: never;
|
|
209
|
+
patch?: never;
|
|
210
|
+
trace?: never;
|
|
211
|
+
};
|
|
212
|
+
"/api/v1/runtime/files/buckets/{bucketRef}/anonymous-upload-sessions": {
|
|
213
|
+
parameters: {
|
|
214
|
+
query?: never;
|
|
215
|
+
header?: never;
|
|
216
|
+
path?: never;
|
|
217
|
+
cookie?: never;
|
|
218
|
+
};
|
|
219
|
+
get?: never;
|
|
220
|
+
put?: never;
|
|
221
|
+
/** Create a BFF-mediated anonymous upload session */
|
|
222
|
+
post: operations["RuntimeFilesController_createAnonymousSession"];
|
|
223
|
+
delete?: never;
|
|
224
|
+
options?: never;
|
|
225
|
+
head?: never;
|
|
226
|
+
patch?: never;
|
|
227
|
+
trace?: never;
|
|
228
|
+
};
|
|
229
|
+
"/api/v1/runtime/files/buckets/{bucketRef}/anonymous-upload-sessions/claim": {
|
|
230
|
+
parameters: {
|
|
231
|
+
query?: never;
|
|
232
|
+
header?: never;
|
|
233
|
+
path?: never;
|
|
234
|
+
cookie?: never;
|
|
235
|
+
};
|
|
236
|
+
get?: never;
|
|
237
|
+
put?: never;
|
|
238
|
+
/** Claim one anonymous upload session for a business object */
|
|
239
|
+
post: operations["runtimeFilesClaimAnonymousSession"];
|
|
240
|
+
delete?: never;
|
|
241
|
+
options?: never;
|
|
242
|
+
head?: never;
|
|
243
|
+
patch?: never;
|
|
244
|
+
trace?: never;
|
|
245
|
+
};
|
|
246
|
+
"/api/v1/runtime/files/buckets/{bucketRef}/objects/{fileId}": {
|
|
247
|
+
parameters: {
|
|
248
|
+
query?: never;
|
|
249
|
+
header?: never;
|
|
250
|
+
path?: never;
|
|
251
|
+
cookie?: never;
|
|
252
|
+
};
|
|
253
|
+
/** Get one runtime-owned file and its current status */
|
|
254
|
+
get: operations["runtimeFilesGetObject"];
|
|
255
|
+
put?: never;
|
|
256
|
+
post?: never;
|
|
257
|
+
/** Delete one runtime-owned ready file idempotently */
|
|
258
|
+
delete: operations["runtimeFilesDeleteObject"];
|
|
259
|
+
options?: never;
|
|
260
|
+
head?: never;
|
|
261
|
+
patch?: never;
|
|
262
|
+
trace?: never;
|
|
263
|
+
};
|
|
264
|
+
"/api/v1/runtime/files/buckets/{bucketRef}/objects/{fileId}/access": {
|
|
265
|
+
parameters: {
|
|
266
|
+
query?: never;
|
|
267
|
+
header?: never;
|
|
268
|
+
path?: never;
|
|
269
|
+
cookie?: never;
|
|
270
|
+
};
|
|
271
|
+
get?: never;
|
|
272
|
+
put?: never;
|
|
273
|
+
/** Authorize runtime-owned private file access */
|
|
274
|
+
post: operations["RuntimeFilesAccessController_authorize"];
|
|
275
|
+
delete?: never;
|
|
276
|
+
options?: never;
|
|
277
|
+
head?: never;
|
|
278
|
+
patch?: never;
|
|
279
|
+
trace?: never;
|
|
280
|
+
};
|
|
281
|
+
"/api/v1/runtime/files/buckets/{bucketRef}/objects/{fileId}/download": {
|
|
282
|
+
parameters: {
|
|
283
|
+
query?: never;
|
|
284
|
+
header?: never;
|
|
285
|
+
path?: never;
|
|
286
|
+
cookie?: never;
|
|
287
|
+
};
|
|
288
|
+
get?: never;
|
|
289
|
+
put?: never;
|
|
290
|
+
/** Create a short runtime-owned private download link */
|
|
291
|
+
post: operations["RuntimeFilesAccessController_download"];
|
|
292
|
+
delete?: never;
|
|
293
|
+
options?: never;
|
|
294
|
+
head?: never;
|
|
295
|
+
patch?: never;
|
|
296
|
+
trace?: never;
|
|
297
|
+
};
|
|
161
298
|
}
|
|
162
299
|
export type webhooks = Record<string, never>;
|
|
163
300
|
export interface components {
|
|
164
301
|
schemas: {
|
|
302
|
+
ClaimFileAnonymousSessionDto: {
|
|
303
|
+
/** @description Opaque claim token returned once with the session. */
|
|
304
|
+
token: string;
|
|
305
|
+
/** @example order:order_123 */
|
|
306
|
+
externalRef: string;
|
|
307
|
+
/** @example order:order_123 */
|
|
308
|
+
idempotencyKey: string;
|
|
309
|
+
};
|
|
165
310
|
CreateDataRecordDto: {
|
|
166
311
|
/**
|
|
167
312
|
* @description Optional record id; generated when omitted
|
|
@@ -176,7 +321,128 @@ export interface components {
|
|
|
176
321
|
*/
|
|
177
322
|
values: Record<string, never>;
|
|
178
323
|
};
|
|
324
|
+
CreateFileAnonymousBffSessionDto: {
|
|
325
|
+
/** Format: uuid */
|
|
326
|
+
profileId: string;
|
|
327
|
+
/** @example https://shop.example.com */
|
|
328
|
+
origin: string;
|
|
329
|
+
captchaToken: string;
|
|
330
|
+
/** @example 203.0.113.10 */
|
|
331
|
+
clientIp: string;
|
|
332
|
+
abuseKey?: string;
|
|
333
|
+
};
|
|
334
|
+
CreateFileUploadDto: {
|
|
335
|
+
/** @example invoice.pdf */
|
|
336
|
+
fileName: string;
|
|
337
|
+
/** @example application/pdf */
|
|
338
|
+
contentType: string;
|
|
339
|
+
size: number;
|
|
340
|
+
checksumSha256: string;
|
|
341
|
+
/**
|
|
342
|
+
* @default private
|
|
343
|
+
* @enum {string}
|
|
344
|
+
*/
|
|
345
|
+
access: "private" | "authenticated" | "team" | "public";
|
|
346
|
+
idempotencyKey: string;
|
|
347
|
+
};
|
|
348
|
+
DataAggregateMetricDto: {
|
|
349
|
+
/**
|
|
350
|
+
* @example count
|
|
351
|
+
* @enum {string}
|
|
352
|
+
*/
|
|
353
|
+
operation: "count" | "sum" | "avg" | "min" | "max";
|
|
354
|
+
/** @example amount */
|
|
355
|
+
field?: string;
|
|
356
|
+
/** @example orders */
|
|
357
|
+
as: string;
|
|
358
|
+
};
|
|
359
|
+
DataAggregateOrderByDto: {
|
|
360
|
+
/** @example orders */
|
|
361
|
+
by: string;
|
|
362
|
+
/**
|
|
363
|
+
* @example desc
|
|
364
|
+
* @enum {string}
|
|
365
|
+
*/
|
|
366
|
+
direction: "asc" | "desc";
|
|
367
|
+
};
|
|
368
|
+
DataAggregateQueryDto: {
|
|
369
|
+
/**
|
|
370
|
+
* @example {
|
|
371
|
+
* "status": "paid"
|
|
372
|
+
* }
|
|
373
|
+
*/
|
|
374
|
+
filter?: {
|
|
375
|
+
[key: string]: unknown;
|
|
376
|
+
};
|
|
377
|
+
/** @example alex */
|
|
378
|
+
q?: string;
|
|
379
|
+
/**
|
|
380
|
+
* @example [
|
|
381
|
+
* "status"
|
|
382
|
+
* ]
|
|
383
|
+
*/
|
|
384
|
+
groupBy?: string[];
|
|
385
|
+
/**
|
|
386
|
+
* @example [
|
|
387
|
+
* {
|
|
388
|
+
* "operation": "count",
|
|
389
|
+
* "as": "orders"
|
|
390
|
+
* },
|
|
391
|
+
* {
|
|
392
|
+
* "operation": "sum",
|
|
393
|
+
* "field": "amount",
|
|
394
|
+
* "as": "revenue"
|
|
395
|
+
* }
|
|
396
|
+
* ]
|
|
397
|
+
*/
|
|
398
|
+
metrics: components["schemas"]["DataAggregateMetricDto"][];
|
|
399
|
+
/**
|
|
400
|
+
* @example [
|
|
401
|
+
* {
|
|
402
|
+
* "by": "orders",
|
|
403
|
+
* "direction": "desc"
|
|
404
|
+
* }
|
|
405
|
+
* ]
|
|
406
|
+
*/
|
|
407
|
+
orderBy?: components["schemas"]["DataAggregateOrderByDto"][];
|
|
408
|
+
/**
|
|
409
|
+
* @description Maximum groups to return; defaults to 20 for grouped queries
|
|
410
|
+
* @example 20
|
|
411
|
+
*/
|
|
412
|
+
limit?: number;
|
|
413
|
+
};
|
|
414
|
+
DataAggregateResultDto: {
|
|
415
|
+
rows: components["schemas"]["DataAggregateRowDto"][];
|
|
416
|
+
/** @example 20 */
|
|
417
|
+
limit: number;
|
|
418
|
+
/** @example false */
|
|
419
|
+
hasMore: boolean;
|
|
420
|
+
};
|
|
421
|
+
DataAggregateRowDto: {
|
|
422
|
+
/**
|
|
423
|
+
* @example {
|
|
424
|
+
* "status": "paid"
|
|
425
|
+
* }
|
|
426
|
+
*/
|
|
427
|
+
dimensions: {
|
|
428
|
+
[key: string]: unknown;
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* @example {
|
|
432
|
+
* "orders": 42,
|
|
433
|
+
* "revenue": 125000
|
|
434
|
+
* }
|
|
435
|
+
*/
|
|
436
|
+
metrics: {
|
|
437
|
+
[key: string]: unknown;
|
|
438
|
+
};
|
|
439
|
+
};
|
|
179
440
|
DataFieldDto: {
|
|
441
|
+
/**
|
|
442
|
+
* Format: uuid
|
|
443
|
+
* @example uuid
|
|
444
|
+
*/
|
|
445
|
+
fieldId: string;
|
|
180
446
|
/** @example status */
|
|
181
447
|
name: string;
|
|
182
448
|
/** @example Status */
|
|
@@ -286,6 +552,158 @@ export interface components {
|
|
|
286
552
|
*/
|
|
287
553
|
settings: Record<string, never>;
|
|
288
554
|
};
|
|
555
|
+
FileAccessAuthorizationDto: {
|
|
556
|
+
file: components["schemas"]["FileObjectDto"];
|
|
557
|
+
/** @enum {string} */
|
|
558
|
+
actorType: "runtime" | "platform_user" | "app_user" | "anonymous" | "system";
|
|
559
|
+
/** @enum {string} */
|
|
560
|
+
access: "private" | "authenticated" | "team" | "public";
|
|
561
|
+
/** Format: date-time */
|
|
562
|
+
authorizedAt: string;
|
|
563
|
+
/** @example request-123 */
|
|
564
|
+
requestId: string;
|
|
565
|
+
};
|
|
566
|
+
FileAnonymousClaimHandleDto: {
|
|
567
|
+
/** Format: uuid */
|
|
568
|
+
fileId: string;
|
|
569
|
+
/** @enum {string} */
|
|
570
|
+
status: "ready" | "processing";
|
|
571
|
+
};
|
|
572
|
+
FileAnonymousClaimResultDto: {
|
|
573
|
+
/** Format: uuid */
|
|
574
|
+
sessionId: string;
|
|
575
|
+
/** Format: uuid */
|
|
576
|
+
bucketId: string;
|
|
577
|
+
/** @example order:order_123 */
|
|
578
|
+
externalRef: string;
|
|
579
|
+
/** Format: date-time */
|
|
580
|
+
claimedAt: string;
|
|
581
|
+
files: components["schemas"]["FileAnonymousClaimHandleDto"][];
|
|
582
|
+
};
|
|
583
|
+
FileAnonymousSessionCredentialsDto: {
|
|
584
|
+
session: components["schemas"]["FileAnonymousUploadSessionDto"];
|
|
585
|
+
/** @description Opaque bearer token returned once; keep it out of URLs and logs. */
|
|
586
|
+
sessionToken: string;
|
|
587
|
+
/** @description Opaque claim token returned once; keep it out of URLs and logs. */
|
|
588
|
+
claimToken: string;
|
|
589
|
+
};
|
|
590
|
+
FileAnonymousUploadSessionDto: {
|
|
591
|
+
/** Format: uuid */
|
|
592
|
+
id: string;
|
|
593
|
+
/** Format: uuid */
|
|
594
|
+
profileId: string;
|
|
595
|
+
/** Format: uuid */
|
|
596
|
+
bucketId: string;
|
|
597
|
+
/** @enum {string} */
|
|
598
|
+
status: "open" | "sealed" | "claimed" | "expired";
|
|
599
|
+
usedFileCount: number;
|
|
600
|
+
declaredBytes: number;
|
|
601
|
+
actualBytes: number;
|
|
602
|
+
/** Format: date-time */
|
|
603
|
+
expiresAt: string;
|
|
604
|
+
/** Format: date-time */
|
|
605
|
+
sealedAt?: string | null;
|
|
606
|
+
/** Format: date-time */
|
|
607
|
+
claimedAt?: string | null;
|
|
608
|
+
};
|
|
609
|
+
FileDownloadLinkDto: {
|
|
610
|
+
/** Format: uri */
|
|
611
|
+
url: string;
|
|
612
|
+
/** Format: date-time */
|
|
613
|
+
expiresAt: string;
|
|
614
|
+
};
|
|
615
|
+
FileObjectDto: {
|
|
616
|
+
/** Format: uuid */
|
|
617
|
+
id: string;
|
|
618
|
+
/** Format: uuid */
|
|
619
|
+
bucketId: string;
|
|
620
|
+
/** Format: uuid */
|
|
621
|
+
projectId: string;
|
|
622
|
+
/** @example production */
|
|
623
|
+
environment: string;
|
|
624
|
+
/** @example invoice.pdf */
|
|
625
|
+
originalName: string;
|
|
626
|
+
/** @example application/pdf */
|
|
627
|
+
detectedMime?: string | null;
|
|
628
|
+
/** @example 1024 */
|
|
629
|
+
sizeBytes?: number | null;
|
|
630
|
+
checksumSha256?: string | null;
|
|
631
|
+
/** @enum {string} */
|
|
632
|
+
status: "pending_upload" | "uploaded" | "scanning" | "ready" | "verified_unclaimed" | "claimed_ready" | "deleting" | "deleted" | "rejected" | "quarantined" | "expired";
|
|
633
|
+
/** @enum {string} */
|
|
634
|
+
access: "private" | "authenticated" | "team" | "public";
|
|
635
|
+
/** Format: date-time */
|
|
636
|
+
readyAt?: string | null;
|
|
637
|
+
/** Format: date-time */
|
|
638
|
+
deletedAt?: string | null;
|
|
639
|
+
/** Format: date-time */
|
|
640
|
+
billableUntil?: string | null;
|
|
641
|
+
/** Format: date-time */
|
|
642
|
+
physicalDeleteDueAt?: string | null;
|
|
643
|
+
/** Format: date-time */
|
|
644
|
+
physicalDeletedAt?: string | null;
|
|
645
|
+
/** Format: date-time */
|
|
646
|
+
expiresAt?: string | null;
|
|
647
|
+
/** Format: date-time */
|
|
648
|
+
createdAt: string;
|
|
649
|
+
/** Format: date-time */
|
|
650
|
+
updatedAt: string;
|
|
651
|
+
};
|
|
652
|
+
FileUploadCompletionDto: {
|
|
653
|
+
upload: components["schemas"]["FileUploadSessionDto"];
|
|
654
|
+
file: components["schemas"]["FileObjectDto"];
|
|
655
|
+
};
|
|
656
|
+
FileUploadGrantDto: {
|
|
657
|
+
/** Format: uuid */
|
|
658
|
+
id: string;
|
|
659
|
+
/** Format: uuid */
|
|
660
|
+
fileId: string;
|
|
661
|
+
/** Format: uuid */
|
|
662
|
+
bucketId: string;
|
|
663
|
+
/** @enum {string} */
|
|
664
|
+
status: "issued" | "uploaded" | "verifying" | "completed" | "rejected" | "expired";
|
|
665
|
+
/** @example 1024 */
|
|
666
|
+
expectedSizeBytes: number;
|
|
667
|
+
/** Format: date-time */
|
|
668
|
+
expiresAt: string;
|
|
669
|
+
/** Format: date-time */
|
|
670
|
+
completedAt?: string | null;
|
|
671
|
+
/**
|
|
672
|
+
* Format: uri
|
|
673
|
+
* @description Short-lived exact-object PUT URL (default TTL: 10 minutes).
|
|
674
|
+
*/
|
|
675
|
+
uploadUrl: string;
|
|
676
|
+
/** Format: date-time */
|
|
677
|
+
uploadUrlExpiresAt: string;
|
|
678
|
+
/** @description All headers must be sent unchanged with the PUT request. */
|
|
679
|
+
requiredHeaders: {
|
|
680
|
+
[key: string]: string;
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
FileUploadSessionDto: {
|
|
684
|
+
/** Format: uuid */
|
|
685
|
+
id: string;
|
|
686
|
+
/** Format: uuid */
|
|
687
|
+
fileId: string;
|
|
688
|
+
/** Format: uuid */
|
|
689
|
+
bucketId: string;
|
|
690
|
+
/** @enum {string} */
|
|
691
|
+
status: "issued" | "uploaded" | "verifying" | "completed" | "rejected" | "expired";
|
|
692
|
+
/** @example 1024 */
|
|
693
|
+
expectedSizeBytes: number;
|
|
694
|
+
/** Format: date-time */
|
|
695
|
+
expiresAt: string;
|
|
696
|
+
/** Format: date-time */
|
|
697
|
+
completedAt?: string | null;
|
|
698
|
+
};
|
|
699
|
+
FilesErrorDto: {
|
|
700
|
+
/** @enum {string} */
|
|
701
|
+
code: "files_bucket_not_found" | "files_bucket_slug_conflict" | "files_bucket_not_empty" | "files_environment_not_found" | "files_object_not_found" | "files_upload_not_found" | "files_access_denied" | "files_policy_rejected" | "files_size_exceeded" | "files_size_mismatch" | "files_upload_mismatch" | "files_type_rejected" | "files_checksum_mismatch" | "files_upload_expired" | "files_object_not_ready" | "files_idempotency_conflict" | "files_balance_required" | "files_rate_limited" | "files_scanner_unavailable" | "files_storage_unavailable" | "files_anonymous_upload_disabled" | "files_origin_not_allowed" | "files_captcha_rejected" | "files_claim_conflict";
|
|
702
|
+
/** @example Файл ещё не готов к скачиванию. */
|
|
703
|
+
message: string;
|
|
704
|
+
/** @example request-123 */
|
|
705
|
+
requestId?: string;
|
|
706
|
+
};
|
|
289
707
|
Object: Record<string, never>;
|
|
290
708
|
RuntimeActorMetadataDto: {
|
|
291
709
|
/**
|
|
@@ -574,6 +992,7 @@ export interface operations {
|
|
|
574
992
|
/** @description Environment key or UI alias: production/prod, staging, development/dev. */
|
|
575
993
|
environment?: string;
|
|
576
994
|
limit?: number;
|
|
995
|
+
/** @description Opaque versioned pagination cursor bound to this exact query. Legacy offset cursors are temporarily accepted. */
|
|
577
996
|
cursor?: string;
|
|
578
997
|
/** @description Search text applied across searchable text columns */
|
|
579
998
|
q?: string;
|
|
@@ -651,6 +1070,45 @@ export interface operations {
|
|
|
651
1070
|
};
|
|
652
1071
|
};
|
|
653
1072
|
};
|
|
1073
|
+
runtimeDataAggregateRecords: {
|
|
1074
|
+
parameters: {
|
|
1075
|
+
query?: never;
|
|
1076
|
+
header?: never;
|
|
1077
|
+
path: {
|
|
1078
|
+
tableName: string;
|
|
1079
|
+
};
|
|
1080
|
+
cookie?: never;
|
|
1081
|
+
};
|
|
1082
|
+
requestBody: {
|
|
1083
|
+
content: {
|
|
1084
|
+
"application/json": components["schemas"]["DataAggregateQueryDto"];
|
|
1085
|
+
};
|
|
1086
|
+
};
|
|
1087
|
+
responses: {
|
|
1088
|
+
200: {
|
|
1089
|
+
headers: {
|
|
1090
|
+
[name: string]: unknown;
|
|
1091
|
+
};
|
|
1092
|
+
content: {
|
|
1093
|
+
"application/json": components["schemas"]["DataAggregateResultDto"];
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
/** @description Invalid runtime token */
|
|
1097
|
+
401: {
|
|
1098
|
+
headers: {
|
|
1099
|
+
[name: string]: unknown;
|
|
1100
|
+
};
|
|
1101
|
+
content?: never;
|
|
1102
|
+
};
|
|
1103
|
+
/** @description Missing runtime capability */
|
|
1104
|
+
403: {
|
|
1105
|
+
headers: {
|
|
1106
|
+
[name: string]: unknown;
|
|
1107
|
+
};
|
|
1108
|
+
content?: never;
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
654
1112
|
runtimeDataDeleteRecord: {
|
|
655
1113
|
parameters: {
|
|
656
1114
|
query?: never;
|
|
@@ -735,6 +1193,7 @@ export interface operations {
|
|
|
735
1193
|
/** @description Environment key or UI alias: production/prod, staging, development/dev. */
|
|
736
1194
|
environment?: string;
|
|
737
1195
|
limit?: number;
|
|
1196
|
+
/** @description Opaque versioned pagination cursor bound to the saved view version and exact renderer query. */
|
|
738
1197
|
cursor?: string;
|
|
739
1198
|
};
|
|
740
1199
|
header?: never;
|
|
@@ -950,4 +1409,374 @@ export interface operations {
|
|
|
950
1409
|
};
|
|
951
1410
|
};
|
|
952
1411
|
};
|
|
1412
|
+
runtimeFilesCreateUpload: {
|
|
1413
|
+
parameters: {
|
|
1414
|
+
query?: never;
|
|
1415
|
+
header?: never;
|
|
1416
|
+
path: {
|
|
1417
|
+
bucketRef: string;
|
|
1418
|
+
};
|
|
1419
|
+
cookie?: never;
|
|
1420
|
+
};
|
|
1421
|
+
requestBody: {
|
|
1422
|
+
content: {
|
|
1423
|
+
"application/json": components["schemas"]["CreateFileUploadDto"];
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
responses: {
|
|
1427
|
+
201: {
|
|
1428
|
+
headers: {
|
|
1429
|
+
[name: string]: unknown;
|
|
1430
|
+
};
|
|
1431
|
+
content: {
|
|
1432
|
+
"application/json": components["schemas"]["FileUploadGrantDto"];
|
|
1433
|
+
};
|
|
1434
|
+
};
|
|
1435
|
+
/** @description Invalid runtime token */
|
|
1436
|
+
401: {
|
|
1437
|
+
headers: {
|
|
1438
|
+
[name: string]: unknown;
|
|
1439
|
+
};
|
|
1440
|
+
content?: never;
|
|
1441
|
+
};
|
|
1442
|
+
403: {
|
|
1443
|
+
headers: {
|
|
1444
|
+
[name: string]: unknown;
|
|
1445
|
+
};
|
|
1446
|
+
content: {
|
|
1447
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1448
|
+
};
|
|
1449
|
+
};
|
|
1450
|
+
404: {
|
|
1451
|
+
headers: {
|
|
1452
|
+
[name: string]: unknown;
|
|
1453
|
+
};
|
|
1454
|
+
content: {
|
|
1455
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1456
|
+
};
|
|
1457
|
+
};
|
|
1458
|
+
409: {
|
|
1459
|
+
headers: {
|
|
1460
|
+
[name: string]: unknown;
|
|
1461
|
+
};
|
|
1462
|
+
content: {
|
|
1463
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1464
|
+
};
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1467
|
+
};
|
|
1468
|
+
runtimeFilesCompleteUpload: {
|
|
1469
|
+
parameters: {
|
|
1470
|
+
query?: never;
|
|
1471
|
+
header?: never;
|
|
1472
|
+
path: {
|
|
1473
|
+
bucketRef: string;
|
|
1474
|
+
uploadId: string;
|
|
1475
|
+
};
|
|
1476
|
+
cookie?: never;
|
|
1477
|
+
};
|
|
1478
|
+
requestBody?: never;
|
|
1479
|
+
responses: {
|
|
1480
|
+
200: {
|
|
1481
|
+
headers: {
|
|
1482
|
+
[name: string]: unknown;
|
|
1483
|
+
};
|
|
1484
|
+
content: {
|
|
1485
|
+
"application/json": components["schemas"]["FileUploadCompletionDto"];
|
|
1486
|
+
};
|
|
1487
|
+
};
|
|
1488
|
+
/** @description Invalid runtime token */
|
|
1489
|
+
401: {
|
|
1490
|
+
headers: {
|
|
1491
|
+
[name: string]: unknown;
|
|
1492
|
+
};
|
|
1493
|
+
content?: never;
|
|
1494
|
+
};
|
|
1495
|
+
403: {
|
|
1496
|
+
headers: {
|
|
1497
|
+
[name: string]: unknown;
|
|
1498
|
+
};
|
|
1499
|
+
content: {
|
|
1500
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1501
|
+
};
|
|
1502
|
+
};
|
|
1503
|
+
404: {
|
|
1504
|
+
headers: {
|
|
1505
|
+
[name: string]: unknown;
|
|
1506
|
+
};
|
|
1507
|
+
content: {
|
|
1508
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1511
|
+
409: {
|
|
1512
|
+
headers: {
|
|
1513
|
+
[name: string]: unknown;
|
|
1514
|
+
};
|
|
1515
|
+
content: {
|
|
1516
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
RuntimeFilesController_createAnonymousSession: {
|
|
1522
|
+
parameters: {
|
|
1523
|
+
query?: never;
|
|
1524
|
+
header?: never;
|
|
1525
|
+
path: {
|
|
1526
|
+
bucketRef: string;
|
|
1527
|
+
};
|
|
1528
|
+
cookie?: never;
|
|
1529
|
+
};
|
|
1530
|
+
requestBody: {
|
|
1531
|
+
content: {
|
|
1532
|
+
"application/json": components["schemas"]["CreateFileAnonymousBffSessionDto"];
|
|
1533
|
+
};
|
|
1534
|
+
};
|
|
1535
|
+
responses: {
|
|
1536
|
+
201: {
|
|
1537
|
+
headers: {
|
|
1538
|
+
[name: string]: unknown;
|
|
1539
|
+
};
|
|
1540
|
+
content: {
|
|
1541
|
+
"application/json": components["schemas"]["FileAnonymousSessionCredentialsDto"];
|
|
1542
|
+
};
|
|
1543
|
+
};
|
|
1544
|
+
/** @description Invalid runtime token */
|
|
1545
|
+
401: {
|
|
1546
|
+
headers: {
|
|
1547
|
+
[name: string]: unknown;
|
|
1548
|
+
};
|
|
1549
|
+
content?: never;
|
|
1550
|
+
};
|
|
1551
|
+
403: {
|
|
1552
|
+
headers: {
|
|
1553
|
+
[name: string]: unknown;
|
|
1554
|
+
};
|
|
1555
|
+
content: {
|
|
1556
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
404: {
|
|
1560
|
+
headers: {
|
|
1561
|
+
[name: string]: unknown;
|
|
1562
|
+
};
|
|
1563
|
+
content: {
|
|
1564
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1565
|
+
};
|
|
1566
|
+
};
|
|
1567
|
+
429: {
|
|
1568
|
+
headers: {
|
|
1569
|
+
[name: string]: unknown;
|
|
1570
|
+
};
|
|
1571
|
+
content: {
|
|
1572
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1573
|
+
};
|
|
1574
|
+
};
|
|
1575
|
+
503: {
|
|
1576
|
+
headers: {
|
|
1577
|
+
[name: string]: unknown;
|
|
1578
|
+
};
|
|
1579
|
+
content: {
|
|
1580
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1581
|
+
};
|
|
1582
|
+
};
|
|
1583
|
+
};
|
|
1584
|
+
};
|
|
1585
|
+
runtimeFilesClaimAnonymousSession: {
|
|
1586
|
+
parameters: {
|
|
1587
|
+
query?: never;
|
|
1588
|
+
header?: never;
|
|
1589
|
+
path: {
|
|
1590
|
+
bucketRef: string;
|
|
1591
|
+
};
|
|
1592
|
+
cookie?: never;
|
|
1593
|
+
};
|
|
1594
|
+
requestBody: {
|
|
1595
|
+
content: {
|
|
1596
|
+
"application/json": components["schemas"]["ClaimFileAnonymousSessionDto"];
|
|
1597
|
+
};
|
|
1598
|
+
};
|
|
1599
|
+
responses: {
|
|
1600
|
+
200: {
|
|
1601
|
+
headers: {
|
|
1602
|
+
[name: string]: unknown;
|
|
1603
|
+
};
|
|
1604
|
+
content: {
|
|
1605
|
+
"application/json": components["schemas"]["FileAnonymousClaimResultDto"];
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
|
+
/** @description Invalid runtime token */
|
|
1609
|
+
401: {
|
|
1610
|
+
headers: {
|
|
1611
|
+
[name: string]: unknown;
|
|
1612
|
+
};
|
|
1613
|
+
content?: never;
|
|
1614
|
+
};
|
|
1615
|
+
403: {
|
|
1616
|
+
headers: {
|
|
1617
|
+
[name: string]: unknown;
|
|
1618
|
+
};
|
|
1619
|
+
content: {
|
|
1620
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
409: {
|
|
1624
|
+
headers: {
|
|
1625
|
+
[name: string]: unknown;
|
|
1626
|
+
};
|
|
1627
|
+
content: {
|
|
1628
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
410: {
|
|
1632
|
+
headers: {
|
|
1633
|
+
[name: string]: unknown;
|
|
1634
|
+
};
|
|
1635
|
+
content: {
|
|
1636
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1637
|
+
};
|
|
1638
|
+
};
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
1641
|
+
runtimeFilesGetObject: {
|
|
1642
|
+
parameters: {
|
|
1643
|
+
query?: never;
|
|
1644
|
+
header?: never;
|
|
1645
|
+
path: {
|
|
1646
|
+
bucketRef: string;
|
|
1647
|
+
fileId: string;
|
|
1648
|
+
};
|
|
1649
|
+
cookie?: never;
|
|
1650
|
+
};
|
|
1651
|
+
requestBody?: never;
|
|
1652
|
+
responses: {
|
|
1653
|
+
200: {
|
|
1654
|
+
headers: {
|
|
1655
|
+
[name: string]: unknown;
|
|
1656
|
+
};
|
|
1657
|
+
content: {
|
|
1658
|
+
"application/json": components["schemas"]["FileObjectDto"];
|
|
1659
|
+
};
|
|
1660
|
+
};
|
|
1661
|
+
/** @description Invalid runtime token */
|
|
1662
|
+
401: {
|
|
1663
|
+
headers: {
|
|
1664
|
+
[name: string]: unknown;
|
|
1665
|
+
};
|
|
1666
|
+
content?: never;
|
|
1667
|
+
};
|
|
1668
|
+
403: {
|
|
1669
|
+
headers: {
|
|
1670
|
+
[name: string]: unknown;
|
|
1671
|
+
};
|
|
1672
|
+
content: {
|
|
1673
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1674
|
+
};
|
|
1675
|
+
};
|
|
1676
|
+
404: {
|
|
1677
|
+
headers: {
|
|
1678
|
+
[name: string]: unknown;
|
|
1679
|
+
};
|
|
1680
|
+
content: {
|
|
1681
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1682
|
+
};
|
|
1683
|
+
};
|
|
1684
|
+
};
|
|
1685
|
+
};
|
|
1686
|
+
runtimeFilesDeleteObject: {
|
|
1687
|
+
parameters: {
|
|
1688
|
+
query?: never;
|
|
1689
|
+
header?: never;
|
|
1690
|
+
path: {
|
|
1691
|
+
bucketRef: string;
|
|
1692
|
+
fileId: string;
|
|
1693
|
+
};
|
|
1694
|
+
cookie?: never;
|
|
1695
|
+
};
|
|
1696
|
+
requestBody?: never;
|
|
1697
|
+
responses: {
|
|
1698
|
+
/** @description Object tombstoned */
|
|
1699
|
+
204: {
|
|
1700
|
+
headers: {
|
|
1701
|
+
[name: string]: unknown;
|
|
1702
|
+
};
|
|
1703
|
+
content?: never;
|
|
1704
|
+
};
|
|
1705
|
+
/** @description Invalid runtime token */
|
|
1706
|
+
401: {
|
|
1707
|
+
headers: {
|
|
1708
|
+
[name: string]: unknown;
|
|
1709
|
+
};
|
|
1710
|
+
content?: never;
|
|
1711
|
+
};
|
|
1712
|
+
403: {
|
|
1713
|
+
headers: {
|
|
1714
|
+
[name: string]: unknown;
|
|
1715
|
+
};
|
|
1716
|
+
content: {
|
|
1717
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1718
|
+
};
|
|
1719
|
+
};
|
|
1720
|
+
404: {
|
|
1721
|
+
headers: {
|
|
1722
|
+
[name: string]: unknown;
|
|
1723
|
+
};
|
|
1724
|
+
content: {
|
|
1725
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
};
|
|
1729
|
+
};
|
|
1730
|
+
RuntimeFilesAccessController_authorize: {
|
|
1731
|
+
parameters: {
|
|
1732
|
+
query?: never;
|
|
1733
|
+
header?: never;
|
|
1734
|
+
path: {
|
|
1735
|
+
bucketRef: string;
|
|
1736
|
+
fileId: string;
|
|
1737
|
+
};
|
|
1738
|
+
cookie?: never;
|
|
1739
|
+
};
|
|
1740
|
+
requestBody?: never;
|
|
1741
|
+
responses: {
|
|
1742
|
+
200: {
|
|
1743
|
+
headers: {
|
|
1744
|
+
[name: string]: unknown;
|
|
1745
|
+
};
|
|
1746
|
+
content: {
|
|
1747
|
+
"application/json": components["schemas"]["FileAccessAuthorizationDto"];
|
|
1748
|
+
};
|
|
1749
|
+
};
|
|
1750
|
+
403: {
|
|
1751
|
+
headers: {
|
|
1752
|
+
[name: string]: unknown;
|
|
1753
|
+
};
|
|
1754
|
+
content: {
|
|
1755
|
+
"application/json": components["schemas"]["FilesErrorDto"];
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
};
|
|
1759
|
+
};
|
|
1760
|
+
RuntimeFilesAccessController_download: {
|
|
1761
|
+
parameters: {
|
|
1762
|
+
query?: never;
|
|
1763
|
+
header?: never;
|
|
1764
|
+
path: {
|
|
1765
|
+
bucketRef: string;
|
|
1766
|
+
fileId: string;
|
|
1767
|
+
};
|
|
1768
|
+
cookie?: never;
|
|
1769
|
+
};
|
|
1770
|
+
requestBody?: never;
|
|
1771
|
+
responses: {
|
|
1772
|
+
200: {
|
|
1773
|
+
headers: {
|
|
1774
|
+
[name: string]: unknown;
|
|
1775
|
+
};
|
|
1776
|
+
content: {
|
|
1777
|
+
"application/json": components["schemas"]["FileDownloadLinkDto"];
|
|
1778
|
+
};
|
|
1779
|
+
};
|
|
1780
|
+
};
|
|
1781
|
+
};
|
|
953
1782
|
}
|