@nsp-labs/agnostic-sdk 1.1.0 → 1.5.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.
@@ -38,6 +38,57 @@ export interface paths {
38
38
  patch?: never;
39
39
  trace?: never;
40
40
  };
41
+ "/api/v1/runtime/data/tables/{tableName}/records/query": {
42
+ parameters: {
43
+ query?: never;
44
+ header?: never;
45
+ path?: never;
46
+ cookie?: never;
47
+ };
48
+ get?: never;
49
+ put?: never;
50
+ /** Read one projected Data page using a JSON query */
51
+ post: operations["runtimeDataQueryRecords"];
52
+ delete?: never;
53
+ options?: never;
54
+ head?: never;
55
+ patch?: never;
56
+ trace?: never;
57
+ };
58
+ "/api/v1/runtime/data/records/batch-query": {
59
+ parameters: {
60
+ query?: never;
61
+ header?: never;
62
+ path?: never;
63
+ cookie?: never;
64
+ };
65
+ get?: never;
66
+ put?: never;
67
+ /** Read bounded independent Data pages in the runtime scope */
68
+ post: operations["runtimeDataBatchQueryRecords"];
69
+ delete?: never;
70
+ options?: never;
71
+ head?: never;
72
+ patch?: never;
73
+ trace?: never;
74
+ };
75
+ "/api/v1/runtime/data/tables/{tableName}/records/aggregate": {
76
+ parameters: {
77
+ query?: never;
78
+ header?: never;
79
+ path?: never;
80
+ cookie?: never;
81
+ };
82
+ get?: never;
83
+ put?: never;
84
+ /** Aggregate Data records in the authenticated runtime context */
85
+ post: operations["runtimeDataAggregateRecords"];
86
+ delete?: never;
87
+ options?: never;
88
+ head?: never;
89
+ patch?: never;
90
+ trace?: never;
91
+ };
41
92
  "/api/v1/runtime/data/tables/{tableName}/records/{recordId}": {
42
93
  parameters: {
43
94
  query?: never;
@@ -158,10 +209,138 @@ export interface paths {
158
209
  patch?: never;
159
210
  trace?: never;
160
211
  };
212
+ "/api/v1/runtime/files/buckets/{bucketRef}/uploads": {
213
+ parameters: {
214
+ query?: never;
215
+ header?: never;
216
+ path?: never;
217
+ cookie?: never;
218
+ };
219
+ get?: never;
220
+ put?: never;
221
+ /** Create an exact-object runtime upload grant */
222
+ post: operations["runtimeFilesCreateUpload"];
223
+ delete?: never;
224
+ options?: never;
225
+ head?: never;
226
+ patch?: never;
227
+ trace?: never;
228
+ };
229
+ "/api/v1/runtime/files/buckets/{bucketRef}/uploads/{uploadId}/complete": {
230
+ parameters: {
231
+ query?: never;
232
+ header?: never;
233
+ path?: never;
234
+ cookie?: never;
235
+ };
236
+ get?: never;
237
+ put?: never;
238
+ /** Complete one runtime upload idempotently */
239
+ post: operations["runtimeFilesCompleteUpload"];
240
+ delete?: never;
241
+ options?: never;
242
+ head?: never;
243
+ patch?: never;
244
+ trace?: never;
245
+ };
246
+ "/api/v1/runtime/files/buckets/{bucketRef}/anonymous-upload-sessions": {
247
+ parameters: {
248
+ query?: never;
249
+ header?: never;
250
+ path?: never;
251
+ cookie?: never;
252
+ };
253
+ get?: never;
254
+ put?: never;
255
+ /** Create a BFF-mediated anonymous upload session */
256
+ post: operations["RuntimeFilesController_createAnonymousSession"];
257
+ delete?: never;
258
+ options?: never;
259
+ head?: never;
260
+ patch?: never;
261
+ trace?: never;
262
+ };
263
+ "/api/v1/runtime/files/buckets/{bucketRef}/anonymous-upload-sessions/claim": {
264
+ parameters: {
265
+ query?: never;
266
+ header?: never;
267
+ path?: never;
268
+ cookie?: never;
269
+ };
270
+ get?: never;
271
+ put?: never;
272
+ /** Claim one anonymous upload session for a business object */
273
+ post: operations["runtimeFilesClaimAnonymousSession"];
274
+ delete?: never;
275
+ options?: never;
276
+ head?: never;
277
+ patch?: never;
278
+ trace?: never;
279
+ };
280
+ "/api/v1/runtime/files/buckets/{bucketRef}/objects/{fileId}": {
281
+ parameters: {
282
+ query?: never;
283
+ header?: never;
284
+ path?: never;
285
+ cookie?: never;
286
+ };
287
+ /** Get one runtime-owned file and its current status */
288
+ get: operations["runtimeFilesGetObject"];
289
+ put?: never;
290
+ post?: never;
291
+ /** Delete one runtime-owned ready file idempotently */
292
+ delete: operations["runtimeFilesDeleteObject"];
293
+ options?: never;
294
+ head?: never;
295
+ patch?: never;
296
+ trace?: never;
297
+ };
298
+ "/api/v1/runtime/files/buckets/{bucketRef}/objects/{fileId}/access": {
299
+ parameters: {
300
+ query?: never;
301
+ header?: never;
302
+ path?: never;
303
+ cookie?: never;
304
+ };
305
+ get?: never;
306
+ put?: never;
307
+ /** Authorize runtime-owned private file access */
308
+ post: operations["RuntimeFilesAccessController_authorize"];
309
+ delete?: never;
310
+ options?: never;
311
+ head?: never;
312
+ patch?: never;
313
+ trace?: never;
314
+ };
315
+ "/api/v1/runtime/files/buckets/{bucketRef}/objects/{fileId}/download": {
316
+ parameters: {
317
+ query?: never;
318
+ header?: never;
319
+ path?: never;
320
+ cookie?: never;
321
+ };
322
+ get?: never;
323
+ put?: never;
324
+ /** Create a short runtime-owned private download link */
325
+ post: operations["RuntimeFilesAccessController_download"];
326
+ delete?: never;
327
+ options?: never;
328
+ head?: never;
329
+ patch?: never;
330
+ trace?: never;
331
+ };
161
332
  }
162
333
  export type webhooks = Record<string, never>;
163
334
  export interface components {
164
335
  schemas: {
336
+ ClaimFileAnonymousSessionDto: {
337
+ /** @description Opaque claim token returned once with the session. */
338
+ token: string;
339
+ /** @example order:order_123 */
340
+ externalRef: string;
341
+ /** @example order:order_123 */
342
+ idempotencyKey: string;
343
+ };
165
344
  CreateDataRecordDto: {
166
345
  /**
167
346
  * @description Optional record id; generated when omitted
@@ -176,7 +355,128 @@ export interface components {
176
355
  */
177
356
  values: Record<string, never>;
178
357
  };
358
+ CreateFileAnonymousBffSessionDto: {
359
+ /** Format: uuid */
360
+ profileId: string;
361
+ /** @example https://shop.example.com */
362
+ origin: string;
363
+ captchaToken: string;
364
+ /** @example 203.0.113.10 */
365
+ clientIp: string;
366
+ abuseKey?: string;
367
+ };
368
+ CreateFileUploadDto: {
369
+ /** @example invoice.pdf */
370
+ fileName: string;
371
+ /** @example application/pdf */
372
+ contentType: string;
373
+ size: number;
374
+ checksumSha256: string;
375
+ /**
376
+ * @default private
377
+ * @enum {string}
378
+ */
379
+ access: "private" | "authenticated" | "team" | "public";
380
+ idempotencyKey: string;
381
+ };
382
+ DataAggregateMetricDto: {
383
+ /**
384
+ * @example count
385
+ * @enum {string}
386
+ */
387
+ operation: "count" | "sum" | "avg" | "min" | "max";
388
+ /** @example amount */
389
+ field?: string;
390
+ /** @example orders */
391
+ as: string;
392
+ };
393
+ DataAggregateOrderByDto: {
394
+ /** @example orders */
395
+ by: string;
396
+ /**
397
+ * @example desc
398
+ * @enum {string}
399
+ */
400
+ direction: "asc" | "desc";
401
+ };
402
+ DataAggregateQueryDto: {
403
+ /**
404
+ * @example {
405
+ * "status": "paid"
406
+ * }
407
+ */
408
+ filter?: {
409
+ [key: string]: unknown;
410
+ };
411
+ /** @example alex */
412
+ q?: string;
413
+ /**
414
+ * @example [
415
+ * "status"
416
+ * ]
417
+ */
418
+ groupBy?: string[];
419
+ /**
420
+ * @example [
421
+ * {
422
+ * "operation": "count",
423
+ * "as": "orders"
424
+ * },
425
+ * {
426
+ * "operation": "sum",
427
+ * "field": "amount",
428
+ * "as": "revenue"
429
+ * }
430
+ * ]
431
+ */
432
+ metrics: components["schemas"]["DataAggregateMetricDto"][];
433
+ /**
434
+ * @example [
435
+ * {
436
+ * "by": "orders",
437
+ * "direction": "desc"
438
+ * }
439
+ * ]
440
+ */
441
+ orderBy?: components["schemas"]["DataAggregateOrderByDto"][];
442
+ /**
443
+ * @description Maximum groups to return; defaults to 20 for grouped queries
444
+ * @example 20
445
+ */
446
+ limit?: number;
447
+ };
448
+ DataAggregateResultDto: {
449
+ rows: components["schemas"]["DataAggregateRowDto"][];
450
+ /** @example 20 */
451
+ limit: number;
452
+ /** @example false */
453
+ hasMore: boolean;
454
+ };
455
+ DataAggregateRowDto: {
456
+ /**
457
+ * @example {
458
+ * "status": "paid"
459
+ * }
460
+ */
461
+ dimensions: {
462
+ [key: string]: unknown;
463
+ };
464
+ /**
465
+ * @example {
466
+ * "orders": 42,
467
+ * "revenue": 125000
468
+ * }
469
+ */
470
+ metrics: {
471
+ [key: string]: unknown;
472
+ };
473
+ };
179
474
  DataFieldDto: {
475
+ /**
476
+ * Format: uuid
477
+ * @example uuid
478
+ */
479
+ fieldId: string;
180
480
  /** @example status */
181
481
  name: string;
182
482
  /** @example Status */
@@ -286,6 +586,158 @@ export interface components {
286
586
  */
287
587
  settings: Record<string, never>;
288
588
  };
589
+ FileAccessAuthorizationDto: {
590
+ file: components["schemas"]["FileObjectDto"];
591
+ /** @enum {string} */
592
+ actorType: "runtime" | "platform_user" | "app_user" | "anonymous" | "system";
593
+ /** @enum {string} */
594
+ access: "private" | "authenticated" | "team" | "public";
595
+ /** Format: date-time */
596
+ authorizedAt: string;
597
+ /** @example request-123 */
598
+ requestId: string;
599
+ };
600
+ FileAnonymousClaimHandleDto: {
601
+ /** Format: uuid */
602
+ fileId: string;
603
+ /** @enum {string} */
604
+ status: "ready" | "processing";
605
+ };
606
+ FileAnonymousClaimResultDto: {
607
+ /** Format: uuid */
608
+ sessionId: string;
609
+ /** Format: uuid */
610
+ bucketId: string;
611
+ /** @example order:order_123 */
612
+ externalRef: string;
613
+ /** Format: date-time */
614
+ claimedAt: string;
615
+ files: components["schemas"]["FileAnonymousClaimHandleDto"][];
616
+ };
617
+ FileAnonymousSessionCredentialsDto: {
618
+ session: components["schemas"]["FileAnonymousUploadSessionDto"];
619
+ /** @description Opaque bearer token returned once; keep it out of URLs and logs. */
620
+ sessionToken: string;
621
+ /** @description Opaque claim token returned once; keep it out of URLs and logs. */
622
+ claimToken: string;
623
+ };
624
+ FileAnonymousUploadSessionDto: {
625
+ /** Format: uuid */
626
+ id: string;
627
+ /** Format: uuid */
628
+ profileId: string;
629
+ /** Format: uuid */
630
+ bucketId: string;
631
+ /** @enum {string} */
632
+ status: "open" | "sealed" | "claimed" | "expired";
633
+ usedFileCount: number;
634
+ declaredBytes: number;
635
+ actualBytes: number;
636
+ /** Format: date-time */
637
+ expiresAt: string;
638
+ /** Format: date-time */
639
+ sealedAt?: string | null;
640
+ /** Format: date-time */
641
+ claimedAt?: string | null;
642
+ };
643
+ FileDownloadLinkDto: {
644
+ /** Format: uri */
645
+ url: string;
646
+ /** Format: date-time */
647
+ expiresAt: string;
648
+ };
649
+ FileObjectDto: {
650
+ /** Format: uuid */
651
+ id: string;
652
+ /** Format: uuid */
653
+ bucketId: string;
654
+ /** Format: uuid */
655
+ projectId: string;
656
+ /** @example production */
657
+ environment: string;
658
+ /** @example invoice.pdf */
659
+ originalName: string;
660
+ /** @example application/pdf */
661
+ detectedMime?: string | null;
662
+ /** @example 1024 */
663
+ sizeBytes?: number | null;
664
+ checksumSha256?: string | null;
665
+ /** @enum {string} */
666
+ status: "pending_upload" | "uploaded" | "scanning" | "ready" | "verified_unclaimed" | "claimed_ready" | "deleting" | "deleted" | "rejected" | "quarantined" | "expired";
667
+ /** @enum {string} */
668
+ access: "private" | "authenticated" | "team" | "public";
669
+ /** Format: date-time */
670
+ readyAt?: string | null;
671
+ /** Format: date-time */
672
+ deletedAt?: string | null;
673
+ /** Format: date-time */
674
+ billableUntil?: string | null;
675
+ /** Format: date-time */
676
+ physicalDeleteDueAt?: string | null;
677
+ /** Format: date-time */
678
+ physicalDeletedAt?: string | null;
679
+ /** Format: date-time */
680
+ expiresAt?: string | null;
681
+ /** Format: date-time */
682
+ createdAt: string;
683
+ /** Format: date-time */
684
+ updatedAt: string;
685
+ };
686
+ FileUploadCompletionDto: {
687
+ upload: components["schemas"]["FileUploadSessionDto"];
688
+ file: components["schemas"]["FileObjectDto"];
689
+ };
690
+ FileUploadGrantDto: {
691
+ /** Format: uuid */
692
+ id: string;
693
+ /** Format: uuid */
694
+ fileId: string;
695
+ /** Format: uuid */
696
+ bucketId: string;
697
+ /** @enum {string} */
698
+ status: "issued" | "uploaded" | "verifying" | "completed" | "rejected" | "expired";
699
+ /** @example 1024 */
700
+ expectedSizeBytes: number;
701
+ /** Format: date-time */
702
+ expiresAt: string;
703
+ /** Format: date-time */
704
+ completedAt?: string | null;
705
+ /**
706
+ * Format: uri
707
+ * @description Short-lived exact-object PUT URL (default TTL: 10 minutes).
708
+ */
709
+ uploadUrl: string;
710
+ /** Format: date-time */
711
+ uploadUrlExpiresAt: string;
712
+ /** @description All headers must be sent unchanged with the PUT request. */
713
+ requiredHeaders: {
714
+ [key: string]: string;
715
+ };
716
+ };
717
+ FileUploadSessionDto: {
718
+ /** Format: uuid */
719
+ id: string;
720
+ /** Format: uuid */
721
+ fileId: string;
722
+ /** Format: uuid */
723
+ bucketId: string;
724
+ /** @enum {string} */
725
+ status: "issued" | "uploaded" | "verifying" | "completed" | "rejected" | "expired";
726
+ /** @example 1024 */
727
+ expectedSizeBytes: number;
728
+ /** Format: date-time */
729
+ expiresAt: string;
730
+ /** Format: date-time */
731
+ completedAt?: string | null;
732
+ };
733
+ FilesErrorDto: {
734
+ /** @enum {string} */
735
+ 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";
736
+ /** @example Файл ещё не готов к скачиванию. */
737
+ message: string;
738
+ /** @example request-123 */
739
+ requestId?: string;
740
+ };
289
741
  Object: Record<string, never>;
290
742
  RuntimeActorMetadataDto: {
291
743
  /**
@@ -417,6 +869,55 @@ export interface components {
417
869
  capabilities: string[];
418
870
  actor?: components["schemas"]["RuntimeActorMetadataDto"] | null;
419
871
  };
872
+ RuntimeDataBatchQueryDto: {
873
+ /** @description Independent read-only pages; sum of requested page limits must not exceed 1000 (default 50 per page). */
874
+ queries: components["schemas"]["RuntimeDataBatchQueryItemDto"][];
875
+ };
876
+ RuntimeDataBatchQueryItemDto: {
877
+ /** @example orders */
878
+ tableName: string;
879
+ query: components["schemas"]["RuntimeDataQueryDto"];
880
+ };
881
+ RuntimeDataBatchResultDto: {
882
+ /** @description Pages in request order, each with its own cursor. Not a transactional snapshot. Any failed query fails the whole request. */
883
+ results: components["schemas"]["DataRecordsListDto"][];
884
+ };
885
+ RuntimeDataQueryDto: {
886
+ /** @example 50 */
887
+ limit?: number;
888
+ /**
889
+ * @description Opaque versioned pagination cursor bound to this exact query. Legacy offset cursors are temporarily accepted.
890
+ * @example k1.b3BhcXVlLWl2.b3BhcXVlLXBheWxvYWQ.b3BhcXVlLXRhZw
891
+ */
892
+ cursor?: string;
893
+ /**
894
+ * @description Search text applied across searchable text columns
895
+ * @example alex
896
+ */
897
+ q?: string;
898
+ /** @example created_at:desc */
899
+ sort?: string;
900
+ /**
901
+ * @example {
902
+ * "id": {
903
+ * "in": [
904
+ * "record-a",
905
+ * "record-b"
906
+ * ]
907
+ * }
908
+ * }
909
+ */
910
+ filter?: {
911
+ [key: string]: unknown;
912
+ };
913
+ /**
914
+ * @description Technical field names to read. Record id is always included. Omit for all fields.
915
+ * @example [
916
+ * "title"
917
+ * ]
918
+ */
919
+ fields?: string[];
920
+ };
420
921
  RuntimeStartWorkflowDto: {
421
922
  /**
422
923
  * @example {
@@ -574,6 +1075,7 @@ export interface operations {
574
1075
  /** @description Environment key or UI alias: production/prod, staging, development/dev. */
575
1076
  environment?: string;
576
1077
  limit?: number;
1078
+ /** @description Opaque versioned pagination cursor bound to this exact query. Legacy offset cursors are temporarily accepted. */
577
1079
  cursor?: string;
578
1080
  /** @description Search text applied across searchable text columns */
579
1081
  q?: string;
@@ -651,24 +1153,27 @@ export interface operations {
651
1153
  };
652
1154
  };
653
1155
  };
654
- runtimeDataDeleteRecord: {
1156
+ runtimeDataQueryRecords: {
655
1157
  parameters: {
656
1158
  query?: never;
657
1159
  header?: never;
658
1160
  path: {
659
1161
  tableName: string;
660
- recordId: string;
661
1162
  };
662
1163
  cookie?: never;
663
1164
  };
664
- requestBody?: never;
1165
+ requestBody: {
1166
+ content: {
1167
+ "application/json": components["schemas"]["RuntimeDataQueryDto"];
1168
+ };
1169
+ };
665
1170
  responses: {
666
- 202: {
1171
+ 200: {
667
1172
  headers: {
668
1173
  [name: string]: unknown;
669
1174
  };
670
1175
  content: {
671
- "application/json": components["schemas"]["DataRecordMutationDto"];
1176
+ "application/json": components["schemas"]["DataRecordsListDto"];
672
1177
  };
673
1178
  };
674
1179
  /** @description Invalid runtime token */
@@ -687,14 +1192,126 @@ export interface operations {
687
1192
  };
688
1193
  };
689
1194
  };
690
- runtimeDataUpdateRecord: {
1195
+ runtimeDataBatchQueryRecords: {
691
1196
  parameters: {
692
1197
  query?: never;
693
1198
  header?: never;
694
- path: {
695
- tableName: string;
696
- recordId: string;
697
- };
1199
+ path?: never;
1200
+ cookie?: never;
1201
+ };
1202
+ requestBody: {
1203
+ content: {
1204
+ "application/json": components["schemas"]["RuntimeDataBatchQueryDto"];
1205
+ };
1206
+ };
1207
+ responses: {
1208
+ 200: {
1209
+ headers: {
1210
+ [name: string]: unknown;
1211
+ };
1212
+ content: {
1213
+ "application/json": components["schemas"]["RuntimeDataBatchResultDto"];
1214
+ };
1215
+ };
1216
+ /** @description Invalid runtime token */
1217
+ 401: {
1218
+ headers: {
1219
+ [name: string]: unknown;
1220
+ };
1221
+ content?: never;
1222
+ };
1223
+ /** @description Missing runtime capability */
1224
+ 403: {
1225
+ headers: {
1226
+ [name: string]: unknown;
1227
+ };
1228
+ content?: never;
1229
+ };
1230
+ };
1231
+ };
1232
+ runtimeDataAggregateRecords: {
1233
+ parameters: {
1234
+ query?: never;
1235
+ header?: never;
1236
+ path: {
1237
+ tableName: string;
1238
+ };
1239
+ cookie?: never;
1240
+ };
1241
+ requestBody: {
1242
+ content: {
1243
+ "application/json": components["schemas"]["DataAggregateQueryDto"];
1244
+ };
1245
+ };
1246
+ responses: {
1247
+ 200: {
1248
+ headers: {
1249
+ [name: string]: unknown;
1250
+ };
1251
+ content: {
1252
+ "application/json": components["schemas"]["DataAggregateResultDto"];
1253
+ };
1254
+ };
1255
+ /** @description Invalid runtime token */
1256
+ 401: {
1257
+ headers: {
1258
+ [name: string]: unknown;
1259
+ };
1260
+ content?: never;
1261
+ };
1262
+ /** @description Missing runtime capability */
1263
+ 403: {
1264
+ headers: {
1265
+ [name: string]: unknown;
1266
+ };
1267
+ content?: never;
1268
+ };
1269
+ };
1270
+ };
1271
+ runtimeDataDeleteRecord: {
1272
+ parameters: {
1273
+ query?: never;
1274
+ header?: never;
1275
+ path: {
1276
+ tableName: string;
1277
+ recordId: string;
1278
+ };
1279
+ cookie?: never;
1280
+ };
1281
+ requestBody?: never;
1282
+ responses: {
1283
+ 202: {
1284
+ headers: {
1285
+ [name: string]: unknown;
1286
+ };
1287
+ content: {
1288
+ "application/json": components["schemas"]["DataRecordMutationDto"];
1289
+ };
1290
+ };
1291
+ /** @description Invalid runtime token */
1292
+ 401: {
1293
+ headers: {
1294
+ [name: string]: unknown;
1295
+ };
1296
+ content?: never;
1297
+ };
1298
+ /** @description Missing runtime capability */
1299
+ 403: {
1300
+ headers: {
1301
+ [name: string]: unknown;
1302
+ };
1303
+ content?: never;
1304
+ };
1305
+ };
1306
+ };
1307
+ runtimeDataUpdateRecord: {
1308
+ parameters: {
1309
+ query?: never;
1310
+ header?: never;
1311
+ path: {
1312
+ tableName: string;
1313
+ recordId: string;
1314
+ };
698
1315
  cookie?: never;
699
1316
  };
700
1317
  requestBody: {
@@ -735,6 +1352,7 @@ export interface operations {
735
1352
  /** @description Environment key or UI alias: production/prod, staging, development/dev. */
736
1353
  environment?: string;
737
1354
  limit?: number;
1355
+ /** @description Opaque versioned pagination cursor bound to the saved view version and exact renderer query. */
738
1356
  cursor?: string;
739
1357
  };
740
1358
  header?: never;
@@ -950,4 +1568,374 @@ export interface operations {
950
1568
  };
951
1569
  };
952
1570
  };
1571
+ runtimeFilesCreateUpload: {
1572
+ parameters: {
1573
+ query?: never;
1574
+ header?: never;
1575
+ path: {
1576
+ bucketRef: string;
1577
+ };
1578
+ cookie?: never;
1579
+ };
1580
+ requestBody: {
1581
+ content: {
1582
+ "application/json": components["schemas"]["CreateFileUploadDto"];
1583
+ };
1584
+ };
1585
+ responses: {
1586
+ 201: {
1587
+ headers: {
1588
+ [name: string]: unknown;
1589
+ };
1590
+ content: {
1591
+ "application/json": components["schemas"]["FileUploadGrantDto"];
1592
+ };
1593
+ };
1594
+ /** @description Invalid runtime token */
1595
+ 401: {
1596
+ headers: {
1597
+ [name: string]: unknown;
1598
+ };
1599
+ content?: never;
1600
+ };
1601
+ 403: {
1602
+ headers: {
1603
+ [name: string]: unknown;
1604
+ };
1605
+ content: {
1606
+ "application/json": components["schemas"]["FilesErrorDto"];
1607
+ };
1608
+ };
1609
+ 404: {
1610
+ headers: {
1611
+ [name: string]: unknown;
1612
+ };
1613
+ content: {
1614
+ "application/json": components["schemas"]["FilesErrorDto"];
1615
+ };
1616
+ };
1617
+ 409: {
1618
+ headers: {
1619
+ [name: string]: unknown;
1620
+ };
1621
+ content: {
1622
+ "application/json": components["schemas"]["FilesErrorDto"];
1623
+ };
1624
+ };
1625
+ };
1626
+ };
1627
+ runtimeFilesCompleteUpload: {
1628
+ parameters: {
1629
+ query?: never;
1630
+ header?: never;
1631
+ path: {
1632
+ bucketRef: string;
1633
+ uploadId: string;
1634
+ };
1635
+ cookie?: never;
1636
+ };
1637
+ requestBody?: never;
1638
+ responses: {
1639
+ 200: {
1640
+ headers: {
1641
+ [name: string]: unknown;
1642
+ };
1643
+ content: {
1644
+ "application/json": components["schemas"]["FileUploadCompletionDto"];
1645
+ };
1646
+ };
1647
+ /** @description Invalid runtime token */
1648
+ 401: {
1649
+ headers: {
1650
+ [name: string]: unknown;
1651
+ };
1652
+ content?: never;
1653
+ };
1654
+ 403: {
1655
+ headers: {
1656
+ [name: string]: unknown;
1657
+ };
1658
+ content: {
1659
+ "application/json": components["schemas"]["FilesErrorDto"];
1660
+ };
1661
+ };
1662
+ 404: {
1663
+ headers: {
1664
+ [name: string]: unknown;
1665
+ };
1666
+ content: {
1667
+ "application/json": components["schemas"]["FilesErrorDto"];
1668
+ };
1669
+ };
1670
+ 409: {
1671
+ headers: {
1672
+ [name: string]: unknown;
1673
+ };
1674
+ content: {
1675
+ "application/json": components["schemas"]["FilesErrorDto"];
1676
+ };
1677
+ };
1678
+ };
1679
+ };
1680
+ RuntimeFilesController_createAnonymousSession: {
1681
+ parameters: {
1682
+ query?: never;
1683
+ header?: never;
1684
+ path: {
1685
+ bucketRef: string;
1686
+ };
1687
+ cookie?: never;
1688
+ };
1689
+ requestBody: {
1690
+ content: {
1691
+ "application/json": components["schemas"]["CreateFileAnonymousBffSessionDto"];
1692
+ };
1693
+ };
1694
+ responses: {
1695
+ 201: {
1696
+ headers: {
1697
+ [name: string]: unknown;
1698
+ };
1699
+ content: {
1700
+ "application/json": components["schemas"]["FileAnonymousSessionCredentialsDto"];
1701
+ };
1702
+ };
1703
+ /** @description Invalid runtime token */
1704
+ 401: {
1705
+ headers: {
1706
+ [name: string]: unknown;
1707
+ };
1708
+ content?: never;
1709
+ };
1710
+ 403: {
1711
+ headers: {
1712
+ [name: string]: unknown;
1713
+ };
1714
+ content: {
1715
+ "application/json": components["schemas"]["FilesErrorDto"];
1716
+ };
1717
+ };
1718
+ 404: {
1719
+ headers: {
1720
+ [name: string]: unknown;
1721
+ };
1722
+ content: {
1723
+ "application/json": components["schemas"]["FilesErrorDto"];
1724
+ };
1725
+ };
1726
+ 429: {
1727
+ headers: {
1728
+ [name: string]: unknown;
1729
+ };
1730
+ content: {
1731
+ "application/json": components["schemas"]["FilesErrorDto"];
1732
+ };
1733
+ };
1734
+ 503: {
1735
+ headers: {
1736
+ [name: string]: unknown;
1737
+ };
1738
+ content: {
1739
+ "application/json": components["schemas"]["FilesErrorDto"];
1740
+ };
1741
+ };
1742
+ };
1743
+ };
1744
+ runtimeFilesClaimAnonymousSession: {
1745
+ parameters: {
1746
+ query?: never;
1747
+ header?: never;
1748
+ path: {
1749
+ bucketRef: string;
1750
+ };
1751
+ cookie?: never;
1752
+ };
1753
+ requestBody: {
1754
+ content: {
1755
+ "application/json": components["schemas"]["ClaimFileAnonymousSessionDto"];
1756
+ };
1757
+ };
1758
+ responses: {
1759
+ 200: {
1760
+ headers: {
1761
+ [name: string]: unknown;
1762
+ };
1763
+ content: {
1764
+ "application/json": components["schemas"]["FileAnonymousClaimResultDto"];
1765
+ };
1766
+ };
1767
+ /** @description Invalid runtime token */
1768
+ 401: {
1769
+ headers: {
1770
+ [name: string]: unknown;
1771
+ };
1772
+ content?: never;
1773
+ };
1774
+ 403: {
1775
+ headers: {
1776
+ [name: string]: unknown;
1777
+ };
1778
+ content: {
1779
+ "application/json": components["schemas"]["FilesErrorDto"];
1780
+ };
1781
+ };
1782
+ 409: {
1783
+ headers: {
1784
+ [name: string]: unknown;
1785
+ };
1786
+ content: {
1787
+ "application/json": components["schemas"]["FilesErrorDto"];
1788
+ };
1789
+ };
1790
+ 410: {
1791
+ headers: {
1792
+ [name: string]: unknown;
1793
+ };
1794
+ content: {
1795
+ "application/json": components["schemas"]["FilesErrorDto"];
1796
+ };
1797
+ };
1798
+ };
1799
+ };
1800
+ runtimeFilesGetObject: {
1801
+ parameters: {
1802
+ query?: never;
1803
+ header?: never;
1804
+ path: {
1805
+ bucketRef: string;
1806
+ fileId: string;
1807
+ };
1808
+ cookie?: never;
1809
+ };
1810
+ requestBody?: never;
1811
+ responses: {
1812
+ 200: {
1813
+ headers: {
1814
+ [name: string]: unknown;
1815
+ };
1816
+ content: {
1817
+ "application/json": components["schemas"]["FileObjectDto"];
1818
+ };
1819
+ };
1820
+ /** @description Invalid runtime token */
1821
+ 401: {
1822
+ headers: {
1823
+ [name: string]: unknown;
1824
+ };
1825
+ content?: never;
1826
+ };
1827
+ 403: {
1828
+ headers: {
1829
+ [name: string]: unknown;
1830
+ };
1831
+ content: {
1832
+ "application/json": components["schemas"]["FilesErrorDto"];
1833
+ };
1834
+ };
1835
+ 404: {
1836
+ headers: {
1837
+ [name: string]: unknown;
1838
+ };
1839
+ content: {
1840
+ "application/json": components["schemas"]["FilesErrorDto"];
1841
+ };
1842
+ };
1843
+ };
1844
+ };
1845
+ runtimeFilesDeleteObject: {
1846
+ parameters: {
1847
+ query?: never;
1848
+ header?: never;
1849
+ path: {
1850
+ bucketRef: string;
1851
+ fileId: string;
1852
+ };
1853
+ cookie?: never;
1854
+ };
1855
+ requestBody?: never;
1856
+ responses: {
1857
+ /** @description Object tombstoned */
1858
+ 204: {
1859
+ headers: {
1860
+ [name: string]: unknown;
1861
+ };
1862
+ content?: never;
1863
+ };
1864
+ /** @description Invalid runtime token */
1865
+ 401: {
1866
+ headers: {
1867
+ [name: string]: unknown;
1868
+ };
1869
+ content?: never;
1870
+ };
1871
+ 403: {
1872
+ headers: {
1873
+ [name: string]: unknown;
1874
+ };
1875
+ content: {
1876
+ "application/json": components["schemas"]["FilesErrorDto"];
1877
+ };
1878
+ };
1879
+ 404: {
1880
+ headers: {
1881
+ [name: string]: unknown;
1882
+ };
1883
+ content: {
1884
+ "application/json": components["schemas"]["FilesErrorDto"];
1885
+ };
1886
+ };
1887
+ };
1888
+ };
1889
+ RuntimeFilesAccessController_authorize: {
1890
+ parameters: {
1891
+ query?: never;
1892
+ header?: never;
1893
+ path: {
1894
+ bucketRef: string;
1895
+ fileId: string;
1896
+ };
1897
+ cookie?: never;
1898
+ };
1899
+ requestBody?: never;
1900
+ responses: {
1901
+ 200: {
1902
+ headers: {
1903
+ [name: string]: unknown;
1904
+ };
1905
+ content: {
1906
+ "application/json": components["schemas"]["FileAccessAuthorizationDto"];
1907
+ };
1908
+ };
1909
+ 403: {
1910
+ headers: {
1911
+ [name: string]: unknown;
1912
+ };
1913
+ content: {
1914
+ "application/json": components["schemas"]["FilesErrorDto"];
1915
+ };
1916
+ };
1917
+ };
1918
+ };
1919
+ RuntimeFilesAccessController_download: {
1920
+ parameters: {
1921
+ query?: never;
1922
+ header?: never;
1923
+ path: {
1924
+ bucketRef: string;
1925
+ fileId: string;
1926
+ };
1927
+ cookie?: never;
1928
+ };
1929
+ requestBody?: never;
1930
+ responses: {
1931
+ 200: {
1932
+ headers: {
1933
+ [name: string]: unknown;
1934
+ };
1935
+ content: {
1936
+ "application/json": components["schemas"]["FileDownloadLinkDto"];
1937
+ };
1938
+ };
1939
+ };
1940
+ };
953
1941
  }