@ledgerhq/revault-api 1.91.4 → 1.100.0
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/lib/{app-lib-B04nx6Kj.d.mts → app-lib-BJhNaXn-.d.mts} +11924 -2145
- package/lib/entrypoints/internal-api/app-lib.d.mts +1944 -195
- package/lib/fakes.d.mts +2 -3
- package/lib/fakes.mjs +28 -48
- package/lib/fakes.mjs.map +1 -1
- package/lib/index.d.mts +2 -2
- package/lib/index.mjs +239 -8
- package/lib/index.mjs.map +1 -1
- package/package.json +2 -2
package/lib/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as TokenizationDeploymentEstimateInput, $a as BITCOIN_SPEC, $i as zOnboardingOpts, $n as ReportStatus, $o as zRefreshPskInputData, $r as PsdAuthChallengeData, $t as zReportDownloadUrlResponse, A as zUserRegistrationResponse, Aa as zSendOnlyTransactionData, Ai as WebhookResponse, An as ActivationStatus, Ao as GetObjectsInfoResponse, Ar as zLegalContentBlock, As as zIndexedReceiveAddressSelection, At as genTransactionSchemas, B as zTradelinkSettlementWithAccountAndExchangeInfoResponse, Ba as SOLANA_SPEC, Bo as PsdPairingInputData, Br as GroupSortBy, Bt as zVaultRequestCreateInput, C as zQuorumAccountEntryResponse, Ca as convertTxToGovernableIntent, Ci as zAssetResponse, Cn as zPortfoliosByAccountIdsResponse, Co as stableOrdering, Cr as LegalContentBlock, Cs as IndexedSelectionCapability, Ct as RequestDataOf, D as UserRegistrationCreateInput, Da as zAccountStakingFields, Di as DeleteWebhookResponse, Dn as zPortfolioAppliedState, Do as zPaginated, Dr as PrivacyNoticeSection, Ds as zBalance, Dt as VaultRequestResponse, E as zUserSortBy, Ea as zAccountNetworkInfoFields, Ei as CreateWebhookPayload, En as normalizePortfolioName, Eo as zPageQuery, Er as PrivacyNoticeResponse, Es as zAddressIndex, Et as VaultRequestCreateInput, F as TradelinkNetworkResponse, Fa as TEZOS_SPEC, Fi as zRotateWebhookSecretResponse, Fn as ChallengeType, Fo as VersionedObjectInfo, Fr as zPrivacyNoticeSectionId, Fs as zStakingValidator, Ft as zPotentialDuplicateTransactionsInput, G as zTokenizationCreateDeploymentRequestInput, Ga as HEDERA_SPEC, Gi as OnboardingFullState, Gn as HsmHostingMode, Go as UserRegistrationChallenge, Gr as WorkspaceRulesResponse, Gt as OperationMetadataResponse, H as TokenizationEstimateDeploymentFeeInput, Ha as RIPPLE_SPEC, Ho as PubKey, Hr as zGroupSortBy, Ht as zWebVaultRequestResponse, I as TradelinkSettlementWithAccountAndExchangeInfoResponse, Ia as SUI_SPEC, Ii as zUpdateWebhookPayload, In as ClaimedRole, Io as ApiChallenge, Ir as zSubProcessorRow, Is as zStakingValidatorSortBy, It as zPotentialDuplicateTransactionsResponse, J as zTokenizationEstimateDeploymentFeeResponse, Ja as ETHEREUM_SPEC, Ji as OnboardingSeedFragment, Jn as OnboardedUserRole, Jo as zPsdPairingData, Jr as zWorkspaceRulesResponse, Jt as SoftChallenge, K as zTokenizationCreateDeploymentRequestResponse, Ka as isErc20Address, Ki as OnboardingOpts, Kn as MaintenanceMode, Ko as UserRegistrationChallengeResponse, Kr as zRootWorkspaceRuleResponse, Kt as Challenge, L as zTradelinkCustodianResponse, La as STELLAR_SPEC, Li as zWebhookDeliveryResponse, Lo as HsmCertificate, Lr as zSubProcessorsResponse, Lt as zRequestSortBy, M as OperationMilestoneResponse, Ma as zTransactionResponse, Mi as zCreateWebhookResponse, Mn as AdminPermission, Mo as HsmObjectType, Mr as zLegalInlineContent, Ms as zStake, Mt as zChallengeResponse, N as TradelinkCustodianResponse, Na as zTransactionType, Ni as zDeleteWebhookResponse, Nn as AllowedAction, No as ObjectsContentResponse, Nr as zPrivacyNoticeResponse, Ns as zStakeState, Nt as zCreateClassicAccountWithPolicyIdInput, O as UserRegistrationResponse, Oa as zEstimatedFees, Oi as UpdateWebhookPayload, Oo as zSortOrder, Or as SubProcessorRow, Os as zFreshReceiveAddress, Ot as VaultRequestResponseBase, P as TradelinkEntityResponse, Pa as TRON_SPEC, Pi as zReplayFailedResponse, Pn as AuditLogType, Po as ObjectsVersionResponse, Pr as zPrivacyNoticeSection, Ps as zStakesPage, Pt as zEnsureNameAvailableInput, Q as TokenizationCreateDeploymentRequestInput, Qa as zCantonTransferProposal, Qi as zOnboardingId, Qn as PsdModel, Qo as zRefreshPskData, Qr as zEntitySortBy, Qt as ReportResponse, R as zTradelinkEntityResponse, Ra as StellarMemo, Ri as zWebhookDetailResponse, Ro as PsdChallenge, Rr as zGroupSortByField, Rt as zSignDigestsRequestInput, S as zAdminResponse, Sa as TransactionTypeOf, Si as zAssetCapabilitiesResponse, Sn as zPortfoliosByAccountIdsInput, So as serializePage, Sr as zOpenApiResourceType, Ss as IndexedReceiveAddressSelection, St as PotentialDuplicateTransactionsResponse, T as zUserResponse, Ta as zAccountLiveData, Ti as zTokenResponse, Tn as PortfolioAppliedState, To as zCursorQuery, Tr as LegalInlineContent, Ts as zAccountLiveDataResponse, Tt as RequestSortBy, U as zTokenTemplateListResponse, Ua as zRippleDestinationTag, Uo as RefreshPskData, Ur as RootWorkspaceRuleResponse, Ut as OutgoingTransactionMeta, V as AppRouter, Va as isSplTokenTransaction, Vo as PsdSignature, Vr as zGroupResponse, Vt as zVaultRequestResponse, W as zTokenTemplateResponse, Wa as POLKADOT_SPEC, Wi as DeviceClaim, Wo as RefreshPskInputData, Wr as WorkspaceRuleResponse, Wt as RequestMeta, Xa as CANTON_SPEC, Xi as zDeviceClaim, Xn as OutgoingTransactionStatus, Xo as zPsdSignature, Xr as EntitySortBy, Xt as ReportDownloadUrlResponse, Ya as CARDANO_SPEC, Yi as WrappingKeyResponse, Yn as OnboardingStep, Yo as zPsdPairingInputData, Yr as EntityResponse, Yt as zEnsureNameAvailableOutput, Z as TokenTemplateResponse, Za as CantonTransferProposal, Zi as zOnboardingFullState, Zn as PortfolioHistoryAction, Zo as zPubKey, Zr as zEntityResponse, Zt as ReportInput, _ as AdminResponse, _a as StakingDataOf, _i as AllAssetsResponse, _n as zPortfolioName, _o as SortOrder, _r as zPolicySortBy, _s as isEthereumStakingNetwork, _t as ApproveVaultRequestInput, a as WorkspaceResponse, aa as HsmComparator, ai as AccountSortBy, an as PortfolioCreateInput, ao as zStakingProvisioning, ar as RevaultMode, at as PledgeResponse, b as UserResponse, ba as TransactionResponse, bi as TokenResponse, bn as zPortfolioSummary, bo as fetchAllPages, br as zAllowedActionsResponse, bs as FreshReceiveAddress, bt as PotentialDuplicateTransaction, c as WhitelistAddressResponse, ca as HsmCompareReason, ci as zAccountCommonFields, cn as PortfolioSortBy, co as zTransactionStatus, cs as OidcConfig, ct as zCreateTradelinkNetworkBlueprintInput, d as WhitelistSortBy, di as zCantonPreApprovalStateResponse, dn as PortfolioUpdateInput, do as zTransactionScanSummary, dt as zPledgeResponse, ea as zOnboardingSeedFragment, ei as zPsdAuthChallengeData, en as zReportInput, eo as BitcoinLikeBalance, es as zUserRegistrationChallenge, et as TokenizationFeeEstimate, f as zWhitelistAddressResponse, fa as isTransactionCheckSupportedType, fi as zCantonTransferProposalResponse, fn as PortfoliosByAccountIdsResponse, fo as CursorPaginated, fr as WhitelistType, fs as AuthResponse, ft as zTradelinkNetworkBlueprintResponse, g as zUserSortByField, ga as SendOnlyTransactionData, gi as zSignedMessageResponse, gn as zPortfolioHistoryEntryResponse, go as Paginated, gr as zPolicyResponse, gs as EthereumStakingNetwork, gt as zRequestSortByField, h as zWhitelistSortBy, ha as EstimatedFees, hi as zUtxosPageResponse, hn as zPortfolioCurrentUserAccessResponse, ho as PageQuery, hr as PolicySortBy, hs as ETHEREUM_STAKING_NETWORKS, i as zAuditLogSortBy, ia as HSM_COMPARE_REASONS, ii as AccountResponse, in as PortfolioAdminResponse, io as zEthereumLikeEip1559FeeStrategy, ir as ResourceType, is as LesWalletRegistrationResult, it as DeleteTradelinkExchangeInput, j as OperationHistoryResponse, ja as zTransactionData, ji as zCreateWebhookPayload, jo as HSM_OBJECT_TYPES, jr as zLegalInline, js as zIndexedSelectionCapability, jt as zApproveVaultRequestInput, k as zUserRegistrationCreateInput, ka as zNetworkAssetFields, ki as WebhookDetailResponse, kn as AccountType, ko as RiskLevel, kr as SubProcessorsResponse, ks as zIndexedReceiveAddressInput, kt as WebVaultRequestResponse, l as WhitelistAddressSortBy, la as HsmWorkspaceComparison, li as zAccountResponse, ln as PortfolioStatusFilter, lo as zGovernableAction, lr as UserRole, ls as zExchangeCredentialsResponse, lt as zCreateTradelinkOrgEntityInput, m as zWhitelistResponse, ma as AccountStakingFields, mi as zTransactionWithMetaResponse, mn as zPortfolioCreateInput, mo as MAX_PAGE_SIZE, mr as PolicyResponse, ms as zAuthResponse, mt as zTradelinkWhitelist, n as AuditLogSortBy, ni as zStakeSortByField, nn as zVisibleReportStatus, no as StakingProvisioning, nr as RequestState, ns as zUserRegistrationDeviceData, nt as zReviewStepsArray, o as zWorkspaceResponse, oa as HsmCompareAnomaly, oi as TransactionWithMetaResponse, on as PortfolioCurrentUserAccessResponse, oo as NetworkFamily, or as ReviewConfigType, ot as TradelinkNetworkBlueprintResponse, p as zWhitelistAddressSortBy, pa as AccountNetworkInfoFields, pi as zStakeSortBy, pn as zPortfolioAdminResponse, po as DEFAULT_PAGE_SIZE, pr as zPolicySortByField, ps as zApiUserCredentialsResponse, pt as zTradelinkOrgEntityResponse, q as zTokenizationEstimateDeploymentFeeInput, qa as GENERIC_SPEC, qi as OnboardingSeedChallenge, qn as MessageType, qo as UserRegistrationDeviceData, qr as zWorkspaceRuleResponse, qt as EnsureNameAvailableOutput, r as zAuditLogResponse, ra as HSM_COMPARATORS, ri as AccountAllowedActionsResponse, rn as zPortfolioSortByField, ro as Validator, rr as RequestType, rt as CreateTradelinkOrgEntityInput, s as zWhitelistSortByField, sa as HsmCompareDetail, si as zAccountAllowedActionsResponse, sn as PortfolioHistoryEntryResponse, so as zCommonLiveData, sr as UserDeviceType, st as TradelinkOrgEntityResponse, t as AuditLogResponse, ti as zAccountSortByField, tn as zReportResponse, to as EthereumLikeEip1559FeeStrategy, tr as RequestReviewStatus, ts as zUserRegistrationChallengeResponse, tt as ReviewStepWithUsers, u as WhitelistResponse, ui as zAccountSortBy, un as PortfolioSummary, us as zOidcConfig, ut as zDeleteTradelinkOrgEntityInput, v as QuorumAccountEntryResponse, va as TransactionData, vi as AssetResponse, vn as zPortfolioSortBy, vo as emptyPage, vr as AllowedActionsResponse, vs as admitsStakeOperation, vt as ChallengeResponse, w as zQuorumAccountSourceResponse, wa as getTxHsmProps, wi as zCurrencyResponse, wn as PORTFOLIO_NAME_MAX_LENGTH, wo as zCursorPaginated, wr as LegalInline, ws as ReceiveAddressSelection, wt as RequestReview, x as UserSortBy, xa as TransactionType, xi as zAllAssetsResponse, xn as zPortfolioUpdateInput, xo as paginate, xr as zAllowedResourcesResponse, xs as IndexedReceiveAddressInput, xt as PotentialDuplicateTransactionsInput, y as QuorumAccountSourceResponse, ya as TransactionDataOf, yi as CurrencyResponse, yn as zPortfolioStatusFilter, yo as fetchAllCursorPages, yr as AllowedResourcesResponse, ys as AccountLiveDataResponse, yt as EnsureNameAvailableInput, z as zTradelinkNetworkResponse, za as zStellarMemo, zi as zWebhookResponse, zo as PsdPairingData, zr as GroupResponse, zt as zSignMessageRequestInput } from "./app-lib-B04nx6Kj.mjs";
|
|
2
|
-
export { type AccountAllowedActionsResponse, type AccountLiveDataResponse, type AccountNetworkInfoFields, type AccountResponse, type AccountSortBy, type AccountStakingFields, type AccountType, type ActivationStatus, type AdminPermission, type AdminResponse, type AllAssetsResponse, type AllowedAction, type AllowedActionsResponse, type AllowedResourcesResponse, type ApiChallenge, type AppRouter, type ApproveVaultRequestInput, type AssetResponse, type AuditLogResponse, type AuditLogSortBy, type AuditLogType, type AuthResponse, type BITCOIN_SPEC, type BitcoinLikeBalance, type CANTON_SPEC, type CARDANO_SPEC, type CantonTransferProposal, type Challenge, type ChallengeResponse, type ChallengeType, type ClaimedRole, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput, type CreateWebhookPayload, type CurrencyResponse, type CursorPaginated, type DEFAULT_PAGE_SIZE, type DeleteTradelinkExchangeInput, type DeleteWebhookResponse, type DeviceClaim, type ETHEREUM_SPEC, ETHEREUM_STAKING_NETWORKS, type EnsureNameAvailableInput, type EnsureNameAvailableOutput, type EntityResponse, type EntitySortBy, type EstimatedFees, type EthereumLikeEip1559FeeStrategy, type EthereumStakingNetwork, type FreshReceiveAddress, type GENERIC_SPEC, type GetObjectsInfoResponse, type GroupResponse, type GroupSortBy, type HEDERA_SPEC, HSM_COMPARATORS, HSM_COMPARE_REASONS, HSM_OBJECT_TYPES, type HsmCertificate, type HsmComparator, type HsmCompareAnomaly, type HsmCompareDetail, type HsmCompareReason, type HsmHostingMode, type HsmObjectType, type HsmWorkspaceComparison, type IndexedReceiveAddressInput, type IndexedReceiveAddressSelection, type IndexedSelectionCapability, type LegalContentBlock, type LegalInline, type LegalInlineContent, type LesWalletRegistrationResult, type MAX_PAGE_SIZE, type MaintenanceMode, type MessageType, type NetworkFamily, type ObjectsContentResponse, type ObjectsVersionResponse, type OidcConfig, type OnboardedUserRole, type OnboardingFullState as OnboardingFullStateResponse, type OnboardingOpts, type OnboardingSeedChallenge, type OnboardingSeedFragment, type OnboardingStep, type OperationHistoryResponse, type OperationMetadataResponse, type OperationMilestoneResponse, type OutgoingTransactionMeta, type OutgoingTransactionStatus, type POLKADOT_SPEC, type PORTFOLIO_NAME_MAX_LENGTH, type PageQuery, type Paginated, type PledgeResponse, type PolicyResponse, type PolicySortBy, type PortfolioAdminResponse, type PortfolioAppliedState, type PortfolioCreateInput, type PortfolioCurrentUserAccessResponse, type PortfolioHistoryAction, type PortfolioHistoryEntryResponse, type PortfolioSortBy, type PortfolioStatusFilter, type PortfolioSummary, type PortfolioUpdateInput, type PortfoliosByAccountIdsResponse, type PotentialDuplicateTransaction, type PotentialDuplicateTransactionsInput, type PotentialDuplicateTransactionsResponse, type PrivacyNoticeResponse, type PrivacyNoticeSection, type PsdAuthChallengeData as PsdAuthChallengeResponse, type PsdChallenge, type PsdModel, type PsdPairingData, type PsdPairingInputData, type PsdSignature, type PubKey, type QuorumAccountEntryResponse, type QuorumAccountSourceResponse, type RIPPLE_SPEC, type ReceiveAddressSelection, type RefreshPskData, type RefreshPskInputData, type ReportDownloadUrlResponse, type ReportInput, type ReportResponse, type ReportStatus, type RequestDataOf, type RequestMeta, type RequestReview, type RequestReviewStatus, type RequestSortBy, type RequestState, type RequestType, type ResourceType, type RevaultMode, type ReviewConfigType, type ReviewStepWithUsers, type RiskLevel, type RootWorkspaceRuleResponse, type SOLANA_SPEC, type STELLAR_SPEC, type SUI_SPEC, type SendOnlyTransactionData, type SoftChallenge, type SortOrder, type StakingDataOf, type StakingProvisioning, type StellarMemo, type SubProcessorRow, type SubProcessorsResponse, type TEZOS_SPEC, type TRON_SPEC, type TokenResponse, type TokenTemplateResponse, type TokenizationCreateDeploymentRequestInput, type TokenizationDeploymentEstimateInput, type TokenizationEstimateDeploymentFeeInput, type TokenizationFeeEstimate, type TradelinkCustodianResponse, type TradelinkEntityResponse, type TradelinkNetworkBlueprintResponse, type TradelinkNetworkResponse, type TradelinkOrgEntityResponse, type TradelinkSettlementWithAccountAndExchangeInfoResponse, type TransactionData, type TransactionDataOf, type TransactionResponse, type TransactionType, type TransactionTypeOf, type TransactionWithMetaResponse, type UpdateWebhookPayload, type UserDeviceType, type UserRegistrationChallenge, type UserRegistrationChallengeResponse, type UserRegistrationCreateInput, type UserRegistrationDeviceData, type UserRegistrationResponse, type UserResponse, type UserRole, type UserSortBy, type Validator, type VaultRequestCreateInput, type VaultRequestResponse, type VaultRequestResponseBase, type VersionedObjectInfo, type WebVaultRequestResponse, type WebhookDetailResponse, type WebhookResponse, type WhitelistAddressResponse, type WhitelistAddressSortBy, type WhitelistResponse, type WhitelistSortBy, type WhitelistType, type WorkspaceResponse, type WorkspaceRuleResponse, type WorkspaceRulesResponse, type WrappingKeyResponse, admitsStakeOperation, type convertTxToGovernableIntent, type emptyPage, type fetchAllCursorPages, type fetchAllPages, type genTransactionSchemas, type getTxHsmProps, type isErc20Address, isEthereumStakingNetwork, type isSplTokenTransaction, isTransactionCheckSupportedType, type normalizePortfolioName, type paginate, type serializePage, type stableOrdering, type zAccountAllowedActionsResponse, type zAccountCommonFields, type zAccountLiveData, type zAccountLiveDataResponse, type zAccountNetworkInfoFields, type zAccountResponse, type zAccountSortBy, zAccountSortByField, type zAccountStakingFields, type zAddressIndex, type zAdminResponse, type zAllAssetsResponse, type zAllowedActionsResponse, type zAllowedResourcesResponse, type zApiUserCredentialsResponse, type zApproveVaultRequestInput, type zAssetCapabilitiesResponse, type zAssetResponse, type zAuditLogResponse, type zAuditLogSortBy, type zAuthResponse, type zBalance, type zCantonPreApprovalStateResponse, type zCantonTransferProposal, type zCantonTransferProposalResponse, type zChallengeResponse, type zCommonLiveData, type zCreateClassicAccountWithPolicyIdInput, type zCreateTradelinkNetworkBlueprintInput, type zCreateTradelinkOrgEntityInput, type zCreateWebhookPayload, type zCreateWebhookResponse, type zCurrencyResponse, type zCursorPaginated, type zCursorQuery, type zDeleteTradelinkOrgEntityInput, type zDeleteWebhookResponse, type zDeviceClaim, type zEnsureNameAvailableInput, type zEnsureNameAvailableOutput, type zEntityResponse, type zEntitySortBy, type zEstimatedFees as zEstimateFeesResponse, type zEstimatedFees, zEthereumLikeEip1559FeeStrategy, type zExchangeCredentialsResponse, type zFreshReceiveAddress, type zGovernableAction, type zGroupResponse, type zGroupSortBy, zGroupSortByField, type zIndexedReceiveAddressInput, type zIndexedReceiveAddressSelection, type zIndexedSelectionCapability, type zLegalContentBlock, type zLegalInline, type zLegalInlineContent, type zNetworkAssetFields, type zOidcConfig, type zOnboardingFullState as zOnboardingFullStateResponse, type zOnboardingId, type zOnboardingOpts, type zOnboardingSeedFragment, type zOpenApiResourceType, type zPageQuery, type zPaginated, type zPledgeResponse, type zPolicyResponse, type zPolicySortBy, zPolicySortByField, type zPortfolioAdminResponse, type zPortfolioAppliedState, type zPortfolioCreateInput, type zPortfolioCurrentUserAccessResponse, type zPortfolioHistoryEntryResponse, type zPortfolioName, type zPortfolioSortBy, zPortfolioSortByField, type zPortfolioStatusFilter, type zPortfolioSummary, type zPortfolioUpdateInput, type zPortfoliosByAccountIdsInput, type zPortfoliosByAccountIdsResponse, type zPotentialDuplicateTransactionsInput, type zPotentialDuplicateTransactionsResponse, type zPrivacyNoticeResponse, type zPrivacyNoticeSection, type zPrivacyNoticeSectionId, type zPsdAuthChallengeData as zPsdAuthChallengeResponse, type zPsdPairingData, type zPsdPairingInputData, type zPsdSignature, type zPubKey, type zQuorumAccountEntryResponse, type zQuorumAccountSourceResponse, type zRefreshPskData, type zRefreshPskInputData, type zReplayFailedResponse, type zReportDownloadUrlResponse, type zReportInput, type zReportResponse, type zRequestSortBy, zRequestSortByField, type zReviewStepsArray, type zRippleDestinationTag, type zRootWorkspaceRuleResponse, type zRotateWebhookSecretResponse, type zSendOnlyTransactionData, type zSignDigestsRequestInput, type zSignMessageRequestInput, type zSignedMessageResponse, type zSortOrder, type zStake, type zStakeSortBy, zStakeSortByField, type zStakeState, type zStakesPage, type zStakingProvisioning, type zStakingValidator, type zStakingValidatorSortBy, type zStellarMemo, type zSubProcessorRow, type zSubProcessorsResponse, type zTokenResponse, type zTokenTemplateListResponse, type zTokenTemplateResponse, type zTokenizationCreateDeploymentRequestInput, type zTokenizationCreateDeploymentRequestResponse, type zTokenizationEstimateDeploymentFeeInput, type zTokenizationEstimateDeploymentFeeResponse, type zTradelinkCustodianResponse, type zTradelinkEntityResponse, type zTradelinkNetworkBlueprintResponse, type zTradelinkNetworkResponse, type zTradelinkOrgEntityResponse, type zTradelinkSettlementWithAccountAndExchangeInfoResponse, type zTradelinkWhitelist, type zTransactionData, type zTransactionResponse, type zTransactionScanSummary, type zTransactionStatus, type zTransactionType, type zTransactionWithMetaResponse, type zUpdateWebhookPayload, type zUserRegistrationChallenge, type zUserRegistrationChallengeResponse, type zUserRegistrationCreateInput, type zUserRegistrationDeviceData, type zUserRegistrationResponse, type zUserResponse, type zUserSortBy, zUserSortByField, type zUtxosPageResponse, type zVaultRequestCreateInput, type zVaultRequestResponse, type zVisibleReportStatus, type zWebVaultRequestResponse, type zWebhookDeliveryResponse, type zWebhookDetailResponse, type zWebhookResponse, type zWhitelistAddressResponse, type zWhitelistAddressSortBy, type zWhitelistResponse, type zWhitelistSortBy, zWhitelistSortByField, type zWorkspaceResponse, type zWorkspaceRuleResponse, type zWorkspaceRulesResponse };
|
|
1
|
+
import { $ as zTokenizationListRowsInput, $a as CARDANO_STAKING_BLOCKING_REQUEST_TYPES, $i as zWebhookResponse, $n as MaintenanceMode, $o as DEFAULT_PAGE_SIZE, $r as zAdminRulesResponse, $s as zApiUserCredentialsResponse, $t as Challenge, A as zUserRegistrationCreateInput, Aa as EstimatedFees, Ai as CurrencyResponse, An as zPortfoliosByAccountIdsResponse, Ao as EthereumLikeEip1559FeeStrategy, Ar as LegalContentBlock, As as RefreshPskInputData, At as RequestDataOf, B as zTradelinkNetworkResponse, Ba as zAccountLiveData, Bi as WebhookDetailResponse, Bn as AllowedAction, Bo as getFiatMinorUnitExponent, Br as zPrivacyNoticeResponse, Bs as zUserRegistrationChallenge, Bt as zCreateClassicAccountWithPolicyIdInput, C as zAdminResponse, Ca as HsmWorkspaceComparison, Ci as zRawSigningPublicKeyResponse, Cn as zPortfolioHistoryEntryResponse, Co as CARDANO_NETWORK, Cr as zPolicyResponse, Cs as HsmCertificate, Ct as zRequestSortByField, D as zUserSortBy, Da as isTransactionCheckSupportedType, Di as zSignedMessageResponse, Dn as zPortfolioSummary, Do as zCantonTransferProposal, Dr as zAllowedActionsResponse, Ds as PsdSignature, Dt as PotentialDuplicateTransaction, E as zUserResponse, Ei as zUtxosPageResponse, En as zPortfolioStatusFilter, Eo as CantonTransferProposal, Er as AllowedResourcesResponse, Es as PsdPairingInputData, Et as EnsureNameAvailableInput, F as TradelinkEntityResponse, Fa as TransactionResponse, Fi as zCurrencyResponse, Fo as NetworkFamily, Fr as SubProcessorRow, Fs as zPsdPairingInputData, Ft as VaultRequestResponseBase, G as zTokenTemplateResponse, Ga as zSendOnlyTransactionData, Gi as zReplayFailedResponse, Go as NatsEventBackfillItem, Gr as zGroupSortByField, Gt as zSignDigestsRequestInput, H as AppRouter, Ha as zAccountStakingFields, Hi as zCreateWebhookPayload, Hn as ChallengeType, Hr as zPrivacyNoticeSectionId, Hs as zUserRegistrationDeviceData, Ht as zPotentialDuplicateTransactionsInput, I as TradelinkNetworkResponse, Ia as TransactionType, Ii as zTokenResponse, In as AccountType, Io as zCommonLiveData, Ir as SubProcessorsResponse, Is as zPsdSignature, It as WebVaultRequestResponse, J as zTokenizationEstimateDeploymentFeeInput, Ja as zTransactionType, Ji as zWebhookDeliveriesFilters, Jr as zGroupResponse, Js as OidcConfig, Jt as zVaultRequestResponse, K as zTokenizationCreateDeploymentRequestInput, Ka as zTransactionData, Ki as zRotateWebhookSecretResponse, Ko as NatsEventBackfillPreview, Kr as GroupResponse, Kt as zSignMessageRequestInput, L as TradelinkSettlementWithAccountAndExchangeInfoResponse, La as TransactionTypeOf, Li as CreateWebhookPayload, Ln as ActivationStatus, Lo as zTransactionStatus, Lr as zLegalContentBlock, Ls as zPubKey, Lt as genTransactionSchemas, M as OperationHistoryResponse, Ma as StakingDataOf, Mi as zAllAssetsResponse, Mn as PortfolioAppliedState, Mo as Validator, Mr as LegalInlineContent, Ms as UserRegistrationChallengeResponse, Mt as RequestSortBy, N as OperationMilestoneResponse, Na as TransactionData, Ni as zAssetCapabilitiesResponse, Nn as normalizePortfolioName, No as zEthereumLikeEip1559FeeStrategy, Nr as PrivacyNoticeResponse, Ns as UserRegistrationDeviceData, Nt as VaultRequestCreateInput, O as UserRegistrationCreateInput, Oa as AccountNetworkInfoFields, Oi as AllAssetsResponse, On as zPortfolioUpdateInput, Oo as BITCOIN_SPEC, Or as zAllowedResourcesResponse, Os as PubKey, Ot as PotentialDuplicateTransactionsInput, P as TradelinkCustodianResponse, Pa as TransactionDataOf, Pi as zAssetResponse, Pn as zPortfolioAppliedState, Po as zStakingProvisioning, Pr as PrivacyNoticeSection, Ps as zPsdPairingData, Pt as VaultRequestResponse, Q as zTokenizationListDeploymentsResponse, Qa as CARDANO_STAKE_KEY_STATUSES, Qi as zWebhookListFilters, Qn as HsmHostingMode, Qo as CursorPaginated, Qr as WorkspaceRulesResponse, Qs as AuthResponse, Qt as OperationMetadataResponse, R as zTradelinkCustodianResponse, Ra as convertTxToGovernableIntent, Ri as DeleteWebhookResponse, Ro as zGovernableAction, Rr as zLegalInline, Rs as zRefreshPskData, Rt as zApproveVaultRequestInput, S as UserSortBy, Sa as HsmCompareReason, Sc as zStakingValidatorSortBy, Si as zCantonTransferProposalResponse, Sn as zPortfolioCurrentUserAccessResponse, So as ETHEREUM_SPEC, Sr as PolicySortBy, Ss as ApiChallenge, T as zQuorumAccountSourceResponse, Ti as zTransactionWithMetaResponse, Tn as zPortfolioSortBy, To as CANTON_SPEC, Tr as AllowedActionsResponse, Ts as PsdPairingData, Tt as ChallengeResponse, U as TokenizationEstimateDeploymentFeeInput, Ua as zEstimatedFees, Ui as zCreateWebhookResponse, Un as ClaimedRole, Uo as zTransactionScanSummary, Ur as zSubProcessorRow, Ut as zPotentialDuplicateTransactionsResponse, V as zTradelinkSettlementWithAccountAndExchangeInfoResponse, Va as zAccountNetworkInfoFields, Vi as WebhookResponse, Vn as AuditLogType, Vo as zFiatCurrency, Vr as zPrivacyNoticeSection, Vs as zUserRegistrationChallengeResponse, Vt as zEnsureNameAvailableInput, W as zTokenTemplateListResponse, Wa as zNetworkAssetFields, Wi as zDeleteWebhookResponse, Wo as NatsEventBackfillFailure, Wr as zSubProcessorsResponse, Ws as LesWalletRegistrationResult, Wt as zRequestSortBy, X as zTokenizationGetRowInput, Xa as CARDANO_DREP_ALWAYS_ABSTAIN, Xi as zWebhookDeliveryResponse, Xo as NATS_EVENT_BACKFILL_LIST_LIMIT, Xr as RootWorkspaceRuleResponse, Xs as zOidcConfig, Xt as OutgoingTransactionMeta, Y as zTokenizationEstimateDeploymentFeeResponse, Ya as CARDANO_CREATABLE_VOTE_DELEGATIONS, Yi as zWebhookDeliveryDetailResponse, Yo as NATS_EVENT_BACKFILL_EVENT_TYPES, Yr as zGroupSortBy, Ys as zExchangeCredentialsResponse, Yt as zWebVaultRequestResponse, Z as zTokenizationListDeploymentsInput, Za as CARDANO_DREP_ALWAYS_VOTE_NO, Zi as zWebhookDetailResponse, Zo as NatsEventBackfillEventType, Zr as WorkspaceRuleResponse, Zt as RequestMeta, _ as zUserSortByField, _a as HSM_COMPARATORS, _c as zIndexedSelectionCapability, _i as zAccountAllowedActionsResponse, _n as PortfolioSummary, _o as zRippleDestinationTag, _s as HSM_OBJECT_TYPES, _t as zDeleteTradelinkOrgEntityInput, a as zAuditLogSortBy, aa as OnboardingFullState, ac as AccountLiveDataResponse, ai as EntitySortBy, an as ReportResponse, ao as isValidCardanoPoolId, ar as PsdModel, as as fetchAllCursorPages, at as TokenizationDeploymentEstimateInput, b as QuorumAccountSourceResponse, ba as HsmCompareAnomaly, bc as zStakesPage, bi as zAccountSortBy, bn as zPortfolioAdminResponse, bo as isErc20Address, br as zPolicySortByField, bs as ObjectsVersionResponse, bt as zTradelinkOrgEntityResponse, c as zWhitelistSortByField, ca as OnboardingSeedFragment, cc as IndexedReceiveAddressSelection, ci as PsdAuthChallengeData, cn as zReportResponse, co as TEZOS_SPEC, cr as RequestReviewStatus, cs as serializePage, ct as ReviewStepWithUsers, d as WhitelistResponse, da as zOnboardingFullState, dc as zAccountLiveDataResponse, di as zStakeSortByField, dn as PortfolioAdminResponse, do as StellarMemo, dr as ResourceType, ds as zCursorQuery, dt as DeleteTradelinkExchangeInput, ec as zAuthResponse, ei as zRootWorkspaceRuleResponse, en as EnsureNameAvailableOutput, eo as CARDANO_STAKING_TRANSACTION_TYPES, er as MessageType, es as MAX_PAGE_SIZE, et as zTokenizationListRowsResponse, f as WhitelistSortBy, fa as zOnboardingId, fc as zAddressIndex, fi as AccountAllowedActionsResponse, fn as PortfolioCreateInput, fo as zStellarMemo, fr as RevaultMode, fs as zPageQuery, ft as PledgeResponse, g as zWhitelistSortBy, gc as zIndexedReceiveAddressSelection, gi as TransactionWithMetaResponse, gn as PortfolioStatusFilter, go as RIPPLE_SPEC, gr as UserRole, gs as GetObjectsInfoResponse, gt as zCreateTradelinkOrgEntityInput, h as zWhitelistResponse, hc as zIndexedReceiveAddressInput, hi as RawSigningPublicKeyResponse, hn as PortfolioSortBy, ho as isSplTokenTransaction, hs as RiskLevel, ht as zCreateTradelinkNetworkBlueprintInput, i as zAuditLogResponse, ia as DeviceClaim, ic as admitsStakeOperation, ii as EntityResponse, in as ReportInput, io as isCardanoStakingTransactionType, ir as PortfolioHistoryAction, is as emptyPage, it as TokenizationCreateDeploymentRequestInput, j as zUserRegistrationResponse, ja as SendOnlyTransactionData, ji as TokenResponse, jn as PORTFOLIO_NAME_MAX_LENGTH, jo as StakingProvisioning, jr as LegalInline, js as UserRegistrationChallenge, jt as RequestReview, k as UserRegistrationResponse, ka as AccountStakingFields, ki as AssetResponse, kn as zPortfoliosByAccountIdsInput, ko as BitcoinLikeBalance, kr as zOpenApiResourceType, ks as RefreshPskData, kt as PotentialDuplicateTransactionsResponse, l as WhitelistAddressResponse, la as WrappingKeyResponse, lc as IndexedSelectionCapability, li as zPsdAuthChallengeData, ln as zVisibleReportStatus, lo as SUI_SPEC, lr as RequestState, ls as stableOrdering, lt as zReviewStepsArray, m as zWhitelistAddressSortBy, ma as zOnboardingSeedFragment, mc as zFreshReceiveAddress, mi as AccountSortBy, mn as PortfolioHistoryEntryResponse, mo as isSolanaWalletAddress, mr as UserDeviceType, ms as zSortOrder, mt as TradelinkOrgEntityResponse, n as AuditLogResponse, nc as EthereumStakingNetwork, ni as zWorkspaceRuleResponse, nn as zEnsureNameAvailableOutput, no as CardanoStakingTransactionType, nr as OnboardingStep, ns as Paginated, o as WorkspaceResponse, oa as OnboardingOpts, oc as FreshReceiveAddress, oi as zEntityResponse, on as zReportDownloadUrlResponse, oo as toCanonicalCardanoPoolId, or as ReportStatus, os as fetchAllPages, ot as TokenizationFeeEstimate, p as zWhitelistAddressResponse, pa as zOnboardingOpts, pc as zBalance, pi as AccountResponse, pn as PortfolioCurrentUserAccessResponse, po as SOLANA_SPEC, pr as ReviewConfigType, ps as zPaginated, pt as TradelinkNetworkBlueprintResponse, q as zTokenizationCreateDeploymentRequestResponse, qa as zTransactionResponse, qi as zUpdateWebhookPayload, qo as NatsEventBackfillReport, qr as GroupSortBy, qt as zVaultRequestCreateInput, r as AuditLogSortBy, rc as isEthereumStakingNetwork, ri as zWorkspaceRulesResponse, rn as ReportDownloadUrlResponse, ro as isCardanoStakeKeyRegistered, rr as OutgoingTransactionStatus, rs as SortOrder, rt as TokenTemplateResponse, s as zWorkspaceResponse, sa as OnboardingSeedChallenge, sc as IndexedReceiveAddressInput, si as zEntitySortBy, sn as zReportInput, so as TRON_SPEC, ss as paginate, st as zTokenizationRowDetail, t as EMPTY_UUID, tc as ETHEREUM_STAKING_NETWORKS, ti as zWorkspaceRuleMemberResponse, tn as SoftChallenge, to as CardanoStakeKeyStatus, tr as OnboardedUserRole, ts as PageQuery, u as WhitelistAddressSortBy, ua as zDeviceClaim, uc as ReceiveAddressSelection, ui as zAccountSortByField, un as zPortfolioSortByField, uo as STELLAR_SPEC, ur as RequestType, us as zCursorPaginated, ut as CreateTradelinkOrgEntityInput, v as AdminResponse, va as HSM_COMPARE_REASONS, vc as zStake, vi as zAccountCommonFields, vn as PortfolioUpdateInput, vo as POLKADOT_SPEC, vs as HsmObjectType, vt as zPledgeResponse, w as zQuorumAccountEntryResponse, wi as zStakeSortBy, wn as zPortfolioName, wo as CARDANO_SPEC, wr as zPolicySortBy, ws as PsdChallenge, wt as ApproveVaultRequestInput, x as UserResponse, xa as HsmCompareDetail, xc as zStakingValidator, xi as zCantonPreApprovalStateResponse, xn as zPortfolioCreateInput, xo as GENERIC_SPEC, xr as PolicyResponse, xs as VersionedObjectInfo, xt as zTradelinkWhitelist, y as QuorumAccountEntryResponse, ya as HsmComparator, yc as zStakeState, yi as zAccountResponse, yn as PortfoliosByAccountIdsResponse, yo as HEDERA_SPEC, yr as WhitelistType, ys as ObjectsContentResponse, yt as zTradelinkNetworkBlueprintResponse, z as zTradelinkEntityResponse, za as getTxHsmProps, zi as UpdateWebhookPayload, zn as AdminPermission, zo as FiatCurrency, zr as zLegalInlineContent, zs as zRefreshPskInputData, zt as zChallengeResponse } from "./app-lib-BJhNaXn-.mjs";
|
|
2
|
+
export { type AccountAllowedActionsResponse, type AccountLiveDataResponse, type AccountNetworkInfoFields, type AccountResponse, type AccountSortBy, type AccountStakingFields, type AccountType, type ActivationStatus, type AdminPermission, type AdminResponse, type AllAssetsResponse, type AllowedAction, type AllowedActionsResponse, type AllowedResourcesResponse, type ApiChallenge, type AppRouter, type ApproveVaultRequestInput, type AssetResponse, type AuditLogResponse, type AuditLogSortBy, type AuditLogType, type AuthResponse, type BITCOIN_SPEC, type BitcoinLikeBalance, type CANTON_SPEC, CARDANO_CREATABLE_VOTE_DELEGATIONS, CARDANO_DREP_ALWAYS_ABSTAIN, type CARDANO_DREP_ALWAYS_VOTE_NO, type CARDANO_NETWORK, type CARDANO_SPEC, type CARDANO_STAKE_KEY_STATUSES, CARDANO_STAKING_BLOCKING_REQUEST_TYPES, CARDANO_STAKING_TRANSACTION_TYPES, type CantonTransferProposal, type CardanoStakeKeyStatus, type CardanoStakingTransactionType, type Challenge, type ChallengeResponse, type ChallengeType, type ClaimedRole, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput, type CreateWebhookPayload, type CurrencyResponse, type CursorPaginated, type DEFAULT_PAGE_SIZE, type DeleteTradelinkExchangeInput, type DeleteWebhookResponse, type DeviceClaim, EMPTY_UUID, type ETHEREUM_SPEC, ETHEREUM_STAKING_NETWORKS, type EnsureNameAvailableInput, type EnsureNameAvailableOutput, type EntityResponse, type EntitySortBy, type EstimatedFees, type EthereumLikeEip1559FeeStrategy, type EthereumStakingNetwork, type FiatCurrency, type FreshReceiveAddress, type GENERIC_SPEC, type GetObjectsInfoResponse, type GroupResponse, type GroupSortBy, type HEDERA_SPEC, HSM_COMPARATORS, HSM_COMPARE_REASONS, HSM_OBJECT_TYPES, type HsmCertificate, type HsmComparator, type HsmCompareAnomaly, type HsmCompareDetail, type HsmCompareReason, type HsmHostingMode, type HsmObjectType, type HsmWorkspaceComparison, type IndexedReceiveAddressInput, type IndexedReceiveAddressSelection, type IndexedSelectionCapability, type LegalContentBlock, type LegalInline, type LegalInlineContent, type LesWalletRegistrationResult, type MAX_PAGE_SIZE, type MaintenanceMode, type MessageType, NATS_EVENT_BACKFILL_EVENT_TYPES, NATS_EVENT_BACKFILL_LIST_LIMIT, type NatsEventBackfillEventType, type NatsEventBackfillFailure, type NatsEventBackfillItem, type NatsEventBackfillPreview, type NatsEventBackfillReport, type NetworkFamily, type ObjectsContentResponse, type ObjectsVersionResponse, type OidcConfig, type OnboardedUserRole, type OnboardingFullState as OnboardingFullStateResponse, type OnboardingOpts, type OnboardingSeedChallenge, type OnboardingSeedFragment, type OnboardingStep, type OperationHistoryResponse, type OperationMetadataResponse, type OperationMilestoneResponse, type OutgoingTransactionMeta, type OutgoingTransactionStatus, type POLKADOT_SPEC, type PORTFOLIO_NAME_MAX_LENGTH, type PageQuery, type Paginated, type PledgeResponse, type PolicyResponse, type PolicySortBy, type PortfolioAdminResponse, type PortfolioAppliedState, type PortfolioCreateInput, type PortfolioCurrentUserAccessResponse, type PortfolioHistoryAction, type PortfolioHistoryEntryResponse, type PortfolioSortBy, type PortfolioStatusFilter, type PortfolioSummary, type PortfolioUpdateInput, type PortfoliosByAccountIdsResponse, type PotentialDuplicateTransaction, type PotentialDuplicateTransactionsInput, type PotentialDuplicateTransactionsResponse, type PrivacyNoticeResponse, type PrivacyNoticeSection, type PsdAuthChallengeData as PsdAuthChallengeResponse, type PsdChallenge, type PsdModel, type PsdPairingData, type PsdPairingInputData, type PsdSignature, type PubKey, type QuorumAccountEntryResponse, type QuorumAccountSourceResponse, type RIPPLE_SPEC, type RawSigningPublicKeyResponse, type ReceiveAddressSelection, type RefreshPskData, type RefreshPskInputData, type ReportDownloadUrlResponse, type ReportInput, type ReportResponse, type ReportStatus, type RequestDataOf, type RequestMeta, type RequestReview, type RequestReviewStatus, type RequestSortBy, type RequestState, type RequestType, type ResourceType, type RevaultMode, type ReviewConfigType, type ReviewStepWithUsers, type RiskLevel, type RootWorkspaceRuleResponse, type SOLANA_SPEC, type STELLAR_SPEC, type SUI_SPEC, type SendOnlyTransactionData, type SoftChallenge, type SortOrder, type StakingDataOf, type StakingProvisioning, type StellarMemo, type SubProcessorRow, type SubProcessorsResponse, type TEZOS_SPEC, type TRON_SPEC, type TokenResponse, type TokenTemplateResponse, type TokenizationCreateDeploymentRequestInput, type TokenizationDeploymentEstimateInput, type TokenizationEstimateDeploymentFeeInput, type TokenizationFeeEstimate, type TradelinkCustodianResponse, type TradelinkEntityResponse, type TradelinkNetworkBlueprintResponse, type TradelinkNetworkResponse, type TradelinkOrgEntityResponse, type TradelinkSettlementWithAccountAndExchangeInfoResponse, type TransactionData, type TransactionDataOf, type TransactionResponse, type TransactionType, type TransactionTypeOf, type TransactionWithMetaResponse, type UpdateWebhookPayload, type UserDeviceType, type UserRegistrationChallenge, type UserRegistrationChallengeResponse, type UserRegistrationCreateInput, type UserRegistrationDeviceData, type UserRegistrationResponse, type UserResponse, type UserRole, type UserSortBy, type Validator, type VaultRequestCreateInput, type VaultRequestResponse, type VaultRequestResponseBase, type VersionedObjectInfo, type WebVaultRequestResponse, type WebhookDetailResponse, type WebhookResponse, type WhitelistAddressResponse, type WhitelistAddressSortBy, type WhitelistResponse, type WhitelistSortBy, type WhitelistType, type WorkspaceResponse, type WorkspaceRuleResponse, type WorkspaceRulesResponse, type WrappingKeyResponse, admitsStakeOperation, type convertTxToGovernableIntent, type emptyPage, type fetchAllCursorPages, type fetchAllPages, type genTransactionSchemas, getFiatMinorUnitExponent, type getTxHsmProps, isCardanoStakeKeyRegistered, type isCardanoStakingTransactionType, type isErc20Address, isEthereumStakingNetwork, type isSolanaWalletAddress, type isSplTokenTransaction, isTransactionCheckSupportedType, isValidCardanoPoolId, type normalizePortfolioName, type paginate, type serializePage, type stableOrdering, toCanonicalCardanoPoolId, type zAccountAllowedActionsResponse, type zAccountCommonFields, type zAccountLiveData, type zAccountLiveDataResponse, type zAccountNetworkInfoFields, type zAccountResponse, type zAccountSortBy, zAccountSortByField, type zAccountStakingFields, type zAddressIndex, type zAdminResponse, type zAdminRulesResponse, type zAllAssetsResponse, type zAllowedActionsResponse, type zAllowedResourcesResponse, type zApiUserCredentialsResponse, type zApproveVaultRequestInput, type zAssetCapabilitiesResponse, type zAssetResponse, type zAuditLogResponse, type zAuditLogSortBy, type zAuthResponse, type zBalance, type zCantonPreApprovalStateResponse, type zCantonTransferProposal, type zCantonTransferProposalResponse, type zChallengeResponse, type zCommonLiveData, type zCreateClassicAccountWithPolicyIdInput, type zCreateTradelinkNetworkBlueprintInput, type zCreateTradelinkOrgEntityInput, type zCreateWebhookPayload, type zCreateWebhookResponse, type zCurrencyResponse, type zCursorPaginated, type zCursorQuery, type zDeleteTradelinkOrgEntityInput, type zDeleteWebhookResponse, type zDeviceClaim, type zEnsureNameAvailableInput, type zEnsureNameAvailableOutput, type zEntityResponse, type zEntitySortBy, type zEstimatedFees as zEstimateFeesResponse, type zEstimatedFees, zEthereumLikeEip1559FeeStrategy, type zExchangeCredentialsResponse, zFiatCurrency, type zFreshReceiveAddress, type zGovernableAction, type zGroupResponse, type zGroupSortBy, zGroupSortByField, type zIndexedReceiveAddressInput, type zIndexedReceiveAddressSelection, type zIndexedSelectionCapability, type zLegalContentBlock, type zLegalInline, type zLegalInlineContent, type zNetworkAssetFields, type zOidcConfig, type zOnboardingFullState as zOnboardingFullStateResponse, type zOnboardingId, type zOnboardingOpts, type zOnboardingSeedFragment, type zOpenApiResourceType, type zPageQuery, type zPaginated, type zPledgeResponse, type zPolicyResponse, type zPolicySortBy, zPolicySortByField, type zPortfolioAdminResponse, type zPortfolioAppliedState, type zPortfolioCreateInput, type zPortfolioCurrentUserAccessResponse, type zPortfolioHistoryEntryResponse, type zPortfolioName, type zPortfolioSortBy, zPortfolioSortByField, type zPortfolioStatusFilter, type zPortfolioSummary, type zPortfolioUpdateInput, type zPortfoliosByAccountIdsInput, type zPortfoliosByAccountIdsResponse, type zPotentialDuplicateTransactionsInput, type zPotentialDuplicateTransactionsResponse, type zPrivacyNoticeResponse, type zPrivacyNoticeSection, type zPrivacyNoticeSectionId, type zPsdAuthChallengeData as zPsdAuthChallengeResponse, type zPsdPairingData, type zPsdPairingInputData, type zPsdSignature, type zPubKey, type zQuorumAccountEntryResponse, type zQuorumAccountSourceResponse, type zRawSigningPublicKeyResponse, type zRefreshPskData, type zRefreshPskInputData, type zReplayFailedResponse, type zReportDownloadUrlResponse, type zReportInput, type zReportResponse, type zRequestSortBy, zRequestSortByField, type zReviewStepsArray, type zRippleDestinationTag, type zRootWorkspaceRuleResponse, type zRotateWebhookSecretResponse, type zSendOnlyTransactionData, type zSignDigestsRequestInput, type zSignMessageRequestInput, type zSignedMessageResponse, type zSortOrder, type zStake, type zStakeSortBy, zStakeSortByField, type zStakeState, type zStakesPage, type zStakingProvisioning, type zStakingValidator, type zStakingValidatorSortBy, type zStellarMemo, type zSubProcessorRow, type zSubProcessorsResponse, type zTokenResponse, type zTokenTemplateListResponse, type zTokenTemplateResponse, type zTokenizationCreateDeploymentRequestInput, type zTokenizationCreateDeploymentRequestResponse, type zTokenizationEstimateDeploymentFeeInput, type zTokenizationEstimateDeploymentFeeResponse, type zTokenizationGetRowInput, type zTokenizationListDeploymentsInput, type zTokenizationListDeploymentsResponse, type zTokenizationListRowsInput, type zTokenizationListRowsResponse, type zTokenizationRowDetail, type zTradelinkCustodianResponse, type zTradelinkEntityResponse, type zTradelinkNetworkBlueprintResponse, type zTradelinkNetworkResponse, type zTradelinkOrgEntityResponse, type zTradelinkSettlementWithAccountAndExchangeInfoResponse, type zTradelinkWhitelist, type zTransactionData, type zTransactionResponse, type zTransactionScanSummary, type zTransactionStatus, type zTransactionType, type zTransactionWithMetaResponse, type zUpdateWebhookPayload, type zUserRegistrationChallenge, type zUserRegistrationChallengeResponse, type zUserRegistrationCreateInput, type zUserRegistrationDeviceData, type zUserRegistrationResponse, type zUserResponse, type zUserSortBy, zUserSortByField, type zUtxosPageResponse, type zVaultRequestCreateInput, type zVaultRequestResponse, type zVisibleReportStatus, type zWebVaultRequestResponse, type zWebhookDeliveriesFilters, type zWebhookDeliveryDetailResponse, type zWebhookDeliveryResponse, type zWebhookDetailResponse, type zWebhookListFilters, type zWebhookResponse, type zWhitelistAddressResponse, type zWhitelistAddressSortBy, type zWhitelistResponse, type zWhitelistSortBy, zWhitelistSortByField, type zWorkspaceResponse, type zWorkspaceRuleMemberResponse, type zWorkspaceRuleResponse, type zWorkspaceRulesResponse };
|
package/lib/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import z, { z as z$1 } from "zod";
|
|
|
16
16
|
*/
|
|
17
17
|
const admitsStakeOperation = (position, operation) => position.admissibleOperations == null ? !position.pendingOperations?.some((_) => _.kind === "CREDENTIAL_UPGRADE") : position.admissibleOperations.includes(operation);
|
|
18
18
|
//#endregion
|
|
19
|
-
//#region src/
|
|
19
|
+
//#region src/shared/ethereum-staking-networks.ts
|
|
20
20
|
/**
|
|
21
21
|
* Networks where Ethereum staking is served. `ETHEREUM_LIKE` covers every EVM chain, so this list
|
|
22
22
|
* is what separates a chain the product stakes on from Polygon, BSC and the rest — including the
|
|
@@ -134,6 +134,67 @@ const zCommonTransactionResponse = z.object({
|
|
|
134
134
|
senders: z.array(z.string()).meta({ description: "Senders (can be multiple for UTXOs-based accounts)" }),
|
|
135
135
|
recipients: z.array(z.string()).meta({ description: "Recipients (can be multiple for multi-output transactions)" })
|
|
136
136
|
});
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/core/networks/cardano/staking.ts
|
|
139
|
+
/**
|
|
140
|
+
* Cardano staking rules shared by the API and the web.
|
|
141
|
+
*
|
|
142
|
+
* Pure data and functions, with no runtime dependency, so the web reads the same rules from
|
|
143
|
+
* `@ledgerhq/revault-api` instead of copying them.
|
|
144
|
+
*/
|
|
145
|
+
/** The five Cardano staking operations, all governed by the account's single STAKE rule. */
|
|
146
|
+
const CARDANO_STAKING_TRANSACTION_TYPES = [
|
|
147
|
+
"CARDANO_LIKE_STAKING_REGISTER",
|
|
148
|
+
"CARDANO_LIKE_STAKING_DELEGATE",
|
|
149
|
+
"CARDANO_LIKE_DELEGATE_VOTE_TO_DREP",
|
|
150
|
+
"CARDANO_LIKE_STAKING_WITHDRAW",
|
|
151
|
+
"CARDANO_LIKE_STAKING_DEREGISTER"
|
|
152
|
+
];
|
|
153
|
+
/**
|
|
154
|
+
* Pending staking requests that block the creation of another staking request on the same account,
|
|
155
|
+
* keyed by the type being created: the legacy matrix (`CardanoRequestValidator.FORBIDDEN_PATH`,
|
|
156
|
+
* shared decision n°11). A request is pending until it completes (`PRE_COMPLETION_STATES`).
|
|
157
|
+
*
|
|
158
|
+
* A send is never blocked: delegation locks nothing.
|
|
159
|
+
*/
|
|
160
|
+
const CARDANO_STAKING_BLOCKING_REQUEST_TYPES = {
|
|
161
|
+
CARDANO_LIKE_STAKING_REGISTER: [
|
|
162
|
+
"CARDANO_LIKE_STAKING_REGISTER",
|
|
163
|
+
"CARDANO_LIKE_STAKING_DEREGISTER",
|
|
164
|
+
"CARDANO_LIKE_STAKING_WITHDRAW",
|
|
165
|
+
"CARDANO_LIKE_STAKING_DELEGATE",
|
|
166
|
+
"CARDANO_LIKE_DELEGATE_VOTE_TO_DREP"
|
|
167
|
+
],
|
|
168
|
+
CARDANO_LIKE_STAKING_DEREGISTER: [
|
|
169
|
+
"CARDANO_LIKE_STAKING_REGISTER",
|
|
170
|
+
"CARDANO_LIKE_STAKING_DEREGISTER",
|
|
171
|
+
"CARDANO_LIKE_STAKING_WITHDRAW",
|
|
172
|
+
"CARDANO_LIKE_STAKING_DELEGATE",
|
|
173
|
+
"CARDANO_LIKE_DELEGATE_VOTE_TO_DREP"
|
|
174
|
+
],
|
|
175
|
+
CARDANO_LIKE_STAKING_DELEGATE: [
|
|
176
|
+
"CARDANO_LIKE_STAKING_REGISTER",
|
|
177
|
+
"CARDANO_LIKE_STAKING_DEREGISTER",
|
|
178
|
+
"CARDANO_LIKE_STAKING_WITHDRAW",
|
|
179
|
+
"CARDANO_LIKE_STAKING_DELEGATE"
|
|
180
|
+
],
|
|
181
|
+
CARDANO_LIKE_STAKING_WITHDRAW: [
|
|
182
|
+
"CARDANO_LIKE_STAKING_REGISTER",
|
|
183
|
+
"CARDANO_LIKE_STAKING_DEREGISTER",
|
|
184
|
+
"CARDANO_LIKE_STAKING_DELEGATE"
|
|
185
|
+
],
|
|
186
|
+
CARDANO_LIKE_DELEGATE_VOTE_TO_DREP: ["CARDANO_LIKE_STAKING_REGISTER", "CARDANO_LIKE_STAKING_DEREGISTER"]
|
|
187
|
+
};
|
|
188
|
+
/** Vote delegation to the predefined Abstain DRep, as the Gate and the HSM intent name it. */
|
|
189
|
+
const CARDANO_DREP_ALWAYS_ABSTAIN = "ALWAYS ABSTAIN";
|
|
190
|
+
/**
|
|
191
|
+
* Vote delegations a request may create. Phase 1, at legacy parity: always Abstain, its only
|
|
192
|
+
* purpose being to unlock the withdrawal of the rewards. Requests synchronized from the Gate may
|
|
193
|
+
* carry the others.
|
|
194
|
+
*/
|
|
195
|
+
const CARDANO_CREATABLE_VOTE_DELEGATIONS = [CARDANO_DREP_ALWAYS_ABSTAIN];
|
|
196
|
+
/** Whether the stake key holds a deposit: it can then be delegated, withdrawn from, deregistered. */
|
|
197
|
+
const isCardanoStakeKeyRegistered = (status) => status === "REGISTERED" || status === "DELEGATED";
|
|
137
198
|
z.object({
|
|
138
199
|
type: z.literal(NetworkFamily.ETHEREUM_LIKE).meta({ description: "Account type" }),
|
|
139
200
|
address: z.string().nullable().meta({ description: "Account address" })
|
|
@@ -161,7 +222,8 @@ z.object({
|
|
|
161
222
|
nonce: z.string(),
|
|
162
223
|
priorityFees: zIntString,
|
|
163
224
|
executionFees: zIntString.nullish(),
|
|
164
|
-
maxExecutionFees: zIntString.nullish()
|
|
225
|
+
maxExecutionFees: zIntString.nullish(),
|
|
226
|
+
l1DataFee: zUnsignedIntString.nullish().meta({ description: "Flat OP Stack L1 data fee in wei. Null when the chain does not charge one. Not per gas. Clients add it once after the buffered gas cap." })
|
|
165
227
|
}).meta({ description: "Ethereum-like fees" });
|
|
166
228
|
const zEthereumLikeTransferTransactionType = z.enum(["ETHEREUM_LIKE_SEND", "ETHEREUM_LIKE_RECEIVE"]).meta({ description: "Ethereum-like transaction type" });
|
|
167
229
|
const zEthereumLikeContractTransactionType = z.enum(["ETHEREUM_LIKE_EXECUTE_CONTRACT", "ETHEREUM_LIKE_DEPLOY_CONTRACT"]).meta({ description: "Ethereum-like transaction type" });
|
|
@@ -190,7 +252,10 @@ const zEthereumLikeFeeStrategy = z.union([zEthereumLikeLegacyFeeStrategy, zEther
|
|
|
190
252
|
description: "Ethereum-like fee strategy",
|
|
191
253
|
id: "EthereumLikeFeeStrategy"
|
|
192
254
|
});
|
|
193
|
-
const zEthereumCommonTransactionData = zCommonTransactionData.extend({
|
|
255
|
+
const zEthereumCommonTransactionData = zCommonTransactionData.extend({
|
|
256
|
+
l1DataFee: zUnsignedIntString.optional().meta({ description: "Flat OP Stack L1 data fee in wei included in maxFee. Omit when the chain does not charge one." }),
|
|
257
|
+
replacingTxHash: z.string().optional().meta({ description: "Hash of the original transaction to replace. If provided, the new transaction will replace the one matching this hash." })
|
|
258
|
+
});
|
|
194
259
|
const zEthereumLikeDeployContractData = zEthereumCommonTransactionData.extend({
|
|
195
260
|
type: z.literal(zEthereumLikeContractTransactionType.enum.ETHEREUM_LIKE_DEPLOY_CONTRACT),
|
|
196
261
|
recipient: z.literal(""),
|
|
@@ -305,9 +370,9 @@ z.object({
|
|
|
305
370
|
});
|
|
306
371
|
const zEthereumLikeTransferCoinFields = z.object({
|
|
307
372
|
type: zEthereumLikeTransferTransactionType,
|
|
308
|
-
gasPrice: z.string(),
|
|
309
|
-
gasLimit: z.string(),
|
|
310
|
-
nonce: z.string()
|
|
373
|
+
gasPrice: z.string().nullable().meta({ description: "Gas price in wei, null when the network does not report it" }),
|
|
374
|
+
gasLimit: z.string().nullable().meta({ description: "Gas limit, null when the network does not report it" }),
|
|
375
|
+
nonce: z.string().nullable().meta({ description: "Transaction nonce, null when the network does not report it" })
|
|
311
376
|
});
|
|
312
377
|
const zEthereumLikeContractCoinFields = zEthereumLikeTransferCoinFields.extend({
|
|
313
378
|
type: zEthereumLikeContractTransactionType,
|
|
@@ -368,6 +433,116 @@ z.discriminatedUnion("type", [
|
|
|
368
433
|
zCommonTransactionResponse.extend(zEthereumLikeStakeUpgradeResponseFields.shape).meta({ description: "Ethereum validator credential upgrade transaction" })
|
|
369
434
|
]).meta({ description: "Ethereum-like transaction" });
|
|
370
435
|
//#endregion
|
|
436
|
+
//#region src/core/networks/cardano/pool-id.ts
|
|
437
|
+
/**
|
|
438
|
+
* Cardano stake pool IDs.
|
|
439
|
+
*
|
|
440
|
+
* A pool ID is the 28-byte hash of the pool operator's cold key, written either in Bech32 with the
|
|
441
|
+
* `pool` prefix (CIP-5, Bech32 and not Bech32m) or as 56 hexadecimal characters. The rule is the one
|
|
442
|
+
* lama-cardano applies before crafting a delegation (`INVALID_POOL_ID`) and les-wallet applies to
|
|
443
|
+
* its pool catalogue, so a pool ID accepted here is accepted downstream.
|
|
444
|
+
*
|
|
445
|
+
* No runtime dependency: the web validates a custom pool ID with the same functions.
|
|
446
|
+
*/
|
|
447
|
+
const BECH32_CHARSET = "qpzry9x8gf2tvdw0s3jn54khce6mua7l";
|
|
448
|
+
const BECH32_GENERATOR = [
|
|
449
|
+
996825010,
|
|
450
|
+
642813549,
|
|
451
|
+
513874426,
|
|
452
|
+
1027748829,
|
|
453
|
+
705979059
|
|
454
|
+
];
|
|
455
|
+
const BECH32_CHECKSUM_LENGTH = 6;
|
|
456
|
+
const POOL_ID_PREFIX = "pool";
|
|
457
|
+
const POOL_ID_BYTE_LENGTH = 28;
|
|
458
|
+
const HEX_POOL_ID = /^[0-9a-fA-F]{56}$/;
|
|
459
|
+
/** The characters of a Bech32 string: printable US-ASCII (BIP-173). */
|
|
460
|
+
const BECH32_CHARACTERS = /^[\x21-\x7e]*$/;
|
|
461
|
+
const polymod = (values) => {
|
|
462
|
+
let checksum = 1;
|
|
463
|
+
for (const value of values) {
|
|
464
|
+
const top = checksum >>> 25;
|
|
465
|
+
checksum = (checksum & 33554431) << 5 ^ value;
|
|
466
|
+
BECH32_GENERATOR.forEach((generator, i) => {
|
|
467
|
+
if (top >>> i & 1) checksum ^= generator;
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
return checksum >>> 0;
|
|
471
|
+
};
|
|
472
|
+
const PREFIX_WORDS = [
|
|
473
|
+
...[...POOL_ID_PREFIX].map((char) => char.charCodeAt(0) >>> 5),
|
|
474
|
+
0,
|
|
475
|
+
...[...POOL_ID_PREFIX].map((char) => char.charCodeAt(0) & 31)
|
|
476
|
+
];
|
|
477
|
+
/**
|
|
478
|
+
* A pool ID payload to 5-bit words: its 224 bits make 44 words and 4 bits, padded with a zero bit
|
|
479
|
+
* into the last word.
|
|
480
|
+
*/
|
|
481
|
+
const toWords = (bytes) => {
|
|
482
|
+
const words = [];
|
|
483
|
+
let accumulator = 0;
|
|
484
|
+
let bits = 0;
|
|
485
|
+
for (const byte of bytes) {
|
|
486
|
+
accumulator = (accumulator << 8 | byte) & 4095;
|
|
487
|
+
bits += 8;
|
|
488
|
+
while (bits >= 5) {
|
|
489
|
+
bits -= 5;
|
|
490
|
+
words.push(accumulator >>> bits & 31);
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
return [...words, accumulator << 5 - bits & 31];
|
|
494
|
+
};
|
|
495
|
+
/** 5-bit words to bytes; `null` when the padding is longer than 4 bits or not zero. */
|
|
496
|
+
const fromWords = (words) => {
|
|
497
|
+
const bytes = [];
|
|
498
|
+
let accumulator = 0;
|
|
499
|
+
let bits = 0;
|
|
500
|
+
for (const word of words) {
|
|
501
|
+
accumulator = (accumulator << 5 | word) & 4095;
|
|
502
|
+
bits += 5;
|
|
503
|
+
if (bits >= 8) {
|
|
504
|
+
bits -= 8;
|
|
505
|
+
bytes.push(accumulator >>> bits & 255);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
return bits >= 5 || (accumulator & (1 << bits) - 1) !== 0 ? null : bytes;
|
|
509
|
+
};
|
|
510
|
+
/** The 28-byte payload of a Bech32 pool ID, lower or upper case but not mixed (BIP-173). */
|
|
511
|
+
const decodeBech32PoolId = (value) => {
|
|
512
|
+
if (!BECH32_CHARACTERS.test(value)) return null;
|
|
513
|
+
const lower = value.toLowerCase();
|
|
514
|
+
if (value !== lower && value !== value.toUpperCase()) return null;
|
|
515
|
+
if (!lower.startsWith(`${POOL_ID_PREFIX}1`)) return null;
|
|
516
|
+
const words = [...lower.slice(5)].map((char) => BECH32_CHARSET.indexOf(char));
|
|
517
|
+
if (words.includes(-1) || polymod([...PREFIX_WORDS, ...words]) !== 1) return null;
|
|
518
|
+
const payload = fromWords(words.slice(0, -6));
|
|
519
|
+
return payload?.length === POOL_ID_BYTE_LENGTH ? payload : null;
|
|
520
|
+
};
|
|
521
|
+
const decodeHexPoolId = (value) => HEX_POOL_ID.test(value) ? Array.from({ length: POOL_ID_BYTE_LENGTH }, (_, i) => Number.parseInt(value.slice(2 * i, 2 * i + 2), 16)) : null;
|
|
522
|
+
const encodeBech32PoolId = (payload) => {
|
|
523
|
+
const words = toWords(payload);
|
|
524
|
+
const checksum = polymod([
|
|
525
|
+
...PREFIX_WORDS,
|
|
526
|
+
...words,
|
|
527
|
+
...Array(BECH32_CHECKSUM_LENGTH).fill(0)
|
|
528
|
+
]) ^ 1;
|
|
529
|
+
const checksumWords = Array.from({ length: BECH32_CHECKSUM_LENGTH }, (_, i) => checksum >>> 5 * (5 - i) & 31);
|
|
530
|
+
const data = [...words, ...checksumWords].map((word) => BECH32_CHARSET.charAt(word)).join("");
|
|
531
|
+
return `${POOL_ID_PREFIX}1${data}`;
|
|
532
|
+
};
|
|
533
|
+
const decodePoolId = (value) => decodeHexPoolId(value) ?? decodeBech32PoolId(value);
|
|
534
|
+
/** Whether `value` is, as given, a Bech32 `pool1…` pool ID or 56 hexadecimal characters. */
|
|
535
|
+
const isValidCardanoPoolId = (value) => decodePoolId(value) !== null;
|
|
536
|
+
/**
|
|
537
|
+
* The canonical form of a pool ID, lower-case Bech32 (`pool1…`), which explorers, pool operators
|
|
538
|
+
* and the device review show; `null` when `value` is not a pool ID. Surrounding whitespace is
|
|
539
|
+
* ignored.
|
|
540
|
+
*/
|
|
541
|
+
const toCanonicalCardanoPoolId = (value) => {
|
|
542
|
+
const payload = decodePoolId(value.trim());
|
|
543
|
+
return payload === null ? null : encodeBech32PoolId(payload);
|
|
544
|
+
};
|
|
545
|
+
//#endregion
|
|
371
546
|
//#region src/core/scan/supported-types.ts
|
|
372
547
|
const TRANSACTION_CHECK_SUPPORTED_TYPES = [
|
|
373
548
|
"ETHEREUM_LIKE_SEND",
|
|
@@ -376,7 +551,9 @@ const TRANSACTION_CHECK_SUPPORTED_TYPES = [
|
|
|
376
551
|
"ETHEREUM_LIKE_STAKE_TOP_UP",
|
|
377
552
|
"ETHEREUM_LIKE_STAKE_WITHDRAW",
|
|
378
553
|
"ETHEREUM_LIKE_STAKE_CONSOLIDATE",
|
|
379
|
-
"ETHEREUM_LIKE_STAKE_UPGRADE"
|
|
554
|
+
"ETHEREUM_LIKE_STAKE_UPGRADE",
|
|
555
|
+
"SOLANA_LIKE_SEND",
|
|
556
|
+
"SOLANA_LIKE_SEND_TOKEN"
|
|
380
557
|
];
|
|
381
558
|
/**
|
|
382
559
|
* Whether Transaction Check applies to this exact transaction type. This is only the type half of
|
|
@@ -387,6 +564,45 @@ const TRANSACTION_CHECK_SUPPORTED_TYPES = [
|
|
|
387
564
|
*/
|
|
388
565
|
const isTransactionCheckSupportedType = (type) => TRANSACTION_CHECK_SUPPORTED_TYPES.some((supportedType) => supportedType === type);
|
|
389
566
|
//#endregion
|
|
567
|
+
//#region src/core/types/fiat-currency.ts
|
|
568
|
+
/**
|
|
569
|
+
* Fiat currencies a governance threshold may be denominated in.
|
|
570
|
+
*
|
|
571
|
+
* Deliberately narrow: a rule denominated in one of these must be evaluable for every asset it
|
|
572
|
+
* governs. A fiat rule an asset cannot be priced against is refused while the association can
|
|
573
|
+
* still be corrected — when the rule is written, or when an account attaches to an asset-less
|
|
574
|
+
* policy (ADR-0020 §7) — rather than skipped when it is evaluated.
|
|
575
|
+
*
|
|
576
|
+
* Governance vocabulary, so owned by core. The countervalue service is handed the code as a
|
|
577
|
+
* plain string and never depends on this list.
|
|
578
|
+
*/
|
|
579
|
+
const zFiatCurrency = z.enum([
|
|
580
|
+
"USD",
|
|
581
|
+
"EUR",
|
|
582
|
+
"GBP",
|
|
583
|
+
"JPY",
|
|
584
|
+
"CHF"
|
|
585
|
+
]);
|
|
586
|
+
/**
|
|
587
|
+
* Decimal places in each currency's minor unit. This is what makes a threshold's integer bounds
|
|
588
|
+
* readable as an amount: "1050" is $10.50 under USD, but ¥1050 under JPY.
|
|
589
|
+
*/
|
|
590
|
+
const FIAT_MINOR_UNIT_EXPONENTS = {
|
|
591
|
+
USD: 2,
|
|
592
|
+
EUR: 2,
|
|
593
|
+
GBP: 2,
|
|
594
|
+
JPY: 0,
|
|
595
|
+
CHF: 2
|
|
596
|
+
};
|
|
597
|
+
/**
|
|
598
|
+
* Minor-unit exponent to pin onto a rule denominated in `currency`.
|
|
599
|
+
*
|
|
600
|
+
* Callers store the result on the rule instead of consulting this table again when the rule is
|
|
601
|
+
* evaluated. A currency that later abolishes its subunit — as ISK did, while keeping its code —
|
|
602
|
+
* would otherwise silently rescale every rule already in force.
|
|
603
|
+
*/
|
|
604
|
+
const getFiatMinorUnitExponent = (currency) => FIAT_MINOR_UNIT_EXPONENTS[currency];
|
|
605
|
+
//#endregion
|
|
390
606
|
//#region src/core/accounts/stake-sort.ts
|
|
391
607
|
const STAKE_SORT_BY_FIELDS = [
|
|
392
608
|
"staked",
|
|
@@ -506,6 +722,21 @@ const zWhitelistSortByField = z$1.enum([
|
|
|
506
722
|
"updatedAt"
|
|
507
723
|
]);
|
|
508
724
|
//#endregion
|
|
509
|
-
|
|
725
|
+
//#region src/shared/empty-uuid.ts
|
|
726
|
+
/**
|
|
727
|
+
* Placeholder `VaultRequest.targetId` for a Gate-synced request whose target object is not
|
|
728
|
+
* synchronized into Revault yet. It is not the ID of any record, so a consumer must not fetch it.
|
|
729
|
+
*
|
|
730
|
+
* Kept in this dependency-free module so `app-lib.ts` can publish it without bundling the
|
|
731
|
+
* synchronization layer.
|
|
732
|
+
*/
|
|
733
|
+
const EMPTY_UUID = "00000000-0000-0000-0000-000000000000";
|
|
734
|
+
//#endregion
|
|
735
|
+
//#region src/shared/nats-event-backfill.ts
|
|
736
|
+
const NATS_EVENT_BACKFILL_EVENT_TYPES = ["AccountCreated", "WorkspaceCreated"];
|
|
737
|
+
/** Rows a preview or a failure list carries. The totals beside them stay exact. */
|
|
738
|
+
const NATS_EVENT_BACKFILL_LIST_LIMIT = 100;
|
|
739
|
+
//#endregion
|
|
740
|
+
export { CARDANO_CREATABLE_VOTE_DELEGATIONS, CARDANO_DREP_ALWAYS_ABSTAIN, CARDANO_STAKING_BLOCKING_REQUEST_TYPES, CARDANO_STAKING_TRANSACTION_TYPES, EMPTY_UUID, ETHEREUM_STAKING_NETWORKS, HSM_COMPARATORS, HSM_COMPARE_REASONS, HSM_OBJECT_TYPES, NATS_EVENT_BACKFILL_EVENT_TYPES, NATS_EVENT_BACKFILL_LIST_LIMIT, admitsStakeOperation, getFiatMinorUnitExponent, isCardanoStakeKeyRegistered, isEthereumStakingNetwork, isTransactionCheckSupportedType, isValidCardanoPoolId, toCanonicalCardanoPoolId, zAccountSortByField, zEthereumLikeEip1559FeeStrategy, zFiatCurrency, zGroupSortByField, zPolicySortByField, zPortfolioSortByField, zRequestSortByField, zStakeSortByField, zUserSortByField, zWhitelistSortByField };
|
|
510
741
|
|
|
511
742
|
//# sourceMappingURL=index.mjs.map
|