@masters-union/outbound-sdk 0.2.3 → 0.2.5

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
@@ -63,6 +63,12 @@ interface BulkEmailParams {
63
63
  emails: BulkEmailRecipient[];
64
64
  senderName?: string;
65
65
  replyTo?: string;
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.
70
+ */
71
+ priority?: 'low' | 'normal' | 'high';
66
72
  idempotencyKey?: string;
67
73
  campaignId?: string;
68
74
  /**
package/dist/index.d.ts CHANGED
@@ -63,6 +63,12 @@ interface BulkEmailParams {
63
63
  emails: BulkEmailRecipient[];
64
64
  senderName?: string;
65
65
  replyTo?: string;
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.
70
+ */
71
+ priority?: 'low' | 'normal' | 'high';
66
72
  idempotencyKey?: string;
67
73
  campaignId?: string;
68
74
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masters-union/outbound-sdk",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
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",