@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/dist/index.mjs
CHANGED
|
@@ -1775,6 +1775,14 @@ var CallsResource = class extends WorkspaceScopedResource {
|
|
|
1775
1775
|
})
|
|
1776
1776
|
);
|
|
1777
1777
|
}
|
|
1778
|
+
/** Get the canonical playback timeline for a call */
|
|
1779
|
+
async getTimeline(callId2) {
|
|
1780
|
+
return extractData(
|
|
1781
|
+
await this.client.GET("/v1/{workspace_id}/calls/{call_id}/timeline", {
|
|
1782
|
+
params: { path: { workspace_id: this.workspaceId, call_id: callId2 } }
|
|
1783
|
+
})
|
|
1784
|
+
);
|
|
1785
|
+
}
|
|
1778
1786
|
/** Get AI intelligence for a call */
|
|
1779
1787
|
async getIntelligence(callId2) {
|
|
1780
1788
|
return extractData(
|