@primitivedotdev/sdk 1.15.0 → 1.17.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
@@ -417,6 +417,45 @@ const api = new PrimitiveApiClient({ apiKey: process.env.PRIMITIVE_API_KEY });
417
417
  const result = await getAccount({ client: api.client });
418
418
  ```
419
419
 
420
+ #### Primitive Memories
421
+
422
+ The high-level API client exposes Primitive Memories as durable JSON key-value
423
+ records under `client.memories`. Memories default to org scope. Inside a
424
+ Primitive Function, omitted scope resolves to that Function id automatically;
425
+ explicit function scope uses the function id UUID, not the function name.
426
+
427
+ ```ts
428
+ import { createPrimitiveClient } from "@primitivedotdev/sdk/api";
429
+
430
+ const client = createPrimitiveClient({ apiKey: process.env.PRIMITIVE_API_KEY });
431
+
432
+ await client.memories.set({
433
+ key: "thread:latest",
434
+ value: { email_id: "em_123" },
435
+ });
436
+
437
+ await client.memories.set({
438
+ key: "state",
439
+ value: { step: 2 },
440
+ scope: { type: "function", id: functionId },
441
+ });
442
+
443
+ const memory = await client.memories.get("thread:latest");
444
+
445
+ const page = await client.memories.search({
446
+ prefix: "thread:",
447
+ includeValue: false,
448
+ });
449
+
450
+ await client.memories.delete("thread:latest");
451
+ ```
452
+
453
+ `client.memories.search` lists memories by key prefix; it is not free-text or
454
+ semantic search. Use `client.semanticSearch(...)` for mail search. The raw
455
+ generated operations (`setMemory`, `getMemory`, `searchMemories`,
456
+ `deleteMemory`) remain exported from `@primitivedotdev/sdk/api` for callers who
457
+ want the exact OpenAPI operation shape.
458
+
420
459
  ### Webhook signature verification
421
460
 
422
461
  `primitive.receive(...)` handles verification automatically. If you need to verify a delivery yourself (a different language reverse-proxying through Node, a one-off audit, etc.), the wire format is:
@@ -1,5 +1,5 @@
1
- import { $ as deleteFunction, $a as DiscardEmailContentResponses, $c as ListDeliveriesResponse, $d as RotateWebhookSecretError, $f as SetFunctionSecretResponses, $h as X402SpendPolicy, $i as DeleteDomainResponse, $l as ListRegistryAgentsResponse, $m as UpdateSpendPolicyError, $n as CliLoginStartResult, $o as GateDenial, $p as UnpublishAgentData, $r as CreateFunctionResponses, $s as GetRegistryErrors, $t as replyToEmail, $u as PublishAgentResponses, A as RequestOptions$1, Aa as DeleteOrgSecretResponses, Ac as GetWakeScheduleResponse, Ad as ReplyToEmailError, Af as SendEmailResponses, Ah as VerifyCliSignupError, Ai as CreateWakeAuthorizationResponses, Al as ListFunctionSecretsResponse, Am as UpdateFilterErrors, An as updateWakeSchedule, Ao as EmailSummary, Ap as StartCliLoginResponses, Ar as CreateEmailChallengeData, As as GetFunctionResponses, At as listEmails, Au as ListWakeSchedulesResponses, B as createFunction, Ba as DeleteWakeAuthorizationResponses, Bc as InboxStatusEndpointSummary, Bd as ResendCliSignupVerificationData, Bf as SentEmailDetail, Bh as WakeAuthorization, Bi as DecideRegistryRequestErrors, Bl as ListOrgSecretsResponse, Bm as UpdateRegistryData, Bn as AddDomainInput, Bo as FunctionRouteResult, Bp as TestEndpointError, Br as CreateEndpointResponse, Bs as GetFunctionTestRunTraceResponses, Bt as listRegistryRequests, Bu as PayChallengeResponses, C as VerifyOptions, Ca as DeleteFunctionSecretErrors, Cc as GetThreadError, Cd as ReplayEmailWebhooksData, Cf as SemanticSearchResult, Ch as VerifyAgentSignupData, Ci as CreateRouteResponse, Cl as ListFunctionLogsError, Cm as UpdateEndpointError, Cn as updateEndpoint, Co as EmailDetailReply, Cp as StartAgentSignupResponse, Cr as CreateAgentClaimLinkResponses, Cs as GetEmailErrors, Ct as getStorageStats, Cu as ListWakeDispatchesErrors, D as PrimitiveApiClientOptions, Da as DeleteOrgSecretError, Dc as GetWakeScheduleData, Dd as ReplayEmailWebhooksResponses, Df as SendEmailError, Dh as VerifyAgentSignupResponse, Di as CreateWakeAuthorizationErrors, Dl as ListFunctionSecretsData, Dm as UpdateEndpointResponses, Dn as updateRoute, Do as EmailSearchMeta, Dp as StartCliLoginErrors, Dr as CreateChallengeInput, Ds as GetFunctionError, Dt as listDeclinedPayments, Du as ListWakeSchedulesError, E as PrimitiveApiClient, Ea as DeleteOrgSecretData, Ec as GetThreadResponses, Ed as ReplayEmailWebhooksResponse, Ef as SendEmailData, Eh as VerifyAgentSignupInput, Ei as CreateWakeAuthorizationError, El as ListFunctionLogsResponses, Em as UpdateEndpointResponse, En as updateRegistry, Eo as EmailSearchHighlights, Ep as StartCliLoginError, Er as CreateChallengeErrors, Es as GetFunctionData, Et as getWebhookSecret, Eu as ListWakeSchedulesData, F as createAgentClaimLink, Fa as DeleteRouteResponses, Fc as GetWebhookSecretResponse, Fd as ResendAgentSignupVerificationError, Ff as SendPermissionAnyRecipient, Fh as VerifyDomainData, Fi as CreateWakeScheduleResponse, Fl as ListFunctionsResponse, Fm as UpdateFunctionError, Fn as Account, Fo as FunctionDeployStatus, Fp as StartCliSignupResponse, Fr as CreateEmailChallengeResponses, Fs as GetFunctionRoutingResponses, Ft as listFunctions, Fu as PayChallengeData, G as createWakeAuthorization, Ga as DeleteWakeScheduleResponses, Gc as ListDeclinedPaymentsData, Gd as ResendCliSignupVerificationResponses, Gf as SetFunctionRouteErrors, Gh as X402DeclinedPayment, Gi as DefineAgentError, Gl as ListPayoutAddressesResponse, Gm as UpdateRegistryResponses, Gn as AgentClaimLinkResult, Go as FunctionTestRunDelivery, Gp as TestFunctionError, Gr as CreateFilterInput, Gs as GetInboxStatusResponses, Gt as listWakeSchedules, Gu as PollCliLoginInput, H as createOrgSecret, Ha as DeleteWakeScheduleError, Hc as InboxStatusNextAction, Hd as ResendCliSignupVerificationErrors, Hf as SentEmailSummary, Hh as WakeSchedule, Hi as DecideRegistryRequestResponse, Hl as ListPayoutAddressesData, Hm as UpdateRegistryErrors, Hn as AddDomainResponses, Ho as FunctionSecretListItem, Hp as TestEndpointResponse, Hr as CreateFilterData, Hs as GetInboxStatusError, Ht as listSentEmails, Hu as PollCliLoginData, I as createChallenge, Ia as DeleteWakeAuthorizationData, Ic as GetWebhookSecretResponses, Id as ResendAgentSignupVerificationErrors, If as SendPermissionManagedZone, Ih as VerifyDomainError, Ii as CreateWakeScheduleResponses, Il as ListFunctionsResponses, Im as UpdateFunctionErrors, In as AccountUpdated, Io as FunctionDetail, Ip as StartCliSignupResponses, Ir as CreateEndpointData, Is as GetFunctionTestRunTraceData, It as listOrgSecrets, Iu as PayChallengeError, J as defineAgent, Ja as DiscardContentResult, Jc as ListDeclinedPaymentsResponse, Jd as ResolveRegistryHandleErrors, Jf as SetFunctionSecretData, Jh as X402NonceBinding, Ji as DefineAgentResponse, Jl as ListRegistriesError, Jm as UpdateRouteErrors, Jn as AgentOrgRef, Jo as FunctionTestRunOutboundRequest, Jp as TestFunctionResponses, Jr as CreateFunctionData, Js as GetOrgRoutingTopologyErrors, Jt as publishAgent, Ju as PublishAgentData, K as createWakeSchedule, Ka as DeliveryStatus, Kc as ListDeclinedPaymentsError, Kd as ResolveRegistryHandleData, Kf as SetFunctionRouteResponse, Kh as X402EmailChallenge, Ki as DefineAgentErrors, Kl as ListPayoutAddressesResponses, Km as UpdateRouteData, Kn as AgentClaimResult, Ko as FunctionTestRunDeliveryEndpoint, Kp as TestFunctionErrors, Kr as CreateFilterResponse, Ks as GetOrgRoutingTopologyData, Kt as payChallenge, Ku as PollCliLoginResponse, L as createEmailChallenge, La as DeleteWakeAuthorizationError, Lc as IdempotencyKey, Ld as ResendAgentSignupVerificationInput, Lf as SendPermissionRule, Lh as VerifyDomainErrors, Li as Cursor, Ll as ListOrgSecretsData, Lm as UpdateFunctionInput, Ln as AddDomainData, Lo as FunctionListItem, Lp as StorageStats, Lr as CreateEndpointError, Ls as GetFunctionTestRunTraceError, Lt as listPayoutAddresses, Lu as PayChallengeErrors, M as addDomain, Ma as DeleteRouteError, Mc as GetWebhookSecretData, Md as ReplyToEmailResponse, Mf as SendMailInput, Mh as VerifyCliSignupInput, Mi as CreateWakeScheduleError, Ml as ListFunctionsData, Mm as UpdateFilterResponse, Mn as verifyAgentSignup, Mo as Endpoint, Mp as StartCliSignupError, Mr as CreateEmailChallengeErrors, Ms as GetFunctionRoutingError, Mt as listFilters, Mu as OrgSecretWriteResult, N as cliLogout, Na as DeleteRouteErrors, Nc as GetWebhookSecretError, Nd as ReplyToEmailResponses, Nf as SendMailResult, Nh as VerifyCliSignupResponse, Ni as CreateWakeScheduleErrors, Nl as ListFunctionsError, Nm as UpdateFilterResponses, Nn as verifyCliSignup, No as ErrorResponse, Np as StartCliSignupErrors, Nr as CreateEmailChallengeInput, Ns as GetFunctionRoutingErrors, Nt as listFunctionLogs, Nu as PaginationMeta, O as PrimitiveApiError, Oa as DeleteOrgSecretErrors, Oc as GetWakeScheduleError, Od as ReplayResult, Of as SendEmailErrors, Oh as VerifyAgentSignupResponses, Oi as CreateWakeAuthorizationInput, Ol as ListFunctionSecretsError, Om as UpdateFilterData, On as updateSpendPolicy, Oo as EmailSearchResult, Op as StartCliLoginInput, Or as CreateChallengeResponse, Os as GetFunctionErrors, Ot as listDeliveries, Ou as ListWakeSchedulesErrors, P as createAgentAccount, Pa as DeleteRouteResponse, Pc as GetWebhookSecretErrors, Pd as ResendAgentSignupVerificationData, Pf as SendPermissionAddress, Ph as VerifyCliSignupResponses, Pi as CreateWakeScheduleInput, Pl as ListFunctionsErrors, Pm as UpdateFunctionData, Pn as verifyDomain, Po as Filter, Pp as StartCliSignupInput, Pr as CreateEmailChallengeResponse, Ps as GetFunctionRoutingResponse, Pt as listFunctionSecrets, Pu as ParsedEmailData, Q as deleteFilter, Qa as DiscardEmailContentResponse, Qc as ListDeliveriesErrors, Qd as RotateWebhookSecretData, Qf as SetFunctionSecretResponse, Qh as X402Receipt, Qi as DeleteDomainErrors, Ql as ListRegistryAgentsData, Qm as UpdateSpendPolicyData, Qn as CliLoginPollResult, Qo as FunctionTestRunTrace, Qp as ThreadMessage, Qr as CreateFunctionResponse, Qs as GetRegistryError, Qt as replayEmailWebhooks, Qu as PublishAgentResponse, R as createEndpoint, Ra as DeleteWakeAuthorizationErrors, Rc as InboxStatus, Rd as ResendAgentSignupVerificationResponse, Rf as SendPermissionYourDomain, Rh as VerifyDomainResponse, Ri as DecideRegistryRequestData, Rl as ListOrgSecretsError, Rm as UpdateFunctionResponse, Rn as AddDomainError, Ro as FunctionLogRow, Rp as SuccessEnvelope, Rr as CreateEndpointErrors, Rs as GetFunctionTestRunTraceErrors, Rt as listRegistries, Ru as PayChallengeInput, S as PRIMITIVE_SIGNATURE_HEADER, Sa as DeleteFunctionSecretError, Sc as GetThreadData, Sd as ReplayDeliveryResponses, Sf as SemanticSearchResponses, Sh as VerifyAgentClaimResponses, Si as CreateRouteInput, Sl as ListFunctionLogsData, Sm as UpdateEndpointData, Sn as updateDomain, So as EmailDetail, Sp as StartAgentSignupInput, Sr as CreateAgentClaimLinkResponse, Ss as GetEmailError, St as getSpendPolicy, Su as ListWakeDispatchesError, T as DEFAULT_API_BASE_URL, Ta as DeleteFunctionSecretResponses, Tc as GetThreadResponse, Td as ReplayEmailWebhooksErrors, Tf as SemanticSearchSnippet, Th as VerifyAgentSignupErrors, Ti as CreateWakeAuthorizationData, Tl as ListFunctionLogsResponse, Tm as UpdateEndpointInput, Tn as updateFunction, To as EmailSearchFacets, Tp as StartCliLoginData, Tr as CreateChallengeError, Ts as GetEmailResponses, Tt as getWakeSchedule, Tu as ListWakeDispatchesResponses, U as createRegistry, Ua as DeleteWakeScheduleErrors, Uc as InboxStatusRecentEmailSummary, Ud as ResendCliSignupVerificationInput, Uf as SetFunctionRouteData, Uh as WebhookSecret, Ui as DecideRegistryRequestResponses, Ul as ListPayoutAddressesError, Um as UpdateRegistryInput, Un as AgentAccountResult, Uo as FunctionSecretWriteResult, Up as TestEndpointResponses, Ur as CreateFilterError, Us as GetInboxStatusErrors, Ut as listWakeAuthorizations, Uu as PollCliLoginError, V as createFunctionSecret, Va as DeleteWakeScheduleData, Vc as InboxStatusFunctionSummary, Vd as ResendCliSignupVerificationError, Vf as SentEmailStatus, Vh as WakeDispatch, Vi as DecideRegistryRequestInput, Vl as ListOrgSecretsResponses, Vm as UpdateRegistryError, Vn as AddDomainResponse, Vo as FunctionRouting, Vp as TestEndpointErrors, Vr as CreateEndpointResponses, Vs as GetInboxStatusData, Vt as listRoutes, Vu as PlanLimits, W as createRoute, Wa as DeleteWakeScheduleResponse, Wc as Limit, Wd as ResendCliSignupVerificationResponse, Wf as SetFunctionRouteError, Wh as X402Challenge, Wi as DefineAgentData, Wl as ListPayoutAddressesErrors, Wm as UpdateRegistryResponse, Wn as AgentAccountUpgradeHint, Wo as FunctionTestRun, Wp as TestFunctionData, Wr as CreateFilterErrors, Ws as GetInboxStatusResponse, Wt as listWakeDispatches, Wu as PollCliLoginErrors, X as deleteEmail, Xa as DiscardEmailContentError, Xc as ListDeliveriesData, Xd as ResolveRegistryHandleResponses, Xf as SetFunctionSecretErrors, Xh as X402PaymentRequirements, Xi as DeleteDomainData, Xl as ListRegistriesResponse, Xm as UpdateRouteResponse, Xn as AgentSignupStartResult, Xo as FunctionTestRunSend, Xp as TestResult, Xr as CreateFunctionErrors, Xs as GetOrgRoutingTopologyResponses, Xt as reorderRoutes, Xu as PublishAgentErrors, Y as deleteDomain, Ya as DiscardEmailContentData, Yc as ListDeclinedPaymentsResponses, Yd as ResolveRegistryHandleResponse, Yf as SetFunctionSecretError, Yh as X402PaymentPayload, Yi as DefineAgentResponses, Yl as ListRegistriesErrors, Ym as UpdateRouteInput, Yn as AgentSignupResendResult, Yo as FunctionTestRunReply, Yp as TestInvocationResult, Yr as CreateFunctionError, Ys as GetOrgRoutingTopologyResponse, Yt as registerPayoutAddress, Yu as PublishAgentError, Z as deleteEndpoint, Za as DiscardEmailContentErrors, Zc as ListDeliveriesError, Zd as ResourceId, Zf as SetFunctionSecretInput, Zh as X402PayoutAddress, Zi as DeleteDomainError, Zl as ListRegistriesResponses, Zm as UpdateRouteResponses, Zn as AgentSignupVerifyResult, Zo as FunctionTestRunState, Zp as Thread, Zr as CreateFunctionInput, Zs as GetRegistryData, Zt as replayDelivery, Zu as PublishAgentInput, _ as SendThreadInput, _a as DeleteFunctionError, _c as GetStorageStatsData, _d as ReorderRoutesResponses, _f as SemanticSearchError, _h as VerifyAgentClaimData, _i as CreateRegistryResponse, _l as ListFiltersData, _m as UpdateDomainError, _n as testEndpoint, _o as DownloadRawEmailResponse, _p as StartAgentClaimResponse, _r as CreateAgentAccountResponses, _s as GetConversationError, _t as getInboxStatus, _u as ListWakeAuthorizationsError, a as ForwardInput, aa as DeleteEmailResponses, ac as GetSendPermissionsResponse, ad as RegisterPayoutAddressErrors, af as RunWakeScheduleData, ag as Options, ah as UpdateWakeAuthorizationError, ai as CreateFunctionSecretResponse, al as ListDomainsResponses, am as UnsetFunctionRouteError, an as sdk_gen_d_exports, ao as DownloadAttachmentsError, ap as SetOrgSecretResponses, ar as CliLogoutResponses, as as GetAccountResponses, at as discardEmailContent, au as ListRegistryRequestsResponses, b as createAgent, ba as DeleteFunctionResponses, bc as GetStorageStatsResponse, bd as ReplayDeliveryErrors, bf as SemanticSearchInput, bh as VerifyAgentClaimInput, bi as CreateRouteError, bl as ListFiltersResponse, bm as UpdateDomainResponse, bn as unsetFunctionRoute, bo as EmailAttachment, bp as StartAgentSignupError, br as CreateAgentClaimLinkErrors, bs as GetConversationResponses, bt as getSendPermissions, bu as ListWakeAuthorizationsResponses, c as InboxStreamOptions, ca as DeleteEndpointErrors, cc as GetSentEmailError, cd as RegisterPayoutAddressResponses, cf as RunWakeScheduleResponse, cg as ResponseStyle, ch as UpdateWakeAuthorizationResponse, ci as CreateOrgSecretError, cl as ListEmailsErrors, cm as UnsetFunctionRouteResponses, cn as sendEmail, co as DownloadAttachmentsResponses, cp as SimulateRouteErrors, cr as CliSignupStartResult, cs as GetAgentErrors, ct as downloadRawEmail, cu as ListRoutesErrors, d as ReplyInput, da as DeleteFilterData, dc as GetSentEmailResponses, dd as RegistryRequest, df as SearchEmailsError, dh as UpdateWakeScheduleError, di as CreateOrgSecretResponse, dl as ListEndpointsData, dm as UpdateAccountError, dn as setOrgSecret, do as DownloadDomainZoneFileErrors, dp as SimulateRouteResponses, dr as ConversationMessage, ds as GetChallengeData, dt as getChallenge, du as ListSentEmailsData, ea as DeleteDomainResponses, ec as GetRegistryResponse, ed as PublishAgentResult, ef as RotateWebhookSecretErrors, eg as createClient, eh as UpdateSpendPolicyErrors, ei as CreateFunctionResult, el as ListDeliveriesResponses, em as UnpublishAgentError, en as resendAgentSignupVerification, eo as DkimSignature, ep as SetOrgSecretData, er as CliLogoutData, es as GateFix, et as deleteFunctionSecret, eu as ListRegistryAgentsResponses, f as RequestOptions$2, fa as DeleteFilterError, fc as GetSpendPolicyData, fd as ReorderRoutesData, ff as SearchEmailsErrors, fh as UpdateWakeScheduleErrors, fi as CreateOrgSecretResponses, fl as ListEndpointsError, fm as UpdateAccountErrors, fn as simulateRoute, fo as DownloadDomainZoneFileResponse, fp as SimulateRouteResult, fr as CreateAgentAccountData, fs as GetChallengeError, ft as getConversation, fu as ListSentEmailsError, g as SendResult, ga as DeleteFunctionData, gc as GetSpendPolicyResponses, gd as ReorderRoutesResponse, gf as SemanticSearchData, gh as VerifiedDomain, gi as CreateRegistryInput, gl as ListEnvelope, gm as UpdateDomainData, gn as startCliSignup, go as DownloadRawEmailErrors, gp as StartAgentClaimInput, gr as CreateAgentAccountResponse, gs as GetConversationData, gt as getFunctionTestRunTrace, gu as ListWakeAuthorizationsData, h as SendInput, ha as DeleteFilterResponses, hc as GetSpendPolicyResponse, hd as ReorderRoutesInput, hf as SemanticSearchCoverage, hh as UpdateWakeScheduleResponses, hi as CreateRegistryErrors, hl as ListEndpointsResponses, hm as UpdateAccountResponses, hn as startCliLogin, ho as DownloadRawEmailError, hp as StartAgentClaimErrors, hr as CreateAgentAccountInput, hs as GetChallengeResponses, ht as getFunctionRouting, hu as ListSentEmailsResponses, i as CreatedAgent, ia as DeleteEmailResponse, ic as GetSendPermissionsErrors, id as RegisterPayoutAddressError, if as RoutingTopology, ig as CreateClientConfig, ih as UpdateWakeAuthorizationData, ii as CreateFunctionSecretInput, il as ListDomainsResponse, im as UnsetFunctionRouteData, in as runWakeSchedule, io as DownloadAttachmentsData, ip as SetOrgSecretResponse, ir as CliLogoutResponse, is as GetAccountResponse, it as deleteWakeSchedule, iu as ListRegistryRequestsResponse, j as createPrimitiveApiClient, ja as DeleteRouteData, jc as GetWakeScheduleResponses, jd as ReplyToEmailErrors, jf as SendMailAttachment, jh as VerifyCliSignupErrors, ji as CreateWakeScheduleData, jl as ListFunctionSecretsResponses, jm as UpdateFilterInput, jn as verifyAgentClaim, jo as EmailWebhookStatus, jp as StartCliSignupData, jr as CreateEmailChallengeError, js as GetFunctionRoutingData, jt as listEndpoints, ju as OrgSecretListItem, k as PrimitiveApiErrorDetails, ka as DeleteOrgSecretResponse, kc as GetWakeScheduleErrors, kd as ReplyToEmailData, kf as SendEmailResponse, kh as VerifyCliSignupData, ki as CreateWakeAuthorizationResponse, kl as ListFunctionSecretsErrors, km as UpdateFilterError, kn as updateWakeAuthorization, ko as EmailStatus, kp as StartCliLoginResponse, kr as CreateChallengeResponses, ks as GetFunctionResponse, kt as listDomains, ku as ListWakeSchedulesResponse, l as PrimitiveClient, la as DeleteEndpointResponse, lc as GetSentEmailErrors, ld as Registry, lf as RunWakeScheduleResponses, lg as createConfig, lh as UpdateWakeAuthorizationResponses, li as CreateOrgSecretErrors, ll as ListEmailsResponse, lm as UnverifiedDomain, ln as setFunctionRoute, lo as DownloadDomainZoneFileData, lp as SimulateRouteInput, lr as CliSignupVerifyResult, ls as GetAgentResponse, lt as getAccount, lu as ListRoutesResponse, m as SendAttachment, ma as DeleteFilterResponse, mc as GetSpendPolicyErrors, md as ReorderRoutesErrors, mf as SearchEmailsResponses, mh as UpdateWakeScheduleResponse, mi as CreateRegistryError, ml as ListEndpointsResponse, mm as UpdateAccountResponse, mn as startAgentSignup, mo as DownloadRawEmailData, mp as StartAgentClaimError, mr as CreateAgentAccountErrors, ms as GetChallengeResponse, mt as getFunction, mu as ListSentEmailsResponse, n as AgentResource, na as DeleteEmailError, nc as GetSendPermissionsData, nd as RecipientRoute, nf as RotateWebhookSecretResponses, ng as ClientOptions, nh as UpdateSpendPolicyResponse, ni as CreateFunctionSecretError, nl as ListDomainsError, nm as UnpublishAgentResponse, nn as resolveRegistryHandle, no as DomainDnsRecord, np as SetOrgSecretErrors, nr as CliLogoutErrors, ns as GetAccountError, nt as deleteRoute, nu as ListRegistryRequestsError, o as InboundEmail, oa as DeleteEndpointData, oc as GetSendPermissionsResponses, od as RegisterPayoutAddressInput, of as RunWakeScheduleError, og as RequestOptions, oh as UpdateWakeAuthorizationErrors, oi as CreateFunctionSecretResponses, ol as ListEmailsData, om as UnsetFunctionRouteErrors, on as searchEmails, oo as DownloadAttachmentsErrors, op as SimulateRouteData, or as CliLogoutResult, os as GetAgentData, ot as downloadAttachments, ou as ListRoutesData, p as SemanticSearchResponse, pa as DeleteFilterErrors, pc as GetSpendPolicyError, pd as ReorderRoutesError, pf as SearchEmailsResponse, ph as UpdateWakeScheduleInput, pi as CreateRegistryData, pl as ListEndpointsErrors, pm as UpdateAccountInput, pn as startAgentClaim, po as DownloadDomainZoneFileResponses, pp as StartAgentClaimData, pr as CreateAgentAccountError, ps as GetChallengeErrors, pt as getEmail, pu as ListSentEmailsErrors, q as decideRegistryRequest, qa as DeliverySummary, qc as ListDeclinedPaymentsErrors, qd as ResolveRegistryHandleError, qf as SetFunctionRouteResponses, qh as X402EmailChallengeDetails, qi as DefineAgentInput, ql as ListRegistriesData, qm as UpdateRouteError, qn as AgentClaimStartResult, qo as FunctionTestRunInboundEmail, qp as TestFunctionResponse, qr as CreateFilterResponses, qs as GetOrgRoutingTopologyError, qt as pollCliLogin, qu as PollCliLoginResponses, r as CreateAgentOptions, ra as DeleteEmailErrors, rc as GetSendPermissionsError, rd as RegisterPayoutAddressData, rf as RouteEvaluatedEntry, rg as Config, rh as UpdateSpendPolicyResponses, ri as CreateFunctionSecretErrors, rl as ListDomainsErrors, rm as UnpublishAgentResponses, rn as rotateWebhookSecret, ro as DomainVerifyResult, rp as SetOrgSecretInput, rr as CliLogoutInput, rs as GetAccountErrors, rt as deleteWakeAuthorization, ru as ListRegistryRequestsErrors, s as InboxResource, sa as DeleteEndpointError, sc as GetSentEmailData, sd as RegisterPayoutAddressResponse, sf as RunWakeScheduleErrors, sg as RequestResult, sh as UpdateWakeAuthorizationInput, si as CreateOrgSecretData, sl as ListEmailsError, sm as UnsetFunctionRouteResponse, sn as semanticSearch, so as DownloadAttachmentsResponse, sp as SimulateRouteError, sr as CliSignupResendResult, ss as GetAgentError, st as downloadDomainZoneFile, su as ListRoutesError, t as AccountResource, ta as DeleteEmailData, tc as GetRegistryResponses, td as PublishPolicy, tf as RotateWebhookSecretResponse, tg as Client, th as UpdateSpendPolicyInput, ti as CreateFunctionSecretData, tl as ListDomainsData, tm as UnpublishAgentErrors, tn as resendCliSignupVerification, to as Domain, tp as SetOrgSecretError, tr as CliLogoutError, ts as GetAccountData, tt as deleteOrgSecret, tu as ListRegistryRequestsData, u as PrimitiveClientOptions, ua as DeleteEndpointResponses, uc as GetSentEmailResponse, ud as RegistryAgent, uf as SearchEmailsData, ug as Auth, uh as UpdateWakeScheduleData, ui as CreateOrgSecretInput, ul as ListEmailsResponses, um as UpdateAccountData, un as setFunctionSecret, uo as DownloadDomainZoneFileError, up as SimulateRouteResponse, ur as Conversation, us as GetAgentResponses, ut as getAgent, uu as ListRoutesResponses, v as WaitForNextOptions, va as DeleteFunctionErrors, vc as GetStorageStatsError, vd as ReplayDeliveryData, vf as SemanticSearchErrors, vh as VerifyAgentClaimError, vi as CreateRegistryResponses, vl as ListFiltersError, vm as UpdateDomainErrors, vn as testFunction, vo as DownloadRawEmailResponses, vp as StartAgentClaimResponses, vr as CreateAgentClaimLinkData, vs as GetConversationErrors, vt as getOrgRoutingTopology, vu as ListWakeAuthorizationsErrors, w as verifyWebhookSignature, wa as DeleteFunctionSecretResponse, wc as GetThreadErrors, wd as ReplayEmailWebhooksError, wf as SemanticSearchScoreBreakdown, wh as VerifyAgentSignupError, wi as CreateRouteResponses, wl as ListFunctionLogsErrors, wm as UpdateEndpointErrors, wn as updateFilter, wo as EmailSearchFacetBucket, wp as StartAgentSignupResponses, wr as CreateChallengeData, ws as GetEmailResponse, wt as getThread, wu as ListWakeDispatchesResponse, x as createPrimitiveClient, xa as DeleteFunctionSecretData, xc as GetStorageStatsResponses, xd as ReplayDeliveryResponse, xf as SemanticSearchMeta, xh as VerifyAgentClaimResponse, xi as CreateRouteErrors, xl as ListFiltersResponses, xm as UpdateDomainResponses, xn as updateAccount, xo as EmailAuth, xp as StartAgentSignupErrors, xr as CreateAgentClaimLinkInput, xs as GetEmailData, xt as getSentEmail, xu as ListWakeDispatchesData, y as client, ya as DeleteFunctionResponse, yc as GetStorageStatsErrors, yd as ReplayDeliveryError, yf as SemanticSearchField, yh as VerifyAgentClaimErrors, yi as CreateRouteData, yl as ListFiltersErrors, ym as UpdateDomainInput, yn as unpublishAgent, yo as EmailAddress, yp as StartAgentSignupData, yr as CreateAgentClaimLinkError, ys as GetConversationResponse, yt as getRegistry, yu as ListWakeAuthorizationsResponse, z as createFilter, za as DeleteWakeAuthorizationResponse, zc as InboxStatusDomain, zd as ResendAgentSignupVerificationResponses, zf as SendPermissionsMeta, zh as VerifyDomainResponses, zi as DecideRegistryRequestError, zl as ListOrgSecretsErrors, zm as UpdateFunctionResponses, zn as AddDomainErrors, zo as FunctionRouteBody, zp as TestEndpointData, zr as CreateEndpointInput, zs as GetFunctionTestRunTraceResponse, zt as listRegistryAgents, zu as PayChallengeResponse } from "../index-DjHyzIVT.js";
1
+ import { $ as createWakeAuthorization, $a as DeleteRegistryResponse, $c as GetThreadErrors, $d as ReorderRoutesResponses, $f as SearchMemoriesErrors, $g as RequestOptions, $h as UpdateWakeAuthorizationErrors, $i as DecideRegistryRequestErrors, $l as ListFunctionLogsErrors, $m as UnsetFunctionRouteErrors, $n as AddDomainInput, $o as EmailStatus, $p as SimulateRouteData, $r as CreateEndpointResponse, $s as GetFunctionResponse, $t as listSentEmails, $u as ListWakeDispatchesResponse, A as PRIMITIVE_SIGNATURE_HEADER, Aa as DeleteFunctionError, Ac as GetRegistryResponses, Ad as PublishAgentData, Af as ResolveRegistryHandleErrors, Ag as VerifyDomainErrors, Ah as UpdateFunctionInput, Ai as CreateRegistryResponse, Al as ListDomainsData, Am as StorageStats, An as testEndpoint, Ao as DownloadAttachmentsErrors, Ap as SetFunctionRouteData, Ar as CreateAgentAccountResponses, As as GetAgentData, At as getRegistry, Au as ListRegistryRequestsData, B as addDomain, Ba as DeleteMemoryError, Bc as GetSentEmailResponses, Bd as RegisterPayoutAddressError, Bf as RoutingTopology, Bg as X402EmailChallengeDetails, Bh as UpdateRouteError, Bi as CreateWakeAuthorizationErrors, Bl as ListEndpointsData, Bm as TestFunctionResponse, Bn as updateRoute, Bo as DownloadRawEmailErrors, Bp as SetFunctionSecretResponses, Br as CreateChallengeInput, Bs as GetConversationData, Bt as listDomains, Bu as ListSentEmailsData, C as SendInput, Ca as DeleteEndpointResponses, Cc as GetOrgRoutingTopologyErrors, Cd as PlanLimits, Cf as ResendCliSignupVerificationError, Cg as VerifyCliSignupError, Ch as UpdateFilterErrors, Ci as CreateOrgSecretInput, Cl as ListDeclinedPaymentsResponse, Cm as StartCliLoginResponses, Cn as setMemory, Co as DiscardEmailContentResponses, Cp as SendPermissionManagedZone, Cr as Conversation, Cs as GateDenial, Ct as getEmail, Cu as ListRegistriesError, D as client, Da as DeleteFilterResponse, Dc as GetRegistryError, Dd as PollCliLoginInput, Df as ResendCliSignupVerificationResponses, Dg as VerifyCliSignupResponses, Dh as UpdateFunctionData, Di as CreateRegistryError, Dl as ListDeliveriesErrors, Dm as StartCliSignupInput, Dn as startAgentSignup, Do as DomainVerifyResult, Dp as SentEmailDetail, Dr as CreateAgentAccountErrors, Ds as GetAccountErrors, Dt as getInboxStatus, Du as ListRegistryAgentsData, E as WaitForNextOptions, Ea as DeleteFilterErrors, Ec as GetRegistryData, Ed as PollCliLoginErrors, Ef as ResendCliSignupVerificationResponse, Eg as VerifyCliSignupResponse, Eh as UpdateFilterResponses, Ei as CreateRegistryData, El as ListDeliveriesError, Em as StartCliSignupErrors, En as startAgentClaim, Eo as DomainDnsRecord, Ep as SendPermissionsMeta, Er as CreateAgentAccountError, Es as GetAccountError, Et as getFunctionTestRunTrace, Eu as ListRegistriesResponses, F as PrimitiveApiClientOptions, Fa as DeleteFunctionSecretError, Fc as GetSendPermissionsResponses, Fd as PublishAgentResponses, Ff as RotateWebhookSecretError, Fg as WakeSchedule, Fh as UpdateRegistryErrors, Fi as CreateRouteInput, Fl as ListEmailsData, Fm as TestEndpointResponse, Fn as updateDomain, Fo as DownloadDomainZoneFileErrors, Fp as SetFunctionSecretData, Fr as CreateAgentClaimLinkResponse, Fs as GetChallengeData, Ft as getThread, Fu as ListRoutesData, G as createEmailChallenge, Ga as DeleteOrgSecretData, Gc as GetSpendPolicyResponses, Gd as Registry, Gf as RunWakeScheduleResponses, Gg as X402Receipt, Gh as UpdateSpendPolicyData, Gi as CreateWakeScheduleError, Gl as ListEnvelope, Gm as ThreadMessage, Gn as verifyAgentSignup, Go as EmailAuth, Gp as SetMemoryResponse, Gr as CreateEmailChallengeErrors, Gs as GetEmailData, Gt as listFunctionSecrets, Gu as ListWakeAuthorizationsData, H as createAgentAccount, Ha as DeleteMemoryResponse, Hc as GetSpendPolicyError, Hd as RegisterPayoutAddressInput, Hf as RunWakeScheduleError, Hg as X402PaymentPayload, Hh as UpdateRouteInput, Hi as CreateWakeAuthorizationResponse, Hl as ListEndpointsErrors, Hm as TestInvocationResult, Hn as updateWakeAuthorization, Ho as DownloadRawEmailResponses, Hp as SetMemoryError, Hr as CreateChallengeResponses, Hs as GetConversationErrors, Ht as listEndpoints, Hu as ListSentEmailsErrors, I as PrimitiveApiError, Ia as DeleteFunctionSecretErrors, Ic as GetSentEmailData, Id as PublishAgentResult, If as RotateWebhookSecretErrors, Ig as WebhookSecret, Ih as UpdateRegistryInput, Ii as CreateRouteResponse, Il as ListEmailsError, Im as TestEndpointResponses, In as updateEndpoint, Io as DownloadDomainZoneFileResponse, Ip as SetFunctionSecretError, Ir as CreateAgentClaimLinkResponses, Is as GetChallengeError, It as getWakeSchedule, Iu as ListRoutesError, J as createFunction, Ja as DeleteOrgSecretResponse, Jc as GetStorageStatsErrors, Jd as ReorderRoutesData, Jf as SearchEmailsErrors, Jg as Client, Jh as UpdateSpendPolicyInput, Ji as CreateWakeScheduleResponse, Jl as ListFiltersErrors, Jm as UnpublishAgentErrors, Jn as Account, Jo as EmailSearchFacetBucket, Jp as SetOrgSecretError, Jr as CreateEmailChallengeResponses, Js as GetEmailResponse, Jt as listPayoutAddresses, Ju as ListWakeAuthorizationsResponse, K as createEndpoint, Ka as DeleteOrgSecretError, Kc as GetStorageStatsData, Kd as RegistryAgent, Kf as SearchEmailsData, Kg as X402SpendPolicy, Kh as UpdateSpendPolicyError, Ki as CreateWakeScheduleErrors, Kl as ListFiltersData, Km as UnpublishAgentData, Kn as verifyCliSignup, Ko as EmailDetail, Kp as SetMemoryResponses, Kr as CreateEmailChallengeInput, Ks as GetEmailError, Kt as listFunctions, Ku as ListWakeAuthorizationsError, L as PrimitiveApiErrorDetails, La as DeleteFunctionSecretResponse, Lc as GetSentEmailError, Ld as PublishPolicy, Lf as RotateWebhookSecretResponse, Lg as X402Challenge, Lh as UpdateRegistryResponse, Li as CreateRouteResponses, Ll as ListEmailsErrors, Lm as TestFunctionData, Ln as updateFilter, Lo as DownloadDomainZoneFileResponses, Lp as SetFunctionSecretErrors, Lr as CreateChallengeData, Ls as GetChallengeErrors, Lt as getWebhookSecret, Lu as ListRoutesErrors, M as verifyWebhookSignature, Ma as DeleteFunctionResponse, Mc as GetSendPermissionsError, Md as PublishAgentErrors, Mf as ResolveRegistryHandleResponses, Mg as VerifyDomainResponses, Mh as UpdateFunctionResponses, Mi as CreateRouteData, Ml as ListDomainsErrors, Mm as TestEndpointData, Mn as unpublishAgent, Mo as DownloadAttachmentsResponses, Mp as SetFunctionRouteErrors, Mr as CreateAgentClaimLinkError, Ms as GetAgentErrors, Mt as getSentEmail, Mu as ListRegistryRequestsErrors, N as DEFAULT_API_BASE_URL, Na as DeleteFunctionResponses, Nc as GetSendPermissionsErrors, Nd as PublishAgentInput, Nf as ResourceId, Ng as WakeAuthorization, Nh as UpdateRegistryData, Ni as CreateRouteError, Nl as ListDomainsResponse, Nm as TestEndpointError, Nn as unsetFunctionRoute, No as DownloadDomainZoneFileData, Np as SetFunctionRouteResponse, Nr as CreateAgentClaimLinkErrors, Ns as GetAgentResponse, Nt as getSpendPolicy, Nu as ListRegistryRequestsResponse, O as createAgent, Oa as DeleteFilterResponses, Oc as GetRegistryErrors, Od as PollCliLoginResponse, Of as ResolveRegistryHandleData, Og as VerifyDomainData, Oh as UpdateFunctionError, Oi as CreateRegistryErrors, Ol as ListDeliveriesResponse, Om as StartCliSignupResponse, On as startCliLogin, Oo as DownloadAttachmentsData, Op as SentEmailStatus, Or as CreateAgentAccountInput, Os as GetAccountResponse, Ot as getMemory, Ou as ListRegistryAgentsResponse, P as PrimitiveApiClient, Pa as DeleteFunctionSecretData, Pc as GetSendPermissionsResponse, Pd as PublishAgentResponse, Pf as RotateWebhookSecretData, Pg as WakeDispatch, Ph as UpdateRegistryError, Pi as CreateRouteErrors, Pl as ListDomainsResponses, Pm as TestEndpointErrors, Pn as updateAccount, Po as DownloadDomainZoneFileError, Pp as SetFunctionRouteResponses, Pr as CreateAgentClaimLinkInput, Ps as GetAgentResponses, Pt as getStorageStats, Pu as ListRegistryRequestsResponses, Q as createRoute, Qa as DeleteRegistryErrors, Qc as GetThreadError, Qd as ReorderRoutesResponse, Qf as SearchMemoriesError, Qg as Options, Qh as UpdateWakeAuthorizationError, Qi as DecideRegistryRequestError, Ql as ListFunctionLogsError, Qm as UnsetFunctionRouteError, Qn as AddDomainErrors, Qo as EmailSearchResult, Qp as SetOrgSecretResponses, Qr as CreateEndpointInput, Qs as GetFunctionErrors, Qt as listRoutes, Qu as ListWakeDispatchesErrors, R as RequestOptions$1, Ra as DeleteFunctionSecretResponses, Rc as GetSentEmailErrors, Rd as RecipientRoute, Rf as RotateWebhookSecretResponses, Rg as X402DeclinedPayment, Rh as UpdateRegistryResponses, Ri as CreateWakeAuthorizationData, Rl as ListEmailsResponse, Rm as TestFunctionError, Rn as updateFunction, Ro as DownloadRawEmailData, Rp as SetFunctionSecretInput, Rr as CreateChallengeError, Rs as GetChallengeResponse, Rt as listDeclinedPayments, Ru as ListRoutesResponse, S as SendAttachment, Sa as DeleteEndpointResponse, Sc as GetOrgRoutingTopologyError, Sd as PayChallengeResponses, Sf as ResendCliSignupVerificationData, Sg as VerifyCliSignupData, Sh as UpdateFilterError, Si as CreateOrgSecretErrors, Sl as ListDeclinedPaymentsErrors, Sm as StartCliLoginResponse, Sn as setFunctionSecret, So as DiscardEmailContentResponse, Sp as SendPermissionAnyRecipient, Sr as CliSignupVerifyResult, Ss as FunctionTestRunTrace, St as getConversation, Su as ListRegistriesData, T as SendThreadInput, Ta as DeleteFilterError, Tc as GetOrgRoutingTopologyResponses, Td as PollCliLoginError, Tf as ResendCliSignupVerificationInput, Tg as VerifyCliSignupInput, Th as UpdateFilterResponse, Ti as CreateOrgSecretResponses, Tl as ListDeliveriesData, Tm as StartCliSignupError, Tn as simulateRoute, To as Domain, Tp as SendPermissionYourDomain, Tr as CreateAgentAccountData, Ts as GetAccountData, Tt as getFunctionRouting, Tu as ListRegistriesResponse, U as createAgentClaimLink, Ua as DeleteMemoryResponses, Uc as GetSpendPolicyErrors, Ud as RegisterPayoutAddressResponse, Uf as RunWakeScheduleErrors, Ug as X402PaymentRequirements, Uh as UpdateRouteResponse, Ui as CreateWakeAuthorizationResponses, Ul as ListEndpointsResponse, Um as TestResult, Un as updateWakeSchedule, Uo as EmailAddress, Up as SetMemoryErrors, Ur as CreateEmailChallengeData, Us as GetConversationResponse, Ut as listFilters, Uu as ListSentEmailsResponse, V as cliLogout, Va as DeleteMemoryErrors, Vc as GetSpendPolicyData, Vd as RegisterPayoutAddressErrors, Vf as RunWakeScheduleData, Vg as X402NonceBinding, Vh as UpdateRouteErrors, Vi as CreateWakeAuthorizationInput, Vl as ListEndpointsError, Vm as TestFunctionResponses, Vn as updateSpendPolicy, Vo as DownloadRawEmailResponse, Vp as SetMemoryData, Vr as CreateChallengeResponse, Vs as GetConversationError, Vt as listEmails, Vu as ListSentEmailsError, W as createChallenge, Wa as DeleteMemoryResult, Wc as GetSpendPolicyResponse, Wd as RegisterPayoutAddressResponses, Wf as RunWakeScheduleResponse, Wg as X402PayoutAddress, Wh as UpdateRouteResponses, Wi as CreateWakeScheduleData, Wl as ListEndpointsResponses, Wm as Thread, Wn as verifyAgentClaim, Wo as EmailAttachment, Wp as SetMemoryInput, Wr as CreateEmailChallengeError, Ws as GetConversationResponses, Wt as listFunctionLogs, Wu as ListSentEmailsResponses, X as createOrgSecret, Xa as DeleteRegistryData, Xc as GetStorageStatsResponses, Xd as ReorderRoutesErrors, Xf as SearchEmailsResponses, Xg as Config, Xh as UpdateSpendPolicyResponses, Xi as Cursor, Xl as ListFiltersResponses, Xm as UnpublishAgentResponses, Xn as AddDomainData, Xo as EmailSearchHighlights, Xp as SetOrgSecretInput, Xr as CreateEndpointError, Xs as GetFunctionData, Xt as listRegistryAgents, Xu as ListWakeDispatchesData, Y as createFunctionSecret, Ya as DeleteOrgSecretResponses, Yc as GetStorageStatsResponse, Yd as ReorderRoutesError, Yf as SearchEmailsResponse, Yg as ClientOptions, Yh as UpdateSpendPolicyResponse, Yi as CreateWakeScheduleResponses, Yl as ListFiltersResponse, Ym as UnpublishAgentResponse, Yn as AccountUpdated, Yo as EmailSearchFacets, Yp as SetOrgSecretErrors, Yr as CreateEndpointData, Ys as GetEmailResponses, Yt as listRegistries, Yu as ListWakeAuthorizationsResponses, Z as createRegistry, Za as DeleteRegistryError, Zc as GetThreadData, Zd as ReorderRoutesInput, Zf as SearchMemoriesData, Zg as CreateClientConfig, Zh as UpdateWakeAuthorizationData, Zi as DecideRegistryRequestData, Zl as ListFunctionLogsData, Zm as UnsetFunctionRouteData, Zn as AddDomainError, Zo as EmailSearchMeta, Zp as SetOrgSecretResponse, Zr as CreateEndpointErrors, Zs as GetFunctionError, Zt as listRegistryRequests, Zu as ListWakeDispatchesError, _ as PrimitiveClient, _a as DeleteEmailResponse, _c as GetMemoryError, _d as PayChallengeData, _f as ResendAgentSignupVerificationError, _g as VerifyAgentSignupError, _h as UpdateEndpointErrors, _i as CreateFunctionSecretInput, _l as InboxStatusNextAction, _m as StartAgentSignupResponses, _n as searchEmails, _o as DeliverySummary, _p as SendEmailResponses, _r as CliLogoutResponse, _s as FunctionTestRunInboundEmail, _t as downloadDomainZoneFile, _u as ListPayoutAddressesData, a as ForwardInput, aa as DefineAgentErrors, ac as GetFunctionRoutingResponses, ad as ListWakeSchedulesResponses, af as ReplayEmailWebhooksData, ag as UpdateWakeScheduleErrors, ah as UpdateAccountErrors, ai as CreateFilterResponse, al as GetWakeScheduleResponse, am as SimulateRouteResult, an as publishAgent, ao as DeleteRouteResponses, ap as SemanticSearchErrors, ar as AgentClaimResult, as as FunctionDeployStatus, at as deleteEndpoint, au as ListFunctionSecretsResponse, b as RequestOptions$2, ba as DeleteEndpointError, bc as GetMemoryResponses, bd as PayChallengeInput, bf as ResendAgentSignupVerificationResponse, bg as VerifyAgentSignupResponse, bh as UpdateEndpointResponses, bi as CreateOrgSecretData, bl as ListDeclinedPaymentsData, bm as StartCliLoginErrors, bn as sendEmail, bo as DiscardEmailContentError, bp as SendMailResult, br as CliSignupResendResult, bs as FunctionTestRunSend, bt as getAgent, bu as ListPayoutAddressesResponse, c as InboxStreamOptions, ca as DefineAgentResponses, cc as GetFunctionTestRunTraceErrors, cd as MemoryResolvedScope, cf as ReplayEmailWebhooksResponse, cg as UpdateWakeScheduleResponses, ch as UpdateAccountResponses, ci as CreateFunctionError, cl as GetWebhookSecretError, cm as StartAgentClaimErrors, cn as replayDelivery, co as DeleteWakeAuthorizationErrors, cp as SemanticSearchMeta, cr as AgentSignupResendResult, cs as FunctionLogRow, ct as deleteFunctionSecret, cu as ListFunctionsError, d as MemoryGetInput, da as DeleteDomainErrors, dc as GetInboxStatusData, dd as MemoryScopeQueryType, df as ReplyToEmailData, dg as VerifyAgentClaimError, dh as UpdateDomainErrors, di as CreateFunctionResponse, dl as GetWebhookSecretResponses, dm as StartAgentClaimResponses, dn as resendAgentSignupVerification, do as DeleteWakeScheduleData, dp as SemanticSearchScoreBreakdown, dr as CliLoginPollResult, ds as FunctionRouting, dt as deleteRegistry, du as ListFunctionsResponses, e_ as RequestResult, ea as DecideRegistryRequestInput, ec as GetFunctionResponses, ed as ListWakeDispatchesResponses, ef as ReplayDeliveryData, eg as UpdateWakeAuthorizationInput, eh as UnsetFunctionRouteResponse, ei as CreateEndpointResponses, el as GetThreadResponse, em as SimulateRouteError, en as listWakeAuthorizations, eo as DeleteRegistryResponses, ep as SearchMemoriesResponse, er as AddDomainResponse, es as EmailSummary, et as createWakeSchedule, eu as ListFunctionLogsResponse, f as MemoryRecord, fa as DeleteDomainResponse, fc as GetInboxStatusError, fd as NumericString, ff as ReplyToEmailError, fg as VerifyAgentClaimErrors, fh as UpdateDomainInput, fi as CreateFunctionResponses, fl as IdempotencyKey, fm as StartAgentSignupData, fn as resendCliSignupVerification, fo as DeleteWakeScheduleError, fp as SemanticSearchSnippet, fr as CliLoginStartResult, fs as FunctionSecretListItem, ft as deleteRoute, fu as ListOrgSecretsData, g as MemorySetInput, ga as DeleteEmailErrors, gc as GetMemoryData, gd as ParsedEmailData, gf as ResendAgentSignupVerificationData, gg as VerifyAgentSignupData, gh as UpdateEndpointError, gi as CreateFunctionSecretErrors, gl as InboxStatusFunctionSummary, gm as StartAgentSignupResponse, gn as sdk_gen_d_exports, go as DeliveryStatus, gp as SendEmailResponse, gr as CliLogoutInput, gs as FunctionTestRunDeliveryEndpoint, gt as downloadAttachments, gu as ListOrgSecretsResponses, h as MemorySearchResponse, ha as DeleteEmailError, hc as GetInboxStatusResponses, hd as PaginationMeta, hf as ReplyToEmailResponses, hg as VerifyAgentClaimResponses, hh as UpdateEndpointData, hi as CreateFunctionSecretError, hl as InboxStatusEndpointSummary, hm as StartAgentSignupInput, hn as runWakeSchedule, ho as DeleteWakeScheduleResponses, hp as SendEmailErrors, hr as CliLogoutErrors, hs as FunctionTestRunDelivery, ht as discardEmailContent, hu as ListOrgSecretsResponse, i as CreatedAgent, ia as DefineAgentError, ic as GetFunctionRoutingResponse, id as ListWakeSchedulesResponse, if as ReplayDeliveryResponses, ig as UpdateWakeScheduleError, ih as UpdateAccountError, ii as CreateFilterInput, il as GetWakeScheduleErrors, im as SimulateRouteResponses, in as pollCliLogin, io as DeleteRouteResponse, ip as SemanticSearchError, ir as AgentClaimLinkResult, is as Filter, it as deleteEmail, iu as ListFunctionSecretsErrors, j as VerifyOptions, ja as DeleteFunctionErrors, jc as GetSendPermissionsData, jd as PublishAgentError, jf as ResolveRegistryHandleResponse, jg as VerifyDomainResponse, jh as UpdateFunctionResponse, ji as CreateRegistryResponses, jl as ListDomainsError, jm as SuccessEnvelope, jn as testFunction, jo as DownloadAttachmentsResponse, jp as SetFunctionRouteError, jr as CreateAgentClaimLinkData, js as GetAgentError, jt as getSendPermissions, ju as ListRegistryRequestsError, k as createPrimitiveClient, ka as DeleteFunctionData, kc as GetRegistryResponse, kd as PollCliLoginResponses, kf as ResolveRegistryHandleError, kg as VerifyDomainError, kh as UpdateFunctionErrors, ki as CreateRegistryInput, kl as ListDeliveriesResponses, km as StartCliSignupResponses, kn as startCliSignup, ko as DownloadAttachmentsError, kp as SentEmailSummary, kr as CreateAgentAccountResponse, ks as GetAccountResponses, kt as getOrgRoutingTopology, ku as ListRegistryAgentsResponses, l as MemoriesResource, la as DeleteDomainData, lc as GetFunctionTestRunTraceResponse, ld as MemoryScope, lf as ReplayEmailWebhooksResponses, lg as VerifiedDomain, lh as UpdateDomainData, li as CreateFunctionErrors, ll as GetWebhookSecretErrors, lm as StartAgentClaimInput, ln as replayEmailWebhooks, lo as DeleteWakeAuthorizationResponse, lp as SemanticSearchResponses, lr as AgentSignupStartResult, ls as FunctionRouteBody, lt as deleteMemory, lu as ListFunctionsErrors, m as MemorySearchInput, ma as DeleteEmailData, mc as GetInboxStatusResponse, md as OrgSecretWriteResult, mf as ReplyToEmailResponse, mg as VerifyAgentClaimResponse, mh as UpdateDomainResponses, mi as CreateFunctionSecretData, ml as InboxStatusDomain, mm as StartAgentSignupErrors, mn as rotateWebhookSecret, mo as DeleteWakeScheduleResponse, mp as SendEmailError, mr as CliLogoutError, ms as FunctionTestRun, mt as deleteWakeSchedule, mu as ListOrgSecretsErrors, n as AgentResource, n_ as createConfig, na as DecideRegistryRequestResponses, nc as GetFunctionRoutingError, nd as ListWakeSchedulesError, nf as ReplayDeliveryErrors, ng as UpdateWakeAuthorizationResponses, nh as UnverifiedDomain, ni as CreateFilterError, nl as GetWakeScheduleData, nm as SimulateRouteInput, nn as listWakeSchedules, no as DeleteRouteError, np as SemanticSearchCoverage, nr as AgentAccountResult, ns as Endpoint, nt as defineAgent, nu as ListFunctionSecretsData, o as InboundEmail, oa as DefineAgentInput, oc as GetFunctionTestRunTraceData, od as MemoryJsonValue, of as ReplayEmailWebhooksError, og as UpdateWakeScheduleInput, oh as UpdateAccountInput, oi as CreateFilterResponses, ol as GetWakeScheduleResponses, om as StartAgentClaimData, on as registerPayoutAddress, oo as DeleteWakeAuthorizationData, op as SemanticSearchField, or as AgentClaimStartResult, os as FunctionDetail, ot as deleteFilter, ou as ListFunctionSecretsResponses, p as MemoryRecordWithValue, pa as DeleteDomainResponses, pc as GetInboxStatusErrors, pd as OrgSecretListItem, pf as ReplyToEmailErrors, pg as VerifyAgentClaimInput, ph as UpdateDomainResponse, pi as CreateFunctionResult, pl as InboxStatus, pm as StartAgentSignupError, pn as resolveRegistryHandle, po as DeleteWakeScheduleErrors, pp as SendEmailData, pr as CliLogoutData, ps as FunctionSecretWriteResult, pt as deleteWakeAuthorization, pu as ListOrgSecretsError, q as createFilter, qa as DeleteOrgSecretErrors, qc as GetStorageStatsError, qd as RegistryRequest, qf as SearchEmailsError, qg as createClient, qh as UpdateSpendPolicyErrors, qi as CreateWakeScheduleInput, ql as ListFiltersError, qm as UnpublishAgentError, qn as verifyDomain, qo as EmailDetailReply, qp as SetOrgSecretData, qr as CreateEmailChallengeResponse, qs as GetEmailErrors, qt as listOrgSecrets, qu as ListWakeAuthorizationsErrors, r as CreateAgentOptions, r_ as Auth, ra as DefineAgentData, rc as GetFunctionRoutingErrors, rd as ListWakeSchedulesErrors, rf as ReplayDeliveryResponse, rg as UpdateWakeScheduleData, rh as UpdateAccountData, ri as CreateFilterErrors, rl as GetWakeScheduleError, rm as SimulateRouteResponse, rn as payChallenge, ro as DeleteRouteErrors, rp as SemanticSearchData, rr as AgentAccountUpgradeHint, rs as ErrorResponse, rt as deleteDomain, ru as ListFunctionSecretsError, s as InboxResource, sa as DefineAgentResponse, sc as GetFunctionTestRunTraceError, sd as MemoryKeyQuery, sf as ReplayEmailWebhooksErrors, sg as UpdateWakeScheduleResponse, sh as UpdateAccountResponse, si as CreateFunctionData, sl as GetWebhookSecretData, sm as StartAgentClaimError, sn as reorderRoutes, so as DeleteWakeAuthorizationError, sp as SemanticSearchInput, sr as AgentOrgRef, ss as FunctionListItem, st as deleteFunction, su as ListFunctionsData, t as AccountResource, t_ as ResponseStyle, ta as DecideRegistryRequestResponse, tc as GetFunctionRoutingData, td as ListWakeSchedulesData, tf as ReplayDeliveryError, tg as UpdateWakeAuthorizationResponse, th as UnsetFunctionRouteResponses, ti as CreateFilterData, tl as GetThreadResponses, tm as SimulateRouteErrors, tn as listWakeDispatches, to as DeleteRouteData, tp as SearchMemoriesResponses, tr as AddDomainResponses, ts as EmailWebhookStatus, tt as decideRegistryRequest, tu as ListFunctionLogsResponses, u as MemoryDeleteInput, ua as DeleteDomainError, uc as GetFunctionTestRunTraceResponses, ud as MemoryScopeId, uf as ReplayResult, ug as VerifyAgentClaimData, uh as UpdateDomainError, ui as CreateFunctionInput, ul as GetWebhookSecretResponse, um as StartAgentClaimResponse, un as replyToEmail, uo as DeleteWakeAuthorizationResponses, up as SemanticSearchResult, ur as AgentSignupVerifyResult, us as FunctionRouteResult, ut as deleteOrgSecret, uu as ListFunctionsResponse, v as PrimitiveClientOptions, va as DeleteEmailResponses, vc as GetMemoryErrors, vd as PayChallengeError, vf as ResendAgentSignupVerificationErrors, vg as VerifyAgentSignupErrors, vh as UpdateEndpointInput, vi as CreateFunctionSecretResponse, vl as InboxStatusRecentEmailSummary, vm as StartCliLoginData, vn as searchMemories, vo as DiscardContentResult, vp as SendMailAttachment, vr as CliLogoutResponses, vs as FunctionTestRunOutboundRequest, vt as downloadRawEmail, vu as ListPayoutAddressesError, w as SendResult, wa as DeleteFilterData, wc as GetOrgRoutingTopologyResponse, wd as PollCliLoginData, wf as ResendCliSignupVerificationErrors, wg as VerifyCliSignupErrors, wh as UpdateFilterInput, wi as CreateOrgSecretResponse, wl as ListDeclinedPaymentsResponses, wm as StartCliSignupData, wn as setOrgSecret, wo as DkimSignature, wp as SendPermissionRule, wr as ConversationMessage, ws as GateFix, wt as getFunction, wu as ListRegistriesErrors, x as SemanticSearchResponse, xa as DeleteEndpointErrors, xc as GetOrgRoutingTopologyData, xd as PayChallengeResponse, xf as ResendAgentSignupVerificationResponses, xg as VerifyAgentSignupResponses, xh as UpdateFilterData, xi as CreateOrgSecretError, xl as ListDeclinedPaymentsError, xm as StartCliLoginInput, xn as setFunctionRoute, xo as DiscardEmailContentErrors, xp as SendPermissionAddress, xr as CliSignupStartResult, xs as FunctionTestRunState, xt as getChallenge, xu as ListPayoutAddressesResponses, y as ReplyInput, ya as DeleteEndpointData, yc as GetMemoryResponse, yd as PayChallengeErrors, yf as ResendAgentSignupVerificationInput, yg as VerifyAgentSignupInput, yh as UpdateEndpointResponse, yi as CreateFunctionSecretResponses, yl as Limit, ym as StartCliLoginError, yn as semanticSearch, yo as DiscardEmailContentData, yp as SendMailInput, yr as CliLogoutResult, ys as FunctionTestRunReply, yt as getAccount, yu as ListPayoutAddressesErrors, z as createPrimitiveApiClient, za as DeleteMemoryData, zc as GetSentEmailResponse, zd as RegisterPayoutAddressData, zf as RouteEvaluatedEntry, zg as X402EmailChallenge, zh as UpdateRouteData, zi as CreateWakeAuthorizationError, zl as ListEmailsResponses, zm as TestFunctionErrors, zn as updateRegistry, zo as DownloadRawEmailError, zp as SetFunctionSecretResponse, zr as CreateChallengeErrors, zs as GetChallengeResponses, zt as listDeliveries, zu as ListRoutesResponses } from "../index-DZq8cw8r.js";
2
2
  import { i as openapiDocument, n as PrimitiveParameterManifest, r as operationManifest, t as PrimitiveOperationManifest } from "../operations.generated-BAniFZK9.js";
3
3
  import { f as EmailReceivedEvent } from "../types-DVjBmOg0.js";
4
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
- 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, CreateWakeAuthorizationData, CreateWakeAuthorizationError, CreateWakeAuthorizationErrors, CreateWakeAuthorizationInput, CreateWakeAuthorizationResponse, CreateWakeAuthorizationResponses, CreateWakeScheduleData, CreateWakeScheduleError, CreateWakeScheduleErrors, CreateWakeScheduleInput, CreateWakeScheduleResponse, CreateWakeScheduleResponses, 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, DeleteWakeAuthorizationData, DeleteWakeAuthorizationError, DeleteWakeAuthorizationErrors, DeleteWakeAuthorizationResponse, DeleteWakeAuthorizationResponses, DeleteWakeScheduleData, DeleteWakeScheduleError, DeleteWakeScheduleErrors, DeleteWakeScheduleResponse, DeleteWakeScheduleResponses, 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, GetWakeScheduleData, GetWakeScheduleError, GetWakeScheduleErrors, GetWakeScheduleResponse, GetWakeScheduleResponses, 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, ListWakeAuthorizationsData, ListWakeAuthorizationsError, ListWakeAuthorizationsErrors, ListWakeAuthorizationsResponse, ListWakeAuthorizationsResponses, ListWakeDispatchesData, ListWakeDispatchesError, ListWakeDispatchesErrors, ListWakeDispatchesResponse, ListWakeDispatchesResponses, ListWakeSchedulesData, ListWakeSchedulesError, ListWakeSchedulesErrors, ListWakeSchedulesResponse, ListWakeSchedulesResponses, 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, RunWakeScheduleData, RunWakeScheduleError, RunWakeScheduleErrors, RunWakeScheduleResponse, RunWakeScheduleResponses, 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, UpdateWakeAuthorizationData, UpdateWakeAuthorizationError, UpdateWakeAuthorizationErrors, UpdateWakeAuthorizationInput, UpdateWakeAuthorizationResponse, UpdateWakeAuthorizationResponses, UpdateWakeScheduleData, UpdateWakeScheduleError, UpdateWakeScheduleErrors, UpdateWakeScheduleInput, UpdateWakeScheduleResponse, UpdateWakeScheduleResponses, 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, WakeAuthorization, WakeDispatch, WakeSchedule, 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, createWakeAuthorization, createWakeSchedule, decideRegistryRequest, defineAgent, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteOrgSecret, deleteRoute, deleteWakeAuthorization, deleteWakeSchedule, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getAgent, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getOrgRoutingTopology, getRegistry, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getThread, getWakeSchedule, getWebhookSecret, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, listWakeAuthorizations, listWakeDispatches, listWakeSchedules, normalizeReceivedEmail, openapiDocument, operationManifest, sdk_gen_d_exports as operations, payChallenge, pollCliLogin, publishAgent, registerPayoutAddress, reorderRoutes, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, runWakeSchedule, searchEmails, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setOrgSecret, simulateRoute, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, updateRoute, updateSpendPolicy, updateWakeAuthorization, updateWakeSchedule, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain, verifyWebhookSignature };
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, CreateWakeAuthorizationData, CreateWakeAuthorizationError, CreateWakeAuthorizationErrors, CreateWakeAuthorizationInput, CreateWakeAuthorizationResponse, CreateWakeAuthorizationResponses, CreateWakeScheduleData, CreateWakeScheduleError, CreateWakeScheduleErrors, CreateWakeScheduleInput, CreateWakeScheduleResponse, CreateWakeScheduleResponses, 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, DeleteMemoryData, DeleteMemoryError, DeleteMemoryErrors, DeleteMemoryResponse, DeleteMemoryResponses, DeleteMemoryResult, DeleteOrgSecretData, DeleteOrgSecretError, DeleteOrgSecretErrors, DeleteOrgSecretResponse, DeleteOrgSecretResponses, DeleteRegistryData, DeleteRegistryError, DeleteRegistryErrors, DeleteRegistryResponse, DeleteRegistryResponses, DeleteRouteData, DeleteRouteError, DeleteRouteErrors, DeleteRouteResponse, DeleteRouteResponses, DeleteWakeAuthorizationData, DeleteWakeAuthorizationError, DeleteWakeAuthorizationErrors, DeleteWakeAuthorizationResponse, DeleteWakeAuthorizationResponses, DeleteWakeScheduleData, DeleteWakeScheduleError, DeleteWakeScheduleErrors, DeleteWakeScheduleResponse, DeleteWakeScheduleResponses, 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, GetMemoryData, GetMemoryError, GetMemoryErrors, GetMemoryResponse, GetMemoryResponses, 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, GetWakeScheduleData, GetWakeScheduleError, GetWakeScheduleErrors, GetWakeScheduleResponse, GetWakeScheduleResponses, 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, ListWakeAuthorizationsData, ListWakeAuthorizationsError, ListWakeAuthorizationsErrors, ListWakeAuthorizationsResponse, ListWakeAuthorizationsResponses, ListWakeDispatchesData, ListWakeDispatchesError, ListWakeDispatchesErrors, ListWakeDispatchesResponse, ListWakeDispatchesResponses, ListWakeSchedulesData, ListWakeSchedulesError, ListWakeSchedulesErrors, ListWakeSchedulesResponse, ListWakeSchedulesResponses, MemoriesResource, MemoryDeleteInput, MemoryGetInput, MemoryJsonValue, MemoryKeyQuery, MemoryRecord, MemoryRecordWithValue, MemoryResolvedScope, MemoryScope, MemoryScopeId, MemoryScopeQueryType, MemorySearchInput, MemorySearchResponse, MemorySetInput, NumericString, 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, RunWakeScheduleData, RunWakeScheduleError, RunWakeScheduleErrors, RunWakeScheduleResponse, RunWakeScheduleResponses, SearchEmailsData, SearchEmailsError, SearchEmailsErrors, SearchEmailsResponse, SearchEmailsResponses, SearchMemoriesData, SearchMemoriesError, SearchMemoriesErrors, SearchMemoriesResponse, SearchMemoriesResponses, 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, SetMemoryData, SetMemoryError, SetMemoryErrors, SetMemoryInput, SetMemoryResponse, SetMemoryResponses, 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, UpdateWakeAuthorizationData, UpdateWakeAuthorizationError, UpdateWakeAuthorizationErrors, UpdateWakeAuthorizationInput, UpdateWakeAuthorizationResponse, UpdateWakeAuthorizationResponses, UpdateWakeScheduleData, UpdateWakeScheduleError, UpdateWakeScheduleErrors, UpdateWakeScheduleInput, UpdateWakeScheduleResponse, UpdateWakeScheduleResponses, 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, WakeAuthorization, WakeDispatch, WakeSchedule, 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, createWakeAuthorization, createWakeSchedule, decideRegistryRequest, defineAgent, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteMemory, deleteOrgSecret, deleteRegistry, deleteRoute, deleteWakeAuthorization, deleteWakeSchedule, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getAgent, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getMemory, getOrgRoutingTopology, getRegistry, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getThread, getWakeSchedule, getWebhookSecret, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, listWakeAuthorizations, listWakeDispatches, listWakeSchedules, normalizeReceivedEmail, openapiDocument, operationManifest, sdk_gen_d_exports as operations, payChallenge, pollCliLogin, publishAgent, registerPayoutAddress, reorderRoutes, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, runWakeSchedule, searchEmails, searchMemories, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setMemory, setOrgSecret, simulateRoute, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, updateRoute, updateSpendPolicy, updateWakeAuthorization, updateWakeSchedule, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain, verifyWebhookSignature };
package/dist/api/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as getInboxStatus, $t as testEndpoint, A as defineAgent, At as publishAgent, B as deleteWakeSchedule, Bt as runWakeSchedule, C as createFunctionSecret, Ct as listRoutes, D as createWakeAuthorization, Dt as listWakeSchedules, E as createRoute, Et as listWakeDispatches, F as deleteFunction, Ft as replyToEmail, G as getAccount, Gt as setFunctionRoute, H as downloadAttachments, Ht as searchEmails, I as deleteFunctionSecret, It as resendAgentSignupVerification, J as getConversation, Jt as simulateRoute, K as getAgent, Kt as setFunctionSecret, L as deleteOrgSecret, Lt as resendCliSignupVerification, M as deleteEmail, Mt as reorderRoutes, N as deleteEndpoint, Nt as replayDelivery, O as createWakeSchedule, Ot as payChallenge, P as deleteFilter, Pt as replayEmailWebhooks, Q as getFunctionTestRunTrace, Qt as startCliSignup, R as deleteRoute, Rt as resolveRegistryHandle, S as createFunction, St as listRegistryRequests, T as createRegistry, Tt as listWakeAuthorizations, U as downloadDomainZoneFile, Ut as semanticSearch, V as discardEmailContent, Vt as sdk_gen_exports, W as downloadRawEmail, Wt as sendEmail, X as getFunction, Xt as startAgentSignup, Y as getEmail, Yt as startAgentClaim, Z as getFunctionRouting, Zt as startCliLogin, _ as createAgentClaimLink, _n as createClient, _t as listFunctions, a as client, an as updateEndpoint, at as getStorageStats, b as createEndpoint, bt as listRegistries, c as PRIMITIVE_SIGNATURE_HEADER, cn as updateRegistry, ct as getWebhookSecret, d as PrimitiveApiClient, dn as updateWakeAuthorization, dt as listDomains, en as testFunction, et as getOrgRoutingTopology, f as PrimitiveApiError, fn as updateWakeSchedule, ft as listEmails, g as createAgentAccount, gn as verifyDomain, gt as listFunctionSecrets, h as cliLogout, hn as verifyCliSignup, ht as listFunctionLogs, i as PrimitiveClient, in as updateDomain, it as getSpendPolicy, j as deleteDomain, jt as registerPayoutAddress, k as decideRegistryRequest, kt as pollCliLogin, l as verifyWebhookSignature, ln as updateRoute, lt as listDeclinedPayments, m as addDomain, mn as verifyAgentSignup, mt as listFilters, n as AgentResource, nn as unsetFunctionRoute, nt as getSendPermissions, o as createAgent, on as updateFilter, ot as getThread, p as createPrimitiveApiClient, pn as verifyAgentClaim, pt as listEndpoints, q as getChallenge, qt as setOrgSecret, r as InboxResource, rn as updateAccount, rt as getSentEmail, s as createPrimitiveClient, sn as updateFunction, st as getWakeSchedule, t as AccountResource, tn as unpublishAgent, tt as getRegistry, u as DEFAULT_API_BASE_URL, un as updateSpendPolicy, ut as listDeliveries, v as createChallenge, vn as createConfig, vt as listOrgSecrets, w as createOrgSecret, wt as listSentEmails, x as createFilter, xt as listRegistryAgents, y as createEmailChallenge, yt as listPayoutAddresses, z as deleteWakeAuthorization, zt as rotateWebhookSecret } from "../api-DDx-GpM5.js";
2
- import { n as openapiDocument, t as operationManifest } from "../operations.generated-DnPUVxXy.js";
1
+ import { $ as getFunction, $t as setOrgSecret, A as decideRegistryRequest, At as listWakeDispatches, B as deleteRegistry, Bt as resendAgentSignupVerification, C as createFunction, Cn as createClient, Ct as listPayoutAddresses, D as createRoute, Dt as listRoutes, E as createRegistry, Et as listRegistryRequests, F as deleteFilter, Ft as registerPayoutAddress, G as downloadAttachments, Gt as sdk_gen_exports, H as deleteWakeAuthorization, Ht as resolveRegistryHandle, I as deleteFunction, It as reorderRoutes, J as getAccount, Jt as semanticSearch, K as downloadDomainZoneFile, Kt as searchEmails, L as deleteFunctionSecret, Lt as replayDelivery, M as deleteDomain, Mt as payChallenge, N as deleteEmail, Nt as pollCliLogin, O as createWakeAuthorization, Ot as listSentEmails, P as deleteEndpoint, Pt as publishAgent, Q as getEmail, Qt as setMemory, R as deleteMemory, Rt as replayEmailWebhooks, S as createFilter, Sn as verifyDomain, St as listOrgSecrets, T as createOrgSecret, Tt as listRegistryAgents, U as deleteWakeSchedule, Ut as rotateWebhookSecret, V as deleteRoute, Vt as resendCliSignupVerification, W as discardEmailContent, Wt as runWakeSchedule, X as getChallenge, Xt as setFunctionRoute, Y as getAgent, Yt as sendEmail, Z as getConversation, Zt as setFunctionSecret, _ as createAgentAccount, _n as updateWakeAuthorization, _t as listEndpoints, a as PrimitiveClient, an as testEndpoint, at as getRegistry, b as createEmailChallenge, bn as verifyAgentSignup, bt as listFunctionSecrets, c as createPrimitiveClient, cn as unsetFunctionRoute, ct as getSpendPolicy, d as DEFAULT_API_BASE_URL, dn as updateEndpoint, dt as getWakeSchedule, en as simulateRoute, et as getFunctionRouting, f as PrimitiveApiClient, fn as updateFilter, ft as getWebhookSecret, g as cliLogout, gn as updateSpendPolicy, gt as listEmails, h as addDomain, hn as updateRoute, ht as listDomains, i as MemoriesResource, in as startCliSignup, it as getOrgRoutingTopology, j as defineAgent, jt as listWakeSchedules, k as createWakeSchedule, kt as listWakeAuthorizations, l as PRIMITIVE_SIGNATURE_HEADER, ln as updateAccount, lt as getStorageStats, m as createPrimitiveApiClient, mn as updateRegistry, mt as listDeliveries, n as AgentResource, nn as startAgentSignup, nt as getInboxStatus, o as client, on as testFunction, ot as getSendPermissions, p as PrimitiveApiError, pn as updateFunction, pt as listDeclinedPayments, q as downloadRawEmail, qt as searchMemories, r as InboxResource, rn as startCliLogin, rt as getMemory, s as createAgent, sn as unpublishAgent, st as getSentEmail, t as AccountResource, tn as startAgentClaim, tt as getFunctionTestRunTrace, u as verifyWebhookSignature, un as updateDomain, ut as getThread, v as createAgentClaimLink, vn as updateWakeSchedule, vt as listFilters, w as createFunctionSecret, wn as createConfig, wt as listRegistries, x as createEndpoint, xn as verifyCliSignup, xt as listFunctions, y as createChallenge, yn as verifyAgentClaim, yt as listFunctionLogs, z as deleteOrgSecret, zt as replyToEmail } from "../api-8z9Ouubx.js";
2
+ import { n as openapiDocument, t as operationManifest } from "../operations.generated-CORS0UoM.js";
3
3
  import { c as WebhookVerificationError, f as normalizeReceivedEmail } from "../errors-BPJGp9I6.js";
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, createRoute, createWakeAuthorization, createWakeSchedule, decideRegistryRequest, defineAgent, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteOrgSecret, deleteRoute, deleteWakeAuthorization, deleteWakeSchedule, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getAgent, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getOrgRoutingTopology, getRegistry, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getThread, getWakeSchedule, getWebhookSecret, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, listWakeAuthorizations, listWakeDispatches, listWakeSchedules, normalizeReceivedEmail, openapiDocument, operationManifest, sdk_gen_exports as operations, payChallenge, pollCliLogin, publishAgent, registerPayoutAddress, reorderRoutes, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, runWakeSchedule, searchEmails, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setOrgSecret, simulateRoute, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, updateRoute, updateSpendPolicy, updateWakeAuthorization, updateWakeSchedule, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain, verifyWebhookSignature };
4
+ export { AccountResource, AgentResource, DEFAULT_API_BASE_URL, InboxResource, MemoriesResource, 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, createRoute, createWakeAuthorization, createWakeSchedule, decideRegistryRequest, defineAgent, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteMemory, deleteOrgSecret, deleteRegistry, deleteRoute, deleteWakeAuthorization, deleteWakeSchedule, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getAgent, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getMemory, getOrgRoutingTopology, getRegistry, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getThread, getWakeSchedule, getWebhookSecret, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, listWakeAuthorizations, listWakeDispatches, listWakeSchedules, normalizeReceivedEmail, openapiDocument, operationManifest, sdk_gen_exports as operations, payChallenge, pollCliLogin, publishAgent, registerPayoutAddress, reorderRoutes, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, runWakeSchedule, searchEmails, searchMemories, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setMemory, setOrgSecret, simulateRoute, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, updateRoute, updateSpendPolicy, updateWakeAuthorization, updateWakeSchedule, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain, verifyWebhookSignature };
@@ -636,7 +636,9 @@ var sdk_gen_exports = /* @__PURE__ */ __exportAll({
636
636
  deleteFilter: () => deleteFilter,
637
637
  deleteFunction: () => deleteFunction,
638
638
  deleteFunctionSecret: () => deleteFunctionSecret,
639
+ deleteMemory: () => deleteMemory,
639
640
  deleteOrgSecret: () => deleteOrgSecret,
641
+ deleteRegistry: () => deleteRegistry,
640
642
  deleteRoute: () => deleteRoute,
641
643
  deleteWakeAuthorization: () => deleteWakeAuthorization,
642
644
  deleteWakeSchedule: () => deleteWakeSchedule,
@@ -653,6 +655,7 @@ var sdk_gen_exports = /* @__PURE__ */ __exportAll({
653
655
  getFunctionRouting: () => getFunctionRouting,
654
656
  getFunctionTestRunTrace: () => getFunctionTestRunTrace,
655
657
  getInboxStatus: () => getInboxStatus,
658
+ getMemory: () => getMemory,
656
659
  getOrgRoutingTopology: () => getOrgRoutingTopology,
657
660
  getRegistry: () => getRegistry,
658
661
  getSendPermissions: () => getSendPermissions,
@@ -695,10 +698,12 @@ var sdk_gen_exports = /* @__PURE__ */ __exportAll({
695
698
  rotateWebhookSecret: () => rotateWebhookSecret,
696
699
  runWakeSchedule: () => runWakeSchedule,
697
700
  searchEmails: () => searchEmails,
701
+ searchMemories: () => searchMemories,
698
702
  semanticSearch: () => semanticSearch,
699
703
  sendEmail: () => sendEmail,
700
704
  setFunctionRoute: () => setFunctionRoute,
701
705
  setFunctionSecret: () => setFunctionSecret,
706
+ setMemory: () => setMemory,
702
707
  setOrgSecret: () => setOrgSecret,
703
708
  simulateRoute: () => simulateRoute,
704
709
  startAgentClaim: () => startAgentClaim,
@@ -2515,6 +2520,97 @@ const listFunctionLogs = (options) => (options.client ?? client$1).get({
2515
2520
  ...options
2516
2521
  });
2517
2522
  /**
2523
+ * Delete a memory
2524
+ *
2525
+ * Delete one active memory by key and scope. Deletes are idempotent when
2526
+ * `if_version` is omitted: deleting a missing key returns `deleted:
2527
+ * false`. With `if_version`, a missing key still returns `deleted: false`,
2528
+ * but a stale version returns `memory_conflict`.
2529
+ *
2530
+ * A successful delete records memory write usage.
2531
+ *
2532
+ */
2533
+ const deleteMemory = (options) => (options.client ?? client$1).delete({
2534
+ security: [{
2535
+ scheme: "bearer",
2536
+ type: "http"
2537
+ }],
2538
+ url: "/memories",
2539
+ ...options
2540
+ });
2541
+ /**
2542
+ * Get a memory
2543
+ *
2544
+ * Fetch one active memory by key and scope. Omit scope parameters to use
2545
+ * the automatic default: function-authenticated context, then the
2546
+ * `x-primitive-function-id` header, then org scope. Function scope uses a
2547
+ * function id UUID in `scope_id`.
2548
+ *
2549
+ * A successful read records memory read usage and updates the memory's
2550
+ * read stats asynchronously.
2551
+ *
2552
+ */
2553
+ const getMemory = (options) => (options.client ?? client$1).get({
2554
+ security: [{
2555
+ scheme: "bearer",
2556
+ type: "http"
2557
+ }],
2558
+ url: "/memories",
2559
+ ...options
2560
+ });
2561
+ /**
2562
+ * Set a memory
2563
+ *
2564
+ * Create or update a durable JSON memory under an org or function scope.
2565
+ * When no explicit scope is provided, function-authenticated requests
2566
+ * use that function's id automatically; requests with
2567
+ * `x-primitive-function-id` use that function id; all other requests
2568
+ * default to org scope.
2569
+ *
2570
+ * `scope.type = function` requires the function id UUID in `scope.id`.
2571
+ * Function names are not accepted as scope identifiers. Values must be
2572
+ * valid JSON and serialize to at most 65536 UTF-8 bytes. Keys must be at
2573
+ * most 512 UTF-8 bytes. `version`, `read_count`, and `write_count` are
2574
+ * bigint counters serialized as strings.
2575
+ *
2576
+ * Passing `if_absent` turns the write into create-only. Passing
2577
+ * `if_version` turns the write into compare-and-set. These options are
2578
+ * mutually exclusive and return `memory_conflict` on a stale version or
2579
+ * existing key.
2580
+ *
2581
+ */
2582
+ const setMemory = (options) => (options.client ?? client$1).put({
2583
+ security: [{
2584
+ scheme: "bearer",
2585
+ type: "http"
2586
+ }],
2587
+ url: "/memories",
2588
+ ...options,
2589
+ headers: {
2590
+ ...options.body !== void 0 && { "Content-Type": "application/json" },
2591
+ ...options.headers
2592
+ }
2593
+ });
2594
+ /**
2595
+ * Search memories
2596
+ *
2597
+ * List active memories in a scope by lexicographic key prefix. Results
2598
+ * are ordered by key ascending. The `meta.cursor` value is the next key
2599
+ * cursor; pass it back as `cursor` to continue after that key.
2600
+ *
2601
+ * Search records one memory read usage event for the operation. Pass
2602
+ * `include_value=false` to return metadata only.
2603
+ *
2604
+ */
2605
+ const searchMemories = (options) => (options?.client ?? client$1).get({
2606
+ security: [{
2607
+ scheme: "bearer",
2608
+ type: "http"
2609
+ }],
2610
+ url: "/memories/search",
2611
+ ...options
2612
+ });
2613
+ /**
2518
2614
  * List payout addresses
2519
2615
  *
2520
2616
  * List your org's registered payout addresses, newest first.
@@ -2728,6 +2824,19 @@ const createRegistry = (options) => (options.client ?? client$1).post({
2728
2824
  }
2729
2825
  });
2730
2826
  /**
2827
+ * Delete a registry you own
2828
+ *
2829
+ * Removes the registry from discovery and frees its slug for re-creation.
2830
+ */
2831
+ const deleteRegistry = (options) => (options.client ?? client$1).delete({
2832
+ security: [{
2833
+ scheme: "bearer",
2834
+ type: "http"
2835
+ }],
2836
+ url: "/registries/{slug}",
2837
+ ...options
2838
+ });
2839
+ /**
2731
2840
  * Get a public registry's metadata
2732
2841
  */
2733
2842
  const getRegistry = (options) => (options.client ?? client$1).get({
@@ -3145,6 +3254,28 @@ function resolveRequestOptions(options) {
3145
3254
  if (Object.keys(headers).length > 0) resolved.headers = headers;
3146
3255
  return resolved;
3147
3256
  }
3257
+ function isRecord(value) {
3258
+ return Boolean(value && typeof value === "object" && !Array.isArray(value));
3259
+ }
3260
+ function rejectGeneratedOptionsShape(value, method) {
3261
+ if ("client" in value || "body" in value || "query" in value) {
3262
+ const example = method === "set" ? "client.memories.set({ key, value })" : method === "search" ? "client.memories.search({ prefix })" : `client.memories.${method}({ key })`;
3263
+ throw new TypeError(`client.memories.${method} takes the memory fields directly; use ${example}, not the generated operation options shape.`);
3264
+ }
3265
+ }
3266
+ function normalizeMemorySearchInput(input) {
3267
+ if (input === void 0) return void 0;
3268
+ if (isRecord(input) && "query" in input) {
3269
+ if (typeof input.query !== "string") rejectGeneratedOptionsShape(input, "search");
3270
+ throw new TypeError("client.memories.search is key-prefix search; pass { prefix } directly. For free-text mail search, use client.semanticSearch(...).");
3271
+ }
3272
+ rejectGeneratedOptionsShape(input, "search");
3273
+ const { includeValue, include_value, ...rest } = input;
3274
+ const normalized = { ...rest };
3275
+ const includeValueRaw = include_value !== void 0 ? include_value : includeValue;
3276
+ if (includeValueRaw !== void 0) normalized.include_value = typeof includeValueRaw === "boolean" ? includeValueRaw ? "true" : "false" : includeValueRaw;
3277
+ return normalized;
3278
+ }
3148
3279
  /**
3149
3280
  * Generic `{ success, data }` envelope unwrap for the simple
3150
3281
  * data-returning agent operations. Mirrors the error-mapping path of
@@ -3383,6 +3514,57 @@ var AccountResource = class {
3383
3514
  }), "account");
3384
3515
  }
3385
3516
  };
3517
+ /**
3518
+ * Durable JSON key-value state, grouped under `client.memories`.
3519
+ *
3520
+ * This wraps the generated `setMemory`, `getMemory`, `deleteMemory`, and
3521
+ * `searchMemories` operations with the shape most Function authors expect:
3522
+ * pass the memory fields directly instead of the generated `{ client, body }`
3523
+ * or `{ client, query }` operation wrapper. Search is key-prefix search, not
3524
+ * free-text retrieval; use `client.semanticSearch` for mail search.
3525
+ */
3526
+ var MemoriesResource = class {
3527
+ constructor(client) {
3528
+ this.client = client;
3529
+ }
3530
+ async set(input, options) {
3531
+ rejectGeneratedOptionsShape(input, "set");
3532
+ return unwrapData(await setMemory({
3533
+ body: input,
3534
+ ...resolveRequestOptions(options),
3535
+ client: this.client,
3536
+ responseStyle: "fields"
3537
+ }), "memory");
3538
+ }
3539
+ async get(input, options) {
3540
+ const query = typeof input === "string" ? { key: input } : input;
3541
+ rejectGeneratedOptionsShape(query, "get");
3542
+ return unwrapData(await getMemory({
3543
+ query,
3544
+ ...resolveRequestOptions(options),
3545
+ client: this.client,
3546
+ responseStyle: "fields"
3547
+ }), "memory");
3548
+ }
3549
+ async delete(input, options) {
3550
+ const query = typeof input === "string" ? { key: input } : input;
3551
+ rejectGeneratedOptionsShape(query, "delete");
3552
+ return unwrapData(await deleteMemory({
3553
+ query,
3554
+ ...resolveRequestOptions(options),
3555
+ client: this.client,
3556
+ responseStyle: "fields"
3557
+ }), "memory delete");
3558
+ }
3559
+ async search(input, options) {
3560
+ return unwrapMemorySearchResult(await searchMemories({
3561
+ query: normalizeMemorySearchInput(input),
3562
+ ...resolveRequestOptions(options),
3563
+ client: this.client,
3564
+ responseStyle: "fields"
3565
+ }));
3566
+ }
3567
+ };
3386
3568
  var PrimitiveClient = class extends PrimitiveApiClient {
3387
3569
  /** Agent-account lifecycle operations (create, claim/upgrade). */
3388
3570
  agent = new AgentResource(this.client);
@@ -3390,6 +3572,8 @@ var PrimitiveClient = class extends PrimitiveApiClient {
3390
3572
  inbox = new InboxResource(this.client);
3391
3573
  /** Account introspection (plan, limits, entitlements, managed inbox). */
3392
3574
  account = new AccountResource(this.client);
3575
+ /** Durable JSON key-value state for agents and Functions. */
3576
+ memories = new MemoriesResource(this.client);
3393
3577
  async send(input, options) {
3394
3578
  validateSendInput(input);
3395
3579
  return unwrapSendResult(await sendEmail({
@@ -3538,6 +3722,31 @@ function unwrapSemanticSearchResult(result) {
3538
3722
  meta: result.data.meta
3539
3723
  };
3540
3724
  }
3725
+ function unwrapMemorySearchResult(result) {
3726
+ const response = result.response;
3727
+ if (result.error) {
3728
+ if (isAbortLikeError(result.error)) throw result.error;
3729
+ const parsed = parseApiErrorPayload(result.error);
3730
+ throw new PrimitiveApiError(parsed.message, {
3731
+ payload: result.error,
3732
+ status: response?.status,
3733
+ code: parsed.code,
3734
+ gates: parsed.gates,
3735
+ requestId: parsed.requestId,
3736
+ retryAfter: parseRetryAfterHeader(response),
3737
+ details: parsed.details,
3738
+ cause: result.error instanceof Error ? result.error : void 0
3739
+ });
3740
+ }
3741
+ if (!result.data?.data || !result.data.meta) throw new PrimitiveApiError("Primitive API returned no memories result", {
3742
+ payload: result,
3743
+ status: response?.status
3744
+ });
3745
+ return {
3746
+ data: result.data.data,
3747
+ meta: result.data.meta
3748
+ };
3749
+ }
3541
3750
  function createPrimitiveClient(options = {}) {
3542
3751
  return new PrimitiveClient(options);
3543
3752
  }
@@ -3565,4 +3774,4 @@ async function createAgent(options) {
3565
3774
  };
3566
3775
  }
3567
3776
  //#endregion
3568
- export { getInboxStatus as $, testEndpoint as $t, defineAgent as A, publishAgent as At, deleteWakeSchedule as B, runWakeSchedule as Bt, createFunctionSecret as C, listRoutes as Ct, createWakeAuthorization as D, listWakeSchedules as Dt, createRoute as E, listWakeDispatches as Et, deleteFunction as F, replyToEmail as Ft, getAccount as G, setFunctionRoute as Gt, downloadAttachments as H, searchEmails as Ht, deleteFunctionSecret as I, resendAgentSignupVerification as It, getConversation as J, simulateRoute as Jt, getAgent as K, setFunctionSecret as Kt, deleteOrgSecret as L, resendCliSignupVerification as Lt, deleteEmail as M, reorderRoutes as Mt, deleteEndpoint as N, replayDelivery as Nt, createWakeSchedule as O, payChallenge as Ot, deleteFilter as P, replayEmailWebhooks as Pt, getFunctionTestRunTrace as Q, startCliSignup as Qt, deleteRoute as R, resolveRegistryHandle as Rt, createFunction as S, listRegistryRequests as St, createRegistry as T, listWakeAuthorizations as Tt, downloadDomainZoneFile as U, semanticSearch as Ut, discardEmailContent as V, sdk_gen_exports as Vt, downloadRawEmail as W, sendEmail as Wt, getFunction as X, startAgentSignup as Xt, getEmail as Y, startAgentClaim as Yt, getFunctionRouting as Z, startCliLogin as Zt, createAgentClaimLink as _, createClient as _n, listFunctions as _t, client as a, updateEndpoint as an, getStorageStats as at, createEndpoint as b, listRegistries as bt, PRIMITIVE_SIGNATURE_HEADER as c, updateRegistry as cn, getWebhookSecret as ct, PrimitiveApiClient as d, updateWakeAuthorization as dn, listDomains as dt, testFunction as en, getOrgRoutingTopology as et, PrimitiveApiError as f, updateWakeSchedule as fn, listEmails as ft, createAgentAccount as g, verifyDomain as gn, listFunctionSecrets as gt, cliLogout as h, verifyCliSignup as hn, listFunctionLogs as ht, PrimitiveClient as i, updateDomain as in, getSpendPolicy as it, deleteDomain as j, registerPayoutAddress as jt, decideRegistryRequest as k, pollCliLogin as kt, verifyWebhookSignature as l, updateRoute as ln, listDeclinedPayments as lt, addDomain as m, verifyAgentSignup as mn, listFilters as mt, AgentResource as n, unsetFunctionRoute as nn, getSendPermissions as nt, createAgent as o, updateFilter as on, getThread as ot, createPrimitiveApiClient as p, verifyAgentClaim as pn, listEndpoints as pt, getChallenge as q, setOrgSecret as qt, InboxResource as r, updateAccount as rn, getSentEmail as rt, createPrimitiveClient as s, updateFunction as sn, getWakeSchedule as st, AccountResource as t, unpublishAgent as tn, getRegistry as tt, DEFAULT_API_BASE_URL as u, updateSpendPolicy as un, listDeliveries as ut, createChallenge as v, createConfig as vn, listOrgSecrets as vt, createOrgSecret as w, listSentEmails as wt, createFilter as x, listRegistryAgents as xt, createEmailChallenge as y, listPayoutAddresses as yt, deleteWakeAuthorization as z, rotateWebhookSecret as zt };
3777
+ export { getFunction as $, setOrgSecret as $t, decideRegistryRequest as A, listWakeDispatches as At, deleteRegistry as B, resendAgentSignupVerification as Bt, createFunction as C, createClient as Cn, listPayoutAddresses as Ct, createRoute as D, listRoutes as Dt, createRegistry as E, listRegistryRequests as Et, deleteFilter as F, registerPayoutAddress as Ft, downloadAttachments as G, sdk_gen_exports as Gt, deleteWakeAuthorization as H, resolveRegistryHandle as Ht, deleteFunction as I, reorderRoutes as It, getAccount as J, semanticSearch as Jt, downloadDomainZoneFile as K, searchEmails as Kt, deleteFunctionSecret as L, replayDelivery as Lt, deleteDomain as M, payChallenge as Mt, deleteEmail as N, pollCliLogin as Nt, createWakeAuthorization as O, listSentEmails as Ot, deleteEndpoint as P, publishAgent as Pt, getEmail as Q, setMemory as Qt, deleteMemory as R, replayEmailWebhooks as Rt, createFilter as S, verifyDomain as Sn, listOrgSecrets as St, createOrgSecret as T, listRegistryAgents as Tt, deleteWakeSchedule as U, rotateWebhookSecret as Ut, deleteRoute as V, resendCliSignupVerification as Vt, discardEmailContent as W, runWakeSchedule as Wt, getChallenge as X, setFunctionRoute as Xt, getAgent as Y, sendEmail as Yt, getConversation as Z, setFunctionSecret as Zt, createAgentAccount as _, updateWakeAuthorization as _n, listEndpoints as _t, PrimitiveClient as a, testEndpoint as an, getRegistry as at, createEmailChallenge as b, verifyAgentSignup as bn, listFunctionSecrets as bt, createPrimitiveClient as c, unsetFunctionRoute as cn, getSpendPolicy as ct, DEFAULT_API_BASE_URL as d, updateEndpoint as dn, getWakeSchedule as dt, simulateRoute as en, getFunctionRouting as et, PrimitiveApiClient as f, updateFilter as fn, getWebhookSecret as ft, cliLogout as g, updateSpendPolicy as gn, listEmails as gt, addDomain as h, updateRoute as hn, listDomains as ht, MemoriesResource as i, startCliSignup as in, getOrgRoutingTopology as it, defineAgent as j, listWakeSchedules as jt, createWakeSchedule as k, listWakeAuthorizations as kt, PRIMITIVE_SIGNATURE_HEADER as l, updateAccount as ln, getStorageStats as lt, createPrimitiveApiClient as m, updateRegistry as mn, listDeliveries as mt, AgentResource as n, startAgentSignup as nn, getInboxStatus as nt, client as o, testFunction as on, getSendPermissions as ot, PrimitiveApiError as p, updateFunction as pn, listDeclinedPayments as pt, downloadRawEmail as q, searchMemories as qt, InboxResource as r, startCliLogin as rn, getMemory as rt, createAgent as s, unpublishAgent as sn, getSentEmail as st, AccountResource as t, startAgentClaim as tn, getFunctionTestRunTrace as tt, verifyWebhookSignature as u, updateDomain as un, getThread as ut, createAgentClaimLink as v, updateWakeSchedule as vn, listFilters as vt, createFunctionSecret as w, createConfig as wn, listRegistries as wt, createEndpoint as x, verifyCliSignup as xn, listFunctions as xt, createChallenge as y, verifyAgentClaim as yn, listFunctionLogs as yt, deleteOrgSecret as z, replyToEmail as zt };