migma 1.0.2 → 1.0.3

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/index.d.mts CHANGED
@@ -353,7 +353,7 @@ interface SendEmailParams {
353
353
  fromName: string;
354
354
  replyTo?: string;
355
355
  subject: string;
356
- /** HTML template string */
356
+ /** Email template raw HTML or a React Email TSX component with a default export */
357
357
  template: string;
358
358
  variables?: Record<string, unknown>;
359
359
  providerType?: ProviderType;
@@ -361,7 +361,11 @@ interface SendEmailParams {
361
361
  conversationId?: string;
362
362
  }
363
363
  interface SendEmailResponse {
364
- [key: string]: unknown;
364
+ id: string;
365
+ provider: string;
366
+ status: string;
367
+ sentCount?: number;
368
+ message?: string;
365
369
  }
366
370
  interface BatchStatus {
367
371
  batchId: string;
package/dist/index.d.ts CHANGED
@@ -353,7 +353,7 @@ interface SendEmailParams {
353
353
  fromName: string;
354
354
  replyTo?: string;
355
355
  subject: string;
356
- /** HTML template string */
356
+ /** Email template raw HTML or a React Email TSX component with a default export */
357
357
  template: string;
358
358
  variables?: Record<string, unknown>;
359
359
  providerType?: ProviderType;
@@ -361,7 +361,11 @@ interface SendEmailParams {
361
361
  conversationId?: string;
362
362
  }
363
363
  interface SendEmailResponse {
364
- [key: string]: unknown;
364
+ id: string;
365
+ provider: string;
366
+ status: string;
367
+ sentCount?: number;
368
+ message?: string;
365
369
  }
366
370
  interface BatchStatus {
367
371
  batchId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "migma",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Official Node.js SDK for the Migma email platform API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",