@masters-union/outbound-sdk 0.2.5 → 0.2.6
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 +12 -6
- package/dist/index.d.ts +12 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -25,7 +25,7 @@ interface SendEmailParams {
|
|
|
25
25
|
senderName?: string;
|
|
26
26
|
replyTo?: string;
|
|
27
27
|
textBody?: string;
|
|
28
|
-
priority?: '
|
|
28
|
+
priority?: 'urgent' | 'high' | 'normal' | 'low';
|
|
29
29
|
idempotencyKey?: string;
|
|
30
30
|
campaignId?: string;
|
|
31
31
|
metadata?: Record<string, unknown>;
|
|
@@ -64,11 +64,11 @@ interface BulkEmailParams {
|
|
|
64
64
|
senderName?: string;
|
|
65
65
|
replyTo?: string;
|
|
66
66
|
/**
|
|
67
|
-
* Queue priority for the whole batch
|
|
68
|
-
*
|
|
69
|
-
*
|
|
67
|
+
* Queue priority for the whole batch, highest-urgency first:
|
|
68
|
+
* `'urgent'` → `'high'` → `'normal'` (default) → `'low'`. Unrecognized values are treated as `'normal'`. Use `'low'` for large backfill campaigns so
|
|
69
|
+
* transactional / time-sensitive sends jump ahead.
|
|
70
70
|
*/
|
|
71
|
-
priority?: '
|
|
71
|
+
priority?: 'urgent' | 'high' | 'normal' | 'low';
|
|
72
72
|
idempotencyKey?: string;
|
|
73
73
|
campaignId?: string;
|
|
74
74
|
/**
|
|
@@ -238,7 +238,7 @@ interface TemplateSendParams {
|
|
|
238
238
|
ccEmail?: string;
|
|
239
239
|
bccEmail?: string;
|
|
240
240
|
variables?: Record<string, string>;
|
|
241
|
-
priority?: '
|
|
241
|
+
priority?: 'urgent' | 'high' | 'normal' | 'low';
|
|
242
242
|
idempotencyKey?: string;
|
|
243
243
|
campaignId?: string;
|
|
244
244
|
metadata?: Record<string, unknown>;
|
|
@@ -250,6 +250,12 @@ interface TemplateBulkSendParams {
|
|
|
250
250
|
fromEmail: string;
|
|
251
251
|
senderName?: string;
|
|
252
252
|
replyTo?: string;
|
|
253
|
+
/**
|
|
254
|
+
* Queue priority for the whole batch, highest-urgency first:
|
|
255
|
+
* `'urgent'` → `'high'` → `'normal'` (default) → `'low'`. Unrecognized values are treated as `'normal'`. Use `'low'` for large backfill campaigns so
|
|
256
|
+
* transactional / time-sensitive sends jump ahead.
|
|
257
|
+
*/
|
|
258
|
+
priority?: 'urgent' | 'high' | 'normal' | 'low';
|
|
253
259
|
idempotencyKey?: string;
|
|
254
260
|
campaignId?: string;
|
|
255
261
|
recipients: TemplateBulkRecipient[];
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ interface SendEmailParams {
|
|
|
25
25
|
senderName?: string;
|
|
26
26
|
replyTo?: string;
|
|
27
27
|
textBody?: string;
|
|
28
|
-
priority?: '
|
|
28
|
+
priority?: 'urgent' | 'high' | 'normal' | 'low';
|
|
29
29
|
idempotencyKey?: string;
|
|
30
30
|
campaignId?: string;
|
|
31
31
|
metadata?: Record<string, unknown>;
|
|
@@ -64,11 +64,11 @@ interface BulkEmailParams {
|
|
|
64
64
|
senderName?: string;
|
|
65
65
|
replyTo?: string;
|
|
66
66
|
/**
|
|
67
|
-
* Queue priority for the whole batch
|
|
68
|
-
*
|
|
69
|
-
*
|
|
67
|
+
* Queue priority for the whole batch, highest-urgency first:
|
|
68
|
+
* `'urgent'` → `'high'` → `'normal'` (default) → `'low'`. Unrecognized values are treated as `'normal'`. Use `'low'` for large backfill campaigns so
|
|
69
|
+
* transactional / time-sensitive sends jump ahead.
|
|
70
70
|
*/
|
|
71
|
-
priority?: '
|
|
71
|
+
priority?: 'urgent' | 'high' | 'normal' | 'low';
|
|
72
72
|
idempotencyKey?: string;
|
|
73
73
|
campaignId?: string;
|
|
74
74
|
/**
|
|
@@ -238,7 +238,7 @@ interface TemplateSendParams {
|
|
|
238
238
|
ccEmail?: string;
|
|
239
239
|
bccEmail?: string;
|
|
240
240
|
variables?: Record<string, string>;
|
|
241
|
-
priority?: '
|
|
241
|
+
priority?: 'urgent' | 'high' | 'normal' | 'low';
|
|
242
242
|
idempotencyKey?: string;
|
|
243
243
|
campaignId?: string;
|
|
244
244
|
metadata?: Record<string, unknown>;
|
|
@@ -250,6 +250,12 @@ interface TemplateBulkSendParams {
|
|
|
250
250
|
fromEmail: string;
|
|
251
251
|
senderName?: string;
|
|
252
252
|
replyTo?: string;
|
|
253
|
+
/**
|
|
254
|
+
* Queue priority for the whole batch, highest-urgency first:
|
|
255
|
+
* `'urgent'` → `'high'` → `'normal'` (default) → `'low'`. Unrecognized values are treated as `'normal'`. Use `'low'` for large backfill campaigns so
|
|
256
|
+
* transactional / time-sensitive sends jump ahead.
|
|
257
|
+
*/
|
|
258
|
+
priority?: 'urgent' | 'high' | 'normal' | 'low';
|
|
253
259
|
idempotencyKey?: string;
|
|
254
260
|
campaignId?: string;
|
|
255
261
|
recipients: TemplateBulkRecipient[];
|