@cubist-labs/cubesigner-sdk 0.4.280 → 0.4.284

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/schema.ts CHANGED
@@ -2367,7 +2367,7 @@ export interface components {
2367
2367
  };
2368
2368
  BabylonCovSignResponse: {
2369
2369
  /** @description Optional policy evaluation tree. */
2370
- policy_eval_tree?: unknown;
2370
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
2371
2371
  } & {
2372
2372
  /**
2373
2373
  * @description The slash-unbonding transaction signatures as an array of hex strings with no 0x prefix
@@ -2516,7 +2516,7 @@ export interface components {
2516
2516
  };
2517
2517
  BabylonRegistrationResponse: {
2518
2518
  /** @description Optional policy evaluation tree. */
2519
- policy_eval_tree?: unknown;
2519
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
2520
2520
  } & {
2521
2521
  /**
2522
2522
  * @description The Babylon address that will receive the staking rewards for this deposit.
@@ -2793,7 +2793,7 @@ export interface components {
2793
2793
  });
2794
2794
  BabylonStakingResponse: {
2795
2795
  /** @description Optional policy evaluation tree. */
2796
- policy_eval_tree?: unknown;
2796
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
2797
2797
  } & {
2798
2798
  /**
2799
2799
  * Format: int64
@@ -2966,7 +2966,6 @@ export interface components {
2966
2966
  | "MissingBybitApiKey"
2967
2967
  | "MissingCoinbaseApiKey"
2968
2968
  | "BinanceKeyMasterMismatch"
2969
- | "BybitAccountMismatch"
2970
2969
  | "InvalidKeyMaterial"
2971
2970
  | "InvalidHexValue"
2972
2971
  | "InvalidBase32Value"
@@ -3302,6 +3301,7 @@ export interface components {
3302
3301
  | "rpcBtcListUtxos"
3303
3302
  | "rpcRetryTransaction"
3304
3303
  | "rpcCancelTransaction"
3304
+ | "rpcDeleteTransaction"
3305
3305
  | "rpcBinance"
3306
3306
  | "rpcBybit"
3307
3307
  | "rpcCoinbase"
@@ -3483,11 +3483,16 @@ export interface components {
3483
3483
  /** @enum {string} */
3484
3484
  method: "cs_binanceSubAccountDepositAddress";
3485
3485
  params: components["schemas"]["BinanceSubAccountDepositAddressParams"];
3486
+ }
3487
+ | {
3488
+ /** @enum {string} */
3489
+ method: "cs_binanceSubAccountDepositHistory";
3490
+ params: components["schemas"]["BinanceSubAccountDepositHistoryParams"];
3486
3491
  };
3487
3492
  /** @description Response returned by the typed `binance_sign` endpoint. */
3488
3493
  BinanceSignResponse: {
3489
3494
  /** @description Optional policy evaluation tree. */
3490
- policy_eval_tree?: unknown;
3495
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
3491
3496
  } & {
3492
3497
  /**
3493
3498
  * @description The full signed query string, ready to be submitted to Binance.
@@ -3520,6 +3525,18 @@ export interface components {
3520
3525
  recvWindow?: number | null;
3521
3526
  };
3522
3527
  /** @description Parameters envelope for all Binance RPC methods. */
3528
+ BinanceSubAccountDepositHistoryParams: components["schemas"]["SubAccountDepositHistoryRequest"] & {
3529
+ dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
3530
+ keyId: components["schemas"]["Id"];
3531
+ /**
3532
+ * Format: float
3533
+ * @description Optional "receive window", i.e., for how long the request stays valid.
3534
+ * May only be specified in milliseconds, with up to three decimal places of precision.
3535
+ * If omitted, defaults to 10000. Must not be greater than 60000.
3536
+ */
3537
+ recvWindow?: number | null;
3538
+ };
3539
+ /** @description Parameters envelope for all Binance RPC methods. */
3523
3540
  BinanceSubAccountTransferHistoryParams: components["schemas"]["SubAccountTransferHistoryRequest"] & {
3524
3541
  dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
3525
3542
  keyId: components["schemas"]["Id"];
@@ -3759,7 +3776,7 @@ export interface components {
3759
3776
  /** @description BTC message signing response */
3760
3777
  BtcMessageSignResponse: {
3761
3778
  /** @description Optional policy evaluation tree. */
3762
- policy_eval_tree?: unknown;
3779
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
3763
3780
  } & {
3764
3781
  /** @description The base64-encoded signature in BIP137 format. */
3765
3782
  sig: string;
@@ -3939,6 +3956,11 @@ export interface components {
3939
3956
  org_id: components["schemas"]["Id"];
3940
3957
  owner: components["schemas"]["Id"];
3941
3958
  };
3959
+ /**
3960
+ * @description Different Bybit account kinds.
3961
+ * @enum {string}
3962
+ */
3963
+ BybitAccountKind: "Main" | "Sub";
3942
3964
  /**
3943
3965
  * @description Wire-format patch payload for [`KeyProperties::BybitApi`].
3944
3966
  *
@@ -3946,6 +3968,7 @@ export interface components {
3946
3968
  * leaves the existing value alone, a JSON `null` clears it, and a value sets it.
3947
3969
  */
3948
3970
  BybitApiPropertiesPatch: {
3971
+ account_kind?: components["schemas"]["BybitAccountKind"] | null;
3949
3972
  /** @description The Bybit-issued API key string. Encrypted server-side before storage. */
3950
3973
  api_key?: string | null;
3951
3974
  /** @description Arbitrary label. Useful for storing the corresponding API key label on the Bybit side. */
@@ -4423,6 +4446,11 @@ export interface components {
4423
4446
  method: "cs_bybitDepositHistory";
4424
4447
  params: components["schemas"]["BybitDepositHistoryParams"];
4425
4448
  }
4449
+ | {
4450
+ /** @enum {string} */
4451
+ method: "cs_bybitSubDepositHistory";
4452
+ params: components["schemas"]["BybitSubDepositHistoryParams"];
4453
+ }
4426
4454
  | {
4427
4455
  /** @enum {string} */
4428
4456
  method: "cs_bybitUniversalTransferHistory";
@@ -4441,7 +4469,7 @@ export interface components {
4441
4469
  /** @description Response returned by the typed `bybit_sign` endpoint. */
4442
4470
  BybitSignResponse: {
4443
4471
  /** @description Optional policy evaluation tree. */
4444
- policy_eval_tree?: unknown;
4472
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
4445
4473
  } & {
4446
4474
  /**
4447
4475
  * @description The Bybit-bound payload (URL-encoded query for GET, JSON body for
@@ -4466,6 +4494,67 @@ export interface components {
4466
4494
  */
4467
4495
  timestamp_ms: number;
4468
4496
  };
4497
+ /**
4498
+ * @description Parameters envelope for all Bybit RPC variants whose payload schema is
4499
+ * derived from a `*Request` struct. (`BybitQueryUserParams` and
4500
+ * `BybitQuerySubMembersParams` have no per-variant payload and are defined
4501
+ * directly below.)
4502
+ */
4503
+ BybitSubDepositHistoryParams: components["schemas"]["BybitSubDepositHistoryRequest"] & {
4504
+ dryRun?: components["schemas"]["BybitDryRunMode"] | null;
4505
+ keyId: components["schemas"]["Id"];
4506
+ /**
4507
+ * Format: int32
4508
+ * @description Optional "receive window", i.e., for how long the request stays valid.
4509
+ * Specified in milliseconds. If omitted, defaults to 10000.
4510
+ */
4511
+ recvWindow?: number | null;
4512
+ };
4513
+ /**
4514
+ * @description Parameters for `GET /v5/asset/deposit/query-sub-member-record`.
4515
+ *
4516
+ * Master-only: returns the deposit records of the sub-account named by
4517
+ * `sub_member_id`. Bybit exposes these to the parent account's credentials
4518
+ * alone; a sub-account key reads its own deposits through
4519
+ * [`BybitDepositHistoryRequest`] instead.
4520
+ *
4521
+ * By default, queries records from the last 30 days; otherwise, `endTime` -
4522
+ * `startTime` must be less than 30 days.
4523
+ */
4524
+ BybitSubDepositHistoryRequest: {
4525
+ /** @description Filter by coin symbol (uppercase). */
4526
+ coin?: string | null;
4527
+ /** @description Pagination cursor (the `nextPageCursor` from a prior response). */
4528
+ cursor?: string | null;
4529
+ /**
4530
+ * Format: int64
4531
+ * @description End timestamp (ms since epoch).
4532
+ */
4533
+ endTime?: number | null;
4534
+ /** @description Filter by Bybit-internal deposit id. */
4535
+ id?: string | null;
4536
+ /**
4537
+ * Format: int32
4538
+ * @description Page size, `[1, 50]`. Defaults to 50.
4539
+ */
4540
+ limit?: number | null;
4541
+ /**
4542
+ * Format: int64
4543
+ * @description Start timestamp (ms since epoch). The span between `start_time` and
4544
+ * `end_time` must not exceed 30 days.
4545
+ */
4546
+ startTime?: number | null;
4547
+ /**
4548
+ * @description UID of the sub-account whose deposit history to fetch. Bybit requires
4549
+ * this, so there is no "calling account" fallback on this endpoint.
4550
+ */
4551
+ subMemberId: string;
4552
+ /**
4553
+ * @description Filter by on-chain transaction id. Data before 2024-01-01 is not
4554
+ * queryable via this field.
4555
+ */
4556
+ txID?: string | null;
4557
+ };
4469
4558
  /** @description One entry in [`BybitQuerySubMembersResponse::sub_members`]. */
4470
4559
  BybitSubMember: {
4471
4560
  /**
@@ -4780,20 +4869,51 @@ export interface components {
4780
4869
  */
4781
4870
  recvWindow?: number | null;
4782
4871
  };
4783
- /** @description Parameters for `GET /v5/asset/withdraw/query-record`. */
4872
+ /**
4873
+ * @description Parameters for `GET /v5/asset/withdraw/query-record`.
4874
+ *
4875
+ * Master-only: Bybit answers this endpoint for the master UID's API key
4876
+ * alone, and has no sub-account equivalent, because sub-accounts cannot
4877
+ * withdraw to an external address.
4878
+ *
4879
+ * By default, queries records from the last 30 days; otherwise, `endTime` -
4880
+ * `startTime` must be less than 30 days.
4881
+ */
4784
4882
  BybitWithdrawalsRequest: {
4785
4883
  /** @description Filter by coin symbol. */
4786
4884
  coin?: string | null;
4885
+ /** @description Pagination cursor (the `nextPageCursor` from a prior response). */
4886
+ cursor?: string | null;
4887
+ /**
4888
+ * Format: int64
4889
+ * @description End timestamp (ms since epoch).
4890
+ */
4891
+ endTime?: number | null;
4787
4892
  /**
4788
4893
  * Format: int32
4789
- * @description Page size.
4894
+ * @description Page size, `[1, 50]`. Defaults to 50.
4790
4895
  */
4791
4896
  limit?: number | null;
4897
+ /**
4898
+ * Format: int64
4899
+ * @description Start timestamp (ms since epoch). The span between `start_time` and
4900
+ * `end_time` must not exceed 30 days.
4901
+ */
4902
+ startTime?: number | null;
4903
+ /** @description Filter by on-chain transaction id. */
4904
+ txID?: string | null;
4792
4905
  /**
4793
4906
  * @description Filter by Bybit-assigned withdrawal id (the `id` returned by
4794
4907
  * [`BybitRpc::Withdraw`]).
4795
4908
  */
4796
4909
  withdrawID?: string | null;
4910
+ /**
4911
+ * Format: int32
4912
+ * @description Which kinds of withdrawal to return: `0` on-chain only, `1` off-chain
4913
+ * (internal Bybit-to-Bybit) only, `2` both. Bybit defaults to `0`, so
4914
+ * internal transfers out are invisible unless this is set to `1` or `2`.
4915
+ */
4916
+ withdrawType?: number | null;
4797
4917
  };
4798
4918
  /** @description Response of `GET /v5/asset/withdraw/query-record`. */
4799
4919
  BybitWithdrawalsResponse: {
@@ -4805,10 +4925,20 @@ export interface components {
4805
4925
  /** @description Withdrawal records matching the query. */
4806
4926
  rows: components["schemas"]["BybitWithdrawEntry"][];
4807
4927
  };
4928
+ /** @description Return type of [proxy::call_webhook] */
4929
+ CallWebhookResult: {
4930
+ /** @description The response body */
4931
+ body: string;
4932
+ /**
4933
+ * Format: int32
4934
+ * @description The HTTP status of the response
4935
+ */
4936
+ status: number;
4937
+ };
4808
4938
  CancelInvitationRequest: {
4809
4939
  email: components["schemas"]["Email"];
4810
4940
  };
4811
- /** @description Parameters for the [`cs_cancelTransaction`](RpcMethod::CancelTransaction) method. */
4941
+ /** @description Parameters for the [`cs_transactionCancel`](RpcMethod::CancelTransaction) method. */
4812
4942
  CancelTransactionRequest: {
4813
4943
  /** @description The transaction id. */
4814
4944
  id: string;
@@ -5130,7 +5260,7 @@ export interface components {
5130
5260
  /** @description Response returned by the typed `coinbase_sign` endpoint. */
5131
5261
  CoinbaseSignResponse: {
5132
5262
  /** @description Optional policy evaluation tree. */
5133
- policy_eval_tree?: unknown;
5263
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
5134
5264
  } & {
5135
5265
  /**
5136
5266
  * @description The signed JWT, ready to be sent in `Authorization: Bearer <jwt>` to
@@ -5196,6 +5326,11 @@ export interface components {
5196
5326
  [key: string]: number;
5197
5327
  };
5198
5328
  };
5329
+ /** @description Evaluation of a single if-then-else conditional. */
5330
+ Conditional: {
5331
+ if: components["schemas"]["PolicyEvalTree"];
5332
+ then?: components["schemas"]["PolicyEvalTree"] | null;
5333
+ };
5199
5334
  ConfigureEmailRequest: {
5200
5335
  auth: {
5201
5336
  smtp: string;
@@ -5289,6 +5424,11 @@ export interface components {
5289
5424
  */
5290
5425
  ContactLabel: "cubist:erc20_token" | "cubist:spl_token";
5291
5426
  CreateAndUpdateKeyProperties: {
5427
+ /**
5428
+ * @description Set this key's access-control entries.
5429
+ * For an existing key, this overwrites the current acl, if any.
5430
+ */
5431
+ acl?: unknown;
5292
5432
  edit_policy?: components["schemas"]["EditPolicy"] | null;
5293
5433
  /**
5294
5434
  * @description Set this key's metadata. If this value is `null`, the metadata is erased. If the field is
@@ -5524,7 +5664,7 @@ export interface components {
5524
5664
  */
5525
5665
  scopes?: components["schemas"]["Scope"][] | null;
5526
5666
  };
5527
- /** @description Parameters for the [`cs_createTransaction`](RpcMethod::CreateTransaction) method. */
5667
+ /** @description Parameters for the [`cs_transactionCreate`](RpcMethod::CreateTransaction) method. */
5528
5668
  CreateTransactionRequest: {
5529
5669
  type: "CreateTransactionRequest";
5530
5670
  } & Omit<components["schemas"]["CreateEvmTransactionRequest"], "type"> & {
@@ -5544,27 +5684,32 @@ export interface components {
5544
5684
  CsRpc:
5545
5685
  | {
5546
5686
  /** @enum {string} */
5547
- method: "cs_createTransaction";
5687
+ method: "cs_transactionCreate";
5548
5688
  params: components["schemas"]["CreateTransactionRequest"];
5549
5689
  }
5550
5690
  | {
5551
5691
  /** @enum {string} */
5552
- method: "cs_retryTransaction";
5692
+ method: "cs_transactionRetry";
5553
5693
  params: components["schemas"]["RetryTransactionRequest"];
5554
5694
  }
5555
5695
  | {
5556
5696
  /** @enum {string} */
5557
- method: "cs_cancelTransaction";
5697
+ method: "cs_transactionCancel";
5558
5698
  params: components["schemas"]["CancelTransactionRequest"];
5559
5699
  }
5560
5700
  | {
5561
5701
  /** @enum {string} */
5562
- method: "cs_getTransaction";
5702
+ method: "cs_transactionDelete";
5703
+ params: components["schemas"]["DeleteTransactionRequest"];
5704
+ }
5705
+ | {
5706
+ /** @enum {string} */
5707
+ method: "cs_transactionGet";
5563
5708
  params: components["schemas"]["GetTransactionRequest"];
5564
5709
  }
5565
5710
  | {
5566
5711
  /** @enum {string} */
5567
- method: "cs_listTransactions";
5712
+ method: "cs_transactionList";
5568
5713
  params: components["schemas"]["ListTransactionsRequest"];
5569
5714
  }
5570
5715
  | {
@@ -5604,6 +5749,22 @@ export interface components {
5604
5749
  /** @description Custom EVM chains. */
5605
5750
  evm: components["schemas"]["EvmCustomChain"][];
5606
5751
  };
5752
+ /** @description Parameters for the [`cs_transactionDelete`](RpcMethod::DeleteTransaction) method. */
5753
+ DeleteTransactionRequest: {
5754
+ /**
5755
+ * @description Whether to force the deletion.
5756
+ *
5757
+ * Transactions that are not "submitted" or "canceled" will not be deleted unless
5758
+ * this is true.
5759
+ *
5760
+ * **Note:** force deleting a pending transaction may prevent follow-up transactions
5761
+ * from succeeding, and require manual intervention (e.g. specifying the key nonce).
5762
+ * We strongly advise canceling the transaction first.
5763
+ */
5764
+ force?: boolean | null;
5765
+ /** @description The transaction id. */
5766
+ id: string;
5767
+ };
5607
5768
  /** @description One deposit entry in [`DepositHistoryResponse`]. */
5608
5769
  DepositHistoryEntry: {
5609
5770
  /** @description Destination address the deposit was sent to. */
@@ -5902,7 +6063,7 @@ export interface components {
5902
6063
  }
5903
6064
  ) & {
5904
6065
  /** @description Optional policy evaluation tree. */
5905
- policy_eval_tree?: unknown;
6066
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
5906
6067
  } & Record<string, never>;
5907
6068
  /**
5908
6069
  * @description A policy which governs when and who is allowed to update the entity this policy is
@@ -6229,7 +6390,7 @@ export interface components {
6229
6390
  /** @description Response generated when creating EOTS nonces */
6230
6391
  EotsCreateNonceResponse: {
6231
6392
  /** @description Optional policy evaluation tree. */
6232
- policy_eval_tree?: unknown;
6393
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
6233
6394
  } & {
6234
6395
  /**
6235
6396
  * @description The generated nonces as an array of 0x-prefixed hex strings
@@ -6307,7 +6468,7 @@ export interface components {
6307
6468
  /** @description Error message */
6308
6469
  message: string;
6309
6470
  /** @description Optional policy evaluation tree (included in signer responses, when requested) */
6310
- policy_eval_tree?: unknown;
6471
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
6311
6472
  /** @description Optional request identifier */
6312
6473
  request_id?: string;
6313
6474
  };
@@ -6375,7 +6536,7 @@ export interface components {
6375
6536
  };
6376
6537
  Eth1SignResponse: {
6377
6538
  /** @description Optional policy evaluation tree. */
6378
- policy_eval_tree?: unknown;
6539
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
6379
6540
  } & {
6380
6541
  /**
6381
6542
  * @description Hex-encoded RLP encoding of the transaction and its signature
@@ -6431,6 +6592,11 @@ export interface components {
6431
6592
  eth2_sign_request: Record<string, never>;
6432
6593
  network: components["schemas"]["Network"];
6433
6594
  };
6595
+ /**
6596
+ * @description Auto-generated discriminant enum variants
6597
+ * @enum {string}
6598
+ */
6599
+ EvalOutcome: "Permitted" | "Inapplicable" | "Denied" | "MfaRequired";
6434
6600
  /**
6435
6601
  * @description Representation of an event. This type is used to serialize events to CloudWatch Logs and to
6436
6602
  * deserialize them when analyzing the logs.
@@ -6651,6 +6817,7 @@ export interface components {
6651
6817
  | "sign:binance:listSubAccounts"
6652
6818
  | "sign:binance:coinInfo"
6653
6819
  | "sign:binance:subAccountDepositAddress"
6820
+ | "sign:binance:subAccountDepositHistory"
6654
6821
  | "sign:bybit:*"
6655
6822
  | "sign:bybit:queryUser"
6656
6823
  | "sign:bybit:querySubMembers"
@@ -6661,6 +6828,7 @@ export interface components {
6661
6828
  | "sign:bybit:withdrawals"
6662
6829
  | "sign:bybit:queryCoinInfo"
6663
6830
  | "sign:bybit:depositHistory"
6831
+ | "sign:bybit:subDepositHistory"
6664
6832
  | "sign:bybit:universalTransferHistory"
6665
6833
  | "sign:bybit:queryWithdrawAddress"
6666
6834
  | "sign:bybit:querySubDepositAddress"
@@ -6742,6 +6910,7 @@ export interface components {
6742
6910
  | "manage:key:update:*"
6743
6911
  | "manage:key:update:owner"
6744
6912
  | "manage:key:update:policy"
6913
+ | "manage:key:update:acl"
6745
6914
  | "manage:key:update:enabled"
6746
6915
  | "manage:key:update:region"
6747
6916
  | "manage:key:update:metadata"
@@ -6897,12 +7066,14 @@ export interface components {
6897
7066
  | "orgAccess:*"
6898
7067
  | "orgAccess:child:*"
6899
7068
  | "rpc:*"
6900
- | "rpc:createTransaction:*"
6901
- | "rpc:createTransaction:evm"
6902
- | "rpc:retryTransaction"
6903
- | "rpc:cancelTransaction"
6904
- | "rpc:getTransaction"
6905
- | "rpc:listTransactions"
7069
+ | "rpc:transaction:*"
7070
+ | "rpc:transaction:create:*"
7071
+ | "rpc:transaction:create:evm"
7072
+ | "rpc:transaction:retry"
7073
+ | "rpc:transaction:cancel"
7074
+ | "rpc:transaction:delete"
7075
+ | "rpc:transaction:get"
7076
+ | "rpc:transaction:list"
6906
7077
  | "rpc:btcListUtxos"
6907
7078
  | "rpc:binance"
6908
7079
  | "rpc:bybit"
@@ -7137,7 +7308,7 @@ export interface components {
7137
7308
  GetKeysInOrgRequest: {
7138
7309
  key_type?: components["schemas"]["KeyType"] | null;
7139
7310
  };
7140
- /** @description Parameters for the [`cs_getTransaction`](RpcMethod::GetTransaction) method. */
7311
+ /** @description Parameters for the [`cs_transactionGet`](RpcMethod::GetTransaction) method. */
7141
7312
  GetTransactionRequest: {
7142
7313
  id: components["schemas"]["Id"];
7143
7314
  };
@@ -7614,7 +7785,7 @@ export interface components {
7614
7785
  };
7615
7786
  /** @description Valid `result` from the JSON-RPC API. */
7616
7787
  JsonRpcResult:
7617
- | components["schemas"]["TransactionInfo"]
7788
+ | components["schemas"]["RpcTransactionInfo"]
7618
7789
  | components["schemas"]["ListTransactionsPaginatedResponse"]
7619
7790
  | components["schemas"]["SubAccountTransferResponse"]
7620
7791
  | components["schemas"]["UniversalTransferResponse"]
@@ -7714,6 +7885,20 @@ export interface components {
7714
7885
  role_id: string;
7715
7886
  };
7716
7887
  KeyInfo: components["schemas"]["CommonFields"] & {
7888
+ /**
7889
+ * @description Key access-control entries
7890
+ * @example [
7891
+ * {
7892
+ * "actions": [
7893
+ * "manage:key:properties"
7894
+ * ],
7895
+ * "subjects": [
7896
+ * "User#c3b9379c-4e8c-4216-bd0a-65ace53cf98f"
7897
+ * ]
7898
+ * }
7899
+ * ]
7900
+ */
7901
+ acl?: unknown[] | null;
7717
7902
  derivation_info?: components["schemas"]["KeyDerivationInfo"] | null;
7718
7903
  /** @description Whether the key is enabled (only enabled keys may be used for signing) */
7719
7904
  enabled: boolean;
@@ -7874,6 +8059,44 @@ export interface components {
7874
8059
  * so that they can pass this back to us as a url query parameter.
7875
8060
  */
7876
8061
  LastEvalKey: string;
8062
+ /**
8063
+ * @description The base policy evaluation result associated with a [leaf][PolicyEvalTree::Leaf] node.
8064
+ *
8065
+ * This type is very similar to [BasePolicyEvalResult], except that it contains only the
8066
+ * information we want to include in the evaluation tree that we send back to the client.
8067
+ */
8068
+ LeafNodeResult: OneOf<
8069
+ [
8070
+ {
8071
+ evidence: components["schemas"]["PermitEvidence"];
8072
+ /** @enum {string} */
8073
+ outcome: "Permitted";
8074
+ },
8075
+ {
8076
+ op: components["schemas"]["OperationKind"];
8077
+ /** @enum {string} */
8078
+ outcome: "Inapplicable";
8079
+ },
8080
+ {
8081
+ error_code: components["schemas"]["PolicyErrorCode"];
8082
+ message: string;
8083
+ /** @description Additional structured details about the denial */
8084
+ more_info?: unknown;
8085
+ /** @enum {string} */
8086
+ outcome: "Denied";
8087
+ },
8088
+ {
8089
+ /** @enum {string} */
8090
+ outcome: "MfaRequired";
8091
+ },
8092
+ ]
8093
+ >;
8094
+ /** @description Properties of a [PolicyEvalTree::Leaf] node. */
8095
+ LeafProps: components["schemas"]["LeafNodeResult"] & {
8096
+ provenance: components["schemas"]["PolicyAttachedTo"];
8097
+ /** @description The leaf rule that was evaluated */
8098
+ rule: unknown;
8099
+ };
7877
8100
  /**
7878
8101
  * @description Parameters for `cs_coinbaseListAccounts`.
7879
8102
  *
@@ -7962,7 +8185,7 @@ export interface components {
7962
8185
  */
7963
8186
  ListTransactionsPaginatedResponse: {
7964
8187
  /** @description A list of transaction infos. */
7965
- transactions: components["schemas"]["TransactionInfo"][];
8188
+ transactions: components["schemas"]["RpcTransactionInfo"][];
7966
8189
  } & {
7967
8190
  /**
7968
8191
  * @description If set, the content of `response` does not contain the entire result set.
@@ -7971,7 +8194,7 @@ export interface components {
7971
8194
  */
7972
8195
  last_evaluated_key?: string | null;
7973
8196
  };
7974
- /** @description Parameters for the [`cs_listTransactions`](RpcMethod::ListTransactions) method. */
8197
+ /** @description Parameters for the [`cs_transactionList`](RpcMethod::ListTransactions) method. */
7975
8198
  ListTransactionsRequest: components["schemas"]["Page"] & {
7976
8199
  /**
7977
8200
  * @description Optional user or role id.
@@ -7980,10 +8203,10 @@ export interface components {
7980
8203
  */
7981
8204
  owner?: string | null;
7982
8205
  };
7983
- /** @description The response to [`cs_listTransactions`](super::request::CsRpc::ListTransactions) */
8206
+ /** @description The response to [`cs_transactionList`](super::request::CsRpc::ListTransactions) */
7984
8207
  ListTransactionsResponse: {
7985
8208
  /** @description A list of transaction infos. */
7986
- transactions: components["schemas"]["TransactionInfo"][];
8209
+ transactions: components["schemas"]["RpcTransactionInfo"][];
7987
8210
  };
7988
8211
  LoginRequest: components["schemas"]["OidcLoginRequest"];
7989
8212
  /**
@@ -8085,7 +8308,7 @@ export interface components {
8085
8308
  /** @description Organization id */
8086
8309
  org_id: string;
8087
8310
  /** @description Optional policy evaluation tree (included in signer responses, when requested) */
8088
- policy_eval_tree?: unknown;
8311
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
8089
8312
  session?: components["schemas"]["NewSessionResponse"] | null;
8090
8313
  };
8091
8314
  /** @description Org-wide MFA requirements. */
@@ -8366,6 +8589,7 @@ export interface components {
8366
8589
  | "BinanceListSubAccounts"
8367
8590
  | "BinanceCoinInfo"
8368
8591
  | "BinanceSubAccountDepositAddress"
8592
+ | "BinanceSubAccountDepositHistory"
8369
8593
  | "BlobSign"
8370
8594
  | "BtcMessageSign"
8371
8595
  | "BtcSign"
@@ -8378,6 +8602,7 @@ export interface components {
8378
8602
  | "BybitWithdrawals"
8379
8603
  | "BybitQueryCoinInfo"
8380
8604
  | "BybitDepositHistory"
8605
+ | "BybitSubDepositHistory"
8381
8606
  | "BybitUniversalTransferHistory"
8382
8607
  | "BybitQueryWithdrawAddress"
8383
8608
  | "BybitQuerySubDepositAddress"
@@ -9297,6 +9522,192 @@ export interface components {
9297
9522
  message_tx?: components["schemas"]["TypedTransaction"] | null;
9298
9523
  }) &
9299
9524
  Record<string, never>;
9525
+ /** @description Different kinds of evidence policy checkers can return to support their decision. */
9526
+ PermitEvidence:
9527
+ | {
9528
+ /** @enum {string} */
9529
+ kind: "ExplicitlyPermitted";
9530
+ /** @description Optional message */
9531
+ message?: string | null;
9532
+ }
9533
+ | {
9534
+ approvals: {
9535
+ [key: string]: {
9536
+ [key: string]: components["schemas"]["ApprovalInfo"];
9537
+ };
9538
+ };
9539
+ /** @enum {string} */
9540
+ kind: "MfaApproved";
9541
+ policy: components["schemas"]["MfaPolicy"];
9542
+ }
9543
+ | {
9544
+ /** @enum {string} */
9545
+ kind: "BabylonStaking";
9546
+ }
9547
+ | {
9548
+ /** @enum {string} */
9549
+ kind: "BtcReceivers";
9550
+ /** @description The actual receivers of a Bitcoin transaction */
9551
+ receivers: string[];
9552
+ }
9553
+ | {
9554
+ /** @enum {string} */
9555
+ kind: "BtcValueLimit";
9556
+ /**
9557
+ * Format: int64
9558
+ * @description The new total (in SAT), including the current transaction
9559
+ */
9560
+ new_total: number;
9561
+ /**
9562
+ * Format: int64
9563
+ * @description The limit (in SAT) specified by the policy
9564
+ */
9565
+ policy_limit: number;
9566
+ }
9567
+ | {
9568
+ /**
9569
+ * Format: int64
9570
+ * @description Actual EVM chain
9571
+ */
9572
+ chain_id: number;
9573
+ /** @enum {string} */
9574
+ kind: "EvmChainDoesNotApply";
9575
+ }
9576
+ | {
9577
+ /** @enum {string} */
9578
+ kind: "EvmTransferOnly";
9579
+ }
9580
+ | {
9581
+ /** @enum {string} */
9582
+ kind: "EvmNotErc20";
9583
+ }
9584
+ | {
9585
+ /** @enum {string} */
9586
+ kind: "EvmErc20";
9587
+ }
9588
+ | {
9589
+ /** @description The address of the contract being called */
9590
+ address?: string | null;
9591
+ /** @description The name of the contract method being called */
9592
+ function: string;
9593
+ /** @enum {string} */
9594
+ kind: "EvmContractCall";
9595
+ }
9596
+ | {
9597
+ /** @description The arguments of the contract method being called */
9598
+ args: string[][];
9599
+ /** @description The name of the contract method being called */
9600
+ function: string;
9601
+ /** @enum {string} */
9602
+ kind: "EvmAbiConstrainedFunction";
9603
+ }
9604
+ | {
9605
+ /** @enum {string} */
9606
+ kind: "EvmGasCostLimit";
9607
+ /** @description The policy gas cost limit (in WEI) */
9608
+ policy_gas_cost_limit: string;
9609
+ /** @description The transaction max gas cost (in WEI) */
9610
+ tx_max_gas_cost: string;
9611
+ }
9612
+ | {
9613
+ /** @enum {string} */
9614
+ kind: "EvmValueLimit";
9615
+ /** @description The new total (in WEI), including the current transaction */
9616
+ new_total: string;
9617
+ /** @description The limit (in WEI) specified by the policy */
9618
+ policy_limit: string;
9619
+ }
9620
+ | {
9621
+ /** @enum {string} */
9622
+ kind: "EvmDeposit";
9623
+ /** @description The details of the deposit transaction */
9624
+ spec: Record<string, never>;
9625
+ }
9626
+ | {
9627
+ /** @enum {string} */
9628
+ kind: "EvmReceiver";
9629
+ /** @description The actual receiver of an EVM transaction */
9630
+ receiver?: string | null;
9631
+ }
9632
+ | {
9633
+ /** @description The actual chain id of an EVM transaction or EIP-7702 authorization request */
9634
+ chain_id: string;
9635
+ /** @enum {string} */
9636
+ kind: "EvmChainId";
9637
+ }
9638
+ | {
9639
+ /** @description The contract address EIP-7702 delegates authorization to */
9640
+ address: string;
9641
+ /** @enum {string} */
9642
+ kind: "Eip7702DelegationTarget";
9643
+ }
9644
+ | {
9645
+ /** @enum {string} */
9646
+ kind: "RoleSession";
9647
+ /** @description The session identity role */
9648
+ role_id: string;
9649
+ }
9650
+ | {
9651
+ /** @enum {string} */
9652
+ kind: "SolanaTx";
9653
+ }
9654
+ | {
9655
+ /** @description Actual Sui receivers */
9656
+ actual_receivers: string[];
9657
+ /** @enum {string} */
9658
+ kind: "SuiReceivers";
9659
+ }
9660
+ | (components["schemas"]["SourceIp"] & {
9661
+ /** @enum {string} */
9662
+ kind: "SourceIpAllowlisted";
9663
+ })
9664
+ | {
9665
+ /** @enum {string} */
9666
+ kind: "CelPolicyMatched";
9667
+ /** @description The CEL program that was evaluated */
9668
+ program: string;
9669
+ }
9670
+ | {
9671
+ /** @enum {string} */
9672
+ kind: "OperationAllowlisted";
9673
+ operation: components["schemas"]["OperationKind"];
9674
+ }
9675
+ | {
9676
+ /** @enum {string} */
9677
+ kind: "TaprootValueLimit";
9678
+ /**
9679
+ * Format: int64
9680
+ * @description The limit (in SAT) specified by the policy
9681
+ */
9682
+ policy_limit: number;
9683
+ /**
9684
+ * Format: int64
9685
+ * @description The transaction value (in SAT)
9686
+ */
9687
+ transaction_value: number;
9688
+ }
9689
+ | {
9690
+ /** @description The size (in bytes) of the full stderr */
9691
+ full_stderr_length: number;
9692
+ /** @description The size (in bytes) of the full stdout */
9693
+ full_stdout_length: number;
9694
+ /** @enum {string} */
9695
+ kind: "WasmResult";
9696
+ /** @description Standard error of the wasm policy execution, truncated to 1024 bytes */
9697
+ stderr: string;
9698
+ /** @description Standard output of the wasm policy execution, truncated to 1024 bytes */
9699
+ stdout: string;
9700
+ }
9701
+ | (components["schemas"]["CallWebhookResult"] & {
9702
+ /** @enum {string} */
9703
+ kind: "WebhookResult";
9704
+ })
9705
+ | {
9706
+ current_time: components["schemas"]["EpochDateTime"];
9707
+ /** @enum {string} */
9708
+ kind: "TimeLockExpired";
9709
+ lock_until: components["schemas"]["EpochDateTime"];
9710
+ };
9300
9711
  /**
9301
9712
  * @description The access-controlled actions that can be performed on a named policy.
9302
9713
  * @enum {string}
@@ -9318,6 +9729,11 @@ export interface components {
9318
9729
  | "attach"
9319
9730
  | "sign"
9320
9731
  | "invoke";
9732
+ /**
9733
+ * @description MFA policy provenance
9734
+ * @enum {string}
9735
+ */
9736
+ PolicyAttachedTo: "Org" | "Key" | "KeyInRole" | "Role" | "User" | "EditPolicy";
9321
9737
  /** @description The id for attaching a named policy to a key, role, or key in role. */
9322
9738
  PolicyAttachedToId: OneOf<
9323
9739
  [
@@ -9453,6 +9869,51 @@ export interface components {
9453
9869
  | "DeniedByWebhook"
9454
9870
  | "MfaApprovalsNotYetValid"
9455
9871
  | "ExplicitlyDenied";
9872
+ /** @description Evaluation tree for a policy rule. */
9873
+ PolicyEvalTree:
9874
+ | {
9875
+ Leaf: components["schemas"]["LeafProps"];
9876
+ }
9877
+ | {
9878
+ /** @description Evaluation of a negation (i.e., [Deny::Not]) */
9879
+ Not: {
9880
+ child: components["schemas"]["PolicyEvalTree"];
9881
+ outcome: components["schemas"]["EvalOutcome"];
9882
+ };
9883
+ }
9884
+ | {
9885
+ /** @description Evaluation of a [Deny::IfThenElse] policy */
9886
+ IfThenElse: {
9887
+ /** @description Evaluated conditionals */
9888
+ children: components["schemas"]["Conditional"][];
9889
+ else?: components["schemas"]["PolicyEvalTree"] | null;
9890
+ outcome: components["schemas"]["EvalOutcome"];
9891
+ };
9892
+ }
9893
+ | {
9894
+ /** @description Evaluation of a list of policy rules */
9895
+ Concat: {
9896
+ /** @description Evaluation trees of each evaluated policy */
9897
+ children: components["schemas"]["PolicyEvalTree"][];
9898
+ outcome: components["schemas"]["EvalOutcome"];
9899
+ };
9900
+ }
9901
+ | {
9902
+ /** @description Evaluation of a conjunction (i.e., [Deny::And]). */
9903
+ And: {
9904
+ /** @description Evaluation trees of each evaluated conjunct */
9905
+ children: components["schemas"]["PolicyEvalTree"][];
9906
+ outcome: components["schemas"]["EvalOutcome"];
9907
+ };
9908
+ }
9909
+ | {
9910
+ /** @description Evaluation of a disjunction (i.e., [Deny::Or]). */
9911
+ Or: {
9912
+ /** @description Evaluation trees of each evaluated disjunct */
9913
+ children: components["schemas"]["PolicyEvalTree"][];
9914
+ outcome: components["schemas"]["EvalOutcome"];
9915
+ };
9916
+ };
9456
9917
  /** @description A struct containing all the information about a specific version of a policy. */
9457
9918
  PolicyInfo: {
9458
9919
  /** @description The access-control entries for the policy. */
@@ -9614,7 +10075,7 @@ export interface components {
9614
10075
  /** @description Response to a PSBT signing request */
9615
10076
  PsbtSignResponse: {
9616
10077
  /** @description Optional policy evaluation tree. */
9617
- policy_eval_tree?: unknown;
10078
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
9618
10079
  } & {
9619
10080
  /**
9620
10081
  * @description The PSBT in standard hex serialization, without leading "0x".
@@ -10122,7 +10583,7 @@ export interface components {
10122
10583
  RestrictedActionsMap: {
10123
10584
  [key: string]: components["schemas"]["MemberRole"][];
10124
10585
  };
10125
- /** @description Parameters for the [`cs_retryTransaction`](RpcMethod::RetryTransaction) method. */
10586
+ /** @description Parameters for the [`cs_transactionRetry`](RpcMethod::RetryTransaction) method. */
10126
10587
  RetryTransactionRequest: components["schemas"]["EvmTxCustomization"] & {
10127
10588
  /** @description The transaction id. */
10128
10589
  id: string;
@@ -10220,6 +10681,44 @@ export interface components {
10220
10681
  | components["schemas"]["BinanceRpc"]
10221
10682
  | components["schemas"]["BybitRpc"]
10222
10683
  | components["schemas"]["CoinbaseRpc"];
10684
+ /** @description A transaction created by the RPC API. */
10685
+ RpcTransaction: {
10686
+ status: "RpcTransaction";
10687
+ } & Omit<components["schemas"]["RpcTxStatus"], "status"> &
10688
+ Omit<components["schemas"]["TransactionDetails"], "chain"> &
10689
+ components["schemas"]["VersioningFields"] & {
10690
+ /** @description The session identity that created the transaction. */
10691
+ owner: string;
10692
+ };
10693
+ /** @description Information about an existing transaction created by the RPC API. */
10694
+ RpcTransactionInfo: components["schemas"]["RpcTransaction"] & {
10695
+ /** @description The transaction id. */
10696
+ id: string;
10697
+ };
10698
+ /** @description The status of the transaction. */
10699
+ RpcTxStatus:
10700
+ | {
10701
+ mfa_ids: string[];
10702
+ /** @enum {string} */
10703
+ status: "MfaRequired";
10704
+ }
10705
+ | {
10706
+ /** @enum {string} */
10707
+ status: "Signed";
10708
+ }
10709
+ | {
10710
+ /** @enum {string} */
10711
+ status: "Submitted";
10712
+ }
10713
+ | {
10714
+ /** @enum {string} */
10715
+ status: "Canceled";
10716
+ }
10717
+ | {
10718
+ error: components["schemas"]["ErrorObj"];
10719
+ /** @enum {string} */
10720
+ status: "Failed";
10721
+ };
10223
10722
  /** @description All scopes for accessing CubeSigner APIs */
10224
10723
  Scope: components["schemas"]["ExplicitScope"] | string;
10225
10724
  /** @description A set of scopes. */
@@ -10392,7 +10891,7 @@ export interface components {
10392
10891
  /** @description Whether MFA is required */
10393
10892
  mfa_requests: components["schemas"]["MfaRequestInfo"][];
10394
10893
  /** @description Optional policy evaluation tree, if requested */
10395
- policy_eval_tree?: unknown;
10894
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
10396
10895
  };
10397
10896
  /**
10398
10897
  * @description The structured input to a Sign-In With Solana request (`SolanaSignInInput` in the spec).
@@ -10427,7 +10926,7 @@ export interface components {
10427
10926
  };
10428
10927
  SignResponse: {
10429
10928
  /** @description Optional policy evaluation tree. */
10430
- policy_eval_tree?: unknown;
10929
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
10431
10930
  } & {
10432
10931
  /** @description The hex-encoded resulting signature. */
10433
10932
  signature: string;
@@ -10694,7 +11193,7 @@ export interface components {
10694
11193
  };
10695
11194
  StakeResponse: ({
10696
11195
  /** @description Optional policy evaluation tree. */
10697
- policy_eval_tree?: unknown;
11196
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
10698
11197
  } & {
10699
11198
  deposit_tx: components["schemas"]["DepositTxn"];
10700
11199
  }) & {
@@ -10826,6 +11325,52 @@ export interface components {
10826
11325
  /** @description Blockchain explorer URL for `address`. */
10827
11326
  url?: string | null;
10828
11327
  };
11328
+ /**
11329
+ * @description Parameters for `GET /sapi/v1/capital/deposit/subHisrec`.
11330
+ *
11331
+ * Master-account keys only; use [`DepositHistoryRequest`] for the calling
11332
+ * account's own deposits.
11333
+ */
11334
+ SubAccountDepositHistoryRequest: {
11335
+ /** @description Filter to a specific asset (e.g. `"USDT"`, `"BTC"`). */
11336
+ coin?: string | null;
11337
+ /**
11338
+ * @description Email of the sub-account whose deposit history to fetch. Binance
11339
+ * requires this, so there is no "calling account" fallback here.
11340
+ */
11341
+ email: string;
11342
+ /**
11343
+ * Format: int64
11344
+ * @description Window end (ms since epoch).
11345
+ */
11346
+ endTime?: number | null;
11347
+ /**
11348
+ * Format: int32
11349
+ * @description Page size (Binance max: 200). Note that Binance defaults this to `1`,
11350
+ * not to a full page, so callers should always set it.
11351
+ */
11352
+ limit?: number | null;
11353
+ /**
11354
+ * Format: int32
11355
+ * @description Pagination offset (Binance default: 0).
11356
+ */
11357
+ offset?: number | null;
11358
+ /**
11359
+ * Format: int64
11360
+ * @description Window start (ms since epoch). Binance returns the most recent 90 days
11361
+ * when this and `end_time` are both omitted.
11362
+ */
11363
+ startTime?: number | null;
11364
+ /**
11365
+ * Format: int32
11366
+ * @description Filter by deposit status. Binance values: `0` = pending, `6` = credited
11367
+ * but cannot withdraw, `7` = wrong deposit, `8` = waiting user confirm,
11368
+ * `1` = success. Left as `u8` for forward compatibility.
11369
+ */
11370
+ status?: number | null;
11371
+ /** @description Look up a specific deposit by its on-chain transaction hash. */
11372
+ txId?: string | null;
11373
+ };
10829
11374
  /** @description One sub-account entry in [`ListSubAccountsResponse`]. */
10830
11375
  SubAccountInfo: {
10831
11376
  /**
@@ -11204,11 +11749,6 @@ export interface components {
11204
11749
  /** @enum {string} */
11205
11750
  chain: "Evm";
11206
11751
  };
11207
- /** @description Information about an existing transaction created by the RPC API. */
11208
- TransactionInfo: components["schemas"]["Transaction"] & {
11209
- /** @description The transaction id. */
11210
- id: string;
11211
- };
11212
11752
  /**
11213
11753
  * @description Supported queries
11214
11754
  * @enum {string}
@@ -11555,7 +12095,7 @@ export interface components {
11555
12095
  signature: string;
11556
12096
  } & {
11557
12097
  /** @description Optional policy evaluation tree. */
11558
- policy_eval_tree?: unknown;
12098
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
11559
12099
  } & Record<string, never>;
11560
12100
  /** @description The information needed to update a bucket. */
11561
12101
  UpdateBucketRequest: {
@@ -12184,6 +12724,19 @@ export interface components {
12184
12724
  */
12185
12725
  updated_at: number;
12186
12726
  };
12727
+ /**
12728
+ * @description Versioning fields (e.g., version number, creation time, and last modified times)
12729
+ * that are common to different types of resources.
12730
+ */
12731
+ VersioningFields: {
12732
+ created?: components["schemas"]["EpochDateTime"] | null;
12733
+ last_modified?: components["schemas"]["EpochDateTime"] | null;
12734
+ /**
12735
+ * Format: int64
12736
+ * @description Version of this object
12737
+ */
12738
+ version?: number;
12739
+ };
12187
12740
  /**
12188
12741
  * @description An exit voluntarily submitted a validator who wishes to withdraw.
12189
12742
  * The schema for this message is defined
@@ -12465,7 +13018,7 @@ export interface components {
12465
13018
  content: {
12466
13019
  "application/json": {
12467
13020
  /** @description Optional policy evaluation tree. */
12468
- policy_eval_tree?: unknown;
13021
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
12469
13022
  } & {
12470
13023
  /**
12471
13024
  * @description The slash-unbonding transaction signatures as an array of hex strings with no 0x prefix
@@ -12501,7 +13054,7 @@ export interface components {
12501
13054
  content: {
12502
13055
  "application/json": {
12503
13056
  /** @description Optional policy evaluation tree. */
12504
- policy_eval_tree?: unknown;
13057
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
12505
13058
  } & {
12506
13059
  /**
12507
13060
  * @description The Babylon address that will receive the staking rewards for this deposit.
@@ -12551,7 +13104,7 @@ export interface components {
12551
13104
  content: {
12552
13105
  "application/json": {
12553
13106
  /** @description Optional policy evaluation tree. */
12554
- policy_eval_tree?: unknown;
13107
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
12555
13108
  } & {
12556
13109
  /**
12557
13110
  * Format: int64
@@ -12572,7 +13125,7 @@ export interface components {
12572
13125
  content: {
12573
13126
  "application/json": {
12574
13127
  /** @description Optional policy evaluation tree. */
12575
- policy_eval_tree?: unknown;
13128
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
12576
13129
  } & {
12577
13130
  /**
12578
13131
  * @description The full signed query string, ready to be submitted to Binance.
@@ -12587,7 +13140,7 @@ export interface components {
12587
13140
  content: {
12588
13141
  "application/json": {
12589
13142
  /** @description Optional policy evaluation tree. */
12590
- policy_eval_tree?: unknown;
13143
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
12591
13144
  } & {
12592
13145
  /** @description The base64-encoded signature in BIP137 format. */
12593
13146
  sig: string;
@@ -12623,7 +13176,7 @@ export interface components {
12623
13176
  content: {
12624
13177
  "application/json": {
12625
13178
  /** @description Optional policy evaluation tree. */
12626
- policy_eval_tree?: unknown;
13179
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
12627
13180
  } & {
12628
13181
  /**
12629
13182
  * @description The Bybit-bound payload (URL-encoded query for GET, JSON body for
@@ -12655,7 +13208,7 @@ export interface components {
12655
13208
  content: {
12656
13209
  "application/json": {
12657
13210
  /** @description Optional policy evaluation tree. */
12658
- policy_eval_tree?: unknown;
13211
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
12659
13212
  } & {
12660
13213
  /**
12661
13214
  * @description The signed JWT, ready to be sent in `Authorization: Bearer <jwt>` to
@@ -12794,7 +13347,7 @@ export interface components {
12794
13347
  }
12795
13348
  ) & {
12796
13349
  /** @description Optional policy evaluation tree. */
12797
- policy_eval_tree?: unknown;
13350
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
12798
13351
  } & Record<string, never>;
12799
13352
  };
12800
13353
  };
@@ -12828,7 +13381,7 @@ export interface components {
12828
13381
  content: {
12829
13382
  "application/json": {
12830
13383
  /** @description Optional policy evaluation tree. */
12831
- policy_eval_tree?: unknown;
13384
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
12832
13385
  } & {
12833
13386
  /**
12834
13387
  * @description The generated nonces as an array of 0x-prefixed hex strings
@@ -12851,7 +13404,7 @@ export interface components {
12851
13404
  content: {
12852
13405
  "application/json": {
12853
13406
  /** @description Optional policy evaluation tree. */
12854
- policy_eval_tree?: unknown;
13407
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
12855
13408
  } & {
12856
13409
  /**
12857
13410
  * @description Hex-encoded RLP encoding of the transaction and its signature
@@ -13066,6 +13619,20 @@ export interface components {
13066
13619
  KeyInfo: {
13067
13620
  content: {
13068
13621
  "application/json": components["schemas"]["CommonFields"] & {
13622
+ /**
13623
+ * @description Key access-control entries
13624
+ * @example [
13625
+ * {
13626
+ * "actions": [
13627
+ * "manage:key:properties"
13628
+ * ],
13629
+ * "subjects": [
13630
+ * "User#c3b9379c-4e8c-4216-bd0a-65ace53cf98f"
13631
+ * ]
13632
+ * }
13633
+ * ]
13634
+ */
13635
+ acl?: unknown[] | null;
13069
13636
  derivation_info?: components["schemas"]["KeyDerivationInfo"] | null;
13070
13637
  /** @description Whether the key is enabled (only enabled keys may be used for signing) */
13071
13638
  enabled: boolean;
@@ -13792,7 +14359,7 @@ export interface components {
13792
14359
  content: {
13793
14360
  "application/json": {
13794
14361
  /** @description Optional policy evaluation tree. */
13795
- policy_eval_tree?: unknown;
14362
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
13796
14363
  } & {
13797
14364
  /**
13798
14365
  * @description The PSBT in standard hex serialization, without leading "0x".
@@ -13963,7 +14530,7 @@ export interface components {
13963
14530
  content: {
13964
14531
  "application/json": {
13965
14532
  /** @description Optional policy evaluation tree. */
13966
- policy_eval_tree?: unknown;
14533
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
13967
14534
  } & {
13968
14535
  /** @description The hex-encoded resulting signature. */
13969
14536
  signature: string;
@@ -14027,7 +14594,7 @@ export interface components {
14027
14594
  content: {
14028
14595
  "application/json": ({
14029
14596
  /** @description Optional policy evaluation tree. */
14030
- policy_eval_tree?: unknown;
14597
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
14031
14598
  } & {
14032
14599
  deposit_tx: components["schemas"]["DepositTxn"];
14033
14600
  }) & {
@@ -14105,7 +14672,7 @@ export interface components {
14105
14672
  signature: string;
14106
14673
  } & {
14107
14674
  /** @description Optional policy evaluation tree. */
14108
- policy_eval_tree?: unknown;
14675
+ policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
14109
14676
  } & Record<string, never>;
14110
14677
  };
14111
14678
  };