groundmail 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- 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-ARI5MWK4.js → chunk-HMOQDJOX.js} +18 -0
- package/dist/clerk.d.ts +1 -1
- package/dist/clerk.js +1 -1
- package/dist/{client-BZPPEFB1.d.ts → client-BZWkihNZ.d.ts} +141 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/payload.d.ts +1 -1
- package/dist/payload.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,6 +94,27 @@ await tx.emails.send({ sender: 'billing', to: 'user@example.com', template: { id
|
|
|
94
94
|
Also `tx.senders.list()`, `get`, `update` and `remove`, and `sender_id` on templates. Details:
|
|
95
95
|
https://docs.groundmail.dev/senders
|
|
96
96
|
|
|
97
|
+
## Brand
|
|
98
|
+
|
|
99
|
+
Set your logo, colours and footer once. Templates follow the brand unless they override a
|
|
100
|
+
setting, and new templates and starter copies get your logo on top and your company name,
|
|
101
|
+
address and website in the footer.
|
|
102
|
+
|
|
103
|
+
```ts
|
|
104
|
+
await tx.brand.update({
|
|
105
|
+
logo: { url: 'https://cdn.acme.com/logo.png', align: 'left' },
|
|
106
|
+
accent_color: '#2f6feb',
|
|
107
|
+
settings: { linkColor: '#2f6feb', theme: { buttonBackground: '#2f6feb', buttonTextColor: '#ffffff' } },
|
|
108
|
+
company_name: 'Acme Inc',
|
|
109
|
+
address: '548 Market St, San Francisco, CA 94104',
|
|
110
|
+
website: 'acme.com',
|
|
111
|
+
})
|
|
112
|
+
|
|
113
|
+
const { brand } = await tx.brand.get()
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Details: https://docs.groundmail.dev/brand
|
|
117
|
+
|
|
97
118
|
## Tenants
|
|
98
119
|
|
|
99
120
|
If you send email for your own customers, create one tenant per customer. Each tenant has its
|
package/dist/authjs.d.ts
CHANGED
package/dist/authjs.js
CHANGED
package/dist/better-auth.d.ts
CHANGED
package/dist/better-auth.js
CHANGED
|
@@ -1859,6 +1859,23 @@ var SendersResource = class {
|
|
|
1859
1859
|
}
|
|
1860
1860
|
};
|
|
1861
1861
|
|
|
1862
|
+
// src/brand.ts
|
|
1863
|
+
var BrandResource = class {
|
|
1864
|
+
constructor(client) {
|
|
1865
|
+
this.client = client;
|
|
1866
|
+
}
|
|
1867
|
+
async get() {
|
|
1868
|
+
return this.client.request("/brand", { method: "GET" });
|
|
1869
|
+
}
|
|
1870
|
+
/** Update the brand. Fields left out keep their value; `null` clears one. */
|
|
1871
|
+
async update(params) {
|
|
1872
|
+
return this.client.request("/brand", {
|
|
1873
|
+
method: "PUT",
|
|
1874
|
+
body: JSON.stringify(params)
|
|
1875
|
+
});
|
|
1876
|
+
}
|
|
1877
|
+
};
|
|
1878
|
+
|
|
1862
1879
|
// src/suppressions.ts
|
|
1863
1880
|
var SuppressionsResource = class {
|
|
1864
1881
|
constructor(client) {
|
|
@@ -2151,6 +2168,7 @@ var _Groundmail = class _Groundmail {
|
|
|
2151
2168
|
this.suppressions = new SuppressionsResource(this);
|
|
2152
2169
|
this.templates = new TemplatesResource(this);
|
|
2153
2170
|
this.senders = new SendersResource(this);
|
|
2171
|
+
this.brand = new BrandResource(this);
|
|
2154
2172
|
this.tenants = new TenantsResource(this);
|
|
2155
2173
|
this.migrations = new MigrationsResource(this);
|
|
2156
2174
|
this.dmarc = new DmarcResource(this);
|
package/dist/clerk.d.ts
CHANGED
package/dist/clerk.js
CHANGED
|
@@ -629,10 +629,56 @@ type AutomationBranchStep = {
|
|
|
629
629
|
then: AutomationStep[];
|
|
630
630
|
else: AutomationStep[];
|
|
631
631
|
};
|
|
632
|
+
/** Who an automation email is from and to, and what it overrides for its step. */
|
|
633
|
+
type AutomationEmailAddressing = {
|
|
634
|
+
/** A sender address. Use this or `sender`. */
|
|
635
|
+
from?: string;
|
|
636
|
+
/** A saved sender's handle (`GET /senders`), looked up when the email sends. */
|
|
637
|
+
sender?: string;
|
|
638
|
+
/** Usually `'{{event.email}}'`. */
|
|
639
|
+
to: string | string[];
|
|
640
|
+
reply_to?: string | string[];
|
|
641
|
+
category?: 'transactional' | 'product';
|
|
642
|
+
tags?: {
|
|
643
|
+
name: string;
|
|
644
|
+
value: string;
|
|
645
|
+
}[];
|
|
646
|
+
headers?: Record<string, string>;
|
|
647
|
+
[key: string]: unknown;
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
* The email an automation step sends: a published template, by id or alias,
|
|
651
|
+
* with its fields filled from the run. Publishing a new version of the
|
|
652
|
+
* template changes every step that sends it. The template can also read the
|
|
653
|
+
* run directly: `{{event.data.plan}}`, `{{contact.email}}`.
|
|
654
|
+
*/
|
|
655
|
+
type AutomationTemplateEmail = AutomationEmailAddressing & {
|
|
656
|
+
template: {
|
|
657
|
+
/** The template's id or alias. */
|
|
658
|
+
id: string;
|
|
659
|
+
/** A value for each of the template's fields, e.g. `{ name: '{{event.data.name}}' }`. */
|
|
660
|
+
variables?: Record<string, string>;
|
|
661
|
+
};
|
|
662
|
+
/** This step's subject instead of the template's. */
|
|
663
|
+
subject?: string;
|
|
664
|
+
html?: never;
|
|
665
|
+
text?: never;
|
|
666
|
+
};
|
|
667
|
+
/** An email written into the step from code (no template): its own subject and body. */
|
|
668
|
+
type AutomationInlineEmail = AutomationEmailAddressing & {
|
|
669
|
+
template?: never;
|
|
670
|
+
subject: string;
|
|
671
|
+
html?: string;
|
|
672
|
+
text?: string;
|
|
673
|
+
};
|
|
674
|
+
type AutomationSendEmailStep = {
|
|
675
|
+
type: 'send_email';
|
|
676
|
+
email: AutomationTemplateEmail | AutomationInlineEmail;
|
|
677
|
+
};
|
|
632
678
|
type AutomationStep = {
|
|
633
|
-
type: 'delay' | '
|
|
679
|
+
type: 'delay' | 'send_sms' | 'condition' | 'wait_for_event';
|
|
634
680
|
[key: string]: unknown;
|
|
635
|
-
} | AutomationBranchStep;
|
|
681
|
+
} | AutomationSendEmailStep | AutomationBranchStep;
|
|
636
682
|
type TwilioIntegrationStatus = {
|
|
637
683
|
connected: boolean;
|
|
638
684
|
hint: string | null;
|
|
@@ -1616,6 +1662,79 @@ type WaitForTestEmailParams = {
|
|
|
1616
1662
|
/** Only emails received at or after this time. */
|
|
1617
1663
|
since?: Date | string;
|
|
1618
1664
|
};
|
|
1665
|
+
/**
|
|
1666
|
+
* The look every template follows: the same settings as a template's
|
|
1667
|
+
* `design.settings` (colours, fonts, button style, global CSS), any subset.
|
|
1668
|
+
*/
|
|
1669
|
+
type BrandSettings = {
|
|
1670
|
+
backgroundColor?: string;
|
|
1671
|
+
contentBackgroundColor?: string;
|
|
1672
|
+
contentWidth?: number;
|
|
1673
|
+
fontFamily?: string;
|
|
1674
|
+
fontUrl?: string;
|
|
1675
|
+
textColor?: string;
|
|
1676
|
+
linkColor?: string;
|
|
1677
|
+
darkMode?: 'auto' | 'off';
|
|
1678
|
+
colorScheme?: 'dark';
|
|
1679
|
+
pagePadding?: {
|
|
1680
|
+
top: number;
|
|
1681
|
+
right: number;
|
|
1682
|
+
bottom: number;
|
|
1683
|
+
left: number;
|
|
1684
|
+
};
|
|
1685
|
+
globalCss?: string;
|
|
1686
|
+
theme?: {
|
|
1687
|
+
headingFontSize?: {
|
|
1688
|
+
1: number;
|
|
1689
|
+
2: number;
|
|
1690
|
+
3: number;
|
|
1691
|
+
};
|
|
1692
|
+
bodyFontSize?: number;
|
|
1693
|
+
lineHeight?: number;
|
|
1694
|
+
buttonRadius?: number;
|
|
1695
|
+
buttonBackground?: string;
|
|
1696
|
+
buttonTextColor?: string;
|
|
1697
|
+
blockSpacing?: number;
|
|
1698
|
+
buttonFontSize?: number;
|
|
1699
|
+
buttonFontWeight?: number;
|
|
1700
|
+
buttonHeight?: number;
|
|
1701
|
+
buttonPaddingX?: number;
|
|
1702
|
+
buttonBorderColor?: string;
|
|
1703
|
+
};
|
|
1704
|
+
};
|
|
1705
|
+
type BrandLogo = {
|
|
1706
|
+
/** An https image URL. */
|
|
1707
|
+
url: string;
|
|
1708
|
+
/** Width in px the logo is drawn at (24–552). Default 120. */
|
|
1709
|
+
width?: number | null;
|
|
1710
|
+
align: 'left' | 'center';
|
|
1711
|
+
};
|
|
1712
|
+
/** Your workspace brand: the look templates follow, the logo header and the company footer. */
|
|
1713
|
+
type Brand = {
|
|
1714
|
+
/** False until anything is set. */
|
|
1715
|
+
is_set: boolean;
|
|
1716
|
+
settings: BrandSettings;
|
|
1717
|
+
logo: BrandLogo | null;
|
|
1718
|
+
/** The line across the top of every email. */
|
|
1719
|
+
accent_color: string | null;
|
|
1720
|
+
company_name: string | null;
|
|
1721
|
+
/** Mailing address for the footer. */
|
|
1722
|
+
address: string | null;
|
|
1723
|
+
website: string | null;
|
|
1724
|
+
updated_at: string | null;
|
|
1725
|
+
};
|
|
1726
|
+
/**
|
|
1727
|
+
* Fields left out keep their value; `null` clears one. `settings`, when sent,
|
|
1728
|
+
* replaces the brand's settings.
|
|
1729
|
+
*/
|
|
1730
|
+
type UpdateBrandParams = {
|
|
1731
|
+
settings?: BrandSettings;
|
|
1732
|
+
logo?: BrandLogo | null;
|
|
1733
|
+
accent_color?: string | null;
|
|
1734
|
+
company_name?: string | null;
|
|
1735
|
+
address?: string | null;
|
|
1736
|
+
website?: string | null;
|
|
1737
|
+
};
|
|
1619
1738
|
|
|
1620
1739
|
declare class AutomationsResource {
|
|
1621
1740
|
private readonly client;
|
|
@@ -1907,6 +2026,23 @@ declare class SendersResource {
|
|
|
1907
2026
|
}>;
|
|
1908
2027
|
}
|
|
1909
2028
|
|
|
2029
|
+
/**
|
|
2030
|
+
* Your workspace brand: the look every template follows unless it overrides a
|
|
2031
|
+
* setting, plus the logo header and the company footer (name, mailing address,
|
|
2032
|
+
* website). Changes reach templates that follow the brand from their next send.
|
|
2033
|
+
*/
|
|
2034
|
+
declare class BrandResource {
|
|
2035
|
+
private readonly client;
|
|
2036
|
+
constructor(client: Groundmail);
|
|
2037
|
+
get(): Promise<{
|
|
2038
|
+
brand: Brand;
|
|
2039
|
+
}>;
|
|
2040
|
+
/** Update the brand. Fields left out keep their value; `null` clears one. */
|
|
2041
|
+
update(params: UpdateBrandParams): Promise<{
|
|
2042
|
+
brand: Brand;
|
|
2043
|
+
}>;
|
|
2044
|
+
}
|
|
2045
|
+
|
|
1910
2046
|
declare class SuppressionsResource {
|
|
1911
2047
|
private readonly client;
|
|
1912
2048
|
constructor(client: Groundmail);
|
|
@@ -2116,6 +2252,8 @@ declare class Groundmail {
|
|
|
2116
2252
|
readonly templates: TemplatesResource;
|
|
2117
2253
|
/** Saved senders: name, address and reply-to that sends name with `sender: 'billing'`. */
|
|
2118
2254
|
readonly senders: SendersResource;
|
|
2255
|
+
/** Your workspace brand: the look, logo and footer every template follows. */
|
|
2256
|
+
readonly brand: BrandResource;
|
|
2119
2257
|
/** Your platform's customers, each with its own domains, suppressions, stats and limits. */
|
|
2120
2258
|
readonly tenants: TenantsResource;
|
|
2121
2259
|
/** Import from SendGrid, Postmark, Mailgun, Resend or Amazon SES (Beta). */
|
|
@@ -2159,4 +2297,4 @@ declare function normalizeAccessToken(value: GroundmailAccessToken | null | unde
|
|
|
2159
2297
|
expiresAt: number | null;
|
|
2160
2298
|
};
|
|
2161
2299
|
|
|
2162
|
-
export { type
|
|
2300
|
+
export { type DeliverabilityInsightsResult as $, type ApiErrorBody as A, type BatchSendEmailResult as B, type BrandSettings as C, type DnsRecord as D, type CategoryOptOut as E, type CategoryOptOutCategory as F, Groundmail as G, type CategoryUnsubscribedErrorDetails as H, type ConnectTwilioParams as I, type ContactWebhookEventPayload as J, type CreateApiKeyParams as K, type CreateApiKeyResult as L, type CreateAutomationParams as M, type CreateDomainParams as N, type CreateDomainResult as O, type CreateMigrationParams as P, type CreateSenderParams as Q, type CreateSuppressionParams as R, type SendEmailResult as S, type CreateTemplateParams as T, type CreateTenantParams as U, type CreateWebhookParams as V, DEFAULT_API_BASE_URL as W, type DailyRampLimitErrorDetails as X, type DeleteTenantResult as Y, type DeliverabilityBucket as Z, type DeliverabilityDomainInsight as _, type ApiErrorCode as a, type MailStream as a$, type DeliverabilityMailServerRelay as a0, type DeliverabilityWindow as a1, type DmarcDailyPoint as a2, type DmarcMonitoring as a3, type DmarcMonitoringDisabled as a4, type DmarcReadiness as a5, type DmarcReadinessVerdict as a6, type DmarcSource as a7, type DmarcSourceStatus as a8, type DmarcStatus as a9, type HeldBackReason as aA, type HeldBackRecipient as aB, type InReplyToEmail as aC, type ListApiKeysParams as aD, type ListApiKeysResult as aE, type ListAutomationRunsParams as aF, type ListAutomationRunsResult as aG, type ListAutomationsResult as aH, type ListCategoryOptOutsParams as aI, type ListCategoryOptOutsResult as aJ, type ListDomainsParams as aK, type ListDomainsResult as aL, type ListEmailsParams as aM, type ListEmailsResult as aN, type ListReceivedEmailsParams as aO, type ListReceivedEmailsResult as aP, type ListSendersResult as aQ, type ListSuppressionsParams as aR, type ListSuppressionsResult as aS, type ListTemplatesParams as aT, type ListTemplatesResult as aU, type ListTenantDomainsResult as aV, type ListTenantsParams as aW, type ListTenantsResult as aX, type ListTestInboxEmailsParams as aY, type ListTestInboxEmailsResult as aZ, type MailServerSigningStatus as a_, type DnsProviderName as aa, type Domain as ab, type DomainBimiAnalysis as ac, type DomainBlocklistListing as ad, type DomainBlocklistStatus as ae, type DomainBlocklists as af, type DomainDetailResult as ag, type DomainDmarcAnalysis as ah, type DomainDnsAnalysis as ai, type DomainStatus as aj, type DomainTlsMode as ak, type DomainTrackingDns as al, type DomainTrackingStatus as am, type EmailDelivery as an, type EmailListItem as ao, type EmailWebhookEventPayload as ap, type EmailWebhookEventType as aq, type EnableDmarcParams as ar, type EnableDmarcResult as as, type EnrollmentSkip as at, type EventRecord as au, type GroundmailAccessToken as av, type GroundmailOptions as aw, type GroundmailTokenOptions as ax, type GroundmailTokenProvider as ay, type HeldBackErrorDetails as az, type ApiKey as b, type WaitForTestEmailParams as b$, type Migration as b0, type MigrationDnsChange as b1, type MigrationDnsPlan as b2, type MigrationDomainItem as b3, type MigrationItemStatus as b4, type MigrationProvider as b5, type MigrationResource as b6, type MigrationSummary as b7, type MigrationTemplateItem as b8, type MigrationTotals as b9, type TenantStatus as bA, type TenantStreamPolicy as bB, type TestEmailWebhookParams as bC, type TestEmailWebhookResult as bD, type TestInbox as bE, type TestInboxAddressOptions as bF, type TestInboxEmail as bG, type TestInboxEmailDetail as bH, type TestInboxHeader as bI, TestInboxResource as bJ, type TestInboxUsage as bK, type TriggerEventParams as bL, type TriggerEventResult as bM, type TwilioIntegrationResponse as bN, type TwilioIntegrationStatus as bO, type UpdateAutomationParams as bP, type UpdateBrandParams as bQ, type UpdateDomainParams as bR, type UpdateEmailParams as bS, type UpdateSenderParams as bT, type UpdateTemplateParams as bU, type UpdateTenantParams as bV, type UpdateWebhookParams as bW, type ValidateEmailResult as bX, type ValidationReason as bY, type ValidationVerdict as bZ, type VerifyDomainResult as b_, type MigrationWebhookItem as ba, type ReceivedEmail as bb, type ReceivedEmailAttachment as bc, type ReceivedEmailAttachmentMeta as bd, type RemoteApplyDnsCredentials as be, type RemoveCategoryOptOutOptions as bf, type RunMigrationOptions as bg, type SendEmailParams as bh, type Sender as bi, type SesMigrationParams as bj, type StreamDeliverability as bk, type SuppressedErrorDetails as bl, type Suppression as bm, TEST_INBOX_WAIT_DEFAULT_MS as bn, TEST_INBOX_WAIT_MAX_SECONDS as bo, type Template as bp, type TemplateFormat as bq, type TemplateLintWarning as br, type TemplateStarter as bs, type TemplateStatus as bt, type TemplateVersion as bu, type Tenant as bv, type TenantPauseSource as bw, type TenantRamp as bx, type TenantStats as by, type TenantStatsResult as bz, type ApiKeyMigrationParams as c, type WebhookEmailTag as c0, type WebhookEndpoint as c1, type WebhookEndpointWithSecret as c2, type WebhookEventType as c3, mergeMigrations as c4, normalizeAccessToken as c5, 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 BounceType as x, type Brand as y, type BrandLogo 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
|
|
1
|
+
import { A as ApiErrorBody, D as DnsRecord } from './client-BZWkihNZ.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 BatchSendEmailResult, x as BounceType, y as Brand, z as BrandLogo, C as BrandSettings, E as CategoryOptOut, F as CategoryOptOutCategory, H as CategoryUnsubscribedErrorDetails, I as ConnectTwilioParams, J as ContactWebhookEventPayload, K as CreateApiKeyParams, L as CreateApiKeyResult, M as CreateAutomationParams, N as CreateDomainParams, O as CreateDomainResult, P as CreateMigrationParams, Q as CreateSenderParams, R as CreateSuppressionParams, T as CreateTemplateParams, U as CreateTenantParams, V as CreateWebhookParams, W as DEFAULT_API_BASE_URL, X as DailyRampLimitErrorDetails, Y as DeleteTenantResult, Z as DeliverabilityBucket, _ as DeliverabilityDomainInsight, $ as DeliverabilityInsightsResult, a0 as DeliverabilityMailServerRelay, a1 as DeliverabilityWindow, a2 as DmarcDailyPoint, a3 as DmarcMonitoring, a4 as DmarcMonitoringDisabled, a5 as DmarcReadiness, a6 as DmarcReadinessVerdict, a7 as DmarcSource, a8 as DmarcSourceStatus, a9 as DmarcStatus, aa as DnsProviderName, ab as Domain, ac as DomainBimiAnalysis, ad as DomainBlocklistListing, ae as DomainBlocklistStatus, af as DomainBlocklists, ag as DomainDetailResult, ah as DomainDmarcAnalysis, ai as DomainDnsAnalysis, aj as DomainStatus, ak as DomainTlsMode, al as DomainTrackingDns, am as DomainTrackingStatus, an as EmailDelivery, ao as EmailListItem, ap as EmailWebhookEventPayload, aq as EmailWebhookEventType, ar as EnableDmarcParams, as as EnableDmarcResult, at as EnrollmentSkip, au as EventRecord, G as Groundmail, av as GroundmailAccessToken, aw as GroundmailOptions, ax as GroundmailTokenOptions, ay as GroundmailTokenProvider, az as HeldBackErrorDetails, aA as HeldBackReason, aB as HeldBackRecipient, aC as InReplyToEmail, aD as ListApiKeysParams, aE as ListApiKeysResult, aF as ListAutomationRunsParams, aG as ListAutomationRunsResult, aH as ListAutomationsResult, aI as ListCategoryOptOutsParams, aJ as ListCategoryOptOutsResult, aK as ListDomainsParams, aL as ListDomainsResult, aM as ListEmailsParams, aN as ListEmailsResult, aO as ListReceivedEmailsParams, aP as ListReceivedEmailsResult, aQ as ListSendersResult, aR as ListSuppressionsParams, aS as ListSuppressionsResult, aT as ListTemplatesParams, aU as ListTemplatesResult, aV as ListTenantDomainsResult, aW as ListTenantsParams, aX as ListTenantsResult, aY as ListTestInboxEmailsParams, aZ as ListTestInboxEmailsResult, a_ as MailServerSigningStatus, a$ as MailStream, b0 as Migration, b1 as MigrationDnsChange, b2 as MigrationDnsPlan, b3 as MigrationDomainItem, b4 as MigrationItemStatus, b5 as MigrationProvider, b6 as MigrationResource, b7 as MigrationSummary, b8 as MigrationTemplateItem, b9 as MigrationTotals, ba as MigrationWebhookItem, bb as ReceivedEmail, bc as ReceivedEmailAttachment, bd as ReceivedEmailAttachmentMeta, be as RemoteApplyDnsCredentials, bf as RemoveCategoryOptOutOptions, bg as RunMigrationOptions, bh as SendEmailParams, S as SendEmailResult, bi as Sender, bj as SesMigrationParams, bk as StreamDeliverability, bl as SuppressedErrorDetails, bm as Suppression, bn as TEST_INBOX_WAIT_DEFAULT_MS, bo as TEST_INBOX_WAIT_MAX_SECONDS, bp as Template, bq as TemplateFormat, br as TemplateLintWarning, bs as TemplateStarter, bt as TemplateStatus, bu as TemplateVersion, bv as Tenant, bw as TenantPauseSource, bx as TenantRamp, by as TenantStats, bz as TenantStatsResult, bA as TenantStatus, bB as TenantStreamPolicy, bC as TestEmailWebhookParams, bD as TestEmailWebhookResult, bE as TestInbox, bF as TestInboxAddressOptions, bG as TestInboxEmail, bH as TestInboxEmailDetail, bI as TestInboxHeader, bJ as TestInboxResource, bK as TestInboxUsage, bL as TriggerEventParams, bM as TriggerEventResult, bN as TwilioIntegrationResponse, bO as TwilioIntegrationStatus, bP as UpdateAutomationParams, bQ as UpdateBrandParams, bR as UpdateDomainParams, bS as UpdateEmailParams, bT as UpdateSenderParams, bU as UpdateTemplateParams, bV as UpdateTenantParams, bW as UpdateWebhookParams, bX as ValidateEmailResult, bY as ValidationReason, bZ as ValidationVerdict, b_ as VerifyDomainResult, b$ as WaitForTestEmailParams, c0 as WebhookEmailTag, c1 as WebhookEndpoint, c2 as WebhookEndpointWithSecret, c3 as WebhookEventType, c4 as mergeMigrations, c5 as normalizeAccessToken } from './client-BZWkihNZ.js';
|
|
3
3
|
|
|
4
4
|
type GroundmailErrorOptions = {
|
|
5
5
|
code?: string;
|
package/dist/index.js
CHANGED
package/dist/payload.d.ts
CHANGED
package/dist/payload.js
CHANGED