@amigo-ai/platform-sdk 0.4.6 → 0.4.7

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.
Files changed (57) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/dist/types/generated/api.d.ts +581 -46
  4. package/dist/types/generated/api.d.ts.map +1 -1
  5. package/dist/types/resources/actions.d.ts +126 -22
  6. package/dist/types/resources/actions.d.ts.map +1 -1
  7. package/dist/types/resources/agents.d.ts +102 -16
  8. package/dist/types/resources/agents.d.ts.map +1 -1
  9. package/dist/types/resources/analytics.d.ts +74 -22
  10. package/dist/types/resources/analytics.d.ts.map +1 -1
  11. package/dist/types/resources/api-keys.d.ts +16 -3
  12. package/dist/types/resources/api-keys.d.ts.map +1 -1
  13. package/dist/types/resources/audit.d.ts +87 -31
  14. package/dist/types/resources/audit.d.ts.map +1 -1
  15. package/dist/types/resources/billing.d.ts +42 -9
  16. package/dist/types/resources/billing.d.ts.map +1 -1
  17. package/dist/types/resources/calls.d.ts +169 -65
  18. package/dist/types/resources/calls.d.ts.map +1 -1
  19. package/dist/types/resources/compliance.d.ts +6 -6
  20. package/dist/types/resources/context-graphs.d.ts +814 -17
  21. package/dist/types/resources/context-graphs.d.ts.map +1 -1
  22. package/dist/types/resources/data-sources.d.ts +68 -31
  23. package/dist/types/resources/data-sources.d.ts.map +1 -1
  24. package/dist/types/resources/functions.d.ts +49 -22
  25. package/dist/types/resources/functions.d.ts.map +1 -1
  26. package/dist/types/resources/integrations.d.ts +379 -49
  27. package/dist/types/resources/integrations.d.ts.map +1 -1
  28. package/dist/types/resources/memory.d.ts +48 -4
  29. package/dist/types/resources/memory.d.ts.map +1 -1
  30. package/dist/types/resources/operators.d.ts +189 -64
  31. package/dist/types/resources/operators.d.ts.map +1 -1
  32. package/dist/types/resources/personas.d.ts +20 -7
  33. package/dist/types/resources/personas.d.ts.map +1 -1
  34. package/dist/types/resources/phone-numbers.d.ts +46 -8
  35. package/dist/types/resources/phone-numbers.d.ts.map +1 -1
  36. package/dist/types/resources/recordings.d.ts +4 -4
  37. package/dist/types/resources/review-queue.d.ts +350 -49
  38. package/dist/types/resources/review-queue.d.ts.map +1 -1
  39. package/dist/types/resources/safety.d.ts +32 -6
  40. package/dist/types/resources/safety.d.ts.map +1 -1
  41. package/dist/types/resources/services.d.ts +212 -47
  42. package/dist/types/resources/services.d.ts.map +1 -1
  43. package/dist/types/resources/settings.d.ts +398 -36
  44. package/dist/types/resources/settings.d.ts.map +1 -1
  45. package/dist/types/resources/simulations.d.ts +150 -22
  46. package/dist/types/resources/simulations.d.ts.map +1 -1
  47. package/dist/types/resources/skills.d.ts +117 -21
  48. package/dist/types/resources/skills.d.ts.map +1 -1
  49. package/dist/types/resources/triggers.d.ts +92 -64
  50. package/dist/types/resources/triggers.d.ts.map +1 -1
  51. package/dist/types/resources/webhook-destinations.d.ts +44 -20
  52. package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
  53. package/dist/types/resources/workspaces.d.ts +14 -3
  54. package/dist/types/resources/workspaces.d.ts.map +1 -1
  55. package/dist/types/resources/world.d.ts +322 -121
  56. package/dist/types/resources/world.d.ts.map +1 -1
  57. package/package.json +3 -3
@@ -1983,6 +1983,85 @@ export interface paths {
1983
1983
  patch?: never;
1984
1984
  trace?: never;
1985
1985
  };
1986
+ "/v1/{workspace_id}/dashboards": {
1987
+ parameters: {
1988
+ query?: never;
1989
+ header?: never;
1990
+ path?: never;
1991
+ cookie?: never;
1992
+ };
1993
+ /** List Dashboards */
1994
+ get: operations["list_dashboards_v1__workspace_id__dashboards_get"];
1995
+ put?: never;
1996
+ /** Create Dashboard */
1997
+ post: operations["create_dashboard_v1__workspace_id__dashboards_post"];
1998
+ delete?: never;
1999
+ options?: never;
2000
+ head?: never;
2001
+ patch?: never;
2002
+ trace?: never;
2003
+ };
2004
+ "/v1/{workspace_id}/dashboards/by-slug/{slug}": {
2005
+ parameters: {
2006
+ query?: never;
2007
+ header?: never;
2008
+ path?: never;
2009
+ cookie?: never;
2010
+ };
2011
+ /** Get Dashboard By Slug */
2012
+ get: operations["get_dashboard_by_slug_v1__workspace_id__dashboards_by_slug__slug__get"];
2013
+ put?: never;
2014
+ post?: never;
2015
+ delete?: never;
2016
+ options?: never;
2017
+ head?: never;
2018
+ patch?: never;
2019
+ trace?: never;
2020
+ };
2021
+ "/v1/{workspace_id}/dashboards/{dashboard_id}": {
2022
+ parameters: {
2023
+ query?: never;
2024
+ header?: never;
2025
+ path?: never;
2026
+ cookie?: never;
2027
+ };
2028
+ /** Get Dashboard */
2029
+ get: operations["get_dashboard_v1__workspace_id__dashboards__dashboard_id__get"];
2030
+ /** Update Dashboard */
2031
+ put: operations["update_dashboard_v1__workspace_id__dashboards__dashboard_id__put"];
2032
+ post?: never;
2033
+ /** Delete Dashboard */
2034
+ delete: operations["delete_dashboard_v1__workspace_id__dashboards__dashboard_id__delete"];
2035
+ options?: never;
2036
+ head?: never;
2037
+ patch?: never;
2038
+ trace?: never;
2039
+ };
2040
+ "/v1/{workspace_id}/dashboards/{dashboard_id}/execute": {
2041
+ parameters: {
2042
+ query?: never;
2043
+ header?: never;
2044
+ path?: never;
2045
+ cookie?: never;
2046
+ };
2047
+ get?: never;
2048
+ put?: never;
2049
+ /**
2050
+ * Execute Dashboard
2051
+ * @description Execute all panel queries and return results for rendering.
2052
+ *
2053
+ * SQL injection is mitigated by ResearchQueryService.execute_sql, which calls
2054
+ * _validate_read_only_sql to block DROP/TRUNCATE/ALTER/CREATE/GRANT/REVOKE/
2055
+ * DELETE/UPDATE/INSERT statements. Catalog-level access is further restricted
2056
+ * by the service principal's Databricks grants (read-only on analytics catalog).
2057
+ */
2058
+ post: operations["execute_dashboard_v1__workspace_id__dashboards__dashboard_id__execute_post"];
2059
+ delete?: never;
2060
+ options?: never;
2061
+ head?: never;
2062
+ patch?: never;
2063
+ trace?: never;
2064
+ };
1986
2065
  "/v1/{workspace_id}/data-sources": {
1987
2066
  parameters: {
1988
2067
  query?: never;
@@ -7419,7 +7498,7 @@ export interface components {
7419
7498
  * Direction
7420
7499
  * @description Call direction
7421
7500
  */
7422
- direction?: ("inbound" | "outbound" | "playground" | "simulated") | null;
7501
+ direction?: ("inbound" | "outbound" | "playground" | "simulated" | "test") | null;
7423
7502
  /**
7424
7503
  * Escalation Id
7425
7504
  * @description Escalation event ID
@@ -7470,7 +7549,7 @@ export interface components {
7470
7549
  * @description Current escalation state
7471
7550
  * @enum {string}
7472
7551
  */
7473
- status: "none" | "requested" | "connected" | "completed" | "cancelled" | "timeout";
7552
+ status: "none" | "requested" | "connected" | "handback" | "completed";
7474
7553
  /**
7475
7554
  * Trigger
7476
7555
  * @description What triggered the escalation
@@ -8356,7 +8435,7 @@ export interface components {
8356
8435
  * Completion Reason
8357
8436
  * @description Why the call ended
8358
8437
  */
8359
- completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer") | null;
8438
+ completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled") | null;
8360
8439
  /** @description Conversation flow metrics */
8361
8440
  conversation_summary?: components["schemas"]["ConversationSummary"] | null;
8362
8441
  /**
@@ -8370,7 +8449,7 @@ export interface components {
8370
8449
  * @default inbound
8371
8450
  * @enum {string}
8372
8451
  */
8373
- direction?: "inbound" | "outbound" | "playground" | "simulated";
8452
+ direction?: "inbound" | "outbound" | "playground" | "simulated" | "test";
8374
8453
  /**
8375
8454
  * Duration Seconds
8376
8455
  * @description Call duration in seconds
@@ -8474,12 +8553,12 @@ export interface components {
8474
8553
  * Completion Reason
8475
8554
  * @description Why the call ended
8476
8555
  */
8477
- completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer") | null;
8556
+ completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled") | null;
8478
8557
  /**
8479
8558
  * Direction
8480
8559
  * @description Call direction
8481
8560
  */
8482
- direction?: ("inbound" | "outbound" | "playground" | "simulated") | null;
8561
+ direction?: ("inbound" | "outbound" | "playground" | "simulated" | "test") | null;
8483
8562
  /**
8484
8563
  * Duration Seconds
8485
8564
  * @description Call duration in seconds
@@ -8494,7 +8573,7 @@ export interface components {
8494
8573
  * Escalation Status
8495
8574
  * @description Escalation state if any
8496
8575
  */
8497
- escalation_status?: string | null;
8576
+ escalation_status?: ("none" | "requested" | "connected" | "handback" | "completed") | null;
8498
8577
  /**
8499
8578
  * Final State
8500
8579
  * @description Final conversation state
@@ -8539,7 +8618,7 @@ export interface components {
8539
8618
  * Source
8540
8619
  * @description Whether this is a real or simulated call
8541
8620
  */
8542
- source?: ("real" | "simulated") | null;
8621
+ source?: ("real" | "simulated" | "playground" | "scribe") | null;
8543
8622
  /**
8544
8623
  * Started At
8545
8624
  * @description When the call started
@@ -8844,8 +8923,11 @@ export interface components {
8844
8923
  CommandCenterAlert: {
8845
8924
  /** Code */
8846
8925
  code: string;
8847
- /** Level */
8848
- level: string;
8926
+ /**
8927
+ * Level
8928
+ * @enum {string}
8929
+ */
8930
+ level: "info" | "warning" | "critical";
8849
8931
  /** Message */
8850
8932
  message: string;
8851
8933
  /** Section */
@@ -9067,8 +9149,9 @@ export interface components {
9067
9149
  /**
9068
9150
  * Health Status
9069
9151
  * @default unknown
9152
+ * @enum {string}
9070
9153
  */
9071
- health_status?: string;
9154
+ health_status?: "unknown" | "healthy" | "degraded";
9072
9155
  /**
9073
9156
  * Is Active
9074
9157
  * @default true
@@ -9082,7 +9165,7 @@ export interface components {
9082
9165
  */
9083
9166
  last_sync_event_count?: number;
9084
9167
  /** Last Sync Status */
9085
- last_sync_status?: string | null;
9168
+ last_sync_status?: ("success" | "error") | null;
9086
9169
  /** Name */
9087
9170
  name: string;
9088
9171
  /** Source Type */
@@ -9102,6 +9185,7 @@ export interface components {
9102
9185
  ConnectorResourcesResponse: {
9103
9186
  /**
9104
9187
  * Data Source Id
9188
+ * Format: uuid
9105
9189
  * @description UUID of the connected data source
9106
9190
  */
9107
9191
  data_source_id: string;
@@ -9518,6 +9602,28 @@ export interface components {
9518
9602
  /** Slug */
9519
9603
  slug: string;
9520
9604
  };
9605
+ /** CreateDashboardRequest */
9606
+ CreateDashboardRequest: {
9607
+ description?: components["schemas"]["DescriptionString"] | null;
9608
+ /** Filters */
9609
+ filters?: {
9610
+ [key: string]: unknown;
9611
+ }[];
9612
+ /** Page Context */
9613
+ page_context?: ("home" | "patients" | "calls" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
9614
+ /** Panels */
9615
+ panels?: {
9616
+ [key: string]: unknown;
9617
+ }[];
9618
+ /**
9619
+ * Refresh Interval
9620
+ * @default 300
9621
+ */
9622
+ refresh_interval?: number;
9623
+ /** Slug */
9624
+ slug: string;
9625
+ title: components["schemas"]["NameString"];
9626
+ };
9521
9627
  /** CreateDataSourceRequest */
9522
9628
  CreateDataSourceRequest: {
9523
9629
  /** Connection Config */
@@ -10349,7 +10455,7 @@ export interface components {
10349
10455
  /** Last Sync At */
10350
10456
  last_sync_at?: string | null;
10351
10457
  /** Last Sync Status */
10352
- last_sync_status?: string | null;
10458
+ last_sync_status?: ("success" | "error") | null;
10353
10459
  /**
10354
10460
  * Sync Failure Count
10355
10461
  * @default 0
@@ -10487,6 +10593,85 @@ export interface components {
10487
10593
  */
10488
10594
  date: string;
10489
10595
  };
10596
+ /** DashboardDefinitionResponse */
10597
+ DashboardDefinitionResponse: {
10598
+ /**
10599
+ * Created At
10600
+ * @description When the dashboard was created
10601
+ */
10602
+ created_at?: string | null;
10603
+ /**
10604
+ * Created By
10605
+ * @description Creator identifier
10606
+ */
10607
+ created_by?: string | null;
10608
+ /**
10609
+ * Description
10610
+ * @description Human-readable description
10611
+ */
10612
+ description?: string | null;
10613
+ /**
10614
+ * Filters
10615
+ * @description Dashboard-level filter controls
10616
+ */
10617
+ filters: {
10618
+ [key: string]: unknown;
10619
+ }[];
10620
+ /**
10621
+ * Id
10622
+ * Format: uuid
10623
+ */
10624
+ id: string;
10625
+ /**
10626
+ * Is Active
10627
+ * @description Whether the dashboard is active
10628
+ */
10629
+ is_active: boolean;
10630
+ /**
10631
+ * Page Context
10632
+ * @description Developer console page where this dashboard renders
10633
+ */
10634
+ page_context?: string | null;
10635
+ /**
10636
+ * Panels
10637
+ * @description Ordered list of panel definitions
10638
+ */
10639
+ panels: {
10640
+ [key: string]: unknown;
10641
+ }[];
10642
+ /**
10643
+ * Refresh Interval
10644
+ * @description Auto-refresh interval in seconds
10645
+ */
10646
+ refresh_interval: number;
10647
+ /**
10648
+ * Slug
10649
+ * @description URL-safe identifier
10650
+ */
10651
+ slug: string;
10652
+ /**
10653
+ * Title
10654
+ * @description Dashboard display title
10655
+ */
10656
+ title: string;
10657
+ /**
10658
+ * Updated At
10659
+ * @description When the dashboard was last updated
10660
+ */
10661
+ updated_at?: string | null;
10662
+ /** Workspace Id */
10663
+ workspace_id?: string | null;
10664
+ };
10665
+ /** DashboardExecuteResponse */
10666
+ DashboardExecuteResponse: {
10667
+ /**
10668
+ * Dashboard Id
10669
+ * Format: uuid
10670
+ */
10671
+ dashboard_id: string;
10672
+ /** Results */
10673
+ results: components["schemas"]["PanelResultResponse"][];
10674
+ };
10490
10675
  /** DashboardResponse */
10491
10676
  DashboardResponse: {
10492
10677
  /** Active Escalations */
@@ -10735,8 +10920,11 @@ export interface components {
10735
10920
  field_mappings: {
10736
10921
  [key: string]: unknown;
10737
10922
  };
10738
- /** Health Status */
10739
- health_status: string;
10923
+ /**
10924
+ * Health Status
10925
+ * @enum {string}
10926
+ */
10927
+ health_status: "unknown" | "healthy" | "degraded";
10740
10928
  /** Id */
10741
10929
  id: string;
10742
10930
  /** Is Active */
@@ -10750,15 +10938,21 @@ export interface components {
10750
10938
  /** Last Sync Event Count */
10751
10939
  last_sync_event_count: number;
10752
10940
  /** Last Sync Status */
10753
- last_sync_status: string | null;
10941
+ last_sync_status: ("success" | "error") | null;
10754
10942
  /** Name */
10755
10943
  name: string;
10756
- /** Source Type */
10757
- source_type: string;
10944
+ /**
10945
+ * Source Type
10946
+ * @enum {string}
10947
+ */
10948
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir";
10758
10949
  /** Sync Schedule */
10759
10950
  sync_schedule: string | null;
10760
- /** Sync Strategy */
10761
- sync_strategy: string;
10951
+ /**
10952
+ * Sync Strategy
10953
+ * @enum {string}
10954
+ */
10955
+ sync_strategy: "manual" | "scheduled" | "webhook" | "continuous";
10762
10956
  /**
10763
10957
  * Updated At
10764
10958
  * Format: date-time
@@ -10775,8 +10969,11 @@ export interface components {
10775
10969
  event_count: number;
10776
10970
  /** Failed Count */
10777
10971
  failed_count: number;
10778
- /** Health Status */
10779
- health_status: string;
10972
+ /**
10973
+ * Health Status
10974
+ * @enum {string}
10975
+ */
10976
+ health_status: "unknown" | "healthy" | "degraded";
10780
10977
  /** Is Active */
10781
10978
  is_active: boolean;
10782
10979
  /** Last Sync At */
@@ -10784,7 +10981,7 @@ export interface components {
10784
10981
  /** Last Sync Event Count */
10785
10982
  last_sync_event_count: number;
10786
10983
  /** Last Sync Status */
10787
- last_sync_status: string | null;
10984
+ last_sync_status: ("success" | "error") | null;
10788
10985
  /** Name */
10789
10986
  name: string;
10790
10987
  /** Synced Count */
@@ -11070,6 +11267,15 @@ export interface components {
11070
11267
  workspace_id: string;
11071
11268
  };
11072
11269
  DescriptionString: string;
11270
+ /** DestroySessionResponse */
11271
+ DestroySessionResponse: {
11272
+ /**
11273
+ * Status
11274
+ * @description Session destruction status
11275
+ * @constant
11276
+ */
11277
+ status: "destroyed";
11278
+ };
11073
11279
  /**
11074
11280
  * DimensionAnalytics
11075
11281
  * @description Per-dimension aggregate stats across all entities.
@@ -12200,6 +12406,16 @@ export interface components {
12200
12406
  /** Sources */
12201
12407
  sources: string[];
12202
12408
  };
12409
+ /** ExecutePanelRequest */
12410
+ ExecutePanelRequest: {
12411
+ /**
12412
+ * Filter Values
12413
+ * @description Filter values to apply to panel queries
12414
+ */
12415
+ filter_values?: {
12416
+ [key: string]: unknown;
12417
+ };
12418
+ };
12203
12419
  /** ExitCondition */
12204
12420
  ExitCondition: {
12205
12421
  /** Description */
@@ -14640,7 +14856,8 @@ export interface components {
14640
14856
  OperatorPerformanceTrendPoint: {
14641
14857
  /**
14642
14858
  * Date
14643
- * @description ISO 8601 date string for the time bucket
14859
+ * Format: date
14860
+ * @description Date for the time bucket
14644
14861
  */
14645
14862
  date: string;
14646
14863
  /**
@@ -14980,6 +15197,17 @@ export interface components {
14980
15197
  /** Total */
14981
15198
  total?: number | null;
14982
15199
  };
15200
+ /** PaginatedResponse[DashboardDefinitionResponse] */
15201
+ PaginatedResponse_DashboardDefinitionResponse_: {
15202
+ /** Continuation Token */
15203
+ continuation_token?: number | null;
15204
+ /** Has More */
15205
+ has_more: boolean;
15206
+ /** Items */
15207
+ items: components["schemas"]["DashboardDefinitionResponse"][];
15208
+ /** Total */
15209
+ total?: number | null;
15210
+ };
14983
15211
  /** PaginatedResponse[DataSourceResponse] */
14984
15212
  PaginatedResponse_DataSourceResponse_: {
14985
15213
  /** Continuation Token */
@@ -15211,6 +15439,29 @@ export interface components {
15211
15439
  /** Total */
15212
15440
  total?: number | null;
15213
15441
  };
15442
+ /** PanelResultResponse */
15443
+ PanelResultResponse: {
15444
+ /**
15445
+ * Columns
15446
+ * @description Column names
15447
+ */
15448
+ columns: string[];
15449
+ /**
15450
+ * Error
15451
+ * @description Error message if query failed
15452
+ */
15453
+ error?: string | null;
15454
+ /**
15455
+ * Panel Id
15456
+ * @description Panel identifier from the definition
15457
+ */
15458
+ panel_id: string;
15459
+ /**
15460
+ * Rows
15461
+ * @description Result rows
15462
+ */
15463
+ rows: unknown[][];
15464
+ };
15214
15465
  /** PatientBurdenDetailResponse */
15215
15466
  PatientBurdenDetailResponse: {
15216
15467
  /** Age Adjusted Charlson Index */
@@ -15595,8 +15846,9 @@ export interface components {
15595
15846
  /**
15596
15847
  * Connector Status
15597
15848
  * @default unavailable
15849
+ * @enum {string}
15598
15850
  */
15599
- connector_status?: string;
15851
+ connector_status?: "healthy" | "degraded" | "unavailable";
15600
15852
  /**
15601
15853
  * Events Last Hour
15602
15854
  * @default 0
@@ -15757,7 +16009,7 @@ export interface components {
15757
16009
  * @default inbound
15758
16010
  * @enum {string}
15759
16011
  */
15760
- direction?: "inbound" | "outbound" | "playground" | "simulated";
16012
+ direction?: "inbound" | "outbound" | "playground" | "simulated" | "test";
15761
16013
  /** Entity Name */
15762
16014
  entity_name?: string | null;
15763
16015
  /**
@@ -15808,10 +16060,18 @@ export interface components {
15808
16060
  * @description How the agent narrates waiting on a tool.
15809
16061
  *
15810
16062
  * The actual utterance is generated from tool semantics + turn emotion +
15811
- * patient context. No hardcoded vocabulary: operators describe the shape
15812
- * of the wait, the engine chooses the words.
16063
+ * patient context. Operators describe the shape of the wait, the engine
16064
+ * chooses the words.
16065
+ *
16066
+ * ``custom_phrase`` is a narrow escape hatch for demo-critical slow tools
16067
+ * where generic templates cannot cover the wait. Gated: only honored when
16068
+ * ``expected_latency_ms >= 4000`` and ``progress_class`` is set, and the
16069
+ * phrase is at most 30 words. The gate keeps the surface small so the
16070
+ * engine-picks-words contract holds for the bulk of tools.
15813
16071
  */
15814
16072
  ProgressHint: {
16073
+ /** Custom Phrase */
16074
+ custom_phrase?: string | null;
15815
16075
  /** Expected Latency Ms */
15816
16076
  expected_latency_ms?: number | null;
15817
16077
  /**
@@ -15972,6 +16232,14 @@ export interface components {
15972
16232
  /** Session Id */
15973
16233
  session_id: string;
15974
16234
  };
16235
+ /** RecommendResponse */
16236
+ RecommendResponse: {
16237
+ /**
16238
+ * Suggestions
16239
+ * @description LLM-generated caller message suggestions
16240
+ */
16241
+ suggestions: string[];
16242
+ };
15975
16243
  /**
15976
16244
  * RecordingMetadataResponse
15977
16245
  * @description Call recording metadata.
@@ -16537,7 +16805,8 @@ export interface components {
16537
16805
  SafetyTrendPoint: {
16538
16806
  /**
16539
16807
  * Date
16540
- * @description ISO 8601 date string for the time bucket
16808
+ * Format: date
16809
+ * @description Date for the time bucket
16541
16810
  */
16542
16811
  date: string;
16543
16812
  /**
@@ -17512,8 +17781,11 @@ export interface components {
17512
17781
  * @default 0
17513
17782
  */
17514
17783
  event_count?: number;
17515
- /** Health Status */
17516
- health_status: string;
17784
+ /**
17785
+ * Health Status
17786
+ * @enum {string}
17787
+ */
17788
+ health_status: "unknown" | "healthy" | "degraded";
17517
17789
  /** Id */
17518
17790
  id: string;
17519
17791
  /** Is Active */
@@ -17523,8 +17795,11 @@ export interface components {
17523
17795
  last_sync_at?: string | null;
17524
17796
  /** Name */
17525
17797
  name: string;
17526
- /** Source Type */
17527
- source_type: string;
17798
+ /**
17799
+ * Source Type
17800
+ * @enum {string}
17801
+ */
17802
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir";
17528
17803
  };
17529
17804
  /** SourceOverviewResponse */
17530
17805
  SourceOverviewResponse: {
@@ -17542,8 +17817,11 @@ export interface components {
17542
17817
  * @default 0
17543
17818
  */
17544
17819
  event_count?: number;
17545
- /** Health Status */
17546
- health_status: string;
17820
+ /**
17821
+ * Health Status
17822
+ * @enum {string}
17823
+ */
17824
+ health_status: "unknown" | "healthy" | "degraded";
17547
17825
  /** Id */
17548
17826
  id: string;
17549
17827
  /** Is Active */
@@ -17557,7 +17835,7 @@ export interface components {
17557
17835
  */
17558
17836
  last_sync_event_count?: number;
17559
17837
  /** Last Sync Status */
17560
- last_sync_status?: string | null;
17838
+ last_sync_status?: ("success" | "error") | null;
17561
17839
  /** Name */
17562
17840
  name: string;
17563
17841
  /**
@@ -17574,8 +17852,11 @@ export interface components {
17574
17852
  * @default []
17575
17853
  */
17576
17854
  recent_failures?: components["schemas"]["SourceFailureItem"][];
17577
- /** Source Type */
17578
- source_type: string;
17855
+ /**
17856
+ * Source Type
17857
+ * @enum {string}
17858
+ */
17859
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir";
17579
17860
  };
17580
17861
  /** SourceStatus */
17581
17862
  SourceStatus: {
@@ -17607,8 +17888,11 @@ export interface components {
17607
17888
  * @default 0
17608
17889
  */
17609
17890
  last_poll_event_count?: number;
17610
- /** Source Type */
17611
- source_type: string;
17891
+ /**
17892
+ * Source Type
17893
+ * @enum {string}
17894
+ */
17895
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir";
17612
17896
  /** Status */
17613
17897
  status: string;
17614
17898
  /** Workspace Id */
@@ -19081,6 +19365,25 @@ export interface components {
19081
19365
  /** Status */
19082
19366
  status?: ("active" | "archived") | null;
19083
19367
  };
19368
+ /** UpdateDashboardRequest */
19369
+ UpdateDashboardRequest: {
19370
+ description?: components["schemas"]["DescriptionString"] | null;
19371
+ /** Filters */
19372
+ filters?: {
19373
+ [key: string]: unknown;
19374
+ }[] | null;
19375
+ /** Page Context */
19376
+ page_context?: ("home" | "patients" | "calls" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
19377
+ /** Panels */
19378
+ panels?: {
19379
+ [key: string]: unknown;
19380
+ }[] | null;
19381
+ /** Refresh Interval */
19382
+ refresh_interval?: number | null;
19383
+ /** Slug */
19384
+ slug?: string | null;
19385
+ title?: components["schemas"]["NameString"] | null;
19386
+ };
19084
19387
  /** UpdateDataSourceRequest */
19085
19388
  UpdateDataSourceRequest: {
19086
19389
  /** Connection Config */
@@ -24974,6 +25277,242 @@ export interface operations {
24974
25277
  };
24975
25278
  };
24976
25279
  };
25280
+ list_dashboards_v1__workspace_id__dashboards_get: {
25281
+ parameters: {
25282
+ query?: {
25283
+ page_context?: ("home" | "patients" | "calls" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
25284
+ limit?: number;
25285
+ continuation_token?: number;
25286
+ };
25287
+ header?: never;
25288
+ path: {
25289
+ workspace_id: string;
25290
+ };
25291
+ cookie?: never;
25292
+ };
25293
+ requestBody?: never;
25294
+ responses: {
25295
+ /** @description Successful Response */
25296
+ 200: {
25297
+ headers: {
25298
+ [name: string]: unknown;
25299
+ };
25300
+ content: {
25301
+ "application/json": components["schemas"]["PaginatedResponse_DashboardDefinitionResponse_"];
25302
+ };
25303
+ };
25304
+ /** @description Validation Error */
25305
+ 422: {
25306
+ headers: {
25307
+ [name: string]: unknown;
25308
+ };
25309
+ content: {
25310
+ "application/json": components["schemas"]["HTTPValidationError"];
25311
+ };
25312
+ };
25313
+ };
25314
+ };
25315
+ create_dashboard_v1__workspace_id__dashboards_post: {
25316
+ parameters: {
25317
+ query?: never;
25318
+ header?: never;
25319
+ path: {
25320
+ workspace_id: string;
25321
+ };
25322
+ cookie?: never;
25323
+ };
25324
+ requestBody: {
25325
+ content: {
25326
+ "application/json": components["schemas"]["CreateDashboardRequest"];
25327
+ };
25328
+ };
25329
+ responses: {
25330
+ /** @description Successful Response */
25331
+ 201: {
25332
+ headers: {
25333
+ [name: string]: unknown;
25334
+ };
25335
+ content: {
25336
+ "application/json": components["schemas"]["DashboardDefinitionResponse"];
25337
+ };
25338
+ };
25339
+ /** @description Validation Error */
25340
+ 422: {
25341
+ headers: {
25342
+ [name: string]: unknown;
25343
+ };
25344
+ content: {
25345
+ "application/json": components["schemas"]["HTTPValidationError"];
25346
+ };
25347
+ };
25348
+ };
25349
+ };
25350
+ get_dashboard_by_slug_v1__workspace_id__dashboards_by_slug__slug__get: {
25351
+ parameters: {
25352
+ query?: never;
25353
+ header?: never;
25354
+ path: {
25355
+ slug: string;
25356
+ workspace_id: string;
25357
+ };
25358
+ cookie?: never;
25359
+ };
25360
+ requestBody?: never;
25361
+ responses: {
25362
+ /** @description Successful Response */
25363
+ 200: {
25364
+ headers: {
25365
+ [name: string]: unknown;
25366
+ };
25367
+ content: {
25368
+ "application/json": components["schemas"]["DashboardDefinitionResponse"];
25369
+ };
25370
+ };
25371
+ /** @description Validation Error */
25372
+ 422: {
25373
+ headers: {
25374
+ [name: string]: unknown;
25375
+ };
25376
+ content: {
25377
+ "application/json": components["schemas"]["HTTPValidationError"];
25378
+ };
25379
+ };
25380
+ };
25381
+ };
25382
+ get_dashboard_v1__workspace_id__dashboards__dashboard_id__get: {
25383
+ parameters: {
25384
+ query?: never;
25385
+ header?: never;
25386
+ path: {
25387
+ dashboard_id: string;
25388
+ workspace_id: string;
25389
+ };
25390
+ cookie?: never;
25391
+ };
25392
+ requestBody?: never;
25393
+ responses: {
25394
+ /** @description Successful Response */
25395
+ 200: {
25396
+ headers: {
25397
+ [name: string]: unknown;
25398
+ };
25399
+ content: {
25400
+ "application/json": components["schemas"]["DashboardDefinitionResponse"];
25401
+ };
25402
+ };
25403
+ /** @description Validation Error */
25404
+ 422: {
25405
+ headers: {
25406
+ [name: string]: unknown;
25407
+ };
25408
+ content: {
25409
+ "application/json": components["schemas"]["HTTPValidationError"];
25410
+ };
25411
+ };
25412
+ };
25413
+ };
25414
+ update_dashboard_v1__workspace_id__dashboards__dashboard_id__put: {
25415
+ parameters: {
25416
+ query?: never;
25417
+ header?: never;
25418
+ path: {
25419
+ dashboard_id: string;
25420
+ workspace_id: string;
25421
+ };
25422
+ cookie?: never;
25423
+ };
25424
+ requestBody: {
25425
+ content: {
25426
+ "application/json": components["schemas"]["UpdateDashboardRequest"];
25427
+ };
25428
+ };
25429
+ responses: {
25430
+ /** @description Successful Response */
25431
+ 200: {
25432
+ headers: {
25433
+ [name: string]: unknown;
25434
+ };
25435
+ content: {
25436
+ "application/json": components["schemas"]["DashboardDefinitionResponse"];
25437
+ };
25438
+ };
25439
+ /** @description Validation Error */
25440
+ 422: {
25441
+ headers: {
25442
+ [name: string]: unknown;
25443
+ };
25444
+ content: {
25445
+ "application/json": components["schemas"]["HTTPValidationError"];
25446
+ };
25447
+ };
25448
+ };
25449
+ };
25450
+ delete_dashboard_v1__workspace_id__dashboards__dashboard_id__delete: {
25451
+ parameters: {
25452
+ query?: never;
25453
+ header?: never;
25454
+ path: {
25455
+ dashboard_id: string;
25456
+ workspace_id: string;
25457
+ };
25458
+ cookie?: never;
25459
+ };
25460
+ requestBody?: never;
25461
+ responses: {
25462
+ /** @description Successful Response */
25463
+ 204: {
25464
+ headers: {
25465
+ [name: string]: unknown;
25466
+ };
25467
+ content?: never;
25468
+ };
25469
+ /** @description Validation Error */
25470
+ 422: {
25471
+ headers: {
25472
+ [name: string]: unknown;
25473
+ };
25474
+ content: {
25475
+ "application/json": components["schemas"]["HTTPValidationError"];
25476
+ };
25477
+ };
25478
+ };
25479
+ };
25480
+ execute_dashboard_v1__workspace_id__dashboards__dashboard_id__execute_post: {
25481
+ parameters: {
25482
+ query?: never;
25483
+ header?: never;
25484
+ path: {
25485
+ dashboard_id: string;
25486
+ workspace_id: string;
25487
+ };
25488
+ cookie?: never;
25489
+ };
25490
+ requestBody?: {
25491
+ content: {
25492
+ "application/json": components["schemas"]["ExecutePanelRequest"] | null;
25493
+ };
25494
+ };
25495
+ responses: {
25496
+ /** @description Successful Response */
25497
+ 200: {
25498
+ headers: {
25499
+ [name: string]: unknown;
25500
+ };
25501
+ content: {
25502
+ "application/json": components["schemas"]["DashboardExecuteResponse"];
25503
+ };
25504
+ };
25505
+ /** @description Validation Error */
25506
+ 422: {
25507
+ headers: {
25508
+ [name: string]: unknown;
25509
+ };
25510
+ content: {
25511
+ "application/json": components["schemas"]["HTTPValidationError"];
25512
+ };
25513
+ };
25514
+ };
25515
+ };
24977
25516
  "list-data-sources": {
24978
25517
  parameters: {
24979
25518
  query?: {
@@ -33343,9 +33882,7 @@ export interface operations {
33343
33882
  [name: string]: unknown;
33344
33883
  };
33345
33884
  content: {
33346
- "application/json": {
33347
- [key: string]: unknown;
33348
- };
33885
+ "application/json": components["schemas"]["RecommendResponse"];
33349
33886
  };
33350
33887
  };
33351
33888
  /** @description Validation Error */
@@ -33444,9 +33981,7 @@ export interface operations {
33444
33981
  [name: string]: unknown;
33445
33982
  };
33446
33983
  content: {
33447
- "application/json": {
33448
- [key: string]: string;
33449
- };
33984
+ "application/json": components["schemas"]["DestroySessionResponse"];
33450
33985
  };
33451
33986
  };
33452
33987
  /** @description Validation Error */