@amigo-ai/platform-sdk 0.61.1 → 0.63.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.
@@ -2351,6 +2351,93 @@ export interface paths {
2351
2351
  patch?: never;
2352
2352
  trace?: never;
2353
2353
  };
2354
+ "/v1/{workspace_id}/external-integrations": {
2355
+ parameters: {
2356
+ query?: never;
2357
+ header?: never;
2358
+ path?: never;
2359
+ cookie?: never;
2360
+ };
2361
+ /** List External Integrations */
2362
+ get: operations["list-external-integrations"];
2363
+ put?: never;
2364
+ /** Create External Integration */
2365
+ post: operations["create-external-integration"];
2366
+ delete?: never;
2367
+ options?: never;
2368
+ head?: never;
2369
+ patch?: never;
2370
+ trace?: never;
2371
+ };
2372
+ "/v1/{workspace_id}/external-integrations/{integration_id}": {
2373
+ parameters: {
2374
+ query?: never;
2375
+ header?: never;
2376
+ path?: never;
2377
+ cookie?: never;
2378
+ };
2379
+ /** Get External Integration */
2380
+ get: operations["get-external-integration"];
2381
+ put?: never;
2382
+ post?: never;
2383
+ delete?: never;
2384
+ options?: never;
2385
+ head?: never;
2386
+ patch?: never;
2387
+ trace?: never;
2388
+ };
2389
+ "/v1/{workspace_id}/external-integrations/{integration_id}/credentials": {
2390
+ parameters: {
2391
+ query?: never;
2392
+ header?: never;
2393
+ path?: never;
2394
+ cookie?: never;
2395
+ };
2396
+ /** List External Integration Credentials */
2397
+ get: operations["list-external-integration-credentials"];
2398
+ put?: never;
2399
+ /** Create External Integration Credential */
2400
+ post: operations["create-external-integration-credential"];
2401
+ delete?: never;
2402
+ options?: never;
2403
+ head?: never;
2404
+ patch?: never;
2405
+ trace?: never;
2406
+ };
2407
+ "/v1/{workspace_id}/external-integrations/{integration_id}/credentials/{credential_id}": {
2408
+ parameters: {
2409
+ query?: never;
2410
+ header?: never;
2411
+ path?: never;
2412
+ cookie?: never;
2413
+ };
2414
+ get?: never;
2415
+ put?: never;
2416
+ post?: never;
2417
+ /** Revoke External Integration Credential */
2418
+ delete: operations["revoke-external-integration-credential"];
2419
+ options?: never;
2420
+ head?: never;
2421
+ patch?: never;
2422
+ trace?: never;
2423
+ };
2424
+ "/v1/{workspace_id}/external-integrations/{integration_id}/credentials/{credential_id}/rotate": {
2425
+ parameters: {
2426
+ query?: never;
2427
+ header?: never;
2428
+ path?: never;
2429
+ cookie?: never;
2430
+ };
2431
+ get?: never;
2432
+ put?: never;
2433
+ /** Rotate External Integration Credential */
2434
+ post: operations["rotate-external-integration-credential"];
2435
+ delete?: never;
2436
+ options?: never;
2437
+ head?: never;
2438
+ patch?: never;
2439
+ trace?: never;
2440
+ };
2354
2441
  "/v1/{workspace_id}/fhir/import": {
2355
2442
  parameters: {
2356
2443
  query?: never;
@@ -3037,6 +3124,46 @@ export interface paths {
3037
3124
  patch?: never;
3038
3125
  trace?: never;
3039
3126
  };
3127
+ "/v1/{workspace_id}/integrations/approvals/{conversation_id}/approve": {
3128
+ parameters: {
3129
+ query?: never;
3130
+ header?: never;
3131
+ path?: never;
3132
+ cookie?: never;
3133
+ };
3134
+ get?: never;
3135
+ put?: never;
3136
+ /**
3137
+ * Approve a pending integration-write approval
3138
+ * @description Approve a pending human-in-the-loop integration-write approval for a conversation. Publishes `integration.approval_granted` to the workspace event channel; the subscribed text session fires the gated write. Requires `ReviewQueue.review` permission.
3139
+ */
3140
+ post: operations["approve-integration-write"];
3141
+ delete?: never;
3142
+ options?: never;
3143
+ head?: never;
3144
+ patch?: never;
3145
+ trace?: never;
3146
+ };
3147
+ "/v1/{workspace_id}/integrations/approvals/{conversation_id}/reject": {
3148
+ parameters: {
3149
+ query?: never;
3150
+ header?: never;
3151
+ path?: never;
3152
+ cookie?: never;
3153
+ };
3154
+ get?: never;
3155
+ put?: never;
3156
+ /**
3157
+ * Reject a pending integration-write approval
3158
+ * @description Reject a pending human-in-the-loop integration-write approval for a conversation. Publishes `integration.approval_rejected` to the workspace event channel; the subscribed text session declines the gated write. Requires `ReviewQueue.review` permission.
3159
+ */
3160
+ post: operations["reject-integration-write"];
3161
+ delete?: never;
3162
+ options?: never;
3163
+ head?: never;
3164
+ patch?: never;
3165
+ trace?: never;
3166
+ };
3040
3167
  "/v1/{workspace_id}/integrations/{integration_id}": {
3041
3168
  parameters: {
3042
3169
  query?: never;
@@ -5078,37 +5205,6 @@ export interface paths {
5078
5205
  patch?: never;
5079
5206
  trace?: never;
5080
5207
  };
5081
- "/v1/{workspace_id}/settings/connectors": {
5082
- parameters: {
5083
- query?: never;
5084
- header?: never;
5085
- path?: never;
5086
- cookie?: never;
5087
- };
5088
- /**
5089
- * Get connector settings
5090
- * @description Get connector definitions for this workspace.
5091
- *
5092
- * Permissions: authenticated (any role).
5093
- */
5094
- get: operations["get-connector-settings"];
5095
- /**
5096
- * Update connector settings
5097
- * @description Replace all connector definitions for this workspace.
5098
- *
5099
- * Validates connection_config per source_type. Syncs world.data_sources
5100
- * index for FK compatibility.
5101
- *
5102
- * Permissions: admin, owner.
5103
- */
5104
- put: operations["update-connector-settings"];
5105
- post?: never;
5106
- delete?: never;
5107
- options?: never;
5108
- head?: never;
5109
- patch?: never;
5110
- trace?: never;
5111
- };
5112
5208
  "/v1/{workspace_id}/settings/environments": {
5113
5209
  parameters: {
5114
5210
  query?: never;
@@ -5998,6 +6094,26 @@ export interface paths {
5998
6094
  patch?: never;
5999
6095
  trace?: never;
6000
6096
  };
6097
+ "/v1/{workspace_id}/simulations/suite-runs/{suite_run_id}": {
6098
+ parameters: {
6099
+ query?: never;
6100
+ header?: never;
6101
+ path?: never;
6102
+ cookie?: never;
6103
+ };
6104
+ /**
6105
+ * Get Simulation Suite Run Results
6106
+ * @description Fetch aggregate results for a durable suite run.
6107
+ */
6108
+ get: operations["get-simulation-suite-run-results"];
6109
+ put?: never;
6110
+ post?: never;
6111
+ delete?: never;
6112
+ options?: never;
6113
+ head?: never;
6114
+ patch?: never;
6115
+ trace?: never;
6116
+ };
6001
6117
  "/v1/{workspace_id}/simulations/suites": {
6002
6118
  parameters: {
6003
6119
  query?: never;
@@ -6061,6 +6177,26 @@ export interface paths {
6061
6177
  patch?: never;
6062
6178
  trace?: never;
6063
6179
  };
6180
+ "/v1/{workspace_id}/simulations/suites/{suite_id}/runs": {
6181
+ parameters: {
6182
+ query?: never;
6183
+ header?: never;
6184
+ path?: never;
6185
+ cookie?: never;
6186
+ };
6187
+ /**
6188
+ * List Simulation Suite Runs
6189
+ * @description List durable suite-run groups for a first-class suite.
6190
+ */
6191
+ get: operations["list-simulation-suite-runs"];
6192
+ put?: never;
6193
+ post?: never;
6194
+ delete?: never;
6195
+ options?: never;
6196
+ head?: never;
6197
+ patch?: never;
6198
+ trace?: never;
6199
+ };
6064
6200
  "/v1/{workspace_id}/skills": {
6065
6201
  parameters: {
6066
6202
  query?: never;
@@ -9030,11 +9166,7 @@ export interface components {
9030
9166
  };
9031
9167
  /** ChannelEventRequest */
9032
9168
  ChannelEventRequest: {
9033
- /**
9034
- * Channel
9035
- * @enum {string}
9036
- */
9037
- channel: "email" | "sms" | "voice";
9169
+ channel: components["schemas"]["ChannelKind"];
9038
9170
  /** Data */
9039
9171
  data?: {
9040
9172
  [key: string]: unknown;
@@ -9078,7 +9210,7 @@ export interface components {
9078
9210
  * Each kind maps to one or more providers.
9079
9211
  * @enum {string}
9080
9212
  */
9081
- ChannelKind: "voice" | "sms" | "whatsapp" | "email" | "web";
9213
+ ChannelKind: "voice" | "sms" | "whatsapp" | "email" | "web" | "imessage";
9082
9214
  /**
9083
9215
  * ChannelOverride
9084
9216
  * @description Per-channel behavior override for a state.
@@ -9513,53 +9645,6 @@ export interface components {
9513
9645
  [key: string]: unknown;
9514
9646
  };
9515
9647
  };
9516
- /**
9517
- * ConnectorDef
9518
- * @description A single connector definition stored in platform.connector_configs.
9519
- */
9520
- ConnectorDef: {
9521
- /** Connection Config */
9522
- connection_config?: {
9523
- [key: string]: unknown;
9524
- };
9525
- /** Connector Type */
9526
- connector_type?: string | null;
9527
- /** Display Name */
9528
- display_name?: string | null;
9529
- /** Entity Types */
9530
- entity_types?: string[];
9531
- /** Field Mappings */
9532
- field_mappings?: {
9533
- [key: string]: unknown;
9534
- };
9535
- /**
9536
- * Id
9537
- * Format: uuid
9538
- */
9539
- id?: string;
9540
- /**
9541
- * Is Active
9542
- * @default true
9543
- */
9544
- is_active?: boolean;
9545
- /** Name */
9546
- name: string;
9547
- /** Outbound Entity Types */
9548
- outbound_entity_types?: string[];
9549
- /**
9550
- * Source Type
9551
- * @enum {string}
9552
- */
9553
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
9554
- /** Sync Schedule */
9555
- sync_schedule?: string | null;
9556
- /**
9557
- * Sync Strategy
9558
- * @default manual
9559
- * @enum {string}
9560
- */
9561
- sync_strategy?: "manual" | "scheduled" | "webhook" | "continuous" | "polling";
9562
- };
9563
9648
  /** ConnectorHealthItem */
9564
9649
  ConnectorHealthItem: {
9565
9650
  /**
@@ -9702,24 +9787,6 @@ export interface components {
9702
9787
  */
9703
9788
  total: number;
9704
9789
  };
9705
- /**
9706
- * ConnectorSettingsRequest
9707
- * @description Request for PUT /v1/{ws}/settings/connectors.
9708
- *
9709
- * Replaces the entire connector list.
9710
- */
9711
- ConnectorSettingsRequest: {
9712
- /** Connectors */
9713
- connectors: components["schemas"]["ConnectorDef"][];
9714
- };
9715
- /**
9716
- * ConnectorSettingsResponse
9717
- * @description Response for GET /v1/{ws}/settings/connectors.
9718
- */
9719
- ConnectorSettingsResponse: {
9720
- /** Connectors */
9721
- connectors: components["schemas"]["ConnectorDef"][];
9722
- };
9723
9790
  /** Constraint */
9724
9791
  Constraint: {
9725
9792
  /**
@@ -9914,11 +9981,7 @@ export interface components {
9914
9981
  call_sid?: string | null;
9915
9982
  /** Caller Id */
9916
9983
  caller_id?: string | null;
9917
- /**
9918
- * Channel Kind
9919
- * @enum {string}
9920
- */
9921
- channel_kind: "voice" | "sms" | "whatsapp" | "web" | "email";
9984
+ channel_kind: components["schemas"]["ChannelKind"];
9922
9985
  /** Completion Reason */
9923
9986
  completion_reason?: string | null;
9924
9987
  /** Created At */
@@ -10033,6 +10096,11 @@ export interface components {
10033
10096
  * @description Wall-clock tool execution time in milliseconds, measured at the engage_step call site. Omitted (null) on legacy turns that did not capture timing.
10034
10097
  */
10035
10098
  duration_ms?: number | null;
10099
+ /**
10100
+ * Error Message
10101
+ * @description Failure detail recorded for the tool call when ``succeeded`` is false. Null on successful calls or when no message was captured.
10102
+ */
10103
+ error_message?: string | null;
10036
10104
  /** Input */
10037
10105
  input?: {
10038
10106
  [key: string]: unknown;
@@ -10088,6 +10156,12 @@ export interface components {
10088
10156
  text: string;
10089
10157
  /** Timestamp */
10090
10158
  timestamp?: string | null;
10159
+ /**
10160
+ * Tool Calls
10161
+ * @description Tool calls executed during this (agent) turn. Populated only when the request opts in via ``include_tool_calls=true``; empty otherwise and on turns that did not invoke tools.
10162
+ * @default []
10163
+ */
10164
+ tool_calls?: components["schemas"]["ConversationToolCallDetail"][];
10091
10165
  };
10092
10166
  /** ConversationTurnAvailableAction */
10093
10167
  ConversationTurnAvailableAction: {
@@ -10340,7 +10414,7 @@ export interface components {
10340
10414
  * Source Type
10341
10415
  * @enum {string}
10342
10416
  */
10343
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
10417
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
10344
10418
  /** Sync Schedule */
10345
10419
  sync_schedule?: string | null;
10346
10420
  /**
@@ -11436,8 +11510,6 @@ export interface components {
11436
11510
  * Format: date-time
11437
11511
  */
11438
11512
  created_at: string;
11439
- /** Discovered By */
11440
- discovered_by: string | null;
11441
11513
  /** Display Name */
11442
11514
  display_name: string | null;
11443
11515
  /** Entity Types */
@@ -11460,8 +11532,6 @@ export interface components {
11460
11532
  is_active: boolean;
11461
11533
  /** Is Stale */
11462
11534
  is_stale: boolean;
11463
- /** Last Health Check */
11464
- last_health_check: string | null;
11465
11535
  /** Last Sync At */
11466
11536
  last_sync_at: string | null;
11467
11537
  /** Last Sync Event Count */
@@ -11474,7 +11544,7 @@ export interface components {
11474
11544
  * Source Type
11475
11545
  * @enum {string}
11476
11546
  */
11477
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
11547
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
11478
11548
  /** Sync Schedule */
11479
11549
  sync_schedule: string | null;
11480
11550
  /**
@@ -13391,8 +13461,114 @@ export interface components {
13391
13461
  */
13392
13462
  recommend_candidates?: number;
13393
13463
  };
13464
+ /** ExternalIntegrationCredentialRequest */
13465
+ ExternalIntegrationCredentialRequest: {
13466
+ /** Expires At */
13467
+ expires_at?: string | null;
13468
+ name?: components["schemas"]["NameString"] | null;
13469
+ /** Service Ids */
13470
+ service_ids: string[];
13471
+ };
13472
+ /** ExternalIntegrationCredentialResponse */
13473
+ ExternalIntegrationCredentialResponse: {
13474
+ /** Client Id */
13475
+ client_id: string;
13476
+ /** Created At */
13477
+ created_at?: string | null;
13478
+ /** Expires At */
13479
+ expires_at?: string | null;
13480
+ /**
13481
+ * Id
13482
+ * Format: uuid
13483
+ */
13484
+ id: string;
13485
+ /**
13486
+ * Integration Id
13487
+ * Format: uuid
13488
+ */
13489
+ integration_id: string;
13490
+ /** Is Active */
13491
+ is_active: boolean;
13492
+ /** Name */
13493
+ name?: string | null;
13494
+ /** Revoked At */
13495
+ revoked_at?: string | null;
13496
+ /** Rotated At */
13497
+ rotated_at?: string | null;
13498
+ /** Service Ids */
13499
+ service_ids: string[];
13500
+ /** Updated At */
13501
+ updated_at?: string | null;
13502
+ /**
13503
+ * Workspace Id
13504
+ * Format: uuid
13505
+ */
13506
+ workspace_id: string;
13507
+ };
13508
+ /** ExternalIntegrationCredentialSecretResponse */
13509
+ ExternalIntegrationCredentialSecretResponse: {
13510
+ /** Client Secret */
13511
+ client_secret: string;
13512
+ credential: components["schemas"]["ExternalIntegrationCredentialResponse"];
13513
+ };
13514
+ /** ExternalIntegrationRequest */
13515
+ ExternalIntegrationRequest: {
13516
+ /** Description */
13517
+ description?: string | null;
13518
+ display_name: components["schemas"]["NameString"];
13519
+ /** Name */
13520
+ name: string;
13521
+ };
13522
+ /** ExternalIntegrationResponse */
13523
+ ExternalIntegrationResponse: {
13524
+ /** Created At */
13525
+ created_at?: string | null;
13526
+ /** Created By Credential Id */
13527
+ created_by_credential_id?: string | null;
13528
+ /**
13529
+ * Created By Entity Id
13530
+ * Format: uuid
13531
+ */
13532
+ created_by_entity_id: string;
13533
+ /** Description */
13534
+ description?: string | null;
13535
+ display_name: components["schemas"]["NameString"];
13536
+ /**
13537
+ * Id
13538
+ * Format: uuid
13539
+ */
13540
+ id: string;
13541
+ /** Is Active */
13542
+ is_active: boolean;
13543
+ /** Name */
13544
+ name: string;
13545
+ /** Updated At */
13546
+ updated_at?: string | null;
13547
+ /**
13548
+ * Workspace Id
13549
+ * Format: uuid
13550
+ */
13551
+ workspace_id: string;
13552
+ };
13394
13553
  ExternalSystemString: string;
13395
13554
  ExternalValueString: string;
13555
+ /**
13556
+ * FailureClass
13557
+ * @description Why a tool result is a failure — produced by the executor at RUN time.
13558
+ *
13559
+ * Unlike ``ResultDelivery`` (a fixed config-time axis), this is a runtime
13560
+ * classification the executor knows at the moment of failure. It flavors the
13561
+ * agent-facing failure wording and the world-event / status-tool observability,
13562
+ * and it is ALSO an optional routing key: a state x tool binding may set
13563
+ * ``ToolCallSpec.failure_delivery_by_class`` to deliver differently per class
13564
+ * (e.g. interrupt on timeout, queue on a generic error). With no per-class map
13565
+ * (the default), failed results route by the ``failure_delivery`` floor,
13566
+ * unchanged. Add a member only in the same change that wires a producer for it —
13567
+ * adding one also widens the per-class routing surface, so it must be a
13568
+ * deliberate, produced class.
13569
+ * @enum {string}
13570
+ */
13571
+ FailureClass: "timeout" | "input_rejected" | "rounds_exhausted" | "generic";
13396
13572
  /** FeatureDef */
13397
13573
  FeatureDef: {
13398
13574
  /** Kind */
@@ -14814,6 +14990,52 @@ export interface components {
14814
14990
  /** Size Bytes */
14815
14991
  size_bytes: number;
14816
14992
  };
14993
+ /** IntegrationApprovalGrantedEvent */
14994
+ IntegrationApprovalGrantedEvent: {
14995
+ /** Conversation Id */
14996
+ conversation_id: string;
14997
+ /**
14998
+ * @description discriminator enum property added by openapi-typescript
14999
+ * @enum {string}
15000
+ */
15001
+ event_type: "integration.approval_granted";
15002
+ };
15003
+ /** IntegrationApprovalRejectedEvent */
15004
+ IntegrationApprovalRejectedEvent: {
15005
+ /** Conversation Id */
15006
+ conversation_id: string;
15007
+ /**
15008
+ * @description discriminator enum property added by openapi-typescript
15009
+ * @enum {string}
15010
+ */
15011
+ event_type: "integration.approval_rejected";
15012
+ /**
15013
+ * Reason
15014
+ * @default null
15015
+ */
15016
+ reason?: string | null;
15017
+ };
15018
+ /**
15019
+ * IntegrationApprovalResponse
15020
+ * @description Resolution outcome for a pending integration-write approval.
15021
+ */
15022
+ IntegrationApprovalResponse: {
15023
+ /** Conversation Id */
15024
+ conversation_id: string;
15025
+ /**
15026
+ * Status
15027
+ * @enum {string}
15028
+ */
15029
+ status: "granted" | "rejected";
15030
+ };
15031
+ /**
15032
+ * IntegrationRejectRequest
15033
+ * @description Reject body — optional free-text reason surfaced to the agent.
15034
+ */
15035
+ IntegrationRejectRequest: {
15036
+ /** Reason */
15037
+ reason?: string | null;
15038
+ };
14817
15039
  /**
14818
15040
  * IntegrationToolRef
14819
15041
  * @description Reference to an integration endpoint by integration + endpoint name.
@@ -15439,6 +15661,16 @@ export interface components {
15439
15661
  */
15440
15662
  max_upload_bytes: number;
15441
15663
  };
15664
+ /** ListSimulationSuiteRunsResponse */
15665
+ ListSimulationSuiteRunsResponse: {
15666
+ /** Runs */
15667
+ runs: components["schemas"]["SimulationSuiteRunSummary"][];
15668
+ /**
15669
+ * Suite Id
15670
+ * Format: uuid
15671
+ */
15672
+ suite_id: string;
15673
+ };
15442
15674
  /** ListSimulationSuitesResponse */
15443
15675
  ListSimulationSuitesResponse: {
15444
15676
  /** Suites */
@@ -15768,6 +16000,11 @@ export interface components {
15768
16000
  * @description When the event happened. Defaults to ingest time.
15769
16001
  */
15770
16002
  effective_at?: string | null;
16003
+ /**
16004
+ * Event Id
16005
+ * @description Optional deterministic row id (typically uuid5(NAMESPACE, '<stable-key>')). Re-emitting with the same value lands on the same world_events row instead of double-billing. Use for backfills and retries. Default: server generates a random uuid4.
16006
+ */
16007
+ event_id?: string | null;
15771
16008
  /** Event Type */
15772
16009
  event_type: string;
15773
16010
  /** Metering Metadata */
@@ -17171,6 +17408,17 @@ export interface components {
17171
17408
  /** Total */
17172
17409
  total?: number | null;
17173
17410
  };
17411
+ /** PaginatedResponse[ExternalIntegrationResponse] */
17412
+ PaginatedResponse_ExternalIntegrationResponse_: {
17413
+ /** Continuation Token */
17414
+ continuation_token?: number | null;
17415
+ /** Has More */
17416
+ has_more: boolean;
17417
+ /** Items */
17418
+ items: components["schemas"]["ExternalIntegrationResponse"][];
17419
+ /** Total */
17420
+ total?: number | null;
17421
+ };
17174
17422
  /** PaginatedResponse[InvoiceItem] */
17175
17423
  PaginatedResponse_InvoiceItem_: {
17176
17424
  /** Continuation Token */
@@ -18303,7 +18551,7 @@ export interface components {
18303
18551
  * Multiple providers may serve the same ChannelKind.
18304
18552
  * @enum {string}
18305
18553
  */
18306
- ProviderType: "twilio" | "websocket";
18554
+ ProviderType: "twilio" | "websocket" | "ses" | "sendblue";
18307
18555
  /** ProvisionResponse */
18308
18556
  ProvisionResponse: {
18309
18557
  workspace: components["schemas"]["WorkspaceResponse"];
@@ -18814,6 +19062,15 @@ export interface components {
18814
19062
  * @description REST variant — base URL, auth config, endpoint count.
18815
19063
  */
18816
19064
  RestIntegrationResponse: {
19065
+ /**
19066
+ * Approval Policy
19067
+ * @description Human-in-the-loop approval gate. ``none`` = no approval required;
19068
+ * ``writes`` = approval required for write-classified endpoints;
19069
+ * ``all`` = approval required for every endpoint.
19070
+ * @default none
19071
+ * @enum {string}
19072
+ */
19073
+ approval_policy?: "none" | "writes" | "all";
18817
19074
  /**
18818
19075
  * Auth
18819
19076
  * @description Authentication configuration (lib TypedDict union).
@@ -20756,6 +21013,118 @@ export interface components {
20756
21013
  */
20757
21014
  workspace_id: string;
20758
21015
  };
21016
+ /** SimulationSuiteRunResultsResponse */
21017
+ SimulationSuiteRunResultsResponse: {
21018
+ /** Average Score */
21019
+ average_score?: number | null;
21020
+ /** Capability Breakdown */
21021
+ capability_breakdown?: {
21022
+ [key: string]: components["schemas"]["SimulationBenchmarkBreakdownSummary"];
21023
+ };
21024
+ /**
21025
+ * Completed Count
21026
+ * @default 0
21027
+ */
21028
+ completed_count?: number;
21029
+ /**
21030
+ * Fail Count
21031
+ * @default 0
21032
+ */
21033
+ fail_count?: number;
21034
+ /**
21035
+ * Failed Count
21036
+ * @default 0
21037
+ */
21038
+ failed_count?: number;
21039
+ /**
21040
+ * Metric Result Count
21041
+ * @default 0
21042
+ */
21043
+ metric_result_count?: number;
21044
+ /**
21045
+ * Metric Status
21046
+ * @default pending
21047
+ * @enum {string}
21048
+ */
21049
+ metric_status?: "pending" | "available" | "unavailable";
21050
+ /** Metrics Last Checked At */
21051
+ metrics_last_checked_at?: string | null;
21052
+ /** Missing Run Ids */
21053
+ missing_run_ids?: string[];
21054
+ /**
21055
+ * Pass Count
21056
+ * @default 0
21057
+ */
21058
+ pass_count?: number;
21059
+ /** Per Run */
21060
+ per_run?: components["schemas"]["SimulationBenchmarkPerRunSummary"][];
21061
+ /** Run Ids */
21062
+ run_ids: string[];
21063
+ /**
21064
+ * Scored Count
21065
+ * @default 0
21066
+ */
21067
+ scored_count?: number;
21068
+ /** Status Counts */
21069
+ status_counts?: {
21070
+ [key: string]: number;
21071
+ };
21072
+ /** Suite Id */
21073
+ suite_id?: string | null;
21074
+ /**
21075
+ * Suite Run Id
21076
+ * Format: uuid
21077
+ */
21078
+ suite_run_id: string;
21079
+ summary: components["schemas"]["SimulationSuiteRunSummary"];
21080
+ /** Total Runs */
21081
+ total_runs: number;
21082
+ };
21083
+ /** SimulationSuiteRunSummary */
21084
+ SimulationSuiteRunSummary: {
21085
+ /** Case Ids */
21086
+ case_ids?: string[];
21087
+ /** Completed At */
21088
+ completed_at?: string | null;
21089
+ /** Created At */
21090
+ created_at?: string | null;
21091
+ /** Result Pointer */
21092
+ result_pointer?: {
21093
+ [key: string]: unknown;
21094
+ };
21095
+ /** Run Ids */
21096
+ run_ids: string[];
21097
+ /**
21098
+ * Status
21099
+ * @enum {string}
21100
+ */
21101
+ status: "running" | "completed" | "failed";
21102
+ /** Status Counts */
21103
+ status_counts?: {
21104
+ [key: string]: number;
21105
+ };
21106
+ /** Suite Id */
21107
+ suite_id?: string | null;
21108
+ /**
21109
+ * Suite Run Id
21110
+ * Format: uuid
21111
+ */
21112
+ suite_run_id: string;
21113
+ /** Tags */
21114
+ tags?: string[];
21115
+ /** Total Runs */
21116
+ total_runs: number;
21117
+ /**
21118
+ * Total Sessions
21119
+ * @default 0
21120
+ */
21121
+ total_sessions?: number;
21122
+ /**
21123
+ * Total Turns
21124
+ * @default 0
21125
+ */
21126
+ total_turns?: number;
21127
+ };
20759
21128
  /** SimulationTurnPolicyResponse */
20760
21129
  SimulationTurnPolicyResponse: {
20761
21130
  /**
@@ -21035,7 +21404,7 @@ export interface components {
21035
21404
  * Source Type
21036
21405
  * @enum {string}
21037
21406
  */
21038
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
21407
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
21039
21408
  };
21040
21409
  /** SourceOverviewResponse */
21041
21410
  SourceOverviewResponse: {
@@ -21095,7 +21464,7 @@ export interface components {
21095
21464
  * Source Type
21096
21465
  * @enum {string}
21097
21466
  */
21098
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
21467
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
21099
21468
  };
21100
21469
  /** SourceStatus */
21101
21470
  SourceStatus: {
@@ -21134,7 +21503,7 @@ export interface components {
21134
21503
  * Source Type
21135
21504
  * @enum {string}
21136
21505
  */
21137
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
21506
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake" | "lakebase_schema" | "crm";
21138
21507
  /** Status */
21139
21508
  status: string;
21140
21509
  /**
@@ -22576,6 +22945,18 @@ export interface components {
22576
22945
  * @enum {string}
22577
22946
  */
22578
22947
  delivery?: "interrupt" | "queue";
22948
+ /**
22949
+ * Execution
22950
+ * @default blocking
22951
+ * @enum {string}
22952
+ */
22953
+ execution?: "blocking" | "background";
22954
+ /** Failure Delivery */
22955
+ failure_delivery?: ("interrupt" | "queue") | null;
22956
+ /** Failure Delivery By Class */
22957
+ failure_delivery_by_class?: {
22958
+ [key: string]: "interrupt" | "queue";
22959
+ } | null;
22579
22960
  /**
22580
22961
  * Navigate On Completion
22581
22962
  * @default false
@@ -23723,42 +24104,35 @@ export interface components {
23723
24104
  /**
23724
24105
  * UpdateSimulationCaseRequest
23725
24106
  * @description Partial update for one durable simulation case.
24107
+ *
24108
+ * Mirrors the nested ``CreateSimulationCaseItem`` shape with every field
24109
+ * optional so ``model_dump(exclude_unset=True)`` only emits the keys the
24110
+ * caller actually sent. Reuses the same nested submodels as create so the
24111
+ * durable fields (``scenario``, ``grounding``, ``evals``, ``metadata``) can
24112
+ * be PATCHed. ``extra="forbid"`` rejects the retired pre-V192 flat fields
24113
+ * (scenario_instructions, initial_message, temperament, fixtures,
24114
+ * constraints, target_spec, assertions, provenance) with 422 instead of
24115
+ * silently dropping them.
23726
24116
  */
23727
24117
  UpdateSimulationCaseRequest: {
23728
- /** Assertions */
23729
- assertions?: {
23730
- [key: string]: unknown;
23731
- }[] | null;
23732
- /** Constraints */
23733
- constraints?: {
23734
- [key: string]: unknown;
23735
- } | null;
23736
24118
  /** Description */
23737
24119
  description?: string | null;
23738
- /** Fixtures */
23739
- fixtures?: {
24120
+ /** Evals */
24121
+ evals?: (components["schemas"]["SimulationCaseMetricEval"] | components["schemas"]["SimulationCaseAssertionEval"])[] | null;
24122
+ grounding?: components["schemas"]["SimulationCaseGrounding"] | null;
24123
+ /** Metadata */
24124
+ metadata?: {
23740
24125
  [key: string]: unknown;
23741
24126
  } | null;
23742
- /** Initial Message */
23743
- initial_message?: string | null;
23744
24127
  /** Persona */
23745
24128
  persona?: {
23746
24129
  [key: string]: unknown;
23747
24130
  } | null;
23748
- /** Provenance */
23749
- provenance?: string | null;
23750
- /** Scenario Instructions */
23751
- scenario_instructions?: string | null;
24131
+ scenario?: components["schemas"]["SimulationCaseScenario"] | null;
23752
24132
  /** Service Id */
23753
24133
  service_id?: string | null;
23754
24134
  /** Tags */
23755
24135
  tags?: string[] | null;
23756
- /** Target Spec */
23757
- target_spec?: {
23758
- [key: string]: unknown;
23759
- } | null;
23760
- /** Temperament */
23761
- temperament?: string | null;
23762
24136
  };
23763
24137
  /** UpdateSimulationSuiteRequest */
23764
24138
  UpdateSimulationSuiteRequest: {
@@ -24674,7 +25048,7 @@ export interface components {
24674
25048
  */
24675
25049
  updated_at: string;
24676
25050
  };
24677
- WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | components["schemas"]["EncounterUpdatedEvent"] | components["schemas"]["NarrativeUpdatedEvent"] | components["schemas"]["ReviewSubmittedEvent"] | components["schemas"]["SimulationTurnStoredEvent"] | components["schemas"]["SurfaceCreatedEvent"] | components["schemas"]["SurfaceDeliveredEvent"] | components["schemas"]["SurfaceUpdatedEvent"] | components["schemas"]["SurfaceArchivedEvent"] | components["schemas"]["SurfaceReshapedEvent"] | components["schemas"]["SurfaceSubmittedEvent"] | components["schemas"]["SurfaceFieldSavedEvent"] | components["schemas"]["SurfaceOpenedEvent"] | components["schemas"]["SurfacePendingReviewEvent"] | components["schemas"]["SurfaceReviewApprovedEvent"] | components["schemas"]["SurfaceReviewRejectedEvent"] | components["schemas"]["TextStartedEvent"] | components["schemas"]["TextCompletedEvent"] | components["schemas"]["TriggerFiredEvent"] | components["schemas"]["TriggerCompletedEvent"] | components["schemas"]["TriggerFailedEvent"] | components["schemas"]["PipelineSyncCompletedEvent"] | components["schemas"]["PipelineErrorEvent"] | components["schemas"]["OperatorRegisteredEvent"] | components["schemas"]["OperatorStatusChangedEvent"] | components["schemas"]["OperatorProfileUpdatedEvent"] | components["schemas"]["OperatorJoinedCallEvent"] | components["schemas"]["OperatorLeftCallEvent"] | components["schemas"]["OperatorModeChangedEvent"] | components["schemas"]["OperatorWrapUpEvent"] | components["schemas"]["WorkspaceMemberAddedEvent"] | components["schemas"]["WorkspaceMemberRoleUpdatedEvent"] | components["schemas"]["WorkspaceInvitationSentEvent"] | components["schemas"]["WorkspaceInvitationAcceptedEvent"] | components["schemas"]["ChannelEmailDeliveredEvent"] | components["schemas"]["ChannelEmailBouncedEvent"] | components["schemas"]["ChannelEmailComplainedEvent"] | components["schemas"]["ChannelEmailRejectedEvent"] | components["schemas"]["ChannelEmailDelayedEvent"] | components["schemas"]["ChannelEmailOpenedEvent"] | components["schemas"]["ChannelEmailClickedEvent"] | components["schemas"]["ChannelEmailReceivedEvent"] | components["schemas"]["ChannelVoicemailStatusEvent"];
25051
+ WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | components["schemas"]["EncounterUpdatedEvent"] | components["schemas"]["NarrativeUpdatedEvent"] | components["schemas"]["ReviewSubmittedEvent"] | components["schemas"]["SimulationTurnStoredEvent"] | components["schemas"]["SurfaceCreatedEvent"] | components["schemas"]["SurfaceDeliveredEvent"] | components["schemas"]["SurfaceUpdatedEvent"] | components["schemas"]["SurfaceArchivedEvent"] | components["schemas"]["SurfaceReshapedEvent"] | components["schemas"]["SurfaceSubmittedEvent"] | components["schemas"]["SurfaceFieldSavedEvent"] | components["schemas"]["SurfaceOpenedEvent"] | components["schemas"]["SurfacePendingReviewEvent"] | components["schemas"]["SurfaceReviewApprovedEvent"] | components["schemas"]["SurfaceReviewRejectedEvent"] | components["schemas"]["IntegrationApprovalGrantedEvent"] | components["schemas"]["IntegrationApprovalRejectedEvent"] | components["schemas"]["TextStartedEvent"] | components["schemas"]["TextCompletedEvent"] | components["schemas"]["TriggerFiredEvent"] | components["schemas"]["TriggerCompletedEvent"] | components["schemas"]["TriggerFailedEvent"] | components["schemas"]["PipelineSyncCompletedEvent"] | components["schemas"]["PipelineErrorEvent"] | components["schemas"]["OperatorRegisteredEvent"] | components["schemas"]["OperatorStatusChangedEvent"] | components["schemas"]["OperatorProfileUpdatedEvent"] | components["schemas"]["OperatorJoinedCallEvent"] | components["schemas"]["OperatorLeftCallEvent"] | components["schemas"]["OperatorModeChangedEvent"] | components["schemas"]["OperatorWrapUpEvent"] | components["schemas"]["WorkspaceMemberAddedEvent"] | components["schemas"]["WorkspaceMemberRoleUpdatedEvent"] | components["schemas"]["WorkspaceInvitationSentEvent"] | components["schemas"]["WorkspaceInvitationAcceptedEvent"] | components["schemas"]["ChannelEmailDeliveredEvent"] | components["schemas"]["ChannelEmailBouncedEvent"] | components["schemas"]["ChannelEmailComplainedEvent"] | components["schemas"]["ChannelEmailRejectedEvent"] | components["schemas"]["ChannelEmailDelayedEvent"] | components["schemas"]["ChannelEmailOpenedEvent"] | components["schemas"]["ChannelEmailClickedEvent"] | components["schemas"]["ChannelEmailReceivedEvent"] | components["schemas"]["ChannelVoicemailStatusEvent"];
24678
25052
  /** WorldDashboardResponse */
24679
25053
  WorldDashboardResponse: {
24680
25054
  /** Avg Confidence */
@@ -24922,11 +25296,7 @@ export interface components {
24922
25296
  call_sid?: string | null;
24923
25297
  /** Caller Id */
24924
25298
  caller_id?: string | null;
24925
- /**
24926
- * Channel Kind
24927
- * @enum {string}
24928
- */
24929
- channel_kind: "voice" | "sms" | "whatsapp" | "web" | "email";
25299
+ channel_kind: components["schemas"]["ChannelKind"];
24930
25300
  /** Completion Reason */
24931
25301
  completion_reason?: string | null;
24932
25302
  /** Created At */
@@ -25065,6 +25435,15 @@ export interface components {
25065
25435
  * @description Create body — REST only.
25066
25436
  */
25067
25437
  src__routes__integrations__create_integration__Request: {
25438
+ /**
25439
+ * Approval Policy
25440
+ * @description Human-in-the-loop approval gate. ``none`` (default) = no approval
25441
+ * required; ``writes`` = approval required for write-classified endpoints;
25442
+ * ``all`` = approval required for every endpoint.
25443
+ * @default none
25444
+ * @enum {string}
25445
+ */
25446
+ approval_policy?: "none" | "writes" | "all";
25068
25447
  /**
25069
25448
  * Auth
25070
25449
  * @description Auth configuration. When set, ``secret_value`` is required.
@@ -25137,9 +25516,23 @@ export interface components {
25137
25516
  * @description Inputs to ``POST /{integration_id}/endpoints/{endpoint_id}/test``.
25138
25517
  */
25139
25518
  src__routes__integrations__test_endpoint__Request: {
25519
+ /**
25520
+ * Auth Params
25521
+ * @description Caller-supplied values for auth-routed params.
25522
+ *
25523
+ * A ``custom_token_exchange`` integration declares ``param_headers`` /
25524
+ * ``param_body_fields`` whose ``param_name`` placeholders are NOT part of the
25525
+ * endpoint's ``input_schema`` (they feed the pre-flight token exchange, not the
25526
+ * endpoint call). They never reach the auth renderer through ``params`` alone, so
25527
+ * the renderer raised before any HTTP call. Supply them here to exercise the
25528
+ * exchange end-to-end. Keys here also override matching flat-``params`` keys.
25529
+ */
25530
+ auth_params?: {
25531
+ [key: string]: unknown;
25532
+ };
25140
25533
  /**
25141
25534
  * Params
25142
- * @description Tool arguments.
25535
+ * @description Tool arguments — the endpoint's ``input_schema``-declared inputs (path/query/body).
25143
25536
  */
25144
25537
  params?: {
25145
25538
  [key: string]: unknown;
@@ -25241,6 +25634,14 @@ export interface components {
25241
25634
  * @description PATCH body — each field is sentinel-defaulted; absent ≠ explicit-null.
25242
25635
  */
25243
25636
  src__routes__integrations__update_integration__Request: {
25637
+ /**
25638
+ * Approval Policy
25639
+ * @description Change the human-in-the-loop approval gate. ``none`` = no approval
25640
+ * required; ``writes`` = approval required for write-classified endpoints;
25641
+ * ``all`` = approval required for every endpoint. Absent ⇒ untouched.
25642
+ * @enum {string}
25643
+ */
25644
+ approval_policy?: "none" | "writes" | "all";
25244
25645
  /**
25245
25646
  * Auth
25246
25647
  * @description New auth config. Absent ⇒ untouched; null ⇒ clear; value ⇒ replace.
@@ -26873,7 +27274,7 @@ export interface operations {
26873
27274
  "application/json": components["schemas"]["WorkspaceResponse"];
26874
27275
  };
26875
27276
  };
26876
- /** @description Insufficient permissions or unsupported principal type. */
27277
+ /** @description Missing the workspaces:write scope (developer grant) or unsupported principal type. */
26877
27278
  403: {
26878
27279
  headers: {
26879
27280
  [name: string]: unknown;
@@ -30562,7 +30963,7 @@ export interface operations {
30562
30963
  parameters: {
30563
30964
  query?: {
30564
30965
  /** @description Filter by channel */
30565
- channel_kind?: ("voice" | "sms" | "whatsapp" | "web" | "email") | null;
30966
+ channel_kind?: components["schemas"]["ChannelKind"] | null;
30566
30967
  /** @description Filter by status */
30567
30968
  status?: ("active" | "closed" | "completed" | "in-progress" | "failed") | null;
30568
30969
  limit?: number;
@@ -30633,7 +31034,10 @@ export interface operations {
30633
31034
  };
30634
31035
  get_conversation_v1__workspace_id__conversations__conversation_id__get: {
30635
31036
  parameters: {
30636
- query?: never;
31037
+ query?: {
31038
+ /** @description Include per-turn tool_calls[] in the returned turns. Off by default so the payload stays small and (potentially PHI-bearing) tool output is opt-in, matching POST /turns?include_tool_calls=true. */
31039
+ include_tool_calls?: boolean;
31040
+ };
30637
31041
  header?: never;
30638
31042
  path: {
30639
31043
  workspace_id: string;
@@ -31799,6 +32203,241 @@ export interface operations {
31799
32203
  };
31800
32204
  };
31801
32205
  };
32206
+ "list-external-integrations": {
32207
+ parameters: {
32208
+ query?: {
32209
+ search?: components["schemas"]["SearchString"] | null;
32210
+ sort_by?: string | null;
32211
+ limit?: number;
32212
+ continuation_token?: number;
32213
+ };
32214
+ header?: never;
32215
+ path: {
32216
+ workspace_id: string;
32217
+ };
32218
+ cookie?: never;
32219
+ };
32220
+ requestBody?: never;
32221
+ responses: {
32222
+ /** @description Successful Response */
32223
+ 200: {
32224
+ headers: {
32225
+ [name: string]: unknown;
32226
+ };
32227
+ content: {
32228
+ "application/json": components["schemas"]["PaginatedResponse_ExternalIntegrationResponse_"];
32229
+ };
32230
+ };
32231
+ /** @description Validation Error */
32232
+ 422: {
32233
+ headers: {
32234
+ [name: string]: unknown;
32235
+ };
32236
+ content: {
32237
+ "application/json": components["schemas"]["HTTPValidationError"];
32238
+ };
32239
+ };
32240
+ };
32241
+ };
32242
+ "create-external-integration": {
32243
+ parameters: {
32244
+ query?: never;
32245
+ header?: never;
32246
+ path: {
32247
+ workspace_id: string;
32248
+ };
32249
+ cookie?: never;
32250
+ };
32251
+ requestBody: {
32252
+ content: {
32253
+ "application/json": components["schemas"]["ExternalIntegrationRequest"];
32254
+ };
32255
+ };
32256
+ responses: {
32257
+ /** @description Successful Response */
32258
+ 201: {
32259
+ headers: {
32260
+ [name: string]: unknown;
32261
+ };
32262
+ content: {
32263
+ "application/json": components["schemas"]["ExternalIntegrationResponse"];
32264
+ };
32265
+ };
32266
+ /** @description Validation Error */
32267
+ 422: {
32268
+ headers: {
32269
+ [name: string]: unknown;
32270
+ };
32271
+ content: {
32272
+ "application/json": components["schemas"]["HTTPValidationError"];
32273
+ };
32274
+ };
32275
+ };
32276
+ };
32277
+ "get-external-integration": {
32278
+ parameters: {
32279
+ query?: never;
32280
+ header?: never;
32281
+ path: {
32282
+ workspace_id: string;
32283
+ integration_id: string;
32284
+ };
32285
+ cookie?: never;
32286
+ };
32287
+ requestBody?: never;
32288
+ responses: {
32289
+ /** @description Successful Response */
32290
+ 200: {
32291
+ headers: {
32292
+ [name: string]: unknown;
32293
+ };
32294
+ content: {
32295
+ "application/json": components["schemas"]["ExternalIntegrationResponse"];
32296
+ };
32297
+ };
32298
+ /** @description Validation Error */
32299
+ 422: {
32300
+ headers: {
32301
+ [name: string]: unknown;
32302
+ };
32303
+ content: {
32304
+ "application/json": components["schemas"]["HTTPValidationError"];
32305
+ };
32306
+ };
32307
+ };
32308
+ };
32309
+ "list-external-integration-credentials": {
32310
+ parameters: {
32311
+ query?: never;
32312
+ header?: never;
32313
+ path: {
32314
+ workspace_id: string;
32315
+ integration_id: string;
32316
+ };
32317
+ cookie?: never;
32318
+ };
32319
+ requestBody?: never;
32320
+ responses: {
32321
+ /** @description Successful Response */
32322
+ 200: {
32323
+ headers: {
32324
+ [name: string]: unknown;
32325
+ };
32326
+ content: {
32327
+ "application/json": components["schemas"]["ExternalIntegrationCredentialResponse"][];
32328
+ };
32329
+ };
32330
+ /** @description Validation Error */
32331
+ 422: {
32332
+ headers: {
32333
+ [name: string]: unknown;
32334
+ };
32335
+ content: {
32336
+ "application/json": components["schemas"]["HTTPValidationError"];
32337
+ };
32338
+ };
32339
+ };
32340
+ };
32341
+ "create-external-integration-credential": {
32342
+ parameters: {
32343
+ query?: never;
32344
+ header?: never;
32345
+ path: {
32346
+ workspace_id: string;
32347
+ integration_id: string;
32348
+ };
32349
+ cookie?: never;
32350
+ };
32351
+ requestBody: {
32352
+ content: {
32353
+ "application/json": components["schemas"]["ExternalIntegrationCredentialRequest"];
32354
+ };
32355
+ };
32356
+ responses: {
32357
+ /** @description Successful Response */
32358
+ 201: {
32359
+ headers: {
32360
+ [name: string]: unknown;
32361
+ };
32362
+ content: {
32363
+ "application/json": components["schemas"]["ExternalIntegrationCredentialSecretResponse"];
32364
+ };
32365
+ };
32366
+ /** @description Validation Error */
32367
+ 422: {
32368
+ headers: {
32369
+ [name: string]: unknown;
32370
+ };
32371
+ content: {
32372
+ "application/json": components["schemas"]["HTTPValidationError"];
32373
+ };
32374
+ };
32375
+ };
32376
+ };
32377
+ "revoke-external-integration-credential": {
32378
+ parameters: {
32379
+ query?: never;
32380
+ header?: never;
32381
+ path: {
32382
+ workspace_id: string;
32383
+ integration_id: string;
32384
+ credential_id: string;
32385
+ };
32386
+ cookie?: never;
32387
+ };
32388
+ requestBody?: never;
32389
+ responses: {
32390
+ /** @description Successful Response */
32391
+ 204: {
32392
+ headers: {
32393
+ [name: string]: unknown;
32394
+ };
32395
+ content?: never;
32396
+ };
32397
+ /** @description Validation Error */
32398
+ 422: {
32399
+ headers: {
32400
+ [name: string]: unknown;
32401
+ };
32402
+ content: {
32403
+ "application/json": components["schemas"]["HTTPValidationError"];
32404
+ };
32405
+ };
32406
+ };
32407
+ };
32408
+ "rotate-external-integration-credential": {
32409
+ parameters: {
32410
+ query?: never;
32411
+ header?: never;
32412
+ path: {
32413
+ workspace_id: string;
32414
+ integration_id: string;
32415
+ credential_id: string;
32416
+ };
32417
+ cookie?: never;
32418
+ };
32419
+ requestBody?: never;
32420
+ responses: {
32421
+ /** @description Successful Response */
32422
+ 200: {
32423
+ headers: {
32424
+ [name: string]: unknown;
32425
+ };
32426
+ content: {
32427
+ "application/json": components["schemas"]["ExternalIntegrationCredentialSecretResponse"];
32428
+ };
32429
+ };
32430
+ /** @description Validation Error */
32431
+ 422: {
32432
+ headers: {
32433
+ [name: string]: unknown;
32434
+ };
32435
+ content: {
32436
+ "application/json": components["schemas"]["HTTPValidationError"];
32437
+ };
32438
+ };
32439
+ };
32440
+ };
31802
32441
  "fhir-import": {
31803
32442
  parameters: {
31804
32443
  query?: never;
@@ -33317,6 +33956,130 @@ export interface operations {
33317
33956
  };
33318
33957
  };
33319
33958
  };
33959
+ "approve-integration-write": {
33960
+ parameters: {
33961
+ query?: never;
33962
+ header?: never;
33963
+ path: {
33964
+ workspace_id: string;
33965
+ conversation_id: string;
33966
+ };
33967
+ cookie?: never;
33968
+ };
33969
+ requestBody?: never;
33970
+ responses: {
33971
+ /** @description Successful Response */
33972
+ 200: {
33973
+ headers: {
33974
+ [name: string]: unknown;
33975
+ };
33976
+ content: {
33977
+ "application/json": components["schemas"]["IntegrationApprovalResponse"];
33978
+ };
33979
+ };
33980
+ /** @description Missing or invalid API key. */
33981
+ 401: {
33982
+ headers: {
33983
+ [name: string]: unknown;
33984
+ };
33985
+ content?: never;
33986
+ };
33987
+ /** @description Insufficient permissions. */
33988
+ 403: {
33989
+ headers: {
33990
+ [name: string]: unknown;
33991
+ };
33992
+ content?: never;
33993
+ };
33994
+ /** @description Conversation not found in this workspace. */
33995
+ 404: {
33996
+ headers: {
33997
+ [name: string]: unknown;
33998
+ };
33999
+ content?: never;
34000
+ };
34001
+ /** @description Validation Error */
34002
+ 422: {
34003
+ headers: {
34004
+ [name: string]: unknown;
34005
+ };
34006
+ content: {
34007
+ "application/json": components["schemas"]["HTTPValidationError"];
34008
+ };
34009
+ };
34010
+ /** @description Rate limited. */
34011
+ 429: {
34012
+ headers: {
34013
+ [name: string]: unknown;
34014
+ };
34015
+ content?: never;
34016
+ };
34017
+ };
34018
+ };
34019
+ "reject-integration-write": {
34020
+ parameters: {
34021
+ query?: never;
34022
+ header?: never;
34023
+ path: {
34024
+ workspace_id: string;
34025
+ conversation_id: string;
34026
+ };
34027
+ cookie?: never;
34028
+ };
34029
+ requestBody: {
34030
+ content: {
34031
+ "application/json": components["schemas"]["IntegrationRejectRequest"];
34032
+ };
34033
+ };
34034
+ responses: {
34035
+ /** @description Successful Response */
34036
+ 200: {
34037
+ headers: {
34038
+ [name: string]: unknown;
34039
+ };
34040
+ content: {
34041
+ "application/json": components["schemas"]["IntegrationApprovalResponse"];
34042
+ };
34043
+ };
34044
+ /** @description Missing or invalid API key. */
34045
+ 401: {
34046
+ headers: {
34047
+ [name: string]: unknown;
34048
+ };
34049
+ content?: never;
34050
+ };
34051
+ /** @description Insufficient permissions. */
34052
+ 403: {
34053
+ headers: {
34054
+ [name: string]: unknown;
34055
+ };
34056
+ content?: never;
34057
+ };
34058
+ /** @description Conversation not found in this workspace. */
34059
+ 404: {
34060
+ headers: {
34061
+ [name: string]: unknown;
34062
+ };
34063
+ content?: never;
34064
+ };
34065
+ /** @description Validation Error */
34066
+ 422: {
34067
+ headers: {
34068
+ [name: string]: unknown;
34069
+ };
34070
+ content: {
34071
+ "application/json": components["schemas"]["HTTPValidationError"];
34072
+ };
34073
+ };
34074
+ /** @description Rate limited. */
34075
+ 429: {
34076
+ headers: {
34077
+ [name: string]: unknown;
34078
+ };
34079
+ content?: never;
34080
+ };
34081
+ };
34082
+ };
33320
34083
  "get-integration": {
33321
34084
  parameters: {
33322
34085
  query?: never;
@@ -37414,268 +38177,58 @@ export interface operations {
37414
38177
  };
37415
38178
  };
37416
38179
  };
37417
- "delete-service": {
37418
- parameters: {
37419
- query?: never;
37420
- header?: never;
37421
- path: {
37422
- workspace_id: string;
37423
- service_id: string;
37424
- };
37425
- cookie?: never;
37426
- };
37427
- requestBody?: never;
37428
- responses: {
37429
- /** @description Successful Response */
37430
- 204: {
37431
- headers: {
37432
- [name: string]: unknown;
37433
- };
37434
- content?: never;
37435
- };
37436
- /** @description Missing or invalid API key. */
37437
- 401: {
37438
- headers: {
37439
- [name: string]: unknown;
37440
- };
37441
- content?: never;
37442
- };
37443
- /** @description Insufficient permissions. */
37444
- 403: {
37445
- headers: {
37446
- [name: string]: unknown;
37447
- };
37448
- content?: never;
37449
- };
37450
- /** @description Not found. */
37451
- 404: {
37452
- headers: {
37453
- [name: string]: unknown;
37454
- };
37455
- content?: never;
37456
- };
37457
- /** @description Validation Error */
37458
- 422: {
37459
- headers: {
37460
- [name: string]: unknown;
37461
- };
37462
- content: {
37463
- "application/json": components["schemas"]["HTTPValidationError"];
37464
- };
37465
- };
37466
- };
37467
- };
37468
- "text-turn": {
37469
- parameters: {
37470
- query?: never;
37471
- header?: never;
37472
- path: {
37473
- workspace_id: string;
37474
- service_id: string;
37475
- };
37476
- cookie?: never;
37477
- };
37478
- requestBody: {
37479
- content: {
37480
- "application/json": components["schemas"]["TextTurnRequest"];
37481
- };
37482
- };
37483
- responses: {
37484
- /** @description Agent text reply */
37485
- 200: {
37486
- headers: {
37487
- [name: string]: unknown;
37488
- };
37489
- content: {
37490
- "application/json": components["schemas"]["TextTurnResponse"];
37491
- };
37492
- };
37493
- /** @description Agent elected silence */
37494
- 204: {
37495
- headers: {
37496
- [name: string]: unknown;
37497
- };
37498
- content?: never;
37499
- };
37500
- /** @description Concurrent text turn in progress for this speaker */
37501
- 409: {
37502
- headers: {
37503
- [name: string]: unknown;
37504
- };
37505
- content?: never;
37506
- };
37507
- /** @description Validation Error */
37508
- 422: {
37509
- headers: {
37510
- [name: string]: unknown;
37511
- };
37512
- content: {
37513
- "application/json": components["schemas"]["HTTPValidationError"];
37514
- };
37515
- };
37516
- };
37517
- };
37518
- "resolve-service-tools": {
37519
- parameters: {
37520
- query?: never;
37521
- header?: never;
37522
- path: {
37523
- workspace_id: string;
37524
- service_id: string;
37525
- };
37526
- cookie?: never;
37527
- };
37528
- requestBody?: never;
37529
- responses: {
37530
- /** @description Successful Response */
37531
- 200: {
37532
- headers: {
37533
- [name: string]: unknown;
37534
- };
37535
- content: {
37536
- "application/json": components["schemas"]["ToolResolveResponse"];
37537
- };
37538
- };
37539
- /** @description Missing or invalid credentials. */
37540
- 401: {
37541
- headers: {
37542
- [name: string]: unknown;
37543
- };
37544
- content?: never;
37545
- };
37546
- /** @description Insufficient permissions. */
37547
- 403: {
37548
- headers: {
37549
- [name: string]: unknown;
37550
- };
37551
- content?: never;
37552
- };
37553
- /** @description Validation Error */
37554
- 422: {
37555
- headers: {
37556
- [name: string]: unknown;
37557
- };
37558
- content: {
37559
- "application/json": components["schemas"]["HTTPValidationError"];
37560
- };
37561
- };
37562
- /** @description Voice agent service unavailable. */
37563
- 503: {
37564
- headers: {
37565
- [name: string]: unknown;
37566
- };
37567
- content?: never;
37568
- };
37569
- };
37570
- };
37571
- "upsert-service-version-set": {
37572
- parameters: {
37573
- query?: never;
37574
- header?: never;
37575
- path: {
37576
- workspace_id: string;
37577
- service_id: string;
37578
- /** @description Version set name (e.g. 'release') */
37579
- name: string;
37580
- };
37581
- cookie?: never;
37582
- };
37583
- requestBody: {
37584
- content: {
37585
- "application/json": components["schemas"]["UpsertVersionSetRequest"];
37586
- };
37587
- };
37588
- responses: {
37589
- /** @description Successful Response */
37590
- 204: {
37591
- headers: {
37592
- [name: string]: unknown;
37593
- };
37594
- content?: never;
37595
- };
37596
- /** @description Missing or invalid API key. */
37597
- 401: {
37598
- headers: {
37599
- [name: string]: unknown;
37600
- };
37601
- content?: never;
37602
- };
37603
- /** @description Insufficient permissions. */
37604
- 403: {
37605
- headers: {
37606
- [name: string]: unknown;
37607
- };
37608
- content?: never;
37609
- };
37610
- /** @description Not found. */
37611
- 404: {
37612
- headers: {
37613
- [name: string]: unknown;
37614
- };
37615
- content?: never;
37616
- };
37617
- /** @description Name already taken. */
37618
- 409: {
37619
- headers: {
37620
- [name: string]: unknown;
37621
- };
37622
- content?: never;
37623
- };
37624
- /** @description Invalid request body. */
37625
- 422: {
37626
- headers: {
37627
- [name: string]: unknown;
37628
- };
37629
- content?: never;
37630
- };
37631
- };
37632
- };
37633
- "list-voice-judge-recent": {
38180
+ "delete-service": {
37634
38181
  parameters: {
37635
- query?: {
37636
- /** @description Max rows to return (default 20, max 100) */
37637
- limit?: number;
37638
- /** @description Offset for pagination (default 0) */
37639
- offset?: number;
37640
- };
38182
+ query?: never;
37641
38183
  header?: never;
37642
38184
  path: {
37643
38185
  workspace_id: string;
37644
- /** @description Service UUID */
37645
38186
  service_id: string;
37646
38187
  };
37647
38188
  cookie?: never;
37648
38189
  };
37649
38190
  requestBody?: never;
37650
38191
  responses: {
37651
- /** @description Voice judge rows (newest first) */
37652
- 200: {
38192
+ /** @description Successful Response */
38193
+ 204: {
37653
38194
  headers: {
37654
38195
  [name: string]: unknown;
37655
38196
  };
37656
- content: {
37657
- "application/json": components["schemas"]["VoiceJudgeRecentResponse"];
37658
- };
38197
+ content?: never;
37659
38198
  };
37660
- /** @description Validation Error */
37661
- 422: {
38199
+ /** @description Missing or invalid API key. */
38200
+ 401: {
37662
38201
  headers: {
37663
38202
  [name: string]: unknown;
37664
38203
  };
37665
- content: {
37666
- "application/json": components["schemas"]["HTTPValidationError"];
38204
+ content?: never;
38205
+ };
38206
+ /** @description Insufficient permissions. */
38207
+ 403: {
38208
+ headers: {
38209
+ [name: string]: unknown;
37667
38210
  };
38211
+ content?: never;
37668
38212
  };
37669
- /** @description Analytics warehouse not configured or transiently unavailable */
37670
- 503: {
38213
+ /** @description Not found. */
38214
+ 404: {
37671
38215
  headers: {
37672
38216
  [name: string]: unknown;
37673
38217
  };
37674
38218
  content?: never;
37675
38219
  };
38220
+ /** @description Validation Error */
38221
+ 422: {
38222
+ headers: {
38223
+ [name: string]: unknown;
38224
+ };
38225
+ content: {
38226
+ "application/json": components["schemas"]["HTTPValidationError"];
38227
+ };
38228
+ };
37676
38229
  };
37677
38230
  };
37678
- "voice-turn": {
38231
+ "text-turn": {
37679
38232
  parameters: {
37680
38233
  query?: never;
37681
38234
  header?: never;
@@ -37687,18 +38240,17 @@ export interface operations {
37687
38240
  };
37688
38241
  requestBody: {
37689
38242
  content: {
37690
- "multipart/form-data": components["schemas"]["Body_voice-turn"];
38243
+ "application/json": components["schemas"]["TextTurnRequest"];
37691
38244
  };
37692
38245
  };
37693
38246
  responses: {
37694
- /** @description OGG Opus agent reply */
38247
+ /** @description Agent text reply */
37695
38248
  200: {
37696
38249
  headers: {
37697
38250
  [name: string]: unknown;
37698
38251
  };
37699
38252
  content: {
37700
- "application/json": unknown;
37701
- "audio/ogg": unknown;
38253
+ "application/json": components["schemas"]["TextTurnResponse"];
37702
38254
  };
37703
38255
  };
37704
38256
  /** @description Agent elected silence */
@@ -37708,7 +38260,7 @@ export interface operations {
37708
38260
  };
37709
38261
  content?: never;
37710
38262
  };
37711
- /** @description Concurrent voice turn in progress for this speaker */
38263
+ /** @description Concurrent text turn in progress for this speaker */
37712
38264
  409: {
37713
38265
  headers: {
37714
38266
  [name: string]: unknown;
@@ -37726,12 +38278,13 @@ export interface operations {
37726
38278
  };
37727
38279
  };
37728
38280
  };
37729
- list_active_sessions_v1__workspace_id__sessions_active_get: {
38281
+ "resolve-service-tools": {
37730
38282
  parameters: {
37731
38283
  query?: never;
37732
38284
  header?: never;
37733
38285
  path: {
37734
38286
  workspace_id: string;
38287
+ service_id: string;
37735
38288
  };
37736
38289
  cookie?: never;
37737
38290
  };
@@ -37743,42 +38296,130 @@ export interface operations {
37743
38296
  [name: string]: unknown;
37744
38297
  };
37745
38298
  content: {
37746
- "application/json": components["schemas"]["ActiveSession"][];
38299
+ "application/json": components["schemas"]["ToolResolveResponse"];
38300
+ };
38301
+ };
38302
+ /** @description Missing or invalid credentials. */
38303
+ 401: {
38304
+ headers: {
38305
+ [name: string]: unknown;
38306
+ };
38307
+ content?: never;
38308
+ };
38309
+ /** @description Insufficient permissions. */
38310
+ 403: {
38311
+ headers: {
38312
+ [name: string]: unknown;
37747
38313
  };
38314
+ content?: never;
38315
+ };
38316
+ /** @description Validation Error */
38317
+ 422: {
38318
+ headers: {
38319
+ [name: string]: unknown;
38320
+ };
38321
+ content: {
38322
+ "application/json": components["schemas"]["HTTPValidationError"];
38323
+ };
38324
+ };
38325
+ /** @description Voice agent service unavailable. */
38326
+ 503: {
38327
+ headers: {
38328
+ [name: string]: unknown;
38329
+ };
38330
+ content?: never;
37748
38331
  };
37749
38332
  };
37750
38333
  };
37751
- start_text_session_v1__workspace_id__sessions_start_post: {
38334
+ "upsert-service-version-set": {
37752
38335
  parameters: {
37753
38336
  query?: never;
37754
38337
  header?: never;
37755
38338
  path: {
37756
38339
  workspace_id: string;
38340
+ service_id: string;
38341
+ /** @description Version set name (e.g. 'release') */
38342
+ name: string;
37757
38343
  };
37758
38344
  cookie?: never;
37759
38345
  };
37760
38346
  requestBody: {
37761
38347
  content: {
37762
- "application/json": components["schemas"]["StartSessionRequest"];
38348
+ "application/json": components["schemas"]["UpsertVersionSetRequest"];
37763
38349
  };
37764
38350
  };
37765
38351
  responses: {
37766
38352
  /** @description Successful Response */
37767
- 201: {
38353
+ 204: {
37768
38354
  headers: {
37769
38355
  [name: string]: unknown;
37770
38356
  };
37771
- content: {
37772
- "application/json": components["schemas"]["StartSessionResponse"];
38357
+ content?: never;
38358
+ };
38359
+ /** @description Missing or invalid API key. */
38360
+ 401: {
38361
+ headers: {
38362
+ [name: string]: unknown;
37773
38363
  };
38364
+ content?: never;
37774
38365
  };
37775
- /** @description Service or entity not found. */
38366
+ /** @description Insufficient permissions. */
38367
+ 403: {
38368
+ headers: {
38369
+ [name: string]: unknown;
38370
+ };
38371
+ content?: never;
38372
+ };
38373
+ /** @description Not found. */
37776
38374
  404: {
37777
38375
  headers: {
37778
38376
  [name: string]: unknown;
37779
38377
  };
37780
38378
  content?: never;
37781
38379
  };
38380
+ /** @description Name already taken. */
38381
+ 409: {
38382
+ headers: {
38383
+ [name: string]: unknown;
38384
+ };
38385
+ content?: never;
38386
+ };
38387
+ /** @description Invalid request body. */
38388
+ 422: {
38389
+ headers: {
38390
+ [name: string]: unknown;
38391
+ };
38392
+ content?: never;
38393
+ };
38394
+ };
38395
+ };
38396
+ "list-voice-judge-recent": {
38397
+ parameters: {
38398
+ query?: {
38399
+ /** @description Max rows to return (default 20, max 100) */
38400
+ limit?: number;
38401
+ /** @description Offset for pagination (default 0) */
38402
+ offset?: number;
38403
+ };
38404
+ header?: never;
38405
+ path: {
38406
+ workspace_id: string;
38407
+ /** @description Service UUID */
38408
+ service_id: string;
38409
+ };
38410
+ cookie?: never;
38411
+ };
38412
+ requestBody?: never;
38413
+ responses: {
38414
+ /** @description Voice judge rows (newest first) */
38415
+ 200: {
38416
+ headers: {
38417
+ [name: string]: unknown;
38418
+ };
38419
+ content: {
38420
+ "application/json": components["schemas"]["VoiceJudgeRecentResponse"];
38421
+ };
38422
+ };
37782
38423
  /** @description Validation Error */
37783
38424
  422: {
37784
38425
  headers: {
@@ -37788,7 +38429,7 @@ export interface operations {
37788
38429
  "application/json": components["schemas"]["HTTPValidationError"];
37789
38430
  };
37790
38431
  };
37791
- /** @description Agent service unavailable. */
38432
+ /** @description Analytics warehouse not configured or transiently unavailable */
37792
38433
  503: {
37793
38434
  headers: {
37794
38435
  [name: string]: unknown;
@@ -37797,33 +38438,41 @@ export interface operations {
37797
38438
  };
37798
38439
  };
37799
38440
  };
37800
- inject_session_event_v1__workspace_id__sessions__call_sid__inject_post: {
38441
+ "voice-turn": {
37801
38442
  parameters: {
37802
38443
  query?: never;
37803
38444
  header?: never;
37804
38445
  path: {
37805
38446
  workspace_id: string;
37806
- call_sid: string;
38447
+ service_id: string;
37807
38448
  };
37808
38449
  cookie?: never;
37809
38450
  };
37810
38451
  requestBody: {
37811
38452
  content: {
37812
- "application/json": components["schemas"]["InjectRequest"];
38453
+ "multipart/form-data": components["schemas"]["Body_voice-turn"];
37813
38454
  };
37814
38455
  };
37815
38456
  responses: {
37816
- /** @description Successful Response */
38457
+ /** @description OGG Opus agent reply */
37817
38458
  200: {
37818
38459
  headers: {
37819
38460
  [name: string]: unknown;
37820
38461
  };
37821
38462
  content: {
37822
- "application/json": components["schemas"]["InjectResponse"];
38463
+ "application/json": unknown;
38464
+ "audio/ogg": unknown;
37823
38465
  };
37824
38466
  };
37825
- /** @description Session not found. */
37826
- 404: {
38467
+ /** @description Agent elected silence */
38468
+ 204: {
38469
+ headers: {
38470
+ [name: string]: unknown;
38471
+ };
38472
+ content?: never;
38473
+ };
38474
+ /** @description Concurrent voice turn in progress for this speaker */
38475
+ 409: {
37827
38476
  headers: {
37828
38477
  [name: string]: unknown;
37829
38478
  };
@@ -37838,16 +38487,31 @@ export interface operations {
37838
38487
  "application/json": components["schemas"]["HTTPValidationError"];
37839
38488
  };
37840
38489
  };
37841
- /** @description Voice agent service unavailable. */
37842
- 503: {
38490
+ };
38491
+ };
38492
+ list_active_sessions_v1__workspace_id__sessions_active_get: {
38493
+ parameters: {
38494
+ query?: never;
38495
+ header?: never;
38496
+ path: {
38497
+ workspace_id: string;
38498
+ };
38499
+ cookie?: never;
38500
+ };
38501
+ requestBody?: never;
38502
+ responses: {
38503
+ /** @description Successful Response */
38504
+ 200: {
37843
38505
  headers: {
37844
38506
  [name: string]: unknown;
37845
38507
  };
37846
- content?: never;
38508
+ content: {
38509
+ "application/json": components["schemas"]["ActiveSession"][];
38510
+ };
37847
38511
  };
37848
38512
  };
37849
38513
  };
37850
- "get-branding-settings": {
38514
+ start_text_session_v1__workspace_id__sessions_start_post: {
37851
38515
  parameters: {
37852
38516
  query?: never;
37853
38517
  header?: never;
@@ -37856,19 +38520,39 @@ export interface operations {
37856
38520
  };
37857
38521
  cookie?: never;
37858
38522
  };
37859
- requestBody?: never;
38523
+ requestBody: {
38524
+ content: {
38525
+ "application/json": components["schemas"]["StartSessionRequest"];
38526
+ };
38527
+ };
37860
38528
  responses: {
37861
38529
  /** @description Successful Response */
37862
- 200: {
38530
+ 201: {
37863
38531
  headers: {
37864
38532
  [name: string]: unknown;
37865
38533
  };
37866
38534
  content: {
37867
- "application/json": components["schemas"]["BrandingSettingsResponse"];
38535
+ "application/json": components["schemas"]["StartSessionResponse"];
37868
38536
  };
37869
38537
  };
37870
- /** @description Rate limited */
37871
- 429: {
38538
+ /** @description Service or entity not found. */
38539
+ 404: {
38540
+ headers: {
38541
+ [name: string]: unknown;
38542
+ };
38543
+ content?: never;
38544
+ };
38545
+ /** @description Validation Error */
38546
+ 422: {
38547
+ headers: {
38548
+ [name: string]: unknown;
38549
+ };
38550
+ content: {
38551
+ "application/json": components["schemas"]["HTTPValidationError"];
38552
+ };
38553
+ };
38554
+ /** @description Agent service unavailable. */
38555
+ 503: {
37872
38556
  headers: {
37873
38557
  [name: string]: unknown;
37874
38558
  };
@@ -37876,18 +38560,19 @@ export interface operations {
37876
38560
  };
37877
38561
  };
37878
38562
  };
37879
- "update-branding-settings": {
38563
+ inject_session_event_v1__workspace_id__sessions__call_sid__inject_post: {
37880
38564
  parameters: {
37881
38565
  query?: never;
37882
38566
  header?: never;
37883
38567
  path: {
37884
38568
  workspace_id: string;
38569
+ call_sid: string;
37885
38570
  };
37886
38571
  cookie?: never;
37887
38572
  };
37888
38573
  requestBody: {
37889
38574
  content: {
37890
- "application/json": components["schemas"]["BrandingSettingsRequest"];
38575
+ "application/json": components["schemas"]["InjectRequest"];
37891
38576
  };
37892
38577
  };
37893
38578
  responses: {
@@ -37897,25 +38582,27 @@ export interface operations {
37897
38582
  [name: string]: unknown;
37898
38583
  };
37899
38584
  content: {
37900
- "application/json": components["schemas"]["BrandingSettingsResponse"];
38585
+ "application/json": components["schemas"]["InjectResponse"];
37901
38586
  };
37902
38587
  };
37903
- /** @description Workspace not found */
38588
+ /** @description Session not found. */
37904
38589
  404: {
37905
38590
  headers: {
37906
38591
  [name: string]: unknown;
37907
38592
  };
37908
38593
  content?: never;
37909
38594
  };
37910
- /** @description Validation error */
38595
+ /** @description Validation Error */
37911
38596
  422: {
37912
38597
  headers: {
37913
38598
  [name: string]: unknown;
37914
38599
  };
37915
- content?: never;
38600
+ content: {
38601
+ "application/json": components["schemas"]["HTTPValidationError"];
38602
+ };
37916
38603
  };
37917
- /** @description Rate limited */
37918
- 429: {
38604
+ /** @description Voice agent service unavailable. */
38605
+ 503: {
37919
38606
  headers: {
37920
38607
  [name: string]: unknown;
37921
38608
  };
@@ -37923,7 +38610,7 @@ export interface operations {
37923
38610
  };
37924
38611
  };
37925
38612
  };
37926
- "get-connector-settings": {
38613
+ "get-branding-settings": {
37927
38614
  parameters: {
37928
38615
  query?: never;
37929
38616
  header?: never;
@@ -37940,7 +38627,7 @@ export interface operations {
37940
38627
  [name: string]: unknown;
37941
38628
  };
37942
38629
  content: {
37943
- "application/json": components["schemas"]["ConnectorSettingsResponse"];
38630
+ "application/json": components["schemas"]["BrandingSettingsResponse"];
37944
38631
  };
37945
38632
  };
37946
38633
  /** @description Rate limited */
@@ -37952,7 +38639,7 @@ export interface operations {
37952
38639
  };
37953
38640
  };
37954
38641
  };
37955
- "update-connector-settings": {
38642
+ "update-branding-settings": {
37956
38643
  parameters: {
37957
38644
  query?: never;
37958
38645
  header?: never;
@@ -37963,7 +38650,7 @@ export interface operations {
37963
38650
  };
37964
38651
  requestBody: {
37965
38652
  content: {
37966
- "application/json": components["schemas"]["ConnectorSettingsRequest"];
38653
+ "application/json": components["schemas"]["BrandingSettingsRequest"];
37967
38654
  };
37968
38655
  };
37969
38656
  responses: {
@@ -37973,7 +38660,7 @@ export interface operations {
37973
38660
  [name: string]: unknown;
37974
38661
  };
37975
38662
  content: {
37976
- "application/json": components["schemas"]["ConnectorSettingsResponse"];
38663
+ "application/json": components["schemas"]["BrandingSettingsResponse"];
37977
38664
  };
37978
38665
  };
37979
38666
  /** @description Workspace not found */
@@ -39867,6 +40554,38 @@ export interface operations {
39867
40554
  };
39868
40555
  };
39869
40556
  };
40557
+ "get-simulation-suite-run-results": {
40558
+ parameters: {
40559
+ query?: never;
40560
+ header?: never;
40561
+ path: {
40562
+ workspace_id: string;
40563
+ suite_run_id: string;
40564
+ };
40565
+ cookie?: never;
40566
+ };
40567
+ requestBody?: never;
40568
+ responses: {
40569
+ /** @description Successful Response */
40570
+ 200: {
40571
+ headers: {
40572
+ [name: string]: unknown;
40573
+ };
40574
+ content: {
40575
+ "application/json": components["schemas"]["SimulationSuiteRunResultsResponse"];
40576
+ };
40577
+ };
40578
+ /** @description Validation Error */
40579
+ 422: {
40580
+ headers: {
40581
+ [name: string]: unknown;
40582
+ };
40583
+ content: {
40584
+ "application/json": components["schemas"]["HTTPValidationError"];
40585
+ };
40586
+ };
40587
+ };
40588
+ };
39870
40589
  "list-simulation-suites": {
39871
40590
  parameters: {
39872
40591
  query?: never;
@@ -40058,6 +40777,40 @@ export interface operations {
40058
40777
  };
40059
40778
  };
40060
40779
  };
40780
+ "list-simulation-suite-runs": {
40781
+ parameters: {
40782
+ query?: {
40783
+ limit?: number;
40784
+ };
40785
+ header?: never;
40786
+ path: {
40787
+ workspace_id: string;
40788
+ suite_id: string;
40789
+ };
40790
+ cookie?: never;
40791
+ };
40792
+ requestBody?: never;
40793
+ responses: {
40794
+ /** @description Successful Response */
40795
+ 200: {
40796
+ headers: {
40797
+ [name: string]: unknown;
40798
+ };
40799
+ content: {
40800
+ "application/json": components["schemas"]["ListSimulationSuiteRunsResponse"];
40801
+ };
40802
+ };
40803
+ /** @description Validation Error */
40804
+ 422: {
40805
+ headers: {
40806
+ [name: string]: unknown;
40807
+ };
40808
+ content: {
40809
+ "application/json": components["schemas"]["HTTPValidationError"];
40810
+ };
40811
+ };
40812
+ };
40813
+ };
40061
40814
  "list-skills": {
40062
40815
  parameters: {
40063
40816
  query?: {
@@ -42008,6 +42761,8 @@ export interface operations {
42008
42761
  entity_type?: string | null;
42009
42762
  /** @description Search by display name */
42010
42763
  q?: string | null;
42764
+ /** @description Sort order: `+display_name` (default) or `-display_name` for alphabetical, `+last_event_at` for oldest activity first, `-last_event_at` for most recent first. All sort orders use entity id as a final tiebreaker for stable pagination. */
42765
+ sort_by?: ("+display_name" | "-display_name" | "+last_event_at" | "-last_event_at") | null;
42011
42766
  limit?: number;
42012
42767
  offset?: number;
42013
42768
  };