@cubist-labs/cubesigner-sdk 0.4.272 → 0.4.273
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/dist/package.json +1 -1
- package/dist/src/audit_log.d.ts +1 -1
- package/dist/src/org.d.ts.map +1 -1
- package/dist/src/role.d.ts +4 -1
- package/dist/src/role.d.ts.map +1 -1
- package/dist/src/role.js +3 -1
- package/dist/src/schema.d.ts +253 -7
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +1 -1
- package/dist/src/schema_types.d.ts.map +1 -1
- package/dist/src/schema_types.js +4 -1
- package/dist/src/scopes.d.ts.map +1 -1
- package/dist/src/scopes.js +4 -1
- package/package.json +1 -1
- package/src/role.ts +6 -1
- package/src/schema.ts +262 -4
- package/src/schema_types.ts +3 -0
- package/src/scopes.ts +3 -0
package/dist/src/schema.d.ts
CHANGED
|
@@ -3470,6 +3470,41 @@ export interface components {
|
|
|
3470
3470
|
/** @description Total wallet balance for `coin`, as a decimal string. */
|
|
3471
3471
|
walletBalance: string;
|
|
3472
3472
|
};
|
|
3473
|
+
/** @description One entry in [`BybitCoinInfoEntry::chains`]. */
|
|
3474
|
+
BybitCoinInfoChain: {
|
|
3475
|
+
/** @description Short chain code (e.g. `ETH`, `TRX`). */
|
|
3476
|
+
chain: string;
|
|
3477
|
+
/** @description Whether deposits are enabled on this chain: `"0"` off, `"1"` on. */
|
|
3478
|
+
chainDeposit?: string | null;
|
|
3479
|
+
/** @description Human-readable chain name (e.g. `ERC20`). */
|
|
3480
|
+
chainType?: string | null;
|
|
3481
|
+
/** @description Whether withdrawals are enabled on this chain: `"0"` off, `"1"` on. */
|
|
3482
|
+
chainWithdraw?: string | null;
|
|
3483
|
+
/** @description Number of confirmations required for a deposit to be credited. */
|
|
3484
|
+
confirmation?: string | null;
|
|
3485
|
+
/** @description Minimum deposit amount, as a decimal string. */
|
|
3486
|
+
depositMin?: string | null;
|
|
3487
|
+
/** @description Withdrawal fee on this chain, as a decimal string. If empty string, this coin does not support withdrawal. */
|
|
3488
|
+
withdrawFee?: string | null;
|
|
3489
|
+
/** @description Minimum withdrawal amount, as a decimal string. */
|
|
3490
|
+
withdrawMin?: string | null;
|
|
3491
|
+
[key: string]: unknown;
|
|
3492
|
+
};
|
|
3493
|
+
/** @description One entry in [`BybitCoinInfoResponse::rows`]. */
|
|
3494
|
+
BybitCoinInfoEntry: {
|
|
3495
|
+
/** @description Per-chain configuration for this coin. */
|
|
3496
|
+
chains?: components["schemas"]["BybitCoinInfoChain"][];
|
|
3497
|
+
/** @description Coin symbol, uppercase (e.g. `USDT`). */
|
|
3498
|
+
coin: string;
|
|
3499
|
+
/** @description Full coin name (e.g. `Tether`). */
|
|
3500
|
+
name?: string | null;
|
|
3501
|
+
[key: string]: unknown;
|
|
3502
|
+
};
|
|
3503
|
+
/** @description Response of `GET /v5/asset/coin/query-info`. */
|
|
3504
|
+
BybitCoinInfoResponse: {
|
|
3505
|
+
/** @description Per-coin info entries. */
|
|
3506
|
+
rows: components["schemas"]["BybitCoinInfoEntry"][];
|
|
3507
|
+
};
|
|
3473
3508
|
/** @description One entry in [`BybitQueryDepositAddressResponse::chains`]. */
|
|
3474
3509
|
BybitDepositChain: {
|
|
3475
3510
|
/** @description Deposit address on this chain. */
|
|
@@ -3491,6 +3526,93 @@ export interface components {
|
|
|
3491
3526
|
*/
|
|
3492
3527
|
tagDeposit?: string | null;
|
|
3493
3528
|
};
|
|
3529
|
+
/** @description One entry in [`BybitDepositHistoryResponse::rows`]. */
|
|
3530
|
+
BybitDepositEntry: {
|
|
3531
|
+
/** @description Deposit amount as a decimal string. */
|
|
3532
|
+
amount: string;
|
|
3533
|
+
/** @description Short chain code (e.g. `ETH`, `TRX`). */
|
|
3534
|
+
chain: string;
|
|
3535
|
+
/** @description Coin symbol, uppercase (e.g. `USDT`). */
|
|
3536
|
+
coin: string;
|
|
3537
|
+
/** @description Number of confirmations received so far. */
|
|
3538
|
+
confirmations?: string | null;
|
|
3539
|
+
/** @description Deposit fee charged, as a decimal string. */
|
|
3540
|
+
depositFee?: string | null;
|
|
3541
|
+
/**
|
|
3542
|
+
* Format: int32
|
|
3543
|
+
* @description Deposit state (e.g. `3` = deposit success). See the Bybit docs.
|
|
3544
|
+
*/
|
|
3545
|
+
status?: number | null;
|
|
3546
|
+
/** @description Timestamp the deposit succeeded, in milliseconds since epoch (as a string). */
|
|
3547
|
+
successAt?: string | null;
|
|
3548
|
+
/** @description Memo / tag for chains that use one (e.g. XRP, EOS). */
|
|
3549
|
+
tag?: string | null;
|
|
3550
|
+
/** @description Destination deposit address. */
|
|
3551
|
+
toAddress?: string | null;
|
|
3552
|
+
/** @description On-chain transaction hash. */
|
|
3553
|
+
txID?: string | null;
|
|
3554
|
+
[key: string]: unknown;
|
|
3555
|
+
};
|
|
3556
|
+
/**
|
|
3557
|
+
* @description Parameters envelope for all Bybit RPC variants whose payload schema is
|
|
3558
|
+
* derived from a `*Request` struct. (`BybitQueryUserParams` and
|
|
3559
|
+
* `BybitQuerySubMembersParams` have no per-variant payload and are defined
|
|
3560
|
+
* directly below.)
|
|
3561
|
+
*/
|
|
3562
|
+
BybitDepositHistoryParams: components["schemas"]["BybitDepositHistoryRequest"] & {
|
|
3563
|
+
dryRun?: components["schemas"]["BybitDryRunMode"] | null;
|
|
3564
|
+
keyId: components["schemas"]["Id"];
|
|
3565
|
+
/**
|
|
3566
|
+
* Format: int32
|
|
3567
|
+
* @description Optional "receive window", i.e., for how long the request stays valid.
|
|
3568
|
+
* Specified in milliseconds. If omitted, defaults to 10000.
|
|
3569
|
+
*/
|
|
3570
|
+
recvWindow?: number | null;
|
|
3571
|
+
};
|
|
3572
|
+
/**
|
|
3573
|
+
* @description Parameters for `GET /v5/asset/deposit/query-record`.
|
|
3574
|
+
*
|
|
3575
|
+
* By default, queries records from the last 30 days; otherwise, `endTime` - `startTime` must be less than 30 days.
|
|
3576
|
+
*/
|
|
3577
|
+
BybitDepositHistoryRequest: {
|
|
3578
|
+
/** @description Filter by coin symbol (uppercase). */
|
|
3579
|
+
coin?: string | null;
|
|
3580
|
+
/** @description Pagination cursor (the `nextPageCursor` from a prior response). */
|
|
3581
|
+
cursor?: string | null;
|
|
3582
|
+
/**
|
|
3583
|
+
* Format: int64
|
|
3584
|
+
* @description End timestamp (ms since epoch).
|
|
3585
|
+
*/
|
|
3586
|
+
endTime?: number | null;
|
|
3587
|
+
/** @description Filter by Bybit-internal deposit id. */
|
|
3588
|
+
id?: string | null;
|
|
3589
|
+
/**
|
|
3590
|
+
* Format: int32
|
|
3591
|
+
* @description Page size, `[1, 50]`. Defaults to 50.
|
|
3592
|
+
*/
|
|
3593
|
+
limit?: number | null;
|
|
3594
|
+
/**
|
|
3595
|
+
* Format: int64
|
|
3596
|
+
* @description Start timestamp (ms since epoch). The span between `start_time` and
|
|
3597
|
+
* `end_time` must not exceed 30 days.
|
|
3598
|
+
*/
|
|
3599
|
+
startTime?: number | null;
|
|
3600
|
+
/**
|
|
3601
|
+
* @description Filter by on-chain transaction id. Data before 2024-01-01 is not
|
|
3602
|
+
* queryable via this field.
|
|
3603
|
+
*/
|
|
3604
|
+
txID?: string | null;
|
|
3605
|
+
};
|
|
3606
|
+
/** @description Response of `GET /v5/asset/deposit/query-record`. */
|
|
3607
|
+
BybitDepositHistoryResponse: {
|
|
3608
|
+
/**
|
|
3609
|
+
* @description Opaque cursor to pass back as `cursor` on the next request; absent on
|
|
3610
|
+
* the last page.
|
|
3611
|
+
*/
|
|
3612
|
+
nextPageCursor?: string | null;
|
|
3613
|
+
/** @description Deposit records matching the query. */
|
|
3614
|
+
rows: components["schemas"]["BybitDepositEntry"][];
|
|
3615
|
+
};
|
|
3494
3616
|
BybitDryRunArgs: {
|
|
3495
3617
|
/** @description The Bybit API method that would have been used */
|
|
3496
3618
|
method: string;
|
|
@@ -3504,6 +3626,30 @@ export interface components {
|
|
|
3504
3626
|
* @enum {string}
|
|
3505
3627
|
*/
|
|
3506
3628
|
BybitDryRunMode: "NO_SIGN" | "NO_SUBMIT";
|
|
3629
|
+
/**
|
|
3630
|
+
* @description Parameters envelope for all Bybit RPC variants whose payload schema is
|
|
3631
|
+
* derived from a `*Request` struct. (`BybitQueryUserParams` and
|
|
3632
|
+
* `BybitQuerySubMembersParams` have no per-variant payload and are defined
|
|
3633
|
+
* directly below.)
|
|
3634
|
+
*/
|
|
3635
|
+
BybitQueryCoinInfoParams: components["schemas"]["BybitQueryCoinInfoRequest"] & {
|
|
3636
|
+
dryRun?: components["schemas"]["BybitDryRunMode"] | null;
|
|
3637
|
+
keyId: components["schemas"]["Id"];
|
|
3638
|
+
/**
|
|
3639
|
+
* Format: int32
|
|
3640
|
+
* @description Optional "receive window", i.e., for how long the request stays valid.
|
|
3641
|
+
* Specified in milliseconds. If omitted, defaults to 10000.
|
|
3642
|
+
*/
|
|
3643
|
+
recvWindow?: number | null;
|
|
3644
|
+
};
|
|
3645
|
+
/** @description Parameters for `GET /v5/asset/coin/query-info`. */
|
|
3646
|
+
BybitQueryCoinInfoRequest: {
|
|
3647
|
+
/**
|
|
3648
|
+
* @description Filter by coin symbol (uppercase, e.g. `"BTC"`). Bybit returns info for
|
|
3649
|
+
* all coins when omitted.
|
|
3650
|
+
*/
|
|
3651
|
+
coin?: string | null;
|
|
3652
|
+
};
|
|
3507
3653
|
/**
|
|
3508
3654
|
* @description Parameters envelope for all Bybit RPC variants whose payload schema is
|
|
3509
3655
|
* derived from a `*Request` struct. (`BybitQueryUserParams` and
|
|
@@ -3676,6 +3822,18 @@ export interface components {
|
|
|
3676
3822
|
/** @enum {string} */
|
|
3677
3823
|
method: "cs_bybitWithdrawals";
|
|
3678
3824
|
params: components["schemas"]["BybitWithdrawalsParams"];
|
|
3825
|
+
} | {
|
|
3826
|
+
/** @enum {string} */
|
|
3827
|
+
method: "cs_bybitQueryCoinInfo";
|
|
3828
|
+
params: components["schemas"]["BybitQueryCoinInfoParams"];
|
|
3829
|
+
} | {
|
|
3830
|
+
/** @enum {string} */
|
|
3831
|
+
method: "cs_bybitDepositHistory";
|
|
3832
|
+
params: components["schemas"]["BybitDepositHistoryParams"];
|
|
3833
|
+
} | {
|
|
3834
|
+
/** @enum {string} */
|
|
3835
|
+
method: "cs_bybitUniversalTransferHistory";
|
|
3836
|
+
params: components["schemas"]["BybitUniversalTransferHistoryParams"];
|
|
3679
3837
|
};
|
|
3680
3838
|
/** @description Response returned by the typed `bybit_sign` endpoint. */
|
|
3681
3839
|
BybitSignResponse: {
|
|
@@ -3731,6 +3889,94 @@ export interface components {
|
|
|
3731
3889
|
username?: string | null;
|
|
3732
3890
|
[key: string]: unknown;
|
|
3733
3891
|
};
|
|
3892
|
+
/** @description One entry in [`BybitUniversalTransferHistoryResponse::list`]. */
|
|
3893
|
+
BybitTransferEntry: {
|
|
3894
|
+
/** @description Transfer amount as a decimal string. */
|
|
3895
|
+
amount: string;
|
|
3896
|
+
/** @description Coin symbol, uppercase (e.g. `USDT`). */
|
|
3897
|
+
coin: string;
|
|
3898
|
+
/** @description Source wallet type (e.g. `FUND`, `UNIFIED`). */
|
|
3899
|
+
fromAccountType?: string | null;
|
|
3900
|
+
/** @description Source account UID. */
|
|
3901
|
+
fromMemberId?: string | null;
|
|
3902
|
+
/** @description Transfer state: `SUCCESS`, `PENDING`, or `FAILED`. */
|
|
3903
|
+
status?: string | null;
|
|
3904
|
+
/** @description Creation timestamp, in milliseconds since epoch (as a string). */
|
|
3905
|
+
timestamp?: string | null;
|
|
3906
|
+
/** @description Destination wallet type. */
|
|
3907
|
+
toAccountType?: string | null;
|
|
3908
|
+
/** @description Destination account UID. */
|
|
3909
|
+
toMemberId?: string | null;
|
|
3910
|
+
/** @description UUID of the transfer (the caller-supplied `transferId`). */
|
|
3911
|
+
transferId: string;
|
|
3912
|
+
[key: string]: unknown;
|
|
3913
|
+
};
|
|
3914
|
+
/**
|
|
3915
|
+
* @description Parameters envelope for all Bybit RPC variants whose payload schema is
|
|
3916
|
+
* derived from a `*Request` struct. (`BybitQueryUserParams` and
|
|
3917
|
+
* `BybitQuerySubMembersParams` have no per-variant payload and are defined
|
|
3918
|
+
* directly below.)
|
|
3919
|
+
*/
|
|
3920
|
+
BybitUniversalTransferHistoryParams: components["schemas"]["BybitUniversalTransferHistoryRequest"] & {
|
|
3921
|
+
dryRun?: components["schemas"]["BybitDryRunMode"] | null;
|
|
3922
|
+
keyId: components["schemas"]["Id"];
|
|
3923
|
+
/**
|
|
3924
|
+
* Format: int32
|
|
3925
|
+
* @description Optional "receive window", i.e., for how long the request stays valid.
|
|
3926
|
+
* Specified in milliseconds. If omitted, defaults to 10000.
|
|
3927
|
+
*/
|
|
3928
|
+
recvWindow?: number | null;
|
|
3929
|
+
};
|
|
3930
|
+
/**
|
|
3931
|
+
* @description Parameters for `GET /v5/asset/transfer/query-universal-transfer-list`.
|
|
3932
|
+
*
|
|
3933
|
+
* If `startTime` and `endTime` are not provided, the API returns data from the past 7 days by default.
|
|
3934
|
+
* If only `startTime` is provided, the API returns records from `startTime` to `startTime` + 7 days.
|
|
3935
|
+
* If only `endTime` is provided, the API returns records from `endTime` - 7 days to `endTime`.
|
|
3936
|
+
* If both are provided, the maximum allowed range is 7 days (`endTime` - `startTime` ≤ 7 days).
|
|
3937
|
+
*/
|
|
3938
|
+
BybitUniversalTransferHistoryRequest: {
|
|
3939
|
+
/** @description Filter by coin symbol (uppercase). */
|
|
3940
|
+
coin?: string | null;
|
|
3941
|
+
/** @description Pagination cursor (the `nextPageCursor` from a prior response). */
|
|
3942
|
+
cursor?: string | null;
|
|
3943
|
+
/**
|
|
3944
|
+
* Format: int64
|
|
3945
|
+
* @description End timestamp (ms since epoch).
|
|
3946
|
+
*/
|
|
3947
|
+
endTime?: number | null;
|
|
3948
|
+
/**
|
|
3949
|
+
* Format: int32
|
|
3950
|
+
* @description Page size, `[1, 50]`. Defaults to 20.
|
|
3951
|
+
*/
|
|
3952
|
+
limit?: number | null;
|
|
3953
|
+
/**
|
|
3954
|
+
* Format: int64
|
|
3955
|
+
* @description Start timestamp (ms since epoch). The span between `start_time` and
|
|
3956
|
+
* `end_time` must not exceed 7 days.
|
|
3957
|
+
*/
|
|
3958
|
+
startTime?: number | null;
|
|
3959
|
+
/** @description Filter by transfer status: `"SUCCESS"`, `"FAILED"`, or `"PENDING"`. */
|
|
3960
|
+
status?: string | null;
|
|
3961
|
+
/**
|
|
3962
|
+
* @description Filter by the transfer's UUID (as supplied to
|
|
3963
|
+
* [`BybitRpc::UniversalTransfer`]).
|
|
3964
|
+
*/
|
|
3965
|
+
transferId?: string | null;
|
|
3966
|
+
};
|
|
3967
|
+
/** @description Response of `GET /v5/asset/transfer/query-universal-transfer-list`. */
|
|
3968
|
+
BybitUniversalTransferHistoryResponse: {
|
|
3969
|
+
/**
|
|
3970
|
+
* @description Universal-transfer records matching the query. (Bybit names this field
|
|
3971
|
+
* `list`, unlike the `rows` used by other history endpoints.)
|
|
3972
|
+
*/
|
|
3973
|
+
list: components["schemas"]["BybitTransferEntry"][];
|
|
3974
|
+
/**
|
|
3975
|
+
* @description Opaque cursor to pass back as `cursor` on the next request; absent on
|
|
3976
|
+
* the last page.
|
|
3977
|
+
*/
|
|
3978
|
+
nextPageCursor?: string | null;
|
|
3979
|
+
};
|
|
3734
3980
|
/**
|
|
3735
3981
|
* @description Parameters envelope for all Bybit RPC variants whose payload schema is
|
|
3736
3982
|
* derived from a `*Request` struct. (`BybitQueryUserParams` and
|
|
@@ -5709,7 +5955,7 @@ export interface components {
|
|
|
5709
5955
|
* @description Explicitly named scopes for accessing CubeSigner APIs
|
|
5710
5956
|
* @enum {string}
|
|
5711
5957
|
*/
|
|
5712
|
-
ExplicitScope: "sign:*" | "sign:ava" | "sign:binance:*" | "sign:binance:subToMaster" | "sign:binance:subToSub" | "sign:binance:universalTransfer" | "sign:binance:subAccountAssets" | "sign:binance:accountInfo" | "sign:binance:subAccountTransferHistory" | "sign:binance:universalTransferHistory" | "sign:binance:withdraw" | "sign:binance:withdrawHistory" | "sign:binance:deposit" | "sign:binance:depositHistory" | "sign:binance:listSubAccounts" | "sign:binance:coinInfo" | "sign:bybit:*" | "sign:bybit:queryUser" | "sign:bybit:querySubMembers" | "sign:bybit:queryCoinsBalance" | "sign:bybit:queryDepositAddress" | "sign:bybit:universalTransfer" | "sign:bybit:withdraw" | "sign:bybit:withdrawals" | "sign:coinbase:*" | "sign:coinbase:accounts:list" | "sign:coinbase:portfolios:list" | "sign:coinbase:funds:move" | "sign:blob" | "sign:diffieHellman" | "sign:btc:*" | "sign:btc:segwit" | "sign:btc:taproot" | "sign:btc:psbt:*" | "sign:btc:psbt:doge" | "sign:btc:psbt:legacy" | "sign:btc:psbt:segwit" | "sign:btc:psbt:taproot" | "sign:btc:psbt:ltcSegwit" | "sign:btc:message:*" | "sign:btc:message:segwit" | "sign:btc:message:legacy" | "sign:babylon:*" | "sign:babylon:eots:*" | "sign:babylon:eots:nonces" | "sign:babylon:eots:sign" | "sign:babylon:staking:*" | "sign:babylon:staking:deposit" | "sign:babylon:staking:unbond" | "sign:babylon:staking:withdraw" | "sign:babylon:staking:slash" | "sign:babylon:registration" | "sign:babylon:covenant" | "sign:evm:*" | "sign:evm:tx" | "sign:evm:eip191" | "sign:evm:eip712" | "sign:evm:eip7702" | "sign:eth2:*" | "sign:eth2:validate" | "sign:eth2:stake" | "sign:eth2:unstake" | "sign:solana" | "sign:sui" | "sign:tendermint" | "sign:mmi" | "manage:*" | "manage:readonly" | "manage:email:*" | "manage:email:get" | "manage:email:update" | "manage:email:delete" | "manage:mfa:*" | "manage:mfa:readonly" | "manage:mfa:list" | "manage:mfa:vote:*" | "manage:mfa:vote:cs" | "manage:mfa:vote:email" | "manage:mfa:vote:fido" | "manage:mfa:vote:totp" | "manage:mfa:register:*" | "manage:mfa:register:fido" | "manage:mfa:register:totp" | "manage:mfa:register:email" | "manage:mfa:unregister:*" | "manage:mfa:unregister:fido" | "manage:mfa:unregister:totp" | "manage:mfa:verify:*" | "manage:mfa:verify:totp" | "manage:key:*" | "manage:key:readonly" | "manage:key:get" | "manage:key:attest" | "manage:key:listRoles" | "manage:key:list" | "manage:key:history:tx:list" | "manage:key:create" | "manage:key:import" | "manage:key:update:*" | "manage:key:update:owner" | "manage:key:update:policy" | "manage:key:update:enabled" | "manage:key:update:region" | "manage:key:update:metadata" | "manage:key:update:properties" | "manage:key:update:editPolicy" | "manage:key:delete" | "manage:policy:*" | "manage:policy:readonly" | "manage:policy:create" | "manage:policy:get" | "manage:policy:list" | "manage:policy:delete" | "manage:policy:update:*" | "manage:policy:update:owner" | "manage:policy:update:name" | "manage:policy:update:acl" | "manage:policy:update:editPolicy" | "manage:policy:update:metadata" | "manage:policy:update:rule" | "manage:policy:invoke" | "manage:policy:wasm:*" | "manage:policy:wasm:upload" | "manage:policy:secrets:*" | "manage:policy:secrets:get" | "manage:policy:secrets:update:*" | "manage:policy:secrets:update:values" | "manage:policy:secrets:update:acl" | "manage:policy:secrets:update:editPolicy" | "manage:policy:buckets:*" | "manage:policy:buckets:get" | "manage:policy:buckets:list" | "manage:policy:buckets:update:*" | "manage:policy:buckets:update:owner" | "manage:policy:buckets:update:acl" | "manage:policy:buckets:update:metadata" | "manage:contact:*" | "manage:contact:readonly" | "manage:contact:create" | "manage:contact:get" | "manage:contact:list" | "manage:contact:delete" | "manage:contact:update:*" | "manage:contact:update:name" | "manage:contact:update:addresses" | "manage:contact:update:owner" | "manage:contact:update:labels" | "manage:contact:update:metadata" | "manage:contact:update:editPolicy" | "manage:contact:lookup:*" | "manage:contact:lookup:address" | "manage:policy:createImportKey" | "manage:role:*" | "manage:role:readonly" | "manage:role:create" | "manage:role:delete" | "manage:role:get:*" | "manage:role:attest" | "manage:role:get:keys" | "manage:role:get:keys:list" | "manage:role:get:keys:get" | "manage:role:get:users" | "manage:role:list" | "manage:role:update:*" | "manage:role:update:enabled" | "manage:role:update:policy" | "manage:role:update:editPolicy" | "manage:role:update:actions" | "manage:role:update:key:*" | "manage:role:update:key:add" | "manage:role:update:key:remove" | "manage:role:update:user:*" | "manage:role:update:user:add" | "manage:role:update:user:remove" | "manage:role:history:tx:list" | "manage:identity:*" | "manage:identity:readonly" | "manage:identity:verify" | "manage:identity:add" | "manage:identity:remove" | "manage:identity:list" | "manage:org:*" | "manage:org:create" | "manage:org:metrics:query" | "manage:org:audit:query" | "manage:org:readonly" | "manage:org:addUser" | "manage:org:inviteUser" | "manage:org:inviteAlien" | "manage:org:invitation:list" | "manage:org:invitation:cancel" | "manage:org:updateMembership:*" | "manage:org:updateMembership:owner" | "manage:org:updateMembership:member" | "manage:org:updateMembership:alien" | "manage:org:listUsers" | "manage:org:user:get" | "manage:org:deleteUser:*" | "manage:org:deleteUser:owner" | "manage:org:deleteUser:member" | "manage:org:deleteUser:alien" | "manage:org:get" | "manage:org:update:*" | "manage:org:update:enabled" | "manage:org:update:policy" | "manage:org:update:signPolicy" | "manage:org:update:export" | "manage:org:update:totpFailureLimit" | "manage:org:update:notificationEndpoints" | "manage:org:update:defaultInviteKind" | "manage:org:update:idpConfiguration" | "manage:org:update:passkeyConfiguration" | "manage:org:update:emailPreferences" | "manage:org:update:historicalData" | "manage:org:update:requireScopeCeiling" | "manage:org:update:alienLoginRequirement" | "manage:org:update:memberLoginRequirement" | "manage:org:update:keyExportRequirement" | "manage:org:update:allowedMfaTypes" | "manage:org:update:policyEngineConf" | "manage:org:update:customChains" | "manage:org:update:extProps" | "manage:org:update:editPolicy" | "manage:org:user:resetMfa" | "manage:session:*" | "manage:session:readonly" | "manage:session:get" | "manage:session:list" | "manage:session:create" | "manage:session:extend" | "manage:session:revoke" | "manage:export:*" | "manage:export:readonly" | "manage:export:org:*" | "manage:export:org:get" | "manage:export:user:*" | "manage:export:user:delete" | "manage:export:user:list" | "manage:authMigration:*" | "manage:authMigration:identity:add" | "manage:authMigration:identity:remove" | "manage:authMigration:user:update" | "manage:mmi:*" | "manage:mmi:readonly" | "manage:mmi:get" | "manage:mmi:list" | "manage:mmi:reject" | "manage:mmi:delete" | "export:*" | "export:user:*" | "export:user:init" | "export:user:complete" | "mmi:*" | "orgAccess:*" | "orgAccess:child:*" | "rpc:*" | "rpc:createTransaction:*" | "rpc:createTransaction:evm" | "rpc:retryTransaction" | "rpc:cancelTransaction" | "rpc:getTransaction" | "rpc:listTransactions" | "rpc:btcListUtxos" | "rpc:binance" | "rpc:bybit" | "rpc:coinbase";
|
|
5958
|
+
ExplicitScope: "sign:*" | "sign:ava" | "sign:binance:*" | "sign:binance:subToMaster" | "sign:binance:subToSub" | "sign:binance:universalTransfer" | "sign:binance:subAccountAssets" | "sign:binance:accountInfo" | "sign:binance:subAccountTransferHistory" | "sign:binance:universalTransferHistory" | "sign:binance:withdraw" | "sign:binance:withdrawHistory" | "sign:binance:deposit" | "sign:binance:depositHistory" | "sign:binance:listSubAccounts" | "sign:binance:coinInfo" | "sign:bybit:*" | "sign:bybit:queryUser" | "sign:bybit:querySubMembers" | "sign:bybit:queryCoinsBalance" | "sign:bybit:queryDepositAddress" | "sign:bybit:universalTransfer" | "sign:bybit:withdraw" | "sign:bybit:withdrawals" | "sign:bybit:queryCoinInfo" | "sign:bybit:depositHistory" | "sign:bybit:universalTransferHistory" | "sign:coinbase:*" | "sign:coinbase:accounts:list" | "sign:coinbase:portfolios:list" | "sign:coinbase:funds:move" | "sign:blob" | "sign:diffieHellman" | "sign:btc:*" | "sign:btc:segwit" | "sign:btc:taproot" | "sign:btc:psbt:*" | "sign:btc:psbt:doge" | "sign:btc:psbt:legacy" | "sign:btc:psbt:segwit" | "sign:btc:psbt:taproot" | "sign:btc:psbt:ltcSegwit" | "sign:btc:message:*" | "sign:btc:message:segwit" | "sign:btc:message:legacy" | "sign:babylon:*" | "sign:babylon:eots:*" | "sign:babylon:eots:nonces" | "sign:babylon:eots:sign" | "sign:babylon:staking:*" | "sign:babylon:staking:deposit" | "sign:babylon:staking:unbond" | "sign:babylon:staking:withdraw" | "sign:babylon:staking:slash" | "sign:babylon:registration" | "sign:babylon:covenant" | "sign:evm:*" | "sign:evm:tx" | "sign:evm:eip191" | "sign:evm:eip712" | "sign:evm:eip7702" | "sign:eth2:*" | "sign:eth2:validate" | "sign:eth2:stake" | "sign:eth2:unstake" | "sign:solana" | "sign:sui" | "sign:tendermint" | "sign:mmi" | "manage:*" | "manage:readonly" | "manage:email:*" | "manage:email:get" | "manage:email:update" | "manage:email:delete" | "manage:mfa:*" | "manage:mfa:readonly" | "manage:mfa:list" | "manage:mfa:vote:*" | "manage:mfa:vote:cs" | "manage:mfa:vote:email" | "manage:mfa:vote:fido" | "manage:mfa:vote:totp" | "manage:mfa:register:*" | "manage:mfa:register:fido" | "manage:mfa:register:totp" | "manage:mfa:register:email" | "manage:mfa:unregister:*" | "manage:mfa:unregister:fido" | "manage:mfa:unregister:totp" | "manage:mfa:verify:*" | "manage:mfa:verify:totp" | "manage:key:*" | "manage:key:readonly" | "manage:key:get" | "manage:key:attest" | "manage:key:listRoles" | "manage:key:list" | "manage:key:history:tx:list" | "manage:key:create" | "manage:key:import" | "manage:key:update:*" | "manage:key:update:owner" | "manage:key:update:policy" | "manage:key:update:enabled" | "manage:key:update:region" | "manage:key:update:metadata" | "manage:key:update:properties" | "manage:key:update:editPolicy" | "manage:key:delete" | "manage:policy:*" | "manage:policy:readonly" | "manage:policy:create" | "manage:policy:get" | "manage:policy:list" | "manage:policy:delete" | "manage:policy:update:*" | "manage:policy:update:owner" | "manage:policy:update:name" | "manage:policy:update:acl" | "manage:policy:update:editPolicy" | "manage:policy:update:metadata" | "manage:policy:update:rule" | "manage:policy:invoke" | "manage:policy:wasm:*" | "manage:policy:wasm:upload" | "manage:policy:secrets:*" | "manage:policy:secrets:get" | "manage:policy:secrets:update:*" | "manage:policy:secrets:update:values" | "manage:policy:secrets:update:acl" | "manage:policy:secrets:update:editPolicy" | "manage:policy:buckets:*" | "manage:policy:buckets:get" | "manage:policy:buckets:list" | "manage:policy:buckets:update:*" | "manage:policy:buckets:update:owner" | "manage:policy:buckets:update:acl" | "manage:policy:buckets:update:metadata" | "manage:contact:*" | "manage:contact:readonly" | "manage:contact:create" | "manage:contact:get" | "manage:contact:list" | "manage:contact:delete" | "manage:contact:update:*" | "manage:contact:update:name" | "manage:contact:update:addresses" | "manage:contact:update:owner" | "manage:contact:update:labels" | "manage:contact:update:metadata" | "manage:contact:update:editPolicy" | "manage:contact:lookup:*" | "manage:contact:lookup:address" | "manage:policy:createImportKey" | "manage:role:*" | "manage:role:readonly" | "manage:role:create" | "manage:role:delete" | "manage:role:get:*" | "manage:role:attest" | "manage:role:get:keys" | "manage:role:get:keys:list" | "manage:role:get:keys:get" | "manage:role:get:users" | "manage:role:list" | "manage:role:update:*" | "manage:role:update:enabled" | "manage:role:update:policy" | "manage:role:update:editPolicy" | "manage:role:update:actions" | "manage:role:update:key:*" | "manage:role:update:key:add" | "manage:role:update:key:remove" | "manage:role:update:user:*" | "manage:role:update:user:add" | "manage:role:update:user:remove" | "manage:role:history:tx:list" | "manage:identity:*" | "manage:identity:readonly" | "manage:identity:verify" | "manage:identity:add" | "manage:identity:remove" | "manage:identity:list" | "manage:org:*" | "manage:org:create" | "manage:org:metrics:query" | "manage:org:audit:query" | "manage:org:readonly" | "manage:org:addUser" | "manage:org:inviteUser" | "manage:org:inviteAlien" | "manage:org:invitation:list" | "manage:org:invitation:cancel" | "manage:org:updateMembership:*" | "manage:org:updateMembership:owner" | "manage:org:updateMembership:member" | "manage:org:updateMembership:alien" | "manage:org:listUsers" | "manage:org:user:get" | "manage:org:deleteUser:*" | "manage:org:deleteUser:owner" | "manage:org:deleteUser:member" | "manage:org:deleteUser:alien" | "manage:org:get" | "manage:org:update:*" | "manage:org:update:enabled" | "manage:org:update:policy" | "manage:org:update:signPolicy" | "manage:org:update:export" | "manage:org:update:totpFailureLimit" | "manage:org:update:notificationEndpoints" | "manage:org:update:defaultInviteKind" | "manage:org:update:idpConfiguration" | "manage:org:update:passkeyConfiguration" | "manage:org:update:emailPreferences" | "manage:org:update:historicalData" | "manage:org:update:requireScopeCeiling" | "manage:org:update:alienLoginRequirement" | "manage:org:update:memberLoginRequirement" | "manage:org:update:keyExportRequirement" | "manage:org:update:allowedMfaTypes" | "manage:org:update:policyEngineConf" | "manage:org:update:customChains" | "manage:org:update:extProps" | "manage:org:update:editPolicy" | "manage:org:user:resetMfa" | "manage:session:*" | "manage:session:readonly" | "manage:session:get" | "manage:session:list" | "manage:session:create" | "manage:session:extend" | "manage:session:revoke" | "manage:export:*" | "manage:export:readonly" | "manage:export:org:*" | "manage:export:org:get" | "manage:export:user:*" | "manage:export:user:delete" | "manage:export:user:list" | "manage:authMigration:*" | "manage:authMigration:identity:add" | "manage:authMigration:identity:remove" | "manage:authMigration:user:update" | "manage:mmi:*" | "manage:mmi:readonly" | "manage:mmi:get" | "manage:mmi:list" | "manage:mmi:reject" | "manage:mmi:delete" | "export:*" | "export:user:*" | "export:user:init" | "export:user:complete" | "mmi:*" | "orgAccess:*" | "orgAccess:child:*" | "rpc:*" | "rpc:createTransaction:*" | "rpc:createTransaction:evm" | "rpc:retryTransaction" | "rpc:cancelTransaction" | "rpc:getTransaction" | "rpc:listTransactions" | "rpc:btcListUtxos" | "rpc:binance" | "rpc:bybit" | "rpc:coinbase";
|
|
5713
5959
|
/**
|
|
5714
5960
|
* @description This type specifies the interpretation of the `fee` field in Babylon
|
|
5715
5961
|
* staking requests. If `sats`, the field is intpreted as a fixed value
|
|
@@ -6183,7 +6429,7 @@ export interface components {
|
|
|
6183
6429
|
result?: Record<string, unknown> | null;
|
|
6184
6430
|
};
|
|
6185
6431
|
/** @description Valid `result` from the JSON-RPC API. */
|
|
6186
|
-
JsonRpcResult: components["schemas"]["TransactionInfo"] | components["schemas"]["ListTransactionsPaginatedResponse"] | components["schemas"]["SubAccountTransferResponse"] | components["schemas"]["UniversalTransferResponse"] | components["schemas"]["SubAccountAssetsResponse"] | components["schemas"]["AccountInfoResponse"] | components["schemas"]["SubAccountTransferHistoryResponse"] | components["schemas"]["UniversalTransferHistoryResponse"] | components["schemas"]["WithdrawResponse"] | components["schemas"]["WithdrawHistoryResponse"] | components["schemas"]["DepositResponse"] | components["schemas"]["DepositHistoryResponse"] | components["schemas"]["ListSubAccountsResponse"] | components["schemas"]["CoinInfoResponse"] | components["schemas"]["BybitQueryUserResponse"] | components["schemas"]["BybitQuerySubMembersResponse"] | components["schemas"]["BybitQueryCoinsBalanceResponse"] | components["schemas"]["BybitQueryDepositAddressResponse"] | components["schemas"]["BybitUniversalTransferResponse"] | components["schemas"]["BybitWithdrawResponse"] | components["schemas"]["BybitWithdrawalsResponse"] | components["schemas"]["CoinbaseListAccountsResponse"] | components["schemas"]["CoinbaseListPortfoliosResponse"] | components["schemas"]["CoinbaseMoveFundsResponse"] | components["schemas"]["BtcListUtxosResponse"];
|
|
6432
|
+
JsonRpcResult: components["schemas"]["TransactionInfo"] | components["schemas"]["ListTransactionsPaginatedResponse"] | components["schemas"]["SubAccountTransferResponse"] | components["schemas"]["UniversalTransferResponse"] | components["schemas"]["SubAccountAssetsResponse"] | components["schemas"]["AccountInfoResponse"] | components["schemas"]["SubAccountTransferHistoryResponse"] | components["schemas"]["UniversalTransferHistoryResponse"] | components["schemas"]["WithdrawResponse"] | components["schemas"]["WithdrawHistoryResponse"] | components["schemas"]["DepositResponse"] | components["schemas"]["DepositHistoryResponse"] | components["schemas"]["ListSubAccountsResponse"] | components["schemas"]["CoinInfoResponse"] | components["schemas"]["BybitQueryUserResponse"] | components["schemas"]["BybitQuerySubMembersResponse"] | components["schemas"]["BybitQueryCoinsBalanceResponse"] | components["schemas"]["BybitQueryDepositAddressResponse"] | components["schemas"]["BybitUniversalTransferResponse"] | components["schemas"]["BybitWithdrawResponse"] | components["schemas"]["BybitWithdrawalsResponse"] | components["schemas"]["BybitCoinInfoResponse"] | components["schemas"]["BybitDepositHistoryResponse"] | components["schemas"]["BybitUniversalTransferHistoryResponse"] | components["schemas"]["CoinbaseListAccountsResponse"] | components["schemas"]["CoinbaseListPortfoliosResponse"] | components["schemas"]["CoinbaseMoveFundsResponse"] | components["schemas"]["BtcListUtxosResponse"];
|
|
6187
6433
|
JwkSetResponse: {
|
|
6188
6434
|
/** @description The keys included in this set */
|
|
6189
6435
|
keys: Record<string, never>[];
|
|
@@ -6806,7 +7052,7 @@ export interface components {
|
|
|
6806
7052
|
* @description All different kinds of sensitive operations
|
|
6807
7053
|
* @enum {string}
|
|
6808
7054
|
*/
|
|
6809
|
-
OperationKind: "AvaSign" | "AvaChainTxSign" | "BabylonCovSign" | "BabylonRegistration" | "BabylonStaking" | "BinanceSubToMaster" | "BinanceSubToSub" | "BinanceUniversalTransfer" | "BinanceSubAccountAssets" | "BinanceAccountInfo" | "BinanceSubAccountTransferHistory" | "BinanceUniversalTransferHistory" | "BinanceWithdraw" | "BinanceWithdrawHistory" | "BinanceDeposit" | "BinanceDepositHistory" | "BinanceListSubAccounts" | "BinanceCoinInfo" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "BybitQueryUser" | "BybitQuerySubMembers" | "BybitQueryCoinsBalance" | "BybitQueryDepositAddress" | "BybitUniversalTransfer" | "BybitWithdraw" | "BybitWithdrawals" | "CoinbaseListAccounts" | "CoinbaseListPortfolios" | "CoinbaseMoveFunds" | "DiffieHellman" | "PsbtSign" | "TaprootSign" | "Eip191Sign" | "Eip712Sign" | "Eip7702Sign" | "EotsNonces" | "EotsSign" | "Eth1Sign" | "Eth2Sign" | "Eth2Stake" | "Eth2Unstake" | "SolanaSign" | "SuiSign" | "TendermintSign" | "RoleUpdate";
|
|
7055
|
+
OperationKind: "AvaSign" | "AvaChainTxSign" | "BabylonCovSign" | "BabylonRegistration" | "BabylonStaking" | "BinanceSubToMaster" | "BinanceSubToSub" | "BinanceUniversalTransfer" | "BinanceSubAccountAssets" | "BinanceAccountInfo" | "BinanceSubAccountTransferHistory" | "BinanceUniversalTransferHistory" | "BinanceWithdraw" | "BinanceWithdrawHistory" | "BinanceDeposit" | "BinanceDepositHistory" | "BinanceListSubAccounts" | "BinanceCoinInfo" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "BybitQueryUser" | "BybitQuerySubMembers" | "BybitQueryCoinsBalance" | "BybitQueryDepositAddress" | "BybitUniversalTransfer" | "BybitWithdraw" | "BybitWithdrawals" | "BybitQueryCoinInfo" | "BybitDepositHistory" | "BybitUniversalTransferHistory" | "CoinbaseListAccounts" | "CoinbaseListPortfolios" | "CoinbaseMoveFunds" | "DiffieHellman" | "PsbtSign" | "TaprootSign" | "Eip191Sign" | "Eip712Sign" | "Eip7702Sign" | "EotsNonces" | "EotsSign" | "Eth1Sign" | "Eth2Sign" | "Eth2Stake" | "Eth2Unstake" | "SolanaSign" | "SuiSign" | "TendermintSign" | "RoleUpdate";
|
|
6810
7056
|
OrgAlertsPrefs: {
|
|
6811
7057
|
/** @description Recipient users for org-level alerts */
|
|
6812
7058
|
alert_recipients?: components["schemas"]["Id"][] | null;
|
|
@@ -7199,8 +7445,7 @@ export interface components {
|
|
|
7199
7445
|
* is meaningless for organizations that use org-wide export.)
|
|
7200
7446
|
*/
|
|
7201
7447
|
user_export_window: number;
|
|
7202
|
-
|
|
7203
|
-
webapp_enabled?: boolean;
|
|
7448
|
+
webapp_enabled?: components["schemas"]["WebappEnabled"];
|
|
7204
7449
|
};
|
|
7205
7450
|
/** @description Supported org metrics. */
|
|
7206
7451
|
OrgMetric: OneOf<[
|
|
@@ -10267,6 +10512,8 @@ export interface components {
|
|
|
10267
10512
|
/** @description The Id of the policy this wasm rule belongs to. */
|
|
10268
10513
|
policy_id: string;
|
|
10269
10514
|
};
|
|
10515
|
+
/** @description Whether the official webapp origin is automatically allowed. `"limited"` is treated the same as `true` by the back end, but reported as-is to clients */
|
|
10516
|
+
WebappEnabled: boolean | "limited";
|
|
10270
10517
|
/**
|
|
10271
10518
|
* @description Allowed webhook methods
|
|
10272
10519
|
* @enum {string}
|
|
@@ -11386,8 +11633,7 @@ export interface components {
|
|
|
11386
11633
|
* is meaningless for organizations that use org-wide export.)
|
|
11387
11634
|
*/
|
|
11388
11635
|
user_export_window: number;
|
|
11389
|
-
|
|
11390
|
-
webapp_enabled?: boolean;
|
|
11636
|
+
webapp_enabled?: components["schemas"]["WebappEnabled"];
|
|
11391
11637
|
};
|
|
11392
11638
|
};
|
|
11393
11639
|
};
|