@cubist-labs/cubesigner-sdk 0.4.250 → 0.4.252
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 +5 -5
- package/dist/src/key.d.ts +6 -3
- package/dist/src/key.d.ts.map +1 -1
- package/dist/src/key.js +4 -1
- package/dist/src/schema.d.ts +443 -69
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +1 -1
- package/dist/src/schema_types.d.ts +2 -0
- package/dist/src/schema_types.d.ts.map +1 -1
- package/dist/src/schema_types.js +2 -1
- package/dist/src/scopes.d.ts +8 -0
- package/dist/src/scopes.d.ts.map +1 -1
- package/dist/src/scopes.js +11 -1
- package/package.json +1 -1
- package/src/key.ts +7 -1
- package/src/schema.ts +484 -68
- package/src/schema_types.ts +3 -0
- package/src/scopes.ts +10 -0
package/dist/src/schema.d.ts
CHANGED
|
@@ -1660,19 +1660,6 @@ export interface paths {
|
|
|
1660
1660
|
*/
|
|
1661
1661
|
get: operations["userOrgs"];
|
|
1662
1662
|
};
|
|
1663
|
-
"/v1/org/{org_id}/binance/sign/{material_id}": {
|
|
1664
|
-
/**
|
|
1665
|
-
* Sign Binance RPC Request
|
|
1666
|
-
* @description Sign Binance RPC Request
|
|
1667
|
-
*
|
|
1668
|
-
* Signs a typed [`BinanceRpc`] request with the [`KeyType::Ed25519BinanceApi`]
|
|
1669
|
-
* key identified by `material_id`. The signer URL-encodes the inner request,
|
|
1670
|
-
* appends Binance's `recvWindow` and `timestamp` parameters, signs the
|
|
1671
|
-
* resulting query, and returns the full query string ready to be submitted
|
|
1672
|
-
* to Binance.
|
|
1673
|
-
*/
|
|
1674
|
-
post: operations["binanceSign"];
|
|
1675
|
-
};
|
|
1676
1663
|
"/v1/org/{org_id}/blob/sign/{key_id}": {
|
|
1677
1664
|
/**
|
|
1678
1665
|
* Sign Raw Blob
|
|
@@ -1766,12 +1753,15 @@ export interface components {
|
|
|
1766
1753
|
{
|
|
1767
1754
|
BinanceDryRun: components["schemas"]["BinanceDryRunArgs"];
|
|
1768
1755
|
},
|
|
1756
|
+
{
|
|
1757
|
+
CoinbaseDryRun: components["schemas"]["CoinbaseDryRunArgs"];
|
|
1758
|
+
},
|
|
1769
1759
|
{
|
|
1770
1760
|
MfaRequired: components["schemas"]["MfaRequiredArgs"];
|
|
1771
1761
|
}
|
|
1772
1762
|
]>;
|
|
1773
1763
|
/** @enum {string} */
|
|
1774
|
-
AcceptedValueCode: "SignDryRun" | "BinanceDryRun" | "MfaRequired";
|
|
1764
|
+
AcceptedValueCode: "SignDryRun" | "BinanceDryRun" | "CoinbaseDryRun" | "MfaRequired";
|
|
1775
1765
|
/**
|
|
1776
1766
|
* @description Determines who controls the keys within an org
|
|
1777
1767
|
* @enum {string}
|
|
@@ -2784,7 +2774,7 @@ export interface components {
|
|
|
2784
2774
|
/** @enum {string} */
|
|
2785
2775
|
BadGatewayErrorCode: "Generic" | "CustomChainRpcError" | "EsploraApiError" | "SentryApiError" | "CallWebhookError" | "OAuthProviderError" | "OidcDisoveryFailed" | "OidcIssuerJwkEndpointUnavailable" | "SmtpServerUnavailable";
|
|
2786
2776
|
/** @enum {string} */
|
|
2787
|
-
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" | "UserExportDerivedKey" | "UserExportPublicKeyInvalid" | "NistP256PublicKeyInvalid" | "UnableToAccessSmtpRelay" | "UserExportInProgress" | "RoleNotFound" | "InvalidRoleNameOrId" | "InvalidMfaReceiptOrgIdMissing" | "InvalidMfaReceiptInvalidOrgId" | "MfaRequestNotFound" | "InvalidKeyType" | "InvalidPropertiesForKeyType" | "MismatchedKeyPropertiesPatch" | "MissingBinanceApiKey" | "BinanceKeyMasterMismatch" | "InvalidKeyMaterial" | "InvalidHexValue" | "InvalidBase32Value" | "InvalidBase58Value" | "InvalidBase64Value" | "InvalidSs58Value" | "InvalidForkVersionLength" | "InvalidEthAddress" | "InvalidStellarAddress" | "InvalidOrgNameOrId" | "InvalidUpdateOrgRequestDisallowedMfaType" | "InvalidUpdateOrgRequestEmptyAllowedMfaTypes" | "EmailOtpDelayTooShortForRegisterMfa" | "InvalidStakeDeposit" | "InvalidBlobSignRequest" | "InvalidDiffieHellmanRequest" | "InvalidSolanaSignRequest" | "InvalidEip712SignRequest" | "OnlySpecifyOne" | "NoOidcDataInProof" | "InvalidEvmSignRequest" | "InvalidEth2SignRequest" | "InvalidDeriveKeyRequest" | "InvalidStakingAmount" | "CustomStakingAmountNotAllowedForWrapperContract" | "InvalidUnstakeRequest" | "InvalidCreateUserRequest" | "UserAlreadyExists" | "IdpUserAlreadyExists" | "CognitoUserAlreadyOrgMember" | "UserNotFound" | "UserWithEmailNotFound" | "PolicyKeyMismatch" | "EmptyScopes" | "InvalidScopesForRoleSession" | "InvalidLifetime" | "NoSingleKeyForUser" | "InvalidOrgPolicyRule" | "SourceIpAllowlistEmpty" | "LimitWindowTooLong" | "Erc20ContractDisallowed" | "EmptyRuleError" | "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" | "InvalidPolicy" | "RedundantDerivationPath" | "ImportKeyMissing" | "InvalidAbiMethods" | "BabylonCovSign" | "InvalidPolicyLogsRequest" | "UserProfileMigrationMultipleEntries" | "UserProfileMigrationTooManyItems" | "InputTooShort" | "InvalidTweakLength" | "InvalidCustomChains" | "InvalidRpcRequest";
|
|
2777
|
+
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" | "UserExportDerivedKey" | "UserExportPublicKeyInvalid" | "NistP256PublicKeyInvalid" | "UnableToAccessSmtpRelay" | "UserExportInProgress" | "RoleNotFound" | "InvalidRoleNameOrId" | "InvalidMfaReceiptOrgIdMissing" | "InvalidMfaReceiptInvalidOrgId" | "MfaRequestNotFound" | "InvalidKeyType" | "InvalidPropertiesForKeyType" | "MismatchedKeyPropertiesPatch" | "MissingBinanceApiKey" | "MissingCoinbaseApiKey" | "BinanceKeyMasterMismatch" | "InvalidKeyMaterial" | "InvalidHexValue" | "InvalidBase32Value" | "InvalidBase58Value" | "InvalidBase64Value" | "InvalidSs58Value" | "InvalidForkVersionLength" | "InvalidEthAddress" | "InvalidStellarAddress" | "InvalidOrgNameOrId" | "InvalidUpdateOrgRequestDisallowedMfaType" | "InvalidUpdateOrgRequestEmptyAllowedMfaTypes" | "EmailOtpDelayTooShortForRegisterMfa" | "InvalidStakeDeposit" | "InvalidBlobSignRequest" | "InvalidDiffieHellmanRequest" | "InvalidSolanaSignRequest" | "InvalidEip712SignRequest" | "OnlySpecifyOne" | "NoOidcDataInProof" | "InvalidEvmSignRequest" | "InvalidEth2SignRequest" | "InvalidDeriveKeyRequest" | "InvalidStakingAmount" | "CustomStakingAmountNotAllowedForWrapperContract" | "InvalidUnstakeRequest" | "InvalidCreateUserRequest" | "UserAlreadyExists" | "IdpUserAlreadyExists" | "CognitoUserAlreadyOrgMember" | "UserNotFound" | "UserWithEmailNotFound" | "PolicyKeyMismatch" | "EmptyScopes" | "InvalidScopesForRoleSession" | "InvalidLifetime" | "NoSingleKeyForUser" | "InvalidOrgPolicyRule" | "SourceIpAllowlistEmpty" | "LimitWindowTooLong" | "Erc20ContractDisallowed" | "EmptyRuleError" | "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" | "InvalidPolicy" | "RedundantDerivationPath" | "ImportKeyMissing" | "InvalidAbiMethods" | "BabylonCovSign" | "InvalidPolicyLogsRequest" | "UserProfileMigrationMultipleEntries" | "UserProfileMigrationTooManyItems" | "InputTooShort" | "InvalidTweakLength" | "InvalidCustomChains" | "InvalidRpcRequest";
|
|
2788
2778
|
BillingArgs: {
|
|
2789
2779
|
billing_org: components["schemas"]["Id"];
|
|
2790
2780
|
event_type: components["schemas"]["BillingEvent"];
|
|
@@ -2801,7 +2791,7 @@ export interface components {
|
|
|
2801
2791
|
* @description Billing event types.
|
|
2802
2792
|
* @enum {string}
|
|
2803
2793
|
*/
|
|
2804
|
-
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" | "ListKeys" | "AttestKey" | "GetKey" | "GetKeyByMaterialId" | "ListKeyRoles" | "UpdateKey" | "ListHistoricalKeyTx" | "Invite" | "CancelInvitation" | "ListInvitations" | "ListUsers" | "GetUser" | "GetUserByEmail" | "GetUserByOidc" | "UpdateMembership" | "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" | "CreateToken" | "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" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "DiffieHellmanExchange" | "PsbtSign" | "PsbtLegacyInputSign" | "PsbtSegwitInputSign" | "PsbtTaprootInputSign" | "TaprootSign" | "Eip712Sign" | "Eip191Sign" | "Eth1Sign" | "Eth2Sign" | "SolanaSign" | "SuiSign" | "TendermintSign" | "Stake" | "Unstake" | "PasskeyAuthInit" | "PasskeyAuthComplete" | "OidcAuth" | "Oauth2Twitter" | "OAuth2TokenRefresh" | "EmailOtpAuth" | "SiweInit" | "SiweComplete" | "TelegramAuth" | "CreateOidcUser" | "DeleteOidcUser" | "DeleteUser" | "CreateEotsNonces" | "EotsSign" | "AuthMigrationIdentityAdd" | "AuthMigrationIdentityRemove" | "AuthMigrationUserUpdate" | "KeyCreated" | "KeyImported" | "InvitationAccept" | "IdpAuthenticate" | "IdpPasswordResetRequest" | "IdpPasswordResetConfirm" | "RpcApi" | "RpcCreateTransaction" | "RpcGetTransaction" | "RpcListTransactions" | "RpcRetryTransaction" | "RpcBinance" | "CustomChainRpcCall" | "EsploraApiCall" | "SentryApiCall" | "SentryApiCallPublic" | "MmiJwkSet" | "AttestationJwkSet" | "UserOrgs" | "PublicOrgInfo" | "EmailMyOrgs";
|
|
2794
|
+
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" | "ListKeys" | "AttestKey" | "GetKey" | "GetKeyByMaterialId" | "ListKeyRoles" | "UpdateKey" | "ListHistoricalKeyTx" | "Invite" | "CancelInvitation" | "ListInvitations" | "ListUsers" | "GetUser" | "GetUserByEmail" | "GetUserByOidc" | "UpdateMembership" | "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" | "CreateToken" | "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" | "CoinbaseSign" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "DiffieHellmanExchange" | "PsbtSign" | "PsbtLegacyInputSign" | "PsbtSegwitInputSign" | "PsbtTaprootInputSign" | "TaprootSign" | "Eip712Sign" | "Eip191Sign" | "Eth1Sign" | "Eth2Sign" | "SolanaSign" | "SuiSign" | "TendermintSign" | "Stake" | "Unstake" | "PasskeyAuthInit" | "PasskeyAuthComplete" | "OidcAuth" | "Oauth2Twitter" | "OAuth2TokenRefresh" | "EmailOtpAuth" | "SiweInit" | "SiweComplete" | "TelegramAuth" | "CreateOidcUser" | "DeleteOidcUser" | "DeleteUser" | "CreateEotsNonces" | "EotsSign" | "AuthMigrationIdentityAdd" | "AuthMigrationIdentityRemove" | "AuthMigrationUserUpdate" | "KeyCreated" | "KeyImported" | "InvitationAccept" | "IdpAuthenticate" | "IdpPasswordResetRequest" | "IdpPasswordResetConfirm" | "RpcApi" | "RpcCreateTransaction" | "RpcGetTransaction" | "RpcListTransactions" | "RpcRetryTransaction" | "RpcBinance" | "RpcCoinbase" | "CustomChainRpcCall" | "EsploraApiCall" | "SentryApiCall" | "SentryApiCallPublic" | "MmiJwkSet" | "AttestationJwkSet" | "UserOrgs" | "PublicOrgInfo" | "EmailMyOrgs";
|
|
2805
2795
|
/** @description Parameters envelope for all Binance RPC methods. */
|
|
2806
2796
|
BinanceAccountInfoParams: components["schemas"]["AccountInfoRequest"] & {
|
|
2807
2797
|
dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
|
|
@@ -2823,6 +2813,32 @@ export interface components {
|
|
|
2823
2813
|
is_master?: boolean | null;
|
|
2824
2814
|
/** @description Arbitrary label. Useful for storing the corresponding API key label on the Binance side. */
|
|
2825
2815
|
label?: string | null;
|
|
2816
|
+
/**
|
|
2817
|
+
* @description If this is a sub-account, this field can be used to link it to its master account
|
|
2818
|
+
* (by providing the master account email, which Binance uses as an account identifier).
|
|
2819
|
+
*/
|
|
2820
|
+
sub_of?: string | null;
|
|
2821
|
+
};
|
|
2822
|
+
/**
|
|
2823
|
+
* @description Parameters for `cs_binanceCoinInfo`.
|
|
2824
|
+
*
|
|
2825
|
+
* Binance endpoint: `GET /sapi/v1/capital/config/getall`. Returns the list
|
|
2826
|
+
* of coins supported by the calling account along with per-coin balances,
|
|
2827
|
+
* deposit/withdraw enablement, and network info. Since the endpoint takes
|
|
2828
|
+
* no parameters beyond the common `recvWindow` / `timestamp` envelope, this
|
|
2829
|
+
* struct is defined directly instead of going through the
|
|
2830
|
+
* [`BinanceParams`] generic alias.
|
|
2831
|
+
*/
|
|
2832
|
+
BinanceCoinInfoParams: {
|
|
2833
|
+
dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
|
|
2834
|
+
keyId: components["schemas"]["Id"];
|
|
2835
|
+
/**
|
|
2836
|
+
* Format: float
|
|
2837
|
+
* @description Optional "receive window", i.e., for how long the request stays valid.
|
|
2838
|
+
* May only be specified in milliseconds, with up to three decimal places of precision.
|
|
2839
|
+
* If omitted, defaults to 10000. Must not be greater than 60000.
|
|
2840
|
+
*/
|
|
2841
|
+
recvWindow?: number | null;
|
|
2826
2842
|
};
|
|
2827
2843
|
/** @description Parameters envelope for all Binance RPC methods. */
|
|
2828
2844
|
BinanceDepositParams: components["schemas"]["DepositRequest"] & {
|
|
@@ -2847,6 +2863,18 @@ export interface components {
|
|
|
2847
2863
|
* @enum {string}
|
|
2848
2864
|
*/
|
|
2849
2865
|
BinanceDryRunMode: "NO_SIGN" | "NO_SUBMIT";
|
|
2866
|
+
/** @description Parameters envelope for all Binance RPC methods. */
|
|
2867
|
+
BinanceListSubAccountsParams: components["schemas"]["ListSubAccountsRequest"] & {
|
|
2868
|
+
dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
|
|
2869
|
+
keyId: components["schemas"]["Id"];
|
|
2870
|
+
/**
|
|
2871
|
+
* Format: float
|
|
2872
|
+
* @description Optional "receive window", i.e., for how long the request stays valid.
|
|
2873
|
+
* May only be specified in milliseconds, with up to three decimal places of precision.
|
|
2874
|
+
* If omitted, defaults to 10000. Must not be greater than 60000.
|
|
2875
|
+
*/
|
|
2876
|
+
recvWindow?: number | null;
|
|
2877
|
+
};
|
|
2850
2878
|
/**
|
|
2851
2879
|
* @description Binance-family RPC methods. Each variant authenticates as the
|
|
2852
2880
|
* [`KeyType::Ed25519BinanceApi`] key in its `params.key_id`.
|
|
@@ -2891,6 +2919,14 @@ export interface components {
|
|
|
2891
2919
|
/** @enum {string} */
|
|
2892
2920
|
method: "cs_binanceDeposit";
|
|
2893
2921
|
params: components["schemas"]["BinanceDepositParams"];
|
|
2922
|
+
} | {
|
|
2923
|
+
/** @enum {string} */
|
|
2924
|
+
method: "cs_binanceListSubAccounts";
|
|
2925
|
+
params: components["schemas"]["BinanceListSubAccountsParams"];
|
|
2926
|
+
} | {
|
|
2927
|
+
/** @enum {string} */
|
|
2928
|
+
method: "cs_binanceCoinInfo";
|
|
2929
|
+
params: components["schemas"]["BinanceCoinInfoParams"];
|
|
2894
2930
|
};
|
|
2895
2931
|
/** @description Response returned by the typed `binance_sign` endpoint. */
|
|
2896
2932
|
BinanceSignResponse: {
|
|
@@ -3345,6 +3381,257 @@ export interface components {
|
|
|
3345
3381
|
client?: components["schemas"]["ClientProfile"];
|
|
3346
3382
|
os_info?: components["schemas"]["OsInfo"];
|
|
3347
3383
|
};
|
|
3384
|
+
/** @description One coin entry in [`CoinInfoResponse`]. */
|
|
3385
|
+
CoinInfoEntry: {
|
|
3386
|
+
/** @description Asset symbol (e.g. `"BTC"`, `"USDT"`). */
|
|
3387
|
+
coin: string;
|
|
3388
|
+
/** @description Whether deposits are enabled on any network for this coin. */
|
|
3389
|
+
depositAllEnable: boolean;
|
|
3390
|
+
/** @description Available balance, as a decimal string. */
|
|
3391
|
+
free: string;
|
|
3392
|
+
/** @description Balance frozen by Binance, as a decimal string. */
|
|
3393
|
+
freeze: string;
|
|
3394
|
+
/** @description Balance available to subscribe to an IPO, as a decimal string. */
|
|
3395
|
+
ipoable: string;
|
|
3396
|
+
/** @description Balance pending an IPO subscription, as a decimal string. */
|
|
3397
|
+
ipoing: string;
|
|
3398
|
+
/** @description `true` if the asset represents a fiat currency. */
|
|
3399
|
+
isLegalMoney: boolean;
|
|
3400
|
+
/** @description Balance locked in open orders, as a decimal string. */
|
|
3401
|
+
locked: string;
|
|
3402
|
+
/** @description Human-readable name (e.g. `"Bitcoin"`). */
|
|
3403
|
+
name: string;
|
|
3404
|
+
/** @description One entry per supported network for this coin. */
|
|
3405
|
+
networkList: components["schemas"]["CoinInfoNetwork"][];
|
|
3406
|
+
/** @description Balance held in long-term storage, as a decimal string. */
|
|
3407
|
+
storage: string;
|
|
3408
|
+
/** @description `true` if the asset is currently tradable on Binance. */
|
|
3409
|
+
trading: boolean;
|
|
3410
|
+
/** @description Whether withdrawals are enabled on any network for this coin. */
|
|
3411
|
+
withdrawAllEnable: boolean;
|
|
3412
|
+
/** @description Balance currently being withdrawn, as a decimal string. */
|
|
3413
|
+
withdrawing: string;
|
|
3414
|
+
};
|
|
3415
|
+
/** @description One network entry in [`CoinInfoEntry::network_list`]. */
|
|
3416
|
+
CoinInfoNetwork: {
|
|
3417
|
+
/** @description Regex describing the expected address format. */
|
|
3418
|
+
addressRegex?: string | null;
|
|
3419
|
+
/** @description `true` if the network is currently busy. */
|
|
3420
|
+
busy?: boolean | null;
|
|
3421
|
+
/** @description Asset symbol on this network. */
|
|
3422
|
+
coin: string;
|
|
3423
|
+
/** @description Two-letter country code, if applicable. */
|
|
3424
|
+
country?: string | null;
|
|
3425
|
+
/** @description Free-text deposit description. */
|
|
3426
|
+
depositDesc?: string | null;
|
|
3427
|
+
/** @description Whether deposits are enabled on this network. */
|
|
3428
|
+
depositEnable: boolean;
|
|
3429
|
+
/**
|
|
3430
|
+
* Format: int64
|
|
3431
|
+
* @description Estimated arrival time in minutes.
|
|
3432
|
+
*/
|
|
3433
|
+
estimatedArrivalTime?: number | null;
|
|
3434
|
+
/** @description Whether this is the default network for the coin. */
|
|
3435
|
+
isDefault: boolean;
|
|
3436
|
+
/** @description Regex describing the expected memo/tag format (when applicable). */
|
|
3437
|
+
memoRegex?: string | null;
|
|
3438
|
+
/**
|
|
3439
|
+
* Format: int32
|
|
3440
|
+
* @description Minimum number of confirmations before Binance credits a deposit.
|
|
3441
|
+
*/
|
|
3442
|
+
minConfirm?: number | null;
|
|
3443
|
+
/** @description Human-readable name (e.g. `"BNB Smart Chain (BEP20)"`). */
|
|
3444
|
+
name: string;
|
|
3445
|
+
/** @description Network identifier (e.g. `"BSC"`, `"ETH"`). */
|
|
3446
|
+
network: string;
|
|
3447
|
+
/** @description `true` if the deposit address is shared across users. */
|
|
3448
|
+
sameAddress?: boolean | null;
|
|
3449
|
+
/** @description Free-text special tips for users. */
|
|
3450
|
+
specialTips?: string | null;
|
|
3451
|
+
/**
|
|
3452
|
+
* Format: int32
|
|
3453
|
+
* @description Confirmations after which the deposit is unlocked for trading.
|
|
3454
|
+
*/
|
|
3455
|
+
unLockConfirm?: number | null;
|
|
3456
|
+
/** @description Free-text withdraw description. */
|
|
3457
|
+
withdrawDesc?: string | null;
|
|
3458
|
+
/** @description Whether withdrawals are enabled on this network. */
|
|
3459
|
+
withdrawEnable: boolean;
|
|
3460
|
+
/** @description Withdrawal fee, as a decimal string. */
|
|
3461
|
+
withdrawFee?: string | null;
|
|
3462
|
+
/** @description Step size for withdrawal amounts, as a decimal string. */
|
|
3463
|
+
withdrawIntegerMultiple?: string | null;
|
|
3464
|
+
/** @description Maximum withdrawal amount, as a decimal string. */
|
|
3465
|
+
withdrawMax?: string | null;
|
|
3466
|
+
/** @description Minimum withdrawal amount, as a decimal string. */
|
|
3467
|
+
withdrawMin?: string | null;
|
|
3468
|
+
};
|
|
3469
|
+
/**
|
|
3470
|
+
* @description Response returned by `cs_binanceCoinInfo`.
|
|
3471
|
+
*
|
|
3472
|
+
* Binance returns a top-level JSON array; this newtype preserves that wire
|
|
3473
|
+
* format while giving the response a named type in the OpenAPI schema.
|
|
3474
|
+
*/
|
|
3475
|
+
CoinInfoResponse: components["schemas"]["CoinInfoEntry"][];
|
|
3476
|
+
/**
|
|
3477
|
+
* @description One account entry in [`CoinbaseListAccountsResponse`]. Coinbase's account schema is
|
|
3478
|
+
* flexible; we capture the subset of fields the typed endpoint exposes today
|
|
3479
|
+
* and leave room to grow.
|
|
3480
|
+
*/
|
|
3481
|
+
CoinbaseAccount: {
|
|
3482
|
+
/** @description Whether the account is currently active. */
|
|
3483
|
+
active: boolean;
|
|
3484
|
+
available_balance: components["schemas"]["CoinbaseAmount"];
|
|
3485
|
+
/** @description Account creation time (RFC3339). */
|
|
3486
|
+
created_at?: string | null;
|
|
3487
|
+
/** @description Asset symbol (e.g. `"BTC"`, `"USD"`). */
|
|
3488
|
+
currency: string;
|
|
3489
|
+
/** @description Whether this is the primary account for the asset. */
|
|
3490
|
+
default: boolean;
|
|
3491
|
+
/** @description Soft-deletion time, if any (RFC3339). */
|
|
3492
|
+
deleted_at?: string | null;
|
|
3493
|
+
hold?: components["schemas"]["CoinbaseAmount"] | null;
|
|
3494
|
+
/** @description Human-readable name (e.g. `"BTC Wallet"`). */
|
|
3495
|
+
name: string;
|
|
3496
|
+
/** @description Ready flag (`true` after Coinbase has finished onboarding the account). */
|
|
3497
|
+
ready?: boolean | null;
|
|
3498
|
+
/** @description UUID of the portfolio this account belongs to. */
|
|
3499
|
+
retail_portfolio_id?: string | null;
|
|
3500
|
+
/**
|
|
3501
|
+
* @description Account type (e.g. `"ACCOUNT_TYPE_CRYPTO"`). Left as a string for
|
|
3502
|
+
* forward compatibility.
|
|
3503
|
+
*/
|
|
3504
|
+
type: string;
|
|
3505
|
+
/** @description Last modification time (RFC3339). */
|
|
3506
|
+
updated_at?: string | null;
|
|
3507
|
+
/** @description Account UUID. */
|
|
3508
|
+
uuid: string;
|
|
3509
|
+
};
|
|
3510
|
+
/** @description A `{ value, currency }` amount pair used throughout Coinbase responses. */
|
|
3511
|
+
CoinbaseAmount: {
|
|
3512
|
+
/** @description Asset symbol (e.g. `"USD"`, `"BTC"`). */
|
|
3513
|
+
currency: string;
|
|
3514
|
+
/**
|
|
3515
|
+
* @description Decimal-string amount (Coinbase preserves precision by not converting
|
|
3516
|
+
* to floats).
|
|
3517
|
+
*/
|
|
3518
|
+
value: string;
|
|
3519
|
+
};
|
|
3520
|
+
/**
|
|
3521
|
+
* @description Wire-format patch payload for [`KeyProperties::CoinbaseApi`].
|
|
3522
|
+
*
|
|
3523
|
+
* Every field follows the same per-field PATCH semantics: a missing field
|
|
3524
|
+
* leaves the existing value alone, a JSON `null` clears it, and a value sets it.
|
|
3525
|
+
*/
|
|
3526
|
+
CoinbaseApiPropertiesPatch: {
|
|
3527
|
+
/**
|
|
3528
|
+
* @description Identifier of the Coinbase API key this key authenticates as. Plain
|
|
3529
|
+
* (non-secret) value; appears in JWT `kid`/`sub` claims.
|
|
3530
|
+
*/
|
|
3531
|
+
api_key_id?: string | null;
|
|
3532
|
+
/** @description Coinbase portfolio name. */
|
|
3533
|
+
portfolio_name?: string | null;
|
|
3534
|
+
/** @description Coinbase portfolio UUID. */
|
|
3535
|
+
portfolio_uuid?: string | null;
|
|
3536
|
+
};
|
|
3537
|
+
CoinbaseDryRunArgs: {
|
|
3538
|
+
/** @description The Coinbase API method that would have been used */
|
|
3539
|
+
method: string;
|
|
3540
|
+
/** @description The Coinbase API url method that would have been called */
|
|
3541
|
+
url: string;
|
|
3542
|
+
};
|
|
3543
|
+
/**
|
|
3544
|
+
* @description Different "dry run" modes for executing Coinbase requests.
|
|
3545
|
+
* @enum {string}
|
|
3546
|
+
*/
|
|
3547
|
+
CoinbaseDryRunMode: "NO_SIGN" | "NO_SUBMIT";
|
|
3548
|
+
/** @description Parameters envelope for all Coinbase RPC methods. */
|
|
3549
|
+
CoinbaseListAccountsParams: components["schemas"]["ListAccountsRequest"] & {
|
|
3550
|
+
dry_run?: components["schemas"]["CoinbaseDryRunMode"] | null;
|
|
3551
|
+
key_id: components["schemas"]["Id"];
|
|
3552
|
+
};
|
|
3553
|
+
/** @description Response returned by `cs_coinbaseListAccounts`. */
|
|
3554
|
+
CoinbaseListAccountsResponse: {
|
|
3555
|
+
/** @description One entry per visible account. */
|
|
3556
|
+
accounts: components["schemas"]["CoinbaseAccount"][];
|
|
3557
|
+
/** @description Pagination cursor; pass to a follow-up request to fetch the next page. */
|
|
3558
|
+
cursor?: string | null;
|
|
3559
|
+
/** @description `true` if there are more accounts to fetch with `cursor`. */
|
|
3560
|
+
has_next: boolean;
|
|
3561
|
+
/**
|
|
3562
|
+
* Format: int32
|
|
3563
|
+
* @description Number of entries in `accounts`.
|
|
3564
|
+
*/
|
|
3565
|
+
size: number;
|
|
3566
|
+
};
|
|
3567
|
+
/** @description Parameters envelope for all Coinbase RPC methods. */
|
|
3568
|
+
CoinbaseListPortfoliosParams: components["schemas"]["ListPortfoliosRequest"] & {
|
|
3569
|
+
dry_run?: components["schemas"]["CoinbaseDryRunMode"] | null;
|
|
3570
|
+
key_id: components["schemas"]["Id"];
|
|
3571
|
+
};
|
|
3572
|
+
/** @description Response returned by `cs_coinbaseListPortfolios`. */
|
|
3573
|
+
CoinbaseListPortfoliosResponse: {
|
|
3574
|
+
/** @description One entry per visible portfolio. */
|
|
3575
|
+
portfolios: components["schemas"]["CoinbasePortfolio"][];
|
|
3576
|
+
};
|
|
3577
|
+
/** @description Parameters envelope for all Coinbase RPC methods. */
|
|
3578
|
+
CoinbaseMoveFundsParams: components["schemas"]["MoveFundsRequest"] & {
|
|
3579
|
+
dry_run?: components["schemas"]["CoinbaseDryRunMode"] | null;
|
|
3580
|
+
key_id: components["schemas"]["Id"];
|
|
3581
|
+
};
|
|
3582
|
+
/** @description Response returned by `cs_coinbaseMoveFunds`. */
|
|
3583
|
+
CoinbaseMoveFundsResponse: {
|
|
3584
|
+
/** @description Echoed source portfolio UUID. */
|
|
3585
|
+
source_portfolio_uuid: string;
|
|
3586
|
+
/** @description Echoed target portfolio UUID. */
|
|
3587
|
+
target_portfolio_uuid: string;
|
|
3588
|
+
};
|
|
3589
|
+
/** @description One portfolio entry in [`CoinbaseListPortfoliosResponse`]. */
|
|
3590
|
+
CoinbasePortfolio: {
|
|
3591
|
+
/** @description `true` if this portfolio is deleted. */
|
|
3592
|
+
deleted?: boolean;
|
|
3593
|
+
/** @description Human-readable name. */
|
|
3594
|
+
name: string;
|
|
3595
|
+
/**
|
|
3596
|
+
* @description Portfolio type, e.g. `"DEFAULT"`. Left as `String` for forward
|
|
3597
|
+
* compatibility.
|
|
3598
|
+
*/
|
|
3599
|
+
type: string;
|
|
3600
|
+
/** @description Portfolio UUID. */
|
|
3601
|
+
uuid: string;
|
|
3602
|
+
};
|
|
3603
|
+
/**
|
|
3604
|
+
* @description Coinbase-family RPC methods. Each variant authenticates as the
|
|
3605
|
+
* [`KeyType::Ed25519CoinbaseApi`] key in its `params.key_id`.
|
|
3606
|
+
*/
|
|
3607
|
+
CoinbaseRpc: OneOf<[
|
|
3608
|
+
{
|
|
3609
|
+
/** @enum {string} */
|
|
3610
|
+
method: "cs_coinbaseListAccounts";
|
|
3611
|
+
params: components["schemas"]["CoinbaseListAccountsParams"];
|
|
3612
|
+
},
|
|
3613
|
+
{
|
|
3614
|
+
/** @enum {string} */
|
|
3615
|
+
method: "cs_coinbaseListPortfolios";
|
|
3616
|
+
params: components["schemas"]["CoinbaseListPortfoliosParams"];
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
/** @enum {string} */
|
|
3620
|
+
method: "cs_coinbaseMoveFunds";
|
|
3621
|
+
params: components["schemas"]["CoinbaseMoveFundsParams"];
|
|
3622
|
+
}
|
|
3623
|
+
]>;
|
|
3624
|
+
/** @description Response returned by the typed `coinbase_sign` endpoint. */
|
|
3625
|
+
CoinbaseSignResponse: {
|
|
3626
|
+
/** @description Optional policy evaluation tree. */
|
|
3627
|
+
policy_eval_tree?: unknown;
|
|
3628
|
+
} & {
|
|
3629
|
+
/**
|
|
3630
|
+
* @description The signed JWT, ready to be sent in `Authorization: Bearer <jwt>` to
|
|
3631
|
+
* the Coinbase Advanced Trade API.
|
|
3632
|
+
*/
|
|
3633
|
+
jwt: string;
|
|
3634
|
+
};
|
|
3348
3635
|
/** @description Commission rates as decimal strings (e.g. `"0.00100000"`). */
|
|
3349
3636
|
CommissionRates: {
|
|
3350
3637
|
buyer: string;
|
|
@@ -3442,7 +3729,7 @@ export interface components {
|
|
|
3442
3729
|
type: "fido";
|
|
3443
3730
|
};
|
|
3444
3731
|
/** @enum {string} */
|
|
3445
|
-
ConflictErrorCode: "ConcurrentRequestDisallowed" | "ConcurrentLockCreation"
|
|
3732
|
+
ConflictErrorCode: "ConcurrentRequestDisallowed" | "ConcurrentLockCreation";
|
|
3446
3733
|
/** @description A contact in the org. */
|
|
3447
3734
|
Contact: components["schemas"]["CommonFields"] & {
|
|
3448
3735
|
/**
|
|
@@ -4639,7 +4926,7 @@ export interface components {
|
|
|
4639
4926
|
* @description Explicitly named scopes for accessing CubeSigner APIs
|
|
4640
4927
|
* @enum {string}
|
|
4641
4928
|
*/
|
|
4642
|
-
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: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: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:getTransaction" | "rpc:listTransactions" | "rpc:binance";
|
|
4929
|
+
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:listSubAccounts" | "sign:binance:coinInfo" | "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: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:getTransaction" | "rpc:listTransactions" | "rpc:binance" | "rpc:coinbase";
|
|
4643
4930
|
/**
|
|
4644
4931
|
* @description This type specifies the interpretation of the `fee` field in Babylon
|
|
4645
4932
|
* staking requests. If `sats`, the field is intpreted as a fixed value
|
|
@@ -5113,7 +5400,7 @@ export interface components {
|
|
|
5113
5400
|
result?: Record<string, unknown> | null;
|
|
5114
5401
|
};
|
|
5115
5402
|
/** @description Valid `result` from the JSON-RPC API. */
|
|
5116
|
-
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"];
|
|
5403
|
+
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"]["ListSubAccountsResponse"] | components["schemas"]["CoinInfoResponse"] | components["schemas"]["CoinbaseListAccountsResponse"] | components["schemas"]["CoinbaseListPortfoliosResponse"] | components["schemas"]["CoinbaseMoveFundsResponse"];
|
|
5117
5404
|
JwkSetResponse: {
|
|
5118
5405
|
/** @description The keys included in this set */
|
|
5119
5406
|
keys: Record<string, never>[];
|
|
@@ -5252,12 +5539,18 @@ export interface components {
|
|
|
5252
5539
|
* - **On read**: each field is omitted when the stored property is unset; secret
|
|
5253
5540
|
* fields are emitted with the redacted marker (e.g. "[REDACTED]").
|
|
5254
5541
|
*/
|
|
5255
|
-
KeyPropertiesPatch:
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5542
|
+
KeyPropertiesPatch: OneOf<[
|
|
5543
|
+
components["schemas"]["BinanceApiPropertiesPatch"] & {
|
|
5544
|
+
/** @enum {string} */
|
|
5545
|
+
kind: "BinanceApi";
|
|
5546
|
+
},
|
|
5547
|
+
components["schemas"]["CoinbaseApiPropertiesPatch"] & {
|
|
5548
|
+
/** @enum {string} */
|
|
5549
|
+
kind: "CoinbaseApi";
|
|
5550
|
+
}
|
|
5551
|
+
]>;
|
|
5259
5552
|
/** @enum {string} */
|
|
5260
|
-
KeyType: "SecpEthAddr" | "SecpBtc" | "SecpBtcTest" | "SecpBtcLegacy" | "SecpBtcLegacyTest" | "SecpAvaAddr" | "SecpAvaTestAddr" | "BlsPub" | "BlsInactive" | "BlsAvaIcm" | "Ed25519SolanaAddr" | "Ed25519SuiAddr" | "Ed25519AptosAddr" | "Ed25519CardanoAddrVk" | "Ed25519StellarAddr" | "Ed25519SubstrateAddr" | "Ed25519CantonAddr" | "Ed25519BinanceApi" | "Mnemonic" | "Stark" | "BabylonEots" | "BabylonCov" | "TaprootBtc" | "TaprootBtcTest" | "SecpCosmosAddr" | "P256CosmosAddr" | "P256OntologyAddr" | "P256Neo3Addr" | "Ed25519TendermintAddr" | "SecpTronAddr" | "Ed25519TonAddr" | "SecpDogeAddr" | "SecpDogeTestAddr" | "SecpKaspaAddr" | "SecpKaspaTestAddr" | "SchnorrKaspaAddr" | "SchnorrKaspaTestAddr" | "SecpLtc" | "SecpLtcTest" | "SecpXrpAddr" | "Ed25519XrpAddr" | "BabyJubjub";
|
|
5553
|
+
KeyType: "SecpEthAddr" | "SecpBtc" | "SecpBtcTest" | "SecpBtcLegacy" | "SecpBtcLegacyTest" | "SecpAvaAddr" | "SecpAvaTestAddr" | "BlsPub" | "BlsInactive" | "BlsAvaIcm" | "Ed25519SolanaAddr" | "Ed25519SuiAddr" | "Ed25519AptosAddr" | "Ed25519CardanoAddrVk" | "Ed25519StellarAddr" | "Ed25519SubstrateAddr" | "Ed25519CantonAddr" | "Ed25519BinanceApi" | "Ed25519CoinbaseApi" | "Mnemonic" | "Stark" | "BabylonEots" | "BabylonCov" | "TaprootBtc" | "TaprootBtcTest" | "SecpCosmosAddr" | "P256CosmosAddr" | "P256OntologyAddr" | "P256Neo3Addr" | "Ed25519TendermintAddr" | "SecpTronAddr" | "Ed25519TonAddr" | "SecpDogeAddr" | "SecpDogeTestAddr" | "SecpKaspaAddr" | "SecpKaspaTestAddr" | "SchnorrKaspaAddr" | "SchnorrKaspaTestAddr" | "SecpLtc" | "SecpLtcTest" | "SecpXrpAddr" | "Ed25519XrpAddr" | "BabyJubjub";
|
|
5261
5554
|
KeyTypeAndDerivationPath: {
|
|
5262
5555
|
/**
|
|
5263
5556
|
* @description List of derivation paths for which to derive.
|
|
@@ -5286,6 +5579,25 @@ export interface components {
|
|
|
5286
5579
|
* so that they can pass this back to us as a url query parameter.
|
|
5287
5580
|
*/
|
|
5288
5581
|
LastEvalKey: string;
|
|
5582
|
+
/**
|
|
5583
|
+
* @description Parameters for `cs_coinbaseListAccounts`.
|
|
5584
|
+
*
|
|
5585
|
+
* Coinbase endpoint: `GET /api/v3/brokerage/accounts`.
|
|
5586
|
+
*
|
|
5587
|
+
* Lists the brokerage accounts the calling key can see. All filters are
|
|
5588
|
+
* optional; Coinbase paginates the result via `cursor` / `has_next`.
|
|
5589
|
+
*/
|
|
5590
|
+
ListAccountsRequest: {
|
|
5591
|
+
/** @description Cursor from a previous response's [`CoinbaseListAccountsResponse::cursor`]. */
|
|
5592
|
+
cursor?: string | null;
|
|
5593
|
+
/**
|
|
5594
|
+
* Format: int32
|
|
5595
|
+
* @description Page size (Coinbase default: 49, max: 250).
|
|
5596
|
+
*/
|
|
5597
|
+
limit?: number | null;
|
|
5598
|
+
/** @description Filter to a specific retail portfolio. */
|
|
5599
|
+
retail_portfolio_id?: string | null;
|
|
5600
|
+
};
|
|
5289
5601
|
/** @description Third-party identities associated with the user's account */
|
|
5290
5602
|
ListIdentitiesResponse: {
|
|
5291
5603
|
identities: components["schemas"]["IdentityInfo"][];
|
|
@@ -5304,6 +5616,55 @@ export interface components {
|
|
|
5304
5616
|
/** @description All pending messages for a user. */
|
|
5305
5617
|
pending_messages: components["schemas"]["PendingMessageInfo"][];
|
|
5306
5618
|
};
|
|
5619
|
+
/**
|
|
5620
|
+
* @description Parameters for `cs_coinbaseListPortfolios`.
|
|
5621
|
+
*
|
|
5622
|
+
* Coinbase endpoint: `GET /api/v3/brokerage/portfolios`.
|
|
5623
|
+
*/
|
|
5624
|
+
ListPortfoliosRequest: {
|
|
5625
|
+
/**
|
|
5626
|
+
* @description Filter by portfolio type (e.g. `"DEFAULT"`, `"CONSUMER"`, `"INTX"`).
|
|
5627
|
+
* Left as `String` for forward compatibility.
|
|
5628
|
+
*/
|
|
5629
|
+
portfolio_type?: string | null;
|
|
5630
|
+
};
|
|
5631
|
+
/**
|
|
5632
|
+
* @description Parameters for `GET /sapi/v1/sub-account/list`.
|
|
5633
|
+
*
|
|
5634
|
+
* Enumerates the sub-accounts under the calling master account. All filters
|
|
5635
|
+
* are optional; if `email`/`is_freeze` are omitted, every sub-account is
|
|
5636
|
+
* returned subject to pagination.
|
|
5637
|
+
*/
|
|
5638
|
+
ListSubAccountsRequest: {
|
|
5639
|
+
/** @description Filter to the sub-account with this email. */
|
|
5640
|
+
email?: string | null;
|
|
5641
|
+
/**
|
|
5642
|
+
* @description Filter by freeze status (`true` = frozen sub-accounts only,
|
|
5643
|
+
* `false` = active sub-accounts only). Binance accepts this as the
|
|
5644
|
+
* literal strings `"true"`/`"false"`, which is exactly what
|
|
5645
|
+
* `serde_urlencoded` emits for `bool`.
|
|
5646
|
+
*/
|
|
5647
|
+
isFreeze?: boolean | null;
|
|
5648
|
+
/**
|
|
5649
|
+
* Format: int32
|
|
5650
|
+
* @description Page size (Binance default: 1, max: 200).
|
|
5651
|
+
*/
|
|
5652
|
+
limit?: number | null;
|
|
5653
|
+
/**
|
|
5654
|
+
* Format: int32
|
|
5655
|
+
* @description 1-based page number (Binance default: 1).
|
|
5656
|
+
*/
|
|
5657
|
+
page?: number | null;
|
|
5658
|
+
};
|
|
5659
|
+
/**
|
|
5660
|
+
* @description Response returned by `cs_binanceListSubAccounts`. Binance returns a
|
|
5661
|
+
* `{ "subAccounts": [...] }` envelope; this struct preserves that wire
|
|
5662
|
+
* format.
|
|
5663
|
+
*/
|
|
5664
|
+
ListSubAccountsResponse: {
|
|
5665
|
+
/** @description One entry per sub-account matching the request filters. */
|
|
5666
|
+
subAccounts: components["schemas"]["SubAccountInfo"][];
|
|
5667
|
+
};
|
|
5307
5668
|
/**
|
|
5308
5669
|
* @description Response type that wraps another type and adds base64url-encoded encrypted `last_evaluated_key`
|
|
5309
5670
|
* value (which can the user pass back to use as a url query parameter to continue pagination).
|
|
@@ -5496,6 +5857,18 @@ export interface components {
|
|
|
5496
5857
|
/** @description Whether the transaction was successful, i.e. it was included in a block and not reverted */
|
|
5497
5858
|
success: boolean;
|
|
5498
5859
|
};
|
|
5860
|
+
/**
|
|
5861
|
+
* @description Parameters for `cs_coinbaseMoveFunds`.
|
|
5862
|
+
*
|
|
5863
|
+
* Coinbase endpoint: `POST /api/v3/brokerage/portfolios/move_funds`.
|
|
5864
|
+
*/
|
|
5865
|
+
MoveFundsRequest: {
|
|
5866
|
+
funds: components["schemas"]["CoinbaseAmount"];
|
|
5867
|
+
/** @description UUID of the portfolio the funds are debited from. */
|
|
5868
|
+
source_portfolio_uuid: string;
|
|
5869
|
+
/** @description UUID of the portfolio the funds are credited to. */
|
|
5870
|
+
target_portfolio_uuid: string;
|
|
5871
|
+
};
|
|
5499
5872
|
/** @description Information about a signed message */
|
|
5500
5873
|
MsgSignature: {
|
|
5501
5874
|
/** @description The signature */
|
|
@@ -5650,7 +6023,7 @@ export interface components {
|
|
|
5650
6023
|
* @description All different kinds of sensitive operations
|
|
5651
6024
|
* @enum {string}
|
|
5652
6025
|
*/
|
|
5653
|
-
OperationKind: "AvaSign" | "AvaChainTxSign" | "BabylonCovSign" | "BabylonRegistration" | "BabylonStaking" | "BinanceSign" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "DiffieHellman" | "PsbtSign" | "TaprootSign" | "Eip191Sign" | "Eip712Sign" | "EotsNonces" | "EotsSign" | "Eth1Sign" | "Eth2Sign" | "Eth2Stake" | "Eth2Unstake" | "SolanaSign" | "SuiSign" | "TendermintSign" | "RoleUpdate";
|
|
6026
|
+
OperationKind: "AvaSign" | "AvaChainTxSign" | "BabylonCovSign" | "BabylonRegistration" | "BabylonStaking" | "BinanceSign" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "CoinbaseSign" | "DiffieHellman" | "PsbtSign" | "TaprootSign" | "Eip191Sign" | "Eip712Sign" | "EotsNonces" | "EotsSign" | "Eth1Sign" | "Eth2Sign" | "Eth2Stake" | "Eth2Unstake" | "SolanaSign" | "SuiSign" | "TendermintSign" | "RoleUpdate";
|
|
5654
6027
|
OrgAlertsPrefs: {
|
|
5655
6028
|
/** @description Recipient users for org-level alerts */
|
|
5656
6029
|
alert_recipients?: components["schemas"]["Id"][] | null;
|
|
@@ -7246,14 +7619,20 @@ export interface components {
|
|
|
7246
7619
|
/** @description A JSON Web Token whose claims contain the `RoleInfo` structure. */
|
|
7247
7620
|
jwt: string;
|
|
7248
7621
|
};
|
|
7622
|
+
RpcApiErrorCode: components["schemas"]["RpcApiErrorOwnCodes"] | components["schemas"]["SignerClientErrorCode"] | components["schemas"]["RpcEvmErrorCode"];
|
|
7623
|
+
/** @enum {string} */
|
|
7624
|
+
RpcApiErrorOwnCodes: "MfaRequired" | "ConcurrentTransactionFailed";
|
|
7625
|
+
/** @enum {string} */
|
|
7626
|
+
RpcEvmErrorCode: "SubmissionFailed" | "FailedToReserveNonce" | "InvalidTxStatus" | "MissingTxFrom";
|
|
7249
7627
|
/**
|
|
7250
7628
|
* @description The RPC API method and matching parameters.
|
|
7251
7629
|
*
|
|
7252
7630
|
* Top-level dispatch. Wire format is preserved by `#[serde(untagged)]`: each
|
|
7253
7631
|
* inbound request is matched against one of the internally-tagged inner enums
|
|
7254
|
-
* ([`CsRpc`] for the core methods, [`BinanceRpc`] for the Binance family
|
|
7632
|
+
* ([`CsRpc`] for the core methods, [`BinanceRpc`] for the Binance family,
|
|
7633
|
+
* [`CoinbaseRpc`] for the Coinbase family).
|
|
7255
7634
|
*/
|
|
7256
|
-
RpcMethod: components["schemas"]["CsRpc"] | components["schemas"]["BinanceRpc"];
|
|
7635
|
+
RpcMethod: components["schemas"]["CsRpc"] | components["schemas"]["BinanceRpc"] | components["schemas"]["CoinbaseRpc"];
|
|
7257
7636
|
/** @description All scopes for accessing CubeSigner APIs */
|
|
7258
7637
|
Scope: components["schemas"]["ExplicitScope"] | string;
|
|
7259
7638
|
/** @description A set of scopes. */
|
|
@@ -7422,9 +7801,14 @@ export interface components {
|
|
|
7422
7801
|
signatureVersion: components["schemas"]["SignatureVersion"];
|
|
7423
7802
|
status: components["schemas"]["MmiStatus"];
|
|
7424
7803
|
};
|
|
7804
|
+
SignerClientErrorCode: components["schemas"]["SignerClientErrorOwnCodes"] | components["schemas"]["SignerClientInternalErrorCode"];
|
|
7805
|
+
/** @enum {string} */
|
|
7806
|
+
SignerClientErrorOwnCodes: "SignerResponseError" | "LegacySessionNotSupported";
|
|
7807
|
+
/** @enum {string} */
|
|
7808
|
+
SignerClientInternalErrorCode: "InvalidSignerEnvironment" | "InvalidSessionHeaders" | "InvalidHeader" | "LambdaInvokeError" | "LambdaResponseError" | "LambdaProxyInvalidResponse" | "Reqwest" | "Serde" | "Io";
|
|
7425
7809
|
SignerErrorCode: components["schemas"]["SignerErrorOwnCodes"] | components["schemas"]["AcceptedValueCode"] | components["schemas"]["BadRequestErrorCode"] | components["schemas"]["BadGatewayErrorCode"] | components["schemas"]["NotFoundErrorCode"] | components["schemas"]["ForbiddenErrorCode"] | components["schemas"]["UnauthorizedErrorCode"] | components["schemas"]["PreconditionErrorCode"] | components["schemas"]["TimeoutErrorCode"] | components["schemas"]["ConflictErrorCode"] | components["schemas"]["InternalErrorCode"];
|
|
7426
7810
|
/** @enum {string} */
|
|
7427
|
-
SignerErrorOwnCodes: "PreComputed" | "StatusCodeWithMessage" | "JrpcError" | "UnhandledError" | "ProxyStartError" | "EnclaveError" | "PolicyErrorWithEvalTree";
|
|
7811
|
+
SignerErrorOwnCodes: "PreComputed" | "StatusCodeWithMessage" | "JrpcError" | "UnhandledError" | "ProxyStartError" | "EnclaveError" | "PolicyErrorWithEvalTree" | "RpcApi";
|
|
7428
7812
|
/** @description Answer to a Sign-in with Ethereum challenge. */
|
|
7429
7813
|
SiweCompleteRequest: {
|
|
7430
7814
|
challenge_id: components["schemas"]["Id"];
|
|
@@ -7642,6 +8026,22 @@ export interface components {
|
|
|
7642
8026
|
*/
|
|
7643
8027
|
balances: components["schemas"]["SubAccountAsset"][];
|
|
7644
8028
|
};
|
|
8029
|
+
/** @description One sub-account entry in [`ListSubAccountsResponse`]. */
|
|
8030
|
+
SubAccountInfo: {
|
|
8031
|
+
/**
|
|
8032
|
+
* Format: int64
|
|
8033
|
+
* @description Sub-account creation time (ms since epoch).
|
|
8034
|
+
*/
|
|
8035
|
+
createTime: number;
|
|
8036
|
+
/** @description Sub-account email. */
|
|
8037
|
+
email: string;
|
|
8038
|
+
/** @description `true` if this is an asset-management sub-account. */
|
|
8039
|
+
isAssetManagementSubAccount: boolean;
|
|
8040
|
+
/** @description Whether the sub-account is currently frozen. */
|
|
8041
|
+
isFreeze: boolean;
|
|
8042
|
+
/** @description `true` if this is a managed sub-account. */
|
|
8043
|
+
isManagedSubAccount: boolean;
|
|
8044
|
+
};
|
|
7645
8045
|
/** @description One transfer entry in [`SubAccountTransferHistoryResponse`]. */
|
|
7646
8046
|
SubAccountTransferHistoryEntry: {
|
|
7647
8047
|
/** @description Asset symbol (e.g. `"USDT"`). */
|
|
@@ -9381,6 +9781,21 @@ export interface components {
|
|
|
9381
9781
|
};
|
|
9382
9782
|
};
|
|
9383
9783
|
};
|
|
9784
|
+
/** @description Response returned by the typed `coinbase_sign` endpoint. */
|
|
9785
|
+
CoinbaseSignResponse: {
|
|
9786
|
+
content: {
|
|
9787
|
+
"application/json": {
|
|
9788
|
+
/** @description Optional policy evaluation tree. */
|
|
9789
|
+
policy_eval_tree?: unknown;
|
|
9790
|
+
} & {
|
|
9791
|
+
/**
|
|
9792
|
+
* @description The signed JWT, ready to be sent in `Authorization: Bearer <jwt>` to
|
|
9793
|
+
* the Coinbase Advanced Trade API.
|
|
9794
|
+
*/
|
|
9795
|
+
jwt: string;
|
|
9796
|
+
};
|
|
9797
|
+
};
|
|
9798
|
+
};
|
|
9384
9799
|
/** @description The number of users and keys in an org, organized by user role and key type */
|
|
9385
9800
|
ComputeCountsResponse: {
|
|
9386
9801
|
content: {
|
|
@@ -16660,47 +17075,6 @@ export interface operations {
|
|
|
16660
17075
|
};
|
|
16661
17076
|
};
|
|
16662
17077
|
};
|
|
16663
|
-
/**
|
|
16664
|
-
* Sign Binance RPC Request
|
|
16665
|
-
* @description Sign Binance RPC Request
|
|
16666
|
-
*
|
|
16667
|
-
* Signs a typed [`BinanceRpc`] request with the [`KeyType::Ed25519BinanceApi`]
|
|
16668
|
-
* key identified by `material_id`. The signer URL-encodes the inner request,
|
|
16669
|
-
* appends Binance's `recvWindow` and `timestamp` parameters, signs the
|
|
16670
|
-
* resulting query, and returns the full query string ready to be submitted
|
|
16671
|
-
* to Binance.
|
|
16672
|
-
*/
|
|
16673
|
-
binanceSign: {
|
|
16674
|
-
parameters: {
|
|
16675
|
-
path: {
|
|
16676
|
-
/**
|
|
16677
|
-
* @description Name or ID of the desired Org
|
|
16678
|
-
* @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
|
|
16679
|
-
*/
|
|
16680
|
-
org_id: string;
|
|
16681
|
-
/** @description Material id of the Ed25519BinanceApi key */
|
|
16682
|
-
material_id: string;
|
|
16683
|
-
};
|
|
16684
|
-
};
|
|
16685
|
-
requestBody: {
|
|
16686
|
-
content: {
|
|
16687
|
-
"application/json": components["schemas"]["BinanceRpc"];
|
|
16688
|
-
};
|
|
16689
|
-
};
|
|
16690
|
-
responses: {
|
|
16691
|
-
200: components["responses"]["BinanceSignResponse"];
|
|
16692
|
-
202: {
|
|
16693
|
-
content: {
|
|
16694
|
-
"application/json": components["schemas"]["AcceptedResponse"];
|
|
16695
|
-
};
|
|
16696
|
-
};
|
|
16697
|
-
default: {
|
|
16698
|
-
content: {
|
|
16699
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
16700
|
-
};
|
|
16701
|
-
};
|
|
16702
|
-
};
|
|
16703
|
-
};
|
|
16704
17078
|
/**
|
|
16705
17079
|
* Sign Raw Blob
|
|
16706
17080
|
* @description Sign Raw Blob
|