@primitivedotdev/sdk 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -0
- package/dist/api/index.d.ts +4 -4
- package/dist/api/index.js +3 -3
- package/dist/{api-ClLMDF81.js → api-26ENR8Ph.js} +30 -1
- package/dist/contract/index.d.ts +2 -2
- package/dist/contract/index.js +1 -1
- package/dist/{errors-DyuAXctD.d.ts → errors-bXUNXAlf.d.ts} +1 -1
- package/dist/{index-iZWfb98V.d.ts → index-BDnY9HH-.d.ts} +30 -48
- package/dist/{index-BnbrY8kp.d.ts → index-C3ahy3ls.d.ts} +161 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/dist/openapi/index.js +1 -1
- package/dist/{operations.generated-DQIrhCT5.js → operations.generated-Bu20uPOw.js} +304 -0
- package/dist/parser/index.d.ts +1 -1
- package/dist/{types-QT2ss9ho.d.ts → types-BjnIxPED.d.ts} +97 -2
- package/dist/webhook/index.d.ts +4 -4
- package/dist/webhook/index.js +2 -2
- package/dist/{webhook-CwjCyFv-.js → webhook-CiIPtegj.js} +155 -26
- package/dist/x402/index.d.ts +136 -1
- package/dist/x402/index.js +178 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as ReceivedEmail } from "./errors-
|
|
1
|
+
import { m as ReceivedEmail } from "./errors-bXUNXAlf.js";
|
|
2
2
|
|
|
3
3
|
//#region ../packages/api-core/src/api/core/auth.gen.d.ts
|
|
4
4
|
type AuthToken = string | undefined;
|
|
@@ -491,6 +491,77 @@ type X402Challenge = {
|
|
|
491
491
|
*/
|
|
492
492
|
payment_requirements?: X402PaymentRequirements;
|
|
493
493
|
};
|
|
494
|
+
/**
|
|
495
|
+
* Issue a payment challenge over an email thread. `from` is your sending
|
|
496
|
+
* address (the funds receiver; ownership is enforced at send, exactly as
|
|
497
|
+
* for outbound mail) and `to` is the payer's address. The `pay_to` payout
|
|
498
|
+
* wallet and the token asset are resolved server-side, never taken from
|
|
499
|
+
* the request.
|
|
500
|
+
*
|
|
501
|
+
*/
|
|
502
|
+
type CreateEmailChallengeInput = {
|
|
503
|
+
/**
|
|
504
|
+
* Your sending address (the payee / funds receiver). Must be an
|
|
505
|
+
* address your org is allowed to send from.
|
|
506
|
+
*
|
|
507
|
+
*/
|
|
508
|
+
from: string;
|
|
509
|
+
/**
|
|
510
|
+
* The payer's email address the challenge is sent to.
|
|
511
|
+
*/
|
|
512
|
+
to: string;
|
|
513
|
+
/**
|
|
514
|
+
* Amount to collect, in token base units. USDC has 6 decimals, so
|
|
515
|
+
* `"10000"` is 0.01 USDC.
|
|
516
|
+
*
|
|
517
|
+
*/
|
|
518
|
+
amount: string;
|
|
519
|
+
network: 'base' | 'base-sepolia';
|
|
520
|
+
/**
|
|
521
|
+
* Seconds until the challenge expires. Defaults to 3600.
|
|
522
|
+
*/
|
|
523
|
+
expires_in?: number;
|
|
524
|
+
/**
|
|
525
|
+
* Optional URL identifying what is being paid for.
|
|
526
|
+
*/
|
|
527
|
+
resource?: string;
|
|
528
|
+
/**
|
|
529
|
+
* Optional human-readable description of the payment.
|
|
530
|
+
*/
|
|
531
|
+
description?: string;
|
|
532
|
+
};
|
|
533
|
+
/**
|
|
534
|
+
* The challenge the payer needs to sign and pay, carried inside an
|
|
535
|
+
* email-native challenge response.
|
|
536
|
+
*
|
|
537
|
+
*/
|
|
538
|
+
type X402EmailChallengeDetails = {
|
|
539
|
+
payment_requirements: X402PaymentRequirements;
|
|
540
|
+
nonce_binding: X402NonceBinding;
|
|
541
|
+
/**
|
|
542
|
+
* ISO-8601 expiry of the challenge.
|
|
543
|
+
*/
|
|
544
|
+
expires_at: string;
|
|
545
|
+
};
|
|
546
|
+
/**
|
|
547
|
+
* The result of issuing an email-native payment challenge. `interaction_id`
|
|
548
|
+
* is the real email thread id (`uuid@domain`) the payment is bound to;
|
|
549
|
+
* `challenge_id` is the underlying challenge record. Hand the `challenge`
|
|
550
|
+
* to the payer, who replies with a signed `payment` interaction step (the
|
|
551
|
+
* SDK `payEmailChallenge` helper builds it).
|
|
552
|
+
*
|
|
553
|
+
*/
|
|
554
|
+
type X402EmailChallenge = {
|
|
555
|
+
/**
|
|
556
|
+
* The email thread id (`uuid@domain`) the payment is bound to.
|
|
557
|
+
*/
|
|
558
|
+
interaction_id: string;
|
|
559
|
+
/**
|
|
560
|
+
* The underlying challenge record id.
|
|
561
|
+
*/
|
|
562
|
+
challenge_id: string;
|
|
563
|
+
challenge: X402EmailChallengeDetails;
|
|
564
|
+
};
|
|
494
565
|
/**
|
|
495
566
|
* A signed x402 v1 `PaymentPayload`. The SDK `pay()` helper builds this;
|
|
496
567
|
* callers rarely construct it by hand. Field names are x402-native.
|
|
@@ -3338,6 +3409,13 @@ type OrgSecretWriteResult = {
|
|
|
3338
3409
|
* Resource UUID
|
|
3339
3410
|
*/
|
|
3340
3411
|
type ResourceId = string;
|
|
3412
|
+
/**
|
|
3413
|
+
* Optional idempotency key. Retrying a request with the same key returns
|
|
3414
|
+
* the original result instead of repeating the side effect (for
|
|
3415
|
+
* `createEmailChallenge`, re-sending the email).
|
|
3416
|
+
*
|
|
3417
|
+
*/
|
|
3418
|
+
type IdempotencyKey = string;
|
|
3341
3419
|
/**
|
|
3342
3420
|
* Pagination cursor from a previous response's `meta.cursor` field.
|
|
3343
3421
|
* Format: `{ISO-datetime}|{id}`
|
|
@@ -6107,6 +6185,69 @@ type RegisterPayoutAddressResponses = {
|
|
|
6107
6185
|
};
|
|
6108
6186
|
};
|
|
6109
6187
|
type RegisterPayoutAddressResponse = RegisterPayoutAddressResponses[keyof RegisterPayoutAddressResponses];
|
|
6188
|
+
type CreateEmailChallengeData = {
|
|
6189
|
+
body: CreateEmailChallengeInput;
|
|
6190
|
+
headers?: {
|
|
6191
|
+
/**
|
|
6192
|
+
* Optional idempotency key. Retrying a request with the same key returns
|
|
6193
|
+
* the original result instead of repeating the side effect (for
|
|
6194
|
+
* `createEmailChallenge`, re-sending the email).
|
|
6195
|
+
*
|
|
6196
|
+
*/
|
|
6197
|
+
'idempotency-key'?: string;
|
|
6198
|
+
};
|
|
6199
|
+
path?: never;
|
|
6200
|
+
query?: never;
|
|
6201
|
+
url: '/x402/email-challenges';
|
|
6202
|
+
};
|
|
6203
|
+
type CreateEmailChallengeErrors = {
|
|
6204
|
+
/**
|
|
6205
|
+
* Invalid request parameters
|
|
6206
|
+
*/
|
|
6207
|
+
400: ErrorResponse;
|
|
6208
|
+
/**
|
|
6209
|
+
* Invalid or missing API key
|
|
6210
|
+
*/
|
|
6211
|
+
401: ErrorResponse;
|
|
6212
|
+
/**
|
|
6213
|
+
* Authenticated caller lacks permission for the operation
|
|
6214
|
+
*/
|
|
6215
|
+
403: ErrorResponse;
|
|
6216
|
+
/**
|
|
6217
|
+
* The request conflicts with the current state of the resource
|
|
6218
|
+
*/
|
|
6219
|
+
409: ErrorResponse;
|
|
6220
|
+
/**
|
|
6221
|
+
* The request was well-formed but could not be processed. For Payments
|
|
6222
|
+
* this covers a missing payout address, a failed payment verification, a
|
|
6223
|
+
* spend-policy decline, or an expired challenge; `error.code` distinguishes
|
|
6224
|
+
* them.
|
|
6225
|
+
*
|
|
6226
|
+
*/
|
|
6227
|
+
422: ErrorResponse;
|
|
6228
|
+
/**
|
|
6229
|
+
* Rate limit exceeded
|
|
6230
|
+
*/
|
|
6231
|
+
429: ErrorResponse;
|
|
6232
|
+
};
|
|
6233
|
+
type CreateEmailChallengeError = CreateEmailChallengeErrors[keyof CreateEmailChallengeErrors];
|
|
6234
|
+
type CreateEmailChallengeResponses = {
|
|
6235
|
+
/**
|
|
6236
|
+
* Idempotent replay: a request with a previously-used idempotency key
|
|
6237
|
+
* returns the original issued challenge without sending a second email.
|
|
6238
|
+
*
|
|
6239
|
+
*/
|
|
6240
|
+
200: SuccessEnvelope & {
|
|
6241
|
+
data?: X402EmailChallenge;
|
|
6242
|
+
};
|
|
6243
|
+
/**
|
|
6244
|
+
* Email challenge issued
|
|
6245
|
+
*/
|
|
6246
|
+
201: SuccessEnvelope & {
|
|
6247
|
+
data?: X402EmailChallenge;
|
|
6248
|
+
};
|
|
6249
|
+
};
|
|
6250
|
+
type CreateEmailChallengeResponse = CreateEmailChallengeResponses[keyof CreateEmailChallengeResponses];
|
|
6110
6251
|
type CreateChallengeData = {
|
|
6111
6252
|
body: CreateChallengeInput;
|
|
6112
6253
|
path?: never;
|
|
@@ -6346,7 +6487,7 @@ type ListDeclinedPaymentsResponses = {
|
|
|
6346
6487
|
};
|
|
6347
6488
|
type ListDeclinedPaymentsResponse = ListDeclinedPaymentsResponses[keyof ListDeclinedPaymentsResponses];
|
|
6348
6489
|
declare namespace sdk_gen_d_exports {
|
|
6349
|
-
export { Options, addDomain, cliLogout, createAgentAccount, createAgentClaimLink, createChallenge, createEndpoint, createFilter, createFunction, createFunctionSecret, createOrgSecret, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteOrgSecret, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getOrgRoutingTopology, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getThread, getWebhookSecret, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listSentEmails, payChallenge, pollCliLogin, registerPayoutAddress, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, rotateWebhookSecret, searchEmails, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setOrgSecret, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateSpendPolicy, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain };
|
|
6490
|
+
export { Options, addDomain, cliLogout, createAgentAccount, createAgentClaimLink, createChallenge, createEmailChallenge, createEndpoint, createFilter, createFunction, createFunctionSecret, createOrgSecret, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteOrgSecret, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getOrgRoutingTopology, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getThread, getWebhookSecret, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listSentEmails, payChallenge, pollCliLogin, registerPayoutAddress, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, rotateWebhookSecret, searchEmails, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setOrgSecret, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateSpendPolicy, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain };
|
|
6350
6491
|
}
|
|
6351
6492
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
6352
6493
|
/**
|
|
@@ -7306,6 +7447,23 @@ declare const listPayoutAddresses: <ThrowOnError extends boolean = false>(option
|
|
|
7306
7447
|
*
|
|
7307
7448
|
*/
|
|
7308
7449
|
declare const registerPayoutAddress: <ThrowOnError extends boolean = false>(options: Options<RegisterPayoutAddressData, ThrowOnError>) => RequestResult<RegisterPayoutAddressResponses, RegisterPayoutAddressErrors, ThrowOnError, "fields">;
|
|
7450
|
+
/**
|
|
7451
|
+
* Create an email-native payment challenge
|
|
7452
|
+
*
|
|
7453
|
+
* Issue an x402 payment challenge over a real email thread (the payee
|
|
7454
|
+
* side). Unlike `createChallenge` (which mints a synthetic challenge id),
|
|
7455
|
+
* this sends the challenge as an email from `from` to `to` and binds the
|
|
7456
|
+
* payment to that DKIM-authenticated thread. The `pay_to` address and the
|
|
7457
|
+
* token asset are resolved server-side from your registered default payout
|
|
7458
|
+
* address for the network, never from the request. The response carries
|
|
7459
|
+
* the thread's `interaction_id` plus the `challenge` (the
|
|
7460
|
+
* `payment_requirements`, the `nonce_binding`, and `expires_at`) the payer
|
|
7461
|
+
* needs to sign; the payer replies with a signed `payment` interaction
|
|
7462
|
+
* step. Amounts are in token base units (USDC has 6 decimals, so `"10000"`
|
|
7463
|
+
* is 0.01 USDC).
|
|
7464
|
+
*
|
|
7465
|
+
*/
|
|
7466
|
+
declare const createEmailChallenge: <ThrowOnError extends boolean = false>(options: Options<CreateEmailChallengeData, ThrowOnError>) => RequestResult<CreateEmailChallengeResponses, CreateEmailChallengeErrors, ThrowOnError, "fields">;
|
|
7309
7467
|
/**
|
|
7310
7468
|
* Create a payment challenge
|
|
7311
7469
|
*
|
|
@@ -7779,4 +7937,4 @@ interface CreatedAgent {
|
|
|
7779
7937
|
*/
|
|
7780
7938
|
declare function createAgent(options: CreateAgentOptions): Promise<CreatedAgent>;
|
|
7781
7939
|
//#endregion
|
|
7782
|
-
export { getAccount as $, GetFunctionTestRunTraceError as $a, ResendCliSignupVerificationResponses as $c, VerifyDomainResponse as $d, Endpoint as $i, SetOrgSecretErrors as $l, CreateChallengeResponses as $n, ListDeclinedPaymentsResponse as $o, DeleteFunctionError as $r, ListSentEmailsError as $s, updateFunction as $t, UpdateAccountResponse as $u, RequestOptions$1 as A, GetChallengeResponse as Aa, ReplayDeliveryResponses as Ac, UpdateSpendPolicyResponses as Ad, DownloadDomainZoneFileData as Ai, SendMailResult as Al, CliLogoutResult as An, GetStorageStatsErrors as Ao, CreateOrgSecretResponses as Ar, ListFunctionLogsResponse as As, replayEmailWebhooks as At, TestEndpointError as Au, createFunctionSecret as B, GetEmailResponse as Ba, ReplyToEmailResponse as Bc, VerifyAgentSignupErrors as Bd, EmailAddress as Bi, SetFunctionRouteData as Bl, CreateAgentAccountResponse as Bn, GetWebhookSecretErrors as Bo, DeleteEmailResponse as Br, ListFunctionsResponse as Bs, setFunctionSecret as Bt, TestResult as Bu, VerifyOptions as C, GetAccountError as Ca, RegisterPayoutAddressInput as Cc, UpdateFunctionResponse as Cd, DomainDnsRecord as Ci, SendEmailData as Cl, CliLoginStartResult as Cn, GetSpendPolicyData as Co, CreateFunctionSecretResponse as Cr, ListFiltersError as Cs, listOrgSecrets as Ct, StartCliSignupErrors as Cu, PrimitiveApiClientOptions as D, GetChallengeData as Da, ReplayDeliveryError as Dc, UpdateSpendPolicyErrors as Dd, DownloadAttachmentsErrors as Di, SendEmailResponses as Dl, CliLogoutInput as Dn, GetSpendPolicyResponses as Do, CreateOrgSecretErrors as Dr, ListFunctionLogsData as Ds, pollCliLogin as Dt, StorageStats as Du, PrimitiveApiClient as E, GetAccountResponses as Ea, ReplayDeliveryData as Ec, UpdateSpendPolicyError as Ed, DownloadAttachmentsError as Ei, SendEmailResponse as El, CliLogoutErrors as En, GetSpendPolicyResponse as Eo, CreateOrgSecretError as Er, ListFiltersResponses as Es, payChallenge as Et, StartCliSignupResponses as Eu, createAgentClaimLink as F, GetConversationResponse as Fa, ReplayEmailWebhooksResponses as Fc, VerifyAgentClaimInput as Fd, DownloadRawEmailData as Fi, SendPermissionYourDomain as Fl, ConversationMessage as Fn, GetThreadErrors as Fo, DeleteDomainResponse as Fr, ListFunctionSecretsResponse as Fs, sdk_gen_d_exports as Ft, TestFunctionError as Fu, deleteFilter as G, GetFunctionResponse as Ga, ResendAgentSignupVerificationInput as Gc, VerifyCliSignupError as Gd, EmailSearchFacetBucket as Gi, SetFunctionSecretData as Gl, CreateAgentClaimLinkInput as Gn, InboxStatusEndpointSummary as Go, DeleteEndpointResponse as Gr, ListOrgSecretsResponse as Gs, startCliSignup as Gt, UnsetFunctionRouteErrors as Gu, deleteDomain as H, GetFunctionData as Ha, ResendAgentSignupVerificationData as Hc, VerifyAgentSignupResponse as Hd, EmailAuth as Hi, SetFunctionRouteErrors as Hl, CreateAgentClaimLinkData as Hn, GetWebhookSecretResponses as Ho, DeleteEndpointData as Hr, ListOrgSecretsData as Hs, startAgentClaim as Ht, ThreadMessage as Hu, createChallenge as I, GetConversationResponses as Ia, ReplayResult as Ic, VerifyAgentClaimResponse as Id, DownloadRawEmailError as Ii, SendPermissionsMeta as Il, CreateAgentAccountData as In, GetThreadResponse as Io, DeleteDomainResponses as Ir, ListFunctionSecretsResponses as Is, searchEmails as It, TestFunctionErrors as Iu, deleteOrgSecret as J, GetFunctionRoutingError as Ja, ResendCliSignupVerificationData as Jc, VerifyCliSignupResponse as Jd, EmailSearchMeta as Ji, SetFunctionSecretInput as Jl, CreateChallengeData as Jn, InboxStatusRecentEmailSummary as Jo, DeleteFilterError as Jr, ListPayoutAddressesError as Js, unsetFunctionRoute as Jt, UnverifiedDomain as Ju, deleteFunction as K, GetFunctionResponses as Ka, ResendAgentSignupVerificationResponse as Kc, VerifyCliSignupErrors as Kd, EmailSearchFacets as Ki, SetFunctionSecretError as Kl, CreateAgentClaimLinkResponse as Kn, InboxStatusFunctionSummary as Ko, DeleteEndpointResponses as Kr, ListOrgSecretsResponses as Ks, testEndpoint as Kt, UnsetFunctionRouteResponse as Ku, createEndpoint as L, GetEmailData as La, ReplyToEmailData as Lc, VerifyAgentClaimResponses as Ld, DownloadRawEmailErrors as Li, SentEmailDetail as Ll, CreateAgentAccountError as Ln, GetThreadResponses as Lo, DeleteEmailData as Lr, ListFunctionsData as Ls, semanticSearch as Lt, TestFunctionResponse as Lu, addDomain as M, GetConversationData as Ma, ReplayEmailWebhooksError as Mc, VerifyAgentClaimData as Md, DownloadDomainZoneFileErrors as Mi, SendPermissionAnyRecipient as Ml, CliSignupStartResult as Mn, GetStorageStatsResponses as Mo, DeleteDomainData as Mr, ListFunctionSecretsData as Ms, resendAgentSignupVerification as Mt, TestEndpointResponse as Mu, cliLogout as N, GetConversationError as Na, ReplayEmailWebhooksErrors as Nc, VerifyAgentClaimError as Nd, DownloadDomainZoneFileResponse as Ni, SendPermissionManagedZone as Nl, CliSignupVerifyResult as Nn, GetThreadData as No, DeleteDomainError as Nr, ListFunctionSecretsError as Ns, resendCliSignupVerification as Nt, TestEndpointResponses as Nu, PrimitiveApiError as O, GetChallengeError as Oa, ReplayDeliveryErrors as Oc, UpdateSpendPolicyInput as Od, DownloadAttachmentsResponse as Oi, SendMailAttachment as Ol, CliLogoutResponse as On, GetStorageStatsData as Oo, CreateOrgSecretInput as Or, ListFunctionLogsError as Os, registerPayoutAddress as Ot, SuccessEnvelope as Ou, createAgentAccount as P, GetConversationErrors as Pa, ReplayEmailWebhooksResponse as Pc, VerifyAgentClaimErrors as Pd, DownloadDomainZoneFileResponses as Pi, SendPermissionRule as Pl, Conversation as Pn, GetThreadError as Po, DeleteDomainErrors as Pr, ListFunctionSecretsErrors as Ps, rotateWebhookSecret as Pt, TestFunctionData as Pu, downloadRawEmail as Q, GetFunctionTestRunTraceData as Qa, ResendCliSignupVerificationResponse as Qc, VerifyDomainErrors as Qd, EmailWebhookStatus as Qi, SetOrgSecretError as Ql, CreateChallengeResponse as Qn, ListDeclinedPaymentsErrors as Qo, DeleteFunctionData as Qr, ListSentEmailsData as Qs, updateFilter as Qt, UpdateAccountInput as Qu, createFilter as R, GetEmailError as Ra, ReplyToEmailError as Rc, VerifyAgentSignupData as Rd, DownloadRawEmailResponse as Ri, SentEmailStatus as Rl, CreateAgentAccountErrors as Rn, GetWebhookSecretData as Ro, DeleteEmailError as Rr, ListFunctionsError as Rs, sendEmail as Rt, TestFunctionResponses as Ru, PRIMITIVE_SIGNATURE_HEADER as S, GetAccountData as Sa, RegisterPayoutAddressErrors as Sc, UpdateFunctionInput as Sd, Domain as Si, SemanticSearchSnippet as Sl, CliLoginPollResult as Sn, GetSentEmailResponses as So, CreateFunctionSecretInput as Sr, ListFiltersData as Ss, listFunctions as St, StartCliSignupError as Su, DEFAULT_API_BASE_URL as T, GetAccountResponse as Ta, RegisterPayoutAddressResponses as Tc, UpdateSpendPolicyData as Td, DownloadAttachmentsData as Ti, SendEmailErrors as Tl, CliLogoutError as Tn, GetSpendPolicyErrors as To, CreateOrgSecretData as Tr, ListFiltersResponse as Ts, listSentEmails as Tt, StartCliSignupResponse as Tu, deleteEmail as U, GetFunctionError as Ua, ResendAgentSignupVerificationError as Uc, VerifyAgentSignupResponses as Ud, EmailDetail as Ui, SetFunctionRouteResponse as Ul, CreateAgentClaimLinkError as Un, InboxStatus as Uo, DeleteEndpointError as Ur, ListOrgSecretsError as Us, startAgentSignup as Ut, UnsetFunctionRouteData as Uu, createOrgSecret as V, GetEmailResponses as Va, ReplyToEmailResponses as Vc, VerifyAgentSignupInput as Vd, EmailAttachment as Vi, SetFunctionRouteError as Vl, CreateAgentAccountResponses as Vn, GetWebhookSecretResponse as Vo, DeleteEmailResponses as Vr, ListFunctionsResponses as Vs, setOrgSecret as Vt, Thread as Vu, deleteEndpoint as W, GetFunctionErrors as Wa, ResendAgentSignupVerificationErrors as Wc, VerifyCliSignupData as Wd, EmailDetailReply as Wi, SetFunctionRouteResponses as Wl, CreateAgentClaimLinkErrors as Wn, InboxStatusDomain as Wo, DeleteEndpointErrors as Wr, ListOrgSecretsErrors as Ws, startCliLogin as Wt, UnsetFunctionRouteError as Wu, downloadAttachments as X, GetFunctionRoutingResponse as Xa, ResendCliSignupVerificationErrors as Xc, VerifyDomainData as Xd, EmailStatus as Xi, SetFunctionSecretResponses as Xl, CreateChallengeErrors as Xn, ListDeclinedPaymentsData as Xo, DeleteFilterResponse as Xr, ListPayoutAddressesResponse as Xs, updateDomain as Xt, UpdateAccountError as Xu, discardEmailContent as Y, GetFunctionRoutingErrors as Ya, ResendCliSignupVerificationError as Yc, VerifyCliSignupResponses as Yd, EmailSearchResult as Yi, SetFunctionSecretResponse as Yl, CreateChallengeError as Yn, Limit as Yo, DeleteFilterErrors as Yr, ListPayoutAddressesErrors as Ys, updateAccount as Yt, UpdateAccountData as Yu, downloadDomainZoneFile as Z, GetFunctionRoutingResponses as Za, ResendCliSignupVerificationInput as Zc, VerifyDomainError as Zd, EmailSummary as Zi, SetOrgSecretData as Zl, CreateChallengeInput as Zn, ListDeclinedPaymentsError as Zo, DeleteFilterResponses as Zr, ListPayoutAddressesResponses as Zs, updateEndpoint as Zt, UpdateAccountErrors as Zu, SendThreadInput as _, FunctionTestRunSend as _a, PollCliLoginInput as _c, UpdateFilterResponse as _d, RequestResult as _f, DiscardEmailContentError as _i, SemanticSearchInput as _l, AgentClaimStartResult as _n, GetSendPermissionsResponses as _o, CreateFunctionResponses as _r, ListEndpointsError as _s, listEmails as _t, StartCliLoginErrors as _u, ForwardInput as a, FunctionLogRow as aa, PaginationMeta as ac, UpdateDomainResponse as ad, X402PaymentPayload as af, DeleteFunctionSecretErrors as ai, RotateWebhookSecretResponses as al, Account as an, GetInboxStatusErrors as ao, CreateEndpointResponses as ar, ListDeliveriesResponses as as, getFunctionTestRunTrace as at, StartAgentClaimErrors as au, createAgent as b, GateDenial as ba, RegisterPayoutAddressData as bc, UpdateFunctionError as bd, Auth as bf, DiscardEmailContentResponses as bi, SemanticSearchResult as bl, AgentSignupStartResult as bn, GetSentEmailErrors as bo, CreateFunctionSecretError as br, ListEndpointsResponses as bs, listFunctionLogs as bt, StartCliLoginResponses as bu, InboxStreamOptions as c, FunctionRouting as ca, PayChallengeError as cc, UpdateEndpointError as cd, X402Receipt as cf, DeleteOrgSecretData as ci, SearchEmailsError as cl, AddDomainError as cn, GetOrgRoutingTopologyData as co, CreateFilterErrors as cr, ListDomainsErrors as cs, getSendPermissions as ct, StartAgentClaimResponses as cu, ReplyInput as d, FunctionTestRun as da, PayChallengeResponse as dc, UpdateEndpointResponse as dd, Client as df, DeleteOrgSecretResponse as di, SearchEmailsResponses as dl, AddDomainResponse as dn, GetOrgRoutingTopologyResponse as do, CreateFilterResponses as dr, ListEmailsData as ds, getStorageStats as dt, StartAgentSignupErrors as du, ErrorResponse as ea, ListSentEmailsErrors as ec, UpdateAccountResponses as ed, VerifyDomainResponses as ef, DeleteFunctionErrors as ei, ResourceId as el, updateSpendPolicy as en, GetFunctionTestRunTraceErrors as eo, CreateEndpointData as er, ListDeclinedPaymentsResponses as es, getChallenge as et, SetOrgSecretInput as eu, RequestOptions as f, FunctionTestRunDelivery as fa, PayChallengeResponses as fc, UpdateEndpointResponses as fd, ClientOptions as ff, DeleteOrgSecretResponses as fi, SemanticSearchCoverage as fl, AddDomainResponses as fn, GetOrgRoutingTopologyResponses as fo, CreateFunctionData as fr, ListEmailsError as fs, getThread as ft, StartAgentSignupInput as fu, SendResult as g, FunctionTestRunReply as ga, PollCliLoginErrors as gc, UpdateFilterInput as gd, RequestOptions$2 as gf, DiscardEmailContentData as gi, SemanticSearchField as gl, AgentClaimResult as gn, GetSendPermissionsResponse as go, CreateFunctionResponse as gr, ListEndpointsData as gs, listDomains as gt, StartCliLoginError as gu, SendInput as h, FunctionTestRunOutboundRequest as ha, PollCliLoginError as hc, UpdateFilterErrors as hd, Options$1 as hf, DiscardContentResult as hi, SemanticSearchErrors as hl, AgentClaimLinkResult as hn, GetSendPermissionsErrors as ho, CreateFunctionInput as hr, ListEmailsResponses as hs, listDeliveries as ht, StartCliLoginData as hu, CreatedAgent as i, FunctionListItem as ia, OrgSecretWriteResult as ic, UpdateDomainInput as id, X402NonceBinding as if, DeleteFunctionSecretError as ii, RotateWebhookSecretResponse as il, verifyDomain as in, GetInboxStatusError as io, CreateEndpointResponse as ir, ListDeliveriesResponse as is, getFunctionRouting as it, StartAgentClaimError as iu, createPrimitiveApiClient as j, GetChallengeResponses as ja, ReplayEmailWebhooksData as jc, VerifiedDomain as jd, DownloadDomainZoneFileError as ji, SendPermissionAddress as jl, CliSignupResendResult as jn, GetStorageStatsResponse as jo, Cursor as jr, ListFunctionLogsResponses as js, replyToEmail as jt, TestEndpointErrors as ju, PrimitiveApiErrorDetails as k, GetChallengeErrors as ka, ReplayDeliveryResponse as kc, UpdateSpendPolicyResponse as kd, DownloadAttachmentsResponses as ki, SendMailInput as kl, CliLogoutResponses as kn, GetStorageStatsError as ko, CreateOrgSecretResponse as kr, ListFunctionLogsErrors as ks, replayDelivery as kt, TestEndpointData as ku, PrimitiveClient as l, FunctionSecretListItem as la, PayChallengeErrors as lc, UpdateEndpointErrors as ld, X402SpendPolicy as lf, DeleteOrgSecretError as li, SearchEmailsErrors as ll, AddDomainErrors as ln, GetOrgRoutingTopologyError as lo, CreateFilterInput as lr, ListDomainsResponse as ls, getSentEmail as lt, StartAgentSignupData as lu, SendAttachment as m, FunctionTestRunInboundEmail as ma, PollCliLoginData as mc, UpdateFilterError as md, CreateClientConfig as mf, DeliverySummary as mi, SemanticSearchError as ml, AgentAccountUpgradeHint as mn, GetSendPermissionsError as mo, CreateFunctionErrors as mr, ListEmailsResponse as ms, listDeclinedPayments as mt, StartAgentSignupResponses as mu, AgentResource as n, FunctionDeployStatus as na, ListSentEmailsResponses as nc, UpdateDomainError as nd, X402Challenge as nf, DeleteFunctionResponses as ni, RotateWebhookSecretError as nl, verifyAgentSignup as nn, GetFunctionTestRunTraceResponses as no, CreateEndpointErrors as nr, ListDeliveriesError as ns, getEmail as nt, SetOrgSecretResponses as nu, InboundEmail as o, FunctionRouteBody as oa, ParsedEmailData as oc, UpdateDomainResponses as od, X402PaymentRequirements as of, DeleteFunctionSecretResponse as oi, RoutingTopology as ol, AccountUpdated as on, GetInboxStatusResponse as oo, CreateFilterData as or, ListDomainsData as os, getInboxStatus as ot, StartAgentClaimInput as ou, SemanticSearchResponse as p, FunctionTestRunDeliveryEndpoint as pa, PlanLimits as pc, UpdateFilterData as pd, Config as pf, DeliveryStatus as pi, SemanticSearchData as pl, AgentAccountResult as pn, GetSendPermissionsData as po, CreateFunctionError as pr, ListEmailsErrors as ps, getWebhookSecret as pt, StartAgentSignupResponse as pu, deleteFunctionSecret as q, GetFunctionRoutingData as qa, ResendAgentSignupVerificationResponses as qc, VerifyCliSignupInput as qd, EmailSearchHighlights as qi, SetFunctionSecretErrors as ql, CreateAgentClaimLinkResponses as qn, InboxStatusNextAction as qo, DeleteFilterData as qr, ListPayoutAddressesData as qs, testFunction as qt, UnsetFunctionRouteResponses as qu, CreateAgentOptions as r, FunctionDetail as ra, OrgSecretListItem as rc, UpdateDomainErrors as rd, X402DeclinedPayment as rf, DeleteFunctionSecretData as ri, RotateWebhookSecretErrors as rl, verifyCliSignup as rn, GetInboxStatusData as ro, CreateEndpointInput as rr, ListDeliveriesErrors as rs, getFunction as rt, StartAgentClaimData as ru, InboxResource as s, FunctionRouteResult as sa, PayChallengeData as sc, UpdateEndpointData as sd, X402PayoutAddress as sf, DeleteFunctionSecretResponses as si, SearchEmailsData as sl, AddDomainData as sn, GetInboxStatusResponses as so, CreateFilterError as sr, ListDomainsError as ss, getOrgRoutingTopology as st, StartAgentClaimResponse as su, AccountResource as t, Filter as ta, ListSentEmailsResponse as tc, UpdateDomainData as td, WebhookSecret as tf, DeleteFunctionResponse as ti, RotateWebhookSecretData as tl, verifyAgentClaim as tn, GetFunctionTestRunTraceResponse as to, CreateEndpointError as tr, ListDeliveriesData as ts, getConversation as tt, SetOrgSecretResponse as tu, PrimitiveClientOptions as u, FunctionSecretWriteResult as ua, PayChallengeInput as uc, UpdateEndpointInput as ud, createClient as uf, DeleteOrgSecretErrors as ui, SearchEmailsResponse as ul, AddDomainInput as un, GetOrgRoutingTopologyErrors as uo, CreateFilterResponse as ur, ListDomainsResponses as us, getSpendPolicy as ut, StartAgentSignupError as uu, WaitForNextOptions as v, FunctionTestRunState as va, PollCliLoginResponse as vc, UpdateFilterResponses as vd, ResponseStyle as vf, DiscardEmailContentErrors as vi, SemanticSearchMeta as vl, AgentOrgRef as vn, GetSentEmailData as vo, CreateFunctionResult as vr, ListEndpointsErrors as vs, listEndpoints as vt, StartCliLoginInput as vu, verifyWebhookSignature as w, GetAccountErrors as wa, RegisterPayoutAddressResponse as wc, UpdateFunctionResponses as wd, DomainVerifyResult as wi, SendEmailError as wl, CliLogoutData as wn, GetSpendPolicyError as wo, CreateFunctionSecretResponses as wr, ListFiltersErrors as ws, listPayoutAddresses as wt, StartCliSignupInput as wu, createPrimitiveClient as x, GateFix as xa, RegisterPayoutAddressError as xc, UpdateFunctionErrors as xd, DkimSignature as xi, SemanticSearchScoreBreakdown as xl, AgentSignupVerifyResult as xn, GetSentEmailResponse as xo, CreateFunctionSecretErrors as xr, ListEnvelope as xs, listFunctionSecrets as xt, StartCliSignupData as xu, client as y, FunctionTestRunTrace as ya, PollCliLoginResponses as yc, UpdateFunctionData as yd, createConfig as yf, DiscardEmailContentResponse as yi, SemanticSearchResponses as yl, AgentSignupResendResult as yn, GetSentEmailError as yo, CreateFunctionSecretData as yr, ListEndpointsResponse as ys, listFilters as yt, StartCliLoginResponse as yu, createFunction as z, GetEmailErrors as za, ReplyToEmailErrors as zc, VerifyAgentSignupError as zd, DownloadRawEmailResponses as zi, SentEmailSummary as zl, CreateAgentAccountInput as zn, GetWebhookSecretError as zo, DeleteEmailErrors as zr, ListFunctionsErrors as zs, setFunctionRoute as zt, TestInvocationResult as zu };
|
|
7940
|
+
export { downloadRawEmail as $, GetFunctionResponses as $a, ResendAgentSignupVerificationInput as $c, VerifyCliSignupError as $d, EmailSearchFacets as $i, SetFunctionSecretData as $l, CreateChallengeResponse as $n, InboxStatusEndpointSummary as $o, DeleteEndpointResponses as $r, ListOrgSecretsResponse as $s, updateFilter as $t, UnsetFunctionRouteErrors as $u, RequestOptions$1 as A, GetAccountError as Aa, RegisterPayoutAddressErrors as Ac, UpdateFunctionInput as Ad, Auth as Af, DomainDnsRecord as Ai, SemanticSearchSnippet as Al, CliLogoutResponses as An, GetSpendPolicyData as Ao, CreateFunctionSecretResponse as Ar, ListFiltersData as As, replayDelivery as At, StartCliSignupError as Au, createFunction as B, GetConversationError as Ba, ReplayEmailWebhooksError as Bc, VerifyAgentClaimData as Bd, DownloadDomainZoneFileResponse as Bi, SendPermissionAnyRecipient as Bl, CreateAgentAccountInput as Bn, GetThreadData as Bo, DeleteDomainError as Br, ListFunctionSecretsData as Bs, setFunctionRoute as Bt, TestEndpointResponse as Bu, VerifyOptions as C, FunctionTestRunReply as Ca, PollCliLoginError as Cc, UpdateFilterErrors as Cd, Config as Cf, DiscardEmailContentData as Ci, SemanticSearchErrors as Cl, CliLoginPollResult as Cn, GetSendPermissionsResponse as Co, CreateFunctionResponse as Cr, ListEmailsResponses as Cs, listFunctions as Ct, StartCliLoginData as Cu, PrimitiveApiClientOptions as D, GateDenial as Da, PollCliLoginResponses as Dc, UpdateFunctionData as Dd, RequestResult as Df, DiscardEmailContentResponses as Di, SemanticSearchResponses as Dl, CliLogoutErrors as Dn, GetSentEmailErrors as Do, CreateFunctionSecretError as Dr, ListEndpointsResponse as Ds, payChallenge as Dt, StartCliLoginResponse as Du, PrimitiveApiClient as E, FunctionTestRunTrace as Ea, PollCliLoginResponse as Ec, UpdateFilterResponses as Ed, RequestOptions$2 as Ef, DiscardEmailContentResponse as Ei, SemanticSearchMeta as El, CliLogoutError as En, GetSentEmailError as Eo, CreateFunctionSecretData as Er, ListEndpointsErrors as Es, listSentEmails as Et, StartCliLoginInput as Eu, createAgentClaimLink as F, GetChallengeError as Fa, ReplayDeliveryError as Fc, UpdateSpendPolicyErrors as Fd, DownloadAttachmentsResponse as Fi, SendEmailResponses as Fl, Conversation as Fn, GetStorageStatsData as Fo, CreateOrgSecretInput as Fr, ListFunctionLogsData as Fs, rotateWebhookSecret as Ft, StorageStats as Fu, deleteEndpoint as G, GetEmailError as Ga, ReplyToEmailData as Gc, VerifyAgentClaimResponses as Gd, DownloadRawEmailResponse as Gi, SentEmailDetail as Gl, CreateAgentClaimLinkErrors as Gn, GetWebhookSecretData as Go, DeleteEmailError as Gr, ListFunctionsData as Gs, startCliLogin as Gt, TestFunctionResponse as Gu, createOrgSecret as H, GetConversationResponse as Ha, ReplayEmailWebhooksResponse as Hc, VerifyAgentClaimErrors as Hd, DownloadRawEmailData as Hi, SendPermissionRule as Hl, CreateAgentAccountResponses as Hn, GetThreadErrors as Ho, DeleteDomainResponse as Hr, ListFunctionSecretsErrors as Hs, setOrgSecret as Ht, TestFunctionData as Hu, createChallenge as I, GetChallengeErrors as Ia, ReplayDeliveryErrors as Ic, UpdateSpendPolicyInput as Id, DownloadAttachmentsResponses as Ii, SendMailAttachment as Il, ConversationMessage as In, GetStorageStatsError as Io, CreateOrgSecretResponse as Ir, ListFunctionLogsError as Is, sdk_gen_d_exports as It, SuccessEnvelope as Iu, deleteFunctionSecret as J, GetEmailResponses as Ja, ReplyToEmailResponse as Jc, VerifyAgentSignupErrors as Jd, EmailAttachment as Ji, SetFunctionRouteData as Jl, CreateAgentClaimLinkResponses as Jn, GetWebhookSecretResponse as Jo, DeleteEmailResponses as Jr, ListFunctionsResponse as Js, testFunction as Jt, TestResult as Ju, deleteFilter as K, GetEmailErrors as Ka, ReplyToEmailError as Kc, VerifyAgentSignupData as Kd, DownloadRawEmailResponses as Ki, SentEmailStatus as Kl, CreateAgentClaimLinkInput as Kn, GetWebhookSecretError as Ko, DeleteEmailErrors as Kr, ListFunctionsError as Ks, startCliSignup as Kt, TestFunctionResponses as Ku, createEmailChallenge as L, GetChallengeResponse as La, ReplayDeliveryResponse as Lc, UpdateSpendPolicyResponse as Ld, DownloadDomainZoneFileData as Li, SendMailInput as Ll, CreateAgentAccountData as Ln, GetStorageStatsErrors as Lo, CreateOrgSecretResponses as Lr, ListFunctionLogsErrors as Ls, searchEmails as Lt, TestEndpointData as Lu, addDomain as M, GetAccountResponse as Ma, RegisterPayoutAddressResponse as Mc, UpdateFunctionResponses as Md, DownloadAttachmentsData as Mi, SendEmailError as Ml, CliSignupResendResult as Mn, GetSpendPolicyErrors as Mo, CreateOrgSecretData as Mr, ListFiltersErrors as Ms, replyToEmail as Mt, StartCliSignupInput as Mu, cliLogout as N, GetAccountResponses as Na, RegisterPayoutAddressResponses as Nc, UpdateSpendPolicyData as Nd, DownloadAttachmentsError as Ni, SendEmailErrors as Nl, CliSignupStartResult as Nn, GetSpendPolicyResponse as No, CreateOrgSecretError as Nr, ListFiltersResponse as Ns, resendAgentSignupVerification as Nt, StartCliSignupResponse as Nu, PrimitiveApiError as O, GateFix as Oa, RegisterPayoutAddressData as Oc, UpdateFunctionError as Od, ResponseStyle as Of, DkimSignature as Oi, SemanticSearchResult as Ol, CliLogoutInput as On, GetSentEmailResponse as Oo, CreateFunctionSecretErrors as Or, ListEndpointsResponses as Os, pollCliLogin as Ot, StartCliLoginResponses as Ou, createAgentAccount as P, GetChallengeData as Pa, ReplayDeliveryData as Pc, UpdateSpendPolicyError as Pd, DownloadAttachmentsErrors as Pi, SendEmailResponse as Pl, CliSignupVerifyResult as Pn, GetSpendPolicyResponses as Po, CreateOrgSecretErrors as Pr, ListFiltersResponses as Ps, resendCliSignupVerification as Pt, StartCliSignupResponses as Pu, downloadDomainZoneFile as Q, GetFunctionResponse as Qa, ResendAgentSignupVerificationErrors as Qc, VerifyCliSignupData as Qd, EmailSearchFacetBucket as Qi, SetFunctionRouteResponses as Ql, CreateChallengeInput as Qn, InboxStatusDomain as Qo, DeleteEndpointResponse as Qr, ListOrgSecretsErrors as Qs, updateEndpoint as Qt, UnsetFunctionRouteError as Qu, createEndpoint as R, GetChallengeResponses as Ra, ReplayDeliveryResponses as Rc, UpdateSpendPolicyResponses as Rd, DownloadDomainZoneFileError as Ri, SendMailResult as Rl, CreateAgentAccountError as Rn, GetStorageStatsResponse as Ro, Cursor as Rr, ListFunctionLogsResponse as Rs, semanticSearch as Rt, TestEndpointError as Ru, PRIMITIVE_SIGNATURE_HEADER as S, FunctionTestRunOutboundRequest as Sa, PollCliLoginData as Sc, UpdateFilterError as Sd, ClientOptions as Sf, DiscardContentResult as Si, SemanticSearchError as Sl, AgentSignupVerifyResult as Sn, GetSendPermissionsErrors as So, CreateFunctionInput as Sr, ListEmailsResponse as Ss, listFunctionSecrets as St, StartAgentSignupResponses as Su, DEFAULT_API_BASE_URL as T, FunctionTestRunState as Ta, PollCliLoginInput as Tc, UpdateFilterResponse as Td, Options$1 as Tf, DiscardEmailContentErrors as Ti, SemanticSearchInput as Tl, CliLogoutData as Tn, GetSentEmailData as To, CreateFunctionResult as Tr, ListEndpointsError as Ts, listPayoutAddresses as Tt, StartCliLoginErrors as Tu, deleteDomain as U, GetConversationResponses as Ua, ReplayEmailWebhooksResponses as Uc, VerifyAgentClaimInput as Ud, DownloadRawEmailError as Ui, SendPermissionYourDomain as Ul, CreateAgentClaimLinkData as Un, GetThreadResponse as Uo, DeleteDomainResponses as Ur, ListFunctionSecretsResponse as Us, startAgentClaim as Ut, TestFunctionError as Uu, createFunctionSecret as V, GetConversationErrors as Va, ReplayEmailWebhooksErrors as Vc, VerifyAgentClaimError as Vd, DownloadDomainZoneFileResponses as Vi, SendPermissionManagedZone as Vl, CreateAgentAccountResponse as Vn, GetThreadError as Vo, DeleteDomainErrors as Vr, ListFunctionSecretsError as Vs, setFunctionSecret as Vt, TestEndpointResponses as Vu, deleteEmail as W, GetEmailData as Wa, ReplayResult as Wc, VerifyAgentClaimResponse as Wd, DownloadRawEmailErrors as Wi, SendPermissionsMeta as Wl, CreateAgentClaimLinkError as Wn, GetThreadResponses as Wo, DeleteEmailData as Wr, ListFunctionSecretsResponses as Ws, startAgentSignup as Wt, TestFunctionErrors as Wu, discardEmailContent as X, GetFunctionError as Xa, ResendAgentSignupVerificationData as Xc, VerifyAgentSignupResponse as Xd, EmailDetail as Xi, SetFunctionRouteErrors as Xl, CreateChallengeError as Xn, IdempotencyKey as Xo, DeleteEndpointError as Xr, ListOrgSecretsData as Xs, updateAccount as Xt, ThreadMessage as Xu, deleteOrgSecret as Y, GetFunctionData as Ya, ReplyToEmailResponses as Yc, VerifyAgentSignupInput as Yd, EmailAuth as Yi, SetFunctionRouteError as Yl, CreateChallengeData as Yn, GetWebhookSecretResponses as Yo, DeleteEndpointData as Yr, ListFunctionsResponses as Ys, unsetFunctionRoute as Yt, Thread as Yu, downloadAttachments as Z, GetFunctionErrors as Za, ResendAgentSignupVerificationError as Zc, VerifyAgentSignupResponses as Zd, EmailDetailReply as Zi, SetFunctionRouteResponse as Zl, CreateChallengeErrors as Zn, InboxStatus as Zo, DeleteEndpointErrors as Zr, ListOrgSecretsError as Zs, updateDomain as Zt, UnsetFunctionRouteData as Zu, SendThreadInput as _, FunctionSecretWriteResult as _a, PayChallengeErrors as _c, UpdateEndpointErrors as _d, X402PayoutAddress as _f, DeleteOrgSecretErrors as _i, SearchEmailsErrors as _l, AgentClaimResult as _n, GetOrgRoutingTopologyErrors as _o, CreateFilterResponse as _r, ListDomainsResponse as _s, listDomains as _t, StartAgentSignupData as _u, ForwardInput as a, EmailWebhookStatus as aa, ListPayoutAddressesResponses as ac, UpdateAccountErrors as ad, VerifyDomainError as af, DeleteFunctionData as ai, ResendCliSignupVerificationInput as al, verifyDomain as an, GetFunctionTestRunTraceData as ao, CreateEmailChallengeResponse as ar, ListDeclinedPaymentsError as as, getFunctionRouting as at, SetOrgSecretData as au, createAgent as b, FunctionTestRunDeliveryEndpoint as ba, PayChallengeResponses as bc, UpdateEndpointResponses as bd, createClient as bf, DeliveryStatus as bi, SemanticSearchCoverage as bl, AgentSignupResendResult as bn, GetSendPermissionsData as bo, CreateFunctionError as br, ListEmailsError as bs, listFilters as bt, StartAgentSignupInput as bu, InboxStreamOptions as c, Filter as ca, ListSentEmailsErrors as cc, UpdateAccountResponses as cd, VerifyDomainResponses as cf, DeleteFunctionResponse as ci, ResourceId as cl, AddDomainData as cn, GetFunctionTestRunTraceResponse as co, CreateEndpointError as cr, ListDeclinedPaymentsResponses as cs, getOrgRoutingTopology as ct, SetOrgSecretInput as cu, ReplyInput as d, FunctionListItem as da, OrgSecretListItem as dc, UpdateDomainErrors as dd, X402DeclinedPayment as df, DeleteFunctionSecretError as di, RotateWebhookSecretErrors as dl, AddDomainInput as dn, GetInboxStatusError as do, CreateEndpointResponse as dr, ListDeliveriesErrors as ds, getSpendPolicy as dt, StartAgentClaimData as du, EmailSearchHighlights as ea, ListOrgSecretsResponses as ec, UnsetFunctionRouteResponse as ed, VerifyCliSignupErrors as ef, DeleteFilterData as ei, ResendAgentSignupVerificationResponse as el, updateFunction as en, GetFunctionRoutingData as eo, CreateChallengeResponses as er, InboxStatusFunctionSummary as es, getAccount as et, SetFunctionSecretError as eu, RequestOptions as f, FunctionLogRow as fa, OrgSecretWriteResult as fc, UpdateDomainInput as fd, X402EmailChallenge as ff, DeleteFunctionSecretErrors as fi, RotateWebhookSecretResponse as fl, AddDomainResponse as fn, GetInboxStatusErrors as fo, CreateEndpointResponses as fr, ListDeliveriesResponse as fs, getStorageStats as ft, StartAgentClaimError as fu, SendResult as g, FunctionSecretListItem as ga, PayChallengeError as gc, UpdateEndpointError as gd, X402PaymentRequirements as gf, DeleteOrgSecretError as gi, SearchEmailsError as gl, AgentClaimLinkResult as gn, GetOrgRoutingTopologyError as go, CreateFilterInput as gr, ListDomainsErrors as gs, listDeliveries as gt, StartAgentClaimResponses as gu, SendInput as h, FunctionRouting as ha, PayChallengeData as hc, UpdateEndpointData as hd, X402PaymentPayload as hf, DeleteOrgSecretData as hi, SearchEmailsData as hl, AgentAccountUpgradeHint as hn, GetOrgRoutingTopologyData as ho, CreateFilterErrors as hr, ListDomainsError as hs, listDeclinedPayments as ht, StartAgentClaimResponse as hu, CreatedAgent as i, EmailSummary as ia, ListPayoutAddressesResponse as ic, UpdateAccountError as id, VerifyDomainData as if, DeleteFilterResponses as ii, ResendCliSignupVerificationErrors as il, verifyCliSignup as in, GetFunctionRoutingResponses as io, CreateEmailChallengeInput as ir, ListDeclinedPaymentsData as is, getFunction as it, SetFunctionSecretResponses as iu, createPrimitiveApiClient as j, GetAccountErrors as ja, RegisterPayoutAddressInput as jc, UpdateFunctionResponse as jd, DomainVerifyResult as ji, SendEmailData as jl, CliLogoutResult as jn, GetSpendPolicyError as jo, CreateFunctionSecretResponses as jr, ListFiltersError as js, replayEmailWebhooks as jt, StartCliSignupErrors as ju, PrimitiveApiErrorDetails as k, GetAccountData as ka, RegisterPayoutAddressError as kc, UpdateFunctionErrors as kd, createConfig as kf, Domain as ki, SemanticSearchScoreBreakdown as kl, CliLogoutResponse as kn, GetSentEmailResponses as ko, CreateFunctionSecretInput as kr, ListEnvelope as ks, registerPayoutAddress as kt, StartCliSignupData as ku, PrimitiveClient as l, FunctionDeployStatus as la, ListSentEmailsResponse as lc, UpdateDomainData as ld, WebhookSecret as lf, DeleteFunctionResponses as li, RotateWebhookSecretData as ll, AddDomainError as ln, GetFunctionTestRunTraceResponses as lo, CreateEndpointErrors as lr, ListDeliveriesData as ls, getSendPermissions as lt, SetOrgSecretResponse as lu, SendAttachment as m, FunctionRouteResult as ma, ParsedEmailData as mc, UpdateDomainResponses as md, X402NonceBinding as mf, DeleteFunctionSecretResponses as mi, RoutingTopology as ml, AgentAccountResult as mn, GetInboxStatusResponses as mo, CreateFilterError as mr, ListDomainsData as ms, getWebhookSecret as mt, StartAgentClaimInput as mu, AgentResource as n, EmailSearchResult as na, ListPayoutAddressesError as nc, UnverifiedDomain as nd, VerifyCliSignupResponse as nf, DeleteFilterErrors as ni, ResendCliSignupVerificationData as nl, verifyAgentClaim as nn, GetFunctionRoutingErrors as no, CreateEmailChallengeError as nr, InboxStatusRecentEmailSummary as ns, getConversation as nt, SetFunctionSecretInput as nu, InboundEmail as o, Endpoint as oa, ListSentEmailsData as oc, UpdateAccountInput as od, VerifyDomainErrors as of, DeleteFunctionError as oi, ResendCliSignupVerificationResponse as ol, Account as on, GetFunctionTestRunTraceError as oo, CreateEmailChallengeResponses as or, ListDeclinedPaymentsErrors as os, getFunctionTestRunTrace as ot, SetOrgSecretError as ou, SemanticSearchResponse as p, FunctionRouteBody as pa, PaginationMeta as pc, UpdateDomainResponse as pd, X402EmailChallengeDetails as pf, DeleteFunctionSecretResponse as pi, RotateWebhookSecretResponses as pl, AddDomainResponses as pn, GetInboxStatusResponse as po, CreateFilterData as pr, ListDeliveriesResponses as ps, getThread as pt, StartAgentClaimErrors as pu, deleteFunction as q, GetEmailResponse as qa, ReplyToEmailErrors as qc, VerifyAgentSignupError as qd, EmailAddress as qi, SentEmailSummary as ql, CreateAgentClaimLinkResponse as qn, GetWebhookSecretErrors as qo, DeleteEmailResponse as qr, ListFunctionsErrors as qs, testEndpoint as qt, TestInvocationResult as qu, CreateAgentOptions as r, EmailStatus as ra, ListPayoutAddressesErrors as rc, UpdateAccountData as rd, VerifyCliSignupResponses as rf, DeleteFilterResponse as ri, ResendCliSignupVerificationError as rl, verifyAgentSignup as rn, GetFunctionRoutingResponse as ro, CreateEmailChallengeErrors as rr, Limit as rs, getEmail as rt, SetFunctionSecretResponse as ru, InboxResource as s, ErrorResponse as sa, ListSentEmailsError as sc, UpdateAccountResponse as sd, VerifyDomainResponse as sf, DeleteFunctionErrors as si, ResendCliSignupVerificationResponses as sl, AccountUpdated as sn, GetFunctionTestRunTraceErrors as so, CreateEndpointData as sr, ListDeclinedPaymentsResponse as ss, getInboxStatus as st, SetOrgSecretErrors as su, AccountResource as t, EmailSearchMeta as ta, ListPayoutAddressesData as tc, UnsetFunctionRouteResponses as td, VerifyCliSignupInput as tf, DeleteFilterError as ti, ResendAgentSignupVerificationResponses as tl, updateSpendPolicy as tn, GetFunctionRoutingError as to, CreateEmailChallengeData as tr, InboxStatusNextAction as ts, getChallenge as tt, SetFunctionSecretErrors as tu, PrimitiveClientOptions as u, FunctionDetail as ua, ListSentEmailsResponses as uc, UpdateDomainError as ud, X402Challenge as uf, DeleteFunctionSecretData as ui, RotateWebhookSecretError as ul, AddDomainErrors as un, GetInboxStatusData as uo, CreateEndpointInput as ur, ListDeliveriesError as us, getSentEmail as ut, SetOrgSecretResponses as uu, WaitForNextOptions as v, FunctionTestRun as va, PayChallengeInput as vc, UpdateEndpointInput as vd, X402Receipt as vf, DeleteOrgSecretResponse as vi, SearchEmailsResponse as vl, AgentClaimStartResult as vn, GetOrgRoutingTopologyResponse as vo, CreateFilterResponses as vr, ListDomainsResponses as vs, listEmails as vt, StartAgentSignupError as vu, verifyWebhookSignature as w, FunctionTestRunSend as wa, PollCliLoginErrors as wc, UpdateFilterInput as wd, CreateClientConfig as wf, DiscardEmailContentError as wi, SemanticSearchField as wl, CliLoginStartResult as wn, GetSendPermissionsResponses as wo, CreateFunctionResponses as wr, ListEndpointsData as ws, listOrgSecrets as wt, StartCliLoginError as wu, createPrimitiveClient as x, FunctionTestRunInboundEmail as xa, PlanLimits as xc, UpdateFilterData as xd, Client as xf, DeliverySummary as xi, SemanticSearchData as xl, AgentSignupStartResult as xn, GetSendPermissionsError as xo, CreateFunctionErrors as xr, ListEmailsErrors as xs, listFunctionLogs as xt, StartAgentSignupResponse as xu, client as y, FunctionTestRunDelivery as ya, PayChallengeResponse as yc, UpdateEndpointResponse as yd, X402SpendPolicy as yf, DeleteOrgSecretResponses as yi, SearchEmailsResponses as yl, AgentOrgRef as yn, GetOrgRoutingTopologyResponses as yo, CreateFunctionData as yr, ListEmailsData as ys, listEndpoints as yt, StartAgentSignupErrors as yu, createFilter as z, GetConversationData as za, ReplayEmailWebhooksData as zc, VerifiedDomain as zd, DownloadDomainZoneFileErrors as zi, SendPermissionAddress as zl, CreateAgentAccountErrors as zn, GetStorageStatsResponses as zo, DeleteDomainData as zr, ListFunctionLogsResponses as zs, sendEmail as zt, TestEndpointErrors as zu };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as RawContentInline, C as ParsedData, D as ParsedStatus, E as ParsedError, F as WebhookAttachment, I as WebhookEvent, M as TlsReportAnalysis, N as UnknownEvent, O as RawContent, P as ValidateEmailAuthResult, S as KnownWebhookEvent, T as ParsedDataFailed, _ as ForwardResultAttachmentAnalyzed, a as DkimSignature, b as ForwardVerdict, c as DmarcResult, d as EmailAuth, f as EmailReceivedEvent, g as ForwardResult, h as ForwardOriginalSender, i as DkimResult, j as SpfResult, k as RawContentDownloadOnly, l as EmailAddress, m as ForwardAnalysis, n as AuthVerdict, o as DmarcPolicy, p as EventType, r as BounceAnalysis, s as DmarcReportAnalysis, t as AuthConfidence, u as EmailAnalysis, v as ForwardResultAttachmentSkipped, w as ParsedDataComplete, x as ForwardVerification, y as ForwardResultInline } from "./types-
|
|
3
|
-
import { _ as buildForwardSubject, a as RawEmailDecodeErrorCode, b as normalizeReceivedEmail, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as ReceivedEmail, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as buildReplySubject, x as parseHeaderAddress, y as formatAddress } from "./errors-
|
|
4
|
-
import { A as
|
|
1
|
+
import { Bn as CreateAgentAccountInput, Kn as CreateAgentClaimLinkInput, O as PrimitiveApiError, Ud as VerifyAgentClaimInput, _ as SendThreadInput, _n as AgentClaimResult, a as ForwardInput, b as createAgent, c as InboxStreamOptions, d as ReplyInput, g as SendResult, gn as AgentClaimLinkResult, h as SendInput, hn as AgentAccountUpgradeHint, i as CreatedAgent, l as PrimitiveClient, m as SendAttachment, mn as AgentAccountResult, mu as StartAgentClaimInput, o as InboundEmail, on as Account, r as CreateAgentOptions, s as InboxResource, t as AccountResource, u as PrimitiveClientOptions, v as WaitForNextOptions, vn as AgentClaimStartResult, x as createPrimitiveClient, xc as PlanLimits, y as client } from "./index-C3ahy3ls.js";
|
|
2
|
+
import { $ as isPaymentSettledEvent, A as RawContentInline, B as InteractionX402Event, C as ParsedData, D as ParsedStatus, E as ParsedError, F as WebhookAttachment, G as PaymentSettledEvent, H as PAYMENT_EVENT_TYPES, I as WebhookEvent, J as isEmailReceivedEvent, K as WEBHOOK_EVENT_TYPES, L as EMAIL_EVENT_TYPES, M as TlsReportAnalysis, N as UnknownEvent, O as RawContent, P as ValidateEmailAuthResult, Q as isPaymentFailedEvent, R as INTERACTION_EVENT_TYPES, S as KnownWebhookEvent, T as ParsedDataFailed, U as PaymentEvent, V as InteractionX402Suffix, W as PaymentFailedEvent, X as isKnownWebhookEventType, Y as isInteractionX402Event, Z as isPaymentEvent, _ as ForwardResultAttachmentAnalyzed, a as DkimSignature, b as ForwardVerdict, c as DmarcResult, d as EmailAuth, f as EmailReceivedEvent, g as ForwardResult, h as ForwardOriginalSender, i as DkimResult, j as SpfResult, k as RawContentDownloadOnly, l as EmailAddress, m as ForwardAnalysis, n as AuthVerdict, o as DmarcPolicy, p as EventType, q as WebhookEventType, r as BounceAnalysis, s as DmarcReportAnalysis, t as AuthConfidence, u as EmailAnalysis, v as ForwardResultAttachmentSkipped, w as ParsedDataComplete, x as ForwardVerification, y as ForwardResultInline, z as InteractionEvent } from "./types-BjnIxPED.js";
|
|
3
|
+
import { _ as buildForwardSubject, a as RawEmailDecodeErrorCode, b as normalizeReceivedEmail, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as ReceivedEmail, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as buildReplySubject, x as parseHeaderAddress, y as formatAddress } from "./errors-bXUNXAlf.js";
|
|
4
|
+
import { A as PRIMITIVE_SIGNATURE_HEADER, B as safeValidateEmailReceivedEvent, C as StandardWebhooksSignResult, D as LEGACY_CONFIRMED_HEADER, E as verifyStandardWebhooksSignature, F as GenerateDownloadTokenOptions, I as VerifyDownloadTokenOptions, L as VerifyDownloadTokenResult, M as VerifyOptions, N as signWebhookPayload, O as LEGACY_SIGNATURE_HEADER, P as verifyWebhookSignature, R as generateDownloadToken, S as STANDARD_WEBHOOK_TIMESTAMP_HEADER, T as signStandardWebhooksPayload, V as validateEmailReceivedEvent, _ as WEBHOOK_VERSION, a as WebhookHeaders, b as STANDARD_WEBHOOK_ID_HEADER, c as getDownloadTimeRemaining, d as handleWebhookEvent, f as isDownloadExpired, g as verifyRawEmailDownload, h as receive, i as WEBHOOK_EVENT_HEADER, j as SignResult, k as PRIMITIVE_CONFIRMED_HEADER, l as getEventHeader, m as parseWebhookEvent, n as HandleWebhookOptions, o as confirmedHeaders, p as isRawIncluded, r as ReceiveRequestOptions, s as decodeRawEmail, t as DecodeRawEmailOptions, u as handleWebhook, v as validateEmailAuth, w as StandardWebhooksVerifyOptions, x as STANDARD_WEBHOOK_SIGNATURE_HEADER, y as emailReceivedEventJsonSchema, z as verifyDownloadToken } from "./index-BDnY9HH-.js";
|
|
5
5
|
import { NonceBinding, PayoutRegistrationMessageInput, TokenDomain, TransferAuthorization, X402Challenge, X402ChargeInput, X402Client, X402ClientOptions, X402DeclinedPayment, X402Error, X402PaymentPayload, X402PaymentRequirements, X402PayoutAddress, X402Receipt, X402Signer, X402SpendPolicy, buildPayoutRegistrationMessage, createX402Client, deriveEip3009Nonce } from "./x402/index.js";
|
|
6
6
|
|
|
7
7
|
//#region src/index.d.ts
|
|
@@ -11,4 +11,4 @@ declare const primitive: {
|
|
|
11
11
|
x402: typeof createX402Client;
|
|
12
12
|
};
|
|
13
13
|
//#endregion
|
|
14
|
-
export { type Account, AccountResource, type AgentAccountResult, type AgentAccountUpgradeHint, type AgentClaimLinkResult, type AgentClaimResult, type AgentClaimStartResult, AuthConfidence, AuthVerdict, BounceAnalysis, type CreateAgentAccountInput, type CreateAgentClaimLinkInput, type CreateAgentOptions, type CreatedAgent, DecodeRawEmailOptions, DkimResult, DkimSignature, DmarcPolicy, DmarcReportAnalysis, DmarcResult, EmailAddress, EmailAnalysis, EmailAuth, EmailReceivedEvent, EventType, ForwardAnalysis, type ForwardInput, ForwardOriginalSender, ForwardResult, ForwardResultAttachmentAnalyzed, ForwardResultAttachmentSkipped, ForwardResultInline, ForwardVerdict, ForwardVerification, GenerateDownloadTokenOptions, HandleWebhookOptions, type InboundEmail, InboxResource, type InboxStreamOptions, KnownWebhookEvent, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, type NonceBinding, PAYLOAD_ERRORS, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedData, ParsedDataComplete, ParsedDataFailed, ParsedError, ParsedStatus, type PayoutRegistrationMessageInput, type PlanLimits, PrimitiveApiError, PrimitiveClient, type PrimitiveClientOptions, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawContent, RawContentDownloadOnly, RawContentInline, RawEmailDecodeError, RawEmailDecodeErrorCode, ReceiveRequestOptions, ReceivedEmail, ReceivedEmailAddress, ReceivedEmailThread, type ReplyInput, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, type SendAttachment, type SendInput, type SendResult, type SendThreadInput, SignResult, SpfResult, StandardWebhooksSignResult, StandardWebhooksVerifyOptions, type StartAgentClaimInput, TlsReportAnalysis, type TokenDomain, type TransferAuthorization, UnknownEvent, VERIFICATION_ERRORS, ValidateEmailAuthResult, type VerifyAgentClaimInput, VerifyDownloadTokenOptions, VerifyDownloadTokenResult, VerifyOptions, WEBHOOK_VERSION, type WaitForNextOptions, WebhookAttachment, WebhookErrorCode, WebhookEvent, WebhookHeaders, WebhookPayloadError, WebhookPayloadErrorCode, WebhookValidationError, WebhookValidationErrorCode, WebhookVerificationError, WebhookVerificationErrorCode, type X402Challenge, type X402ChargeInput, X402Client, type X402ClientOptions, type X402DeclinedPayment, X402Error, type X402PaymentPayload, type X402PaymentRequirements, type X402PayoutAddress, type X402Receipt, type X402Signer, type X402SpendPolicy, buildForwardSubject, buildPayoutRegistrationMessage, buildReplySubject, client, confirmedHeaders, createAgent, createPrimitiveClient, createX402Client, decodeRawEmail, primitive as default, deriveEip3009Nonce, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, handleWebhook, isDownloadExpired, isEmailReceivedEvent, isRawIncluded, normalizeReceivedEmail, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };
|
|
14
|
+
export { type Account, AccountResource, type AgentAccountResult, type AgentAccountUpgradeHint, type AgentClaimLinkResult, type AgentClaimResult, type AgentClaimStartResult, AuthConfidence, AuthVerdict, BounceAnalysis, type CreateAgentAccountInput, type CreateAgentClaimLinkInput, type CreateAgentOptions, type CreatedAgent, DecodeRawEmailOptions, DkimResult, DkimSignature, DmarcPolicy, DmarcReportAnalysis, DmarcResult, EMAIL_EVENT_TYPES, EmailAddress, EmailAnalysis, EmailAuth, EmailReceivedEvent, EventType, ForwardAnalysis, type ForwardInput, ForwardOriginalSender, ForwardResult, ForwardResultAttachmentAnalyzed, ForwardResultAttachmentSkipped, ForwardResultInline, ForwardVerdict, ForwardVerification, GenerateDownloadTokenOptions, HandleWebhookOptions, INTERACTION_EVENT_TYPES, type InboundEmail, InboxResource, type InboxStreamOptions, InteractionEvent, InteractionX402Event, InteractionX402Suffix, KnownWebhookEvent, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, type NonceBinding, PAYLOAD_ERRORS, PAYMENT_EVENT_TYPES, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedData, ParsedDataComplete, ParsedDataFailed, ParsedError, ParsedStatus, PaymentEvent, PaymentFailedEvent, PaymentSettledEvent, type PayoutRegistrationMessageInput, type PlanLimits, PrimitiveApiError, PrimitiveClient, type PrimitiveClientOptions, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawContent, RawContentDownloadOnly, RawContentInline, RawEmailDecodeError, RawEmailDecodeErrorCode, ReceiveRequestOptions, ReceivedEmail, ReceivedEmailAddress, ReceivedEmailThread, type ReplyInput, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, type SendAttachment, type SendInput, type SendResult, type SendThreadInput, SignResult, SpfResult, StandardWebhooksSignResult, StandardWebhooksVerifyOptions, type StartAgentClaimInput, TlsReportAnalysis, type TokenDomain, type TransferAuthorization, UnknownEvent, VERIFICATION_ERRORS, ValidateEmailAuthResult, type VerifyAgentClaimInput, VerifyDownloadTokenOptions, VerifyDownloadTokenResult, VerifyOptions, WEBHOOK_EVENT_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_VERSION, type WaitForNextOptions, WebhookAttachment, WebhookErrorCode, WebhookEvent, WebhookEventType, WebhookHeaders, WebhookPayloadError, WebhookPayloadErrorCode, WebhookValidationError, WebhookValidationErrorCode, WebhookVerificationError, WebhookVerificationErrorCode, type X402Challenge, type X402ChargeInput, X402Client, type X402ClientOptions, type X402DeclinedPayment, X402Error, type X402PaymentPayload, type X402PaymentRequirements, type X402PayoutAddress, type X402Receipt, type X402Signer, type X402SpendPolicy, buildForwardSubject, buildPayoutRegistrationMessage, buildReplySubject, client, confirmedHeaders, createAgent, createPrimitiveClient, createX402Client, decodeRawEmail, primitive as default, deriveEip3009Nonce, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, getEventHeader, handleWebhook, handleWebhookEvent, isDownloadExpired, isEmailReceivedEvent, isInteractionX402Event, isKnownWebhookEventType, isPaymentEvent, isPaymentFailedEvent, isPaymentSettledEvent, isRawIncluded, normalizeReceivedEmail, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as client, f as PrimitiveApiError, i as PrimitiveClient, o as createAgent, r as InboxResource, s as createPrimitiveClient, t as AccountResource } from "./api-
|
|
1
|
+
import { a as client, f as PrimitiveApiError, i as PrimitiveClient, o as createAgent, r as InboxResource, s as createPrimitiveClient, t as AccountResource } from "./api-26ENR8Ph.js";
|
|
2
2
|
import { a as VERIFICATION_ERRORS, c as WebhookVerificationError, d as formatAddress, f as normalizeReceivedEmail, i as RawEmailDecodeError, l as buildForwardSubject, n as PrimitiveWebhookError, o as WebhookPayloadError, p as parseHeaderAddress, r as RAW_EMAIL_ERRORS, s as WebhookValidationError, t as PAYLOAD_ERRORS, u as buildReplySubject } from "./errors-BPJGp9I6.js";
|
|
3
|
-
import { A as
|
|
3
|
+
import { A as LEGACY_CONFIRMED_HEADER, B as isEmailReceivedEvent, C as SpfResult, D as STANDARD_WEBHOOK_TIMESTAMP_HEADER, E as STANDARD_WEBHOOK_SIGNATURE_HEADER, F as verifyWebhookSignature, G as isPaymentSettledEvent, H as isKnownWebhookEventType, I as EMAIL_EVENT_TYPES, J as safeValidateEmailReceivedEvent, K as generateDownloadToken, L as INTERACTION_EVENT_TYPES, M as PRIMITIVE_CONFIRMED_HEADER, N as PRIMITIVE_SIGNATURE_HEADER, O as signStandardWebhooksPayload, P as signWebhookPayload, R as PAYMENT_EVENT_TYPES, S as ParsedStatus, T as STANDARD_WEBHOOK_ID_HEADER, U as isPaymentEvent, V as isInteractionX402Event, W as isPaymentFailedEvent, Y as validateEmailReceivedEvent, _ as DkimResult, a as getEventHeader, b as EventType, c as isDownloadExpired, d as receive, f as verifyRawEmailDownload, g as AuthVerdict, h as AuthConfidence, i as getDownloadTimeRemaining, j as LEGACY_SIGNATURE_HEADER, k as verifyStandardWebhooksSignature, l as isRawIncluded, m as validateEmailAuth, n as confirmedHeaders, o as handleWebhook, p as WEBHOOK_VERSION, q as verifyDownloadToken, r as decodeRawEmail, s as handleWebhookEvent, t as WEBHOOK_EVENT_HEADER, u as parseWebhookEvent, v as DmarcPolicy, w as emailReceivedEventJsonSchema, x as ForwardVerdict, y as DmarcResult, z as WEBHOOK_EVENT_TYPES } from "./webhook-CiIPtegj.js";
|
|
4
4
|
import { X402Client, X402Error, buildPayoutRegistrationMessage, createX402Client, deriveEip3009Nonce } from "./x402/index.js";
|
|
5
5
|
//#region src/index.ts
|
|
6
6
|
const primitive = {
|
|
@@ -10,4 +10,4 @@ const primitive = {
|
|
|
10
10
|
x402: createX402Client
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
13
|
-
export { AccountResource, AuthConfidence, AuthVerdict, DkimResult, DmarcPolicy, DmarcResult, EventType, ForwardVerdict, InboxResource, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, PAYLOAD_ERRORS, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedStatus, PrimitiveApiError, PrimitiveClient, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawEmailDecodeError, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, SpfResult, VERIFICATION_ERRORS, WEBHOOK_VERSION, WebhookPayloadError, WebhookValidationError, WebhookVerificationError, X402Client, X402Error, buildForwardSubject, buildPayoutRegistrationMessage, buildReplySubject, client, confirmedHeaders, createAgent, createPrimitiveClient, createX402Client, decodeRawEmail, primitive as default, deriveEip3009Nonce, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, handleWebhook, isDownloadExpired, isEmailReceivedEvent, isRawIncluded, normalizeReceivedEmail, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };
|
|
13
|
+
export { AccountResource, AuthConfidence, AuthVerdict, DkimResult, DmarcPolicy, DmarcResult, EMAIL_EVENT_TYPES, EventType, ForwardVerdict, INTERACTION_EVENT_TYPES, InboxResource, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, PAYLOAD_ERRORS, PAYMENT_EVENT_TYPES, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedStatus, PrimitiveApiError, PrimitiveClient, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawEmailDecodeError, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, SpfResult, VERIFICATION_ERRORS, WEBHOOK_EVENT_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_VERSION, WebhookPayloadError, WebhookValidationError, WebhookVerificationError, X402Client, X402Error, buildForwardSubject, buildPayoutRegistrationMessage, buildReplySubject, client, confirmedHeaders, createAgent, createPrimitiveClient, createX402Client, decodeRawEmail, primitive as default, deriveEip3009Nonce, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, getEventHeader, handleWebhook, handleWebhookEvent, isDownloadExpired, isEmailReceivedEvent, isInteractionX402Event, isKnownWebhookEventType, isPaymentEvent, isPaymentFailedEvent, isPaymentSettledEvent, isRawIncluded, normalizeReceivedEmail, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };
|
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-Bu20uPOw.js";
|
|
2
2
|
export { openapiDocument, operationManifest };
|