@cubist-labs/cubesigner-sdk 0.4.209 → 0.4.217
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +1 -1
- package/dist/src/acl.d.ts +12 -0
- package/dist/src/acl.d.ts.map +1 -0
- package/dist/src/acl.js +3 -0
- package/dist/src/client/api_client.d.ts +24 -6
- package/dist/src/client/api_client.d.ts.map +1 -1
- package/dist/src/client/api_client.js +40 -14
- package/dist/src/client/base_client.d.ts +1 -0
- package/dist/src/client/base_client.d.ts.map +1 -1
- package/dist/src/client/base_client.js +1 -1
- package/dist/src/contact.d.ts +9 -1
- package/dist/src/contact.d.ts.map +1 -1
- package/dist/src/contact.js +14 -1
- package/dist/src/evm/index.d.ts +7 -0
- package/dist/src/evm/index.d.ts.map +1 -1
- package/dist/src/evm/index.js +28 -29
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +3 -1
- package/dist/src/org.d.ts +60 -19
- package/dist/src/org.d.ts.map +1 -1
- package/dist/src/org.js +82 -25
- package/dist/src/policy.d.ts +109 -35
- package/dist/src/policy.d.ts.map +1 -1
- package/dist/src/policy.js +88 -42
- package/dist/src/schema.d.ts +158 -16
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +1 -1
- package/dist/src/schema_types.d.ts +12 -2
- package/dist/src/schema_types.d.ts.map +1 -1
- package/dist/src/schema_types.js +1 -1
- package/dist/src/scopes.d.ts.map +1 -1
- package/dist/src/scopes.js +2 -1
- package/package.json +1 -1
- package/src/acl.ts +13 -0
- package/src/client/api_client.ts +54 -12
- package/src/client/base_client.ts +1 -1
- package/src/contact.ts +16 -1
- package/src/evm/index.ts +4 -4
- package/src/index.ts +2 -0
- package/src/org.ts +118 -31
- package/src/policy.ts +144 -49
- package/src/schema.ts +184 -25
- package/src/schema_types.ts +14 -3
- package/src/scopes.ts +1 -0
package/dist/src/schema.d.ts
CHANGED
|
@@ -266,9 +266,18 @@ export interface paths {
|
|
|
266
266
|
* List all contacts in the org.
|
|
267
267
|
* Any org member is allowed to list all contacts in the org.
|
|
268
268
|
*
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
*
|
|
269
|
+
* ## Search Condition
|
|
270
|
+
* The search condition is optional.
|
|
271
|
+
*
|
|
272
|
+
* - If the search condition starts with "label:...", this list will only hold contacts with
|
|
273
|
+
* the label provided after the ":". For example, "label:cubist:erc20_token" would return contacts that
|
|
274
|
+
* hold the label "cubist:erc20_token".
|
|
275
|
+
*
|
|
276
|
+
* - Otherwise, the result will contain only the contacts who have an address starting with, or
|
|
277
|
+
* equaling, the given search string. For example, "0xee" would return all contacts holding an
|
|
278
|
+
* address starting with "0xee". The search is case-insensitive.
|
|
279
|
+
*
|
|
280
|
+
* If a search term is defined, we do not guarantee
|
|
272
281
|
* the number of results in a page. The behavior of this parameter may change
|
|
273
282
|
* in the future (for example, making results more strictly paginated or
|
|
274
283
|
* performing a fuzzy search rather than a prefix search).
|
|
@@ -531,6 +540,13 @@ export interface paths {
|
|
|
531
540
|
*/
|
|
532
541
|
get: operations["public_org_info"];
|
|
533
542
|
};
|
|
543
|
+
"/v0/org/{org_id}/internal/custom_chain_rpc": {
|
|
544
|
+
/**
|
|
545
|
+
* (INTERNAL) Custom chain RPC proxy
|
|
546
|
+
* @description (INTERNAL) Custom chain RPC proxy
|
|
547
|
+
*/
|
|
548
|
+
post: operations["customChainRpcCall"];
|
|
549
|
+
};
|
|
534
550
|
"/v0/org/{org_id}/internal/esplora": {
|
|
535
551
|
/**
|
|
536
552
|
* (INTERNAL) Esplora API Proxy
|
|
@@ -1747,6 +1763,8 @@ export interface components {
|
|
|
1747
1763
|
btc?: components["schemas"]["BitcoinAddressInfo"][];
|
|
1748
1764
|
/** @description EVM addresses. */
|
|
1749
1765
|
evm?: components["schemas"]["EvmAddressInfo"][];
|
|
1766
|
+
/** @description Solana addresses. */
|
|
1767
|
+
sol?: components["schemas"]["SolanaAddressInfo"][];
|
|
1750
1768
|
/** @description SUI addresses. */
|
|
1751
1769
|
sui?: components["schemas"]["SuiAddressInfo"][];
|
|
1752
1770
|
};
|
|
@@ -2537,9 +2555,9 @@ export interface components {
|
|
|
2537
2555
|
vout: number;
|
|
2538
2556
|
};
|
|
2539
2557
|
/** @enum {string} */
|
|
2540
|
-
BadGatewayErrorCode: "EsploraApiError" | "SentryApiError" | "CallWebhookError" | "OAuthProviderError" | "OidcDisoveryFailed" | "OidcIssuerJwkEndpointUnavailable" | "SmtpServerUnavailable";
|
|
2558
|
+
BadGatewayErrorCode: "Generic" | "CustomChainRpcError" | "EsploraApiError" | "SentryApiError" | "CallWebhookError" | "OAuthProviderError" | "OidcDisoveryFailed" | "OidcIssuerJwkEndpointUnavailable" | "SmtpServerUnavailable";
|
|
2541
2559
|
/** @enum {string} */
|
|
2542
|
-
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" | "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" | "AlienOwnerInvalid" | "EmptyUpdateRequest" | "InvalidPolicyReference" | "PolicyEngineDisabled" | "InvalidWasmPolicy" | "InvalidPolicy" | "RedundantDerivationPath" | "ImportKeyMissing" | "InvalidAbiMethods" | "BabylonCovSign" | "InvalidPolicyLogsRequest" | "UserProfileMigrationMultipleEntries" | "UserProfileMigrationTooManyItems" | "InputTooShort" | "InvalidTweakLength" | "InvalidCustomChains";
|
|
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";
|
|
2543
2561
|
BillingArgs: {
|
|
2544
2562
|
billing_org: components["schemas"]["Id"];
|
|
2545
2563
|
event_type: components["schemas"]["BillingEvent"];
|
|
@@ -2556,7 +2574,7 @@ export interface components {
|
|
|
2556
2574
|
* @description Billing event types.
|
|
2557
2575
|
* @enum {string}
|
|
2558
2576
|
*/
|
|
2559
|
-
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" | "EsploraApiCall" | "ExecutePolicy" | "SentryApiCall" | "SentryApiCallPublic" | "MmiJwkSet" | "AttestationJwkSet" | "UserOrgs" | "PublicOrgInfo" | "EmailMyOrgs";
|
|
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";
|
|
2560
2578
|
/** @description A bitcoin address and its network. */
|
|
2561
2579
|
BitcoinAddressInfo: {
|
|
2562
2580
|
/**
|
|
@@ -2911,6 +2929,13 @@ export interface components {
|
|
|
2911
2929
|
ConflictErrorCode: "ConcurrentRequestDisallowed" | "ConcurrentLockCreation";
|
|
2912
2930
|
/** @description A contact in the org. */
|
|
2913
2931
|
Contact: components["schemas"]["CommonFields"] & {
|
|
2932
|
+
/**
|
|
2933
|
+
* @description Labels to categorize this contact.
|
|
2934
|
+
* @example [
|
|
2935
|
+
* "cubist:erc20_token"
|
|
2936
|
+
* ]
|
|
2937
|
+
*/
|
|
2938
|
+
labels?: components["schemas"]["ContactLabel"][];
|
|
2914
2939
|
/**
|
|
2915
2940
|
* @description The name for the contact. Must be a unique name among contacts in the
|
|
2916
2941
|
* org. The name must consist of alphanumeric characters, spaces, `.` and `-`,
|
|
@@ -2930,12 +2955,20 @@ export interface components {
|
|
|
2930
2955
|
}) | (components["schemas"]["SuiAddressInfo"] & {
|
|
2931
2956
|
/** @enum {string} */
|
|
2932
2957
|
network: "Sui";
|
|
2958
|
+
}) | (components["schemas"]["SolanaAddressInfo"] & {
|
|
2959
|
+
/** @enum {string} */
|
|
2960
|
+
network: "Solana";
|
|
2933
2961
|
});
|
|
2934
2962
|
/** @description Information about a Contact. */
|
|
2935
2963
|
ContactInfoResponse: components["schemas"]["Contact"] & {
|
|
2936
2964
|
addresses: components["schemas"]["AddressMap"];
|
|
2937
2965
|
id: components["schemas"]["Id"];
|
|
2938
2966
|
};
|
|
2967
|
+
/**
|
|
2968
|
+
* @description Labels that can be applied to a contact.
|
|
2969
|
+
* @enum {string}
|
|
2970
|
+
*/
|
|
2971
|
+
ContactLabel: "cubist:erc20_token" | "cubist:spl_token";
|
|
2939
2972
|
CreateAndUpdateKeyProperties: {
|
|
2940
2973
|
edit_policy?: components["schemas"]["EditPolicy"] | null;
|
|
2941
2974
|
/**
|
|
@@ -2966,6 +2999,13 @@ export interface components {
|
|
|
2966
2999
|
CreateContactRequest: {
|
|
2967
3000
|
addresses?: components["schemas"]["AddressMap"];
|
|
2968
3001
|
edit_policy?: components["schemas"]["EditPolicy"] | null;
|
|
3002
|
+
/**
|
|
3003
|
+
* @description Optional labels to associate with the contact.
|
|
3004
|
+
* @example [
|
|
3005
|
+
* "cubist:erc20_token"
|
|
3006
|
+
* ]
|
|
3007
|
+
*/
|
|
3008
|
+
labels?: components["schemas"]["ContactLabel"][];
|
|
2969
3009
|
/** @description Optional user-defined metadata about the contact. */
|
|
2970
3010
|
metadata?: unknown;
|
|
2971
3011
|
/**
|
|
@@ -3153,6 +3193,23 @@ export interface components {
|
|
|
3153
3193
|
/** @description CubeSigner's user identifier */
|
|
3154
3194
|
user_id: string;
|
|
3155
3195
|
};
|
|
3196
|
+
/** @description Custom chain RPC request */
|
|
3197
|
+
CustomChainRpcRequest: {
|
|
3198
|
+
/** @description HTTP body */
|
|
3199
|
+
body?: string | null;
|
|
3200
|
+
chain: components["schemas"]["CustomChainSelector"];
|
|
3201
|
+
/** @description HTTP relative path */
|
|
3202
|
+
path: string;
|
|
3203
|
+
};
|
|
3204
|
+
CustomChainRpcResponse: unknown;
|
|
3205
|
+
/** @description Custom chain selector */
|
|
3206
|
+
CustomChainSelector: {
|
|
3207
|
+
/** @description EVM chain */
|
|
3208
|
+
Evm: {
|
|
3209
|
+
/** @example 0x01 */
|
|
3210
|
+
chain_id: string;
|
|
3211
|
+
};
|
|
3212
|
+
};
|
|
3156
3213
|
/** @description Information about an org's custom chains. */
|
|
3157
3214
|
CustomChainsData: {
|
|
3158
3215
|
/** @description Custom EVM chains. */
|
|
@@ -3820,7 +3877,7 @@ export interface components {
|
|
|
3820
3877
|
native_currency: components["schemas"]["EvmCurrencyInfo"];
|
|
3821
3878
|
/**
|
|
3822
3879
|
* @description The URL of the RPC provider for this chain.
|
|
3823
|
-
* @example https://ethereum-rpc.publicnode.com
|
|
3880
|
+
* @example https://ethereum-rpc.publicnode.com
|
|
3824
3881
|
*/
|
|
3825
3882
|
rpc_url: string;
|
|
3826
3883
|
};
|
|
@@ -3861,7 +3918,7 @@ export interface components {
|
|
|
3861
3918
|
* @description Explicitly named scopes for accessing CubeSigner APIs
|
|
3862
3919
|
* @enum {string}
|
|
3863
3920
|
*/
|
|
3864
|
-
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: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:*";
|
|
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:*";
|
|
3865
3922
|
/**
|
|
3866
3923
|
* @description This type specifies the interpretation of the `fee` field in Babylon
|
|
3867
3924
|
* staking requests. If `sats`, the field is intpreted as a fixed value
|
|
@@ -4689,7 +4746,7 @@ export interface components {
|
|
|
4689
4746
|
/** Format: binary */
|
|
4690
4747
|
NonceValue: string;
|
|
4691
4748
|
/** @enum {string} */
|
|
4692
|
-
NotFoundErrorCode: "UriSegmentMissing" | "UriSegmentInvalid" | "TotpNotConfigured" | "FidoKeyNotFound" | "FidoChallengeNotFound" | "TotpChallengeNotFound" | "UserExportRequestNotFound" | "UserExportCiphertextNotFound" | "OrgExportCiphertextNotFound" | "UploadObjectNotFound" | "PolicySecretNotFound" | "TimestreamDisabled";
|
|
4749
|
+
NotFoundErrorCode: "UriSegmentMissing" | "UriSegmentInvalid" | "TotpNotConfigured" | "FidoKeyNotFound" | "FidoChallengeNotFound" | "TotpChallengeNotFound" | "UserExportRequestNotFound" | "UserExportCiphertextNotFound" | "OrgExportCiphertextNotFound" | "UploadObjectNotFound" | "PolicySecretNotFound" | "TimestreamDisabled" | "CustomChainNotFound";
|
|
4693
4750
|
/** @description The configuration and status of a notification endpoint */
|
|
4694
4751
|
NotificationEndpoint: components["schemas"]["NotificationEndpointSubscription"] & {
|
|
4695
4752
|
status: components["schemas"]["SubscriptionStatus"];
|
|
@@ -5533,10 +5590,12 @@ export interface components {
|
|
|
5533
5590
|
message_tx?: components["schemas"]["TypedTransaction"] | null;
|
|
5534
5591
|
}) & Record<string, never>;
|
|
5535
5592
|
/**
|
|
5536
|
-
*
|
|
5593
|
+
* PolicyAction
|
|
5594
|
+
* @description The access-controlled actions that can be performed on a named policy.
|
|
5595
|
+
* @example read:policy
|
|
5537
5596
|
* @enum {string}
|
|
5538
5597
|
*/
|
|
5539
|
-
PolicyAction: "
|
|
5598
|
+
PolicyAction: "read:*" | "read:policy" | "read:logs" | "update:*" | "update:name" | "update:rules" | "update:metadata" | "update:editPolicy" | "update:owner" | "update:acl" | "delete" | "attach" | "sign" | "invoke";
|
|
5540
5599
|
/** @description The id for attaching a named policy to a key, role, or key in role. */
|
|
5541
5600
|
PolicyAttachedToId: OneOf<[
|
|
5542
5601
|
{
|
|
@@ -5575,6 +5634,8 @@ export interface components {
|
|
|
5575
5634
|
* ]
|
|
5576
5635
|
*/
|
|
5577
5636
|
allowed_http_authorities: string[];
|
|
5637
|
+
/** @description The maximum number of policy secrets for the Org. */
|
|
5638
|
+
org_secrets_limit?: number | null;
|
|
5578
5639
|
};
|
|
5579
5640
|
PolicyErrorCode: components["schemas"]["PolicyErrorOwnCodes"] | components["schemas"]["EvmTxDepositErrorCode"];
|
|
5580
5641
|
/** @enum {string} */
|
|
@@ -6285,6 +6346,13 @@ export interface components {
|
|
|
6285
6346
|
* A wrapper type for serialization that encodes a `Duration` as a `u64` representing the number of seconds.
|
|
6286
6347
|
*/
|
|
6287
6348
|
Seconds: number;
|
|
6349
|
+
/**
|
|
6350
|
+
* SecretAction
|
|
6351
|
+
* @description The access-controlled actions that can be performed on an individual policy secret.
|
|
6352
|
+
* @example read:secret
|
|
6353
|
+
* @enum {string}
|
|
6354
|
+
*/
|
|
6355
|
+
SecretAction: "read:*" | "read:info" | "read:secret" | "update:*" | "update:secret" | "update:acl" | "delete";
|
|
6288
6356
|
/** @description Information about a specific secret. */
|
|
6289
6357
|
SecretInfo: {
|
|
6290
6358
|
/** @description The access-control entries for this secret. */
|
|
@@ -6465,6 +6533,20 @@ export interface components {
|
|
|
6465
6533
|
/** @description The message to sign following the EIP-191 standard. */
|
|
6466
6534
|
message: string;
|
|
6467
6535
|
};
|
|
6536
|
+
/** @description A Solana address and the cluster it is on. */
|
|
6537
|
+
SolanaAddressInfo: {
|
|
6538
|
+
/**
|
|
6539
|
+
* @description The Solana address.
|
|
6540
|
+
* @example EPw4LsNwCYCYXace1BKvwLcd7oeZzRiYGuGE5zfPvoPy
|
|
6541
|
+
*/
|
|
6542
|
+
address: string;
|
|
6543
|
+
cluster: components["schemas"]["SolanaCluster"];
|
|
6544
|
+
};
|
|
6545
|
+
/**
|
|
6546
|
+
* @description Supported Solana clusters.
|
|
6547
|
+
* @enum {string}
|
|
6548
|
+
*/
|
|
6549
|
+
SolanaCluster: "mainnet" | "devnet" | "testnet";
|
|
6468
6550
|
/**
|
|
6469
6551
|
* @description Solana signing request
|
|
6470
6552
|
* @example {
|
|
@@ -6981,6 +7063,13 @@ export interface components {
|
|
|
6981
7063
|
UpdateContactRequest: {
|
|
6982
7064
|
addresses?: components["schemas"]["AddressMap"] | null;
|
|
6983
7065
|
edit_policy?: components["schemas"]["EditPolicy"] | null;
|
|
7066
|
+
/**
|
|
7067
|
+
* @description A new set of labels for the contact.
|
|
7068
|
+
* @example [
|
|
7069
|
+
* "cubist:erc20_token"
|
|
7070
|
+
* ]
|
|
7071
|
+
*/
|
|
7072
|
+
labels?: components["schemas"]["ContactLabel"][] | null;
|
|
6984
7073
|
/** @description A new value for the optional user-defined metadata about the contact. */
|
|
6985
7074
|
metadata?: unknown;
|
|
6986
7075
|
/**
|
|
@@ -7011,6 +7100,16 @@ export interface components {
|
|
|
7011
7100
|
*/
|
|
7012
7101
|
version?: number | null;
|
|
7013
7102
|
};
|
|
7103
|
+
/** @description Policy Engine configurations. */
|
|
7104
|
+
UpdateOrgPolicyEngineConfigs: {
|
|
7105
|
+
/**
|
|
7106
|
+
* @description Allowed domains for HTTP requests
|
|
7107
|
+
* @example [
|
|
7108
|
+
* "cubist.dev:443"
|
|
7109
|
+
* ]
|
|
7110
|
+
*/
|
|
7111
|
+
allowed_http_authorities: string[];
|
|
7112
|
+
};
|
|
7014
7113
|
UpdateOrgRequest: {
|
|
7015
7114
|
alien_login_requirement?: components["schemas"]["SecondFactorRequirement"] | null;
|
|
7016
7115
|
/**
|
|
@@ -7097,7 +7196,7 @@ export interface components {
|
|
|
7097
7196
|
* ]
|
|
7098
7197
|
*/
|
|
7099
7198
|
policy?: Record<string, never>[] | null;
|
|
7100
|
-
policy_engine_configuration?: components["schemas"]["
|
|
7199
|
+
policy_engine_configuration?: components["schemas"]["UpdateOrgPolicyEngineConfigs"] | null;
|
|
7101
7200
|
/**
|
|
7102
7201
|
* @description If set, all user logins will require the claim `cubesigner_scope_ceiling` to be present in
|
|
7103
7202
|
* the user's token. This claim is an array of scopes (e.g. `[ "manage:keys:list", "sign:evm:tx" ]`),
|
|
@@ -7816,6 +7915,12 @@ export interface components {
|
|
|
7816
7915
|
};
|
|
7817
7916
|
};
|
|
7818
7917
|
};
|
|
7918
|
+
/** @description Response to [CustomChainRpcRequest] */
|
|
7919
|
+
CustomChainRpcResponse: {
|
|
7920
|
+
content: {
|
|
7921
|
+
"application/json": unknown;
|
|
7922
|
+
};
|
|
7923
|
+
};
|
|
7819
7924
|
/** @description The result of a Diffie Hellman key exchange */
|
|
7820
7925
|
DiffieHellmanResponse: {
|
|
7821
7926
|
content: {
|
|
@@ -9951,9 +10056,18 @@ export interface operations {
|
|
|
9951
10056
|
* List all contacts in the org.
|
|
9952
10057
|
* Any org member is allowed to list all contacts in the org.
|
|
9953
10058
|
*
|
|
9954
|
-
*
|
|
9955
|
-
*
|
|
9956
|
-
*
|
|
10059
|
+
* ## Search Condition
|
|
10060
|
+
* The search condition is optional.
|
|
10061
|
+
*
|
|
10062
|
+
* - If the search condition starts with "label:...", this list will only hold contacts with
|
|
10063
|
+
* the label provided after the ":". For example, "label:cubist:erc20_token" would return contacts that
|
|
10064
|
+
* hold the label "cubist:erc20_token".
|
|
10065
|
+
*
|
|
10066
|
+
* - Otherwise, the result will contain only the contacts who have an address starting with, or
|
|
10067
|
+
* equaling, the given search string. For example, "0xee" would return all contacts holding an
|
|
10068
|
+
* address starting with "0xee". The search is case-insensitive.
|
|
10069
|
+
*
|
|
10070
|
+
* If a search term is defined, we do not guarantee
|
|
9957
10071
|
* the number of results in a page. The behavior of this parameter may change
|
|
9958
10072
|
* in the future (for example, making results more strictly paginated or
|
|
9959
10073
|
* performing a fuzzy search rather than a prefix search).
|
|
@@ -9974,7 +10088,7 @@ export interface operations {
|
|
|
9974
10088
|
* the exact value previously returned as 'last_evaluated_key' from the same endpoint.
|
|
9975
10089
|
*/
|
|
9976
10090
|
"page.start"?: string | null;
|
|
9977
|
-
/** @description
|
|
10091
|
+
/** @description Either 'label:...', which lists contacts with the label provided after the ':'. Or, an entire address, or prefix of an address, that returned contacts must have. When searching by address, it must be at least 3 characters. */
|
|
9978
10092
|
search?: string | null;
|
|
9979
10093
|
};
|
|
9980
10094
|
path: {
|
|
@@ -10799,6 +10913,34 @@ export interface operations {
|
|
|
10799
10913
|
};
|
|
10800
10914
|
};
|
|
10801
10915
|
};
|
|
10916
|
+
/**
|
|
10917
|
+
* (INTERNAL) Custom chain RPC proxy
|
|
10918
|
+
* @description (INTERNAL) Custom chain RPC proxy
|
|
10919
|
+
*/
|
|
10920
|
+
customChainRpcCall: {
|
|
10921
|
+
parameters: {
|
|
10922
|
+
path: {
|
|
10923
|
+
/**
|
|
10924
|
+
* @description Name or ID of the desired Org
|
|
10925
|
+
* @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
|
|
10926
|
+
*/
|
|
10927
|
+
org_id: string;
|
|
10928
|
+
};
|
|
10929
|
+
};
|
|
10930
|
+
requestBody: {
|
|
10931
|
+
content: {
|
|
10932
|
+
"application/json": components["schemas"]["CustomChainRpcRequest"];
|
|
10933
|
+
};
|
|
10934
|
+
};
|
|
10935
|
+
responses: {
|
|
10936
|
+
200: components["responses"]["CustomChainRpcResponse"];
|
|
10937
|
+
default: {
|
|
10938
|
+
content: {
|
|
10939
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10940
|
+
};
|
|
10941
|
+
};
|
|
10942
|
+
};
|
|
10943
|
+
};
|
|
10802
10944
|
/**
|
|
10803
10945
|
* (INTERNAL) Esplora API Proxy
|
|
10804
10946
|
* @description (INTERNAL) Esplora API Proxy
|