@unboundcx/sdk 4.13.113 → 4.13.114

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.113",
3
+ "version": "4.13.114",
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",
@@ -24,6 +24,10 @@ export class SmsService {
24
24
  * @param {string} [params.taskId] - Task the message was sent under (multi-channel-per-task attribution)
25
25
  * @param {boolean} [params.force] - Force-send past a busy-conversation
26
26
  * (409 TEXT_CONVERSATION_BUSY) collision
27
+ * @param {boolean} [params.system] - Internal/master-auth-only: skip
28
+ * people/company auto-link and conversation open/bump, tag the row
29
+ * isSystem=1 (P15, verification-code sends). Ignored unless the caller
30
+ * holds internal/master auth.
27
31
  * @returns {Promise<Object>} Message details
28
32
  */
29
33
  async send({
@@ -38,6 +42,7 @@ export class SmsService {
38
42
  engagementSessionId,
39
43
  taskId,
40
44
  force,
45
+ system,
41
46
  }) {
42
47
  const messageData = {};
43
48
  if (from) messageData.from = from;
@@ -50,6 +55,7 @@ export class SmsService {
50
55
  if (engagementSessionId) messageData.engagementSessionId = engagementSessionId;
51
56
  if (taskId) messageData.taskId = taskId;
52
57
  if (force !== undefined) messageData.force = force;
58
+ if (system !== undefined) messageData.system = system;
53
59
 
54
60
  // `to` is string | string[] (group MMS, up to 8 recipients) --
55
61
  // validated by hand since sdk.validateParams has no multi-type support
@@ -79,6 +85,7 @@ export class SmsService {
79
85
  engagementSessionId: { type: 'string', required: false },
80
86
  taskId: { type: 'string', required: false },
81
87
  force: { type: 'boolean', required: false },
88
+ system: { type: 'boolean', required: false },
82
89
  },
83
90
  );
84
91