@getsupervisor/agents-studio-sdk 1.41.2-patch.6 → 1.41.2-patch.7
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 +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +60 -57
- package/dist/index.d.ts +60 -57
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1383,7 +1383,10 @@ function createCallsApi(cfg) {
|
|
|
1383
1383
|
["limit", options.limit],
|
|
1384
1384
|
["agentBatchId", options.agentBatchId],
|
|
1385
1385
|
["agentId", options.agentId],
|
|
1386
|
-
["executionId", options.executionId]
|
|
1386
|
+
["executionId", options.executionId],
|
|
1387
|
+
["durationBucket", options.durationBucket],
|
|
1388
|
+
["goalStatus", options.goalStatus],
|
|
1389
|
+
["query", options.query]
|
|
1387
1390
|
]);
|
|
1388
1391
|
const res = await doFetch(`${base}/calls/stream`, {
|
|
1389
1392
|
method: "GET",
|
|
@@ -2100,8 +2103,8 @@ function createWorkspacesApi(cfg) {
|
|
|
2100
2103
|
const fetchPage = (options) => fetchPhonesPage(workspaceId, options);
|
|
2101
2104
|
return attachPaginator(response, fetchPage, normalizedOptions);
|
|
2102
2105
|
},
|
|
2103
|
-
async enable(
|
|
2104
|
-
const res = await doFetch(`${base}/workspaces
|
|
2106
|
+
async enable(payload) {
|
|
2107
|
+
const res = await doFetch(`${base}/workspaces/enable`, {
|
|
2105
2108
|
method: "POST",
|
|
2106
2109
|
headers: jsonHeaders,
|
|
2107
2110
|
body: JSON.stringify(payload)
|