@capxul/sdk 4.20.0-beta.36 → 4.20.0-beta.37
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 +8 -0
- package/dist/{access-D5D77YLI.mjs → access-aMjL10vw.mjs} +7299 -6134
- package/dist/{index-9tVY0-g7.d.mts → index-DzfcTT6t.d.mts} +424 -136
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +41 -37
- package/dist/node/index.d.mts +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/{organizations-BKiw2PjB.mjs → organizations-DPpyjjx2.mjs} +123 -132
- package/dist/{permission-approvals-B2LrXyRx.mjs → permission-approvals-B6Oqszeb.mjs} +4 -4
- package/dist/{production-CLAx7XAB.mjs → production-PGbIhEG0.mjs} +731 -264
- package/dist/testing/index.d.mts +1 -1
- package/dist/testing/index.mjs +21 -8
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as AuthMethods, $a as RequestPaymentConfirmation, $i as PaymentDocumentsMethods, $n as PaymentPrepared, $o as ORGANIZATION_SETUP_REASONS, $r as PayrollRunApprovalInput, $t as AddressBookMethods, A as formatAssetAmount, Aa as localPrivateKeyAccountProvider, Ai as MeProfile, An as VerificationInput, Ar as ApprovalsMethods, As as Money, At as Budget, B as IdentityProfileDetails, Ba as PreparedOfferCheckoutExecution, Bi as ActivityKind, Bn as TargetReference, Br as PermissionMethods, Bs as FAILURE_MODES, Bt as DestinationAddInput, C as OpenfortBrowserSigner, Ca as SignerStatusStore, Ci as AccountLifecycle, Cn as BankDetailsOverview, Co as OfferedAuthority, Cr as valueActivitySummary, Cs as AuthUserId, Ct as InvitationSubscriptionOptions, D as CAPXUL_PAYMENTS_V2_ADDRESS, Da as AccountRequirement, Di as DepositInstructions, Dn as BankAccountField, Do as CurrentPolicy, Dr as ApprovalInput, Ds as Errors, Dt as InvitePreviewInput, E as createOpenfortBrowserSigner, Ea as AccountProviderSource, Ei as AccountMethods, En as BankAccountDetails, Eo as BudgetIntent, Er as TOKENS, Es as toAddress, Et as InvitePrepared, F as MoneyParseErrorReason, Fa as FixedOfferDraft, Fi as ActivityAnnotation, Fn as VerificationQuestion, Fo as CapxulOperation, Fr as BudgetLeft, Fs as isCapxulError, Ft as BankingMethods, G as SystemHealth, Ga as PrepareInvoiceCheckoutExecutionInput, Gi as ActivityReference, Gn as OrganizationPaymentRetryPreview, Gr as PermissionReplaceInput, Gt as DestinationRemoveInput, H as IdentityRuntimeSendResult, Ha as InvoiceCheckoutReconciliation, Hi as ActivityMethods, Hn as OrganizationPaymentBatchInput, Ho as ObservationContext, Hr as PermissionPolicyChange, Hs as CAPXUL_ERROR_CODES, Ht as DestinationListInput, I as isMoneyParseError, Ia as FixedOfferDraftSchema, Ii as ActivityAnnotationInput, In as VerificationStatus, Io as NormalizedCapxulOperation, Ir as PermissionAssignInput, Is as CHAIN_UPSTREAMS, It as BankDepositCandidatesOptions, J as destination, Ja as PreparedRequestCheckoutExecution, Ji as ActivitySummaryTotal, Jn as Payment, Jr as PermissionCommandView, Jt as ActorProfileMethods, K as SystemMethods, Ka as PrepareRequestCheckoutExecutionInput, Ki as ActivitySummary, Kn as OrganizationPaymentsMethods, Kr as PermissionRevokeInput, Kt as DestinationsMethods, L as parseMoney, La as OfferCheckout, Li as ActivityDetail, Ln as RecipientResolution, Lo as isCapxulOperation, Lr as PermissionAssignmentEffect, Ls as ChainCause, Lt as BankDepositMethods, M as requireAsset, Ma as CheckoutReconciliation, Mi as inboxPhase, Mn as VerificationOperations, Mr as PermissionApprovalInput, Ms as toCurrencyCode, Mt as OrgMeMethod, N as toRaw, Na as CheckoutState, Ni as paymentPhase, Nn as VerificationAnswers, No as TelemetryPort, Nr as PermissionWrite, Ns as CapxulError, Nt as OrgMeOptions, O as formatMoney, Oa as Eip1193Provider, Oi as Home, On as BankAccountFilter, Oo as Permission, Or as ApprovalOutcome, Os as AssetAmount, Ot as OrgInvitations, P as MoneyParseError, Pa as FixedOffer, Pi as requestPhase, Pn as VerificationPersonInput, Po as CAPXUL_OPERATIONS, Pr as decodePermissionIntent, Ps as CapxulErrorDetails, Pt as BankDetailsMethods, Q as CurrentUserMethods, Qa as RequestCheckoutSummary, Qi as PAYMENT_STATUSES, Qn as PaymentMoney, Qo as Page, Qr as CancelApprovalInput, Qt as AddressBookLabelInput, R as CapxulClient, Ra as OfferCheckoutPreparation, Ri as ActivityFilter, Rn as Ref, Ro as normalizeCapxulOperation, Rr as PermissionChangeInput, Rs as ChainUpstream, Rt as BankDepositsListOptions, S as OpenfortBrowserAuth, Sa as SignerStatus, Si as Approval, Sn as BankDetails, So as InvitePreview, Sr as Valuation, Ss as AuthSession, St as InvitationSnapshot, Ta as AccountProvider, Ti as isSettingUpLifecycle, Tn as BankAccount, To as PermissionReplacementPreview, Tr as AssetMetadata, Ts as EVM_ADDRESS_RE, Tt as InviteOptions, U as MediaMethods, Ua as InvoiceCheckoutState, Ui as ActivityPage, Un as OrganizationPaymentInput, Uo as ObservationDelivery, Ur as PermissionPrepared, Us as CapxulErrorCode, Ut as DestinationPayload, V as IdentityRuntime, Va as InvoiceCheckoutPreparation, Vi as ActivityListParams, Vn as TargetsMethods, Vo as ObservationAdapter, Vr as PermissionOptions, Vs as FailureMode, Vt as DestinationKind, W as UploadImageResult, Wa as InvoiceCheckoutSummary, Wi as ActivityRange, Wn as OrganizationPaymentItemInput, Wo as SdkFailureObservation, Wr as PermissionReadResult, Ws as EXPECTED_OPERATION_OUTCOMES, Wt as DestinationRail, X as isRestoring, Xa as RequestCheckoutReconciliation, Xi as PaymentActivityEvidence, Xn as PaymentDocumentKind, Xo as CapxulResult, Xr as PermissionIntent, Xt as AddressBookAddInput, Y as isClaimed, Ya as RequestCheckoutPreparation, Yi as MovementActivityEvidence, Yn as PaymentDirection, Yo as ActorReference, Yr as SubmittedPermissionExecution, Yt as ActorRelationshipMethods, Z as CurrentUserContext, Za as RequestCheckoutState, Zi as PAYMENT_DIRECTIONS, Zn as PaymentDocumentRef, Zo as OperationResult, Zr as OrganizationApprovalInput, Zt as AddressBookEntry, _ as OpenfortEmbeddedWalletPort, _a as ActorRef, _i as PayrollTermsUnit, _n as BankCurrency, _o as InvitationRecovery, _r as HoldingsMethods, _s as HANDLE_RE, _t as OrganizationAccess, a as captureExceptionSync, aa as CompletedPersonProfile, ai as AuthorizeRunOptions, an as InboxFulfillOptions, ao as OrganizationSetupPageInput, ar as PaymentsPayInput, as as BudgetId, at as IdentityTransition, b as deriveDevPrivateKey, ba as CapxulSigner, bi as PayrollGroupInputSchema, bn as BankDepositMatchCandidate, bo as InviteGrant, br as Rate, bs as toHandle, bt as RoleDefinition, c as CapxulClientInput, ca as OrganizationOnboardingInput, ci as PayrollGroupInput, cn as CheckoutsMethods, co as Unsubscribe, cr as PaymentDocumentOptions, cs as toBudgetId, ct as Readiness, d as PostHogObservabilityOptions, da as PersonOnboardingInput, di as PayrollMethods, dn as PayRequestRegisteredInput, do as GranteeRef, dr as SupportingReceiptInput, ds as Account, dt as MemberIdentityProjection, ea as PaymentDocumentDownload, ei as RedirectApprovalInput, en as ActorRequest, eo as RequestPaymentTerms, er as PaymentSnapshot, es as OrgId, et as Session, f as postHogObservability, fa as ReadyAccountLifecycle, fi as PayrollOptions, fn as isCheckoutSettlementConsumed, fo as InvitationAcceptInput, fr as PaymentQuoteInput, fs as AccountId, ft as MemberStatus, g as OpenfortEmbeddedWalletApi, ga as PayoutAddress, gi as PayrollRuns, gn as BankAccountsMethods, go as InvitationPhase, gr as positionPeg, gs as toCountryCode, gt as OrgView, h as openfortEmbeddedSignerFromWallet, ha as Profile, hi as PayrollRunStatus, hn as BankAccountRequirementsInput, ho as InvitationPageInput, hr as SmartAccountMethods, hs as TesterKind, ht as OrgScopedMethods, i as captureException, ia as LineItemV3, ii as AuthorizeRunInput, in as InboxApproveInput, io as OrganizationSetupPage, ir as PaymentType, is as toPayrollGroupId, it as IdentityEvent, j as parseAssetAmount, ja as CheckoutReceipt, ji as ActivityPhase, jn as VerificationMethods, jr as InvitationApprovalInput, js as toAssetId, jt as OrgMe, k as assetSymbolFor, ka as eip1193AccountProvider, ki as MeMethods, kn as BankAccountTarget, kr as ApprovalWaitOptions, ks as AssetId, kt as OwnInvitationsMethod, l as HostObservability, la as OrganizationOnboardingOptions, li as PayrollGroupMember, ln as CreateOfferCheckoutInput, lo as AuthorityRef, lr as PaymentDocumentOptionsSchema, ls as toPermissionAssignmentId, lt as StateLabel, m as embeddedSigner, ma as IdentityMethods, mi as PayrollRunItemInput, mn as BankAccountRequirements, mo as InvitationPage, mr as SmartAccount, ms as CountryCode, mt as OrgMethods, n as checkoutUrl, na as PaymentDocumentRender, ni as RetryApprovalInput, nn as ActorRequestsMethods, no as InvocationControls, nr as PaymentSubscriptionOptions, ns as PayrollGroupId, nt as ClientRequests, o as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, oa as OnboardingMethods, oi as PayrollEngagementTerms, on as InboxItem, oo as OrganizationSetupSnapshot, or as PaymentsPayOptions, os as PermissionId, ot as IdentityState, p as OpenfortEmbeddedSignerInput, pa as CompleteProfileInput, pi as PayrollRun, pn as BankAccountAddInput, po as InvitationId, pr as FinancialOpsMethods, ps as toAccountId, pt as MemberView, q as Destination$1, qa as PreparedInvoiceCheckoutExecution, qi as ActivitySummaryParams, qn as PaymentsMethods, qr as PermissionCommandSnapshot, qt as ActorProfile, r as HandledErrorReportContext, ra as PaymentDocumentVerification, ri as decodePayrollRunInput, rn as OffersMethods, ro as OrganizationSetup, rr as PaymentTiming, rs as PayrollRunId, rt as ClientRequestView, s as createCapxulClient, sa as OrganizationOnboarding, si as PayrollGroup, sn as InboxMethods, so as SetupIssue, sr as InvoiceDraft, ss as RoleKey, st as OrgLane, t as CheckoutLinkReference, ta as PaymentDocumentReadRef, ti as RequestApprovalInput, tn as ActorRequestIssueInput, to as PaymentQuote, tr as PaymentStatus, ts as toOrgId, tt as AccountSetupPolicy, u as PostHogObservabilityClient, ua as PersonOnboarding, ui as PayrollGroupsMethods, un as PayInvoiceRegisteredInput, uo as EndingReason, ur as PaymentInstructionInput, us as toPermissionId, ut as AssignmentProjection, v as openfortEmbeddedWalletPort, va as fingerprintPaymentIntent, vi as PayrollRunSnapshot, vn as BankDeposit, vo as InvitationTarget, vr as CurrentHoldings, vs as Handle, vt as OrganizationAccount, w as OpenfortBrowserSignerBootstrap, wa as injectedWalletSigner, wi as AccountSetupStep, wn as SettlementToken, wo as SpendingScope, wr as valueIn, ws as Address, wt as InviteMethod, x as devPrivateKeySigner, xa as Eip1193RequestProvider, xi as PayrollRunDetail, xn as BankDepositsPage, xo as InviteInput, xr as RateSource, xs as toPartyId, xt as RoleView, y as DevPrivateKeySignerInput, ya as CapxulDigestSigner, yi as PayrollGroupIdSchema, yn as BankDepositCandidatesPage, yo as InvitationView, yr as AccountsMethods, ys as PartyId, yt as OrganizationAuditLogItem, z as CreateCapxulClientInput, za as PrepareOfferCheckoutExecutionInput, zi as ActivityItem, zn as ResolvedTarget, zr as PermissionCreateInput, zs as RevertSummary, zt as Destination } from "./index-9tVY0-g7.mjs";
|
|
2
|
-
export { type Account, type AccountId, type AccountLifecycle, type AccountMethods, type AccountProvider, type AccountProviderSource, type AccountRequirement, type AccountSetupPolicy, type AccountSetupStep, type AccountsMethods, type ActivityAnnotation, type ActivityAnnotationInput, type ActivityDetail, type ActivityFilter, type ActivityItem, type ActivityKind, type ActivityListParams, type ActivityMethods, type ActivityPage, type ActivityPhase, type ActivityRange, type ActivityReference, type ActivitySummary, type ActivitySummaryParams, type ActivitySummaryTotal, type ActorProfile, type ActorProfileMethods, type ActorRef, type ActorReference, type ActorRelationshipMethods, type ActorRequest, type ActorRequestIssueInput, type ActorRequestsMethods, type Address, type AddressBookAddInput, type AddressBookEntry, type AddressBookLabelInput, type AddressBookMethods, type Approval, type ApprovalInput, type ApprovalOutcome, type ApprovalWaitOptions, type ApprovalsMethods, type AssetAmount, type AssetId, type AssetMetadata, type AssignmentProjection, type AuthMethods, type AuthSession, type AuthUserId, type AuthorityRef, type AuthorizeRunInput, type AuthorizeRunOptions, type BankAccount, type BankAccountAddInput, type BankAccountDetails, type BankAccountField, type BankAccountFilter, type BankAccountRequirements, type BankAccountRequirementsInput, type BankAccountTarget, type BankAccountsMethods, type BankCurrency, type BankDeposit, type BankDepositCandidatesOptions, type BankDepositCandidatesPage, type BankDepositMatchCandidate, type BankDepositMethods, type BankDepositsListOptions, type BankDepositsPage, type BankDetails, type BankDetailsMethods, type BankDetailsOverview, type BankingMethods, type Budget, type BudgetId, type BudgetIntent, type BudgetLeft, CAPXUL_ERROR_CODES, CAPXUL_OPERATIONS, CAPXUL_PAYMENTS_V2_ADDRESS, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, CHAIN_UPSTREAMS, type CancelApprovalInput, type CapxulClient, type CapxulClientInput, type CapxulDigestSigner, CapxulError, type CapxulErrorCode, type CapxulErrorDetails, type CapxulOperation, type CapxulResult, type CapxulSigner, type ChainCause, type ChainUpstream, type CheckoutLinkReference, type CheckoutReceipt, type CheckoutReconciliation, type CheckoutState, type CheckoutsMethods, type ClientRequestView, type ClientRequests, type CompleteProfileInput, type CompletedPersonProfile, type CountryCode, type CreateCapxulClientInput, type CreateOfferCheckoutInput, type CurrentHoldings, type CurrentPolicy, type CurrentUserContext, type CurrentUserMethods, type DepositInstructions, type Destination, type DestinationAddInput, type DestinationKind, type DestinationListInput, type DestinationPayload, type DestinationRail, type DestinationRemoveInput, type DestinationsMethods, type DevPrivateKeySignerInput, EVM_ADDRESS_RE, EXPECTED_OPERATION_OUTCOMES, type Eip1193Provider, type Eip1193RequestProvider, type EndingReason, Errors, FAILURE_MODES, type FailureMode, type FinancialOpsMethods, type FixedOffer, type FixedOfferDraft, FixedOfferDraftSchema, type GranteeRef, HANDLE_RE, type Handle, type HandledErrorReportContext, type HoldingsMethods, type Home, type HostObservability, type Destination$1 as IdentityDestination, type IdentityEvent, type IdentityMethods, type IdentityProfileDetails, type IdentityRuntime, type IdentityRuntimeSendResult, type IdentityState, type IdentityTransition, type InboxApproveInput, type InboxFulfillOptions, type InboxItem, type InboxMethods, type InvitationAcceptInput, type InvitationApprovalInput, type InvitationId, type InvitationPage, type InvitationPageInput, type InvitationPhase, type InvitationRecovery, type InvitationSnapshot, type InvitationSubscriptionOptions, type InvitationTarget, type InvitationView, type InviteGrant, type InviteInput, type InviteMethod, type InviteOptions, type InvitePrepared, type InvitePreview, type InvitePreviewInput, type InvocationControls, type InvoiceCheckoutPreparation, type InvoiceCheckoutReconciliation, type InvoiceCheckoutState, type InvoiceCheckoutSummary, type InvoiceDraft, type LineItemV3, type MeMethods, type MeProfile, type MediaMethods, type MemberIdentityProjection, type MemberStatus, type MemberView, type Money, type MoneyParseError, type MoneyParseErrorReason, type MovementActivityEvidence, type NormalizedCapxulOperation, ORGANIZATION_SETUP_REASONS, type ObservationAdapter, type ObservationContext, type ObservationDelivery, type OfferCheckout, type OfferCheckoutPreparation, type OfferedAuthority, type OffersMethods, type OnboardingMethods, type OpenfortBrowserAuth, type OpenfortBrowserSigner, type OpenfortBrowserSignerBootstrap, type OpenfortEmbeddedSignerInput, type OpenfortEmbeddedWalletApi, type OpenfortEmbeddedWalletPort, type OperationResult, type OrgId, type OrgInvitations, type OrgLane, type OrgMe, type OrgMeMethod, type OrgMeOptions, type OrgMethods, type OrgScopedMethods, type OrgView, type OrganizationAccess, type OrganizationAccount, type OrganizationApprovalInput, type OrganizationAuditLogItem, type OrganizationOnboarding, type OrganizationOnboardingInput, type OrganizationOnboardingOptions, type OrganizationPaymentBatchInput, type OrganizationPaymentInput, type OrganizationPaymentItemInput, type OrganizationPaymentRetryPreview, type OrganizationPaymentsMethods, type OrganizationSetup, type OrganizationSetupPage, type OrganizationSetupPageInput, type OrganizationSetupSnapshot, type OwnInvitationsMethod, PAYMENT_DIRECTIONS, PAYMENT_STATUSES, type Page, type PartyId, type PayInvoiceRegisteredInput, type PayRequestRegisteredInput, type Payment, type PaymentActivityEvidence, type PaymentDirection, type PaymentDocumentDownload, type PaymentDocumentKind, type PaymentDocumentOptions, PaymentDocumentOptionsSchema, type PaymentDocumentReadRef, type PaymentDocumentRef, type PaymentDocumentRender, type PaymentDocumentVerification, type PaymentDocumentsMethods, type PaymentInstructionInput, type PaymentMoney, type PaymentPrepared, type PaymentQuote, type PaymentQuoteInput, type PaymentSnapshot, type PaymentStatus, type PaymentSubscriptionOptions, type PaymentTiming, type PaymentType, type PaymentsMethods, type PaymentsPayInput, type PaymentsPayOptions, type PayoutAddress, type PayrollEngagementTerms, type PayrollGroup, type PayrollGroupId, PayrollGroupIdSchema, type PayrollGroupInput, PayrollGroupInputSchema, type PayrollGroupMember, type PayrollGroupsMethods, type PayrollMethods, type PayrollOptions, type PayrollRun, type PayrollRunApprovalInput, type PayrollRunDetail, type PayrollRunId, type PayrollRunItemInput, type PayrollRunSnapshot, type PayrollRunStatus, type PayrollRuns, type PayrollTermsUnit, type Permission, type PermissionApprovalInput, type PermissionAssignInput, type PermissionAssignmentEffect, type PermissionChangeInput, type PermissionCommandSnapshot, type PermissionCommandView, type PermissionCreateInput, type PermissionId, type PermissionIntent, type PermissionMethods, type PermissionOptions, type PermissionPolicyChange, type PermissionPrepared, type PermissionReadResult, type PermissionReplaceInput, type PermissionReplacementPreview, type PermissionRevokeInput, type PermissionWrite, type PersonOnboarding, type PersonOnboardingInput, type PostHogObservabilityClient, type PostHogObservabilityOptions, type PrepareInvoiceCheckoutExecutionInput, type PrepareOfferCheckoutExecutionInput, type PrepareRequestCheckoutExecutionInput, type PreparedInvoiceCheckoutExecution, type PreparedOfferCheckoutExecution, type PreparedRequestCheckoutExecution, type Profile, type Rate, type RateSource, type Readiness, type ReadyAccountLifecycle, type RecipientResolution, type RedirectApprovalInput, type Ref, type RequestApprovalInput, type RequestCheckoutPreparation, type RequestCheckoutReconciliation, type RequestCheckoutState, type RequestCheckoutSummary, type RequestPaymentConfirmation, type RequestPaymentTerms, type ResolvedTarget, type RetryApprovalInput, type RevertSummary, type RoleDefinition, type RoleKey, type RoleView, type SdkFailureObservation, type Session, type SettlementToken, type SetupIssue, type SignerStatus, type SignerStatusStore, type SmartAccount, type SmartAccountMethods, type SpendingScope, type StateLabel, type SubmittedPermissionExecution, type SupportingReceiptInput, type SystemHealth, type SystemMethods, TOKENS, type TargetReference, type TargetsMethods, type TelemetryPort, type TesterKind, type Unsubscribe, type UploadImageResult, type Valuation, type VerificationAnswers, type VerificationInput, type VerificationMethods, type VerificationOperations, type VerificationPersonInput, type VerificationQuestion, type VerificationStatus, assetSymbolFor, captureException, captureExceptionSync, checkoutUrl, createCapxulClient, createOpenfortBrowserSigner, decodePayrollRunInput, decodePermissionIntent, deriveDevPrivateKey, devPrivateKeySigner, eip1193AccountProvider, embeddedSigner, fingerprintPaymentIntent, formatAssetAmount, formatMoney, inboxPhase, injectedWalletSigner, isCapxulError, isCapxulOperation, isCheckoutSettlementConsumed, isClaimed, isMoneyParseError, isRestoring, isSettingUpLifecycle, localPrivateKeyAccountProvider, normalizeCapxulOperation, openfortEmbeddedSignerFromWallet, openfortEmbeddedWalletPort, parseAssetAmount, parseMoney, paymentPhase, positionPeg, postHogObservability, requestPhase, requireAsset, destination as resolveIdentityDestination, toAccountId, toAssetId, toBudgetId, toCountryCode, toCurrencyCode, toAddress as toEvmAddress, toHandle, toOrgId, toPartyId, toPayrollGroupId, toPermissionAssignmentId, toPermissionId, toRaw, valueActivitySummary, valueIn };
|
|
1
|
+
import { $ as MediaMethods, $a as InvoiceCheckoutState, $i as ActivityPage, $n as OrganizationPaymentInput, $o as ObservationDelivery, $r as PermissionPrepared, $s as CapxulError, $t as DestinationPayload, A as OpenfortBrowserSignerBootstrap, Aa as CapxulSigner, Ai as PayrollGroupInputSchema, An as BankDepositMatchCandidate, Ao as InviteGrant, Ar as Rate, As as toHandle, At as RoleDefinition, B as formatAssetAmount, Ba as localPrivateKeyAccountProvider, Bi as MeProfile, Bn as VerificationInput, Br as ApprovalsMethods, Bs as Errors, Bt as Budget, C as OpenfortEmbeddedWalletPort, Ca as CompleteProfileInput, Ci as PayrollRun, Cn as BankAccountAddInput, Co as InvitationId, Cr as FinancialOpsMethods, Cs as toAccountId, Ct as MemberView, D as devPrivateKeySigner, Da as ActorRef, Di as PayrollTermsUnit, Dn as BankCurrency, Do as InvitationRecovery, Dr as HoldingsMethods, Ds as HANDLE_RE, Dt as OrganizationAccess, E as deriveDevPrivateKey, Ea as PayoutAddress, Ei as PayrollRuns, En as BankAccountsMethods, Eo as InvitationPhase, Er as positionPeg, Es as toCountryCode, Et as OrgView, F as FailureTextPolicy, Fa as AccountProvider, Fi as isSettingUpLifecycle, Fn as BankAccount, Fo as PermissionReplacementPreview, Fr as AssetMetadata, Fs as EVM_ADDRESS_RE, Ft as InviteOptions, G as MoneyParseErrorReason, Ga as FixedOfferDraft, Gi as ActivityAnnotation, Gn as VerificationQuestion, Go as CapxulOperation, Gr as BudgetLeft, Gs as ProviderProblem, Gt as BankingMethods, H as requireAsset, Ha as CheckoutReconciliation, Hi as inboxPhase, Hn as VerificationOperations, Hr as PermissionApprovalInput, Hs as PROVIDER_PROBLEMS, Ht as OrgMeMethod, I as failureProperties, Ia as AccountProviderSource, Ii as AccountMethods, In as BankAccountDetails, Io as BudgetIntent, Ir as TOKENS, Is as toAddress, It as InvitePrepared, J as CapxulClient, Ja as OfferCheckoutPreparation, Ji as ActivityFilter, Jn as Ref, Jo as normalizeCapxulOperation, Jr as PermissionChangeInput, Js as AssetAmount, Jt as BankDepositsListOptions, K as isMoneyParseError, Ka as FixedOfferDraftSchema, Ki as ActivityAnnotationInput, Kn as VerificationStatus, Ko as NormalizedCapxulOperation, Kr as PermissionAssignInput, Ks as ProviderRefusalMode, Kt as BankDepositCandidatesOptions, L as withheld, La as AccountRequirement, Li as DepositInstructions, Ln as BankAccountField, Lo as CurrentPolicy, Lr as ApprovalInput, Ls as FAILURE_CLASSES, Lt as InvitePreviewInput, M as createOpenfortBrowserSigner, Ma as SignerStatus, Mi as Approval, Mn as BankDetails, Mo as InvitePreview, Mr as Valuation, Ms as AuthSession, Mt as InvitationSnapshot, N as CAPXUL_PAYMENTS_V2_ADDRESS, Na as SignerStatusStore, Ni as AccountLifecycle, Nn as BankDetailsOverview, No as OfferedAuthority, Nr as valueActivitySummary, Ns as AuthUserId, Nt as InvitationSubscriptionOptions, O as OpenfortBrowserAuth, Oa as fingerprintPaymentIntent, Oi as PayrollRunSnapshot, On as BankDeposit, Oo as InvitationTarget, Or as CurrentHoldings, Os as Handle, Ot as OrganizationAccount, P as FailureProperties, Pa as injectedWalletSigner, Pi as AccountSetupStep, Pn as SettlementToken, Po as SpendingScope, Pr as valueIn, Ps as Address, Pt as InviteMethod, Q as IdentityRuntimeSendResult, Qa as InvoiceCheckoutReconciliation, Qi as ActivityMethods, Qn as OrganizationPaymentBatchInput, Qo as ObservationContext, Qr as PermissionPolicyChange, Qs as toCurrencyCode, Qt as DestinationListInput, R as formatMoney, Ra as Eip1193Provider, Ri as Home, Rn as BankAccountFilter, Ro as Permission, Rr as ApprovalOutcome, Rs as FailureClass, Rt as OrgInvitations, S as OpenfortEmbeddedWalletApi, Sa as ReadyAccountLifecycle, Si as PayrollOptions, Sn as isCheckoutSettlementConsumed, So as InvitationAcceptInput, Sr as PaymentQuoteInput, Ss as AccountId, St as MemberStatus, T as DevPrivateKeySignerInput, Ta as Profile, Ti as PayrollRunStatus, Tn as BankAccountRequirementsInput, To as InvitationPageInput, Tr as SmartAccountMethods, Ts as TesterKind, Tt as OrgScopedMethods, U as toRaw, Ua as CheckoutState, Ui as paymentPhase, Un as VerificationAnswers, Uo as TelemetryPort, Ur as PermissionWrite, Us as ProviderEvidence, Ut as OrgMeOptions, V as parseAssetAmount, Va as CheckoutReceipt, Vi as ActivityPhase, Vn as VerificationMethods, Vr as InvitationApprovalInput, Vs as PROVIDERS, Vt as OrgMe, W as MoneyParseError, Wa as FixedOffer, Wi as requestPhase, Wn as VerificationPersonInput, Wo as CAPXUL_OPERATIONS, Wr as decodePermissionIntent, Ws as ProviderName, Wt as BankDetailsMethods, X as IdentityProfileDetails, Xa as PreparedOfferCheckoutExecution, Xi as ActivityKind, Xn as TargetReference, Xr as PermissionMethods, Xs as Money, Xt as DestinationAddInput, Y as CreateCapxulClientInput, Ya as PrepareOfferCheckoutExecutionInput, Yi as ActivityItem, Yn as ResolvedTarget, Yr as PermissionCreateInput, Ys as AssetId, Yt as Destination, Z as IdentityRuntime, Za as InvoiceCheckoutPreparation, Zi as ActivityListParams, Zn as TargetsMethods, Zo as ObservationAdapter, Zr as PermissionOptions, Zs as toAssetId, Zt as DestinationKind, _ as PostHogObservabilityOptions, _a as OrganizationOnboarding, _i as PayrollGroup, _n as InboxMethods, _o as SetupIssue, _r as InvoiceDraft, _s as RoleKey, _t as OrgLane, a as CheckoutLinkReference, aa as MovementActivityEvidence, ac as RevertSummary, ai as SubmittedPermissionExecution, an as ActorRelationshipMethods, ao as RequestCheckoutPreparation, ar as PaymentDirection, as as ActorReference, at as isClaimed, b as embeddedSigner, ba as PersonOnboarding, bi as PayrollGroupsMethods, bn as PayInvoiceRegisteredInput, bo as EndingReason, br as PaymentInstructionInput, bs as toPermissionId, bt as AssignmentProjection, c as captureException, ca as PAYMENT_STATUSES, cc as CAPXUL_ERROR_CODES, ci as CancelApprovalInput, cn as AddressBookLabelInput, co as RequestCheckoutSummary, cr as PaymentMoney, cs as Page, ct as CurrentUserMethods, d as createCapxulClient, da as PaymentDocumentReadRef, di as RequestApprovalInput, dn as ActorRequestIssueInput, do as PaymentQuote, dr as PaymentStatus, ds as toOrgId, dt as AccountSetupPolicy, ea as ActivityRange, ec as CapxulErrorDetails, ei as PermissionReadResult, en as DestinationRail, eo as InvoiceCheckoutSummary, er as OrganizationPaymentItemInput, es as SdkFailureObservation, et as UploadImageResult, f as CapxulClientInput, fa as PaymentDocumentRender, fi as RetryApprovalInput, fn as ActorRequestsMethods, fo as InvocationControls, fr as PaymentSubscriptionOptions, fs as PayrollGroupId, ft as ClientRequests, g as PostHogObservabilityClient, ga as OnboardingMethods, gi as PayrollEngagementTerms, gn as InboxItem, go as OrganizationSetupSnapshot, gr as PaymentsPayOptions, gs as PermissionId, gt as IdentityState, h as PostHogFailureCapture, ha as CompletedPersonProfile, hi as AuthorizeRunOptions, hn as InboxFulfillOptions, ho as OrganizationSetupPageInput, hr as PaymentsPayInput, hs as BudgetId, ht as IdentityTransition, i as hasWarningCode, ia as ActivitySummaryTotal, ic as ChainUpstream, ii as PermissionCommandView, in as ActorProfileMethods, io as PreparedRequestCheckoutExecution, ir as Payment, it as destination, ja as Eip1193RequestProvider, ji as PayrollRunDetail, jn as BankDepositsPage, jo as InviteInput, jr as RateSource, js as toPartyId, jt as RoleView, k as OpenfortBrowserSigner, ka as CapxulDigestSigner, ki as PayrollGroupIdSchema, kn as BankDepositCandidatesPage, ko as InvitationView, kr as AccountsMethods, ks as PartyId, kt as OrganizationAuditLogItem, l as captureExceptionSync, la as PaymentDocumentsMethods, lc as CapxulErrorCode, li as PayrollRunApprovalInput, ln as AddressBookMethods, lo as RequestPaymentConfirmation, lr as PaymentPrepared, ls as ORGANIZATION_SETUP_REASONS, lt as AuthMethods, m as PostHogFailureCanonicalWords, ma as LineItemV3, mi as AuthorizeRunInput, mn as InboxApproveInput, mo as OrganizationSetupPage, mr as PaymentType, ms as toPayrollGroupId, mt as IdentityEvent, n as Warning, na as ActivitySummary, nc as CHAIN_UPSTREAMS, ni as PermissionRevokeInput, nn as DestinationsMethods, no as PrepareRequestCheckoutExecutionInput, nr as OrganizationPaymentsMethods, nt as SystemMethods, o as checkoutUrl, oa as PaymentActivityEvidence, oc as FAILURE_MODES, oi as PermissionIntent, on as AddressBookAddInput, oo as RequestCheckoutReconciliation, or as PaymentDocumentKind, os as CapxulResult, ot as isRestoring, p as HostObservability, pa as PaymentDocumentVerification, pi as decodePayrollRunInput, pn as OffersMethods, po as OrganizationSetup, pr as PaymentTiming, ps as PayrollRunId, pt as ClientRequestView, q as parseMoney, qa as OfferCheckout, qi as ActivityDetail, qn as RecipientResolution, qo as isCapxulOperation, qr as PermissionAssignmentEffect, qs as ProviderUnavailableMode, qt as BankDepositMethods, r as WarningCode, ra as ActivitySummaryParams, rc as ChainCause, ri as PermissionCommandSnapshot, rn as ActorProfile, ro as PreparedInvoiceCheckoutExecution, rr as PaymentsMethods, rt as Destination$1, s as HandledErrorReportContext, sa as PAYMENT_DIRECTIONS, sc as FailureMode, si as OrganizationApprovalInput, sn as AddressBookEntry, so as RequestCheckoutState, sr as PaymentDocumentRef, ss as OperationResult, st as CurrentUserContext, t as WARNING_CODES, ta as ActivityReference, tc as isCapxulError, ti as PermissionReplaceInput, tn as DestinationRemoveInput, to as PrepareInvoiceCheckoutExecutionInput, tr as OrganizationPaymentRetryPreview, tt as SystemHealth, u as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, ua as PaymentDocumentDownload, uc as EXPECTED_OPERATION_OUTCOMES, ui as RedirectApprovalInput, un as ActorRequest, uo as RequestPaymentTerms, ur as PaymentSnapshot, us as OrgId, ut as Session, v as postHogObservability, va as OrganizationOnboardingInput, vi as PayrollGroupInput, vn as CheckoutsMethods, vo as Unsubscribe, vr as PaymentDocumentOptions, vs as toBudgetId, vt as Readiness, w as openfortEmbeddedWalletPort, wa as IdentityMethods, wi as PayrollRunItemInput, wn as BankAccountRequirements, wo as InvitationPage, wr as SmartAccount, ws as CountryCode, wt as OrgMethods, x as openfortEmbeddedSignerFromWallet, xa as PersonOnboardingInput, xi as PayrollMethods, xn as PayRequestRegisteredInput, xo as GranteeRef, xr as SupportingReceiptInput, xs as Account, xt as MemberIdentityProjection, y as OpenfortEmbeddedSignerInput, ya as OrganizationOnboardingOptions, yi as PayrollGroupMember, yn as CreateOfferCheckoutInput, yo as AuthorityRef, yr as PaymentDocumentOptionsSchema, ys as toPermissionAssignmentId, yt as StateLabel, z as assetSymbolFor, za as eip1193AccountProvider, zi as MeMethods, zn as BankAccountTarget, zr as ApprovalWaitOptions, zs as failureClass, zt as OwnInvitationsMethod } from "./index-DzfcTT6t.mjs";
|
|
2
|
+
export { type Account, type AccountId, type AccountLifecycle, type AccountMethods, type AccountProvider, type AccountProviderSource, type AccountRequirement, type AccountSetupPolicy, type AccountSetupStep, type AccountsMethods, type ActivityAnnotation, type ActivityAnnotationInput, type ActivityDetail, type ActivityFilter, type ActivityItem, type ActivityKind, type ActivityListParams, type ActivityMethods, type ActivityPage, type ActivityPhase, type ActivityRange, type ActivityReference, type ActivitySummary, type ActivitySummaryParams, type ActivitySummaryTotal, type ActorProfile, type ActorProfileMethods, type ActorRef, type ActorReference, type ActorRelationshipMethods, type ActorRequest, type ActorRequestIssueInput, type ActorRequestsMethods, type Address, type AddressBookAddInput, type AddressBookEntry, type AddressBookLabelInput, type AddressBookMethods, type Approval, type ApprovalInput, type ApprovalOutcome, type ApprovalWaitOptions, type ApprovalsMethods, type AssetAmount, type AssetId, type AssetMetadata, type AssignmentProjection, type AuthMethods, type AuthSession, type AuthUserId, type AuthorityRef, type AuthorizeRunInput, type AuthorizeRunOptions, type BankAccount, type BankAccountAddInput, type BankAccountDetails, type BankAccountField, type BankAccountFilter, type BankAccountRequirements, type BankAccountRequirementsInput, type BankAccountTarget, type BankAccountsMethods, type BankCurrency, type BankDeposit, type BankDepositCandidatesOptions, type BankDepositCandidatesPage, type BankDepositMatchCandidate, type BankDepositMethods, type BankDepositsListOptions, type BankDepositsPage, type BankDetails, type BankDetailsMethods, type BankDetailsOverview, type BankingMethods, type Budget, type BudgetId, type BudgetIntent, type BudgetLeft, CAPXUL_ERROR_CODES, CAPXUL_OPERATIONS, CAPXUL_PAYMENTS_V2_ADDRESS, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, CHAIN_UPSTREAMS, type CancelApprovalInput, type CapxulClient, type CapxulClientInput, type CapxulDigestSigner, CapxulError, type CapxulErrorCode, type CapxulErrorDetails, type CapxulOperation, type CapxulResult, type CapxulSigner, type ChainCause, type ChainUpstream, type CheckoutLinkReference, type CheckoutReceipt, type CheckoutReconciliation, type CheckoutState, type CheckoutsMethods, type ClientRequestView, type ClientRequests, type CompleteProfileInput, type CompletedPersonProfile, type CountryCode, type CreateCapxulClientInput, type CreateOfferCheckoutInput, type CurrentHoldings, type CurrentPolicy, type CurrentUserContext, type CurrentUserMethods, type DepositInstructions, type Destination, type DestinationAddInput, type DestinationKind, type DestinationListInput, type DestinationPayload, type DestinationRail, type DestinationRemoveInput, type DestinationsMethods, type DevPrivateKeySignerInput, EVM_ADDRESS_RE, EXPECTED_OPERATION_OUTCOMES, type Eip1193Provider, type Eip1193RequestProvider, type EndingReason, Errors, FAILURE_CLASSES, FAILURE_MODES, type FailureClass, type FailureMode, type FailureProperties, type FailureTextPolicy, type FinancialOpsMethods, type FixedOffer, type FixedOfferDraft, FixedOfferDraftSchema, type GranteeRef, HANDLE_RE, type Handle, type HandledErrorReportContext, type HoldingsMethods, type Home, type HostObservability, type Destination$1 as IdentityDestination, type IdentityEvent, type IdentityMethods, type IdentityProfileDetails, type IdentityRuntime, type IdentityRuntimeSendResult, type IdentityState, type IdentityTransition, type InboxApproveInput, type InboxFulfillOptions, type InboxItem, type InboxMethods, type InvitationAcceptInput, type InvitationApprovalInput, type InvitationId, type InvitationPage, type InvitationPageInput, type InvitationPhase, type InvitationRecovery, type InvitationSnapshot, type InvitationSubscriptionOptions, type InvitationTarget, type InvitationView, type InviteGrant, type InviteInput, type InviteMethod, type InviteOptions, type InvitePrepared, type InvitePreview, type InvitePreviewInput, type InvocationControls, type InvoiceCheckoutPreparation, type InvoiceCheckoutReconciliation, type InvoiceCheckoutState, type InvoiceCheckoutSummary, type InvoiceDraft, type LineItemV3, type MeMethods, type MeProfile, type MediaMethods, type MemberIdentityProjection, type MemberStatus, type MemberView, type Money, type MoneyParseError, type MoneyParseErrorReason, type MovementActivityEvidence, type NormalizedCapxulOperation, ORGANIZATION_SETUP_REASONS, type ObservationAdapter, type ObservationContext, type ObservationDelivery, type OfferCheckout, type OfferCheckoutPreparation, type OfferedAuthority, type OffersMethods, type OnboardingMethods, type OpenfortBrowserAuth, type OpenfortBrowserSigner, type OpenfortBrowserSignerBootstrap, type OpenfortEmbeddedSignerInput, type OpenfortEmbeddedWalletApi, type OpenfortEmbeddedWalletPort, type OperationResult, type OrgId, type OrgInvitations, type OrgLane, type OrgMe, type OrgMeMethod, type OrgMeOptions, type OrgMethods, type OrgScopedMethods, type OrgView, type OrganizationAccess, type OrganizationAccount, type OrganizationApprovalInput, type OrganizationAuditLogItem, type OrganizationOnboarding, type OrganizationOnboardingInput, type OrganizationOnboardingOptions, type OrganizationPaymentBatchInput, type OrganizationPaymentInput, type OrganizationPaymentItemInput, type OrganizationPaymentRetryPreview, type OrganizationPaymentsMethods, type OrganizationSetup, type OrganizationSetupPage, type OrganizationSetupPageInput, type OrganizationSetupSnapshot, type OwnInvitationsMethod, PAYMENT_DIRECTIONS, PAYMENT_STATUSES, PROVIDERS, PROVIDER_PROBLEMS, type Page, type PartyId, type PayInvoiceRegisteredInput, type PayRequestRegisteredInput, type Payment, type PaymentActivityEvidence, type PaymentDirection, type PaymentDocumentDownload, type PaymentDocumentKind, type PaymentDocumentOptions, PaymentDocumentOptionsSchema, type PaymentDocumentReadRef, type PaymentDocumentRef, type PaymentDocumentRender, type PaymentDocumentVerification, type PaymentDocumentsMethods, type PaymentInstructionInput, type PaymentMoney, type PaymentPrepared, type PaymentQuote, type PaymentQuoteInput, type PaymentSnapshot, type PaymentStatus, type PaymentSubscriptionOptions, type PaymentTiming, type PaymentType, type PaymentsMethods, type PaymentsPayInput, type PaymentsPayOptions, type PayoutAddress, type PayrollEngagementTerms, type PayrollGroup, type PayrollGroupId, PayrollGroupIdSchema, type PayrollGroupInput, PayrollGroupInputSchema, type PayrollGroupMember, type PayrollGroupsMethods, type PayrollMethods, type PayrollOptions, type PayrollRun, type PayrollRunApprovalInput, type PayrollRunDetail, type PayrollRunId, type PayrollRunItemInput, type PayrollRunSnapshot, type PayrollRunStatus, type PayrollRuns, type PayrollTermsUnit, type Permission, type PermissionApprovalInput, type PermissionAssignInput, type PermissionAssignmentEffect, type PermissionChangeInput, type PermissionCommandSnapshot, type PermissionCommandView, type PermissionCreateInput, type PermissionId, type PermissionIntent, type PermissionMethods, type PermissionOptions, type PermissionPolicyChange, type PermissionPrepared, type PermissionReadResult, type PermissionReplaceInput, type PermissionReplacementPreview, type PermissionRevokeInput, type PermissionWrite, type PersonOnboarding, type PersonOnboardingInput, type PostHogFailureCanonicalWords, type PostHogFailureCapture, type PostHogObservabilityClient, type PostHogObservabilityOptions, type PrepareInvoiceCheckoutExecutionInput, type PrepareOfferCheckoutExecutionInput, type PrepareRequestCheckoutExecutionInput, type PreparedInvoiceCheckoutExecution, type PreparedOfferCheckoutExecution, type PreparedRequestCheckoutExecution, type Profile, type ProviderEvidence, type ProviderName, type ProviderProblem, type ProviderRefusalMode, type ProviderUnavailableMode, type Rate, type RateSource, type Readiness, type ReadyAccountLifecycle, type RecipientResolution, type RedirectApprovalInput, type Ref, type RequestApprovalInput, type RequestCheckoutPreparation, type RequestCheckoutReconciliation, type RequestCheckoutState, type RequestCheckoutSummary, type RequestPaymentConfirmation, type RequestPaymentTerms, type ResolvedTarget, type RetryApprovalInput, type RevertSummary, type RoleDefinition, type RoleKey, type RoleView, type SdkFailureObservation, type Session, type SettlementToken, type SetupIssue, type SignerStatus, type SignerStatusStore, type SmartAccount, type SmartAccountMethods, type SpendingScope, type StateLabel, type SubmittedPermissionExecution, type SupportingReceiptInput, type SystemHealth, type SystemMethods, TOKENS, type TargetReference, type TargetsMethods, type TelemetryPort, type TesterKind, type Unsubscribe, type UploadImageResult, type Valuation, type VerificationAnswers, type VerificationInput, type VerificationMethods, type VerificationOperations, type VerificationPersonInput, type VerificationQuestion, type VerificationStatus, WARNING_CODES, type Warning, type WarningCode, assetSymbolFor, captureException, captureExceptionSync, checkoutUrl, createCapxulClient, createOpenfortBrowserSigner, decodePayrollRunInput, decodePermissionIntent, deriveDevPrivateKey, devPrivateKeySigner, eip1193AccountProvider, embeddedSigner, failureClass, failureProperties, fingerprintPaymentIntent, formatAssetAmount, formatMoney, hasWarningCode, inboxPhase, injectedWalletSigner, isCapxulError, isCapxulOperation, isCheckoutSettlementConsumed, isClaimed, isMoneyParseError, isRestoring, isSettingUpLifecycle, localPrivateKeyAccountProvider, normalizeCapxulOperation, openfortEmbeddedSignerFromWallet, openfortEmbeddedWalletPort, parseAssetAmount, parseMoney, paymentPhase, positionPeg, postHogObservability, requestPhase, requireAsset, destination as resolveIdentityDestination, toAccountId, toAssetId, toBudgetId, toCountryCode, toCurrencyCode, toAddress as toEvmAddress, toHandle, toOrgId, toPartyId, toPayrollGroupId, toPermissionAssignmentId, toPermissionId, toRaw, valueActivitySummary, valueIn, withheld };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as
|
|
3
|
-
import { d as devPrivateKeySigner, f as createOpenfortBrowserSigner, h as openfortEmbeddedWalletPort, i as postHogObservability, m as openfortEmbeddedSignerFromWallet, p as embeddedSigner, t as createCapxulClient$1, u as deriveDevPrivateKey } from "./production-
|
|
1
|
+
import { p as decodePermissionIntent } from "./organizations-DPpyjjx2.mjs";
|
|
2
|
+
import { $ as assetSymbolFor, $i as PROVIDERS, $r as toAccountId, $t as projectSdkException, Ci as toAddress, Cn as toPartyId, Cr as PayrollGroupIdSchema, Et as CAPXUL_PAYMENTS_V2_ADDRESS, Fr as CHAIN_UPSTREAMS, I as decodePayrollRunInput, K as isCheckoutSettlementConsumed, L as toPayrollGroupId, Lr as CAPXUL_ERROR_CODES, Nr as ORGANIZATION_SETUP_REASONS, Qt as normalizeExceptionOperation, Rr as EXPECTED_OPERATION_OUTCOMES, Rt as TOKENS, S as valueIn, Sn as toHandle, Tr as FixedOfferDraftSchema, Ut as CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, Vt as failureDetail, Y as withheld, Yt as failureProperties, Zi as Errors, Zt as SDK_VERSION, _i as currencySymbolFor, a as paymentPhase, aa as isFailureMode, an as isSettingUpLifecycle, at as parseMoney, ci as PAYMENT_DIRECTIONS, cr as failureClass, dr as CAPXUL_OPERATIONS, ea as PROVIDER_PROBLEMS, ei as PaymentDocumentOptionsSchema, en as safeExceptionLabel, et as formatAssetAmount, fi as toBudgetId, fr as isCapxulOperation, i as inboxPhase, ia as FAILURE_MODES, it as isMoneyParseError, li as PAYMENT_STATUSES, ln as injectedWalletSigner, lr as EXCEPTION_EVENT_NAME, mi as toPermissionId, mn as signerFailure, na as CapxulError, nt as requireAsset, o as requestPhase, oi as WARNING_CODES, pi as toPermissionAssignmentId, pr as normalizeCapxulOperation, ra as isCapxulError, rt as toRaw, si as hasWarningCode, sr as FAILURE_CLASSES, st as fingerprintPaymentIntent, tn as sdkEvidence, tt as parseAssetAmount, vi as toAssetId, vn as toCountryCode, wr as PayrollGroupInputSchema, x as valueActivitySummary, xi as EVM_ADDRESS_RE, xn as HANDLE_RE, y as positionPeg, yi as toCurrencyCode, zr as toOrgId } from "./access-aMjL10vw.mjs";
|
|
3
|
+
import { d as devPrivateKeySigner, f as createOpenfortBrowserSigner, h as openfortEmbeddedWalletPort, i as postHogObservability, m as openfortEmbeddedSignerFromWallet, p as embeddedSigner, t as createCapxulClient$1, u as deriveDevPrivateKey } from "./production-PGbIhEG0.mjs";
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { privateKeyToAccount } from "viem/accounts";
|
|
6
6
|
//#region src/access/identity/selectors.ts
|
|
@@ -258,8 +258,10 @@ function buildExceptionList(input) {
|
|
|
258
258
|
* Capture an error as a `$exception` event through the telemetry port,
|
|
259
259
|
* formatted for PostHog Error Tracking.
|
|
260
260
|
*
|
|
261
|
-
*
|
|
262
|
-
*
|
|
261
|
+
* The failure facts are the failure row (`failureProperties`, ADR-0039 D6)
|
|
262
|
+
* under the full text policy. An error that is not a `CapxulError` is
|
|
263
|
+
* reported as `UNKNOWN`; its text is withheld, since a host error can quote
|
|
264
|
+
* anything. Parses stack traces into `$exception_list` format.
|
|
263
265
|
* Fire-and-forget: telemetry defects are silently swallowed.
|
|
264
266
|
* Returns `Effect<void, never>` for use in Effect pipelines; the underlying
|
|
265
267
|
* adapter work is synchronous, so callers outside Effect contexts can
|
|
@@ -268,40 +270,29 @@ function buildExceptionList(input) {
|
|
|
268
270
|
function captureException(telemetry, error, context) {
|
|
269
271
|
return Effect.catchDefect(Effect.sync(() => {
|
|
270
272
|
const frames = error instanceof Error ? parseV8StackFrames(error) : [];
|
|
271
|
-
const
|
|
272
|
-
const
|
|
273
|
-
const
|
|
274
|
-
const
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
const properties = {
|
|
281
|
-
capxul_error_code: errorCode,
|
|
282
|
-
...detail,
|
|
283
|
-
error_message: EXCEPTION_MESSAGE,
|
|
284
|
-
error_details: detail,
|
|
285
|
-
error_cause: detail.reason ?? failureMode,
|
|
286
|
-
layer: safeExceptionLabel(capxulError?.layer ?? context?.layer),
|
|
287
|
-
provider: detail.provider ?? safeExceptionLabel(context?.provider)
|
|
288
|
-
};
|
|
289
|
-
for (const key of Object.keys(properties)) if (properties[key] === void 0) delete properties[key];
|
|
273
|
+
const reported = reportedError(error, context);
|
|
274
|
+
const { chain_provider_message: _providerMessage, chain_revert_args: _revertArguments, ...detail } = failureDetail(reported) ?? {};
|
|
275
|
+
const operation = normalizeExceptionOperation(context?.operation ?? detail.provider_operation);
|
|
276
|
+
const row = failureProperties(reported, {
|
|
277
|
+
operation,
|
|
278
|
+
text: "full"
|
|
279
|
+
});
|
|
280
|
+
const message = row.error_message ?? "Capxul SDK operation failed";
|
|
281
|
+
const layer = safeExceptionLabel(reported.layer ?? context?.layer);
|
|
290
282
|
const props = projectSdkException({
|
|
291
|
-
properties
|
|
283
|
+
properties: {
|
|
284
|
+
...sdkEvidence(detail),
|
|
285
|
+
...Object.keys(detail).length === 0 ? {} : { error_details: detail },
|
|
286
|
+
...layer === void 0 ? {} : { layer }
|
|
287
|
+
},
|
|
288
|
+
row,
|
|
292
289
|
sdkVersion: SDK_VERSION,
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
message: EXCEPTION_MESSAGE,
|
|
297
|
-
issueDescription: detail.reason ?? failureMode,
|
|
298
|
-
...detail.chain_upstream === void 0 ? {} : { chainUpstream: detail.chain_upstream },
|
|
299
|
-
...detail.chain_method === void 0 ? {} : { chainMethod: detail.chain_method },
|
|
300
|
-
...detail.chain_http_status === void 0 ? {} : { chainHttpStatus: detail.chain_http_status },
|
|
301
|
-
...detail.chain_rpc_code === void 0 ? {} : { chainRpcCode: detail.chain_rpc_code },
|
|
290
|
+
exceptionType: row.error_kind,
|
|
291
|
+
message,
|
|
292
|
+
...detail.reason === void 0 ? {} : { issueDescription: detail.reason },
|
|
302
293
|
exceptionList: buildExceptionList({
|
|
303
|
-
type:
|
|
304
|
-
value:
|
|
294
|
+
type: row.error_kind,
|
|
295
|
+
value: message,
|
|
305
296
|
operation,
|
|
306
297
|
frames
|
|
307
298
|
})
|
|
@@ -313,6 +304,19 @@ function captureException(telemetry, error, context) {
|
|
|
313
304
|
}).pipe(Effect.flatten), () => Effect.void);
|
|
314
305
|
}
|
|
315
306
|
/**
|
|
307
|
+
* The failure to report: a `CapxulError` as it is, anything else as `UNKNOWN`
|
|
308
|
+
* with what was thrown withheld and the context's provider and mode.
|
|
309
|
+
*/
|
|
310
|
+
function reportedError(error, context) {
|
|
311
|
+
if (isCapxulError(error)) return error;
|
|
312
|
+
const provider = safeExceptionLabel(context?.provider);
|
|
313
|
+
return new CapxulError("UNKNOWN", "Unknown error", {
|
|
314
|
+
cause: withheld(error, "a host error's text is not reported"),
|
|
315
|
+
...isFailureMode(context?.failure_mode) ? { mode: context.failure_mode } : {},
|
|
316
|
+
...provider === void 0 ? {} : { details: { provider } }
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
316
320
|
* Synchronous fire-and-forget capture. Runs the Effect inline with
|
|
317
321
|
* `Effect.runSync` so callers outside an Effect context can report errors
|
|
318
322
|
* without awaiting. Core SDK public methods use the assembled observation
|
|
@@ -345,4 +349,4 @@ function checkoutUrl(frontendOrigin, reference) {
|
|
|
345
349
|
return result.href;
|
|
346
350
|
}
|
|
347
351
|
//#endregion
|
|
348
|
-
export { CAPXUL_ERROR_CODES, CAPXUL_OPERATIONS, CAPXUL_PAYMENTS_V2_ADDRESS, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, CHAIN_UPSTREAMS, CapxulError, EVM_ADDRESS_RE, EXPECTED_OPERATION_OUTCOMES, Errors, FAILURE_MODES, FixedOfferDraftSchema, HANDLE_RE, ORGANIZATION_SETUP_REASONS, PAYMENT_DIRECTIONS, PAYMENT_STATUSES, PaymentDocumentOptionsSchema, PayrollGroupIdSchema, PayrollGroupInputSchema, TOKENS, assetSymbolFor, captureException, captureExceptionSync, checkoutUrl, createCapxulClient, createOpenfortBrowserSigner, decodePayrollRunInput, decodePermissionIntent, deriveDevPrivateKey, devPrivateKeySigner, eip1193AccountProvider, embeddedSigner, fingerprintPaymentIntent, formatAssetAmount, formatMoney, inboxPhase, injectedWalletSigner, isCapxulError, isCapxulOperation, isCheckoutSettlementConsumed, isClaimed, isMoneyParseError, isRestoring, isSettingUpLifecycle, localPrivateKeyAccountProvider, normalizeCapxulOperation, openfortEmbeddedSignerFromWallet, openfortEmbeddedWalletPort, parseAssetAmount, parseMoney, paymentPhase, positionPeg, postHogObservability, requestPhase, requireAsset, destination as resolveIdentityDestination, toAccountId, toAssetId, toBudgetId, toCountryCode, toCurrencyCode, toAddress as toEvmAddress, toHandle, toOrgId, toPartyId, toPayrollGroupId, toPermissionAssignmentId, toPermissionId, toRaw, valueActivitySummary, valueIn };
|
|
352
|
+
export { CAPXUL_ERROR_CODES, CAPXUL_OPERATIONS, CAPXUL_PAYMENTS_V2_ADDRESS, CAPXUL_SDK_EXPECTED_OUTCOME_EVENT, CHAIN_UPSTREAMS, CapxulError, EVM_ADDRESS_RE, EXPECTED_OPERATION_OUTCOMES, Errors, FAILURE_CLASSES, FAILURE_MODES, FixedOfferDraftSchema, HANDLE_RE, ORGANIZATION_SETUP_REASONS, PAYMENT_DIRECTIONS, PAYMENT_STATUSES, PROVIDERS, PROVIDER_PROBLEMS, PaymentDocumentOptionsSchema, PayrollGroupIdSchema, PayrollGroupInputSchema, TOKENS, WARNING_CODES, assetSymbolFor, captureException, captureExceptionSync, checkoutUrl, createCapxulClient, createOpenfortBrowserSigner, decodePayrollRunInput, decodePermissionIntent, deriveDevPrivateKey, devPrivateKeySigner, eip1193AccountProvider, embeddedSigner, failureClass, failureProperties, fingerprintPaymentIntent, formatAssetAmount, formatMoney, hasWarningCode, inboxPhase, injectedWalletSigner, isCapxulError, isCapxulOperation, isCheckoutSettlementConsumed, isClaimed, isMoneyParseError, isRestoring, isSettingUpLifecycle, localPrivateKeyAccountProvider, normalizeCapxulOperation, openfortEmbeddedSignerFromWallet, openfortEmbeddedWalletPort, parseAssetAmount, parseMoney, paymentPhase, positionPeg, postHogObservability, requestPhase, requireAsset, destination as resolveIdentityDestination, toAccountId, toAssetId, toBudgetId, toCountryCode, toCurrencyCode, toAddress as toEvmAddress, toHandle, toOrgId, toPartyId, toPayrollGroupId, toPermissionAssignmentId, toPermissionId, toRaw, valueActivitySummary, valueIn, withheld };
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Aa as CapxulSigner, Ms as AuthSession, Xo as oauthBearerAuthClient, Yo as OAuthBearerAuthClientInput, is as CachedJwt, ns as AuthCachePort, rs as AuthCachePortTag, ts as AuthCacheError } from "../index-DzfcTT6t.mjs";
|
|
2
2
|
import { Effect, FileSystem, Layer, Path } from "effect";
|
|
3
3
|
import { Hex } from "viem";
|
|
4
4
|
//#region src/access/auth-cache/file-system.d.ts
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bi as InMemoryAuthCacheAdapter, Ci as toAddress, Hi as parseAuthSession, Ui as parseCachedJwt, Un as oauthBearerAuthClient, Vi as BrowserAuthCacheAdapter, ca as AuthCacheError, la as AuthCachePortTag, oa as isRecord, zi as globalLocalStorage } from "../access-aMjL10vw.mjs";
|
|
2
2
|
import { Effect, FileSystem, Layer, Option, Path } from "effect";
|
|
3
3
|
import { privateKeyToAccount } from "viem/accounts";
|
|
4
4
|
import * as os from "node:os";
|