@primitivedotdev/sdk 1.14.2 → 1.14.3

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.
@@ -1,5 +1,5 @@
1
- import { $ as deleteOrgSecret, $a as Endpoint, $c as ListOrgSecretsData, $d as SetOrgSecretInput, $f as UnpublishAgentResponses, $i as DeleteFunctionSecretError, $l as PublishAgentResponse, $n as Conversation, $o as GetFunctionRoutingError, $p as UpdateSpendPolicyResponses, $r as CreateOrgSecretInput, $s as IdempotencyKey, $t as sendEmail, $u as RotateWebhookSecretData, A as RequestOptions$1, Aa as DownloadDomainZoneFileData, Ac as ListEndpointsResponse, Ad as SendPermissionAddress, Af as StartCliSignupInput, Ai as DeleteDomainResponse, Al as ListSentEmailsResponse, Am as X402PaymentPayload, An as AddDomainResponse, Ao as GetAgentResponse, Ap as UpdateFunctionData, Ar as CreateEndpointResponses, As as GetSentEmailErrors, At as listFunctions, Au as ReplyToEmailData, B as createFunction, Ba as EmailAddress, Bc as ListFunctionLogsErrors, Bd as SetFunctionRouteError, Bf as TestFunctionData, Bi as DeleteEndpointResponse, Bl as PayChallengeResponse, Bm as Options, Bn as AgentSignupVerifyResult, Bo as GetConversationResponse, Bp as UpdateRegistryResponse, Br as CreateFunctionInput, Bs as GetStorageStatsErrors, Bt as publishAgent, Bu as ResendAgentSignupVerificationResponses, C as VerifyOptions, Ca as DomainDnsRecord, Cc as ListEmailsError, Cd as SendEmailError, Cf as StartCliLoginErrors, Ci as DefineAgentErrors, Cl as ListRoutesError, Cm as VerifyDomainResponses, Cn as verifyDomain, Co as GetAccountError, Cp as UpdateEndpointResponses, Cr as CreateEmailChallengeResponse, Cs as GetSendPermissionsData, Ct as listDeliveries, Cu as ReplayDeliveryResponses, D as PrimitiveApiClientOptions, Da as DownloadAttachmentsErrors, Dc as ListEndpointsData, Dd as SendMailAttachment, Df as StartCliSignupData, Di as DeleteDomainData, Dl as ListSentEmailsData, Dm as X402EmailChallenge, Dn as AddDomainError, Do as GetAgentData, Dp as UpdateFilterInput, Dr as CreateEndpointErrors, Ds as GetSendPermissionsResponses, Dt as listFilters, Du as ReplayEmailWebhooksResponse, E as PrimitiveApiClient, Ea as DownloadAttachmentsError, Ec as ListEmailsResponses, Ed as SendEmailResponses, Ef as StartCliLoginResponses, Ei as DefineAgentResponses, El as ListRoutesResponses, Em as X402DeclinedPayment, En as AddDomainData, Eo as GetAccountResponses, Ep as UpdateFilterErrors, Er as CreateEndpointError, Es as GetSendPermissionsResponse, Et as listEndpoints, Eu as ReplayEmailWebhooksErrors, F as createAgentClaimLink, Fa as DownloadRawEmailData, Fc as ListFiltersErrors, Fd as SendPermissionsMeta, Ff as TestEndpointData, Fi as DeleteEmailResponse, Fl as ParsedEmailData, Fm as createClient, Fn as AgentClaimResult, Fo as GetChallengeResponse, Fp as UpdateFunctionResponses, Fr as CreateFilterResponse, Fs as GetSpendPolicyErrors, Ft as listRegistryRequests, Fu as ResendAgentSignupVerificationData, G as decideRegistryRequest, Ga as EmailSearchFacetBucket, Gc as ListFunctionSecretsErrors, Gd as SetFunctionSecretError, Gf as TestInvocationResult, Gi as DeleteFilterResponse, Gl as PollCliLoginErrors, Gm as Auth, Gn as CliLogoutErrors, Go as GetEmailResponse, Gp as UpdateRouteInput, Gr as CreateFunctionSecretError, Gs as GetThreadErrors, Gt as replyToEmail, Gu as ResendCliSignupVerificationResponse, H as createOrgSecret, Ha as EmailAuth, Hc as ListFunctionLogsResponses, Hd as SetFunctionRouteResponse, Hf as TestFunctionErrors, Hi as DeleteFilterData, Hl as PlanLimits, Hm as RequestResult, Hn as CliLoginStartResult, Ho as GetEmailData, Hp as UpdateRouteData, Hr as CreateFunctionResponses, Hs as GetStorageStatsResponses, Ht as reorderRoutes, Hu as ResendCliSignupVerificationError, I as createChallenge, Ia as DownloadRawEmailError, Ic as ListFiltersResponse, Id as SentEmailDetail, If as TestEndpointError, Ii as DeleteEmailResponses, Il as PayChallengeData, Im as Client, In as AgentClaimStartResult, Io as GetChallengeResponses, Ip as UpdateRegistryData, Ir as CreateFilterResponses, Is as GetSpendPolicyResponse, It as listRoutes, Iu as ResendAgentSignupVerificationError, J as deleteEmail, Ja as EmailSearchMeta, Jc as ListFunctionsData, Jd as SetFunctionSecretResponse, Jf as ThreadMessage, Ji as DeleteFunctionError, Jl as PollCliLoginResponses, Jn as CliLogoutResponses, Jo as GetFunctionError, Jp as UpdateSpendPolicyData, Jr as CreateFunctionSecretResponse, Js as GetWebhookSecretData, Jt as resolveRegistryHandle, Ju as ResolveRegistryHandleError, K as defineAgent, Ka as EmailSearchFacets, Kc as ListFunctionSecretsResponse, Kd as SetFunctionSecretErrors, Kf as TestResult, Ki as DeleteFilterResponses, Kl as PollCliLoginInput, Kn as CliLogoutInput, Ko as GetEmailResponses, Kp as UpdateRouteResponse, Kr as CreateFunctionSecretErrors, Ks as GetThreadResponse, Kt as resendAgentSignupVerification, Ku as ResendCliSignupVerificationResponses, L as createEmailChallenge, La as DownloadRawEmailErrors, Lc as ListFiltersResponses, Ld as SentEmailStatus, Lf as TestEndpointErrors, Li as DeleteEndpointData, Ll as PayChallengeError, Lm as ClientOptions, Ln as AgentOrgRef, Lo as GetConversationData, Lp as UpdateRegistryError, Lr as CreateFunctionData, Ls as GetSpendPolicyResponses, Lt as listSentEmails, Lu as ResendAgentSignupVerificationErrors, M as addDomain, Ma as DownloadDomainZoneFileErrors, Mc as ListEnvelope, Md as SendPermissionManagedZone, Mf as StartCliSignupResponses, Mi as DeleteEmailData, Ml as OrgSecretListItem, Mm as X402PayoutAddress, Mn as AgentAccountResult, Mo as GetChallengeData, Mp as UpdateFunctionErrors, Mr as CreateFilterError, Ms as GetSentEmailResponses, Mt as listPayoutAddresses, Mu as ReplyToEmailErrors, N as cliLogout, Na as DownloadDomainZoneFileResponse, Nc as ListFiltersData, Nd as SendPermissionRule, Nf as StorageStats, Ni as DeleteEmailError, Nl as OrgSecretWriteResult, Nm as X402Receipt, Nn as AgentAccountUpgradeHint, No as GetChallengeError, Np as UpdateFunctionInput, Nr as CreateFilterErrors, Ns as GetSpendPolicyData, Nt as listRegistries, Nu as ReplyToEmailResponse, O as PrimitiveApiError, Oa as DownloadAttachmentsResponse, Oc as ListEndpointsError, Od as SendMailInput, Of as StartCliSignupError, Oi as DeleteDomainError, Ol as ListSentEmailsError, Om as X402EmailChallengeDetails, On as AddDomainErrors, Oo as GetAgentError, Op as UpdateFilterResponse, Or as CreateEndpointInput, Os as GetSentEmailData, Ot as listFunctionLogs, Ou as ReplayEmailWebhooksResponses, P as createAgentAccount, Pa as DownloadDomainZoneFileResponses, Pc as ListFiltersError, Pd as SendPermissionYourDomain, Pf as SuccessEnvelope, Pi as DeleteEmailErrors, Pl as PaginationMeta, Pm as X402SpendPolicy, Pn as AgentClaimLinkResult, Po as GetChallengeErrors, Pp as UpdateFunctionResponse, Pr as CreateFilterInput, Ps as GetSpendPolicyError, Pt as listRegistryAgents, Pu as ReplyToEmailResponses, Q as deleteFunctionSecret, Qa as EmailWebhookStatus, Qc as ListFunctionsResponses, Qd as SetOrgSecretErrors, Qf as UnpublishAgentResponse, Qi as DeleteFunctionSecretData, Ql as PublishAgentInput, Qn as CliSignupVerifyResult, Qo as GetFunctionRoutingData, Qp as UpdateSpendPolicyResponse, Qr as CreateOrgSecretErrors, Qs as GetWebhookSecretResponses, Qt as semanticSearch, Qu as ResourceId, R as createEndpoint, Ra as DownloadRawEmailResponse, Rc as ListFunctionLogsData, Rd as SentEmailSummary, Rf as TestEndpointResponse, Ri as DeleteEndpointError, Rl as PayChallengeErrors, Rm as Config, Rn as AgentSignupResendResult, Ro as GetConversationError, Rp as UpdateRegistryErrors, Rr as CreateFunctionError, Rs as GetStorageStatsData, Rt as payChallenge, Ru as ResendAgentSignupVerificationInput, S as PRIMITIVE_SIGNATURE_HEADER, Sa as Domain, Sc as ListEmailsData, Sd as SendEmailData, Sf as StartCliLoginError, Si as DefineAgentError, Sl as ListRoutesData, Sm as VerifyDomainResponse, Sn as verifyCliSignup, So as GetAccountData, Sp as UpdateEndpointResponse, Sr as CreateEmailChallengeInput, Ss as GetRegistryResponses, St as listDeclinedPayments, Su as ReplayDeliveryResponse, T as DEFAULT_API_BASE_URL, Ta as DownloadAttachmentsData, Tc as ListEmailsResponse, Td as SendEmailResponse, Tf as StartCliLoginResponse, Ti as DefineAgentResponse, Tl as ListRoutesResponse, Tm as X402Challenge, Tn as AccountUpdated, To as GetAccountResponse, Tp as UpdateFilterError, Tr as CreateEndpointData, Ts as GetSendPermissionsErrors, Tt as listEmails, Tu as ReplayEmailWebhooksError, U as createRegistry, Ua as EmailDetail, Uc as ListFunctionSecretsData, Ud as SetFunctionRouteResponses, Uf as TestFunctionResponse, Ui as DeleteFilterError, Ul as PollCliLoginData, Um as ResponseStyle, Un as CliLogoutData, Uo as GetEmailError, Up as UpdateRouteError, Ur as CreateFunctionResult, Us as GetThreadData, Ut as replayDelivery, Uu as ResendCliSignupVerificationErrors, V as createFunctionSecret, Va as EmailAttachment, Vc as ListFunctionLogsResponse, Vd as SetFunctionRouteErrors, Vf as TestFunctionError, Vi as DeleteEndpointResponses, Vl as PayChallengeResponses, Vm as RequestOptions, Vn as CliLoginPollResult, Vo as GetConversationResponses, Vp as UpdateRegistryResponses, Vr as CreateFunctionResponse, Vs as GetStorageStatsResponse, Vt as registerPayoutAddress, Vu as ResendCliSignupVerificationData, W as createRoute, Wa as EmailDetailReply, Wc as ListFunctionSecretsError, Wd as SetFunctionSecretData, Wf as TestFunctionResponses, Wi as DeleteFilterErrors, Wl as PollCliLoginError, Wm as createConfig, Wn as CliLogoutError, Wo as GetEmailErrors, Wp as UpdateRouteErrors, Wr as CreateFunctionSecretData, Ws as GetThreadError, Wt as replayEmailWebhooks, Wu as ResendCliSignupVerificationInput, X as deleteFilter, Xa as EmailStatus, Xc as ListFunctionsErrors, Xd as SetOrgSecretData, Xf as UnpublishAgentError, Xi as DeleteFunctionResponse, Xl as PublishAgentError, Xn as CliSignupResendResult, Xo as GetFunctionResponse, Xp as UpdateSpendPolicyErrors, Xr as CreateOrgSecretData, Xs as GetWebhookSecretErrors, Xt as sdk_gen_d_exports, Xu as ResolveRegistryHandleResponse, Y as deleteEndpoint, Ya as EmailSearchResult, Yc as ListFunctionsError, Yd as SetFunctionSecretResponses, Yf as UnpublishAgentData, Yi as DeleteFunctionErrors, Yl as PublishAgentData, Yn as CliLogoutResult, Yo as GetFunctionErrors, Yp as UpdateSpendPolicyError, Yr as CreateFunctionSecretResponses, Ys as GetWebhookSecretError, Yt as rotateWebhookSecret, Yu as ResolveRegistryHandleErrors, Z as deleteFunction, Za as EmailSummary, Zc as ListFunctionsResponse, Zd as SetOrgSecretError, Zf as UnpublishAgentErrors, Zi as DeleteFunctionResponses, Zl as PublishAgentErrors, Zn as CliSignupStartResult, Zo as GetFunctionResponses, Zp as UpdateSpendPolicyInput, Zr as CreateOrgSecretError, Zs as GetWebhookSecretResponse, Zt as searchEmails, Zu as ResolveRegistryHandleResponses, _ as SendThreadInput, _a as DiscardEmailContentError, _c as ListDomainsData, _d as SemanticSearchMeta, _f as StartAgentSignupErrors, _i as DecideRegistryRequestErrors, _l as ListRegistryRequestsData, _m as VerifyCliSignupResponse, _n as updateRegistry, _o as FunctionTestRunSend, _p as UpdateDomainResponses, _r as CreateChallengeResponse, _s as GetOrgRoutingTopologyResponses, _t as getSentEmail, _u as ReorderRoutesResponse, a as ForwardInput, aa as DeleteOrgSecretErrors, ac as InboxStatusRecentEmailSummary, ad as RoutingTopology, af as SimulateRouteInput, ai as CreateRegistryInput, al as ListPayoutAddressesError, am as VerifyAgentClaimResponse, an as startAgentSignup, ao as FunctionLogRow, ap as UnverifiedDomain, ar as CreateAgentAccountResponse, as as GetFunctionTestRunTraceErrors, at as getAccount, au as RegisterPayoutAddressError, b as createAgent, ba as DiscardEmailContentResponses, bc as ListDomainsResponse, bd as SemanticSearchScoreBreakdown, bf as StartAgentSignupResponses, bi as DecideRegistryRequestResponses, bl as ListRegistryRequestsResponse, bm as VerifyDomainError, bn as verifyAgentClaim, bo as GateDenial, bp as UpdateEndpointErrors, br as CreateEmailChallengeError, bs as GetRegistryErrors, bt as getThread, bu as ReplayDeliveryError, c as InboxStreamOptions, ca as DeleteRouteData, cc as ListDeclinedPaymentsError, cd as SearchEmailsErrors, cf as SimulateRouteResult, ci as CreateRouteData, cl as ListPayoutAddressesResponses, cm as VerifyAgentSignupError, cn as testEndpoint, co as FunctionRouting, cp as UpdateAccountErrors, cr as CreateAgentClaimLinkError, cs as GetInboxStatusData, ct as getConversation, cu as RegisterPayoutAddressResponse, d as ReplyInput, da as DeleteRouteResponse, dc as ListDeclinedPaymentsResponses, dd as SemanticSearchCoverage, df as StartAgentClaimErrors, di as CreateRouteInput, dl as ListRegistriesErrors, dm as VerifyAgentSignupResponse, dn as unsetFunctionRoute, do as FunctionTestRun, dp as UpdateAccountResponses, dr as CreateAgentClaimLinkResponse, ds as GetInboxStatusResponse, dt as getFunctionRouting, du as RegistryAgent, ea as DeleteFunctionSecretErrors, ec as InboxStatus, ed as RotateWebhookSecretError, ef as SetOrgSecretResponse, ei as CreateOrgSecretResponse, el as ListOrgSecretsError, em as VerifiedDomain, en as setFunctionRoute, eo as ErrorResponse, ep as UnsetFunctionRouteData, er as ConversationMessage, es as GetFunctionRoutingErrors, et as deleteRoute, eu as PublishAgentResponses, f as RequestOptions$2, fa as DeleteRouteResponses, fc as ListDeliveriesData, fd as SemanticSearchData, ff as StartAgentClaimInput, fi as CreateRouteResponse, fl as ListRegistriesResponse, fm as VerifyAgentSignupResponses, fn as updateAccount, fo as FunctionTestRunDelivery, fp as UpdateDomainData, fr as CreateAgentClaimLinkResponses, fs as GetInboxStatusResponses, ft as getFunctionTestRunTrace, fu as RegistryRequest, g as SendResult, ga as DiscardEmailContentData, gc as ListDeliveriesResponses, gd as SemanticSearchInput, gf as StartAgentSignupError, gi as DecideRegistryRequestError, gl as ListRegistryAgentsResponses, gm as VerifyCliSignupInput, gn as updateFunction, go as FunctionTestRunReply, gp as UpdateDomainResponse, gr as CreateChallengeInput, gs as GetOrgRoutingTopologyResponse, gt as getSendPermissions, gu as ReorderRoutesInput, h as SendInput, ha as DiscardContentResult, hc as ListDeliveriesResponse, hd as SemanticSearchField, hf as StartAgentSignupData, hi as DecideRegistryRequestData, hl as ListRegistryAgentsResponse, hm as VerifyCliSignupErrors, hn as updateFilter, ho as FunctionTestRunOutboundRequest, hp as UpdateDomainInput, hr as CreateChallengeErrors, hs as GetOrgRoutingTopologyErrors, ht as getRegistry, hu as ReorderRoutesErrors, i as CreatedAgent, ia as DeleteOrgSecretError, ic as InboxStatusNextAction, id as RouteEvaluatedEntry, if as SimulateRouteErrors, ii as CreateRegistryErrors, il as ListPayoutAddressesData, im as VerifyAgentClaimInput, in as startAgentClaim, io as FunctionListItem, ip as UnsetFunctionRouteResponses, ir as CreateAgentAccountInput, is as GetFunctionTestRunTraceError, it as downloadRawEmail, iu as RegisterPayoutAddressData, j as createPrimitiveApiClient, ja as DownloadDomainZoneFileError, jc as ListEndpointsResponses, jd as SendPermissionAnyRecipient, jf as StartCliSignupResponse, ji as DeleteDomainResponses, jl as ListSentEmailsResponses, jm as X402PaymentRequirements, jn as AddDomainResponses, jo as GetAgentResponses, jp as UpdateFunctionError, jr as CreateFilterData, js as GetSentEmailResponse, jt as listOrgSecrets, ju as ReplyToEmailError, k as PrimitiveApiErrorDetails, ka as DownloadAttachmentsResponses, kc as ListEndpointsErrors, kd as SendMailResult, kf as StartCliSignupErrors, ki as DeleteDomainErrors, kl as ListSentEmailsErrors, km as X402NonceBinding, kn as AddDomainInput, ko as GetAgentErrors, kp as UpdateFilterResponses, kr as CreateEndpointResponse, ks as GetSentEmailError, kt as listFunctionSecrets, ku as ReplayResult, l as PrimitiveClient, la as DeleteRouteError, lc as ListDeclinedPaymentsErrors, ld as SearchEmailsResponse, lf as StartAgentClaimData, li as CreateRouteError, ll as ListRegistriesData, lm as VerifyAgentSignupErrors, ln as testFunction, lo as FunctionSecretListItem, lp as UpdateAccountInput, lr as CreateAgentClaimLinkErrors, ls as GetInboxStatusError, lt as getEmail, lu as RegisterPayoutAddressResponses, m as SendAttachment, ma as DeliverySummary, mc as ListDeliveriesErrors, md as SemanticSearchErrors, mf as StartAgentClaimResponses, mi as Cursor, ml as ListRegistryAgentsData, mm as VerifyCliSignupError, mn as updateEndpoint, mo as FunctionTestRunInboundEmail, mp as UpdateDomainErrors, mr as CreateChallengeError, ms as GetOrgRoutingTopologyError, mt as getOrgRoutingTopology, mu as ReorderRoutesError, n as AgentResource, na as DeleteFunctionSecretResponses, nc as InboxStatusEndpointSummary, nd as RotateWebhookSecretResponse, nf as SimulateRouteData, ni as CreateRegistryData, nl as ListOrgSecretsResponse, nm as VerifyAgentClaimError, nn as setOrgSecret, no as FunctionDeployStatus, np as UnsetFunctionRouteErrors, nr as CreateAgentAccountError, ns as GetFunctionRoutingResponses, nt as downloadAttachments, nu as PublishPolicy, o as InboundEmail, oa as DeleteOrgSecretResponse, oc as Limit, od as SearchEmailsData, of as SimulateRouteResponse, oi as CreateRegistryResponse, ol as ListPayoutAddressesErrors, om as VerifyAgentClaimResponses, on as startCliLogin, oo as FunctionRouteBody, op as UpdateAccountData, or as CreateAgentAccountResponses, os as GetFunctionTestRunTraceResponse, ot as getAgent, ou as RegisterPayoutAddressErrors, p as SemanticSearchResponse, pa as DeliveryStatus, pc as ListDeliveriesError, pd as SemanticSearchError, pf as StartAgentClaimResponse, pi as CreateRouteResponses, pl as ListRegistriesResponses, pm as VerifyCliSignupData, pn as updateDomain, po as FunctionTestRunDeliveryEndpoint, pp as UpdateDomainError, pr as CreateChallengeData, ps as GetOrgRoutingTopologyData, pt as getInboxStatus, pu as ReorderRoutesData, q as deleteDomain, qa as EmailSearchHighlights, qc as ListFunctionSecretsResponses, qd as SetFunctionSecretInput, qf as Thread, qi as DeleteFunctionData, ql as PollCliLoginResponse, qn as CliLogoutResponse, qo as GetFunctionData, qp as UpdateRouteResponses, qr as CreateFunctionSecretInput, qs as GetThreadResponses, qt as resendCliSignupVerification, qu as ResolveRegistryHandleData, r as CreateAgentOptions, ra as DeleteOrgSecretData, rc as InboxStatusFunctionSummary, rd as RotateWebhookSecretResponses, rf as SimulateRouteError, ri as CreateRegistryError, rl as ListOrgSecretsResponses, rm as VerifyAgentClaimErrors, rn as simulateRoute, ro as FunctionDetail, rp as UnsetFunctionRouteResponse, rr as CreateAgentAccountErrors, rs as GetFunctionTestRunTraceData, rt as downloadDomainZoneFile, ru as RecipientRoute, s as InboxResource, sa as DeleteOrgSecretResponses, sc as ListDeclinedPaymentsData, sd as SearchEmailsError, sf as SimulateRouteResponses, si as CreateRegistryResponses, sl as ListPayoutAddressesResponse, sm as VerifyAgentSignupData, sn as startCliSignup, so as FunctionRouteResult, sp as UpdateAccountError, sr as CreateAgentClaimLinkData, ss as GetFunctionTestRunTraceResponses, st as getChallenge, su as RegisterPayoutAddressInput, t as AccountResource, ta as DeleteFunctionSecretResponse, tc as InboxStatusDomain, td as RotateWebhookSecretErrors, tf as SetOrgSecretResponses, ti as CreateOrgSecretResponses, tl as ListOrgSecretsErrors, tm as VerifyAgentClaimData, tn as setFunctionSecret, to as Filter, tp as UnsetFunctionRouteError, tr as CreateAgentAccountData, ts as GetFunctionRoutingResponse, tt as discardEmailContent, tu as PublishAgentResult, u as PrimitiveClientOptions, ua as DeleteRouteErrors, uc as ListDeclinedPaymentsResponse, ud as SearchEmailsResponses, uf as StartAgentClaimError, ui as CreateRouteErrors, ul as ListRegistriesError, um as VerifyAgentSignupInput, un as unpublishAgent, uo as FunctionSecretWriteResult, up as UpdateAccountResponse, ur as CreateAgentClaimLinkInput, us as GetInboxStatusErrors, ut as getFunction, uu as Registry, v as WaitForNextOptions, va as DiscardEmailContentErrors, vc as ListDomainsError, vd as SemanticSearchResponses, vf as StartAgentSignupInput, vi as DecideRegistryRequestInput, vl as ListRegistryRequestsError, vm as VerifyCliSignupResponses, vn as updateRoute, vo as FunctionTestRunState, vp as UpdateEndpointData, vr as CreateChallengeResponses, vs as GetRegistryData, vt as getSpendPolicy, vu as ReorderRoutesResponses, w as verifyWebhookSignature, wa as DomainVerifyResult, wc as ListEmailsErrors, wd as SendEmailErrors, wf as StartCliLoginInput, wi as DefineAgentInput, wl as ListRoutesErrors, wm as WebhookSecret, wn as Account, wo as GetAccountErrors, wp as UpdateFilterData, wr as CreateEmailChallengeResponses, ws as GetSendPermissionsError, wt as listDomains, wu as ReplayEmailWebhooksData, x as createPrimitiveClient, xa as DkimSignature, xc as ListDomainsResponses, xd as SemanticSearchSnippet, xf as StartCliLoginData, xi as DefineAgentData, xl as ListRegistryRequestsResponses, xm as VerifyDomainErrors, xn as verifyAgentSignup, xo as GateFix, xp as UpdateEndpointInput, xr as CreateEmailChallengeErrors, xs as GetRegistryResponse, xt as getWebhookSecret, xu as ReplayDeliveryErrors, y as client, ya as DiscardEmailContentResponse, yc as ListDomainsErrors, yd as SemanticSearchResult, yf as StartAgentSignupResponse, yi as DecideRegistryRequestResponse, yl as ListRegistryRequestsErrors, ym as VerifyDomainData, yn as updateSpendPolicy, yo as FunctionTestRunTrace, yp as UpdateEndpointError, yr as CreateEmailChallengeData, ys as GetRegistryError, yt as getStorageStats, yu as ReplayDeliveryData, z as createFilter, za as DownloadRawEmailResponses, zc as ListFunctionLogsError, zd as SetFunctionRouteData, zf as TestEndpointResponses, zi as DeleteEndpointErrors, zl as PayChallengeInput, zm as CreateClientConfig, zn as AgentSignupStartResult, zo as GetConversationErrors, zp as UpdateRegistryInput, zr as CreateFunctionErrors, zs as GetStorageStatsError, zt as pollCliLogin, zu as ResendAgentSignupVerificationResponse } from "../index-jyeoCq78.js";
1
+ import { $ as deleteOrgSecret, $a as Endpoint, $c as ListOrgSecretsData, $d as SetOrgSecretInput, $f as UnpublishAgentResponses, $i as DeleteFunctionSecretError, $l as PublishAgentResponse, $n as Conversation, $o as GetFunctionRoutingError, $p as UpdateSpendPolicyResponses, $r as CreateOrgSecretInput, $s as IdempotencyKey, $t as sendEmail, $u as RotateWebhookSecretData, A as RequestOptions$1, Aa as DownloadDomainZoneFileData, Ac as ListEndpointsResponse, Ad as SendPermissionAddress, Af as StartCliSignupInput, Ai as DeleteDomainResponse, Al as ListSentEmailsResponse, Am as X402PaymentPayload, An as AddDomainResponse, Ao as GetAgentResponse, Ap as UpdateFunctionData, Ar as CreateEndpointResponses, As as GetSentEmailErrors, At as listFunctions, Au as ReplyToEmailData, B as createFunction, Ba as EmailAddress, Bc as ListFunctionLogsErrors, Bd as SetFunctionRouteError, Bf as TestFunctionData, Bi as DeleteEndpointResponse, Bl as PayChallengeResponse, Bm as Options, Bn as AgentSignupVerifyResult, Bo as GetConversationResponse, Bp as UpdateRegistryResponse, Br as CreateFunctionInput, Bs as GetStorageStatsErrors, Bt as publishAgent, Bu as ResendAgentSignupVerificationResponses, C as VerifyOptions, Ca as DomainDnsRecord, Cc as ListEmailsError, Cd as SendEmailError, Cf as StartCliLoginErrors, Ci as DefineAgentErrors, Cl as ListRoutesError, Cm as VerifyDomainResponses, Cn as verifyDomain, Co as GetAccountError, Cp as UpdateEndpointResponses, Cr as CreateEmailChallengeResponse, Cs as GetSendPermissionsData, Ct as listDeliveries, Cu as ReplayDeliveryResponses, D as PrimitiveApiClientOptions, Da as DownloadAttachmentsErrors, Dc as ListEndpointsData, Dd as SendMailAttachment, Df as StartCliSignupData, Di as DeleteDomainData, Dl as ListSentEmailsData, Dm as X402EmailChallenge, Dn as AddDomainError, Do as GetAgentData, Dp as UpdateFilterInput, Dr as CreateEndpointErrors, Ds as GetSendPermissionsResponses, Dt as listFilters, Du as ReplayEmailWebhooksResponse, E as PrimitiveApiClient, Ea as DownloadAttachmentsError, Ec as ListEmailsResponses, Ed as SendEmailResponses, Ef as StartCliLoginResponses, Ei as DefineAgentResponses, El as ListRoutesResponses, Em as X402DeclinedPayment, En as AddDomainData, Eo as GetAccountResponses, Ep as UpdateFilterErrors, Er as CreateEndpointError, Es as GetSendPermissionsResponse, Et as listEndpoints, Eu as ReplayEmailWebhooksErrors, F as createAgentClaimLink, Fa as DownloadRawEmailData, Fc as ListFiltersErrors, Fd as SendPermissionsMeta, Ff as TestEndpointData, Fi as DeleteEmailResponse, Fl as ParsedEmailData, Fm as createClient, Fn as AgentClaimResult, Fo as GetChallengeResponse, Fp as UpdateFunctionResponses, Fr as CreateFilterResponse, Fs as GetSpendPolicyErrors, Ft as listRegistryRequests, Fu as ResendAgentSignupVerificationData, G as decideRegistryRequest, Ga as EmailSearchFacetBucket, Gc as ListFunctionSecretsErrors, Gd as SetFunctionSecretError, Gf as TestInvocationResult, Gi as DeleteFilterResponse, Gl as PollCliLoginErrors, Gm as Auth, Gn as CliLogoutErrors, Go as GetEmailResponse, Gp as UpdateRouteInput, Gr as CreateFunctionSecretError, Gs as GetThreadErrors, Gt as replyToEmail, Gu as ResendCliSignupVerificationResponse, H as createOrgSecret, Ha as EmailAuth, Hc as ListFunctionLogsResponses, Hd as SetFunctionRouteResponse, Hf as TestFunctionErrors, Hi as DeleteFilterData, Hl as PlanLimits, Hm as RequestResult, Hn as CliLoginStartResult, Ho as GetEmailData, Hp as UpdateRouteData, Hr as CreateFunctionResponses, Hs as GetStorageStatsResponses, Ht as reorderRoutes, Hu as ResendCliSignupVerificationError, I as createChallenge, Ia as DownloadRawEmailError, Ic as ListFiltersResponse, Id as SentEmailDetail, If as TestEndpointError, Ii as DeleteEmailResponses, Il as PayChallengeData, Im as Client, In as AgentClaimStartResult, Io as GetChallengeResponses, Ip as UpdateRegistryData, Ir as CreateFilterResponses, Is as GetSpendPolicyResponse, It as listRoutes, Iu as ResendAgentSignupVerificationError, J as deleteEmail, Ja as EmailSearchMeta, Jc as ListFunctionsData, Jd as SetFunctionSecretResponse, Jf as ThreadMessage, Ji as DeleteFunctionError, Jl as PollCliLoginResponses, Jn as CliLogoutResponses, Jo as GetFunctionError, Jp as UpdateSpendPolicyData, Jr as CreateFunctionSecretResponse, Js as GetWebhookSecretData, Jt as resolveRegistryHandle, Ju as ResolveRegistryHandleError, K as defineAgent, Ka as EmailSearchFacets, Kc as ListFunctionSecretsResponse, Kd as SetFunctionSecretErrors, Kf as TestResult, Ki as DeleteFilterResponses, Kl as PollCliLoginInput, Kn as CliLogoutInput, Ko as GetEmailResponses, Kp as UpdateRouteResponse, Kr as CreateFunctionSecretErrors, Ks as GetThreadResponse, Kt as resendAgentSignupVerification, Ku as ResendCliSignupVerificationResponses, L as createEmailChallenge, La as DownloadRawEmailErrors, Lc as ListFiltersResponses, Ld as SentEmailStatus, Lf as TestEndpointErrors, Li as DeleteEndpointData, Ll as PayChallengeError, Lm as ClientOptions, Ln as AgentOrgRef, Lo as GetConversationData, Lp as UpdateRegistryError, Lr as CreateFunctionData, Ls as GetSpendPolicyResponses, Lt as listSentEmails, Lu as ResendAgentSignupVerificationErrors, M as addDomain, Ma as DownloadDomainZoneFileErrors, Mc as ListEnvelope, Md as SendPermissionManagedZone, Mf as StartCliSignupResponses, Mi as DeleteEmailData, Ml as OrgSecretListItem, Mm as X402PayoutAddress, Mn as AgentAccountResult, Mo as GetChallengeData, Mp as UpdateFunctionErrors, Mr as CreateFilterError, Ms as GetSentEmailResponses, Mt as listPayoutAddresses, Mu as ReplyToEmailErrors, N as cliLogout, Na as DownloadDomainZoneFileResponse, Nc as ListFiltersData, Nd as SendPermissionRule, Nf as StorageStats, Ni as DeleteEmailError, Nl as OrgSecretWriteResult, Nm as X402Receipt, Nn as AgentAccountUpgradeHint, No as GetChallengeError, Np as UpdateFunctionInput, Nr as CreateFilterErrors, Ns as GetSpendPolicyData, Nt as listRegistries, Nu as ReplyToEmailResponse, O as PrimitiveApiError, Oa as DownloadAttachmentsResponse, Oc as ListEndpointsError, Od as SendMailInput, Of as StartCliSignupError, Oi as DeleteDomainError, Ol as ListSentEmailsError, Om as X402EmailChallengeDetails, On as AddDomainErrors, Oo as GetAgentError, Op as UpdateFilterResponse, Or as CreateEndpointInput, Os as GetSentEmailData, Ot as listFunctionLogs, Ou as ReplayEmailWebhooksResponses, P as createAgentAccount, Pa as DownloadDomainZoneFileResponses, Pc as ListFiltersError, Pd as SendPermissionYourDomain, Pf as SuccessEnvelope, Pi as DeleteEmailErrors, Pl as PaginationMeta, Pm as X402SpendPolicy, Pn as AgentClaimLinkResult, Po as GetChallengeErrors, Pp as UpdateFunctionResponse, Pr as CreateFilterInput, Ps as GetSpendPolicyError, Pt as listRegistryAgents, Pu as ReplyToEmailResponses, Q as deleteFunctionSecret, Qa as EmailWebhookStatus, Qc as ListFunctionsResponses, Qd as SetOrgSecretErrors, Qf as UnpublishAgentResponse, Qi as DeleteFunctionSecretData, Ql as PublishAgentInput, Qn as CliSignupVerifyResult, Qo as GetFunctionRoutingData, Qp as UpdateSpendPolicyResponse, Qr as CreateOrgSecretErrors, Qs as GetWebhookSecretResponses, Qt as semanticSearch, Qu as ResourceId, R as createEndpoint, Ra as DownloadRawEmailResponse, Rc as ListFunctionLogsData, Rd as SentEmailSummary, Rf as TestEndpointResponse, Ri as DeleteEndpointError, Rl as PayChallengeErrors, Rm as Config, Rn as AgentSignupResendResult, Ro as GetConversationError, Rp as UpdateRegistryErrors, Rr as CreateFunctionError, Rs as GetStorageStatsData, Rt as payChallenge, Ru as ResendAgentSignupVerificationInput, S as PRIMITIVE_SIGNATURE_HEADER, Sa as Domain, Sc as ListEmailsData, Sd as SendEmailData, Sf as StartCliLoginError, Si as DefineAgentError, Sl as ListRoutesData, Sm as VerifyDomainResponse, Sn as verifyCliSignup, So as GetAccountData, Sp as UpdateEndpointResponse, Sr as CreateEmailChallengeInput, Ss as GetRegistryResponses, St as listDeclinedPayments, Su as ReplayDeliveryResponse, T as DEFAULT_API_BASE_URL, Ta as DownloadAttachmentsData, Tc as ListEmailsResponse, Td as SendEmailResponse, Tf as StartCliLoginResponse, Ti as DefineAgentResponse, Tl as ListRoutesResponse, Tm as X402Challenge, Tn as AccountUpdated, To as GetAccountResponse, Tp as UpdateFilterError, Tr as CreateEndpointData, Ts as GetSendPermissionsErrors, Tt as listEmails, Tu as ReplayEmailWebhooksError, U as createRegistry, Ua as EmailDetail, Uc as ListFunctionSecretsData, Ud as SetFunctionRouteResponses, Uf as TestFunctionResponse, Ui as DeleteFilterError, Ul as PollCliLoginData, Um as ResponseStyle, Un as CliLogoutData, Uo as GetEmailError, Up as UpdateRouteError, Ur as CreateFunctionResult, Us as GetThreadData, Ut as replayDelivery, Uu as ResendCliSignupVerificationErrors, V as createFunctionSecret, Va as EmailAttachment, Vc as ListFunctionLogsResponse, Vd as SetFunctionRouteErrors, Vf as TestFunctionError, Vi as DeleteEndpointResponses, Vl as PayChallengeResponses, Vm as RequestOptions, Vn as CliLoginPollResult, Vo as GetConversationResponses, Vp as UpdateRegistryResponses, Vr as CreateFunctionResponse, Vs as GetStorageStatsResponse, Vt as registerPayoutAddress, Vu as ResendCliSignupVerificationData, W as createRoute, Wa as EmailDetailReply, Wc as ListFunctionSecretsError, Wd as SetFunctionSecretData, Wf as TestFunctionResponses, Wi as DeleteFilterErrors, Wl as PollCliLoginError, Wm as createConfig, Wn as CliLogoutError, Wo as GetEmailErrors, Wp as UpdateRouteErrors, Wr as CreateFunctionSecretData, Ws as GetThreadError, Wt as replayEmailWebhooks, Wu as ResendCliSignupVerificationInput, X as deleteFilter, Xa as EmailStatus, Xc as ListFunctionsErrors, Xd as SetOrgSecretData, Xf as UnpublishAgentError, Xi as DeleteFunctionResponse, Xl as PublishAgentError, Xn as CliSignupResendResult, Xo as GetFunctionResponse, Xp as UpdateSpendPolicyErrors, Xr as CreateOrgSecretData, Xs as GetWebhookSecretErrors, Xt as sdk_gen_d_exports, Xu as ResolveRegistryHandleResponse, Y as deleteEndpoint, Ya as EmailSearchResult, Yc as ListFunctionsError, Yd as SetFunctionSecretResponses, Yf as UnpublishAgentData, Yi as DeleteFunctionErrors, Yl as PublishAgentData, Yn as CliLogoutResult, Yo as GetFunctionErrors, Yp as UpdateSpendPolicyError, Yr as CreateFunctionSecretResponses, Ys as GetWebhookSecretError, Yt as rotateWebhookSecret, Yu as ResolveRegistryHandleErrors, Z as deleteFunction, Za as EmailSummary, Zc as ListFunctionsResponse, Zd as SetOrgSecretError, Zf as UnpublishAgentErrors, Zi as DeleteFunctionResponses, Zl as PublishAgentErrors, Zn as CliSignupStartResult, Zo as GetFunctionResponses, Zp as UpdateSpendPolicyInput, Zr as CreateOrgSecretError, Zs as GetWebhookSecretResponse, Zt as searchEmails, Zu as ResolveRegistryHandleResponses, _ as SendThreadInput, _a as DiscardEmailContentError, _c as ListDomainsData, _d as SemanticSearchMeta, _f as StartAgentSignupErrors, _i as DecideRegistryRequestErrors, _l as ListRegistryRequestsData, _m as VerifyCliSignupResponse, _n as updateRegistry, _o as FunctionTestRunSend, _p as UpdateDomainResponses, _r as CreateChallengeResponse, _s as GetOrgRoutingTopologyResponses, _t as getSentEmail, _u as ReorderRoutesResponse, a as ForwardInput, aa as DeleteOrgSecretErrors, ac as InboxStatusRecentEmailSummary, ad as RoutingTopology, af as SimulateRouteInput, ai as CreateRegistryInput, al as ListPayoutAddressesError, am as VerifyAgentClaimResponse, an as startAgentSignup, ao as FunctionLogRow, ap as UnverifiedDomain, ar as CreateAgentAccountResponse, as as GetFunctionTestRunTraceErrors, at as getAccount, au as RegisterPayoutAddressError, b as createAgent, ba as DiscardEmailContentResponses, bc as ListDomainsResponse, bd as SemanticSearchScoreBreakdown, bf as StartAgentSignupResponses, bi as DecideRegistryRequestResponses, bl as ListRegistryRequestsResponse, bm as VerifyDomainError, bn as verifyAgentClaim, bo as GateDenial, bp as UpdateEndpointErrors, br as CreateEmailChallengeError, bs as GetRegistryErrors, bt as getThread, bu as ReplayDeliveryError, c as InboxStreamOptions, ca as DeleteRouteData, cc as ListDeclinedPaymentsError, cd as SearchEmailsErrors, cf as SimulateRouteResult, ci as CreateRouteData, cl as ListPayoutAddressesResponses, cm as VerifyAgentSignupError, cn as testEndpoint, co as FunctionRouting, cp as UpdateAccountErrors, cr as CreateAgentClaimLinkError, cs as GetInboxStatusData, ct as getConversation, cu as RegisterPayoutAddressResponse, d as ReplyInput, da as DeleteRouteResponse, dc as ListDeclinedPaymentsResponses, dd as SemanticSearchCoverage, df as StartAgentClaimErrors, di as CreateRouteInput, dl as ListRegistriesErrors, dm as VerifyAgentSignupResponse, dn as unsetFunctionRoute, do as FunctionTestRun, dp as UpdateAccountResponses, dr as CreateAgentClaimLinkResponse, ds as GetInboxStatusResponse, dt as getFunctionRouting, du as RegistryAgent, ea as DeleteFunctionSecretErrors, ec as InboxStatus, ed as RotateWebhookSecretError, ef as SetOrgSecretResponse, ei as CreateOrgSecretResponse, el as ListOrgSecretsError, em as VerifiedDomain, en as setFunctionRoute, eo as ErrorResponse, ep as UnsetFunctionRouteData, er as ConversationMessage, es as GetFunctionRoutingErrors, et as deleteRoute, eu as PublishAgentResponses, f as RequestOptions$2, fa as DeleteRouteResponses, fc as ListDeliveriesData, fd as SemanticSearchData, ff as StartAgentClaimInput, fi as CreateRouteResponse, fl as ListRegistriesResponse, fm as VerifyAgentSignupResponses, fn as updateAccount, fo as FunctionTestRunDelivery, fp as UpdateDomainData, fr as CreateAgentClaimLinkResponses, fs as GetInboxStatusResponses, ft as getFunctionTestRunTrace, fu as RegistryRequest, g as SendResult, ga as DiscardEmailContentData, gc as ListDeliveriesResponses, gd as SemanticSearchInput, gf as StartAgentSignupError, gi as DecideRegistryRequestError, gl as ListRegistryAgentsResponses, gm as VerifyCliSignupInput, gn as updateFunction, go as FunctionTestRunReply, gp as UpdateDomainResponse, gr as CreateChallengeInput, gs as GetOrgRoutingTopologyResponse, gt as getSendPermissions, gu as ReorderRoutesInput, h as SendInput, ha as DiscardContentResult, hc as ListDeliveriesResponse, hd as SemanticSearchField, hf as StartAgentSignupData, hi as DecideRegistryRequestData, hl as ListRegistryAgentsResponse, hm as VerifyCliSignupErrors, hn as updateFilter, ho as FunctionTestRunOutboundRequest, hp as UpdateDomainInput, hr as CreateChallengeErrors, hs as GetOrgRoutingTopologyErrors, ht as getRegistry, hu as ReorderRoutesErrors, i as CreatedAgent, ia as DeleteOrgSecretError, ic as InboxStatusNextAction, id as RouteEvaluatedEntry, if as SimulateRouteErrors, ii as CreateRegistryErrors, il as ListPayoutAddressesData, im as VerifyAgentClaimInput, in as startAgentClaim, io as FunctionListItem, ip as UnsetFunctionRouteResponses, ir as CreateAgentAccountInput, is as GetFunctionTestRunTraceError, it as downloadRawEmail, iu as RegisterPayoutAddressData, j as createPrimitiveApiClient, ja as DownloadDomainZoneFileError, jc as ListEndpointsResponses, jd as SendPermissionAnyRecipient, jf as StartCliSignupResponse, ji as DeleteDomainResponses, jl as ListSentEmailsResponses, jm as X402PaymentRequirements, jn as AddDomainResponses, jo as GetAgentResponses, jp as UpdateFunctionError, jr as CreateFilterData, js as GetSentEmailResponse, jt as listOrgSecrets, ju as ReplyToEmailError, k as PrimitiveApiErrorDetails, ka as DownloadAttachmentsResponses, kc as ListEndpointsErrors, kd as SendMailResult, kf as StartCliSignupErrors, ki as DeleteDomainErrors, kl as ListSentEmailsErrors, km as X402NonceBinding, kn as AddDomainInput, ko as GetAgentErrors, kp as UpdateFilterResponses, kr as CreateEndpointResponse, ks as GetSentEmailError, kt as listFunctionSecrets, ku as ReplayResult, l as PrimitiveClient, la as DeleteRouteError, lc as ListDeclinedPaymentsErrors, ld as SearchEmailsResponse, lf as StartAgentClaimData, li as CreateRouteError, ll as ListRegistriesData, lm as VerifyAgentSignupErrors, ln as testFunction, lo as FunctionSecretListItem, lp as UpdateAccountInput, lr as CreateAgentClaimLinkErrors, ls as GetInboxStatusError, lt as getEmail, lu as RegisterPayoutAddressResponses, m as SendAttachment, ma as DeliverySummary, mc as ListDeliveriesErrors, md as SemanticSearchErrors, mf as StartAgentClaimResponses, mi as Cursor, ml as ListRegistryAgentsData, mm as VerifyCliSignupError, mn as updateEndpoint, mo as FunctionTestRunInboundEmail, mp as UpdateDomainErrors, mr as CreateChallengeError, ms as GetOrgRoutingTopologyError, mt as getOrgRoutingTopology, mu as ReorderRoutesError, n as AgentResource, na as DeleteFunctionSecretResponses, nc as InboxStatusEndpointSummary, nd as RotateWebhookSecretResponse, nf as SimulateRouteData, ni as CreateRegistryData, nl as ListOrgSecretsResponse, nm as VerifyAgentClaimError, nn as setOrgSecret, no as FunctionDeployStatus, np as UnsetFunctionRouteErrors, nr as CreateAgentAccountError, ns as GetFunctionRoutingResponses, nt as downloadAttachments, nu as PublishPolicy, o as InboundEmail, oa as DeleteOrgSecretResponse, oc as Limit, od as SearchEmailsData, of as SimulateRouteResponse, oi as CreateRegistryResponse, ol as ListPayoutAddressesErrors, om as VerifyAgentClaimResponses, on as startCliLogin, oo as FunctionRouteBody, op as UpdateAccountData, or as CreateAgentAccountResponses, os as GetFunctionTestRunTraceResponse, ot as getAgent, ou as RegisterPayoutAddressErrors, p as SemanticSearchResponse, pa as DeliveryStatus, pc as ListDeliveriesError, pd as SemanticSearchError, pf as StartAgentClaimResponse, pi as CreateRouteResponses, pl as ListRegistriesResponses, pm as VerifyCliSignupData, pn as updateDomain, po as FunctionTestRunDeliveryEndpoint, pp as UpdateDomainError, pr as CreateChallengeData, ps as GetOrgRoutingTopologyData, pt as getInboxStatus, pu as ReorderRoutesData, q as deleteDomain, qa as EmailSearchHighlights, qc as ListFunctionSecretsResponses, qd as SetFunctionSecretInput, qf as Thread, qi as DeleteFunctionData, ql as PollCliLoginResponse, qn as CliLogoutResponse, qo as GetFunctionData, qp as UpdateRouteResponses, qr as CreateFunctionSecretInput, qs as GetThreadResponses, qt as resendCliSignupVerification, qu as ResolveRegistryHandleData, r as CreateAgentOptions, ra as DeleteOrgSecretData, rc as InboxStatusFunctionSummary, rd as RotateWebhookSecretResponses, rf as SimulateRouteError, ri as CreateRegistryError, rl as ListOrgSecretsResponses, rm as VerifyAgentClaimErrors, rn as simulateRoute, ro as FunctionDetail, rp as UnsetFunctionRouteResponse, rr as CreateAgentAccountErrors, rs as GetFunctionTestRunTraceData, rt as downloadDomainZoneFile, ru as RecipientRoute, s as InboxResource, sa as DeleteOrgSecretResponses, sc as ListDeclinedPaymentsData, sd as SearchEmailsError, sf as SimulateRouteResponses, si as CreateRegistryResponses, sl as ListPayoutAddressesResponse, sm as VerifyAgentSignupData, sn as startCliSignup, so as FunctionRouteResult, sp as UpdateAccountError, sr as CreateAgentClaimLinkData, ss as GetFunctionTestRunTraceResponses, st as getChallenge, su as RegisterPayoutAddressInput, t as AccountResource, ta as DeleteFunctionSecretResponse, tc as InboxStatusDomain, td as RotateWebhookSecretErrors, tf as SetOrgSecretResponses, ti as CreateOrgSecretResponses, tl as ListOrgSecretsErrors, tm as VerifyAgentClaimData, tn as setFunctionSecret, to as Filter, tp as UnsetFunctionRouteError, tr as CreateAgentAccountData, ts as GetFunctionRoutingResponse, tt as discardEmailContent, tu as PublishAgentResult, u as PrimitiveClientOptions, ua as DeleteRouteErrors, uc as ListDeclinedPaymentsResponse, ud as SearchEmailsResponses, uf as StartAgentClaimError, ui as CreateRouteErrors, ul as ListRegistriesError, um as VerifyAgentSignupInput, un as unpublishAgent, uo as FunctionSecretWriteResult, up as UpdateAccountResponse, ur as CreateAgentClaimLinkInput, us as GetInboxStatusErrors, ut as getFunction, uu as Registry, v as WaitForNextOptions, va as DiscardEmailContentErrors, vc as ListDomainsError, vd as SemanticSearchResponses, vf as StartAgentSignupInput, vi as DecideRegistryRequestInput, vl as ListRegistryRequestsError, vm as VerifyCliSignupResponses, vn as updateRoute, vo as FunctionTestRunState, vp as UpdateEndpointData, vr as CreateChallengeResponses, vs as GetRegistryData, vt as getSpendPolicy, vu as ReorderRoutesResponses, w as verifyWebhookSignature, wa as DomainVerifyResult, wc as ListEmailsErrors, wd as SendEmailErrors, wf as StartCliLoginInput, wi as DefineAgentInput, wl as ListRoutesErrors, wm as WebhookSecret, wn as Account, wo as GetAccountErrors, wp as UpdateFilterData, wr as CreateEmailChallengeResponses, ws as GetSendPermissionsError, wt as listDomains, wu as ReplayEmailWebhooksData, x as createPrimitiveClient, xa as DkimSignature, xc as ListDomainsResponses, xd as SemanticSearchSnippet, xf as StartCliLoginData, xi as DefineAgentData, xl as ListRegistryRequestsResponses, xm as VerifyDomainErrors, xn as verifyAgentSignup, xo as GateFix, xp as UpdateEndpointInput, xr as CreateEmailChallengeErrors, xs as GetRegistryResponse, xt as getWebhookSecret, xu as ReplayDeliveryErrors, y as client, ya as DiscardEmailContentResponse, yc as ListDomainsErrors, yd as SemanticSearchResult, yf as StartAgentSignupResponse, yi as DecideRegistryRequestResponse, yl as ListRegistryRequestsErrors, ym as VerifyDomainData, yn as updateSpendPolicy, yo as FunctionTestRunTrace, yp as UpdateEndpointError, yr as CreateEmailChallengeData, ys as GetRegistryError, yt as getStorageStats, yu as ReplayDeliveryData, z as createFilter, za as DownloadRawEmailResponses, zc as ListFunctionLogsError, zd as SetFunctionRouteData, zf as TestEndpointResponses, zi as DeleteEndpointErrors, zl as PayChallengeInput, zm as CreateClientConfig, zn as AgentSignupStartResult, zo as GetConversationErrors, zp as UpdateRegistryInput, zr as CreateFunctionErrors, zs as GetStorageStatsError, zt as pollCliLogin, zu as ResendAgentSignupVerificationResponse } from "../index-Cpoj4cZf.js";
2
2
  import { i as openapiDocument, n as PrimitiveParameterManifest, r as operationManifest, t as PrimitiveOperationManifest } from "../operations.generated-BAniFZK9.js";
3
- import { f as EmailReceivedEvent } from "../types-CAG3bi20.js";
4
- import { b as normalizeReceivedEmail, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, m as ReceivedEmail, p as WebhookVerificationErrorCode } from "../errors-jagfi4Ue.js";
3
+ import { f as EmailReceivedEvent } from "../types-DVjBmOg0.js";
4
+ import { b as normalizeReceivedEmail, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, m as ReceivedEmail, p as WebhookVerificationErrorCode } from "../errors-BTHBQqJa.js";
5
5
  export { Account, AccountResource, AccountUpdated, AddDomainData, AddDomainError, AddDomainErrors, AddDomainInput, AddDomainResponse, AddDomainResponses, AgentAccountResult, AgentAccountUpgradeHint, AgentClaimLinkResult, AgentClaimResult, AgentClaimStartResult, AgentOrgRef, AgentResource, AgentSignupResendResult, AgentSignupStartResult, AgentSignupVerifyResult, Auth, CliLoginPollResult, CliLoginStartResult, CliLogoutData, CliLogoutError, CliLogoutErrors, CliLogoutInput, CliLogoutResponse, CliLogoutResponses, CliLogoutResult, CliSignupResendResult, CliSignupStartResult, CliSignupVerifyResult, Client, Client as PrimitiveGeneratedApiClient, ClientOptions, ClientOptions as PrimitiveGeneratedApiClientOptions, Config, Config as PrimitiveGeneratedApiConfig, Conversation, ConversationMessage, CreateAgentAccountData, CreateAgentAccountError, CreateAgentAccountErrors, CreateAgentAccountInput, CreateAgentAccountResponse, CreateAgentAccountResponses, CreateAgentClaimLinkData, CreateAgentClaimLinkError, CreateAgentClaimLinkErrors, CreateAgentClaimLinkInput, CreateAgentClaimLinkResponse, CreateAgentClaimLinkResponses, CreateAgentOptions, CreateChallengeData, CreateChallengeError, CreateChallengeErrors, CreateChallengeInput, CreateChallengeResponse, CreateChallengeResponses, CreateClientConfig, CreateEmailChallengeData, CreateEmailChallengeError, CreateEmailChallengeErrors, CreateEmailChallengeInput, CreateEmailChallengeResponse, CreateEmailChallengeResponses, CreateEndpointData, CreateEndpointError, CreateEndpointErrors, CreateEndpointInput, CreateEndpointResponse, CreateEndpointResponses, CreateFilterData, CreateFilterError, CreateFilterErrors, CreateFilterInput, CreateFilterResponse, CreateFilterResponses, CreateFunctionData, CreateFunctionError, CreateFunctionErrors, CreateFunctionInput, CreateFunctionResponse, CreateFunctionResponses, CreateFunctionResult, CreateFunctionSecretData, CreateFunctionSecretError, CreateFunctionSecretErrors, CreateFunctionSecretInput, CreateFunctionSecretResponse, CreateFunctionSecretResponses, CreateOrgSecretData, CreateOrgSecretError, CreateOrgSecretErrors, CreateOrgSecretInput, CreateOrgSecretResponse, CreateOrgSecretResponses, CreateRegistryData, CreateRegistryError, CreateRegistryErrors, CreateRegistryInput, CreateRegistryResponse, CreateRegistryResponses, CreateRouteData, CreateRouteError, CreateRouteErrors, CreateRouteInput, CreateRouteResponse, CreateRouteResponses, CreatedAgent, Cursor, DEFAULT_API_BASE_URL, DecideRegistryRequestData, DecideRegistryRequestError, DecideRegistryRequestErrors, DecideRegistryRequestInput, DecideRegistryRequestResponse, DecideRegistryRequestResponses, DefineAgentData, DefineAgentError, DefineAgentErrors, DefineAgentInput, DefineAgentResponse, DefineAgentResponses, DeleteDomainData, DeleteDomainError, DeleteDomainErrors, DeleteDomainResponse, DeleteDomainResponses, DeleteEmailData, DeleteEmailError, DeleteEmailErrors, DeleteEmailResponse, DeleteEmailResponses, DeleteEndpointData, DeleteEndpointError, DeleteEndpointErrors, DeleteEndpointResponse, DeleteEndpointResponses, DeleteFilterData, DeleteFilterError, DeleteFilterErrors, DeleteFilterResponse, DeleteFilterResponses, DeleteFunctionData, DeleteFunctionError, DeleteFunctionErrors, DeleteFunctionResponse, DeleteFunctionResponses, DeleteFunctionSecretData, DeleteFunctionSecretError, DeleteFunctionSecretErrors, DeleteFunctionSecretResponse, DeleteFunctionSecretResponses, DeleteOrgSecretData, DeleteOrgSecretError, DeleteOrgSecretErrors, DeleteOrgSecretResponse, DeleteOrgSecretResponses, DeleteRouteData, DeleteRouteError, DeleteRouteErrors, DeleteRouteResponse, DeleteRouteResponses, DeliveryStatus, DeliverySummary, DiscardContentResult, DiscardEmailContentData, DiscardEmailContentError, DiscardEmailContentErrors, DiscardEmailContentResponse, DiscardEmailContentResponses, DkimSignature, Domain, DomainDnsRecord, DomainVerifyResult, DownloadAttachmentsData, DownloadAttachmentsError, DownloadAttachmentsErrors, DownloadAttachmentsResponse, DownloadAttachmentsResponses, DownloadDomainZoneFileData, DownloadDomainZoneFileError, DownloadDomainZoneFileErrors, DownloadDomainZoneFileResponse, DownloadDomainZoneFileResponses, DownloadRawEmailData, DownloadRawEmailError, DownloadRawEmailErrors, DownloadRawEmailResponse, DownloadRawEmailResponses, EmailAddress, EmailAttachment, EmailAuth, EmailDetail, EmailDetailReply, EmailReceivedEvent, EmailSearchFacetBucket, EmailSearchFacets, EmailSearchHighlights, EmailSearchMeta, EmailSearchResult, EmailStatus, EmailSummary, EmailWebhookStatus, Endpoint, ErrorResponse, Filter, ForwardInput, FunctionDeployStatus, FunctionDetail, FunctionListItem, FunctionLogRow, FunctionRouteBody, FunctionRouteResult, FunctionRouting, FunctionSecretListItem, FunctionSecretWriteResult, FunctionTestRun, FunctionTestRunDelivery, FunctionTestRunDeliveryEndpoint, FunctionTestRunInboundEmail, FunctionTestRunOutboundRequest, FunctionTestRunReply, FunctionTestRunSend, FunctionTestRunState, FunctionTestRunTrace, GateDenial, GateFix, GetAccountData, GetAccountError, GetAccountErrors, GetAccountResponse, GetAccountResponses, GetAgentData, GetAgentError, GetAgentErrors, GetAgentResponse, GetAgentResponses, GetChallengeData, GetChallengeError, GetChallengeErrors, GetChallengeResponse, GetChallengeResponses, GetConversationData, GetConversationError, GetConversationErrors, GetConversationResponse, GetConversationResponses, GetEmailData, GetEmailError, GetEmailErrors, GetEmailResponse, GetEmailResponses, GetFunctionData, GetFunctionError, GetFunctionErrors, GetFunctionResponse, GetFunctionResponses, GetFunctionRoutingData, GetFunctionRoutingError, GetFunctionRoutingErrors, GetFunctionRoutingResponse, GetFunctionRoutingResponses, GetFunctionTestRunTraceData, GetFunctionTestRunTraceError, GetFunctionTestRunTraceErrors, GetFunctionTestRunTraceResponse, GetFunctionTestRunTraceResponses, GetInboxStatusData, GetInboxStatusError, GetInboxStatusErrors, GetInboxStatusResponse, GetInboxStatusResponses, GetOrgRoutingTopologyData, GetOrgRoutingTopologyError, GetOrgRoutingTopologyErrors, GetOrgRoutingTopologyResponse, GetOrgRoutingTopologyResponses, GetRegistryData, GetRegistryError, GetRegistryErrors, GetRegistryResponse, GetRegistryResponses, GetSendPermissionsData, GetSendPermissionsError, GetSendPermissionsErrors, GetSendPermissionsResponse, GetSendPermissionsResponses, GetSentEmailData, GetSentEmailError, GetSentEmailErrors, GetSentEmailResponse, GetSentEmailResponses, GetSpendPolicyData, GetSpendPolicyError, GetSpendPolicyErrors, GetSpendPolicyResponse, GetSpendPolicyResponses, GetStorageStatsData, GetStorageStatsError, GetStorageStatsErrors, GetStorageStatsResponse, GetStorageStatsResponses, GetThreadData, GetThreadError, GetThreadErrors, GetThreadResponse, GetThreadResponses, GetWebhookSecretData, GetWebhookSecretError, GetWebhookSecretErrors, GetWebhookSecretResponse, GetWebhookSecretResponses, IdempotencyKey, InboundEmail, InboxResource, InboxStatus, InboxStatusDomain, InboxStatusEndpointSummary, InboxStatusFunctionSummary, InboxStatusNextAction, InboxStatusRecentEmailSummary, InboxStreamOptions, Limit, ListDeclinedPaymentsData, ListDeclinedPaymentsError, ListDeclinedPaymentsErrors, ListDeclinedPaymentsResponse, ListDeclinedPaymentsResponses, ListDeliveriesData, ListDeliveriesError, ListDeliveriesErrors, ListDeliveriesResponse, ListDeliveriesResponses, ListDomainsData, ListDomainsError, ListDomainsErrors, ListDomainsResponse, ListDomainsResponses, ListEmailsData, ListEmailsError, ListEmailsErrors, ListEmailsResponse, ListEmailsResponses, ListEndpointsData, ListEndpointsError, ListEndpointsErrors, ListEndpointsResponse, ListEndpointsResponses, ListEnvelope, ListFiltersData, ListFiltersError, ListFiltersErrors, ListFiltersResponse, ListFiltersResponses, ListFunctionLogsData, ListFunctionLogsError, ListFunctionLogsErrors, ListFunctionLogsResponse, ListFunctionLogsResponses, ListFunctionSecretsData, ListFunctionSecretsError, ListFunctionSecretsErrors, ListFunctionSecretsResponse, ListFunctionSecretsResponses, ListFunctionsData, ListFunctionsError, ListFunctionsErrors, ListFunctionsResponse, ListFunctionsResponses, ListOrgSecretsData, ListOrgSecretsError, ListOrgSecretsErrors, ListOrgSecretsResponse, ListOrgSecretsResponses, ListPayoutAddressesData, ListPayoutAddressesError, ListPayoutAddressesErrors, ListPayoutAddressesResponse, ListPayoutAddressesResponses, ListRegistriesData, ListRegistriesError, ListRegistriesErrors, ListRegistriesResponse, ListRegistriesResponses, ListRegistryAgentsData, ListRegistryAgentsResponse, ListRegistryAgentsResponses, ListRegistryRequestsData, ListRegistryRequestsError, ListRegistryRequestsErrors, ListRegistryRequestsResponse, ListRegistryRequestsResponses, ListRoutesData, ListRoutesError, ListRoutesErrors, ListRoutesResponse, ListRoutesResponses, ListSentEmailsData, ListSentEmailsError, ListSentEmailsErrors, ListSentEmailsResponse, ListSentEmailsResponses, Options, Options as PrimitiveGeneratedApiOptions, OrgSecretListItem, OrgSecretWriteResult, PRIMITIVE_SIGNATURE_HEADER, PaginationMeta, ParsedEmailData, PayChallengeData, PayChallengeError, PayChallengeErrors, PayChallengeInput, PayChallengeResponse, PayChallengeResponses, PlanLimits, PollCliLoginData, PollCliLoginError, PollCliLoginErrors, PollCliLoginInput, PollCliLoginResponse, PollCliLoginResponses, PrimitiveApiClient, PrimitiveApiClientOptions, PrimitiveApiError, PrimitiveApiErrorDetails, PrimitiveClient, PrimitiveClientOptions, RequestOptions as PrimitiveGeneratedApiRequestOptions, RequestResult as PrimitiveGeneratedApiRequestResult, RequestResult, PrimitiveOperationManifest, PrimitiveParameterManifest, RequestOptions$1 as PrimitiveRequestOptions, PublishAgentData, PublishAgentError, PublishAgentErrors, PublishAgentInput, PublishAgentResponse, PublishAgentResponses, PublishAgentResult, PublishPolicy, ReceivedEmail, ReceivedEmailAddress, ReceivedEmailThread, RecipientRoute, RegisterPayoutAddressData, RegisterPayoutAddressError, RegisterPayoutAddressErrors, RegisterPayoutAddressInput, RegisterPayoutAddressResponse, RegisterPayoutAddressResponses, Registry, RegistryAgent, RegistryRequest, ReorderRoutesData, ReorderRoutesError, ReorderRoutesErrors, ReorderRoutesInput, ReorderRoutesResponse, ReorderRoutesResponses, ReplayDeliveryData, ReplayDeliveryError, ReplayDeliveryErrors, ReplayDeliveryResponse, ReplayDeliveryResponses, ReplayEmailWebhooksData, ReplayEmailWebhooksError, ReplayEmailWebhooksErrors, ReplayEmailWebhooksResponse, ReplayEmailWebhooksResponses, ReplayResult, ReplyInput, ReplyToEmailData, ReplyToEmailError, ReplyToEmailErrors, ReplyToEmailResponse, ReplyToEmailResponses, RequestOptions$2 as RequestOptions, ResendAgentSignupVerificationData, ResendAgentSignupVerificationError, ResendAgentSignupVerificationErrors, ResendAgentSignupVerificationInput, ResendAgentSignupVerificationResponse, ResendAgentSignupVerificationResponses, ResendCliSignupVerificationData, ResendCliSignupVerificationError, ResendCliSignupVerificationErrors, ResendCliSignupVerificationInput, ResendCliSignupVerificationResponse, ResendCliSignupVerificationResponses, ResolveRegistryHandleData, ResolveRegistryHandleError, ResolveRegistryHandleErrors, ResolveRegistryHandleResponse, ResolveRegistryHandleResponses, ResourceId, ResponseStyle, RotateWebhookSecretData, RotateWebhookSecretError, RotateWebhookSecretErrors, RotateWebhookSecretResponse, RotateWebhookSecretResponses, RouteEvaluatedEntry, RoutingTopology, SearchEmailsData, SearchEmailsError, SearchEmailsErrors, SearchEmailsResponse, SearchEmailsResponses, SemanticSearchCoverage, SemanticSearchData, SemanticSearchError, SemanticSearchErrors, SemanticSearchField, SemanticSearchInput, SemanticSearchMeta, SemanticSearchResponse, SemanticSearchResponses, SemanticSearchResult, SemanticSearchScoreBreakdown, SemanticSearchSnippet, SendAttachment, SendEmailData, SendEmailError, SendEmailErrors, SendEmailResponse, SendEmailResponses, SendInput, SendMailAttachment, SendMailInput, SendMailResult, SendPermissionAddress, SendPermissionAnyRecipient, SendPermissionManagedZone, SendPermissionRule, SendPermissionYourDomain, SendPermissionsMeta, SendResult, SendThreadInput, SentEmailDetail, SentEmailStatus, SentEmailSummary, SetFunctionRouteData, SetFunctionRouteError, SetFunctionRouteErrors, SetFunctionRouteResponse, SetFunctionRouteResponses, SetFunctionSecretData, SetFunctionSecretError, SetFunctionSecretErrors, SetFunctionSecretInput, SetFunctionSecretResponse, SetFunctionSecretResponses, SetOrgSecretData, SetOrgSecretError, SetOrgSecretErrors, SetOrgSecretInput, SetOrgSecretResponse, SetOrgSecretResponses, SimulateRouteData, SimulateRouteError, SimulateRouteErrors, SimulateRouteInput, SimulateRouteResponse, SimulateRouteResponses, SimulateRouteResult, StartAgentClaimData, StartAgentClaimError, StartAgentClaimErrors, StartAgentClaimInput, StartAgentClaimResponse, StartAgentClaimResponses, StartAgentSignupData, StartAgentSignupError, StartAgentSignupErrors, StartAgentSignupInput, StartAgentSignupResponse, StartAgentSignupResponses, StartCliLoginData, StartCliLoginError, StartCliLoginErrors, StartCliLoginInput, StartCliLoginResponse, StartCliLoginResponses, StartCliSignupData, StartCliSignupError, StartCliSignupErrors, StartCliSignupInput, StartCliSignupResponse, StartCliSignupResponses, StorageStats, SuccessEnvelope, TestEndpointData, TestEndpointError, TestEndpointErrors, TestEndpointResponse, TestEndpointResponses, TestFunctionData, TestFunctionError, TestFunctionErrors, TestFunctionResponse, TestFunctionResponses, TestInvocationResult, TestResult, Thread, ThreadMessage, UnpublishAgentData, UnpublishAgentError, UnpublishAgentErrors, UnpublishAgentResponse, UnpublishAgentResponses, UnsetFunctionRouteData, UnsetFunctionRouteError, UnsetFunctionRouteErrors, UnsetFunctionRouteResponse, UnsetFunctionRouteResponses, UnverifiedDomain, UpdateAccountData, UpdateAccountError, UpdateAccountErrors, UpdateAccountInput, UpdateAccountResponse, UpdateAccountResponses, UpdateDomainData, UpdateDomainError, UpdateDomainErrors, UpdateDomainInput, UpdateDomainResponse, UpdateDomainResponses, UpdateEndpointData, UpdateEndpointError, UpdateEndpointErrors, UpdateEndpointInput, UpdateEndpointResponse, UpdateEndpointResponses, UpdateFilterData, UpdateFilterError, UpdateFilterErrors, UpdateFilterInput, UpdateFilterResponse, UpdateFilterResponses, UpdateFunctionData, UpdateFunctionError, UpdateFunctionErrors, UpdateFunctionInput, UpdateFunctionResponse, UpdateFunctionResponses, UpdateRegistryData, UpdateRegistryError, UpdateRegistryErrors, UpdateRegistryInput, UpdateRegistryResponse, UpdateRegistryResponses, UpdateRouteData, UpdateRouteError, UpdateRouteErrors, UpdateRouteInput, UpdateRouteResponse, UpdateRouteResponses, UpdateSpendPolicyData, UpdateSpendPolicyError, UpdateSpendPolicyErrors, UpdateSpendPolicyInput, UpdateSpendPolicyResponse, UpdateSpendPolicyResponses, VerifiedDomain, VerifyAgentClaimData, VerifyAgentClaimError, VerifyAgentClaimErrors, VerifyAgentClaimInput, VerifyAgentClaimResponse, VerifyAgentClaimResponses, VerifyAgentSignupData, VerifyAgentSignupError, VerifyAgentSignupErrors, VerifyAgentSignupInput, VerifyAgentSignupResponse, VerifyAgentSignupResponses, VerifyCliSignupData, VerifyCliSignupError, VerifyCliSignupErrors, VerifyCliSignupInput, VerifyCliSignupResponse, VerifyCliSignupResponses, VerifyDomainData, VerifyDomainError, VerifyDomainErrors, VerifyDomainResponse, VerifyDomainResponses, VerifyOptions as VerifyWebhookSignatureOptions, WaitForNextOptions, WebhookSecret, WebhookVerificationError, WebhookVerificationErrorCode, X402Challenge, X402DeclinedPayment, X402EmailChallenge, X402EmailChallengeDetails, X402NonceBinding, X402PaymentPayload, X402PaymentRequirements, X402PayoutAddress, X402Receipt, X402SpendPolicy, addDomain, cliLogout, client, createAgent, createAgentAccount, createAgentClaimLink, createChallenge, createClient, createConfig, createEmailChallenge, createEndpoint, createFilter, createFunction, createFunctionSecret, createOrgSecret, createPrimitiveApiClient, createPrimitiveClient, createRegistry, createRoute, decideRegistryRequest, defineAgent, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteOrgSecret, deleteRoute, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getAgent, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getOrgRoutingTopology, getRegistry, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getThread, getWebhookSecret, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, normalizeReceivedEmail, openapiDocument, operationManifest, sdk_gen_d_exports as operations, payChallenge, pollCliLogin, publishAgent, registerPayoutAddress, reorderRoutes, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, searchEmails, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setOrgSecret, simulateRoute, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, updateRoute, updateSpendPolicy, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain, verifyWebhookSignature };
@@ -1,5 +1,5 @@
1
- import { A as RawContentInline, E as ParsedError, F as WebhookAttachment, T as ParsedDataFailed, d as EmailAuth, f as EmailReceivedEvent, k as RawContentDownloadOnly, l as EmailAddress, u as EmailAnalysis, w as ParsedDataComplete } from "../types-CAG3bi20.js";
2
- import { C as StandardWebhooksSignResult, N as signWebhookPayload, T as signStandardWebhooksPayload, _ as WEBHOOK_VERSION, j as SignResult } from "../index-MfFuW5sS.js";
1
+ import { A as RawContentInline, E as ParsedError, I as WebhookAttachment, T as ParsedDataFailed, d as EmailAuth, f as EmailReceivedEvent, k as RawContentDownloadOnly, l as EmailAddress, u as EmailAnalysis, w as ParsedDataComplete } from "../types-DVjBmOg0.js";
2
+ import { C as StandardWebhooksSignResult, N as signWebhookPayload, T as signStandardWebhooksPayload, _ as WEBHOOK_VERSION, j as SignResult } from "../index-D2nlv8DS.js";
3
3
 
4
4
  //#region src/contract/contract.d.ts
5
5
  /** Maximum raw email size for inline inclusion (256 KB). */
@@ -1,4 +1,4 @@
1
- import { O as signStandardWebhooksPayload, P as signWebhookPayload, Y as validateEmailReceivedEvent, p as WEBHOOK_VERSION } from "../webhook-CiIPtegj.js";
1
+ import { O as signStandardWebhooksPayload, P as signWebhookPayload, Y as validateEmailReceivedEvent, p as WEBHOOK_VERSION } from "../webhook-BekIm0Uf.js";
2
2
  import { createHash } from "node:crypto";
3
3
  //#region src/contract/contract.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { F as WebhookAttachment, d as EmailAuth, f as EmailReceivedEvent, u as EmailAnalysis } from "./types-CAG3bi20.js";
1
+ import { I as WebhookAttachment, d as EmailAuth, f as EmailReceivedEvent, u as EmailAnalysis } from "./types-DVjBmOg0.js";
2
2
  import { ErrorObject } from "ajv";
3
3
 
4
4
  //#region src/webhook/received-email.d.ts
@@ -1,4 +1,4 @@
1
- import { m as ReceivedEmail } from "./errors-jagfi4Ue.js";
1
+ import { m as ReceivedEmail } from "./errors-BTHBQqJa.js";
2
2
 
3
3
  //#region ../packages/api-core/src/api/core/auth.gen.d.ts
4
4
  type AuthToken = string | undefined;
@@ -1,5 +1,5 @@
1
- import { I as WebhookEvent, P as ValidateEmailAuthResult, d as EmailAuth, f as EmailReceivedEvent } from "./types-CAG3bi20.js";
2
- import { m as ReceivedEmail, u as WebhookValidationError } from "./errors-jagfi4Ue.js";
1
+ import { F as ValidateEmailAuthResult, L as WebhookEvent, d as EmailAuth, f as EmailReceivedEvent } from "./types-DVjBmOg0.js";
2
+ import { m as ReceivedEmail, u as WebhookValidationError } from "./errors-BTHBQqJa.js";
3
3
 
4
4
  //#region src/validation.d.ts
5
5
  interface ValidationSuccess<T> {
@@ -288,6 +288,10 @@ declare const emailReceivedEventJsonSchema: {
288
288
  readonly $ref: "#/definitions/WebhookVersion";
289
289
  readonly description: "API version in date format (YYYY-MM-DD). Use this to detect version mismatches between webhook and SDK.";
290
290
  };
291
+ readonly routing: {
292
+ readonly $ref: "#/definitions/RoutingDecision";
293
+ readonly description: "The recipient-routing decision for this email: where it was delivered and why. Present only when recipient routing ran for the organization; omitted otherwise. This is the compact decision also recorded on the email's routing metadata.";
294
+ };
291
295
  readonly delivery: {
292
296
  readonly type: "object";
293
297
  readonly properties: {
@@ -428,6 +432,40 @@ declare const emailReceivedEventJsonSchema: {
428
432
  readonly required: ["id", "event", "version", "delivery", "email"];
429
433
  readonly description: "Webhook payload for the `email.received` event.\n\nThis is delivered to your webhook endpoint when Primitive receives an email matching your domain configuration.";
430
434
  };
435
+ readonly RoutingDecision: {
436
+ readonly type: "object";
437
+ readonly description: "The recipient-routing decision for an inbound email: which endpoint it resolved to and why. Present on the event only when recipient routing ran for the organization.";
438
+ readonly properties: {
439
+ readonly version: {
440
+ readonly type: "integer";
441
+ readonly description: "Decision schema version, so consumers can detect shape changes.";
442
+ };
443
+ readonly outcome: {
444
+ readonly type: "string";
445
+ readonly enum: ["matched", "defaulted", "none"];
446
+ readonly description: "How the destination was chosen: `matched` a recipient route, fell back to a `defaulted` destination (domain or org), or `none` (no destination resolved).";
447
+ };
448
+ readonly endpoint_id: {
449
+ readonly type: ["string", "null"];
450
+ readonly description: "The endpoint the email was delivered to, or null when no destination resolved.";
451
+ };
452
+ readonly matched_route_id: {
453
+ readonly type: ["string", "null"];
454
+ readonly description: "The recipient route that matched, or null when the outcome was not `matched`.";
455
+ };
456
+ readonly matched_tier: {
457
+ readonly type: ["string", "null"];
458
+ readonly enum: ["exact", "wildcard", "regex", null];
459
+ readonly description: "The match tier of the route that matched, or null when the outcome was not `matched`.";
460
+ };
461
+ readonly default_scope: {
462
+ readonly type: ["string", "null"];
463
+ readonly enum: ["domain", "org", null];
464
+ readonly description: "When the outcome was `defaulted`, whether the default came from the domain or the organization; null otherwise.";
465
+ };
466
+ };
467
+ readonly required: ["outcome"];
468
+ };
431
469
  readonly WebhookVersion: {
432
470
  readonly type: "string";
433
471
  readonly pattern: "^(?:(?:\\d{4}-(?:(?:01|03|05|07|08|10|12)-(?:0[1-9]|[12]\\d|3[01])|(?:04|06|09|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8])))|(?:(?:[02468][048]00|[13579][26]00|\\d{2}(?:0[48]|[2468][048]|[13579][26]))-02-29))$";
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { Fn as AgentClaimResult, Hl as PlanLimits, In as AgentClaimStartResult, Mn as AgentAccountResult, Nn as AgentAccountUpgradeHint, O as PrimitiveApiError, Pn as AgentClaimLinkResult, _ as SendThreadInput, a as ForwardInput, b as createAgent, c as InboxStreamOptions, d as ReplyInput, ff as StartAgentClaimInput, g as SendResult, h as SendInput, i as CreatedAgent, im as VerifyAgentClaimInput, ir as CreateAgentAccountInput, l as PrimitiveClient, m as SendAttachment, o as InboundEmail, r as CreateAgentOptions, s as InboxResource, t as AccountResource, u as PrimitiveClientOptions, ur as CreateAgentClaimLinkInput, v as WaitForNextOptions, wn as Account, x as createPrimitiveClient, y as client } from "./index-jyeoCq78.js";
2
- import { $ as isPaymentSettledEvent, A as RawContentInline, B as InteractionX402Event, C as ParsedData, D as ParsedStatus, E as ParsedError, F as WebhookAttachment, G as PaymentSettledEvent, H as PAYMENT_EVENT_TYPES, I as WebhookEvent, J as isEmailReceivedEvent, K as WEBHOOK_EVENT_TYPES, L as EMAIL_EVENT_TYPES, M as TlsReportAnalysis, N as UnknownEvent, O as RawContent, P as ValidateEmailAuthResult, Q as isPaymentFailedEvent, R as INTERACTION_EVENT_TYPES, S as KnownWebhookEvent, T as ParsedDataFailed, U as PaymentEvent, V as InteractionX402Suffix, W as PaymentFailedEvent, X as isKnownWebhookEventType, Y as isInteractionX402Event, Z as isPaymentEvent, _ as ForwardResultAttachmentAnalyzed, a as DkimSignature, b as ForwardVerdict, c as DmarcResult, d as EmailAuth, f as EmailReceivedEvent, g as ForwardResult, h as ForwardOriginalSender, i as DkimResult, j as SpfResult, k as RawContentDownloadOnly, l as EmailAddress, m as ForwardAnalysis, n as AuthVerdict, o as DmarcPolicy, p as EventType, q as WebhookEventType, r as BounceAnalysis, s as DmarcReportAnalysis, t as AuthConfidence, u as EmailAnalysis, v as ForwardResultAttachmentSkipped, w as ParsedDataComplete, x as ForwardVerification, y as ForwardResultInline, z as InteractionEvent } from "./types-CAG3bi20.js";
3
- import { _ as buildForwardSubject, a as RawEmailDecodeErrorCode, b as normalizeReceivedEmail, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as ReceivedEmail, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as buildReplySubject, x as parseHeaderAddress, y as formatAddress } from "./errors-jagfi4Ue.js";
4
- import { A as PRIMITIVE_SIGNATURE_HEADER, B as safeValidateEmailReceivedEvent, C as StandardWebhooksSignResult, D as LEGACY_CONFIRMED_HEADER, E as verifyStandardWebhooksSignature, F as GenerateDownloadTokenOptions, I as VerifyDownloadTokenOptions, L as VerifyDownloadTokenResult, M as VerifyOptions, N as signWebhookPayload, O as LEGACY_SIGNATURE_HEADER, P as verifyWebhookSignature, R as generateDownloadToken, S as STANDARD_WEBHOOK_TIMESTAMP_HEADER, T as signStandardWebhooksPayload, V as validateEmailReceivedEvent, _ as WEBHOOK_VERSION, a as WebhookHeaders, b as STANDARD_WEBHOOK_ID_HEADER, c as getDownloadTimeRemaining, d as handleWebhookEvent, f as isDownloadExpired, g as verifyRawEmailDownload, h as receive, i as WEBHOOK_EVENT_HEADER, j as SignResult, k as PRIMITIVE_CONFIRMED_HEADER, l as getEventHeader, m as parseWebhookEvent, n as HandleWebhookOptions, o as confirmedHeaders, p as isRawIncluded, r as ReceiveRequestOptions, s as decodeRawEmail, t as DecodeRawEmailOptions, u as handleWebhook, v as validateEmailAuth, w as StandardWebhooksVerifyOptions, x as STANDARD_WEBHOOK_SIGNATURE_HEADER, y as emailReceivedEventJsonSchema, z as verifyDownloadToken } from "./index-MfFuW5sS.js";
1
+ import { Fn as AgentClaimResult, Hl as PlanLimits, In as AgentClaimStartResult, Mn as AgentAccountResult, Nn as AgentAccountUpgradeHint, O as PrimitiveApiError, Pn as AgentClaimLinkResult, _ as SendThreadInput, a as ForwardInput, b as createAgent, c as InboxStreamOptions, d as ReplyInput, ff as StartAgentClaimInput, g as SendResult, h as SendInput, i as CreatedAgent, im as VerifyAgentClaimInput, ir as CreateAgentAccountInput, l as PrimitiveClient, m as SendAttachment, o as InboundEmail, r as CreateAgentOptions, s as InboxResource, t as AccountResource, u as PrimitiveClientOptions, ur as CreateAgentClaimLinkInput, v as WaitForNextOptions, wn as Account, x as createPrimitiveClient, y as client } from "./index-Cpoj4cZf.js";
2
+ import { $ as isPaymentFailedEvent, A as RawContentInline, B as InteractionEvent, C as ParsedData, D as ParsedStatus, E as ParsedError, F as ValidateEmailAuthResult, G as PaymentFailedEvent, H as InteractionX402Suffix, I as WebhookAttachment, J as WebhookEventType, K as PaymentSettledEvent, L as WebhookEvent, M as SpfResult, N as TlsReportAnalysis, O as RawContent, P as UnknownEvent, Q as isPaymentEvent, R as EMAIL_EVENT_TYPES, S as KnownWebhookEvent, T as ParsedDataFailed, U as PAYMENT_EVENT_TYPES, V as InteractionX402Event, W as PaymentEvent, X as isInteractionX402Event, Y as isEmailReceivedEvent, Z as isKnownWebhookEventType, _ as ForwardResultAttachmentAnalyzed, a as DkimSignature, b as ForwardVerdict, c as DmarcResult, d as EmailAuth, et as isPaymentSettledEvent, f as EmailReceivedEvent, g as ForwardResult, h as ForwardOriginalSender, i as DkimResult, j as RoutingDecision, k as RawContentDownloadOnly, l as EmailAddress, m as ForwardAnalysis, n as AuthVerdict, o as DmarcPolicy, p as EventType, q as WEBHOOK_EVENT_TYPES, r as BounceAnalysis, s as DmarcReportAnalysis, t as AuthConfidence, u as EmailAnalysis, v as ForwardResultAttachmentSkipped, w as ParsedDataComplete, x as ForwardVerification, y as ForwardResultInline, z as INTERACTION_EVENT_TYPES } from "./types-DVjBmOg0.js";
3
+ import { _ as buildForwardSubject, a as RawEmailDecodeErrorCode, b as normalizeReceivedEmail, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as ReceivedEmail, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as buildReplySubject, x as parseHeaderAddress, y as formatAddress } from "./errors-BTHBQqJa.js";
4
+ import { A as PRIMITIVE_SIGNATURE_HEADER, B as safeValidateEmailReceivedEvent, C as StandardWebhooksSignResult, D as LEGACY_CONFIRMED_HEADER, E as verifyStandardWebhooksSignature, F as GenerateDownloadTokenOptions, I as VerifyDownloadTokenOptions, L as VerifyDownloadTokenResult, M as VerifyOptions, N as signWebhookPayload, O as LEGACY_SIGNATURE_HEADER, P as verifyWebhookSignature, R as generateDownloadToken, S as STANDARD_WEBHOOK_TIMESTAMP_HEADER, T as signStandardWebhooksPayload, V as validateEmailReceivedEvent, _ as WEBHOOK_VERSION, a as WebhookHeaders, b as STANDARD_WEBHOOK_ID_HEADER, c as getDownloadTimeRemaining, d as handleWebhookEvent, f as isDownloadExpired, g as verifyRawEmailDownload, h as receive, i as WEBHOOK_EVENT_HEADER, j as SignResult, k as PRIMITIVE_CONFIRMED_HEADER, l as getEventHeader, m as parseWebhookEvent, n as HandleWebhookOptions, o as confirmedHeaders, p as isRawIncluded, r as ReceiveRequestOptions, s as decodeRawEmail, t as DecodeRawEmailOptions, u as handleWebhook, v as validateEmailAuth, w as StandardWebhooksVerifyOptions, x as STANDARD_WEBHOOK_SIGNATURE_HEADER, y as emailReceivedEventJsonSchema, z as verifyDownloadToken } from "./index-D2nlv8DS.js";
5
5
  import { NonceBinding, PayoutRegistrationMessageInput, TokenDomain, TransferAuthorization, X402Challenge, X402ChargeInput, X402Client, X402ClientOptions, X402DeclinedPayment, X402Error, X402PaymentPayload, X402PaymentRequirements, X402PayoutAddress, X402Receipt, X402Signer, X402SpendPolicy, buildPayoutRegistrationMessage, createX402Client, deriveEip3009Nonce, parseEmailChallengeFromPart } from "./x402/index.js";
6
6
 
7
7
  //#region src/index.d.ts
@@ -11,4 +11,4 @@ declare const primitive: {
11
11
  x402: typeof createX402Client;
12
12
  };
13
13
  //#endregion
14
- export { type Account, AccountResource, type AgentAccountResult, type AgentAccountUpgradeHint, type AgentClaimLinkResult, type AgentClaimResult, type AgentClaimStartResult, AuthConfidence, AuthVerdict, BounceAnalysis, type CreateAgentAccountInput, type CreateAgentClaimLinkInput, type CreateAgentOptions, type CreatedAgent, DecodeRawEmailOptions, DkimResult, DkimSignature, DmarcPolicy, DmarcReportAnalysis, DmarcResult, EMAIL_EVENT_TYPES, EmailAddress, EmailAnalysis, EmailAuth, EmailReceivedEvent, EventType, ForwardAnalysis, type ForwardInput, ForwardOriginalSender, ForwardResult, ForwardResultAttachmentAnalyzed, ForwardResultAttachmentSkipped, ForwardResultInline, ForwardVerdict, ForwardVerification, GenerateDownloadTokenOptions, HandleWebhookOptions, INTERACTION_EVENT_TYPES, type InboundEmail, InboxResource, type InboxStreamOptions, InteractionEvent, InteractionX402Event, InteractionX402Suffix, KnownWebhookEvent, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, type NonceBinding, PAYLOAD_ERRORS, PAYMENT_EVENT_TYPES, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedData, ParsedDataComplete, ParsedDataFailed, ParsedError, ParsedStatus, PaymentEvent, PaymentFailedEvent, PaymentSettledEvent, type PayoutRegistrationMessageInput, type PlanLimits, PrimitiveApiError, PrimitiveClient, type PrimitiveClientOptions, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawContent, RawContentDownloadOnly, RawContentInline, RawEmailDecodeError, RawEmailDecodeErrorCode, ReceiveRequestOptions, ReceivedEmail, ReceivedEmailAddress, ReceivedEmailThread, type ReplyInput, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, type SendAttachment, type SendInput, type SendResult, type SendThreadInput, SignResult, SpfResult, StandardWebhooksSignResult, StandardWebhooksVerifyOptions, type StartAgentClaimInput, TlsReportAnalysis, type TokenDomain, type TransferAuthorization, UnknownEvent, VERIFICATION_ERRORS, ValidateEmailAuthResult, type VerifyAgentClaimInput, VerifyDownloadTokenOptions, VerifyDownloadTokenResult, VerifyOptions, WEBHOOK_EVENT_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_VERSION, type WaitForNextOptions, WebhookAttachment, WebhookErrorCode, WebhookEvent, WebhookEventType, WebhookHeaders, WebhookPayloadError, WebhookPayloadErrorCode, WebhookValidationError, WebhookValidationErrorCode, WebhookVerificationError, WebhookVerificationErrorCode, type X402Challenge, type X402ChargeInput, X402Client, type X402ClientOptions, type X402DeclinedPayment, X402Error, type X402PaymentPayload, type X402PaymentRequirements, type X402PayoutAddress, type X402Receipt, type X402Signer, type X402SpendPolicy, buildForwardSubject, buildPayoutRegistrationMessage, buildReplySubject, client, confirmedHeaders, createAgent, createPrimitiveClient, createX402Client, decodeRawEmail, primitive as default, deriveEip3009Nonce, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, getEventHeader, handleWebhook, handleWebhookEvent, isDownloadExpired, isEmailReceivedEvent, isInteractionX402Event, isKnownWebhookEventType, isPaymentEvent, isPaymentFailedEvent, isPaymentSettledEvent, isRawIncluded, normalizeReceivedEmail, parseEmailChallengeFromPart, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };
14
+ export { type Account, AccountResource, type AgentAccountResult, type AgentAccountUpgradeHint, type AgentClaimLinkResult, type AgentClaimResult, type AgentClaimStartResult, AuthConfidence, AuthVerdict, BounceAnalysis, type CreateAgentAccountInput, type CreateAgentClaimLinkInput, type CreateAgentOptions, type CreatedAgent, DecodeRawEmailOptions, DkimResult, DkimSignature, DmarcPolicy, DmarcReportAnalysis, DmarcResult, EMAIL_EVENT_TYPES, EmailAddress, EmailAnalysis, EmailAuth, EmailReceivedEvent, EventType, ForwardAnalysis, type ForwardInput, ForwardOriginalSender, ForwardResult, ForwardResultAttachmentAnalyzed, ForwardResultAttachmentSkipped, ForwardResultInline, ForwardVerdict, ForwardVerification, GenerateDownloadTokenOptions, HandleWebhookOptions, INTERACTION_EVENT_TYPES, type InboundEmail, InboxResource, type InboxStreamOptions, InteractionEvent, InteractionX402Event, InteractionX402Suffix, KnownWebhookEvent, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, type NonceBinding, PAYLOAD_ERRORS, PAYMENT_EVENT_TYPES, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedData, ParsedDataComplete, ParsedDataFailed, ParsedError, ParsedStatus, PaymentEvent, PaymentFailedEvent, PaymentSettledEvent, type PayoutRegistrationMessageInput, type PlanLimits, PrimitiveApiError, PrimitiveClient, type PrimitiveClientOptions, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawContent, RawContentDownloadOnly, RawContentInline, RawEmailDecodeError, RawEmailDecodeErrorCode, ReceiveRequestOptions, ReceivedEmail, ReceivedEmailAddress, ReceivedEmailThread, type ReplyInput, RoutingDecision, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, type SendAttachment, type SendInput, type SendResult, type SendThreadInput, SignResult, SpfResult, StandardWebhooksSignResult, StandardWebhooksVerifyOptions, type StartAgentClaimInput, TlsReportAnalysis, type TokenDomain, type TransferAuthorization, UnknownEvent, VERIFICATION_ERRORS, ValidateEmailAuthResult, type VerifyAgentClaimInput, VerifyDownloadTokenOptions, VerifyDownloadTokenResult, VerifyOptions, WEBHOOK_EVENT_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_VERSION, type WaitForNextOptions, WebhookAttachment, WebhookErrorCode, WebhookEvent, WebhookEventType, WebhookHeaders, WebhookPayloadError, WebhookPayloadErrorCode, WebhookValidationError, WebhookValidationErrorCode, WebhookVerificationError, WebhookVerificationErrorCode, type X402Challenge, type X402ChargeInput, X402Client, type X402ClientOptions, type X402DeclinedPayment, X402Error, type X402PaymentPayload, type X402PaymentRequirements, type X402PayoutAddress, type X402Receipt, type X402Signer, type X402SpendPolicy, buildForwardSubject, buildPayoutRegistrationMessage, buildReplySubject, client, confirmedHeaders, createAgent, createPrimitiveClient, createX402Client, decodeRawEmail, primitive as default, deriveEip3009Nonce, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, getEventHeader, handleWebhook, handleWebhookEvent, isDownloadExpired, isEmailReceivedEvent, isInteractionX402Event, isKnownWebhookEventType, isPaymentEvent, isPaymentFailedEvent, isPaymentSettledEvent, isRawIncluded, normalizeReceivedEmail, parseEmailChallengeFromPart, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as client, f as PrimitiveApiError, i as PrimitiveClient, o as createAgent, r as InboxResource, s as createPrimitiveClient, t as AccountResource } from "./api-Dult2Jxz.js";
2
2
  import { a as VERIFICATION_ERRORS, c as WebhookVerificationError, d as formatAddress, f as normalizeReceivedEmail, i as RawEmailDecodeError, l as buildForwardSubject, n as PrimitiveWebhookError, o as WebhookPayloadError, p as parseHeaderAddress, r as RAW_EMAIL_ERRORS, s as WebhookValidationError, t as PAYLOAD_ERRORS, u as buildReplySubject } from "./errors-BPJGp9I6.js";
3
- import { A as LEGACY_CONFIRMED_HEADER, B as isEmailReceivedEvent, C as SpfResult, D as STANDARD_WEBHOOK_TIMESTAMP_HEADER, E as STANDARD_WEBHOOK_SIGNATURE_HEADER, F as verifyWebhookSignature, G as isPaymentSettledEvent, H as isKnownWebhookEventType, I as EMAIL_EVENT_TYPES, J as safeValidateEmailReceivedEvent, K as generateDownloadToken, L as INTERACTION_EVENT_TYPES, M as PRIMITIVE_CONFIRMED_HEADER, N as PRIMITIVE_SIGNATURE_HEADER, O as signStandardWebhooksPayload, P as signWebhookPayload, R as PAYMENT_EVENT_TYPES, S as ParsedStatus, T as STANDARD_WEBHOOK_ID_HEADER, U as isPaymentEvent, V as isInteractionX402Event, W as isPaymentFailedEvent, Y as validateEmailReceivedEvent, _ as DkimResult, a as getEventHeader, b as EventType, c as isDownloadExpired, d as receive, f as verifyRawEmailDownload, g as AuthVerdict, h as AuthConfidence, i as getDownloadTimeRemaining, j as LEGACY_SIGNATURE_HEADER, k as verifyStandardWebhooksSignature, l as isRawIncluded, m as validateEmailAuth, n as confirmedHeaders, o as handleWebhook, p as WEBHOOK_VERSION, q as verifyDownloadToken, r as decodeRawEmail, s as handleWebhookEvent, t as WEBHOOK_EVENT_HEADER, u as parseWebhookEvent, v as DmarcPolicy, w as emailReceivedEventJsonSchema, x as ForwardVerdict, y as DmarcResult, z as WEBHOOK_EVENT_TYPES } from "./webhook-CiIPtegj.js";
3
+ import { A as LEGACY_CONFIRMED_HEADER, B as isEmailReceivedEvent, C as SpfResult, D as STANDARD_WEBHOOK_TIMESTAMP_HEADER, E as STANDARD_WEBHOOK_SIGNATURE_HEADER, F as verifyWebhookSignature, G as isPaymentSettledEvent, H as isKnownWebhookEventType, I as EMAIL_EVENT_TYPES, J as safeValidateEmailReceivedEvent, K as generateDownloadToken, L as INTERACTION_EVENT_TYPES, M as PRIMITIVE_CONFIRMED_HEADER, N as PRIMITIVE_SIGNATURE_HEADER, O as signStandardWebhooksPayload, P as signWebhookPayload, R as PAYMENT_EVENT_TYPES, S as ParsedStatus, T as STANDARD_WEBHOOK_ID_HEADER, U as isPaymentEvent, V as isInteractionX402Event, W as isPaymentFailedEvent, Y as validateEmailReceivedEvent, _ as DkimResult, a as getEventHeader, b as EventType, c as isDownloadExpired, d as receive, f as verifyRawEmailDownload, g as AuthVerdict, h as AuthConfidence, i as getDownloadTimeRemaining, j as LEGACY_SIGNATURE_HEADER, k as verifyStandardWebhooksSignature, l as isRawIncluded, m as validateEmailAuth, n as confirmedHeaders, o as handleWebhook, p as WEBHOOK_VERSION, q as verifyDownloadToken, r as decodeRawEmail, s as handleWebhookEvent, t as WEBHOOK_EVENT_HEADER, u as parseWebhookEvent, v as DmarcPolicy, w as emailReceivedEventJsonSchema, x as ForwardVerdict, y as DmarcResult, z as WEBHOOK_EVENT_TYPES } from "./webhook-BekIm0Uf.js";
4
4
  import { X402Client, X402Error, buildPayoutRegistrationMessage, createX402Client, deriveEip3009Nonce, parseEmailChallengeFromPart } from "./x402/index.js";
5
5
  //#region src/index.ts
6
6
  const primitive = {
@@ -1,4 +1,4 @@
1
- import { F as WebhookAttachment, l as EmailAddress, w as ParsedDataComplete } from "../types-CAG3bi20.js";
1
+ import { I as WebhookAttachment, l as EmailAddress, w as ParsedDataComplete } from "../types-DVjBmOg0.js";
2
2
  import { a as parseFromHeader, i as ValidatedAddress, n as ParseFromHeaderResult, o as parseFromHeaderLoose, r as ParsedAddress, t as ParseFromHeaderFailureReason } from "../address-parser-CA6G7R-h.js";
3
3
 
4
4
  //#region src/parser/attachment-parser.d.ts
@@ -47,6 +47,7 @@ interface EmailReceivedEvent$1 {
47
47
  * API version in date format (YYYY-MM-DD). Use this to detect version mismatches between webhook and SDK.
48
48
  */
49
49
  version: string;
50
+ routing?: RoutingDecision$1;
50
51
  /**
51
52
  * Metadata about this webhook delivery.
52
53
  */
@@ -154,6 +155,35 @@ interface EmailReceivedEvent$1 {
154
155
  auth: EmailAuth$1;
155
156
  };
156
157
  }
158
+ /**
159
+ * The recipient-routing decision for this email: where it was delivered and why. Present only when recipient routing ran for the organization; omitted otherwise. This is the compact decision also recorded on the email's routing metadata.
160
+ */
161
+ interface RoutingDecision$1 {
162
+ /**
163
+ * Decision schema version, so consumers can detect shape changes.
164
+ */
165
+ version?: number;
166
+ /**
167
+ * How the destination was chosen: `matched` a recipient route, fell back to a `defaulted` destination (domain or org), or `none` (no destination resolved).
168
+ */
169
+ outcome: ("matched" | "defaulted" | "none");
170
+ /**
171
+ * The endpoint the email was delivered to, or null when no destination resolved.
172
+ */
173
+ endpoint_id?: (string | null);
174
+ /**
175
+ * The recipient route that matched, or null when the outcome was not `matched`.
176
+ */
177
+ matched_route_id?: (string | null);
178
+ /**
179
+ * The match tier of the route that matched, or null when the outcome was not `matched`.
180
+ */
181
+ matched_tier?: ("exact" | "wildcard" | "regex" | null);
182
+ /**
183
+ * When the outcome was `defaulted`, whether the default came from the domain or the organization; null otherwise.
184
+ */
185
+ default_scope?: ("domain" | "org" | null);
186
+ }
157
187
  /**
158
188
  * Raw email content included inline (base64 encoded).
159
189
  *
@@ -1033,6 +1063,8 @@ type ParsedError = ParsedDataFailed["error"];
1033
1063
  type EmailAddress = NonNullable<ParsedDataComplete["reply_to"]>[number];
1034
1064
  type WebhookAttachment = ParsedDataComplete["attachments"][number];
1035
1065
  type EmailAnalysis = EmailReceivedEvent["email"]["analysis"];
1066
+ /** The recipient-routing decision carried on an email event, when routing ran. */
1067
+ type RoutingDecision = NonNullable<EmailReceivedEvent["routing"]>;
1036
1068
  type ForwardAnalysis = NonNullable<EmailAnalysis["forward"]>;
1037
1069
  type ForwardResult = ForwardAnalysis["results"][number];
1038
1070
  type BounceAnalysis = NonNullable<EmailAnalysis["bounce"]>;
@@ -1125,4 +1157,4 @@ interface UnknownEvent {
1125
1157
  type KnownWebhookEvent = EmailReceivedEvent | PaymentSettledEvent | PaymentFailedEvent | InteractionX402Event;
1126
1158
  type WebhookEvent = KnownWebhookEvent | UnknownEvent;
1127
1159
  //#endregion
1128
- export { isPaymentSettledEvent as $, RawContentInline as A, InteractionX402Event as B, ParsedData as C, ParsedStatus as D, ParsedError as E, WebhookAttachment as F, PaymentSettledEvent as G, PAYMENT_EVENT_TYPES as H, WebhookEvent as I, isEmailReceivedEvent as J, WEBHOOK_EVENT_TYPES as K, EMAIL_EVENT_TYPES as L, TlsReportAnalysis as M, UnknownEvent as N, RawContent as O, ValidateEmailAuthResult as P, isPaymentFailedEvent as Q, INTERACTION_EVENT_TYPES as R, KnownWebhookEvent as S, ParsedDataFailed as T, PaymentEvent as U, InteractionX402Suffix as V, PaymentFailedEvent as W, isKnownWebhookEventType as X, isInteractionX402Event as Y, isPaymentEvent as Z, ForwardResultAttachmentAnalyzed as _, DkimSignature as a, ForwardVerdict as b, DmarcResult as c, EmailAuth as d, EmailReceivedEvent as f, ForwardResult as g, ForwardOriginalSender as h, DkimResult as i, SpfResult as j, RawContentDownloadOnly as k, EmailAddress as l, ForwardAnalysis as m, AuthVerdict as n, DmarcPolicy as o, EventType as p, WebhookEventType as q, BounceAnalysis as r, DmarcReportAnalysis as s, AuthConfidence as t, EmailAnalysis as u, ForwardResultAttachmentSkipped as v, ParsedDataComplete as w, ForwardVerification as x, ForwardResultInline as y, InteractionEvent as z };
1160
+ export { isPaymentFailedEvent as $, RawContentInline as A, InteractionEvent as B, ParsedData as C, ParsedStatus as D, ParsedError as E, ValidateEmailAuthResult as F, PaymentFailedEvent as G, InteractionX402Suffix as H, WebhookAttachment as I, WebhookEventType as J, PaymentSettledEvent as K, WebhookEvent as L, SpfResult as M, TlsReportAnalysis as N, RawContent as O, UnknownEvent as P, isPaymentEvent as Q, EMAIL_EVENT_TYPES as R, KnownWebhookEvent as S, ParsedDataFailed as T, PAYMENT_EVENT_TYPES as U, InteractionX402Event as V, PaymentEvent as W, isInteractionX402Event as X, isEmailReceivedEvent as Y, isKnownWebhookEventType as Z, ForwardResultAttachmentAnalyzed as _, DkimSignature as a, ForwardVerdict as b, DmarcResult as c, EmailAuth as d, isPaymentSettledEvent as et, EmailReceivedEvent as f, ForwardResult as g, ForwardOriginalSender as h, DkimResult as i, RoutingDecision as j, RawContentDownloadOnly as k, EmailAddress as l, ForwardAnalysis as m, AuthVerdict as n, DmarcPolicy as o, EventType as p, WEBHOOK_EVENT_TYPES as q, BounceAnalysis as r, DmarcReportAnalysis as s, AuthConfidence as t, EmailAnalysis as u, ForwardResultAttachmentSkipped as v, ParsedDataComplete as w, ForwardVerification as x, ForwardResultInline as y, INTERACTION_EVENT_TYPES as z };
@@ -1,4 +1,4 @@
1
- import { $ as isPaymentSettledEvent, A as RawContentInline, B as InteractionX402Event, C as ParsedData, D as ParsedStatus, E as ParsedError, F as WebhookAttachment, G as PaymentSettledEvent, H as PAYMENT_EVENT_TYPES, I as WebhookEvent, J as isEmailReceivedEvent, K as WEBHOOK_EVENT_TYPES, L as EMAIL_EVENT_TYPES, M as TlsReportAnalysis, N as UnknownEvent, O as RawContent, P as ValidateEmailAuthResult, Q as isPaymentFailedEvent, R as INTERACTION_EVENT_TYPES, S as KnownWebhookEvent, T as ParsedDataFailed, U as PaymentEvent, V as InteractionX402Suffix, W as PaymentFailedEvent, X as isKnownWebhookEventType, Y as isInteractionX402Event, Z as isPaymentEvent, _ as ForwardResultAttachmentAnalyzed, a as DkimSignature, b as ForwardVerdict, c as DmarcResult, d as EmailAuth, f as EmailReceivedEvent, g as ForwardResult, h as ForwardOriginalSender, i as DkimResult, j as SpfResult, k as RawContentDownloadOnly, l as EmailAddress, m as ForwardAnalysis, n as AuthVerdict, o as DmarcPolicy, p as EventType, q as WebhookEventType, r as BounceAnalysis, s as DmarcReportAnalysis, t as AuthConfidence, u as EmailAnalysis, v as ForwardResultAttachmentSkipped, w as ParsedDataComplete, x as ForwardVerification, y as ForwardResultInline, z as InteractionEvent } from "../types-CAG3bi20.js";
2
- import { _ as buildForwardSubject, a as RawEmailDecodeErrorCode, b as normalizeReceivedEmail, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as ReceivedEmail, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as buildReplySubject, x as parseHeaderAddress, y as formatAddress } from "../errors-jagfi4Ue.js";
3
- import { A as PRIMITIVE_SIGNATURE_HEADER, B as safeValidateEmailReceivedEvent, C as StandardWebhooksSignResult, D as LEGACY_CONFIRMED_HEADER, E as verifyStandardWebhooksSignature, F as GenerateDownloadTokenOptions, I as VerifyDownloadTokenOptions, L as VerifyDownloadTokenResult, M as VerifyOptions, N as signWebhookPayload, O as LEGACY_SIGNATURE_HEADER, P as verifyWebhookSignature, R as generateDownloadToken, S as STANDARD_WEBHOOK_TIMESTAMP_HEADER, T as signStandardWebhooksPayload, V as validateEmailReceivedEvent, _ as WEBHOOK_VERSION, a as WebhookHeaders, b as STANDARD_WEBHOOK_ID_HEADER, c as getDownloadTimeRemaining, d as handleWebhookEvent, f as isDownloadExpired, g as verifyRawEmailDownload, h as receive, i as WEBHOOK_EVENT_HEADER, j as SignResult, k as PRIMITIVE_CONFIRMED_HEADER, l as getEventHeader, m as parseWebhookEvent, n as HandleWebhookOptions, o as confirmedHeaders, p as isRawIncluded, r as ReceiveRequestOptions, s as decodeRawEmail, t as DecodeRawEmailOptions, u as handleWebhook, v as validateEmailAuth, w as StandardWebhooksVerifyOptions, x as STANDARD_WEBHOOK_SIGNATURE_HEADER, y as emailReceivedEventJsonSchema, z as verifyDownloadToken } from "../index-MfFuW5sS.js";
4
- export { AuthConfidence, AuthVerdict, BounceAnalysis, DecodeRawEmailOptions, DkimResult, DkimSignature, DmarcPolicy, DmarcReportAnalysis, DmarcResult, EMAIL_EVENT_TYPES, EmailAddress, EmailAnalysis, EmailAuth, EmailReceivedEvent, EventType, ForwardAnalysis, ForwardOriginalSender, ForwardResult, ForwardResultAttachmentAnalyzed, ForwardResultAttachmentSkipped, ForwardResultInline, ForwardVerdict, ForwardVerification, GenerateDownloadTokenOptions, HandleWebhookOptions, INTERACTION_EVENT_TYPES, InteractionEvent, InteractionX402Event, InteractionX402Suffix, KnownWebhookEvent, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, PAYLOAD_ERRORS, PAYMENT_EVENT_TYPES, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedData, ParsedDataComplete, ParsedDataFailed, ParsedError, ParsedStatus, PaymentEvent, PaymentFailedEvent, PaymentSettledEvent, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawContent, RawContentDownloadOnly, RawContentInline, RawEmailDecodeError, RawEmailDecodeErrorCode, ReceiveRequestOptions, ReceivedEmail, ReceivedEmailAddress, ReceivedEmailThread, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, SignResult, SpfResult, StandardWebhooksSignResult, StandardWebhooksVerifyOptions, TlsReportAnalysis, UnknownEvent, VERIFICATION_ERRORS, ValidateEmailAuthResult, VerifyDownloadTokenOptions, VerifyDownloadTokenResult, VerifyOptions, WEBHOOK_EVENT_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_VERSION, WebhookAttachment, WebhookErrorCode, WebhookEvent, WebhookEventType, WebhookHeaders, WebhookPayloadError, WebhookPayloadErrorCode, WebhookValidationError, WebhookValidationErrorCode, WebhookVerificationError, WebhookVerificationErrorCode, buildForwardSubject, buildReplySubject, confirmedHeaders, decodeRawEmail, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, getEventHeader, handleWebhook, handleWebhookEvent, isDownloadExpired, isEmailReceivedEvent, isInteractionX402Event, isKnownWebhookEventType, isPaymentEvent, isPaymentFailedEvent, isPaymentSettledEvent, isRawIncluded, normalizeReceivedEmail, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };
1
+ import { $ as isPaymentFailedEvent, A as RawContentInline, B as InteractionEvent, C as ParsedData, D as ParsedStatus, E as ParsedError, F as ValidateEmailAuthResult, G as PaymentFailedEvent, H as InteractionX402Suffix, I as WebhookAttachment, J as WebhookEventType, K as PaymentSettledEvent, L as WebhookEvent, M as SpfResult, N as TlsReportAnalysis, O as RawContent, P as UnknownEvent, Q as isPaymentEvent, R as EMAIL_EVENT_TYPES, S as KnownWebhookEvent, T as ParsedDataFailed, U as PAYMENT_EVENT_TYPES, V as InteractionX402Event, W as PaymentEvent, X as isInteractionX402Event, Y as isEmailReceivedEvent, Z as isKnownWebhookEventType, _ as ForwardResultAttachmentAnalyzed, a as DkimSignature, b as ForwardVerdict, c as DmarcResult, d as EmailAuth, et as isPaymentSettledEvent, f as EmailReceivedEvent, g as ForwardResult, h as ForwardOriginalSender, i as DkimResult, j as RoutingDecision, k as RawContentDownloadOnly, l as EmailAddress, m as ForwardAnalysis, n as AuthVerdict, o as DmarcPolicy, p as EventType, q as WEBHOOK_EVENT_TYPES, r as BounceAnalysis, s as DmarcReportAnalysis, t as AuthConfidence, u as EmailAnalysis, v as ForwardResultAttachmentSkipped, w as ParsedDataComplete, x as ForwardVerification, y as ForwardResultInline, z as INTERACTION_EVENT_TYPES } from "../types-DVjBmOg0.js";
2
+ import { _ as buildForwardSubject, a as RawEmailDecodeErrorCode, b as normalizeReceivedEmail, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as ReceivedEmail, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as buildReplySubject, x as parseHeaderAddress, y as formatAddress } from "../errors-BTHBQqJa.js";
3
+ import { A as PRIMITIVE_SIGNATURE_HEADER, B as safeValidateEmailReceivedEvent, C as StandardWebhooksSignResult, D as LEGACY_CONFIRMED_HEADER, E as verifyStandardWebhooksSignature, F as GenerateDownloadTokenOptions, I as VerifyDownloadTokenOptions, L as VerifyDownloadTokenResult, M as VerifyOptions, N as signWebhookPayload, O as LEGACY_SIGNATURE_HEADER, P as verifyWebhookSignature, R as generateDownloadToken, S as STANDARD_WEBHOOK_TIMESTAMP_HEADER, T as signStandardWebhooksPayload, V as validateEmailReceivedEvent, _ as WEBHOOK_VERSION, a as WebhookHeaders, b as STANDARD_WEBHOOK_ID_HEADER, c as getDownloadTimeRemaining, d as handleWebhookEvent, f as isDownloadExpired, g as verifyRawEmailDownload, h as receive, i as WEBHOOK_EVENT_HEADER, j as SignResult, k as PRIMITIVE_CONFIRMED_HEADER, l as getEventHeader, m as parseWebhookEvent, n as HandleWebhookOptions, o as confirmedHeaders, p as isRawIncluded, r as ReceiveRequestOptions, s as decodeRawEmail, t as DecodeRawEmailOptions, u as handleWebhook, v as validateEmailAuth, w as StandardWebhooksVerifyOptions, x as STANDARD_WEBHOOK_SIGNATURE_HEADER, y as emailReceivedEventJsonSchema, z as verifyDownloadToken } from "../index-D2nlv8DS.js";
4
+ export { AuthConfidence, AuthVerdict, BounceAnalysis, DecodeRawEmailOptions, DkimResult, DkimSignature, DmarcPolicy, DmarcReportAnalysis, DmarcResult, EMAIL_EVENT_TYPES, EmailAddress, EmailAnalysis, EmailAuth, EmailReceivedEvent, EventType, ForwardAnalysis, ForwardOriginalSender, ForwardResult, ForwardResultAttachmentAnalyzed, ForwardResultAttachmentSkipped, ForwardResultInline, ForwardVerdict, ForwardVerification, GenerateDownloadTokenOptions, HandleWebhookOptions, INTERACTION_EVENT_TYPES, InteractionEvent, InteractionX402Event, InteractionX402Suffix, KnownWebhookEvent, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, PAYLOAD_ERRORS, PAYMENT_EVENT_TYPES, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedData, ParsedDataComplete, ParsedDataFailed, ParsedError, ParsedStatus, PaymentEvent, PaymentFailedEvent, PaymentSettledEvent, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawContent, RawContentDownloadOnly, RawContentInline, RawEmailDecodeError, RawEmailDecodeErrorCode, ReceiveRequestOptions, ReceivedEmail, ReceivedEmailAddress, ReceivedEmailThread, RoutingDecision, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, SignResult, SpfResult, StandardWebhooksSignResult, StandardWebhooksVerifyOptions, TlsReportAnalysis, UnknownEvent, VERIFICATION_ERRORS, ValidateEmailAuthResult, VerifyDownloadTokenOptions, VerifyDownloadTokenResult, VerifyOptions, WEBHOOK_EVENT_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_VERSION, WebhookAttachment, WebhookErrorCode, WebhookEvent, WebhookEventType, WebhookHeaders, WebhookPayloadError, WebhookPayloadErrorCode, WebhookValidationError, WebhookValidationErrorCode, WebhookVerificationError, WebhookVerificationErrorCode, buildForwardSubject, buildReplySubject, confirmedHeaders, decodeRawEmail, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, getEventHeader, handleWebhook, handleWebhookEvent, isDownloadExpired, isEmailReceivedEvent, isInteractionX402Event, isKnownWebhookEventType, isPaymentEvent, isPaymentFailedEvent, isPaymentSettledEvent, isRawIncluded, normalizeReceivedEmail, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };
@@ -1,3 +1,3 @@
1
1
  import { a as VERIFICATION_ERRORS, c as WebhookVerificationError, d as formatAddress, f as normalizeReceivedEmail, i as RawEmailDecodeError, l as buildForwardSubject, n as PrimitiveWebhookError, o as WebhookPayloadError, p as parseHeaderAddress, r as RAW_EMAIL_ERRORS, s as WebhookValidationError, t as PAYLOAD_ERRORS, u as buildReplySubject } from "../errors-BPJGp9I6.js";
2
- import { A as LEGACY_CONFIRMED_HEADER, B as isEmailReceivedEvent, C as SpfResult, D as STANDARD_WEBHOOK_TIMESTAMP_HEADER, E as STANDARD_WEBHOOK_SIGNATURE_HEADER, F as verifyWebhookSignature, G as isPaymentSettledEvent, H as isKnownWebhookEventType, I as EMAIL_EVENT_TYPES, J as safeValidateEmailReceivedEvent, K as generateDownloadToken, L as INTERACTION_EVENT_TYPES, M as PRIMITIVE_CONFIRMED_HEADER, N as PRIMITIVE_SIGNATURE_HEADER, O as signStandardWebhooksPayload, P as signWebhookPayload, R as PAYMENT_EVENT_TYPES, S as ParsedStatus, T as STANDARD_WEBHOOK_ID_HEADER, U as isPaymentEvent, V as isInteractionX402Event, W as isPaymentFailedEvent, Y as validateEmailReceivedEvent, _ as DkimResult, a as getEventHeader, b as EventType, c as isDownloadExpired, d as receive, f as verifyRawEmailDownload, g as AuthVerdict, h as AuthConfidence, i as getDownloadTimeRemaining, j as LEGACY_SIGNATURE_HEADER, k as verifyStandardWebhooksSignature, l as isRawIncluded, m as validateEmailAuth, n as confirmedHeaders, o as handleWebhook, p as WEBHOOK_VERSION, q as verifyDownloadToken, r as decodeRawEmail, s as handleWebhookEvent, t as WEBHOOK_EVENT_HEADER, u as parseWebhookEvent, v as DmarcPolicy, w as emailReceivedEventJsonSchema, x as ForwardVerdict, y as DmarcResult, z as WEBHOOK_EVENT_TYPES } from "../webhook-CiIPtegj.js";
2
+ import { A as LEGACY_CONFIRMED_HEADER, B as isEmailReceivedEvent, C as SpfResult, D as STANDARD_WEBHOOK_TIMESTAMP_HEADER, E as STANDARD_WEBHOOK_SIGNATURE_HEADER, F as verifyWebhookSignature, G as isPaymentSettledEvent, H as isKnownWebhookEventType, I as EMAIL_EVENT_TYPES, J as safeValidateEmailReceivedEvent, K as generateDownloadToken, L as INTERACTION_EVENT_TYPES, M as PRIMITIVE_CONFIRMED_HEADER, N as PRIMITIVE_SIGNATURE_HEADER, O as signStandardWebhooksPayload, P as signWebhookPayload, R as PAYMENT_EVENT_TYPES, S as ParsedStatus, T as STANDARD_WEBHOOK_ID_HEADER, U as isPaymentEvent, V as isInteractionX402Event, W as isPaymentFailedEvent, Y as validateEmailReceivedEvent, _ as DkimResult, a as getEventHeader, b as EventType, c as isDownloadExpired, d as receive, f as verifyRawEmailDownload, g as AuthVerdict, h as AuthConfidence, i as getDownloadTimeRemaining, j as LEGACY_SIGNATURE_HEADER, k as verifyStandardWebhooksSignature, l as isRawIncluded, m as validateEmailAuth, n as confirmedHeaders, o as handleWebhook, p as WEBHOOK_VERSION, q as verifyDownloadToken, r as decodeRawEmail, s as handleWebhookEvent, t as WEBHOOK_EVENT_HEADER, u as parseWebhookEvent, v as DmarcPolicy, w as emailReceivedEventJsonSchema, x as ForwardVerdict, y as DmarcResult, z as WEBHOOK_EVENT_TYPES } from "../webhook-BekIm0Uf.js";
3
3
  export { AuthConfidence, AuthVerdict, DkimResult, DmarcPolicy, DmarcResult, EMAIL_EVENT_TYPES, EventType, ForwardVerdict, INTERACTION_EVENT_TYPES, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, PAYLOAD_ERRORS, PAYMENT_EVENT_TYPES, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedStatus, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawEmailDecodeError, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, SpfResult, VERIFICATION_ERRORS, WEBHOOK_EVENT_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_VERSION, WebhookPayloadError, WebhookValidationError, WebhookVerificationError, buildForwardSubject, buildReplySubject, confirmedHeaders, decodeRawEmail, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, getEventHeader, handleWebhook, handleWebhookEvent, isDownloadExpired, isEmailReceivedEvent, isInteractionX402Event, isKnownWebhookEventType, isPaymentEvent, isPaymentFailedEvent, isPaymentSettledEvent, isRawIncluded, normalizeReceivedEmail, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };