@cubist-labs/cubesigner-sdk 0.4.274 → 0.4.276
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 +3 -3
- package/dist/src/client/api_client.d.ts +17 -1
- package/dist/src/client/api_client.d.ts.map +1 -1
- package/dist/src/client/api_client.js +25 -1
- package/dist/src/org.d.ts +24 -1
- package/dist/src/org.d.ts.map +1 -1
- package/dist/src/org.js +30 -1
- package/dist/src/schema.d.ts +221 -13
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +1 -1
- package/dist/src/schema_types.d.ts +3 -0
- 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/client/api_client.ts +38 -1
- package/src/org.ts +33 -0
- package/src/schema.ts +417 -195
- package/src/schema_types.ts +6 -0
- package/src/scopes.ts +3 -0
package/dist/src/schema.d.ts
CHANGED
|
@@ -609,7 +609,8 @@ export interface paths {
|
|
|
609
609
|
* List pending invitations
|
|
610
610
|
* @description List pending invitations
|
|
611
611
|
*
|
|
612
|
-
* Returns all pending
|
|
612
|
+
* Returns all pending invitations for the organization, i.e., those that have neither
|
|
613
|
+
* been accepted nor canceled, and have not expired.
|
|
613
614
|
*/
|
|
614
615
|
get: operations["listInvitations"];
|
|
615
616
|
/**
|
|
@@ -2848,7 +2849,7 @@ export interface components {
|
|
|
2848
2849
|
/** @enum {string} */
|
|
2849
2850
|
BadGatewayErrorCode: "Generic" | "CustomChainRpcError" | "EsploraApiError" | "SentryApiError" | "CallWebhookError" | "OAuthProviderError" | "OidcDisoveryFailed" | "OidcIssuerJwkEndpointUnavailable" | "SmtpServerUnavailable";
|
|
2850
2851
|
/** @enum {string} */
|
|
2851
|
-
BadRequestErrorCode: "GenericBadRequest" | "DisallowedAllowRuleReference" | "InvalidPaginationToken" | "InvalidEmail" | "InvalidEmailTemplate" | "QueryMetricsError" | "InvalidTelegramData" | "ValidationError" | "WebhookPolicyTimeoutOutOfBounds" | "WebhookPolicyDisallowedUrlScheme" | "WebhookPolicyDisallowedUrlHost" | "WebhookPolicyDisallowedHeaders" | "ReservedName" | "UserEmailNotConfigured" | "EmailPasswordNotFound" | "PasswordAuthNotAllowedByInvitation" | "OneTimeCodeExpired" | "InvalidBody" | "InvalidJwt" | "InvitationNoLongerValid" | "TokenRequestError" | "InvalidMfaReceipt" | "InvalidMfaPolicyCount" | "InvalidMfaPolicyNumAuthFactors" | "InvalidMfaPolicyNumAllowedApprovers" | "InvalidMfaPolicyGracePeriodTooLong" | "InvalidBabylonStakingPolicyParams" | "InvalidSuiTxReceiversEmptyAllowlist" | "InvalidBtcTxReceiversEmptyAllowlist" | "InvalidRequireRoleSessionAllowlist" | "InvalidCreateKeyCount" | "InvalidDiffieHellmanCount" | "OrgInviteExistingUser" | "OrgUserAlreadyExists" | "OrgNameTaken" | "KwkNotFoundInRegion" | "OrgIsNotOrgExport" | "RoleNameTaken" | "PolicyNameTaken" | "NameTaken" | "ContactNameInvalid" | "ContactAddressesInvalid" | "ContactLabelInvalid" | "ContactModified" | "PolicyNotFound" | "PolicyVersionNotFound" | "PolicyRuleDisallowedByType" | "PolicyTypeDisallowed" | "PolicyDuplicateError" | "PolicyStillAttached" | "PolicyModified" | "PolicyNotAttached" | "AddKeyToRoleCountTooHigh" | "InvalidKeyId" | "InvalidTimeLockAlreadyInThePast" | "InvalidRestrictedScopes" | "InvalidUpdate" | "InvalidMetadataLength" | "InvalidLength" | "InvalidKeyMaterialId" | "KeyNotFound" | "SiweChallengeNotFound" | "SiweInvalidRequest" | "SiwsChallengeNotFound" | "SiwsInvalidRequest" | "UserExportDerivedKey" | "UserExportPublicKeyInvalid" | "NistP256PublicKeyInvalid" | "UnableToAccessSmtpRelay" | "UserExportInProgress" | "RoleNotFound" | "InvalidRoleNameOrId" | "InvalidMfaReceiptOrgIdMissing" | "InvalidMfaReceiptInvalidOrgId" | "MfaRequestNotFound" | "InvalidKeyType" | "InvalidPropertiesForKeyType" | "MismatchedKeyPropertiesPatch" | "MissingBinanceApiKey" | "MissingBybitApiKey" | "MissingCoinbaseApiKey" | "BinanceKeyMasterMismatch" | "BybitAccountMismatch" | "InvalidKeyMaterial" | "InvalidHexValue" | "InvalidBase32Value" | "InvalidBase58Value" | "InvalidBase64Value" | "InvalidSs58Value" | "InvalidForkVersionLength" | "InvalidEthAddress" | "InvalidStellarAddress" | "InvalidOrgNameOrId" | "InvalidUpdateOrgRequestDisallowedMfaType" | "InvalidUpdateOrgRequestEmptyAllowedMfaTypes" | "EmailOtpDelayTooShortForRegisterMfa" | "InvalidStakeDeposit" | "InvalidBlobSignRequest" | "InvalidDiffieHellmanRequest" | "InvalidSolanaSignRequest" | "InvalidEip712SignRequest" | "InvalidEip7702SignRequest" | "OnlySpecifyOne" | "IncompatibleParams" | "NoOidcDataInProof" | "InvalidEvmSignRequest" | "InvalidEth2SignRequest" | "InvalidDeriveKeyRequest" | "InvalidStakingAmount" | "CustomStakingAmountNotAllowedForWrapperContract" | "InvalidUnstakeRequest" | "InvalidCreateUserRequest" | "UserAlreadyExists" | "IdpUserAlreadyExists" | "CognitoUserAlreadyOrgMember" | "UserNotFound" | "UserWithEmailNotFound" | "PolicyKeyMismatch" | "EmptyScopes" | "InvalidScopesForRoleSession" | "InvalidLifetime" | "NoSingleKeyForUser" | "InvalidOrgPolicyRule" | "SourceIpAllowlistEmpty" | "LimitWindowTooLong" | "Erc20ContractDisallowed" | "EmptyRuleError" | "PolicyFieldValidationError" | "OptionalListEmpty" | "MultipleExclusiveFieldsProvided" | "DuplicateFieldEntry" | "InvalidRange" | "InvalidOrgPolicyRepeatedRule" | "InvalidSuiTransaction" | "SuiSenderMismatch" | "AvaSignHashError" | "AvaSignError" | "BtcSegwitHashError" | "BtcTaprootHashError" | "BtcSignError" | "TaprootSignError" | "Eip712SignError" | "InvalidMemberRoleInUserAdd" | "InvalidMemberRoleInRecipientAdd" | "ThirdPartyUserAlreadyExists" | "OidcIdentityAlreadyExists" | "UserAlreadyHasIdentity" | "ThirdPartyUserNotFound" | "DeleteOidcUserError" | "DeleteUserError" | "SessionRoleMismatch" | "InvalidOidcToken" | "InvalidOidcIdentity" | "OidcIssuerUnsupported" | "OidcIssuerNotAllowed" | "OidcIssuerNoApplicableJwk" | "FidoKeyAlreadyRegistered" | "FidoKeySignCountTooLow" | "FidoVerificationFailed" | "FidoChallengeMfaMismatch" | "UnsupportedLegacyCognitoSession" | "InvalidIdentityProof" | "PaginationDataExpired" | "ExistingKeysViolateExclusiveKeyAccess" | "ExportDelayTooShort" | "ExportWindowTooLong" | "InvalidTotpFailureLimit" | "InvalidEip191SignRequest" | "CannotResendUserInvitation" | "InvalidNotificationEndpointCount" | "CannotDeletePendingSubscription" | "InvalidNotificationUrlProtocol" | "EmptyOneOfOrgEventFilter" | "EmptyAllExceptOrgEventFilter" | "InvalidTapNodeHash" | "InvalidOneTimeCode" | "MessageNotFound" | "MessageAlreadySigned" | "MessageRejected" | "MessageReplaced" | "InvalidMessageType" | "EmptyAddress" | "InvalidEth2SigningPolicySlotRange" | "InvalidEth2SigningPolicyEpochRange" | "InvalidEth2SigningPolicyTimestampRange" | "InvalidEth2SigningPolicyOverlappingRule" | "RpcUrlMissing" | "MmiChainIdMissing" | "EthersInvalidRpcUrl" | "EthersGetTransactionCountError" | "InvalidPassword" | "BabylonStakingFeePlusDustOverflow" | "BabylonStaking" | "BabylonStakingIncorrectKey" | "BabylonStakingSegwitNonDeposit" | "BabylonStakingRegistrationRequiresTaproot" | "PsbtSigning" | "TooManyResets" | "TooManyRequests" | "TooManyFailedLogins" | "BadBtcMessageSignP2shFlag" | "InvalidTendermintRequest" | "PolicyVersionMaxReached" | "PolicyVersionInvalid" | "PolicySecretLimitReached" | "PolicySecretTooLarge" | "InvalidImportKey" | "AlienOwnerInvalid" | "EmptyUpdateRequest" | "InvalidPolicyReference" | "PolicyEngineDisabled" | "InvalidWasmPolicy" | "CelProgramTooLarge" | "InvalidPolicy" | "RedundantDerivationPath" | "ImportKeyMissing" | "InvalidAbiMethods" | "BabylonCovSign" | "InvalidPolicyLogsRequest" | "UserProfileMigrationMultipleEntries" | "UserProfileMigrationTooManyItems" | "InputTooShort" | "InvalidTweakLength" | "InvalidCustomChains" | "InvalidRpcRequest";
|
|
2852
|
+
BadRequestErrorCode: "GenericBadRequest" | "DisallowedAllowRuleReference" | "InvalidPaginationToken" | "InvalidEmail" | "InvalidEmailTemplate" | "QueryMetricsError" | "InvalidTelegramData" | "ValidationError" | "WebhookPolicyTimeoutOutOfBounds" | "WebhookPolicyDisallowedUrlScheme" | "WebhookPolicyDisallowedUrlHost" | "WebhookPolicyDisallowedHeaders" | "ReservedName" | "UserEmailNotConfigured" | "EmailPasswordNotFound" | "PasswordAuthNotAllowedByInvitation" | "OneTimeCodeExpired" | "InvalidBody" | "InvalidJwt" | "InvitationNoLongerValid" | "TokenRequestError" | "InvalidMfaReceipt" | "InvalidMfaPolicyCount" | "InvalidMfaPolicyNumAuthFactors" | "InvalidMfaPolicyNumAllowedApprovers" | "InvalidMfaPolicyGracePeriodTooLong" | "InvalidBabylonStakingPolicyParams" | "InvalidSuiTxReceiversEmptyAllowlist" | "InvalidBtcTxReceiversEmptyAllowlist" | "InvalidRequireRoleSessionAllowlist" | "InvalidCreateKeyCount" | "InvalidDiffieHellmanCount" | "OrgInviteExistingUser" | "OrgUserAlreadyExists" | "OrgNameTaken" | "KwkNotFoundInRegion" | "OrgIsNotOrgExport" | "RoleNameTaken" | "PolicyNameTaken" | "NameTaken" | "ContactNameInvalid" | "ContactAddressesInvalid" | "ContactLabelInvalid" | "ContactModified" | "PolicyNotFound" | "PolicyVersionNotFound" | "PolicyRuleDisallowedByType" | "PolicyTypeDisallowed" | "PolicyDuplicateError" | "PolicyStillAttached" | "PolicyModified" | "PolicyNotAttached" | "AddKeyToRoleCountTooHigh" | "InvalidKeyId" | "InvalidTimeLockAlreadyInThePast" | "InvalidRestrictedScopes" | "InvalidUpdate" | "InvalidMetadataLength" | "InvalidLength" | "InvalidKeyMaterialId" | "KeyNotFound" | "SiweChallengeNotFound" | "SiweInvalidRequest" | "SiwsChallengeNotFound" | "SiwsInvalidRequest" | "UserExportDerivedKey" | "UserExportPublicKeyInvalid" | "NistP256PublicKeyInvalid" | "UnableToAccessSmtpRelay" | "UserExportInProgress" | "RoleNotFound" | "InvalidRoleNameOrId" | "InvalidMfaReceiptOrgIdMissing" | "InvalidMfaReceiptInvalidOrgId" | "MfaRequestNotFound" | "InvalidKeyType" | "InvalidPropertiesForKeyType" | "MismatchedKeyPropertiesPatch" | "MissingBinanceApiKey" | "MissingBybitApiKey" | "MissingCoinbaseApiKey" | "BinanceKeyMasterMismatch" | "BybitAccountMismatch" | "InvalidKeyMaterial" | "InvalidHexValue" | "InvalidBase32Value" | "InvalidBase58Value" | "InvalidBase64Value" | "InvalidSs58Value" | "InvalidForkVersionLength" | "InvalidEthAddress" | "InvalidStellarAddress" | "InvalidOrgNameOrId" | "InvalidUpdateOrgRequestDisallowedMfaType" | "InvalidUpdateOrgRequestEmptyAllowedMfaTypes" | "EmailOtpDelayTooShortForRegisterMfa" | "InvalidStakeDeposit" | "InvalidBlobSignRequest" | "InvalidDiffieHellmanRequest" | "InvalidSolanaSignRequest" | "InvalidEip712SignRequest" | "InvalidEip7702SignRequest" | "OnlySpecifyOne" | "IncompatibleParams" | "NoOidcDataInProof" | "InvalidEvmSignRequest" | "InvalidEth2SignRequest" | "InvalidDeriveKeyRequest" | "InvalidStakingAmount" | "CustomStakingAmountNotAllowedForWrapperContract" | "InvalidUnstakeRequest" | "InvalidCreateUserRequest" | "UserAlreadyExists" | "IdpUserAlreadyExists" | "CognitoUserAlreadyOrgMember" | "UserNotFound" | "UserWithEmailNotFound" | "PolicyKeyMismatch" | "EmptyScopes" | "InvalidScopesForRoleSession" | "InvalidLifetime" | "NoSingleKeyForUser" | "InvalidOrgPolicyRule" | "SourceIpAllowlistEmpty" | "LimitWindowTooLong" | "Erc20ContractDisallowed" | "EmptyRuleError" | "PolicyFieldValidationError" | "OptionalListEmpty" | "MultipleExclusiveFieldsProvided" | "DuplicateFieldEntry" | "InvalidRange" | "InvalidOrgPolicyRepeatedRule" | "InvalidSuiTransaction" | "SuiSenderMismatch" | "AvaSignHashError" | "AvaSignError" | "BtcSegwitHashError" | "BtcTaprootHashError" | "BtcSignError" | "TaprootSignError" | "Eip712SignError" | "InvalidMemberRoleInUserAdd" | "InvalidMemberRoleInRecipientAdd" | "ThirdPartyUserAlreadyExists" | "OidcIdentityAlreadyExists" | "UserAlreadyHasIdentity" | "ThirdPartyUserNotFound" | "DeleteOidcUserError" | "DeleteUserError" | "SessionRoleMismatch" | "InvalidOidcToken" | "InvalidOidcIdentity" | "OidcIssuerUnsupported" | "OidcIssuerNotAllowed" | "OidcIssuerNoApplicableJwk" | "FidoKeyAlreadyRegistered" | "FidoKeySignCountTooLow" | "FidoVerificationFailed" | "FidoChallengeMfaMismatch" | "UnsupportedLegacyCognitoSession" | "InvalidIdentityProof" | "PaginationDataExpired" | "ExistingKeysViolateExclusiveKeyAccess" | "ExportDelayTooShort" | "ExportWindowTooLong" | "InvalidTotpFailureLimit" | "InvalidEip191SignRequest" | "CannotResendUserInvitation" | "InvalidNotificationEndpointCount" | "CannotDeletePendingSubscription" | "InvalidNotificationUrlProtocol" | "EmptyOneOfOrgEventFilter" | "EmptyAllExceptOrgEventFilter" | "InvalidTapNodeHash" | "InvalidOneTimeCode" | "MessageNotFound" | "MessageAlreadySigned" | "MessageRejected" | "MessageReplaced" | "InvalidMessageType" | "EmptyAddress" | "InvalidEth2SigningPolicySlotRange" | "InvalidEth2SigningPolicyEpochRange" | "InvalidEth2SigningPolicyTimestampRange" | "InvalidEth2SigningPolicyOverlappingRule" | "RpcUrlMissing" | "MmiChainIdMissing" | "EthersInvalidRpcUrl" | "EthersGetTransactionCountError" | "InvalidPassword" | "BabylonStakingFeePlusDustOverflow" | "BabylonStaking" | "BabylonStakingIncorrectKey" | "BabylonStakingSegwitNonDeposit" | "BabylonStakingRegistrationRequiresTaproot" | "PsbtSigning" | "TooManyResets" | "TooManyRequests" | "TooManyFailedLogins" | "BadBtcMessageSignP2shFlag" | "InvalidTendermintRequest" | "PolicyVersionMaxReached" | "PolicyVersionInvalid" | "PolicySecretLimitReached" | "PolicySecretTooLarge" | "InvalidRandomSecretLength" | "InvalidImportKey" | "AlienOwnerInvalid" | "EmptyUpdateRequest" | "InvalidPolicyReference" | "PolicyEngineDisabled" | "InvalidWasmPolicy" | "CelProgramTooLarge" | "InvalidPolicy" | "RedundantDerivationPath" | "ImportKeyMissing" | "InvalidAbiMethods" | "BabylonCovSign" | "InvalidPolicyLogsRequest" | "UserProfileMigrationMultipleEntries" | "UserProfileMigrationTooManyItems" | "InputTooShort" | "InvalidTweakLength" | "InvalidCustomChains" | "InvalidRpcRequest" | "InvalidAclEntry";
|
|
2852
2853
|
BillingArgs: {
|
|
2853
2854
|
billing_org: components["schemas"]["Id"];
|
|
2854
2855
|
event_type: components["schemas"]["BillingEvent"];
|
|
@@ -2865,7 +2866,7 @@ export interface components {
|
|
|
2865
2866
|
* @description Billing event types.
|
|
2866
2867
|
* @enum {string}
|
|
2867
2868
|
*/
|
|
2868
|
-
BillingEvent: "
|
|
2869
|
+
BillingEvent: "mmi" | "mmiMessageGet" | "mmiMessageList" | "mmiMessageSign" | "mmiMessageReject" | "mmiMessageDelete" | "aboutMe" | "userResetEmailInit" | "userResetEmailComplete" | "userDeleteTotp" | "userResetTotpInit" | "userResetTotpComplete" | "userVerifyTotp" | "userRegisterFidoInit" | "userRegisterFidoComplete" | "userDeleteFido" | "createProofOidc" | "createProofCubeSigner" | "verifyProof" | "addOidcIdentity" | "removeOidcIdentity" | "listOidcIdentities" | "getOrg" | "updateOrg" | "getOrgExport" | "createOrg" | "listKeysInOrg" | "attestKey" | "getKeyInOrg" | "getKeyByMaterialId" | "listKeyRoles" | "updateKey" | "listHistoricalKeyTx" | "invite" | "cancelInvitation" | "listInvitations" | "listUsersInOrg" | "getUserInOrg" | "getUserInOrgByEmail" | "getUserInOrgByOidc" | "updateUserMembership" | "resetMemberMfa" | "completeResetMemberMfa" | "createRole" | "attestRole" | "getRole" | "listTokenKeys" | "listRoles" | "getRoleKey" | "listRoleKeys" | "listRoleUsers" | "updateRole" | "deleteRole" | "configureEmail" | "getEmailConfig" | "deleteEmailConfig" | "listHistoricalRoleTx" | "createPolicy" | "getPolicy" | "listPolicies" | "deletePolicy" | "updatePolicy" | "invokePolicy" | "getPolicyLogs" | "uploadWasmPolicy" | "getPolicySecrets" | "updatePolicySecrets" | "setPolicySecret" | "deletePolicySecret" | "createPolicyImportKey" | "getPolicyBucket" | "listPolicyBuckets" | "updatePolicyBucket" | "userExportDelete" | "userExportList" | "userExportInit" | "userExportComplete" | "addUserToRole" | "removeUserFromRole" | "mfaApproveCs" | "mfaRejectCs" | "mfaGet" | "mfaList" | "addKeysToRole" | "removeKeyFromRole" | "createRoleToken" | "createSession" | "revokeSession" | "revokeCurrentSession" | "revokeSessions" | "listSessions" | "getSession" | "signerSessionRefresh" | "mfaApproveTotp" | "mfaRejectTotp" | "mfaFidoInit" | "mfaApproveFidoComplete" | "mfaRejectFidoComplete" | "mfaEmailInit" | "mfaEmailComplete" | "cube3signerHeartbeat" | "createContact" | "getContact" | "listContacts" | "deleteContact" | "updateContact" | "lookupContactsByAddress" | "queryMetrics" | "queryAuditLog" | "counts" | "createKey" | "importKey" | "createKeyImportKey" | "deriveKey" | "deleteKey" | "avaSign" | "avaSerializedTxSign" | "babylonRegistration" | "babylonStaking" | "babylonCovSign" | "binanceSign" | "bybitSign" | "coinbaseSign" | "blobSign" | "btcMessageSign" | "btcSign" | "diffieHellmanExchange" | "psbtSign" | "psbtLegacyInputSign" | "psbtSegwitInputSign" | "psbtTaprootInputSign" | "btcTaprootSign" | "eip712Sign" | "eip191Sign" | "eip7702Sign" | "eth1Sign" | "eth2Sign" | "solanaSign" | "suiSign" | "tendermintSign" | "stake" | "unstake" | "passkeyAuthInit" | "passkeyAuthComplete" | "oidcAuth" | "oauth2Twitter" | "oauth2TokenRefresh" | "emailOtpAuth" | "siweInit" | "siweComplete" | "siwsInit" | "siwsComplete" | "telegramAuth" | "createOidcUser" | "deleteOidcUser" | "deleteUser" | "createEotsNonces" | "eotsSign" | "authMigrationIdentityAdd" | "authMigrationIdentityRemove" | "authMigrationUserUpdate" | "keyCreated" | "keyImported" | "invitationAccept" | "idpAuthenticate" | "idpPasswordResetRequest" | "idpPasswordResetConfirm" | "rpcApi" | "rpcCreateTransaction" | "rpcGetTransaction" | "rpcListTransactions" | "rpcBtcListUtxos" | "rpcRetryTransaction" | "rpcCancelTransaction" | "rpcBinance" | "rpcBybit" | "rpcCoinbase" | "customChainRpcCall" | "esploraApiCall" | "sentryApiCall" | "sentryApiCallPublic" | "mmiJwkSet" | "attestationJwkSet" | "userOrgs" | "public_org_info" | "email_my_orgs";
|
|
2869
2870
|
/** @description Parameters envelope for all Binance RPC methods. */
|
|
2870
2871
|
BinanceAccountInfoParams: components["schemas"]["AccountInfoRequest"] & {
|
|
2871
2872
|
dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
|
|
@@ -3017,6 +3018,10 @@ export interface components {
|
|
|
3017
3018
|
/** @enum {string} */
|
|
3018
3019
|
method: "cs_binanceCoinInfo";
|
|
3019
3020
|
params: components["schemas"]["BinanceCoinInfoParams"];
|
|
3021
|
+
} | {
|
|
3022
|
+
/** @enum {string} */
|
|
3023
|
+
method: "cs_binanceSubAccountDepositAddress";
|
|
3024
|
+
params: components["schemas"]["BinanceSubAccountDepositAddressParams"];
|
|
3020
3025
|
};
|
|
3021
3026
|
/** @description Response returned by the typed `binance_sign` endpoint. */
|
|
3022
3027
|
BinanceSignResponse: {
|
|
@@ -3042,6 +3047,18 @@ export interface components {
|
|
|
3042
3047
|
recvWindow?: number | null;
|
|
3043
3048
|
};
|
|
3044
3049
|
/** @description Parameters envelope for all Binance RPC methods. */
|
|
3050
|
+
BinanceSubAccountDepositAddressParams: components["schemas"]["SubAccountDepositAddressRequest"] & {
|
|
3051
|
+
dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
|
|
3052
|
+
keyId: components["schemas"]["Id"];
|
|
3053
|
+
/**
|
|
3054
|
+
* Format: float
|
|
3055
|
+
* @description Optional "receive window", i.e., for how long the request stays valid.
|
|
3056
|
+
* May only be specified in milliseconds, with up to three decimal places of precision.
|
|
3057
|
+
* If omitted, defaults to 10000. Must not be greater than 60000.
|
|
3058
|
+
*/
|
|
3059
|
+
recvWindow?: number | null;
|
|
3060
|
+
};
|
|
3061
|
+
/** @description Parameters envelope for all Binance RPC methods. */
|
|
3045
3062
|
BinanceSubAccountTransferHistoryParams: components["schemas"]["SubAccountTransferHistoryRequest"] & {
|
|
3046
3063
|
dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
|
|
3047
3064
|
keyId: components["schemas"]["Id"];
|
|
@@ -3731,6 +3748,47 @@ export interface components {
|
|
|
3731
3748
|
/** @description Coin symbol the deposit addresses are for (e.g. `USDT`). */
|
|
3732
3749
|
coin: string;
|
|
3733
3750
|
};
|
|
3751
|
+
/**
|
|
3752
|
+
* @description Parameters envelope for all Bybit RPC variants whose payload schema is
|
|
3753
|
+
* derived from a `*Request` struct. (`BybitQueryUserParams` and
|
|
3754
|
+
* `BybitQuerySubMembersParams` have no per-variant payload and are defined
|
|
3755
|
+
* directly below.)
|
|
3756
|
+
*/
|
|
3757
|
+
BybitQuerySubDepositAddressParams: components["schemas"]["BybitQuerySubDepositAddressRequest"] & {
|
|
3758
|
+
dryRun?: components["schemas"]["BybitDryRunMode"] | null;
|
|
3759
|
+
keyId: components["schemas"]["Id"];
|
|
3760
|
+
/**
|
|
3761
|
+
* Format: int32
|
|
3762
|
+
* @description Optional "receive window", i.e., for how long the request stays valid.
|
|
3763
|
+
* Specified in milliseconds. If omitted, defaults to 10000.
|
|
3764
|
+
*/
|
|
3765
|
+
recvWindow?: number | null;
|
|
3766
|
+
};
|
|
3767
|
+
/** @description Parameters for `GET /v5/asset/deposit/query-sub-member-address`. */
|
|
3768
|
+
BybitQuerySubDepositAddressRequest: {
|
|
3769
|
+
/**
|
|
3770
|
+
* @description Short chain code, as returned in the `chain` field of
|
|
3771
|
+
* [`BybitRpc::QueryCoinInfo`] (e.g. `"ETH"`, `"TRX"`).
|
|
3772
|
+
*/
|
|
3773
|
+
chainType: string;
|
|
3774
|
+
/** @description Coin symbol, uppercase only (e.g. `"USDT"`). */
|
|
3775
|
+
coin: string;
|
|
3776
|
+
/** @description UID of the sub-account whose deposit address to fetch. */
|
|
3777
|
+
subMemberId: string;
|
|
3778
|
+
};
|
|
3779
|
+
/**
|
|
3780
|
+
* @description Response of `GET /v5/asset/deposit/query-sub-member-address`.
|
|
3781
|
+
*
|
|
3782
|
+
* NOTE: unlike the master-account `query-address` endpoint (modelled by
|
|
3783
|
+
* [`BybitQueryDepositAddressResponse`]), Bybit returns `chains` here as a
|
|
3784
|
+
* single object rather than an array — the request pins one `chainType`, so
|
|
3785
|
+
* there is only ever one chain to report.
|
|
3786
|
+
*/
|
|
3787
|
+
BybitQuerySubDepositAddressResponse: {
|
|
3788
|
+
chains: components["schemas"]["BybitDepositChain"];
|
|
3789
|
+
/** @description Coin symbol the deposit address is for (e.g. `USDT`). */
|
|
3790
|
+
coin: string;
|
|
3791
|
+
};
|
|
3734
3792
|
/**
|
|
3735
3793
|
* @description Parameters for [`BybitRpc::QuerySubMembers`].
|
|
3736
3794
|
*
|
|
@@ -3789,6 +3847,56 @@ export interface components {
|
|
|
3789
3847
|
vipLevel?: string | null;
|
|
3790
3848
|
[key: string]: unknown;
|
|
3791
3849
|
};
|
|
3850
|
+
/**
|
|
3851
|
+
* @description Parameters envelope for all Bybit RPC variants whose payload schema is
|
|
3852
|
+
* derived from a `*Request` struct. (`BybitQueryUserParams` and
|
|
3853
|
+
* `BybitQuerySubMembersParams` have no per-variant payload and are defined
|
|
3854
|
+
* directly below.)
|
|
3855
|
+
*/
|
|
3856
|
+
BybitQueryWithdrawAddressParams: components["schemas"]["BybitQueryWithdrawAddressRequest"] & {
|
|
3857
|
+
dryRun?: components["schemas"]["BybitDryRunMode"] | null;
|
|
3858
|
+
keyId: components["schemas"]["Id"];
|
|
3859
|
+
/**
|
|
3860
|
+
* Format: int32
|
|
3861
|
+
* @description Optional "receive window", i.e., for how long the request stays valid.
|
|
3862
|
+
* Specified in milliseconds. If omitted, defaults to 10000.
|
|
3863
|
+
*/
|
|
3864
|
+
recvWindow?: number | null;
|
|
3865
|
+
};
|
|
3866
|
+
/** @description Parameters for `GET /v5/asset/withdraw/query-address`. */
|
|
3867
|
+
BybitQueryWithdrawAddressRequest: {
|
|
3868
|
+
/**
|
|
3869
|
+
* Format: int32
|
|
3870
|
+
* @description Filter by address category: `0` on-chain, `1` internal transfer, `2`
|
|
3871
|
+
* both. Bybit returns every category when omitted.
|
|
3872
|
+
*/
|
|
3873
|
+
addressType?: number | null;
|
|
3874
|
+
/** @description Filter by short chain code (e.g. `"ETH"`, `"TRX"`). */
|
|
3875
|
+
chain?: string | null;
|
|
3876
|
+
/**
|
|
3877
|
+
* @description Filter by coin symbol (uppercase). Bybit also accepts the coin's
|
|
3878
|
+
* `baseCoin` here, which matches addresses whitelisted for every chain of
|
|
3879
|
+
* that coin.
|
|
3880
|
+
*/
|
|
3881
|
+
coin?: string | null;
|
|
3882
|
+
/** @description Pagination cursor (the `nextPageCursor` from a prior response). */
|
|
3883
|
+
cursor?: string | null;
|
|
3884
|
+
/**
|
|
3885
|
+
* Format: int32
|
|
3886
|
+
* @description Page size, `[1, 50]`. Defaults to 50.
|
|
3887
|
+
*/
|
|
3888
|
+
limit?: number | null;
|
|
3889
|
+
};
|
|
3890
|
+
/** @description Response of `GET /v5/asset/withdraw/query-address`. */
|
|
3891
|
+
BybitQueryWithdrawAddressResponse: {
|
|
3892
|
+
/**
|
|
3893
|
+
* @description Opaque cursor to pass back as `cursor` on the next request; absent on
|
|
3894
|
+
* the last page.
|
|
3895
|
+
*/
|
|
3896
|
+
nextPageCursor?: string | null;
|
|
3897
|
+
/** @description Whitelisted withdrawal addresses matching the query. */
|
|
3898
|
+
rows: components["schemas"]["BybitWithdrawAddressEntry"][];
|
|
3899
|
+
};
|
|
3792
3900
|
/**
|
|
3793
3901
|
* @description Bybit-family RPC methods. Each variant authenticates as the
|
|
3794
3902
|
* [`KeyType::HmacSha256Bybit`] key in its `params.key_id` (which must carry
|
|
@@ -3834,6 +3942,14 @@ export interface components {
|
|
|
3834
3942
|
/** @enum {string} */
|
|
3835
3943
|
method: "cs_bybitUniversalTransferHistory";
|
|
3836
3944
|
params: components["schemas"]["BybitUniversalTransferHistoryParams"];
|
|
3945
|
+
} | {
|
|
3946
|
+
/** @enum {string} */
|
|
3947
|
+
method: "cs_bybitQueryWithdrawAddress";
|
|
3948
|
+
params: components["schemas"]["BybitQueryWithdrawAddressParams"];
|
|
3949
|
+
} | {
|
|
3950
|
+
/** @enum {string} */
|
|
3951
|
+
method: "cs_bybitQuerySubDepositAddress";
|
|
3952
|
+
params: components["schemas"]["BybitQuerySubDepositAddressParams"];
|
|
3837
3953
|
};
|
|
3838
3954
|
/** @description Response returned by the typed `bybit_sign` endpoint. */
|
|
3839
3955
|
BybitSignResponse: {
|
|
@@ -4037,6 +4153,41 @@ export interface components {
|
|
|
4037
4153
|
*/
|
|
4038
4154
|
transferId: string;
|
|
4039
4155
|
};
|
|
4156
|
+
/** @description One entry in [`BybitQueryWithdrawAddressResponse::rows`]. */
|
|
4157
|
+
BybitWithdrawAddressEntry: {
|
|
4158
|
+
/** @description The whitelisted destination address. */
|
|
4159
|
+
address: string;
|
|
4160
|
+
/**
|
|
4161
|
+
* Format: int32
|
|
4162
|
+
* @description Address category: `0` on-chain, `1` internal transfer, `2` both.
|
|
4163
|
+
*/
|
|
4164
|
+
addressType?: number | null;
|
|
4165
|
+
/** @description Short chain code (e.g. `ETH`, `TRX`). */
|
|
4166
|
+
chain: string;
|
|
4167
|
+
/** @description Coin symbol, uppercase (e.g. `USDT`). */
|
|
4168
|
+
coin: string;
|
|
4169
|
+
/** @description Creation timestamp, in milliseconds since epoch (as a string). */
|
|
4170
|
+
createdAt?: string | null;
|
|
4171
|
+
/** @description User-supplied label for this address-book entry. */
|
|
4172
|
+
remark?: string | null;
|
|
4173
|
+
/**
|
|
4174
|
+
* Format: int32
|
|
4175
|
+
* @description Entry state: `0` normal, `1` newly added (Bybit blocks withdrawals to
|
|
4176
|
+
* it for 24 hours).
|
|
4177
|
+
*/
|
|
4178
|
+
status?: number | null;
|
|
4179
|
+
/**
|
|
4180
|
+
* @description Memo / tag for chains that use one (e.g. XRP, EOS). Empty for chains
|
|
4181
|
+
* that don't.
|
|
4182
|
+
*/
|
|
4183
|
+
tag?: string | null;
|
|
4184
|
+
/**
|
|
4185
|
+
* Format: int32
|
|
4186
|
+
* @description Whether the address has been verified: `0` unverified, `1` verified.
|
|
4187
|
+
*/
|
|
4188
|
+
verified?: number | null;
|
|
4189
|
+
[key: string]: unknown;
|
|
4190
|
+
};
|
|
4040
4191
|
/** @description One entry in [`BybitWithdrawalsResponse::rows`]. */
|
|
4041
4192
|
BybitWithdrawEntry: {
|
|
4042
4193
|
/** @description Withdrawal amount as a decimal string. */
|
|
@@ -4750,8 +4901,6 @@ export interface components {
|
|
|
4750
4901
|
keys: components["schemas"]["KeyInfo"][];
|
|
4751
4902
|
};
|
|
4752
4903
|
CreateOrgRequest: {
|
|
4753
|
-
/** @description Whether to enable metrics for the new organization */
|
|
4754
|
-
metrics_enabled?: boolean;
|
|
4755
4904
|
/**
|
|
4756
4905
|
* @description The human readable name of the new organization
|
|
4757
4906
|
* @example My Cool Org
|
|
@@ -5955,7 +6104,7 @@ export interface components {
|
|
|
5955
6104
|
* @description Explicitly named scopes for accessing CubeSigner APIs
|
|
5956
6105
|
* @enum {string}
|
|
5957
6106
|
*/
|
|
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" | "sign:auto" | "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";
|
|
6107
|
+
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:binance:subAccountDepositAddress" | "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:bybit:queryWithdrawAddress" | "sign:bybit:querySubDepositAddress" | "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" | "sign:auto" | "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";
|
|
5959
6108
|
/**
|
|
5960
6109
|
* @description This type specifies the interpretation of the `fee` field in Babylon
|
|
5961
6110
|
* staking requests. If `sats`, the field is intpreted as a fixed value
|
|
@@ -6429,7 +6578,7 @@ export interface components {
|
|
|
6429
6578
|
result?: Record<string, unknown> | null;
|
|
6430
6579
|
};
|
|
6431
6580
|
/** @description Valid `result` from the JSON-RPC API. */
|
|
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"];
|
|
6581
|
+
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"]["SubAccountDepositAddressResponse"] | 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"]["BybitQueryWithdrawAddressResponse"] | components["schemas"]["BybitQuerySubDepositAddressResponse"] | components["schemas"]["CoinbaseListAccountsResponse"] | components["schemas"]["CoinbaseListPortfoliosResponse"] | components["schemas"]["CoinbaseMoveFundsResponse"] | components["schemas"]["BtcListUtxosResponse"];
|
|
6433
6582
|
JwkSetResponse: {
|
|
6434
6583
|
/** @description The keys included in this set */
|
|
6435
6584
|
keys: Record<string, never>[];
|
|
@@ -7052,7 +7201,7 @@ export interface components {
|
|
|
7052
7201
|
* @description All different kinds of sensitive operations
|
|
7053
7202
|
* @enum {string}
|
|
7054
7203
|
*/
|
|
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";
|
|
7204
|
+
OperationKind: "AvaSign" | "AvaChainTxSign" | "BabylonCovSign" | "BabylonRegistration" | "BabylonStaking" | "BinanceSubToMaster" | "BinanceSubToSub" | "BinanceUniversalTransfer" | "BinanceSubAccountAssets" | "BinanceAccountInfo" | "BinanceSubAccountTransferHistory" | "BinanceUniversalTransferHistory" | "BinanceWithdraw" | "BinanceWithdrawHistory" | "BinanceDeposit" | "BinanceDepositHistory" | "BinanceListSubAccounts" | "BinanceCoinInfo" | "BinanceSubAccountDepositAddress" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "BybitQueryUser" | "BybitQuerySubMembers" | "BybitQueryCoinsBalance" | "BybitQueryDepositAddress" | "BybitUniversalTransfer" | "BybitWithdraw" | "BybitWithdrawals" | "BybitQueryCoinInfo" | "BybitDepositHistory" | "BybitUniversalTransferHistory" | "BybitQueryWithdrawAddress" | "BybitQuerySubDepositAddress" | "CoinbaseListAccounts" | "CoinbaseListPortfolios" | "CoinbaseMoveFunds" | "DiffieHellman" | "PsbtSign" | "TaprootSign" | "Eip191Sign" | "Eip712Sign" | "Eip7702Sign" | "EotsNonces" | "EotsSign" | "Eth1Sign" | "Eth2Sign" | "Eth2Stake" | "Eth2Unstake" | "SolanaSign" | "SuiSign" | "TendermintSign" | "RoleUpdate";
|
|
7056
7205
|
OrgAlertsPrefs: {
|
|
7057
7206
|
/** @description Recipient users for org-level alerts */
|
|
7058
7207
|
alert_recipients?: components["schemas"]["Id"][] | null;
|
|
@@ -7360,8 +7509,6 @@ export interface components {
|
|
|
7360
7509
|
* @description How many 'unstake' calls happened on the day when `last_unstake` was performed.
|
|
7361
7510
|
*/
|
|
7362
7511
|
last_unstake_day_count: number;
|
|
7363
|
-
/** @description Whether metrics are collected for this org */
|
|
7364
|
-
metrics_enabled?: boolean;
|
|
7365
7512
|
/**
|
|
7366
7513
|
* @description The human-readable name for the org
|
|
7367
7514
|
* @example my_org_name
|
|
@@ -8720,7 +8867,13 @@ export interface components {
|
|
|
8720
8867
|
acl?: unknown[] | null;
|
|
8721
8868
|
/** @description The name of the secret. */
|
|
8722
8869
|
name: string;
|
|
8870
|
+
provenance: components["schemas"]["SecretProvenance"];
|
|
8723
8871
|
};
|
|
8872
|
+
/**
|
|
8873
|
+
* @description Where a policy secret's value came from.
|
|
8874
|
+
* @enum {string}
|
|
8875
|
+
*/
|
|
8876
|
+
SecretProvenance: "Imported" | "Generated";
|
|
8724
8877
|
/** @description The value of a policy secret. */
|
|
8725
8878
|
SecretValue: OneOf<[
|
|
8726
8879
|
string,
|
|
@@ -8740,6 +8893,17 @@ export interface components {
|
|
|
8740
8893
|
* This is a base64-encoded byte string.
|
|
8741
8894
|
*/
|
|
8742
8895
|
salt: string;
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
/**
|
|
8899
|
+
* @description The number of random bytes to generate.
|
|
8900
|
+
* The secret value is the base64 encoding of those bytes, so it is
|
|
8901
|
+
* `4 * ceil(generate_random_bytes / 3)` characters long.
|
|
8902
|
+
*
|
|
8903
|
+
* Must be between 1 and
|
|
8904
|
+
* [MAX_RANDOM_SECRET_BYTES](secrets::MAX_RANDOM_SECRET_BYTES).
|
|
8905
|
+
*/
|
|
8906
|
+
generate_random_bytes: number;
|
|
8743
8907
|
}
|
|
8744
8908
|
]>;
|
|
8745
8909
|
SessionInfo: components["schemas"]["SessionMetadata"] & {
|
|
@@ -9158,6 +9322,51 @@ export interface components {
|
|
|
9158
9322
|
*/
|
|
9159
9323
|
balances: components["schemas"]["SubAccountAsset"][];
|
|
9160
9324
|
};
|
|
9325
|
+
/**
|
|
9326
|
+
* @description Parameters for `GET /sapi/v1/capital/deposit/subAddress`.
|
|
9327
|
+
*
|
|
9328
|
+
* Fetches the deposit address for `coin` on the sub-account identified by
|
|
9329
|
+
* `email`. Master-account keys only; use [`DepositRequest`] for the calling
|
|
9330
|
+
* account's own address.
|
|
9331
|
+
*/
|
|
9332
|
+
SubAccountDepositAddressRequest: {
|
|
9333
|
+
/**
|
|
9334
|
+
* @description Required only when `network` is `"LIGHTNING"`: the deposit amount that
|
|
9335
|
+
* the returned invoice should encode, as a decimal string.
|
|
9336
|
+
*/
|
|
9337
|
+
amount?: string | null;
|
|
9338
|
+
/** @description The asset symbol whose deposit address to fetch (e.g. `"USDT"`, `"BTC"`). */
|
|
9339
|
+
coin: string;
|
|
9340
|
+
/** @description Email of the sub-account whose deposit address to fetch. */
|
|
9341
|
+
email: string;
|
|
9342
|
+
/**
|
|
9343
|
+
* @description Network identifier (e.g. `"BSC"`, `"ETH"`). If omitted, Binance returns
|
|
9344
|
+
* the address on the asset's default network. Valid values are the
|
|
9345
|
+
* networks listed by [`BinanceRpc::CoinInfo`].
|
|
9346
|
+
*/
|
|
9347
|
+
network?: string | null;
|
|
9348
|
+
};
|
|
9349
|
+
/**
|
|
9350
|
+
* @description Response returned by `cs_binanceSubAccountDepositAddress`.
|
|
9351
|
+
*
|
|
9352
|
+
* Same shape as [`DepositResponse`], but kept as a distinct type: `tag`/`url`
|
|
9353
|
+
* are modelled as optional here, and [`crate::response::JsonRpcResult`] is
|
|
9354
|
+
* `untagged` + `derive_more::From`, so two variants cannot share a payload
|
|
9355
|
+
* type.
|
|
9356
|
+
*/
|
|
9357
|
+
SubAccountDepositAddressResponse: {
|
|
9358
|
+
/** @description The sub-account's deposit address. */
|
|
9359
|
+
address: string;
|
|
9360
|
+
/** @description Asset symbol (echoes the request's `coin` field). */
|
|
9361
|
+
coin: string;
|
|
9362
|
+
/**
|
|
9363
|
+
* @description Secondary address identifier required by some assets (e.g. memo for
|
|
9364
|
+
* XRP, tag for XLM). Empty string when the asset does not use one.
|
|
9365
|
+
*/
|
|
9366
|
+
tag?: string | null;
|
|
9367
|
+
/** @description Blockchain explorer URL for `address`. */
|
|
9368
|
+
url?: string | null;
|
|
9369
|
+
};
|
|
9161
9370
|
/** @description One sub-account entry in [`ListSubAccountsResponse`]. */
|
|
9162
9371
|
SubAccountInfo: {
|
|
9163
9372
|
/**
|
|
@@ -11548,8 +11757,6 @@ export interface components {
|
|
|
11548
11757
|
* @description How many 'unstake' calls happened on the day when `last_unstake` was performed.
|
|
11549
11758
|
*/
|
|
11550
11759
|
last_unstake_day_count: number;
|
|
11551
|
-
/** @description Whether metrics are collected for this org */
|
|
11552
|
-
metrics_enabled?: boolean;
|
|
11553
11760
|
/**
|
|
11554
11761
|
* @description The human-readable name for the org
|
|
11555
11762
|
* @example my_org_name
|
|
@@ -14525,7 +14732,8 @@ export interface operations {
|
|
|
14525
14732
|
* List pending invitations
|
|
14526
14733
|
* @description List pending invitations
|
|
14527
14734
|
*
|
|
14528
|
-
* Returns all pending
|
|
14735
|
+
* Returns all pending invitations for the organization, i.e., those that have neither
|
|
14736
|
+
* been accepted nor canceled, and have not expired.
|
|
14529
14737
|
*/
|
|
14530
14738
|
listInvitations: {
|
|
14531
14739
|
parameters: {
|