@unboundcx/sdk 4.13.154 → 4.13.155

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.154",
3
+ "version": "4.13.155",
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,7 @@ export class ReportingCallLogService {
24
24
  * @param {Object} params - { from, to, direction?: 'inbound'|'outbound',
25
25
  * answered?: boolean, queueIds?: string[], ringGroupIds?: string[],
26
26
  * userIds?: string[], phoneNumber?: string, recordingOnly?: boolean,
27
+ * lowMos?: boolean (any measured leg MOS below the low-quality threshold),
27
28
  * cursor?: string, limit?: number }
28
29
  * @returns {Promise<Object>} { rows, cursor, hasMore, summary: { totalCalls, answeredCalls, missedCalls, answeredPct, avgBillDurationSec } }
29
30
  * @example
@@ -39,6 +40,7 @@ export class ReportingCallLogService {
39
40
  userIds,
40
41
  phoneNumber,
41
42
  recordingOnly,
43
+ lowMos,
42
44
  cursor,
43
45
  limit,
44
46
  } = {}) {
@@ -61,6 +63,8 @@ export class ReportingCallLogService {
61
63
  userIds,
62
64
  phoneNumber,
63
65
  recordingOnly,
66
+ lowMos,
67
+ lowMos,
64
68
  cursor,
65
69
  limit,
66
70
  })}`,
@@ -85,6 +89,7 @@ export class ReportingCallLogService {
85
89
  userIds,
86
90
  phoneNumber,
87
91
  recordingOnly,
92
+ lowMos,
88
93
  } = {}) {
89
94
  this.sdk.validateParams(
90
95
  { from, to },
@@ -105,6 +110,8 @@ export class ReportingCallLogService {
105
110
  userIds,
106
111
  phoneNumber,
107
112
  recordingOnly,
113
+ lowMos,
114
+ lowMos,
108
115
  format: 'csv',
109
116
  })}`,
110
117
  'GET',
@@ -120,7 +127,7 @@ export class ReportingCallLogService {
120
127
  * @param {Object} params - { from, to, direction?: 'inbound'|'outbound',
121
128
  * answered?: boolean, queueIds?: string[], ringGroupIds?: string[],
122
129
  * userIds?: string[], phoneNumber?: string, recordingOnly?: boolean,
123
- * tz?: string }
130
+ * lowMos?: boolean, tz?: string }
124
131
  * @returns {Promise<Object>} { bucket: 'hour'|'day', timezone, series: [{ start, end, answered, missed, voicemail, total }] }
125
132
  * @example
126
133
  * await sdk.reporting.callLog.series({ from, to });
@@ -135,6 +142,7 @@ export class ReportingCallLogService {
135
142
  userIds,
136
143
  phoneNumber,
137
144
  recordingOnly,
145
+ lowMos,
138
146
  tz,
139
147
  } = {}) {
140
148
  this.sdk.validateParams(
@@ -156,6 +164,8 @@ export class ReportingCallLogService {
156
164
  userIds,
157
165
  phoneNumber,
158
166
  recordingOnly,
167
+ lowMos,
168
+ lowMos,
159
169
  tz,
160
170
  })}`,
161
171
  'GET',