groundmail 0.14.6 → 0.14.7

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { G as Groundmail } from './client-CWIVF1eb.js';
1
+ import { G as Groundmail } from './client-B4Gk87z2.js';
2
2
 
3
3
  /** Subset of Auth.js theme used for the default magic-link email. */
4
4
  type AuthjsTheme = {
@@ -1,4 +1,4 @@
1
- import { S as SendEmailResult, G as Groundmail } from './client-CWIVF1eb.js';
1
+ import { S as SendEmailResult, G as Groundmail } from './client-B4Gk87z2.js';
2
2
 
3
3
  type BetterAuthEmailUser = {
4
4
  email: string;
package/dist/clerk.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as Groundmail, S as SendEmailResult } from './client-CWIVF1eb.js';
1
+ import { G as Groundmail, S as SendEmailResult } from './client-B4Gk87z2.js';
2
2
 
3
3
  /**
4
4
  * Subset of Clerk `email.created` webhook `data` used for delivery.
@@ -51,8 +51,12 @@ type SendEmailParams = {
51
51
  idempotencyKey?: string;
52
52
  /** Opt in to managed unsubscribe for this send. */
53
53
  unsubscribe?: boolean;
54
- /** Optional category override for preference management. */
55
- category?: 'transactional' | 'product' | 'newsletter';
54
+ /**
55
+ * Optional category override. `product` (onboarding, lifecycle, notifications)
56
+ * honours category opt-outs and is sent from a separate IP pool. `newsletter`
57
+ * is not accepted: Groundmail is for transactional and product email.
58
+ */
59
+ category?: 'transactional' | 'product';
56
60
  };
57
61
  type SendEmailResult = {
58
62
  id: string;
@@ -550,7 +554,7 @@ type CreateTemplateParams = {
550
554
  alias?: string;
551
555
  variables?: string[];
552
556
  unsubscribe_enabled?: boolean;
553
- category?: 'transactional' | 'product' | 'newsletter';
557
+ category?: 'transactional' | 'product';
554
558
  };
555
559
  type TemplateStarter = {
556
560
  alias: string;
@@ -575,7 +579,7 @@ type UpdateTemplateParams = {
575
579
  alias?: string | null;
576
580
  variables?: string[] | null;
577
581
  unsubscribe_enabled?: boolean;
578
- category?: 'transactional' | 'product' | 'newsletter' | null;
582
+ category?: 'transactional' | 'product' | null;
579
583
  };
580
584
  type GroundmailOptions = {
581
585
  baseUrl?: string;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiErrorBody, D as DnsRecord } from './client-CWIVF1eb.js';
2
- export { a as ApiErrorCode, b as ApiKey, c as ApiKeyScope, d as ApplyDnsParams, e as ApplyDnsRecordResult, f as ApplyDnsResult, g as Asset, h as Automation, i as AutomationResult, j as AutomationRun, k as AutomationRunResponse, l as AutomationRunStatus, m as AutomationRunStep, n as AutomationRunStepStatus, o as AutomationStatus, p as AutomationStep, q as AutomationTrigger, B as BatchSendEmailResult, C as CategoryUnsubscribedErrorDetails, r as ConnectTwilioParams, s as ContactWebhookEventPayload, t as CreateApiKeyParams, u as CreateApiKeyResult, v as CreateAutomationParams, w as CreateDomainParams, x as CreateDomainResult, y as CreateMigrationParams, z as CreateSuppressionParams, E as CreateTemplateParams, F as CreateWebhookParams, H as DEFAULT_API_BASE_URL, I as DeliverabilityBucket, J as DeliverabilityDomainInsight, K as DeliverabilityInsightsResult, L as DeliverabilityMailServerRelay, M as DeliverabilityWindow, N as DnsProviderName, O as Domain, P as DomainBimiAnalysis, Q as DomainDetailResult, R as DomainDmarcAnalysis, T as DomainDnsAnalysis, U as DomainStatus, V as DomainTlsMode, W as DomainTrackingDns, X as DomainTrackingStatus, Y as EmailListItem, Z as EmailWebhookEventType, _ as EnrollmentSkip, $ as EventRecord, G as Groundmail, a0 as GroundmailOptions, a1 as ListApiKeysParams, a2 as ListApiKeysResult, a3 as ListAutomationRunsParams, a4 as ListAutomationRunsResult, a5 as ListAutomationsResult, a6 as ListDomainsParams, a7 as ListDomainsResult, a8 as ListEmailsParams, a9 as ListEmailsResult, aa as ListReceivedEmailsParams, ab as ListReceivedEmailsResult, ac as ListSuppressionsParams, ad as ListSuppressionsResult, ae as ListTemplatesParams, af as ListTemplatesResult, ag as MailServerSigningStatus, ah as Migration, ai as MigrationDomainItem, aj as MigrationItemStatus, ak as MigrationProvider, al as MigrationResource, am as MigrationTemplateItem, an as MigrationTotals, ao as MigrationWebhookItem, ap as ReceivedEmail, aq as ReceivedEmailAttachment, ar as ReceivedEmailAttachmentMeta, as as RemoteApplyDnsCredentials, at as RunMigrationOptions, au as SendEmailParams, S as SendEmailResult, av as SuppressedErrorDetails, aw as Suppression, ax as Template, ay as TemplateFormat, az as TemplateLintWarning, aA as TemplateStarter, aB as TemplateStatus, aC as TemplateVersion, aD as TestEmailWebhookParams, aE as TestEmailWebhookResult, aF as TriggerEventParams, aG as TriggerEventResult, aH as TwilioIntegrationResponse, aI as TwilioIntegrationStatus, aJ as UpdateAutomationParams, aK as UpdateDomainParams, aL as UpdateEmailParams, aM as UpdateTemplateParams, aN as UpdateWebhookParams, aO as VerifyDomainResult, aP as WebhookEndpoint, aQ as WebhookEndpointWithSecret, aR as WebhookEventType, aS as mergeMigrations } from './client-CWIVF1eb.js';
1
+ import { A as ApiErrorBody, D as DnsRecord } from './client-B4Gk87z2.js';
2
+ export { a as ApiErrorCode, b as ApiKey, c as ApiKeyScope, d as ApplyDnsParams, e as ApplyDnsRecordResult, f as ApplyDnsResult, g as Asset, h as Automation, i as AutomationResult, j as AutomationRun, k as AutomationRunResponse, l as AutomationRunStatus, m as AutomationRunStep, n as AutomationRunStepStatus, o as AutomationStatus, p as AutomationStep, q as AutomationTrigger, B as BatchSendEmailResult, C as CategoryUnsubscribedErrorDetails, r as ConnectTwilioParams, s as ContactWebhookEventPayload, t as CreateApiKeyParams, u as CreateApiKeyResult, v as CreateAutomationParams, w as CreateDomainParams, x as CreateDomainResult, y as CreateMigrationParams, z as CreateSuppressionParams, E as CreateTemplateParams, F as CreateWebhookParams, H as DEFAULT_API_BASE_URL, I as DeliverabilityBucket, J as DeliverabilityDomainInsight, K as DeliverabilityInsightsResult, L as DeliverabilityMailServerRelay, M as DeliverabilityWindow, N as DnsProviderName, O as Domain, P as DomainBimiAnalysis, Q as DomainDetailResult, R as DomainDmarcAnalysis, T as DomainDnsAnalysis, U as DomainStatus, V as DomainTlsMode, W as DomainTrackingDns, X as DomainTrackingStatus, Y as EmailListItem, Z as EmailWebhookEventType, _ as EnrollmentSkip, $ as EventRecord, G as Groundmail, a0 as GroundmailOptions, a1 as ListApiKeysParams, a2 as ListApiKeysResult, a3 as ListAutomationRunsParams, a4 as ListAutomationRunsResult, a5 as ListAutomationsResult, a6 as ListDomainsParams, a7 as ListDomainsResult, a8 as ListEmailsParams, a9 as ListEmailsResult, aa as ListReceivedEmailsParams, ab as ListReceivedEmailsResult, ac as ListSuppressionsParams, ad as ListSuppressionsResult, ae as ListTemplatesParams, af as ListTemplatesResult, ag as MailServerSigningStatus, ah as Migration, ai as MigrationDomainItem, aj as MigrationItemStatus, ak as MigrationProvider, al as MigrationResource, am as MigrationTemplateItem, an as MigrationTotals, ao as MigrationWebhookItem, ap as ReceivedEmail, aq as ReceivedEmailAttachment, ar as ReceivedEmailAttachmentMeta, as as RemoteApplyDnsCredentials, at as RunMigrationOptions, au as SendEmailParams, S as SendEmailResult, av as SuppressedErrorDetails, aw as Suppression, ax as Template, ay as TemplateFormat, az as TemplateLintWarning, aA as TemplateStarter, aB as TemplateStatus, aC as TemplateVersion, aD as TestEmailWebhookParams, aE as TestEmailWebhookResult, aF as TriggerEventParams, aG as TriggerEventResult, aH as TwilioIntegrationResponse, aI as TwilioIntegrationStatus, aJ as UpdateAutomationParams, aK as UpdateDomainParams, aL as UpdateEmailParams, aM as UpdateTemplateParams, aN as UpdateWebhookParams, aO as VerifyDomainResult, aP as WebhookEndpoint, aQ as WebhookEndpointWithSecret, aR as WebhookEventType, aS as mergeMigrations } from './client-B4Gk87z2.js';
3
3
 
4
4
  type GroundmailErrorOptions = {
5
5
  code?: string;
package/dist/payload.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as Groundmail } from './client-CWIVF1eb.js';
1
+ import { G as Groundmail } from './client-B4Gk87z2.js';
2
2
 
3
3
  /**
4
4
  * Minimal Payload `SendEmailOptions` / address shapes used by this adapter.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "groundmail",
3
- "version": "0.14.6",
3
+ "version": "0.14.7",
4
4
  "description": "Groundmail transactional email API client",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -89,7 +89,7 @@
89
89
  "prepublishOnly": "npm run build && npm run build:nodemailer-bridge"
90
90
  },
91
91
  "dependencies": {
92
- "groundmail-nodemailer": "0.14.6"
92
+ "groundmail-nodemailer": "0.14.7"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@types/nodemailer": "^8.0.1",