@primitivedotdev/sdk 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -454,8 +454,8 @@ const event = handleWebhookEvent({
454
454
  });
455
455
 
456
456
  if (isPaymentSettledEvent(event)) {
457
- // typed PaymentSettledEvent; settlement details are under event.payment
458
- console.log("settled", event.id);
457
+ // typed PaymentSettledEvent: flat fields, amount in token base units
458
+ console.log("settled", event.challenge_id, event.amount, event.settle_tx);
459
459
  } else if (isInteractionX402Event(event)) {
460
460
  // typed interaction.x402.* event (challenge/payment/settled/...)
461
461
  console.log(event.event, event.interaction);
@@ -1,5 +1,5 @@
1
- import { $ as discardEmailContent, $a as FunctionTestRunReply, $c as ListRegistryAgentsResponses, $d as TestEndpointError, $f as UpdateRegistryData, $i as DiscardEmailContentData, $l as ReplayEmailWebhooksResponses, $n as CreateAgentAccountResponse, $o as GetOrgRoutingTopologyResponse, $p as RequestResult, $r as CreateRegistryInput, $s as ListDeliveriesResponses, $t as startAgentClaim, $u as SendMailResult, A as RequestOptions$1, Aa as EmailSearchHighlights, Ac as ListFunctionSecretsResponses, Ad as StartAgentClaimResponse, Af as UpdateDomainError, Ai as DeleteFilterData, Al as PublishAgentInput, An as AgentClaimStartResult, Ao as GetFunctionData, Ap as VerifyDomainData, Ar as CreateFilterResponses, As as GetThreadResponses, At as listPayoutAddresses, Au as SearchEmailsData, B as createFunction, Ba as FunctionDetail, Bc as ListOrgSecretsResponses, Bd as StartCliLoginErrors, Bf as UpdateEndpointResponses, Bi as DeleteFunctionSecretData, Bl as RegisterPayoutAddressResponses, Bn as CliLogoutInput, Bo as GetFunctionTestRunTraceData, Bp as X402NonceBinding, Br as CreateFunctionSecretErrors, Bs as InboxStatusFunctionSummary, Bt as replayEmailWebhooks, Bu as SemanticSearchInput, C as VerifyOptions, Ca as EmailAddress, Cc as ListFunctionLogsErrors, Cd as SetOrgSecretInput, Cf as UpdateAccountData, Ci as DeleteEmailResponse, Cl as PollCliLoginErrors, Cn as AddDomainInput, Co as GetConversationResponse, Cp as VerifyAgentSignupResponses, Cr as CreateEndpointResponse, Cs as GetStorageStatsErrors, Ct as listEmails, Cu as ResourceId, D as PrimitiveApiClientOptions, Da as EmailDetailReply, Dc as ListFunctionSecretsError, Dd as StartAgentClaimError, Df as UpdateAccountResponse, Di as DeleteEndpointErrors, Dl as PublishAgentData, Dn as AgentAccountUpgradeHint, Do as GetEmailErrors, Dp as VerifyCliSignupInput, Dr as CreateFilterErrors, Ds as GetThreadError, Dt as listFunctionSecrets, Du as RotateWebhookSecretResponse, E as PrimitiveApiClient, Ea as EmailDetail, Ec as ListFunctionSecretsData, Ed as StartAgentClaimData, Ef as UpdateAccountInput, Ei as DeleteEndpointError, El as PollCliLoginResponses, En as AgentAccountResult, Eo as GetEmailError, Ep as VerifyCliSignupErrors, Er as CreateFilterError, Es as GetThreadData, Et as listFunctionLogs, Eu as RotateWebhookSecretErrors, F as createAgentClaimLink, Fa as EmailWebhookStatus, Fc as ListFunctionsResponses, Fd as StartAgentSignupInput, Ff as UpdateEndpointData, Fi as DeleteFunctionData, Fl as RegisterPayoutAddressData, Fn as CliLoginPollResult, Fo as GetFunctionRoutingData, Fp as WebhookSecret, Fr as CreateFunctionResponse, Fs as GetWebhookSecretResponses, Ft as payChallenge, Fu as SemanticSearchCoverage, G as defineAgent, Ga as FunctionRouting, Gc as ListPayoutAddressesResponses, Gd as StartCliSignupError, Gf as UpdateFilterResponse, Gi as DeleteOrgSecretData, Gl as ReplayDeliveryError, Gn as CliSignupStartResult, Go as GetInboxStatusData, Gp as X402SpendPolicy, Gr as CreateOrgSecretError, Gs as ListDeclinedPaymentsError, Gt as rotateWebhookSecret, Gu as SemanticSearchSnippet, H as createOrgSecret, Ha as FunctionLogRow, Hc as ListPayoutAddressesError, Hd as StartCliLoginResponse, Hf as UpdateFilterError, Hi as DeleteFunctionSecretErrors, Hl as RegistryAgent, Hn as CliLogoutResponses, Ho as GetFunctionTestRunTraceErrors, Hp as X402PaymentRequirements, Hr as CreateFunctionSecretResponse, Hs as InboxStatusRecentEmailSummary, Ht as resendAgentSignupVerification, Hu as SemanticSearchResponses, I as createChallenge, Ia as Endpoint, Ic as ListOrgSecretsData, Id as StartAgentSignupResponse, If as UpdateEndpointError, Ii as DeleteFunctionError, Il as RegisterPayoutAddressError, In as CliLoginStartResult, Io as GetFunctionRoutingError, Ip as X402Challenge, Ir as CreateFunctionResponses, Is as IdempotencyKey, It as pollCliLogin, Iu as SemanticSearchData, J as deleteEndpoint, Ja as FunctionTestRun, Jc as ListRegistriesErrors, Jd as StartCliSignupResponse, Jf as UpdateFunctionError, Ji as DeleteOrgSecretResponse, Jl as ReplayDeliveryResponses, Jn as ConversationMessage, Jo as GetInboxStatusResponse, Jp as ClientOptions, Jr as CreateOrgSecretResponse, Js as ListDeclinedPaymentsResponses, Jt as semanticSearch, Ju as SendEmailErrors, K as deleteDomain, Ka as FunctionSecretListItem, Kc as ListRegistriesData, Kd as StartCliSignupErrors, Kf as UpdateFilterResponses, Ki as DeleteOrgSecretError, Kl as ReplayDeliveryErrors, Kn as CliSignupVerifyResult, Ko as GetInboxStatusError, Kp as createClient, Kr as CreateOrgSecretErrors, Ks as ListDeclinedPaymentsErrors, Kt as sdk_gen_d_exports, Ku as SendEmailData, L as createEmailChallenge, La as ErrorResponse, Lc as ListOrgSecretsError, Ld as StartAgentSignupResponses, Lf as UpdateEndpointErrors, Li as DeleteFunctionErrors, Ll as RegisterPayoutAddressErrors, Ln as CliLogoutData, Lo as GetFunctionRoutingErrors, Lp as X402DeclinedPayment, Lr as CreateFunctionResult, Ls as InboxStatus, Lt as publishAgent, Lu as SemanticSearchError, M as addDomain, Ma as EmailSearchResult, Mc as ListFunctionsError, Md as StartAgentSignupData, Mf as UpdateDomainInput, Mi as DeleteFilterErrors, Ml as PublishAgentResponses, Mn as AgentSignupResendResult, Mo as GetFunctionErrors, Mp as VerifyDomainErrors, Mr as CreateFunctionError, Ms as GetWebhookSecretError, Mt as listRegistryAgents, Mu as SearchEmailsErrors, N as cliLogout, Na as EmailStatus, Nc as ListFunctionsErrors, Nd as StartAgentSignupError, Nf as UpdateDomainResponse, Ni as DeleteFilterResponse, Nl as PublishAgentResult, Nn as AgentSignupStartResult, No as GetFunctionResponse, Np as VerifyDomainResponse, Nr as CreateFunctionErrors, Ns as GetWebhookSecretErrors, Nt as listRegistryRequests, Nu as SearchEmailsResponse, O as PrimitiveApiError, Oa as EmailSearchFacetBucket, Oc as ListFunctionSecretsErrors, Od as StartAgentClaimErrors, Of as UpdateAccountResponses, Oi as DeleteEndpointResponse, Ol as PublishAgentError, On as AgentClaimLinkResult, Oo as GetEmailResponse, Op as VerifyCliSignupResponse, Or as CreateFilterInput, Os as GetThreadErrors, Ot as listFunctions, Ou as RotateWebhookSecretResponses, P as createAgentAccount, Pa as EmailSummary, Pc as ListFunctionsResponse, Pd as StartAgentSignupErrors, Pf as UpdateDomainResponses, Pi as DeleteFilterResponses, Pl as PublishPolicy, Pn as AgentSignupVerifyResult, Po as GetFunctionResponses, Pp as VerifyDomainResponses, Pr as CreateFunctionInput, Ps as GetWebhookSecretResponse, Pt as listSentEmails, Pu as SearchEmailsResponses, Q as deleteOrgSecret, Qa as FunctionTestRunOutboundRequest, Qc as ListRegistryAgentsResponse, Qd as TestEndpointData, Qf as UpdateFunctionResponses, Qi as DiscardContentResult, Ql as ReplayEmailWebhooksResponse, Qn as CreateAgentAccountInput, Qo as GetOrgRoutingTopologyErrors, Qp as RequestOptions, Qr as CreateRegistryErrors, Qs as ListDeliveriesResponse, Qt as setOrgSecret, Qu as SendMailInput, R as createEndpoint, Ra as Filter, Rc as ListOrgSecretsErrors, Rd as StartCliLoginData, Rf as UpdateEndpointInput, Ri as DeleteFunctionResponse, Rl as RegisterPayoutAddressInput, Rn as CliLogoutError, Ro as GetFunctionRoutingResponse, Rp as X402EmailChallenge, Rr as CreateFunctionSecretData, Rs as InboxStatusDomain, Rt as registerPayoutAddress, Ru as SemanticSearchErrors, S as PRIMITIVE_SIGNATURE_HEADER, Sa as DownloadRawEmailResponses, Sc as ListFunctionLogsError, Sd as SetOrgSecretErrors, Sf as UnverifiedDomain, Si as DeleteEmailErrors, Sl as PollCliLoginError, Sn as AddDomainErrors, So as GetConversationErrors, Sp as VerifyAgentSignupResponse, Sr as CreateEndpointInput, Ss as GetStorageStatsError, St as listDomains, Su as ResolveRegistryHandleResponses, T as DEFAULT_API_BASE_URL, Ta as EmailAuth, Tc as ListFunctionLogsResponses, Td as SetOrgSecretResponses, Tf as UpdateAccountErrors, Ti as DeleteEndpointData, Tl as PollCliLoginResponse, Tn as AddDomainResponses, To as GetEmailData, Tp as VerifyCliSignupError, Tr as CreateFilterData, Ts as GetStorageStatsResponses, Tt as listFilters, Tu as RotateWebhookSecretError, U as createRegistry, Ua as FunctionRouteBody, Uc as ListPayoutAddressesErrors, Ud as StartCliLoginResponses, Uf as UpdateFilterErrors, Ui as DeleteFunctionSecretResponse, Ul as RegistryRequest, Un as CliLogoutResult, Uo as GetFunctionTestRunTraceResponse, Up as X402PayoutAddress, Ur as CreateFunctionSecretResponses, Us as Limit, Ut as resendCliSignupVerification, Uu as SemanticSearchResult, V as createFunctionSecret, Va as FunctionListItem, Vc as ListPayoutAddressesData, Vd as StartCliLoginInput, Vf as UpdateFilterData, Vi as DeleteFunctionSecretError, Vl as Registry, Vn as CliLogoutResponse, Vo as GetFunctionTestRunTraceError, Vp as X402PaymentPayload, Vr as CreateFunctionSecretInput, Vs as InboxStatusNextAction, Vt as replyToEmail, Vu as SemanticSearchMeta, W as decideRegistryRequest, Wa as FunctionRouteResult, Wc as ListPayoutAddressesResponse, Wd as StartCliSignupData, Wf as UpdateFilterInput, Wi as DeleteFunctionSecretResponses, Wl as ReplayDeliveryData, Wn as CliSignupResendResult, Wo as GetFunctionTestRunTraceResponses, Wp as X402Receipt, Wr as CreateOrgSecretData, Ws as ListDeclinedPaymentsData, Wt as resolveRegistryHandle, Wu as SemanticSearchScoreBreakdown, X as deleteFunction, Xa as FunctionTestRunDeliveryEndpoint, Xc as ListRegistriesResponses, Xd as StorageStats, Xf as UpdateFunctionInput, Xi as DeliveryStatus, Xl as ReplayEmailWebhooksError, Xn as CreateAgentAccountError, Xo as GetOrgRoutingTopologyData, Xp as CreateClientConfig, Xr as CreateRegistryData, Xs as ListDeliveriesError, Xt as setFunctionRoute, Xu as SendEmailResponses, Y as deleteFilter, Ya as FunctionTestRunDelivery, Yc as ListRegistriesResponse, Yd as StartCliSignupResponses, Yf as UpdateFunctionErrors, Yi as DeleteOrgSecretResponses, Yl as ReplayEmailWebhooksData, Yn as CreateAgentAccountData, Yo as GetInboxStatusResponses, Yp as Config, Yr as CreateOrgSecretResponses, Ys as ListDeliveriesData, Yt as sendEmail, Yu as SendEmailResponse, Z as deleteFunctionSecret, Za as FunctionTestRunInboundEmail, Zc as ListRegistryAgentsData, Zd as SuccessEnvelope, Zf as UpdateFunctionResponse, Zi as DeliverySummary, Zl as ReplayEmailWebhooksErrors, Zn as CreateAgentAccountErrors, Zo as GetOrgRoutingTopologyError, Zp as Options, Zr as CreateRegistryError, Zs as ListDeliveriesErrors, Zt as setFunctionSecret, Zu as SendMailAttachment, _ as SendThreadInput, _a as DownloadDomainZoneFileResponses, _c as ListFiltersError, _d as SetFunctionSecretInput, _f as UnsetFunctionRouteData, _i as DeleteDomainErrors, _l as PayChallengeInput, _n as verifyDomain, _o as GetChallengeErrors, _p as VerifyAgentClaimResponses, _r as CreateEmailChallengeResponse, _s as GetSpendPolicyError, _t as getStorageStats, _u as ResendCliSignupVerificationResponses, a as ForwardInput, aa as Domain, ac as ListEmailsData, ad as SendPermissionsMeta, af as TestFunctionErrors, ai as DecideRegistryRequestErrors, al as ListSentEmailsData, an as unpublishAgent, ao as GetAccountData, ap as UpdateSpendPolicyData, ar as CreateAgentClaimLinkResponse, as as GetRegistryResponses, at as getChallenge, au as ReplyToEmailResponses, b as createAgent, ba as DownloadRawEmailErrors, bc as ListFiltersResponses, bd as SetOrgSecretData, bf as UnsetFunctionRouteResponse, bi as DeleteEmailData, bl as PlanLimits, bn as AddDomainData, bo as GetConversationData, bp as VerifyAgentSignupErrors, br as CreateEndpointError, bs as GetSpendPolicyResponses, bt as listDeclinedPayments, bu as ResolveRegistryHandleErrors, c as InboxStreamOptions, ca as DownloadAttachmentsData, cc as ListEmailsResponse, cd as SentEmailSummary, cf as TestInvocationResult, ci as DecideRegistryRequestResponses, cl as ListSentEmailsResponse, cn as updateDomain, co as GetAccountResponse, cp as UpdateSpendPolicyInput, cr as CreateChallengeError, cs as GetSendPermissionsErrors, ct as getFunction, cu as ResendAgentSignupVerificationErrors, d as ReplyInput, da as DownloadAttachmentsResponse, dc as ListEndpointsError, dd as SetFunctionRouteErrors, df as ThreadMessage, di as DefineAgentErrors, dl as OrgSecretWriteResult, dn as updateFunction, do as GetAgentError, dp as VerifiedDomain, dr as CreateChallengeResponse, ds as GetSentEmailData, dt as getInboxStatus, du as ResendAgentSignupVerificationResponses, ea as DiscardEmailContentError, ec as ListDomainsData, ed as SendPermissionAddress, ef as TestEndpointErrors, ei as CreateRegistryResponse, el as ListRegistryRequestsData, em as ResponseStyle, en as startAgentSignup, eo as FunctionTestRunSend, ep as UpdateRegistryError, er as CreateAgentAccountResponses, es as GetOrgRoutingTopologyResponses, et as downloadAttachments, eu as ReplayResult, f as RequestOptions$2, fa as DownloadAttachmentsResponses, fc as ListEndpointsErrors, fd as SetFunctionRouteResponse, ff as UnpublishAgentData, fi as DefineAgentInput, fl as PaginationMeta, fn as updateRegistry, fo as GetAgentErrors, fp as VerifyAgentClaimData, fr as CreateChallengeResponses, fs as GetSentEmailError, ft as getOrgRoutingTopology, fu as ResendCliSignupVerificationData, g as SendResult, ga as DownloadDomainZoneFileResponse, gc as ListFiltersData, gd as SetFunctionSecretErrors, gf as UnpublishAgentResponses, gi as DeleteDomainError, gl as PayChallengeErrors, gn as verifyCliSignup, go as GetChallengeError, gp as VerifyAgentClaimResponse, gr as CreateEmailChallengeInput, gs as GetSpendPolicyData, gt as getSpendPolicy, gu as ResendCliSignupVerificationResponse, h as SendInput, ha as DownloadDomainZoneFileErrors, hc as ListEnvelope, hd as SetFunctionSecretError, hf as UnpublishAgentResponse, hi as DeleteDomainData, hl as PayChallengeError, hn as verifyAgentSignup, ho as GetChallengeData, hp as VerifyAgentClaimInput, hr as CreateEmailChallengeErrors, hs as GetSentEmailResponses, ht as getSentEmail, hu as ResendCliSignupVerificationInput, i as CreatedAgent, ia as DkimSignature, ic as ListDomainsResponses, id as SendPermissionYourDomain, if as TestFunctionError, ii as DecideRegistryRequestError, il as ListRegistryRequestsResponses, in as testFunction, io as GateFix, ip as UpdateRegistryResponses, ir as CreateAgentClaimLinkInput, is as GetRegistryResponse, it as getAgent, iu as ReplyToEmailResponse, j as createPrimitiveApiClient, ja as EmailSearchMeta, jc as ListFunctionsData, jd as StartAgentClaimResponses, jf as UpdateDomainErrors, ji as DeleteFilterError, jl as PublishAgentResponse, jn as AgentOrgRef, jo as GetFunctionError, jp as VerifyDomainError, jr as CreateFunctionData, js as GetWebhookSecretData, jt as listRegistries, ju as SearchEmailsError, k as PrimitiveApiErrorDetails, ka as EmailSearchFacets, kc as ListFunctionSecretsResponse, kd as StartAgentClaimInput, kf as UpdateDomainData, ki as DeleteEndpointResponses, kl as PublishAgentErrors, kn as AgentClaimResult, ko as GetEmailResponses, kp as VerifyCliSignupResponses, kr as CreateFilterResponse, ks as GetThreadResponse, kt as listOrgSecrets, ku as RoutingTopology, l as PrimitiveClient, la as DownloadAttachmentsError, lc as ListEmailsResponses, ld as SetFunctionRouteData, lf as TestResult, li as DefineAgentData, ll as ListSentEmailsResponses, ln as updateEndpoint, lo as GetAccountResponses, lp as UpdateSpendPolicyResponse, lr as CreateChallengeErrors, ls as GetSendPermissionsResponse, lt as getFunctionRouting, lu as ResendAgentSignupVerificationInput, m as SendAttachment, ma as DownloadDomainZoneFileError, mc as ListEndpointsResponses, md as SetFunctionSecretData, mf as UnpublishAgentErrors, mi as DefineAgentResponses, ml as PayChallengeData, mn as verifyAgentClaim, mo as GetAgentResponses, mp as VerifyAgentClaimErrors, mr as CreateEmailChallengeError, ms as GetSentEmailResponse, mt as getSendPermissions, mu as ResendCliSignupVerificationErrors, n as AgentResource, na as DiscardEmailContentResponse, nc as ListDomainsErrors, nd as SendPermissionManagedZone, nf as TestEndpointResponses, ni as Cursor, nl as ListRegistryRequestsErrors, nm as Auth, nn as startCliSignup, no as FunctionTestRunTrace, np as UpdateRegistryInput, nr as CreateAgentClaimLinkError, ns as GetRegistryError, nt as downloadRawEmail, nu as ReplyToEmailError, o as InboundEmail, oa as DomainDnsRecord, oc as ListEmailsError, od as SentEmailDetail, of as TestFunctionResponse, oi as DecideRegistryRequestInput, ol as ListSentEmailsError, on as unsetFunctionRoute, oo as GetAccountError, op as UpdateSpendPolicyError, or as CreateAgentClaimLinkResponses, os as GetSendPermissionsData, ot as getConversation, ou as ResendAgentSignupVerificationData, p as SemanticSearchResponse, pa as DownloadDomainZoneFileData, pc as ListEndpointsResponse, pd as SetFunctionRouteResponses, pf as UnpublishAgentError, pi as DefineAgentResponse, pl as ParsedEmailData, pn as updateSpendPolicy, po as GetAgentResponse, pp as VerifyAgentClaimError, pr as CreateEmailChallengeData, ps as GetSentEmailErrors, pt as getRegistry, pu as ResendCliSignupVerificationError, q as deleteEmail, qa as FunctionSecretWriteResult, qc as ListRegistriesError, qd as StartCliSignupInput, qf as UpdateFunctionData, qi as DeleteOrgSecretErrors, ql as ReplayDeliveryResponse, qn as Conversation, qo as GetInboxStatusErrors, qp as Client, qr as CreateOrgSecretInput, qs as ListDeclinedPaymentsResponse, qt as searchEmails, qu as SendEmailError, r as CreateAgentOptions, ra as DiscardEmailContentResponses, rc as ListDomainsResponse, rd as SendPermissionRule, rf as TestFunctionData, ri as DecideRegistryRequestData, rl as ListRegistryRequestsResponse, rn as testEndpoint, ro as GateDenial, rp as UpdateRegistryResponse, rr as CreateAgentClaimLinkErrors, rs as GetRegistryErrors, rt as getAccount, ru as ReplyToEmailErrors, s as InboxResource, sa as DomainVerifyResult, sc as ListEmailsErrors, sd as SentEmailStatus, sf as TestFunctionResponses, si as DecideRegistryRequestResponse, sl as ListSentEmailsErrors, sn as updateAccount, so as GetAccountErrors, sp as UpdateSpendPolicyErrors, sr as CreateChallengeData, ss as GetSendPermissionsError, st as getEmail, su as ResendAgentSignupVerificationError, t as AccountResource, ta as DiscardEmailContentErrors, tc as ListDomainsError, td as SendPermissionAnyRecipient, tf as TestEndpointResponse, ti as CreateRegistryResponses, tl as ListRegistryRequestsError, tm as createConfig, tn as startCliLogin, to as FunctionTestRunState, tp as UpdateRegistryErrors, tr as CreateAgentClaimLinkData, ts as GetRegistryData, tt as downloadDomainZoneFile, tu as ReplyToEmailData, u as PrimitiveClientOptions, ua as DownloadAttachmentsErrors, uc as ListEndpointsData, ud as SetFunctionRouteError, uf as Thread, ui as DefineAgentError, ul as OrgSecretListItem, un as updateFilter, uo as GetAgentData, up as UpdateSpendPolicyResponses, ur as CreateChallengeInput, us as GetSendPermissionsResponses, ut as getFunctionTestRunTrace, uu as ResendAgentSignupVerificationResponse, v as WaitForNextOptions, va as DownloadRawEmailData, vc as ListFiltersErrors, vd as SetFunctionSecretResponse, vf as UnsetFunctionRouteError, vi as DeleteDomainResponse, vl as PayChallengeResponse, vn as Account, vo as GetChallengeResponse, vp as VerifyAgentSignupData, vr as CreateEmailChallengeResponses, vs as GetSpendPolicyErrors, vt as getThread, vu as ResolveRegistryHandleData, w as verifyWebhookSignature, wa as EmailAttachment, wc as ListFunctionLogsResponse, wd as SetOrgSecretResponse, wf as UpdateAccountError, wi as DeleteEmailResponses, wl as PollCliLoginInput, wn as AddDomainResponse, wo as GetConversationResponses, wp as VerifyCliSignupData, wr as CreateEndpointResponses, ws as GetStorageStatsResponse, wt as listEndpoints, wu as RotateWebhookSecretData, x as createPrimitiveClient, xa as DownloadRawEmailResponse, xc as ListFunctionLogsData, xd as SetOrgSecretError, xf as UnsetFunctionRouteResponses, xi as DeleteEmailError, xl as PollCliLoginData, xn as AddDomainError, xo as GetConversationError, xp as VerifyAgentSignupInput, xr as CreateEndpointErrors, xs as GetStorageStatsData, xt as listDeliveries, xu as ResolveRegistryHandleResponse, y as client, ya as DownloadRawEmailError, yc as ListFiltersResponse, yd as SetFunctionSecretResponses, yf as UnsetFunctionRouteErrors, yi as DeleteDomainResponses, yl as PayChallengeResponses, yn as AccountUpdated, yo as GetChallengeResponses, yp as VerifyAgentSignupError, yr as CreateEndpointData, ys as GetSpendPolicyResponse, yt as getWebhookSecret, yu as ResolveRegistryHandleError, z as createFilter, za as FunctionDeployStatus, zc as ListOrgSecretsResponse, zd as StartCliLoginError, zf as UpdateEndpointResponse, zi as DeleteFunctionResponses, zl as RegisterPayoutAddressResponse, zn as CliLogoutErrors, zo as GetFunctionRoutingResponses, zp as X402EmailChallengeDetails, zr as CreateFunctionSecretError, zs as InboxStatusEndpointSummary, zt as replayDelivery, zu as SemanticSearchField } from "../index-DZ7eZB3M.js";
1
+ import { $ as discardEmailContent, $a as FunctionTestRunReply, $c as ListRegistryAgentsResponses, $d as TestEndpointError, $f as UpdateRegistryData, $i as DiscardEmailContentData, $l as ReplayEmailWebhooksResponses, $n as CreateAgentAccountResponse, $o as GetOrgRoutingTopologyResponse, $p as RequestResult, $r as CreateRegistryInput, $s as ListDeliveriesResponses, $t as startAgentClaim, $u as SendMailResult, A as RequestOptions$1, Aa as EmailSearchHighlights, Ac as ListFunctionSecretsResponses, Ad as StartAgentClaimResponse, Af as UpdateDomainError, Ai as DeleteFilterData, Al as PublishAgentInput, An as AgentClaimStartResult, Ao as GetFunctionData, Ap as VerifyDomainData, Ar as CreateFilterResponses, As as GetThreadResponses, At as listPayoutAddresses, Au as SearchEmailsData, B as createFunction, Ba as FunctionDetail, Bc as ListOrgSecretsResponses, Bd as StartCliLoginErrors, Bf as UpdateEndpointResponses, Bi as DeleteFunctionSecretData, Bl as RegisterPayoutAddressResponses, Bn as CliLogoutInput, Bo as GetFunctionTestRunTraceData, Bp as X402NonceBinding, Br as CreateFunctionSecretErrors, Bs as InboxStatusFunctionSummary, Bt as replayEmailWebhooks, Bu as SemanticSearchInput, C as VerifyOptions, Ca as EmailAddress, Cc as ListFunctionLogsErrors, Cd as SetOrgSecretInput, Cf as UpdateAccountData, Ci as DeleteEmailResponse, Cl as PollCliLoginErrors, Cn as AddDomainInput, Co as GetConversationResponse, Cp as VerifyAgentSignupResponses, Cr as CreateEndpointResponse, Cs as GetStorageStatsErrors, Ct as listEmails, Cu as ResourceId, D as PrimitiveApiClientOptions, Da as EmailDetailReply, Dc as ListFunctionSecretsError, Dd as StartAgentClaimError, Df as UpdateAccountResponse, Di as DeleteEndpointErrors, Dl as PublishAgentData, Dn as AgentAccountUpgradeHint, Do as GetEmailErrors, Dp as VerifyCliSignupInput, Dr as CreateFilterErrors, Ds as GetThreadError, Dt as listFunctionSecrets, Du as RotateWebhookSecretResponse, E as PrimitiveApiClient, Ea as EmailDetail, Ec as ListFunctionSecretsData, Ed as StartAgentClaimData, Ef as UpdateAccountInput, Ei as DeleteEndpointError, El as PollCliLoginResponses, En as AgentAccountResult, Eo as GetEmailError, Ep as VerifyCliSignupErrors, Er as CreateFilterError, Es as GetThreadData, Et as listFunctionLogs, Eu as RotateWebhookSecretErrors, F as createAgentClaimLink, Fa as EmailWebhookStatus, Fc as ListFunctionsResponses, Fd as StartAgentSignupInput, Ff as UpdateEndpointData, Fi as DeleteFunctionData, Fl as RegisterPayoutAddressData, Fn as CliLoginPollResult, Fo as GetFunctionRoutingData, Fp as WebhookSecret, Fr as CreateFunctionResponse, Fs as GetWebhookSecretResponses, Ft as payChallenge, Fu as SemanticSearchCoverage, G as defineAgent, Ga as FunctionRouting, Gc as ListPayoutAddressesResponses, Gd as StartCliSignupError, Gf as UpdateFilterResponse, Gi as DeleteOrgSecretData, Gl as ReplayDeliveryError, Gn as CliSignupStartResult, Go as GetInboxStatusData, Gp as X402SpendPolicy, Gr as CreateOrgSecretError, Gs as ListDeclinedPaymentsError, Gt as rotateWebhookSecret, Gu as SemanticSearchSnippet, H as createOrgSecret, Ha as FunctionLogRow, Hc as ListPayoutAddressesError, Hd as StartCliLoginResponse, Hf as UpdateFilterError, Hi as DeleteFunctionSecretErrors, Hl as RegistryAgent, Hn as CliLogoutResponses, Ho as GetFunctionTestRunTraceErrors, Hp as X402PaymentRequirements, Hr as CreateFunctionSecretResponse, Hs as InboxStatusRecentEmailSummary, Ht as resendAgentSignupVerification, Hu as SemanticSearchResponses, I as createChallenge, Ia as Endpoint, Ic as ListOrgSecretsData, Id as StartAgentSignupResponse, If as UpdateEndpointError, Ii as DeleteFunctionError, Il as RegisterPayoutAddressError, In as CliLoginStartResult, Io as GetFunctionRoutingError, Ip as X402Challenge, Ir as CreateFunctionResponses, Is as IdempotencyKey, It as pollCliLogin, Iu as SemanticSearchData, J as deleteEndpoint, Ja as FunctionTestRun, Jc as ListRegistriesErrors, Jd as StartCliSignupResponse, Jf as UpdateFunctionError, Ji as DeleteOrgSecretResponse, Jl as ReplayDeliveryResponses, Jn as ConversationMessage, Jo as GetInboxStatusResponse, Jp as ClientOptions, Jr as CreateOrgSecretResponse, Js as ListDeclinedPaymentsResponses, Jt as semanticSearch, Ju as SendEmailErrors, K as deleteDomain, Ka as FunctionSecretListItem, Kc as ListRegistriesData, Kd as StartCliSignupErrors, Kf as UpdateFilterResponses, Ki as DeleteOrgSecretError, Kl as ReplayDeliveryErrors, Kn as CliSignupVerifyResult, Ko as GetInboxStatusError, Kp as createClient, Kr as CreateOrgSecretErrors, Ks as ListDeclinedPaymentsErrors, Kt as sdk_gen_d_exports, Ku as SendEmailData, L as createEmailChallenge, La as ErrorResponse, Lc as ListOrgSecretsError, Ld as StartAgentSignupResponses, Lf as UpdateEndpointErrors, Li as DeleteFunctionErrors, Ll as RegisterPayoutAddressErrors, Ln as CliLogoutData, Lo as GetFunctionRoutingErrors, Lp as X402DeclinedPayment, Lr as CreateFunctionResult, Ls as InboxStatus, Lt as publishAgent, Lu as SemanticSearchError, M as addDomain, Ma as EmailSearchResult, Mc as ListFunctionsError, Md as StartAgentSignupData, Mf as UpdateDomainInput, Mi as DeleteFilterErrors, Ml as PublishAgentResponses, Mn as AgentSignupResendResult, Mo as GetFunctionErrors, Mp as VerifyDomainErrors, Mr as CreateFunctionError, Ms as GetWebhookSecretError, Mt as listRegistryAgents, Mu as SearchEmailsErrors, N as cliLogout, Na as EmailStatus, Nc as ListFunctionsErrors, Nd as StartAgentSignupError, Nf as UpdateDomainResponse, Ni as DeleteFilterResponse, Nl as PublishAgentResult, Nn as AgentSignupStartResult, No as GetFunctionResponse, Np as VerifyDomainResponse, Nr as CreateFunctionErrors, Ns as GetWebhookSecretErrors, Nt as listRegistryRequests, Nu as SearchEmailsResponse, O as PrimitiveApiError, Oa as EmailSearchFacetBucket, Oc as ListFunctionSecretsErrors, Od as StartAgentClaimErrors, Of as UpdateAccountResponses, Oi as DeleteEndpointResponse, Ol as PublishAgentError, On as AgentClaimLinkResult, Oo as GetEmailResponse, Op as VerifyCliSignupResponse, Or as CreateFilterInput, Os as GetThreadErrors, Ot as listFunctions, Ou as RotateWebhookSecretResponses, P as createAgentAccount, Pa as EmailSummary, Pc as ListFunctionsResponse, Pd as StartAgentSignupErrors, Pf as UpdateDomainResponses, Pi as DeleteFilterResponses, Pl as PublishPolicy, Pn as AgentSignupVerifyResult, Po as GetFunctionResponses, Pp as VerifyDomainResponses, Pr as CreateFunctionInput, Ps as GetWebhookSecretResponse, Pt as listSentEmails, Pu as SearchEmailsResponses, Q as deleteOrgSecret, Qa as FunctionTestRunOutboundRequest, Qc as ListRegistryAgentsResponse, Qd as TestEndpointData, Qf as UpdateFunctionResponses, Qi as DiscardContentResult, Ql as ReplayEmailWebhooksResponse, Qn as CreateAgentAccountInput, Qo as GetOrgRoutingTopologyErrors, Qp as RequestOptions, Qr as CreateRegistryErrors, Qs as ListDeliveriesResponse, Qt as setOrgSecret, Qu as SendMailInput, R as createEndpoint, Ra as Filter, Rc as ListOrgSecretsErrors, Rd as StartCliLoginData, Rf as UpdateEndpointInput, Ri as DeleteFunctionResponse, Rl as RegisterPayoutAddressInput, Rn as CliLogoutError, Ro as GetFunctionRoutingResponse, Rp as X402EmailChallenge, Rr as CreateFunctionSecretData, Rs as InboxStatusDomain, Rt as registerPayoutAddress, Ru as SemanticSearchErrors, S as PRIMITIVE_SIGNATURE_HEADER, Sa as DownloadRawEmailResponses, Sc as ListFunctionLogsError, Sd as SetOrgSecretErrors, Sf as UnverifiedDomain, Si as DeleteEmailErrors, Sl as PollCliLoginError, Sn as AddDomainErrors, So as GetConversationErrors, Sp as VerifyAgentSignupResponse, Sr as CreateEndpointInput, Ss as GetStorageStatsError, St as listDomains, Su as ResolveRegistryHandleResponses, T as DEFAULT_API_BASE_URL, Ta as EmailAuth, Tc as ListFunctionLogsResponses, Td as SetOrgSecretResponses, Tf as UpdateAccountErrors, Ti as DeleteEndpointData, Tl as PollCliLoginResponse, Tn as AddDomainResponses, To as GetEmailData, Tp as VerifyCliSignupError, Tr as CreateFilterData, Ts as GetStorageStatsResponses, Tt as listFilters, Tu as RotateWebhookSecretError, U as createRegistry, Ua as FunctionRouteBody, Uc as ListPayoutAddressesErrors, Ud as StartCliLoginResponses, Uf as UpdateFilterErrors, Ui as DeleteFunctionSecretResponse, Ul as RegistryRequest, Un as CliLogoutResult, Uo as GetFunctionTestRunTraceResponse, Up as X402PayoutAddress, Ur as CreateFunctionSecretResponses, Us as Limit, Ut as resendCliSignupVerification, Uu as SemanticSearchResult, V as createFunctionSecret, Va as FunctionListItem, Vc as ListPayoutAddressesData, Vd as StartCliLoginInput, Vf as UpdateFilterData, Vi as DeleteFunctionSecretError, Vl as Registry, Vn as CliLogoutResponse, Vo as GetFunctionTestRunTraceError, Vp as X402PaymentPayload, Vr as CreateFunctionSecretInput, Vs as InboxStatusNextAction, Vt as replyToEmail, Vu as SemanticSearchMeta, W as decideRegistryRequest, Wa as FunctionRouteResult, Wc as ListPayoutAddressesResponse, Wd as StartCliSignupData, Wf as UpdateFilterInput, Wi as DeleteFunctionSecretResponses, Wl as ReplayDeliveryData, Wn as CliSignupResendResult, Wo as GetFunctionTestRunTraceResponses, Wp as X402Receipt, Wr as CreateOrgSecretData, Ws as ListDeclinedPaymentsData, Wt as resolveRegistryHandle, Wu as SemanticSearchScoreBreakdown, X as deleteFunction, Xa as FunctionTestRunDeliveryEndpoint, Xc as ListRegistriesResponses, Xd as StorageStats, Xf as UpdateFunctionInput, Xi as DeliveryStatus, Xl as ReplayEmailWebhooksError, Xn as CreateAgentAccountError, Xo as GetOrgRoutingTopologyData, Xp as CreateClientConfig, Xr as CreateRegistryData, Xs as ListDeliveriesError, Xt as setFunctionRoute, Xu as SendEmailResponses, Y as deleteFilter, Ya as FunctionTestRunDelivery, Yc as ListRegistriesResponse, Yd as StartCliSignupResponses, Yf as UpdateFunctionErrors, Yi as DeleteOrgSecretResponses, Yl as ReplayEmailWebhooksData, Yn as CreateAgentAccountData, Yo as GetInboxStatusResponses, Yp as Config, Yr as CreateOrgSecretResponses, Ys as ListDeliveriesData, Yt as sendEmail, Yu as SendEmailResponse, Z as deleteFunctionSecret, Za as FunctionTestRunInboundEmail, Zc as ListRegistryAgentsData, Zd as SuccessEnvelope, Zf as UpdateFunctionResponse, Zi as DeliverySummary, Zl as ReplayEmailWebhooksErrors, Zn as CreateAgentAccountErrors, Zo as GetOrgRoutingTopologyError, Zp as Options, Zr as CreateRegistryError, Zs as ListDeliveriesErrors, Zt as setFunctionSecret, Zu as SendMailAttachment, _ as SendThreadInput, _a as DownloadDomainZoneFileResponses, _c as ListFiltersError, _d as SetFunctionSecretInput, _f as UnsetFunctionRouteData, _i as DeleteDomainErrors, _l as PayChallengeInput, _n as verifyDomain, _o as GetChallengeErrors, _p as VerifyAgentClaimResponses, _r as CreateEmailChallengeResponse, _s as GetSpendPolicyError, _t as getStorageStats, _u as ResendCliSignupVerificationResponses, a as ForwardInput, aa as Domain, ac as ListEmailsData, ad as SendPermissionsMeta, af as TestFunctionErrors, ai as DecideRegistryRequestErrors, al as ListSentEmailsData, an as unpublishAgent, ao as GetAccountData, ap as UpdateSpendPolicyData, ar as CreateAgentClaimLinkResponse, as as GetRegistryResponses, at as getChallenge, au as ReplyToEmailResponses, b as createAgent, ba as DownloadRawEmailErrors, bc as ListFiltersResponses, bd as SetOrgSecretData, bf as UnsetFunctionRouteResponse, bi as DeleteEmailData, bl as PlanLimits, bn as AddDomainData, bo as GetConversationData, bp as VerifyAgentSignupErrors, br as CreateEndpointError, bs as GetSpendPolicyResponses, bt as listDeclinedPayments, bu as ResolveRegistryHandleErrors, c as InboxStreamOptions, ca as DownloadAttachmentsData, cc as ListEmailsResponse, cd as SentEmailSummary, cf as TestInvocationResult, ci as DecideRegistryRequestResponses, cl as ListSentEmailsResponse, cn as updateDomain, co as GetAccountResponse, cp as UpdateSpendPolicyInput, cr as CreateChallengeError, cs as GetSendPermissionsErrors, ct as getFunction, cu as ResendAgentSignupVerificationErrors, d as ReplyInput, da as DownloadAttachmentsResponse, dc as ListEndpointsError, dd as SetFunctionRouteErrors, df as ThreadMessage, di as DefineAgentErrors, dl as OrgSecretWriteResult, dn as updateFunction, do as GetAgentError, dp as VerifiedDomain, dr as CreateChallengeResponse, ds as GetSentEmailData, dt as getInboxStatus, du as ResendAgentSignupVerificationResponses, ea as DiscardEmailContentError, ec as ListDomainsData, ed as SendPermissionAddress, ef as TestEndpointErrors, ei as CreateRegistryResponse, el as ListRegistryRequestsData, em as ResponseStyle, en as startAgentSignup, eo as FunctionTestRunSend, ep as UpdateRegistryError, er as CreateAgentAccountResponses, es as GetOrgRoutingTopologyResponses, et as downloadAttachments, eu as ReplayResult, f as RequestOptions$2, fa as DownloadAttachmentsResponses, fc as ListEndpointsErrors, fd as SetFunctionRouteResponse, ff as UnpublishAgentData, fi as DefineAgentInput, fl as PaginationMeta, fn as updateRegistry, fo as GetAgentErrors, fp as VerifyAgentClaimData, fr as CreateChallengeResponses, fs as GetSentEmailError, ft as getOrgRoutingTopology, fu as ResendCliSignupVerificationData, g as SendResult, ga as DownloadDomainZoneFileResponse, gc as ListFiltersData, gd as SetFunctionSecretErrors, gf as UnpublishAgentResponses, gi as DeleteDomainError, gl as PayChallengeErrors, gn as verifyCliSignup, go as GetChallengeError, gp as VerifyAgentClaimResponse, gr as CreateEmailChallengeInput, gs as GetSpendPolicyData, gt as getSpendPolicy, gu as ResendCliSignupVerificationResponse, h as SendInput, ha as DownloadDomainZoneFileErrors, hc as ListEnvelope, hd as SetFunctionSecretError, hf as UnpublishAgentResponse, hi as DeleteDomainData, hl as PayChallengeError, hn as verifyAgentSignup, ho as GetChallengeData, hp as VerifyAgentClaimInput, hr as CreateEmailChallengeErrors, hs as GetSentEmailResponses, ht as getSentEmail, hu as ResendCliSignupVerificationInput, i as CreatedAgent, ia as DkimSignature, ic as ListDomainsResponses, id as SendPermissionYourDomain, if as TestFunctionError, ii as DecideRegistryRequestError, il as ListRegistryRequestsResponses, in as testFunction, io as GateFix, ip as UpdateRegistryResponses, ir as CreateAgentClaimLinkInput, is as GetRegistryResponse, it as getAgent, iu as ReplyToEmailResponse, j as createPrimitiveApiClient, ja as EmailSearchMeta, jc as ListFunctionsData, jd as StartAgentClaimResponses, jf as UpdateDomainErrors, ji as DeleteFilterError, jl as PublishAgentResponse, jn as AgentOrgRef, jo as GetFunctionError, jp as VerifyDomainError, jr as CreateFunctionData, js as GetWebhookSecretData, jt as listRegistries, ju as SearchEmailsError, k as PrimitiveApiErrorDetails, ka as EmailSearchFacets, kc as ListFunctionSecretsResponse, kd as StartAgentClaimInput, kf as UpdateDomainData, ki as DeleteEndpointResponses, kl as PublishAgentErrors, kn as AgentClaimResult, ko as GetEmailResponses, kp as VerifyCliSignupResponses, kr as CreateFilterResponse, ks as GetThreadResponse, kt as listOrgSecrets, ku as RoutingTopology, l as PrimitiveClient, la as DownloadAttachmentsError, lc as ListEmailsResponses, ld as SetFunctionRouteData, lf as TestResult, li as DefineAgentData, ll as ListSentEmailsResponses, ln as updateEndpoint, lo as GetAccountResponses, lp as UpdateSpendPolicyResponse, lr as CreateChallengeErrors, ls as GetSendPermissionsResponse, lt as getFunctionRouting, lu as ResendAgentSignupVerificationInput, m as SendAttachment, ma as DownloadDomainZoneFileError, mc as ListEndpointsResponses, md as SetFunctionSecretData, mf as UnpublishAgentErrors, mi as DefineAgentResponses, ml as PayChallengeData, mn as verifyAgentClaim, mo as GetAgentResponses, mp as VerifyAgentClaimErrors, mr as CreateEmailChallengeError, ms as GetSentEmailResponse, mt as getSendPermissions, mu as ResendCliSignupVerificationErrors, n as AgentResource, na as DiscardEmailContentResponse, nc as ListDomainsErrors, nd as SendPermissionManagedZone, nf as TestEndpointResponses, ni as Cursor, nl as ListRegistryRequestsErrors, nm as Auth, nn as startCliSignup, no as FunctionTestRunTrace, np as UpdateRegistryInput, nr as CreateAgentClaimLinkError, ns as GetRegistryError, nt as downloadRawEmail, nu as ReplyToEmailError, o as InboundEmail, oa as DomainDnsRecord, oc as ListEmailsError, od as SentEmailDetail, of as TestFunctionResponse, oi as DecideRegistryRequestInput, ol as ListSentEmailsError, on as unsetFunctionRoute, oo as GetAccountError, op as UpdateSpendPolicyError, or as CreateAgentClaimLinkResponses, os as GetSendPermissionsData, ot as getConversation, ou as ResendAgentSignupVerificationData, p as SemanticSearchResponse, pa as DownloadDomainZoneFileData, pc as ListEndpointsResponse, pd as SetFunctionRouteResponses, pf as UnpublishAgentError, pi as DefineAgentResponse, pl as ParsedEmailData, pn as updateSpendPolicy, po as GetAgentResponse, pp as VerifyAgentClaimError, pr as CreateEmailChallengeData, ps as GetSentEmailErrors, pt as getRegistry, pu as ResendCliSignupVerificationError, q as deleteEmail, qa as FunctionSecretWriteResult, qc as ListRegistriesError, qd as StartCliSignupInput, qf as UpdateFunctionData, qi as DeleteOrgSecretErrors, ql as ReplayDeliveryResponse, qn as Conversation, qo as GetInboxStatusErrors, qp as Client, qr as CreateOrgSecretInput, qs as ListDeclinedPaymentsResponse, qt as searchEmails, qu as SendEmailError, r as CreateAgentOptions, ra as DiscardEmailContentResponses, rc as ListDomainsResponse, rd as SendPermissionRule, rf as TestFunctionData, ri as DecideRegistryRequestData, rl as ListRegistryRequestsResponse, rn as testEndpoint, ro as GateDenial, rp as UpdateRegistryResponse, rr as CreateAgentClaimLinkErrors, rs as GetRegistryErrors, rt as getAccount, ru as ReplyToEmailErrors, s as InboxResource, sa as DomainVerifyResult, sc as ListEmailsErrors, sd as SentEmailStatus, sf as TestFunctionResponses, si as DecideRegistryRequestResponse, sl as ListSentEmailsErrors, sn as updateAccount, so as GetAccountErrors, sp as UpdateSpendPolicyErrors, sr as CreateChallengeData, ss as GetSendPermissionsError, st as getEmail, su as ResendAgentSignupVerificationError, t as AccountResource, ta as DiscardEmailContentErrors, tc as ListDomainsError, td as SendPermissionAnyRecipient, tf as TestEndpointResponse, ti as CreateRegistryResponses, tl as ListRegistryRequestsError, tm as createConfig, tn as startCliLogin, to as FunctionTestRunState, tp as UpdateRegistryErrors, tr as CreateAgentClaimLinkData, ts as GetRegistryData, tt as downloadDomainZoneFile, tu as ReplyToEmailData, u as PrimitiveClientOptions, ua as DownloadAttachmentsErrors, uc as ListEndpointsData, ud as SetFunctionRouteError, uf as Thread, ui as DefineAgentError, ul as OrgSecretListItem, un as updateFilter, uo as GetAgentData, up as UpdateSpendPolicyResponses, ur as CreateChallengeInput, us as GetSendPermissionsResponses, ut as getFunctionTestRunTrace, uu as ResendAgentSignupVerificationResponse, v as WaitForNextOptions, va as DownloadRawEmailData, vc as ListFiltersErrors, vd as SetFunctionSecretResponse, vf as UnsetFunctionRouteError, vi as DeleteDomainResponse, vl as PayChallengeResponse, vn as Account, vo as GetChallengeResponse, vp as VerifyAgentSignupData, vr as CreateEmailChallengeResponses, vs as GetSpendPolicyErrors, vt as getThread, vu as ResolveRegistryHandleData, w as verifyWebhookSignature, wa as EmailAttachment, wc as ListFunctionLogsResponse, wd as SetOrgSecretResponse, wf as UpdateAccountError, wi as DeleteEmailResponses, wl as PollCliLoginInput, wn as AddDomainResponse, wo as GetConversationResponses, wp as VerifyCliSignupData, wr as CreateEndpointResponses, ws as GetStorageStatsResponse, wt as listEndpoints, wu as RotateWebhookSecretData, x as createPrimitiveClient, xa as DownloadRawEmailResponse, xc as ListFunctionLogsData, xd as SetOrgSecretError, xf as UnsetFunctionRouteResponses, xi as DeleteEmailError, xl as PollCliLoginData, xn as AddDomainError, xo as GetConversationError, xp as VerifyAgentSignupInput, xr as CreateEndpointErrors, xs as GetStorageStatsData, xt as listDeliveries, xu as ResolveRegistryHandleResponse, y as client, ya as DownloadRawEmailError, yc as ListFiltersResponse, yd as SetFunctionSecretResponses, yf as UnsetFunctionRouteErrors, yi as DeleteDomainResponses, yl as PayChallengeResponses, yn as AccountUpdated, yo as GetChallengeResponses, yp as VerifyAgentSignupError, yr as CreateEndpointData, ys as GetSpendPolicyResponse, yt as getWebhookSecret, yu as ResolveRegistryHandleError, z as createFilter, za as FunctionDeployStatus, zc as ListOrgSecretsResponse, zd as StartCliLoginError, zf as UpdateEndpointResponse, zi as DeleteFunctionResponses, zl as RegisterPayoutAddressResponse, zn as CliLogoutErrors, zo as GetFunctionRoutingResponses, zp as X402EmailChallengeDetails, zr as CreateFunctionSecretError, zs as InboxStatusEndpointSummary, zt as replayDelivery, zu as SemanticSearchField } from "../index-FvnZT9Be.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-BjnIxPED.js";
4
- import { b as normalizeReceivedEmail, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, m as ReceivedEmail, p as WebhookVerificationErrorCode } from "../errors-bXUNXAlf.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";
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, 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, 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, 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, RegisterPayoutAddressData, RegisterPayoutAddressError, RegisterPayoutAddressErrors, RegisterPayoutAddressInput, RegisterPayoutAddressResponse, RegisterPayoutAddressResponses, Registry, RegistryAgent, RegistryRequest, 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, 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, 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, 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, decideRegistryRequest, defineAgent, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteOrgSecret, 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, listSentEmails, normalizeReceivedEmail, openapiDocument, operationManifest, sdk_gen_d_exports as operations, payChallenge, pollCliLogin, publishAgent, registerPayoutAddress, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, searchEmails, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setOrgSecret, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, updateSpendPolicy, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain, verifyWebhookSignature };
package/dist/api/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { $ as getStorageStats, $t as verifyDomain, A as deleteEndpoint, At as semanticSearch, B as getAgent, Bt as testFunction, C as createFunctionSecret, Ct as replyToEmail, D as defineAgent, Dt as rotateWebhookSecret, E as decideRegistryRequest, Et as resolveRegistryHandle, F as discardEmailContent, Ft as startAgentClaim, G as getFunctionRouting, Gt as updateEndpoint, H as getConversation, Ht as unsetFunctionRoute, I as downloadAttachments, It as startAgentSignup, J as getOrgRoutingTopology, Jt as updateRegistry, K as getFunctionTestRunTrace, Kt as updateFilter, L as downloadDomainZoneFile, Lt as startCliLogin, M as deleteFunction, Mt as setFunctionRoute, N as deleteFunctionSecret, Nt as setFunctionSecret, O as deleteDomain, Ot as sdk_gen_exports, P as deleteOrgSecret, Pt as setOrgSecret, Q as getSpendPolicy, Qt as verifyCliSignup, R as downloadRawEmail, Rt as startCliSignup, S as createFunction, St as replayEmailWebhooks, T as createRegistry, Tt as resendCliSignupVerification, U as getEmail, Ut as updateAccount, V as getChallenge, Vt as unpublishAgent, W as getFunction, Wt as updateDomain, X as getSendPermissions, Xt as verifyAgentClaim, Y as getRegistry, Yt as updateSpendPolicy, Z as getSentEmail, Zt as verifyAgentSignup, _ as createAgentClaimLink, _t as payChallenge, a as client, at as listEmails, b as createEndpoint, bt as registerPayoutAddress, c as PRIMITIVE_SIGNATURE_HEADER, ct as listFunctionLogs, d as PrimitiveApiClient, dt as listOrgSecrets, en as createClient, et as getThread, f as PrimitiveApiError, ft as listPayoutAddresses, g as createAgentAccount, gt as listSentEmails, h as cliLogout, ht as listRegistryRequests, i as PrimitiveClient, it as listDomains, j as deleteFilter, jt as sendEmail, k as deleteEmail, kt as searchEmails, l as verifyWebhookSignature, lt as listFunctionSecrets, m as addDomain, mt as listRegistryAgents, n as AgentResource, nt as listDeclinedPayments, o as createAgent, ot as listEndpoints, p as createPrimitiveApiClient, pt as listRegistries, q as getInboxStatus, qt as updateFunction, r as InboxResource, rt as listDeliveries, s as createPrimitiveClient, st as listFilters, t as AccountResource, tn as createConfig, tt as getWebhookSecret, u as DEFAULT_API_BASE_URL, ut as listFunctions, v as createChallenge, vt as pollCliLogin, w as createOrgSecret, wt as resendAgentSignupVerification, x as createFilter, xt as replayDelivery, y as createEmailChallenge, yt as publishAgent, z as getAccount, zt as testEndpoint } from "../api-CwpE8_17.js";
2
- import { n as openapiDocument, t as operationManifest } from "../operations.generated-03WHPOSm.js";
2
+ import { n as openapiDocument, t as operationManifest } from "../operations.generated-BlW1vtGP.js";
3
3
  import { c as WebhookVerificationError, f as normalizeReceivedEmail } from "../errors-BPJGp9I6.js";
4
4
  export { AccountResource, AgentResource, DEFAULT_API_BASE_URL, InboxResource, PRIMITIVE_SIGNATURE_HEADER, PrimitiveApiClient, PrimitiveApiError, PrimitiveClient, WebhookVerificationError, addDomain, cliLogout, client, createAgent, createAgentAccount, createAgentClaimLink, createChallenge, createClient, createConfig, createEmailChallenge, createEndpoint, createFilter, createFunction, createFunctionSecret, createOrgSecret, createPrimitiveApiClient, createPrimitiveClient, createRegistry, decideRegistryRequest, defineAgent, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteOrgSecret, 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, listSentEmails, normalizeReceivedEmail, openapiDocument, operationManifest, sdk_gen_exports as operations, payChallenge, pollCliLogin, publishAgent, registerPayoutAddress, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, searchEmails, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setOrgSecret, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, 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-BjnIxPED.js";
2
- import { C as StandardWebhooksSignResult, N as signWebhookPayload, T as signStandardWebhooksPayload, _ as WEBHOOK_VERSION, j as SignResult } from "../index-BDnY9HH-.js";
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";
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 { F as WebhookAttachment, d as EmailAuth, f as EmailReceivedEvent, u as EmailAnalysis } from "./types-BjnIxPED.js";
1
+ import { F as WebhookAttachment, d as EmailAuth, f as EmailReceivedEvent, u as EmailAnalysis } from "./types-CAG3bi20.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-bXUNXAlf.js";
1
+ import { m as ReceivedEmail } from "./errors-jagfi4Ue.js";
2
2
 
3
3
  //#region ../packages/api-core/src/api/core/auth.gen.d.ts
4
4
  type AuthToken = string | undefined;
@@ -598,14 +598,16 @@ type CreateEmailChallengeInput = {
598
598
  */
599
599
  to: string;
600
600
  /**
601
- * Amount to collect, in token base units. USDC has 6 decimals, so
602
- * `"10000"` is 0.01 USDC.
601
+ * Amount to collect, in token base units (unlike the `charge` CLI
602
+ * command, which also accepts `--amount-usdc`, this field takes base
603
+ * units only). USDC has 6 decimals, so `"10000"` is 0.01 USDC:
604
+ * multiply a human USDC amount by 1,000,000 (0.01 USDC -> `"10000"`).
603
605
  *
604
606
  */
605
607
  amount: string;
606
608
  network: 'base' | 'base-sepolia';
607
609
  /**
608
- * Seconds until the challenge expires. Defaults to 3600.
610
+ * Seconds until the challenge expires. Defaults to 300.
609
611
  */
610
612
  expires_in?: number;
611
613
  /**
@@ -1,5 +1,5 @@
1
- import { I as WebhookEvent, P as ValidateEmailAuthResult, d as EmailAuth, f as EmailReceivedEvent } from "./types-BjnIxPED.js";
2
- import { m as ReceivedEmail, u as WebhookValidationError } from "./errors-bXUNXAlf.js";
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";
3
3
 
4
4
  //#region src/validation.d.ts
5
5
  interface ValidationSuccess<T> {
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { An as AgentClaimStartResult, Dn as AgentAccountUpgradeHint, En as AgentAccountResult, O as PrimitiveApiError, On as AgentClaimLinkResult, Qn as CreateAgentAccountInput, _ as SendThreadInput, a as ForwardInput, b as createAgent, bl as PlanLimits, c as InboxStreamOptions, d as ReplyInput, g as SendResult, h as SendInput, hp as VerifyAgentClaimInput, i as CreatedAgent, ir as CreateAgentClaimLinkInput, kd as StartAgentClaimInput, kn as AgentClaimResult, l as PrimitiveClient, m as SendAttachment, o as InboundEmail, r as CreateAgentOptions, s as InboxResource, t as AccountResource, u as PrimitiveClientOptions, v as WaitForNextOptions, vn as Account, x as createPrimitiveClient, y as client } from "./index-DZ7eZB3M.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-BjnIxPED.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-bXUNXAlf.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-BDnY9HH-.js";
1
+ import { An as AgentClaimStartResult, Dn as AgentAccountUpgradeHint, En as AgentAccountResult, O as PrimitiveApiError, On as AgentClaimLinkResult, Qn as CreateAgentAccountInput, _ as SendThreadInput, a as ForwardInput, b as createAgent, bl as PlanLimits, c as InboxStreamOptions, d as ReplyInput, g as SendResult, h as SendInput, hp as VerifyAgentClaimInput, i as CreatedAgent, ir as CreateAgentClaimLinkInput, kd as StartAgentClaimInput, kn as AgentClaimResult, l as PrimitiveClient, m as SendAttachment, o as InboundEmail, r as CreateAgentOptions, s as InboxResource, t as AccountResource, u as PrimitiveClientOptions, v as WaitForNextOptions, vn as Account, x as createPrimitiveClient, y as client } from "./index-FvnZT9Be.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";
5
5
  import { NonceBinding, PayoutRegistrationMessageInput, TokenDomain, TransferAuthorization, X402Challenge, X402ChargeInput, X402Client, X402ClientOptions, X402DeclinedPayment, X402Error, X402PaymentPayload, X402PaymentRequirements, X402PayoutAddress, X402Receipt, X402Signer, X402SpendPolicy, buildPayoutRegistrationMessage, createX402Client, deriveEip3009Nonce } from "./x402/index.js";
6
6
 
7
7
  //#region src/index.d.ts
@@ -1,2 +1,2 @@
1
- import { n as openapiDocument, t as operationManifest } from "../operations.generated-03WHPOSm.js";
1
+ import { n as openapiDocument, t as operationManifest } from "../operations.generated-BlW1vtGP.js";
2
2
  export { openapiDocument, operationManifest };
@@ -3561,7 +3561,7 @@ const openapiDocument = {
3561
3561
  "amount": {
3562
3562
  "type": "string",
3563
3563
  "pattern": "^[1-9][0-9]{0,38}$",
3564
- "description": "Amount to collect, in token base units. USDC has 6 decimals, so\n`\"10000\"` is 0.01 USDC.\n"
3564
+ "description": "Amount to collect, in token base units (unlike the `charge` CLI\ncommand, which also accepts `--amount-usdc`, this field takes base\nunits only). USDC has 6 decimals, so `\"10000\"` is 0.01 USDC:\nmultiply a human USDC amount by 1,000,000 (0.01 USDC -> `\"10000\"`).\n"
3565
3565
  },
3566
3566
  "network": {
3567
3567
  "type": "string",
@@ -3571,7 +3571,7 @@ const openapiDocument = {
3571
3571
  "type": "integer",
3572
3572
  "minimum": 60,
3573
3573
  "maximum": 86400,
3574
- "description": "Seconds until the challenge expires. Defaults to 3600."
3574
+ "description": "Seconds until the challenge expires. Defaults to 300."
3575
3575
  },
3576
3576
  "resource": {
3577
3577
  "type": "string",
@@ -13508,7 +13508,7 @@ const operationManifest = [
13508
13508
  "amount": {
13509
13509
  "type": "string",
13510
13510
  "pattern": "^[1-9][0-9]{0,38}$",
13511
- "description": "Amount to collect, in token base units. USDC has 6 decimals, so\n`\"10000\"` is 0.01 USDC.\n"
13511
+ "description": "Amount to collect, in token base units (unlike the `charge` CLI\ncommand, which also accepts `--amount-usdc`, this field takes base\nunits only). USDC has 6 decimals, so `\"10000\"` is 0.01 USDC:\nmultiply a human USDC amount by 1,000,000 (0.01 USDC -> `\"10000\"`).\n"
13512
13512
  },
13513
13513
  "network": {
13514
13514
  "type": "string",
@@ -13518,7 +13518,7 @@ const operationManifest = [
13518
13518
  "type": "integer",
13519
13519
  "minimum": 60,
13520
13520
  "maximum": 86400,
13521
- "description": "Seconds until the challenge expires. Defaults to 3600."
13521
+ "description": "Seconds until the challenge expires. Defaults to 300."
13522
13522
  },
13523
13523
  "resource": {
13524
13524
  "type": "string",
@@ -1,4 +1,4 @@
1
- import { F as WebhookAttachment, l as EmailAddress, w as ParsedDataComplete } from "../types-BjnIxPED.js";
1
+ import { F as WebhookAttachment, l as EmailAddress, w as ParsedDataComplete } from "../types-CAG3bi20.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
@@ -929,28 +929,42 @@ type WebhookEventType = (typeof WEBHOOK_EVENT_TYPES)[number];
929
929
  /** True if `eventType` is a known current catalog value. */
930
930
  declare function isKnownWebhookEventType(eventType: string | null | undefined): eventType is WebhookEventType;
931
931
  /**
932
- * Common shape of a `payment.*` webhook body. The stored payload carries the
933
- * event name in `type` (not `event`); the parser overlays a canonical `event`
934
- * from the header so consumers can branch on a single field.
932
+ * Common shape of a `payment.*` webhook body. The stored payload is FLAT (no
933
+ * envelope, no nested `payment` object): it carries the event name in `type`,
934
+ * and the parser overlays a canonical `event` mirrored from the
935
+ * `X-Webhook-Event` header so consumers can branch on a single field. All
936
+ * amounts are token base units (USDC has 6 decimals, so `"10000"` is 0.01).
935
937
  */
936
938
  interface PaymentEvent {
937
939
  /** Canonical event name, mirrored from the `X-Webhook-Event` header. */
938
940
  event: "payment.settled" | "payment.failed";
939
941
  /** The event name as carried in the raw stored body. */
940
- type?: string;
941
- id?: string;
942
- created_at?: string;
943
- /** The settlement payload as stored; shape is payment-flow specific. */
944
- payment?: Record<string, unknown>;
942
+ type: "payment.settled" | "payment.failed";
943
+ /** The challenge this payment settles or fails. */
944
+ challenge_id: string;
945
+ /** The settlement network (e.g. `"base"`, `"base-sepolia"`). */
946
+ network: string;
947
+ /** Amount in token base units (USDC has 6 decimals, so `"10000"` is 0.01). */
948
+ amount: string;
949
+ /** The checksummed token contract address. */
950
+ asset: string;
951
+ /** The paying organization id, or null when not on-net. */
952
+ payer_org: string | null;
945
953
  [key: string]: unknown;
946
954
  }
947
955
  /** A `payment.settled` webhook event. */
948
956
  interface PaymentSettledEvent extends PaymentEvent {
949
957
  event: "payment.settled";
958
+ type: "payment.settled";
959
+ /** The on-chain settlement transaction hash. */
960
+ settle_tx: string;
950
961
  }
951
962
  /** A `payment.failed` webhook event. */
952
963
  interface PaymentFailedEvent extends PaymentEvent {
953
964
  event: "payment.failed";
965
+ type: "payment.failed";
966
+ /** Human-readable reason the payment failed. */
967
+ failure_reason: string;
954
968
  }
955
969
  /** A single interaction.x402.* event suffix. */
956
970
  type InteractionX402Suffix = "challenge" | "payment" | "settled" | "rejected" | "declined" | "expired" | "verify_timeout";
@@ -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-BjnIxPED.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-bXUNXAlf.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-BDnY9HH-.js";
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
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 };
@@ -382,7 +382,7 @@ interface X402EmailChargeInput {
382
382
  description?: string;
383
383
  /** A URL identifying the thing being paid for. */
384
384
  resource?: string;
385
- /** Seconds until the challenge expires (default 1h). */
385
+ /** Seconds until the challenge expires (defaults to 300s / 5 minutes). */
386
386
  expiresIn?: number;
387
387
  /**
388
388
  * Optional idempotency key. Retrying `createEmailChallenge()` with the same
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primitivedotdev/sdk",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "Official Primitive Node.js SDK: webhook, api, openapi, contract, and parser runtime modules.",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",