@amigo-ai/platform-sdk 0.50.0 → 0.52.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,43 +5158,7 @@ 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": {
5161
+ "/v1/{workspace_id}/query": {
5234
5162
  parameters: {
5235
5163
  query?: never;
5236
5164
  header?: never;
@@ -5239,8 +5167,8 @@ export interface paths {
5239
5167
  };
5240
5168
  get?: never;
5241
5169
  put?: never;
5242
- /** Test a query tool with sample parameters */
5243
- post: operations["test-query-tool"];
5170
+ /** Execute Workspace Query */
5171
+ post: operations["execute-workspace-query"];
5244
5172
  delete?: never;
5245
5173
  options?: never;
5246
5174
  head?: never;
@@ -5801,106 +5729,6 @@ export interface paths {
5801
5729
  patch: operations["update-scheduling-rule-set"];
5802
5730
  trace?: never;
5803
5731
  };
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
5732
  "/v1/{workspace_id}/sensorium/connector-health": {
5905
5733
  parameters: {
5906
5734
  query?: never;
@@ -6567,66 +6395,6 @@ export interface paths {
6567
6395
  patch?: never;
6568
6396
  trace?: never;
6569
6397
  };
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
- "/v1/{workspace_id}/settings/security": {
6603
- parameters: {
6604
- query?: never;
6605
- header?: never;
6606
- path?: never;
6607
- cookie?: never;
6608
- };
6609
- /**
6610
- * Get workspace security settings
6611
- * @description Get workspace security settings.
6612
- *
6613
- * Permissions: authenticated (any role).
6614
- */
6615
- get: operations["get-security-settings"];
6616
- /**
6617
- * Update workspace security settings
6618
- * @description Update workspace security settings.
6619
- *
6620
- * Permissions: admin, owner.
6621
- */
6622
- put: operations["update-security-settings"];
6623
- post?: never;
6624
- delete?: never;
6625
- options?: never;
6626
- head?: never;
6627
- patch?: never;
6628
- trace?: never;
6629
- };
6630
6398
  "/v1/{workspace_id}/settings/voice": {
6631
6399
  parameters: {
6632
6400
  query?: never;
@@ -6842,7 +6610,11 @@ export interface paths {
6842
6610
  */
6843
6611
  get: operations["list-simulation-cases"];
6844
6612
  put?: never;
6845
- post?: never;
6613
+ /**
6614
+ * Create Simulation Cases
6615
+ * @description Create durable simulation cases for an internal benchmark suite.
6616
+ */
6617
+ post: operations["create-simulation-cases"];
6846
6618
  delete?: never;
6847
6619
  options?: never;
6848
6620
  head?: never;
@@ -7559,6 +7331,43 @@ export interface paths {
7559
7331
  patch?: never;
7560
7332
  trace?: never;
7561
7333
  };
7334
+ "/v1/{workspace_id}/tables": {
7335
+ parameters: {
7336
+ query?: never;
7337
+ header?: never;
7338
+ path?: never;
7339
+ cookie?: never;
7340
+ };
7341
+ /** List Workspace Tables */
7342
+ get: operations["list-workspace-tables"];
7343
+ put?: never;
7344
+ /** Create Workspace Table */
7345
+ post: operations["create-workspace-table"];
7346
+ delete?: never;
7347
+ options?: never;
7348
+ head?: never;
7349
+ patch?: never;
7350
+ trace?: never;
7351
+ };
7352
+ "/v1/{workspace_id}/tables/{table_id}": {
7353
+ parameters: {
7354
+ query?: never;
7355
+ header?: never;
7356
+ path?: never;
7357
+ cookie?: never;
7358
+ };
7359
+ /** Get Workspace Table */
7360
+ get: operations["get-workspace-table"];
7361
+ put?: never;
7362
+ post?: never;
7363
+ /** Delete Workspace Table */
7364
+ delete: operations["delete-workspace-table"];
7365
+ options?: never;
7366
+ head?: never;
7367
+ /** Update Workspace Table */
7368
+ patch: operations["update-workspace-table"];
7369
+ trace?: never;
7370
+ };
7562
7371
  "/v1/{workspace_id}/tasks/by-call/{call_sid}": {
7563
7372
  parameters: {
7564
7373
  query?: never;
@@ -7959,66 +7768,6 @@ export interface paths {
7959
7768
  patch?: never;
7960
7769
  trace?: never;
7961
7770
  };
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
7771
  "/v1/{workspace_id}/webhook-destinations": {
8023
7772
  parameters: {
8024
7773
  query?: never;
@@ -9007,6 +8756,37 @@ export interface components {
9007
8756
  /** Workspace Id */
9008
8757
  workspace_id?: string | null;
9009
8758
  };
8759
+ /** AddColumnAction */
8760
+ AddColumnAction: {
8761
+ column: components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request__Column"];
8762
+ /**
8763
+ * @description discriminator enum property added by openapi-typescript
8764
+ * @enum {string}
8765
+ */
8766
+ op: "add_column";
8767
+ };
8768
+ /** AddIndexAction */
8769
+ AddIndexAction: {
8770
+ /** Columns */
8771
+ columns: components["schemas"]["IdentifierString"][];
8772
+ index_name: components["schemas"]["IdentifierString"];
8773
+ /**
8774
+ * @description discriminator enum property added by openapi-typescript
8775
+ * @enum {string}
8776
+ */
8777
+ op: "add_index";
8778
+ };
8779
+ /** AddUniqueAction */
8780
+ AddUniqueAction: {
8781
+ /** Columns */
8782
+ columns: components["schemas"]["IdentifierString"][];
8783
+ constraint_name?: components["schemas"]["IdentifierString"] | null;
8784
+ /**
8785
+ * @description discriminator enum property added by openapi-typescript
8786
+ * @enum {string}
8787
+ */
8788
+ op: "add_unique";
8789
+ };
9010
8790
  /** AgentAnalyticsEntry */
9011
8791
  AgentAnalyticsEntry: {
9012
8792
  /**
@@ -9323,11 +9103,6 @@ export interface components {
9323
9103
  /** Skipped */
9324
9104
  skipped: string[];
9325
9105
  };
9326
- /** ApproveICD10Request */
9327
- ApproveICD10Request: {
9328
- /** Code */
9329
- code: string;
9330
- };
9331
9106
  /**
9332
9107
  * ApproveRequest
9333
9108
  * @description Approve events — promotes confidence to 0.95.
@@ -9954,18 +9729,6 @@ export interface components {
9954
9729
  */
9955
9730
  setup_id: string;
9956
9731
  };
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
9732
  /** Body_send-voicemail */
9970
9733
  "Body_send-voicemail": {
9971
9734
  /** Audio */
@@ -9978,34 +9741,6 @@ export interface components {
9978
9741
  */
9979
9742
  use_case_id: string;
9980
9743
  };
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
9744
  /** Body_voice-turn */
10010
9745
  "Body_voice-turn": {
10011
9746
  /** Audio */
@@ -10375,7 +10110,7 @@ export interface components {
10375
10110
  /** Service Id */
10376
10111
  service_id?: string | null;
10377
10112
  /** Source */
10378
- source?: ("real" | "simulation" | "playground" | "scribe") | null;
10113
+ source?: ("real" | "simulation" | "playground") | null;
10379
10114
  /**
10380
10115
  * States Visited
10381
10116
  * @default []
@@ -10689,9 +10424,9 @@ export interface components {
10689
10424
  service_id?: string | null;
10690
10425
  /**
10691
10426
  * Source
10692
- * @description Call source — real, simulation, playground, or scribe
10427
+ * @description Call source — real, simulation, or playground
10693
10428
  */
10694
- source?: ("real" | "simulation" | "playground" | "scribe") | null;
10429
+ source?: ("real" | "simulation" | "playground") | null;
10695
10430
  /**
10696
10431
  * Started At
10697
10432
  * @description When the call started
@@ -10828,6 +10563,16 @@ export interface components {
10828
10563
  /** Value */
10829
10564
  value: string | null;
10830
10565
  };
10566
+ /** ChangeColumnTypeAction */
10567
+ ChangeColumnTypeAction: {
10568
+ name: components["schemas"]["IdentifierString"];
10569
+ new_type: components["schemas"]["ColumnType"];
10570
+ /**
10571
+ * @description discriminator enum property added by openapi-typescript
10572
+ * @enum {string}
10573
+ */
10574
+ op: "change_column_type";
10575
+ };
10831
10576
  /** ChannelEmailBouncedEvent */
10832
10577
  ChannelEmailBouncedEvent: {
10833
10578
  /**
@@ -11005,7 +10750,7 @@ export interface components {
11005
10750
  * Each kind maps to one or more providers.
11006
10751
  * @enum {string}
11007
10752
  */
11008
- ChannelKind: "voice" | "sms" | "whatsapp" | "email" | "web" | "scribe";
10753
+ ChannelKind: "voice" | "sms" | "whatsapp" | "email" | "web";
11009
10754
  /**
11010
10755
  * ChannelOverride
11011
10756
  * @description Per-channel behavior override for a state.
@@ -11372,6 +11117,24 @@ export interface components {
11372
11117
  /** Validation */
11373
11118
  validation?: string | null;
11374
11119
  };
11120
+ /** Column */
11121
+ "Column-Output": {
11122
+ /**
11123
+ * Data Type
11124
+ * @description Postgres-side type as reported by ``information_schema.columns``
11125
+ * (e.g. ``uuid``, ``text``, ``timestamp with time zone``).
11126
+ */
11127
+ data_type: string;
11128
+ /**
11129
+ * Default
11130
+ * @description Postgres-side default expression text, or NULL if no DEFAULT.
11131
+ */
11132
+ default: string | null;
11133
+ /** Is Nullable */
11134
+ is_nullable: boolean;
11135
+ /** Name */
11136
+ name: string;
11137
+ };
11375
11138
  /** ColumnInfo */
11376
11139
  ColumnInfo: {
11377
11140
  /** Column Name */
@@ -11381,6 +11144,8 @@ export interface components {
11381
11144
  /** Data Type */
11382
11145
  data_type: string;
11383
11146
  };
11147
+ /** @enum {string} */
11148
+ ColumnType: "text" | "int" | "bigint" | "numeric" | "boolean" | "uuid" | "timestamptz" | "date" | "time" | "jsonb" | "bytea";
11384
11149
  /** ColumnsResponse */
11385
11150
  ColumnsResponse: {
11386
11151
  /** Count */
@@ -11761,6 +11526,16 @@ export interface components {
11761
11526
  /** Connectors */
11762
11527
  connectors: components["schemas"]["ConnectorDef"][];
11763
11528
  };
11529
+ /** Constraint */
11530
+ Constraint: {
11531
+ /**
11532
+ * Definition
11533
+ * @description ``pg_get_constraintdef(oid)`` — the postgres-rendered definition.
11534
+ */
11535
+ definition: string;
11536
+ /** Name */
11537
+ name: string;
11538
+ };
11764
11539
  /**
11765
11540
  * ContentPartPayload
11766
11541
  * @description HTTP/WebSocket shape for a modality-neutral conversation content part.
@@ -12381,11 +12156,6 @@ export interface components {
12381
12156
  };
12382
12157
  /** CreateConversationRequest */
12383
12158
  CreateConversationRequest: {
12384
- /**
12385
- * Context
12386
- * @description Injected into the agent's prompt as caller/patient context for this conversation.
12387
- */
12388
- context?: string | null;
12389
12159
  /** Entity Id */
12390
12160
  entity_id?: string | null;
12391
12161
  /**
@@ -12393,16 +12163,6 @@ export interface components {
12393
12163
  * Format: uuid
12394
12164
  */
12395
12165
  service_id: string;
12396
- /**
12397
- * Start Mode
12398
- * @default user_first
12399
- * @enum {string}
12400
- */
12401
- start_mode?: "user_first" | "agent_first";
12402
- /** Viewport Height */
12403
- viewport_height?: number | null;
12404
- /** Viewport Width */
12405
- viewport_width?: number | null;
12406
12166
  };
12407
12167
  /** CreateCustomerRequest */
12408
12168
  CreateCustomerRequest: {
@@ -12474,14 +12234,6 @@ export interface components {
12474
12234
  */
12475
12235
  sync_strategy?: "manual" | "scheduled" | "webhook" | "continuous";
12476
12236
  };
12477
- /** CreateForkRequest */
12478
- CreateForkRequest: {
12479
- /**
12480
- * Ttl Days
12481
- * @default 7
12482
- */
12483
- ttl_days?: number;
12484
- };
12485
12237
  /** CreateIntegrationRequest */
12486
12238
  CreateIntegrationRequest: {
12487
12239
  auth?: components["schemas"]["AuthConfigWithSecrets"] | null;
@@ -12785,7 +12537,7 @@ export interface components {
12785
12537
  * @default voice
12786
12538
  * @enum {string}
12787
12539
  */
12788
- channel_type?: "voice" | "text" | "scribe";
12540
+ channel_type?: "voice" | "text";
12789
12541
  /**
12790
12542
  * Context Graph Id
12791
12543
  * Format: uuid
@@ -12855,6 +12607,59 @@ export interface components {
12855
12607
  /** Session Id */
12856
12608
  session_id: string;
12857
12609
  };
12610
+ /**
12611
+ * CreateSimulationCaseItem
12612
+ * @description One durable simulation case to create.
12613
+ */
12614
+ CreateSimulationCaseItem: {
12615
+ /** Assertions */
12616
+ assertions?: {
12617
+ [key: string]: unknown;
12618
+ }[];
12619
+ /** Constraints */
12620
+ constraints?: {
12621
+ [key: string]: unknown;
12622
+ };
12623
+ /** Description */
12624
+ description: string;
12625
+ /** Fixtures */
12626
+ fixtures?: {
12627
+ [key: string]: unknown;
12628
+ };
12629
+ /** Initial Message */
12630
+ initial_message: string;
12631
+ /** Persona */
12632
+ persona?: {
12633
+ [key: string]: unknown;
12634
+ };
12635
+ /**
12636
+ * Provenance
12637
+ * @default manual
12638
+ */
12639
+ provenance?: string;
12640
+ /** Scenario Instructions */
12641
+ scenario_instructions: string;
12642
+ /** Service Id */
12643
+ service_id?: string | null;
12644
+ /** Tags */
12645
+ tags?: string[];
12646
+ /** Target Spec */
12647
+ target_spec?: {
12648
+ [key: string]: unknown;
12649
+ };
12650
+ /** Temperament */
12651
+ temperament?: string | null;
12652
+ };
12653
+ /** CreateSimulationCasesRequest */
12654
+ CreateSimulationCasesRequest: {
12655
+ /** Cases */
12656
+ cases: components["schemas"]["CreateSimulationCaseItem"][];
12657
+ };
12658
+ /** CreateSimulationCasesResponse */
12659
+ CreateSimulationCasesResponse: {
12660
+ /** Cases */
12661
+ cases: components["schemas"]["SimulationCaseResponse"][];
12662
+ };
12858
12663
  /** CreateSkillRequest */
12859
12664
  CreateSkillRequest: {
12860
12665
  /**
@@ -13030,24 +12835,6 @@ export interface components {
13030
12835
  /** Use Case Id */
13031
12836
  use_case_id?: string | null;
13032
12837
  };
13033
- /** CreateToolRequest */
13034
- CreateToolRequest: {
13035
- /** @default */
13036
- description?: components["schemas"]["DescriptionString"];
13037
- name: components["schemas"]["NameString"];
13038
- /** Parameters */
13039
- parameters?: {
13040
- [key: string]: unknown;
13041
- };
13042
- /** Query */
13043
- query: string;
13044
- /**
13045
- * Target
13046
- * @default lakebase
13047
- * @constant
13048
- */
13049
- target?: "lakebase";
13050
- };
13051
12838
  /** CreateTriggerRequest */
13052
12839
  CreateTriggerRequest: {
13053
12840
  /**
@@ -14390,12 +14177,41 @@ export interface components {
14390
14177
  */
14391
14178
  verified: boolean;
14392
14179
  };
14393
- /** EditSoapRequest */
14394
- EditSoapRequest: {
14395
- /** Content */
14396
- content: string;
14397
- /** Section */
14398
- section: string;
14180
+ /** DropColumnAction */
14181
+ DropColumnAction: {
14182
+ name: components["schemas"]["IdentifierString"];
14183
+ /**
14184
+ * @description discriminator enum property added by openapi-typescript
14185
+ * @enum {string}
14186
+ */
14187
+ op: "drop_column";
14188
+ };
14189
+ /** DropColumnDefaultAction */
14190
+ DropColumnDefaultAction: {
14191
+ name: components["schemas"]["IdentifierString"];
14192
+ /**
14193
+ * @description discriminator enum property added by openapi-typescript
14194
+ * @enum {string}
14195
+ */
14196
+ op: "drop_column_default";
14197
+ };
14198
+ /** DropConstraintAction */
14199
+ DropConstraintAction: {
14200
+ name: components["schemas"]["IdentifierString"];
14201
+ /**
14202
+ * @description discriminator enum property added by openapi-typescript
14203
+ * @enum {string}
14204
+ */
14205
+ op: "drop_constraint";
14206
+ };
14207
+ /** DropIndexAction */
14208
+ DropIndexAction: {
14209
+ index_name: components["schemas"]["IdentifierString"];
14210
+ /**
14211
+ * @description discriminator enum property added by openapi-typescript
14212
+ * @enum {string}
14213
+ */
14214
+ op: "drop_index";
14399
14215
  };
14400
14216
  /** EgressIpsResponse */
14401
14217
  EgressIpsResponse: {
@@ -15030,7 +14846,7 @@ export interface components {
15030
14846
  effective_at?: string | null;
15031
14847
  /**
15032
14848
  * Source
15033
- * @description Write source — e.g. manual, hubspot, forms, scribe, auto_enrich.
14849
+ * @description Write source — e.g. manual, hubspot, forms, auto_enrich.
15034
14850
  * @default manual
15035
14851
  */
15036
14852
  source?: string;
@@ -15918,11 +15734,6 @@ export interface components {
15918
15734
  [key: string]: unknown;
15919
15735
  };
15920
15736
  };
15921
- /** ExecuteQueryRequest */
15922
- ExecuteQueryRequest: {
15923
- /** Sql */
15924
- sql: string;
15925
- };
15926
15737
  /** ExitCondition */
15927
15738
  ExitCondition: {
15928
15739
  /** Description */
@@ -16607,18 +16418,6 @@ export interface components {
16607
16418
  /** Alternatives */
16608
16419
  alternatives: components["schemas"]["ForkAlternative"][];
16609
16420
  };
16610
- /** ForkResponse */
16611
- ForkResponse: {
16612
- /** Endpoint */
16613
- endpoint: string;
16614
- /**
16615
- * Status
16616
- * @enum {string}
16617
- */
16618
- status: "pending" | "ready" | "deleting";
16619
- /** Ttl Days */
16620
- ttl_days?: number | null;
16621
- };
16622
16421
  /**
16623
16422
  * FormTemplate
16624
16423
  * @description Reusable form template with sections, prefill, branding.
@@ -17404,6 +17203,7 @@ export interface components {
17404
17203
  /** Transcript */
17405
17204
  transcript: string;
17406
17205
  };
17206
+ IdentifierString: string;
17407
17207
  /** Identity */
17408
17208
  Identity: {
17409
17209
  /** Default Spoken Language */
@@ -17432,6 +17232,21 @@ export interface components {
17432
17232
  /** Mfa Coverage Pct */
17433
17233
  mfa_coverage_pct?: number | null;
17434
17234
  };
17235
+ /** Index */
17236
+ "Index-Input": {
17237
+ /** Columns */
17238
+ columns: components["schemas"]["IdentifierString"][];
17239
+ };
17240
+ /** Index */
17241
+ "Index-Output": {
17242
+ /**
17243
+ * Definition
17244
+ * @description ``pg_indexes.indexdef`` — the full CREATE INDEX statement.
17245
+ */
17246
+ definition: string;
17247
+ /** Name */
17248
+ name: string;
17249
+ };
17435
17250
  /** InjectRequest */
17436
17251
  InjectRequest: {
17437
17252
  /**
@@ -18049,6 +17864,28 @@ export interface components {
18049
17864
  */
18050
17865
  version?: number;
18051
17866
  };
17867
+ /** Item */
17868
+ Item: {
17869
+ /**
17870
+ * Created At
17871
+ * Format: date-time
17872
+ */
17873
+ created_at: string;
17874
+ /**
17875
+ * Id
17876
+ * Format: uuid
17877
+ */
17878
+ id: string;
17879
+ /** Physical Name */
17880
+ physical_name: string;
17881
+ /** Table Name */
17882
+ table_name: string;
17883
+ /**
17884
+ * Workspace Id
17885
+ * Format: uuid
17886
+ */
17887
+ workspace_id: string;
17888
+ };
18052
17889
  /**
18053
17890
  * JoinCallRequest
18054
17891
  * @description Request to join an active call as operator.
@@ -20113,17 +19950,6 @@ export interface components {
20113
19950
  /** Total */
20114
19951
  total?: number | null;
20115
19952
  };
20116
- /** PaginatedResponse[ToolResponse] */
20117
- PaginatedResponse_ToolResponse_: {
20118
- /** Continuation Token */
20119
- continuation_token?: number | null;
20120
- /** Has More */
20121
- has_more: boolean;
20122
- /** Items */
20123
- items: components["schemas"]["ToolResponse"][];
20124
- /** Total */
20125
- total?: number | null;
20126
- };
20127
19953
  /** PaginatedResponse[TriggerResponse] */
20128
19954
  PaginatedResponse_TriggerResponse_: {
20129
19955
  /** Continuation Token */
@@ -21439,7 +21265,7 @@ export interface components {
21439
21265
  resolved_call_sid?: string | null;
21440
21266
  /**
21441
21267
  * Resolved Conversation Kind
21442
- * @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.
21268
+ * @description ``entity_type`` of the conversation entity when ``conversation_id`` was supplied (``call`` for voice/sim, ``conversation`` for text/sms/whatsapp/email). Null otherwise.
21443
21269
  */
21444
21270
  resolved_conversation_kind?: ("call" | "conversation") | null;
21445
21271
  };
@@ -21568,17 +21394,6 @@ export interface components {
21568
21394
  [key: string]: unknown;
21569
21395
  }[];
21570
21396
  };
21571
- /** QueryResultResponse */
21572
- QueryResultResponse: {
21573
- /** Columns */
21574
- columns?: string[] | null;
21575
- /** Row Count */
21576
- row_count: number;
21577
- /** Rows */
21578
- rows?: {
21579
- [key: string]: unknown;
21580
- }[] | null;
21581
- };
21582
21397
  /**
21583
21398
  * QuietHours
21584
21399
  * @description Quiet hours — no outbound outreach during this window.
@@ -21890,13 +21705,6 @@ export interface components {
21890
21705
  /** Version */
21891
21706
  version: string;
21892
21707
  };
21893
- /** RejectICD10Request */
21894
- RejectICD10Request: {
21895
- /** Code */
21896
- code: string;
21897
- /** Reason */
21898
- reason?: string | null;
21899
- };
21900
21708
  /**
21901
21709
  * RejectRequest
21902
21710
  * @description Reject events — demotes confidence to 0.0.
@@ -21921,6 +21729,16 @@ export interface components {
21921
21729
  /** Type */
21922
21730
  type: string;
21923
21731
  };
21732
+ /** RenameColumnAction */
21733
+ RenameColumnAction: {
21734
+ from: components["schemas"]["IdentifierString"];
21735
+ /**
21736
+ * @description discriminator enum property added by openapi-typescript
21737
+ * @enum {string}
21738
+ */
21739
+ op: "rename_column";
21740
+ to: components["schemas"]["IdentifierString"];
21741
+ };
21924
21742
  /**
21925
21743
  * RequestTransform
21926
21744
  * @description Transforms outbound request body before sending to the integration endpoint.
@@ -22327,6 +22145,11 @@ export interface components {
22327
22145
  * @default 1
22328
22146
  */
22329
22147
  concurrency?: number;
22148
+ /**
22149
+ * Entity Id
22150
+ * @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.
22151
+ */
22152
+ entity_id?: string | null;
22330
22153
  exploration?: components["schemas"]["ExplorationConfig"] | null;
22331
22154
  /**
22332
22155
  * Max Cases
@@ -22354,6 +22177,11 @@ export interface components {
22354
22177
  * @default 1
22355
22178
  */
22356
22179
  concurrency?: number;
22180
+ /**
22181
+ * Entity Id
22182
+ * @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.
22183
+ */
22184
+ entity_id?: string | null;
22357
22185
  exploration?: components["schemas"]["ExplorationConfig"] | null;
22358
22186
  /**
22359
22187
  * Max Turns
@@ -22709,212 +22537,6 @@ export interface components {
22709
22537
  /** Score Rationale */
22710
22538
  score_rationale?: string | null;
22711
22539
  };
22712
- /**
22713
- * ScribeCdsConfig
22714
- * @description Clinical decision support configuration (V2/V3 workers).
22715
- */
22716
- ScribeCdsConfig: {
22717
- /**
22718
- * Care Gap Surfacing
22719
- * @default true
22720
- */
22721
- care_gap_surfacing?: boolean;
22722
- /**
22723
- * Documentation Completeness
22724
- * @default true
22725
- */
22726
- documentation_completeness?: boolean;
22727
- /**
22728
- * Guideline Matching
22729
- * @default false
22730
- */
22731
- guideline_matching?: boolean;
22732
- /**
22733
- * Icd10 Auto Suggest
22734
- * @default true
22735
- */
22736
- icd10_auto_suggest?: boolean;
22737
- };
22738
- /**
22739
- * ScribeClinician
22740
- * @description A clinician authorized to use Superscribe.
22741
- */
22742
- ScribeClinician: {
22743
- /**
22744
- * Email
22745
- * Format: email
22746
- */
22747
- email: string;
22748
- /** Name */
22749
- name?: string | null;
22750
- /**
22751
- * Role
22752
- * @default clinician
22753
- */
22754
- role?: string;
22755
- };
22756
- /**
22757
- * ScribePostEncounterConfig
22758
- * @description Post-encounter automation configuration.
22759
- */
22760
- ScribePostEncounterConfig: {
22761
- /**
22762
- * Auto Polish Note
22763
- * @default true
22764
- */
22765
- auto_polish_note?: boolean;
22766
- /**
22767
- * Education Materials
22768
- * @default false
22769
- */
22770
- education_materials?: boolean;
22771
- /**
22772
- * Follow Up Surface
22773
- * @default false
22774
- */
22775
- follow_up_surface?: boolean;
22776
- /**
22777
- * Order Preparation
22778
- * @default false
22779
- */
22780
- order_preparation?: boolean;
22781
- };
22782
- /**
22783
- * ScribeSafetyConfig
22784
- * @description V0 sentinel and safety configuration.
22785
- */
22786
- ScribeSafetyConfig: {
22787
- /**
22788
- * Allergy Cross Reference
22789
- * @default true
22790
- */
22791
- allergy_cross_reference?: boolean;
22792
- /**
22793
- * Crisis Detection
22794
- * @default true
22795
- */
22796
- crisis_detection?: boolean;
22797
- /**
22798
- * Drug Interaction Checking
22799
- * @default true
22800
- */
22801
- drug_interaction_checking?: boolean;
22802
- /**
22803
- * Vital Range Alerting
22804
- * @default true
22805
- */
22806
- vital_range_alerting?: boolean;
22807
- };
22808
- /**
22809
- * ScribeSettingsRequest
22810
- * @description Partial update — only provided fields are changed.
22811
- */
22812
- ScribeSettingsRequest: {
22813
- /** Authorized Clinicians */
22814
- authorized_clinicians?: components["schemas"]["ScribeClinician"][] | null;
22815
- cds?: components["schemas"]["ScribeCdsConfig"] | null;
22816
- /** Custom Instructions */
22817
- custom_instructions?: string | null;
22818
- /** Enabled */
22819
- enabled?: boolean | null;
22820
- /** Keyterms */
22821
- keyterms?: string[] | null;
22822
- /** Language */
22823
- language?: string | null;
22824
- post_encounter?: components["schemas"]["ScribePostEncounterConfig"] | null;
22825
- safety?: components["schemas"]["ScribeSafetyConfig"] | null;
22826
- /** Soap Style */
22827
- soap_style?: ("concise" | "detailed" | "structured") | null;
22828
- /** Specialty */
22829
- specialty?: string | null;
22830
- /** Tools Enabled */
22831
- tools_enabled?: string[] | null;
22832
- /** Voice Auth Enabled */
22833
- voice_auth_enabled?: boolean | null;
22834
- };
22835
- /** ScribeSettingsResponse */
22836
- ScribeSettingsResponse: {
22837
- /** Authorized Clinicians */
22838
- authorized_clinicians: components["schemas"]["ScribeClinician"][];
22839
- cds?: components["schemas"]["ScribeCdsConfig"];
22840
- /** Custom Instructions */
22841
- custom_instructions?: string | null;
22842
- /** Enabled */
22843
- enabled: boolean;
22844
- /** Keyterms */
22845
- keyterms?: string[];
22846
- /**
22847
- * Language
22848
- * @default en
22849
- */
22850
- language?: string;
22851
- post_encounter?: components["schemas"]["ScribePostEncounterConfig"];
22852
- safety?: components["schemas"]["ScribeSafetyConfig"];
22853
- /**
22854
- * Soap Style
22855
- * @default concise
22856
- * @enum {string}
22857
- */
22858
- soap_style?: "concise" | "detailed" | "structured";
22859
- /** Specialty */
22860
- specialty?: string | null;
22861
- /** Tools Enabled */
22862
- tools_enabled?: string[] | null;
22863
- /**
22864
- * Voice Auth Enabled
22865
- * @default false
22866
- */
22867
- voice_auth_enabled?: boolean;
22868
- };
22869
- /** ScribeTranscriptionChunk */
22870
- ScribeTranscriptionChunk: {
22871
- /** Confidence */
22872
- confidence?: number | null;
22873
- /** Duration Seconds */
22874
- duration_seconds?: number | null;
22875
- /** End Seconds */
22876
- end_seconds: number;
22877
- /** Index */
22878
- index: number;
22879
- /** Start Seconds */
22880
- start_seconds: number;
22881
- /** Text */
22882
- text: string;
22883
- };
22884
- /** ScribeTranscriptionResponse */
22885
- ScribeTranscriptionResponse: {
22886
- /** Chunk Count */
22887
- chunk_count: number;
22888
- /** Chunks */
22889
- chunks?: components["schemas"]["ScribeTranscriptionChunk"][];
22890
- /** Confidence */
22891
- confidence?: number | null;
22892
- /** Duration Seconds */
22893
- duration_seconds: number;
22894
- /** Keyterm Count */
22895
- keyterm_count: number;
22896
- /** Language */
22897
- language: string;
22898
- /** Model */
22899
- model: string;
22900
- /** Segments */
22901
- segments?: components["schemas"]["ScribeTranscriptionSegment"][];
22902
- /** Transcript */
22903
- transcript: string;
22904
- };
22905
- /** ScribeTranscriptionSegment */
22906
- ScribeTranscriptionSegment: {
22907
- /** Confidence */
22908
- confidence?: number | null;
22909
- /** End Seconds */
22910
- end_seconds?: number | null;
22911
- /** Speaker */
22912
- speaker?: number | null;
22913
- /** Start Seconds */
22914
- start_seconds?: number | null;
22915
- /** Text */
22916
- text: string;
22917
- };
22918
22540
  /** SearchAvailableNumbersResponse */
22919
22541
  SearchAvailableNumbersResponse: {
22920
22542
  /** Numbers */
@@ -22933,22 +22555,6 @@ export interface components {
22933
22555
  /** Value */
22934
22556
  value: string;
22935
22557
  };
22936
- /**
22937
- * SecuritySettingsRequest
22938
- * @description Partial update — only provided fields are changed.
22939
- */
22940
- SecuritySettingsRequest: {
22941
- /** Voice Auth Enabled */
22942
- voice_auth_enabled?: boolean | null;
22943
- };
22944
- /** SecuritySettingsResponse */
22945
- SecuritySettingsResponse: {
22946
- /**
22947
- * Voice Auth Enabled
22948
- * @default false
22949
- */
22950
- voice_auth_enabled?: boolean;
22951
- };
22952
22558
  /** SendGuidanceRequest */
22953
22559
  SendGuidanceRequest: {
22954
22560
  /** Call Sid */
@@ -22985,7 +22591,7 @@ export interface components {
22985
22591
  * @default voice
22986
22592
  * @enum {string}
22987
22593
  */
22988
- channel_type?: "voice" | "text" | "scribe";
22594
+ channel_type?: "voice" | "text";
22989
22595
  /**
22990
22596
  * Context Graph Id
22991
22597
  * Format: uuid
@@ -23124,7 +22730,7 @@ export interface components {
23124
22730
  * @default voice
23125
22731
  * @enum {string}
23126
22732
  */
23127
- channel_type?: "voice" | "text" | "scribe";
22733
+ channel_type?: "voice" | "text";
23128
22734
  /**
23129
22735
  * Context Graph Id
23130
22736
  * Format: uuid
@@ -23547,6 +23153,27 @@ export interface components {
23547
23153
  /** Session Id */
23548
23154
  session_id: string;
23549
23155
  };
23156
+ /** SetColumnDefaultAction */
23157
+ SetColumnDefaultAction: {
23158
+ default: components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request__Default"];
23159
+ name: components["schemas"]["IdentifierString"];
23160
+ /**
23161
+ * @description discriminator enum property added by openapi-typescript
23162
+ * @enum {string}
23163
+ */
23164
+ op: "set_column_default";
23165
+ };
23166
+ /** SetColumnNullableAction */
23167
+ SetColumnNullableAction: {
23168
+ name: components["schemas"]["IdentifierString"];
23169
+ /** Nullable */
23170
+ nullable: boolean;
23171
+ /**
23172
+ * @description discriminator enum property added by openapi-typescript
23173
+ * @enum {string}
23174
+ */
23175
+ op: "set_column_nullable";
23176
+ };
23550
23177
  /**
23551
23178
  * SignalResponseAlignment
23552
23179
  * @description Whether the agent's response aligned with a salient signal in the call.
@@ -25876,13 +25503,6 @@ export interface components {
25876
25503
  */
25877
25504
  sub_tool_logs: components["schemas"]["SubToolLog"][];
25878
25505
  };
25879
- /** TestToolRequest */
25880
- TestToolRequest: {
25881
- /** Parameters */
25882
- parameters?: {
25883
- [key: string]: unknown;
25884
- };
25885
- };
25886
25506
  /** TextCompletedEvent */
25887
25507
  TextCompletedEvent: {
25888
25508
  /** Channel Kind */
@@ -26386,34 +26006,6 @@ export interface components {
26386
26006
  */
26387
26007
  workspace_id: string;
26388
26008
  };
26389
- /** ToolResponse */
26390
- ToolResponse: {
26391
- /** Created At */
26392
- created_at?: string | null;
26393
- /** Description */
26394
- description: string;
26395
- /** Enabled */
26396
- enabled: boolean;
26397
- /** Id */
26398
- id: string;
26399
- /** Name */
26400
- name: string;
26401
- /** Parameters */
26402
- parameters: {
26403
- [key: string]: unknown;
26404
- };
26405
- /** Query */
26406
- query: string;
26407
- /**
26408
- * Target
26409
- * @constant
26410
- */
26411
- target: "lakebase";
26412
- /** Updated At */
26413
- updated_at?: string | null;
26414
- /** Workspace Id */
26415
- workspace_id: string;
26416
- };
26417
26009
  /**
26418
26010
  * ToolSummary
26419
26011
  * @description Tool usage statistics.
@@ -27190,8 +26782,11 @@ export interface components {
27190
26782
  media_type?: string | null;
27191
26783
  /** Media Url */
27192
26784
  media_url?: string | null;
27193
- /** Message */
27194
- message: string;
26785
+ /**
26786
+ * Message
26787
+ * @default
26788
+ */
26789
+ message?: string;
27195
26790
  /** Viewport Height */
27196
26791
  viewport_height?: number | null;
27197
26792
  /** Viewport Width */
@@ -27545,7 +27140,7 @@ export interface components {
27545
27140
  /** Agent Id */
27546
27141
  agent_id?: string | null;
27547
27142
  /** Channel Type */
27548
- channel_type?: ("voice" | "text" | "scribe") | null;
27143
+ channel_type?: ("voice" | "text") | null;
27549
27144
  /** Context Graph Id */
27550
27145
  context_graph_id?: string | null;
27551
27146
  description?: components["schemas"]["DescriptionString"] | null;
@@ -27679,19 +27274,6 @@ export interface components {
27679
27274
  */
27680
27275
  workspace_id: string;
27681
27276
  };
27682
- /** UpdateToolRequest */
27683
- UpdateToolRequest: {
27684
- description?: components["schemas"]["DescriptionString"] | null;
27685
- /** Enabled */
27686
- enabled?: boolean | null;
27687
- name?: components["schemas"]["NameString"] | null;
27688
- /** Parameters */
27689
- parameters?: {
27690
- [key: string]: unknown;
27691
- } | null;
27692
- /** Query */
27693
- query?: string | null;
27694
- };
27695
27277
  /** UpdateTriggerRequest */
27696
27278
  UpdateTriggerRequest: {
27697
27279
  /** Action Id */
@@ -28384,47 +27966,6 @@ export interface components {
28384
27966
  */
28385
27967
  voicemail_id: string;
28386
27968
  };
28387
- /** VoiceprintEnrollResponse */
28388
- VoiceprintEnrollResponse: {
28389
- /**
28390
- * Dimensions
28391
- * @default 192
28392
- */
28393
- dimensions?: number;
28394
- /**
28395
- * Enrolled
28396
- * @default true
28397
- */
28398
- enrolled?: boolean;
28399
- /**
28400
- * Entity Id
28401
- * Format: uuid
28402
- */
28403
- entity_id: string;
28404
- /** Model Id */
28405
- model_id: string;
28406
- };
28407
- /** VoiceprintStatusResponse */
28408
- VoiceprintStatusResponse: {
28409
- /** Enrolled */
28410
- enrolled: boolean;
28411
- /** Enrolled At */
28412
- enrolled_at?: string | null;
28413
- /** Model Id */
28414
- model_id?: string | null;
28415
- };
28416
- /** VoiceprintVerifyResponse */
28417
- VoiceprintVerifyResponse: {
28418
- /**
28419
- * Entity Id
28420
- * Format: uuid
28421
- */
28422
- entity_id: string;
28423
- /** Similarity */
28424
- similarity: number;
28425
- /** Verified */
28426
- verified: boolean;
28427
- };
28428
27969
  /** WebhookDestinationCreatedResponse */
28429
27970
  WebhookDestinationCreatedResponse: {
28430
27971
  /** Accepted Event Types */
@@ -29265,6 +28806,157 @@ export interface components {
29265
28806
  /** Tags */
29266
28807
  tags?: string[];
29267
28808
  };
28809
+ /** Request */
28810
+ src__routes__workspace_tables__create_workspace_table__Request: {
28811
+ /** Columns */
28812
+ columns: components["schemas"]["src__routes__workspace_tables__create_workspace_table__Request__Column"][];
28813
+ /** Indexes */
28814
+ indexes?: components["schemas"]["Index-Input"][];
28815
+ /** Primary Key */
28816
+ primary_key?: components["schemas"]["IdentifierString"][] | null;
28817
+ table_name: components["schemas"]["IdentifierString"];
28818
+ /** Unique */
28819
+ unique?: components["schemas"]["IdentifierString"][][];
28820
+ };
28821
+ /** Column */
28822
+ src__routes__workspace_tables__create_workspace_table__Request__Column: {
28823
+ default?: components["schemas"]["src__routes__workspace_tables__create_workspace_table__Request__Default"] | null;
28824
+ name: components["schemas"]["IdentifierString"];
28825
+ /**
28826
+ * Nullable
28827
+ * @default true
28828
+ */
28829
+ nullable?: boolean;
28830
+ type: components["schemas"]["ColumnType"];
28831
+ };
28832
+ /** Default */
28833
+ src__routes__workspace_tables__create_workspace_table__Request__Default: {
28834
+ /**
28835
+ * Kind
28836
+ * @enum {string}
28837
+ */
28838
+ kind: "literal" | "uuid_v4" | "now" | "current_date";
28839
+ /**
28840
+ * Value
28841
+ * @description Only meaningful for ``kind="literal"``. Other kinds ignore it.
28842
+ */
28843
+ value?: string | number | boolean | null;
28844
+ };
28845
+ /** Response */
28846
+ src__routes__workspace_tables__create_workspace_table__Response: {
28847
+ /**
28848
+ * Id
28849
+ * Format: uuid
28850
+ */
28851
+ id: string;
28852
+ /** Physical Name */
28853
+ physical_name: string;
28854
+ /** Table Name */
28855
+ table_name: string;
28856
+ /**
28857
+ * Workspace Id
28858
+ * Format: uuid
28859
+ */
28860
+ workspace_id: string;
28861
+ };
28862
+ /** Request */
28863
+ src__routes__workspace_tables__execute_workspace_query__Request: {
28864
+ /**
28865
+ * Sql
28866
+ * @description One SQL statement: SELECT / WITH ... SELECT / INSERT / UPDATE /
28867
+ * DELETE. Multi-statement, DDL, and session-state commands (SET ROLE,
28868
+ * RESET, SET SESSION AUTHORIZATION) reject with 400. ``pg_*``
28869
+ * function calls reject with 400.
28870
+ */
28871
+ sql: string;
28872
+ };
28873
+ /** Response */
28874
+ src__routes__workspace_tables__execute_workspace_query__Response: {
28875
+ /** Columns */
28876
+ columns: string[];
28877
+ /** Row Count */
28878
+ row_count: number;
28879
+ /** Rows */
28880
+ rows: {
28881
+ [key: string]: unknown;
28882
+ }[];
28883
+ };
28884
+ /** Response */
28885
+ src__routes__workspace_tables__get_workspace_table__Response: {
28886
+ /** Columns */
28887
+ columns: components["schemas"]["Column-Output"][];
28888
+ /** Constraints */
28889
+ constraints: components["schemas"]["Constraint"][];
28890
+ /**
28891
+ * Created At
28892
+ * Format: date-time
28893
+ */
28894
+ created_at: string;
28895
+ /**
28896
+ * Id
28897
+ * Format: uuid
28898
+ */
28899
+ id: string;
28900
+ /** Indexes */
28901
+ indexes: components["schemas"]["Index-Output"][];
28902
+ /** Physical Name */
28903
+ physical_name: string;
28904
+ /** Table Name */
28905
+ table_name: string;
28906
+ /**
28907
+ * Workspace Id
28908
+ * Format: uuid
28909
+ */
28910
+ workspace_id: string;
28911
+ };
28912
+ /** Response */
28913
+ src__routes__workspace_tables__list_workspace_tables__Response: {
28914
+ /** Items */
28915
+ items: components["schemas"]["Item"][];
28916
+ };
28917
+ /** Request */
28918
+ src__routes__workspace_tables__update_workspace_table__Request: {
28919
+ /** Actions */
28920
+ actions: (components["schemas"]["AddColumnAction"] | components["schemas"]["DropColumnAction"] | components["schemas"]["RenameColumnAction"] | components["schemas"]["ChangeColumnTypeAction"] | components["schemas"]["SetColumnNullableAction"] | components["schemas"]["SetColumnDefaultAction"] | components["schemas"]["DropColumnDefaultAction"] | components["schemas"]["AddUniqueAction"] | components["schemas"]["DropConstraintAction"] | components["schemas"]["AddIndexAction"] | components["schemas"]["DropIndexAction"])[];
28921
+ };
28922
+ /** Column */
28923
+ src__routes__workspace_tables__update_workspace_table__Request__Column: {
28924
+ default?: components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request__Default"] | null;
28925
+ name: components["schemas"]["IdentifierString"];
28926
+ /**
28927
+ * Nullable
28928
+ * @default true
28929
+ */
28930
+ nullable?: boolean;
28931
+ type: components["schemas"]["ColumnType"];
28932
+ };
28933
+ /** Default */
28934
+ src__routes__workspace_tables__update_workspace_table__Request__Default: {
28935
+ /**
28936
+ * Kind
28937
+ * @enum {string}
28938
+ */
28939
+ kind: "literal" | "uuid_v4" | "now" | "current_date";
28940
+ /** Value */
28941
+ value?: string | number | boolean | null;
28942
+ };
28943
+ /** Response */
28944
+ src__routes__workspace_tables__update_workspace_table__Response: {
28945
+ /**
28946
+ * Id
28947
+ * Format: uuid
28948
+ */
28949
+ id: string;
28950
+ /** Physical Name */
28951
+ physical_name: string;
28952
+ /** Table Name */
28953
+ table_name: string;
28954
+ /**
28955
+ * Workspace Id
28956
+ * Format: uuid
28957
+ */
28958
+ workspace_id: string;
28959
+ };
29268
28960
  };
29269
28961
  responses: never;
29270
28962
  parameters: never;
@@ -36713,109 +36405,6 @@ export interface operations {
36713
36405
  };
36714
36406
  };
36715
36407
  };
36716
- "get-fork": {
36717
- parameters: {
36718
- query?: never;
36719
- header?: never;
36720
- path: {
36721
- workspace_id: string;
36722
- };
36723
- cookie?: never;
36724
- };
36725
- requestBody?: never;
36726
- responses: {
36727
- /** @description Successful Response */
36728
- 200: {
36729
- headers: {
36730
- [name: string]: unknown;
36731
- };
36732
- content: {
36733
- "application/json": components["schemas"]["ForkResponse"] | null;
36734
- };
36735
- };
36736
- /** @description Rate limited */
36737
- 429: {
36738
- headers: {
36739
- [name: string]: unknown;
36740
- };
36741
- content?: never;
36742
- };
36743
- };
36744
- };
36745
- "create-fork": {
36746
- parameters: {
36747
- query?: never;
36748
- header?: never;
36749
- path: {
36750
- workspace_id: string;
36751
- };
36752
- cookie?: never;
36753
- };
36754
- requestBody: {
36755
- content: {
36756
- "application/json": components["schemas"]["CreateForkRequest"];
36757
- };
36758
- };
36759
- responses: {
36760
- /** @description Successful Response */
36761
- 201: {
36762
- headers: {
36763
- [name: string]: unknown;
36764
- };
36765
- content: {
36766
- "application/json": components["schemas"]["ForkResponse"];
36767
- };
36768
- };
36769
- /** @description Validation error */
36770
- 422: {
36771
- headers: {
36772
- [name: string]: unknown;
36773
- };
36774
- content?: never;
36775
- };
36776
- /** @description Rate limited */
36777
- 429: {
36778
- headers: {
36779
- [name: string]: unknown;
36780
- };
36781
- content?: never;
36782
- };
36783
- };
36784
- };
36785
- "delete-fork": {
36786
- parameters: {
36787
- query?: never;
36788
- header?: never;
36789
- path: {
36790
- workspace_id: string;
36791
- };
36792
- cookie?: never;
36793
- };
36794
- requestBody?: never;
36795
- responses: {
36796
- /** @description Successful Response */
36797
- 204: {
36798
- headers: {
36799
- [name: string]: unknown;
36800
- };
36801
- content?: never;
36802
- };
36803
- /** @description Validation error */
36804
- 422: {
36805
- headers: {
36806
- [name: string]: unknown;
36807
- };
36808
- content?: never;
36809
- };
36810
- /** @description Rate limited */
36811
- 429: {
36812
- headers: {
36813
- [name: string]: unknown;
36814
- };
36815
- content?: never;
36816
- };
36817
- };
36818
- };
36819
36408
  "list-functions": {
36820
36409
  parameters: {
36821
36410
  query?: never;
@@ -38356,46 +37945,6 @@ export interface operations {
38356
37945
  };
38357
37946
  };
38358
37947
  };
38359
- "execute-workspace-query": {
38360
- parameters: {
38361
- query?: never;
38362
- header?: never;
38363
- path: {
38364
- workspace_id: string;
38365
- };
38366
- cookie?: never;
38367
- };
38368
- requestBody: {
38369
- content: {
38370
- "application/json": components["schemas"]["ExecuteQueryRequest"];
38371
- };
38372
- };
38373
- responses: {
38374
- /** @description Successful Response */
38375
- 200: {
38376
- headers: {
38377
- [name: string]: unknown;
38378
- };
38379
- content: {
38380
- "application/json": components["schemas"]["QueryResultResponse"];
38381
- };
38382
- };
38383
- /** @description Validation error */
38384
- 422: {
38385
- headers: {
38386
- [name: string]: unknown;
38387
- };
38388
- content?: never;
38389
- };
38390
- /** @description Rate limited */
38391
- 429: {
38392
- headers: {
38393
- [name: string]: unknown;
38394
- };
38395
- content?: never;
38396
- };
38397
- };
38398
- };
38399
37948
  list_anomalies_ranked_v1__workspace_id__m42_anomalies_ranked_get: {
38400
37949
  parameters: {
38401
37950
  query?: {
@@ -41495,9 +41044,9 @@ export interface operations {
41495
41044
  "list-prompt-logs": {
41496
41045
  parameters: {
41497
41046
  query?: {
41498
- /** @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. */
41047
+ /** @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. */
41499
41048
  conversation_id?: string | null;
41500
- /** @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``. */
41049
+ /** @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``. */
41501
41050
  call_sid?: string | null;
41502
41051
  /** @description Filter by prompt_type (e.g. engage_user, navigation, tool) */
41503
41052
  prompt_type?: string | null;
@@ -41568,48 +41117,7 @@ export interface operations {
41568
41117
  };
41569
41118
  };
41570
41119
  };
41571
- "list-query-tools": {
41572
- parameters: {
41573
- query?: {
41574
- limit?: number;
41575
- continuation_token?: number;
41576
- };
41577
- header?: never;
41578
- path: {
41579
- workspace_id: string;
41580
- };
41581
- cookie?: never;
41582
- };
41583
- requestBody?: never;
41584
- responses: {
41585
- /** @description Successful Response */
41586
- 200: {
41587
- headers: {
41588
- [name: string]: unknown;
41589
- };
41590
- content: {
41591
- "application/json": components["schemas"]["PaginatedResponse_ToolResponse_"];
41592
- };
41593
- };
41594
- /** @description Validation Error */
41595
- 422: {
41596
- headers: {
41597
- [name: string]: unknown;
41598
- };
41599
- content: {
41600
- "application/json": components["schemas"]["HTTPValidationError"];
41601
- };
41602
- };
41603
- /** @description Rate limited */
41604
- 429: {
41605
- headers: {
41606
- [name: string]: unknown;
41607
- };
41608
- content?: never;
41609
- };
41610
- };
41611
- };
41612
- "create-query-tool": {
41120
+ "execute-workspace-query": {
41613
41121
  parameters: {
41614
41122
  query?: never;
41615
41123
  header?: never;
@@ -41620,54 +41128,19 @@ export interface operations {
41620
41128
  };
41621
41129
  requestBody: {
41622
41130
  content: {
41623
- "application/json": components["schemas"]["CreateToolRequest"];
41131
+ "application/json": components["schemas"]["src__routes__workspace_tables__execute_workspace_query__Request"];
41624
41132
  };
41625
41133
  };
41626
41134
  responses: {
41627
41135
  /** @description Successful Response */
41628
- 201: {
41136
+ 200: {
41629
41137
  headers: {
41630
41138
  [name: string]: unknown;
41631
41139
  };
41632
41140
  content: {
41633
- "application/json": components["schemas"]["ToolResponse"];
41141
+ "application/json": components["schemas"]["src__routes__workspace_tables__execute_workspace_query__Response"];
41634
41142
  };
41635
41143
  };
41636
- /** @description Validation error */
41637
- 422: {
41638
- headers: {
41639
- [name: string]: unknown;
41640
- };
41641
- content?: never;
41642
- };
41643
- /** @description Rate limited */
41644
- 429: {
41645
- headers: {
41646
- [name: string]: unknown;
41647
- };
41648
- content?: never;
41649
- };
41650
- };
41651
- };
41652
- "delete-query-tool": {
41653
- parameters: {
41654
- query?: never;
41655
- header?: never;
41656
- path: {
41657
- workspace_id: string;
41658
- tool_id: string;
41659
- };
41660
- cookie?: never;
41661
- };
41662
- requestBody?: never;
41663
- responses: {
41664
- /** @description Successful Response */
41665
- 204: {
41666
- headers: {
41667
- [name: string]: unknown;
41668
- };
41669
- content?: never;
41670
- };
41671
41144
  /** @description Validation Error */
41672
41145
  422: {
41673
41146
  headers: {
@@ -41677,102 +41150,6 @@ export interface operations {
41677
41150
  "application/json": components["schemas"]["HTTPValidationError"];
41678
41151
  };
41679
41152
  };
41680
- /** @description Rate limited */
41681
- 429: {
41682
- headers: {
41683
- [name: string]: unknown;
41684
- };
41685
- content?: never;
41686
- };
41687
- };
41688
- };
41689
- "update-query-tool": {
41690
- parameters: {
41691
- query?: never;
41692
- header?: never;
41693
- path: {
41694
- workspace_id: string;
41695
- tool_id: string;
41696
- };
41697
- cookie?: never;
41698
- };
41699
- requestBody: {
41700
- content: {
41701
- "application/json": components["schemas"]["UpdateToolRequest"];
41702
- };
41703
- };
41704
- responses: {
41705
- /** @description Successful Response */
41706
- 200: {
41707
- headers: {
41708
- [name: string]: unknown;
41709
- };
41710
- content: {
41711
- "application/json": components["schemas"]["ToolResponse"];
41712
- };
41713
- };
41714
- /** @description Tool not found */
41715
- 404: {
41716
- headers: {
41717
- [name: string]: unknown;
41718
- };
41719
- content?: never;
41720
- };
41721
- /** @description Validation error */
41722
- 422: {
41723
- headers: {
41724
- [name: string]: unknown;
41725
- };
41726
- content?: never;
41727
- };
41728
- /** @description Rate limited */
41729
- 429: {
41730
- headers: {
41731
- [name: string]: unknown;
41732
- };
41733
- content?: never;
41734
- };
41735
- };
41736
- };
41737
- "test-query-tool": {
41738
- parameters: {
41739
- query?: never;
41740
- header?: never;
41741
- path: {
41742
- workspace_id: string;
41743
- tool_id: string;
41744
- };
41745
- cookie?: never;
41746
- };
41747
- requestBody: {
41748
- content: {
41749
- "application/json": components["schemas"]["TestToolRequest"];
41750
- };
41751
- };
41752
- responses: {
41753
- /** @description Successful Response */
41754
- 200: {
41755
- headers: {
41756
- [name: string]: unknown;
41757
- };
41758
- content: {
41759
- "application/json": components["schemas"]["QueryResultResponse"];
41760
- };
41761
- };
41762
- /** @description Validation error */
41763
- 422: {
41764
- headers: {
41765
- [name: string]: unknown;
41766
- };
41767
- content?: never;
41768
- };
41769
- /** @description Rate limited */
41770
- 429: {
41771
- headers: {
41772
- [name: string]: unknown;
41773
- };
41774
- content?: never;
41775
- };
41776
41153
  };
41777
41154
  };
41778
41155
  query_table_v1__workspace_id__query__schema___table__get: {
@@ -43022,189 +42399,6 @@ export interface operations {
43022
42399
  };
43023
42400
  };
43024
42401
  };
43025
- "finalize-encounter": {
43026
- parameters: {
43027
- query?: never;
43028
- header?: never;
43029
- path: {
43030
- workspace_id: string;
43031
- encounter_id: string;
43032
- };
43033
- cookie?: never;
43034
- };
43035
- requestBody?: never;
43036
- responses: {
43037
- /** @description Successful Response */
43038
- 200: {
43039
- headers: {
43040
- [name: string]: unknown;
43041
- };
43042
- content: {
43043
- "application/json": {
43044
- [key: string]: unknown;
43045
- };
43046
- };
43047
- };
43048
- /** @description Validation Error */
43049
- 422: {
43050
- headers: {
43051
- [name: string]: unknown;
43052
- };
43053
- content: {
43054
- "application/json": components["schemas"]["HTTPValidationError"];
43055
- };
43056
- };
43057
- };
43058
- };
43059
- "approve-icd10-code": {
43060
- parameters: {
43061
- query?: never;
43062
- header?: never;
43063
- path: {
43064
- workspace_id: string;
43065
- encounter_id: string;
43066
- };
43067
- cookie?: never;
43068
- };
43069
- requestBody: {
43070
- content: {
43071
- "application/json": components["schemas"]["ApproveICD10Request"];
43072
- };
43073
- };
43074
- responses: {
43075
- /** @description Successful Response */
43076
- 200: {
43077
- headers: {
43078
- [name: string]: unknown;
43079
- };
43080
- content: {
43081
- "application/json": {
43082
- [key: string]: unknown;
43083
- };
43084
- };
43085
- };
43086
- /** @description Validation Error */
43087
- 422: {
43088
- headers: {
43089
- [name: string]: unknown;
43090
- };
43091
- content: {
43092
- "application/json": components["schemas"]["HTTPValidationError"];
43093
- };
43094
- };
43095
- };
43096
- };
43097
- "reject-icd10-code": {
43098
- parameters: {
43099
- query?: never;
43100
- header?: never;
43101
- path: {
43102
- workspace_id: string;
43103
- encounter_id: string;
43104
- };
43105
- cookie?: never;
43106
- };
43107
- requestBody: {
43108
- content: {
43109
- "application/json": components["schemas"]["RejectICD10Request"];
43110
- };
43111
- };
43112
- responses: {
43113
- /** @description Successful Response */
43114
- 200: {
43115
- headers: {
43116
- [name: string]: unknown;
43117
- };
43118
- content: {
43119
- "application/json": {
43120
- [key: string]: unknown;
43121
- };
43122
- };
43123
- };
43124
- /** @description Validation Error */
43125
- 422: {
43126
- headers: {
43127
- [name: string]: unknown;
43128
- };
43129
- content: {
43130
- "application/json": components["schemas"]["HTTPValidationError"];
43131
- };
43132
- };
43133
- };
43134
- };
43135
- "edit-encounter-soap": {
43136
- parameters: {
43137
- query?: never;
43138
- header?: never;
43139
- path: {
43140
- workspace_id: string;
43141
- encounter_id: string;
43142
- };
43143
- cookie?: never;
43144
- };
43145
- requestBody: {
43146
- content: {
43147
- "application/json": components["schemas"]["EditSoapRequest"];
43148
- };
43149
- };
43150
- responses: {
43151
- /** @description Successful Response */
43152
- 200: {
43153
- headers: {
43154
- [name: string]: unknown;
43155
- };
43156
- content: {
43157
- "application/json": {
43158
- [key: string]: unknown;
43159
- };
43160
- };
43161
- };
43162
- /** @description Validation Error */
43163
- 422: {
43164
- headers: {
43165
- [name: string]: unknown;
43166
- };
43167
- content: {
43168
- "application/json": components["schemas"]["HTTPValidationError"];
43169
- };
43170
- };
43171
- };
43172
- };
43173
- "transcribe-scribe-recording": {
43174
- parameters: {
43175
- query?: never;
43176
- header?: never;
43177
- path: {
43178
- workspace_id: string;
43179
- };
43180
- cookie?: never;
43181
- };
43182
- requestBody: {
43183
- content: {
43184
- "multipart/form-data": components["schemas"]["Body_transcribe-scribe-recording"];
43185
- };
43186
- };
43187
- responses: {
43188
- /** @description Successful Response */
43189
- 200: {
43190
- headers: {
43191
- [name: string]: unknown;
43192
- };
43193
- content: {
43194
- "application/json": components["schemas"]["ScribeTranscriptionResponse"];
43195
- };
43196
- };
43197
- /** @description Validation Error */
43198
- 422: {
43199
- headers: {
43200
- [name: string]: unknown;
43201
- };
43202
- content: {
43203
- "application/json": components["schemas"]["HTTPValidationError"];
43204
- };
43205
- };
43206
- };
43207
- };
43208
42402
  "get-sensorium-connector-health": {
43209
42403
  parameters: {
43210
42404
  query?: never;
@@ -44838,158 +44032,6 @@ export interface operations {
44838
44032
  };
44839
44033
  };
44840
44034
  };
44841
- "get-scribe-settings": {
44842
- parameters: {
44843
- query?: never;
44844
- header?: never;
44845
- path: {
44846
- workspace_id: string;
44847
- };
44848
- cookie?: never;
44849
- };
44850
- requestBody?: never;
44851
- responses: {
44852
- /** @description Successful Response */
44853
- 200: {
44854
- headers: {
44855
- [name: string]: unknown;
44856
- };
44857
- content: {
44858
- "application/json": components["schemas"]["ScribeSettingsResponse"];
44859
- };
44860
- };
44861
- /** @description Rate limited */
44862
- 429: {
44863
- headers: {
44864
- [name: string]: unknown;
44865
- };
44866
- content?: never;
44867
- };
44868
- };
44869
- };
44870
- "update-scribe-settings": {
44871
- parameters: {
44872
- query?: never;
44873
- header?: never;
44874
- path: {
44875
- workspace_id: string;
44876
- };
44877
- cookie?: never;
44878
- };
44879
- requestBody: {
44880
- content: {
44881
- "application/json": components["schemas"]["ScribeSettingsRequest"];
44882
- };
44883
- };
44884
- responses: {
44885
- /** @description Successful Response */
44886
- 200: {
44887
- headers: {
44888
- [name: string]: unknown;
44889
- };
44890
- content: {
44891
- "application/json": components["schemas"]["ScribeSettingsResponse"];
44892
- };
44893
- };
44894
- /** @description Workspace not found */
44895
- 404: {
44896
- headers: {
44897
- [name: string]: unknown;
44898
- };
44899
- content?: never;
44900
- };
44901
- /** @description Validation error */
44902
- 422: {
44903
- headers: {
44904
- [name: string]: unknown;
44905
- };
44906
- content?: never;
44907
- };
44908
- /** @description Rate limited */
44909
- 429: {
44910
- headers: {
44911
- [name: string]: unknown;
44912
- };
44913
- content?: never;
44914
- };
44915
- };
44916
- };
44917
- "get-security-settings": {
44918
- parameters: {
44919
- query?: never;
44920
- header?: never;
44921
- path: {
44922
- workspace_id: string;
44923
- };
44924
- cookie?: never;
44925
- };
44926
- requestBody?: never;
44927
- responses: {
44928
- /** @description Successful Response */
44929
- 200: {
44930
- headers: {
44931
- [name: string]: unknown;
44932
- };
44933
- content: {
44934
- "application/json": components["schemas"]["SecuritySettingsResponse"];
44935
- };
44936
- };
44937
- /** @description Rate limited */
44938
- 429: {
44939
- headers: {
44940
- [name: string]: unknown;
44941
- };
44942
- content?: never;
44943
- };
44944
- };
44945
- };
44946
- "update-security-settings": {
44947
- parameters: {
44948
- query?: never;
44949
- header?: never;
44950
- path: {
44951
- workspace_id: string;
44952
- };
44953
- cookie?: never;
44954
- };
44955
- requestBody: {
44956
- content: {
44957
- "application/json": components["schemas"]["SecuritySettingsRequest"];
44958
- };
44959
- };
44960
- responses: {
44961
- /** @description Successful Response */
44962
- 200: {
44963
- headers: {
44964
- [name: string]: unknown;
44965
- };
44966
- content: {
44967
- "application/json": components["schemas"]["SecuritySettingsResponse"];
44968
- };
44969
- };
44970
- /** @description Workspace not found */
44971
- 404: {
44972
- headers: {
44973
- [name: string]: unknown;
44974
- };
44975
- content?: never;
44976
- };
44977
- /** @description Validation error */
44978
- 422: {
44979
- headers: {
44980
- [name: string]: unknown;
44981
- };
44982
- content?: never;
44983
- };
44984
- /** @description Rate limited */
44985
- 429: {
44986
- headers: {
44987
- [name: string]: unknown;
44988
- };
44989
- content?: never;
44990
- };
44991
- };
44992
- };
44993
44035
  "get-voice-settings": {
44994
44036
  parameters: {
44995
44037
  query?: never;
@@ -45379,6 +44421,41 @@ export interface operations {
45379
44421
  };
45380
44422
  };
45381
44423
  };
44424
+ "create-simulation-cases": {
44425
+ parameters: {
44426
+ query?: never;
44427
+ header?: never;
44428
+ path: {
44429
+ workspace_id: string;
44430
+ };
44431
+ cookie?: never;
44432
+ };
44433
+ requestBody: {
44434
+ content: {
44435
+ "application/json": components["schemas"]["CreateSimulationCasesRequest"];
44436
+ };
44437
+ };
44438
+ responses: {
44439
+ /** @description Successful Response */
44440
+ 200: {
44441
+ headers: {
44442
+ [name: string]: unknown;
44443
+ };
44444
+ content: {
44445
+ "application/json": components["schemas"]["CreateSimulationCasesResponse"];
44446
+ };
44447
+ };
44448
+ /** @description Validation Error */
44449
+ 422: {
44450
+ headers: {
44451
+ [name: string]: unknown;
44452
+ };
44453
+ content: {
44454
+ "application/json": components["schemas"]["HTTPValidationError"];
44455
+ };
44456
+ };
44457
+ };
44458
+ };
45382
44459
  "get-simulation-case": {
45383
44460
  parameters: {
45384
44461
  query?: never;
@@ -46911,7 +45988,115 @@ export interface operations {
46911
45988
  };
46912
45989
  };
46913
45990
  };
46914
- "approve-surface": {
45991
+ "approve-surface": {
45992
+ parameters: {
45993
+ query?: never;
45994
+ header?: never;
45995
+ path: {
45996
+ workspace_id: string;
45997
+ surface_id: string;
45998
+ };
45999
+ cookie?: never;
46000
+ };
46001
+ requestBody?: never;
46002
+ responses: {
46003
+ /** @description Successful Response */
46004
+ 200: {
46005
+ headers: {
46006
+ [name: string]: unknown;
46007
+ };
46008
+ content: {
46009
+ "application/json": components["schemas"]["ReviewActionResponse"];
46010
+ };
46011
+ };
46012
+ /** @description Surface not found */
46013
+ 404: {
46014
+ headers: {
46015
+ [name: string]: unknown;
46016
+ };
46017
+ content?: never;
46018
+ };
46019
+ /** @description Surface is not pending review */
46020
+ 409: {
46021
+ headers: {
46022
+ [name: string]: unknown;
46023
+ };
46024
+ content?: never;
46025
+ };
46026
+ /** @description Validation Error */
46027
+ 422: {
46028
+ headers: {
46029
+ [name: string]: unknown;
46030
+ };
46031
+ content: {
46032
+ "application/json": components["schemas"]["HTTPValidationError"];
46033
+ };
46034
+ };
46035
+ /** @description Rate limited */
46036
+ 429: {
46037
+ headers: {
46038
+ [name: string]: unknown;
46039
+ };
46040
+ content?: never;
46041
+ };
46042
+ };
46043
+ };
46044
+ "deliver-surface": {
46045
+ parameters: {
46046
+ query?: never;
46047
+ header?: never;
46048
+ path: {
46049
+ workspace_id: string;
46050
+ surface_id: string;
46051
+ };
46052
+ cookie?: never;
46053
+ };
46054
+ requestBody: {
46055
+ content: {
46056
+ "application/json": components["schemas"]["DeliverSurfaceRequest"];
46057
+ };
46058
+ };
46059
+ responses: {
46060
+ /** @description Successful Response */
46061
+ 200: {
46062
+ headers: {
46063
+ [name: string]: unknown;
46064
+ };
46065
+ content: {
46066
+ "application/json": components["schemas"]["DeliverSurfaceResponse"];
46067
+ };
46068
+ };
46069
+ /** @description Surface not found */
46070
+ 404: {
46071
+ headers: {
46072
+ [name: string]: unknown;
46073
+ };
46074
+ content?: never;
46075
+ };
46076
+ /** @description Surface already delivered/completed/expired */
46077
+ 409: {
46078
+ headers: {
46079
+ [name: string]: unknown;
46080
+ };
46081
+ content?: never;
46082
+ };
46083
+ /** @description Validation error */
46084
+ 422: {
46085
+ headers: {
46086
+ [name: string]: unknown;
46087
+ };
46088
+ content?: never;
46089
+ };
46090
+ /** @description Rate limited */
46091
+ 429: {
46092
+ headers: {
46093
+ [name: string]: unknown;
46094
+ };
46095
+ content?: never;
46096
+ };
46097
+ };
46098
+ };
46099
+ "get-surface-progress": {
46915
46100
  parameters: {
46916
46101
  query?: never;
46917
46102
  header?: never;
@@ -46929,7 +46114,7 @@ export interface operations {
46929
46114
  [name: string]: unknown;
46930
46115
  };
46931
46116
  content: {
46932
- "application/json": components["schemas"]["ReviewActionResponse"];
46117
+ "application/json": components["schemas"]["SurfaceProgressResponse"];
46933
46118
  };
46934
46119
  };
46935
46120
  /** @description Surface not found */
@@ -46939,13 +46124,6 @@ export interface operations {
46939
46124
  };
46940
46125
  content?: never;
46941
46126
  };
46942
- /** @description Surface is not pending review */
46943
- 409: {
46944
- headers: {
46945
- [name: string]: unknown;
46946
- };
46947
- content?: never;
46948
- };
46949
46127
  /** @description Validation Error */
46950
46128
  422: {
46951
46129
  headers: {
@@ -46964,7 +46142,7 @@ export interface operations {
46964
46142
  };
46965
46143
  };
46966
46144
  };
46967
- "deliver-surface": {
46145
+ "reject-surface": {
46968
46146
  parameters: {
46969
46147
  query?: never;
46970
46148
  header?: never;
@@ -46976,7 +46154,7 @@ export interface operations {
46976
46154
  };
46977
46155
  requestBody: {
46978
46156
  content: {
46979
- "application/json": components["schemas"]["DeliverSurfaceRequest"];
46157
+ "application/json": components["schemas"]["RejectSurfaceRequest"];
46980
46158
  };
46981
46159
  };
46982
46160
  responses: {
@@ -46986,7 +46164,7 @@ export interface operations {
46986
46164
  [name: string]: unknown;
46987
46165
  };
46988
46166
  content: {
46989
- "application/json": components["schemas"]["DeliverSurfaceResponse"];
46167
+ "application/json": components["schemas"]["ReviewActionResponse"];
46990
46168
  };
46991
46169
  };
46992
46170
  /** @description Surface not found */
@@ -46996,19 +46174,21 @@ export interface operations {
46996
46174
  };
46997
46175
  content?: never;
46998
46176
  };
46999
- /** @description Surface already delivered/completed/expired */
46177
+ /** @description Surface is not pending review */
47000
46178
  409: {
47001
46179
  headers: {
47002
46180
  [name: string]: unknown;
47003
46181
  };
47004
46182
  content?: never;
47005
46183
  };
47006
- /** @description Validation error */
46184
+ /** @description Validation Error */
47007
46185
  422: {
47008
46186
  headers: {
47009
46187
  [name: string]: unknown;
47010
46188
  };
47011
- content?: never;
46189
+ content: {
46190
+ "application/json": components["schemas"]["HTTPValidationError"];
46191
+ };
47012
46192
  };
47013
46193
  /** @description Rate limited */
47014
46194
  429: {
@@ -47019,7 +46199,7 @@ export interface operations {
47019
46199
  };
47020
46200
  };
47021
46201
  };
47022
- "get-surface-progress": {
46202
+ "reshape-surface": {
47023
46203
  parameters: {
47024
46204
  query?: never;
47025
46205
  header?: never;
@@ -47037,7 +46217,7 @@ export interface operations {
47037
46217
  [name: string]: unknown;
47038
46218
  };
47039
46219
  content: {
47040
- "application/json": components["schemas"]["SurfaceProgressResponse"];
46220
+ "application/json": components["schemas"]["CreateSurfaceResponse"];
47041
46221
  };
47042
46222
  };
47043
46223
  /** @description Surface not found */
@@ -47047,6 +46227,13 @@ export interface operations {
47047
46227
  };
47048
46228
  content?: never;
47049
46229
  };
46230
+ /** @description All fields already filled */
46231
+ 409: {
46232
+ headers: {
46233
+ [name: string]: unknown;
46234
+ };
46235
+ content?: never;
46236
+ };
47050
46237
  /** @description Validation Error */
47051
46238
  422: {
47052
46239
  headers: {
@@ -47065,44 +46252,83 @@ export interface operations {
47065
46252
  };
47066
46253
  };
47067
46254
  };
47068
- "reject-surface": {
46255
+ "list-workspace-tables": {
46256
+ parameters: {
46257
+ query?: never;
46258
+ header?: never;
46259
+ path: {
46260
+ workspace_id: string;
46261
+ };
46262
+ cookie?: never;
46263
+ };
46264
+ requestBody?: never;
46265
+ responses: {
46266
+ /** @description Successful Response */
46267
+ 200: {
46268
+ headers: {
46269
+ [name: string]: unknown;
46270
+ };
46271
+ content: {
46272
+ "application/json": components["schemas"]["src__routes__workspace_tables__list_workspace_tables__Response"];
46273
+ };
46274
+ };
46275
+ };
46276
+ };
46277
+ "create-workspace-table": {
47069
46278
  parameters: {
47070
46279
  query?: never;
47071
46280
  header?: never;
47072
46281
  path: {
47073
46282
  workspace_id: string;
47074
- surface_id: string;
47075
46283
  };
47076
46284
  cookie?: never;
47077
46285
  };
47078
46286
  requestBody: {
47079
46287
  content: {
47080
- "application/json": components["schemas"]["RejectSurfaceRequest"];
46288
+ "application/json": components["schemas"]["src__routes__workspace_tables__create_workspace_table__Request"];
47081
46289
  };
47082
46290
  };
47083
46291
  responses: {
47084
46292
  /** @description Successful Response */
47085
- 200: {
46293
+ 201: {
47086
46294
  headers: {
47087
46295
  [name: string]: unknown;
47088
46296
  };
47089
46297
  content: {
47090
- "application/json": components["schemas"]["ReviewActionResponse"];
46298
+ "application/json": components["schemas"]["src__routes__workspace_tables__create_workspace_table__Response"];
47091
46299
  };
47092
46300
  };
47093
- /** @description Surface not found */
47094
- 404: {
46301
+ /** @description Validation Error */
46302
+ 422: {
47095
46303
  headers: {
47096
46304
  [name: string]: unknown;
47097
46305
  };
47098
- content?: never;
46306
+ content: {
46307
+ "application/json": components["schemas"]["HTTPValidationError"];
46308
+ };
47099
46309
  };
47100
- /** @description Surface is not pending review */
47101
- 409: {
46310
+ };
46311
+ };
46312
+ "get-workspace-table": {
46313
+ parameters: {
46314
+ query?: never;
46315
+ header?: never;
46316
+ path: {
46317
+ workspace_id: string;
46318
+ table_id: string;
46319
+ };
46320
+ cookie?: never;
46321
+ };
46322
+ requestBody?: never;
46323
+ responses: {
46324
+ /** @description Successful Response */
46325
+ 200: {
47102
46326
  headers: {
47103
46327
  [name: string]: unknown;
47104
46328
  };
47105
- content?: never;
46329
+ content: {
46330
+ "application/json": components["schemas"]["src__routes__workspace_tables__get_workspace_table__Response"];
46331
+ };
47106
46332
  };
47107
46333
  /** @description Validation Error */
47108
46334
  422: {
@@ -47113,22 +46339,15 @@ export interface operations {
47113
46339
  "application/json": components["schemas"]["HTTPValidationError"];
47114
46340
  };
47115
46341
  };
47116
- /** @description Rate limited */
47117
- 429: {
47118
- headers: {
47119
- [name: string]: unknown;
47120
- };
47121
- content?: never;
47122
- };
47123
46342
  };
47124
46343
  };
47125
- "reshape-surface": {
46344
+ "delete-workspace-table": {
47126
46345
  parameters: {
47127
46346
  query?: never;
47128
46347
  header?: never;
47129
46348
  path: {
47130
46349
  workspace_id: string;
47131
- surface_id: string;
46350
+ table_id: string;
47132
46351
  };
47133
46352
  cookie?: never;
47134
46353
  };
@@ -47140,22 +46359,44 @@ export interface operations {
47140
46359
  [name: string]: unknown;
47141
46360
  };
47142
46361
  content: {
47143
- "application/json": components["schemas"]["CreateSurfaceResponse"];
46362
+ "application/json": unknown;
47144
46363
  };
47145
46364
  };
47146
- /** @description Surface not found */
47147
- 404: {
46365
+ /** @description Validation Error */
46366
+ 422: {
47148
46367
  headers: {
47149
46368
  [name: string]: unknown;
47150
46369
  };
47151
- content?: never;
46370
+ content: {
46371
+ "application/json": components["schemas"]["HTTPValidationError"];
46372
+ };
47152
46373
  };
47153
- /** @description All fields already filled */
47154
- 409: {
46374
+ };
46375
+ };
46376
+ "update-workspace-table": {
46377
+ parameters: {
46378
+ query?: never;
46379
+ header?: never;
46380
+ path: {
46381
+ workspace_id: string;
46382
+ table_id: string;
46383
+ };
46384
+ cookie?: never;
46385
+ };
46386
+ requestBody: {
46387
+ content: {
46388
+ "application/json": components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request"];
46389
+ };
46390
+ };
46391
+ responses: {
46392
+ /** @description Successful Response */
46393
+ 200: {
47155
46394
  headers: {
47156
46395
  [name: string]: unknown;
47157
46396
  };
47158
- content?: never;
46397
+ content: {
46398
+ "application/json": components["schemas"]["src__routes__workspace_tables__update_workspace_table__Response"];
46399
+ };
47159
46400
  };
47160
46401
  /** @description Validation Error */
47161
46402
  422: {
@@ -47166,13 +46407,6 @@ export interface operations {
47166
46407
  "application/json": components["schemas"]["HTTPValidationError"];
47167
46408
  };
47168
46409
  };
47169
- /** @description Rate limited */
47170
- 429: {
47171
- headers: {
47172
- [name: string]: unknown;
47173
- };
47174
- content?: never;
47175
- };
47176
46410
  };
47177
46411
  };
47178
46412
  list_tasks_by_call_v1__workspace_id__tasks_by_call__call_sid__get: {
@@ -48635,143 +47869,6 @@ export interface operations {
48635
47869
  };
48636
47870
  };
48637
47871
  };
48638
- "enroll-voiceprint": {
48639
- parameters: {
48640
- query?: never;
48641
- header?: never;
48642
- path: {
48643
- workspace_id: string;
48644
- };
48645
- cookie?: never;
48646
- };
48647
- requestBody: {
48648
- content: {
48649
- "multipart/form-data": components["schemas"]["Body_enroll-voiceprint"];
48650
- };
48651
- };
48652
- responses: {
48653
- /** @description Successful Response */
48654
- 201: {
48655
- headers: {
48656
- [name: string]: unknown;
48657
- };
48658
- content: {
48659
- "application/json": components["schemas"]["VoiceprintEnrollResponse"];
48660
- };
48661
- };
48662
- /** @description Bad Request */
48663
- 400: {
48664
- headers: {
48665
- [name: string]: unknown;
48666
- };
48667
- content?: never;
48668
- };
48669
- /** @description Validation Error */
48670
- 422: {
48671
- headers: {
48672
- [name: string]: unknown;
48673
- };
48674
- content: {
48675
- "application/json": components["schemas"]["HTTPValidationError"];
48676
- };
48677
- };
48678
- /** @description Service Unavailable */
48679
- 503: {
48680
- headers: {
48681
- [name: string]: unknown;
48682
- };
48683
- content?: never;
48684
- };
48685
- };
48686
- };
48687
- "verify-voiceprint": {
48688
- parameters: {
48689
- query?: never;
48690
- header?: never;
48691
- path: {
48692
- workspace_id: string;
48693
- };
48694
- cookie?: never;
48695
- };
48696
- requestBody: {
48697
- content: {
48698
- "multipart/form-data": components["schemas"]["Body_verify-voiceprint"];
48699
- };
48700
- };
48701
- responses: {
48702
- /** @description Successful Response */
48703
- 200: {
48704
- headers: {
48705
- [name: string]: unknown;
48706
- };
48707
- content: {
48708
- "application/json": components["schemas"]["VoiceprintVerifyResponse"];
48709
- };
48710
- };
48711
- /** @description Bad Request */
48712
- 400: {
48713
- headers: {
48714
- [name: string]: unknown;
48715
- };
48716
- content?: never;
48717
- };
48718
- /** @description Not Found */
48719
- 404: {
48720
- headers: {
48721
- [name: string]: unknown;
48722
- };
48723
- content?: never;
48724
- };
48725
- /** @description Validation Error */
48726
- 422: {
48727
- headers: {
48728
- [name: string]: unknown;
48729
- };
48730
- content: {
48731
- "application/json": components["schemas"]["HTTPValidationError"];
48732
- };
48733
- };
48734
- /** @description Service Unavailable */
48735
- 503: {
48736
- headers: {
48737
- [name: string]: unknown;
48738
- };
48739
- content?: never;
48740
- };
48741
- };
48742
- };
48743
- "get-voiceprint-status": {
48744
- parameters: {
48745
- query?: never;
48746
- header?: never;
48747
- path: {
48748
- workspace_id: string;
48749
- entity_id: string;
48750
- };
48751
- cookie?: never;
48752
- };
48753
- requestBody?: never;
48754
- responses: {
48755
- /** @description Successful Response */
48756
- 200: {
48757
- headers: {
48758
- [name: string]: unknown;
48759
- };
48760
- content: {
48761
- "application/json": components["schemas"]["VoiceprintStatusResponse"];
48762
- };
48763
- };
48764
- /** @description Validation Error */
48765
- 422: {
48766
- headers: {
48767
- [name: string]: unknown;
48768
- };
48769
- content: {
48770
- "application/json": components["schemas"]["HTTPValidationError"];
48771
- };
48772
- };
48773
- };
48774
- };
48775
47872
  "list-webhook-destinations": {
48776
47873
  parameters: {
48777
47874
  query?: {