@onesi/genesis 0.2.11 → 0.2.12

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.
@@ -4335,7 +4335,11 @@ export interface paths {
4335
4335
  get: operations["hives_get_flight"];
4336
4336
  put?: never;
4337
4337
  post?: never;
4338
- delete?: never;
4338
+ /**
4339
+ * Delete a Flight
4340
+ * @description Tombstones the Flight (status deleted). Its hostname stops routing, it leaves get and list, and it no longer blocks deleting the project. The deployment behind it keeps running until it is stopped; DNS records are not touched. A Flight of another organization, project or environment, or one already deleted, is 404.
4341
+ */
4342
+ delete: operations["hives_delete_flight"];
4339
4343
  options?: never;
4340
4344
  head?: never;
4341
4345
  patch?: never;
@@ -10914,8 +10918,8 @@ export interface paths {
10914
10918
  */
10915
10919
  get: operations["minds_getEpisodicMemory"];
10916
10920
  /**
10917
- * Update content of the same stored episodic event
10918
- * @description Original human Console authorization only (Sandbox, or Live). Requires the existing logical event_id and preserves all other stored metadata. No delete/recreate, automatic retry or atomic compare-and-swap guarantee. Reconcile an unknown result with get. Org API keys with a Sandbox or Live binding are admitted with `minds:write`. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
10921
+ * Update content of a stored episodic event; event_id must equal storage_id
10922
+ * @description Original human Console authorization only (Sandbox, or Live). Requires `event_id` equal to the path `storage_id` (the persisted storage UUID that insert returns as `id`, not the caller event UUID); any other value answers 409 EVENT_ID_MISMATCH. Preserves all other stored metadata. No delete/recreate, automatic retry or atomic compare-and-swap guarantee. Reconcile an unknown result with get. Org API keys with a Sandbox or Live binding are admitted with `minds:write`. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation.
10919
10923
  */
10920
10924
  put: operations["minds_updateEpisodicMemory"];
10921
10925
  post?: never;
@@ -17017,6 +17021,26 @@ export interface paths {
17017
17021
  patch?: never;
17018
17022
  trace?: never;
17019
17023
  };
17024
+ "/v1/flares/choreography/workflows/{workflow_id}": {
17025
+ parameters: {
17026
+ query?: never;
17027
+ header?: never;
17028
+ path?: never;
17029
+ cookie?: never;
17030
+ };
17031
+ get?: never;
17032
+ put?: never;
17033
+ post?: never;
17034
+ /**
17035
+ * Delete a tenant-scoped choreography workflow definition
17036
+ * @description Needs `flares:write` at the gateway (service scope `choreography.write`). Deletes one of the caller's workflow definitions in the caller's own organization, project and environment and returns it as `{id, deleted, workflow}`. Another organization's or environment's workflow is 404. A workflow with a pending, running or compensating execution is 409; cancel or finish those first. Finished, failed and cancelled executions stay readable.
17037
+ */
17038
+ delete: operations["flares_deleteChoreographyWorkflow"];
17039
+ options?: never;
17040
+ head?: never;
17041
+ patch?: never;
17042
+ trace?: never;
17043
+ };
17020
17044
  "/v1/flares/choreography/executions": {
17021
17045
  parameters: {
17022
17046
  query?: never;
@@ -19290,6 +19314,26 @@ export interface paths {
19290
19314
  patch?: never;
19291
19315
  trace?: never;
19292
19316
  };
19317
+ "/v1/credits/catalog": {
19318
+ parameters: {
19319
+ query?: never;
19320
+ header?: never;
19321
+ path?: never;
19322
+ cookie?: never;
19323
+ };
19324
+ /**
19325
+ * The One credits catalog
19326
+ * @description Every price of the catalog (version `one-plans-20261021`) with its credits, computer hours, amount in US cents and interval, the pack rate (60 credits per dollar), the payment methods Checkout offers per mode (Apple Pay and Google Pay ride on `card`; `crypto` is USDC hosted by Stripe and offered for packs only), the `return_to` a checkout may use and the wallet-payment terms. Needs genesis.billing.read and no credits account: an organization that is not a One tenant can read it. Takes no query.
19327
+ */
19328
+ get: operations["gateway_getCreditCatalog"];
19329
+ put?: never;
19330
+ post?: never;
19331
+ delete?: never;
19332
+ options?: never;
19333
+ head?: never;
19334
+ patch?: never;
19335
+ trace?: never;
19336
+ };
19293
19337
  "/v1/credits/entries": {
19294
19338
  parameters: {
19295
19339
  query?: never;
@@ -19361,7 +19405,7 @@ export interface paths {
19361
19405
  put?: never;
19362
19406
  /**
19363
19407
  * Start a Stripe Checkout for a plan, seats or a credit pack
19364
- * @description Returns the hosted Stripe Checkout URL (test mode) for the items: a plan or seat price (`one_one_monthly`, `one_pro_monthly`, `one_operator_monthly`, ...) or a credit pack (`one_pack_10`, `one_pack_25`, `one_pack_50`). The URL is always on https://checkout.stripe.com and never a live-mode session. Nothing is charged until you pay on that page. Needs genesis.billing.manage and an Idempotency-Key.
19408
+ * @description Returns the hosted Stripe Checkout URL (test mode) for the items: a plan or seat price (`one_one_monthly`, `one_pro_monthly`, `one_operator_monthly`, ...) or a credit pack (`one_pack_10`, `one_pack_25`, `one_pack_50`). The URL is always on https://checkout.stripe.com and never a live-mode session. Nothing is charged until you pay on that page. Plans and seats take card, Link and ACH; packs also take crypto (USDC hosted by Stripe), and Apple Pay and Google Pay come with card. Pack credits are minted once the payment is paid: at once for card and Link, later for ACH and crypto. `return_to` (optional) sends the person back to https://chat.one.ml/pay or a path below it, with `?checkout=success&session_id=...` or `?checkout=cancel`. Needs genesis.billing.manage and an Idempotency-Key.
19365
19409
  */
19366
19410
  post: operations["gateway_createCreditCheckout"];
19367
19411
  delete?: never;
@@ -19370,6 +19414,26 @@ export interface paths {
19370
19414
  patch?: never;
19371
19415
  trace?: never;
19372
19416
  };
19417
+ "/v1/credits/wallet-payment": {
19418
+ parameters: {
19419
+ query?: never;
19420
+ header?: never;
19421
+ path?: never;
19422
+ cookie?: never;
19423
+ };
19424
+ get?: never;
19425
+ put?: never;
19426
+ /**
19427
+ * Pay for a credit pack in USDC from a wallet
19428
+ * @description A pack ($10, $25 or $50) paid in USDC (1:1 with USD) on Base or Solana through a Stripe deposit-mode PaymentIntent (Stripe test mode: Base Sepolia, Solana devnet). Send exactly `amount_usdc_atomic` (6-decimal USDC units) of the token at `token_contract_address` to `deposit_address` before `expires_at` (30 minutes); after that the intent is canceled. Stripe matches a transfer by its exact amount, so when the pack's amount is already open the lowest free amount up to 99 cents higher is used (`jitter_cents`), and those cents buy credits at 60 per dollar, rounded down (`credits`). Credits are minted when the payment succeeds, as a pack lot that expires after 12 months. A payment from another wallet than `payer_address` is still credited and flagged for review. Refunds go back to the sending wallet. Needs genesis.billing.manage and an Idempotency-Key.
19429
+ */
19430
+ post: operations["gateway_createCreditWalletPayment"];
19431
+ delete?: never;
19432
+ options?: never;
19433
+ head?: never;
19434
+ patch?: never;
19435
+ trace?: never;
19436
+ };
19373
19437
  "/v1/credits/subscription": {
19374
19438
  parameters: {
19375
19439
  query?: never;
@@ -24148,6 +24212,46 @@ export interface paths {
24148
24212
  patch?: never;
24149
24213
  trace?: never;
24150
24214
  };
24215
+ "/v1/brews/exchange/uninstall": {
24216
+ parameters: {
24217
+ query?: never;
24218
+ header?: never;
24219
+ path?: never;
24220
+ cookie?: never;
24221
+ };
24222
+ get?: never;
24223
+ put?: never;
24224
+ /**
24225
+ * Uninstall an exchange Brew from the selected project
24226
+ * @description Needs `brews:write`. Removes a Brew that installBrew put in the caller's organization, project and environment, and drops the source listing's install count. A Brew in another scope is 404 BREWS_E_NOT_FOUND; a Brew that was not installed from the exchange is 409 BREWS_E_NOT_AN_INSTALL.
24227
+ */
24228
+ post: operations["brews_uninstallBrew"];
24229
+ delete?: never;
24230
+ options?: never;
24231
+ head?: never;
24232
+ patch?: never;
24233
+ trace?: never;
24234
+ };
24235
+ "/v1/brews/delete": {
24236
+ parameters: {
24237
+ query?: never;
24238
+ header?: never;
24239
+ path?: never;
24240
+ cookie?: never;
24241
+ };
24242
+ get?: never;
24243
+ put?: never;
24244
+ /**
24245
+ * Delete a Brew from the selected project
24246
+ * @description Needs `brews:write`. Deletes one Brew version from the caller's organization, project and environment and returns its digest; the version can be created again afterwards. A Brew in another scope is 404 BREWS_E_NOT_FOUND; an exchange install is 409 BREWS_E_EXCHANGE_INSTALL (use uninstallBrew).
24247
+ */
24248
+ post: operations["brews_deleteBrew"];
24249
+ delete?: never;
24250
+ options?: never;
24251
+ head?: never;
24252
+ patch?: never;
24253
+ trace?: never;
24254
+ };
24151
24255
  "/v1/brews/mcp": {
24152
24256
  parameters: {
24153
24257
  query?: never;
@@ -24159,7 +24263,7 @@ export interface paths {
24159
24263
  put?: never;
24160
24264
  /**
24161
24265
  * Call a Brews MCP tool
24162
- * @description One Brews tool call: brews.create, brews.run, brews.eval, brews.list, brews.get, brews.card, brews.compile, brews.bench.run, brews.exchange.list, brews.exchange.get, brews.exchange.install, or a typed brews.decision.v1 / brews.selection.v1 tool. Needs `brews:read`; tools that write need `brews:write`, checked by Brews per tool. `arguments.scope` is filled from the selection.
24266
+ * @description One Brews tool call: brews.create, brews.run, brews.eval, brews.list, brews.get, brews.card, brews.compile, brews.bench.run, brews.exchange.list, brews.exchange.get, brews.exchange.install, brews.exchange.uninstall, brews.delete, or a typed brews.decision.v1 / brews.selection.v1 tool. Needs `brews:read`; tools that write need `brews:write`, checked by Brews per tool. `arguments.scope` is filled from the selection.
24163
24267
  */
24164
24268
  post: operations["brews_callTool"];
24165
24269
  delete?: never;
@@ -28677,7 +28781,8 @@ export interface components {
28677
28781
  escalation_policy_id?: string | null;
28678
28782
  /** @default true */
28679
28783
  enabled?: boolean;
28680
- members: string[];
28784
+ /** @description Tenant user ids, at least one for a signed-in caller. An org API key has no users row: it must send [] (or omit members) and gets 400 for any user id; a signed-in member adds people later. */
28785
+ members?: string[];
28681
28786
  /** @description Accepted but not stored */
28682
28787
  allow_self_coverage?: boolean;
28683
28788
  /** @description Accepted but not stored */
@@ -28686,7 +28791,7 @@ export interface components {
28686
28791
  acknowledgement_timeout_minutes?: number;
28687
28792
  /** @description Accepted but not stored */
28688
28793
  auto_escalate?: boolean;
28689
- /** @description Accepted but not stored */
28794
+ /** @description Not supported on on-call schedules: send [] or omit it; a non-empty list is 400 (relays#53) */
28690
28795
  alert_channel_ids?: string[];
28691
28796
  };
28692
28797
  "Relays.OncallOverrideInput": {
@@ -28710,7 +28815,7 @@ export interface components {
28710
28815
  /** Format: uuid */
28711
28816
  escalation_policy_id?: string | null;
28712
28817
  enabled?: boolean;
28713
- /** @description Replaces the whole rotation */
28818
+ /** @description Replaces the whole rotation (at least one member). Signed-in callers only: an org API key gets 400 for members (even []) and for create_override. */
28714
28819
  members?: string[];
28715
28820
  create_override?: components["schemas"]["Relays.OncallOverrideInput"];
28716
28821
  /** Format: uuid */
@@ -37115,6 +37220,11 @@ export interface components {
37115
37220
  pack: number | null;
37116
37221
  monthly_ceiling_credits: number | null;
37117
37222
  used_this_month_credits?: number;
37223
+ /**
37224
+ * @description Auto-refill is paused while a dispute on one of your charges is open
37225
+ * @enum {unknown}
37226
+ */
37227
+ paused_reason?: "dispute_open" | null;
37118
37228
  };
37119
37229
  "Gateway.CreditBalance": {
37120
37230
  org: string;
@@ -37219,6 +37329,103 @@ export interface components {
37219
37329
  */
37220
37330
  url: string;
37221
37331
  };
37332
+ "Gateway.CreditCheckoutRequest": {
37333
+ items: components["schemas"]["Gateway.CreditItem"][];
37334
+ /** @description Where Checkout sends the person back: https://chat.one.ml/pay or a path below it */
37335
+ return_to?: string;
37336
+ };
37337
+ "Gateway.CreditCatalogPrice": {
37338
+ lookup_key: string;
37339
+ /** @enum {string} */
37340
+ kind: "plan" | "seat" | "bundle" | "pack" | "refill";
37341
+ plan: string;
37342
+ /** @description Credits per unit per period (plans */
37343
+ credits: number;
37344
+ computer_hours: number;
37345
+ /** @description US cents */
37346
+ unit_amount: number;
37347
+ /** @enum {string|null} */
37348
+ interval: "month" | "year" | null;
37349
+ team: {
37350
+ [key: string]: number;
37351
+ } | null;
37352
+ /** @description false for the free price and the refill prices (auto-refill buys those) */
37353
+ purchasable: boolean;
37354
+ };
37355
+ "Gateway.CreditCatalog": {
37356
+ /** @constant */
37357
+ object: "credits_catalog";
37358
+ /** @description one-plans-20261021 */
37359
+ version: string;
37360
+ /** @enum {string} */
37361
+ billing_environment: "sandbox" | "live";
37362
+ test_mode: boolean;
37363
+ /** @constant */
37364
+ currency: "usd";
37365
+ /** @description Credits per dollar for packs */
37366
+ pack_credits_per_usd: number;
37367
+ prices: components["schemas"]["Gateway.CreditCatalogPrice"][];
37368
+ payment_methods: {
37369
+ /** @description card, link, us_bank_account, crypto */
37370
+ payment: string[];
37371
+ /** @description card, link, us_bank_account */
37372
+ subscription: string[];
37373
+ };
37374
+ return_to: {
37375
+ origin?: string;
37376
+ path_prefix?: string;
37377
+ };
37378
+ /** @description The terms of POST /v1/credits/wallet-payment */
37379
+ wallet?: {
37380
+ /** @constant */
37381
+ token?: "usdc";
37382
+ networks?: ("base" | "solana")[];
37383
+ packs?: (10 | 25 | 50)[];
37384
+ usdc_per_usd?: number;
37385
+ intent_minutes?: number;
37386
+ jitter_max_cents?: number;
37387
+ test_networks?: {
37388
+ [key: string]: string;
37389
+ };
37390
+ };
37391
+ };
37392
+ "Gateway.CreditWalletPaymentRequest": {
37393
+ /**
37394
+ * @description The pack in US dollars
37395
+ * @enum {integer}
37396
+ */
37397
+ pack: 10 | 25 | 50;
37398
+ /** @enum {string} */
37399
+ network: "base" | "solana";
37400
+ /** @description The wallet you pay from. Base: 0x and 40 hex characters. Solana: base58, 32 to 44 characters. */
37401
+ payer_address: string;
37402
+ };
37403
+ "Gateway.CreditWalletPayment": {
37404
+ payment_intent: string;
37405
+ /** @constant */
37406
+ status: "requires_action";
37407
+ /** @enum {integer} */
37408
+ pack: 10 | 25 | 50;
37409
+ /** @enum {string} */
37410
+ network: "base" | "solana";
37411
+ /** @constant */
37412
+ token: "usdc";
37413
+ deposit_address: string;
37414
+ token_contract_address: string;
37415
+ /** @description The exact amount to send */
37416
+ amount_cents: number;
37417
+ /** @description amount_cents as dollars, for example 10.03 */
37418
+ amount_usd: string;
37419
+ /** @description amount_cents x 10^4: the exact 6-decimal USDC units to send, for example 10030000 */
37420
+ amount_usdc_atomic: string;
37421
+ /** @description Cents added to the pack's amount so Stripe can match the transfer */
37422
+ jitter_cents: number;
37423
+ /** @description The pack's credits plus jitter_cents x 0.6, rounded down */
37424
+ credits: number;
37425
+ payer_address: string;
37426
+ /** Format: date-time */
37427
+ expires_at: string;
37428
+ };
37222
37429
  "Gateway.CreditSubscriptionResult": {
37223
37430
  plan?: string;
37224
37431
  subscription: components["schemas"]["Gateway.CreditSubscription"] | null;
@@ -40766,6 +40973,19 @@ export interface components {
40766
40973
  } & {
40767
40974
  [key: string]: unknown;
40768
40975
  };
40976
+ "Brews.DeleteBrew": {
40977
+ scope?: components["schemas"]["Brews.Scope"];
40978
+ brewUri: string;
40979
+ reason?: string;
40980
+ } & {
40981
+ [key: string]: unknown;
40982
+ };
40983
+ "Brews.UninstallBrew": {
40984
+ scope?: components["schemas"]["Brews.Scope"];
40985
+ installedUri: string;
40986
+ } & {
40987
+ [key: string]: unknown;
40988
+ };
40769
40989
  "Brews.ToolCall": {
40770
40990
  tool: string;
40771
40991
  arguments: {
@@ -54333,6 +54553,52 @@ export interface operations {
54333
54553
  };
54334
54554
  };
54335
54555
  };
54556
+ hives_delete_flight: {
54557
+ parameters: {
54558
+ query?: never;
54559
+ header?: never;
54560
+ path: {
54561
+ /** @description Hives project id (prj_…) */
54562
+ project_id: string;
54563
+ /** @description Flight ID */
54564
+ flight_id: string;
54565
+ };
54566
+ cookie?: never;
54567
+ };
54568
+ requestBody?: never;
54569
+ responses: {
54570
+ /** @description The deleted Flight (status deleted) */
54571
+ 200: {
54572
+ headers: {
54573
+ [name: string]: unknown;
54574
+ };
54575
+ content: {
54576
+ "application/json": components["schemas"]["Hives.FlightResponse"];
54577
+ };
54578
+ };
54579
+ /** @description Unauthorized */
54580
+ 401: {
54581
+ headers: {
54582
+ [name: string]: unknown;
54583
+ };
54584
+ content?: never;
54585
+ };
54586
+ /** @description Permission denied */
54587
+ 403: {
54588
+ headers: {
54589
+ [name: string]: unknown;
54590
+ };
54591
+ content?: never;
54592
+ };
54593
+ /** @description Project or Flight not found, or already deleted */
54594
+ 404: {
54595
+ headers: {
54596
+ [name: string]: unknown;
54597
+ };
54598
+ content?: never;
54599
+ };
54600
+ };
54601
+ };
54336
54602
  hives_list_flight_files: {
54337
54603
  parameters: {
54338
54604
  query?: {
@@ -90144,6 +90410,75 @@ export interface operations {
90144
90410
  };
90145
90411
  };
90146
90412
  };
90413
+ flares_deleteChoreographyWorkflow: {
90414
+ parameters: {
90415
+ query?: never;
90416
+ header: {
90417
+ /** @description Stable key; reuse it to replay instead of acting twice */
90418
+ "Idempotency-Key": components["parameters"]["Flares.IdempotencyKey"];
90419
+ };
90420
+ path: {
90421
+ workflow_id: string;
90422
+ };
90423
+ cookie?: never;
90424
+ };
90425
+ requestBody?: never;
90426
+ responses: {
90427
+ /** @description Deleted */
90428
+ 200: {
90429
+ headers: {
90430
+ [name: string]: unknown;
90431
+ };
90432
+ content: {
90433
+ "application/json": {
90434
+ /** Format: uuid */
90435
+ id: string;
90436
+ deleted: boolean;
90437
+ workflow: {
90438
+ [key: string]: unknown;
90439
+ };
90440
+ } & {
90441
+ [key: string]: unknown;
90442
+ };
90443
+ };
90444
+ };
90445
+ /** @description Noncanonical request, invalid JSON or missing Idempotency-Key */
90446
+ 400: {
90447
+ headers: {
90448
+ [name: string]: unknown;
90449
+ };
90450
+ content?: never;
90451
+ };
90452
+ /** @description Interactive One account login with a current Sandbox selection required */
90453
+ 401: {
90454
+ headers: {
90455
+ [name: string]: unknown;
90456
+ };
90457
+ content?: never;
90458
+ };
90459
+ /** @description Flares grant missing or a scope hint names another organization or project */
90460
+ 403: {
90461
+ headers: {
90462
+ [name: string]: unknown;
90463
+ };
90464
+ content?: never;
90465
+ };
90466
+ /** @description No workflow with this id in the caller's organization, project and environment */
90467
+ 404: {
90468
+ headers: {
90469
+ [name: string]: unknown;
90470
+ };
90471
+ content?: never;
90472
+ };
90473
+ /** @description The workflow has a pending, running or compensating execution */
90474
+ 409: {
90475
+ headers: {
90476
+ [name: string]: unknown;
90477
+ };
90478
+ content?: never;
90479
+ };
90480
+ };
90481
+ };
90147
90482
  flares_listChoreographyExecutions: {
90148
90483
  parameters: {
90149
90484
  query?: never;
@@ -95082,6 +95417,68 @@ export interface operations {
95082
95417
  };
95083
95418
  };
95084
95419
  };
95420
+ gateway_getCreditCatalog: {
95421
+ parameters: {
95422
+ query?: never;
95423
+ header?: never;
95424
+ path?: never;
95425
+ cookie?: never;
95426
+ };
95427
+ requestBody?: never;
95428
+ responses: {
95429
+ /** @description The catalog */
95430
+ 200: {
95431
+ headers: {
95432
+ [name: string]: unknown;
95433
+ };
95434
+ content: {
95435
+ "application/json": components["schemas"]["Gateway.CreditCatalog"];
95436
+ };
95437
+ };
95438
+ /** @description invalid_request */
95439
+ 400: {
95440
+ headers: {
95441
+ [name: string]: unknown;
95442
+ };
95443
+ content?: never;
95444
+ };
95445
+ /** @description unauthorized */
95446
+ 401: {
95447
+ headers: {
95448
+ [name: string]: unknown;
95449
+ };
95450
+ content?: never;
95451
+ };
95452
+ /** @description forbidden (an M2M token, or a key without genesis.billing.read) */
95453
+ 403: {
95454
+ headers: {
95455
+ [name: string]: unknown;
95456
+ };
95457
+ content?: never;
95458
+ };
95459
+ /** @description ENVIRONMENT_NOT_AVAILABLE (a Live selection) */
95460
+ 409: {
95461
+ headers: {
95462
+ [name: string]: unknown;
95463
+ };
95464
+ content?: never;
95465
+ };
95466
+ /** @description invalid_response */
95467
+ 502: {
95468
+ headers: {
95469
+ [name: string]: unknown;
95470
+ };
95471
+ content?: never;
95472
+ };
95473
+ /** @description credits_unavailable */
95474
+ 503: {
95475
+ headers: {
95476
+ [name: string]: unknown;
95477
+ };
95478
+ content?: never;
95479
+ };
95480
+ };
95481
+ };
95085
95482
  gateway_listCreditEntries: {
95086
95483
  parameters: {
95087
95484
  query?: {
@@ -95323,7 +95720,7 @@ export interface operations {
95323
95720
  };
95324
95721
  requestBody: {
95325
95722
  content: {
95326
- "application/json": components["schemas"]["Gateway.CreditItems"];
95723
+ "application/json": components["schemas"]["Gateway.CreditCheckoutRequest"];
95327
95724
  };
95328
95725
  };
95329
95726
  responses: {
@@ -95394,6 +95791,89 @@ export interface operations {
95394
95791
  };
95395
95792
  };
95396
95793
  };
95794
+ gateway_createCreditWalletPayment: {
95795
+ parameters: {
95796
+ query?: never;
95797
+ header: {
95798
+ /** @description Stable key (8-128 letters, digits, - _ : or .); reuse it to replay instead of acting twice */
95799
+ "Idempotency-Key": components["parameters"]["Gateway.IdempotencyKey"];
95800
+ };
95801
+ path?: never;
95802
+ cookie?: never;
95803
+ };
95804
+ requestBody: {
95805
+ content: {
95806
+ "application/json": components["schemas"]["Gateway.CreditWalletPaymentRequest"];
95807
+ };
95808
+ };
95809
+ responses: {
95810
+ /** @description The deposit instructions */
95811
+ 200: {
95812
+ headers: {
95813
+ [name: string]: unknown;
95814
+ };
95815
+ content: {
95816
+ "application/json": components["schemas"]["Gateway.CreditWalletPayment"];
95817
+ };
95818
+ };
95819
+ /** @description invalid_request, idempotency_key_required or a pack, network or address the service refuses */
95820
+ 400: {
95821
+ headers: {
95822
+ [name: string]: unknown;
95823
+ };
95824
+ content?: never;
95825
+ };
95826
+ /** @description unauthorized */
95827
+ 401: {
95828
+ headers: {
95829
+ [name: string]: unknown;
95830
+ };
95831
+ content?: never;
95832
+ };
95833
+ /** @description forbidden (needs genesis.billing.manage) */
95834
+ 403: {
95835
+ headers: {
95836
+ [name: string]: unknown;
95837
+ };
95838
+ content?: never;
95839
+ };
95840
+ /** @description credits_account_not_found */
95841
+ 404: {
95842
+ headers: {
95843
+ [name: string]: unknown;
95844
+ };
95845
+ content?: never;
95846
+ };
95847
+ /** @description wallet_amount_busy (every amount from the pack's up to 99 cents higher is open), the Idempotency-Key was used for a different request, or ENVIRONMENT_NOT_AVAILABLE (a Live selection) */
95848
+ 409: {
95849
+ headers: {
95850
+ [name: string]: unknown;
95851
+ };
95852
+ content?: never;
95853
+ };
95854
+ /** @description body_too_large (16 KiB) */
95855
+ 413: {
95856
+ headers: {
95857
+ [name: string]: unknown;
95858
+ };
95859
+ content?: never;
95860
+ };
95861
+ /** @description invalid_response */
95862
+ 502: {
95863
+ headers: {
95864
+ [name: string]: unknown;
95865
+ };
95866
+ content?: never;
95867
+ };
95868
+ /** @description credits_unavailable, billing_unavailable or wallet_unavailable */
95869
+ 503: {
95870
+ headers: {
95871
+ [name: string]: unknown;
95872
+ };
95873
+ content?: never;
95874
+ };
95875
+ };
95876
+ };
95397
95877
  gateway_changeCreditSubscription: {
95398
95878
  parameters: {
95399
95879
  query?: never;
@@ -108952,6 +109432,138 @@ export interface operations {
108952
109432
  };
108953
109433
  };
108954
109434
  };
109435
+ brews_uninstallBrew: {
109436
+ parameters: {
109437
+ query?: never;
109438
+ header?: never;
109439
+ path?: never;
109440
+ cookie?: never;
109441
+ };
109442
+ requestBody: {
109443
+ content: {
109444
+ "application/json": components["schemas"]["Brews.UninstallBrew"];
109445
+ };
109446
+ };
109447
+ responses: {
109448
+ /** @description Brews result envelope */
109449
+ 200: {
109450
+ headers: {
109451
+ [name: string]: unknown;
109452
+ };
109453
+ content: {
109454
+ "application/json": components["schemas"]["Brews.Result"];
109455
+ };
109456
+ };
109457
+ /** @description BREWS_E_BAD_REQUEST */
109458
+ 400: {
109459
+ headers: {
109460
+ [name: string]: unknown;
109461
+ };
109462
+ content?: never;
109463
+ };
109464
+ /** @description Credential missing or invalid */
109465
+ 401: {
109466
+ headers: {
109467
+ [name: string]: unknown;
109468
+ };
109469
+ content?: never;
109470
+ };
109471
+ /** @description SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH */
109472
+ 403: {
109473
+ headers: {
109474
+ [name: string]: unknown;
109475
+ };
109476
+ content?: never;
109477
+ };
109478
+ /** @description BREWS_E_NOT_FOUND: no such Brew in the selected organization, project and environment */
109479
+ 404: {
109480
+ headers: {
109481
+ [name: string]: unknown;
109482
+ };
109483
+ content?: never;
109484
+ };
109485
+ /** @description BREWS_E_EXCHANGE_INSTALL or BREWS_E_NOT_AN_INSTALL: the other removal applies */
109486
+ 409: {
109487
+ headers: {
109488
+ [name: string]: unknown;
109489
+ };
109490
+ content?: never;
109491
+ };
109492
+ /** @description Brews unavailable */
109493
+ 503: {
109494
+ headers: {
109495
+ [name: string]: unknown;
109496
+ };
109497
+ content?: never;
109498
+ };
109499
+ };
109500
+ };
109501
+ brews_deleteBrew: {
109502
+ parameters: {
109503
+ query?: never;
109504
+ header?: never;
109505
+ path?: never;
109506
+ cookie?: never;
109507
+ };
109508
+ requestBody: {
109509
+ content: {
109510
+ "application/json": components["schemas"]["Brews.DeleteBrew"];
109511
+ };
109512
+ };
109513
+ responses: {
109514
+ /** @description Brews result envelope */
109515
+ 200: {
109516
+ headers: {
109517
+ [name: string]: unknown;
109518
+ };
109519
+ content: {
109520
+ "application/json": components["schemas"]["Brews.Result"];
109521
+ };
109522
+ };
109523
+ /** @description BREWS_E_BAD_REQUEST */
109524
+ 400: {
109525
+ headers: {
109526
+ [name: string]: unknown;
109527
+ };
109528
+ content?: never;
109529
+ };
109530
+ /** @description Credential missing or invalid */
109531
+ 401: {
109532
+ headers: {
109533
+ [name: string]: unknown;
109534
+ };
109535
+ content?: never;
109536
+ };
109537
+ /** @description SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH */
109538
+ 403: {
109539
+ headers: {
109540
+ [name: string]: unknown;
109541
+ };
109542
+ content?: never;
109543
+ };
109544
+ /** @description BREWS_E_NOT_FOUND: no such Brew in the selected organization, project and environment */
109545
+ 404: {
109546
+ headers: {
109547
+ [name: string]: unknown;
109548
+ };
109549
+ content?: never;
109550
+ };
109551
+ /** @description BREWS_E_EXCHANGE_INSTALL or BREWS_E_NOT_AN_INSTALL: the other removal applies */
109552
+ 409: {
109553
+ headers: {
109554
+ [name: string]: unknown;
109555
+ };
109556
+ content?: never;
109557
+ };
109558
+ /** @description Brews unavailable */
109559
+ 503: {
109560
+ headers: {
109561
+ [name: string]: unknown;
109562
+ };
109563
+ content?: never;
109564
+ };
109565
+ };
109566
+ };
108955
109567
  brews_callTool: {
108956
109568
  parameters: {
108957
109569
  query?: never;