@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 CHANGED
@@ -25,7 +25,7 @@ interface SendEmailParams {
25
25
  senderName?: string;
26
26
  replyTo?: string;
27
27
  textBody?: string;
28
- priority?: 'low' | 'normal' | 'high';
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: `'high'` drains before `'normal'`,
68
- * which drains before `'low'` (default `'normal'`). Use `'low'` for large
69
- * backfill campaigns so transactional / time-sensitive sends jump ahead.
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?: 'low' | 'normal' | 'high';
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?: 'low' | 'normal' | 'high';
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?: 'low' | 'normal' | 'high';
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: `'high'` drains before `'normal'`,
68
- * which drains before `'low'` (default `'normal'`). Use `'low'` for large
69
- * backfill campaigns so transactional / time-sensitive sends jump ahead.
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?: 'low' | 'normal' | 'high';
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?: 'low' | 'normal' | 'high';
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masters-union/outbound-sdk",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Official Node.js SDK for the Outbound Email SaaS platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",