@primitivedotdev/sdk 0.30.3 → 0.31.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/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/dist/{index-BExXXLZ5.d.ts → index-Cbsl8j7G.d.ts} +28 -0
- package/dist/index.d.ts +1 -1
- package/dist/openapi/index.js +1 -1
- package/dist/{operations.generated-Bgx_S-s1.js → operations.generated-DsbeO3l-.js} +26 -0
- package/package.json +1 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as listSentEmails, $a as SearchEmailsData, $i as ListFunctionLogsError, $n as DownloadAttachmentsData, $o as UpdateAccountData, $r as GetFunctionResponses, $t as CreateFunctionData, A as deleteEndpoint, Aa as ReplayEmailWebhooksData, Ai as ListDeliveriesResponses, An as DeleteFilterErrors, Ao as StartCliLoginResponse, Ar as FunctionTestRunDeliveryEndpoint, As as VerifyCliSignupData, At as CliLoginStartResult, B as getFunctionTestRunTrace, Ba as ReplyToEmailResponses, Bi as ListEmailsResponses, Bn as DeleteFunctionSecretErrors, Bo as TestEndpointData, Br as GetAccountError, Bs as VerifyDomainResponses, Bt as CliSignupVerifyResult, C as cliLogout, Ca as PollCliLoginResponse, Ci as GetWebhookSecretResponse, Cn as DeleteEndpointData, Co as SetFunctionSecretInput, Cr as FunctionDetail, Cs as UpdateFunctionData, Ct as AddDomainData, D as createFunctionSecret, Da as ReplayDeliveryErrors, Di as ListDeliveriesError, Dn as DeleteEndpointResponses, Do as StartCliLoginError, Dr as FunctionSecretWriteResult, Ds as UpdateFunctionResponse, Dt as AddDomainResponse, E as createFunction, Ea as ReplayDeliveryError, Ei as ListDeliveriesData, En as DeleteEndpointResponse, Eo as StartCliLoginData, Er as FunctionSecretListItem, Es as UpdateFunctionInput, Et as AddDomainInput, F as downloadAttachments, Fa as ReplayResult, Fi as ListDomainsResponses, Fn as DeleteFunctionErrors, Fo as StartCliSignupInput, Fr as FunctionTestRunState, Fs as VerifyCliSignupResponses, Ft as CliLogoutResponse, G as listDeliveries, Ga as ResendCliSignupVerificationResponse, Gi as ListEndpointsResponses, Gn as DiscardContentResult, Go as TestFunctionData, Gr as GetEmailError, Gs as Config, Gt as CreateEndpointResponse, H as getSentEmail, Ha as ResendCliSignupVerificationError, Hi as ListEndpointsError, Hn as DeleteFunctionSecretResponses, Ho as TestEndpointErrors, Hr as GetAccountResponse, Hs as createClient, Ht as CreateEndpointError, I as downloadRawEmail, Ia as ReplyToEmailData, Ii as ListEmailsData, In as DeleteFunctionResponse, Io as StartCliSignupResponse, Ir as FunctionTestRunTrace, Is as VerifyDomainData, It as CliLogoutResponses, J as listEndpoints, Ja as RotateWebhookSecretData, Ji as ListFiltersError, Jn as DiscardEmailContentErrors, Jo as TestFunctionResponse, Jr as GetEmailResponses, Js as RequestOptions, Jt as CreateFilterError, K as listDomains, Ka as ResendCliSignupVerificationResponses, Ki as ListEnvelope, Kn as DiscardEmailContentData, Ko as TestFunctionError, Kr as GetEmailErrors, Ks as CreateClientConfig, Kt as CreateEndpointResponses, L as getAccount, La as ReplyToEmailError, Li as ListEmailsError, Ln as DeleteFunctionResponses, Lo as StartCliSignupResponses, Lr as GateDenial, Ls as VerifyDomainError, Lt as CliLogoutResult, M as deleteFunction, Ma as ReplayEmailWebhooksErrors, Mi as ListDomainsError, Mn as DeleteFilterResponses, Mo as StartCliSignupData, Mr as FunctionTestRunOutboundRequest, Ms as VerifyCliSignupErrors, Mt as CliLogoutError, N as deleteFunctionSecret, Na as ReplayEmailWebhooksResponse, Ni as ListDomainsErrors, Nn as DeleteFunctionData, No as StartCliSignupError, Nr as FunctionTestRunReply, Ns as VerifyCliSignupInput, Nt as CliLogoutErrors, O as deleteDomain, Oa as ReplayDeliveryResponse, Oi as ListDeliveriesErrors, On as DeleteFilterData, Oo as StartCliLoginErrors, Or as FunctionTestRun, Os as UpdateFunctionResponses, Ot as AddDomainResponses, P as discardEmailContent, Pa as ReplayEmailWebhooksResponses, Pi as ListDomainsResponse, Pn as DeleteFunctionError, Po as StartCliSignupErrors, Pr as FunctionTestRunSend, Ps as VerifyCliSignupResponse, Pt as CliLogoutInput, Q as listFunctions, Qa as RotateWebhookSecretResponses, Qi as ListFunctionLogsData, Qn as DomainVerifyResult, Qo as UnverifiedDomain, Qr as GetFunctionResponse, Qs as Auth, Qt as CreateFilterResponses, R as getEmail, Ra as ReplyToEmailErrors, Ri as ListEmailsErrors, Rn as DeleteFunctionSecretData, Ro as StorageStats, Rr as GateFix, Rs as VerifyDomainErrors, Rt as CliSignupResendResult, S as addDomain, Sa as PollCliLoginInput, Si as GetWebhookSecretErrors, Sn as DeleteEmailResponses, So as SetFunctionSecretErrors, Sr as FunctionDeployStatus, Ss as UpdateFilterResponses, St as AccountUpdated, T as createFilter, Ta as ReplayDeliveryData, Ti as Limit, Tn as DeleteEndpointErrors, To as SetFunctionSecretResponses, Tr as FunctionLogRow, Ts as UpdateFunctionErrors, Tt as AddDomainErrors, U as getStorageStats, Ua as ResendCliSignupVerificationErrors, Ui as ListEndpointsErrors, Un as DeliveryStatus, Uo as TestEndpointResponse, Ur as GetAccountResponses, Us as Client, Ut as CreateEndpointErrors, V as getSendPermissions, Va as ResendCliSignupVerificationData, Vi as ListEndpointsData, Vn as DeleteFunctionSecretResponse, Vo as TestEndpointError, Vr as GetAccountErrors, Vs as WebhookSecret, Vt as CreateEndpointData, W as getWebhookSecret, Wa as ResendCliSignupVerificationInput, Wi as ListEndpointsResponse, Wn as DeliverySummary, Wo as TestEndpointResponses, Wr as GetEmailData, Ws as ClientOptions, Wt as CreateEndpointInput, X as listFunctionLogs, Xa as RotateWebhookSecretErrors, Xi as ListFiltersResponse, Xn as DiscardEmailContentResponses, Xo as TestInvocationResult, Xr as GetFunctionError, Xs as ResponseStyle, Xt as CreateFilterInput, Y as listFilters, Ya as RotateWebhookSecretError, Yi as ListFiltersErrors, Yn as DiscardEmailContentResponse, Yo as TestFunctionResponses, Yr as GetFunctionData, Ys as RequestResult, Yt as CreateFilterErrors, Z as listFunctionSecrets, Za as RotateWebhookSecretResponse, Zi as ListFiltersResponses, Zn as Domain, Zo as TestResult, Zr as GetFunctionErrors, Zs as createConfig, Zt as CreateFilterResponse, _ as PrimitiveApiClientOptions, _a as ListSentEmailsResponses, _i as GetStorageStatsErrors, _n as DeleteDomainResponses, _o as SentEmailDetail, _r as EmailSummary, _s as UpdateFilterData, _t as updateFilter, a as RequestOptions$2, aa as ListFunctionSecretsErrors, ai as GetSendPermissionsData, an as CreateFunctionResult, ao as SendEmailError, ar as DownloadRawEmailError, as as UpdateDomainData, at as rotateWebhookSecret, b as RequestOptions$1, ba as PollCliLoginError, bi as GetWebhookSecretData, bn as DeleteEmailErrors, bo as SetFunctionSecretData, br as ErrorResponse, bs as UpdateFilterInput, bt as verifyDomain, c as SendThreadInput, ca as ListFunctionsData, ci as GetSendPermissionsResponse, cn as CreateFunctionSecretErrors, co as SendEmailResponses, cr as DownloadRawEmailResponses, cs as UpdateDomainInput, ct as sendEmail, d as PRIMITIVE_SIGNATURE_HEADER, da as ListFunctionsResponse, di as GetSentEmailError, dn as CreateFunctionSecretResponses, do as SendPermissionAddress, dr as EmailSearchFacetBucket, ds as UpdateEndpointData, dt as startCliSignup, ea as ListFunctionLogsErrors, ei as GetFunctionTestRunTraceData, en as CreateFunctionError, eo as SearchEmailsError, er as DownloadAttachmentsError, es as UpdateAccountError, et as pollCliLogin, f as VerifyOptions, fa as ListFunctionsResponses, fi as GetSentEmailErrors, fn as Cursor, fo as SendPermissionAnyRecipient, fr as EmailSearchFacets, fs as UpdateEndpointError, ft as testEndpoint, g as PrimitiveApiClient, ga as ListSentEmailsResponse, gi as GetStorageStatsError, gn as DeleteDomainResponse, go as SendPermissionsMeta, gr as EmailStatus, gs as UpdateEndpointResponses, gt as updateEndpoint, h as DEFAULT_API_BASE_URL_2, ha as ListSentEmailsErrors, hi as GetStorageStatsData, hn as DeleteDomainErrors, ho as SendPermissionYourDomain, hr as EmailSearchResult, hs as UpdateEndpointResponse, ht as updateDomain, i as ReplyInput, ia as ListFunctionSecretsError, ii as GetFunctionTestRunTraceResponses, in as CreateFunctionResponses, io as SendEmailData, ir as DownloadRawEmailData, is as UpdateAccountResponses, it as resendCliSignupVerification, j as deleteFilter, ja as ReplayEmailWebhooksError, ji as ListDomainsData, jn as DeleteFilterResponse, jo as StartCliLoginResponses, jr as FunctionTestRunInboundEmail, js as VerifyCliSignupError, jt as CliLogoutData, k as deleteEmail, ka as ReplayDeliveryResponses, ki as ListDeliveriesResponse, kn as DeleteFilterError, ko as StartCliLoginInput, kr as FunctionTestRunDelivery, ks as VerifiedDomain, kt as CliLoginPollResult, l as client, la as ListFunctionsError, li as GetSendPermissionsResponses, ln as CreateFunctionSecretInput, lo as SendMailInput, lr as EmailDetail, ls as UpdateDomainResponse, lt as setFunctionSecret, m as DEFAULT_API_BASE_URL_1, ma as ListSentEmailsError, mi as GetSentEmailResponses, mn as DeleteDomainError, mo as SendPermissionRule, mr as EmailSearchMeta, ms as UpdateEndpointInput, mt as updateAccount, n as PrimitiveClient, na as ListFunctionLogsResponses, ni as GetFunctionTestRunTraceErrors, nn as CreateFunctionInput, no as SearchEmailsResponse, nr as DownloadAttachmentsResponse, ns as UpdateAccountInput, nt as replayEmailWebhooks, o as SendInput, oa as ListFunctionSecretsResponse, oi as GetSendPermissionsError, on as CreateFunctionSecretData, oo as SendEmailErrors, or as DownloadRawEmailErrors, os as UpdateDomainError, ot as sdk_gen_d_exports, p as verifyWebhookSignature, pa as ListSentEmailsData, pi as GetSentEmailResponse, pn as DeleteDomainData, po as SendPermissionManagedZone, pr as EmailSearchHighlights, ps as UpdateEndpointErrors, pt as testFunction, q as listEmails, qa as ResourceId, qi as ListFiltersData, qn as DiscardEmailContentError, qo as TestFunctionErrors, qr as GetEmailResponse, qs as Options, qt as CreateFilterData, r as PrimitiveClientOptions, ra as ListFunctionSecretsData, ri as GetFunctionTestRunTraceResponse, rn as CreateFunctionResponse, ro as SearchEmailsResponses, rr as DownloadAttachmentsResponses, rs as UpdateAccountResponse, rt as replyToEmail, s as SendResult, sa as ListFunctionSecretsResponses, si as GetSendPermissionsErrors, sn as CreateFunctionSecretError, so as SendEmailResponse, sr as DownloadRawEmailResponse, ss as UpdateDomainErrors, st as searchEmails, t as ForwardInput, ta as ListFunctionLogsResponse, ti as GetFunctionTestRunTraceError, tn as CreateFunctionErrors, to as SearchEmailsErrors, tr as DownloadAttachmentsErrors, ts as UpdateAccountErrors, tt as replayDelivery, u as createPrimitiveClient, ua as ListFunctionsErrors, ui as GetSentEmailData, un as CreateFunctionSecretResponse, uo as SendMailResult, ur as EmailDetailReply, us as UpdateDomainResponses, ut as startCliLogin, v as PrimitiveApiError, va as PaginationMeta, vi as GetStorageStatsResponse, vn as DeleteEmailData, vo as SentEmailStatus, vr as EmailWebhookStatus, vs as UpdateFilterError, vt as updateFunction, w as createEndpoint, wa as PollCliLoginResponses, wi as GetWebhookSecretResponses, wn as DeleteEndpointError, wo as SetFunctionSecretResponse, wr as FunctionListItem, ws as UpdateFunctionError, wt as AddDomainError, x as createPrimitiveApiClient, xa as PollCliLoginErrors, xi as GetWebhookSecretError, xn as DeleteEmailResponse, xo as SetFunctionSecretError, xr as Filter, xs as UpdateFilterResponse, xt as Account, y as PrimitiveApiErrorDetails, ya as PollCliLoginData, yi as GetStorageStatsResponses, yn as DeleteEmailError, yo as SentEmailSummary, yr as Endpoint, ys as UpdateFilterErrors, yt as verifyCliSignup, z as getFunction, za as ReplyToEmailResponse, zi as ListEmailsResponse, zn as DeleteFunctionSecretError, zo as SuccessEnvelope, zr as GetAccountData, zs as VerifyDomainResponse, zt as CliSignupStartResult } from "../index-BExXXLZ5.js";
|
|
1
|
+
import { $ as listSentEmails, $a as SearchEmailsData, $i as ListFunctionLogsError, $n as DownloadAttachmentsData, $o as UpdateAccountData, $r as GetFunctionResponses, $t as CreateFunctionData, A as deleteEndpoint, Aa as ReplayEmailWebhooksData, Ai as ListDeliveriesResponses, An as DeleteFilterErrors, Ao as StartCliLoginResponse, Ar as FunctionTestRunDeliveryEndpoint, As as VerifyCliSignupData, At as CliLoginStartResult, B as getFunctionTestRunTrace, Ba as ReplyToEmailResponses, Bi as ListEmailsResponses, Bn as DeleteFunctionSecretErrors, Bo as TestEndpointData, Br as GetAccountError, Bs as VerifyDomainResponses, Bt as CliSignupVerifyResult, C as cliLogout, Ca as PollCliLoginResponse, Ci as GetWebhookSecretResponse, Cn as DeleteEndpointData, Co as SetFunctionSecretInput, Cr as FunctionDetail, Cs as UpdateFunctionData, Ct as AddDomainData, D as createFunctionSecret, Da as ReplayDeliveryErrors, Di as ListDeliveriesError, Dn as DeleteEndpointResponses, Do as StartCliLoginError, Dr as FunctionSecretWriteResult, Ds as UpdateFunctionResponse, Dt as AddDomainResponse, E as createFunction, Ea as ReplayDeliveryError, Ei as ListDeliveriesData, En as DeleteEndpointResponse, Eo as StartCliLoginData, Er as FunctionSecretListItem, Es as UpdateFunctionInput, Et as AddDomainInput, F as downloadAttachments, Fa as ReplayResult, Fi as ListDomainsResponses, Fn as DeleteFunctionErrors, Fo as StartCliSignupInput, Fr as FunctionTestRunState, Fs as VerifyCliSignupResponses, Ft as CliLogoutResponse, G as listDeliveries, Ga as ResendCliSignupVerificationResponse, Gi as ListEndpointsResponses, Gn as DiscardContentResult, Go as TestFunctionData, Gr as GetEmailError, Gs as Config, Gt as CreateEndpointResponse, H as getSentEmail, Ha as ResendCliSignupVerificationError, Hi as ListEndpointsError, Hn as DeleteFunctionSecretResponses, Ho as TestEndpointErrors, Hr as GetAccountResponse, Hs as createClient, Ht as CreateEndpointError, I as downloadRawEmail, Ia as ReplyToEmailData, Ii as ListEmailsData, In as DeleteFunctionResponse, Io as StartCliSignupResponse, Ir as FunctionTestRunTrace, Is as VerifyDomainData, It as CliLogoutResponses, J as listEndpoints, Ja as RotateWebhookSecretData, Ji as ListFiltersError, Jn as DiscardEmailContentErrors, Jo as TestFunctionResponse, Jr as GetEmailResponses, Js as RequestOptions, Jt as CreateFilterError, K as listDomains, Ka as ResendCliSignupVerificationResponses, Ki as ListEnvelope, Kn as DiscardEmailContentData, Ko as TestFunctionError, Kr as GetEmailErrors, Ks as CreateClientConfig, Kt as CreateEndpointResponses, L as getAccount, La as ReplyToEmailError, Li as ListEmailsError, Ln as DeleteFunctionResponses, Lo as StartCliSignupResponses, Lr as GateDenial, Ls as VerifyDomainError, Lt as CliLogoutResult, M as deleteFunction, Ma as ReplayEmailWebhooksErrors, Mi as ListDomainsError, Mn as DeleteFilterResponses, Mo as StartCliSignupData, Mr as FunctionTestRunOutboundRequest, Ms as VerifyCliSignupErrors, Mt as CliLogoutError, N as deleteFunctionSecret, Na as ReplayEmailWebhooksResponse, Ni as ListDomainsErrors, Nn as DeleteFunctionData, No as StartCliSignupError, Nr as FunctionTestRunReply, Ns as VerifyCliSignupInput, Nt as CliLogoutErrors, O as deleteDomain, Oa as ReplayDeliveryResponse, Oi as ListDeliveriesErrors, On as DeleteFilterData, Oo as StartCliLoginErrors, Or as FunctionTestRun, Os as UpdateFunctionResponses, Ot as AddDomainResponses, P as discardEmailContent, Pa as ReplayEmailWebhooksResponses, Pi as ListDomainsResponse, Pn as DeleteFunctionError, Po as StartCliSignupErrors, Pr as FunctionTestRunSend, Ps as VerifyCliSignupResponse, Pt as CliLogoutInput, Q as listFunctions, Qa as RotateWebhookSecretResponses, Qi as ListFunctionLogsData, Qn as DomainVerifyResult, Qo as UnverifiedDomain, Qr as GetFunctionResponse, Qs as Auth, Qt as CreateFilterResponses, R as getEmail, Ra as ReplyToEmailErrors, Ri as ListEmailsErrors, Rn as DeleteFunctionSecretData, Ro as StorageStats, Rr as GateFix, Rs as VerifyDomainErrors, Rt as CliSignupResendResult, S as addDomain, Sa as PollCliLoginInput, Si as GetWebhookSecretErrors, Sn as DeleteEmailResponses, So as SetFunctionSecretErrors, Sr as FunctionDeployStatus, Ss as UpdateFilterResponses, St as AccountUpdated, T as createFilter, Ta as ReplayDeliveryData, Ti as Limit, Tn as DeleteEndpointErrors, To as SetFunctionSecretResponses, Tr as FunctionLogRow, Ts as UpdateFunctionErrors, Tt as AddDomainErrors, U as getStorageStats, Ua as ResendCliSignupVerificationErrors, Ui as ListEndpointsErrors, Un as DeliveryStatus, Uo as TestEndpointResponse, Ur as GetAccountResponses, Us as Client, Ut as CreateEndpointErrors, V as getSendPermissions, Va as ResendCliSignupVerificationData, Vi as ListEndpointsData, Vn as DeleteFunctionSecretResponse, Vo as TestEndpointError, Vr as GetAccountErrors, Vs as WebhookSecret, Vt as CreateEndpointData, W as getWebhookSecret, Wa as ResendCliSignupVerificationInput, Wi as ListEndpointsResponse, Wn as DeliverySummary, Wo as TestEndpointResponses, Wr as GetEmailData, Ws as ClientOptions, Wt as CreateEndpointInput, X as listFunctionLogs, Xa as RotateWebhookSecretErrors, Xi as ListFiltersResponse, Xn as DiscardEmailContentResponses, Xo as TestInvocationResult, Xr as GetFunctionError, Xs as ResponseStyle, Xt as CreateFilterInput, Y as listFilters, Ya as RotateWebhookSecretError, Yi as ListFiltersErrors, Yn as DiscardEmailContentResponse, Yo as TestFunctionResponses, Yr as GetFunctionData, Ys as RequestResult, Yt as CreateFilterErrors, Z as listFunctionSecrets, Za as RotateWebhookSecretResponse, Zi as ListFiltersResponses, Zn as Domain, Zo as TestResult, Zr as GetFunctionErrors, Zs as createConfig, Zt as CreateFilterResponse, _ as PrimitiveApiClientOptions, _a as ListSentEmailsResponses, _i as GetStorageStatsErrors, _n as DeleteDomainResponses, _o as SentEmailDetail, _r as EmailSummary, _s as UpdateFilterData, _t as updateFilter, a as RequestOptions$2, aa as ListFunctionSecretsErrors, ai as GetSendPermissionsData, an as CreateFunctionResult, ao as SendEmailError, ar as DownloadRawEmailError, as as UpdateDomainData, at as rotateWebhookSecret, b as RequestOptions$1, ba as PollCliLoginError, bi as GetWebhookSecretData, bn as DeleteEmailErrors, bo as SetFunctionSecretData, br as ErrorResponse, bs as UpdateFilterInput, bt as verifyDomain, c as SendThreadInput, ca as ListFunctionsData, ci as GetSendPermissionsResponse, cn as CreateFunctionSecretErrors, co as SendEmailResponses, cr as DownloadRawEmailResponses, cs as UpdateDomainInput, ct as sendEmail, d as PRIMITIVE_SIGNATURE_HEADER, da as ListFunctionsResponse, di as GetSentEmailError, dn as CreateFunctionSecretResponses, do as SendPermissionAddress, dr as EmailSearchFacetBucket, ds as UpdateEndpointData, dt as startCliSignup, ea as ListFunctionLogsErrors, ei as GetFunctionTestRunTraceData, en as CreateFunctionError, eo as SearchEmailsError, er as DownloadAttachmentsError, es as UpdateAccountError, et as pollCliLogin, f as VerifyOptions, fa as ListFunctionsResponses, fi as GetSentEmailErrors, fn as Cursor, fo as SendPermissionAnyRecipient, fr as EmailSearchFacets, fs as UpdateEndpointError, ft as testEndpoint, g as PrimitiveApiClient, ga as ListSentEmailsResponse, gi as GetStorageStatsError, gn as DeleteDomainResponse, go as SendPermissionsMeta, gr as EmailStatus, gs as UpdateEndpointResponses, gt as updateEndpoint, h as DEFAULT_API_BASE_URL_2, ha as ListSentEmailsErrors, hi as GetStorageStatsData, hn as DeleteDomainErrors, ho as SendPermissionYourDomain, hr as EmailSearchResult, hs as UpdateEndpointResponse, ht as updateDomain, i as ReplyInput, ia as ListFunctionSecretsError, ii as GetFunctionTestRunTraceResponses, in as CreateFunctionResponses, io as SendEmailData, ir as DownloadRawEmailData, is as UpdateAccountResponses, it as resendCliSignupVerification, j as deleteFilter, ja as ReplayEmailWebhooksError, ji as ListDomainsData, jn as DeleteFilterResponse, jo as StartCliLoginResponses, jr as FunctionTestRunInboundEmail, js as VerifyCliSignupError, jt as CliLogoutData, k as deleteEmail, ka as ReplayDeliveryResponses, ki as ListDeliveriesResponse, kn as DeleteFilterError, ko as StartCliLoginInput, kr as FunctionTestRunDelivery, ks as VerifiedDomain, kt as CliLoginPollResult, l as client, la as ListFunctionsError, li as GetSendPermissionsResponses, ln as CreateFunctionSecretInput, lo as SendMailInput, lr as EmailDetail, ls as UpdateDomainResponse, lt as setFunctionSecret, m as DEFAULT_API_BASE_URL_1, ma as ListSentEmailsError, mi as GetSentEmailResponses, mn as DeleteDomainError, mo as SendPermissionRule, mr as EmailSearchMeta, ms as UpdateEndpointInput, mt as updateAccount, n as PrimitiveClient, na as ListFunctionLogsResponses, ni as GetFunctionTestRunTraceErrors, nn as CreateFunctionInput, no as SearchEmailsResponse, nr as DownloadAttachmentsResponse, ns as UpdateAccountInput, nt as replayEmailWebhooks, o as SendInput, oa as ListFunctionSecretsResponse, oi as GetSendPermissionsError, on as CreateFunctionSecretData, oo as SendEmailErrors, or as DownloadRawEmailErrors, os as UpdateDomainError, ot as sdk_gen_d_exports, p as verifyWebhookSignature, pa as ListSentEmailsData, pi as GetSentEmailResponse, pn as DeleteDomainData, po as SendPermissionManagedZone, pr as EmailSearchHighlights, ps as UpdateEndpointErrors, pt as testFunction, q as listEmails, qa as ResourceId, qi as ListFiltersData, qn as DiscardEmailContentError, qo as TestFunctionErrors, qr as GetEmailResponse, qs as Options, qt as CreateFilterData, r as PrimitiveClientOptions, ra as ListFunctionSecretsData, ri as GetFunctionTestRunTraceResponse, rn as CreateFunctionResponse, ro as SearchEmailsResponses, rr as DownloadAttachmentsResponses, rs as UpdateAccountResponse, rt as replyToEmail, s as SendResult, sa as ListFunctionSecretsResponses, si as GetSendPermissionsErrors, sn as CreateFunctionSecretError, so as SendEmailResponse, sr as DownloadRawEmailResponse, ss as UpdateDomainErrors, st as searchEmails, t as ForwardInput, ta as ListFunctionLogsResponse, ti as GetFunctionTestRunTraceError, tn as CreateFunctionErrors, to as SearchEmailsErrors, tr as DownloadAttachmentsErrors, ts as UpdateAccountErrors, tt as replayDelivery, u as createPrimitiveClient, ua as ListFunctionsErrors, ui as GetSentEmailData, un as CreateFunctionSecretResponse, uo as SendMailResult, ur as EmailDetailReply, us as UpdateDomainResponses, ut as startCliLogin, v as PrimitiveApiError, va as PaginationMeta, vi as GetStorageStatsResponse, vn as DeleteEmailData, vo as SentEmailStatus, vr as EmailWebhookStatus, vs as UpdateFilterError, vt as updateFunction, w as createEndpoint, wa as PollCliLoginResponses, wi as GetWebhookSecretResponses, wn as DeleteEndpointError, wo as SetFunctionSecretResponse, wr as FunctionListItem, ws as UpdateFunctionError, wt as AddDomainError, x as createPrimitiveApiClient, xa as PollCliLoginErrors, xi as GetWebhookSecretError, xn as DeleteEmailResponse, xo as SetFunctionSecretError, xr as Filter, xs as UpdateFilterResponse, xt as Account, y as PrimitiveApiErrorDetails, ya as PollCliLoginData, yi as GetStorageStatsResponses, yn as DeleteEmailError, yo as SentEmailSummary, yr as Endpoint, ys as UpdateFilterErrors, yt as verifyCliSignup, z as getFunction, za as ReplyToEmailResponse, zi as ListEmailsResponse, zn as DeleteFunctionSecretError, zo as SuccessEnvelope, zr as GetAccountData, zs as VerifyDomainResponse, zt as CliSignupStartResult } from "../index-Cbsl8j7G.js";
|
|
2
2
|
import { i as openapiDocument, n as PrimitiveParameterManifest, r as operationManifest, t as PrimitiveOperationManifest } from "../operations.generated-BAniFZK9.js";
|
|
3
3
|
import { u as EmailReceivedEvent } from "../types-BRWDMD7H.js";
|
|
4
4
|
import { b as normalizeReceivedEmail, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, m as ReceivedEmail, p as WebhookVerificationErrorCode } from "../errors-CO-rv_nK.js";
|
package/dist/api/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { $ as startCliLogin, A as getSendPermissions, B as listFunctionSecrets, C as discardEmailContent, D as getEmail, E as getAccount, F as listDomains, G as replayEmailWebhooks, H as listSentEmails, I as listEmails, J as rotateWebhookSecret, K as replyToEmail, L as listEndpoints, M as getStorageStats, N as getWebhookSecret, O as getFunction, P as listDeliveries, Q as setFunctionSecret, R as listFilters, S as deleteFunctionSecret, T as downloadRawEmail, U as pollCliLogin, V as listFunctions, W as replayDelivery, X as searchEmails, Y as sdk_gen_exports, Z as sendEmail, _ as deleteDomain, a as verifyWebhookSignature, at as updateEndpoint, b as deleteFilter, c as PrimitiveApiClient, ct as verifyCliSignup, d as addDomain, dt as createConfig, et as startCliSignup, f as cliLogout, g as createFunctionSecret, h as createFunction, i as PRIMITIVE_SIGNATURE_HEADER, it as updateDomain, j as getSentEmail, k as getFunctionTestRunTrace, l as PrimitiveApiError, lt as verifyDomain, m as createFilter, n as client, nt as testFunction, o as DEFAULT_API_BASE_URL_1, ot as updateFilter, p as createEndpoint, q as resendCliSignupVerification, r as createPrimitiveClient, rt as updateAccount, s as DEFAULT_API_BASE_URL_2, st as updateFunction, t as PrimitiveClient, tt as testEndpoint, u as createPrimitiveApiClient, ut as createClient, v as deleteEmail, w as downloadAttachments, x as deleteFunction, y as deleteEndpoint, z as listFunctionLogs } from "../api-CMPC1ByD.js";
|
|
2
|
-
import { n as openapiDocument, t as operationManifest } from "../operations.generated-
|
|
2
|
+
import { n as openapiDocument, t as operationManifest } from "../operations.generated-DsbeO3l-.js";
|
|
3
3
|
import { c as WebhookVerificationError, f as normalizeReceivedEmail } from "../errors-BPJGp9I6.js";
|
|
4
4
|
export { DEFAULT_API_BASE_URL_1, DEFAULT_API_BASE_URL_2, PRIMITIVE_SIGNATURE_HEADER, PrimitiveApiClient, PrimitiveApiError, PrimitiveClient, WebhookVerificationError, addDomain, cliLogout, client, createClient, createConfig, createEndpoint, createFilter, createFunction, createFunctionSecret, createPrimitiveApiClient, createPrimitiveClient, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, discardEmailContent, downloadAttachments, downloadRawEmail, getAccount, getEmail, getFunction, getFunctionTestRunTrace, getSendPermissions, getSentEmail, getStorageStats, getWebhookSecret, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listSentEmails, normalizeReceivedEmail, openapiDocument, operationManifest, sdk_gen_exports as operations, pollCliLogin, replayDelivery, replayEmailWebhooks, replyToEmail, resendCliSignupVerification, rotateWebhookSecret, searchEmails, sendEmail, setFunctionSecret, startCliLogin, startCliSignup, testEndpoint, testFunction, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, verifyCliSignup, verifyDomain, verifyWebhookSignature };
|
|
@@ -882,6 +882,19 @@ type EmailDetail = {
|
|
|
882
882
|
*
|
|
883
883
|
*/
|
|
884
884
|
replies: Array<EmailDetailReply>;
|
|
885
|
+
/**
|
|
886
|
+
* The `sent_emails.id` of the outbound this inbound was a
|
|
887
|
+
* reply to, when resolvable. Set at inbound ingest by
|
|
888
|
+
* matching the parsed In-Reply-To (or References, as a
|
|
889
|
+
* fallback) against `sent_emails.message_id` in the same
|
|
890
|
+
* org. The mirror of `sent_emails.in_reply_to_email_id` for
|
|
891
|
+
* the inbound side of a thread. NULL when the inbound is
|
|
892
|
+
* not a threaded reply to one of your sends, when neither
|
|
893
|
+
* header survived the path through intermediate MTAs, or on
|
|
894
|
+
* inbound received before this auto-link landed.
|
|
895
|
+
*
|
|
896
|
+
*/
|
|
897
|
+
reply_to_sent_email_id?: string | null;
|
|
885
898
|
};
|
|
886
899
|
type EmailDetailReply = {
|
|
887
900
|
/**
|
|
@@ -2587,6 +2600,21 @@ type SearchEmailsData = {
|
|
|
2587
2600
|
* Filter by domain ID.
|
|
2588
2601
|
*/
|
|
2589
2602
|
domain_id?: string;
|
|
2603
|
+
/**
|
|
2604
|
+
* Filter to inbound emails that are replies to a specific
|
|
2605
|
+
* outbound send. The value is a `sent_emails.id` (UUID). At
|
|
2606
|
+
* inbound ingest, Primitive matches the parsed In-Reply-To
|
|
2607
|
+
* header (or References as a fallback) against
|
|
2608
|
+
* `sent_emails.message_id` in the same org and records the
|
|
2609
|
+
* resolved id on `emails.reply_to_sent_email_id`. This filter
|
|
2610
|
+
* is the strict-threading lookup behind `primitive chat` and
|
|
2611
|
+
* any UI that wants to show the inbound reply to a given
|
|
2612
|
+
* send. NULL on inbound that isn't a threaded reply to one
|
|
2613
|
+
* of your sends, so existing emails received before this
|
|
2614
|
+
* ingestion landed will not match.
|
|
2615
|
+
*
|
|
2616
|
+
*/
|
|
2617
|
+
reply_to_sent_email_id?: string;
|
|
2590
2618
|
/**
|
|
2591
2619
|
* Filter by inbound email lifecycle status.
|
|
2592
2620
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as SendThreadInput, i as ReplyInput, l as client, n as PrimitiveClient, o as SendInput, r as PrimitiveClientOptions, s as SendResult, t as ForwardInput, u as createPrimitiveClient, v as PrimitiveApiError } from "./index-
|
|
1
|
+
import { c as SendThreadInput, i as ReplyInput, l as client, n as PrimitiveClient, o as SendInput, r as PrimitiveClientOptions, s as SendResult, t as ForwardInput, u as createPrimitiveClient, v as PrimitiveApiError } from "./index-Cbsl8j7G.js";
|
|
2
2
|
import { A as UnknownEvent, C as ParsedDataFailed, D as RawContentDownloadOnly, E as RawContent, M as WebhookAttachment, N as WebhookEvent, O as RawContentInline, S as ParsedDataComplete, T as ParsedStatus, _ as ForwardResultInline, a as DmarcPolicy, b as KnownWebhookEvent, c as EmailAnalysis, d as EventType, f as ForwardAnalysis, g as ForwardResultAttachmentSkipped, h as ForwardResultAttachmentAnalyzed, i as DkimSignature, j as ValidateEmailAuthResult, k as SpfResult, l as EmailAuth, m as ForwardResult, n as AuthVerdict, o as DmarcResult, p as ForwardOriginalSender, r as DkimResult, s as EmailAddress, t as AuthConfidence, u as EmailReceivedEvent, v as ForwardVerdict, w as ParsedError, x as ParsedData, y as ForwardVerification } from "./types-BRWDMD7H.js";
|
|
3
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-CO-rv_nK.js";
|
|
4
4
|
import { A as VerifyOptions, C as signStandardWebhooksPayload, D as PRIMITIVE_CONFIRMED_HEADER, E as LEGACY_SIGNATURE_HEADER, F as VerifyDownloadTokenResult, I as generateDownloadToken, L as verifyDownloadToken, M as verifyWebhookSignature, N as GenerateDownloadTokenOptions, O as PRIMITIVE_SIGNATURE_HEADER, P as VerifyDownloadTokenOptions, R as safeValidateEmailReceivedEvent, S as StandardWebhooksVerifyOptions, T as LEGACY_CONFIRMED_HEADER, _ as emailReceivedEventJsonSchema, a as confirmedHeaders, b as STANDARD_WEBHOOK_TIMESTAMP_HEADER, c as handleWebhook, d as isRawIncluded, f as parseWebhookEvent, g as validateEmailAuth, h as WEBHOOK_VERSION, i as WebhookHeaders, j as signWebhookPayload, k as SignResult, l as isDownloadExpired, m as verifyRawEmailDownload, n as HandleWebhookOptions, o as decodeRawEmail, p as receive, r as ReceiveRequestOptions, s as getDownloadTimeRemaining, t as DecodeRawEmailOptions, u as isEmailReceivedEvent, v as STANDARD_WEBHOOK_ID_HEADER, w as verifyStandardWebhooksSignature, x as StandardWebhooksSignResult, y as STANDARD_WEBHOOK_SIGNATURE_HEADER, z as validateEmailReceivedEvent } from "./index-D_v8-0zX.js";
|
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-DsbeO3l-.js";
|
|
2
2
|
export { openapiDocument, operationManifest };
|
|
@@ -645,6 +645,15 @@ const openapiDocument = {
|
|
|
645
645
|
},
|
|
646
646
|
"description": "Filter by domain ID."
|
|
647
647
|
},
|
|
648
|
+
{
|
|
649
|
+
"name": "reply_to_sent_email_id",
|
|
650
|
+
"in": "query",
|
|
651
|
+
"schema": {
|
|
652
|
+
"type": "string",
|
|
653
|
+
"format": "uuid"
|
|
654
|
+
},
|
|
655
|
+
"description": "Filter to inbound emails that are replies to a specific\noutbound send. The value is a `sent_emails.id` (UUID). At\ninbound ingest, Primitive matches the parsed In-Reply-To\nheader (or References as a fallback) against\n`sent_emails.message_id` in the same org and records the\nresolved id on `emails.reply_to_sent_email_id`. This filter\nis the strict-threading lookup behind `primitive chat` and\nany UI that wants to show the inbound reply to a given\nsend. NULL on inbound that isn't a threaded reply to one\nof your sends, so existing emails received before this\ningestion landed will not match.\n"
|
|
656
|
+
},
|
|
648
657
|
{
|
|
649
658
|
"name": "status",
|
|
650
659
|
"in": "query",
|
|
@@ -2898,6 +2907,11 @@ const openapiDocument = {
|
|
|
2898
2907
|
"type": "array",
|
|
2899
2908
|
"description": "Sent emails recorded as replies to this inbound, in send\norder (ascending). Populated when a customer's send-mail\nrequest carries an `in_reply_to` Message-ID that matches\nthis inbound's `message_id` in the same org. Includes\nattempts that were gate-denied, so the array reflects every\nrecorded reply attempt regardless of outcome.\n",
|
|
2900
2909
|
"items": { "$ref": "#/components/schemas/EmailDetailReply" }
|
|
2910
|
+
},
|
|
2911
|
+
"reply_to_sent_email_id": {
|
|
2912
|
+
"type": ["string", "null"],
|
|
2913
|
+
"format": "uuid",
|
|
2914
|
+
"description": "The `sent_emails.id` of the outbound this inbound was a\nreply to, when resolvable. Set at inbound ingest by\nmatching the parsed In-Reply-To (or References, as a\nfallback) against `sent_emails.message_id` in the same\norg. The mirror of `sent_emails.in_reply_to_email_id` for\nthe inbound side of a thread. NULL when the inbound is\nnot a threaded reply to one of your sends, when neither\nheader survived the path through intermediate MTAs, or on\ninbound received before this auto-link landed.\n"
|
|
2901
2915
|
}
|
|
2902
2916
|
},
|
|
2903
2917
|
"required": [
|
|
@@ -5568,6 +5582,11 @@ const operationManifest = [
|
|
|
5568
5582
|
"created_at"
|
|
5569
5583
|
]
|
|
5570
5584
|
}
|
|
5585
|
+
},
|
|
5586
|
+
"reply_to_sent_email_id": {
|
|
5587
|
+
"type": ["string", "null"],
|
|
5588
|
+
"format": "uuid",
|
|
5589
|
+
"description": "The `sent_emails.id` of the outbound this inbound was a\nreply to, when resolvable. Set at inbound ingest by\nmatching the parsed In-Reply-To (or References, as a\nfallback) against `sent_emails.message_id` in the same\norg. The mirror of `sent_emails.in_reply_to_email_id` for\nthe inbound side of a thread. NULL when the inbound is\nnot a threaded reply to one of your sends, when neither\nheader survived the path through intermediate MTAs, or on\ninbound received before this auto-link landed.\n"
|
|
5571
5590
|
}
|
|
5572
5591
|
},
|
|
5573
5592
|
"required": [
|
|
@@ -5820,6 +5839,13 @@ const operationManifest = [
|
|
|
5820
5839
|
"required": false,
|
|
5821
5840
|
"type": "string"
|
|
5822
5841
|
},
|
|
5842
|
+
{
|
|
5843
|
+
"description": "Filter to inbound emails that are replies to a specific\noutbound send. The value is a `sent_emails.id` (UUID). At\ninbound ingest, Primitive matches the parsed In-Reply-To\nheader (or References as a fallback) against\n`sent_emails.message_id` in the same org and records the\nresolved id on `emails.reply_to_sent_email_id`. This filter\nis the strict-threading lookup behind `primitive chat` and\nany UI that wants to show the inbound reply to a given\nsend. NULL on inbound that isn't a threaded reply to one\nof your sends, so existing emails received before this\ningestion landed will not match.\n",
|
|
5844
|
+
"enum": null,
|
|
5845
|
+
"name": "reply_to_sent_email_id",
|
|
5846
|
+
"required": false,
|
|
5847
|
+
"type": "string"
|
|
5848
|
+
},
|
|
5823
5849
|
{
|
|
5824
5850
|
"description": "Filter by inbound email lifecycle status.",
|
|
5825
5851
|
"enum": null,
|
package/package.json
CHANGED