@cubist-labs/cubesigner-sdk 0.4.229 → 0.4.236
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/README.md +1 -1
- package/dist/package.json +1 -1
- package/dist/src/client/api_client.d.ts +16 -1
- package/dist/src/client/api_client.d.ts.map +1 -1
- package/dist/src/client/api_client.js +30 -4
- package/dist/src/org.d.ts +11 -0
- package/dist/src/org.d.ts.map +1 -1
- package/dist/src/org.js +17 -1
- package/dist/src/role.d.ts +13 -1
- package/dist/src/role.d.ts.map +1 -1
- package/dist/src/role.js +1 -1
- package/dist/src/schema.d.ts +564 -55
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +1 -1
- package/dist/src/schema_types.d.ts +1 -0
- 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 +39 -6
- package/package.json +1 -1
- package/src/client/api_client.ts +33 -3
- package/src/org.ts +18 -0
- package/src/role.ts +12 -0
- package/src/schema.ts +893 -307
- package/src/schema_types.ts +1 -0
- package/src/scopes.ts +38 -5
package/dist/src/schema.d.ts
CHANGED
|
@@ -399,7 +399,23 @@ export interface paths {
|
|
|
399
399
|
post: operations["diffieHellmanExchange"];
|
|
400
400
|
};
|
|
401
401
|
"/v0/org/{org_id}/emails/{purpose}": {
|
|
402
|
+
/**
|
|
403
|
+
* Get Email Template
|
|
404
|
+
* @description Get Email Template
|
|
405
|
+
*
|
|
406
|
+
* Returns the email template for a given purpose.
|
|
407
|
+
*/
|
|
408
|
+
get: operations["getEmailConfig"];
|
|
409
|
+
/**
|
|
410
|
+
* Configure Email Template
|
|
411
|
+
* @description Configure Email Template
|
|
412
|
+
*/
|
|
402
413
|
put: operations["configureEmail"];
|
|
414
|
+
/**
|
|
415
|
+
* Delete Email Template
|
|
416
|
+
* @description Delete Email Template
|
|
417
|
+
*/
|
|
418
|
+
delete: operations["deleteEmailConfig"];
|
|
403
419
|
};
|
|
404
420
|
"/v0/org/{org_id}/evm/eip191/sign/{pubkey}": {
|
|
405
421
|
/**
|
|
@@ -577,6 +593,23 @@ export interface paths {
|
|
|
577
593
|
*/
|
|
578
594
|
post: operations["invitationAccept"];
|
|
579
595
|
};
|
|
596
|
+
"/v0/org/{org_id}/invitations": {
|
|
597
|
+
/**
|
|
598
|
+
* List pending invitations
|
|
599
|
+
* @description List pending invitations
|
|
600
|
+
*
|
|
601
|
+
* Returns all pending (not yet accepted) invitations for the organization.
|
|
602
|
+
*/
|
|
603
|
+
get: operations["listInvitations"];
|
|
604
|
+
/**
|
|
605
|
+
* Cancel a pending invitation
|
|
606
|
+
* @description Cancel a pending invitation
|
|
607
|
+
*
|
|
608
|
+
* Removes a pending invitation from the organization. If no pending invitation
|
|
609
|
+
* exists for the given email address, a not-found error is returned.
|
|
610
|
+
*/
|
|
611
|
+
delete: operations["cancelInvitation"];
|
|
612
|
+
};
|
|
580
613
|
"/v0/org/{org_id}/invite": {
|
|
581
614
|
/**
|
|
582
615
|
* Invite User
|
|
@@ -1023,18 +1056,22 @@ export interface paths {
|
|
|
1023
1056
|
*
|
|
1024
1057
|
* The provided secrets will replace any existing org-level secrets.
|
|
1025
1058
|
* It fails if the secrets weren't previously created.
|
|
1059
|
+
*
|
|
1060
|
+
* Must be permitted by the policy secret's edit policy if set, and the org's edit policy otherwise.
|
|
1026
1061
|
*/
|
|
1027
1062
|
patch: operations["updatePolicySecrets"];
|
|
1028
1063
|
};
|
|
1029
1064
|
"/v0/org/{org_id}/policy/secrets/{secret_name}": {
|
|
1030
1065
|
/**
|
|
1031
|
-
* Create or overwrite an org-level policy secret
|
|
1032
|
-
* @description Create or overwrite an org-level policy secret
|
|
1066
|
+
* Create or overwrite an org-level policy secret.
|
|
1067
|
+
* @description Create or overwrite an org-level policy secret.
|
|
1068
|
+
* Must be permitted by the policy secret's edit policy if set, and the org's edit policy otherwise.
|
|
1033
1069
|
*/
|
|
1034
1070
|
put: operations["setPolicySecret"];
|
|
1035
1071
|
/**
|
|
1036
|
-
* Delete an org-level policy secret
|
|
1037
|
-
* @description Delete an org-level policy secret
|
|
1072
|
+
* Delete an org-level policy secret.
|
|
1073
|
+
* @description Delete an org-level policy secret.
|
|
1074
|
+
* Must be permitted by the policy secret's edit policy if set, and the org's edit policy otherwise.
|
|
1038
1075
|
*/
|
|
1039
1076
|
delete: operations["deletePolicySecret"];
|
|
1040
1077
|
};
|
|
@@ -1205,6 +1242,13 @@ export interface paths {
|
|
|
1205
1242
|
*/
|
|
1206
1243
|
delete: operations["removeUserFromRole"];
|
|
1207
1244
|
};
|
|
1245
|
+
"/v0/org/{org_id}/rpc": {
|
|
1246
|
+
/**
|
|
1247
|
+
* High-level RPC endpoint.
|
|
1248
|
+
* @description High-level RPC endpoint.
|
|
1249
|
+
*/
|
|
1250
|
+
post: operations["rpcApi"];
|
|
1251
|
+
};
|
|
1208
1252
|
"/v0/org/{org_id}/session": {
|
|
1209
1253
|
/**
|
|
1210
1254
|
* List sessions
|
|
@@ -1520,14 +1564,6 @@ export interface paths {
|
|
|
1520
1564
|
*/
|
|
1521
1565
|
patch: operations["passkeyAuthComplete"];
|
|
1522
1566
|
};
|
|
1523
|
-
"/v0/private/policy-execute/{policy_name}": {
|
|
1524
|
-
/**
|
|
1525
|
-
* The policy_execute API endpoint is intended to demonstrate that the signer
|
|
1526
|
-
* @description The policy_execute API endpoint is intended to demonstrate that the signer
|
|
1527
|
-
* can use the policy engine, by way of the PolicyEngineClient.
|
|
1528
|
-
*/
|
|
1529
|
-
post: operations["policy-execute"];
|
|
1530
|
-
};
|
|
1531
1567
|
"/v0/user/me/fido": {
|
|
1532
1568
|
/**
|
|
1533
1569
|
* Initiate registration of a FIDO key
|
|
@@ -2640,7 +2676,7 @@ export interface components {
|
|
|
2640
2676
|
/** @enum {string} */
|
|
2641
2677
|
BadGatewayErrorCode: "Generic" | "CustomChainRpcError" | "EsploraApiError" | "SentryApiError" | "CallWebhookError" | "OAuthProviderError" | "OidcDisoveryFailed" | "OidcIssuerJwkEndpointUnavailable" | "SmtpServerUnavailable";
|
|
2642
2678
|
/** @enum {string} */
|
|
2643
|
-
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" | "UserAlreadyHasIdentity" | "ThirdPartyUserNotFound" | "DeleteOidcUserError" | "DeleteUserError" | "SessionRoleMismatch" | "InvalidOidcToken" | "InvalidOidcIdentity" | "OidcIssuerUnsupported" | "OidcIssuerNotAllowed" | "OidcIssuerNoApplicableJwk" | "FidoKeyAlreadyRegistered" | "FidoKeySignCountTooLow" | "FidoVerificationFailed" | "FidoChallengeMfaMismatch" | "UnsupportedLegacyCognitoSession" | "InvalidIdentityProof" | "PaginationDataExpired" | "ExistingKeysViolateExclusiveKeyAccess" | "ExportDelayTooShort" | "ExportWindowTooLong" | "InvalidTotpFailureLimit" | "InvalidEip191SignRequest" | "CannotResendUserInvitation" | "InvalidNotificationEndpointCount" | "CannotDeletePendingSubscription" | "InvalidNotificationUrlProtocol" | "EmptyOneOfOrgEventFilter" | "EmptyAllExceptOrgEventFilter" | "InvalidTapNodeHash" | "InvalidOneTimeCode" | "MessageNotFound" | "MessageAlreadySigned" | "MessageRejected" | "MessageReplaced" | "InvalidMessageType" | "EmptyAddress" | "InvalidEth2SigningPolicySlotRange" | "InvalidEth2SigningPolicyEpochRange" | "InvalidEth2SigningPolicyTimestampRange" | "InvalidEth2SigningPolicyOverlappingRule" | "RpcUrlMissing" | "MmiChainIdMissing" | "EthersInvalidRpcUrl" | "EthersGetTransactionCountError" | "InvalidPassword" | "BabylonStakingFeePlusDustOverflow" | "BabylonStaking" | "BabylonStakingIncorrectKey" | "BabylonStakingSegwitNonDeposit" | "BabylonStakingRegistrationRequiresTaproot" | "PsbtSigning" | "TooManyResets" | "TooManyRequests" | "TooManyFailedLogins" | "BadBtcMessageSignP2shFlag" | "InvalidTendermintRequest" | "PolicyVersionMaxReached" | "PolicyVersionInvalid" | "PolicySecretLimitReached" | "PolicySecretTooLarge" | "InvalidImportKey" | "AlienOwnerInvalid" | "EmptyUpdateRequest" | "InvalidPolicyReference" | "PolicyEngineDisabled" | "InvalidWasmPolicy" | "InvalidPolicy" | "RedundantDerivationPath" | "ImportKeyMissing" | "InvalidAbiMethods" | "BabylonCovSign" | "InvalidPolicyLogsRequest" | "UserProfileMigrationMultipleEntries" | "UserProfileMigrationTooManyItems" | "InputTooShort" | "InvalidTweakLength" | "InvalidCustomChains";
|
|
2679
|
+
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" | "UserAlreadyHasIdentity" | "ThirdPartyUserNotFound" | "DeleteOidcUserError" | "DeleteUserError" | "SessionRoleMismatch" | "InvalidOidcToken" | "InvalidOidcIdentity" | "OidcIssuerUnsupported" | "OidcIssuerNotAllowed" | "OidcIssuerNoApplicableJwk" | "FidoKeyAlreadyRegistered" | "FidoKeySignCountTooLow" | "FidoVerificationFailed" | "FidoChallengeMfaMismatch" | "UnsupportedLegacyCognitoSession" | "InvalidIdentityProof" | "PaginationDataExpired" | "ExistingKeysViolateExclusiveKeyAccess" | "ExportDelayTooShort" | "ExportWindowTooLong" | "InvalidTotpFailureLimit" | "InvalidEip191SignRequest" | "CannotResendUserInvitation" | "InvalidNotificationEndpointCount" | "CannotDeletePendingSubscription" | "InvalidNotificationUrlProtocol" | "EmptyOneOfOrgEventFilter" | "EmptyAllExceptOrgEventFilter" | "InvalidTapNodeHash" | "InvalidOneTimeCode" | "MessageNotFound" | "MessageAlreadySigned" | "MessageRejected" | "MessageReplaced" | "InvalidMessageType" | "EmptyAddress" | "InvalidEth2SigningPolicySlotRange" | "InvalidEth2SigningPolicyEpochRange" | "InvalidEth2SigningPolicyTimestampRange" | "InvalidEth2SigningPolicyOverlappingRule" | "RpcUrlMissing" | "MmiChainIdMissing" | "EthersInvalidRpcUrl" | "EthersGetTransactionCountError" | "InvalidPassword" | "BabylonStakingFeePlusDustOverflow" | "BabylonStaking" | "BabylonStakingIncorrectKey" | "BabylonStakingSegwitNonDeposit" | "BabylonStakingRegistrationRequiresTaproot" | "PsbtSigning" | "TooManyResets" | "TooManyRequests" | "TooManyFailedLogins" | "BadBtcMessageSignP2shFlag" | "InvalidTendermintRequest" | "PolicyVersionMaxReached" | "PolicyVersionInvalid" | "PolicySecretLimitReached" | "PolicySecretTooLarge" | "InvalidImportKey" | "AlienOwnerInvalid" | "EmptyUpdateRequest" | "InvalidPolicyReference" | "PolicyEngineDisabled" | "InvalidWasmPolicy" | "InvalidPolicy" | "RedundantDerivationPath" | "ImportKeyMissing" | "InvalidAbiMethods" | "BabylonCovSign" | "InvalidPolicyLogsRequest" | "UserProfileMigrationMultipleEntries" | "UserProfileMigrationTooManyItems" | "InputTooShort" | "InvalidTweakLength" | "InvalidCustomChains" | "InvalidRpcRequest";
|
|
2644
2680
|
BillingArgs: {
|
|
2645
2681
|
billing_org: components["schemas"]["Id"];
|
|
2646
2682
|
event_type: components["schemas"]["BillingEvent"];
|
|
@@ -2657,7 +2693,7 @@ export interface components {
|
|
|
2657
2693
|
* @description Billing event types.
|
|
2658
2694
|
* @enum {string}
|
|
2659
2695
|
*/
|
|
2660
|
-
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" | "AttestRole" | "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" | "
|
|
2696
|
+
BillingEvent: "Mmi" | "MmiMessageGet" | "MmiMessageList" | "MmiMessageSign" | "MmiMessageReject" | "MmiMessageDelete" | "AboutMe" | "UserResetEmailInit" | "UserResetEmailComplete" | "UserDeleteTotp" | "UserResetTotpInit" | "UserResetTotpComplete" | "UserVerifyTotp" | "UserRegisterFidoInit" | "UserRegisterFidoComplete" | "UserDeleteFido" | "CreateProofOidc" | "CreateProofCubeSigner" | "VerifyProof" | "AddOidcIdentity" | "RemoveOidcIdentity" | "ListOidcIdentities" | "GetOrg" | "UpdateOrg" | "GetOrgExport" | "CreateOrg" | "ListKeys" | "AttestKey" | "GetKey" | "GetKeyByMaterialId" | "ListKeyRoles" | "UpdateKey" | "ListHistoricalKeyTx" | "Invite" | "CancelInvitation" | "ListInvitations" | "ListUsers" | "GetUser" | "GetUserByEmail" | "GetUserByOidc" | "UpdateMembership" | "ResetMemberMfa" | "CompleteResetMemberMfa" | "CreateRole" | "AttestRole" | "GetRole" | "ListTokenKeys" | "ListRoles" | "GetRoleKey" | "ListRoleKeys" | "ListRoleUsers" | "UpdateRole" | "DeleteRole" | "ConfigureEmail" | "GetEmailConfig" | "DeleteEmailConfig" | "ListHistoricalRoleTx" | "CreatePolicy" | "GetPolicy" | "ListPolicies" | "DeletePolicy" | "UpdatePolicy" | "InvokePolicy" | "GetPolicyLogs" | "UploadWasmPolicy" | "GetPolicySecrets" | "UpdatePolicySecrets" | "SetPolicySecret" | "DeletePolicySecret" | "CreatePolicyImportKey" | "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" | "RpcApi" | "RpcCreateTransaction" | "RpcGetTransaction" | "RpcListTransactions" | "CustomChainRpcCall" | "EsploraApiCall" | "SentryApiCall" | "SentryApiCallPublic" | "MmiJwkSet" | "AttestationJwkSet" | "UserOrgs" | "PublicOrgInfo" | "EmailMyOrgs";
|
|
2661
2697
|
/** @description A bitcoin address and its network. */
|
|
2662
2698
|
BitcoinAddressInfo: {
|
|
2663
2699
|
/**
|
|
@@ -2882,6 +2918,9 @@ export interface components {
|
|
|
2882
2918
|
*/
|
|
2883
2919
|
value: number;
|
|
2884
2920
|
};
|
|
2921
|
+
CancelInvitationRequest: {
|
|
2922
|
+
email: components["schemas"]["Email"];
|
|
2923
|
+
};
|
|
2885
2924
|
/**
|
|
2886
2925
|
* @description Supported Canton environments.
|
|
2887
2926
|
* @enum {string}
|
|
@@ -3135,6 +3174,36 @@ export interface components {
|
|
|
3135
3174
|
*/
|
|
3136
3175
|
name: string;
|
|
3137
3176
|
};
|
|
3177
|
+
/** @description Parameters for creating an EVM transaction. */
|
|
3178
|
+
CreateEvmTransactionRequest: components["schemas"]["CreateEvmTransferRequest"] & {
|
|
3179
|
+
/** @enum {string} */
|
|
3180
|
+
type: "Transfer";
|
|
3181
|
+
};
|
|
3182
|
+
/** @description Parameters for creating an EVM transfer. */
|
|
3183
|
+
CreateEvmTransferRequest: {
|
|
3184
|
+
token: "CreateEvmTransferRequest";
|
|
3185
|
+
} & Omit<components["schemas"]["EvmToken"], "token"> & components["schemas"]["EvmTxCustomization"] & {
|
|
3186
|
+
/**
|
|
3187
|
+
* Format: int64
|
|
3188
|
+
* @description The EVM chain id this transaction is for.
|
|
3189
|
+
*/
|
|
3190
|
+
chain_id: number;
|
|
3191
|
+
/**
|
|
3192
|
+
* @description The address that the amount will be transferred from.
|
|
3193
|
+
*
|
|
3194
|
+
* Must match the material id of a key the session can access.
|
|
3195
|
+
*/
|
|
3196
|
+
from: string;
|
|
3197
|
+
/** @description The address that the amount will be transferred to. */
|
|
3198
|
+
to: string;
|
|
3199
|
+
/**
|
|
3200
|
+
* @description The amount being transferred, as a hex value.
|
|
3201
|
+
*
|
|
3202
|
+
* This value should be in WEI for native transfers, and in the token's denomination
|
|
3203
|
+
* for ERC-20 transfers.
|
|
3204
|
+
*/
|
|
3205
|
+
value: string;
|
|
3206
|
+
};
|
|
3138
3207
|
CreateKeyImportKeyResponse: components["schemas"]["KeyImportKey"] & {
|
|
3139
3208
|
/**
|
|
3140
3209
|
* @description An attestation document from a secure enclave, including an
|
|
@@ -3293,6 +3362,13 @@ export interface components {
|
|
|
3293
3362
|
*/
|
|
3294
3363
|
scopes?: components["schemas"]["Scope"][] | null;
|
|
3295
3364
|
};
|
|
3365
|
+
/** @description Parameters for the [`cs_createTransaction`](RpcMethod::CreateTransaction) method. */
|
|
3366
|
+
CreateTransactionRequest: {
|
|
3367
|
+
type: "CreateTransactionRequest";
|
|
3368
|
+
} & Omit<components["schemas"]["CreateEvmTransactionRequest"], "type"> & {
|
|
3369
|
+
/** @enum {string} */
|
|
3370
|
+
chain: "Evm";
|
|
3371
|
+
};
|
|
3296
3372
|
/**
|
|
3297
3373
|
* @description An extended form of `PublicKeyCredentialCreationOptions` that allows clients to derive the WebAuthn challenge
|
|
3298
3374
|
* from a structured preimage.
|
|
@@ -4035,6 +4111,33 @@ export interface components {
|
|
|
4035
4111
|
*/
|
|
4036
4112
|
rpc_url: string;
|
|
4037
4113
|
};
|
|
4114
|
+
/** @description An EVM token. */
|
|
4115
|
+
EvmToken: {
|
|
4116
|
+
/** @enum {string} */
|
|
4117
|
+
token: "Native";
|
|
4118
|
+
} | {
|
|
4119
|
+
/** @enum {string} */
|
|
4120
|
+
token: "Erc20";
|
|
4121
|
+
/** @description The ERC-20 token address. */
|
|
4122
|
+
token_address: string;
|
|
4123
|
+
};
|
|
4124
|
+
/** @description EVM-specific transaction details. */
|
|
4125
|
+
EvmTransactionDetails: {
|
|
4126
|
+
/**
|
|
4127
|
+
* @description The transaction hash, as submitted to the chain.
|
|
4128
|
+
*
|
|
4129
|
+
* Can be undefined if the transaction hasn't been signed or submitted yet.
|
|
4130
|
+
*/
|
|
4131
|
+
hash?: string;
|
|
4132
|
+
/**
|
|
4133
|
+
* @description The signature for the transaction.
|
|
4134
|
+
*
|
|
4135
|
+
* Can be undefined if the transaction hasn't been signed yet, or failed to be signed.
|
|
4136
|
+
*/
|
|
4137
|
+
signature?: string;
|
|
4138
|
+
/** @description The transaction itself. */
|
|
4139
|
+
tx: unknown;
|
|
4140
|
+
};
|
|
4038
4141
|
EvmTxCmp: {
|
|
4039
4142
|
/**
|
|
4040
4143
|
* Format: int64
|
|
@@ -4060,6 +4163,34 @@ export interface components {
|
|
|
4060
4163
|
/** @description Whether the 'nonce' property of the EVM transaction is allowed to be different. */
|
|
4061
4164
|
ignore_nonce?: boolean;
|
|
4062
4165
|
};
|
|
4166
|
+
/** @description Optional fields used to customize EVM transactions. */
|
|
4167
|
+
EvmTxCustomization: {
|
|
4168
|
+
/**
|
|
4169
|
+
* @description Optional gas limit.
|
|
4170
|
+
*
|
|
4171
|
+
* If not specified, estimated gas is used.
|
|
4172
|
+
*/
|
|
4173
|
+
gas_limit?: string | null;
|
|
4174
|
+
/**
|
|
4175
|
+
* @description Optional max fee for the transaction.
|
|
4176
|
+
*
|
|
4177
|
+
* If not specified, estimated fees are used.
|
|
4178
|
+
*/
|
|
4179
|
+
max_fee_per_gas?: string | null;
|
|
4180
|
+
/**
|
|
4181
|
+
* @description Optional max priority fee for the transaction.
|
|
4182
|
+
*
|
|
4183
|
+
* If not specified, estimated fees are used.
|
|
4184
|
+
*/
|
|
4185
|
+
max_priority_fee_per_gas?: string | null;
|
|
4186
|
+
/**
|
|
4187
|
+
* @description Optional nonce.
|
|
4188
|
+
*
|
|
4189
|
+
* If not specified, the sender's transaction count from the latest block is
|
|
4190
|
+
* used.
|
|
4191
|
+
*/
|
|
4192
|
+
nonce?: string | null;
|
|
4193
|
+
};
|
|
4063
4194
|
/** @enum {string} */
|
|
4064
4195
|
EvmTxDepositErrorCode: "EvmTxDepositReceiverMismatch" | "EvmTxDepositEmptyData" | "EvmTxDepositEmptyChainId" | "EvmTxDepositEmptyReceiver" | "EvmTxDepositUnexpectedValue" | "EvmTxDepositUnexpectedDataLength" | "EvmTxDepositNoAbi" | "EvmTxDepositNoDepositFunction" | "EvmTxDepositUnexpectedFunctionName" | "EvmTxDepositUnexpectedValidatorKey" | "EvmTxDepositInvalidValidatorKey" | "EvmTxDepositMissingDepositArg" | "EvmTxDepositWrongDepositArgType" | "EvmTxDepositValidatorKeyNotInRole" | "EvmTxDepositUnexpectedWithdrawalCredentials" | "EvmTxDepositUnresolvedRole" | "EvmTxDepositInvalidDepositEncoding";
|
|
4065
4196
|
/**
|
|
@@ -4072,7 +4203,7 @@ export interface components {
|
|
|
4072
4203
|
* @description Explicitly named scopes for accessing CubeSigner APIs
|
|
4073
4204
|
* @enum {string}
|
|
4074
4205
|
*/
|
|
4075
|
-
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:attest" | "manage:role:get:keys" | "manage:role:get:keys:list" | "manage:role:get:keys:get" | "manage:role:get:users" | "manage:role:list" | "manage:role:update:*" | "manage:role:update:enabled" | "manage:role:update:policy" | "manage:role:update:editPolicy" | "manage:role:update: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:*";
|
|
4206
|
+
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:email:get" | "manage:email:update" | "manage:email:delete" | "manage:mfa:*" | "manage:mfa:readonly" | "manage:mfa:list" | "manage:mfa:vote:*" | "manage:mfa:vote:cs" | "manage:mfa:vote:email" | "manage:mfa:vote:fido" | "manage:mfa:vote:totp" | "manage:mfa:register:*" | "manage:mfa:register:fido" | "manage:mfa:register:totp" | "manage:mfa:register:email" | "manage:mfa:unregister:*" | "manage:mfa:unregister:fido" | "manage:mfa:unregister:totp" | "manage:mfa:verify:*" | "manage:mfa:verify:totp" | "manage:key:*" | "manage:key:readonly" | "manage:key:get" | "manage:key:attest" | "manage:key:listRoles" | "manage:key:list" | "manage:key:history:tx:list" | "manage:key:create" | "manage:key:import" | "manage:key:update:*" | "manage:key:update:owner" | "manage:key:update:policy" | "manage:key:update:enabled" | "manage:key:update:region" | "manage:key:update:metadata" | "manage:key:update: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:attest" | "manage:role:get:keys" | "manage:role:get:keys:list" | "manage:role:get:keys:get" | "manage:role:get:users" | "manage:role:list" | "manage:role:update:*" | "manage:role:update:enabled" | "manage:role:update:policy" | "manage:role:update:editPolicy" | "manage:role:update:actions" | "manage:role:update:key:*" | "manage:role:update:key:add" | "manage:role:update:key:remove" | "manage:role:update:user:*" | "manage:role:update:user:add" | "manage:role:update:user:remove" | "manage:role:history:tx:list" | "manage:identity:*" | "manage:identity:readonly" | "manage:identity:verify" | "manage:identity:add" | "manage:identity:remove" | "manage:identity:list" | "manage:org:*" | "manage:org:create" | "manage:org:metrics:query" | "manage:org:audit:query" | "manage:org:readonly" | "manage:org:addUser" | "manage:org:inviteUser" | "manage:org:inviteAlien" | "manage:org:invitation:list" | "manage:org:invitation:cancel" | "manage:org:updateMembership" | "manage:org:listUsers" | "manage:org:user:get" | "manage:org:deleteUser" | "manage:org:get" | "manage:org:update:*" | "manage:org:update:enabled" | "manage:org:update:policy" | "manage:org:update:signPolicy" | "manage:org:update:export" | "manage:org:update:totpFailureLimit" | "manage:org:update:notificationEndpoints" | "manage:org:update:defaultInviteKind" | "manage:org:update:idpConfiguration" | "manage:org:update:passkeyConfiguration" | "manage:org:update:emailPreferences" | "manage:org:update:historicalData" | "manage:org:update:requireScopeCeiling" | "manage:org:update:alienLoginRequirement" | "manage:org:update:memberLoginRequirement" | "manage:org:update:keyExportRequirement" | "manage:org:update:allowedMfaTypes" | "manage:org:update:policyEngineConf" | "manage:org:update:customChains" | "manage:org:update:extProps" | "manage:org:update:editPolicy" | "manage:org:user:resetMfa" | "manage:session:*" | "manage:session:readonly" | "manage:session:get" | "manage:session:list" | "manage:session:create" | "manage:session:extend" | "manage:session:revoke" | "manage:export:*" | "manage:export:readonly" | "manage:export:org:*" | "manage:export:org:get" | "manage:export:user:*" | "manage:export:user:delete" | "manage:export:user:list" | "manage:authMigration:*" | "manage:authMigration:identity:add" | "manage:authMigration:identity:remove" | "manage:authMigration:user:update" | "manage:mmi:*" | "manage:mmi:readonly" | "manage:mmi:get" | "manage:mmi:list" | "manage:mmi:reject" | "manage:mmi:delete" | "export:*" | "export:user:*" | "export:user:init" | "export:user:complete" | "mmi:*" | "orgAccess:*" | "orgAccess:child:*" | "rpc:*" | "rpc:createTransaction:*" | "rpc:createTransaction:evm" | "rpc:getTransaction" | "rpc:listTransactions";
|
|
4076
4207
|
/**
|
|
4077
4208
|
* @description This type specifies the interpretation of the `fee` field in Babylon
|
|
4078
4209
|
* staking requests. If `sats`, the field is intpreted as a fixed value
|
|
@@ -4175,9 +4306,24 @@ export interface components {
|
|
|
4175
4306
|
*/
|
|
4176
4307
|
genesis_validators_root: string;
|
|
4177
4308
|
};
|
|
4309
|
+
/** @description The email sender configuration (without sensitive auth details) */
|
|
4310
|
+
GetEmailConfigResponse: {
|
|
4311
|
+
/** @description The email address that emails are sent from */
|
|
4312
|
+
sender: string;
|
|
4313
|
+
template?: {
|
|
4314
|
+
/** @description An HTML template to use for the body. */
|
|
4315
|
+
body_template: string;
|
|
4316
|
+
/** @description The subject line template */
|
|
4317
|
+
subject_template: string;
|
|
4318
|
+
} | null;
|
|
4319
|
+
};
|
|
4178
4320
|
GetKeysInOrgRequest: {
|
|
4179
4321
|
key_type?: components["schemas"]["KeyType"] | null;
|
|
4180
4322
|
};
|
|
4323
|
+
/** @description Parameters for the [`cs_getTransaction`](RpcMethod::GetTransaction) method. */
|
|
4324
|
+
GetTransactionRequest: {
|
|
4325
|
+
id: components["schemas"]["Id"];
|
|
4326
|
+
};
|
|
4181
4327
|
GetUserByEmailResponse: {
|
|
4182
4328
|
/**
|
|
4183
4329
|
* @description Typically, this array is either empty (if no user with a given email was found)
|
|
@@ -4352,12 +4498,23 @@ export interface components {
|
|
|
4352
4498
|
salt: string;
|
|
4353
4499
|
};
|
|
4354
4500
|
/** @enum {string} */
|
|
4355
|
-
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";
|
|
4501
|
+
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" | "InvalidEvmSigedRlp" | "InvalidErc20Data" | "InvalidRpcUrl";
|
|
4356
4502
|
InvitationAcceptRequest: {
|
|
4357
4503
|
auth: components["schemas"]["AuthSource"];
|
|
4358
4504
|
/** @description Invitation token */
|
|
4359
4505
|
token: string;
|
|
4360
4506
|
};
|
|
4507
|
+
/** @description Information about a pending invitation */
|
|
4508
|
+
InvitationInfo: {
|
|
4509
|
+
created: components["schemas"]["EpochDateTime"];
|
|
4510
|
+
/** @description The email address the invitation was sent to */
|
|
4511
|
+
email: string;
|
|
4512
|
+
expiration: components["schemas"]["EpochDateTime"];
|
|
4513
|
+
inviter?: components["schemas"]["Id"] | null;
|
|
4514
|
+
/** @description The invited user's name */
|
|
4515
|
+
name: string;
|
|
4516
|
+
role: components["schemas"]["MemberRole"];
|
|
4517
|
+
};
|
|
4361
4518
|
/**
|
|
4362
4519
|
* @description Indicates the auth sources allowed to an invited user
|
|
4363
4520
|
* @enum {string}
|
|
@@ -4502,6 +4659,27 @@ export interface components {
|
|
|
4502
4659
|
/** @description The type of key this package represents */
|
|
4503
4660
|
key_type: string;
|
|
4504
4661
|
};
|
|
4662
|
+
/** @description The top-level JSON-RPC request type. */
|
|
4663
|
+
JsonRpcRequest: {
|
|
4664
|
+
method: "JsonRpcRequest";
|
|
4665
|
+
} & Omit<components["schemas"]["RpcMethod"], "method"> & {
|
|
4666
|
+
/** @description Request ID */
|
|
4667
|
+
id?: string;
|
|
4668
|
+
/** @description JSON-RPC version. */
|
|
4669
|
+
jsonrpc: string;
|
|
4670
|
+
};
|
|
4671
|
+
/** @description The RPC API's response. */
|
|
4672
|
+
JsonRpcResponse: {
|
|
4673
|
+
error?: components["schemas"]["ErrorObj"] | null;
|
|
4674
|
+
/** @description ID from the corresponding request. */
|
|
4675
|
+
id?: unknown;
|
|
4676
|
+
/** @description Constant "2.0". */
|
|
4677
|
+
jsonrpc: string;
|
|
4678
|
+
/** @description Result, if success. */
|
|
4679
|
+
result?: Record<string, unknown> | null;
|
|
4680
|
+
};
|
|
4681
|
+
/** @description Valid `result` from the JSON-RPC API. */
|
|
4682
|
+
JsonRpcResult: components["schemas"]["TransactionInfo"] | components["schemas"]["ListTransactionsPaginatedResponse"];
|
|
4505
4683
|
JwkSetResponse: {
|
|
4506
4684
|
/** @description The keys included in this set */
|
|
4507
4685
|
keys: Record<string, never>[];
|
|
@@ -4664,6 +4842,11 @@ export interface components {
|
|
|
4664
4842
|
ListIdentitiesResponse: {
|
|
4665
4843
|
identities: components["schemas"]["IdentityInfo"][];
|
|
4666
4844
|
};
|
|
4845
|
+
/** @description List of pending invitations */
|
|
4846
|
+
ListInvitationsResponse: {
|
|
4847
|
+
/** @description Pending invitations */
|
|
4848
|
+
invitations: components["schemas"]["InvitationInfo"][];
|
|
4849
|
+
};
|
|
4667
4850
|
ListMfaResponse: {
|
|
4668
4851
|
/** @description All pending MFA requests */
|
|
4669
4852
|
mfa_requests: components["schemas"]["MfaRequestInfo"][];
|
|
@@ -4673,6 +4856,35 @@ export interface components {
|
|
|
4673
4856
|
/** @description All pending messages for a user. */
|
|
4674
4857
|
pending_messages: components["schemas"]["PendingMessageInfo"][];
|
|
4675
4858
|
};
|
|
4859
|
+
/**
|
|
4860
|
+
* @description Response type that wraps another type and adds base64url-encoded encrypted `last_evaluated_key`
|
|
4861
|
+
* value (which can the user pass back to use as a url query parameter to continue pagination).
|
|
4862
|
+
*/
|
|
4863
|
+
ListTransactionsPaginatedResponse: {
|
|
4864
|
+
/** @description A list of transaction infos. */
|
|
4865
|
+
transactions: components["schemas"]["TransactionInfo"][];
|
|
4866
|
+
} & {
|
|
4867
|
+
/**
|
|
4868
|
+
* @description If set, the content of `response` does not contain the entire result set.
|
|
4869
|
+
* To fetch the next page of the result set, call the same endpoint
|
|
4870
|
+
* but specify this value as the 'page.start' query parameter.
|
|
4871
|
+
*/
|
|
4872
|
+
last_evaluated_key?: string | null;
|
|
4873
|
+
};
|
|
4874
|
+
/** @description Parameters for the [`cs_listTransactions`](RpcMethod::ListTransactions) method. */
|
|
4875
|
+
ListTransactionsRequest: components["schemas"]["Page"] & {
|
|
4876
|
+
/**
|
|
4877
|
+
* @description Optional user or role id.
|
|
4878
|
+
*
|
|
4879
|
+
* If defined, the response is filtered to transactions created by the given id.
|
|
4880
|
+
*/
|
|
4881
|
+
owner?: string | null;
|
|
4882
|
+
};
|
|
4883
|
+
/** @description The response to [`cs_listTransactions`](super::request::RpcMethod::ListTransactions) */
|
|
4884
|
+
ListTransactionsResponse: {
|
|
4885
|
+
/** @description A list of transaction infos. */
|
|
4886
|
+
transactions: components["schemas"]["TransactionInfo"][];
|
|
4887
|
+
};
|
|
4676
4888
|
LoginRequest: components["schemas"]["OidcLoginRequest"];
|
|
4677
4889
|
/**
|
|
4678
4890
|
* @description Describes whether a user in an org is an Owner or just a regular member
|
|
@@ -4737,7 +4949,7 @@ export interface components {
|
|
|
4737
4949
|
* @description MFA policy provenance
|
|
4738
4950
|
* @enum {string}
|
|
4739
4951
|
*/
|
|
4740
|
-
provenance: "Key" | "KeyInRole" | "Role" | "User" | "EditPolicy";
|
|
4952
|
+
provenance: "Org" | "Key" | "KeyInRole" | "Role" | "User" | "EditPolicy";
|
|
4741
4953
|
receipt?: components["schemas"]["Receipt"] | null;
|
|
4742
4954
|
/** @description The region this MFA request was created in. It can only be redeemed from the same region. */
|
|
4743
4955
|
region?: string;
|
|
@@ -4908,7 +5120,7 @@ export interface components {
|
|
|
4908
5120
|
/** Format: binary */
|
|
4909
5121
|
NonceValue: string;
|
|
4910
5122
|
/** @enum {string} */
|
|
4911
|
-
NotFoundErrorCode: "UriSegmentMissing" | "UriSegmentInvalid" | "TotpNotConfigured" | "FidoKeyNotFound" | "FidoChallengeNotFound" | "TotpChallengeNotFound" | "UserExportRequestNotFound" | "UserExportCiphertextNotFound" | "OrgExportCiphertextNotFound" | "UploadObjectNotFound" | "PolicySecretNotFound" | "TimestreamDisabled" | "CustomChainNotFound";
|
|
5123
|
+
NotFoundErrorCode: "UriSegmentMissing" | "UriSegmentInvalid" | "TotpNotConfigured" | "FidoKeyNotFound" | "FidoChallengeNotFound" | "TotpChallengeNotFound" | "UserExportRequestNotFound" | "UserExportCiphertextNotFound" | "OrgExportCiphertextNotFound" | "UploadObjectNotFound" | "PolicySecretNotFound" | "TimestreamDisabled" | "CustomChainNotFound" | "InvitationNotFound" | "TransactionNotFound" | "EmailConfigNotFound";
|
|
4912
5124
|
/** @description The configuration and status of a notification endpoint */
|
|
4913
5125
|
NotificationEndpoint: components["schemas"]["NotificationEndpointSubscription"] & {
|
|
4914
5126
|
status: components["schemas"]["SubscriptionStatus"];
|
|
@@ -5202,6 +5414,17 @@ export interface components {
|
|
|
5202
5414
|
last_state: unknown;
|
|
5203
5415
|
/** @enum {string} */
|
|
5204
5416
|
org_event: "TendermintConcurrentSigning";
|
|
5417
|
+
} | {
|
|
5418
|
+
/** @description The email address of the invited user */
|
|
5419
|
+
email: string;
|
|
5420
|
+
/** @enum {string} */
|
|
5421
|
+
org_event: "InvitationCreated";
|
|
5422
|
+
role: components["schemas"]["MemberRole"];
|
|
5423
|
+
} | {
|
|
5424
|
+
/** @description The email address whose invitation was canceled */
|
|
5425
|
+
email: string;
|
|
5426
|
+
/** @enum {string} */
|
|
5427
|
+
org_event: "InvitationCanceled";
|
|
5205
5428
|
} | {
|
|
5206
5429
|
key_id: components["schemas"]["Id"];
|
|
5207
5430
|
/** @enum {string} */
|
|
@@ -5242,7 +5465,7 @@ export interface components {
|
|
|
5242
5465
|
* @description Auto-generated discriminant enum variants
|
|
5243
5466
|
* @enum {string}
|
|
5244
5467
|
*/
|
|
5245
|
-
OrgEventDiscriminants: "Billing" | "Response" | "OidcAuth" | "Signed" | "BabylonEotsConcurrentSigning" | "Eth2ConcurrentAttestationSigning" | "Eth2ConcurrentBlockSigning" | "Eth2InvalidBlockProposerSlotTooLow" | "Eth2InvalidAttestationSourceEpochTooLow" | "Eth2InvalidAttestationTargetEpochTooLow" | "Eth2Unstake" | "Eth2ExceededMaxUnstake" | "KeyCreated" | "MfaApproved" | "MfaRejected" | "PolicyChanged" | "TendermintConcurrentSigning" | "UserExportInit" | "UserExportComplete" | "WasmPolicyExecuted";
|
|
5468
|
+
OrgEventDiscriminants: "Billing" | "Response" | "OidcAuth" | "Signed" | "BabylonEotsConcurrentSigning" | "Eth2ConcurrentAttestationSigning" | "Eth2ConcurrentBlockSigning" | "Eth2InvalidBlockProposerSlotTooLow" | "Eth2InvalidAttestationSourceEpochTooLow" | "Eth2InvalidAttestationTargetEpochTooLow" | "Eth2Unstake" | "Eth2ExceededMaxUnstake" | "KeyCreated" | "MfaApproved" | "MfaRejected" | "PolicyChanged" | "TendermintConcurrentSigning" | "InvitationCreated" | "InvitationCanceled" | "UserExportInit" | "UserExportComplete" | "WasmPolicyExecuted";
|
|
5246
5469
|
/** @description Filter for org events */
|
|
5247
5470
|
OrgEventFilter: OneOf<[
|
|
5248
5471
|
"All",
|
|
@@ -5260,7 +5483,7 @@ export interface components {
|
|
|
5260
5483
|
/** @description A base64-encoded export ciphertext. */
|
|
5261
5484
|
ciphertext: string;
|
|
5262
5485
|
};
|
|
5263
|
-
OrgInfo: components["schemas"]["MfaRequirements"] & {
|
|
5486
|
+
OrgInfo: components["schemas"]["MfaRequirements"] & components["schemas"]["CommonFields"] & {
|
|
5264
5487
|
access_model: components["schemas"]["AccessModel"];
|
|
5265
5488
|
custom_chains?: components["schemas"]["CustomChainsData"] | null;
|
|
5266
5489
|
default_invite_kind?: components["schemas"]["InviteKind"];
|
|
@@ -5356,6 +5579,15 @@ export interface components {
|
|
|
5356
5579
|
*/
|
|
5357
5580
|
policy?: Record<string, never>[];
|
|
5358
5581
|
policy_engine_configuration?: components["schemas"]["PolicyEngineConfiguration"];
|
|
5582
|
+
/**
|
|
5583
|
+
* @description Global sign policy that applies to every sign operation (every key, every role) in the org
|
|
5584
|
+
* @example [
|
|
5585
|
+
* {
|
|
5586
|
+
* "TxReceiver": "0x0000000000000000000000000000000000000000"
|
|
5587
|
+
* }
|
|
5588
|
+
* ]
|
|
5589
|
+
*/
|
|
5590
|
+
sign_policy?: Record<string, never>[];
|
|
5359
5591
|
/**
|
|
5360
5592
|
* Format: int32
|
|
5361
5593
|
* @description The organization's currently configured TOTP failure limit, i.e., the number
|
|
@@ -5514,6 +5746,21 @@ export interface components {
|
|
|
5514
5746
|
*/
|
|
5515
5747
|
last_evaluated_key?: string | null;
|
|
5516
5748
|
};
|
|
5749
|
+
/**
|
|
5750
|
+
* @description Response type that wraps another type and adds base64url-encoded encrypted `last_evaluated_key`
|
|
5751
|
+
* value (which can the user pass back to use as a url query parameter to continue pagination).
|
|
5752
|
+
*/
|
|
5753
|
+
PaginatedListInvitationsResponse: {
|
|
5754
|
+
/** @description Pending invitations */
|
|
5755
|
+
invitations: components["schemas"]["InvitationInfo"][];
|
|
5756
|
+
} & {
|
|
5757
|
+
/**
|
|
5758
|
+
* @description If set, the content of `response` does not contain the entire result set.
|
|
5759
|
+
* To fetch the next page of the result set, call the same endpoint
|
|
5760
|
+
* but specify this value as the 'page.start' query parameter.
|
|
5761
|
+
*/
|
|
5762
|
+
last_evaluated_key?: string | null;
|
|
5763
|
+
};
|
|
5517
5764
|
/**
|
|
5518
5765
|
* @description Response type that wraps another type and adds base64url-encoded encrypted `last_evaluated_key`
|
|
5519
5766
|
* value (which can the user pass back to use as a url query parameter to continue pagination).
|
|
@@ -5821,6 +6068,13 @@ export interface components {
|
|
|
5821
6068
|
* @example Role#bfe3eccb-731e-430d-b1e5-ac1363e6b06b
|
|
5822
6069
|
*/
|
|
5823
6070
|
role_id: string;
|
|
6071
|
+
},
|
|
6072
|
+
{
|
|
6073
|
+
/**
|
|
6074
|
+
* @description The id of the org the policy should be attached to.
|
|
6075
|
+
* @example Org#b0156abd-53bd-4043-8e55-57f7af9512d5
|
|
6076
|
+
*/
|
|
6077
|
+
org_id: string;
|
|
5824
6078
|
}
|
|
5825
6079
|
]>;
|
|
5826
6080
|
/** @description A struct containing Org-level configurations for the workings of the Policy Engine. */
|
|
@@ -6547,6 +6801,20 @@ export interface components {
|
|
|
6547
6801
|
/** @description A JSON Web Token whose claims contain the `RoleInfo` structure. */
|
|
6548
6802
|
jwt: string;
|
|
6549
6803
|
};
|
|
6804
|
+
/** @description The RPC API method and matching parameters. */
|
|
6805
|
+
RpcMethod: {
|
|
6806
|
+
/** @enum {string} */
|
|
6807
|
+
method: "cs_createTransaction";
|
|
6808
|
+
params: components["schemas"]["CreateTransactionRequest"];
|
|
6809
|
+
} | {
|
|
6810
|
+
/** @enum {string} */
|
|
6811
|
+
method: "cs_getTransaction";
|
|
6812
|
+
params: components["schemas"]["GetTransactionRequest"];
|
|
6813
|
+
} | {
|
|
6814
|
+
/** @enum {string} */
|
|
6815
|
+
method: "cs_listTransactions";
|
|
6816
|
+
params: components["schemas"]["ListTransactionsRequest"];
|
|
6817
|
+
};
|
|
6550
6818
|
/** @description All scopes for accessing CubeSigner APIs */
|
|
6551
6819
|
Scope: components["schemas"]["ExplicitScope"] | string;
|
|
6552
6820
|
/** @description A set of scopes. */
|
|
@@ -7101,6 +7369,16 @@ export interface components {
|
|
|
7101
7369
|
signedRawTransaction?: string | null;
|
|
7102
7370
|
status: components["schemas"]["MmiStatus"];
|
|
7103
7371
|
};
|
|
7372
|
+
/** @description Chain-specific transaction details. */
|
|
7373
|
+
TransactionDetails: components["schemas"]["EvmTransactionDetails"] & {
|
|
7374
|
+
/** @enum {string} */
|
|
7375
|
+
chain: "Evm";
|
|
7376
|
+
};
|
|
7377
|
+
/** @description Information about an existing transaction created by the RPC API. */
|
|
7378
|
+
TransactionInfo: components["schemas"]["Transaction"] & {
|
|
7379
|
+
/** @description The transaction id. */
|
|
7380
|
+
id: string;
|
|
7381
|
+
};
|
|
7104
7382
|
/**
|
|
7105
7383
|
* @description Supported queries
|
|
7106
7384
|
* @enum {string}
|
|
@@ -7388,6 +7666,7 @@ export interface components {
|
|
|
7388
7666
|
} | null;
|
|
7389
7667
|
custom_chains?: components["schemas"]["CustomChainsData"] | null;
|
|
7390
7668
|
default_invite_kind?: components["schemas"]["InviteKind"] | null;
|
|
7669
|
+
edit_policy?: components["schemas"]["EditPolicy"] | null;
|
|
7391
7670
|
email_preferences?: components["schemas"]["EmailPreferences"] | null;
|
|
7392
7671
|
/** @description If set, update this org's `enabled` field to this value. */
|
|
7393
7672
|
enabled?: boolean | null;
|
|
@@ -7480,6 +7759,18 @@ export interface components {
|
|
|
7480
7759
|
* Owners of the org are exempt from this requirement.
|
|
7481
7760
|
*/
|
|
7482
7761
|
require_scope_ceiling?: boolean | null;
|
|
7762
|
+
/**
|
|
7763
|
+
* @description If set, update this org's sign rule (old sign rules will be overwritten!).
|
|
7764
|
+
* Only "deny"-style rules may be set.
|
|
7765
|
+
* @example [
|
|
7766
|
+
* {
|
|
7767
|
+
* "TxReceiver": [
|
|
7768
|
+
* "0x0000000000000000000000000000000000000000"
|
|
7769
|
+
* ]
|
|
7770
|
+
* }
|
|
7771
|
+
* ]
|
|
7772
|
+
*/
|
|
7773
|
+
sign_policy?: unknown[] | null;
|
|
7483
7774
|
/**
|
|
7484
7775
|
* Format: int32
|
|
7485
7776
|
* @description If set, update this org's TOTP failure limit. After this many failures,
|
|
@@ -7517,6 +7808,7 @@ export interface components {
|
|
|
7517
7808
|
} | null;
|
|
7518
7809
|
custom_chains?: components["schemas"]["CustomChainsData"] | null;
|
|
7519
7810
|
default_invite_kind?: components["schemas"]["InviteKind"] | null;
|
|
7811
|
+
edit_policy?: components["schemas"]["EditPolicy"] | null;
|
|
7520
7812
|
email_preferences?: components["schemas"]["EmailPreferences"] | null;
|
|
7521
7813
|
/** @description The new value of the 'enabled' property */
|
|
7522
7814
|
enabled?: boolean | null;
|
|
@@ -7579,6 +7871,15 @@ export interface components {
|
|
|
7579
7871
|
policy_engine_configuration?: components["schemas"]["PolicyEngineConfiguration"] | null;
|
|
7580
7872
|
/** @description The new value of require_scope_ceiling */
|
|
7581
7873
|
require_scope_ceiling?: boolean | null;
|
|
7874
|
+
/**
|
|
7875
|
+
* @description The new value of the org-wide sign rules
|
|
7876
|
+
* @example [
|
|
7877
|
+
* {
|
|
7878
|
+
* "TxReceiver": "0x0000000000000000000000000000000000000000"
|
|
7879
|
+
* }
|
|
7880
|
+
* ]
|
|
7881
|
+
*/
|
|
7882
|
+
sign_policy?: Record<string, never>[] | null;
|
|
7582
7883
|
/**
|
|
7583
7884
|
* Format: int32
|
|
7584
7885
|
* @description The new value of the TOTP failure limit
|
|
@@ -7596,6 +7897,11 @@ export interface components {
|
|
|
7596
7897
|
* @description The new value of user-export window
|
|
7597
7898
|
*/
|
|
7598
7899
|
user_export_window?: number | null;
|
|
7900
|
+
/**
|
|
7901
|
+
* Format: int64
|
|
7902
|
+
* @description New org version
|
|
7903
|
+
*/
|
|
7904
|
+
version: number;
|
|
7599
7905
|
};
|
|
7600
7906
|
/** @description Request body for updating a named policy. */
|
|
7601
7907
|
UpdatePolicyRequest: {
|
|
@@ -8328,6 +8634,21 @@ export interface components {
|
|
|
8328
8634
|
};
|
|
8329
8635
|
};
|
|
8330
8636
|
};
|
|
8637
|
+
/** @description The email sender configuration (without sensitive auth details) */
|
|
8638
|
+
GetEmailConfigResponse: {
|
|
8639
|
+
content: {
|
|
8640
|
+
"application/json": {
|
|
8641
|
+
/** @description The email address that emails are sent from */
|
|
8642
|
+
sender: string;
|
|
8643
|
+
template?: {
|
|
8644
|
+
/** @description An HTML template to use for the body. */
|
|
8645
|
+
body_template: string;
|
|
8646
|
+
/** @description The subject line template */
|
|
8647
|
+
subject_template: string;
|
|
8648
|
+
} | null;
|
|
8649
|
+
};
|
|
8650
|
+
};
|
|
8651
|
+
};
|
|
8331
8652
|
GetUserByEmailResponse: {
|
|
8332
8653
|
content: {
|
|
8333
8654
|
"application/json": {
|
|
@@ -8396,6 +8717,20 @@ export interface components {
|
|
|
8396
8717
|
"application/json": components["schemas"]["Response"] & Record<string, never>;
|
|
8397
8718
|
};
|
|
8398
8719
|
};
|
|
8720
|
+
/** @description The RPC API's response. */
|
|
8721
|
+
JsonRpcResponse: {
|
|
8722
|
+
content: {
|
|
8723
|
+
"application/json": {
|
|
8724
|
+
error?: components["schemas"]["ErrorObj"] | null;
|
|
8725
|
+
/** @description ID from the corresponding request. */
|
|
8726
|
+
id?: unknown;
|
|
8727
|
+
/** @description Constant "2.0". */
|
|
8728
|
+
jsonrpc: string;
|
|
8729
|
+
/** @description Result, if success. */
|
|
8730
|
+
result?: Record<string, unknown> | null;
|
|
8731
|
+
};
|
|
8732
|
+
};
|
|
8733
|
+
};
|
|
8399
8734
|
/** @description A JSON Web Key set describing the key used to sign JSON Web Tokens */
|
|
8400
8735
|
JwkSetResponse: {
|
|
8401
8736
|
content: {
|
|
@@ -8580,7 +8915,7 @@ export interface components {
|
|
|
8580
8915
|
* @description MFA policy provenance
|
|
8581
8916
|
* @enum {string}
|
|
8582
8917
|
*/
|
|
8583
|
-
provenance: "Key" | "KeyInRole" | "Role" | "User" | "EditPolicy";
|
|
8918
|
+
provenance: "Org" | "Key" | "KeyInRole" | "Role" | "User" | "EditPolicy";
|
|
8584
8919
|
receipt?: components["schemas"]["Receipt"] | null;
|
|
8585
8920
|
/** @description The region this MFA request was created in. It can only be redeemed from the same region. */
|
|
8586
8921
|
region?: string;
|
|
@@ -8632,7 +8967,7 @@ export interface components {
|
|
|
8632
8967
|
};
|
|
8633
8968
|
OrgInfo: {
|
|
8634
8969
|
content: {
|
|
8635
|
-
"application/json": components["schemas"]["MfaRequirements"] & {
|
|
8970
|
+
"application/json": components["schemas"]["MfaRequirements"] & components["schemas"]["CommonFields"] & {
|
|
8636
8971
|
access_model: components["schemas"]["AccessModel"];
|
|
8637
8972
|
custom_chains?: components["schemas"]["CustomChainsData"] | null;
|
|
8638
8973
|
default_invite_kind?: components["schemas"]["InviteKind"];
|
|
@@ -8728,6 +9063,15 @@ export interface components {
|
|
|
8728
9063
|
*/
|
|
8729
9064
|
policy?: Record<string, never>[];
|
|
8730
9065
|
policy_engine_configuration?: components["schemas"]["PolicyEngineConfiguration"];
|
|
9066
|
+
/**
|
|
9067
|
+
* @description Global sign policy that applies to every sign operation (every key, every role) in the org
|
|
9068
|
+
* @example [
|
|
9069
|
+
* {
|
|
9070
|
+
* "TxReceiver": "0x0000000000000000000000000000000000000000"
|
|
9071
|
+
* }
|
|
9072
|
+
* ]
|
|
9073
|
+
*/
|
|
9074
|
+
sign_policy?: Record<string, never>[];
|
|
8731
9075
|
/**
|
|
8732
9076
|
* Format: int32
|
|
8733
9077
|
* @description The organization's currently configured TOTP failure limit, i.e., the number
|
|
@@ -8818,6 +9162,21 @@ export interface components {
|
|
|
8818
9162
|
};
|
|
8819
9163
|
};
|
|
8820
9164
|
};
|
|
9165
|
+
PaginatedListInvitationsResponse: {
|
|
9166
|
+
content: {
|
|
9167
|
+
"application/json": {
|
|
9168
|
+
/** @description Pending invitations */
|
|
9169
|
+
invitations: components["schemas"]["InvitationInfo"][];
|
|
9170
|
+
} & {
|
|
9171
|
+
/**
|
|
9172
|
+
* @description If set, the content of `response` does not contain the entire result set.
|
|
9173
|
+
* To fetch the next page of the result set, call the same endpoint
|
|
9174
|
+
* but specify this value as the 'page.start' query parameter.
|
|
9175
|
+
*/
|
|
9176
|
+
last_evaluated_key?: string | null;
|
|
9177
|
+
};
|
|
9178
|
+
};
|
|
9179
|
+
};
|
|
8821
9180
|
PaginatedListKeyRolesResponse: {
|
|
8822
9181
|
content: {
|
|
8823
9182
|
"application/json": {
|
|
@@ -9439,6 +9798,7 @@ export interface components {
|
|
|
9439
9798
|
} | null;
|
|
9440
9799
|
custom_chains?: components["schemas"]["CustomChainsData"] | null;
|
|
9441
9800
|
default_invite_kind?: components["schemas"]["InviteKind"] | null;
|
|
9801
|
+
edit_policy?: components["schemas"]["EditPolicy"] | null;
|
|
9442
9802
|
email_preferences?: components["schemas"]["EmailPreferences"] | null;
|
|
9443
9803
|
/** @description The new value of the 'enabled' property */
|
|
9444
9804
|
enabled?: boolean | null;
|
|
@@ -9501,6 +9861,15 @@ export interface components {
|
|
|
9501
9861
|
policy_engine_configuration?: components["schemas"]["PolicyEngineConfiguration"] | null;
|
|
9502
9862
|
/** @description The new value of require_scope_ceiling */
|
|
9503
9863
|
require_scope_ceiling?: boolean | null;
|
|
9864
|
+
/**
|
|
9865
|
+
* @description The new value of the org-wide sign rules
|
|
9866
|
+
* @example [
|
|
9867
|
+
* {
|
|
9868
|
+
* "TxReceiver": "0x0000000000000000000000000000000000000000"
|
|
9869
|
+
* }
|
|
9870
|
+
* ]
|
|
9871
|
+
*/
|
|
9872
|
+
sign_policy?: Record<string, never>[] | null;
|
|
9504
9873
|
/**
|
|
9505
9874
|
* Format: int32
|
|
9506
9875
|
* @description The new value of the TOTP failure limit
|
|
@@ -9518,6 +9887,11 @@ export interface components {
|
|
|
9518
9887
|
* @description The new value of user-export window
|
|
9519
9888
|
*/
|
|
9520
9889
|
user_export_window?: number | null;
|
|
9890
|
+
/**
|
|
9891
|
+
* Format: int64
|
|
9892
|
+
* @description New org version
|
|
9893
|
+
*/
|
|
9894
|
+
version: number;
|
|
9521
9895
|
};
|
|
9522
9896
|
};
|
|
9523
9897
|
};
|
|
@@ -10822,6 +11196,37 @@ export interface operations {
|
|
|
10822
11196
|
};
|
|
10823
11197
|
};
|
|
10824
11198
|
};
|
|
11199
|
+
/**
|
|
11200
|
+
* Get Email Template
|
|
11201
|
+
* @description Get Email Template
|
|
11202
|
+
*
|
|
11203
|
+
* Returns the email template for a given purpose.
|
|
11204
|
+
*/
|
|
11205
|
+
getEmailConfig: {
|
|
11206
|
+
parameters: {
|
|
11207
|
+
path: {
|
|
11208
|
+
/**
|
|
11209
|
+
* @description Name or ID of the desired Org
|
|
11210
|
+
* @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
|
|
11211
|
+
*/
|
|
11212
|
+
org_id: string;
|
|
11213
|
+
/** @description Which email configuration to get */
|
|
11214
|
+
purpose: "otp" | "mfa_reset" | "otp_mfa" | "alien_password_reset" | "member_password_reset" | "alien_invite" | "member_invite" | "welcome";
|
|
11215
|
+
};
|
|
11216
|
+
};
|
|
11217
|
+
responses: {
|
|
11218
|
+
200: components["responses"]["GetEmailConfigResponse"];
|
|
11219
|
+
default: {
|
|
11220
|
+
content: {
|
|
11221
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11222
|
+
};
|
|
11223
|
+
};
|
|
11224
|
+
};
|
|
11225
|
+
};
|
|
11226
|
+
/**
|
|
11227
|
+
* Configure Email Template
|
|
11228
|
+
* @description Configure Email Template
|
|
11229
|
+
*/
|
|
10825
11230
|
configureEmail: {
|
|
10826
11231
|
parameters: {
|
|
10827
11232
|
path: {
|
|
@@ -10848,6 +11253,36 @@ export interface operations {
|
|
|
10848
11253
|
};
|
|
10849
11254
|
};
|
|
10850
11255
|
};
|
|
11256
|
+
/**
|
|
11257
|
+
* Delete Email Template
|
|
11258
|
+
* @description Delete Email Template
|
|
11259
|
+
*/
|
|
11260
|
+
deleteEmailConfig: {
|
|
11261
|
+
parameters: {
|
|
11262
|
+
path: {
|
|
11263
|
+
/**
|
|
11264
|
+
* @description Name or ID of the desired Org
|
|
11265
|
+
* @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
|
|
11266
|
+
*/
|
|
11267
|
+
org_id: string;
|
|
11268
|
+
/** @description Which email configuration to delete */
|
|
11269
|
+
purpose: "otp" | "mfa_reset" | "otp_mfa" | "alien_password_reset" | "member_password_reset" | "alien_invite" | "member_invite" | "welcome";
|
|
11270
|
+
};
|
|
11271
|
+
};
|
|
11272
|
+
requestBody: {
|
|
11273
|
+
content: {
|
|
11274
|
+
"application/json": components["schemas"]["Empty"];
|
|
11275
|
+
};
|
|
11276
|
+
};
|
|
11277
|
+
responses: {
|
|
11278
|
+
200: components["responses"]["EmptyImpl"];
|
|
11279
|
+
default: {
|
|
11280
|
+
content: {
|
|
11281
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11282
|
+
};
|
|
11283
|
+
};
|
|
11284
|
+
};
|
|
11285
|
+
};
|
|
10851
11286
|
/**
|
|
10852
11287
|
* Sign EIP-191 Data
|
|
10853
11288
|
* @description Sign EIP-191 Data
|
|
@@ -11417,6 +11852,77 @@ export interface operations {
|
|
|
11417
11852
|
};
|
|
11418
11853
|
responses: {};
|
|
11419
11854
|
};
|
|
11855
|
+
/**
|
|
11856
|
+
* List pending invitations
|
|
11857
|
+
* @description List pending invitations
|
|
11858
|
+
*
|
|
11859
|
+
* Returns all pending (not yet accepted) invitations for the organization.
|
|
11860
|
+
*/
|
|
11861
|
+
listInvitations: {
|
|
11862
|
+
parameters: {
|
|
11863
|
+
query?: {
|
|
11864
|
+
/**
|
|
11865
|
+
* @description Max number of items to return per page.
|
|
11866
|
+
*
|
|
11867
|
+
* If the actual number of returned items may be less that this, even if there exist more
|
|
11868
|
+
* data in the result set. To reliably determine if more data is left in the result set,
|
|
11869
|
+
* inspect the [UnencryptedLastEvalKey] value in the response object.
|
|
11870
|
+
*/
|
|
11871
|
+
"page.size"?: number;
|
|
11872
|
+
/**
|
|
11873
|
+
* @description The start of the page. Omit to start from the beginning; otherwise, only specify a
|
|
11874
|
+
* the exact value previously returned as 'last_evaluated_key' from the same endpoint.
|
|
11875
|
+
*/
|
|
11876
|
+
"page.start"?: string | null;
|
|
11877
|
+
};
|
|
11878
|
+
path: {
|
|
11879
|
+
/**
|
|
11880
|
+
* @description Name or ID of the desired Org
|
|
11881
|
+
* @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
|
|
11882
|
+
*/
|
|
11883
|
+
org_id: string;
|
|
11884
|
+
};
|
|
11885
|
+
};
|
|
11886
|
+
responses: {
|
|
11887
|
+
200: components["responses"]["PaginatedListInvitationsResponse"];
|
|
11888
|
+
default: {
|
|
11889
|
+
content: {
|
|
11890
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11891
|
+
};
|
|
11892
|
+
};
|
|
11893
|
+
};
|
|
11894
|
+
};
|
|
11895
|
+
/**
|
|
11896
|
+
* Cancel a pending invitation
|
|
11897
|
+
* @description Cancel a pending invitation
|
|
11898
|
+
*
|
|
11899
|
+
* Removes a pending invitation from the organization. If no pending invitation
|
|
11900
|
+
* exists for the given email address, a not-found error is returned.
|
|
11901
|
+
*/
|
|
11902
|
+
cancelInvitation: {
|
|
11903
|
+
parameters: {
|
|
11904
|
+
path: {
|
|
11905
|
+
/**
|
|
11906
|
+
* @description Name or ID of the desired Org
|
|
11907
|
+
* @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
|
|
11908
|
+
*/
|
|
11909
|
+
org_id: string;
|
|
11910
|
+
};
|
|
11911
|
+
};
|
|
11912
|
+
requestBody: {
|
|
11913
|
+
content: {
|
|
11914
|
+
"application/json": components["schemas"]["CancelInvitationRequest"];
|
|
11915
|
+
};
|
|
11916
|
+
};
|
|
11917
|
+
responses: {
|
|
11918
|
+
200: components["responses"]["EmptyImpl"];
|
|
11919
|
+
default: {
|
|
11920
|
+
content: {
|
|
11921
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11922
|
+
};
|
|
11923
|
+
};
|
|
11924
|
+
};
|
|
11925
|
+
};
|
|
11420
11926
|
/**
|
|
11421
11927
|
* Invite User
|
|
11422
11928
|
* @description Invite User
|
|
@@ -12910,6 +13416,8 @@ export interface operations {
|
|
|
12910
13416
|
*
|
|
12911
13417
|
* The provided secrets will replace any existing org-level secrets.
|
|
12912
13418
|
* It fails if the secrets weren't previously created.
|
|
13419
|
+
*
|
|
13420
|
+
* Must be permitted by the policy secret's edit policy if set, and the org's edit policy otherwise.
|
|
12913
13421
|
*/
|
|
12914
13422
|
updatePolicySecrets: {
|
|
12915
13423
|
parameters: {
|
|
@@ -12941,8 +13449,9 @@ export interface operations {
|
|
|
12941
13449
|
};
|
|
12942
13450
|
};
|
|
12943
13451
|
/**
|
|
12944
|
-
* Create or overwrite an org-level policy secret
|
|
12945
|
-
* @description Create or overwrite an org-level policy secret
|
|
13452
|
+
* Create or overwrite an org-level policy secret.
|
|
13453
|
+
* @description Create or overwrite an org-level policy secret.
|
|
13454
|
+
* Must be permitted by the policy secret's edit policy if set, and the org's edit policy otherwise.
|
|
12946
13455
|
*/
|
|
12947
13456
|
setPolicySecret: {
|
|
12948
13457
|
parameters: {
|
|
@@ -12975,8 +13484,9 @@ export interface operations {
|
|
|
12975
13484
|
};
|
|
12976
13485
|
};
|
|
12977
13486
|
/**
|
|
12978
|
-
* Delete an org-level policy secret
|
|
12979
|
-
* @description Delete an org-level policy secret
|
|
13487
|
+
* Delete an org-level policy secret.
|
|
13488
|
+
* @description Delete an org-level policy secret.
|
|
13489
|
+
* Must be permitted by the policy secret's edit policy if set, and the org's edit policy otherwise.
|
|
12980
13490
|
*/
|
|
12981
13491
|
deletePolicySecret: {
|
|
12982
13492
|
parameters: {
|
|
@@ -13684,6 +14194,34 @@ export interface operations {
|
|
|
13684
14194
|
};
|
|
13685
14195
|
};
|
|
13686
14196
|
};
|
|
14197
|
+
/**
|
|
14198
|
+
* High-level RPC endpoint.
|
|
14199
|
+
* @description High-level RPC endpoint.
|
|
14200
|
+
*/
|
|
14201
|
+
rpcApi: {
|
|
14202
|
+
parameters: {
|
|
14203
|
+
path: {
|
|
14204
|
+
/**
|
|
14205
|
+
* @description Name or ID of the desired Org
|
|
14206
|
+
* @example Org#124dfe3e-3bbd-487d-80c0-53c55e8ab87a
|
|
14207
|
+
*/
|
|
14208
|
+
org_id: string;
|
|
14209
|
+
};
|
|
14210
|
+
};
|
|
14211
|
+
requestBody: {
|
|
14212
|
+
content: {
|
|
14213
|
+
"application/json": components["schemas"]["JsonRpcRequest"];
|
|
14214
|
+
};
|
|
14215
|
+
};
|
|
14216
|
+
responses: {
|
|
14217
|
+
200: components["responses"]["JsonRpcResponse"];
|
|
14218
|
+
default: {
|
|
14219
|
+
content: {
|
|
14220
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
14221
|
+
};
|
|
14222
|
+
};
|
|
14223
|
+
};
|
|
14224
|
+
};
|
|
13687
14225
|
/**
|
|
13688
14226
|
* List sessions
|
|
13689
14227
|
* @description List sessions
|
|
@@ -14883,35 +15421,6 @@ export interface operations {
|
|
|
14883
15421
|
};
|
|
14884
15422
|
};
|
|
14885
15423
|
};
|
|
14886
|
-
/**
|
|
14887
|
-
* The policy_execute API endpoint is intended to demonstrate that the signer
|
|
14888
|
-
* @description The policy_execute API endpoint is intended to demonstrate that the signer
|
|
14889
|
-
* can use the policy engine, by way of the PolicyEngineClient.
|
|
14890
|
-
*/
|
|
14891
|
-
"policy-execute": {
|
|
14892
|
-
parameters: {
|
|
14893
|
-
path: {
|
|
14894
|
-
/**
|
|
14895
|
-
* @description Base64Url-nopad of the sha256 digest of the policy binary
|
|
14896
|
-
* @example 123456
|
|
14897
|
-
*/
|
|
14898
|
-
policy_name: string;
|
|
14899
|
-
};
|
|
14900
|
-
};
|
|
14901
|
-
requestBody: {
|
|
14902
|
-
content: {
|
|
14903
|
-
"application/json": Record<string, never>;
|
|
14904
|
-
};
|
|
14905
|
-
};
|
|
14906
|
-
responses: {
|
|
14907
|
-
200: components["responses"]["PolicyResultResponse"];
|
|
14908
|
-
default: {
|
|
14909
|
-
content: {
|
|
14910
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
14911
|
-
};
|
|
14912
|
-
};
|
|
14913
|
-
};
|
|
14914
|
-
};
|
|
14915
15424
|
/**
|
|
14916
15425
|
* Initiate registration of a FIDO key
|
|
14917
15426
|
* @deprecated
|