groundmail 0.45.0 → 0.47.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/authjs.d.ts +1 -1
- package/dist/authjs.js +1 -1
- package/dist/better-auth.d.ts +1 -1
- package/dist/better-auth.js +1 -1
- package/dist/{chunk-UL6W7BCH.js → chunk-P3VC3DHP.js} +21 -1
- package/dist/clerk.d.ts +1 -1
- package/dist/clerk.js +1 -1
- package/dist/{client-DWPH4iLB.d.ts → client-MurwiqdG.d.ts} +35 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/payload.d.ts +1 -1
- package/dist/payload.js +1 -1
- package/package.json +1 -1
package/dist/authjs.d.ts
CHANGED
package/dist/authjs.js
CHANGED
package/dist/better-auth.d.ts
CHANGED
package/dist/better-auth.js
CHANGED
|
@@ -1386,6 +1386,14 @@ var MailboxesResource = class {
|
|
|
1386
1386
|
});
|
|
1387
1387
|
return mailbox;
|
|
1388
1388
|
}
|
|
1389
|
+
/** Name the person behind a mailbox made without an account. They get a code by email. */
|
|
1390
|
+
async setOwner(mailbox, ownerEmail) {
|
|
1391
|
+
return this.client.request(`${path(mailbox, "owner")}`, { method: "POST", body: JSON.stringify({ owner_email: ownerEmail }) });
|
|
1392
|
+
}
|
|
1393
|
+
/** Give back the code your person received. The mailbox becomes a normal one, with the same key. */
|
|
1394
|
+
async verifyOwner(mailbox, code) {
|
|
1395
|
+
return this.client.request(`${path(mailbox, "owner", "verify")}`, { method: "POST", body: JSON.stringify({ code }) });
|
|
1396
|
+
}
|
|
1389
1397
|
/** Mailboxes, newest first. */
|
|
1390
1398
|
async list(params = {}) {
|
|
1391
1399
|
const search = new URLSearchParams();
|
|
@@ -1464,6 +1472,17 @@ var MailboxesResource = class {
|
|
|
1464
1472
|
}
|
|
1465
1473
|
}
|
|
1466
1474
|
};
|
|
1475
|
+
async function createInstantMailbox(params = {}, options = {}) {
|
|
1476
|
+
const base = (options.baseUrl || "https://api.groundmail.dev").replace(/\/$/, "");
|
|
1477
|
+
const response = await fetch(`${base}/mailboxes/instant`, {
|
|
1478
|
+
method: "POST",
|
|
1479
|
+
headers: { "Content-Type": "application/json" },
|
|
1480
|
+
body: JSON.stringify(params)
|
|
1481
|
+
});
|
|
1482
|
+
const body = await response.json().catch(() => null);
|
|
1483
|
+
if (!response.ok || !body) throw new Error(body?.error?.message ?? `Could not create a mailbox (${response.status})`);
|
|
1484
|
+
return body;
|
|
1485
|
+
}
|
|
1467
1486
|
|
|
1468
1487
|
// src/migrations.ts
|
|
1469
1488
|
function mergeMigrations(previous, next) {
|
|
@@ -1651,7 +1670,7 @@ function verifyWebhookSignature(secret, payload, header, toleranceSec = 300) {
|
|
|
1651
1670
|
}
|
|
1652
1671
|
|
|
1653
1672
|
// package.json
|
|
1654
|
-
var version = "0.
|
|
1673
|
+
var version = "0.47.0";
|
|
1655
1674
|
|
|
1656
1675
|
// src/automations.ts
|
|
1657
1676
|
var AutomationsResource = class {
|
|
@@ -2664,6 +2683,7 @@ export {
|
|
|
2664
2683
|
MailboxThreadsResource,
|
|
2665
2684
|
MailboxMessagesResource,
|
|
2666
2685
|
MailboxesResource,
|
|
2686
|
+
createInstantMailbox,
|
|
2667
2687
|
mergeMigrations,
|
|
2668
2688
|
TEST_INBOX_WAIT_MAX_SECONDS,
|
|
2669
2689
|
TEST_INBOX_WAIT_DEFAULT_MS,
|
package/dist/clerk.d.ts
CHANGED
package/dist/clerk.js
CHANGED
|
@@ -1927,6 +1927,8 @@ type Mailbox = {
|
|
|
1927
1927
|
status: MailboxStatus;
|
|
1928
1928
|
/** `reply_only` on hosted addresses, which can't email anyone first. `first_contact` on your own domain. */
|
|
1929
1929
|
send_policy: 'reply_only' | 'first_contact';
|
|
1930
|
+
/** The address mail goes out from, when it isn't `address`. */
|
|
1931
|
+
send_as: string | null;
|
|
1930
1932
|
/** Most emails a day from this mailbox; null for no limit of its own. */
|
|
1931
1933
|
daily_send_limit: number | null;
|
|
1932
1934
|
/** Why it is paused, by you or automatically; null while active. */
|
|
@@ -1971,6 +1973,8 @@ type UpdateMailboxParams = Omit<CreateMailboxParams, 'local_part' | 'domain' | '
|
|
|
1971
1973
|
status?: 'active' | 'paused';
|
|
1972
1974
|
/** Most emails a day from this mailbox, 1 to 100000. `null` removes the limit. */
|
|
1973
1975
|
daily_send_limit?: number | null;
|
|
1976
|
+
/** Send as this address, on a domain verified on your account. `null` sends as the mailbox. */
|
|
1977
|
+
send_as?: string | null;
|
|
1974
1978
|
};
|
|
1975
1979
|
type ListMailboxesParams = {
|
|
1976
1980
|
tenant?: string;
|
|
@@ -2610,6 +2614,15 @@ declare class MailboxesResource {
|
|
|
2610
2614
|
constructor(client: Groundmail);
|
|
2611
2615
|
/** A new mailbox. With no `domain` it gets a hosted address; with no `local_part`, a generated one. */
|
|
2612
2616
|
create(params?: CreateMailboxParams): Promise<Mailbox>;
|
|
2617
|
+
/** Name the person behind a mailbox made without an account. They get a code by email. */
|
|
2618
|
+
setOwner(mailbox: string, ownerEmail: string): Promise<{
|
|
2619
|
+
owner_email: string;
|
|
2620
|
+
code_expires_at: string;
|
|
2621
|
+
}>;
|
|
2622
|
+
/** Give back the code your person received. The mailbox becomes a normal one, with the same key. */
|
|
2623
|
+
verifyOwner(mailbox: string, code: string): Promise<{
|
|
2624
|
+
level: 'verified';
|
|
2625
|
+
}>;
|
|
2613
2626
|
/** Mailboxes, newest first. */
|
|
2614
2627
|
list(params?: ListMailboxesParams): Promise<ListMailboxesResult>;
|
|
2615
2628
|
get(mailbox: string): Promise<Mailbox>;
|
|
@@ -2631,6 +2644,27 @@ declare class MailboxesResource {
|
|
|
2631
2644
|
*/
|
|
2632
2645
|
wait(mailbox: string, params?: WaitForMailboxMessageParams): Promise<MailboxMessageDetail>;
|
|
2633
2646
|
}
|
|
2647
|
+
type InstantMailboxParams = {
|
|
2648
|
+
local_part?: string;
|
|
2649
|
+
display_name?: string;
|
|
2650
|
+
/** The person behind the agent. They get a code that unlocks sending. */
|
|
2651
|
+
owner_email?: string;
|
|
2652
|
+
/** Where the agent found us. */
|
|
2653
|
+
source?: string;
|
|
2654
|
+
};
|
|
2655
|
+
type InstantMailbox = {
|
|
2656
|
+
mailbox: Mailbox;
|
|
2657
|
+
/** A key limited to this mailbox. Shown once. */
|
|
2658
|
+
api_key: string;
|
|
2659
|
+
level: 'none' | 'attached';
|
|
2660
|
+
};
|
|
2661
|
+
/**
|
|
2662
|
+
* A mailbox with no account and no key: receive mail straight away, then pass `api_key`
|
|
2663
|
+
* to `new Groundmail(key)`. Sending starts once a person is attached.
|
|
2664
|
+
*/
|
|
2665
|
+
declare function createInstantMailbox(params?: InstantMailboxParams, options?: {
|
|
2666
|
+
baseUrl?: string;
|
|
2667
|
+
}): Promise<InstantMailbox>;
|
|
2634
2668
|
|
|
2635
2669
|
/** Combine the reports of one import's requests: every item, the latest totals. */
|
|
2636
2670
|
declare function mergeMigrations(previous: Migration | null, next: Migration): Migration;
|
|
@@ -3012,4 +3046,4 @@ declare function normalizeAccessToken(value: GroundmailAccessToken | null | unde
|
|
|
3012
3046
|
expiresAt: number | null;
|
|
3013
3047
|
};
|
|
3014
3048
|
|
|
3015
|
-
export { type CreateMigrationParams as $, type ApiErrorBody as A, type Batch as B, type BrandLogo as C, type DnsRecord as D, type BrandSettings as E, type BurrowGuardCheck as F, Groundmail as G, type BurrowGuardReason as H, BurrowGuardResource as I, type BurrowGuardSite as J, type BurrowGuardSiteWithSecret as K, type BurrowGuardVerifyParams as L, type BurrowGuardVerifyResult as M, type CancelBatchResult as N, type CategoryOptOut as O, type CategoryOptOutCategory as P, type CategoryUnsubscribedErrorDetails as Q, type ConnectTwilioParams as R, type SendEmailResult as S, type ContactWebhookEventPayload as T, type CreateApiKeyParams as U, type CreateApiKeyResult as V, type CreateAutomationParams as W, type CreateBurrowGuardSiteParams as X, type CreateDomainParams as Y, type CreateDomainResult as Z, type CreateMailboxParams as _, type ApiErrorCode as a, type
|
|
3049
|
+
export { type CreateMigrationParams as $, type ApiErrorBody as A, type Batch as B, type BrandLogo as C, type DnsRecord as D, type BrandSettings as E, type BurrowGuardCheck as F, Groundmail as G, type BurrowGuardReason as H, BurrowGuardResource as I, type BurrowGuardSite as J, type BurrowGuardSiteWithSecret as K, type BurrowGuardVerifyParams as L, type BurrowGuardVerifyResult as M, type CancelBatchResult as N, type CategoryOptOut as O, type CategoryOptOutCategory as P, type CategoryUnsubscribedErrorDetails as Q, type ConnectTwilioParams as R, type SendEmailResult as S, type ContactWebhookEventPayload as T, type CreateApiKeyParams as U, type CreateApiKeyResult as V, type CreateAutomationParams as W, type CreateBurrowGuardSiteParams as X, type CreateDomainParams as Y, type CreateDomainResult as Z, type CreateMailboxParams as _, type ApiErrorCode as a, type ListCategoryOptOutsResult as a$, type CreateSenderParams as a0, type CreateSuppressionParams as a1, type CreateTemplateParams as a2, type CreateTenantParams as a3, type CreateWebhookParams as a4, DEFAULT_API_BASE_URL as a5, type DailyRampLimitErrorDetails as a6, type DeleteMailboxResult as a7, type DeleteTenantResult as a8, type DeliverabilityBucket as a9, type EmailListItem as aA, type EmailWebhookEventPayload as aB, type EmailWebhookEventType as aC, type EnableDmarcParams as aD, type EnableDmarcResult as aE, type EnrollmentSkip as aF, type EventRecord as aG, type ForwardMailboxParams as aH, type GetMailboxThreadParams as aI, type GroundmailAccessToken as aJ, type GroundmailOptions as aK, type GroundmailTokenOptions as aL, type GroundmailTokenProvider as aM, type HeldBackErrorDetails as aN, type HeldBackReason as aO, type HeldBackRecipient as aP, type InReplyToEmail as aQ, type InstantMailbox as aR, type InstantMailboxParams as aS, type ListApiKeysParams as aT, type ListApiKeysResult as aU, type ListAutomationRunsParams as aV, type ListAutomationRunsResult as aW, type ListAutomationsResult as aX, type ListBurrowGuardChecksParams as aY, type ListBurrowGuardChecksResult as aZ, type ListCategoryOptOutsParams as a_, type DeliverabilityDomainInsight as aa, type DeliverabilityInsightsResult as ab, type DeliverabilityMailServerRelay as ac, type DeliverabilityWindow as ad, type DmarcDailyPoint as ae, type DmarcMonitoring as af, type DmarcMonitoringDisabled as ag, type DmarcReadiness as ah, type DmarcReadinessVerdict as ai, type DmarcSource as aj, type DmarcSourceStatus as ak, type DmarcStatus as al, type DnsProviderName as am, type Domain as an, type DomainBimiAnalysis as ao, type DomainBlocklistListing as ap, type DomainBlocklistStatus as aq, type DomainBlocklists as ar, type DomainDetailResult as as, type DomainDmarcAnalysis as at, type DomainDnsAnalysis as au, type DomainStatus as av, type DomainTlsMode as aw, type DomainTrackingDns as ax, type DomainTrackingStatus as ay, type EmailDelivery as az, type ApiKey as b, type Sender as b$, type ListDomainsParams as b0, type ListDomainsResult as b1, type ListEmailsParams as b2, type ListEmailsResult as b3, type ListMailboxMessagesParams as b4, type ListMailboxMessagesResult as b5, type ListMailboxThreadsParams as b6, type ListMailboxThreadsResult as b7, type ListMailboxesParams as b8, type ListMailboxesResult as b9, type MailboxSendResult as bA, type MailboxStatus as bB, type MailboxThread as bC, type MailboxThreadDetail as bD, MailboxThreadsResource as bE, type MailboxWebhookEventPayload as bF, MailboxesResource as bG, type Migration as bH, type MigrationDnsChange as bI, type MigrationDnsPlan as bJ, type MigrationDomainItem as bK, type MigrationItemStatus as bL, type MigrationProvider as bM, type MigrationResource as bN, type MigrationSummary as bO, type MigrationTemplateItem as bP, type MigrationTotals as bQ, type MigrationWebhookItem as bR, type ReceivedEmail as bS, type ReceivedEmailAttachment as bT, type ReceivedEmailAttachmentMeta as bU, type RemoteApplyDnsCredentials as bV, type RemoveCategoryOptOutOptions as bW, type ReplyToMailboxMessageParams as bX, type RunMigrationOptions as bY, type SendEmailParams as bZ, type SendMailboxMessageParams as b_, type ListReceivedEmailsParams as ba, type ListReceivedEmailsResult as bb, type ListSendersResult as bc, type ListSuppressionsParams as bd, type ListSuppressionsResult as be, type ListTemplatesParams as bf, type ListTemplatesResult as bg, type ListTenantDomainsResult as bh, type ListTenantsParams as bi, type ListTenantsResult as bj, type ListTestInboxEmailsParams as bk, type ListTestInboxEmailsResult as bl, type ListWebhookDeliveriesParams as bm, type ListWebhookDeliveriesResult as bn, MAILBOX_WAIT_DEFAULT_MS as bo, MAILBOX_WAIT_MAX_SECONDS as bp, type MailServerSigningStatus as bq, type MailStream as br, type Mailbox as bs, type MailboxAttachment as bt, type MailboxAttachmentDownload as bu, type MailboxForwarding as bv, type MailboxMessage as bw, type MailboxMessageDetail as bx, MailboxMessagesResource as by, type MailboxOutgoingAttachment as bz, type ApiKeyMigrationParams as c, type SesMigrationParams as c0, type StreamDeliverability as c1, type SuppressedErrorDetails as c2, type Suppression as c3, TEST_INBOX_WAIT_DEFAULT_MS as c4, TEST_INBOX_WAIT_MAX_SECONDS as c5, type Template as c6, type TemplateFormat as c7, type TemplateLintWarning as c8, type TemplateStarter as c9, type UpdateEmailParams as cA, type UpdateMailboxMessageParams as cB, type UpdateMailboxParams as cC, type UpdateMailboxThreadParams as cD, type UpdateSenderParams as cE, type UpdateTemplateParams as cF, type UpdateTenantParams as cG, type UpdateWebhookParams as cH, type ValidateEmailResult as cI, type ValidationReason as cJ, type ValidationVerdict as cK, type VerifyDomainResult as cL, type WaitForMailboxMessageParams as cM, type WaitForTestEmailParams as cN, type WebhookDelivery as cO, type WebhookDeliveryAttempt as cP, type WebhookDeliveryDetail as cQ, type WebhookDeliveryStatus as cR, type WebhookEmailTag as cS, type WebhookEndpoint as cT, type WebhookEndpointHealth as cU, type WebhookEndpointWithSecret as cV, type WebhookEventType as cW, createInstantMailbox as cX, mergeMigrations as cY, normalizeAccessToken as cZ, type TemplateStatus as ca, type TemplateVersion as cb, type Tenant as cc, type TenantPauseSource as cd, type TenantRamp as ce, type TenantStats as cf, type TenantStatsResult as cg, type TenantStatus as ch, type TenantStreamPolicy as ci, type TestEmailWebhookParams as cj, type TestEmailWebhookResult as ck, type TestInbox as cl, type TestInboxAddressOptions as cm, type TestInboxEmail as cn, type TestInboxEmailDetail as co, type TestInboxHeader as cp, TestInboxResource as cq, type TestInboxUsage as cr, type TriggerEventParams as cs, type TriggerEventResult as ct, type TwilioIntegrationResponse as cu, type TwilioIntegrationStatus as cv, type UpdateAutomationParams as cw, type UpdateBrandParams as cx, type UpdateBurrowGuardSiteParams as cy, type UpdateDomainParams as cz, type ApiKeyScope as d, type ApplyDnsParams as e, type ApplyDnsRecordResult as f, type ApplyDnsResult as g, type Asset as h, type Automation as i, type AutomationBranchQuestion as j, type AutomationBranchStep as k, type AutomationInlineEmail as l, type AutomationResult as m, type AutomationRun as n, type AutomationRunResponse as o, type AutomationRunStatus as p, type AutomationRunStep as q, type AutomationRunStepStatus as r, type AutomationSendEmailStep as s, type AutomationStatus as t, type AutomationStep as u, type AutomationTemplateEmail as v, type AutomationTrigger as w, type BatchSendEmailResult as x, type BounceType as y, type Brand as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiErrorBody, D as DnsRecord } from './client-
|
|
2
|
-
export { a as ApiErrorCode, b as ApiKey, c as ApiKeyMigrationParams, d as ApiKeyScope, e as ApplyDnsParams, f as ApplyDnsRecordResult, g as ApplyDnsResult, h as Asset, i as Automation, j as AutomationBranchQuestion, k as AutomationBranchStep, l as AutomationInlineEmail, m as AutomationResult, n as AutomationRun, o as AutomationRunResponse, p as AutomationRunStatus, q as AutomationRunStep, r as AutomationRunStepStatus, s as AutomationSendEmailStep, t as AutomationStatus, u as AutomationStep, v as AutomationTemplateEmail, w as AutomationTrigger, B as Batch, x as BatchSendEmailResult, y as BounceType, z as Brand, C as BrandLogo, E as BrandSettings, F as BurrowGuardCheck, H as BurrowGuardReason, I as BurrowGuardResource, J as BurrowGuardSite, K as BurrowGuardSiteWithSecret, L as BurrowGuardVerifyParams, M as BurrowGuardVerifyResult, N as CancelBatchResult, O as CategoryOptOut, P as CategoryOptOutCategory, Q as CategoryUnsubscribedErrorDetails, R as ConnectTwilioParams, T as ContactWebhookEventPayload, U as CreateApiKeyParams, V as CreateApiKeyResult, W as CreateAutomationParams, X as CreateBurrowGuardSiteParams, Y as CreateDomainParams, Z as CreateDomainResult, _ as CreateMailboxParams, $ as CreateMigrationParams, a0 as CreateSenderParams, a1 as CreateSuppressionParams, a2 as CreateTemplateParams, a3 as CreateTenantParams, a4 as CreateWebhookParams, a5 as DEFAULT_API_BASE_URL, a6 as DailyRampLimitErrorDetails, a7 as DeleteMailboxResult, a8 as DeleteTenantResult, a9 as DeliverabilityBucket, aa as DeliverabilityDomainInsight, ab as DeliverabilityInsightsResult, ac as DeliverabilityMailServerRelay, ad as DeliverabilityWindow, ae as DmarcDailyPoint, af as DmarcMonitoring, ag as DmarcMonitoringDisabled, ah as DmarcReadiness, ai as DmarcReadinessVerdict, aj as DmarcSource, ak as DmarcSourceStatus, al as DmarcStatus, am as DnsProviderName, an as Domain, ao as DomainBimiAnalysis, ap as DomainBlocklistListing, aq as DomainBlocklistStatus, ar as DomainBlocklists, as as DomainDetailResult, at as DomainDmarcAnalysis, au as DomainDnsAnalysis, av as DomainStatus, aw as DomainTlsMode, ax as DomainTrackingDns, ay as DomainTrackingStatus, az as EmailDelivery, aA as EmailListItem, aB as EmailWebhookEventPayload, aC as EmailWebhookEventType, aD as EnableDmarcParams, aE as EnableDmarcResult, aF as EnrollmentSkip, aG as EventRecord, aH as ForwardMailboxParams, aI as GetMailboxThreadParams, G as Groundmail, aJ as GroundmailAccessToken, aK as GroundmailOptions, aL as GroundmailTokenOptions, aM as GroundmailTokenProvider, aN as HeldBackErrorDetails, aO as HeldBackReason, aP as HeldBackRecipient, aQ as InReplyToEmail, aR as
|
|
1
|
+
import { A as ApiErrorBody, D as DnsRecord } from './client-MurwiqdG.js';
|
|
2
|
+
export { a as ApiErrorCode, b as ApiKey, c as ApiKeyMigrationParams, d as ApiKeyScope, e as ApplyDnsParams, f as ApplyDnsRecordResult, g as ApplyDnsResult, h as Asset, i as Automation, j as AutomationBranchQuestion, k as AutomationBranchStep, l as AutomationInlineEmail, m as AutomationResult, n as AutomationRun, o as AutomationRunResponse, p as AutomationRunStatus, q as AutomationRunStep, r as AutomationRunStepStatus, s as AutomationSendEmailStep, t as AutomationStatus, u as AutomationStep, v as AutomationTemplateEmail, w as AutomationTrigger, B as Batch, x as BatchSendEmailResult, y as BounceType, z as Brand, C as BrandLogo, E as BrandSettings, F as BurrowGuardCheck, H as BurrowGuardReason, I as BurrowGuardResource, J as BurrowGuardSite, K as BurrowGuardSiteWithSecret, L as BurrowGuardVerifyParams, M as BurrowGuardVerifyResult, N as CancelBatchResult, O as CategoryOptOut, P as CategoryOptOutCategory, Q as CategoryUnsubscribedErrorDetails, R as ConnectTwilioParams, T as ContactWebhookEventPayload, U as CreateApiKeyParams, V as CreateApiKeyResult, W as CreateAutomationParams, X as CreateBurrowGuardSiteParams, Y as CreateDomainParams, Z as CreateDomainResult, _ as CreateMailboxParams, $ as CreateMigrationParams, a0 as CreateSenderParams, a1 as CreateSuppressionParams, a2 as CreateTemplateParams, a3 as CreateTenantParams, a4 as CreateWebhookParams, a5 as DEFAULT_API_BASE_URL, a6 as DailyRampLimitErrorDetails, a7 as DeleteMailboxResult, a8 as DeleteTenantResult, a9 as DeliverabilityBucket, aa as DeliverabilityDomainInsight, ab as DeliverabilityInsightsResult, ac as DeliverabilityMailServerRelay, ad as DeliverabilityWindow, ae as DmarcDailyPoint, af as DmarcMonitoring, ag as DmarcMonitoringDisabled, ah as DmarcReadiness, ai as DmarcReadinessVerdict, aj as DmarcSource, ak as DmarcSourceStatus, al as DmarcStatus, am as DnsProviderName, an as Domain, ao as DomainBimiAnalysis, ap as DomainBlocklistListing, aq as DomainBlocklistStatus, ar as DomainBlocklists, as as DomainDetailResult, at as DomainDmarcAnalysis, au as DomainDnsAnalysis, av as DomainStatus, aw as DomainTlsMode, ax as DomainTrackingDns, ay as DomainTrackingStatus, az as EmailDelivery, aA as EmailListItem, aB as EmailWebhookEventPayload, aC as EmailWebhookEventType, aD as EnableDmarcParams, aE as EnableDmarcResult, aF as EnrollmentSkip, aG as EventRecord, aH as ForwardMailboxParams, aI as GetMailboxThreadParams, G as Groundmail, aJ as GroundmailAccessToken, aK as GroundmailOptions, aL as GroundmailTokenOptions, aM as GroundmailTokenProvider, aN as HeldBackErrorDetails, aO as HeldBackReason, aP as HeldBackRecipient, aQ as InReplyToEmail, aR as InstantMailbox, aS as InstantMailboxParams, aT as ListApiKeysParams, aU as ListApiKeysResult, aV as ListAutomationRunsParams, aW as ListAutomationRunsResult, aX as ListAutomationsResult, aY as ListBurrowGuardChecksParams, aZ as ListBurrowGuardChecksResult, a_ as ListCategoryOptOutsParams, a$ as ListCategoryOptOutsResult, b0 as ListDomainsParams, b1 as ListDomainsResult, b2 as ListEmailsParams, b3 as ListEmailsResult, b4 as ListMailboxMessagesParams, b5 as ListMailboxMessagesResult, b6 as ListMailboxThreadsParams, b7 as ListMailboxThreadsResult, b8 as ListMailboxesParams, b9 as ListMailboxesResult, ba as ListReceivedEmailsParams, bb as ListReceivedEmailsResult, bc as ListSendersResult, bd as ListSuppressionsParams, be as ListSuppressionsResult, bf as ListTemplatesParams, bg as ListTemplatesResult, bh as ListTenantDomainsResult, bi as ListTenantsParams, bj as ListTenantsResult, bk as ListTestInboxEmailsParams, bl as ListTestInboxEmailsResult, bm as ListWebhookDeliveriesParams, bn as ListWebhookDeliveriesResult, bo as MAILBOX_WAIT_DEFAULT_MS, bp as MAILBOX_WAIT_MAX_SECONDS, bq as MailServerSigningStatus, br as MailStream, bs as Mailbox, bt as MailboxAttachment, bu as MailboxAttachmentDownload, bv as MailboxForwarding, bw as MailboxMessage, bx as MailboxMessageDetail, by as MailboxMessagesResource, bz as MailboxOutgoingAttachment, bA as MailboxSendResult, bB as MailboxStatus, bC as MailboxThread, bD as MailboxThreadDetail, bE as MailboxThreadsResource, bF as MailboxWebhookEventPayload, bG as MailboxesResource, bH as Migration, bI as MigrationDnsChange, bJ as MigrationDnsPlan, bK as MigrationDomainItem, bL as MigrationItemStatus, bM as MigrationProvider, bN as MigrationResource, bO as MigrationSummary, bP as MigrationTemplateItem, bQ as MigrationTotals, bR as MigrationWebhookItem, bS as ReceivedEmail, bT as ReceivedEmailAttachment, bU as ReceivedEmailAttachmentMeta, bV as RemoteApplyDnsCredentials, bW as RemoveCategoryOptOutOptions, bX as ReplyToMailboxMessageParams, bY as RunMigrationOptions, bZ as SendEmailParams, S as SendEmailResult, b_ as SendMailboxMessageParams, b$ as Sender, c0 as SesMigrationParams, c1 as StreamDeliverability, c2 as SuppressedErrorDetails, c3 as Suppression, c4 as TEST_INBOX_WAIT_DEFAULT_MS, c5 as TEST_INBOX_WAIT_MAX_SECONDS, c6 as Template, c7 as TemplateFormat, c8 as TemplateLintWarning, c9 as TemplateStarter, ca as TemplateStatus, cb as TemplateVersion, cc as Tenant, cd as TenantPauseSource, ce as TenantRamp, cf as TenantStats, cg as TenantStatsResult, ch as TenantStatus, ci as TenantStreamPolicy, cj as TestEmailWebhookParams, ck as TestEmailWebhookResult, cl as TestInbox, cm as TestInboxAddressOptions, cn as TestInboxEmail, co as TestInboxEmailDetail, cp as TestInboxHeader, cq as TestInboxResource, cr as TestInboxUsage, cs as TriggerEventParams, ct as TriggerEventResult, cu as TwilioIntegrationResponse, cv as TwilioIntegrationStatus, cw as UpdateAutomationParams, cx as UpdateBrandParams, cy as UpdateBurrowGuardSiteParams, cz as UpdateDomainParams, cA as UpdateEmailParams, cB as UpdateMailboxMessageParams, cC as UpdateMailboxParams, cD as UpdateMailboxThreadParams, cE as UpdateSenderParams, cF as UpdateTemplateParams, cG as UpdateTenantParams, cH as UpdateWebhookParams, cI as ValidateEmailResult, cJ as ValidationReason, cK as ValidationVerdict, cL as VerifyDomainResult, cM as WaitForMailboxMessageParams, cN as WaitForTestEmailParams, cO as WebhookDelivery, cP as WebhookDeliveryAttempt, cQ as WebhookDeliveryDetail, cR as WebhookDeliveryStatus, cS as WebhookEmailTag, cT as WebhookEndpoint, cU as WebhookEndpointHealth, cV as WebhookEndpointWithSecret, cW as WebhookEventType, cX as createInstantMailbox, cY as mergeMigrations, cZ as normalizeAccessToken } from './client-MurwiqdG.js';
|
|
3
3
|
|
|
4
4
|
type GroundmailErrorOptions = {
|
|
5
5
|
code?: string;
|
package/dist/index.js
CHANGED
|
@@ -13,12 +13,13 @@ import {
|
|
|
13
13
|
TestInboxResource,
|
|
14
14
|
applyDnsRecords,
|
|
15
15
|
buildSignatureHeader,
|
|
16
|
+
createInstantMailbox,
|
|
16
17
|
mergeMigrations,
|
|
17
18
|
mergeSpfInclude,
|
|
18
19
|
normalizeAccessToken,
|
|
19
20
|
signWebhookPayload,
|
|
20
21
|
verifyWebhookSignature
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-P3VC3DHP.js";
|
|
22
23
|
|
|
23
24
|
// src/simulator.ts
|
|
24
25
|
var SIMULATOR_DOMAIN = "simulator.groundmail.dev";
|
|
@@ -57,6 +58,7 @@ export {
|
|
|
57
58
|
TestInboxResource,
|
|
58
59
|
applyDnsRecords,
|
|
59
60
|
buildSignatureHeader,
|
|
61
|
+
createInstantMailbox,
|
|
60
62
|
isSimulatorAddress,
|
|
61
63
|
isTestApiKey,
|
|
62
64
|
mergeMigrations,
|
package/dist/payload.d.ts
CHANGED
package/dist/payload.js
CHANGED