@getsupervisor/agents-studio-sdk 1.41.2-patch.5 → 1.41.2-patch.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.cjs +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1765,6 +1765,9 @@ type ListCallsOptions = ListQueryOptions & Partial<{
|
|
|
1765
1765
|
executionId: string;
|
|
1766
1766
|
recordedAfter: string | Date;
|
|
1767
1767
|
recordedBefore: string | Date;
|
|
1768
|
+
durationBucket: 'short' | 'medium' | 'long';
|
|
1769
|
+
goalStatus: 'achieved' | 'not_achieved';
|
|
1770
|
+
query: string;
|
|
1768
1771
|
}>;
|
|
1769
1772
|
type StreamCallsOptions = {
|
|
1770
1773
|
after: string | Date;
|
package/dist/index.d.ts
CHANGED
|
@@ -1765,6 +1765,9 @@ type ListCallsOptions = ListQueryOptions & Partial<{
|
|
|
1765
1765
|
executionId: string;
|
|
1766
1766
|
recordedAfter: string | Date;
|
|
1767
1767
|
recordedBefore: string | Date;
|
|
1768
|
+
durationBucket: 'short' | 'medium' | 'long';
|
|
1769
|
+
goalStatus: 'achieved' | 'not_achieved';
|
|
1770
|
+
query: string;
|
|
1768
1771
|
}>;
|
|
1769
1772
|
type StreamCallsOptions = {
|
|
1770
1773
|
after: string | Date;
|
package/dist/index.js
CHANGED
|
@@ -1290,6 +1290,9 @@ function createCallsApi(cfg) {
|
|
|
1290
1290
|
executionId,
|
|
1291
1291
|
recordedAfter,
|
|
1292
1292
|
recordedBefore,
|
|
1293
|
+
durationBucket,
|
|
1294
|
+
goalStatus,
|
|
1295
|
+
query: searchQuery,
|
|
1293
1296
|
...listOptions
|
|
1294
1297
|
} = options ?? {};
|
|
1295
1298
|
const query = serializeListOptions(listOptions, {
|
|
@@ -1297,7 +1300,10 @@ function createCallsApi(cfg) {
|
|
|
1297
1300
|
agentId,
|
|
1298
1301
|
executionId,
|
|
1299
1302
|
recordedAfter,
|
|
1300
|
-
recordedBefore
|
|
1303
|
+
recordedBefore,
|
|
1304
|
+
durationBucket,
|
|
1305
|
+
goalStatus,
|
|
1306
|
+
query: searchQuery
|
|
1301
1307
|
});
|
|
1302
1308
|
const res = await doFetch(`${base}/calls`, {
|
|
1303
1309
|
method: "GET",
|