@amigo-ai/platform-sdk 0.9.0 → 0.9.2

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.
@@ -19,6 +19,12 @@ export class CallsResource extends WorkspaceScopedResource {
19
19
  params: { path: { workspace_id: this.workspaceId, call_id: callId } },
20
20
  }));
21
21
  }
22
+ /** Get the canonical playback timeline for a call */
23
+ async getTimeline(callId) {
24
+ return extractData(await this.client.GET('/v1/{workspace_id}/calls/{call_id}/timeline', {
25
+ params: { path: { workspace_id: this.workspaceId, call_id: callId } },
26
+ }));
27
+ }
22
28
  /** Get AI intelligence for a call */
23
29
  async getIntelligence(callId) {
24
30
  return extractData(await this.client.GET('/v1/{workspace_id}/calls/{call_id}/intelligence', {
@@ -1 +1 @@
1
- {"version":3,"file":"calls.js","sourceRoot":"","sources":["../../src/resources/calls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAiBhE;;;GAGG;AACH,MAAM,OAAO,aAAc,SAAQ,uBAAuB;IACxD,yCAAyC;IACzC,KAAK,CAAC,IAAI,CAAC,MAAwB;QACjC,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,0BAA0B,EAAE;YAChD,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;SACpE,CAAC,CACH,CAAA;IACH,CAAC;IAED,cAAc,CAAC,MAAwB;QACrC,OAAO,IAAI,CAAC,oBAAoB,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,CAAA;IACjF,CAAC;IAED,mFAAmF;IACnF,KAAK,CAAC,GAAG,CAAC,MAAc;QACtB,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,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M,EAAE;SACpE,CAAC,CACH,CAAA;IACH,CAAC;IAED,mCAAmC;IACnC,KAAK,CAAC,gBAAgB,CAAC,MAAc;QACnC,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,mDAAmD,EAAE;YACzE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;SACtE,CAAC,CACH,CAAA;IACH,CAAC;CACF"}
@@ -1662,6 +1662,46 @@ export interface paths {
1662
1662
  patch?: never;
1663
1663
  trace?: never;
1664
1664
  };
1665
+ "/v1/{workspace_id}/calls/{call_id}/metrics": {
1666
+ parameters: {
1667
+ query?: never;
1668
+ header?: never;
1669
+ path?: never;
1670
+ cookie?: never;
1671
+ };
1672
+ /**
1673
+ * Call metric values
1674
+ * @description Latest per-call Universal Metric Store values for the call detail sidebar.
1675
+ */
1676
+ get: operations["list-call-metric-values"];
1677
+ put?: never;
1678
+ post?: never;
1679
+ delete?: never;
1680
+ options?: never;
1681
+ head?: never;
1682
+ patch?: never;
1683
+ trace?: never;
1684
+ };
1685
+ "/v1/{workspace_id}/calls/{call_id}/timeline": {
1686
+ parameters: {
1687
+ query?: never;
1688
+ header?: never;
1689
+ path?: never;
1690
+ cookie?: never;
1691
+ };
1692
+ /**
1693
+ * Call playback timeline
1694
+ * @description Canonical playback timeline for the call detail visualization. This is the same strongly typed timeline model embedded in the call detail response, exposed directly for timeline-only consumers.
1695
+ */
1696
+ get: operations["get-call-timeline"];
1697
+ put?: never;
1698
+ post?: never;
1699
+ delete?: never;
1700
+ options?: never;
1701
+ head?: never;
1702
+ patch?: never;
1703
+ trace?: never;
1704
+ };
1665
1705
  "/v1/{workspace_id}/calls/{call_id}/trace-analysis": {
1666
1706
  parameters: {
1667
1707
  query?: never;
@@ -3916,6 +3956,26 @@ export interface paths {
3916
3956
  patch?: never;
3917
3957
  trace?: never;
3918
3958
  };
3959
+ "/v1/{workspace_id}/metrics/{metric_key}/evaluate": {
3960
+ parameters: {
3961
+ query?: never;
3962
+ header?: never;
3963
+ path?: never;
3964
+ cookie?: never;
3965
+ };
3966
+ get?: never;
3967
+ put?: never;
3968
+ /**
3969
+ * Evaluate a metric once without storing it
3970
+ * @description Execute one metric definition without persisting to UMS.
3971
+ */
3972
+ post: operations["evaluate-metric"];
3973
+ delete?: never;
3974
+ options?: never;
3975
+ head?: never;
3976
+ patch?: never;
3977
+ trace?: never;
3978
+ };
3919
3979
  "/v1/{workspace_id}/metrics/{metric_key}/trend": {
3920
3980
  parameters: {
3921
3981
  query?: never;
@@ -10912,7 +10972,7 @@ export interface components {
10912
10972
  [key: string]: unknown;
10913
10973
  }[];
10914
10974
  /** Page Context */
10915
- page_context?: ("home" | "patients" | "calls" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
10975
+ page_context?: ("home" | "patients" | "calls" | "data" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
10916
10976
  /** Panels */
10917
10977
  panels?: {
10918
10978
  [key: string]: unknown;
@@ -14262,8 +14322,14 @@ export interface components {
14262
14322
  address?: {
14263
14323
  [key: string]: unknown;
14264
14324
  } | null;
14325
+ /** Address Line */
14326
+ address_line?: string | null;
14265
14327
  /** Canonical Id */
14266
14328
  canonical_id?: string | null;
14329
+ /** City */
14330
+ city?: string | null;
14331
+ /** Country */
14332
+ country?: string | null;
14267
14333
  /** Entity Id */
14268
14334
  entity_id: string;
14269
14335
  /**
@@ -14271,18 +14337,30 @@ export interface components {
14271
14337
  * @default 0
14272
14338
  */
14273
14339
  event_count?: number;
14340
+ /** Facility Id */
14341
+ facility_id?: string | null;
14274
14342
  /** Hours */
14275
14343
  hours?: {
14276
14344
  [key: string]: unknown;
14277
14345
  } | null;
14278
14346
  /** Last Event At */
14279
14347
  last_event_at?: string | null;
14348
+ /** Latitude */
14349
+ latitude?: number | null;
14350
+ /** Longitude */
14351
+ longitude?: number | null;
14280
14352
  /** Name */
14281
14353
  name?: string | null;
14282
14354
  /** Phone */
14283
14355
  phone?: string | null;
14356
+ /** Postal Code */
14357
+ postal_code?: string | null;
14284
14358
  /** Source System */
14285
14359
  source_system?: string | null;
14360
+ /** State */
14361
+ state?: string | null;
14362
+ /** Timezone */
14363
+ timezone?: string | null;
14286
14364
  };
14287
14365
  /** FhirOrganizationListResponse */
14288
14366
  FhirOrganizationListResponse: {
@@ -16661,6 +16739,42 @@ export interface components {
16661
16739
  */
16662
16740
  valid_range_min?: number | null;
16663
16741
  };
16742
+ /** MetricEvaluateRequest */
16743
+ MetricEvaluateRequest: {
16744
+ /**
16745
+ * As Of
16746
+ * @description Optional point-in-time cutoff for selecting the call intelligence snapshot.
16747
+ */
16748
+ as_of?: string | null;
16749
+ /**
16750
+ * Persist
16751
+ * @description On-demand metric evaluation never writes to metrics.metric_values.
16752
+ * @default false
16753
+ * @constant
16754
+ */
16755
+ persist?: false;
16756
+ /**
16757
+ * Subject Id
16758
+ * @description CallSid, call UUID, or simulation session id
16759
+ */
16760
+ subject_id: string;
16761
+ };
16762
+ /** MetricEvaluateResponse */
16763
+ MetricEvaluateResponse: {
16764
+ /**
16765
+ * Evaluated At
16766
+ * Format: date-time
16767
+ */
16768
+ evaluated_at: string;
16769
+ /** Metric */
16770
+ metric: components["schemas"]["NumericalMetricValueResponse"] | components["schemas"]["CategoricalMetricValueResponse"] | components["schemas"]["BooleanMetricValueResponse"];
16771
+ /**
16772
+ * Persisted
16773
+ * @default false
16774
+ * @constant
16775
+ */
16776
+ persisted?: false;
16777
+ };
16664
16778
  /** MetricListResponse */
16665
16779
  MetricListResponse: {
16666
16780
  /** Metrics */
@@ -19827,12 +19941,22 @@ export interface components {
19827
19941
  /** Authorized Clinicians */
19828
19942
  authorized_clinicians?: components["schemas"]["ScribeClinician"][] | null;
19829
19943
  cds?: components["schemas"]["ScribeCdsConfig"] | null;
19944
+ /** Custom Instructions */
19945
+ custom_instructions?: string | null;
19830
19946
  /** Enabled */
19831
19947
  enabled?: boolean | null;
19948
+ /** Keyterms */
19949
+ keyterms?: string[] | null;
19950
+ /** Language */
19951
+ language?: string | null;
19832
19952
  post_encounter?: components["schemas"]["ScribePostEncounterConfig"] | null;
19833
19953
  safety?: components["schemas"]["ScribeSafetyConfig"] | null;
19834
19954
  /** Soap Style */
19835
19955
  soap_style?: ("concise" | "detailed" | "structured") | null;
19956
+ /** Specialty */
19957
+ specialty?: string | null;
19958
+ /** Tools Enabled */
19959
+ tools_enabled?: string[] | null;
19836
19960
  /** Voice Auth Enabled */
19837
19961
  voice_auth_enabled?: boolean | null;
19838
19962
  };
@@ -19841,8 +19965,17 @@ export interface components {
19841
19965
  /** Authorized Clinicians */
19842
19966
  authorized_clinicians: components["schemas"]["ScribeClinician"][];
19843
19967
  cds?: components["schemas"]["ScribeCdsConfig"];
19968
+ /** Custom Instructions */
19969
+ custom_instructions?: string | null;
19844
19970
  /** Enabled */
19845
19971
  enabled: boolean;
19972
+ /** Keyterms */
19973
+ keyterms?: string[];
19974
+ /**
19975
+ * Language
19976
+ * @default en
19977
+ */
19978
+ language?: string;
19846
19979
  post_encounter?: components["schemas"]["ScribePostEncounterConfig"];
19847
19980
  safety?: components["schemas"]["ScribeSafetyConfig"];
19848
19981
  /**
@@ -19851,6 +19984,10 @@ export interface components {
19851
19984
  * @enum {string}
19852
19985
  */
19853
19986
  soap_style?: "concise" | "detailed" | "structured";
19987
+ /** Specialty */
19988
+ specialty?: string | null;
19989
+ /** Tools Enabled */
19990
+ tools_enabled?: string[] | null;
19854
19991
  /**
19855
19992
  * Voice Auth Enabled
19856
19993
  * @default false
@@ -23090,7 +23227,7 @@ export interface components {
23090
23227
  [key: string]: unknown;
23091
23228
  }[] | null;
23092
23229
  /** Page Context */
23093
- page_context?: ("home" | "patients" | "calls" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
23230
+ page_context?: ("home" | "patients" | "calls" | "data" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
23094
23231
  /** Panels */
23095
23232
  panels?: {
23096
23233
  [key: string]: unknown;
@@ -28618,6 +28755,80 @@ export interface operations {
28618
28755
  };
28619
28756
  };
28620
28757
  };
28758
+ "list-call-metric-values": {
28759
+ parameters: {
28760
+ query?: {
28761
+ /** @description Max metric values to return */
28762
+ limit?: number;
28763
+ };
28764
+ header?: never;
28765
+ path: {
28766
+ call_id: string;
28767
+ workspace_id: string;
28768
+ };
28769
+ cookie?: never;
28770
+ };
28771
+ requestBody?: never;
28772
+ responses: {
28773
+ /** @description Successful Response */
28774
+ 200: {
28775
+ headers: {
28776
+ [name: string]: unknown;
28777
+ };
28778
+ content: {
28779
+ "application/json": components["schemas"]["MetricListResponse"];
28780
+ };
28781
+ };
28782
+ /** @description Validation Error */
28783
+ 422: {
28784
+ headers: {
28785
+ [name: string]: unknown;
28786
+ };
28787
+ content: {
28788
+ "application/json": components["schemas"]["HTTPValidationError"];
28789
+ };
28790
+ };
28791
+ };
28792
+ };
28793
+ "get-call-timeline": {
28794
+ parameters: {
28795
+ query?: never;
28796
+ header?: never;
28797
+ path: {
28798
+ call_id: string;
28799
+ workspace_id: string;
28800
+ };
28801
+ cookie?: never;
28802
+ };
28803
+ requestBody?: never;
28804
+ responses: {
28805
+ /** @description Successful Response */
28806
+ 200: {
28807
+ headers: {
28808
+ [name: string]: unknown;
28809
+ };
28810
+ content: {
28811
+ "application/json": components["schemas"]["PlaybackTimeline"];
28812
+ };
28813
+ };
28814
+ /** @description Call not found */
28815
+ 404: {
28816
+ headers: {
28817
+ [name: string]: unknown;
28818
+ };
28819
+ content?: never;
28820
+ };
28821
+ /** @description Validation Error */
28822
+ 422: {
28823
+ headers: {
28824
+ [name: string]: unknown;
28825
+ };
28826
+ content: {
28827
+ "application/json": components["schemas"]["HTTPValidationError"];
28828
+ };
28829
+ };
28830
+ };
28831
+ };
28621
28832
  "get-call-trace-analysis": {
28622
28833
  parameters: {
28623
28834
  query?: never;
@@ -29600,7 +29811,7 @@ export interface operations {
29600
29811
  list_dashboards_v1__workspace_id__dashboards_get: {
29601
29812
  parameters: {
29602
29813
  query?: {
29603
- page_context?: ("home" | "patients" | "calls" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
29814
+ page_context?: ("home" | "patients" | "calls" | "data" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
29604
29815
  limit?: number;
29605
29816
  continuation_token?: number;
29606
29817
  };
@@ -33376,7 +33587,8 @@ export interface operations {
33376
33587
  };
33377
33588
  header?: never;
33378
33589
  path: {
33379
- metric_key: string;
33590
+ /** @description Metric key */
33591
+ metric_key: components["schemas"]["SlugString"];
33380
33592
  workspace_id: string;
33381
33593
  };
33382
33594
  cookie?: never;
@@ -33410,6 +33622,69 @@ export interface operations {
33410
33622
  };
33411
33623
  };
33412
33624
  };
33625
+ "evaluate-metric": {
33626
+ parameters: {
33627
+ query?: never;
33628
+ header?: never;
33629
+ path: {
33630
+ /** @description Metric key */
33631
+ metric_key: components["schemas"]["SlugString"];
33632
+ workspace_id: string;
33633
+ };
33634
+ cookie?: never;
33635
+ };
33636
+ requestBody: {
33637
+ content: {
33638
+ "application/json": components["schemas"]["MetricEvaluateRequest"];
33639
+ };
33640
+ };
33641
+ responses: {
33642
+ /** @description Successful Response */
33643
+ 200: {
33644
+ headers: {
33645
+ [name: string]: unknown;
33646
+ };
33647
+ content: {
33648
+ "application/json": components["schemas"]["MetricEvaluateResponse"];
33649
+ };
33650
+ };
33651
+ /** @description Metric or call intelligence not found */
33652
+ 404: {
33653
+ headers: {
33654
+ [name: string]: unknown;
33655
+ };
33656
+ content?: never;
33657
+ };
33658
+ /** @description Metric cannot be evaluated on demand */
33659
+ 422: {
33660
+ headers: {
33661
+ [name: string]: unknown;
33662
+ };
33663
+ content?: never;
33664
+ };
33665
+ /** @description Rate limited */
33666
+ 429: {
33667
+ headers: {
33668
+ [name: string]: unknown;
33669
+ };
33670
+ content?: never;
33671
+ };
33672
+ /** @description Metric preview query failed */
33673
+ 502: {
33674
+ headers: {
33675
+ [name: string]: unknown;
33676
+ };
33677
+ content?: never;
33678
+ };
33679
+ /** @description Analytics warehouse not configured */
33680
+ 503: {
33681
+ headers: {
33682
+ [name: string]: unknown;
33683
+ };
33684
+ content?: never;
33685
+ };
33686
+ };
33687
+ };
33413
33688
  "get-metric-trend": {
33414
33689
  parameters: {
33415
33690
  query?: {
@@ -33424,7 +33699,8 @@ export interface operations {
33424
33699
  };
33425
33700
  header?: never;
33426
33701
  path: {
33427
- metric_key: string;
33702
+ /** @description Metric key */
33703
+ metric_key: components["schemas"]["SlugString"];
33428
33704
  workspace_id: string;
33429
33705
  };
33430
33706
  cookie?: never;