@primitivedotdev/sdk 1.21.0 → 1.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/dist/api/index.d.ts +4 -4
- package/dist/api/index.js +3 -3
- package/dist/{api-Oi6Mo4Us.js → api-D18uroMD.js} +3 -3
- package/dist/contract/index.d.ts +2 -2
- package/dist/contract/index.js +1 -1
- package/dist/{errors-DAHv2kWU.d.ts → errors-BSsdMlef.d.ts} +1 -1
- package/dist/{errors-D6WjisrD.js → errors-Bo0f7eId.js} +1 -1
- package/dist/{index-Da2SjL1d.d.ts → index-PTY8VraQ.d.ts} +9 -1
- package/dist/{index-DJeUuGUn.d.ts → index-x795QzI4.d.ts} +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/openapi/index.d.ts +1 -1
- package/dist/openapi/index.js +1 -1
- package/dist/{operations.generated-BHSC87qb.js → operations.generated-CqlK_7LO.js} +60 -0
- package/dist/parser/address.d.ts +1 -1
- package/dist/parser/address.js +1 -1
- package/dist/parser/index.d.ts +2 -2
- package/dist/parser/index.js +1 -1
- package/dist/payloads/index.js +1 -391
- package/dist/payloads-CQtSsUT6.js +409 -0
- package/dist/webhook/index.d.ts +3 -3
- package/dist/webhook/index.js +2 -2
- package/dist/{webhook-1cz088XC.js → webhook-CTaEuJz2.js} +1 -1
- package/package.json +4 -3
- /package/dist/{address-parser-CQbFjgRC.js → address-parser-C2JJzLdA.js} +0 -0
- /package/dist/{address-parser-CA6G7R-h.d.ts → address-parser-CJqzx713.d.ts} +0 -0
- /package/dist/{operations.generated-BAniFZK9.d.ts → operations.generated-DJS4dWr7.d.ts} +0 -0
- /package/dist/{types-DVjBmOg0.d.ts → types-DJsEJwJ6.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -4,15 +4,15 @@ The official Node.js library for [Primitive](https://primitive.dev), an email AP
|
|
|
4
4
|
|
|
5
5
|
## Looking for the CLI?
|
|
6
6
|
|
|
7
|
-
The `primitive` CLI ships as a separate package, [
|
|
7
|
+
The `primitive` CLI ships as a separate package, [`primitive`](https://www.npmjs.com/package/primitive). Install it with:
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g
|
|
10
|
+
npm install -g primitive
|
|
11
11
|
# or, no-install:
|
|
12
|
-
npx @
|
|
12
|
+
npx primitive@latest <command>
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
This package no longer ships a `primitive` bin. Install
|
|
15
|
+
This package no longer ships a `primitive` bin. Install `primitive` to get the CLI.
|
|
16
16
|
|
|
17
17
|
## Install
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ Requires Node.js 22 or newer.
|
|
|
24
24
|
|
|
25
25
|
## Set your API key
|
|
26
26
|
|
|
27
|
-
Get a key from your [dashboard](https://primitive.dev) and export it
|
|
27
|
+
Get a key from your [dashboard](https://primitive.dev) and export it, then pass it to the client as `apiKey` (the examples below read it from `process.env.PRIMITIVE_API_KEY`).
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
export PRIMITIVE_API_KEY=prim_...
|
|
@@ -84,7 +84,7 @@ const result = await client.send({
|
|
|
84
84
|
console.log(result.id, result.status, result.queueId, result.deliveryStatus);
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
`send`, `reply`, and `forward` keep the HTTP request open until
|
|
87
|
+
By default `send`, `reply`, and `forward` return as soon as Primitive accepts the message for delivery. On `send` and `reply`, pass `wait: true` to keep the HTTP request open until the first downstream SMTP delivery outcome; in that mode, configure your runtime or transport with a request timeout long enough for SMTP delivery, typically 30 to 60 seconds.
|
|
88
88
|
|
|
89
89
|
### Per-call request options
|
|
90
90
|
|
|
@@ -340,9 +340,9 @@ const built = await x402.payEmailChallenge(issued, { signer: payer });
|
|
|
340
340
|
// client above). The platform reads the envelope, re-derives the
|
|
341
341
|
// interaction-bound nonce, and settles on chain.
|
|
342
342
|
import { Buffer } from "node:buffer";
|
|
343
|
-
import
|
|
343
|
+
import primitive from "@primitivedotdev/sdk";
|
|
344
344
|
|
|
345
|
-
const mail =
|
|
345
|
+
const mail = primitive.client({ apiKey: process.env.PRIMITIVE_API_KEY! });
|
|
346
346
|
await mail.reply(challengeEmail, {
|
|
347
347
|
text: "Payment attached.",
|
|
348
348
|
attachments: [
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as createFunctionSecret, $a as DeleteOrgSecretData, $c as GetSpendPolicyResponses, $d as PollCliLoginError, $f as ResendCliSignupVerificationInput, $g as VerifiedDomain, $h as UpdateDomainData, $i as CreateWakeScheduleError, $l as ListDeliveriesResponses, $m as StartCliSignupData, $n as verifyAgentSignup, $o as EmailAuth, $p as SendPermissionRule, $r as CreateEmailChallengeErrors, $s as GetEmailData, $t as listFunctions, $u as ListRegistryAgentsResponses, A as client, A_ as X402EmailChallengeDetails, Aa as DeleteEndpointResponse, Ac as GetOrgRoutingTopologyError, Ad as ListWakeSchedulesData, Af as ReplayDeliveryErrors, Ag as UpdateRouteError, Ah as TestFunctionResponse, Ai as CreateOrgSecretErrors, Al as IdempotencyKey, Am as SimulateRouteErrors, An as setFunctionSecret, Ao as DiscardEmailContentResponse, Ap as SemanticSearchCoverage, Ar as CliSignupVerifyResult, As as FunctionTestRunTrace, At as getFunctionTestRunTrace, Au as ListFunctionSecretsResponses, B as PrimitiveApiError, B_ as Config, Ba as DeleteFunctionResponse, Bc as GetSendPermissionsError, Bd as NumericString, Bf as ReplyToEmailError, Bg as UpdateSpendPolicyResponses, Bh as UnpublishAgentResponses, Bi as CreateRouteData, Bl as InstallTemplateErrors, Bm as StartAgentClaimResponses, Bn as unpublishAgent, Bo as DownloadAttachmentsResponses, Bp as SemanticSearchSnippet, Br as CreateAgentClaimLinkError, Bs as GetAgentErrors, Bt as getTemplateInstall, Bu as ListOrgSecretsResponses, C as SendAttachment, C_ as WakeAuthorization, Ca as DeleteEmailError, Cc as GetInboxStatusResponses, Cd as ListWakeAuthorizationsResponse, Cf as ReorderRoutesError, Cg as UpdateRegistryData, Ch as TestEndpointError, Ci as CreateFunctionSecretError, Cl as GetWakeScheduleResponse, Cm as SetOrgSecretError, Cn as runWakeSchedule, Co as DeleteWakeScheduleResponses, Cp as SearchEmailsResponse, Cr as CliLogoutErrors, Cs as FunctionTestRunDelivery, Ct as getAccount, Cu as ListFunctionLogsErrors, D as SendResult, D_ as X402Challenge, Da as DeleteEndpointData, Dc as GetMemoryResponse, Dd as ListWakeDispatchesErrors, Df as ReorderRoutesResponses, Dg as UpdateRegistryResponse, Dh as TestFunctionData, Di as CreateFunctionSecretResponses, Dl as GetWebhookSecretErrors, Dm as SetOrgSecretResponses, Dn as semanticSearch, Do as DiscardEmailContentData, Dp as SearchMemoriesErrors, Dr as CliLogoutResult, Ds as FunctionTestRunReply, Dt as getEmail, Du as ListFunctionSecretsError, E as SendPayloadReference, E_ as WebhookSecret, Ea as DeleteEmailResponses, Ec as GetMemoryErrors, Ed as ListWakeDispatchesError, Ef as ReorderRoutesResponse, Eg as UpdateRegistryInput, Eh as TestEndpointResponses, Ei as CreateFunctionSecretResponse, El as GetWebhookSecretError, Em as SetOrgSecretResponse, En as searchMemories, Eo as DiscardContentResult, Ep as SearchMemoriesError, Er as CliLogoutResponses, Es as FunctionTestRunOutboundRequest, Et as getConversation, Eu as ListFunctionSecretsData, F as verifyWebhookSignature, F_ as X402Receipt, Fa as DeleteFilterResponse, Fc as GetRegistryError, Fd as MemoryKeyQuery, Ff as ReplayEmailWebhooksErrors, Fg as UpdateSpendPolicyData, Fh as ThreadMessage, Fi as CreateRegistryError, Fl as InboxStatusNextAction, Fm as StartAgentClaimData, Fn as startAgentSignup, Fo as DomainVerifyResult, Fp as SemanticSearchInput, Fr as CreateAgentAccountErrors, Fs as GetAccountErrors, Ft as getSendPermissions, Fu as ListFunctionsResponses, G as cliLogout, G_ as ResponseStyle, Ga as DeleteFunctionSecretResponse, Gc as GetSentEmailError, Gd as PayChallengeData, Gf as ResendAgentSignupVerificationError, Gg as UpdateWakeAuthorizationResponse, Gh as UnsetFunctionRouteResponses, Gi as CreateRouteResponses, Gl as ListDeclinedPaymentsError, Gm as StartAgentSignupResponse, Gn as updateFilter, Go as DownloadDomainZoneFileResponses, Gp as SendEmailResponses, Gr as CreateChallengeData, Gs as GetChallengeErrors, Gt as listDeclinedPayments, Gu as ListPayoutAddressesResponses, H as RequestOptions$1, H_ as Options, Ha as DeleteFunctionSecretData, Hc as GetSendPermissionsResponse, Hd as OrgSecretWriteResult, Hf as ReplyToEmailResponse, Hg as UpdateWakeAuthorizationError, Hh as UnsetFunctionRouteError, Hi as CreateRouteErrors, Hl as InstallTemplateResponses, Hm as StartAgentSignupError, Hn as updateAccount, Ho as DownloadDomainZoneFileError, Hp as SendEmailError, Hr as CreateAgentClaimLinkInput, Hs as GetAgentResponses, Ht as getWakeSchedule, Hu as ListPayoutAddressesError, I as isMemoryJsonValue, I_ as X402SpendPolicy, Ia as DeleteFilterResponses, Ic as GetRegistryErrors, Id as MemoryResolvedScope, If as ReplayEmailWebhooksResponse, Ig as UpdateSpendPolicyError, Ih as UnpublishAgentData, Ii as CreateRegistryErrors, Il as InboxStatusRecentEmailSummary, Im as StartAgentClaimError, In as startCliLogin, Io as DownloadAttachmentsData, Ip as SemanticSearchMeta, Ir as CreateAgentAccountInput, Is as GetAccountResponse, It as getSentEmail, Iu as ListOrgSecretsData, J as createChallenge, Ja as DeleteMemoryError, Jc as GetSentEmailResponses, Jd as PayChallengeInput, Jf as ResendAgentSignupVerificationResponse, Jg as UpdateWakeScheduleError, Jh as UpdateAccountError, Ji as CreateWakeAuthorizationErrors, Jl as ListDeclinedPaymentsResponses, Jm as StartCliLoginError, Jn as updateRoute, Jo as DownloadRawEmailErrors, Jp as SendMailPayloadRef, Jr as CreateChallengeInput, Js as GetConversationData, Jt as listEmails, Ju as ListRegistriesErrors, K as createAgentAccount, K_ as createConfig, Ka as DeleteFunctionSecretResponses, Kc as GetSentEmailErrors, Kd as PayChallengeError, Kf as ResendAgentSignupVerificationErrors, Kg as UpdateWakeAuthorizationResponses, Kh as UnverifiedDomain, Ki as CreateWakeAuthorizationData, Kl as ListDeclinedPaymentsErrors, Km as StartAgentSignupResponses, Kn as updateFunction, Ko as DownloadRawEmailData, Kp as SendMailAttachment, Kr as CreateChallengeError, Ks as GetChallengeResponse, Kt as listDeliveries, Ku as ListRegistriesData, L as DEFAULT_API_BASE_URL, L_ as createClient, La as DeleteFunctionData, Lc as GetRegistryResponse, Ld as MemoryScope, Lf as ReplayEmailWebhooksResponses, Lg as UpdateSpendPolicyErrors, Lh as UnpublishAgentError, Li as CreateRegistryInput, Ll as InstallTemplateBody, Lm as StartAgentClaimErrors, Ln as startCliSignup, Lo as DownloadAttachmentsError, Lp as SemanticSearchResponses, Lr as CreateAgentAccountResponse, Ls as GetAccountResponses, Lt as getSpendPolicy, Lu as ListOrgSecretsError, M as createPrimitiveClient, M_ as X402PaymentPayload, Ma as DeleteFilterData, Mc as GetOrgRoutingTopologyResponse, Md as ListWakeSchedulesErrors, Mf as ReplayDeliveryResponses, Mg as UpdateRouteInput, Mh as TestInvocationResult, Mi as CreateOrgSecretResponse, Ml as InboxStatusDomain, Mm as SimulateRouteResponse, Mn as setOrgSecret, Mo as DkimSignature, Mp as SemanticSearchError, Mr as ConversationMessage, Ms as GateFix, Mt as getMemory, Mu as ListFunctionsError, N as PRIMITIVE_SIGNATURE_HEADER, N_ as X402PaymentRequirements, Na as DeleteFilterError, Nc as GetOrgRoutingTopologyResponses, Nd as ListWakeSchedulesResponse, Nf as ReplayEmailWebhooksData, Ng as UpdateRouteResponse, Nh as TestResult, Ni as CreateOrgSecretResponses, Nl as InboxStatusEndpointSummary, Nm as SimulateRouteResponses, Nn as simulateRoute, No as Domain, Np as SemanticSearchErrors, Nr as CreateAgentAccountData, Ns as GetAccountData, Nt as getOrgRoutingTopology, Nu as ListFunctionsErrors, O as SendThreadInput, O_ as X402DeclinedPayment, Oa as DeleteEndpointError, Oc as GetMemoryResponses, Od as ListWakeDispatchesResponse, Of as ReplayDeliveryData, Og as UpdateRegistryResponses, Oh as TestFunctionError, Oi as CreateOrgSecretData, Ol as GetWebhookSecretResponse, Om as SimulateRouteData, On as sendEmail, Oo as DiscardEmailContentError, Op as SearchMemoriesResponse, Or as CliSignupResendResult, Os as FunctionTestRunSend, Ot as getFunction, Ou as ListFunctionSecretsErrors, P as VerifyOptions, P_ as X402PayoutAddress, Pa as DeleteFilterErrors, Pc as GetRegistryData, Pd as ListWakeSchedulesResponses, Pf as ReplayEmailWebhooksError, Pg as UpdateRouteResponses, Ph as Thread, Pi as CreateRegistryData, Pl as InboxStatusFunctionSummary, Pm as SimulateRouteResult, Pn as startAgentClaim, Po as DomainDnsRecord, Pp as SemanticSearchField, Pr as CreateAgentAccountError, Ps as GetAccountError, Pt as getRegistry, Pu as ListFunctionsResponse, Q as createFunction, Qa as DeleteMemoryResult, Qc as GetSpendPolicyResponse, Qd as PollCliLoginData, Qf as ResendCliSignupVerificationErrors, Qg as UpdateWakeScheduleResponses, Qh as UpdateAccountResponses, Qi as CreateWakeScheduleData, Ql as ListDeliveriesResponse, Qm as StartCliLoginResponses, Qn as verifyAgentClaim, Qo as EmailAttachment, Qp as SendPermissionManagedZone, Qr as CreateEmailChallengeError, Qs as GetConversationResponses, Qt as listFunctionSecrets, Qu as ListRegistryAgentsResponse, R as PrimitiveApiClient, R_ as Client, Ra as DeleteFunctionError, Rc as GetRegistryResponses, Rd as MemoryScopeId, Rf as ReplayResult, Rg as UpdateSpendPolicyInput, Rh as UnpublishAgentErrors, Ri as CreateRegistryResponse, Rl as InstallTemplateData, Rm as StartAgentClaimInput, Rn as testEndpoint, Ro as DownloadAttachmentsErrors, Rp as SemanticSearchResult, Rr as CreateAgentAccountResponses, Rs as GetAgentData, Rt as getStorageStats, Ru as ListOrgSecretsErrors, S as SemanticSearchResponse, S_ as VerifyDomainResponses, Sa as DeleteEmailData, Sc as GetInboxStatusResponse, Sd as ListWakeAuthorizationsErrors, Sf as ReorderRoutesData, Sg as UpdateFunctionResponses, Sh as TestEndpointData, Si as CreateFunctionSecretData, Sl as GetWakeScheduleErrors, Sm as SetOrgSecretData, Sn as rotateWebhookSecret, So as DeleteWakeScheduleResponse, Sp as SearchEmailsErrors, Sr as CliLogoutError, Ss as FunctionTestRun, St as downloadRawEmail, Su as ListFunctionLogsError, T as SendInput, T_ as WakeSchedule, Ta as DeleteEmailResponse, Tc as GetMemoryError, Td as ListWakeDispatchesData, Tf as ReorderRoutesInput, Tg as UpdateRegistryErrors, Th as TestEndpointResponse, Ti as CreateFunctionSecretInput, Tl as GetWebhookSecretData, Tm as SetOrgSecretInput, Tn as searchEmails, To as DeliverySummary, Tp as SearchMemoriesData, Tr as CliLogoutResponse, Ts as FunctionTestRunInboundEmail, Tt as getChallenge, Tu as ListFunctionLogsResponses, U as createPrimitiveApiClient, U_ as RequestOptions, Ua as DeleteFunctionSecretError, Uc as GetSendPermissionsResponses, Ud as PaginationMeta, Uf as ReplyToEmailResponses, Ug as UpdateWakeAuthorizationErrors, Uh as UnsetFunctionRouteErrors, Ui as CreateRouteInput, Ul as Limit, Um as StartAgentSignupErrors, Un as updateDomain, Uo as DownloadDomainZoneFileErrors, Up as SendEmailErrors, Ur as CreateAgentClaimLinkResponse, Us as GetChallengeData, Ut as getWebhookSecret, Uu as ListPayoutAddressesErrors, V as PrimitiveApiErrorDetails, V_ as CreateClientConfig, Va as DeleteFunctionResponses, Vc as GetSendPermissionsErrors, Vd as OrgSecretListItem, Vf as ReplyToEmailErrors, Vg as UpdateWakeAuthorizationData, Vh as UnsetFunctionRouteData, Vi as CreateRouteError, Vl as InstallTemplateResponse, Vm as StartAgentSignupData, Vn as unsetFunctionRoute, Vo as DownloadDomainZoneFileData, Vp as SendEmailData, Vr as CreateAgentClaimLinkErrors, Vs as GetAgentResponse, Vt as getThread, Vu as ListPayoutAddressesData, W as addDomain, W_ as RequestResult, Wa as DeleteFunctionSecretErrors, Wc as GetSentEmailData, Wd as ParsedEmailData, Wf as ResendAgentSignupVerificationData, Wg as UpdateWakeAuthorizationInput, Wh as UnsetFunctionRouteResponse, Wi as CreateRouteResponse, Wl as ListDeclinedPaymentsData, Wm as StartAgentSignupInput, Wn as updateEndpoint, Wo as DownloadDomainZoneFileResponse, Wp as SendEmailResponse, Wr as CreateAgentClaimLinkResponses, Ws as GetChallengeError, Wt as installTemplate, Wu as ListPayoutAddressesResponse, X as createEndpoint, Xa as DeleteMemoryResponse, Xc as GetSpendPolicyError, Xd as PayChallengeResponses, Xf as ResendCliSignupVerificationData, Xg as UpdateWakeScheduleInput, Xh as UpdateAccountInput, Xi as CreateWakeAuthorizationResponse, Xl as ListDeliveriesError, Xm as StartCliLoginInput, Xn as updateWakeAuthorization, Xo as DownloadRawEmailResponses, Xp as SendPermissionAddress, Xr as CreateChallengeResponses, Xs as GetConversationErrors, Xt as listFilters, Xu as ListRegistriesResponses, Y as createEmailChallenge, Ya as DeleteMemoryErrors, Yc as GetSpendPolicyData, Yd as PayChallengeResponse, Yf as ResendAgentSignupVerificationResponses, Yg as UpdateWakeScheduleErrors, Yh as UpdateAccountErrors, Yi as CreateWakeAuthorizationInput, Yl as ListDeliveriesData, Ym as StartCliLoginErrors, Yn as updateSpendPolicy, Yo as DownloadRawEmailResponse, Yp as SendMailResult, Yr as CreateChallengeResponse, Ys as GetConversationError, Yt as listEndpoints, Yu as ListRegistriesResponse, Z as createFilter, Za as DeleteMemoryResponses, Zc as GetSpendPolicyErrors, Zd as PlanLimits, Zf as ResendCliSignupVerificationError, Zg as UpdateWakeScheduleResponse, Zh as UpdateAccountResponse, Zi as CreateWakeAuthorizationResponses, Zl as ListDeliveriesErrors, Zm as StartCliLoginResponse, Zn as updateWakeSchedule, Zo as EmailAddress, Zp as SendPermissionAnyRecipient, Zr as CreateEmailChallengeData, Zs as GetConversationResponse, Zt as listFunctionLogs, Zu as ListRegistryAgentsData, _ as MemorySetInput, __ as VerifyCliSignupResponses, _a as DeleteDomainData, _c as GetFunctionTestRunTraceResponse, _d as ListTemplatesErrors, _f as RegisterPayoutAddressResponse, _g as UpdateFunctionData, _h as TemplateSecretGroup, _i as CreateFunctionErrors, _l as GetThreadErrors, _m as SetMemoryError, _n as replayEmailWebhooks, _o as DeleteWakeAuthorizationResponse, _p as RunWakeScheduleErrors, _r as AgentSignupStartResult, _s as FunctionRouteBody, _t as deleteWakeAuthorization, _u as ListFiltersError, a as ForwardInput, a_ as VerifyAgentClaimResponses, aa as DecideRegistryRequestData, ac as GetFunctionError, ad as ListRoutesData, af as PublishAgentError, ag as UpdateEndpointData, ah as StorageStats, ai as CreateEndpointErrors, al as GetTemplateData, am as SetFunctionRouteData, an as listRoutes, ao as DeleteRegistryError, ap as ResolveRegistryHandleResponse, ar as AddDomainError, as as EmailSearchMeta, at as decideRegistryRequest, au as ListEmailsData, b as ReplyInput, b_ as VerifyDomainErrors, ba as DeleteDomainResponse, bc as GetInboxStatusError, bd as ListWakeAuthorizationsData, bf as RegistryAgent, bg as UpdateFunctionInput, bh as TemplateVariable, bi as CreateFunctionResponses, bl as GetWakeScheduleData, bm as SetMemoryResponse, bn as resendCliSignupVerification, bo as DeleteWakeScheduleError, bp as SearchEmailsData, br as CliLoginStartResult, bs as FunctionSecretListItem, bt as downloadAttachments, bu as ListFiltersResponses, c as InboxStreamOptions, c_ as VerifyAgentSignupErrors, ca as DecideRegistryRequestInput, cc as GetFunctionResponses, cd as ListRoutesResponse, cf as PublishAgentResponse, cg as UpdateEndpointInput, ch as TemplateInstall, ci as CreateEndpointResponses, cl as GetTemplateInstallData, cm as SetFunctionRouteResponse, cn as listWakeAuthorizations, co as DeleteRegistryResponses, cp as RotateWebhookSecretData, cr as AddDomainResponse, cs as EmailSummary, ct as deleteEmail, cu as ListEmailsResponse, d as MemoryGetInput, d_ as VerifyAgentSignupResponses, da as DefineAgentData, dc as GetFunctionRoutingErrors, dd as ListSentEmailsError, df as PublishPolicy, dg as UpdateFilterData, dh as TemplateManifest, di as CreateFilterErrors, dl as GetTemplateInstallResponse, dm as SetFunctionSecretError, dn as payChallenge, do as DeleteRouteErrors, dp as RotateWebhookSecretResponse, dr as AgentAccountUpgradeHint, ds as ErrorResponse, dt as deleteFunction, du as ListEndpointsError, e_ as VerifyAgentClaimData, ea as CreateWakeScheduleErrors, ec as GetEmailError, ed as ListRegistryRequestsData, ef as PollCliLoginErrors, eg as UpdateDomainError, eh as StartCliSignupError, ei as CreateEmailChallengeInput, el as GetStorageStatsData, em as SendPermissionYourDomain, en as listOrgSecrets, eo as DeleteOrgSecretError, ep as ResendCliSignupVerificationResponse, er as verifyCliSignup, es as EmailDetail, et as createOrgSecret, eu as ListDomainsData, f as MemoryJsonValue, f_ as VerifyCliSignupData, fa as DefineAgentError, fc as GetFunctionRoutingResponse, fd as ListSentEmailsErrors, ff as RecipientRoute, fg as UpdateFilterError, fh as TemplateRegistryDetail, fi as CreateFilterInput, fl as GetTemplateInstallResponses, fm as SetFunctionSecretErrors, fn as pollCliLogin, fo as DeleteRouteResponse, fp as RotateWebhookSecretResponses, fr as AgentClaimLinkResult, fs as Filter, ft as deleteFunctionSecret, fu as ListEndpointsErrors, g as MemorySearchResponse, g_ as VerifyCliSignupResponse, ga as DefineAgentResponses, gc as GetFunctionTestRunTraceErrors, gd as ListTemplatesError, gf as RegisterPayoutAddressInput, gg as UpdateFilterResponses, gh as TemplateSecret, gi as CreateFunctionError, gl as GetThreadError, gm as SetMemoryData, gn as replayDelivery, go as DeleteWakeAuthorizationErrors, gp as RunWakeScheduleError, gr as AgentSignupResendResult, gs as FunctionLogRow, gt as deleteRoute, gu as ListFiltersData, h as MemorySearchInput, h_ as VerifyCliSignupInput, ha as DefineAgentResponse, hc as GetFunctionTestRunTraceError, hd as ListTemplatesData, hf as RegisterPayoutAddressErrors, hg as UpdateFilterResponse, hh as TemplateRegistrySummary, hi as CreateFunctionData, hl as GetThreadData, hm as SetFunctionSecretResponses, hn as reorderRoutes, ho as DeleteWakeAuthorizationError, hp as RunWakeScheduleData, hr as AgentOrgRef, hs as FunctionListItem, ht as deleteRegistry, hu as ListEnvelope, i as CreatedAgent, i_ as VerifyAgentClaimResponse, ia as Cursor, ic as GetFunctionData, id as ListRegistryRequestsResponses, if as PublishAgentData, ig as UpdateDomainResponses, ih as StartCliSignupResponses, ii as CreateEndpointError, il as GetStorageStatsResponses, im as SentEmailSummary, in as listRegistryRequests, io as DeleteRegistryData, ip as ResolveRegistryHandleErrors, ir as AddDomainData, is as EmailSearchHighlights, it as createWakeSchedule, iu as ListDomainsResponses, j as createAgent, j_ as X402NonceBinding, ja as DeleteEndpointResponses, jc as GetOrgRoutingTopologyErrors, jd as ListWakeSchedulesError, jf as ReplayDeliveryResponse, jg as UpdateRouteErrors, jh as TestFunctionResponses, ji as CreateOrgSecretInput, jl as InboxStatus, jm as SimulateRouteInput, jn as setMemory, jo as DiscardEmailContentResponses, jp as SemanticSearchData, jr as Conversation, js as GateDenial, jt as getInboxStatus, ju as ListFunctionsData, k as WaitForNextOptions, k_ as X402EmailChallenge, ka as DeleteEndpointErrors, kc as GetOrgRoutingTopologyData, kd as ListWakeDispatchesResponses, kf as ReplayDeliveryError, kg as UpdateRouteData, kh as TestFunctionErrors, ki as CreateOrgSecretError, kl as GetWebhookSecretResponses, km as SimulateRouteError, kn as setFunctionRoute, ko as DiscardEmailContentErrors, kp as SearchMemoriesResponses, kr as CliSignupStartResult, ks as FunctionTestRunState, kt as getFunctionRouting, ku as ListFunctionSecretsResponse, l as MemoriesResource, l_ as VerifyAgentSignupInput, la as DecideRegistryRequestResponse, lc as GetFunctionRoutingData, ld as ListRoutesResponses, lf as PublishAgentResponses, lg as UpdateEndpointResponse, lh as TemplateInstallState, li as CreateFilterData, ll as GetTemplateInstallError, lm as SetFunctionRouteResponses, ln as listWakeDispatches, lo as DeleteRouteData, lp as RotateWebhookSecretError, lr as AddDomainResponses, ls as EmailWebhookStatus, lt as deleteEndpoint, lu as ListEmailsResponses, m as MemoryRecordWithValue, m_ as VerifyCliSignupErrors, ma as DefineAgentInput, mc as GetFunctionTestRunTraceData, md as ListSentEmailsResponses, mf as RegisterPayoutAddressError, mg as UpdateFilterInput, mh as TemplateRegistryStatus, mi as CreateFilterResponses, ml as GetTemplateResponses, mm as SetFunctionSecretResponse, mn as registerPayoutAddress, mo as DeleteWakeAuthorizationData, mp as RoutingTopology, mr as AgentClaimStartResult, ms as FunctionDetail, mt as deleteOrgSecret, mu as ListEndpointsResponses, n as AgentResource, n_ as VerifyAgentClaimErrors, na as CreateWakeScheduleResponse, nc as GetEmailResponse, nd as ListRegistryRequestsErrors, nf as PollCliLoginResponse, ng as UpdateDomainInput, nh as StartCliSignupInput, ni as CreateEmailChallengeResponses, nl as GetStorageStatsErrors, nm as SentEmailDetail, nn as listRegistries, no as DeleteOrgSecretResponse, np as ResolveRegistryHandleData, nr as Account, ns as EmailSearchFacetBucket, nt as createRoute, nu as ListDomainsErrors, o as InboundEmail, o_ as VerifyAgentSignupData, oa as DecideRegistryRequestError, oc as GetFunctionErrors, od as ListRoutesError, of as PublishAgentErrors, og as UpdateEndpointError, oh as SuccessEnvelope, oi as CreateEndpointInput, ol as GetTemplateError, om as SetFunctionRouteError, on as listSentEmails, oo as DeleteRegistryErrors, op as ResolveRegistryHandleResponses, or as AddDomainErrors, os as EmailSearchResult, ot as defineAgent, ou as ListEmailsError, p as MemoryRecord, p_ as VerifyCliSignupError, pa as DefineAgentErrors, pc as GetFunctionRoutingResponses, pd as ListSentEmailsResponse, pf as RegisterPayoutAddressData, pg as UpdateFilterErrors, ph as TemplateRegistryPage, pi as CreateFilterResponse, pl as GetTemplateResponse, pm as SetFunctionSecretInput, pn as publishAgent, po as DeleteRouteResponses, pp as RouteEvaluatedEntry, pr as AgentClaimResult, ps as FunctionDeployStatus, pt as deleteMemory, pu as ListEndpointsResponse, q as createAgentClaimLink, q_ as Auth, qa as DeleteMemoryData, qc as GetSentEmailResponse, qd as PayChallengeErrors, qf as ResendAgentSignupVerificationInput, qg as UpdateWakeScheduleData, qh as UpdateAccountData, qi as CreateWakeAuthorizationError, ql as ListDeclinedPaymentsResponse, qm as StartCliLoginData, qn as updateRegistry, qo as DownloadRawEmailError, qp as SendMailInput, qr as CreateChallengeErrors, qs as GetChallengeResponses, qt as listDomains, qu as ListRegistriesError, r as CreateAgentOptions, r_ as VerifyAgentClaimInput, ra as CreateWakeScheduleResponses, rc as GetEmailResponses, rd as ListRegistryRequestsResponse, rf as PollCliLoginResponses, rg as UpdateDomainResponse, rh as StartCliSignupResponse, ri as CreateEndpointData, rl as GetStorageStatsResponse, rm as SentEmailStatus, rn as listRegistryAgents, ro as DeleteOrgSecretResponses, rp as ResolveRegistryHandleError, rr as AccountUpdated, rs as EmailSearchFacets, rt as createWakeAuthorization, ru as ListDomainsResponse, s as InboxResource, s_ as VerifyAgentSignupError, sa as DecideRegistryRequestErrors, sc as GetFunctionResponse, sd as ListRoutesErrors, sf as PublishAgentInput, sg as UpdateEndpointErrors, sh as TemplateAuthor, si as CreateEndpointResponse, sl as GetTemplateErrors, sm as SetFunctionRouteErrors, sn as listTemplates, so as DeleteRegistryResponse, sp as ResourceId, sr as AddDomainInput, ss as EmailStatus, st as deleteDomain, su as ListEmailsErrors, t as AccountResource, t_ as VerifyAgentClaimError, ta as CreateWakeScheduleInput, tc as GetEmailErrors, td as ListRegistryRequestsError, tf as PollCliLoginInput, tg as UpdateDomainErrors, th as StartCliSignupErrors, ti as CreateEmailChallengeResponse, tl as GetStorageStatsError, tm as SendPermissionsMeta, tn as listPayoutAddresses, to as DeleteOrgSecretErrors, tp as ResendCliSignupVerificationResponses, tr as verifyDomain, ts as EmailDetailReply, tt as createRegistry, tu as ListDomainsError, u as MemoryDeleteInput, u_ as VerifyAgentSignupResponse, ua as DecideRegistryRequestResponses, uc as GetFunctionRoutingError, ud as ListSentEmailsData, uf as PublishAgentResult, ug as UpdateEndpointResponses, uh as TemplateInstallStatus, ui as CreateFilterError, ul as GetTemplateInstallErrors, um as SetFunctionSecretData, un as listWakeSchedules, uo as DeleteRouteError, up as RotateWebhookSecretErrors, ur as AgentAccountResult, us as Endpoint, ut as deleteFilter, uu as ListEndpointsData, v as PrimitiveClient, v_ as VerifyDomainData, va as DeleteDomainError, vc as GetFunctionTestRunTraceResponses, vd as ListTemplatesResponse, vf as RegisterPayoutAddressResponses, vg as UpdateFunctionError, vh as TemplateSetup, vi as CreateFunctionInput, vl as GetThreadResponse, vm as SetMemoryErrors, vn as replyToEmail, vo as DeleteWakeAuthorizationResponses, vp as RunWakeScheduleResponse, vr as AgentSignupVerifyResult, vs as FunctionRouteResult, vt as deleteWakeSchedule, vu as ListFiltersErrors, w as SendAttachmentInput, w_ as WakeDispatch, wa as DeleteEmailErrors, wc as GetMemoryData, wd as ListWakeAuthorizationsResponses, wf as ReorderRoutesErrors, wg as UpdateRegistryError, wh as TestEndpointErrors, wi as CreateFunctionSecretErrors, wl as GetWakeScheduleResponses, wm as SetOrgSecretErrors, wn as sdk_gen_d_exports, wo as DeliveryStatus, wp as SearchEmailsResponses, wr as CliLogoutInput, ws as FunctionTestRunDeliveryEndpoint, wt as getAgent, wu as ListFunctionLogsResponse, x as RequestOptions$2, x_ as VerifyDomainResponse, xa as DeleteDomainResponses, xc as GetInboxStatusErrors, xd as ListWakeAuthorizationsError, xf as RegistryRequest, xg as UpdateFunctionResponse, xh as TemplateVariableValidation, xi as CreateFunctionResult, xl as GetWakeScheduleError, xm as SetMemoryResponses, xn as resolveRegistryHandle, xo as DeleteWakeScheduleErrors, xp as SearchEmailsError, xr as CliLogoutData, xs as FunctionSecretWriteResult, xt as downloadDomainZoneFile, xu as ListFunctionLogsData, y as PrimitiveClientOptions, y_ as VerifyDomainError, ya as DeleteDomainErrors, yc as GetInboxStatusData, yd as ListTemplatesResponses, yf as Registry, yg as UpdateFunctionErrors, yh as TemplateSource, yi as CreateFunctionResponse, yl as GetThreadResponses, ym as SetMemoryInput, yn as resendAgentSignupVerification, yo as DeleteWakeScheduleData, yp as RunWakeScheduleResponses, yr as CliLoginPollResult, ys as FunctionRouting, yt as discardEmailContent, yu as ListFiltersResponse, z as PrimitiveApiClientOptions, z_ as ClientOptions, za as DeleteFunctionErrors, zc as GetSendPermissionsData, zd as MemoryScopeQueryType, zf as ReplyToEmailData, zg as UpdateSpendPolicyResponse, zh as UnpublishAgentResponse, zi as CreateRegistryResponses, zl as InstallTemplateError, zm as StartAgentClaimResponse, zn as testFunction, zo as DownloadAttachmentsResponse, zp as SemanticSearchScoreBreakdown, zr as CreateAgentClaimLinkData, zs as GetAgentError, zt as getTemplate, zu as ListOrgSecretsResponse } from "../index-Da2SjL1d.js";
|
|
2
|
-
import { i as openapiDocument, n as PrimitiveParameterManifest, r as operationManifest, t as PrimitiveOperationManifest } from "../operations.generated-
|
|
3
|
-
import { F as ValidateEmailAuthResult, f as EmailReceivedEvent, n as AuthVerdict, t as AuthConfidence } from "../types-
|
|
4
|
-
import { T as normalizeReceivedEmail, _ as isTrustedSender, b as ReceivedEmailAddress, f as WebhookVerificationError, g as TrustedSenderResult, h as TrustedSenderOptions, m as TrustReason, p as WebhookVerificationErrorCode, v as validateEmailAuth, x as ReceivedEmailThread, y as ReceivedEmail } from "../errors-
|
|
1
|
+
import { $ as createFunctionSecret, $a as DeleteOrgSecretData, $c as GetSpendPolicyResponses, $d as PollCliLoginError, $f as ResendCliSignupVerificationInput, $g as VerifiedDomain, $h as UpdateDomainData, $i as CreateWakeScheduleError, $l as ListDeliveriesResponses, $m as StartCliSignupData, $n as verifyAgentSignup, $o as EmailAuth, $p as SendPermissionRule, $r as CreateEmailChallengeErrors, $s as GetEmailData, $t as listFunctions, $u as ListRegistryAgentsResponses, A as client, A_ as X402EmailChallengeDetails, Aa as DeleteEndpointResponse, Ac as GetOrgRoutingTopologyError, Ad as ListWakeSchedulesData, Af as ReplayDeliveryErrors, Ag as UpdateRouteError, Ah as TestFunctionResponse, Ai as CreateOrgSecretErrors, Al as IdempotencyKey, Am as SimulateRouteErrors, An as setFunctionSecret, Ao as DiscardEmailContentResponse, Ap as SemanticSearchCoverage, Ar as CliSignupVerifyResult, As as FunctionTestRunTrace, At as getFunctionTestRunTrace, Au as ListFunctionSecretsResponses, B as PrimitiveApiError, B_ as Config, Ba as DeleteFunctionResponse, Bc as GetSendPermissionsError, Bd as NumericString, Bf as ReplyToEmailError, Bg as UpdateSpendPolicyResponses, Bh as UnpublishAgentResponses, Bi as CreateRouteData, Bl as InstallTemplateErrors, Bm as StartAgentClaimResponses, Bn as unpublishAgent, Bo as DownloadAttachmentsResponses, Bp as SemanticSearchSnippet, Br as CreateAgentClaimLinkError, Bs as GetAgentErrors, Bt as getTemplateInstall, Bu as ListOrgSecretsResponses, C as SendAttachment, C_ as WakeAuthorization, Ca as DeleteEmailError, Cc as GetInboxStatusResponses, Cd as ListWakeAuthorizationsResponse, Cf as ReorderRoutesError, Cg as UpdateRegistryData, Ch as TestEndpointError, Ci as CreateFunctionSecretError, Cl as GetWakeScheduleResponse, Cm as SetOrgSecretError, Cn as runWakeSchedule, Co as DeleteWakeScheduleResponses, Cp as SearchEmailsResponse, Cr as CliLogoutErrors, Cs as FunctionTestRunDelivery, Ct as getAccount, Cu as ListFunctionLogsErrors, D as SendResult, D_ as X402Challenge, Da as DeleteEndpointData, Dc as GetMemoryResponse, Dd as ListWakeDispatchesErrors, Df as ReorderRoutesResponses, Dg as UpdateRegistryResponse, Dh as TestFunctionData, Di as CreateFunctionSecretResponses, Dl as GetWebhookSecretErrors, Dm as SetOrgSecretResponses, Dn as semanticSearch, Do as DiscardEmailContentData, Dp as SearchMemoriesErrors, Dr as CliLogoutResult, Ds as FunctionTestRunReply, Dt as getEmail, Du as ListFunctionSecretsError, E as SendPayloadReference, E_ as WebhookSecret, Ea as DeleteEmailResponses, Ec as GetMemoryErrors, Ed as ListWakeDispatchesError, Ef as ReorderRoutesResponse, Eg as UpdateRegistryInput, Eh as TestEndpointResponses, Ei as CreateFunctionSecretResponse, El as GetWebhookSecretError, Em as SetOrgSecretResponse, En as searchMemories, Eo as DiscardContentResult, Ep as SearchMemoriesError, Er as CliLogoutResponses, Es as FunctionTestRunOutboundRequest, Et as getConversation, Eu as ListFunctionSecretsData, F as verifyWebhookSignature, F_ as X402Receipt, Fa as DeleteFilterResponse, Fc as GetRegistryError, Fd as MemoryKeyQuery, Ff as ReplayEmailWebhooksErrors, Fg as UpdateSpendPolicyData, Fh as ThreadMessage, Fi as CreateRegistryError, Fl as InboxStatusNextAction, Fm as StartAgentClaimData, Fn as startAgentSignup, Fo as DomainVerifyResult, Fp as SemanticSearchInput, Fr as CreateAgentAccountErrors, Fs as GetAccountErrors, Ft as getSendPermissions, Fu as ListFunctionsResponses, G as cliLogout, G_ as ResponseStyle, Ga as DeleteFunctionSecretResponse, Gc as GetSentEmailError, Gd as PayChallengeData, Gf as ResendAgentSignupVerificationError, Gg as UpdateWakeAuthorizationResponse, Gh as UnsetFunctionRouteResponses, Gi as CreateRouteResponses, Gl as ListDeclinedPaymentsError, Gm as StartAgentSignupResponse, Gn as updateFilter, Go as DownloadDomainZoneFileResponses, Gp as SendEmailResponses, Gr as CreateChallengeData, Gs as GetChallengeErrors, Gt as listDeclinedPayments, Gu as ListPayoutAddressesResponses, H as RequestOptions$1, H_ as Options, Ha as DeleteFunctionSecretData, Hc as GetSendPermissionsResponse, Hd as OrgSecretWriteResult, Hf as ReplyToEmailResponse, Hg as UpdateWakeAuthorizationError, Hh as UnsetFunctionRouteError, Hi as CreateRouteErrors, Hl as InstallTemplateResponses, Hm as StartAgentSignupError, Hn as updateAccount, Ho as DownloadDomainZoneFileError, Hp as SendEmailError, Hr as CreateAgentClaimLinkInput, Hs as GetAgentResponses, Ht as getWakeSchedule, Hu as ListPayoutAddressesError, I as isMemoryJsonValue, I_ as X402SpendPolicy, Ia as DeleteFilterResponses, Ic as GetRegistryErrors, Id as MemoryResolvedScope, If as ReplayEmailWebhooksResponse, Ig as UpdateSpendPolicyError, Ih as UnpublishAgentData, Ii as CreateRegistryErrors, Il as InboxStatusRecentEmailSummary, Im as StartAgentClaimError, In as startCliLogin, Io as DownloadAttachmentsData, Ip as SemanticSearchMeta, Ir as CreateAgentAccountInput, Is as GetAccountResponse, It as getSentEmail, Iu as ListOrgSecretsData, J as createChallenge, Ja as DeleteMemoryError, Jc as GetSentEmailResponses, Jd as PayChallengeInput, Jf as ResendAgentSignupVerificationResponse, Jg as UpdateWakeScheduleError, Jh as UpdateAccountError, Ji as CreateWakeAuthorizationErrors, Jl as ListDeclinedPaymentsResponses, Jm as StartCliLoginError, Jn as updateRoute, Jo as DownloadRawEmailErrors, Jp as SendMailPayloadRef, Jr as CreateChallengeInput, Js as GetConversationData, Jt as listEmails, Ju as ListRegistriesErrors, K as createAgentAccount, K_ as createConfig, Ka as DeleteFunctionSecretResponses, Kc as GetSentEmailErrors, Kd as PayChallengeError, Kf as ResendAgentSignupVerificationErrors, Kg as UpdateWakeAuthorizationResponses, Kh as UnverifiedDomain, Ki as CreateWakeAuthorizationData, Kl as ListDeclinedPaymentsErrors, Km as StartAgentSignupResponses, Kn as updateFunction, Ko as DownloadRawEmailData, Kp as SendMailAttachment, Kr as CreateChallengeError, Ks as GetChallengeResponse, Kt as listDeliveries, Ku as ListRegistriesData, L as DEFAULT_API_BASE_URL, L_ as createClient, La as DeleteFunctionData, Lc as GetRegistryResponse, Ld as MemoryScope, Lf as ReplayEmailWebhooksResponses, Lg as UpdateSpendPolicyErrors, Lh as UnpublishAgentError, Li as CreateRegistryInput, Ll as InstallTemplateBody, Lm as StartAgentClaimErrors, Ln as startCliSignup, Lo as DownloadAttachmentsError, Lp as SemanticSearchResponses, Lr as CreateAgentAccountResponse, Ls as GetAccountResponses, Lt as getSpendPolicy, Lu as ListOrgSecretsError, M as createPrimitiveClient, M_ as X402PaymentPayload, Ma as DeleteFilterData, Mc as GetOrgRoutingTopologyResponse, Md as ListWakeSchedulesErrors, Mf as ReplayDeliveryResponses, Mg as UpdateRouteInput, Mh as TestInvocationResult, Mi as CreateOrgSecretResponse, Ml as InboxStatusDomain, Mm as SimulateRouteResponse, Mn as setOrgSecret, Mo as DkimSignature, Mp as SemanticSearchError, Mr as ConversationMessage, Ms as GateFix, Mt as getMemory, Mu as ListFunctionsError, N as PRIMITIVE_SIGNATURE_HEADER, N_ as X402PaymentRequirements, Na as DeleteFilterError, Nc as GetOrgRoutingTopologyResponses, Nd as ListWakeSchedulesResponse, Nf as ReplayEmailWebhooksData, Ng as UpdateRouteResponse, Nh as TestResult, Ni as CreateOrgSecretResponses, Nl as InboxStatusEndpointSummary, Nm as SimulateRouteResponses, Nn as simulateRoute, No as Domain, Np as SemanticSearchErrors, Nr as CreateAgentAccountData, Ns as GetAccountData, Nt as getOrgRoutingTopology, Nu as ListFunctionsErrors, O as SendThreadInput, O_ as X402DeclinedPayment, Oa as DeleteEndpointError, Oc as GetMemoryResponses, Od as ListWakeDispatchesResponse, Of as ReplayDeliveryData, Og as UpdateRegistryResponses, Oh as TestFunctionError, Oi as CreateOrgSecretData, Ol as GetWebhookSecretResponse, Om as SimulateRouteData, On as sendEmail, Oo as DiscardEmailContentError, Op as SearchMemoriesResponse, Or as CliSignupResendResult, Os as FunctionTestRunSend, Ot as getFunction, Ou as ListFunctionSecretsErrors, P as VerifyOptions, P_ as X402PayoutAddress, Pa as DeleteFilterErrors, Pc as GetRegistryData, Pd as ListWakeSchedulesResponses, Pf as ReplayEmailWebhooksError, Pg as UpdateRouteResponses, Ph as Thread, Pi as CreateRegistryData, Pl as InboxStatusFunctionSummary, Pm as SimulateRouteResult, Pn as startAgentClaim, Po as DomainDnsRecord, Pp as SemanticSearchField, Pr as CreateAgentAccountError, Ps as GetAccountError, Pt as getRegistry, Pu as ListFunctionsResponse, Q as createFunction, Qa as DeleteMemoryResult, Qc as GetSpendPolicyResponse, Qd as PollCliLoginData, Qf as ResendCliSignupVerificationErrors, Qg as UpdateWakeScheduleResponses, Qh as UpdateAccountResponses, Qi as CreateWakeScheduleData, Ql as ListDeliveriesResponse, Qm as StartCliLoginResponses, Qn as verifyAgentClaim, Qo as EmailAttachment, Qp as SendPermissionManagedZone, Qr as CreateEmailChallengeError, Qs as GetConversationResponses, Qt as listFunctionSecrets, Qu as ListRegistryAgentsResponse, R as PrimitiveApiClient, R_ as Client, Ra as DeleteFunctionError, Rc as GetRegistryResponses, Rd as MemoryScopeId, Rf as ReplayResult, Rg as UpdateSpendPolicyInput, Rh as UnpublishAgentErrors, Ri as CreateRegistryResponse, Rl as InstallTemplateData, Rm as StartAgentClaimInput, Rn as testEndpoint, Ro as DownloadAttachmentsErrors, Rp as SemanticSearchResult, Rr as CreateAgentAccountResponses, Rs as GetAgentData, Rt as getStorageStats, Ru as ListOrgSecretsErrors, S as SemanticSearchResponse, S_ as VerifyDomainResponses, Sa as DeleteEmailData, Sc as GetInboxStatusResponse, Sd as ListWakeAuthorizationsErrors, Sf as ReorderRoutesData, Sg as UpdateFunctionResponses, Sh as TestEndpointData, Si as CreateFunctionSecretData, Sl as GetWakeScheduleErrors, Sm as SetOrgSecretData, Sn as rotateWebhookSecret, So as DeleteWakeScheduleResponse, Sp as SearchEmailsErrors, Sr as CliLogoutError, Ss as FunctionTestRun, St as downloadRawEmail, Su as ListFunctionLogsError, T as SendInput, T_ as WakeSchedule, Ta as DeleteEmailResponse, Tc as GetMemoryError, Td as ListWakeDispatchesData, Tf as ReorderRoutesInput, Tg as UpdateRegistryErrors, Th as TestEndpointResponse, Ti as CreateFunctionSecretInput, Tl as GetWebhookSecretData, Tm as SetOrgSecretInput, Tn as searchEmails, To as DeliverySummary, Tp as SearchMemoriesData, Tr as CliLogoutResponse, Ts as FunctionTestRunInboundEmail, Tt as getChallenge, Tu as ListFunctionLogsResponses, U as createPrimitiveApiClient, U_ as RequestOptions, Ua as DeleteFunctionSecretError, Uc as GetSendPermissionsResponses, Ud as PaginationMeta, Uf as ReplyToEmailResponses, Ug as UpdateWakeAuthorizationErrors, Uh as UnsetFunctionRouteErrors, Ui as CreateRouteInput, Ul as Limit, Um as StartAgentSignupErrors, Un as updateDomain, Uo as DownloadDomainZoneFileErrors, Up as SendEmailErrors, Ur as CreateAgentClaimLinkResponse, Us as GetChallengeData, Ut as getWebhookSecret, Uu as ListPayoutAddressesErrors, V as PrimitiveApiErrorDetails, V_ as CreateClientConfig, Va as DeleteFunctionResponses, Vc as GetSendPermissionsErrors, Vd as OrgSecretListItem, Vf as ReplyToEmailErrors, Vg as UpdateWakeAuthorizationData, Vh as UnsetFunctionRouteData, Vi as CreateRouteError, Vl as InstallTemplateResponse, Vm as StartAgentSignupData, Vn as unsetFunctionRoute, Vo as DownloadDomainZoneFileData, Vp as SendEmailData, Vr as CreateAgentClaimLinkErrors, Vs as GetAgentResponse, Vt as getThread, Vu as ListPayoutAddressesData, W as addDomain, W_ as RequestResult, Wa as DeleteFunctionSecretErrors, Wc as GetSentEmailData, Wd as ParsedEmailData, Wf as ResendAgentSignupVerificationData, Wg as UpdateWakeAuthorizationInput, Wh as UnsetFunctionRouteResponse, Wi as CreateRouteResponse, Wl as ListDeclinedPaymentsData, Wm as StartAgentSignupInput, Wn as updateEndpoint, Wo as DownloadDomainZoneFileResponse, Wp as SendEmailResponse, Wr as CreateAgentClaimLinkResponses, Ws as GetChallengeError, Wt as installTemplate, Wu as ListPayoutAddressesResponse, X as createEndpoint, Xa as DeleteMemoryResponse, Xc as GetSpendPolicyError, Xd as PayChallengeResponses, Xf as ResendCliSignupVerificationData, Xg as UpdateWakeScheduleInput, Xh as UpdateAccountInput, Xi as CreateWakeAuthorizationResponse, Xl as ListDeliveriesError, Xm as StartCliLoginInput, Xn as updateWakeAuthorization, Xo as DownloadRawEmailResponses, Xp as SendPermissionAddress, Xr as CreateChallengeResponses, Xs as GetConversationErrors, Xt as listFilters, Xu as ListRegistriesResponses, Y as createEmailChallenge, Ya as DeleteMemoryErrors, Yc as GetSpendPolicyData, Yd as PayChallengeResponse, Yf as ResendAgentSignupVerificationResponses, Yg as UpdateWakeScheduleErrors, Yh as UpdateAccountErrors, Yi as CreateWakeAuthorizationInput, Yl as ListDeliveriesData, Ym as StartCliLoginErrors, Yn as updateSpendPolicy, Yo as DownloadRawEmailResponse, Yp as SendMailResult, Yr as CreateChallengeResponse, Ys as GetConversationError, Yt as listEndpoints, Yu as ListRegistriesResponse, Z as createFilter, Za as DeleteMemoryResponses, Zc as GetSpendPolicyErrors, Zd as PlanLimits, Zf as ResendCliSignupVerificationError, Zg as UpdateWakeScheduleResponse, Zh as UpdateAccountResponse, Zi as CreateWakeAuthorizationResponses, Zl as ListDeliveriesErrors, Zm as StartCliLoginResponse, Zn as updateWakeSchedule, Zo as EmailAddress, Zp as SendPermissionAnyRecipient, Zr as CreateEmailChallengeData, Zs as GetConversationResponse, Zt as listFunctionLogs, Zu as ListRegistryAgentsData, _ as MemorySetInput, __ as VerifyCliSignupResponses, _a as DeleteDomainData, _c as GetFunctionTestRunTraceResponse, _d as ListTemplatesErrors, _f as RegisterPayoutAddressResponse, _g as UpdateFunctionData, _h as TemplateSecretGroup, _i as CreateFunctionErrors, _l as GetThreadErrors, _m as SetMemoryError, _n as replayEmailWebhooks, _o as DeleteWakeAuthorizationResponse, _p as RunWakeScheduleErrors, _r as AgentSignupStartResult, _s as FunctionRouteBody, _t as deleteWakeAuthorization, _u as ListFiltersError, a as ForwardInput, a_ as VerifyAgentClaimResponses, aa as DecideRegistryRequestData, ac as GetFunctionError, ad as ListRoutesData, af as PublishAgentError, ag as UpdateEndpointData, ah as StorageStats, ai as CreateEndpointErrors, al as GetTemplateData, am as SetFunctionRouteData, an as listRoutes, ao as DeleteRegistryError, ap as ResolveRegistryHandleResponse, ar as AddDomainError, as as EmailSearchMeta, at as decideRegistryRequest, au as ListEmailsData, b as ReplyInput, b_ as VerifyDomainErrors, ba as DeleteDomainResponse, bc as GetInboxStatusError, bd as ListWakeAuthorizationsData, bf as RegistryAgent, bg as UpdateFunctionInput, bh as TemplateVariable, bi as CreateFunctionResponses, bl as GetWakeScheduleData, bm as SetMemoryResponse, bn as resendCliSignupVerification, bo as DeleteWakeScheduleError, bp as SearchEmailsData, br as CliLoginStartResult, bs as FunctionSecretListItem, bt as downloadAttachments, bu as ListFiltersResponses, c as InboxStreamOptions, c_ as VerifyAgentSignupErrors, ca as DecideRegistryRequestInput, cc as GetFunctionResponses, cd as ListRoutesResponse, cf as PublishAgentResponse, cg as UpdateEndpointInput, ch as TemplateInstall, ci as CreateEndpointResponses, cl as GetTemplateInstallData, cm as SetFunctionRouteResponse, cn as listWakeAuthorizations, co as DeleteRegistryResponses, cp as RotateWebhookSecretData, cr as AddDomainResponse, cs as EmailSummary, ct as deleteEmail, cu as ListEmailsResponse, d as MemoryGetInput, d_ as VerifyAgentSignupResponses, da as DefineAgentData, dc as GetFunctionRoutingErrors, dd as ListSentEmailsError, df as PublishPolicy, dg as UpdateFilterData, dh as TemplateManifest, di as CreateFilterErrors, dl as GetTemplateInstallResponse, dm as SetFunctionSecretError, dn as payChallenge, do as DeleteRouteErrors, dp as RotateWebhookSecretResponse, dr as AgentAccountUpgradeHint, ds as ErrorResponse, dt as deleteFunction, du as ListEndpointsError, e_ as VerifyAgentClaimData, ea as CreateWakeScheduleErrors, ec as GetEmailError, ed as ListRegistryRequestsData, ef as PollCliLoginErrors, eg as UpdateDomainError, eh as StartCliSignupError, ei as CreateEmailChallengeInput, el as GetStorageStatsData, em as SendPermissionYourDomain, en as listOrgSecrets, eo as DeleteOrgSecretError, ep as ResendCliSignupVerificationResponse, er as verifyCliSignup, es as EmailDetail, et as createOrgSecret, eu as ListDomainsData, f as MemoryJsonValue, f_ as VerifyCliSignupData, fa as DefineAgentError, fc as GetFunctionRoutingResponse, fd as ListSentEmailsErrors, ff as RecipientRoute, fg as UpdateFilterError, fh as TemplateRegistryDetail, fi as CreateFilterInput, fl as GetTemplateInstallResponses, fm as SetFunctionSecretErrors, fn as pollCliLogin, fo as DeleteRouteResponse, fp as RotateWebhookSecretResponses, fr as AgentClaimLinkResult, fs as Filter, ft as deleteFunctionSecret, fu as ListEndpointsErrors, g as MemorySearchResponse, g_ as VerifyCliSignupResponse, ga as DefineAgentResponses, gc as GetFunctionTestRunTraceErrors, gd as ListTemplatesError, gf as RegisterPayoutAddressInput, gg as UpdateFilterResponses, gh as TemplateSecret, gi as CreateFunctionError, gl as GetThreadError, gm as SetMemoryData, gn as replayDelivery, go as DeleteWakeAuthorizationErrors, gp as RunWakeScheduleError, gr as AgentSignupResendResult, gs as FunctionLogRow, gt as deleteRoute, gu as ListFiltersData, h as MemorySearchInput, h_ as VerifyCliSignupInput, ha as DefineAgentResponse, hc as GetFunctionTestRunTraceError, hd as ListTemplatesData, hf as RegisterPayoutAddressErrors, hg as UpdateFilterResponse, hh as TemplateRegistrySummary, hi as CreateFunctionData, hl as GetThreadData, hm as SetFunctionSecretResponses, hn as reorderRoutes, ho as DeleteWakeAuthorizationError, hp as RunWakeScheduleData, hr as AgentOrgRef, hs as FunctionListItem, ht as deleteRegistry, hu as ListEnvelope, i as CreatedAgent, i_ as VerifyAgentClaimResponse, ia as Cursor, ic as GetFunctionData, id as ListRegistryRequestsResponses, if as PublishAgentData, ig as UpdateDomainResponses, ih as StartCliSignupResponses, ii as CreateEndpointError, il as GetStorageStatsResponses, im as SentEmailSummary, in as listRegistryRequests, io as DeleteRegistryData, ip as ResolveRegistryHandleErrors, ir as AddDomainData, is as EmailSearchHighlights, it as createWakeSchedule, iu as ListDomainsResponses, j as createAgent, j_ as X402NonceBinding, ja as DeleteEndpointResponses, jc as GetOrgRoutingTopologyErrors, jd as ListWakeSchedulesError, jf as ReplayDeliveryResponse, jg as UpdateRouteErrors, jh as TestFunctionResponses, ji as CreateOrgSecretInput, jl as InboxStatus, jm as SimulateRouteInput, jn as setMemory, jo as DiscardEmailContentResponses, jp as SemanticSearchData, jr as Conversation, js as GateDenial, jt as getInboxStatus, ju as ListFunctionsData, k as WaitForNextOptions, k_ as X402EmailChallenge, ka as DeleteEndpointErrors, kc as GetOrgRoutingTopologyData, kd as ListWakeDispatchesResponses, kf as ReplayDeliveryError, kg as UpdateRouteData, kh as TestFunctionErrors, ki as CreateOrgSecretError, kl as GetWebhookSecretResponses, km as SimulateRouteError, kn as setFunctionRoute, ko as DiscardEmailContentErrors, kp as SearchMemoriesResponses, kr as CliSignupStartResult, ks as FunctionTestRunState, kt as getFunctionRouting, ku as ListFunctionSecretsResponse, l as MemoriesResource, l_ as VerifyAgentSignupInput, la as DecideRegistryRequestResponse, lc as GetFunctionRoutingData, ld as ListRoutesResponses, lf as PublishAgentResponses, lg as UpdateEndpointResponse, lh as TemplateInstallState, li as CreateFilterData, ll as GetTemplateInstallError, lm as SetFunctionRouteResponses, ln as listWakeDispatches, lo as DeleteRouteData, lp as RotateWebhookSecretError, lr as AddDomainResponses, ls as EmailWebhookStatus, lt as deleteEndpoint, lu as ListEmailsResponses, m as MemoryRecordWithValue, m_ as VerifyCliSignupErrors, ma as DefineAgentInput, mc as GetFunctionTestRunTraceData, md as ListSentEmailsResponses, mf as RegisterPayoutAddressError, mg as UpdateFilterInput, mh as TemplateRegistryStatus, mi as CreateFilterResponses, ml as GetTemplateResponses, mm as SetFunctionSecretResponse, mn as registerPayoutAddress, mo as DeleteWakeAuthorizationData, mp as RoutingTopology, mr as AgentClaimStartResult, ms as FunctionDetail, mt as deleteOrgSecret, mu as ListEndpointsResponses, n as AgentResource, n_ as VerifyAgentClaimErrors, na as CreateWakeScheduleResponse, nc as GetEmailResponse, nd as ListRegistryRequestsErrors, nf as PollCliLoginResponse, ng as UpdateDomainInput, nh as StartCliSignupInput, ni as CreateEmailChallengeResponses, nl as GetStorageStatsErrors, nm as SentEmailDetail, nn as listRegistries, no as DeleteOrgSecretResponse, np as ResolveRegistryHandleData, nr as Account, ns as EmailSearchFacetBucket, nt as createRoute, nu as ListDomainsErrors, o as InboundEmail, o_ as VerifyAgentSignupData, oa as DecideRegistryRequestError, oc as GetFunctionErrors, od as ListRoutesError, of as PublishAgentErrors, og as UpdateEndpointError, oh as SuccessEnvelope, oi as CreateEndpointInput, ol as GetTemplateError, om as SetFunctionRouteError, on as listSentEmails, oo as DeleteRegistryErrors, op as ResolveRegistryHandleResponses, or as AddDomainErrors, os as EmailSearchResult, ot as defineAgent, ou as ListEmailsError, p as MemoryRecord, p_ as VerifyCliSignupError, pa as DefineAgentErrors, pc as GetFunctionRoutingResponses, pd as ListSentEmailsResponse, pf as RegisterPayoutAddressData, pg as UpdateFilterErrors, ph as TemplateRegistryPage, pi as CreateFilterResponse, pl as GetTemplateResponse, pm as SetFunctionSecretInput, pn as publishAgent, po as DeleteRouteResponses, pp as RouteEvaluatedEntry, pr as AgentClaimResult, ps as FunctionDeployStatus, pt as deleteMemory, pu as ListEndpointsResponse, q as createAgentClaimLink, q_ as Auth, qa as DeleteMemoryData, qc as GetSentEmailResponse, qd as PayChallengeErrors, qf as ResendAgentSignupVerificationInput, qg as UpdateWakeScheduleData, qh as UpdateAccountData, qi as CreateWakeAuthorizationError, ql as ListDeclinedPaymentsResponse, qm as StartCliLoginData, qn as updateRegistry, qo as DownloadRawEmailError, qp as SendMailInput, qr as CreateChallengeErrors, qs as GetChallengeResponses, qt as listDomains, qu as ListRegistriesError, r as CreateAgentOptions, r_ as VerifyAgentClaimInput, ra as CreateWakeScheduleResponses, rc as GetEmailResponses, rd as ListRegistryRequestsResponse, rf as PollCliLoginResponses, rg as UpdateDomainResponse, rh as StartCliSignupResponse, ri as CreateEndpointData, rl as GetStorageStatsResponse, rm as SentEmailStatus, rn as listRegistryAgents, ro as DeleteOrgSecretResponses, rp as ResolveRegistryHandleError, rr as AccountUpdated, rs as EmailSearchFacets, rt as createWakeAuthorization, ru as ListDomainsResponse, s as InboxResource, s_ as VerifyAgentSignupError, sa as DecideRegistryRequestErrors, sc as GetFunctionResponse, sd as ListRoutesErrors, sf as PublishAgentInput, sg as UpdateEndpointErrors, sh as TemplateAuthor, si as CreateEndpointResponse, sl as GetTemplateErrors, sm as SetFunctionRouteErrors, sn as listTemplates, so as DeleteRegistryResponse, sp as ResourceId, sr as AddDomainInput, ss as EmailStatus, st as deleteDomain, su as ListEmailsErrors, t as AccountResource, t_ as VerifyAgentClaimError, ta as CreateWakeScheduleInput, tc as GetEmailErrors, td as ListRegistryRequestsError, tf as PollCliLoginInput, tg as UpdateDomainErrors, th as StartCliSignupErrors, ti as CreateEmailChallengeResponse, tl as GetStorageStatsError, tm as SendPermissionsMeta, tn as listPayoutAddresses, to as DeleteOrgSecretErrors, tp as ResendCliSignupVerificationResponses, tr as verifyDomain, ts as EmailDetailReply, tt as createRegistry, tu as ListDomainsError, u as MemoryDeleteInput, u_ as VerifyAgentSignupResponse, ua as DecideRegistryRequestResponses, uc as GetFunctionRoutingError, ud as ListSentEmailsData, uf as PublishAgentResult, ug as UpdateEndpointResponses, uh as TemplateInstallStatus, ui as CreateFilterError, ul as GetTemplateInstallErrors, um as SetFunctionSecretData, un as listWakeSchedules, uo as DeleteRouteError, up as RotateWebhookSecretErrors, ur as AgentAccountResult, us as Endpoint, ut as deleteFilter, uu as ListEndpointsData, v as PrimitiveClient, v_ as VerifyDomainData, va as DeleteDomainError, vc as GetFunctionTestRunTraceResponses, vd as ListTemplatesResponse, vf as RegisterPayoutAddressResponses, vg as UpdateFunctionError, vh as TemplateSetup, vi as CreateFunctionInput, vl as GetThreadResponse, vm as SetMemoryErrors, vn as replyToEmail, vo as DeleteWakeAuthorizationResponses, vp as RunWakeScheduleResponse, vr as AgentSignupVerifyResult, vs as FunctionRouteResult, vt as deleteWakeSchedule, vu as ListFiltersErrors, w as SendAttachmentInput, w_ as WakeDispatch, wa as DeleteEmailErrors, wc as GetMemoryData, wd as ListWakeAuthorizationsResponses, wf as ReorderRoutesErrors, wg as UpdateRegistryError, wh as TestEndpointErrors, wi as CreateFunctionSecretErrors, wl as GetWakeScheduleResponses, wm as SetOrgSecretErrors, wn as sdk_gen_d_exports, wo as DeliveryStatus, wp as SearchEmailsResponses, wr as CliLogoutInput, ws as FunctionTestRunDeliveryEndpoint, wt as getAgent, wu as ListFunctionLogsResponse, x as RequestOptions$2, x_ as VerifyDomainResponse, xa as DeleteDomainResponses, xc as GetInboxStatusErrors, xd as ListWakeAuthorizationsError, xf as RegistryRequest, xg as UpdateFunctionResponse, xh as TemplateVariableValidation, xi as CreateFunctionResult, xl as GetWakeScheduleError, xm as SetMemoryResponses, xn as resolveRegistryHandle, xo as DeleteWakeScheduleErrors, xp as SearchEmailsError, xr as CliLogoutData, xs as FunctionSecretWriteResult, xt as downloadDomainZoneFile, xu as ListFunctionLogsData, y as PrimitiveClientOptions, y_ as VerifyDomainError, ya as DeleteDomainErrors, yc as GetInboxStatusData, yd as ListTemplatesResponses, yf as Registry, yg as UpdateFunctionErrors, yh as TemplateSource, yi as CreateFunctionResponse, yl as GetThreadResponses, ym as SetMemoryInput, yn as resendAgentSignupVerification, yo as DeleteWakeScheduleData, yp as RunWakeScheduleResponses, yr as CliLoginPollResult, ys as FunctionRouting, yt as discardEmailContent, yu as ListFiltersResponse, z as PrimitiveApiClientOptions, z_ as ClientOptions, za as DeleteFunctionErrors, zc as GetSendPermissionsData, zd as MemoryScopeQueryType, zf as ReplyToEmailData, zg as UpdateSpendPolicyResponse, zh as UnpublishAgentResponse, zi as CreateRegistryResponses, zl as InstallTemplateError, zm as StartAgentClaimResponse, zn as testFunction, zo as DownloadAttachmentsResponse, zp as SemanticSearchScoreBreakdown, zr as CreateAgentClaimLinkData, zs as GetAgentError, zt as getTemplate, zu as ListOrgSecretsResponse } from "../index-PTY8VraQ.js";
|
|
2
|
+
import { i as openapiDocument, n as PrimitiveParameterManifest, r as operationManifest, t as PrimitiveOperationManifest } from "../operations.generated-DJS4dWr7.js";
|
|
3
|
+
import { F as ValidateEmailAuthResult, f as EmailReceivedEvent, n as AuthVerdict, t as AuthConfidence } from "../types-DJsEJwJ6.js";
|
|
4
|
+
import { T as normalizeReceivedEmail, _ as isTrustedSender, b as ReceivedEmailAddress, f as WebhookVerificationError, g as TrustedSenderResult, h as TrustedSenderOptions, m as TrustReason, p as WebhookVerificationErrorCode, v as validateEmailAuth, x as ReceivedEmailThread, y as ReceivedEmail } from "../errors-BSsdMlef.js";
|
|
5
5
|
export { Account, AccountResource, AccountUpdated, AddDomainData, AddDomainError, AddDomainErrors, AddDomainInput, AddDomainResponse, AddDomainResponses, AgentAccountResult, AgentAccountUpgradeHint, AgentClaimLinkResult, AgentClaimResult, AgentClaimStartResult, AgentOrgRef, AgentResource, AgentSignupResendResult, AgentSignupStartResult, AgentSignupVerifyResult, Auth, AuthConfidence, AuthVerdict, 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, GetTemplateData, GetTemplateError, GetTemplateErrors, GetTemplateInstallData, GetTemplateInstallError, GetTemplateInstallErrors, GetTemplateInstallResponse, GetTemplateInstallResponses, GetTemplateResponse, GetTemplateResponses, 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, InstallTemplateBody, InstallTemplateData, InstallTemplateError, InstallTemplateErrors, InstallTemplateResponse, InstallTemplateResponses, 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, ListTemplatesData, ListTemplatesError, ListTemplatesErrors, ListTemplatesResponse, ListTemplatesResponses, 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, SendAttachmentInput, SendEmailData, SendEmailError, SendEmailErrors, SendEmailResponse, SendEmailResponses, SendInput, SendMailAttachment, SendMailInput, SendMailPayloadRef, SendMailResult, SendPayloadReference, 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, TemplateAuthor, TemplateInstall, TemplateInstallState, TemplateInstallStatus, TemplateManifest, TemplateRegistryDetail, TemplateRegistryPage, TemplateRegistryStatus, TemplateRegistrySummary, TemplateSecret, TemplateSecretGroup, TemplateSetup, TemplateSource, TemplateVariable, TemplateVariableValidation, TestEndpointData, TestEndpointError, TestEndpointErrors, TestEndpointResponse, TestEndpointResponses, TestFunctionData, TestFunctionError, TestFunctionErrors, TestFunctionResponse, TestFunctionResponses, TestInvocationResult, TestResult, Thread, ThreadMessage, TrustReason, TrustedSenderOptions, TrustedSenderResult, 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, ValidateEmailAuthResult, 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, getTemplate, getTemplateInstall, getThread, getWakeSchedule, getWebhookSecret, installTemplate, isMemoryJsonValue, isTrustedSender, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, listTemplates, 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, validateEmailAuth, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain, verifyWebhookSignature };
|
package/dist/api/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as getEmail, $t as semanticSearch, A as createWakeSchedule, At as listRegistryRequests, B as deleteOrgSecret, Bt as registerPayoutAddress, C as createFilter, Cn as updateWakeSchedule, Ct as listFunctionLogs, D as createRegistry, Dn as verifyDomain, Dt as listPayoutAddresses, E as createOrgSecret, En as verifyCliSignup, Et as listOrgSecrets, F as deleteEndpoint, Ft as listWakeDispatches, G as discardEmailContent, Gt as resendAgentSignupVerification, H as deleteRoute, Ht as replayDelivery, I as deleteFilter, It as listWakeSchedules, J as downloadRawEmail, Jt as rotateWebhookSecret, K as downloadAttachments, Kt as resendCliSignupVerification, L as deleteFunction, Lt as payChallenge, M as defineAgent, Mt as listSentEmails, N as deleteDomain, Nt as listTemplates, O as createRoute, On as createClient, Ot as listRegistries, P as deleteEmail, Pt as listWakeAuthorizations, Q as getConversation, Qt as searchMemories, R as deleteFunctionSecret, Rt as pollCliLogin, S as createEndpoint, Sn as updateWakeAuthorization, St as listFilters, T as createFunctionSecret, Tn as verifyAgentSignup, Tt as listFunctions, U as deleteWakeAuthorization, Ut as replayEmailWebhooks, V as deleteRegistry, Vt as reorderRoutes, W as deleteWakeSchedule, Wt as replyToEmail, X as getAgent, Xt as sdk_gen_exports, Y as getAccount, Yt as runWakeSchedule, Z as getChallenge, Zt as searchEmails, _ as cliLogout, _n as updateFilter, _t as listDeclinedPayments, a as PrimitiveClient, an as simulateRoute, at as getOrgRoutingTopology, b as createChallenge, bn as updateRoute, bt as listEmails, c as createPrimitiveClient, cn as startCliLogin, ct as getSentEmail, d as isMemoryJsonValue, dn as testFunction, dt as getTemplate, en as sendEmail, et as getFunction, f as DEFAULT_API_BASE_URL, fn as unpublishAgent, ft as getTemplateInstall, g as addDomain, gn as updateEndpoint, gt as installTemplate, h as createPrimitiveApiClient, hn as updateDomain, ht as getWebhookSecret, i as MemoriesResource, in as setOrgSecret, it as getMemory, j as decideRegistryRequest, jt as listRoutes, k as createWakeAuthorization, kn as createConfig, kt as listRegistryAgents, l as PRIMITIVE_SIGNATURE_HEADER, ln as startCliSignup, lt as getSpendPolicy, m as PrimitiveApiError, mn as updateAccount, mt as getWakeSchedule, n as AgentResource, nn as setFunctionSecret, nt as getFunctionTestRunTrace, o as client, on as startAgentClaim, ot as getRegistry, p as PrimitiveApiClient, pn as unsetFunctionRoute, pt as getThread, q as downloadDomainZoneFile, qt as resolveRegistryHandle, r as InboxResource, rn as setMemory, rt as getInboxStatus, s as createAgent, sn as startAgentSignup, st as getSendPermissions, t as AccountResource, tn as setFunctionRoute, tt as getFunctionRouting, u as verifyWebhookSignature, un as testEndpoint, ut as getStorageStats, v as createAgentAccount, vn as updateFunction, vt as listDeliveries, w as createFunction, wn as verifyAgentClaim, wt as listFunctionSecrets, x as createEmailChallenge, xn as updateSpendPolicy, xt as listEndpoints, y as createAgentClaimLink, yn as updateRegistry, yt as listDomains, z as deleteMemory, zt as publishAgent } from "../api-
|
|
2
|
-
import { n as openapiDocument, t as operationManifest } from "../operations.generated-
|
|
3
|
-
import { C as normalizeReceivedEmail, c as WebhookVerificationError, d as AuthConfidence, f as AuthVerdict, l as isTrustedSender, u as validateEmailAuth } from "../errors-
|
|
1
|
+
import { $ as getEmail, $t as semanticSearch, A as createWakeSchedule, At as listRegistryRequests, B as deleteOrgSecret, Bt as registerPayoutAddress, C as createFilter, Cn as updateWakeSchedule, Ct as listFunctionLogs, D as createRegistry, Dn as verifyDomain, Dt as listPayoutAddresses, E as createOrgSecret, En as verifyCliSignup, Et as listOrgSecrets, F as deleteEndpoint, Ft as listWakeDispatches, G as discardEmailContent, Gt as resendAgentSignupVerification, H as deleteRoute, Ht as replayDelivery, I as deleteFilter, It as listWakeSchedules, J as downloadRawEmail, Jt as rotateWebhookSecret, K as downloadAttachments, Kt as resendCliSignupVerification, L as deleteFunction, Lt as payChallenge, M as defineAgent, Mt as listSentEmails, N as deleteDomain, Nt as listTemplates, O as createRoute, On as createClient, Ot as listRegistries, P as deleteEmail, Pt as listWakeAuthorizations, Q as getConversation, Qt as searchMemories, R as deleteFunctionSecret, Rt as pollCliLogin, S as createEndpoint, Sn as updateWakeAuthorization, St as listFilters, T as createFunctionSecret, Tn as verifyAgentSignup, Tt as listFunctions, U as deleteWakeAuthorization, Ut as replayEmailWebhooks, V as deleteRegistry, Vt as reorderRoutes, W as deleteWakeSchedule, Wt as replyToEmail, X as getAgent, Xt as sdk_gen_exports, Y as getAccount, Yt as runWakeSchedule, Z as getChallenge, Zt as searchEmails, _ as cliLogout, _n as updateFilter, _t as listDeclinedPayments, a as PrimitiveClient, an as simulateRoute, at as getOrgRoutingTopology, b as createChallenge, bn as updateRoute, bt as listEmails, c as createPrimitiveClient, cn as startCliLogin, ct as getSentEmail, d as isMemoryJsonValue, dn as testFunction, dt as getTemplate, en as sendEmail, et as getFunction, f as DEFAULT_API_BASE_URL, fn as unpublishAgent, ft as getTemplateInstall, g as addDomain, gn as updateEndpoint, gt as installTemplate, h as createPrimitiveApiClient, hn as updateDomain, ht as getWebhookSecret, i as MemoriesResource, in as setOrgSecret, it as getMemory, j as decideRegistryRequest, jt as listRoutes, k as createWakeAuthorization, kn as createConfig, kt as listRegistryAgents, l as PRIMITIVE_SIGNATURE_HEADER, ln as startCliSignup, lt as getSpendPolicy, m as PrimitiveApiError, mn as updateAccount, mt as getWakeSchedule, n as AgentResource, nn as setFunctionSecret, nt as getFunctionTestRunTrace, o as client, on as startAgentClaim, ot as getRegistry, p as PrimitiveApiClient, pn as unsetFunctionRoute, pt as getThread, q as downloadDomainZoneFile, qt as resolveRegistryHandle, r as InboxResource, rn as setMemory, rt as getInboxStatus, s as createAgent, sn as startAgentSignup, st as getSendPermissions, t as AccountResource, tn as setFunctionRoute, tt as getFunctionRouting, u as verifyWebhookSignature, un as testEndpoint, ut as getStorageStats, v as createAgentAccount, vn as updateFunction, vt as listDeliveries, w as createFunction, wn as verifyAgentClaim, wt as listFunctionSecrets, x as createEmailChallenge, xn as updateSpendPolicy, xt as listEndpoints, y as createAgentClaimLink, yn as updateRegistry, yt as listDomains, z as deleteMemory, zt as publishAgent } from "../api-D18uroMD.js";
|
|
2
|
+
import { n as openapiDocument, t as operationManifest } from "../operations.generated-CqlK_7LO.js";
|
|
3
|
+
import { C as normalizeReceivedEmail, c as WebhookVerificationError, d as AuthConfidence, f as AuthVerdict, l as isTrustedSender, u as validateEmailAuth } from "../errors-Bo0f7eId.js";
|
|
4
4
|
export { AccountResource, AgentResource, AuthConfidence, AuthVerdict, 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, getTemplate, getTemplateInstall, getThread, getWakeSchedule, getWebhookSecret, installTemplate, isMemoryJsonValue, isTrustedSender, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, listTemplates, 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, validateEmailAuth, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain, verifyWebhookSignature };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-pbuEa-1d.js";
|
|
2
|
-
import { pushBytes,
|
|
3
|
-
import { S as formatAddress, c as WebhookVerificationError } from "./errors-
|
|
4
|
-
import { readFile, stat } from "node:fs/promises";
|
|
2
|
+
import { a as pushFile, i as pushBytes, o as loadNodeFsPromises } from "./payloads-CQtSsUT6.js";
|
|
3
|
+
import { S as formatAddress, c as WebhookVerificationError } from "./errors-Bo0f7eId.js";
|
|
5
4
|
//#region ../packages/api-core/src/api/core/bodySerializer.gen.ts
|
|
6
5
|
const jsonBodySerializer = { bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value) };
|
|
7
6
|
//#endregion
|
|
@@ -3738,6 +3737,7 @@ var PrimitiveClient = class extends PrimitiveApiClient {
|
|
|
3738
3737
|
};
|
|
3739
3738
|
if (attachment.content !== void 0) return attachment.content.length <= threshold ? this.#sendInline(rest, meta, attachment.content, options) : this.#sendByReference(rest, meta, await pushBytes(attachment.content, this.#pushOptions()), options);
|
|
3740
3739
|
if (attachment.path !== void 0) {
|
|
3740
|
+
const { readFile, stat } = await loadNodeFsPromises("sendAttachment with attachment.path");
|
|
3741
3741
|
const { size } = await stat(attachment.path);
|
|
3742
3742
|
return size <= threshold ? this.#sendInline(rest, meta, await readFile(attachment.path), options) : this.#sendByReference(rest, meta, await pushFile(attachment.path, this.#pushOptions()), options);
|
|
3743
3743
|
}
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as RawContentInline, E as ParsedError, I as WebhookAttachment, T as ParsedDataFailed, d as EmailAuth, f as EmailReceivedEvent, k as RawContentDownloadOnly, l as EmailAddress, u as EmailAnalysis, w as ParsedDataComplete } from "../types-
|
|
2
|
-
import { A as SignResult, M as signWebhookPayload, S as StandardWebhooksSignResult, _ as WEBHOOK_VERSION, w as signStandardWebhooksPayload } from "../index-
|
|
1
|
+
import { A as RawContentInline, E as ParsedError, I as WebhookAttachment, T as ParsedDataFailed, d as EmailAuth, f as EmailReceivedEvent, k as RawContentDownloadOnly, l as EmailAddress, u as EmailAnalysis, w as ParsedDataComplete } from "../types-DJsEJwJ6.js";
|
|
2
|
+
import { A as SignResult, M as signWebhookPayload, S as StandardWebhooksSignResult, _ as WEBHOOK_VERSION, w as signStandardWebhooksPayload } from "../index-x795QzI4.js";
|
|
3
3
|
|
|
4
4
|
//#region src/contract/contract.d.ts
|
|
5
5
|
/** Maximum raw email size for inline inclusion (256 KB). */
|
package/dist/contract/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as WEBHOOK_VERSION, v as signStandardWebhooksPayload, w as signWebhookPayload, z as validateEmailReceivedEvent } from "../webhook-
|
|
1
|
+
import { p as WEBHOOK_VERSION, v as signStandardWebhooksPayload, w as signWebhookPayload, z as validateEmailReceivedEvent } from "../webhook-CTaEuJz2.js";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
//#region src/contract/contract.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as ValidateEmailAuthResult, I as WebhookAttachment, d as EmailAuth, f as EmailReceivedEvent, u as EmailAnalysis } from "./types-
|
|
1
|
+
import { F as ValidateEmailAuthResult, I as WebhookAttachment, d as EmailAuth, f as EmailReceivedEvent, u as EmailAnalysis } from "./types-DJsEJwJ6.js";
|
|
2
2
|
import { ErrorObject } from "ajv";
|
|
3
3
|
|
|
4
4
|
//#region src/webhook/received-email.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as parseFromHeaderLoose, t as parseFromHeader } from "./address-parser-
|
|
1
|
+
import { n as parseFromHeaderLoose, t as parseFromHeader } from "./address-parser-C2JJzLdA.js";
|
|
2
2
|
import isEmail from "validator/lib/isEmail.js";
|
|
3
3
|
//#region src/webhook/received-email.ts
|
|
4
4
|
const REPLY_PREFIX_RE = /^re\s*:/i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as ReceivedEmail } from "./errors-
|
|
1
|
+
import { y as ReceivedEmail } from "./errors-BSsdMlef.js";
|
|
2
2
|
|
|
3
3
|
//#region ../packages/api-core/src/api/core/auth.gen.d.ts
|
|
4
4
|
type AuthToken = string | undefined;
|
|
@@ -2119,6 +2119,14 @@ type SendMailInput = {
|
|
|
2119
2119
|
* Recipient address. Recipient eligibility depends on your account's outbound entitlements.
|
|
2120
2120
|
*/
|
|
2121
2121
|
to: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* Carbon-copy recipients. Either a single address or an array of addresses. Each entry must be a single address; use the array form for multiple recipients. Cc recipients are visible to everyone who receives the message. The combined number of to, cc, and bcc recipients must not exceed 100.
|
|
2124
|
+
*/
|
|
2125
|
+
cc?: string | Array<string>;
|
|
2126
|
+
/**
|
|
2127
|
+
* Blind-carbon-copy recipients. Either a single address or an array of addresses. Each entry must be a single address; use the array form for multiple recipients. Bcc recipients receive the message but are not disclosed to the other recipients: no Bcc header is sent. The combined number of to, cc, and bcc recipients must not exceed 100.
|
|
2128
|
+
*/
|
|
2129
|
+
bcc?: string | Array<string>;
|
|
2122
2130
|
/**
|
|
2123
2131
|
* Subject line for the outbound message
|
|
2124
2132
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as WebhookEvent, f as EmailReceivedEvent } from "./types-
|
|
2
|
-
import { u as WebhookValidationError, y as ReceivedEmail } from "./errors-
|
|
1
|
+
import { L as WebhookEvent, f as EmailReceivedEvent } from "./types-DJsEJwJ6.js";
|
|
2
|
+
import { u as WebhookValidationError, y as ReceivedEmail } from "./errors-BSsdMlef.js";
|
|
3
3
|
|
|
4
4
|
//#region src/validation.d.ts
|
|
5
5
|
interface ValidationSuccess<T> {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as client, B as PrimitiveApiError, C as SendAttachment, D as SendResult, Hr as CreateAgentClaimLinkInput, Ir as CreateAgentAccountInput, M as createPrimitiveClient, O as SendThreadInput, Rm as StartAgentClaimInput, T as SendInput, Zd as PlanLimits, _ as MemorySetInput, a as ForwardInput, b as ReplyInput, c as InboxStreamOptions, d as MemoryGetInput, dr as AgentAccountUpgradeHint, f as MemoryJsonValue, fr as AgentClaimLinkResult, g as MemorySearchResponse, h as MemorySearchInput, i as CreatedAgent, j as createAgent, k as WaitForNextOptions, l as MemoriesResource, m as MemoryRecordWithValue, mr as AgentClaimStartResult, nr as Account, o as InboundEmail, p as MemoryRecord, pr as AgentClaimResult, r as CreateAgentOptions, r_ as VerifyAgentClaimInput, s as InboxResource, t as AccountResource, u as MemoryDeleteInput, ur as AgentAccountResult, v as PrimitiveClient, y as PrimitiveClientOptions } from "./index-
|
|
2
|
-
import { $ as isPaymentFailedEvent, A as RawContentInline, B as InteractionEvent, C as ParsedData, D as ParsedStatus, E as ParsedError, F as ValidateEmailAuthResult, G as PaymentFailedEvent, H as InteractionX402Suffix, I as WebhookAttachment, J as WebhookEventType, K as PaymentSettledEvent, L as WebhookEvent, M as SpfResult, N as TlsReportAnalysis, O as RawContent, P as UnknownEvent, Q as isPaymentEvent, R as EMAIL_EVENT_TYPES, S as KnownWebhookEvent, T as ParsedDataFailed, U as PAYMENT_EVENT_TYPES, V as InteractionX402Event, W as PaymentEvent, X as isInteractionX402Event, Y as isEmailReceivedEvent, Z as isKnownWebhookEventType, _ as ForwardResultAttachmentAnalyzed, a as DkimSignature, b as ForwardVerdict, c as DmarcResult, d as EmailAuth, et as isPaymentSettledEvent, f as EmailReceivedEvent, g as ForwardResult, h as ForwardOriginalSender, i as DkimResult, j as RoutingDecision, k as RawContentDownloadOnly, l as EmailAddress, m as ForwardAnalysis, n as AuthVerdict, o as DmarcPolicy, p as EventType, q as WEBHOOK_EVENT_TYPES, r as BounceAnalysis, s as DmarcReportAnalysis, t as AuthConfidence, u as EmailAnalysis, v as ForwardResultAttachmentSkipped, w as ParsedDataComplete, x as ForwardVerification, y as ForwardResultInline, z as INTERACTION_EVENT_TYPES } from "./types-
|
|
3
|
-
import { C as buildReplySubject, E as parseHeaderAddress, S as buildForwardSubject, T as normalizeReceivedEmail, _ as isTrustedSender, a as RawEmailDecodeErrorCode, b as ReceivedEmailAddress, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as TrustedSenderResult, h as TrustedSenderOptions, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as TrustReason, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as validateEmailAuth, w as formatAddress, x as ReceivedEmailThread, y as ReceivedEmail } from "./errors-
|
|
4
|
-
import { A as SignResult, B as validateEmailReceivedEvent, C as StandardWebhooksVerifyOptions, D as LEGACY_SIGNATURE_HEADER, E as LEGACY_CONFIRMED_HEADER, F as VerifyDownloadTokenOptions, I as VerifyDownloadTokenResult, L as generateDownloadToken, M as signWebhookPayload, N as verifyWebhookSignature, O as PRIMITIVE_CONFIRMED_HEADER, P as GenerateDownloadTokenOptions, R as verifyDownloadToken, S as StandardWebhooksSignResult, T as verifyStandardWebhooksSignature, _ as WEBHOOK_VERSION, a as WebhookHeaders, b as STANDARD_WEBHOOK_SIGNATURE_HEADER, c as getDownloadTimeRemaining, d as handleWebhookEvent, f as isDownloadExpired, g as verifyRawEmailDownload, h as receive, i as WEBHOOK_EVENT_HEADER, j as VerifyOptions, k as PRIMITIVE_SIGNATURE_HEADER, l as getEventHeader, m as parseWebhookEvent, n as HandleWebhookOptions, o as confirmedHeaders, p as isRawIncluded, r as ReceiveRequestOptions, s as decodeRawEmail, t as DecodeRawEmailOptions, u as handleWebhook, v as emailReceivedEventJsonSchema, w as signStandardWebhooksPayload, x as STANDARD_WEBHOOK_TIMESTAMP_HEADER, y as STANDARD_WEBHOOK_ID_HEADER, z as safeValidateEmailReceivedEvent } from "./index-
|
|
1
|
+
import { A as client, B as PrimitiveApiError, C as SendAttachment, D as SendResult, Hr as CreateAgentClaimLinkInput, Ir as CreateAgentAccountInput, M as createPrimitiveClient, O as SendThreadInput, Rm as StartAgentClaimInput, T as SendInput, Zd as PlanLimits, _ as MemorySetInput, a as ForwardInput, b as ReplyInput, c as InboxStreamOptions, d as MemoryGetInput, dr as AgentAccountUpgradeHint, f as MemoryJsonValue, fr as AgentClaimLinkResult, g as MemorySearchResponse, h as MemorySearchInput, i as CreatedAgent, j as createAgent, k as WaitForNextOptions, l as MemoriesResource, m as MemoryRecordWithValue, mr as AgentClaimStartResult, nr as Account, o as InboundEmail, p as MemoryRecord, pr as AgentClaimResult, r as CreateAgentOptions, r_ as VerifyAgentClaimInput, s as InboxResource, t as AccountResource, u as MemoryDeleteInput, ur as AgentAccountResult, v as PrimitiveClient, y as PrimitiveClientOptions } from "./index-PTY8VraQ.js";
|
|
2
|
+
import { $ as isPaymentFailedEvent, A as RawContentInline, B as InteractionEvent, C as ParsedData, D as ParsedStatus, E as ParsedError, F as ValidateEmailAuthResult, G as PaymentFailedEvent, H as InteractionX402Suffix, I as WebhookAttachment, J as WebhookEventType, K as PaymentSettledEvent, L as WebhookEvent, M as SpfResult, N as TlsReportAnalysis, O as RawContent, P as UnknownEvent, Q as isPaymentEvent, R as EMAIL_EVENT_TYPES, S as KnownWebhookEvent, T as ParsedDataFailed, U as PAYMENT_EVENT_TYPES, V as InteractionX402Event, W as PaymentEvent, X as isInteractionX402Event, Y as isEmailReceivedEvent, Z as isKnownWebhookEventType, _ as ForwardResultAttachmentAnalyzed, a as DkimSignature, b as ForwardVerdict, c as DmarcResult, d as EmailAuth, et as isPaymentSettledEvent, f as EmailReceivedEvent, g as ForwardResult, h as ForwardOriginalSender, i as DkimResult, j as RoutingDecision, k as RawContentDownloadOnly, l as EmailAddress, m as ForwardAnalysis, n as AuthVerdict, o as DmarcPolicy, p as EventType, q as WEBHOOK_EVENT_TYPES, r as BounceAnalysis, s as DmarcReportAnalysis, t as AuthConfidence, u as EmailAnalysis, v as ForwardResultAttachmentSkipped, w as ParsedDataComplete, x as ForwardVerification, y as ForwardResultInline, z as INTERACTION_EVENT_TYPES } from "./types-DJsEJwJ6.js";
|
|
3
|
+
import { C as buildReplySubject, E as parseHeaderAddress, S as buildForwardSubject, T as normalizeReceivedEmail, _ as isTrustedSender, a as RawEmailDecodeErrorCode, b as ReceivedEmailAddress, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as TrustedSenderResult, h as TrustedSenderOptions, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as TrustReason, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as validateEmailAuth, w as formatAddress, x as ReceivedEmailThread, y as ReceivedEmail } from "./errors-BSsdMlef.js";
|
|
4
|
+
import { A as SignResult, B as validateEmailReceivedEvent, C as StandardWebhooksVerifyOptions, D as LEGACY_SIGNATURE_HEADER, E as LEGACY_CONFIRMED_HEADER, F as VerifyDownloadTokenOptions, I as VerifyDownloadTokenResult, L as generateDownloadToken, M as signWebhookPayload, N as verifyWebhookSignature, O as PRIMITIVE_CONFIRMED_HEADER, P as GenerateDownloadTokenOptions, R as verifyDownloadToken, S as StandardWebhooksSignResult, T as verifyStandardWebhooksSignature, _ as WEBHOOK_VERSION, a as WebhookHeaders, b as STANDARD_WEBHOOK_SIGNATURE_HEADER, c as getDownloadTimeRemaining, d as handleWebhookEvent, f as isDownloadExpired, g as verifyRawEmailDownload, h as receive, i as WEBHOOK_EVENT_HEADER, j as VerifyOptions, k as PRIMITIVE_SIGNATURE_HEADER, l as getEventHeader, m as parseWebhookEvent, n as HandleWebhookOptions, o as confirmedHeaders, p as isRawIncluded, r as ReceiveRequestOptions, s as decodeRawEmail, t as DecodeRawEmailOptions, u as handleWebhook, v as emailReceivedEventJsonSchema, w as signStandardWebhooksPayload, x as STANDARD_WEBHOOK_TIMESTAMP_HEADER, y as STANDARD_WEBHOOK_ID_HEADER, z as safeValidateEmailReceivedEvent } from "./index-x795QzI4.js";
|
|
5
5
|
import { NonceBinding, PayoutRegistrationMessageInput, TokenDomain, TransferAuthorization, X402Challenge, X402ChargeInput, X402Client, X402ClientOptions, X402DeclinedPayment, X402Error, X402PaymentPayload, X402PaymentRequirements, X402PayoutAddress, X402Receipt, X402Signer, X402SpendPolicy, buildPayoutRegistrationMessage, createX402Client, deriveEip3009Nonce, parseEmailChallengeFromPart } from "./x402/index.js";
|
|
6
6
|
|
|
7
7
|
//#region src/index.d.ts
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as PrimitiveClient, c as createPrimitiveClient, i as MemoriesResource, m as PrimitiveApiError, o as client, r as InboxResource, s as createAgent, t as AccountResource } from "./api-
|
|
2
|
-
import { C as normalizeReceivedEmail, S as formatAddress, _ as ForwardVerdict, a as VERIFICATION_ERRORS, b as buildForwardSubject, c as WebhookVerificationError, d as AuthConfidence, f as AuthVerdict, g as EventType, h as DmarcResult, i as RawEmailDecodeError, l as isTrustedSender, m as DmarcPolicy, n as PrimitiveWebhookError, o as WebhookPayloadError, p as DkimResult, r as RAW_EMAIL_ERRORS, s as WebhookValidationError, t as PAYLOAD_ERRORS, u as validateEmailAuth, v as ParsedStatus, w as parseHeaderAddress, x as buildReplySubject, y as SpfResult } from "./errors-
|
|
3
|
-
import { A as isEmailReceivedEvent, C as PRIMITIVE_SIGNATURE_HEADER, D as INTERACTION_EVENT_TYPES, E as EMAIL_EVENT_TYPES, F as isPaymentSettledEvent, I as generateDownloadToken, L as verifyDownloadToken, M as isKnownWebhookEventType, N as isPaymentEvent, O as PAYMENT_EVENT_TYPES, P as isPaymentFailedEvent, R as safeValidateEmailReceivedEvent, S as PRIMITIVE_CONFIRMED_HEADER, T as verifyWebhookSignature, _ as STANDARD_WEBHOOK_TIMESTAMP_HEADER, a as getEventHeader, b as LEGACY_CONFIRMED_HEADER, c as isDownloadExpired, d as receive, f as verifyRawEmailDownload, g as STANDARD_WEBHOOK_SIGNATURE_HEADER, h as STANDARD_WEBHOOK_ID_HEADER, i as getDownloadTimeRemaining, j as isInteractionX402Event, k as WEBHOOK_EVENT_TYPES, l as isRawIncluded, m as emailReceivedEventJsonSchema, n as confirmedHeaders, o as handleWebhook, p as WEBHOOK_VERSION, r as decodeRawEmail, s as handleWebhookEvent, t as WEBHOOK_EVENT_HEADER, u as parseWebhookEvent, v as signStandardWebhooksPayload, w as signWebhookPayload, x as LEGACY_SIGNATURE_HEADER, y as verifyStandardWebhooksSignature, z as validateEmailReceivedEvent } from "./webhook-
|
|
1
|
+
import { a as PrimitiveClient, c as createPrimitiveClient, i as MemoriesResource, m as PrimitiveApiError, o as client, r as InboxResource, s as createAgent, t as AccountResource } from "./api-D18uroMD.js";
|
|
2
|
+
import { C as normalizeReceivedEmail, S as formatAddress, _ as ForwardVerdict, a as VERIFICATION_ERRORS, b as buildForwardSubject, c as WebhookVerificationError, d as AuthConfidence, f as AuthVerdict, g as EventType, h as DmarcResult, i as RawEmailDecodeError, l as isTrustedSender, m as DmarcPolicy, n as PrimitiveWebhookError, o as WebhookPayloadError, p as DkimResult, r as RAW_EMAIL_ERRORS, s as WebhookValidationError, t as PAYLOAD_ERRORS, u as validateEmailAuth, v as ParsedStatus, w as parseHeaderAddress, x as buildReplySubject, y as SpfResult } from "./errors-Bo0f7eId.js";
|
|
3
|
+
import { A as isEmailReceivedEvent, C as PRIMITIVE_SIGNATURE_HEADER, D as INTERACTION_EVENT_TYPES, E as EMAIL_EVENT_TYPES, F as isPaymentSettledEvent, I as generateDownloadToken, L as verifyDownloadToken, M as isKnownWebhookEventType, N as isPaymentEvent, O as PAYMENT_EVENT_TYPES, P as isPaymentFailedEvent, R as safeValidateEmailReceivedEvent, S as PRIMITIVE_CONFIRMED_HEADER, T as verifyWebhookSignature, _ as STANDARD_WEBHOOK_TIMESTAMP_HEADER, a as getEventHeader, b as LEGACY_CONFIRMED_HEADER, c as isDownloadExpired, d as receive, f as verifyRawEmailDownload, g as STANDARD_WEBHOOK_SIGNATURE_HEADER, h as STANDARD_WEBHOOK_ID_HEADER, i as getDownloadTimeRemaining, j as isInteractionX402Event, k as WEBHOOK_EVENT_TYPES, l as isRawIncluded, m as emailReceivedEventJsonSchema, n as confirmedHeaders, o as handleWebhook, p as WEBHOOK_VERSION, r as decodeRawEmail, s as handleWebhookEvent, t as WEBHOOK_EVENT_HEADER, u as parseWebhookEvent, v as signStandardWebhooksPayload, w as signWebhookPayload, x as LEGACY_SIGNATURE_HEADER, y as verifyStandardWebhooksSignature, z as validateEmailReceivedEvent } from "./webhook-CTaEuJz2.js";
|
|
4
4
|
import { X402Client, X402Error, buildPayoutRegistrationMessage, createX402Client, deriveEip3009Nonce, parseEmailChallengeFromPart } from "./x402/index.js";
|
|
5
5
|
//#region src/index.ts
|
|
6
6
|
const primitive = {
|
package/dist/openapi/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as openapiDocument, n as PrimitiveParameterManifest, r as operationManifest, t as PrimitiveOperationManifest } from "../operations.generated-
|
|
1
|
+
import { i as openapiDocument, n as PrimitiveParameterManifest, r as operationManifest, t as PrimitiveOperationManifest } from "../operations.generated-DJS4dWr7.js";
|
|
2
2
|
export { type PrimitiveOperationManifest, type PrimitiveParameterManifest, openapiDocument, operationManifest };
|
package/dist/openapi/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as openapiDocument, t as operationManifest } from "../operations.generated-
|
|
1
|
+
import { n as openapiDocument, t as operationManifest } from "../operations.generated-CqlK_7LO.js";
|
|
2
2
|
export { openapiDocument, operationManifest };
|
|
@@ -6865,6 +6865,36 @@ const openapiDocument = {
|
|
|
6865
6865
|
"maxLength": 320,
|
|
6866
6866
|
"description": "Recipient address. Recipient eligibility depends on your account's outbound entitlements."
|
|
6867
6867
|
},
|
|
6868
|
+
"cc": {
|
|
6869
|
+
"description": "Carbon-copy recipients. Either a single address or an array of addresses. Each entry must be a single address; use the array form for multiple recipients. Cc recipients are visible to everyone who receives the message. The combined number of to, cc, and bcc recipients must not exceed 100.",
|
|
6870
|
+
"oneOf": [{
|
|
6871
|
+
"type": "string",
|
|
6872
|
+
"minLength": 1
|
|
6873
|
+
}, {
|
|
6874
|
+
"type": "array",
|
|
6875
|
+
"minItems": 1,
|
|
6876
|
+
"maxItems": 100,
|
|
6877
|
+
"items": {
|
|
6878
|
+
"type": "string",
|
|
6879
|
+
"minLength": 1
|
|
6880
|
+
}
|
|
6881
|
+
}]
|
|
6882
|
+
},
|
|
6883
|
+
"bcc": {
|
|
6884
|
+
"description": "Blind-carbon-copy recipients. Either a single address or an array of addresses. Each entry must be a single address; use the array form for multiple recipients. Bcc recipients receive the message but are not disclosed to the other recipients: no Bcc header is sent. The combined number of to, cc, and bcc recipients must not exceed 100.",
|
|
6885
|
+
"oneOf": [{
|
|
6886
|
+
"type": "string",
|
|
6887
|
+
"minLength": 1
|
|
6888
|
+
}, {
|
|
6889
|
+
"type": "array",
|
|
6890
|
+
"minItems": 1,
|
|
6891
|
+
"maxItems": 100,
|
|
6892
|
+
"items": {
|
|
6893
|
+
"type": "string",
|
|
6894
|
+
"minLength": 1
|
|
6895
|
+
}
|
|
6896
|
+
}]
|
|
6897
|
+
},
|
|
6868
6898
|
"subject": {
|
|
6869
6899
|
"type": "string",
|
|
6870
6900
|
"minLength": 1,
|
|
@@ -19384,6 +19414,36 @@ const operationManifest = [
|
|
|
19384
19414
|
"maxLength": 320,
|
|
19385
19415
|
"description": "Recipient address. Recipient eligibility depends on your account's outbound entitlements."
|
|
19386
19416
|
},
|
|
19417
|
+
"cc": {
|
|
19418
|
+
"description": "Carbon-copy recipients. Either a single address or an array of addresses. Each entry must be a single address; use the array form for multiple recipients. Cc recipients are visible to everyone who receives the message. The combined number of to, cc, and bcc recipients must not exceed 100.",
|
|
19419
|
+
"oneOf": [{
|
|
19420
|
+
"type": "string",
|
|
19421
|
+
"minLength": 1
|
|
19422
|
+
}, {
|
|
19423
|
+
"type": "array",
|
|
19424
|
+
"minItems": 1,
|
|
19425
|
+
"maxItems": 100,
|
|
19426
|
+
"items": {
|
|
19427
|
+
"type": "string",
|
|
19428
|
+
"minLength": 1
|
|
19429
|
+
}
|
|
19430
|
+
}]
|
|
19431
|
+
},
|
|
19432
|
+
"bcc": {
|
|
19433
|
+
"description": "Blind-carbon-copy recipients. Either a single address or an array of addresses. Each entry must be a single address; use the array form for multiple recipients. Bcc recipients receive the message but are not disclosed to the other recipients: no Bcc header is sent. The combined number of to, cc, and bcc recipients must not exceed 100.",
|
|
19434
|
+
"oneOf": [{
|
|
19435
|
+
"type": "string",
|
|
19436
|
+
"minLength": 1
|
|
19437
|
+
}, {
|
|
19438
|
+
"type": "array",
|
|
19439
|
+
"minItems": 1,
|
|
19440
|
+
"maxItems": 100,
|
|
19441
|
+
"items": {
|
|
19442
|
+
"type": "string",
|
|
19443
|
+
"minLength": 1
|
|
19444
|
+
}
|
|
19445
|
+
}]
|
|
19446
|
+
},
|
|
19387
19447
|
"subject": {
|
|
19388
19448
|
"type": "string",
|
|
19389
19449
|
"minLength": 1,
|
package/dist/parser/address.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as parseFromHeader, i as ValidatedAddress, n as ParseFromHeaderResult, o as parseFromHeaderLoose, r as ParsedAddress, t as ParseFromHeaderFailureReason } from "../address-parser-
|
|
1
|
+
import { a as parseFromHeader, i as ValidatedAddress, n as ParseFromHeaderResult, o as parseFromHeaderLoose, r as ParsedAddress, t as ParseFromHeaderFailureReason } from "../address-parser-CJqzx713.js";
|
|
2
2
|
export { type ParseFromHeaderFailureReason, type ParseFromHeaderResult, type ParsedAddress, type ValidatedAddress, parseFromHeader, parseFromHeaderLoose };
|
package/dist/parser/address.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as parseFromHeaderLoose, t as parseFromHeader } from "../address-parser-
|
|
1
|
+
import { n as parseFromHeaderLoose, t as parseFromHeader } from "../address-parser-C2JJzLdA.js";
|
|
2
2
|
export { parseFromHeader, parseFromHeaderLoose };
|
package/dist/parser/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as WebhookAttachment, l as EmailAddress, w as ParsedDataComplete } from "../types-
|
|
2
|
-
import { a as parseFromHeader, i as ValidatedAddress, n as ParseFromHeaderResult, o as parseFromHeaderLoose, r as ParsedAddress, t as ParseFromHeaderFailureReason } from "../address-parser-
|
|
1
|
+
import { I as WebhookAttachment, l as EmailAddress, w as ParsedDataComplete } from "../types-DJsEJwJ6.js";
|
|
2
|
+
import { a as parseFromHeader, i as ValidatedAddress, n as ParseFromHeaderResult, o as parseFromHeaderLoose, r as ParsedAddress, t as ParseFromHeaderFailureReason } from "../address-parser-CJqzx713.js";
|
|
3
3
|
|
|
4
4
|
//#region src/parser/attachment-parser.d.ts
|
|
5
5
|
interface ParsedAttachment {
|
package/dist/parser/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as parseFromHeaderLoose, t as parseFromHeader } from "../address-parser-
|
|
1
|
+
import { n as parseFromHeaderLoose, t as parseFromHeader } from "../address-parser-C2JJzLdA.js";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import { createGzip } from "node:zlib";
|
|
4
4
|
import { pack } from "tar-stream";
|