@amigo-ai/platform-sdk 0.9.0 → 0.9.1
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/api.md +1 -0
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +2 -2
- package/dist/resources/calls.js +6 -0
- package/dist/resources/calls.js.map +1 -1
- package/dist/types/generated/api.d.ts +258 -5
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +73 -0
- package/dist/types/resources/calls.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/package.json +1 -1
package/api.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1855,6 +1855,14 @@ var CallsResource = class extends WorkspaceScopedResource {
|
|
|
1855
1855
|
})
|
|
1856
1856
|
);
|
|
1857
1857
|
}
|
|
1858
|
+
/** Get the canonical playback timeline for a call */
|
|
1859
|
+
async getTimeline(callId2) {
|
|
1860
|
+
return extractData(
|
|
1861
|
+
await this.client.GET("/v1/{workspace_id}/calls/{call_id}/timeline", {
|
|
1862
|
+
params: { path: { workspace_id: this.workspaceId, call_id: callId2 } }
|
|
1863
|
+
})
|
|
1864
|
+
);
|
|
1865
|
+
}
|
|
1858
1866
|
/** Get AI intelligence for a call */
|
|
1859
1867
|
async getIntelligence(callId2) {
|
|
1860
1868
|
return extractData(
|