@cubist-labs/cubesigner-sdk 0.4.217 → 0.4.219

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.
@@ -90,6 +90,13 @@ export interface paths {
90
90
  */
91
91
  patch: operations["updateOrg"];
92
92
  };
93
+ "/v0/org/{org_id}/audit": {
94
+ /**
95
+ * Query the audit log.
96
+ * @description Query the audit log.
97
+ */
98
+ post: operations["queryAuditLog"];
99
+ };
93
100
  "/v0/org/{org_id}/auth_migration/add_identity": {
94
101
  /**
95
102
  * Associate an OIDC identity with an arbitrary user in org <session.org>.
@@ -1797,6 +1804,50 @@ export interface components {
1797
1804
  * the aud value MAY be a single case-sensitive string.
1798
1805
  */
1799
1806
  Aud: string | string[];
1807
+ AuditLogEntry: {
1808
+ /** @description The name of the event */
1809
+ event: string;
1810
+ /** @description UUID of the event. Unique across all events. */
1811
+ event_id: string;
1812
+ org_id: components["schemas"]["Id"];
1813
+ /**
1814
+ * @description The id of the HTTP request which triggered the event
1815
+ * (a single request can trigger multiple events).
1816
+ */
1817
+ request_id: string;
1818
+ /** @description The time when the event was logged. */
1819
+ time: string;
1820
+ /**
1821
+ * @description The id of the identity (user or role) which triggered the event
1822
+ * (may be undefined for certain unauthenticated endpoints)
1823
+ */
1824
+ triggered_by?: string | null;
1825
+ [key: string]: unknown;
1826
+ };
1827
+ /** @description The request type for querying the audit log. */
1828
+ AuditLogRequest: {
1829
+ /**
1830
+ * Format: int64
1831
+ * @description End time in seconds since unix epoch. If omitted, defaults to 'now'.
1832
+ */
1833
+ end_time?: number | null;
1834
+ /**
1835
+ * @description Filter the log by the event name.
1836
+ * If omitted, all events will be included.
1837
+ * Must not be set to an empty array
1838
+ */
1839
+ events?: components["schemas"]["OrgEventDiscriminants"][] | null;
1840
+ /**
1841
+ * Format: int64
1842
+ * @description Start time in seconds since unix epoch.
1843
+ */
1844
+ start_time: number;
1845
+ };
1846
+ /** @description The audit log response */
1847
+ AuditLogResponse: {
1848
+ /** @description Audit log entries */
1849
+ entries: components["schemas"]["AuditLogEntry"][];
1850
+ };
1800
1851
  /** @description Data required for both `authenticate` and `refresh`. */
1801
1852
  AuthData: {
1802
1853
  /** Format: int32 */
@@ -1946,6 +1997,8 @@ export interface components {
1946
1997
  AuthenticatorTransport: "usb" | "nfc" | "ble" | "internal";
1947
1998
  /** @description Request to sign a serialized Avalanche transaction */
1948
1999
  AvaSerializedTxSignRequest: {
2000
+ /** @description Optionally assume this role */
2001
+ assume_role?: string | null;
1949
2002
  /**
1950
2003
  * @description Request additional information to be included in the response, explaining
1951
2004
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -1963,6 +2016,8 @@ export interface components {
1963
2016
  };
1964
2017
  /** @description Request to sign an Avalanche transaction */
1965
2018
  AvaSignRequest: {
2019
+ /** @description Optionally assume this role */
2020
+ assume_role?: string | null;
1966
2021
  /**
1967
2022
  * @description Request additional information to be included in the response, explaining
1968
2023
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -1995,6 +2050,8 @@ export interface components {
1995
2050
  /** @description Wrapper around a zeroizing 32-byte fixed-size array */
1996
2051
  B32: string;
1997
2052
  BabylonCovSignRequest: {
2053
+ /** @description Optionally assume this role */
2054
+ assume_role?: string | null;
1998
2055
  /**
1999
2056
  * @description Request additional information to be included in the response, explaining
2000
2057
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -2183,6 +2240,8 @@ export interface components {
2183
2240
  */
2184
2241
  value: number;
2185
2242
  }) & {
2243
+ /** @description Optionally assume this role */
2244
+ assume_role?: string | null;
2186
2245
  /**
2187
2246
  * @description Request additional information to be included in the response, explaining
2188
2247
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -2557,7 +2616,7 @@ export interface components {
2557
2616
  /** @enum {string} */
2558
2617
  BadGatewayErrorCode: "Generic" | "CustomChainRpcError" | "EsploraApiError" | "SentryApiError" | "CallWebhookError" | "OAuthProviderError" | "OidcDisoveryFailed" | "OidcIssuerJwkEndpointUnavailable" | "SmtpServerUnavailable";
2559
2618
  /** @enum {string} */
2560
- BadRequestErrorCode: "GenericBadRequest" | "DisallowedAllowRuleReference" | "InvalidPaginationToken" | "InvalidEmail" | "InvalidEmailTemplate" | "QueryMetricsError" | "InvalidTelegramData" | "QueryMetricsValidationError" | "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" | "InvalidKeyMaterial" | "InvalidHexValue" | "InvalidBase32Value" | "InvalidBase58Value" | "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" | "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";
2619
+ 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" | "InvalidKeyMaterial" | "InvalidHexValue" | "InvalidBase32Value" | "InvalidBase58Value" | "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" | "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";
2561
2620
  BillingArgs: {
2562
2621
  billing_org: components["schemas"]["Id"];
2563
2622
  event_type: components["schemas"]["BillingEvent"];
@@ -2574,7 +2633,7 @@ export interface components {
2574
2633
  * @description Billing event types.
2575
2634
  * @enum {string}
2576
2635
  */
2577
- 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" | "ListUsers" | "GetUser" | "GetUserByEmail" | "GetUserByOidc" | "UpdateMembership" | "ResetMemberMfa" | "CompleteResetMemberMfa" | "CreateRole" | "GetRole" | "ListTokenKeys" | "ListRoles" | "GetRoleKey" | "ListRoleKeys" | "ListRoleUsers" | "UpdateRole" | "DeleteRole" | "ConfigureEmail" | "ListHistoricalRoleTx" | "CreatePolicy" | "GetPolicy" | "ListPolicies" | "DeletePolicy" | "UpdatePolicy" | "InvokePolicy" | "GetPolicyLogs" | "UploadWasmPolicy" | "GetPolicySecrets" | "UpdatePolicySecrets" | "SetPolicySecret" | "DeletePolicySecret" | "CreatePolicyImportKey" | "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" | "Counts" | "CreateKey" | "ImportKey" | "CreateKeyImportKey" | "DeriveKey" | "DeleteKey" | "AvaSign" | "AvaSerializedTxSign" | "BabylonRegistration" | "BabylonStaking" | "BabylonCovSign" | "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" | "CustomChainRpcCall" | "EsploraApiCall" | "ExecutePolicy" | "SentryApiCall" | "SentryApiCallPublic" | "MmiJwkSet" | "AttestationJwkSet" | "UserOrgs" | "PublicOrgInfo" | "EmailMyOrgs";
2636
+ 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" | "ListUsers" | "GetUser" | "GetUserByEmail" | "GetUserByOidc" | "UpdateMembership" | "ResetMemberMfa" | "CompleteResetMemberMfa" | "CreateRole" | "GetRole" | "ListTokenKeys" | "ListRoles" | "GetRoleKey" | "ListRoleKeys" | "ListRoleUsers" | "UpdateRole" | "DeleteRole" | "ConfigureEmail" | "ListHistoricalRoleTx" | "CreatePolicy" | "GetPolicy" | "ListPolicies" | "DeletePolicy" | "UpdatePolicy" | "InvokePolicy" | "GetPolicyLogs" | "UploadWasmPolicy" | "GetPolicySecrets" | "UpdatePolicySecrets" | "SetPolicySecret" | "DeletePolicySecret" | "CreatePolicyImportKey" | "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" | "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" | "CustomChainRpcCall" | "EsploraApiCall" | "ExecutePolicy" | "SentryApiCall" | "SentryApiCallPublic" | "MmiJwkSet" | "AttestationJwkSet" | "UserOrgs" | "PublicOrgInfo" | "EmailMyOrgs";
2578
2637
  /** @description A bitcoin address and its network. */
2579
2638
  BitcoinAddressInfo: {
2580
2639
  /**
@@ -2590,6 +2649,8 @@ export interface components {
2590
2649
  * }
2591
2650
  */
2592
2651
  BlobSignRequest: {
2652
+ /** @description Optionally assume this role */
2653
+ assume_role?: string | null;
2593
2654
  /**
2594
2655
  * @description Request additional information to be included in the response, explaining
2595
2656
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -2673,6 +2734,8 @@ export interface components {
2673
2734
  };
2674
2735
  /** @description Data to sign */
2675
2736
  BtcMessageSignRequest: {
2737
+ /** @description Optionally assume this role */
2738
+ assume_role?: string | null;
2676
2739
  /**
2677
2740
  * @description Request additional information to be included in the response, explaining
2678
2741
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -2704,6 +2767,8 @@ export interface components {
2704
2767
  /** @enum {string} */
2705
2768
  BtcSighashType: "All" | "None" | "Single" | "AllPlusAnyoneCanPay" | "NonePlusAnyoneCanPay" | "SinglePlusAnyoneCanPay";
2706
2769
  BtcSignRequest: {
2770
+ /** @description Optionally assume this role */
2771
+ assume_role?: string | null;
2707
2772
  /**
2708
2773
  * @description Request additional information to be included in the response, explaining
2709
2774
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -3301,6 +3366,8 @@ export interface components {
3301
3366
  mnemonic_id?: string | null;
3302
3367
  };
3303
3368
  DiffieHellmanRequest: {
3369
+ /** @description Optionally assume this role */
3370
+ assume_role?: string | null;
3304
3371
  /**
3305
3372
  * @description Request additional information to be included in the response, explaining
3306
3373
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -3376,6 +3443,8 @@ export interface components {
3376
3443
  time_lock_until?: components["schemas"]["EpochDateTime"] | null;
3377
3444
  };
3378
3445
  Eip191SignRequest: {
3446
+ /** @description Optionally assume this role */
3447
+ assume_role?: string | null;
3379
3448
  /**
3380
3449
  * @description Request additional information to be included in the response, explaining
3381
3450
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -3493,6 +3562,8 @@ export interface components {
3493
3562
  * }
3494
3563
  */
3495
3564
  Eip712SignRequest: {
3565
+ /** @description Optionally assume this role */
3566
+ assume_role?: string | null;
3496
3567
  /**
3497
3568
  * @description Request additional information to be included in the response, explaining
3498
3569
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -3583,6 +3654,8 @@ export interface components {
3583
3654
  * at a specified block height.
3584
3655
  */
3585
3656
  EotsCreateNonceRequest: {
3657
+ /** @description Optionally assume this role */
3658
+ assume_role?: string | null;
3586
3659
  /**
3587
3660
  * @description Request additional information to be included in the response, explaining
3588
3661
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -3628,6 +3701,8 @@ export interface components {
3628
3701
  };
3629
3702
  /** @description Request for an EOTS signature on a specified message, chain-id, block-height triple */
3630
3703
  EotsSignRequest: {
3704
+ /** @description Optionally assume this role */
3705
+ assume_role?: string | null;
3631
3706
  /**
3632
3707
  * @description Request additional information to be included in the response, explaining
3633
3708
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -3719,6 +3794,8 @@ export interface components {
3719
3794
  * }
3720
3795
  */
3721
3796
  Eth1SignRequest: {
3797
+ /** @description Optionally assume this role */
3798
+ assume_role?: string | null;
3722
3799
  /**
3723
3800
  * @description Request additional information to be included in the response, explaining
3724
3801
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -3776,6 +3853,8 @@ export interface components {
3776
3853
  * }
3777
3854
  */
3778
3855
  Eth2SignRequest: {
3856
+ /** @description Optionally assume this role */
3857
+ assume_role?: string | null;
3779
3858
  /**
3780
3859
  * @description Request additional information to be included in the response, explaining
3781
3860
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -3918,7 +3997,7 @@ export interface components {
3918
3997
  * @description Explicitly named scopes for accessing CubeSigner APIs
3919
3998
  * @enum {string}
3920
3999
  */
3921
- ExplicitScope: "sign:*" | "sign:ava" | "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: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:metadata" | "manage:key:update:editPolicy" | "manage:key:delete" | "manage:policy:*" | "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:contact:*" | "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: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: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:verify" | "manage:identity:add" | "manage:identity:remove" | "manage:identity:list" | "manage:org:*" | "manage:org:create" | "manage:org:metrics:query" | "manage:org:readonly" | "manage:org:addUser" | "manage:org:inviteUser" | "manage:org:inviteAlien" | "manage:org:updateMembership" | "manage:org:listUsers" | "manage:org:user:get" | "manage:org:deleteUser" | "manage:org:get" | "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: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:*";
4000
+ ExplicitScope: "sign:*" | "sign:ava" | "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: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:metadata" | "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: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: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: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:updateMembership" | "manage:org:listUsers" | "manage:org:user:get" | "manage:org:deleteUser" | "manage:org:get" | "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:*";
3922
4001
  /**
3923
4002
  * @description This type specifies the interpretation of the `fee` field in Babylon
3924
4003
  * staking requests. If `sats`, the field is intpreted as a fixed value
@@ -3974,7 +4053,7 @@ export interface components {
3974
4053
  request_device_identifier?: boolean;
3975
4054
  };
3976
4055
  /** @enum {string} */
3977
- ForbiddenErrorCode: "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" | "AutoAddBlsKeyToProtectedRole" | "UserNotPolicyOwner" | "UserNotContactOwner" | "LegacySessionCannotHaveScopeCeiling" | "RoleInParentOrgNotAllowed" | "RemoveKeyFromRoleUserNotAllowed" | "SiweChallengeExpired" | "SiweMessageNotValid" | "SiweMessageInvalidSignature" | "Acl";
4056
+ ForbiddenErrorCode: "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" | "LegacySessionCannotHaveScopeCeiling" | "RoleInParentOrgNotAllowed" | "RemoveKeyFromRoleUserNotAllowed" | "SiweChallengeExpired" | "SiweMessageNotValid" | "SiweMessageInvalidSignature" | "Acl";
3978
4057
  /**
3979
4058
  * @description Specifies a fork of the `BeaconChain`, to prevent replay attacks.
3980
4059
  * The schema of `Fork` is defined in the [Beacon chain
@@ -4198,7 +4277,7 @@ export interface components {
4198
4277
  salt: string;
4199
4278
  };
4200
4279
  /** @enum {string} */
4201
- InternalErrorCode: "NoMaterialId" | "UnexpectedCheckerRule" | "UnresolvedPolicyReference" | "UnexpectedAclAction" | "FidoKeyAssociatedWithMultipleUsers" | "ClaimsParseError" | "InvalidThrottleId" | "InvalidEmailAddress" | "EmailTemplateRender" | "OidcIdentityHeaderMissing" | "OidcIdentityParseError" | "SystemTimeError" | "PasswordHashParseError" | "SendMailError" | "ReqwestError" | "EmailConstructionError" | "TsWriteError" | "TsQueryError" | "DbQueryError" | "DbGetError" | "DbDeleteError" | "DbPutError" | "DbUpdateError" | "SerdeError" | "TestAndSetError" | "DbGetItemsError" | "DbWriteError" | "CubistSignerError" | "CwListMetricsError" | "CwPutMetricDataError" | "GetAwsSecretError" | "SecretNotFound" | "KmsGenerateRandomError" | "MalformedTotpBytes" | "KmsGenerateRandomNoResponseError" | "CreateKeyError" | "ParseDerivationPathError" | "SplitSignerError" | "CreateImportKeyError" | "CreateEotsNoncesError" | "EotsSignError" | "BabylonCovSignError" | "CognitoDeleteUserError" | "CognitoListUsersError" | "CognitoGetUserError" | "MissingUserEmail" | "CognitoResendUserInvitation" | "CognitoSetUserPasswordError" | "GenericInternalError" | "OidcAuthWithoutOrg" | "MissingKeyMetadata" | "KmsEnableKeyError" | "KmsDisableKeyError" | "LambdaInvokeError" | "LambdaNoResponseError" | "LambdaFailure" | "LambdaUnparsableResponse" | "SerializeEncryptedExportKeyError" | "DeserializeEncryptedExportKeyError" | "ReEncryptUserExport" | "S3UploadError" | "S3DownloadError" | "S3CopyError" | "S3ListObjectsError" | "S3DeleteObjectsError" | "S3BuildError" | "S3PresignedUrlError" | "ManagedStateMissing" | "InternalHeaderMissing" | "InvalidInternalHeaderValue" | "RequestLocalStateAlreadySet" | "OidcOrgMismatch" | "OidcIssuerInvalidJwk" | "InvalidPkForMaterialId" | "SegwitTweakFailed" | "UncheckedOrg" | "SessionOrgIdMissing" | "AvaSignCredsMissing" | "AvaSignSignatureMissing" | "ExpectedRoleSession" | "InvalidThirdPartyIdentity" | "CognitoGetUser" | "SnsSubscribeError" | "SnsUnsubscribeError" | "SnsGetSubscriptionAttributesError" | "SnsSubscriptionAttributesMissing" | "SnsSetSubscriptionAttributesError" | "SnsPublishBatchError" | "InconsistentMultiValueTestAndSet" | "MaterialIdError" | "InvalidBtcAddress" | "HistoricalTxBodyMissing" | "InvalidOperation" | "ParentOrgNotFound" | "OrgParentLoop" | "ResolvedParentOrgWithNoScopeCeiling" | "InvalidUploadObjectId" | "PolicyEngineNotFound" | "PolicyEngineError" | "PolicySecretsEncryptionError" | "CreatePolicyImportKeyError" | "InvalidAlias" | "EmptyUpdateModifiedObject" | "EmptyUpdateModifiedActions" | "DbContactAddressesInvalid";
4280
+ InternalErrorCode: "NoMaterialId" | "InvalidAuditLogEntry" | "UnexpectedCheckerRule" | "UnresolvedPolicyReference" | "UnexpectedAclAction" | "FidoKeyAssociatedWithMultipleUsers" | "ClaimsParseError" | "InvalidThrottleId" | "InvalidEmailAddress" | "EmailTemplateRender" | "OidcIdentityHeaderMissing" | "OidcIdentityParseError" | "SystemTimeError" | "PasswordHashParseError" | "SendMailError" | "ReqwestError" | "EmailConstructionError" | "TsWriteError" | "TsQueryError" | "DbQueryError" | "DbGetError" | "DbDeleteError" | "DbPutError" | "DbUpdateError" | "SerdeError" | "TestAndSetError" | "DbGetItemsError" | "DbWriteError" | "CubistSignerError" | "CwListMetricsError" | "CwPutMetricDataError" | "GetAwsSecretError" | "SecretNotFound" | "KmsGenerateRandomError" | "MalformedTotpBytes" | "KmsGenerateRandomNoResponseError" | "CreateKeyError" | "ParseDerivationPathError" | "SplitSignerError" | "CreateImportKeyError" | "CreateEotsNoncesError" | "EotsSignError" | "BabylonCovSignError" | "CognitoDeleteUserError" | "CognitoListUsersError" | "CognitoGetUserError" | "MissingUserEmail" | "CognitoResendUserInvitation" | "CognitoSetUserPasswordError" | "GenericInternalError" | "AssumeRoleWithoutEvidence" | "OidcAuthWithoutOrg" | "MissingKeyMetadata" | "KmsEnableKeyError" | "KmsDisableKeyError" | "LambdaInvokeError" | "LambdaNoResponseError" | "LambdaFailure" | "LambdaUnparsableResponse" | "SerializeEncryptedExportKeyError" | "DeserializeEncryptedExportKeyError" | "ReEncryptUserExport" | "S3UploadError" | "S3DownloadError" | "S3CopyError" | "S3ListObjectsError" | "S3DeleteObjectsError" | "S3BuildError" | "S3PresignedUrlError" | "ManagedStateMissing" | "InternalHeaderMissing" | "InvalidInternalHeaderValue" | "RequestLocalStateAlreadySet" | "OidcOrgMismatch" | "OidcIssuerInvalidJwk" | "InvalidPkForMaterialId" | "SegwitTweakFailed" | "UncheckedOrg" | "SessionOrgIdMissing" | "AvaSignCredsMissing" | "AvaSignSignatureMissing" | "ExpectedRoleSession" | "InvalidThirdPartyIdentity" | "CognitoGetUser" | "SnsSubscribeError" | "SnsUnsubscribeError" | "SnsGetSubscriptionAttributesError" | "SnsSubscriptionAttributesMissing" | "SnsSetSubscriptionAttributesError" | "SnsPublishBatchError" | "InconsistentMultiValueTestAndSet" | "MaterialIdError" | "InvalidBtcAddress" | "HistoricalTxBodyMissing" | "InvalidOperation" | "ParentOrgNotFound" | "OrgParentLoop" | "ResolvedParentOrgWithNoScopeCeiling" | "InvalidUploadObjectId" | "PolicyEngineNotFound" | "PolicyEngineError" | "PolicySecretsEncryptionError" | "CreatePolicyImportKeyError" | "InvalidAlias" | "EmptyUpdateModifiedObject" | "EmptyUpdateModifiedActions" | "DbContactAddressesInvalid";
4202
4281
  InvitationAcceptRequest: {
4203
4282
  auth: components["schemas"]["AuthSource"];
4204
4283
  /** @description Invitation token */
@@ -4597,6 +4676,7 @@ export interface components {
4597
4676
  MfaRequirements: {
4598
4677
  alien_login_requirement?: components["schemas"]["SecondFactorRequirement"];
4599
4678
  allowed_mfa_types?: components["schemas"]["AllowedMfaMap"];
4679
+ key_export_requirement?: components["schemas"]["SecondFactorRequirement"];
4600
4680
  member_login_requirement?: components["schemas"]["SecondFactorRequirement"];
4601
4681
  };
4602
4682
  MfaResetRequest: {
@@ -4885,7 +4965,10 @@ export interface components {
4885
4965
  role?: components["schemas"]["Id"] | null;
4886
4966
  user?: components["schemas"]["Id"] | null;
4887
4967
  } | {
4888
- /** @description The duration of the request in milliseconds */
4968
+ /**
4969
+ * Format: int64
4970
+ * @description The duration of the request in milliseconds
4971
+ */
4889
4972
  duration_ms: number;
4890
4973
  /** @description The HTTP request method */
4891
4974
  method: string;
@@ -5271,6 +5354,21 @@ export interface components {
5271
5354
  */
5272
5355
  "page.start"?: string | null;
5273
5356
  };
5357
+ /**
5358
+ * @description Response type that wraps another type and adds base64url-encoded encrypted `last_evaluated_key`
5359
+ * value (which can the user pass back to use as a url query parameter to continue pagination).
5360
+ */
5361
+ PaginatedAuditLogResponse: {
5362
+ /** @description Audit log entries */
5363
+ entries: components["schemas"]["AuditLogEntry"][];
5364
+ } & {
5365
+ /**
5366
+ * @description If set, the content of `response` does not contain the entire result set.
5367
+ * To fetch the next page of the result set, call the same endpoint
5368
+ * but specify this value as the 'page.start' query parameter.
5369
+ */
5370
+ last_evaluated_key?: string | null;
5371
+ };
5274
5372
  /**
5275
5373
  * @description Response type that wraps another type and adds base64url-encoded encrypted `last_evaluated_key`
5276
5374
  * value (which can the user pass back to use as a url query parameter to continue pagination).
@@ -5746,6 +5844,8 @@ export interface components {
5746
5844
  ]>;
5747
5845
  /** @description A request to sign a PSBT */
5748
5846
  PsbtSignRequest: {
5847
+ /** @description Optionally assume this role */
5848
+ assume_role?: string | null;
5749
5849
  /**
5750
5850
  * @description Request additional information to be included in the response, explaining
5751
5851
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -6546,7 +6646,7 @@ export interface components {
6546
6646
  * @description Supported Solana clusters.
6547
6647
  * @enum {string}
6548
6648
  */
6549
- SolanaCluster: "mainnet" | "devnet" | "testnet";
6649
+ SolanaCluster: "mainnet" | "devnet";
6550
6650
  /**
6551
6651
  * @description Solana signing request
6552
6652
  * @example {
@@ -6554,6 +6654,8 @@ export interface components {
6554
6654
  * }
6555
6655
  */
6556
6656
  SolanaSignRequest: {
6657
+ /** @description Optionally assume this role */
6658
+ assume_role?: string | null;
6557
6659
  /**
6558
6660
  * @description Request additional information to be included in the response, explaining
6559
6661
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -6578,6 +6680,8 @@ export interface components {
6578
6680
  source_ip: string;
6579
6681
  };
6580
6682
  StakeRequest: {
6683
+ /** @description Optionally assume this role */
6684
+ assume_role?: string | null;
6581
6685
  /**
6582
6686
  * @description Request additional information to be included in the response, explaining
6583
6687
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -6673,6 +6777,8 @@ export interface components {
6673
6777
  SuiChain: "mainnet" | "devnet" | "testnet";
6674
6778
  /** @description Request to sign a serialized SUI transaction */
6675
6779
  SuiSignRequest: {
6780
+ /** @description Optionally assume this role */
6781
+ assume_role?: string | null;
6676
6782
  /**
6677
6783
  * @description Request additional information to be included in the response, explaining
6678
6784
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -6694,6 +6800,8 @@ export interface components {
6694
6800
  tx: string;
6695
6801
  };
6696
6802
  TaprootSignRequest: {
6803
+ /** @description Optionally assume this role */
6804
+ assume_role?: string | null;
6697
6805
  /**
6698
6806
  * @description Request additional information to be included in the response, explaining
6699
6807
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -6761,6 +6869,8 @@ export interface components {
6761
6869
  TelegramEnvironment: "production" | "test";
6762
6870
  /** @description The request for using the Tendermint sign endpoint. */
6763
6871
  TendermintSignRequest: {
6872
+ /** @description Optionally assume this role */
6873
+ assume_role?: string | null;
6764
6874
  /**
6765
6875
  * @description Request additional information to be included in the response, explaining
6766
6876
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -7035,6 +7145,8 @@ export interface components {
7035
7145
  */
7036
7146
  validator_index: string;
7037
7147
  } & {
7148
+ /** @description Optionally assume this role */
7149
+ assume_role?: string | null;
7038
7150
  /**
7039
7151
  * @description Request additional information to be included in the response, explaining
7040
7152
  * the outcome (i.e., permitted vs. denied vs. MFA required) of the sign request.
@@ -7136,6 +7248,7 @@ export interface components {
7136
7248
  enabled?: boolean | null;
7137
7249
  historical_data_configuration?: components["schemas"]["HistoricalDataConfiguration"] | null;
7138
7250
  idp_configuration?: components["schemas"]["IdpConfig"] | null;
7251
+ key_export_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
7139
7252
  member_login_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
7140
7253
  /**
7141
7254
  * @description If set, update this org's notification endpoints. Notification endpoints are expected to be
@@ -7248,6 +7361,7 @@ export interface components {
7248
7361
  enabled?: boolean | null;
7249
7362
  historical_data_configuration?: components["schemas"]["HistoricalDataConfiguration"] | null;
7250
7363
  idp_configuration?: components["schemas"]["IdpConfig"] | null;
7364
+ key_export_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
7251
7365
  member_login_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
7252
7366
  /**
7253
7367
  * @description The new human-readable name for the org (must be alphanumeric)
@@ -8447,6 +8561,21 @@ export interface components {
8447
8561
  };
8448
8562
  };
8449
8563
  };
8564
+ PaginatedAuditLogResponse: {
8565
+ content: {
8566
+ "application/json": {
8567
+ /** @description Audit log entries */
8568
+ entries: components["schemas"]["AuditLogEntry"][];
8569
+ } & {
8570
+ /**
8571
+ * @description If set, the content of `response` does not contain the entire result set.
8572
+ * To fetch the next page of the result set, call the same endpoint
8573
+ * but specify this value as the 'page.start' query parameter.
8574
+ */
8575
+ last_evaluated_key?: string | null;
8576
+ };
8577
+ };
8578
+ };
8450
8579
  PaginatedGetUsersInOrgResponse: {
8451
8580
  content: {
8452
8581
  "application/json": {
@@ -9109,6 +9238,7 @@ export interface components {
9109
9238
  enabled?: boolean | null;
9110
9239
  historical_data_configuration?: components["schemas"]["HistoricalDataConfiguration"] | null;
9111
9240
  idp_configuration?: components["schemas"]["IdpConfig"] | null;
9241
+ key_export_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
9112
9242
  member_login_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
9113
9243
  /**
9114
9244
  * @description The new human-readable name for the org (must be alphanumeric)
@@ -9477,6 +9607,49 @@ export interface operations {
9477
9607
  };
9478
9608
  };
9479
9609
  };
9610
+ /**
9611
+ * Query the audit log.
9612
+ * @description Query the audit log.
9613
+ */
9614
+ queryAuditLog: {
9615
+ parameters: {
9616
+ query?: {
9617
+ /**
9618
+ * @description Max number of items to return per page.
9619
+ *
9620
+ * If the actual number of returned items may be less that this, even if there exist more
9621
+ * data in the result set. To reliably determine if more data is left in the result set,
9622
+ * inspect the [UnencryptedLastEvalKey] value in the response object.
9623
+ */
9624
+ "page.size"?: number;
9625
+ /**
9626
+ * @description The start of the page. Omit to start from the beginning; otherwise, only specify a
9627
+ * the exact value previously returned as 'last_evaluated_key' from the same endpoint.
9628
+ */
9629
+ "page.start"?: string | null;
9630
+ };
9631
+ path: {
9632
+ /**
9633
+ * @description Name or ID of the desired Org
9634
+ * @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
9635
+ */
9636
+ org_id: string;
9637
+ };
9638
+ };
9639
+ requestBody: {
9640
+ content: {
9641
+ "application/json": components["schemas"]["AuditLogRequest"];
9642
+ };
9643
+ };
9644
+ responses: {
9645
+ 200: components["responses"]["PaginatedAuditLogResponse"];
9646
+ default: {
9647
+ content: {
9648
+ "application/json": components["schemas"]["ErrorResponse"];
9649
+ };
9650
+ };
9651
+ };
9652
+ };
9480
9653
  /**
9481
9654
  * Associate an OIDC identity with an arbitrary user in org <session.org>.
9482
9655
  * @description Associate an OIDC identity with an arbitrary user in org <session.org>.