@calimero-network/mero-js 33.3.2 → 34.1.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.
@@ -92,7 +92,9 @@ export interface paths {
92
92
  put?: never;
93
93
  /**
94
94
  * Set who may reach an app
95
- * @description **Who:** a passkey session (an API key is refused).
95
+ * @description A package-bound session: only its own package's app, from one of its package's teams to another.
96
+ *
97
+ * **Who:** a passkey session (an API key is refused).
96
98
  */
97
99
  post: operations["app_access"];
98
100
  delete?: never;
@@ -110,7 +112,7 @@ export interface paths {
110
112
  };
111
113
  /**
112
114
  * Every replica's receipt-key attestation
113
- * @description Each replica's `/attestation?purpose=receipts` for `nonce` (32 bytes, hex), or why it could not be had (`error`). Any other query parameter is ignored.
115
+ * @description Each replica's `/attestation?purpose=receipts` for `nonce` (32 bytes, hex), or why it could not be had (`error`), and `cluster`, the cluster id each quote binds (with the replica's `node`): the documents are fetched in the clear, so their own `cluster` and `node` fields count for nothing. Any other query parameter is ignored.
114
116
  *
115
117
  * **Who:** whoever the app's access admits (a public app: anyone).
116
118
  */
@@ -381,6 +383,50 @@ export interface paths {
381
383
  patch?: never;
382
384
  trace?: never;
383
385
  };
386
+ "/apps/{app}/files/{id}/export": {
387
+ parameters: {
388
+ query?: never;
389
+ header?: never;
390
+ path?: never;
391
+ cookie?: never;
392
+ };
393
+ get?: never;
394
+ put?: never;
395
+ /**
396
+ * Export a sealed file's key
397
+ * @description The owner and the organization's members. `recipient` is an X25519 public key (64 hex characters); the file's data key comes back wrapped to it, with the file's `segments` (each one's hash, hex) and `ephemeral` public key. The node never answers plaintext or a key in the clear. 30 a minute per account.
398
+ *
399
+ * **Who:** signed in (a session or an API key).
400
+ */
401
+ post: operations["exports_export"];
402
+ delete?: never;
403
+ options?: never;
404
+ head?: never;
405
+ patch?: never;
406
+ trace?: never;
407
+ };
408
+ "/apps/{app}/files/{id}/segments/{k}": {
409
+ parameters: {
410
+ query?: never;
411
+ header?: never;
412
+ path?: never;
413
+ cookie?: never;
414
+ };
415
+ /**
416
+ * One segment of a sealed file
417
+ * @description Segment `k` (from 0) of the file's ciphertext, raw; the owner and the organization's members.
418
+ *
419
+ * **Who:** signed in (a session or an API key).
420
+ */
421
+ get: operations["exports_segment"];
422
+ put?: never;
423
+ post?: never;
424
+ delete?: never;
425
+ options?: never;
426
+ head?: never;
427
+ patch?: never;
428
+ trace?: never;
429
+ };
384
430
  "/apps/{app}/intents": {
385
431
  parameters: {
386
432
  query?: never;
@@ -491,6 +537,182 @@ export interface paths {
491
537
  patch?: never;
492
538
  trace?: never;
493
539
  };
540
+ "/apps/{app}/pipeline-runs": {
541
+ parameters: {
542
+ query?: never;
543
+ header?: never;
544
+ path?: never;
545
+ cookie?: never;
546
+ };
547
+ /**
548
+ * An app's pipeline runs
549
+ * @description The recent runs, newest first, as `{ runs }`; `limit` 1 to 100. Sizes, hashes and results only for callers who may list the app's files.
550
+ *
551
+ * **Who:** whoever the app's access admits (a public app: anyone).
552
+ */
553
+ get: operations["pipelines_list"];
554
+ put?: never;
555
+ post?: never;
556
+ delete?: never;
557
+ options?: never;
558
+ head?: never;
559
+ patch?: never;
560
+ trace?: never;
561
+ };
562
+ "/apps/{app}/pipeline-runs/{run}": {
563
+ parameters: {
564
+ query?: never;
565
+ header?: never;
566
+ path?: never;
567
+ cookie?: never;
568
+ };
569
+ /**
570
+ * One pipeline run
571
+ * @description Its record: `state`, `version`, `hash`, `computeBundle`, `inputs`, `params`, per-step `status`, `runs`, `outputs`, `result`, `reason` and `cost` (`cost` and `costSoFar` for a run with a cap). Sizes, hashes and results only for callers who may list the app's files.
572
+ *
573
+ * **Who:** whoever the app's access admits (a public app: anyone).
574
+ */
575
+ get: operations["pipelines_get"];
576
+ put?: never;
577
+ post?: never;
578
+ delete?: never;
579
+ options?: never;
580
+ head?: never;
581
+ patch?: never;
582
+ trace?: never;
583
+ };
584
+ "/apps/{app}/pipeline-runs/{run}/cancel": {
585
+ parameters: {
586
+ query?: never;
587
+ header?: never;
588
+ path?: never;
589
+ cookie?: never;
590
+ };
591
+ get?: never;
592
+ put?: never;
593
+ /**
594
+ * Cancel a pipeline run
595
+ * @description The owner and the organization's members. Its pending steps end cancelled and its running steps' runs stop.
596
+ *
597
+ * **Who:** signed in (a session or an API key).
598
+ */
599
+ post: operations["pipelines_cancel"];
600
+ delete?: never;
601
+ options?: never;
602
+ head?: never;
603
+ patch?: never;
604
+ trace?: never;
605
+ };
606
+ "/apps/{app}/pipeline-runs/{run}/events": {
607
+ parameters: {
608
+ query?: never;
609
+ header?: never;
610
+ path?: never;
611
+ cookie?: never;
612
+ };
613
+ /**
614
+ * A pipeline run as server-sent events
615
+ * @description Whoever may read the run. Metadata only; at most 64 streams per app per node, and one lasts an hour.
616
+ *
617
+ * **Who:** whoever the app's access admits (a public app: anyone).
618
+ */
619
+ get: operations["pipeline_events_events"];
620
+ put?: never;
621
+ post?: never;
622
+ delete?: never;
623
+ options?: never;
624
+ head?: never;
625
+ patch?: never;
626
+ trace?: never;
627
+ };
628
+ "/apps/{app}/pipeline-runs/{run}/receipt": {
629
+ parameters: {
630
+ query?: never;
631
+ header?: never;
632
+ path?: never;
633
+ cookie?: never;
634
+ };
635
+ /**
636
+ * A pipeline run's receipt
637
+ * @description The owner and the organization's members. For an ended run: the receipt, the answering node and its signature over it, by the node's receipt key.
638
+ *
639
+ * **Who:** signed in (a session or an API key).
640
+ */
641
+ get: operations["pipeline_receipt_receipt"];
642
+ put?: never;
643
+ post?: never;
644
+ delete?: never;
645
+ options?: never;
646
+ head?: never;
647
+ patch?: never;
648
+ trace?: never;
649
+ };
650
+ "/apps/{app}/pipeline-runs/{run}/retry": {
651
+ parameters: {
652
+ query?: never;
653
+ header?: never;
654
+ path?: never;
655
+ cookie?: never;
656
+ };
657
+ get?: never;
658
+ put?: never;
659
+ /**
660
+ * Retry a pipeline run
661
+ * @description The owner and the organization's members. A new run of an ended run's pipeline at the same release, hash and compute component, with the same inputs and params, the `limits` applied and `retryOf` set. `202`.
662
+ *
663
+ * **Who:** signed in (a session or an API key).
664
+ */
665
+ post: operations["pipelines_retry"];
666
+ delete?: never;
667
+ options?: never;
668
+ head?: never;
669
+ patch?: never;
670
+ trace?: never;
671
+ };
672
+ "/apps/{app}/pipelines/{name}/estimate": {
673
+ parameters: {
674
+ query?: never;
675
+ header?: never;
676
+ path?: never;
677
+ cookie?: never;
678
+ };
679
+ get?: never;
680
+ put?: never;
681
+ /**
682
+ * Estimate a pipeline run
683
+ * @description The owner and the organization's members. Runs, fuel and cost of a run of a pipeline the app's release registers, for `inputs` (file ids, only counted) or `counts`, not both; numbers as decimal strings.
684
+ *
685
+ * **Who:** signed in (a session or an API key).
686
+ */
687
+ post: operations["pipelines_estimate_run"];
688
+ delete?: never;
689
+ options?: never;
690
+ head?: never;
691
+ patch?: never;
692
+ trace?: never;
693
+ };
694
+ "/apps/{app}/pipelines/{name}/runs": {
695
+ parameters: {
696
+ query?: never;
697
+ header?: never;
698
+ path?: never;
699
+ cookie?: never;
700
+ };
701
+ get?: never;
702
+ put?: never;
703
+ /**
704
+ * Start a pipeline run
705
+ * @description The owner and the organization's members. Starts a run of a pipeline the app's release registers. `maxCost` (micro-units, a decimal string) caps the run, and `worstCase` answers it. `202`.
706
+ *
707
+ * **Who:** signed in (a session or an API key).
708
+ */
709
+ post: operations["pipelines_start"];
710
+ delete?: never;
711
+ options?: never;
712
+ head?: never;
713
+ patch?: never;
714
+ trace?: never;
715
+ };
494
716
  "/apps/{app}/presence": {
495
717
  parameters: {
496
718
  query?: never;
@@ -897,6 +1119,34 @@ export interface paths {
897
1119
  patch?: never;
898
1120
  trace?: never;
899
1121
  };
1122
+ "/auth/backup-key": {
1123
+ parameters: {
1124
+ query?: never;
1125
+ header?: never;
1126
+ path?: never;
1127
+ cookie?: never;
1128
+ };
1129
+ /**
1130
+ * The account's backup key
1131
+ * @description The X25519 public key the recovery-disk backups of the account's personal apps are sealed to (`key`, `null` while none is set).
1132
+ *
1133
+ * **Who:** an account holder (a passkey session not bound to an app's frontend).
1134
+ */
1135
+ get: operations["account_backup_key"];
1136
+ put?: never;
1137
+ /**
1138
+ * Set the account's backup key
1139
+ * @description `publicKey`: 64 lowercase hex, an X25519 public key whose private half the account holder keeps (never a node), for its personal apps, where owners upgrade apps. `412` first.
1140
+ *
1141
+ * **Who:** an account holder (a passkey session not bound to an app's frontend). **Step-up:** answers `412 CONFIRM_REQUIRED` first; send the same request again with `confirm`, a passkey assertion over `details.challenge`.
1142
+ */
1143
+ post: operations["account_set_backup_key"];
1144
+ delete?: never;
1145
+ options?: never;
1146
+ head?: never;
1147
+ patch?: never;
1148
+ trace?: never;
1149
+ };
900
1150
  "/auth/logout": {
901
1151
  parameters: {
902
1152
  query?: never;
@@ -1394,7 +1644,7 @@ export interface paths {
1394
1644
  put?: never;
1395
1645
  /**
1396
1646
  * Ask the account's owner to approve
1397
- * @description From an app's frontend: a release approval, an upgrade of its instance, or outbound prefixes, approved on the node's own consent page (`url`), which takes the passkey. 64 KiB at most.
1647
+ * @description From an app's frontend: a release approval, an upgrade of its instance, outbound prefixes, a new organization, a new invite or joining with one, leaving an organization, a member's removal, role, teams or capabilities, an invite's revocation, an organization's name, its deletion, defaults or all-apps grants, approved on the node's own consent page (`url`), which takes the passkey. What the approval made (`orgId`, an invite's `token`, the `org` joined, a rename's `{ orgId, name }`, a deletion's `apps`) is in `/consent/{request}/result`'s `outcome`. 64 KiB at most.
1398
1648
  *
1399
1649
  * **Who:** a passkey session (an API key is refused).
1400
1650
  */
@@ -1414,7 +1664,7 @@ export interface paths {
1414
1664
  };
1415
1665
  /**
1416
1666
  * What became of a consent request
1417
- * @description `decidedAt` (Unix seconds) is `null` while it is pending.
1667
+ * @description `decidedAt` (Unix seconds) is `null` while it is pending. `outcome`, once approved, is what the approval made: `{ orgId }` for `createOrg`, `{ token }` for `createInvite`, `{ org }` for `acceptInvite`, `{ orgId, name }` for `renameOrg`, `{ apps }` (the apps deleted) for `deleteOrg`; absent for the other kinds.
1418
1668
  *
1419
1669
  * **Who:** a passkey session (an API key is refused).
1420
1670
  */
@@ -1690,7 +1940,7 @@ export interface paths {
1690
1940
  put?: never;
1691
1941
  /**
1692
1942
  * Restore an app from its sealed backup
1693
- * @description Signed over `<app> / __restore_app / { backup, sha256 }`. The receiving node holds the backup (`backup`, else the newest, in `{backup-dir}/{app}/`) and seeds the restore; answers once every replica holds the restored state: the rows restored, the backup (`format` 0, with `merod` and `release` `null`, for one written before manifests) and the app group's Raft status.
1943
+ * @description Signed over `<app> / __restore_app / { backup, sha256 }`. The receiving node holds the backup (`backup`, else the newest, in `{backup-dir}/{app}/`) and seeds the restore; answers once every replica holds the restored state: the rows restored, the backup (`format` 0, with `merod` and `release` `null`, for one written before manifests) and the app group's Raft status. `recovery` restores from a recovery-disk file instead (in the app's holder's directory under `--recover-from`, else `--recovery-dir`), opened with the data key its holder opened from it (hex); `backup` is then the file's name and `sha256` its body's.
1694
1944
  *
1695
1945
  * **Who:** the ops token. **Operator signature:** answers `428 OPERATOR_SIGNATURE_REQUIRED` first; send it again with `operatorProof`, the operator key's signature over `details.message` and its `nonce`.
1696
1946
  */
@@ -1745,6 +1995,34 @@ export interface paths {
1745
1995
  patch?: never;
1746
1996
  trace?: never;
1747
1997
  };
1998
+ "/ops/backup-key": {
1999
+ parameters: {
2000
+ query?: never;
2001
+ header?: never;
2002
+ path?: never;
2003
+ cookie?: never;
2004
+ };
2005
+ /**
2006
+ * The operator's backup key
2007
+ * @description The X25519 public key every app's recovery-disk backups are sealed to where the operator upgrades apps (`key`, `null` while none is set).
2008
+ *
2009
+ * **Who:** the ops token.
2010
+ */
2011
+ get: operations["ops_backup_key"];
2012
+ put?: never;
2013
+ /**
2014
+ * Set the operator's backup key
2015
+ * @description Signed over `operator / __set_backup_key / { publicKey }`, where the operator upgrades apps (else `403`). `publicKey`: 64 lowercase hex, an X25519 public key whose private half the operator keeps (never a node).
2016
+ *
2017
+ * **Who:** the ops token. **Operator signature:** answers `428 OPERATOR_SIGNATURE_REQUIRED` first; send it again with `operatorProof`, the operator key's signature over `details.message` and its `nonce`.
2018
+ */
2019
+ post: operations["ops_set_backup_key"];
2020
+ delete?: never;
2021
+ options?: never;
2022
+ head?: never;
2023
+ patch?: never;
2024
+ trace?: never;
2025
+ };
1748
2026
  "/ops/cluster": {
1749
2027
  parameters: {
1750
2028
  query?: never;
@@ -2157,6 +2435,34 @@ export interface paths {
2157
2435
  patch?: never;
2158
2436
  trace?: never;
2159
2437
  };
2438
+ "/ops/prices": {
2439
+ parameters: {
2440
+ query?: never;
2441
+ header?: never;
2442
+ path?: never;
2443
+ cookie?: never;
2444
+ };
2445
+ /**
2446
+ * The price table
2447
+ * @description In micro-units of the billing currency; `{}` until one is set.
2448
+ *
2449
+ * **Who:** the ops token.
2450
+ */
2451
+ get: operations["ops_prices_get"];
2452
+ put?: never;
2453
+ /**
2454
+ * Set the price table
2455
+ * @description Signed over `cluster / __set_price_table / { table }`; `PRICE_VERSION` unless `version` is the current one plus one (1 for the first), `BAD_PRICES` for a zero `fuelPerVcpuSecond`.
2456
+ *
2457
+ * **Who:** the ops token. **Operator signature:** answers `428 OPERATOR_SIGNATURE_REQUIRED` first; send it again with `operatorProof`, the operator key's signature over `details.message` and its `nonce`.
2458
+ */
2459
+ post: operations["ops_prices_set"];
2460
+ delete?: never;
2461
+ options?: never;
2462
+ head?: never;
2463
+ patch?: never;
2464
+ trace?: never;
2465
+ };
2160
2466
  "/ops/quotas": {
2161
2467
  parameters: {
2162
2468
  query?: never;
@@ -2185,7 +2491,7 @@ export interface paths {
2185
2491
  patch?: never;
2186
2492
  trace?: never;
2187
2493
  };
2188
- "/ops/releases": {
2494
+ "/ops/recover": {
2189
2495
  parameters: {
2190
2496
  query?: never;
2191
2497
  header?: never;
@@ -2195,29 +2501,73 @@ export interface paths {
2195
2501
  get?: never;
2196
2502
  put?: never;
2197
2503
  /**
2198
- * Approve a mero-tee release for every app
2199
- * @description Where the operator holds release approvals.
2504
+ * Found the cluster again from its recovery disk
2505
+ * @description On the founder started with `--bootstrap --recover-from DIR`, its system state empty: the newest `system` file in `DIR/operator/` and the apps' `code` files, each with the data key the operator opened from it (hex). Checked as founding from backups is (governance, operator key, no node of the old cluster answering), then the system group is seeded; each app waits for `POST /ops/apps/{app}/restore { recovery }`.
2200
2506
  *
2201
- * **Who:** the ops token. **Operator signature:** answers `428 OPERATOR_SIGNATURE_REQUIRED` first; send it again with `operatorProof`, the operator key's signature over `details.message` and its `nonce`.
2507
+ * **Who:** the ops token.
2202
2508
  */
2203
- post: operations["ops_release"];
2509
+ post: operations["ops_recover"];
2204
2510
  delete?: never;
2205
2511
  options?: never;
2206
2512
  head?: never;
2207
2513
  patch?: never;
2208
2514
  trace?: never;
2209
2515
  };
2210
- "/ops/releases/{version}/deadline": {
2516
+ "/ops/recovery-files": {
2211
2517
  parameters: {
2212
2518
  query?: never;
2213
2519
  header?: never;
2214
2520
  path?: never;
2215
2521
  cookie?: never;
2216
2522
  };
2217
- get?: never;
2218
- put?: never;
2219
2523
  /**
2220
- * Set a release deadline
2524
+ * The recovery files a node reads
2525
+ * @description In `--recover-from`, else `--recovery-dir`, of `holder` (`operator`, the default; `org:<id>`; `account:<id>`): each file's name, its header as signed (JSON text) and the node's Ed25519 signature over `calimero.recovery-backup.v1\0` and those bytes (hex), for the holder's device to check before it opens a key with its own.
2526
+ *
2527
+ * **Who:** the ops token.
2528
+ */
2529
+ get: operations["ops_recovery_files"];
2530
+ put?: never;
2531
+ post?: never;
2532
+ delete?: never;
2533
+ options?: never;
2534
+ head?: never;
2535
+ patch?: never;
2536
+ trace?: never;
2537
+ };
2538
+ "/ops/releases": {
2539
+ parameters: {
2540
+ query?: never;
2541
+ header?: never;
2542
+ path?: never;
2543
+ cookie?: never;
2544
+ };
2545
+ get?: never;
2546
+ put?: never;
2547
+ /**
2548
+ * Approve a mero-tee release for every app
2549
+ * @description Where the operator holds release approvals.
2550
+ *
2551
+ * **Who:** the ops token. **Operator signature:** answers `428 OPERATOR_SIGNATURE_REQUIRED` first; send it again with `operatorProof`, the operator key's signature over `details.message` and its `nonce`.
2552
+ */
2553
+ post: operations["ops_release"];
2554
+ delete?: never;
2555
+ options?: never;
2556
+ head?: never;
2557
+ patch?: never;
2558
+ trace?: never;
2559
+ };
2560
+ "/ops/releases/{version}/deadline": {
2561
+ parameters: {
2562
+ query?: never;
2563
+ header?: never;
2564
+ path?: never;
2565
+ cookie?: never;
2566
+ };
2567
+ get?: never;
2568
+ put?: never;
2569
+ /**
2570
+ * Set a release deadline
2221
2571
  * @description After `after` (RFC 3339), apps whose approver has not moved past the release may start no new work.
2222
2572
  *
2223
2573
  * **Who:** the ops token. **Operator signature:** answers `428 OPERATOR_SIGNATURE_REQUIRED` first; send it again with `operatorProof`, the operator key's signature over `details.message` and its `nonce`.
@@ -2487,6 +2837,34 @@ export interface paths {
2487
2837
  patch?: never;
2488
2838
  trace?: never;
2489
2839
  };
2840
+ "/orgs/{org}/backup-key": {
2841
+ parameters: {
2842
+ query?: never;
2843
+ header?: never;
2844
+ path?: never;
2845
+ cookie?: never;
2846
+ };
2847
+ /**
2848
+ * The organization's backup key
2849
+ * @description The X25519 public key its apps' recovery-disk backups are sealed to (`key`, `null` while none is set), and how many apps that covers. Any member; `404` outside the organization.
2850
+ *
2851
+ * **Who:** an account holder (a passkey session not bound to an app's frontend).
2852
+ */
2853
+ get: operations["org_backup_key"];
2854
+ put?: never;
2855
+ /**
2856
+ * Set the organization's backup key
2857
+ * @description `publicKey`: 64 lowercase hex, an X25519 public key whose private half its holder keeps (never a node). Those who upgrade all the organization's apps (org-wide `MANAGE_APPLICATION`), where owners upgrade apps; replaces the key before. `412` first.
2858
+ *
2859
+ * **Who:** an account holder (a passkey session not bound to an app's frontend). **Step-up:** answers `412 CONFIRM_REQUIRED` first; send the same request again with `confirm`, a passkey assertion over `details.challenge`.
2860
+ */
2861
+ post: operations["org_set_backup_key"];
2862
+ delete?: never;
2863
+ options?: never;
2864
+ head?: never;
2865
+ patch?: never;
2866
+ trace?: never;
2867
+ };
2490
2868
  "/orgs/{org}/capabilities": {
2491
2869
  parameters: {
2492
2870
  query?: never;
@@ -2888,7 +3266,7 @@ export interface paths {
2888
3266
  put?: never;
2889
3267
  /**
2890
3268
  * Create a team
2891
- * @description An admin, a lead of `parent`, a member with `CREATE_TEAM` at the top, or a member who holds `CREATE_CHILD_TEAM` under `parent` (a restricted team only).
3269
+ * @description An admin, a lead of `parent`, a member with `CREATE_TEAM` at the top, or a member who holds `CREATE_CHILD_TEAM` under `parent` (a restricted team only). A package-bound session: only its own package's teams (its app team and the teams below it): `parent` one of them.
2892
3270
  *
2893
3271
  * **Who:** a passkey session (an API key is refused).
2894
3272
  */
@@ -2914,14 +3292,14 @@ export interface paths {
2914
3292
  put?: never;
2915
3293
  /**
2916
3294
  * Update a team
2917
- * @description Rename, open or restrict, move under another parent, or set its metadata (the caller's own JSON, free-form, kept as given). `parent` absent leaves the team where it is; `parent: null` (an explicit null) moves it to the top; a team id moves it under that team.
3295
+ * @description Rename, open or restrict, move under another parent, or set its metadata (the caller's own JSON, free-form, kept as given). `parent` absent leaves the team where it is; `parent: null` (an explicit null) moves it to the top; a team id moves it under that team. A package-bound session: only its own package's teams (its app team and the teams below it): a team below its app team, moved only within.
2918
3296
  *
2919
3297
  * **Who:** a passkey session (an API key is refused).
2920
3298
  */
2921
3299
  post: operations["team_update"];
2922
3300
  /**
2923
3301
  * Delete a team
2924
- * @description With the teams and apps below it.
3302
+ * @description With the teams and apps below it. A package-bound session: only its own package's teams (its app team and the teams below it): a team below its app team whose apps are all its package's.
2925
3303
  *
2926
3304
  * **Who:** a passkey session (an API key is refused). **Step-up:** answers `412 CONFIRM_REQUIRED` first; send the same request again with `confirm`, a passkey assertion over `details.challenge`.
2927
3305
  */
@@ -2942,7 +3320,9 @@ export interface paths {
2942
3320
  put?: never;
2943
3321
  /**
2944
3322
  * Add or change a team member
2945
- * @description **Who:** a passkey session (an API key is refused). **Step-up:** answers `412 CONFIRM_REQUIRED` first; send the same request again with `confirm`, a passkey assertion over `details.challenge`.
3323
+ * @description A package-bound session: only its own package's teams (its app team and the teams below it).
3324
+ *
3325
+ * **Who:** a passkey session (an API key is refused). **Step-up:** answers `412 CONFIRM_REQUIRED` first; send the same request again with `confirm`, a passkey assertion over `details.challenge`.
2946
3326
  */
2947
3327
  post: operations["team_set_member"];
2948
3328
  delete?: never;
@@ -2963,7 +3343,9 @@ export interface paths {
2963
3343
  post?: never;
2964
3344
  /**
2965
3345
  * Remove a team member, or leave
2966
- * @description **Who:** a passkey session (an API key is refused). **Step-up:** answers `412 CONFIRM_REQUIRED` first; send the same request again with `confirm`, a passkey assertion over `details.challenge`.
3346
+ * @description A package-bound session: only its own package's teams (its app team and the teams below it).
3347
+ *
3348
+ * **Who:** a passkey session (an API key is refused). **Step-up:** answers `412 CONFIRM_REQUIRED` first; send the same request again with `confirm`, a passkey assertion over `details.challenge`.
2967
3349
  */
2968
3350
  delete: operations["team_remove_member"];
2969
3351
  options?: never;
@@ -3187,6 +3569,50 @@ export interface paths {
3187
3569
  patch?: never;
3188
3570
  trace?: never;
3189
3571
  };
3572
+ "/packages/{package}/{version}/pipelines": {
3573
+ parameters: {
3574
+ query?: never;
3575
+ header?: never;
3576
+ path?: never;
3577
+ cookie?: never;
3578
+ };
3579
+ /**
3580
+ * A release's pipelines
3581
+ * @description The pipelines the release registers, by name: `hash`, `worstCaseFuel` (a decimal string), the `modules` they pin and the canonical `pipeline`. `404` for a release the caller may not see.
3582
+ *
3583
+ * **Who:** signed in (a session or an API key).
3584
+ */
3585
+ get: operations["package_pipelines"];
3586
+ put?: never;
3587
+ post?: never;
3588
+ delete?: never;
3589
+ options?: never;
3590
+ head?: never;
3591
+ patch?: never;
3592
+ trace?: never;
3593
+ };
3594
+ "/pipelines/validate": {
3595
+ parameters: {
3596
+ query?: never;
3597
+ header?: never;
3598
+ path?: never;
3599
+ cookie?: never;
3600
+ };
3601
+ get?: never;
3602
+ put?: never;
3603
+ /**
3604
+ * Validate a pipeline
3605
+ * @description Every problem of `source`; with `package` and `version` (both, a release the caller sees) also against that release's methods, modules and the cluster's pools. Writes nothing.
3606
+ *
3607
+ * **Who:** signed in (a session or an API key).
3608
+ */
3609
+ post: operations["pipelines_validate"];
3610
+ delete?: never;
3611
+ options?: never;
3612
+ head?: never;
3613
+ patch?: never;
3614
+ trace?: never;
3615
+ };
3190
3616
  "/publishers/{signer}": {
3191
3617
  parameters: {
3192
3618
  query?: never;
@@ -3209,6 +3635,28 @@ export interface paths {
3209
3635
  patch?: never;
3210
3636
  trace?: never;
3211
3637
  };
3638
+ "/recover/holder": {
3639
+ parameters: {
3640
+ query?: never;
3641
+ header?: never;
3642
+ path?: never;
3643
+ cookie?: never;
3644
+ };
3645
+ get?: never;
3646
+ put?: never;
3647
+ /**
3648
+ * Bring an organization's or account's apps back from its recovery files
3649
+ * @description Sent by the holder's own device, over the sealed channel: its newest `holder` file (`slice`), each app's file and the code files, in the receiving node's `--recovery-dir` (or `--recover-from`) under `org-<id>/` or `account-<id>/`, each with the data key the holder opened from it with its backup key (hex). The cluster admits it with the operator's signature over `cluster / __recover_holder / { holder, slice, apps: [{ app, file, sha256 }] }` (`428` first, naming it). Where owners upgrade apps, and only for an organization, account, apps and passkeys the cluster does not hold; the receiving node seeds each app, which answers `409 APP_RESTORING` until its replicas hold it. People sign in again with the passkeys they had.
3650
+ *
3651
+ * **Who:** anyone. **Operator signature:** answers `428 OPERATOR_SIGNATURE_REQUIRED` first; send it again with `operatorProof`, the operator key's signature over `details.message` and its `nonce`.
3652
+ */
3653
+ post: operations["restore_recover_holder"];
3654
+ delete?: never;
3655
+ options?: never;
3656
+ head?: never;
3657
+ patch?: never;
3658
+ trace?: never;
3659
+ };
3212
3660
  "/releases": {
3213
3661
  parameters: {
3214
3662
  query?: never;
@@ -3364,6 +3812,22 @@ export interface components {
3364
3812
  expiresAt: number;
3365
3813
  refreshToken: string;
3366
3814
  };
3815
+ /** @description A holder's backup key: who holds it (`{ kind: "operator" }`, `{ kind: "org", id }` or `{ kind: "account", id }`), the X25519 public key the recovery disk seals their apps' backups to (`null` while none is set), and how many apps that covers. */
3816
+ BackupKeyAnswer: {
3817
+ holder: {
3818
+ /** @enum {string} */
3819
+ kind: "operator" | "org" | "account";
3820
+ id?: string;
3821
+ };
3822
+ key: {
3823
+ publicKey: string;
3824
+ /** Format: int64 */
3825
+ setAt: number;
3826
+ setBy: string;
3827
+ } | null;
3828
+ /** Format: int64 */
3829
+ apps: number;
3830
+ };
3367
3831
  /** @description An entry an app's log applied: its index, how it ended and the app's error (`null` when it ended `ok`; the app's own error value otherwise, free-form). `details` of a `422 UPGRADE_FAILED`. */
3368
3832
  Applied: {
3369
3833
  /** Format: int64 */
@@ -3856,6 +4320,8 @@ export interface components {
3856
4320
  /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
3857
4321
  initArgs: unknown;
3858
4322
  computeBundle?: string;
4323
+ /** @enum {string} */
4324
+ components?: "computeOnly";
3859
4325
  /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
3860
4326
  metadata: unknown;
3861
4327
  lastUpgrade?: components["schemas"]["Upgrade"];
@@ -4638,6 +5104,7 @@ export interface operations {
4638
5104
  content: {
4639
5105
  "application/json": {
4640
5106
  appId: string;
5107
+ cluster: string;
4641
5108
  replicas: ({
4642
5109
  /** Format: int64 */
4643
5110
  node: number;
@@ -5594,23 +6061,20 @@ export interface operations {
5594
6061
  };
5595
6062
  };
5596
6063
  };
5597
- intents: {
6064
+ exports_export: {
5598
6065
  parameters: {
5599
6066
  query?: never;
5600
6067
  header?: never;
5601
6068
  path: {
5602
6069
  app: string;
6070
+ id: string;
5603
6071
  };
5604
6072
  cookie?: never;
5605
6073
  };
5606
6074
  requestBody: {
5607
6075
  content: {
5608
6076
  "application/json": {
5609
- method: string;
5610
- /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
5611
- args?: unknown;
5612
- idempotencyKey?: string;
5613
- confirm?: components["schemas"]["Confirm"];
6077
+ recipient: string;
5614
6078
  };
5615
6079
  };
5616
6080
  };
@@ -5622,20 +6086,18 @@ export interface operations {
5622
6086
  };
5623
6087
  content: {
5624
6088
  "application/json": {
6089
+ app: string;
6090
+ id: string;
5625
6091
  /** Format: int64 */
5626
- index: number;
5627
- /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
5628
- result: unknown;
5629
- events: {
5630
- kind: string;
5631
- /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
5632
- data: unknown;
5633
- }[];
5634
- receipt: components["schemas"]["Receipt"];
6092
+ size: number;
6093
+ sha256: string;
6094
+ segments: string[];
6095
+ ephemeral: string;
6096
+ wrapped: string;
5635
6097
  };
5636
6098
  };
5637
6099
  };
5638
- /** @description `EXPIRED_CHALLENGE`; `UNKNOWN_CHALLENGE` */
6100
+ /** @description `BAD_RECIPIENT`; `BAD_REQUEST`: the request is malformed */
5639
6101
  400: {
5640
6102
  headers: {
5641
6103
  [name: string]: unknown;
@@ -5671,33 +6133,6 @@ export interface operations {
5671
6133
  "application/json": components["schemas"]["Error"];
5672
6134
  };
5673
6135
  };
5674
- /** @description `RELEASE_DEADLINE`. `details` of `RELEASE_DEADLINE`: a `ReleaseDeadline`. */
5675
- 409: {
5676
- headers: {
5677
- [name: string]: unknown;
5678
- };
5679
- content: {
5680
- "application/json": components["schemas"]["Error"];
5681
- };
5682
- };
5683
- /** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
5684
- 412: {
5685
- headers: {
5686
- [name: string]: unknown;
5687
- };
5688
- content: {
5689
- "application/json": components["schemas"]["Error"];
5690
- };
5691
- };
5692
- /** @description `ARGS_TOO_LARGE` */
5693
- 413: {
5694
- headers: {
5695
- [name: string]: unknown;
5696
- };
5697
- content: {
5698
- "application/json": components["schemas"]["Error"];
5699
- };
5700
- };
5701
6136
  /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
5702
6137
  421: {
5703
6138
  headers: {
@@ -5707,16 +6142,7 @@ export interface operations {
5707
6142
  "application/json": components["schemas"]["Error"];
5708
6143
  };
5709
6144
  };
5710
- /** @description `APP_ERROR`; `TRAP`. `details` of `APP_ERROR`: a `AppError`, `TRAP`: a `Trap`. */
5711
- 422: {
5712
- headers: {
5713
- [name: string]: unknown;
5714
- };
5715
- content: {
5716
- "application/json": components["schemas"]["Error"];
5717
- };
5718
- };
5719
- /** @description `QUOTA_EXCEEDED` */
6145
+ /** @description `TOO_MANY_EXPORTS` */
5720
6146
  429: {
5721
6147
  headers: {
5722
6148
  [name: string]: unknown;
@@ -5725,42 +6151,37 @@ export interface operations {
5725
6151
  "application/json": components["schemas"]["Error"];
5726
6152
  };
5727
6153
  };
5728
- /** @description `TIMEOUT`; `UNAVAILABLE`: the cluster cannot answer now. `details` of `TIMEOUT`: a `RetryAfter`. */
5729
- 503: {
5730
- headers: {
5731
- [name: string]: unknown;
5732
- };
5733
- content: {
5734
- "application/json": components["schemas"]["Error"];
5735
- };
5736
- };
5737
6154
  };
5738
6155
  };
5739
- app_metadata: {
6156
+ exports_segment: {
5740
6157
  parameters: {
5741
6158
  query?: never;
5742
6159
  header?: never;
5743
6160
  path: {
5744
6161
  app: string;
6162
+ id: string;
6163
+ k: string;
5745
6164
  };
5746
6165
  cookie?: never;
5747
6166
  };
5748
- requestBody: {
5749
- content: {
5750
- "application/json": {
5751
- /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
5752
- metadata: unknown;
5753
- };
5754
- };
5755
- };
6167
+ requestBody?: never;
5756
6168
  responses: {
5757
- /** @description OK */
6169
+ /** @description OK: the segment's ciphertext, `application/octet-stream`. */
5758
6170
  200: {
5759
6171
  headers: {
5760
6172
  [name: string]: unknown;
5761
6173
  };
5762
6174
  content: {
5763
- "application/json": Record<string, never>;
6175
+ "*/*": string;
6176
+ };
6177
+ };
6178
+ /** @description `BAD_REQUEST`: the request is malformed */
6179
+ 400: {
6180
+ headers: {
6181
+ [name: string]: unknown;
6182
+ };
6183
+ content: {
6184
+ "application/json": components["schemas"]["Error"];
5764
6185
  };
5765
6186
  };
5766
6187
  /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
@@ -5772,8 +6193,17 @@ export interface operations {
5772
6193
  "application/json": components["schemas"]["Error"];
5773
6194
  };
5774
6195
  };
5775
- /** @description `TOO_LARGE` */
5776
- 413: {
6196
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
6197
+ 403: {
6198
+ headers: {
6199
+ [name: string]: unknown;
6200
+ };
6201
+ content: {
6202
+ "application/json": components["schemas"]["Error"];
6203
+ };
6204
+ };
6205
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see; `NO_SUCH_SEGMENT` */
6206
+ 404: {
5777
6207
  headers: {
5778
6208
  [name: string]: unknown;
5779
6209
  };
@@ -5792,27 +6222,23 @@ export interface operations {
5792
6222
  };
5793
6223
  };
5794
6224
  };
5795
- app_method: {
6225
+ intents: {
5796
6226
  parameters: {
5797
6227
  query?: never;
5798
6228
  header?: never;
5799
6229
  path: {
5800
6230
  app: string;
5801
- method: string;
5802
6231
  };
5803
6232
  cookie?: never;
5804
6233
  };
5805
6234
  requestBody: {
5806
6235
  content: {
5807
6236
  "application/json": {
6237
+ method: string;
5808
6238
  /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
5809
6239
  args?: unknown;
5810
6240
  idempotencyKey?: string;
5811
6241
  confirm?: components["schemas"]["Confirm"];
5812
- /** @enum {string} */
5813
- consistency?: "strong" | "stale";
5814
- /** Format: int64 */
5815
- minIndex?: number;
5816
6242
  };
5817
6243
  };
5818
6244
  };
@@ -5828,7 +6254,7 @@ export interface operations {
5828
6254
  index: number;
5829
6255
  /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
5830
6256
  result: unknown;
5831
- events?: {
6257
+ events: {
5832
6258
  kind: string;
5833
6259
  /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
5834
6260
  data: unknown;
@@ -5837,7 +6263,7 @@ export interface operations {
5837
6263
  };
5838
6264
  };
5839
6265
  };
5840
- /** @description `EXPIRED_CHALLENGE`; `RESERVED_METHOD`; `UNKNOWN_CHALLENGE` */
6266
+ /** @description `EXPIRED_CHALLENGE`; `UNKNOWN_CHALLENGE` */
5841
6267
  400: {
5842
6268
  headers: {
5843
6269
  [name: string]: unknown;
@@ -5927,7 +6353,7 @@ export interface operations {
5927
6353
  "application/json": components["schemas"]["Error"];
5928
6354
  };
5929
6355
  };
5930
- /** @description `NOT_CAUGHT_UP`; `TIMEOUT`; `UNAVAILABLE`: the cluster cannot answer now. `details` of `TIMEOUT`: a `RetryAfter`. */
6356
+ /** @description `TIMEOUT`; `UNAVAILABLE`: the cluster cannot answer now. `details` of `TIMEOUT`: a `RetryAfter`. */
5931
6357
  503: {
5932
6358
  headers: {
5933
6359
  [name: string]: unknown;
@@ -5938,7 +6364,7 @@ export interface operations {
5938
6364
  };
5939
6365
  };
5940
6366
  };
5941
- app_move: {
6367
+ app_metadata: {
5942
6368
  parameters: {
5943
6369
  query?: never;
5944
6370
  header?: never;
@@ -5950,9 +6376,802 @@ export interface operations {
5950
6376
  requestBody: {
5951
6377
  content: {
5952
6378
  "application/json": {
5953
- toOrg: string;
5954
- bringMembers?: boolean;
5955
- confirm?: components["schemas"]["Confirm"];
6379
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
6380
+ metadata: unknown;
6381
+ };
6382
+ };
6383
+ };
6384
+ responses: {
6385
+ /** @description OK */
6386
+ 200: {
6387
+ headers: {
6388
+ [name: string]: unknown;
6389
+ };
6390
+ content: {
6391
+ "application/json": Record<string, never>;
6392
+ };
6393
+ };
6394
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
6395
+ 401: {
6396
+ headers: {
6397
+ [name: string]: unknown;
6398
+ };
6399
+ content: {
6400
+ "application/json": components["schemas"]["Error"];
6401
+ };
6402
+ };
6403
+ /** @description `TOO_LARGE` */
6404
+ 413: {
6405
+ headers: {
6406
+ [name: string]: unknown;
6407
+ };
6408
+ content: {
6409
+ "application/json": components["schemas"]["Error"];
6410
+ };
6411
+ };
6412
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
6413
+ 421: {
6414
+ headers: {
6415
+ [name: string]: unknown;
6416
+ };
6417
+ content: {
6418
+ "application/json": components["schemas"]["Error"];
6419
+ };
6420
+ };
6421
+ };
6422
+ };
6423
+ app_method: {
6424
+ parameters: {
6425
+ query?: never;
6426
+ header?: never;
6427
+ path: {
6428
+ app: string;
6429
+ method: string;
6430
+ };
6431
+ cookie?: never;
6432
+ };
6433
+ requestBody: {
6434
+ content: {
6435
+ "application/json": {
6436
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
6437
+ args?: unknown;
6438
+ idempotencyKey?: string;
6439
+ confirm?: components["schemas"]["Confirm"];
6440
+ /** @enum {string} */
6441
+ consistency?: "strong" | "stale";
6442
+ /** Format: int64 */
6443
+ minIndex?: number;
6444
+ };
6445
+ };
6446
+ };
6447
+ responses: {
6448
+ /** @description OK */
6449
+ 200: {
6450
+ headers: {
6451
+ [name: string]: unknown;
6452
+ };
6453
+ content: {
6454
+ "application/json": {
6455
+ /** Format: int64 */
6456
+ index: number;
6457
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
6458
+ result: unknown;
6459
+ events?: {
6460
+ kind: string;
6461
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
6462
+ data: unknown;
6463
+ }[];
6464
+ receipt: components["schemas"]["Receipt"];
6465
+ };
6466
+ };
6467
+ };
6468
+ /** @description `EXPIRED_CHALLENGE`; `RESERVED_METHOD`; `UNKNOWN_CHALLENGE` */
6469
+ 400: {
6470
+ headers: {
6471
+ [name: string]: unknown;
6472
+ };
6473
+ content: {
6474
+ "application/json": components["schemas"]["Error"];
6475
+ };
6476
+ };
6477
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
6478
+ 401: {
6479
+ headers: {
6480
+ [name: string]: unknown;
6481
+ };
6482
+ content: {
6483
+ "application/json": components["schemas"]["Error"];
6484
+ };
6485
+ };
6486
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
6487
+ 403: {
6488
+ headers: {
6489
+ [name: string]: unknown;
6490
+ };
6491
+ content: {
6492
+ "application/json": components["schemas"]["Error"];
6493
+ };
6494
+ };
6495
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
6496
+ 404: {
6497
+ headers: {
6498
+ [name: string]: unknown;
6499
+ };
6500
+ content: {
6501
+ "application/json": components["schemas"]["Error"];
6502
+ };
6503
+ };
6504
+ /** @description `RELEASE_DEADLINE`. `details` of `RELEASE_DEADLINE`: a `ReleaseDeadline`. */
6505
+ 409: {
6506
+ headers: {
6507
+ [name: string]: unknown;
6508
+ };
6509
+ content: {
6510
+ "application/json": components["schemas"]["Error"];
6511
+ };
6512
+ };
6513
+ /** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
6514
+ 412: {
6515
+ headers: {
6516
+ [name: string]: unknown;
6517
+ };
6518
+ content: {
6519
+ "application/json": components["schemas"]["Error"];
6520
+ };
6521
+ };
6522
+ /** @description `ARGS_TOO_LARGE` */
6523
+ 413: {
6524
+ headers: {
6525
+ [name: string]: unknown;
6526
+ };
6527
+ content: {
6528
+ "application/json": components["schemas"]["Error"];
6529
+ };
6530
+ };
6531
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
6532
+ 421: {
6533
+ headers: {
6534
+ [name: string]: unknown;
6535
+ };
6536
+ content: {
6537
+ "application/json": components["schemas"]["Error"];
6538
+ };
6539
+ };
6540
+ /** @description `APP_ERROR`; `TRAP`. `details` of `APP_ERROR`: a `AppError`, `TRAP`: a `Trap`. */
6541
+ 422: {
6542
+ headers: {
6543
+ [name: string]: unknown;
6544
+ };
6545
+ content: {
6546
+ "application/json": components["schemas"]["Error"];
6547
+ };
6548
+ };
6549
+ /** @description `QUOTA_EXCEEDED` */
6550
+ 429: {
6551
+ headers: {
6552
+ [name: string]: unknown;
6553
+ };
6554
+ content: {
6555
+ "application/json": components["schemas"]["Error"];
6556
+ };
6557
+ };
6558
+ /** @description `NOT_CAUGHT_UP`; `TIMEOUT`; `UNAVAILABLE`: the cluster cannot answer now. `details` of `TIMEOUT`: a `RetryAfter`. */
6559
+ 503: {
6560
+ headers: {
6561
+ [name: string]: unknown;
6562
+ };
6563
+ content: {
6564
+ "application/json": components["schemas"]["Error"];
6565
+ };
6566
+ };
6567
+ };
6568
+ };
6569
+ app_move: {
6570
+ parameters: {
6571
+ query?: never;
6572
+ header?: never;
6573
+ path: {
6574
+ app: string;
6575
+ };
6576
+ cookie?: never;
6577
+ };
6578
+ requestBody: {
6579
+ content: {
6580
+ "application/json": {
6581
+ toOrg: string;
6582
+ bringMembers?: boolean;
6583
+ confirm?: components["schemas"]["Confirm"];
6584
+ };
6585
+ };
6586
+ };
6587
+ responses: {
6588
+ /** @description OK */
6589
+ 200: {
6590
+ headers: {
6591
+ [name: string]: unknown;
6592
+ };
6593
+ content: {
6594
+ "application/json": {
6595
+ appId: string;
6596
+ from: string | null;
6597
+ org: string;
6598
+ access: components["schemas"]["Access"];
6599
+ created: boolean;
6600
+ added: string[];
6601
+ /** Format: int64 */
6602
+ revokedInvites: number;
6603
+ };
6604
+ };
6605
+ };
6606
+ /** @description `EXPIRED_CHALLENGE`; `UNKNOWN_CHALLENGE` */
6607
+ 400: {
6608
+ headers: {
6609
+ [name: string]: unknown;
6610
+ };
6611
+ content: {
6612
+ "application/json": components["schemas"]["Error"];
6613
+ };
6614
+ };
6615
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
6616
+ 401: {
6617
+ headers: {
6618
+ [name: string]: unknown;
6619
+ };
6620
+ content: {
6621
+ "application/json": components["schemas"]["Error"];
6622
+ };
6623
+ };
6624
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
6625
+ 403: {
6626
+ headers: {
6627
+ [name: string]: unknown;
6628
+ };
6629
+ content: {
6630
+ "application/json": components["schemas"]["Error"];
6631
+ };
6632
+ };
6633
+ /** @description `FEATURE_NOT_ACTIVE`. `details` of `FEATURE_NOT_ACTIVE`: a `FeatureNotActive`. */
6634
+ 409: {
6635
+ headers: {
6636
+ [name: string]: unknown;
6637
+ };
6638
+ content: {
6639
+ "application/json": components["schemas"]["Error"];
6640
+ };
6641
+ };
6642
+ /** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
6643
+ 412: {
6644
+ headers: {
6645
+ [name: string]: unknown;
6646
+ };
6647
+ content: {
6648
+ "application/json": components["schemas"]["Error"];
6649
+ };
6650
+ };
6651
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
6652
+ 421: {
6653
+ headers: {
6654
+ [name: string]: unknown;
6655
+ };
6656
+ content: {
6657
+ "application/json": components["schemas"]["Error"];
6658
+ };
6659
+ };
6660
+ };
6661
+ };
6662
+ app_openapi: {
6663
+ parameters: {
6664
+ query?: never;
6665
+ header?: never;
6666
+ path: {
6667
+ app: string;
6668
+ };
6669
+ cookie?: never;
6670
+ };
6671
+ requestBody?: never;
6672
+ responses: {
6673
+ /** @description OK */
6674
+ 200: {
6675
+ headers: {
6676
+ [name: string]: unknown;
6677
+ };
6678
+ content: {
6679
+ "application/json": {
6680
+ [key: string]: unknown;
6681
+ };
6682
+ };
6683
+ };
6684
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
6685
+ 401: {
6686
+ headers: {
6687
+ [name: string]: unknown;
6688
+ };
6689
+ content: {
6690
+ "application/json": components["schemas"]["Error"];
6691
+ };
6692
+ };
6693
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
6694
+ 404: {
6695
+ headers: {
6696
+ [name: string]: unknown;
6697
+ };
6698
+ content: {
6699
+ "application/json": components["schemas"]["Error"];
6700
+ };
6701
+ };
6702
+ /** @description `UNSUPPORTED_ENGINE` */
6703
+ 410: {
6704
+ headers: {
6705
+ [name: string]: unknown;
6706
+ };
6707
+ content: {
6708
+ "application/json": components["schemas"]["Error"];
6709
+ };
6710
+ };
6711
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
6712
+ 421: {
6713
+ headers: {
6714
+ [name: string]: unknown;
6715
+ };
6716
+ content: {
6717
+ "application/json": components["schemas"]["Error"];
6718
+ };
6719
+ };
6720
+ /** @description `BAD_ABI` */
6721
+ 422: {
6722
+ headers: {
6723
+ [name: string]: unknown;
6724
+ };
6725
+ content: {
6726
+ "application/json": components["schemas"]["Error"];
6727
+ };
6728
+ };
6729
+ };
6730
+ };
6731
+ pipelines_list: {
6732
+ parameters: {
6733
+ query?: {
6734
+ limit?: string;
6735
+ };
6736
+ header?: never;
6737
+ path: {
6738
+ app: string;
6739
+ };
6740
+ cookie?: never;
6741
+ };
6742
+ requestBody?: never;
6743
+ responses: {
6744
+ /** @description OK */
6745
+ 200: {
6746
+ headers: {
6747
+ [name: string]: unknown;
6748
+ };
6749
+ content: {
6750
+ "application/json": {
6751
+ [key: string]: unknown;
6752
+ };
6753
+ };
6754
+ };
6755
+ /** @description `BAD_LIMIT` */
6756
+ 400: {
6757
+ headers: {
6758
+ [name: string]: unknown;
6759
+ };
6760
+ content: {
6761
+ "application/json": components["schemas"]["Error"];
6762
+ };
6763
+ };
6764
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
6765
+ 401: {
6766
+ headers: {
6767
+ [name: string]: unknown;
6768
+ };
6769
+ content: {
6770
+ "application/json": components["schemas"]["Error"];
6771
+ };
6772
+ };
6773
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
6774
+ 404: {
6775
+ headers: {
6776
+ [name: string]: unknown;
6777
+ };
6778
+ content: {
6779
+ "application/json": components["schemas"]["Error"];
6780
+ };
6781
+ };
6782
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
6783
+ 421: {
6784
+ headers: {
6785
+ [name: string]: unknown;
6786
+ };
6787
+ content: {
6788
+ "application/json": components["schemas"]["Error"];
6789
+ };
6790
+ };
6791
+ };
6792
+ };
6793
+ pipelines_get: {
6794
+ parameters: {
6795
+ query?: never;
6796
+ header?: never;
6797
+ path: {
6798
+ app: string;
6799
+ run: string;
6800
+ };
6801
+ cookie?: never;
6802
+ };
6803
+ requestBody?: never;
6804
+ responses: {
6805
+ /** @description OK */
6806
+ 200: {
6807
+ headers: {
6808
+ [name: string]: unknown;
6809
+ };
6810
+ content: {
6811
+ "application/json": {
6812
+ [key: string]: unknown;
6813
+ };
6814
+ };
6815
+ };
6816
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
6817
+ 401: {
6818
+ headers: {
6819
+ [name: string]: unknown;
6820
+ };
6821
+ content: {
6822
+ "application/json": components["schemas"]["Error"];
6823
+ };
6824
+ };
6825
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
6826
+ 404: {
6827
+ headers: {
6828
+ [name: string]: unknown;
6829
+ };
6830
+ content: {
6831
+ "application/json": components["schemas"]["Error"];
6832
+ };
6833
+ };
6834
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
6835
+ 421: {
6836
+ headers: {
6837
+ [name: string]: unknown;
6838
+ };
6839
+ content: {
6840
+ "application/json": components["schemas"]["Error"];
6841
+ };
6842
+ };
6843
+ };
6844
+ };
6845
+ pipelines_cancel: {
6846
+ parameters: {
6847
+ query?: never;
6848
+ header?: never;
6849
+ path: {
6850
+ app: string;
6851
+ run: string;
6852
+ };
6853
+ cookie?: never;
6854
+ };
6855
+ requestBody?: never;
6856
+ responses: {
6857
+ /** @description OK */
6858
+ 200: {
6859
+ headers: {
6860
+ [name: string]: unknown;
6861
+ };
6862
+ content: {
6863
+ "application/json": {
6864
+ run: string;
6865
+ };
6866
+ };
6867
+ };
6868
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
6869
+ 401: {
6870
+ headers: {
6871
+ [name: string]: unknown;
6872
+ };
6873
+ content: {
6874
+ "application/json": components["schemas"]["Error"];
6875
+ };
6876
+ };
6877
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
6878
+ 403: {
6879
+ headers: {
6880
+ [name: string]: unknown;
6881
+ };
6882
+ content: {
6883
+ "application/json": components["schemas"]["Error"];
6884
+ };
6885
+ };
6886
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
6887
+ 404: {
6888
+ headers: {
6889
+ [name: string]: unknown;
6890
+ };
6891
+ content: {
6892
+ "application/json": components["schemas"]["Error"];
6893
+ };
6894
+ };
6895
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
6896
+ 421: {
6897
+ headers: {
6898
+ [name: string]: unknown;
6899
+ };
6900
+ content: {
6901
+ "application/json": components["schemas"]["Error"];
6902
+ };
6903
+ };
6904
+ };
6905
+ };
6906
+ pipeline_events_events: {
6907
+ parameters: {
6908
+ query?: never;
6909
+ header?: never;
6910
+ path: {
6911
+ app: string;
6912
+ run: string;
6913
+ };
6914
+ cookie?: never;
6915
+ };
6916
+ requestBody?: never;
6917
+ responses: {
6918
+ /** @description Server-sent events: a `snapshot`, then `run` and `step` per change, then `end`, and the stream closes. */
6919
+ 200: {
6920
+ headers: {
6921
+ [name: string]: unknown;
6922
+ };
6923
+ content: {
6924
+ "text/event-stream": string;
6925
+ };
6926
+ };
6927
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
6928
+ 401: {
6929
+ headers: {
6930
+ [name: string]: unknown;
6931
+ };
6932
+ content: {
6933
+ "application/json": components["schemas"]["Error"];
6934
+ };
6935
+ };
6936
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
6937
+ 404: {
6938
+ headers: {
6939
+ [name: string]: unknown;
6940
+ };
6941
+ content: {
6942
+ "application/json": components["schemas"]["Error"];
6943
+ };
6944
+ };
6945
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
6946
+ 421: {
6947
+ headers: {
6948
+ [name: string]: unknown;
6949
+ };
6950
+ content: {
6951
+ "application/json": components["schemas"]["Error"];
6952
+ };
6953
+ };
6954
+ /** @description `TOO_MANY_SUBSCRIBERS` */
6955
+ 429: {
6956
+ headers: {
6957
+ [name: string]: unknown;
6958
+ };
6959
+ content: {
6960
+ "application/json": components["schemas"]["Error"];
6961
+ };
6962
+ };
6963
+ };
6964
+ };
6965
+ pipeline_receipt_receipt: {
6966
+ parameters: {
6967
+ query?: never;
6968
+ header?: never;
6969
+ path: {
6970
+ app: string;
6971
+ run: string;
6972
+ };
6973
+ cookie?: never;
6974
+ };
6975
+ requestBody?: never;
6976
+ responses: {
6977
+ /** @description OK */
6978
+ 200: {
6979
+ headers: {
6980
+ [name: string]: unknown;
6981
+ };
6982
+ content: {
6983
+ "application/json": {
6984
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
6985
+ receipt: unknown;
6986
+ node: string;
6987
+ signature: string;
6988
+ };
6989
+ };
6990
+ };
6991
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
6992
+ 401: {
6993
+ headers: {
6994
+ [name: string]: unknown;
6995
+ };
6996
+ content: {
6997
+ "application/json": components["schemas"]["Error"];
6998
+ };
6999
+ };
7000
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
7001
+ 403: {
7002
+ headers: {
7003
+ [name: string]: unknown;
7004
+ };
7005
+ content: {
7006
+ "application/json": components["schemas"]["Error"];
7007
+ };
7008
+ };
7009
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
7010
+ 404: {
7011
+ headers: {
7012
+ [name: string]: unknown;
7013
+ };
7014
+ content: {
7015
+ "application/json": components["schemas"]["Error"];
7016
+ };
7017
+ };
7018
+ /** @description `RUN_NOT_ENDED` */
7019
+ 409: {
7020
+ headers: {
7021
+ [name: string]: unknown;
7022
+ };
7023
+ content: {
7024
+ "application/json": components["schemas"]["Error"];
7025
+ };
7026
+ };
7027
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
7028
+ 421: {
7029
+ headers: {
7030
+ [name: string]: unknown;
7031
+ };
7032
+ content: {
7033
+ "application/json": components["schemas"]["Error"];
7034
+ };
7035
+ };
7036
+ };
7037
+ };
7038
+ pipelines_retry: {
7039
+ parameters: {
7040
+ query?: never;
7041
+ header?: never;
7042
+ path: {
7043
+ app: string;
7044
+ run: string;
7045
+ };
7046
+ cookie?: never;
7047
+ };
7048
+ requestBody: {
7049
+ content: {
7050
+ "application/json": {
7051
+ limits?: {
7052
+ [key: string]: {
7053
+ /** Format: int64 */
7054
+ fuel?: number;
7055
+ /** Format: int64 */
7056
+ memoryMib?: number;
7057
+ /** Format: int64 */
7058
+ wallSecs?: number;
7059
+ };
7060
+ };
7061
+ maxCost?: string;
7062
+ };
7063
+ };
7064
+ };
7065
+ responses: {
7066
+ /** @description OK */
7067
+ 200: {
7068
+ headers: {
7069
+ [name: string]: unknown;
7070
+ };
7071
+ content: {
7072
+ "application/json": {
7073
+ run: string;
7074
+ retryOf: string;
7075
+ worstCase?: string;
7076
+ };
7077
+ };
7078
+ };
7079
+ /** @description `BAD_LIMITS`; `BAD_MAX_COST`; `LIMIT_EXCEEDS_CAP` */
7080
+ 400: {
7081
+ headers: {
7082
+ [name: string]: unknown;
7083
+ };
7084
+ content: {
7085
+ "application/json": components["schemas"]["Error"];
7086
+ };
7087
+ };
7088
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
7089
+ 401: {
7090
+ headers: {
7091
+ [name: string]: unknown;
7092
+ };
7093
+ content: {
7094
+ "application/json": components["schemas"]["Error"];
7095
+ };
7096
+ };
7097
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
7098
+ 403: {
7099
+ headers: {
7100
+ [name: string]: unknown;
7101
+ };
7102
+ content: {
7103
+ "application/json": components["schemas"]["Error"];
7104
+ };
7105
+ };
7106
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
7107
+ 404: {
7108
+ headers: {
7109
+ [name: string]: unknown;
7110
+ };
7111
+ content: {
7112
+ "application/json": components["schemas"]["Error"];
7113
+ };
7114
+ };
7115
+ /** @description `CLUSTER_NOT_UPGRADED`; `NO_PRICE_TABLE`; `STILL_RUNNING` */
7116
+ 409: {
7117
+ headers: {
7118
+ [name: string]: unknown;
7119
+ };
7120
+ content: {
7121
+ "application/json": components["schemas"]["Error"];
7122
+ };
7123
+ };
7124
+ /** @description `OUTPUT_EXPIRED` */
7125
+ 410: {
7126
+ headers: {
7127
+ [name: string]: unknown;
7128
+ };
7129
+ content: {
7130
+ "application/json": components["schemas"]["Error"];
7131
+ };
7132
+ };
7133
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
7134
+ 421: {
7135
+ headers: {
7136
+ [name: string]: unknown;
7137
+ };
7138
+ content: {
7139
+ "application/json": components["schemas"]["Error"];
7140
+ };
7141
+ };
7142
+ /** @description `TOO_MANY_PIPELINE_RUNS` */
7143
+ 429: {
7144
+ headers: {
7145
+ [name: string]: unknown;
7146
+ };
7147
+ content: {
7148
+ "application/json": components["schemas"]["Error"];
7149
+ };
7150
+ };
7151
+ };
7152
+ };
7153
+ pipelines_estimate_run: {
7154
+ parameters: {
7155
+ query?: never;
7156
+ header?: never;
7157
+ path: {
7158
+ app: string;
7159
+ name: string;
7160
+ };
7161
+ cookie?: never;
7162
+ };
7163
+ requestBody: {
7164
+ content: {
7165
+ "application/json": {
7166
+ inputs?: {
7167
+ [key: string]: string[];
7168
+ };
7169
+ counts?: {
7170
+ [key: string]: number;
7171
+ };
7172
+ params?: {
7173
+ [key: string]: unknown;
7174
+ };
5956
7175
  };
5957
7176
  };
5958
7177
  };
@@ -5964,18 +7183,21 @@ export interface operations {
5964
7183
  };
5965
7184
  content: {
5966
7185
  "application/json": {
5967
- appId: string;
5968
- from: string | null;
5969
- org: string;
5970
- access: components["schemas"]["Access"];
5971
- created: boolean;
5972
- added: string[];
7186
+ steps: {
7187
+ [key: string]: {
7188
+ runs: string;
7189
+ fuel: string;
7190
+ cost?: string;
7191
+ };
7192
+ };
7193
+ fuel: string;
7194
+ cost?: string;
5973
7195
  /** Format: int64 */
5974
- revokedInvites: number;
7196
+ priceVersion?: number;
5975
7197
  };
5976
7198
  };
5977
7199
  };
5978
- /** @description `EXPIRED_CHALLENGE`; `UNKNOWN_CHALLENGE` */
7200
+ /** @description `BAD_INPUTS`; `BAD_PARAMS` */
5979
7201
  400: {
5980
7202
  headers: {
5981
7203
  [name: string]: unknown;
@@ -6002,17 +7224,8 @@ export interface operations {
6002
7224
  "application/json": components["schemas"]["Error"];
6003
7225
  };
6004
7226
  };
6005
- /** @description `FEATURE_NOT_ACTIVE`. `details` of `FEATURE_NOT_ACTIVE`: a `FeatureNotActive`. */
6006
- 409: {
6007
- headers: {
6008
- [name: string]: unknown;
6009
- };
6010
- content: {
6011
- "application/json": components["schemas"]["Error"];
6012
- };
6013
- };
6014
- /** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
6015
- 412: {
7227
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see; `NO_SUCH_PIPELINE` */
7228
+ 404: {
6016
7229
  headers: {
6017
7230
  [name: string]: unknown;
6018
7231
  };
@@ -6031,16 +7244,29 @@ export interface operations {
6031
7244
  };
6032
7245
  };
6033
7246
  };
6034
- app_openapi: {
7247
+ pipelines_start: {
6035
7248
  parameters: {
6036
7249
  query?: never;
6037
7250
  header?: never;
6038
7251
  path: {
6039
7252
  app: string;
7253
+ name: string;
6040
7254
  };
6041
7255
  cookie?: never;
6042
7256
  };
6043
- requestBody?: never;
7257
+ requestBody: {
7258
+ content: {
7259
+ "application/json": {
7260
+ inputs?: {
7261
+ [key: string]: string[];
7262
+ };
7263
+ params?: {
7264
+ [key: string]: unknown;
7265
+ };
7266
+ maxCost?: string;
7267
+ };
7268
+ };
7269
+ };
6044
7270
  responses: {
6045
7271
  /** @description OK */
6046
7272
  200: {
@@ -6049,10 +7275,20 @@ export interface operations {
6049
7275
  };
6050
7276
  content: {
6051
7277
  "application/json": {
6052
- [key: string]: unknown;
7278
+ run: string;
7279
+ worstCase?: string;
6053
7280
  };
6054
7281
  };
6055
7282
  };
7283
+ /** @description `BAD_INPUTS`; `BAD_MAX_COST`; `BAD_PARAMS` */
7284
+ 400: {
7285
+ headers: {
7286
+ [name: string]: unknown;
7287
+ };
7288
+ content: {
7289
+ "application/json": components["schemas"]["Error"];
7290
+ };
7291
+ };
6056
7292
  /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
6057
7293
  401: {
6058
7294
  headers: {
@@ -6062,7 +7298,16 @@ export interface operations {
6062
7298
  "application/json": components["schemas"]["Error"];
6063
7299
  };
6064
7300
  };
6065
- /** @description `NOT_FOUND`: no such object, or one the caller may not see */
7301
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
7302
+ 403: {
7303
+ headers: {
7304
+ [name: string]: unknown;
7305
+ };
7306
+ content: {
7307
+ "application/json": components["schemas"]["Error"];
7308
+ };
7309
+ };
7310
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see; `NO_SUCH_PIPELINE` */
6066
7311
  404: {
6067
7312
  headers: {
6068
7313
  [name: string]: unknown;
@@ -6071,7 +7316,16 @@ export interface operations {
6071
7316
  "application/json": components["schemas"]["Error"];
6072
7317
  };
6073
7318
  };
6074
- /** @description `UNSUPPORTED_ENGINE` */
7319
+ /** @description `CLUSTER_NOT_UPGRADED`; `NO_PRICE_TABLE` */
7320
+ 409: {
7321
+ headers: {
7322
+ [name: string]: unknown;
7323
+ };
7324
+ content: {
7325
+ "application/json": components["schemas"]["Error"];
7326
+ };
7327
+ };
7328
+ /** @description `OUTPUT_EXPIRED` */
6075
7329
  410: {
6076
7330
  headers: {
6077
7331
  [name: string]: unknown;
@@ -6089,7 +7343,7 @@ export interface operations {
6089
7343
  "application/json": components["schemas"]["Error"];
6090
7344
  };
6091
7345
  };
6092
- /** @description `BAD_ABI` */
7346
+ /** @description `PIPELINES_NEED_ONE_SERVICE` */
6093
7347
  422: {
6094
7348
  headers: {
6095
7349
  [name: string]: unknown;
@@ -6098,6 +7352,15 @@ export interface operations {
6098
7352
  "application/json": components["schemas"]["Error"];
6099
7353
  };
6100
7354
  };
7355
+ /** @description `TOO_MANY_PIPELINE_RUNS` */
7356
+ 429: {
7357
+ headers: {
7358
+ [name: string]: unknown;
7359
+ };
7360
+ content: {
7361
+ "application/json": components["schemas"]["Error"];
7362
+ };
7363
+ };
6101
7364
  };
6102
7365
  };
6103
7366
  presence_get: {
@@ -7344,8 +8607,157 @@ export interface operations {
7344
8607
  "application/json": components["schemas"]["Error"];
7345
8608
  };
7346
8609
  };
7347
- /** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
7348
- 412: {
8610
+ /** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
8611
+ 412: {
8612
+ headers: {
8613
+ [name: string]: unknown;
8614
+ };
8615
+ content: {
8616
+ "application/json": components["schemas"]["Error"];
8617
+ };
8618
+ };
8619
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
8620
+ 421: {
8621
+ headers: {
8622
+ [name: string]: unknown;
8623
+ };
8624
+ content: {
8625
+ "application/json": components["schemas"]["Error"];
8626
+ };
8627
+ };
8628
+ };
8629
+ };
8630
+ account_apps: {
8631
+ parameters: {
8632
+ query?: {
8633
+ after?: string;
8634
+ limit?: number;
8635
+ };
8636
+ header?: never;
8637
+ path?: never;
8638
+ cookie?: never;
8639
+ };
8640
+ requestBody?: never;
8641
+ responses: {
8642
+ /** @description OK */
8643
+ 200: {
8644
+ headers: {
8645
+ [name: string]: unknown;
8646
+ };
8647
+ content: {
8648
+ "application/json": {
8649
+ scope: components["schemas"]["AppScope"];
8650
+ governance: components["schemas"]["Governance"];
8651
+ approvedReleases: string[] | null;
8652
+ clusterReleases: components["schemas"]["ClusterRelease"][];
8653
+ apps: components["schemas"]["ReportApp"][];
8654
+ next: string | null;
8655
+ };
8656
+ };
8657
+ };
8658
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
8659
+ 401: {
8660
+ headers: {
8661
+ [name: string]: unknown;
8662
+ };
8663
+ content: {
8664
+ "application/json": components["schemas"]["Error"];
8665
+ };
8666
+ };
8667
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
8668
+ 421: {
8669
+ headers: {
8670
+ [name: string]: unknown;
8671
+ };
8672
+ content: {
8673
+ "application/json": components["schemas"]["Error"];
8674
+ };
8675
+ };
8676
+ };
8677
+ };
8678
+ account_backup_key: {
8679
+ parameters: {
8680
+ query?: never;
8681
+ header?: never;
8682
+ path?: never;
8683
+ cookie?: never;
8684
+ };
8685
+ requestBody?: never;
8686
+ responses: {
8687
+ /** @description OK */
8688
+ 200: {
8689
+ headers: {
8690
+ [name: string]: unknown;
8691
+ };
8692
+ content: {
8693
+ "application/json": components["schemas"]["BackupKeyAnswer"];
8694
+ };
8695
+ };
8696
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
8697
+ 401: {
8698
+ headers: {
8699
+ [name: string]: unknown;
8700
+ };
8701
+ content: {
8702
+ "application/json": components["schemas"]["Error"];
8703
+ };
8704
+ };
8705
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
8706
+ 403: {
8707
+ headers: {
8708
+ [name: string]: unknown;
8709
+ };
8710
+ content: {
8711
+ "application/json": components["schemas"]["Error"];
8712
+ };
8713
+ };
8714
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
8715
+ 421: {
8716
+ headers: {
8717
+ [name: string]: unknown;
8718
+ };
8719
+ content: {
8720
+ "application/json": components["schemas"]["Error"];
8721
+ };
8722
+ };
8723
+ };
8724
+ };
8725
+ account_set_backup_key: {
8726
+ parameters: {
8727
+ query?: never;
8728
+ header?: never;
8729
+ path?: never;
8730
+ cookie?: never;
8731
+ };
8732
+ requestBody: {
8733
+ content: {
8734
+ "application/json": {
8735
+ publicKey: string;
8736
+ confirm?: components["schemas"]["Confirm"];
8737
+ };
8738
+ };
8739
+ };
8740
+ responses: {
8741
+ /** @description OK */
8742
+ 200: {
8743
+ headers: {
8744
+ [name: string]: unknown;
8745
+ };
8746
+ content: {
8747
+ "application/json": components["schemas"]["BackupKeyAnswer"];
8748
+ };
8749
+ };
8750
+ /** @description `BAD_BACKUP_KEY`; `EXPIRED_CHALLENGE`; `UNKNOWN_CHALLENGE` */
8751
+ 400: {
8752
+ headers: {
8753
+ [name: string]: unknown;
8754
+ };
8755
+ content: {
8756
+ "application/json": components["schemas"]["Error"];
8757
+ };
8758
+ };
8759
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
8760
+ 401: {
7349
8761
  headers: {
7350
8762
  [name: string]: unknown;
7351
8763
  };
@@ -7353,8 +8765,8 @@ export interface operations {
7353
8765
  "application/json": components["schemas"]["Error"];
7354
8766
  };
7355
8767
  };
7356
- /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
7357
- 421: {
8768
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
8769
+ 403: {
7358
8770
  headers: {
7359
8771
  [name: string]: unknown;
7360
8772
  };
@@ -7362,38 +8774,17 @@ export interface operations {
7362
8774
  "application/json": components["schemas"]["Error"];
7363
8775
  };
7364
8776
  };
7365
- };
7366
- };
7367
- account_apps: {
7368
- parameters: {
7369
- query?: {
7370
- after?: string;
7371
- limit?: number;
7372
- };
7373
- header?: never;
7374
- path?: never;
7375
- cookie?: never;
7376
- };
7377
- requestBody?: never;
7378
- responses: {
7379
- /** @description OK */
7380
- 200: {
8777
+ /** @description `FEATURE_NOT_ACTIVE`. `details` of `FEATURE_NOT_ACTIVE`: a `FeatureNotActive`. */
8778
+ 409: {
7381
8779
  headers: {
7382
8780
  [name: string]: unknown;
7383
8781
  };
7384
8782
  content: {
7385
- "application/json": {
7386
- scope: components["schemas"]["AppScope"];
7387
- governance: components["schemas"]["Governance"];
7388
- approvedReleases: string[] | null;
7389
- clusterReleases: components["schemas"]["ClusterRelease"][];
7390
- apps: components["schemas"]["ReportApp"][];
7391
- next: string | null;
7392
- };
8783
+ "application/json": components["schemas"]["Error"];
7393
8784
  };
7394
8785
  };
7395
- /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
7396
- 401: {
8786
+ /** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
8787
+ 412: {
7397
8788
  headers: {
7398
8789
  [name: string]: unknown;
7399
8790
  };
@@ -8949,6 +10340,127 @@ export interface operations {
8949
10340
  prefixes?: string[];
8950
10341
  };
8951
10342
  returnTo: string;
10343
+ } | {
10344
+ /** @enum {string} */
10345
+ kind: "createOrg";
10346
+ subject: {
10347
+ name: string;
10348
+ };
10349
+ returnTo: string;
10350
+ } | {
10351
+ /** @enum {string} */
10352
+ kind: "createInvite";
10353
+ subject: {
10354
+ org: string;
10355
+ /** @enum {string} */
10356
+ role: "guest" | "member" | "admin";
10357
+ teams?: string[];
10358
+ /** Format: int64 */
10359
+ ttlSecs?: number;
10360
+ /** Format: int64 */
10361
+ uses?: number;
10362
+ allApps?: boolean;
10363
+ };
10364
+ returnTo: string;
10365
+ } | {
10366
+ /** @enum {string} */
10367
+ kind: "acceptInvite";
10368
+ subject: {
10369
+ token: string;
10370
+ };
10371
+ returnTo: string;
10372
+ } | {
10373
+ /** @enum {string} */
10374
+ kind: "leaveOrg";
10375
+ subject: {
10376
+ org: string;
10377
+ };
10378
+ returnTo: string;
10379
+ } | {
10380
+ /** @enum {string} */
10381
+ kind: "removeMember";
10382
+ subject: {
10383
+ org: string;
10384
+ account: string;
10385
+ };
10386
+ returnTo: string;
10387
+ } | {
10388
+ /** @enum {string} */
10389
+ kind: "setMemberRole";
10390
+ subject: {
10391
+ org: string;
10392
+ account: string;
10393
+ /** @enum {string} */
10394
+ role: "guest" | "member" | "admin" | "owner";
10395
+ };
10396
+ returnTo: string;
10397
+ } | {
10398
+ /** @enum {string} */
10399
+ kind: "setMemberTeams";
10400
+ subject: {
10401
+ org: string;
10402
+ account: string;
10403
+ teams: {
10404
+ team: string;
10405
+ /** @enum {string} */
10406
+ role?: "lead" | "member" | "readOnly";
10407
+ /** Format: int64 */
10408
+ capabilities?: number;
10409
+ }[];
10410
+ };
10411
+ returnTo: string;
10412
+ } | {
10413
+ /** @enum {string} */
10414
+ kind: "removeMemberTeams";
10415
+ subject: {
10416
+ org: string;
10417
+ account: string;
10418
+ teams: string[];
10419
+ };
10420
+ returnTo: string;
10421
+ } | {
10422
+ /** @enum {string} */
10423
+ kind: "revokeInvite";
10424
+ subject: {
10425
+ org: string;
10426
+ inviteKey: string;
10427
+ };
10428
+ returnTo: string;
10429
+ } | {
10430
+ /** @enum {string} */
10431
+ kind: "renameOrg";
10432
+ subject: {
10433
+ org: string;
10434
+ name: string;
10435
+ };
10436
+ returnTo: string;
10437
+ } | {
10438
+ /** @enum {string} */
10439
+ kind: "deleteOrg";
10440
+ subject: {
10441
+ org: string;
10442
+ };
10443
+ returnTo: string;
10444
+ } | {
10445
+ /** @enum {string} */
10446
+ kind: "setCapabilities";
10447
+ subject: {
10448
+ org: string;
10449
+ account?: string;
10450
+ team?: string;
10451
+ /** Format: int64 */
10452
+ capabilities: number;
10453
+ };
10454
+ returnTo: string;
10455
+ } | {
10456
+ /** @enum {string} */
10457
+ kind: "setAllApps";
10458
+ subject: {
10459
+ org: string;
10460
+ account: string;
10461
+ allApps: boolean;
10462
+ };
10463
+ returnTo: string;
8952
10464
  };
8953
10465
  };
8954
10466
  };
@@ -9035,11 +10547,18 @@ export interface operations {
9035
10547
  "application/json": {
9036
10548
  requestId: string;
9037
10549
  /** @enum {string} */
9038
- kind: "release" | "upgrade" | "outbound";
10550
+ kind: "release" | "upgrade" | "outbound" | "createOrg" | "createInvite" | "acceptInvite" | "leaveOrg" | "removeMember" | "setMemberRole" | "setMemberTeams" | "removeMemberTeams" | "revokeInvite" | "renameOrg" | "deleteOrg" | "setCapabilities" | "setAllApps";
9039
10551
  /** @enum {string} */
9040
10552
  status: "pending" | "approved" | "declined";
9041
10553
  /** Format: int64 */
9042
10554
  decidedAt: number | null;
10555
+ outcome?: {
10556
+ orgId?: string;
10557
+ token?: string;
10558
+ org?: string;
10559
+ name?: string;
10560
+ apps?: string[];
10561
+ };
9043
10562
  };
9044
10563
  };
9045
10564
  };
@@ -10030,6 +11549,10 @@ export interface operations {
10030
11549
  content: {
10031
11550
  "application/json": {
10032
11551
  backup?: string;
11552
+ recovery?: {
11553
+ file: string;
11554
+ key: string;
11555
+ };
10033
11556
  operatorProof?: components["schemas"]["OperatorProof"];
10034
11557
  };
10035
11558
  };
@@ -10060,7 +11583,7 @@ export interface operations {
10060
11583
  };
10061
11584
  };
10062
11585
  };
10063
- /** @description `BAD_BACKUP`; `NOT_A_REPLICA_NODE` */
11586
+ /** @description `BAD_BACKUP`; `BAD_RECOVERY_FILE`; `BAD_RECOVERY_KEY`; `BAD_REQUEST`: the request is malformed; `NOT_A_REPLICA_NODE`; `UNATTESTED_RECOVERY_FILE` */
10064
11587
  400: {
10065
11588
  headers: {
10066
11589
  [name: string]: unknown;
@@ -10096,7 +11619,7 @@ export interface operations {
10096
11619
  "application/json": components["schemas"]["Error"];
10097
11620
  };
10098
11621
  };
10099
- /** @description `BACKUP_FROM_NEWER_RELEASE`; `BUNDLE_GONE`; `MOVE_IN_PROGRESS`; `NO_BACKUP_DIR`; `UNKNOWN_BACKUP_FORMAT`; `UPGRADE_PENDING`. `details` of `UPGRADE_PENDING`: a `UpgradePending`. */
11622
+ /** @description `BACKUP_FROM_NEWER_RELEASE`; `BUNDLE_GONE`; `MOVE_IN_PROGRESS`; `NO_BACKUP_DIR`; `RECOVERY_SEGMENTS_MISSING`; `UNKNOWN_BACKUP_FORMAT`; `UPGRADE_PENDING`. `details` of `UPGRADE_PENDING`: a `UpgradePending`. */
10100
11623
  409: {
10101
11624
  headers: {
10102
11625
  [name: string]: unknown;
@@ -10190,8 +11713,134 @@ export interface operations {
10190
11713
  "application/json": components["schemas"]["Error"];
10191
11714
  };
10192
11715
  };
10193
- /** @description `UPGRADE_FAILED`. `details` of `UPGRADE_FAILED`: a `Applied`. */
10194
- 422: {
11716
+ /** @description `UPGRADE_FAILED`. `details` of `UPGRADE_FAILED`: a `Applied`. */
11717
+ 422: {
11718
+ headers: {
11719
+ [name: string]: unknown;
11720
+ };
11721
+ content: {
11722
+ "application/json": components["schemas"]["Error"];
11723
+ };
11724
+ };
11725
+ /** @description `OPERATOR_SIGNATURE_REQUIRED`: the operator key must sign the decision; `details` names the statement. `details` of `OPERATOR_SIGNATURE_REQUIRED`: a `OperatorSignatureRequired`. */
11726
+ 428: {
11727
+ headers: {
11728
+ [name: string]: unknown;
11729
+ };
11730
+ content: {
11731
+ "application/json": components["schemas"]["Error"];
11732
+ };
11733
+ };
11734
+ };
11735
+ };
11736
+ ops_backup: {
11737
+ parameters: {
11738
+ query?: {
11739
+ all?: boolean;
11740
+ };
11741
+ header?: never;
11742
+ path?: never;
11743
+ cookie?: never;
11744
+ };
11745
+ requestBody?: never;
11746
+ responses: {
11747
+ /** @description OK */
11748
+ 200: {
11749
+ headers: {
11750
+ [name: string]: unknown;
11751
+ };
11752
+ content: {
11753
+ "application/json": {
11754
+ /** Format: int64 */
11755
+ written: number;
11756
+ };
11757
+ };
11758
+ };
11759
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
11760
+ 401: {
11761
+ headers: {
11762
+ [name: string]: unknown;
11763
+ };
11764
+ content: {
11765
+ "application/json": components["schemas"]["Error"];
11766
+ };
11767
+ };
11768
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
11769
+ 403: {
11770
+ headers: {
11771
+ [name: string]: unknown;
11772
+ };
11773
+ content: {
11774
+ "application/json": components["schemas"]["Error"];
11775
+ };
11776
+ };
11777
+ };
11778
+ };
11779
+ ops_backup_key: {
11780
+ parameters: {
11781
+ query?: never;
11782
+ header?: never;
11783
+ path?: never;
11784
+ cookie?: never;
11785
+ };
11786
+ requestBody?: never;
11787
+ responses: {
11788
+ /** @description OK */
11789
+ 200: {
11790
+ headers: {
11791
+ [name: string]: unknown;
11792
+ };
11793
+ content: {
11794
+ "application/json": components["schemas"]["BackupKeyAnswer"];
11795
+ };
11796
+ };
11797
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
11798
+ 401: {
11799
+ headers: {
11800
+ [name: string]: unknown;
11801
+ };
11802
+ content: {
11803
+ "application/json": components["schemas"]["Error"];
11804
+ };
11805
+ };
11806
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
11807
+ 403: {
11808
+ headers: {
11809
+ [name: string]: unknown;
11810
+ };
11811
+ content: {
11812
+ "application/json": components["schemas"]["Error"];
11813
+ };
11814
+ };
11815
+ };
11816
+ };
11817
+ ops_set_backup_key: {
11818
+ parameters: {
11819
+ query?: never;
11820
+ header?: never;
11821
+ path?: never;
11822
+ cookie?: never;
11823
+ };
11824
+ requestBody: {
11825
+ content: {
11826
+ "application/json": {
11827
+ publicKey: string;
11828
+ operatorProof?: components["schemas"]["OperatorProof"];
11829
+ };
11830
+ };
11831
+ };
11832
+ responses: {
11833
+ /** @description OK */
11834
+ 200: {
11835
+ headers: {
11836
+ [name: string]: unknown;
11837
+ };
11838
+ content: {
11839
+ "application/json": components["schemas"]["BackupKeyAnswer"];
11840
+ };
11841
+ };
11842
+ /** @description `BAD_BACKUP_KEY` */
11843
+ 400: {
10195
11844
  headers: {
10196
11845
  [name: string]: unknown;
10197
11846
  };
@@ -10199,8 +11848,8 @@ export interface operations {
10199
11848
  "application/json": components["schemas"]["Error"];
10200
11849
  };
10201
11850
  };
10202
- /** @description `OPERATOR_SIGNATURE_REQUIRED`: the operator key must sign the decision; `details` names the statement. `details` of `OPERATOR_SIGNATURE_REQUIRED`: a `OperatorSignatureRequired`. */
10203
- 428: {
11851
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
11852
+ 401: {
10204
11853
  headers: {
10205
11854
  [name: string]: unknown;
10206
11855
  };
@@ -10208,33 +11857,17 @@ export interface operations {
10208
11857
  "application/json": components["schemas"]["Error"];
10209
11858
  };
10210
11859
  };
10211
- };
10212
- };
10213
- ops_backup: {
10214
- parameters: {
10215
- query?: {
10216
- all?: boolean;
10217
- };
10218
- header?: never;
10219
- path?: never;
10220
- cookie?: never;
10221
- };
10222
- requestBody?: never;
10223
- responses: {
10224
- /** @description OK */
10225
- 200: {
11860
+ /** @description `BAD_OPERATOR_SIGNATURE`; `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
11861
+ 403: {
10226
11862
  headers: {
10227
11863
  [name: string]: unknown;
10228
11864
  };
10229
11865
  content: {
10230
- "application/json": {
10231
- /** Format: int64 */
10232
- written: number;
10233
- };
11866
+ "application/json": components["schemas"]["Error"];
10234
11867
  };
10235
11868
  };
10236
- /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
10237
- 401: {
11869
+ /** @description `FEATURE_NOT_ACTIVE`. `details` of `FEATURE_NOT_ACTIVE`: a `FeatureNotActive`. */
11870
+ 409: {
10238
11871
  headers: {
10239
11872
  [name: string]: unknown;
10240
11873
  };
@@ -10242,8 +11875,8 @@ export interface operations {
10242
11875
  "application/json": components["schemas"]["Error"];
10243
11876
  };
10244
11877
  };
10245
- /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
10246
- 403: {
11878
+ /** @description `OPERATOR_SIGNATURE_REQUIRED`: the operator key must sign the decision; `details` names the statement. `details` of `OPERATOR_SIGNATURE_REQUIRED`: a `OperatorSignatureRequired`. */
11879
+ 428: {
10247
11880
  headers: {
10248
11881
  [name: string]: unknown;
10249
11882
  };
@@ -11315,7 +12948,249 @@ export interface operations {
11315
12948
  "application/json": components["schemas"]["Error"];
11316
12949
  };
11317
12950
  };
11318
- /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
12951
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
12952
+ 403: {
12953
+ headers: {
12954
+ [name: string]: unknown;
12955
+ };
12956
+ content: {
12957
+ "application/json": components["schemas"]["Error"];
12958
+ };
12959
+ };
12960
+ };
12961
+ };
12962
+ ops_pools_get: {
12963
+ parameters: {
12964
+ query?: never;
12965
+ header?: never;
12966
+ path?: never;
12967
+ cookie?: never;
12968
+ };
12969
+ requestBody?: never;
12970
+ responses: {
12971
+ /** @description OK */
12972
+ 200: {
12973
+ headers: {
12974
+ [name: string]: unknown;
12975
+ };
12976
+ content: {
12977
+ "application/json": {
12978
+ pools: {
12979
+ [key: string]: {
12980
+ /** Format: int64 */
12981
+ runsPerNode: number;
12982
+ /** Format: int64 */
12983
+ maxMemoryMib: number;
12984
+ };
12985
+ };
12986
+ capacity: {
12987
+ [key: string]: number;
12988
+ };
12989
+ };
12990
+ };
12991
+ };
12992
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
12993
+ 401: {
12994
+ headers: {
12995
+ [name: string]: unknown;
12996
+ };
12997
+ content: {
12998
+ "application/json": components["schemas"]["Error"];
12999
+ };
13000
+ };
13001
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
13002
+ 403: {
13003
+ headers: {
13004
+ [name: string]: unknown;
13005
+ };
13006
+ content: {
13007
+ "application/json": components["schemas"]["Error"];
13008
+ };
13009
+ };
13010
+ };
13011
+ };
13012
+ ops_pools_set: {
13013
+ parameters: {
13014
+ query?: never;
13015
+ header?: never;
13016
+ path?: never;
13017
+ cookie?: never;
13018
+ };
13019
+ requestBody: {
13020
+ content: {
13021
+ "application/json": {
13022
+ pools: {
13023
+ [key: string]: {
13024
+ /** Format: int64 */
13025
+ runsPerNode: number;
13026
+ /** Format: int64 */
13027
+ maxMemoryMib: number;
13028
+ };
13029
+ };
13030
+ operatorProof?: components["schemas"]["OperatorProof"];
13031
+ };
13032
+ };
13033
+ };
13034
+ responses: {
13035
+ /** @description OK */
13036
+ 200: {
13037
+ headers: {
13038
+ [name: string]: unknown;
13039
+ };
13040
+ content: {
13041
+ "application/json": Record<string, never>;
13042
+ };
13043
+ };
13044
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
13045
+ 401: {
13046
+ headers: {
13047
+ [name: string]: unknown;
13048
+ };
13049
+ content: {
13050
+ "application/json": components["schemas"]["Error"];
13051
+ };
13052
+ };
13053
+ /** @description `BAD_OPERATOR_SIGNATURE`; `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
13054
+ 403: {
13055
+ headers: {
13056
+ [name: string]: unknown;
13057
+ };
13058
+ content: {
13059
+ "application/json": components["schemas"]["Error"];
13060
+ };
13061
+ };
13062
+ /** @description `POOL_IN_USE`; `UPGRADE_PENDING`. `details` of `UPGRADE_PENDING`: a `UpgradePending`. */
13063
+ 409: {
13064
+ headers: {
13065
+ [name: string]: unknown;
13066
+ };
13067
+ content: {
13068
+ "application/json": components["schemas"]["Error"];
13069
+ };
13070
+ };
13071
+ /** @description `OPERATOR_SIGNATURE_REQUIRED`: the operator key must sign the decision; `details` names the statement. `details` of `OPERATOR_SIGNATURE_REQUIRED`: a `OperatorSignatureRequired`. */
13072
+ 428: {
13073
+ headers: {
13074
+ [name: string]: unknown;
13075
+ };
13076
+ content: {
13077
+ "application/json": components["schemas"]["Error"];
13078
+ };
13079
+ };
13080
+ };
13081
+ };
13082
+ ops_prices_get: {
13083
+ parameters: {
13084
+ query?: never;
13085
+ header?: never;
13086
+ path?: never;
13087
+ cookie?: never;
13088
+ };
13089
+ requestBody?: never;
13090
+ responses: {
13091
+ /** @description OK */
13092
+ 200: {
13093
+ headers: {
13094
+ [name: string]: unknown;
13095
+ };
13096
+ content: {
13097
+ "application/json": {
13098
+ /** Format: int64 */
13099
+ version?: number;
13100
+ /** Format: int64 */
13101
+ fuelPerVcpuSecond?: number;
13102
+ /** Format: int64 */
13103
+ vcpuSecond?: number;
13104
+ /** Format: int64 */
13105
+ gibSecond?: number;
13106
+ /** Format: int64 */
13107
+ connectorGib?: number;
13108
+ /** Format: int64 */
13109
+ storageGibMonth?: number;
13110
+ /** Format: int64 */
13111
+ egressGib?: number;
13112
+ };
13113
+ };
13114
+ };
13115
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
13116
+ 401: {
13117
+ headers: {
13118
+ [name: string]: unknown;
13119
+ };
13120
+ content: {
13121
+ "application/json": components["schemas"]["Error"];
13122
+ };
13123
+ };
13124
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
13125
+ 403: {
13126
+ headers: {
13127
+ [name: string]: unknown;
13128
+ };
13129
+ content: {
13130
+ "application/json": components["schemas"]["Error"];
13131
+ };
13132
+ };
13133
+ };
13134
+ };
13135
+ ops_prices_set: {
13136
+ parameters: {
13137
+ query?: never;
13138
+ header?: never;
13139
+ path?: never;
13140
+ cookie?: never;
13141
+ };
13142
+ requestBody: {
13143
+ content: {
13144
+ "application/json": {
13145
+ table: {
13146
+ /** Format: int64 */
13147
+ version: number;
13148
+ /** Format: int64 */
13149
+ fuelPerVcpuSecond: number;
13150
+ /** Format: int64 */
13151
+ vcpuSecond: number;
13152
+ /** Format: int64 */
13153
+ gibSecond: number;
13154
+ /** Format: int64 */
13155
+ connectorGib: number;
13156
+ /** Format: int64 */
13157
+ storageGibMonth: number;
13158
+ /** Format: int64 */
13159
+ egressGib: number;
13160
+ };
13161
+ operatorProof?: components["schemas"]["OperatorProof"];
13162
+ };
13163
+ };
13164
+ };
13165
+ responses: {
13166
+ /** @description OK */
13167
+ 200: {
13168
+ headers: {
13169
+ [name: string]: unknown;
13170
+ };
13171
+ content: {
13172
+ "application/json": Record<string, never>;
13173
+ };
13174
+ };
13175
+ /** @description `BAD_PRICES` */
13176
+ 400: {
13177
+ headers: {
13178
+ [name: string]: unknown;
13179
+ };
13180
+ content: {
13181
+ "application/json": components["schemas"]["Error"];
13182
+ };
13183
+ };
13184
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
13185
+ 401: {
13186
+ headers: {
13187
+ [name: string]: unknown;
13188
+ };
13189
+ content: {
13190
+ "application/json": components["schemas"]["Error"];
13191
+ };
13192
+ };
13193
+ /** @description `BAD_OPERATOR_SIGNATURE`; `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
11319
13194
  403: {
11320
13195
  headers: {
11321
13196
  [name: string]: unknown;
@@ -11324,9 +13199,27 @@ export interface operations {
11324
13199
  "application/json": components["schemas"]["Error"];
11325
13200
  };
11326
13201
  };
13202
+ /** @description `PRICE_VERSION`; `UPGRADE_PENDING`. `details` of `UPGRADE_PENDING`: a `UpgradePending`. */
13203
+ 409: {
13204
+ headers: {
13205
+ [name: string]: unknown;
13206
+ };
13207
+ content: {
13208
+ "application/json": components["schemas"]["Error"];
13209
+ };
13210
+ };
13211
+ /** @description `OPERATOR_SIGNATURE_REQUIRED`: the operator key must sign the decision; `details` names the statement. `details` of `OPERATOR_SIGNATURE_REQUIRED`: a `OperatorSignatureRequired`. */
13212
+ 428: {
13213
+ headers: {
13214
+ [name: string]: unknown;
13215
+ };
13216
+ content: {
13217
+ "application/json": components["schemas"]["Error"];
13218
+ };
13219
+ };
11327
13220
  };
11328
13221
  };
11329
- ops_pools_get: {
13222
+ ops_quotas_get: {
11330
13223
  parameters: {
11331
13224
  query?: never;
11332
13225
  header?: never;
@@ -11341,19 +13234,7 @@ export interface operations {
11341
13234
  [name: string]: unknown;
11342
13235
  };
11343
13236
  content: {
11344
- "application/json": {
11345
- pools: {
11346
- [key: string]: {
11347
- /** Format: int64 */
11348
- runsPerNode: number;
11349
- /** Format: int64 */
11350
- maxMemoryMib: number;
11351
- };
11352
- };
11353
- capacity: {
11354
- [key: string]: number;
11355
- };
11356
- };
13237
+ "application/json": components["schemas"]["QuotaSettings"];
11357
13238
  };
11358
13239
  };
11359
13240
  /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
@@ -11376,7 +13257,7 @@ export interface operations {
11376
13257
  };
11377
13258
  };
11378
13259
  };
11379
- ops_pools_set: {
13260
+ ops_quotas_set: {
11380
13261
  parameters: {
11381
13262
  query?: never;
11382
13263
  header?: never;
@@ -11385,17 +13266,7 @@ export interface operations {
11385
13266
  };
11386
13267
  requestBody: {
11387
13268
  content: {
11388
- "application/json": {
11389
- pools: {
11390
- [key: string]: {
11391
- /** Format: int64 */
11392
- runsPerNode: number;
11393
- /** Format: int64 */
11394
- maxMemoryMib: number;
11395
- };
11396
- };
11397
- operatorProof?: components["schemas"]["OperatorProof"];
11398
- };
13269
+ "application/json": components["schemas"]["QuotaChanges"];
11399
13270
  };
11400
13271
  };
11401
13272
  responses: {
@@ -11408,6 +13279,15 @@ export interface operations {
11408
13279
  "application/json": Record<string, never>;
11409
13280
  };
11410
13281
  };
13282
+ /** @description `BAD_REQUEST`: the request is malformed; `UNKNOWN_QUOTA` */
13283
+ 400: {
13284
+ headers: {
13285
+ [name: string]: unknown;
13286
+ };
13287
+ content: {
13288
+ "application/json": components["schemas"]["Error"];
13289
+ };
13290
+ };
11411
13291
  /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
11412
13292
  401: {
11413
13293
  headers: {
@@ -11426,7 +13306,7 @@ export interface operations {
11426
13306
  "application/json": components["schemas"]["Error"];
11427
13307
  };
11428
13308
  };
11429
- /** @description `POOL_IN_USE`; `UPGRADE_PENDING`. `details` of `UPGRADE_PENDING`: a `UpgradePending`. */
13309
+ /** @description `UPGRADE_PENDING`. `details` of `UPGRADE_PENDING`: a `UpgradePending`. */
11430
13310
  409: {
11431
13311
  headers: {
11432
13312
  [name: string]: unknown;
@@ -11446,14 +13326,27 @@ export interface operations {
11446
13326
  };
11447
13327
  };
11448
13328
  };
11449
- ops_quotas_get: {
13329
+ ops_recover: {
11450
13330
  parameters: {
11451
13331
  query?: never;
11452
13332
  header?: never;
11453
13333
  path?: never;
11454
13334
  cookie?: never;
11455
13335
  };
11456
- requestBody?: never;
13336
+ requestBody: {
13337
+ content: {
13338
+ "application/json": {
13339
+ system: {
13340
+ file: string;
13341
+ key: string;
13342
+ };
13343
+ code?: {
13344
+ file: string;
13345
+ key: string;
13346
+ }[];
13347
+ };
13348
+ };
13349
+ };
11457
13350
  responses: {
11458
13351
  /** @description OK */
11459
13352
  200: {
@@ -11461,7 +13354,23 @@ export interface operations {
11461
13354
  [name: string]: unknown;
11462
13355
  };
11463
13356
  content: {
11464
- "application/json": components["schemas"]["QuotaSettings"];
13357
+ "application/json": {
13358
+ /** Format: int64 */
13359
+ apps: number;
13360
+ /** Format: int64 */
13361
+ accounts: number;
13362
+ /** Format: int64 */
13363
+ index: number;
13364
+ };
13365
+ };
13366
+ };
13367
+ /** @description `BAD_RECOVERY_FILE`; `BAD_RECOVERY_KEY`; `TOO_MANY_FILES`; `UNATTESTED_RECOVERY_FILE` */
13368
+ 400: {
13369
+ headers: {
13370
+ [name: string]: unknown;
13371
+ };
13372
+ content: {
13373
+ "application/json": components["schemas"]["Error"];
11465
13374
  };
11466
13375
  };
11467
13376
  /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
@@ -11482,20 +13391,27 @@ export interface operations {
11482
13391
  "application/json": components["schemas"]["Error"];
11483
13392
  };
11484
13393
  };
13394
+ /** @description `NOT_RECOVERING`; `OLD_CLUSTER_ANSWERS`; `OTHER_DEPLOYMENT` */
13395
+ 409: {
13396
+ headers: {
13397
+ [name: string]: unknown;
13398
+ };
13399
+ content: {
13400
+ "application/json": components["schemas"]["Error"];
13401
+ };
13402
+ };
11485
13403
  };
11486
13404
  };
11487
- ops_quotas_set: {
13405
+ ops_recovery_files: {
11488
13406
  parameters: {
11489
- query?: never;
13407
+ query?: {
13408
+ holder?: string;
13409
+ };
11490
13410
  header?: never;
11491
13411
  path?: never;
11492
13412
  cookie?: never;
11493
13413
  };
11494
- requestBody: {
11495
- content: {
11496
- "application/json": components["schemas"]["QuotaChanges"];
11497
- };
11498
- };
13414
+ requestBody?: never;
11499
13415
  responses: {
11500
13416
  /** @description OK */
11501
13417
  200: {
@@ -11503,10 +13419,18 @@ export interface operations {
11503
13419
  [name: string]: unknown;
11504
13420
  };
11505
13421
  content: {
11506
- "application/json": Record<string, never>;
13422
+ "application/json": {
13423
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
13424
+ holder: unknown;
13425
+ files: {
13426
+ name: string;
13427
+ header: string;
13428
+ signature: string;
13429
+ }[];
13430
+ };
11507
13431
  };
11508
13432
  };
11509
- /** @description `BAD_REQUEST`: the request is malformed; `UNKNOWN_QUOTA` */
13433
+ /** @description `BAD_REQUEST`: the request is malformed */
11510
13434
  400: {
11511
13435
  headers: {
11512
13436
  [name: string]: unknown;
@@ -11524,7 +13448,7 @@ export interface operations {
11524
13448
  "application/json": components["schemas"]["Error"];
11525
13449
  };
11526
13450
  };
11527
- /** @description `BAD_OPERATOR_SIGNATURE`; `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
13451
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
11528
13452
  403: {
11529
13453
  headers: {
11530
13454
  [name: string]: unknown;
@@ -11533,7 +13457,7 @@ export interface operations {
11533
13457
  "application/json": components["schemas"]["Error"];
11534
13458
  };
11535
13459
  };
11536
- /** @description `UPGRADE_PENDING`. `details` of `UPGRADE_PENDING`: a `UpgradePending`. */
13460
+ /** @description `NO_BACKUP_DIR` */
11537
13461
  409: {
11538
13462
  headers: {
11539
13463
  [name: string]: unknown;
@@ -11542,15 +13466,6 @@ export interface operations {
11542
13466
  "application/json": components["schemas"]["Error"];
11543
13467
  };
11544
13468
  };
11545
- /** @description `OPERATOR_SIGNATURE_REQUIRED`: the operator key must sign the decision; `details` names the statement. `details` of `OPERATOR_SIGNATURE_REQUIRED`: a `OperatorSignatureRequired`. */
11546
- 428: {
11547
- headers: {
11548
- [name: string]: unknown;
11549
- };
11550
- content: {
11551
- "application/json": components["schemas"]["Error"];
11552
- };
11553
- };
11554
13469
  };
11555
13470
  };
11556
13471
  ops_release: {
@@ -12494,7 +14409,133 @@ export interface operations {
12494
14409
  [name: string]: unknown;
12495
14410
  };
12496
14411
  content: {
12497
- "application/json": components["schemas"]["Error"];
14412
+ "application/json": components["schemas"]["Error"];
14413
+ };
14414
+ };
14415
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
14416
+ 401: {
14417
+ headers: {
14418
+ [name: string]: unknown;
14419
+ };
14420
+ content: {
14421
+ "application/json": components["schemas"]["Error"];
14422
+ };
14423
+ };
14424
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
14425
+ 403: {
14426
+ headers: {
14427
+ [name: string]: unknown;
14428
+ };
14429
+ content: {
14430
+ "application/json": components["schemas"]["Error"];
14431
+ };
14432
+ };
14433
+ /** @description `FEATURE_NOT_ACTIVE`. `details` of `FEATURE_NOT_ACTIVE`: a `FeatureNotActive`. */
14434
+ 409: {
14435
+ headers: {
14436
+ [name: string]: unknown;
14437
+ };
14438
+ content: {
14439
+ "application/json": components["schemas"]["Error"];
14440
+ };
14441
+ };
14442
+ /** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
14443
+ 412: {
14444
+ headers: {
14445
+ [name: string]: unknown;
14446
+ };
14447
+ content: {
14448
+ "application/json": components["schemas"]["Error"];
14449
+ };
14450
+ };
14451
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
14452
+ 421: {
14453
+ headers: {
14454
+ [name: string]: unknown;
14455
+ };
14456
+ content: {
14457
+ "application/json": components["schemas"]["Error"];
14458
+ };
14459
+ };
14460
+ };
14461
+ };
14462
+ org_apps: {
14463
+ parameters: {
14464
+ query?: {
14465
+ after?: string;
14466
+ limit?: number;
14467
+ };
14468
+ header?: never;
14469
+ path: {
14470
+ org: string;
14471
+ };
14472
+ cookie?: never;
14473
+ };
14474
+ requestBody?: never;
14475
+ responses: {
14476
+ /** @description OK */
14477
+ 200: {
14478
+ headers: {
14479
+ [name: string]: unknown;
14480
+ };
14481
+ content: {
14482
+ "application/json": {
14483
+ scope: components["schemas"]["AppScope"];
14484
+ governance: components["schemas"]["Governance"];
14485
+ approvedReleases: string[] | null;
14486
+ clusterReleases: components["schemas"]["ClusterRelease"][];
14487
+ apps: components["schemas"]["ReportApp"][];
14488
+ next: string | null;
14489
+ };
14490
+ };
14491
+ };
14492
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
14493
+ 401: {
14494
+ headers: {
14495
+ [name: string]: unknown;
14496
+ };
14497
+ content: {
14498
+ "application/json": components["schemas"]["Error"];
14499
+ };
14500
+ };
14501
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
14502
+ 404: {
14503
+ headers: {
14504
+ [name: string]: unknown;
14505
+ };
14506
+ content: {
14507
+ "application/json": components["schemas"]["Error"];
14508
+ };
14509
+ };
14510
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
14511
+ 421: {
14512
+ headers: {
14513
+ [name: string]: unknown;
14514
+ };
14515
+ content: {
14516
+ "application/json": components["schemas"]["Error"];
14517
+ };
14518
+ };
14519
+ };
14520
+ };
14521
+ org_backup_key: {
14522
+ parameters: {
14523
+ query?: never;
14524
+ header?: never;
14525
+ path: {
14526
+ org: string;
14527
+ };
14528
+ cookie?: never;
14529
+ };
14530
+ requestBody?: never;
14531
+ responses: {
14532
+ /** @description OK */
14533
+ 200: {
14534
+ headers: {
14535
+ [name: string]: unknown;
14536
+ };
14537
+ content: {
14538
+ "application/json": components["schemas"]["BackupKeyAnswer"];
12498
14539
  };
12499
14540
  };
12500
14541
  /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
@@ -12515,17 +14556,8 @@ export interface operations {
12515
14556
  "application/json": components["schemas"]["Error"];
12516
14557
  };
12517
14558
  };
12518
- /** @description `FEATURE_NOT_ACTIVE`. `details` of `FEATURE_NOT_ACTIVE`: a `FeatureNotActive`. */
12519
- 409: {
12520
- headers: {
12521
- [name: string]: unknown;
12522
- };
12523
- content: {
12524
- "application/json": components["schemas"]["Error"];
12525
- };
12526
- };
12527
- /** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
12528
- 412: {
14559
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
14560
+ 404: {
12529
14561
  headers: {
12530
14562
  [name: string]: unknown;
12531
14563
  };
@@ -12544,19 +14576,23 @@ export interface operations {
12544
14576
  };
12545
14577
  };
12546
14578
  };
12547
- org_apps: {
14579
+ org_set_backup_key: {
12548
14580
  parameters: {
12549
- query?: {
12550
- after?: string;
12551
- limit?: number;
12552
- };
14581
+ query?: never;
12553
14582
  header?: never;
12554
14583
  path: {
12555
14584
  org: string;
12556
14585
  };
12557
14586
  cookie?: never;
12558
14587
  };
12559
- requestBody?: never;
14588
+ requestBody: {
14589
+ content: {
14590
+ "application/json": {
14591
+ publicKey: string;
14592
+ confirm?: components["schemas"]["Confirm"];
14593
+ };
14594
+ };
14595
+ };
12560
14596
  responses: {
12561
14597
  /** @description OK */
12562
14598
  200: {
@@ -12564,14 +14600,16 @@ export interface operations {
12564
14600
  [name: string]: unknown;
12565
14601
  };
12566
14602
  content: {
12567
- "application/json": {
12568
- scope: components["schemas"]["AppScope"];
12569
- governance: components["schemas"]["Governance"];
12570
- approvedReleases: string[] | null;
12571
- clusterReleases: components["schemas"]["ClusterRelease"][];
12572
- apps: components["schemas"]["ReportApp"][];
12573
- next: string | null;
12574
- };
14603
+ "application/json": components["schemas"]["BackupKeyAnswer"];
14604
+ };
14605
+ };
14606
+ /** @description `BAD_BACKUP_KEY`; `EXPIRED_CHALLENGE`; `UNKNOWN_CHALLENGE` */
14607
+ 400: {
14608
+ headers: {
14609
+ [name: string]: unknown;
14610
+ };
14611
+ content: {
14612
+ "application/json": components["schemas"]["Error"];
12575
14613
  };
12576
14614
  };
12577
14615
  /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
@@ -12583,8 +14621,26 @@ export interface operations {
12583
14621
  "application/json": components["schemas"]["Error"];
12584
14622
  };
12585
14623
  };
12586
- /** @description `NOT_FOUND`: no such object, or one the caller may not see */
12587
- 404: {
14624
+ /** @description `FORBIDDEN`: the credential may not do this (scope, role, governance, read-only) */
14625
+ 403: {
14626
+ headers: {
14627
+ [name: string]: unknown;
14628
+ };
14629
+ content: {
14630
+ "application/json": components["schemas"]["Error"];
14631
+ };
14632
+ };
14633
+ /** @description `FEATURE_NOT_ACTIVE`. `details` of `FEATURE_NOT_ACTIVE`: a `FeatureNotActive`. */
14634
+ 409: {
14635
+ headers: {
14636
+ [name: string]: unknown;
14637
+ };
14638
+ content: {
14639
+ "application/json": components["schemas"]["Error"];
14640
+ };
14641
+ };
14642
+ /** @description `CONFIRM_REQUIRED`: a passkey assertion is needed; `details` carries the challenge. `details` of `CONFIRM_REQUIRED`: a `ConfirmRequired`. */
14643
+ 412: {
12588
14644
  headers: {
12589
14645
  [name: string]: unknown;
12590
14646
  };
@@ -15407,6 +17463,141 @@ export interface operations {
15407
17463
  };
15408
17464
  };
15409
17465
  };
17466
+ package_pipelines: {
17467
+ parameters: {
17468
+ query?: never;
17469
+ header?: never;
17470
+ path: {
17471
+ package: string;
17472
+ version: string;
17473
+ };
17474
+ cookie?: never;
17475
+ };
17476
+ requestBody?: never;
17477
+ responses: {
17478
+ /** @description OK */
17479
+ 200: {
17480
+ headers: {
17481
+ [name: string]: unknown;
17482
+ };
17483
+ content: {
17484
+ "application/json": {
17485
+ [key: string]: {
17486
+ hash: string;
17487
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
17488
+ worstCaseFuel: unknown;
17489
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
17490
+ modules: unknown;
17491
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
17492
+ pipeline: unknown;
17493
+ };
17494
+ };
17495
+ };
17496
+ };
17497
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
17498
+ 401: {
17499
+ headers: {
17500
+ [name: string]: unknown;
17501
+ };
17502
+ content: {
17503
+ "application/json": components["schemas"]["Error"];
17504
+ };
17505
+ };
17506
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
17507
+ 404: {
17508
+ headers: {
17509
+ [name: string]: unknown;
17510
+ };
17511
+ content: {
17512
+ "application/json": components["schemas"]["Error"];
17513
+ };
17514
+ };
17515
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
17516
+ 421: {
17517
+ headers: {
17518
+ [name: string]: unknown;
17519
+ };
17520
+ content: {
17521
+ "application/json": components["schemas"]["Error"];
17522
+ };
17523
+ };
17524
+ };
17525
+ };
17526
+ pipelines_validate: {
17527
+ parameters: {
17528
+ query?: never;
17529
+ header?: never;
17530
+ path?: never;
17531
+ cookie?: never;
17532
+ };
17533
+ requestBody: {
17534
+ content: {
17535
+ "application/json": {
17536
+ source: string;
17537
+ package?: string;
17538
+ version?: string;
17539
+ };
17540
+ };
17541
+ };
17542
+ responses: {
17543
+ /** @description OK */
17544
+ 200: {
17545
+ headers: {
17546
+ [name: string]: unknown;
17547
+ };
17548
+ content: {
17549
+ "application/json": {
17550
+ ok: boolean;
17551
+ errors: {
17552
+ path: string;
17553
+ code: string;
17554
+ message: string;
17555
+ }[];
17556
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
17557
+ pipeline?: unknown;
17558
+ worstCaseFuel?: string;
17559
+ worstCaseCost?: string;
17560
+ };
17561
+ };
17562
+ };
17563
+ /** @description `BAD_RELEASE` */
17564
+ 400: {
17565
+ headers: {
17566
+ [name: string]: unknown;
17567
+ };
17568
+ content: {
17569
+ "application/json": components["schemas"]["Error"];
17570
+ };
17571
+ };
17572
+ /** @description `UNAUTHENTICATED`: no, unknown, expired or revoked credential */
17573
+ 401: {
17574
+ headers: {
17575
+ [name: string]: unknown;
17576
+ };
17577
+ content: {
17578
+ "application/json": components["schemas"]["Error"];
17579
+ };
17580
+ };
17581
+ /** @description `NOT_FOUND`: no such object, or one the caller may not see */
17582
+ 404: {
17583
+ headers: {
17584
+ [name: string]: unknown;
17585
+ };
17586
+ content: {
17587
+ "application/json": components["schemas"]["Error"];
17588
+ };
17589
+ };
17590
+ /** @description `WRONG_NODE`: this node runs a release the account's owners have not approved, so it neither issues nor takes the account's sessions; send it to another node of the cluster (no `details`; nothing was spent) */
17591
+ 421: {
17592
+ headers: {
17593
+ [name: string]: unknown;
17594
+ };
17595
+ content: {
17596
+ "application/json": components["schemas"]["Error"];
17597
+ };
17598
+ };
17599
+ };
17600
+ };
15410
17601
  publisher_binding: {
15411
17602
  parameters: {
15412
17603
  query?: never;
@@ -15453,6 +17644,84 @@ export interface operations {
15453
17644
  };
15454
17645
  };
15455
17646
  };
17647
+ restore_recover_holder: {
17648
+ parameters: {
17649
+ query?: never;
17650
+ header?: never;
17651
+ path?: never;
17652
+ cookie?: never;
17653
+ };
17654
+ requestBody: {
17655
+ content: {
17656
+ "application/json": {
17657
+ holder: string;
17658
+ slice: {
17659
+ file: string;
17660
+ key: string;
17661
+ };
17662
+ apps?: {
17663
+ file: string;
17664
+ key: string;
17665
+ }[];
17666
+ code?: {
17667
+ file: string;
17668
+ key: string;
17669
+ }[];
17670
+ operatorProof?: components["schemas"]["OperatorProof"];
17671
+ };
17672
+ };
17673
+ };
17674
+ responses: {
17675
+ /** @description OK */
17676
+ 200: {
17677
+ headers: {
17678
+ [name: string]: unknown;
17679
+ };
17680
+ content: {
17681
+ "application/json": {
17682
+ /** @description Free-form JSON: its shape is not this API's (see the description around it for whose it is). */
17683
+ apps: unknown;
17684
+ };
17685
+ };
17686
+ };
17687
+ /** @description `BAD_RECOVERY_FILE`; `BAD_RECOVERY_KEY`; `BAD_REQUEST`: the request is malformed; `NOT_A_REPLICA_NODE`; `TOO_MANY_FILES`; `UNATTESTED_RECOVERY_FILE` */
17688
+ 400: {
17689
+ headers: {
17690
+ [name: string]: unknown;
17691
+ };
17692
+ content: {
17693
+ "application/json": components["schemas"]["Error"];
17694
+ };
17695
+ };
17696
+ /** @description `BAD_OPERATOR_SIGNATURE` */
17697
+ 403: {
17698
+ headers: {
17699
+ [name: string]: unknown;
17700
+ };
17701
+ content: {
17702
+ "application/json": components["schemas"]["Error"];
17703
+ };
17704
+ };
17705
+ /** @description `FEATURE_NOT_ACTIVE`; `NO_BACKUP_DIR`; `RECOVERY_SEGMENTS_MISSING`. `details` of `FEATURE_NOT_ACTIVE`: a `FeatureNotActive`. */
17706
+ 409: {
17707
+ headers: {
17708
+ [name: string]: unknown;
17709
+ };
17710
+ content: {
17711
+ "application/json": components["schemas"]["Error"];
17712
+ };
17713
+ };
17714
+ /** @description `OPERATOR_SIGNATURE_REQUIRED`: the operator key must sign the decision; `details` names the statement. `details` of `OPERATOR_SIGNATURE_REQUIRED`: a `OperatorSignatureRequired`. */
17715
+ 428: {
17716
+ headers: {
17717
+ [name: string]: unknown;
17718
+ };
17719
+ content: {
17720
+ "application/json": components["schemas"]["Error"];
17721
+ };
17722
+ };
17723
+ };
17724
+ };
15456
17725
  releases_public: {
15457
17726
  parameters: {
15458
17727
  query?: never;