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 +6 -2
- package/dist/index.d.ts +6 -2
- package/package.json +1 -1
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
|
-
/**
|
|
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
|
-
|
|
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
|
-
/**
|
|
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
|
-
|
|
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;
|