@primitivedotdev/sdk 0.30.0 → 0.30.2
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 +2 -2
- package/dist/{api-DtnAfZka.js → api-CMPC1ByD.js} +12 -11
- package/dist/{index-BUQQvkI3.d.ts → index-BExXXLZ5.d.ts} +12 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/openapi/index.js +1 -1
- package/dist/{operations.generated-Cv2z2D3B.js → operations.generated-Bgx_S-s1.js} +2 -2
- 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-BUQQvkI3.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-BExXXLZ5.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
|
-
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-
|
|
2
|
-
import { n as openapiDocument, t as operationManifest } from "../operations.generated-
|
|
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-Bgx_S-s1.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 };
|
|
@@ -1586,17 +1586,18 @@ const updateFunction = (options) => (options.client ?? client$1).put({
|
|
|
1586
1586
|
* Sends a real test email from a Primitive-controlled sender to a
|
|
1587
1587
|
* local-part on one of the org's verified inbound domains. By
|
|
1588
1588
|
* default the recipient is a synthetic
|
|
1589
|
-
* `__primitive_function_test+<random>@<domain>` address
|
|
1590
|
-
*
|
|
1591
|
-
*
|
|
1592
|
-
*
|
|
1593
|
-
*
|
|
1594
|
-
*
|
|
1595
|
-
*
|
|
1596
|
-
*
|
|
1597
|
-
*
|
|
1598
|
-
*
|
|
1599
|
-
*
|
|
1589
|
+
* `__primitive_function_test+<random>@<domain>` address on a
|
|
1590
|
+
* domain selected to route to the function. Scoped functions use
|
|
1591
|
+
* their scoped domain; fallback functions use a domain that has
|
|
1592
|
+
* no enabled domain-scoped endpoint. Pass `local_part` to
|
|
1593
|
+
* override and exercise routing logic that branches on a specific
|
|
1594
|
+
* recipient (the common pattern when one function handles multiple
|
|
1595
|
+
* inboxes like `summarize@` and `action@`). The function fires
|
|
1596
|
+
* through the normal MX delivery path, so reply / send-mail calls
|
|
1597
|
+
* from inside the handler against the inbound's `email.id` work
|
|
1598
|
+
* the same as in production. Returns immediately after the send is
|
|
1599
|
+
* queued; the invocation appears on the function's invocations
|
|
1600
|
+
* list within a few seconds.
|
|
1600
1601
|
*
|
|
1601
1602
|
* Requires that the function is currently `deployed`. Returns 422
|
|
1602
1603
|
* if the function is in `pending` or `failed` state, or if the
|
|
@@ -4580,17 +4580,18 @@ declare const updateFunction: <ThrowOnError extends boolean = false>(options: Op
|
|
|
4580
4580
|
* Sends a real test email from a Primitive-controlled sender to a
|
|
4581
4581
|
* local-part on one of the org's verified inbound domains. By
|
|
4582
4582
|
* default the recipient is a synthetic
|
|
4583
|
-
* `__primitive_function_test+<random>@<domain>` address
|
|
4584
|
-
*
|
|
4585
|
-
*
|
|
4586
|
-
*
|
|
4587
|
-
*
|
|
4588
|
-
*
|
|
4589
|
-
*
|
|
4590
|
-
*
|
|
4591
|
-
*
|
|
4592
|
-
*
|
|
4593
|
-
*
|
|
4583
|
+
* `__primitive_function_test+<random>@<domain>` address on a
|
|
4584
|
+
* domain selected to route to the function. Scoped functions use
|
|
4585
|
+
* their scoped domain; fallback functions use a domain that has
|
|
4586
|
+
* no enabled domain-scoped endpoint. Pass `local_part` to
|
|
4587
|
+
* override and exercise routing logic that branches on a specific
|
|
4588
|
+
* recipient (the common pattern when one function handles multiple
|
|
4589
|
+
* inboxes like `summarize@` and `action@`). The function fires
|
|
4590
|
+
* through the normal MX delivery path, so reply / send-mail calls
|
|
4591
|
+
* from inside the handler against the inbound's `email.id` work
|
|
4592
|
+
* the same as in production. Returns immediately after the send is
|
|
4593
|
+
* queued; the invocation appears on the function's invocations
|
|
4594
|
+
* list within a few seconds.
|
|
4594
4595
|
*
|
|
4595
4596
|
* Requires that the function is currently `deployed`. Returns 422
|
|
4596
4597
|
* if the function is in `pending` or `failed` state, or if the
|
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-BExXXLZ5.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/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as PrimitiveApiError, n as client, r as createPrimitiveClient, t as PrimitiveClient } from "./api-
|
|
1
|
+
import { l as PrimitiveApiError, n as client, r as createPrimitiveClient, t as PrimitiveClient } from "./api-CMPC1ByD.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
3
|
import { A as PRIMITIVE_CONFIRMED_HEADER, C as STANDARD_WEBHOOK_ID_HEADER, D as verifyStandardWebhooksSignature, E as signStandardWebhooksPayload, F as verifyDownloadToken, I as safeValidateEmailReceivedEvent, L as validateEmailReceivedEvent, M as signWebhookPayload, N as verifyWebhookSignature, O as LEGACY_CONFIRMED_HEADER, P as generateDownloadToken, S as emailReceivedEventJsonSchema, T as STANDARD_WEBHOOK_TIMESTAMP_HEADER, _ as DmarcResult, a as isDownloadExpired, b as ParsedStatus, c as parseWebhookEvent, d as WEBHOOK_VERSION, f as validateEmailAuth, g as DmarcPolicy, h as DkimResult, i as handleWebhook, j as PRIMITIVE_SIGNATURE_HEADER, k as LEGACY_SIGNATURE_HEADER, l as receive, m as AuthVerdict, n as decodeRawEmail, o as isEmailReceivedEvent, p as AuthConfidence, r as getDownloadTimeRemaining, s as isRawIncluded, t as confirmedHeaders, u as verifyRawEmailDownload, v as EventType, w as STANDARD_WEBHOOK_SIGNATURE_HEADER, x as SpfResult, y as ForwardVerdict } from "./webhook-D4FTpj38.js";
|
|
4
4
|
//#region src/index.ts
|
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-Bgx_S-s1.js";
|
|
2
2
|
export { openapiDocument, operationManifest };
|
|
@@ -1507,7 +1507,7 @@ const openapiDocument = {
|
|
|
1507
1507
|
"post": {
|
|
1508
1508
|
"operationId": "testFunction",
|
|
1509
1509
|
"summary": "Send a test invocation",
|
|
1510
|
-
"description": "Sends a real test email from a Primitive-controlled sender to a\nlocal-part on one of the org's verified inbound domains. By\ndefault the recipient is a synthetic\n`__primitive_function_test+<random>@<domain>` address
|
|
1510
|
+
"description": "Sends a real test email from a Primitive-controlled sender to a\nlocal-part on one of the org's verified inbound domains. By\ndefault the recipient is a synthetic\n`__primitive_function_test+<random>@<domain>` address on a\ndomain selected to route to the function. Scoped functions use\ntheir scoped domain; fallback functions use a domain that has\nno enabled domain-scoped endpoint. Pass `local_part` to\noverride and exercise routing logic that branches on a specific\nrecipient (the common pattern when one function handles multiple\ninboxes like `summarize@` and `action@`). The function fires\nthrough the normal MX delivery path, so reply / send-mail calls\nfrom inside the handler against the inbound's `email.id` work\nthe same as in production. Returns immediately after the send is\nqueued; the invocation appears on the function's invocations\nlist within a few seconds.\n\nRequires that the function is currently `deployed`. Returns 422\nif the function is in `pending` or `failed` state, or if the\norg has no verified inbound domain to receive the test mail.\nReturns 400 if `local_part` is set to a value that does not\nmatch the local-part character set.\n",
|
|
1511
1511
|
"tags": ["Functions"],
|
|
1512
1512
|
"requestBody": {
|
|
1513
1513
|
"required": false,
|
|
@@ -7631,7 +7631,7 @@ const operationManifest = [
|
|
|
7631
7631
|
"binaryResponse": false,
|
|
7632
7632
|
"bodyRequired": false,
|
|
7633
7633
|
"command": "test-function",
|
|
7634
|
-
"description": "Sends a real test email from a Primitive-controlled sender to a\nlocal-part on one of the org's verified inbound domains. By\ndefault the recipient is a synthetic\n`__primitive_function_test+<random>@<domain>` address
|
|
7634
|
+
"description": "Sends a real test email from a Primitive-controlled sender to a\nlocal-part on one of the org's verified inbound domains. By\ndefault the recipient is a synthetic\n`__primitive_function_test+<random>@<domain>` address on a\ndomain selected to route to the function. Scoped functions use\ntheir scoped domain; fallback functions use a domain that has\nno enabled domain-scoped endpoint. Pass `local_part` to\noverride and exercise routing logic that branches on a specific\nrecipient (the common pattern when one function handles multiple\ninboxes like `summarize@` and `action@`). The function fires\nthrough the normal MX delivery path, so reply / send-mail calls\nfrom inside the handler against the inbound's `email.id` work\nthe same as in production. Returns immediately after the send is\nqueued; the invocation appears on the function's invocations\nlist within a few seconds.\n\nRequires that the function is currently `deployed`. Returns 422\nif the function is in `pending` or `failed` state, or if the\norg has no verified inbound domain to receive the test mail.\nReturns 400 if `local_part` is set to a value that does not\nmatch the local-part character set.\n",
|
|
7635
7635
|
"hasJsonBody": true,
|
|
7636
7636
|
"method": "POST",
|
|
7637
7637
|
"operationId": "testFunction",
|
package/package.json
CHANGED