@cubist-labs/cubesigner-sdk 0.4.259 → 0.4.260

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.
@@ -880,6 +880,12 @@ export interface paths {
880
880
  * but extends the output with an `id_token`.
881
881
  *
882
882
  * This `id_token` can then be used with any CubeSigner endpoint that requires an OIDC token.
883
+ * Callers must request *at least* scopes `tweet.read` and `users.read` during auth with twitter.
884
+ *
885
+ * By default, the id token does not contain a confirmed email;
886
+ * callers can request this field be populated by requesting the `users.email` scope
887
+ * and adding `fetch_email` as a URL parameter to this route.
888
+ *
883
889
  *
884
890
  * > [!IMPORTANT]
885
891
  * > This endpoint will fail unless the org is configured to allow the issuer `https://shim.oauth2.cubist.dev/twitter` and client ID being used for Twitter.
@@ -943,6 +949,33 @@ export interface paths {
943
949
  */
944
950
  patch: operations["siweComplete"];
945
951
  };
952
+ "/v0/org/{org_id}/oidc/siws": {
953
+ /**
954
+ * Initiate login via Sign-in With Solana (SIWS).
955
+ * @description Initiate login via Sign-in With Solana (SIWS).
956
+ *
957
+ * This endpoint generates a challenge which can be answered (via the corresponding PATCH endpoint)
958
+ * to obtain an OIDC token. The OIDC token can then be exchanged for a user session via the standard
959
+ * OIDC auth route.
960
+ *
961
+ * > [!IMPORTANT]
962
+ * > For this endpoint to succeed, the org must be configured to:
963
+ * > Allow the issuer `https://shim.oauth2.cubist.dev/siws` with the Org ID as the client ID
964
+ */
965
+ post: operations["siwsInit"];
966
+ /**
967
+ * Complete login via Sign-in With Solana (SIWS)
968
+ * @description Complete login via Sign-in With Solana (SIWS)
969
+ *
970
+ * If the challenge (issued by the corresponding POST endpoint) is answered correctly, this endpoint
971
+ * generates an OIDC token that can then be exchanged for a user session via the standard OIDC auth route.
972
+ *
973
+ * > [!IMPORTANT]
974
+ * > For this endpoint to succeed, the org must be configured to:
975
+ * > Allow the issuer `https://shim.oauth2.cubist.dev/siws` with the Org ID as the client ID
976
+ */
977
+ patch: operations["siwsComplete"];
978
+ };
946
979
  "/v0/org/{org_id}/oidc/telegram": {
947
980
  /**
948
981
  * Allows a user to authenticate with the telegram API using the tgWebAppData value
@@ -1306,6 +1339,13 @@ export interface paths {
1306
1339
  *
1307
1340
  * If a `role` query parameter is provided, **ALL** session for **THAT ROLE** are revoked
1308
1341
  * (if the current user has permissions to revoke sessions for the role).
1342
+ *
1343
+ * If a `role_created_by` query parameter is provided, **ROLE** sessions created by **THAT USER**
1344
+ * are revoked (gated by the same permissions as revoking that user's own sessions: the current
1345
+ * user must be that user or an org owner). User sessions are not affected. Unless the current
1346
+ * user is an org owner, only sessions for roles the current user is **still a member of** are
1347
+ * revoked (so a user cannot revoke sessions for a role they have since been removed from); org
1348
+ * owners revoke across all roles.
1309
1349
  */
1310
1350
  delete: operations["revokeSessions"];
1311
1351
  };
@@ -2777,7 +2817,7 @@ export interface components {
2777
2817
  /** @enum {string} */
2778
2818
  BadGatewayErrorCode: "Generic" | "CustomChainRpcError" | "EsploraApiError" | "SentryApiError" | "CallWebhookError" | "OAuthProviderError" | "OidcDisoveryFailed" | "OidcIssuerJwkEndpointUnavailable" | "SmtpServerUnavailable";
2779
2819
  /** @enum {string} */
2780
- 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" | "MissingBybitApiKey" | "MissingCoinbaseApiKey" | "BinanceKeyMasterMismatch" | "BybitAccountMismatch" | "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";
2820
+ 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" | "OnlySpecifyOne" | "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";
2781
2821
  BillingArgs: {
2782
2822
  billing_org: components["schemas"]["Id"];
2783
2823
  event_type: components["schemas"]["BillingEvent"];
@@ -2794,7 +2834,7 @@ export interface components {
2794
2834
  * @description Billing event types.
2795
2835
  * @enum {string}
2796
2836
  */
2797
- 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" | "BybitSign" | "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" | "RpcBybit" | "RpcCoinbase" | "CustomChainRpcCall" | "EsploraApiCall" | "SentryApiCall" | "SentryApiCallPublic" | "MmiJwkSet" | "AttestationJwkSet" | "UserOrgs" | "PublicOrgInfo" | "EmailMyOrgs";
2837
+ 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" | "BybitSign" | "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" | "SiwsInit" | "SiwsComplete" | "TelegramAuth" | "CreateOidcUser" | "DeleteOidcUser" | "DeleteUser" | "CreateEotsNonces" | "EotsSign" | "AuthMigrationIdentityAdd" | "AuthMigrationIdentityRemove" | "AuthMigrationUserUpdate" | "KeyCreated" | "KeyImported" | "InvitationAccept" | "IdpAuthenticate" | "IdpPasswordResetRequest" | "IdpPasswordResetConfirm" | "RpcApi" | "RpcCreateTransaction" | "RpcGetTransaction" | "RpcListTransactions" | "RpcRetryTransaction" | "RpcCancelTransaction" | "RpcBinance" | "RpcBybit" | "RpcCoinbase" | "CustomChainRpcCall" | "EsploraApiCall" | "SentryApiCall" | "SentryApiCallPublic" | "MmiJwkSet" | "AttestationJwkSet" | "UserOrgs" | "PublicOrgInfo" | "EmailMyOrgs";
2798
2838
  /** @description Parameters envelope for all Binance RPC methods. */
2799
2839
  BinanceAccountInfoParams: components["schemas"]["AccountInfoRequest"] & {
2800
2840
  dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
@@ -2844,6 +2884,18 @@ export interface components {
2844
2884
  recvWindow?: number | null;
2845
2885
  };
2846
2886
  /** @description Parameters envelope for all Binance RPC methods. */
2887
+ BinanceDepositHistoryParams: components["schemas"]["DepositHistoryRequest"] & {
2888
+ dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
2889
+ keyId: components["schemas"]["Id"];
2890
+ /**
2891
+ * Format: float
2892
+ * @description Optional "receive window", i.e., for how long the request stays valid.
2893
+ * May only be specified in milliseconds, with up to three decimal places of precision.
2894
+ * If omitted, defaults to 10000. Must not be greater than 60000.
2895
+ */
2896
+ recvWindow?: number | null;
2897
+ };
2898
+ /** @description Parameters envelope for all Binance RPC methods. */
2847
2899
  BinanceDepositParams: components["schemas"]["DepositRequest"] & {
2848
2900
  dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
2849
2901
  keyId: components["schemas"]["Id"];
@@ -2922,6 +2974,10 @@ export interface components {
2922
2974
  /** @enum {string} */
2923
2975
  method: "cs_binanceDeposit";
2924
2976
  params: components["schemas"]["BinanceDepositParams"];
2977
+ } | {
2978
+ /** @enum {string} */
2979
+ method: "cs_binanceDepositHistory";
2980
+ params: components["schemas"]["BinanceDepositHistoryParams"];
2925
2981
  } | {
2926
2982
  /** @enum {string} */
2927
2983
  method: "cs_binanceListSubAccounts";
@@ -3788,6 +3844,11 @@ export interface components {
3788
3844
  CancelInvitationRequest: {
3789
3845
  email: components["schemas"]["Email"];
3790
3846
  };
3847
+ /** @description Parameters for the [`cs_cancelTransaction`](RpcMethod::CancelTransaction) method. */
3848
+ CancelTransactionRequest: {
3849
+ /** @description The transaction id. */
3850
+ id: string;
3851
+ };
3791
3852
  /**
3792
3853
  * @description Supported Canton environments.
3793
3854
  * @enum {string}
@@ -3938,6 +3999,8 @@ export interface components {
3938
3999
  withdrawFee?: string | null;
3939
4000
  /** @description Step size for withdrawal amounts, as a decimal string. */
3940
4001
  withdrawIntegerMultiple?: string | null;
4002
+ /** @description Minimum internal transfer amount */
4003
+ withdrawInternalMin?: string | null;
3941
4004
  /** @description Maximum withdrawal amount, as a decimal string. */
3942
4005
  withdrawMax?: string | null;
3943
4006
  /** @description Minimum withdrawal amount, as a decimal string. */
@@ -4515,6 +4578,11 @@ export interface components {
4515
4578
  method: "cs_retryTransaction";
4516
4579
  params: components["schemas"]["RetryTransactionRequest"];
4517
4580
  },
4581
+ {
4582
+ /** @enum {string} */
4583
+ method: "cs_cancelTransaction";
4584
+ params: components["schemas"]["CancelTransactionRequest"];
4585
+ },
4518
4586
  {
4519
4587
  /** @enum {string} */
4520
4588
  method: "cs_getTransaction";
@@ -4558,6 +4626,121 @@ export interface components {
4558
4626
  /** @description Custom EVM chains. */
4559
4627
  evm: components["schemas"]["EvmCustomChain"][];
4560
4628
  };
4629
+ /** @description One deposit entry in [`DepositHistoryResponse`]. */
4630
+ DepositHistoryEntry: {
4631
+ /** @description Destination address the deposit was sent to. */
4632
+ address: string;
4633
+ /**
4634
+ * @description Secondary address identifier (e.g. memo for XRP, tag for XLM). Empty
4635
+ * string when the asset does not use one.
4636
+ */
4637
+ addressTag?: string | null;
4638
+ /** @description Deposit amount, as a decimal string. */
4639
+ amount: string;
4640
+ /** @description Asset symbol (e.g. `"USDT"`, `"BTC"`). */
4641
+ coin: string;
4642
+ /**
4643
+ * Format: int64
4644
+ * @description Represents deposit completion datetime, available for deposits after 6-Mar-2025.
4645
+ */
4646
+ completeTime?: number | null;
4647
+ /** @description On-chain confirmation progress (e.g. `"1/1"`). */
4648
+ confirmTimes?: string | null;
4649
+ /** @description Binance-assigned deposit id. */
4650
+ id?: string | null;
4651
+ /**
4652
+ * Format: int64
4653
+ * @description Time the deposit record was created (ms since epoch).
4654
+ */
4655
+ insertTime: number;
4656
+ /** @description Blockchain network identifier (e.g. `"BSC"`, `"ETH"`). */
4657
+ network: string;
4658
+ /** @description Returned when 'includeSource' in the request is set to true */
4659
+ sourceAddress?: string | null;
4660
+ /**
4661
+ * Format: int32
4662
+ * @description Deposit status. Binance values: `0` = pending, `6` = credited but
4663
+ * cannot withdraw, `7` = wrong deposit, `8` = waiting user confirm,
4664
+ * `1` = success. Left as `u8` for forward compatibility.
4665
+ */
4666
+ status: number;
4667
+ /**
4668
+ * Format: int32
4669
+ * @description `0` = external transfer, `1` = internal (Binance↔Binance) transfer.
4670
+ */
4671
+ transferType: number;
4672
+ /**
4673
+ * Format: int32
4674
+ * @description 0: travel rule not required OR info already provided and funds ready to use;
4675
+ * 1: travel rule required to provide deposit info
4676
+ */
4677
+ travelRuleStatus: number;
4678
+ /** @description On-chain transaction hash of the deposit. */
4679
+ txId: string;
4680
+ /**
4681
+ * Format: int32
4682
+ * @description Confirmations after which the deposit is unlocked for trading.
4683
+ */
4684
+ unlockConfirm?: number | null;
4685
+ /**
4686
+ * Format: int32
4687
+ * @description Destination wallet: `0` = spot wallet, `1` = funding wallet.
4688
+ */
4689
+ walletType: number;
4690
+ };
4691
+ /**
4692
+ * @description Parameters for `GET /sapi/v1/capital/deposit/hisrec`.
4693
+ *
4694
+ * Returns the calling account's deposit history. All filters are optional;
4695
+ * if `start_time`/`end_time` are omitted, Binance returns the most recent 90
4696
+ * days. Use `tx_id` to look up a specific deposit by its on-chain
4697
+ * transaction hash, or `coin`/`status` to narrow the result set.
4698
+ */
4699
+ DepositHistoryRequest: {
4700
+ /** @description Filter to a specific asset (e.g. `"USDT"`, `"BTC"`). */
4701
+ coin?: string | null;
4702
+ /**
4703
+ * Format: int64
4704
+ * @description Window end (ms since epoch, Binance default: present timestamp).
4705
+ */
4706
+ endTime?: number | null;
4707
+ /**
4708
+ * @description If `true`, include the deposit's source address in each entry. Binance
4709
+ * defaults to `false`.
4710
+ */
4711
+ includeSource?: boolean | null;
4712
+ /**
4713
+ * Format: int32
4714
+ * @description Page size (Binance default and max: 1000).
4715
+ */
4716
+ limit?: number | null;
4717
+ /**
4718
+ * Format: int32
4719
+ * @description Pagination offset (Binance default: 0).
4720
+ */
4721
+ offset?: number | null;
4722
+ /**
4723
+ * Format: int64
4724
+ * @description Window start (ms since epoch, Binance default: 90 days from current timestamp).
4725
+ */
4726
+ startTime?: number | null;
4727
+ /**
4728
+ * Format: int32
4729
+ * @description Filter by deposit status. Binance values: `0` = pending, `6` = credited
4730
+ * but cannot withdraw, `7` = wrong deposit, `8` = waiting user confirm,
4731
+ * `1` = success, `2` = rejected. Left as `u8` for forward compatibility.
4732
+ */
4733
+ status?: number | null;
4734
+ /** @description Look up a specific deposit by its on-chain transaction hash. */
4735
+ txId?: string | null;
4736
+ };
4737
+ /**
4738
+ * @description Response returned by `cs_binanceDepositHistory`.
4739
+ *
4740
+ * Binance returns a top-level JSON array; this newtype preserves that wire
4741
+ * format while giving the response a named type in the OpenAPI schema.
4742
+ */
4743
+ DepositHistoryResponse: components["schemas"]["DepositHistoryEntry"][];
4561
4744
  /**
4562
4745
  * @description Parameters for `GET /sapi/v1/capital/deposit/address`.
4563
4746
  *
@@ -5403,7 +5586,7 @@ export interface components {
5403
5586
  * @description Explicitly named scopes for accessing CubeSigner APIs
5404
5587
  * @enum {string}
5405
5588
  */
5406
- 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:bybit:*" | "sign:bybit:queryUser" | "sign:bybit:querySubMembers" | "sign:bybit:queryCoinsBalance" | "sign:bybit:queryDepositAddress" | "sign:bybit:universalTransfer" | "sign:bybit:withdraw" | "sign:bybit:withdrawals" | "sign:coinbase:*" | "sign:coinbase:accounts:list" | "sign:coinbase:portfolios:list" | "sign:coinbase:funds:move" | "sign:blob" | "sign:diffieHellman" | "sign:btc:*" | "sign:btc:segwit" | "sign:btc:taproot" | "sign:btc:psbt:*" | "sign:btc:psbt:doge" | "sign:btc:psbt:legacy" | "sign:btc:psbt:segwit" | "sign:btc:psbt:taproot" | "sign:btc:psbt:ltcSegwit" | "sign:btc:message:*" | "sign:btc:message:segwit" | "sign:btc:message:legacy" | "sign:babylon:*" | "sign:babylon:eots:*" | "sign:babylon:eots:nonces" | "sign:babylon:eots:sign" | "sign:babylon:staking:*" | "sign:babylon:staking:deposit" | "sign:babylon:staking:unbond" | "sign:babylon:staking:withdraw" | "sign:babylon:staking:slash" | "sign:babylon:registration" | "sign:babylon:covenant" | "sign:evm:*" | "sign:evm:tx" | "sign:evm:eip191" | "sign:evm:eip712" | "sign: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:bybit" | "rpc:coinbase";
5589
+ ExplicitScope: "sign:*" | "sign:ava" | "sign:binance:*" | "sign:binance:subToMaster" | "sign:binance:subToSub" | "sign:binance:universalTransfer" | "sign:binance:subAccountAssets" | "sign:binance:accountInfo" | "sign:binance:subAccountTransferHistory" | "sign:binance:universalTransferHistory" | "sign:binance:withdraw" | "sign:binance:withdrawHistory" | "sign:binance:deposit" | "sign:binance:depositHistory" | "sign:binance:listSubAccounts" | "sign:binance:coinInfo" | "sign:bybit:*" | "sign:bybit:queryUser" | "sign:bybit:querySubMembers" | "sign:bybit:queryCoinsBalance" | "sign:bybit:queryDepositAddress" | "sign:bybit:universalTransfer" | "sign:bybit:withdraw" | "sign:bybit:withdrawals" | "sign:coinbase:*" | "sign:coinbase:accounts:list" | "sign:coinbase:portfolios:list" | "sign:coinbase:funds:move" | "sign:blob" | "sign:diffieHellman" | "sign:btc:*" | "sign:btc:segwit" | "sign:btc:taproot" | "sign:btc:psbt:*" | "sign:btc:psbt:doge" | "sign:btc:psbt:legacy" | "sign:btc:psbt:segwit" | "sign:btc:psbt:taproot" | "sign:btc:psbt:ltcSegwit" | "sign:btc:message:*" | "sign:btc:message:segwit" | "sign:btc:message:legacy" | "sign:babylon:*" | "sign:babylon:eots:*" | "sign:babylon:eots:nonces" | "sign:babylon:eots:sign" | "sign:babylon:staking:*" | "sign:babylon:staking:deposit" | "sign:babylon:staking:unbond" | "sign:babylon:staking:withdraw" | "sign:babylon:staking:slash" | "sign:babylon:registration" | "sign:babylon:covenant" | "sign:evm:*" | "sign:evm:tx" | "sign:evm:eip191" | "sign:evm:eip712" | "sign:eth2:*" | "sign:eth2:validate" | "sign:eth2:stake" | "sign:eth2:unstake" | "sign:solana" | "sign:sui" | "sign:tendermint" | "sign:mmi" | "manage:*" | "manage:readonly" | "manage:email:*" | "manage:email:get" | "manage:email:update" | "manage:email:delete" | "manage:mfa:*" | "manage:mfa:readonly" | "manage:mfa:list" | "manage:mfa:vote:*" | "manage:mfa:vote:cs" | "manage:mfa:vote:email" | "manage:mfa:vote:fido" | "manage:mfa:vote:totp" | "manage:mfa:register:*" | "manage:mfa:register:fido" | "manage:mfa:register:totp" | "manage:mfa:register:email" | "manage:mfa:unregister:*" | "manage:mfa:unregister:fido" | "manage:mfa:unregister:totp" | "manage:mfa:verify:*" | "manage:mfa:verify:totp" | "manage:key:*" | "manage:key:readonly" | "manage:key:get" | "manage:key:attest" | "manage:key:listRoles" | "manage:key:list" | "manage:key:history:tx:list" | "manage:key:create" | "manage:key:import" | "manage:key:update:*" | "manage:key:update:owner" | "manage:key:update:policy" | "manage:key:update:enabled" | "manage:key:update:region" | "manage:key:update:metadata" | "manage:key:update:properties" | "manage:key:update:editPolicy" | "manage:key:delete" | "manage:policy:*" | "manage:policy:readonly" | "manage:policy:create" | "manage:policy:get" | "manage:policy:list" | "manage:policy:delete" | "manage:policy:update:*" | "manage:policy:update:owner" | "manage:policy:update:name" | "manage:policy:update:acl" | "manage:policy:update:editPolicy" | "manage:policy:update:metadata" | "manage:policy:update:rule" | "manage:policy:invoke" | "manage:policy:wasm:*" | "manage:policy:wasm:upload" | "manage:policy:secrets:*" | "manage:policy:secrets:get" | "manage:policy:secrets:update:*" | "manage:policy:secrets:update:values" | "manage:policy:secrets:update:acl" | "manage:policy:secrets:update:editPolicy" | "manage:policy:buckets:*" | "manage:policy:buckets:get" | "manage:policy:buckets:list" | "manage:policy:buckets:update:*" | "manage:policy:buckets:update:owner" | "manage:policy:buckets:update:acl" | "manage:policy:buckets:update:metadata" | "manage:contact:*" | "manage:contact:readonly" | "manage:contact:create" | "manage:contact:get" | "manage:contact:list" | "manage:contact:delete" | "manage:contact:update:*" | "manage:contact:update:name" | "manage:contact:update:addresses" | "manage:contact:update:owner" | "manage:contact:update:labels" | "manage:contact:update:metadata" | "manage:contact:update:editPolicy" | "manage:contact:lookup:*" | "manage:contact:lookup:address" | "manage:policy:createImportKey" | "manage:role:*" | "manage:role:readonly" | "manage:role:create" | "manage:role:delete" | "manage:role:get:*" | "manage:role:attest" | "manage:role:get:keys" | "manage:role:get:keys:list" | "manage:role:get:keys:get" | "manage:role:get:users" | "manage:role:list" | "manage:role:update:*" | "manage:role:update:enabled" | "manage:role:update:policy" | "manage:role:update:editPolicy" | "manage:role:update:actions" | "manage:role:update:key:*" | "manage:role:update:key:add" | "manage:role:update:key:remove" | "manage:role:update:user:*" | "manage:role:update:user:add" | "manage:role:update:user:remove" | "manage:role:history:tx:list" | "manage:identity:*" | "manage:identity:readonly" | "manage:identity:verify" | "manage:identity:add" | "manage:identity:remove" | "manage:identity:list" | "manage:org:*" | "manage:org:create" | "manage:org:metrics:query" | "manage:org:audit:query" | "manage:org:readonly" | "manage:org:addUser" | "manage:org:inviteUser" | "manage:org:inviteAlien" | "manage:org:invitation:list" | "manage:org:invitation:cancel" | "manage:org:updateMembership:*" | "manage:org:updateMembership:owner" | "manage:org:updateMembership:member" | "manage:org:updateMembership:alien" | "manage:org:listUsers" | "manage:org:user:get" | "manage:org:deleteUser:*" | "manage:org:deleteUser:owner" | "manage:org:deleteUser:member" | "manage:org:deleteUser:alien" | "manage:org:get" | "manage:org:update:*" | "manage:org:update:enabled" | "manage:org:update:policy" | "manage:org:update:signPolicy" | "manage:org:update:export" | "manage:org:update:totpFailureLimit" | "manage:org:update:notificationEndpoints" | "manage:org:update:defaultInviteKind" | "manage:org:update:idpConfiguration" | "manage:org:update:passkeyConfiguration" | "manage:org:update:emailPreferences" | "manage:org:update:historicalData" | "manage:org:update:requireScopeCeiling" | "manage:org:update:alienLoginRequirement" | "manage:org:update:memberLoginRequirement" | "manage:org:update:keyExportRequirement" | "manage:org:update:allowedMfaTypes" | "manage:org:update:policyEngineConf" | "manage:org:update:customChains" | "manage:org:update:extProps" | "manage:org:update:editPolicy" | "manage:org:user:resetMfa" | "manage:session:*" | "manage:session:readonly" | "manage:session:get" | "manage:session:list" | "manage:session:create" | "manage:session:extend" | "manage:session:revoke" | "manage:export:*" | "manage:export:readonly" | "manage:export:org:*" | "manage:export:org:get" | "manage:export:user:*" | "manage:export:user:delete" | "manage:export:user:list" | "manage:authMigration:*" | "manage:authMigration:identity:add" | "manage:authMigration:identity:remove" | "manage:authMigration:user:update" | "manage:mmi:*" | "manage:mmi:readonly" | "manage:mmi:get" | "manage:mmi:list" | "manage:mmi:reject" | "manage:mmi:delete" | "export:*" | "export:user:*" | "export:user:init" | "export:user:complete" | "mmi:*" | "orgAccess:*" | "orgAccess:child:*" | "rpc:*" | "rpc:createTransaction:*" | "rpc:createTransaction:evm" | "rpc:retryTransaction" | "rpc:cancelTransaction" | "rpc:getTransaction" | "rpc:listTransactions" | "rpc:binance" | "rpc:bybit" | "rpc:coinbase";
5407
5590
  /**
5408
5591
  * @description This type specifies the interpretation of the `fee` field in Babylon
5409
5592
  * staking requests. If `sats`, the field is intpreted as a fixed value
@@ -5459,7 +5642,7 @@ export interface components {
5459
5642
  request_device_identifier?: boolean;
5460
5643
  };
5461
5644
  /** @enum {string} */
5462
- ForbiddenErrorCode: "AlienKeyCreate" | "CannotAssumeIdentity" | "SentryDisallowed" | "PasskeyLoginDisabled" | "PasskeyNotRegistered" | "CannotCreateOrg" | "WrongMfaEmailOtpJwt" | "OrgFlagNotSet" | "FidoRequiredToRemoveTotp" | "OidcIdentityLimitReached" | "OidcScopeCeilingMissing" | "OidcIssuerNotAllowedForMemberRole" | "OidcNoMemberRolesAllowed" | "EmailOtpNotConfigured" | "MfaChallengeExpired" | "ChainIdNotAllowed" | "InvalidOrg" | "OrgIdMismatch" | "SessionForWrongOrg" | "SelfDelete" | "SelfDisable" | "InvalidOrgMembershipRoleChange" | "UserDisabled" | "OrgDisabled" | "OrgNotFound" | "OrgWithoutOwner" | "OrphanedUser" | "OidcUserNotFound" | "UserNotInOrg" | "UserNotOrgOwner" | "UserNotKeyOwner" | "InvalidRole" | "DisabledRole" | "KeyDisabled" | "KeyNotInRole" | "ContactNotInOrg" | "UserExportRequestNotInOrg" | "UserExportRequestInvalid" | "UserExportDisabled" | "UserNotOriginalKeyOwner" | "UserNotInRole" | "MustBeFullMember" | "SessionExpired" | "SessionChanged" | "SessionRevoked" | "ExpectedUserSession" | "SessionRoleChanged" | "ScopedNameNotFound" | "SessionInvalidEpochToken" | "SessionInvalidRefreshToken" | "SessionRefreshTokenExpired" | "InvalidAuthHeader" | "SessionNotFound" | "InvalidArn" | "SessionInvalidAuthToken" | "SessionAuthTokenExpired" | "SessionPossiblyStolenToken" | "MfaDisallowedIdentity" | "MfaDisallowedApprover" | "MfaTypeNotAllowed" | "MfaNotApprovedYet" | "MfaConfirmationCodeMismatch" | "MfaHttpRequestMismatch" | "MfaRemoveBelowMin" | "MfaOrgRequirementNotMet" | "MfaRegistrationDisallowed" | "TotpAlreadyConfigured" | "TotpConfigurationChanged" | "MfaTotpBadConfiguration" | "MfaTotpBadCode" | "MfaTotpRateLimit" | "ImproperSessionScope" | "FullSessionRequired" | "SessionWithoutAnyScopeUnder" | "UserRoleUnprivileged" | "MemberRoleForbidden" | "MfaNotConfigured" | "RemoveLastOidcIdentity" | "OperationNotAllowed" | "OrgExportRetrievalDisabled" | "ChangingKeyExportRequirementIsDisabled" | "AutoAddBlsKeyToProtectedRole" | "UserNotPolicyOwner" | "UserNotContactOwner" | "UserNotBucketOwner" | "LegacySessionCannotHaveScopeCeiling" | "RoleInParentOrgNotAllowed" | "RemoveKeyFromRoleUserNotAllowed" | "SiweChallengeExpired" | "SiweMessageNotValid" | "SiweMessageInvalidSignature" | "Acl";
5645
+ ForbiddenErrorCode: "AlienKeyCreate" | "CannotAssumeIdentity" | "SentryDisallowed" | "PasskeyLoginDisabled" | "PasskeyNotRegistered" | "CannotCreateOrg" | "WrongMfaEmailOtpJwt" | "OrgFlagNotSet" | "FidoRequiredToRemoveTotp" | "OidcIdentityLimitReached" | "OidcScopeCeilingMissing" | "OidcIssuerNotAllowedForMemberRole" | "OidcNoMemberRolesAllowed" | "EmailOtpNotConfigured" | "MfaChallengeExpired" | "ChainIdNotAllowed" | "InvalidOrg" | "OrgIdMismatch" | "SessionForWrongOrg" | "SelfDelete" | "SelfDisable" | "InvalidOrgMembershipRoleChange" | "UserDisabled" | "OrgDisabled" | "OrgNotFound" | "OrgWithoutOwner" | "OrphanedUser" | "OidcUserNotFound" | "UserNotInOrg" | "UserNotOrgOwner" | "UserNotKeyOwner" | "InvalidRole" | "DisabledRole" | "KeyDisabled" | "KeyNotInRole" | "ContactNotInOrg" | "UserExportRequestNotInOrg" | "UserExportRequestInvalid" | "UserExportDisabled" | "UserNotOriginalKeyOwner" | "UserNotInRole" | "MustBeFullMember" | "SessionExpired" | "SessionChanged" | "SessionRevoked" | "ExpectedUserSession" | "SessionRoleChanged" | "ScopedNameNotFound" | "SessionInvalidEpochToken" | "SessionInvalidRefreshToken" | "SessionRefreshTokenExpired" | "InvalidAuthHeader" | "SessionNotFound" | "InvalidArn" | "SessionInvalidAuthToken" | "SessionAuthTokenExpired" | "SessionPossiblyStolenToken" | "MfaDisallowedIdentity" | "MfaDisallowedApprover" | "MfaTypeNotAllowed" | "MfaNotApprovedYet" | "MfaConfirmationCodeMismatch" | "MfaHttpRequestMismatch" | "MfaRemoveBelowMin" | "MfaOrgRequirementNotMet" | "MfaRegistrationDisallowed" | "TotpAlreadyConfigured" | "TotpConfigurationChanged" | "MfaTotpBadConfiguration" | "MfaTotpBadCode" | "MfaTotpRateLimit" | "ImproperSessionScope" | "FullSessionRequired" | "SessionWithoutAnyScopeUnder" | "UserRoleUnprivileged" | "MemberRoleForbidden" | "MfaNotConfigured" | "RemoveLastOidcIdentity" | "OperationNotAllowed" | "OrgExportRetrievalDisabled" | "ChangingKeyExportRequirementIsDisabled" | "AutoAddBlsKeyToProtectedRole" | "UserNotPolicyOwner" | "UserNotContactOwner" | "UserNotBucketOwner" | "LegacySessionCannotHaveScopeCeiling" | "RoleInParentOrgNotAllowed" | "RemoveKeyFromRoleUserNotAllowed" | "SiweChallengeExpired" | "SiweMessageNotValid" | "SiweMessageInvalidSignature" | "SiwsChallengeExpired" | "SiwsMessageInvalid" | "Acl";
5463
5646
  /**
5464
5647
  * @description Specifies a fork of the `BeaconChain`, to prevent replay attacks.
5465
5648
  * The schema of `Fork` is defined in the [Beacon chain
@@ -5877,7 +6060,7 @@ export interface components {
5877
6060
  result?: Record<string, unknown> | null;
5878
6061
  };
5879
6062
  /** @description Valid `result` from the JSON-RPC API. */
5880
- 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"]["BybitQueryUserResponse"] | components["schemas"]["BybitQuerySubMembersResponse"] | components["schemas"]["BybitQueryCoinsBalanceResponse"] | components["schemas"]["BybitQueryDepositAddressResponse"] | components["schemas"]["BybitUniversalTransferResponse"] | components["schemas"]["BybitWithdrawResponse"] | components["schemas"]["BybitWithdrawalsResponse"] | components["schemas"]["CoinbaseListAccountsResponse"] | components["schemas"]["CoinbaseListPortfoliosResponse"] | components["schemas"]["CoinbaseMoveFundsResponse"];
6063
+ JsonRpcResult: components["schemas"]["TransactionInfo"] | components["schemas"]["ListTransactionsPaginatedResponse"] | components["schemas"]["SubAccountTransferResponse"] | components["schemas"]["UniversalTransferResponse"] | components["schemas"]["SubAccountAssetsResponse"] | components["schemas"]["AccountInfoResponse"] | components["schemas"]["SubAccountTransferHistoryResponse"] | components["schemas"]["UniversalTransferHistoryResponse"] | components["schemas"]["WithdrawResponse"] | components["schemas"]["WithdrawHistoryResponse"] | components["schemas"]["DepositResponse"] | components["schemas"]["DepositHistoryResponse"] | components["schemas"]["ListSubAccountsResponse"] | components["schemas"]["CoinInfoResponse"] | components["schemas"]["BybitQueryUserResponse"] | components["schemas"]["BybitQuerySubMembersResponse"] | components["schemas"]["BybitQueryCoinsBalanceResponse"] | components["schemas"]["BybitQueryDepositAddressResponse"] | components["schemas"]["BybitUniversalTransferResponse"] | components["schemas"]["BybitWithdrawResponse"] | components["schemas"]["BybitWithdrawalsResponse"] | components["schemas"]["CoinbaseListAccountsResponse"] | components["schemas"]["CoinbaseListPortfoliosResponse"] | components["schemas"]["CoinbaseMoveFundsResponse"];
5881
6064
  JwkSetResponse: {
5882
6065
  /** @description The keys included in this set */
5883
6066
  keys: Record<string, never>[];
@@ -6504,7 +6687,7 @@ export interface components {
6504
6687
  * @description All different kinds of sensitive operations
6505
6688
  * @enum {string}
6506
6689
  */
6507
- OperationKind: "AvaSign" | "AvaChainTxSign" | "BabylonCovSign" | "BabylonRegistration" | "BabylonStaking" | "BinanceSubToMaster" | "BinanceSubToSub" | "BinanceUniversalTransfer" | "BinanceSubAccountAssets" | "BinanceAccountInfo" | "BinanceSubAccountTransferHistory" | "BinanceUniversalTransferHistory" | "BinanceWithdraw" | "BinanceWithdrawHistory" | "BinanceDeposit" | "BinanceListSubAccounts" | "BinanceCoinInfo" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "BybitQueryUser" | "BybitQuerySubMembers" | "BybitQueryCoinsBalance" | "BybitQueryDepositAddress" | "BybitUniversalTransfer" | "BybitWithdraw" | "BybitWithdrawals" | "CoinbaseListAccounts" | "CoinbaseListPortfolios" | "CoinbaseMoveFunds" | "DiffieHellman" | "PsbtSign" | "TaprootSign" | "Eip191Sign" | "Eip712Sign" | "EotsNonces" | "EotsSign" | "Eth1Sign" | "Eth2Sign" | "Eth2Stake" | "Eth2Unstake" | "SolanaSign" | "SuiSign" | "TendermintSign" | "RoleUpdate";
6690
+ OperationKind: "AvaSign" | "AvaChainTxSign" | "BabylonCovSign" | "BabylonRegistration" | "BabylonStaking" | "BinanceSubToMaster" | "BinanceSubToSub" | "BinanceUniversalTransfer" | "BinanceSubAccountAssets" | "BinanceAccountInfo" | "BinanceSubAccountTransferHistory" | "BinanceUniversalTransferHistory" | "BinanceWithdraw" | "BinanceWithdrawHistory" | "BinanceDeposit" | "BinanceDepositHistory" | "BinanceListSubAccounts" | "BinanceCoinInfo" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "BybitQueryUser" | "BybitQuerySubMembers" | "BybitQueryCoinsBalance" | "BybitQueryDepositAddress" | "BybitUniversalTransfer" | "BybitWithdraw" | "BybitWithdrawals" | "CoinbaseListAccounts" | "CoinbaseListPortfolios" | "CoinbaseMoveFunds" | "DiffieHellman" | "PsbtSign" | "TaprootSign" | "Eip191Sign" | "Eip712Sign" | "EotsNonces" | "EotsSign" | "Eth1Sign" | "Eth2Sign" | "Eth2Stake" | "Eth2Unstake" | "SolanaSign" | "SuiSign" | "TendermintSign" | "RoleUpdate";
6508
6691
  OrgAlertsPrefs: {
6509
6692
  /** @description Recipient users for org-level alerts */
6510
6693
  alert_recipients?: components["schemas"]["Id"][] | null;
@@ -7383,7 +7566,7 @@ export interface components {
7383
7566
  };
7384
7567
  PolicyErrorCode: components["schemas"]["PolicyErrorOwnCodes"] | components["schemas"]["EvmTxDepositErrorCode"];
7385
7568
  /** @enum {string} */
7386
- PolicyErrorOwnCodes: "Inapplicable" | "SuiTxReceiversDisallowedTransactionKind" | "SuiTxReceiversDisallowedTransferAddress" | "SuiTxReceiversDisallowedCommand" | "BtcTxDisallowedOutputs" | "BtcSignatureExceededValue" | "BtcValueOverflow" | "BtcSighashTypeDisallowed" | "EvmTxReceiverMismatch" | "EvmTxChainIdMismatch" | "EvmTxSenderMismatch" | "EvmTxExceededValue" | "EvmTxExceededGasCost" | "EvmTxGasCostUndefined" | "EvmDataDisallowed" | "Erc20DataInvalid" | "EvmContractAddressUndefined" | "EvmContractChainIdUndefined" | "EvmDataNotDefined" | "EvmDataInvalid" | "EvmContractNotInAllowlist" | "Erc20ExceededTransferLimit" | "Erc20ReceiverMismatch" | "Erc20ExceededApproveLimit" | "Erc20SpenderMismatch" | "EvmFunctionNotInAllowlist" | "EvmFunctionCallInvalid" | "EvmFunctionCallDisallowedArg" | "PolicyDisjunctionError" | "PolicyNegationError" | "Eth2ExceededMaxUnstake" | "Eth2ConcurrentUnstaking" | "NotInIpv4Allowlist" | "NotInOriginAllowlist" | "NotInOperationAllowlist" | "InvalidSourceIp" | "RawSigningNotAllowed" | "DiffieHellmanExchangeNotAllowed" | "Eip712SigningNotAllowed" | "OidcSourceNotAllowed" | "NoOidcAuthSourcesDefined" | "AddKeyToRoleDisallowed" | "KeysAlreadyInRole" | "KeyInMultipleRoles" | "KeyAccessError" | "RequireRoleSessionKeyAccessError" | "BtcMessageSigningNotAllowed" | "Eip191SigningNotAllowed" | "TaprootSigningDisallowed" | "SegwitSigningDisallowed" | "PsbtSigningDisallowed" | "BabylonStakingDisallowed" | "TimeLocked" | "BabylonStakingNetwork" | "BabylonStakingParamsVersion" | "BabylonStakingExplicitParams" | "BabylonStakingStakerPk" | "BabylonStakingFinalityProviderPk" | "BabylonStakingLockTime" | "BabylonStakingValue" | "BabylonStakingChangeAddress" | "BabylonStakingFee" | "BabylonStakingWithdrawalAddress" | "BabylonStakingBbnAddress" | "SolanaInstructionCountLow" | "SolanaInstructionCountHigh" | "SolanaNotInInstructionAllowlist" | "SolanaInstructionMismatch" | "WasmPoliciesDisabled" | "WasmPolicyDenied" | "WasmPolicyFailed" | "WebhookPoliciesDisabled" | "DeniedByWebhook";
7569
+ PolicyErrorOwnCodes: "Inapplicable" | "SuiTxReceiversDisallowedTransactionKind" | "SuiTxReceiversDisallowedTransferAddress" | "SuiTxReceiversDisallowedCommand" | "BtcTxDisallowedOutputs" | "BtcSignatureExceededValue" | "BtcValueOverflow" | "BtcSighashTypeDisallowed" | "EvmTxReceiverMismatch" | "EvmTxChainIdMismatch" | "EvmTxSenderMismatch" | "EvmTxExceededValue" | "EvmTxExceededGasCost" | "EvmTxGasCostUndefined" | "EvmDataDisallowed" | "Erc20DataInvalid" | "EvmContractAddressUndefined" | "EvmContractChainIdUndefined" | "EvmDataNotDefined" | "EvmDataInvalid" | "EvmContractNotInAllowlist" | "Erc20ExceededTransferLimit" | "Erc20ReceiverMismatch" | "Erc20ExceededApproveLimit" | "Erc20SpenderMismatch" | "EvmFunctionNotInAllowlist" | "EvmFunctionCallInvalid" | "EvmFunctionCallDisallowedArg" | "PolicyDisjunctionError" | "PolicyNegationError" | "Eth2ExceededMaxUnstake" | "Eth2ConcurrentUnstaking" | "NotInIpv4Allowlist" | "NotInOriginAllowlist" | "NotInOperationAllowlist" | "InvalidSourceIp" | "RawSigningNotAllowed" | "DiffieHellmanExchangeNotAllowed" | "Eip712SigningNotAllowed" | "OidcSourceNotAllowed" | "NoOidcAuthSourcesDefined" | "AddKeyToRoleDisallowed" | "KeysAlreadyInRole" | "KeyInMultipleRoles" | "KeyAccessError" | "RequireRoleSessionKeyAccessError" | "BtcMessageSigningNotAllowed" | "Eip191SigningNotAllowed" | "TaprootSigningDisallowed" | "SegwitSigningDisallowed" | "PsbtSigningDisallowed" | "BabylonStakingDisallowed" | "TimeLocked" | "CelPolicyDenied" | "BabylonStakingNetwork" | "BabylonStakingParamsVersion" | "BabylonStakingExplicitParams" | "BabylonStakingStakerPk" | "BabylonStakingFinalityProviderPk" | "BabylonStakingLockTime" | "BabylonStakingValue" | "BabylonStakingChangeAddress" | "BabylonStakingFee" | "BabylonStakingWithdrawalAddress" | "BabylonStakingBbnAddress" | "SolanaInstructionCountLow" | "SolanaInstructionCountHigh" | "SolanaNotInInstructionAllowlist" | "SolanaInstructionMismatch" | "WasmPoliciesDisabled" | "WasmPolicyDenied" | "WasmPolicyFailed" | "WebhookPoliciesDisabled" | "DeniedByWebhook" | "ExplicitlyDenied";
7387
7570
  /** @description A struct containing all the information about a specific version of a policy. */
7388
7571
  PolicyInfo: {
7389
7572
  /** @description The access-control entries for the policy. */
@@ -8102,9 +8285,9 @@ export interface components {
8102
8285
  };
8103
8286
  RpcApiErrorCode: components["schemas"]["RpcApiErrorOwnCodes"] | components["schemas"]["SignerClientErrorCode"] | components["schemas"]["RpcEvmErrorCode"];
8104
8287
  /** @enum {string} */
8105
- RpcApiErrorOwnCodes: "MfaRequired" | "ConcurrentTransactionFailed";
8288
+ RpcApiErrorOwnCodes: "MfaRequired" | "ConcurrentTransactionFailed" | "InvalidTxStatus";
8106
8289
  /** @enum {string} */
8107
- RpcEvmErrorCode: "SubmissionFailed" | "FailedToReserveNonce" | "InvalidTxStatus" | "MissingTxFrom";
8290
+ RpcEvmErrorCode: "SubmissionFailed" | "FailedToReserveNonce" | "MissingTxField" | "Signer";
8108
8291
  /**
8109
8292
  * @description The RPC API method and matching parameters.
8110
8293
  *
@@ -8260,6 +8443,37 @@ export interface components {
8260
8443
  /** @description Optional policy evaluation tree, if requested */
8261
8444
  policy_eval_tree?: unknown;
8262
8445
  };
8446
+ /**
8447
+ * @description The structured input to a Sign-In With Solana request (`SolanaSignInInput` in the spec).
8448
+ *
8449
+ * The relying party fills in `domain`/`address`/`uri`/... and the wallet renders it into the
8450
+ * human-readable message (see [SignInInput::to_message_text]) that it signs.
8451
+ */
8452
+ SignInInput: {
8453
+ /** @description The base58-encoded Solana (ed25519) public key performing the sign-in. */
8454
+ address: string;
8455
+ chainId?: components["schemas"]["SolanaNetwork"] | null;
8456
+ /** @description The RFC 3986 authority that is requesting the sign-in. */
8457
+ domain: string;
8458
+ /** @description The ISO 8601 datetime string after which the signed message is no longer valid. */
8459
+ expirationTime?: string | null;
8460
+ /** @description The ISO 8601 datetime string of the time the message was issued. */
8461
+ issuedAt?: string | null;
8462
+ /** @description A randomized token used to prevent replay attacks; at least 8 alphanumeric characters. */
8463
+ nonce?: string | null;
8464
+ /** @description The ISO 8601 datetime string before which the signed message is not yet valid. */
8465
+ notBefore?: string | null;
8466
+ /** @description A system-specific identifier that may be used to uniquely refer to the sign-in request. */
8467
+ requestId?: string | null;
8468
+ /** @description A list of RFC 3986 URIs the user wishes to have resolved as part of the authentication. */
8469
+ resources?: string[] | null;
8470
+ /** @description A human-readable ASCII assertion that the user will sign; must not contain a newline. */
8471
+ statement?: string | null;
8472
+ /** @description An RFC 3986 URI referring to the resource that is the subject of the sign-in. */
8473
+ uri?: string | null;
8474
+ /** @description The version of the message (currently always `1`). */
8475
+ version?: string | null;
8476
+ };
8263
8477
  SignResponse: {
8264
8478
  /** @description Optional policy evaluation tree. */
8265
8479
  policy_eval_tree?: unknown;
@@ -8338,6 +8552,56 @@ export interface components {
8338
8552
  /** @description The message to sign following the EIP-191 standard. */
8339
8553
  message: string;
8340
8554
  };
8555
+ /** @description Answer to a Sign-in with Solana challenge. */
8556
+ SiwsCompleteRequest: {
8557
+ challenge_id: components["schemas"]["Id"];
8558
+ /** @description The base58-encoded ed25519 signature of `signed_message`. */
8559
+ signature: string;
8560
+ /** @description The base58-encoded UTF-8 bytes of the message that was signed (the rendered `SignInInput`). */
8561
+ signed_message: string;
8562
+ };
8563
+ /** @description Returned upon a successful SIWS authentication. */
8564
+ SiwsCompleteResponse: {
8565
+ /** @description The OIDC token corresponding to the user with the requested SIWS identity. */
8566
+ id_token: string;
8567
+ };
8568
+ /**
8569
+ * @description Initialize the request to sign in with Solana. The response will contain a structured
8570
+ * `SignInInput` that the client must render to text, sign, and submit via the corresponding PATCH
8571
+ * endpoint within 5 minutes.
8572
+ */
8573
+ SiwsInitRequest: {
8574
+ /** @description The base58-encoded Solana (ed25519) public key performing the signing. */
8575
+ address: string;
8576
+ chain_id?: components["schemas"]["SolanaNetwork"] | null;
8577
+ /** @description The RFC 3986 authority that is requesting the signing. */
8578
+ domain: string;
8579
+ /** @description The ISO 8601 datetime string that, if present, indicates when the signed authentication message is no longer valid. */
8580
+ expiration_time?: string | null;
8581
+ /** @description The ISO 8601 datetime string that, if present, indicates when the signed authentication message will become valid. */
8582
+ not_before?: string | null;
8583
+ /** @description A system-specific identifier that may be used to uniquely refer to the sign-in request. */
8584
+ request_id?: string | null;
8585
+ /** @description A list of RFC 3986 URIs the user wishes to have resolved as part of authentication by the relying party. */
8586
+ resources?: string[];
8587
+ /** @description A human-readable ASCII assertion that the user will sign, and it must not contain '\n' (the byte 0x0a). */
8588
+ statement?: string | null;
8589
+ /** @description An RFC 3986 URI referring to the resource that is the subject of the signing (as in the subject of a claim). */
8590
+ uri?: string | null;
8591
+ };
8592
+ /**
8593
+ * @description A challenge returned in response to a Sign-In with Solana request.
8594
+ *
8595
+ * Contains a structured [SignInInput] that the client must render to its canonical text and sign
8596
+ * (ed25519) with the requested key in order to complete authentication.
8597
+ *
8598
+ * The client has until the message expires (but no more than 5 minutes) to complete the challenge.
8599
+ */
8600
+ SiwsInitResponse: {
8601
+ /** @description The ID of the challenge (to include in the request when calling the PATCH ('complete') endpoint) */
8602
+ challenge_id: string;
8603
+ sign_in_input: components["schemas"]["SignInInput"];
8604
+ };
8341
8605
  /** @description A Solana address and the cluster it is on. */
8342
8606
  SolanaAddressInfo: {
8343
8607
  /**
@@ -8352,6 +8616,11 @@ export interface components {
8352
8616
  * @enum {string}
8353
8617
  */
8354
8618
  SolanaCluster: "mainnet" | "devnet";
8619
+ /**
8620
+ * @description The Solana network a SIWS message is bound to (the `Chain ID` field).
8621
+ * @enum {string}
8622
+ */
8623
+ SolanaNetwork: "mainnet" | "testnet" | "devnet" | "localnet" | "solana:mainnet" | "solana:testnet" | "solana:devnet" | "solana:localnet";
8355
8624
  /**
8356
8625
  * @description Solana signing request
8357
8626
  * @example {
@@ -11616,6 +11885,32 @@ export interface components {
11616
11885
  };
11617
11886
  };
11618
11887
  };
11888
+ /** @description Returned upon a successful SIWS authentication. */
11889
+ SiwsCompleteResponse: {
11890
+ content: {
11891
+ "application/json": {
11892
+ /** @description The OIDC token corresponding to the user with the requested SIWS identity. */
11893
+ id_token: string;
11894
+ };
11895
+ };
11896
+ };
11897
+ /**
11898
+ * @description A challenge returned in response to a Sign-In with Solana request.
11899
+ *
11900
+ * Contains a structured [SignInInput] that the client must render to its canonical text and sign
11901
+ * (ed25519) with the requested key in order to complete authentication.
11902
+ *
11903
+ * The client has until the message expires (but no more than 5 minutes) to complete the challenge.
11904
+ */
11905
+ SiwsInitResponse: {
11906
+ content: {
11907
+ "application/json": {
11908
+ /** @description The ID of the challenge (to include in the request when calling the PATCH ('complete') endpoint) */
11909
+ challenge_id: string;
11910
+ sign_in_input: components["schemas"]["SignInInput"];
11911
+ };
11912
+ };
11913
+ };
11619
11914
  StakeResponse: {
11620
11915
  content: {
11621
11916
  "application/json": ({
@@ -14742,12 +15037,21 @@ export interface operations {
14742
15037
  * but extends the output with an `id_token`.
14743
15038
  *
14744
15039
  * This `id_token` can then be used with any CubeSigner endpoint that requires an OIDC token.
15040
+ * Callers must request *at least* scopes `tweet.read` and `users.read` during auth with twitter.
15041
+ *
15042
+ * By default, the id token does not contain a confirmed email;
15043
+ * callers can request this field be populated by requesting the `users.email` scope
15044
+ * and adding `fetch_email` as a URL parameter to this route.
15045
+ *
14745
15046
  *
14746
15047
  * > [!IMPORTANT]
14747
15048
  * > This endpoint will fail unless the org is configured to allow the issuer `https://shim.oauth2.cubist.dev/twitter` and client ID being used for Twitter.
14748
15049
  */
14749
15050
  oauth2Twitter: {
14750
15051
  parameters: {
15052
+ query?: {
15053
+ fetch_email?: boolean | null;
15054
+ };
14751
15055
  path: {
14752
15056
  /**
14753
15057
  * @description Name or ID of the desired Org
@@ -14920,6 +15224,77 @@ export interface operations {
14920
15224
  };
14921
15225
  };
14922
15226
  };
15227
+ /**
15228
+ * Initiate login via Sign-in With Solana (SIWS).
15229
+ * @description Initiate login via Sign-in With Solana (SIWS).
15230
+ *
15231
+ * This endpoint generates a challenge which can be answered (via the corresponding PATCH endpoint)
15232
+ * to obtain an OIDC token. The OIDC token can then be exchanged for a user session via the standard
15233
+ * OIDC auth route.
15234
+ *
15235
+ * > [!IMPORTANT]
15236
+ * > For this endpoint to succeed, the org must be configured to:
15237
+ * > Allow the issuer `https://shim.oauth2.cubist.dev/siws` with the Org ID as the client ID
15238
+ */
15239
+ siwsInit: {
15240
+ parameters: {
15241
+ path: {
15242
+ /**
15243
+ * @description Name or ID of the desired Org
15244
+ * @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
15245
+ */
15246
+ org_id: string;
15247
+ };
15248
+ };
15249
+ requestBody: {
15250
+ content: {
15251
+ "application/json": components["schemas"]["SiwsInitRequest"];
15252
+ };
15253
+ };
15254
+ responses: {
15255
+ 200: components["responses"]["SiwsInitResponse"];
15256
+ default: {
15257
+ content: {
15258
+ "application/json": components["schemas"]["ErrorResponse"];
15259
+ };
15260
+ };
15261
+ };
15262
+ };
15263
+ /**
15264
+ * Complete login via Sign-in With Solana (SIWS)
15265
+ * @description Complete login via Sign-in With Solana (SIWS)
15266
+ *
15267
+ * If the challenge (issued by the corresponding POST endpoint) is answered correctly, this endpoint
15268
+ * generates an OIDC token that can then be exchanged for a user session via the standard OIDC auth route.
15269
+ *
15270
+ * > [!IMPORTANT]
15271
+ * > For this endpoint to succeed, the org must be configured to:
15272
+ * > Allow the issuer `https://shim.oauth2.cubist.dev/siws` with the Org ID as the client ID
15273
+ */
15274
+ siwsComplete: {
15275
+ parameters: {
15276
+ path: {
15277
+ /**
15278
+ * @description Name or ID of the desired Org
15279
+ * @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
15280
+ */
15281
+ org_id: string;
15282
+ };
15283
+ };
15284
+ requestBody: {
15285
+ content: {
15286
+ "application/json": components["schemas"]["SiwsCompleteRequest"];
15287
+ };
15288
+ };
15289
+ responses: {
15290
+ 200: components["responses"]["SiwsCompleteResponse"];
15291
+ default: {
15292
+ content: {
15293
+ "application/json": components["schemas"]["ErrorResponse"];
15294
+ };
15295
+ };
15296
+ };
15297
+ };
14923
15298
  /**
14924
15299
  * Allows a user to authenticate with the telegram API using the tgWebAppData value
14925
15300
  * @description Allows a user to authenticate with the telegram API using the tgWebAppData value
@@ -16264,16 +16639,23 @@ export interface operations {
16264
16639
  "page.start"?: string | null;
16265
16640
  /**
16266
16641
  * @description If provided, the name or ID of a role to operate on.
16267
- * Cannot be specified together with `user`.
16642
+ * Cannot be specified together with other selectors.
16268
16643
  * @example my-role
16269
16644
  */
16270
16645
  role?: string | null;
16271
16646
  /**
16272
16647
  * @description If provided, the ID of a user to operate on.
16273
- * Cannot be specified together with `role`.
16648
+ * Cannot be specified together with other selectors.
16274
16649
  * @example User#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
16275
16650
  */
16276
16651
  user?: string | null;
16652
+ /**
16653
+ * @description If provided, the ID of the user whose created role sessions to operate on.
16654
+ * Selects all *role* sessions created by that user (user sessions are not affected).
16655
+ * Cannot be specified together with other selectors.
16656
+ * @example User#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
16657
+ */
16658
+ role_created_by?: string | null;
16277
16659
  };
16278
16660
  path: {
16279
16661
  /**
@@ -16336,22 +16718,36 @@ export interface operations {
16336
16718
  *
16337
16719
  * If a `role` query parameter is provided, **ALL** session for **THAT ROLE** are revoked
16338
16720
  * (if the current user has permissions to revoke sessions for the role).
16721
+ *
16722
+ * If a `role_created_by` query parameter is provided, **ROLE** sessions created by **THAT USER**
16723
+ * are revoked (gated by the same permissions as revoking that user's own sessions: the current
16724
+ * user must be that user or an org owner). User sessions are not affected. Unless the current
16725
+ * user is an org owner, only sessions for roles the current user is **still a member of** are
16726
+ * revoked (so a user cannot revoke sessions for a role they have since been removed from); org
16727
+ * owners revoke across all roles.
16339
16728
  */
16340
16729
  revokeSessions: {
16341
16730
  parameters: {
16342
16731
  query?: {
16343
16732
  /**
16344
16733
  * @description If provided, the name or ID of a role to operate on.
16345
- * Cannot be specified together with `user`.
16734
+ * Cannot be specified together with other selectors.
16346
16735
  * @example my-role
16347
16736
  */
16348
16737
  role?: string | null;
16349
16738
  /**
16350
16739
  * @description If provided, the ID of a user to operate on.
16351
- * Cannot be specified together with `role`.
16740
+ * Cannot be specified together with other selectors.
16352
16741
  * @example User#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
16353
16742
  */
16354
16743
  user?: string | null;
16744
+ /**
16745
+ * @description If provided, the ID of the user whose created role sessions to operate on.
16746
+ * Selects all *role* sessions created by that user (user sessions are not affected).
16747
+ * Cannot be specified together with other selectors.
16748
+ * @example User#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
16749
+ */
16750
+ role_created_by?: string | null;
16355
16751
  };
16356
16752
  path: {
16357
16753
  /**
@@ -17191,6 +17587,9 @@ export interface operations {
17191
17587
  */
17192
17588
  deleteOidcUser: {
17193
17589
  parameters: {
17590
+ query?: {
17591
+ revoke_role_sessions_they_created?: boolean | null;
17592
+ };
17194
17593
  path: {
17195
17594
  /**
17196
17595
  * @description Name or ID of the desired Org
@@ -17332,6 +17731,9 @@ export interface operations {
17332
17731
  */
17333
17732
  deleteUser: {
17334
17733
  parameters: {
17734
+ query?: {
17735
+ revoke_role_sessions_they_created?: boolean | null;
17736
+ };
17335
17737
  path: {
17336
17738
  /**
17337
17739
  * @description Name or ID of the desired Org