@amigo-ai/platform-sdk 0.101.0 → 0.102.0

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/README.md CHANGED
@@ -853,20 +853,6 @@ await client.triggers.resume(trigger.id)
853
853
  const runs = await client.triggers.listRuns(trigger.id)
854
854
  ```
855
855
 
856
- ### Review Queue
857
-
858
- ```typescript
859
- const stats = await client.reviewQueue.getStats()
860
- const dashboard = await client.reviewQueue.getDashboard()
861
- const { items } = await client.reviewQueue.list({ status: 'pending' })
862
-
863
- // Claim, approve, reject, correct
864
- await client.reviewQueue.claim('item-id')
865
- await client.reviewQueue.approve('item-id', { notes: 'Verified correct' })
866
- await client.reviewQueue.reject('item-id', { reason: 'Data mismatch' })
867
- await client.reviewQueue.batchApprove({ item_ids: ['id1', 'id2'] })
868
- ```
869
-
870
856
  ### Compliance
871
857
 
872
858
  ```typescript
package/api.md CHANGED
@@ -52,7 +52,7 @@ Notes:
52
52
  - Webhooks: `verifyWebhookSignature`, `parseWebhookEvent`, `WebhookVerificationError`
53
53
  - Pagination and response helpers: `paginate`, `buildLastResponse`, `extractRequestId`
54
54
  - Conversation helpers: `sessionConnectAuthProtocols`, `textStreamAuthProtocols`
55
- - Conversation types: `ChannelKind`, `ConversationDetail`, `ConversationListResponse`, `ConversationSummary`, `ConversationTurn`, `ConversationTurnAvailableAction`, `ConversationTurnStateTransition`, `CreateConversationRequest`, `ListConversationsParams`, `SessionConnectUrlParams`, `SwitchChannelRequest`, `TextStreamAuthProtocols` (WebSocket constructor subprotocol tuple), `TextStreamUrlParams`, `TurnDoneEvent`, `TurnErrorEvent`, `TurnMessageEvent`, `TurnRequest`, `TurnResponse`, `TurnConversationSnapshot`, `TurnStreamEvent`, `TurnThinkingEvent`, `TurnTokenEvent`, `TurnToolCallCompletedEvent`, `TurnToolCallStartedEvent`
55
+ - Conversation types: `ChannelKind`, `ConversationDetail`, `ConversationTurn`, `ConversationTurnAvailableAction`, `ConversationTurnStateTransition`, `CreateConversationRequest`, `SessionConnectUrlParams`, `SwitchChannelRequest`, `TextStreamAuthProtocols` (WebSocket constructor subprotocol tuple), `TextStreamUrlParams`, `TurnDoneEvent`, `TurnErrorEvent`, `TurnMessageEvent`, `TurnRequest`, `TurnResponse`, `TurnConversationSnapshot`, `TurnStreamEvent`, `TurnThinkingEvent`, `TurnTokenEvent`, `TurnToolCallCompletedEvent`, `TurnToolCallStartedEvent`
56
56
  - Voice provider constants: `STT_PROVIDERS`, `TTS_PROVIDERS`, `VOICE_SESSION_PROVIDERS`
57
57
  - Voice provider types: `AgentVoiceConfig`, `ServiceVoiceConfigInput`, `ServiceVoiceConfigOutput`, `SttProvider`, `TtsProvider`, `VoiceSessionProvider`, `VoiceSettingsRequest`, `VoiceSettingsResponse`
58
58
  - Response and hook types: `PaginatedList`, `ListParams`, `LastResponseInfo`, `ResponseMetadata`, `WithResponseMetadata`, `AmigoResponse`, `RetryOptions`, `RateLimitInfo`, `ClientHooks`, `RequestHookContext`, `ResponseHookContext`, `ErrorHookContext`
@@ -268,7 +268,6 @@ All workspace-scoped resources also expose `withOptions(options)`.
268
268
  - `get`
269
269
  - `getTimeline`
270
270
  - `getIntelligence`
271
- - `getActiveIntelligence`
272
271
  - `getBenchmarks`
273
272
  - `getPhoneVolume`
274
273
  - `getTraceAnalysis`
@@ -278,7 +277,6 @@ All workspace-scoped resources also expose `withOptions(options)`.
278
277
 
279
278
  ### `conversations`
280
279
 
281
- - `list`
282
280
  - `create`
283
281
  - `get`
284
282
  - `close`
package/dist/index.cjs CHANGED
@@ -2411,14 +2411,6 @@ var CallsResource = class extends WorkspaceScopedResource {
2411
2411
  })
2412
2412
  );
2413
2413
  }
2414
- /** Get active intelligence across all in-progress calls */
2415
- async getActiveIntelligence() {
2416
- return extractData(
2417
- await this.client.GET("/v1/{workspace_id}/calls/active/intelligence", {
2418
- params: { path: { workspace_id: this.workspaceId } }
2419
- })
2420
- );
2421
- }
2422
2414
  /** Get performance benchmarks for a time period */
2423
2415
  async getBenchmarks(params) {
2424
2416
  return extractData(
@@ -2483,13 +2475,6 @@ var ConversationsResource = class extends WorkspaceScopedResource {
2483
2475
  super(client, workspaceId2);
2484
2476
  this.agentBaseUrl = agentBaseUrl;
2485
2477
  }
2486
- async list(params) {
2487
- return extractData(
2488
- await this.client.GET("/v1/{workspace_id}/conversations", {
2489
- params: { path: { workspace_id: this.workspaceId }, query: params }
2490
- })
2491
- );
2492
- }
2493
2478
  async create(request) {
2494
2479
  return extractData(
2495
2480
  await this.client.POST("/v1/{workspace_id}/conversations", {