@amigo-ai/platform-sdk 0.66.0 → 0.68.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
@@ -701,23 +701,6 @@ const comparison = await client.analytics.compareCallPeriods({
701
701
  })
702
702
  ```
703
703
 
704
- ### Agent Memory
705
-
706
- Agent Memory tracks structured long-term facts about entities across conversations.
707
-
708
- ```typescript
709
- // Get all dimension scores for an entity
710
- const dims = await client.memory.getEntityDimensions('entity-id')
711
- console.log(dims.dimensions) // preferences, health_history, etc.
712
-
713
- // Get individual facts for a dimension
714
- const facts = await client.memory.getEntityFacts('entity-id', { dimension: 'preferences' })
715
-
716
- // Workspace-level memory health
717
- const analytics = await client.memory.getAnalytics()
718
- console.log(analytics.coverage_rate, analytics.total_facts)
719
- ```
720
-
721
704
  ### Integrations
722
705
 
723
706
  ```typescript
@@ -747,10 +730,6 @@ await client.settings.voice.update({ voice_id: 'new-voice-id', speed: 1.1 })
747
730
  // Retention
748
731
  const retention = await client.settings.retention.get()
749
732
  await client.settings.retention.update({ call_recordings_days: 90 })
750
-
751
- // Memory dimensions
752
- const memory = await client.settings.memory.get()
753
- console.log(memory.dimensions) // list of configured memory dimensions
754
733
  ```
755
734
 
756
735
  ### Surfaces (Patient Forms)
package/api.md CHANGED
@@ -355,8 +355,6 @@ All workspace-scoped resources also expose `withOptions(options)`.
355
355
  - `branding.update`
356
356
  - `outreach.get`
357
357
  - `outreach.update`
358
- - `memory.get`
359
- - `memory.update`
360
358
  - `retention.get`
361
359
  - `retention.update`
362
360
  - `gapScanner.get`
@@ -378,12 +376,6 @@ All workspace-scoped resources also expose `withOptions(options)`.
378
376
  - `getInvoice`
379
377
  - `getInvoicePdf`
380
378
 
381
- ### `memory`
382
-
383
- - `getEntityDimensions`
384
- - `getEntityFacts`
385
- - `getAnalytics`
386
-
387
379
  ### `reviewQueue`
388
380
 
389
381
  - `list`
package/dist/index.cjs CHANGED
@@ -3386,19 +3386,6 @@ var SettingsResource = class extends WorkspaceScopedResource {
3386
3386
  })
3387
3387
  )
3388
3388
  };
3389
- memory = {
3390
- get: async () => extractData(
3391
- await this.client.GET("/v1/{workspace_id}/settings/memory", {
3392
- params: { path: { workspace_id: this.workspaceId } }
3393
- })
3394
- ),
3395
- update: async (body) => extractData(
3396
- await this.client.PUT("/v1/{workspace_id}/settings/memory", {
3397
- params: { path: { workspace_id: this.workspaceId } },
3398
- body
3399
- })
3400
- )
3401
- };
3402
3389
  retention = {
3403
3390
  get: async () => extractData(
3404
3391
  await this.client.GET("/v1/{workspace_id}/settings/retention", {
@@ -3529,45 +3516,6 @@ var BillingResource = class extends WorkspaceScopedResource {
3529
3516
  }
3530
3517
  };
3531
3518
 
3532
- // src/resources/memory.ts
3533
- var MemoryResource = class extends WorkspaceScopedResource {
3534
- /**
3535
- * Get all memory dimension scores for an entity.
3536
- * Scores reflect how complete and confident each dimension's facts are.
3537
- */
3538
- async getEntityDimensions(entityId2) {
3539
- return extractData(
3540
- await this.client.GET("/v1/{workspace_id}/memory/{entity_id}/dimensions", {
3541
- params: { path: { workspace_id: this.workspaceId, entity_id: entityId2 } }
3542
- })
3543
- );
3544
- }
3545
- /**
3546
- * Get individual memory facts for an entity, optionally filtered by dimension.
3547
- */
3548
- async getEntityFacts(entityId2, params) {
3549
- return extractData(
3550
- await this.client.GET("/v1/{workspace_id}/memory/{entity_id}/facts", {
3551
- params: {
3552
- path: { workspace_id: this.workspaceId, entity_id: entityId2 },
3553
- query: params
3554
- }
3555
- })
3556
- );
3557
- }
3558
- /**
3559
- * Get workspace-level memory analytics — coverage rates, dimension health,
3560
- * and fact ingestion trends.
3561
- */
3562
- async getAnalytics() {
3563
- return extractData(
3564
- await this.client.GET("/v1/{workspace_id}/memory/analytics", {
3565
- params: { path: { workspace_id: this.workspaceId } }
3566
- })
3567
- );
3568
- }
3569
- };
3570
-
3571
3519
  // src/resources/review-queue.ts
3572
3520
  var ReviewQueueResource = class extends WorkspaceScopedResource {
3573
3521
  async list(params) {
@@ -6179,7 +6127,6 @@ var AmigoClient = class _AmigoClient {
6179
6127
  metrics;
6180
6128
  settings;
6181
6129
  billing;
6182
- memory;
6183
6130
  reviewQueue;
6184
6131
  recordings;
6185
6132
  audit;
@@ -6318,7 +6265,6 @@ var AmigoClient = class _AmigoClient {
6318
6265
  mutable.metrics = new MetricsResource(client, workspaceId2);
6319
6266
  mutable.settings = new SettingsResource(client, workspaceId2);
6320
6267
  mutable.billing = new BillingResource(client, workspaceId2);
6321
- mutable.memory = new MemoryResource(client, workspaceId2);
6322
6268
  mutable.reviewQueue = new ReviewQueueResource(client, workspaceId2);
6323
6269
  mutable.recordings = new RecordingsResource(client, workspaceId2);
6324
6270
  mutable.audit = new AuditResource(client, workspaceId2);