@unboundcx/sdk 4.13.131 → 4.13.133

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unboundcx/sdk",
3
- "version": "4.13.131",
3
+ "version": "4.13.133",
4
4
  "description": "Official JavaScript SDK for the Unbound API - A comprehensive toolkit for integrating with Unbound's communication, AI, and data management services",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1129,6 +1129,7 @@ export class TaskService {
1129
1129
  * @param {string} options.taskId
1130
1130
  * @param {string} [options.html]
1131
1131
  * @param {string} [options.text]
1132
+ * @param {string} [options.subject] - explicit subject (journey touch tasks / first email on a task); thread replies omit it and inherit
1132
1133
  * @param {string|string[]} [options.extraTo]
1133
1134
  * @param {string|string[]} [options.extraCc]
1134
1135
  * @param {string|string[]} [options.extraBcc]
@@ -1141,6 +1142,7 @@ export class TaskService {
1141
1142
  taskId,
1142
1143
  html,
1143
1144
  text,
1145
+ subject,
1144
1146
  extraTo,
1145
1147
  extraCc,
1146
1148
  extraBcc,
@@ -1157,6 +1159,7 @@ export class TaskService {
1157
1159
  const body = {};
1158
1160
  if (html !== undefined) body.html = html;
1159
1161
  if (text !== undefined) body.text = text;
1162
+ if (subject !== undefined) body.subject = subject;
1160
1163
  if (extraTo !== undefined) body.extraTo = extraTo;
1161
1164
  if (extraCc !== undefined) body.extraCc = extraCc;
1162
1165
  if (extraBcc !== undefined) body.extraBcc = extraBcc;