@amigo-ai/platform-sdk 0.49.0 → 0.51.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.
@@ -3027,25 +3027,6 @@ export interface paths {
3027
3027
  patch?: never;
3028
3028
  trace?: never;
3029
3029
  };
3030
- "/v1/{workspace_id}/fork": {
3031
- parameters: {
3032
- query?: never;
3033
- header?: never;
3034
- path?: never;
3035
- cookie?: never;
3036
- };
3037
- /** Get fork status */
3038
- get: operations["get-fork"];
3039
- put?: never;
3040
- /** Create a Lakebase fork (sandbox) */
3041
- post: operations["create-fork"];
3042
- /** Destroy fork */
3043
- delete: operations["delete-fork"];
3044
- options?: never;
3045
- head?: never;
3046
- patch?: never;
3047
- trace?: never;
3048
- };
3049
3030
  "/v1/{workspace_id}/functions": {
3050
3031
  parameters: {
3051
3032
  query?: never;
@@ -3777,23 +3758,6 @@ export interface paths {
3777
3758
  patch?: never;
3778
3759
  trace?: never;
3779
3760
  };
3780
- "/v1/{workspace_id}/lakebase/query": {
3781
- parameters: {
3782
- query?: never;
3783
- header?: never;
3784
- path?: never;
3785
- cookie?: never;
3786
- };
3787
- get?: never;
3788
- put?: never;
3789
- /** Execute SQL against workspace Lakebase */
3790
- post: operations["execute-workspace-query"];
3791
- delete?: never;
3792
- options?: never;
3793
- head?: never;
3794
- patch?: never;
3795
- trace?: never;
3796
- };
3797
3761
  "/v1/{workspace_id}/m42/anomalies/ranked": {
3798
3762
  parameters: {
3799
3763
  query?: never;
@@ -5177,7 +5141,7 @@ export interface paths {
5177
5141
  * List prompt logs for a workspace
5178
5142
  * @description Lists ``prompt_log`` events emitted by agent-engine — full system prompt, conversation history, tool catalog, LLM model, and response — for auditing and debugging. Reads the Delta ``world_events`` ledger via Databricks SQL; typical latency is 1-5s with a 15s ceiling on cold-start.
5179
5143
  *
5180
- * **Conversation filter**: pass ``conversation_id`` (UUID from ``world.entities``) for the canonical mental model — works uniformly across voice, text, sim, and scribe modalities. ``call_sid`` is the legacy direct-SID filter (Twilio CA-SID for voice, session_id UUID otherwise) and is mutually exclusive with ``conversation_id``.
5144
+ * **Conversation filter**: pass ``conversation_id`` (UUID from ``world.entities``) for the canonical mental model — works uniformly across voice, text, and sim modalities. ``call_sid`` is the legacy direct-SID filter (Twilio CA-SID for voice, session_id UUID otherwise) and is mutually exclusive with ``conversation_id``.
5181
5145
  *
5182
5146
  * **Other filters**: ``prompt_type``, ``state_name``, ``from_ts``, ``to_ts``. When no selectivity-bearing filter (conversation_id / call_sid / time range) is supplied, the query is auto-capped to the last 7 days; the applied window is reported in ``applied_time_window_days``.
5183
5147
  *
@@ -5194,59 +5158,6 @@ export interface paths {
5194
5158
  patch?: never;
5195
5159
  trace?: never;
5196
5160
  };
5197
- "/v1/{workspace_id}/query-tools": {
5198
- parameters: {
5199
- query?: never;
5200
- header?: never;
5201
- path?: never;
5202
- cookie?: never;
5203
- };
5204
- /** List query tools */
5205
- get: operations["list-query-tools"];
5206
- put?: never;
5207
- /** Create a query tool */
5208
- post: operations["create-query-tool"];
5209
- delete?: never;
5210
- options?: never;
5211
- head?: never;
5212
- patch?: never;
5213
- trace?: never;
5214
- };
5215
- "/v1/{workspace_id}/query-tools/{tool_id}": {
5216
- parameters: {
5217
- query?: never;
5218
- header?: never;
5219
- path?: never;
5220
- cookie?: never;
5221
- };
5222
- get?: never;
5223
- put?: never;
5224
- post?: never;
5225
- /** Delete a query tool */
5226
- delete: operations["delete-query-tool"];
5227
- options?: never;
5228
- head?: never;
5229
- /** Update a query tool */
5230
- patch: operations["update-query-tool"];
5231
- trace?: never;
5232
- };
5233
- "/v1/{workspace_id}/query-tools/{tool_id}/test": {
5234
- parameters: {
5235
- query?: never;
5236
- header?: never;
5237
- path?: never;
5238
- cookie?: never;
5239
- };
5240
- get?: never;
5241
- put?: never;
5242
- /** Test a query tool with sample parameters */
5243
- post: operations["test-query-tool"];
5244
- delete?: never;
5245
- options?: never;
5246
- head?: never;
5247
- patch?: never;
5248
- trace?: never;
5249
- };
5250
5161
  "/v1/{workspace_id}/query/{schema}/{table}": {
5251
5162
  parameters: {
5252
5163
  query?: never;
@@ -5801,106 +5712,6 @@ export interface paths {
5801
5712
  patch: operations["update-scheduling-rule-set"];
5802
5713
  trace?: never;
5803
5714
  };
5804
- "/v1/{workspace_id}/scribe/encounters/{encounter_id}/finalize": {
5805
- parameters: {
5806
- query?: never;
5807
- header?: never;
5808
- path?: never;
5809
- cookie?: never;
5810
- };
5811
- get?: never;
5812
- put?: never;
5813
- /**
5814
- * Finalize Encounter
5815
- * @description Physician finalizes the encounter. Locks the encounter for EHR sync.
5816
- */
5817
- post: operations["finalize-encounter"];
5818
- delete?: never;
5819
- options?: never;
5820
- head?: never;
5821
- patch?: never;
5822
- trace?: never;
5823
- };
5824
- "/v1/{workspace_id}/scribe/encounters/{encounter_id}/icd10/approve": {
5825
- parameters: {
5826
- query?: never;
5827
- header?: never;
5828
- path?: never;
5829
- cookie?: never;
5830
- };
5831
- get?: never;
5832
- put?: never;
5833
- /**
5834
- * Approve Icd10
5835
- * @description Physician approves an ICD-10 code. Writes at HIGH confidence (0.9).
5836
- */
5837
- post: operations["approve-icd10-code"];
5838
- delete?: never;
5839
- options?: never;
5840
- head?: never;
5841
- patch?: never;
5842
- trace?: never;
5843
- };
5844
- "/v1/{workspace_id}/scribe/encounters/{encounter_id}/icd10/reject": {
5845
- parameters: {
5846
- query?: never;
5847
- header?: never;
5848
- path?: never;
5849
- cookie?: never;
5850
- };
5851
- get?: never;
5852
- put?: never;
5853
- /**
5854
- * Reject Icd10
5855
- * @description Physician rejects an ICD-10 code. Writes at HIGH confidence (0.9).
5856
- */
5857
- post: operations["reject-icd10-code"];
5858
- delete?: never;
5859
- options?: never;
5860
- head?: never;
5861
- patch?: never;
5862
- trace?: never;
5863
- };
5864
- "/v1/{workspace_id}/scribe/encounters/{encounter_id}/soap/edit": {
5865
- parameters: {
5866
- query?: never;
5867
- header?: never;
5868
- path?: never;
5869
- cookie?: never;
5870
- };
5871
- get?: never;
5872
- put?: never;
5873
- /**
5874
- * Edit Soap
5875
- * @description Physician edits a SOAP section. Writes at HIGH confidence (0.9) — supersedes agent observations.
5876
- */
5877
- post: operations["edit-encounter-soap"];
5878
- delete?: never;
5879
- options?: never;
5880
- head?: never;
5881
- patch?: never;
5882
- trace?: never;
5883
- };
5884
- "/v1/{workspace_id}/scribe/recordings/transcribe": {
5885
- parameters: {
5886
- query?: never;
5887
- header?: never;
5888
- path?: never;
5889
- cookie?: never;
5890
- };
5891
- get?: never;
5892
- put?: never;
5893
- /**
5894
- * Transcribe Scribe Recording
5895
- * @description Transcribe a completed Superscribe clinical recording.
5896
- */
5897
- post: operations["transcribe-scribe-recording"];
5898
- delete?: never;
5899
- options?: never;
5900
- head?: never;
5901
- patch?: never;
5902
- trace?: never;
5903
- };
5904
5715
  "/v1/{workspace_id}/sensorium/connector-health": {
5905
5716
  parameters: {
5906
5717
  query?: never;
@@ -6567,38 +6378,6 @@ export interface paths {
6567
6378
  patch?: never;
6568
6379
  trace?: never;
6569
6380
  };
6570
- "/v1/{workspace_id}/settings/scribe": {
6571
- parameters: {
6572
- query?: never;
6573
- header?: never;
6574
- path?: never;
6575
- cookie?: never;
6576
- };
6577
- /**
6578
- * Get Superscribe access settings
6579
- * @description Get workspace Superscribe access settings.
6580
- *
6581
- * Returns the list of authorized clinicians and whether scribe is enabled.
6582
- *
6583
- * Permissions: authenticated (any role).
6584
- */
6585
- get: operations["get-scribe-settings"];
6586
- /**
6587
- * Update Superscribe access settings
6588
- * @description Update workspace Superscribe access settings.
6589
- *
6590
- * Manages which clinicians can authenticate to Superscribe via Google OAuth.
6591
- *
6592
- * Permissions: admin, owner.
6593
- */
6594
- put: operations["update-scribe-settings"];
6595
- post?: never;
6596
- delete?: never;
6597
- options?: never;
6598
- head?: never;
6599
- patch?: never;
6600
- trace?: never;
6601
- };
6602
6381
  "/v1/{workspace_id}/settings/security": {
6603
6382
  parameters: {
6604
6383
  query?: never;
@@ -6842,7 +6621,11 @@ export interface paths {
6842
6621
  */
6843
6622
  get: operations["list-simulation-cases"];
6844
6623
  put?: never;
6845
- post?: never;
6624
+ /**
6625
+ * Create Simulation Cases
6626
+ * @description Create durable simulation cases for an internal benchmark suite.
6627
+ */
6628
+ post: operations["create-simulation-cases"];
6846
6629
  delete?: never;
6847
6630
  options?: never;
6848
6631
  head?: never;
@@ -7959,66 +7742,6 @@ export interface paths {
7959
7742
  patch?: never;
7960
7743
  trace?: never;
7961
7744
  };
7962
- "/v1/{workspace_id}/voiceprints/enroll": {
7963
- parameters: {
7964
- query?: never;
7965
- header?: never;
7966
- path?: never;
7967
- cookie?: never;
7968
- };
7969
- get?: never;
7970
- put?: never;
7971
- /**
7972
- * Enroll Voiceprint
7973
- * @description Enroll a speaker voiceprint for an entity.
7974
- *
7975
- * Accepts PCM16 audio (wav or raw bytes). Proxies to emotion-engine
7976
- * for ECAPA-TDNN embedding extraction, then stores the result as a
7977
- * world event on the person entity.
7978
- *
7979
- * Permissions: admin, owner.
7980
- */
7981
- post: operations["enroll-voiceprint"];
7982
- delete?: never;
7983
- options?: never;
7984
- head?: never;
7985
- patch?: never;
7986
- trace?: never;
7987
- };
7988
- "/v1/{workspace_id}/voiceprints/verify": {
7989
- parameters: {
7990
- query?: never;
7991
- header?: never;
7992
- path?: never;
7993
- cookie?: never;
7994
- };
7995
- get?: never;
7996
- put?: never;
7997
- /** Verify Voiceprint */
7998
- post: operations["verify-voiceprint"];
7999
- delete?: never;
8000
- options?: never;
8001
- head?: never;
8002
- patch?: never;
8003
- trace?: never;
8004
- };
8005
- "/v1/{workspace_id}/voiceprints/{entity_id}": {
8006
- parameters: {
8007
- query?: never;
8008
- header?: never;
8009
- path?: never;
8010
- cookie?: never;
8011
- };
8012
- /** Get Voiceprint Status */
8013
- get: operations["get-voiceprint-status"];
8014
- put?: never;
8015
- post?: never;
8016
- delete?: never;
8017
- options?: never;
8018
- head?: never;
8019
- patch?: never;
8020
- trace?: never;
8021
- };
8022
7745
  "/v1/{workspace_id}/webhook-destinations": {
8023
7746
  parameters: {
8024
7747
  query?: never;
@@ -9323,11 +9046,6 @@ export interface components {
9323
9046
  /** Skipped */
9324
9047
  skipped: string[];
9325
9048
  };
9326
- /** ApproveICD10Request */
9327
- ApproveICD10Request: {
9328
- /** Code */
9329
- code: string;
9330
- };
9331
9049
  /**
9332
9050
  * ApproveRequest
9333
9051
  * @description Approve events — promotes confidence to 0.95.
@@ -9954,18 +9672,6 @@ export interface components {
9954
9672
  */
9955
9673
  setup_id: string;
9956
9674
  };
9957
- /** Body_enroll-voiceprint */
9958
- "Body_enroll-voiceprint": {
9959
- /** Audio */
9960
- audio: string;
9961
- /** Entity Id */
9962
- entity_id: string;
9963
- /**
9964
- * Sample Rate
9965
- * @default 16000
9966
- */
9967
- sample_rate?: number;
9968
- };
9969
9675
  /** Body_send-voicemail */
9970
9676
  "Body_send-voicemail": {
9971
9677
  /** Audio */
@@ -9978,34 +9684,6 @@ export interface components {
9978
9684
  */
9979
9685
  use_case_id: string;
9980
9686
  };
9981
- /** Body_transcribe-scribe-recording */
9982
- "Body_transcribe-scribe-recording": {
9983
- /** Audio */
9984
- audio: string;
9985
- /** Keyterms */
9986
- keyterms?: string | null;
9987
- /** Language */
9988
- language?: string | null;
9989
- /** Patient Entity Id */
9990
- patient_entity_id?: string | null;
9991
- /**
9992
- * Service Id
9993
- * Format: uuid
9994
- */
9995
- service_id: string;
9996
- };
9997
- /** Body_verify-voiceprint */
9998
- "Body_verify-voiceprint": {
9999
- /** Audio */
10000
- audio: string;
10001
- /** Entity Id */
10002
- entity_id: string;
10003
- /**
10004
- * Sample Rate
10005
- * @default 16000
10006
- */
10007
- sample_rate?: number;
10008
- };
10009
9687
  /** Body_voice-turn */
10010
9688
  "Body_voice-turn": {
10011
9689
  /** Audio */
@@ -10375,7 +10053,7 @@ export interface components {
10375
10053
  /** Service Id */
10376
10054
  service_id?: string | null;
10377
10055
  /** Source */
10378
- source?: ("real" | "simulation" | "playground" | "scribe") | null;
10056
+ source?: ("real" | "simulation" | "playground") | null;
10379
10057
  /**
10380
10058
  * States Visited
10381
10059
  * @default []
@@ -10689,9 +10367,9 @@ export interface components {
10689
10367
  service_id?: string | null;
10690
10368
  /**
10691
10369
  * Source
10692
- * @description Call source — real, simulation, playground, or scribe
10370
+ * @description Call source — real, simulation, or playground
10693
10371
  */
10694
- source?: ("real" | "simulation" | "playground" | "scribe") | null;
10372
+ source?: ("real" | "simulation" | "playground") | null;
10695
10373
  /**
10696
10374
  * Started At
10697
10375
  * @description When the call started
@@ -11005,7 +10683,7 @@ export interface components {
11005
10683
  * Each kind maps to one or more providers.
11006
10684
  * @enum {string}
11007
10685
  */
11008
- ChannelKind: "voice" | "sms" | "whatsapp" | "email" | "web" | "scribe";
10686
+ ChannelKind: "voice" | "sms" | "whatsapp" | "email" | "web";
11009
10687
  /**
11010
10688
  * ChannelOverride
11011
10689
  * @description Per-channel behavior override for a state.
@@ -12381,11 +12059,6 @@ export interface components {
12381
12059
  };
12382
12060
  /** CreateConversationRequest */
12383
12061
  CreateConversationRequest: {
12384
- /**
12385
- * Auto Greet
12386
- * @default true
12387
- */
12388
- auto_greet?: boolean;
12389
12062
  /** Entity Id */
12390
12063
  entity_id?: string | null;
12391
12064
  /**
@@ -12464,14 +12137,6 @@ export interface components {
12464
12137
  */
12465
12138
  sync_strategy?: "manual" | "scheduled" | "webhook" | "continuous";
12466
12139
  };
12467
- /** CreateForkRequest */
12468
- CreateForkRequest: {
12469
- /**
12470
- * Ttl Days
12471
- * @default 7
12472
- */
12473
- ttl_days?: number;
12474
- };
12475
12140
  /** CreateIntegrationRequest */
12476
12141
  CreateIntegrationRequest: {
12477
12142
  auth?: components["schemas"]["AuthConfigWithSecrets"] | null;
@@ -12775,7 +12440,7 @@ export interface components {
12775
12440
  * @default voice
12776
12441
  * @enum {string}
12777
12442
  */
12778
- channel_type?: "voice" | "text" | "scribe";
12443
+ channel_type?: "voice" | "text";
12779
12444
  /**
12780
12445
  * Context Graph Id
12781
12446
  * Format: uuid
@@ -12845,6 +12510,59 @@ export interface components {
12845
12510
  /** Session Id */
12846
12511
  session_id: string;
12847
12512
  };
12513
+ /**
12514
+ * CreateSimulationCaseItem
12515
+ * @description One durable simulation case to create.
12516
+ */
12517
+ CreateSimulationCaseItem: {
12518
+ /** Assertions */
12519
+ assertions?: {
12520
+ [key: string]: unknown;
12521
+ }[];
12522
+ /** Constraints */
12523
+ constraints?: {
12524
+ [key: string]: unknown;
12525
+ };
12526
+ /** Description */
12527
+ description: string;
12528
+ /** Fixtures */
12529
+ fixtures?: {
12530
+ [key: string]: unknown;
12531
+ };
12532
+ /** Initial Message */
12533
+ initial_message: string;
12534
+ /** Persona */
12535
+ persona?: {
12536
+ [key: string]: unknown;
12537
+ };
12538
+ /**
12539
+ * Provenance
12540
+ * @default manual
12541
+ */
12542
+ provenance?: string;
12543
+ /** Scenario Instructions */
12544
+ scenario_instructions: string;
12545
+ /** Service Id */
12546
+ service_id?: string | null;
12547
+ /** Tags */
12548
+ tags?: string[];
12549
+ /** Target Spec */
12550
+ target_spec?: {
12551
+ [key: string]: unknown;
12552
+ };
12553
+ /** Temperament */
12554
+ temperament?: string | null;
12555
+ };
12556
+ /** CreateSimulationCasesRequest */
12557
+ CreateSimulationCasesRequest: {
12558
+ /** Cases */
12559
+ cases: components["schemas"]["CreateSimulationCaseItem"][];
12560
+ };
12561
+ /** CreateSimulationCasesResponse */
12562
+ CreateSimulationCasesResponse: {
12563
+ /** Cases */
12564
+ cases: components["schemas"]["SimulationCaseResponse"][];
12565
+ };
12848
12566
  /** CreateSkillRequest */
12849
12567
  CreateSkillRequest: {
12850
12568
  /**
@@ -13020,24 +12738,6 @@ export interface components {
13020
12738
  /** Use Case Id */
13021
12739
  use_case_id?: string | null;
13022
12740
  };
13023
- /** CreateToolRequest */
13024
- CreateToolRequest: {
13025
- /** @default */
13026
- description?: components["schemas"]["DescriptionString"];
13027
- name: components["schemas"]["NameString"];
13028
- /** Parameters */
13029
- parameters?: {
13030
- [key: string]: unknown;
13031
- };
13032
- /** Query */
13033
- query: string;
13034
- /**
13035
- * Target
13036
- * @default lakebase
13037
- * @constant
13038
- */
13039
- target?: "lakebase";
13040
- };
13041
12741
  /** CreateTriggerRequest */
13042
12742
  CreateTriggerRequest: {
13043
12743
  /**
@@ -13107,22 +12807,28 @@ export interface components {
13107
12807
  */
13108
12808
  trigger_id: string;
13109
12809
  };
13110
- /** CreateWorkspaceRequest */
12810
+ /**
12811
+ * CreateWorkspaceRequest
12812
+ * @description Request body for ``POST /v1/me/workspaces``.
12813
+ *
12814
+ * ``region`` is intentionally not exposed here — the workspace is created
12815
+ * in the region of the platform-api pod that handles the request (each
12816
+ * region's CD pipeline serves its own ingress host), and a workspace
12817
+ * cannot migrate between regions. The handler derives it from
12818
+ * ``app.env.aws_region``.
12819
+ *
12820
+ * ``environment`` has no default: it is a load-bearing routing field
12821
+ * (staging vs production downstream), and ``PATCH .../convert_environment``
12822
+ * is the supported migration path. Callers must commit to a value.
12823
+ */
13111
12824
  CreateWorkspaceRequest: {
13112
12825
  backend_org_id?: components["schemas"]["StrippedNonemptyString"] | null;
13113
12826
  /**
13114
12827
  * Environment
13115
- * @default staging
13116
12828
  * @enum {string}
13117
12829
  */
13118
- environment?: "production" | "staging" | "development";
12830
+ environment: "production" | "staging" | "development";
13119
12831
  name: components["schemas"]["StrippedNonemptyString"];
13120
- /**
13121
- * Region
13122
- * @default us-east-1
13123
- * @enum {string}
13124
- */
13125
- region?: "us-east-1" | "ap-southeast-2" | "eu-central-1" | "ca-central-1";
13126
12832
  slug: components["schemas"]["SlugString"];
13127
12833
  };
13128
12834
  /** CrmActivityItem */
@@ -14374,13 +14080,6 @@ export interface components {
14374
14080
  */
14375
14081
  verified: boolean;
14376
14082
  };
14377
- /** EditSoapRequest */
14378
- EditSoapRequest: {
14379
- /** Content */
14380
- content: string;
14381
- /** Section */
14382
- section: string;
14383
- };
14384
14083
  /** EgressIpsResponse */
14385
14084
  EgressIpsResponse: {
14386
14085
  /** Egress Ips */
@@ -15014,7 +14713,7 @@ export interface components {
15014
14713
  effective_at?: string | null;
15015
14714
  /**
15016
14715
  * Source
15017
- * @description Write source — e.g. manual, hubspot, forms, scribe, auto_enrich.
14716
+ * @description Write source — e.g. manual, hubspot, forms, auto_enrich.
15018
14717
  * @default manual
15019
14718
  */
15020
14719
  source?: string;
@@ -15902,11 +15601,6 @@ export interface components {
15902
15601
  [key: string]: unknown;
15903
15602
  };
15904
15603
  };
15905
- /** ExecuteQueryRequest */
15906
- ExecuteQueryRequest: {
15907
- /** Sql */
15908
- sql: string;
15909
- };
15910
15604
  /** ExitCondition */
15911
15605
  ExitCondition: {
15912
15606
  /** Description */
@@ -16591,18 +16285,6 @@ export interface components {
16591
16285
  /** Alternatives */
16592
16286
  alternatives: components["schemas"]["ForkAlternative"][];
16593
16287
  };
16594
- /** ForkResponse */
16595
- ForkResponse: {
16596
- /** Endpoint */
16597
- endpoint: string;
16598
- /**
16599
- * Status
16600
- * @enum {string}
16601
- */
16602
- status: "pending" | "ready" | "deleting";
16603
- /** Ttl Days */
16604
- ttl_days?: number | null;
16605
- };
16606
16288
  /**
16607
16289
  * FormTemplate
16608
16290
  * @description Reusable form template with sections, prefill, branding.
@@ -20097,17 +19779,6 @@ export interface components {
20097
19779
  /** Total */
20098
19780
  total?: number | null;
20099
19781
  };
20100
- /** PaginatedResponse[ToolResponse] */
20101
- PaginatedResponse_ToolResponse_: {
20102
- /** Continuation Token */
20103
- continuation_token?: number | null;
20104
- /** Has More */
20105
- has_more: boolean;
20106
- /** Items */
20107
- items: components["schemas"]["ToolResponse"][];
20108
- /** Total */
20109
- total?: number | null;
20110
- };
20111
19782
  /** PaginatedResponse[TriggerResponse] */
20112
19783
  PaginatedResponse_TriggerResponse_: {
20113
19784
  /** Continuation Token */
@@ -21423,7 +21094,7 @@ export interface components {
21423
21094
  resolved_call_sid?: string | null;
21424
21095
  /**
21425
21096
  * Resolved Conversation Kind
21426
- * @description ``entity_type`` of the conversation entity when ``conversation_id`` was supplied (``call`` for voice/sim/scribe, ``conversation`` for text/sms/whatsapp/email). Null otherwise.
21097
+ * @description ``entity_type`` of the conversation entity when ``conversation_id`` was supplied (``call`` for voice/sim, ``conversation`` for text/sms/whatsapp/email). Null otherwise.
21427
21098
  */
21428
21099
  resolved_conversation_kind?: ("call" | "conversation") | null;
21429
21100
  };
@@ -21552,17 +21223,6 @@ export interface components {
21552
21223
  [key: string]: unknown;
21553
21224
  }[];
21554
21225
  };
21555
- /** QueryResultResponse */
21556
- QueryResultResponse: {
21557
- /** Columns */
21558
- columns?: string[] | null;
21559
- /** Row Count */
21560
- row_count: number;
21561
- /** Rows */
21562
- rows?: {
21563
- [key: string]: unknown;
21564
- }[] | null;
21565
- };
21566
21226
  /**
21567
21227
  * QuietHours
21568
21228
  * @description Quiet hours — no outbound outreach during this window.
@@ -21874,13 +21534,6 @@ export interface components {
21874
21534
  /** Version */
21875
21535
  version: string;
21876
21536
  };
21877
- /** RejectICD10Request */
21878
- RejectICD10Request: {
21879
- /** Code */
21880
- code: string;
21881
- /** Reason */
21882
- reason?: string | null;
21883
- };
21884
21537
  /**
21885
21538
  * RejectRequest
21886
21539
  * @description Reject events — demotes confidence to 0.0.
@@ -22311,6 +21964,11 @@ export interface components {
22311
21964
  * @default 1
22312
21965
  */
22313
21966
  concurrency?: number;
21967
+ /**
21968
+ * Entity Id
21969
+ * @description Optional world entity UUID to bind caller context for every selected saved-case run. When omitted, each case falls back to fixtures.case_specific.entity_id if present.
21970
+ */
21971
+ entity_id?: string | null;
22314
21972
  exploration?: components["schemas"]["ExplorationConfig"] | null;
22315
21973
  /**
22316
21974
  * Max Cases
@@ -22338,6 +21996,11 @@ export interface components {
22338
21996
  * @default 1
22339
21997
  */
22340
21998
  concurrency?: number;
21999
+ /**
22000
+ * Entity Id
22001
+ * @description Optional world entity UUID to bind caller context for this saved-case run. When omitted, the runner falls back to fixtures.case_specific.entity_id if present.
22002
+ */
22003
+ entity_id?: string | null;
22341
22004
  exploration?: components["schemas"]["ExplorationConfig"] | null;
22342
22005
  /**
22343
22006
  * Max Turns
@@ -22693,212 +22356,6 @@ export interface components {
22693
22356
  /** Score Rationale */
22694
22357
  score_rationale?: string | null;
22695
22358
  };
22696
- /**
22697
- * ScribeCdsConfig
22698
- * @description Clinical decision support configuration (V2/V3 workers).
22699
- */
22700
- ScribeCdsConfig: {
22701
- /**
22702
- * Care Gap Surfacing
22703
- * @default true
22704
- */
22705
- care_gap_surfacing?: boolean;
22706
- /**
22707
- * Documentation Completeness
22708
- * @default true
22709
- */
22710
- documentation_completeness?: boolean;
22711
- /**
22712
- * Guideline Matching
22713
- * @default false
22714
- */
22715
- guideline_matching?: boolean;
22716
- /**
22717
- * Icd10 Auto Suggest
22718
- * @default true
22719
- */
22720
- icd10_auto_suggest?: boolean;
22721
- };
22722
- /**
22723
- * ScribeClinician
22724
- * @description A clinician authorized to use Superscribe.
22725
- */
22726
- ScribeClinician: {
22727
- /**
22728
- * Email
22729
- * Format: email
22730
- */
22731
- email: string;
22732
- /** Name */
22733
- name?: string | null;
22734
- /**
22735
- * Role
22736
- * @default clinician
22737
- */
22738
- role?: string;
22739
- };
22740
- /**
22741
- * ScribePostEncounterConfig
22742
- * @description Post-encounter automation configuration.
22743
- */
22744
- ScribePostEncounterConfig: {
22745
- /**
22746
- * Auto Polish Note
22747
- * @default true
22748
- */
22749
- auto_polish_note?: boolean;
22750
- /**
22751
- * Education Materials
22752
- * @default false
22753
- */
22754
- education_materials?: boolean;
22755
- /**
22756
- * Follow Up Surface
22757
- * @default false
22758
- */
22759
- follow_up_surface?: boolean;
22760
- /**
22761
- * Order Preparation
22762
- * @default false
22763
- */
22764
- order_preparation?: boolean;
22765
- };
22766
- /**
22767
- * ScribeSafetyConfig
22768
- * @description V0 sentinel and safety configuration.
22769
- */
22770
- ScribeSafetyConfig: {
22771
- /**
22772
- * Allergy Cross Reference
22773
- * @default true
22774
- */
22775
- allergy_cross_reference?: boolean;
22776
- /**
22777
- * Crisis Detection
22778
- * @default true
22779
- */
22780
- crisis_detection?: boolean;
22781
- /**
22782
- * Drug Interaction Checking
22783
- * @default true
22784
- */
22785
- drug_interaction_checking?: boolean;
22786
- /**
22787
- * Vital Range Alerting
22788
- * @default true
22789
- */
22790
- vital_range_alerting?: boolean;
22791
- };
22792
- /**
22793
- * ScribeSettingsRequest
22794
- * @description Partial update — only provided fields are changed.
22795
- */
22796
- ScribeSettingsRequest: {
22797
- /** Authorized Clinicians */
22798
- authorized_clinicians?: components["schemas"]["ScribeClinician"][] | null;
22799
- cds?: components["schemas"]["ScribeCdsConfig"] | null;
22800
- /** Custom Instructions */
22801
- custom_instructions?: string | null;
22802
- /** Enabled */
22803
- enabled?: boolean | null;
22804
- /** Keyterms */
22805
- keyterms?: string[] | null;
22806
- /** Language */
22807
- language?: string | null;
22808
- post_encounter?: components["schemas"]["ScribePostEncounterConfig"] | null;
22809
- safety?: components["schemas"]["ScribeSafetyConfig"] | null;
22810
- /** Soap Style */
22811
- soap_style?: ("concise" | "detailed" | "structured") | null;
22812
- /** Specialty */
22813
- specialty?: string | null;
22814
- /** Tools Enabled */
22815
- tools_enabled?: string[] | null;
22816
- /** Voice Auth Enabled */
22817
- voice_auth_enabled?: boolean | null;
22818
- };
22819
- /** ScribeSettingsResponse */
22820
- ScribeSettingsResponse: {
22821
- /** Authorized Clinicians */
22822
- authorized_clinicians: components["schemas"]["ScribeClinician"][];
22823
- cds?: components["schemas"]["ScribeCdsConfig"];
22824
- /** Custom Instructions */
22825
- custom_instructions?: string | null;
22826
- /** Enabled */
22827
- enabled: boolean;
22828
- /** Keyterms */
22829
- keyterms?: string[];
22830
- /**
22831
- * Language
22832
- * @default en
22833
- */
22834
- language?: string;
22835
- post_encounter?: components["schemas"]["ScribePostEncounterConfig"];
22836
- safety?: components["schemas"]["ScribeSafetyConfig"];
22837
- /**
22838
- * Soap Style
22839
- * @default concise
22840
- * @enum {string}
22841
- */
22842
- soap_style?: "concise" | "detailed" | "structured";
22843
- /** Specialty */
22844
- specialty?: string | null;
22845
- /** Tools Enabled */
22846
- tools_enabled?: string[] | null;
22847
- /**
22848
- * Voice Auth Enabled
22849
- * @default false
22850
- */
22851
- voice_auth_enabled?: boolean;
22852
- };
22853
- /** ScribeTranscriptionChunk */
22854
- ScribeTranscriptionChunk: {
22855
- /** Confidence */
22856
- confidence?: number | null;
22857
- /** Duration Seconds */
22858
- duration_seconds?: number | null;
22859
- /** End Seconds */
22860
- end_seconds: number;
22861
- /** Index */
22862
- index: number;
22863
- /** Start Seconds */
22864
- start_seconds: number;
22865
- /** Text */
22866
- text: string;
22867
- };
22868
- /** ScribeTranscriptionResponse */
22869
- ScribeTranscriptionResponse: {
22870
- /** Chunk Count */
22871
- chunk_count: number;
22872
- /** Chunks */
22873
- chunks?: components["schemas"]["ScribeTranscriptionChunk"][];
22874
- /** Confidence */
22875
- confidence?: number | null;
22876
- /** Duration Seconds */
22877
- duration_seconds: number;
22878
- /** Keyterm Count */
22879
- keyterm_count: number;
22880
- /** Language */
22881
- language: string;
22882
- /** Model */
22883
- model: string;
22884
- /** Segments */
22885
- segments?: components["schemas"]["ScribeTranscriptionSegment"][];
22886
- /** Transcript */
22887
- transcript: string;
22888
- };
22889
- /** ScribeTranscriptionSegment */
22890
- ScribeTranscriptionSegment: {
22891
- /** Confidence */
22892
- confidence?: number | null;
22893
- /** End Seconds */
22894
- end_seconds?: number | null;
22895
- /** Speaker */
22896
- speaker?: number | null;
22897
- /** Start Seconds */
22898
- start_seconds?: number | null;
22899
- /** Text */
22900
- text: string;
22901
- };
22902
22359
  /** SearchAvailableNumbersResponse */
22903
22360
  SearchAvailableNumbersResponse: {
22904
22361
  /** Numbers */
@@ -22969,7 +22426,7 @@ export interface components {
22969
22426
  * @default voice
22970
22427
  * @enum {string}
22971
22428
  */
22972
- channel_type?: "voice" | "text" | "scribe";
22429
+ channel_type?: "voice" | "text";
22973
22430
  /**
22974
22431
  * Context Graph Id
22975
22432
  * Format: uuid
@@ -23108,7 +22565,7 @@ export interface components {
23108
22565
  * @default voice
23109
22566
  * @enum {string}
23110
22567
  */
23111
- channel_type?: "voice" | "text" | "scribe";
22568
+ channel_type?: "voice" | "text";
23112
22569
  /**
23113
22570
  * Context Graph Id
23114
22571
  * Format: uuid
@@ -25860,13 +25317,6 @@ export interface components {
25860
25317
  */
25861
25318
  sub_tool_logs: components["schemas"]["SubToolLog"][];
25862
25319
  };
25863
- /** TestToolRequest */
25864
- TestToolRequest: {
25865
- /** Parameters */
25866
- parameters?: {
25867
- [key: string]: unknown;
25868
- };
25869
- };
25870
25320
  /** TextCompletedEvent */
25871
25321
  TextCompletedEvent: {
25872
25322
  /** Channel Kind */
@@ -26370,34 +25820,6 @@ export interface components {
26370
25820
  */
26371
25821
  workspace_id: string;
26372
25822
  };
26373
- /** ToolResponse */
26374
- ToolResponse: {
26375
- /** Created At */
26376
- created_at?: string | null;
26377
- /** Description */
26378
- description: string;
26379
- /** Enabled */
26380
- enabled: boolean;
26381
- /** Id */
26382
- id: string;
26383
- /** Name */
26384
- name: string;
26385
- /** Parameters */
26386
- parameters: {
26387
- [key: string]: unknown;
26388
- };
26389
- /** Query */
26390
- query: string;
26391
- /**
26392
- * Target
26393
- * @constant
26394
- */
26395
- target: "lakebase";
26396
- /** Updated At */
26397
- updated_at?: string | null;
26398
- /** Workspace Id */
26399
- workspace_id: string;
26400
- };
26401
25823
  /**
26402
25824
  * ToolSummary
26403
25825
  * @description Tool usage statistics.
@@ -27165,12 +26587,24 @@ export interface components {
27165
26587
  TurnRequest: {
27166
26588
  /** Content */
27167
26589
  content?: components["schemas"]["ContentPartPayload"][] | null;
26590
+ /**
26591
+ * Context
26592
+ * @description Injected into the agent's prompt as caller/patient context for this turn.
26593
+ */
26594
+ context?: string | null;
27168
26595
  /** Media Type */
27169
26596
  media_type?: string | null;
27170
26597
  /** Media Url */
27171
26598
  media_url?: string | null;
27172
- /** Message */
27173
- message: string;
26599
+ /**
26600
+ * Message
26601
+ * @default
26602
+ */
26603
+ message?: string;
26604
+ /** Viewport Height */
26605
+ viewport_height?: number | null;
26606
+ /** Viewport Width */
26607
+ viewport_width?: number | null;
27174
26608
  };
27175
26609
  /** TurnResponse */
27176
26610
  TurnResponse: {
@@ -27520,7 +26954,7 @@ export interface components {
27520
26954
  /** Agent Id */
27521
26955
  agent_id?: string | null;
27522
26956
  /** Channel Type */
27523
- channel_type?: ("voice" | "text" | "scribe") | null;
26957
+ channel_type?: ("voice" | "text") | null;
27524
26958
  /** Context Graph Id */
27525
26959
  context_graph_id?: string | null;
27526
26960
  description?: components["schemas"]["DescriptionString"] | null;
@@ -27654,19 +27088,6 @@ export interface components {
27654
27088
  */
27655
27089
  workspace_id: string;
27656
27090
  };
27657
- /** UpdateToolRequest */
27658
- UpdateToolRequest: {
27659
- description?: components["schemas"]["DescriptionString"] | null;
27660
- /** Enabled */
27661
- enabled?: boolean | null;
27662
- name?: components["schemas"]["NameString"] | null;
27663
- /** Parameters */
27664
- parameters?: {
27665
- [key: string]: unknown;
27666
- } | null;
27667
- /** Query */
27668
- query?: string | null;
27669
- };
27670
27091
  /** UpdateTriggerRequest */
27671
27092
  UpdateTriggerRequest: {
27672
27093
  /** Action Id */
@@ -28359,97 +27780,56 @@ export interface components {
28359
27780
  */
28360
27781
  voicemail_id: string;
28361
27782
  };
28362
- /** VoiceprintEnrollResponse */
28363
- VoiceprintEnrollResponse: {
27783
+ /** WebhookDestinationCreatedResponse */
27784
+ WebhookDestinationCreatedResponse: {
27785
+ /** Accepted Event Types */
27786
+ accepted_event_types: string[];
28364
27787
  /**
28365
- * Dimensions
28366
- * @default 192
27788
+ * Created At
27789
+ * @description When the webhook destination was created
28367
27790
  */
28368
- dimensions?: number;
27791
+ created_at?: string | null;
27792
+ /** Created By */
27793
+ created_by: string | null;
27794
+ /** Description */
27795
+ description: string | null;
27796
+ /** Field Mapping */
27797
+ field_mapping: {
27798
+ [key: string]: unknown;
27799
+ } | null;
28369
27800
  /**
28370
- * Enrolled
28371
- * @default true
27801
+ * Id
27802
+ * Format: uuid
28372
27803
  */
28373
- enrolled?: boolean;
27804
+ id: string;
27805
+ /** Is Active */
27806
+ is_active: boolean;
27807
+ /** Name */
27808
+ name: string;
27809
+ /** Retry Attempts */
27810
+ retry_attempts: number;
27811
+ /** Secret */
27812
+ secret: string;
28374
27813
  /**
28375
- * Entity Id
27814
+ * Trigger Id
28376
27815
  * Format: uuid
28377
27816
  */
28378
- entity_id: string;
28379
- /** Model Id */
28380
- model_id: string;
28381
- };
28382
- /** VoiceprintStatusResponse */
28383
- VoiceprintStatusResponse: {
28384
- /** Enrolled */
28385
- enrolled: boolean;
28386
- /** Enrolled At */
28387
- enrolled_at?: string | null;
28388
- /** Model Id */
28389
- model_id?: string | null;
28390
- };
28391
- /** VoiceprintVerifyResponse */
28392
- VoiceprintVerifyResponse: {
27817
+ trigger_id: string;
28393
27818
  /**
28394
- * Entity Id
27819
+ * Updated At
27820
+ * @description When the webhook destination was last updated
27821
+ */
27822
+ updated_at?: string | null;
27823
+ /** Url */
27824
+ url: string;
27825
+ /**
27826
+ * Workspace Id
28395
27827
  * Format: uuid
28396
27828
  */
28397
- entity_id: string;
28398
- /** Similarity */
28399
- similarity: number;
28400
- /** Verified */
28401
- verified: boolean;
27829
+ workspace_id: string;
28402
27830
  };
28403
- /** WebhookDestinationCreatedResponse */
28404
- WebhookDestinationCreatedResponse: {
28405
- /** Accepted Event Types */
28406
- accepted_event_types: string[];
28407
- /**
28408
- * Created At
28409
- * @description When the webhook destination was created
28410
- */
28411
- created_at?: string | null;
28412
- /** Created By */
28413
- created_by: string | null;
28414
- /** Description */
28415
- description: string | null;
28416
- /** Field Mapping */
28417
- field_mapping: {
28418
- [key: string]: unknown;
28419
- } | null;
28420
- /**
28421
- * Id
28422
- * Format: uuid
28423
- */
28424
- id: string;
28425
- /** Is Active */
28426
- is_active: boolean;
28427
- /** Name */
28428
- name: string;
28429
- /** Retry Attempts */
28430
- retry_attempts: number;
28431
- /** Secret */
28432
- secret: string;
28433
- /**
28434
- * Trigger Id
28435
- * Format: uuid
28436
- */
28437
- trigger_id: string;
28438
- /**
28439
- * Updated At
28440
- * @description When the webhook destination was last updated
28441
- */
28442
- updated_at?: string | null;
28443
- /** Url */
28444
- url: string;
28445
- /**
28446
- * Workspace Id
28447
- * Format: uuid
28448
- */
28449
- workspace_id: string;
28450
- };
28451
- /** WebhookDestinationResponse */
28452
- WebhookDestinationResponse: {
27831
+ /** WebhookDestinationResponse */
27832
+ WebhookDestinationResponse: {
28453
27833
  /** Accepted Event Types */
28454
27834
  accepted_event_types: string[];
28455
27835
  /**
@@ -36688,7 +36068,7 @@ export interface operations {
36688
36068
  };
36689
36069
  };
36690
36070
  };
36691
- "get-fork": {
36071
+ "list-functions": {
36692
36072
  parameters: {
36693
36073
  query?: never;
36694
36074
  header?: never;
@@ -36705,7 +36085,7 @@ export interface operations {
36705
36085
  [name: string]: unknown;
36706
36086
  };
36707
36087
  content: {
36708
- "application/json": components["schemas"]["ForkResponse"] | null;
36088
+ "application/json": components["schemas"]["FunctionListResponse"];
36709
36089
  };
36710
36090
  };
36711
36091
  /** @description Rate limited */
@@ -36717,7 +36097,7 @@ export interface operations {
36717
36097
  };
36718
36098
  };
36719
36099
  };
36720
- "create-fork": {
36100
+ "create-function": {
36721
36101
  parameters: {
36722
36102
  query?: never;
36723
36103
  header?: never;
@@ -36728,18 +36108,25 @@ export interface operations {
36728
36108
  };
36729
36109
  requestBody: {
36730
36110
  content: {
36731
- "application/json": components["schemas"]["CreateForkRequest"];
36111
+ "application/json": components["schemas"]["FunctionCreateRequest"];
36732
36112
  };
36733
36113
  };
36734
36114
  responses: {
36735
36115
  /** @description Successful Response */
36736
- 201: {
36116
+ 200: {
36737
36117
  headers: {
36738
36118
  [name: string]: unknown;
36739
36119
  };
36740
36120
  content: {
36741
- "application/json": components["schemas"]["ForkResponse"];
36121
+ "application/json": components["schemas"]["FunctionDef"];
36122
+ };
36123
+ };
36124
+ /** @description Function name already registered */
36125
+ 409: {
36126
+ headers: {
36127
+ [name: string]: unknown;
36742
36128
  };
36129
+ content?: never;
36743
36130
  };
36744
36131
  /** @description Validation error */
36745
36132
  422: {
@@ -36757,7 +36144,7 @@ export interface operations {
36757
36144
  };
36758
36145
  };
36759
36146
  };
36760
- "delete-fork": {
36147
+ "discover-catalog": {
36761
36148
  parameters: {
36762
36149
  query?: never;
36763
36150
  header?: never;
@@ -36769,21 +36156,23 @@ export interface operations {
36769
36156
  requestBody?: never;
36770
36157
  responses: {
36771
36158
  /** @description Successful Response */
36772
- 204: {
36159
+ 200: {
36773
36160
  headers: {
36774
36161
  [name: string]: unknown;
36775
36162
  };
36776
- content?: never;
36163
+ content: {
36164
+ "application/json": components["schemas"]["CatalogResponse"];
36165
+ };
36777
36166
  };
36778
- /** @description Validation error */
36779
- 422: {
36167
+ /** @description Rate limited */
36168
+ 429: {
36780
36169
  headers: {
36781
36170
  [name: string]: unknown;
36782
36171
  };
36783
36172
  content?: never;
36784
36173
  };
36785
- /** @description Rate limited */
36786
- 429: {
36174
+ /** @description Agent engine unavailable */
36175
+ 503: {
36787
36176
  headers: {
36788
36177
  [name: string]: unknown;
36789
36178
  };
@@ -36791,7 +36180,7 @@ export interface operations {
36791
36180
  };
36792
36181
  };
36793
36182
  };
36794
- "list-functions": {
36183
+ "deploy-function": {
36795
36184
  parameters: {
36796
36185
  query?: never;
36797
36186
  header?: never;
@@ -36800,7 +36189,11 @@ export interface operations {
36800
36189
  };
36801
36190
  cookie?: never;
36802
36191
  };
36803
- requestBody?: never;
36192
+ requestBody: {
36193
+ content: {
36194
+ "application/json": components["schemas"]["RegisteredFunction"];
36195
+ };
36196
+ };
36804
36197
  responses: {
36805
36198
  /** @description Successful Response */
36806
36199
  200: {
@@ -36808,8 +36201,22 @@ export interface operations {
36808
36201
  [name: string]: unknown;
36809
36202
  };
36810
36203
  content: {
36811
- "application/json": components["schemas"]["FunctionListResponse"];
36204
+ "application/json": components["schemas"]["FunctionVersionResponse"];
36205
+ };
36206
+ };
36207
+ /** @description Concurrent deploy raced at the same version */
36208
+ 409: {
36209
+ headers: {
36210
+ [name: string]: unknown;
36812
36211
  };
36212
+ content?: never;
36213
+ };
36214
+ /** @description Validation failure (read-only / bind / parity) */
36215
+ 422: {
36216
+ headers: {
36217
+ [name: string]: unknown;
36218
+ };
36219
+ content?: never;
36813
36220
  };
36814
36221
  /** @description Rate limited */
36815
36222
  429: {
@@ -36820,7 +36227,7 @@ export interface operations {
36820
36227
  };
36821
36228
  };
36822
36229
  };
36823
- "create-function": {
36230
+ "query-functions": {
36824
36231
  parameters: {
36825
36232
  query?: never;
36826
36233
  header?: never;
@@ -36831,7 +36238,7 @@ export interface operations {
36831
36238
  };
36832
36239
  requestBody: {
36833
36240
  content: {
36834
- "application/json": components["schemas"]["FunctionCreateRequest"];
36241
+ "application/json": components["schemas"]["QueryRequest"];
36835
36242
  };
36836
36243
  };
36837
36244
  responses: {
@@ -36841,23 +36248,54 @@ export interface operations {
36841
36248
  [name: string]: unknown;
36842
36249
  };
36843
36250
  content: {
36844
- "application/json": components["schemas"]["FunctionDef"];
36251
+ "application/json": components["schemas"]["QueryResponse"];
36845
36252
  };
36846
36253
  };
36847
- /** @description Function name already registered */
36848
- 409: {
36254
+ /** @description Validation Error */
36255
+ 422: {
36256
+ headers: {
36257
+ [name: string]: unknown;
36258
+ };
36259
+ content: {
36260
+ "application/json": components["schemas"]["HTTPValidationError"];
36261
+ };
36262
+ };
36263
+ /** @description Rate limited */
36264
+ 429: {
36849
36265
  headers: {
36850
36266
  [name: string]: unknown;
36851
36267
  };
36852
36268
  content?: never;
36853
36269
  };
36854
- /** @description Validation error */
36855
- 422: {
36270
+ /** @description Agent engine unavailable */
36271
+ 503: {
36856
36272
  headers: {
36857
36273
  [name: string]: unknown;
36858
36274
  };
36859
36275
  content?: never;
36860
36276
  };
36277
+ };
36278
+ };
36279
+ "list-registered-functions": {
36280
+ parameters: {
36281
+ query?: never;
36282
+ header?: never;
36283
+ path: {
36284
+ workspace_id: string;
36285
+ };
36286
+ cookie?: never;
36287
+ };
36288
+ requestBody?: never;
36289
+ responses: {
36290
+ /** @description Successful Response */
36291
+ 200: {
36292
+ headers: {
36293
+ [name: string]: unknown;
36294
+ };
36295
+ content: {
36296
+ "application/json": components["schemas"]["FunctionVersionListResponse"];
36297
+ };
36298
+ };
36861
36299
  /** @description Rate limited */
36862
36300
  429: {
36863
36301
  headers: {
@@ -36867,7 +36305,7 @@ export interface operations {
36867
36305
  };
36868
36306
  };
36869
36307
  };
36870
- "discover-catalog": {
36308
+ "sync-catalog": {
36871
36309
  parameters: {
36872
36310
  query?: never;
36873
36311
  header?: never;
@@ -36884,7 +36322,7 @@ export interface operations {
36884
36322
  [name: string]: unknown;
36885
36323
  };
36886
36324
  content: {
36887
- "application/json": components["schemas"]["CatalogResponse"];
36325
+ "application/json": components["schemas"]["FunctionListResponse"];
36888
36326
  };
36889
36327
  };
36890
36328
  /** @description Rate limited */
@@ -36903,20 +36341,17 @@ export interface operations {
36903
36341
  };
36904
36342
  };
36905
36343
  };
36906
- "deploy-function": {
36344
+ "delete-function": {
36907
36345
  parameters: {
36908
36346
  query?: never;
36909
36347
  header?: never;
36910
36348
  path: {
36911
36349
  workspace_id: string;
36350
+ function_name: string;
36912
36351
  };
36913
36352
  cookie?: never;
36914
36353
  };
36915
- requestBody: {
36916
- content: {
36917
- "application/json": components["schemas"]["RegisteredFunction"];
36918
- };
36919
- };
36354
+ requestBody?: never;
36920
36355
  responses: {
36921
36356
  /** @description Successful Response */
36922
36357
  200: {
@@ -36924,22 +36359,26 @@ export interface operations {
36924
36359
  [name: string]: unknown;
36925
36360
  };
36926
36361
  content: {
36927
- "application/json": components["schemas"]["FunctionVersionResponse"];
36362
+ "application/json": {
36363
+ [key: string]: string;
36364
+ };
36928
36365
  };
36929
36366
  };
36930
- /** @description Concurrent deploy raced at the same version */
36931
- 409: {
36367
+ /** @description Function not found */
36368
+ 404: {
36932
36369
  headers: {
36933
36370
  [name: string]: unknown;
36934
36371
  };
36935
36372
  content?: never;
36936
36373
  };
36937
- /** @description Validation failure (read-only / bind / parity) */
36374
+ /** @description Validation Error */
36938
36375
  422: {
36939
36376
  headers: {
36940
36377
  [name: string]: unknown;
36941
36378
  };
36942
- content?: never;
36379
+ content: {
36380
+ "application/json": components["schemas"]["HTTPValidationError"];
36381
+ };
36943
36382
  };
36944
36383
  /** @description Rate limited */
36945
36384
  429: {
@@ -36950,18 +36389,19 @@ export interface operations {
36950
36389
  };
36951
36390
  };
36952
36391
  };
36953
- "query-functions": {
36392
+ "invoke-function": {
36954
36393
  parameters: {
36955
36394
  query?: never;
36956
36395
  header?: never;
36957
36396
  path: {
36958
36397
  workspace_id: string;
36398
+ function_name: string;
36959
36399
  };
36960
36400
  cookie?: never;
36961
36401
  };
36962
36402
  requestBody: {
36963
36403
  content: {
36964
- "application/json": components["schemas"]["QueryRequest"];
36404
+ "application/json": components["schemas"]["InvokeRequest"];
36965
36405
  };
36966
36406
  };
36967
36407
  responses: {
@@ -36971,17 +36411,22 @@ export interface operations {
36971
36411
  [name: string]: unknown;
36972
36412
  };
36973
36413
  content: {
36974
- "application/json": components["schemas"]["QueryResponse"];
36414
+ "application/json": components["schemas"]["InvokeResponse"];
36975
36415
  };
36976
36416
  };
36977
- /** @description Validation Error */
36978
- 422: {
36417
+ /** @description Function not found */
36418
+ 404: {
36979
36419
  headers: {
36980
36420
  [name: string]: unknown;
36981
36421
  };
36982
- content: {
36983
- "application/json": components["schemas"]["HTTPValidationError"];
36422
+ content?: never;
36423
+ };
36424
+ /** @description Bind validation failure */
36425
+ 422: {
36426
+ headers: {
36427
+ [name: string]: unknown;
36984
36428
  };
36429
+ content?: never;
36985
36430
  };
36986
36431
  /** @description Rate limited */
36987
36432
  429: {
@@ -36990,7 +36435,7 @@ export interface operations {
36990
36435
  };
36991
36436
  content?: never;
36992
36437
  };
36993
- /** @description Agent engine unavailable */
36438
+ /** @description Databricks SQL client unavailable */
36994
36439
  503: {
36995
36440
  headers: {
36996
36441
  [name: string]: unknown;
@@ -36999,16 +36444,21 @@ export interface operations {
36999
36444
  };
37000
36445
  };
37001
36446
  };
37002
- "list-registered-functions": {
36447
+ "promote-function": {
37003
36448
  parameters: {
37004
36449
  query?: never;
37005
36450
  header?: never;
37006
36451
  path: {
37007
36452
  workspace_id: string;
36453
+ function_name: string;
37008
36454
  };
37009
36455
  cookie?: never;
37010
36456
  };
37011
- requestBody?: never;
36457
+ requestBody: {
36458
+ content: {
36459
+ "application/json": components["schemas"]["PromoteRequest"];
36460
+ };
36461
+ };
37012
36462
  responses: {
37013
36463
  /** @description Successful Response */
37014
36464
  200: {
@@ -37016,7 +36466,23 @@ export interface operations {
37016
36466
  [name: string]: unknown;
37017
36467
  };
37018
36468
  content: {
37019
- "application/json": components["schemas"]["FunctionVersionListResponse"];
36469
+ "application/json": components["schemas"]["PromoteResponse"];
36470
+ };
36471
+ };
36472
+ /** @description Function or version not found */
36473
+ 404: {
36474
+ headers: {
36475
+ [name: string]: unknown;
36476
+ };
36477
+ content?: never;
36478
+ };
36479
+ /** @description Validation Error */
36480
+ 422: {
36481
+ headers: {
36482
+ [name: string]: unknown;
36483
+ };
36484
+ content: {
36485
+ "application/json": components["schemas"]["HTTPValidationError"];
37020
36486
  };
37021
36487
  };
37022
36488
  /** @description Rate limited */
@@ -37028,16 +36494,21 @@ export interface operations {
37028
36494
  };
37029
36495
  };
37030
36496
  };
37031
- "sync-catalog": {
36497
+ "rollback-function": {
37032
36498
  parameters: {
37033
36499
  query?: never;
37034
36500
  header?: never;
37035
36501
  path: {
37036
36502
  workspace_id: string;
36503
+ function_name: string;
37037
36504
  };
37038
36505
  cookie?: never;
37039
36506
  };
37040
- requestBody?: never;
36507
+ requestBody: {
36508
+ content: {
36509
+ "application/json": components["schemas"]["RollbackRequest"];
36510
+ };
36511
+ };
37041
36512
  responses: {
37042
36513
  /** @description Successful Response */
37043
36514
  200: {
@@ -37045,18 +36516,27 @@ export interface operations {
37045
36516
  [name: string]: unknown;
37046
36517
  };
37047
36518
  content: {
37048
- "application/json": components["schemas"]["FunctionListResponse"];
36519
+ "application/json": components["schemas"]["RollbackResponse"];
37049
36520
  };
37050
36521
  };
37051
- /** @description Rate limited */
37052
- 429: {
36522
+ /** @description Function or version not found */
36523
+ 404: {
37053
36524
  headers: {
37054
36525
  [name: string]: unknown;
37055
36526
  };
37056
36527
  content?: never;
37057
36528
  };
37058
- /** @description Agent engine unavailable */
37059
- 503: {
36529
+ /** @description Validation Error */
36530
+ 422: {
36531
+ headers: {
36532
+ [name: string]: unknown;
36533
+ };
36534
+ content: {
36535
+ "application/json": components["schemas"]["HTTPValidationError"];
36536
+ };
36537
+ };
36538
+ /** @description Rate limited */
36539
+ 429: {
37060
36540
  headers: {
37061
36541
  [name: string]: unknown;
37062
36542
  };
@@ -37064,7 +36544,7 @@ export interface operations {
37064
36544
  };
37065
36545
  };
37066
36546
  };
37067
- "delete-function": {
36547
+ "test-function": {
37068
36548
  parameters: {
37069
36549
  query?: never;
37070
36550
  header?: never;
@@ -37074,7 +36554,11 @@ export interface operations {
37074
36554
  };
37075
36555
  cookie?: never;
37076
36556
  };
37077
- requestBody?: never;
36557
+ requestBody: {
36558
+ content: {
36559
+ "application/json": components["schemas"]["FunctionTestRequest"];
36560
+ };
36561
+ };
37078
36562
  responses: {
37079
36563
  /** @description Successful Response */
37080
36564
  200: {
@@ -37082,214 +36566,7 @@ export interface operations {
37082
36566
  [name: string]: unknown;
37083
36567
  };
37084
36568
  content: {
37085
- "application/json": {
37086
- [key: string]: string;
37087
- };
37088
- };
37089
- };
37090
- /** @description Function not found */
37091
- 404: {
37092
- headers: {
37093
- [name: string]: unknown;
37094
- };
37095
- content?: never;
37096
- };
37097
- /** @description Validation Error */
37098
- 422: {
37099
- headers: {
37100
- [name: string]: unknown;
37101
- };
37102
- content: {
37103
- "application/json": components["schemas"]["HTTPValidationError"];
37104
- };
37105
- };
37106
- /** @description Rate limited */
37107
- 429: {
37108
- headers: {
37109
- [name: string]: unknown;
37110
- };
37111
- content?: never;
37112
- };
37113
- };
37114
- };
37115
- "invoke-function": {
37116
- parameters: {
37117
- query?: never;
37118
- header?: never;
37119
- path: {
37120
- workspace_id: string;
37121
- function_name: string;
37122
- };
37123
- cookie?: never;
37124
- };
37125
- requestBody: {
37126
- content: {
37127
- "application/json": components["schemas"]["InvokeRequest"];
37128
- };
37129
- };
37130
- responses: {
37131
- /** @description Successful Response */
37132
- 200: {
37133
- headers: {
37134
- [name: string]: unknown;
37135
- };
37136
- content: {
37137
- "application/json": components["schemas"]["InvokeResponse"];
37138
- };
37139
- };
37140
- /** @description Function not found */
37141
- 404: {
37142
- headers: {
37143
- [name: string]: unknown;
37144
- };
37145
- content?: never;
37146
- };
37147
- /** @description Bind validation failure */
37148
- 422: {
37149
- headers: {
37150
- [name: string]: unknown;
37151
- };
37152
- content?: never;
37153
- };
37154
- /** @description Rate limited */
37155
- 429: {
37156
- headers: {
37157
- [name: string]: unknown;
37158
- };
37159
- content?: never;
37160
- };
37161
- /** @description Databricks SQL client unavailable */
37162
- 503: {
37163
- headers: {
37164
- [name: string]: unknown;
37165
- };
37166
- content?: never;
37167
- };
37168
- };
37169
- };
37170
- "promote-function": {
37171
- parameters: {
37172
- query?: never;
37173
- header?: never;
37174
- path: {
37175
- workspace_id: string;
37176
- function_name: string;
37177
- };
37178
- cookie?: never;
37179
- };
37180
- requestBody: {
37181
- content: {
37182
- "application/json": components["schemas"]["PromoteRequest"];
37183
- };
37184
- };
37185
- responses: {
37186
- /** @description Successful Response */
37187
- 200: {
37188
- headers: {
37189
- [name: string]: unknown;
37190
- };
37191
- content: {
37192
- "application/json": components["schemas"]["PromoteResponse"];
37193
- };
37194
- };
37195
- /** @description Function or version not found */
37196
- 404: {
37197
- headers: {
37198
- [name: string]: unknown;
37199
- };
37200
- content?: never;
37201
- };
37202
- /** @description Validation Error */
37203
- 422: {
37204
- headers: {
37205
- [name: string]: unknown;
37206
- };
37207
- content: {
37208
- "application/json": components["schemas"]["HTTPValidationError"];
37209
- };
37210
- };
37211
- /** @description Rate limited */
37212
- 429: {
37213
- headers: {
37214
- [name: string]: unknown;
37215
- };
37216
- content?: never;
37217
- };
37218
- };
37219
- };
37220
- "rollback-function": {
37221
- parameters: {
37222
- query?: never;
37223
- header?: never;
37224
- path: {
37225
- workspace_id: string;
37226
- function_name: string;
37227
- };
37228
- cookie?: never;
37229
- };
37230
- requestBody: {
37231
- content: {
37232
- "application/json": components["schemas"]["RollbackRequest"];
37233
- };
37234
- };
37235
- responses: {
37236
- /** @description Successful Response */
37237
- 200: {
37238
- headers: {
37239
- [name: string]: unknown;
37240
- };
37241
- content: {
37242
- "application/json": components["schemas"]["RollbackResponse"];
37243
- };
37244
- };
37245
- /** @description Function or version not found */
37246
- 404: {
37247
- headers: {
37248
- [name: string]: unknown;
37249
- };
37250
- content?: never;
37251
- };
37252
- /** @description Validation Error */
37253
- 422: {
37254
- headers: {
37255
- [name: string]: unknown;
37256
- };
37257
- content: {
37258
- "application/json": components["schemas"]["HTTPValidationError"];
37259
- };
37260
- };
37261
- /** @description Rate limited */
37262
- 429: {
37263
- headers: {
37264
- [name: string]: unknown;
37265
- };
37266
- content?: never;
37267
- };
37268
- };
37269
- };
37270
- "test-function": {
37271
- parameters: {
37272
- query?: never;
37273
- header?: never;
37274
- path: {
37275
- workspace_id: string;
37276
- function_name: string;
37277
- };
37278
- cookie?: never;
37279
- };
37280
- requestBody: {
37281
- content: {
37282
- "application/json": components["schemas"]["FunctionTestRequest"];
37283
- };
37284
- };
37285
- responses: {
37286
- /** @description Successful Response */
37287
- 200: {
37288
- headers: {
37289
- [name: string]: unknown;
37290
- };
37291
- content: {
37292
- "application/json": components["schemas"]["FunctionTestResponse"];
36569
+ "application/json": components["schemas"]["FunctionTestResponse"];
37293
36570
  };
37294
36571
  };
37295
36572
  /** @description Function not found */
@@ -38331,46 +37608,6 @@ export interface operations {
38331
37608
  };
38332
37609
  };
38333
37610
  };
38334
- "execute-workspace-query": {
38335
- parameters: {
38336
- query?: never;
38337
- header?: never;
38338
- path: {
38339
- workspace_id: string;
38340
- };
38341
- cookie?: never;
38342
- };
38343
- requestBody: {
38344
- content: {
38345
- "application/json": components["schemas"]["ExecuteQueryRequest"];
38346
- };
38347
- };
38348
- responses: {
38349
- /** @description Successful Response */
38350
- 200: {
38351
- headers: {
38352
- [name: string]: unknown;
38353
- };
38354
- content: {
38355
- "application/json": components["schemas"]["QueryResultResponse"];
38356
- };
38357
- };
38358
- /** @description Validation error */
38359
- 422: {
38360
- headers: {
38361
- [name: string]: unknown;
38362
- };
38363
- content?: never;
38364
- };
38365
- /** @description Rate limited */
38366
- 429: {
38367
- headers: {
38368
- [name: string]: unknown;
38369
- };
38370
- content?: never;
38371
- };
38372
- };
38373
- };
38374
37611
  list_anomalies_ranked_v1__workspace_id__m42_anomalies_ranked_get: {
38375
37612
  parameters: {
38376
37613
  query?: {
@@ -41470,9 +40707,9 @@ export interface operations {
41470
40707
  "list-prompt-logs": {
41471
40708
  parameters: {
41472
40709
  query?: {
41473
- /** @description Conversation entity UUID (canonical identifier across all modalities — voice, text/web, sms, sim, scribe). Resolves to the underlying ``call_sid`` via ``world.entities``. Mutually exclusive with the ``call_sid`` query parameter. */
40710
+ /** @description Conversation entity UUID (canonical identifier across all modalities — voice, text/web, sms, sim). Resolves to the underlying ``call_sid`` via ``world.entities``. Mutually exclusive with the ``call_sid`` query parameter. */
41474
40711
  conversation_id?: string | null;
41475
- /** @description Direct conversation identifier as stored on the prompt-log event: Twilio CA-SID for voice calls, session_id UUID for text/sim/scribe sessions. Most callers should use ``conversation_id`` instead — this is kept for legacy callers and external systems that hold the SID directly. Mutually exclusive with ``conversation_id``. */
40712
+ /** @description Direct conversation identifier as stored on the prompt-log event: Twilio CA-SID for voice calls, session_id UUID for text/sim sessions. Most callers should use ``conversation_id`` instead — this is kept for legacy callers and external systems that hold the SID directly. Mutually exclusive with ``conversation_id``. */
41476
40713
  call_sid?: string | null;
41477
40714
  /** @description Filter by prompt_type (e.g. engage_user, navigation, tool) */
41478
40715
  prompt_type?: string | null;
@@ -41543,213 +40780,6 @@ export interface operations {
41543
40780
  };
41544
40781
  };
41545
40782
  };
41546
- "list-query-tools": {
41547
- parameters: {
41548
- query?: {
41549
- limit?: number;
41550
- continuation_token?: number;
41551
- };
41552
- header?: never;
41553
- path: {
41554
- workspace_id: string;
41555
- };
41556
- cookie?: never;
41557
- };
41558
- requestBody?: never;
41559
- responses: {
41560
- /** @description Successful Response */
41561
- 200: {
41562
- headers: {
41563
- [name: string]: unknown;
41564
- };
41565
- content: {
41566
- "application/json": components["schemas"]["PaginatedResponse_ToolResponse_"];
41567
- };
41568
- };
41569
- /** @description Validation Error */
41570
- 422: {
41571
- headers: {
41572
- [name: string]: unknown;
41573
- };
41574
- content: {
41575
- "application/json": components["schemas"]["HTTPValidationError"];
41576
- };
41577
- };
41578
- /** @description Rate limited */
41579
- 429: {
41580
- headers: {
41581
- [name: string]: unknown;
41582
- };
41583
- content?: never;
41584
- };
41585
- };
41586
- };
41587
- "create-query-tool": {
41588
- parameters: {
41589
- query?: never;
41590
- header?: never;
41591
- path: {
41592
- workspace_id: string;
41593
- };
41594
- cookie?: never;
41595
- };
41596
- requestBody: {
41597
- content: {
41598
- "application/json": components["schemas"]["CreateToolRequest"];
41599
- };
41600
- };
41601
- responses: {
41602
- /** @description Successful Response */
41603
- 201: {
41604
- headers: {
41605
- [name: string]: unknown;
41606
- };
41607
- content: {
41608
- "application/json": components["schemas"]["ToolResponse"];
41609
- };
41610
- };
41611
- /** @description Validation error */
41612
- 422: {
41613
- headers: {
41614
- [name: string]: unknown;
41615
- };
41616
- content?: never;
41617
- };
41618
- /** @description Rate limited */
41619
- 429: {
41620
- headers: {
41621
- [name: string]: unknown;
41622
- };
41623
- content?: never;
41624
- };
41625
- };
41626
- };
41627
- "delete-query-tool": {
41628
- parameters: {
41629
- query?: never;
41630
- header?: never;
41631
- path: {
41632
- workspace_id: string;
41633
- tool_id: string;
41634
- };
41635
- cookie?: never;
41636
- };
41637
- requestBody?: never;
41638
- responses: {
41639
- /** @description Successful Response */
41640
- 204: {
41641
- headers: {
41642
- [name: string]: unknown;
41643
- };
41644
- content?: never;
41645
- };
41646
- /** @description Validation Error */
41647
- 422: {
41648
- headers: {
41649
- [name: string]: unknown;
41650
- };
41651
- content: {
41652
- "application/json": components["schemas"]["HTTPValidationError"];
41653
- };
41654
- };
41655
- /** @description Rate limited */
41656
- 429: {
41657
- headers: {
41658
- [name: string]: unknown;
41659
- };
41660
- content?: never;
41661
- };
41662
- };
41663
- };
41664
- "update-query-tool": {
41665
- parameters: {
41666
- query?: never;
41667
- header?: never;
41668
- path: {
41669
- workspace_id: string;
41670
- tool_id: string;
41671
- };
41672
- cookie?: never;
41673
- };
41674
- requestBody: {
41675
- content: {
41676
- "application/json": components["schemas"]["UpdateToolRequest"];
41677
- };
41678
- };
41679
- responses: {
41680
- /** @description Successful Response */
41681
- 200: {
41682
- headers: {
41683
- [name: string]: unknown;
41684
- };
41685
- content: {
41686
- "application/json": components["schemas"]["ToolResponse"];
41687
- };
41688
- };
41689
- /** @description Tool not found */
41690
- 404: {
41691
- headers: {
41692
- [name: string]: unknown;
41693
- };
41694
- content?: never;
41695
- };
41696
- /** @description Validation error */
41697
- 422: {
41698
- headers: {
41699
- [name: string]: unknown;
41700
- };
41701
- content?: never;
41702
- };
41703
- /** @description Rate limited */
41704
- 429: {
41705
- headers: {
41706
- [name: string]: unknown;
41707
- };
41708
- content?: never;
41709
- };
41710
- };
41711
- };
41712
- "test-query-tool": {
41713
- parameters: {
41714
- query?: never;
41715
- header?: never;
41716
- path: {
41717
- workspace_id: string;
41718
- tool_id: string;
41719
- };
41720
- cookie?: never;
41721
- };
41722
- requestBody: {
41723
- content: {
41724
- "application/json": components["schemas"]["TestToolRequest"];
41725
- };
41726
- };
41727
- responses: {
41728
- /** @description Successful Response */
41729
- 200: {
41730
- headers: {
41731
- [name: string]: unknown;
41732
- };
41733
- content: {
41734
- "application/json": components["schemas"]["QueryResultResponse"];
41735
- };
41736
- };
41737
- /** @description Validation error */
41738
- 422: {
41739
- headers: {
41740
- [name: string]: unknown;
41741
- };
41742
- content?: never;
41743
- };
41744
- /** @description Rate limited */
41745
- 429: {
41746
- headers: {
41747
- [name: string]: unknown;
41748
- };
41749
- content?: never;
41750
- };
41751
- };
41752
- };
41753
40783
  query_table_v1__workspace_id__query__schema___table__get: {
41754
40784
  parameters: {
41755
40785
  query?: {
@@ -42859,134 +41889,14 @@ export interface operations {
42859
41889
  };
42860
41890
  content?: never;
42861
41891
  };
42862
- /** @description Validation Error */
42863
- 422: {
42864
- headers: {
42865
- [name: string]: unknown;
42866
- };
42867
- content: {
42868
- "application/json": components["schemas"]["HTTPValidationError"];
42869
- };
42870
- };
42871
- /** @description Rate limited. */
42872
- 429: {
42873
- headers: {
42874
- [name: string]: unknown;
42875
- };
42876
- content?: never;
42877
- };
42878
- };
42879
- };
42880
- "delete-scheduling-rule-set": {
42881
- parameters: {
42882
- query?: never;
42883
- header?: never;
42884
- path: {
42885
- workspace_id: string;
42886
- rule_set_id: string;
42887
- };
42888
- cookie?: never;
42889
- };
42890
- requestBody?: never;
42891
- responses: {
42892
- /** @description Successful Response */
42893
- 204: {
42894
- headers: {
42895
- [name: string]: unknown;
42896
- };
42897
- content?: never;
42898
- };
42899
- /** @description Missing or invalid API key. */
42900
- 401: {
42901
- headers: {
42902
- [name: string]: unknown;
42903
- };
42904
- content?: never;
42905
- };
42906
- /** @description Insufficient permissions. */
42907
- 403: {
42908
- headers: {
42909
- [name: string]: unknown;
42910
- };
42911
- content?: never;
42912
- };
42913
- /** @description Rule set not found in this workspace. */
42914
- 404: {
42915
- headers: {
42916
- [name: string]: unknown;
42917
- };
42918
- content?: never;
42919
- };
42920
- /** @description Validation Error */
42921
- 422: {
42922
- headers: {
42923
- [name: string]: unknown;
42924
- };
42925
- content: {
42926
- "application/json": components["schemas"]["HTTPValidationError"];
42927
- };
42928
- };
42929
- /** @description Rate limited. */
42930
- 429: {
42931
- headers: {
42932
- [name: string]: unknown;
42933
- };
42934
- content?: never;
42935
- };
42936
- };
42937
- };
42938
- "update-scheduling-rule-set": {
42939
- parameters: {
42940
- query?: never;
42941
- header?: never;
42942
- path: {
42943
- workspace_id: string;
42944
- rule_set_id: string;
42945
- };
42946
- cookie?: never;
42947
- };
42948
- requestBody: {
42949
- content: {
42950
- "application/json": components["schemas"]["UpdateSchedulingRuleSetRequest"];
42951
- };
42952
- };
42953
- responses: {
42954
- /** @description Successful Response */
42955
- 200: {
42956
- headers: {
42957
- [name: string]: unknown;
42958
- };
42959
- content: {
42960
- "application/json": components["schemas"]["SchedulingRuleSetResponse"];
42961
- };
42962
- };
42963
- /** @description Missing or invalid API key. */
42964
- 401: {
42965
- headers: {
42966
- [name: string]: unknown;
42967
- };
42968
- content?: never;
42969
- };
42970
- /** @description Insufficient permissions. */
42971
- 403: {
42972
- headers: {
42973
- [name: string]: unknown;
42974
- };
42975
- content?: never;
42976
- };
42977
- /** @description Rule set not found in this workspace. */
42978
- 404: {
42979
- headers: {
42980
- [name: string]: unknown;
42981
- };
42982
- content?: never;
42983
- };
42984
- /** @description Submitted params discriminator does not match the existing rule's rule_kind. */
41892
+ /** @description Validation Error */
42985
41893
  422: {
42986
41894
  headers: {
42987
41895
  [name: string]: unknown;
42988
41896
  };
42989
- content?: never;
41897
+ content: {
41898
+ "application/json": components["schemas"]["HTTPValidationError"];
41899
+ };
42990
41900
  };
42991
41901
  /** @description Rate limited. */
42992
41902
  429: {
@@ -42997,66 +41907,45 @@ export interface operations {
42997
41907
  };
42998
41908
  };
42999
41909
  };
43000
- "finalize-encounter": {
41910
+ "delete-scheduling-rule-set": {
43001
41911
  parameters: {
43002
41912
  query?: never;
43003
41913
  header?: never;
43004
41914
  path: {
43005
41915
  workspace_id: string;
43006
- encounter_id: string;
41916
+ rule_set_id: string;
43007
41917
  };
43008
41918
  cookie?: never;
43009
41919
  };
43010
41920
  requestBody?: never;
43011
41921
  responses: {
43012
41922
  /** @description Successful Response */
43013
- 200: {
41923
+ 204: {
43014
41924
  headers: {
43015
41925
  [name: string]: unknown;
43016
41926
  };
43017
- content: {
43018
- "application/json": {
43019
- [key: string]: unknown;
43020
- };
43021
- };
41927
+ content?: never;
43022
41928
  };
43023
- /** @description Validation Error */
43024
- 422: {
41929
+ /** @description Missing or invalid API key. */
41930
+ 401: {
43025
41931
  headers: {
43026
41932
  [name: string]: unknown;
43027
41933
  };
43028
- content: {
43029
- "application/json": components["schemas"]["HTTPValidationError"];
43030
- };
43031
- };
43032
- };
43033
- };
43034
- "approve-icd10-code": {
43035
- parameters: {
43036
- query?: never;
43037
- header?: never;
43038
- path: {
43039
- workspace_id: string;
43040
- encounter_id: string;
43041
- };
43042
- cookie?: never;
43043
- };
43044
- requestBody: {
43045
- content: {
43046
- "application/json": components["schemas"]["ApproveICD10Request"];
41934
+ content?: never;
43047
41935
  };
43048
- };
43049
- responses: {
43050
- /** @description Successful Response */
43051
- 200: {
41936
+ /** @description Insufficient permissions. */
41937
+ 403: {
43052
41938
  headers: {
43053
41939
  [name: string]: unknown;
43054
41940
  };
43055
- content: {
43056
- "application/json": {
43057
- [key: string]: unknown;
43058
- };
41941
+ content?: never;
41942
+ };
41943
+ /** @description Rule set not found in this workspace. */
41944
+ 404: {
41945
+ headers: {
41946
+ [name: string]: unknown;
43059
41947
  };
41948
+ content?: never;
43060
41949
  };
43061
41950
  /** @description Validation Error */
43062
41951
  422: {
@@ -43067,21 +41956,28 @@ export interface operations {
43067
41956
  "application/json": components["schemas"]["HTTPValidationError"];
43068
41957
  };
43069
41958
  };
41959
+ /** @description Rate limited. */
41960
+ 429: {
41961
+ headers: {
41962
+ [name: string]: unknown;
41963
+ };
41964
+ content?: never;
41965
+ };
43070
41966
  };
43071
41967
  };
43072
- "reject-icd10-code": {
41968
+ "update-scheduling-rule-set": {
43073
41969
  parameters: {
43074
41970
  query?: never;
43075
41971
  header?: never;
43076
41972
  path: {
43077
41973
  workspace_id: string;
43078
- encounter_id: string;
41974
+ rule_set_id: string;
43079
41975
  };
43080
41976
  cookie?: never;
43081
41977
  };
43082
41978
  requestBody: {
43083
41979
  content: {
43084
- "application/json": components["schemas"]["RejectICD10Request"];
41980
+ "application/json": components["schemas"]["UpdateSchedulingRuleSetRequest"];
43085
41981
  };
43086
41982
  };
43087
41983
  responses: {
@@ -43091,92 +41987,43 @@ export interface operations {
43091
41987
  [name: string]: unknown;
43092
41988
  };
43093
41989
  content: {
43094
- "application/json": {
43095
- [key: string]: unknown;
43096
- };
41990
+ "application/json": components["schemas"]["SchedulingRuleSetResponse"];
43097
41991
  };
43098
41992
  };
43099
- /** @description Validation Error */
43100
- 422: {
41993
+ /** @description Missing or invalid API key. */
41994
+ 401: {
43101
41995
  headers: {
43102
41996
  [name: string]: unknown;
43103
41997
  };
43104
- content: {
43105
- "application/json": components["schemas"]["HTTPValidationError"];
43106
- };
43107
- };
43108
- };
43109
- };
43110
- "edit-encounter-soap": {
43111
- parameters: {
43112
- query?: never;
43113
- header?: never;
43114
- path: {
43115
- workspace_id: string;
43116
- encounter_id: string;
43117
- };
43118
- cookie?: never;
43119
- };
43120
- requestBody: {
43121
- content: {
43122
- "application/json": components["schemas"]["EditSoapRequest"];
41998
+ content?: never;
43123
41999
  };
43124
- };
43125
- responses: {
43126
- /** @description Successful Response */
43127
- 200: {
42000
+ /** @description Insufficient permissions. */
42001
+ 403: {
43128
42002
  headers: {
43129
42003
  [name: string]: unknown;
43130
42004
  };
43131
- content: {
43132
- "application/json": {
43133
- [key: string]: unknown;
43134
- };
43135
- };
42005
+ content?: never;
43136
42006
  };
43137
- /** @description Validation Error */
43138
- 422: {
42007
+ /** @description Rule set not found in this workspace. */
42008
+ 404: {
43139
42009
  headers: {
43140
42010
  [name: string]: unknown;
43141
42011
  };
43142
- content: {
43143
- "application/json": components["schemas"]["HTTPValidationError"];
43144
- };
43145
- };
43146
- };
43147
- };
43148
- "transcribe-scribe-recording": {
43149
- parameters: {
43150
- query?: never;
43151
- header?: never;
43152
- path: {
43153
- workspace_id: string;
43154
- };
43155
- cookie?: never;
43156
- };
43157
- requestBody: {
43158
- content: {
43159
- "multipart/form-data": components["schemas"]["Body_transcribe-scribe-recording"];
42012
+ content?: never;
43160
42013
  };
43161
- };
43162
- responses: {
43163
- /** @description Successful Response */
43164
- 200: {
42014
+ /** @description Submitted params discriminator does not match the existing rule's rule_kind. */
42015
+ 422: {
43165
42016
  headers: {
43166
42017
  [name: string]: unknown;
43167
42018
  };
43168
- content: {
43169
- "application/json": components["schemas"]["ScribeTranscriptionResponse"];
43170
- };
42019
+ content?: never;
43171
42020
  };
43172
- /** @description Validation Error */
43173
- 422: {
42021
+ /** @description Rate limited. */
42022
+ 429: {
43174
42023
  headers: {
43175
42024
  [name: string]: unknown;
43176
42025
  };
43177
- content: {
43178
- "application/json": components["schemas"]["HTTPValidationError"];
43179
- };
42026
+ content?: never;
43180
42027
  };
43181
42028
  };
43182
42029
  };
@@ -44813,82 +43660,6 @@ export interface operations {
44813
43660
  };
44814
43661
  };
44815
43662
  };
44816
- "get-scribe-settings": {
44817
- parameters: {
44818
- query?: never;
44819
- header?: never;
44820
- path: {
44821
- workspace_id: string;
44822
- };
44823
- cookie?: never;
44824
- };
44825
- requestBody?: never;
44826
- responses: {
44827
- /** @description Successful Response */
44828
- 200: {
44829
- headers: {
44830
- [name: string]: unknown;
44831
- };
44832
- content: {
44833
- "application/json": components["schemas"]["ScribeSettingsResponse"];
44834
- };
44835
- };
44836
- /** @description Rate limited */
44837
- 429: {
44838
- headers: {
44839
- [name: string]: unknown;
44840
- };
44841
- content?: never;
44842
- };
44843
- };
44844
- };
44845
- "update-scribe-settings": {
44846
- parameters: {
44847
- query?: never;
44848
- header?: never;
44849
- path: {
44850
- workspace_id: string;
44851
- };
44852
- cookie?: never;
44853
- };
44854
- requestBody: {
44855
- content: {
44856
- "application/json": components["schemas"]["ScribeSettingsRequest"];
44857
- };
44858
- };
44859
- responses: {
44860
- /** @description Successful Response */
44861
- 200: {
44862
- headers: {
44863
- [name: string]: unknown;
44864
- };
44865
- content: {
44866
- "application/json": components["schemas"]["ScribeSettingsResponse"];
44867
- };
44868
- };
44869
- /** @description Workspace not found */
44870
- 404: {
44871
- headers: {
44872
- [name: string]: unknown;
44873
- };
44874
- content?: never;
44875
- };
44876
- /** @description Validation error */
44877
- 422: {
44878
- headers: {
44879
- [name: string]: unknown;
44880
- };
44881
- content?: never;
44882
- };
44883
- /** @description Rate limited */
44884
- 429: {
44885
- headers: {
44886
- [name: string]: unknown;
44887
- };
44888
- content?: never;
44889
- };
44890
- };
44891
- };
44892
43663
  "get-security-settings": {
44893
43664
  parameters: {
44894
43665
  query?: never;
@@ -45354,6 +44125,41 @@ export interface operations {
45354
44125
  };
45355
44126
  };
45356
44127
  };
44128
+ "create-simulation-cases": {
44129
+ parameters: {
44130
+ query?: never;
44131
+ header?: never;
44132
+ path: {
44133
+ workspace_id: string;
44134
+ };
44135
+ cookie?: never;
44136
+ };
44137
+ requestBody: {
44138
+ content: {
44139
+ "application/json": components["schemas"]["CreateSimulationCasesRequest"];
44140
+ };
44141
+ };
44142
+ responses: {
44143
+ /** @description Successful Response */
44144
+ 200: {
44145
+ headers: {
44146
+ [name: string]: unknown;
44147
+ };
44148
+ content: {
44149
+ "application/json": components["schemas"]["CreateSimulationCasesResponse"];
44150
+ };
44151
+ };
44152
+ /** @description Validation Error */
44153
+ 422: {
44154
+ headers: {
44155
+ [name: string]: unknown;
44156
+ };
44157
+ content: {
44158
+ "application/json": components["schemas"]["HTTPValidationError"];
44159
+ };
44160
+ };
44161
+ };
44162
+ };
45357
44163
  "get-simulation-case": {
45358
44164
  parameters: {
45359
44165
  query?: never;
@@ -48610,143 +47416,6 @@ export interface operations {
48610
47416
  };
48611
47417
  };
48612
47418
  };
48613
- "enroll-voiceprint": {
48614
- parameters: {
48615
- query?: never;
48616
- header?: never;
48617
- path: {
48618
- workspace_id: string;
48619
- };
48620
- cookie?: never;
48621
- };
48622
- requestBody: {
48623
- content: {
48624
- "multipart/form-data": components["schemas"]["Body_enroll-voiceprint"];
48625
- };
48626
- };
48627
- responses: {
48628
- /** @description Successful Response */
48629
- 201: {
48630
- headers: {
48631
- [name: string]: unknown;
48632
- };
48633
- content: {
48634
- "application/json": components["schemas"]["VoiceprintEnrollResponse"];
48635
- };
48636
- };
48637
- /** @description Bad Request */
48638
- 400: {
48639
- headers: {
48640
- [name: string]: unknown;
48641
- };
48642
- content?: never;
48643
- };
48644
- /** @description Validation Error */
48645
- 422: {
48646
- headers: {
48647
- [name: string]: unknown;
48648
- };
48649
- content: {
48650
- "application/json": components["schemas"]["HTTPValidationError"];
48651
- };
48652
- };
48653
- /** @description Service Unavailable */
48654
- 503: {
48655
- headers: {
48656
- [name: string]: unknown;
48657
- };
48658
- content?: never;
48659
- };
48660
- };
48661
- };
48662
- "verify-voiceprint": {
48663
- parameters: {
48664
- query?: never;
48665
- header?: never;
48666
- path: {
48667
- workspace_id: string;
48668
- };
48669
- cookie?: never;
48670
- };
48671
- requestBody: {
48672
- content: {
48673
- "multipart/form-data": components["schemas"]["Body_verify-voiceprint"];
48674
- };
48675
- };
48676
- responses: {
48677
- /** @description Successful Response */
48678
- 200: {
48679
- headers: {
48680
- [name: string]: unknown;
48681
- };
48682
- content: {
48683
- "application/json": components["schemas"]["VoiceprintVerifyResponse"];
48684
- };
48685
- };
48686
- /** @description Bad Request */
48687
- 400: {
48688
- headers: {
48689
- [name: string]: unknown;
48690
- };
48691
- content?: never;
48692
- };
48693
- /** @description Not Found */
48694
- 404: {
48695
- headers: {
48696
- [name: string]: unknown;
48697
- };
48698
- content?: never;
48699
- };
48700
- /** @description Validation Error */
48701
- 422: {
48702
- headers: {
48703
- [name: string]: unknown;
48704
- };
48705
- content: {
48706
- "application/json": components["schemas"]["HTTPValidationError"];
48707
- };
48708
- };
48709
- /** @description Service Unavailable */
48710
- 503: {
48711
- headers: {
48712
- [name: string]: unknown;
48713
- };
48714
- content?: never;
48715
- };
48716
- };
48717
- };
48718
- "get-voiceprint-status": {
48719
- parameters: {
48720
- query?: never;
48721
- header?: never;
48722
- path: {
48723
- workspace_id: string;
48724
- entity_id: string;
48725
- };
48726
- cookie?: never;
48727
- };
48728
- requestBody?: never;
48729
- responses: {
48730
- /** @description Successful Response */
48731
- 200: {
48732
- headers: {
48733
- [name: string]: unknown;
48734
- };
48735
- content: {
48736
- "application/json": components["schemas"]["VoiceprintStatusResponse"];
48737
- };
48738
- };
48739
- /** @description Validation Error */
48740
- 422: {
48741
- headers: {
48742
- [name: string]: unknown;
48743
- };
48744
- content: {
48745
- "application/json": components["schemas"]["HTTPValidationError"];
48746
- };
48747
- };
48748
- };
48749
- };
48750
47419
  "list-webhook-destinations": {
48751
47420
  parameters: {
48752
47421
  query?: {