@amigo-ai/platform-sdk 0.57.0 → 0.58.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.
Files changed (50) hide show
  1. package/README.md +63 -0
  2. package/api.md +10 -2
  3. package/dist/core/branded-types.js +1 -0
  4. package/dist/core/branded-types.js.map +1 -1
  5. package/dist/index.cjs +113 -38
  6. package/dist/index.cjs.map +3 -3
  7. package/dist/index.js +5 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +113 -38
  10. package/dist/index.mjs.map +3 -3
  11. package/dist/resources/integrations.js +66 -34
  12. package/dist/resources/integrations.js.map +1 -1
  13. package/dist/resources/tokens.js +31 -0
  14. package/dist/resources/tokens.js.map +1 -0
  15. package/dist/types/core/branded-types.d.ts +2 -0
  16. package/dist/types/core/branded-types.d.ts.map +1 -1
  17. package/dist/types/generated/api.d.ts +1912 -1723
  18. package/dist/types/generated/api.d.ts.map +1 -1
  19. package/dist/types/index.d.cts +6 -2
  20. package/dist/types/index.d.cts.map +1 -1
  21. package/dist/types/index.d.ts +6 -2
  22. package/dist/types/index.d.ts.map +1 -1
  23. package/dist/types/resources/actions.d.ts +5 -20
  24. package/dist/types/resources/actions.d.ts.map +1 -1
  25. package/dist/types/resources/base.d.ts +1 -1
  26. package/dist/types/resources/base.d.ts.map +1 -1
  27. package/dist/types/resources/calls.d.ts +5 -5
  28. package/dist/types/resources/context-graphs.d.ts +16 -0
  29. package/dist/types/resources/context-graphs.d.ts.map +1 -1
  30. package/dist/types/resources/intake.d.ts.map +1 -1
  31. package/dist/types/resources/integrations.d.ts +457 -599
  32. package/dist/types/resources/integrations.d.ts.map +1 -1
  33. package/dist/types/resources/metrics.d.ts +1 -1
  34. package/dist/types/resources/metrics.d.ts.map +1 -1
  35. package/dist/types/resources/operators.d.ts +2 -2
  36. package/dist/types/resources/operators.d.ts.map +1 -1
  37. package/dist/types/resources/review-queue.d.ts +11 -11
  38. package/dist/types/resources/services.d.ts.map +1 -1
  39. package/dist/types/resources/settings.d.ts +2 -2
  40. package/dist/types/resources/settings.d.ts.map +1 -1
  41. package/dist/types/resources/skills.d.ts +5 -20
  42. package/dist/types/resources/skills.d.ts.map +1 -1
  43. package/dist/types/resources/surfaces.d.ts.map +1 -1
  44. package/dist/types/resources/tasks.d.ts +2 -2
  45. package/dist/types/resources/tokens.d.ts +20 -0
  46. package/dist/types/resources/tokens.d.ts.map +1 -0
  47. package/dist/types/resources/workspace-data-queries.d.ts +1 -1
  48. package/dist/types/resources/workspace-data-queries.d.ts.map +1 -1
  49. package/dist/types/resources/world.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -656,7 +656,7 @@ export interface paths {
656
656
  put?: never;
657
657
  /**
658
658
  * Provision workspace resources
659
- * @description Seed default IntegrationConfig and mark workspace as provisioned. Idempotent. Requires `Workspace.update` permission.
659
+ * @description Seed default integrations and mark workspace as provisioned. Idempotent. Requires `Workspace.update` permission.
660
660
  */
661
661
  post: operations["provision-workspace"];
662
662
  delete?: never;
@@ -2257,7 +2257,10 @@ export interface paths {
2257
2257
  path?: never;
2258
2258
  cookie?: never;
2259
2259
  };
2260
- /** List Workspace Data Queries */
2260
+ /**
2261
+ * List workspace data queries
2262
+ * @description List every registered query for a workspace. Sort via repeated `sort_by` query params; each entry is `+field` or `-field` (allowed field: deployed_at). Default: `-deployed_at`. Cursor opaque — round-trip `continuation_token` unchanged with the same `sort_by`. Requires `Workspace.view` permission.
2263
+ */
2261
2264
  get: operations["list-workspace-data-queries"];
2262
2265
  put?: never;
2263
2266
  /** Create Workspace Data Query */
@@ -2413,126 +2416,6 @@ export interface paths {
2413
2416
  patch?: never;
2414
2417
  trace?: never;
2415
2418
  };
2416
- "/v1/{workspace_id}/epidemiology/cohort-drivers": {
2417
- parameters: {
2418
- query?: never;
2419
- header?: never;
2420
- path?: never;
2421
- cookie?: never;
2422
- };
2423
- /**
2424
- * List Cohort Drivers
2425
- * @description Standardized Prevalence Ratio (SPR = observed / expected) per (age_bucket, gender) cohort for a given code, with Byar 95% CI. SPR > 1 = cohort over-indexes for this code.
2426
- */
2427
- get: operations["list_cohort_drivers_v1__workspace_id__epidemiology_cohort_drivers_get"];
2428
- put?: never;
2429
- post?: never;
2430
- delete?: never;
2431
- options?: never;
2432
- head?: never;
2433
- patch?: never;
2434
- trace?: never;
2435
- };
2436
- "/v1/{workspace_id}/epidemiology/cooccurrence": {
2437
- parameters: {
2438
- query?: never;
2439
- header?: never;
2440
- path?: never;
2441
- cookie?: never;
2442
- };
2443
- /**
2444
- * List Cooccurrence
2445
- * @description Active-condition code pairs co-occurring within the same patient. Emits Jaccard, lift, PMI, and Pearson χ². Filter by `code` to constrain one side of the pair; sort by lift|pmi|chi_square|jaccard.
2446
- */
2447
- get: operations["list_cooccurrence_v1__workspace_id__epidemiology_cooccurrence_get"];
2448
- put?: never;
2449
- post?: never;
2450
- delete?: never;
2451
- options?: never;
2452
- head?: never;
2453
- patch?: never;
2454
- trace?: never;
2455
- };
2456
- "/v1/{workspace_id}/epidemiology/patient-burden": {
2457
- parameters: {
2458
- query?: never;
2459
- header?: never;
2460
- path?: never;
2461
- cookie?: never;
2462
- };
2463
- /**
2464
- * List Patient Burden
2465
- * @description Per-patient condition features including Charlson Comorbidity Index (Quan 2005 ICD-10) and age-adjusted CCI (Charlson 1994). Filter by min_charlson, age range, or gender. Sort by any of the numeric feature columns.
2466
- */
2467
- get: operations["list_patient_burden_v1__workspace_id__epidemiology_patient_burden_get"];
2468
- put?: never;
2469
- post?: never;
2470
- delete?: never;
2471
- options?: never;
2472
- head?: never;
2473
- patch?: never;
2474
- trace?: never;
2475
- };
2476
- "/v1/{workspace_id}/epidemiology/patient-burden/{patient_entity_id}": {
2477
- parameters: {
2478
- query?: never;
2479
- header?: never;
2480
- path?: never;
2481
- cookie?: never;
2482
- };
2483
- /**
2484
- * Get Patient Burden
2485
- * @description Full condition-burden features for a single patient, including per-category Charlson flags (17 Quan 2005 ICD-10 categories).
2486
- */
2487
- get: operations["get_patient_burden_v1__workspace_id__epidemiology_patient_burden__patient_entity_id__get"];
2488
- put?: never;
2489
- post?: never;
2490
- delete?: never;
2491
- options?: never;
2492
- head?: never;
2493
- patch?: never;
2494
- trace?: never;
2495
- };
2496
- "/v1/{workspace_id}/epidemiology/prevalence": {
2497
- parameters: {
2498
- query?: never;
2499
- header?: never;
2500
- path?: never;
2501
- cookie?: never;
2502
- };
2503
- /**
2504
- * List Prevalence
2505
- * @description Active-condition prevalence by code x (age_bucket, gender) with Wilson 95% CI. Filter by code, code_system, age_bucket, gender; set min_support_only=true to hide small-cell (observed < 5) cohorts.
2506
- */
2507
- get: operations["list_prevalence_v1__workspace_id__epidemiology_prevalence_get"];
2508
- put?: never;
2509
- post?: never;
2510
- delete?: never;
2511
- options?: never;
2512
- head?: never;
2513
- patch?: never;
2514
- trace?: never;
2515
- };
2516
- "/v1/{workspace_id}/epidemiology/trends": {
2517
- parameters: {
2518
- query?: never;
2519
- header?: never;
2520
- path?: never;
2521
- cookie?: never;
2522
- };
2523
- /**
2524
- * List Trends
2525
- * @description Monthly incidence for a code (YYYY-MM). Requires `code`. Optional filters: code_system, start_month, end_month, age_bucket, gender.
2526
- */
2527
- get: operations["list_trends_v1__workspace_id__epidemiology_trends_get"];
2528
- put?: never;
2529
- post?: never;
2530
- delete?: never;
2531
- options?: never;
2532
- head?: never;
2533
- patch?: never;
2534
- trace?: never;
2535
- };
2536
2419
  "/v1/{workspace_id}/events/stream": {
2537
2420
  parameters: {
2538
2421
  query?: never;
@@ -3224,13 +3107,13 @@ export interface paths {
3224
3107
  };
3225
3108
  /**
3226
3109
  * List integrations
3227
- * @description List integrations for a workspace with pagination. Optionally filter by enabled status. Requires `Integration.view` permission.
3110
+ * @description List every integration (REST + desktop) for a workspace. Optionally filter by `enabled` or `search` (name/display_name/id ilike). Sort via repeated `sort_by` query params; each entry is `+field` or `-field` (allowed fields: name, created_at, updated_at). Default: `-created_at`. Cursor opaque — round-trip `continuation_token` unchanged with the same `sort_by`. Requires `Integration.view` permission.
3228
3111
  */
3229
3112
  get: operations["list-integrations"];
3230
3113
  put?: never;
3231
3114
  /**
3232
- * Create an integration
3233
- * @description Create a new external API integration in a workspace. Requires `Integration.create` permission.
3115
+ * Create a REST integration
3116
+ * @description Create a new REST integration in a workspace. Endpoints are added separately via `POST /integrations/{integration_id}/endpoints`. Requires `Integration.create` permission.
3234
3117
  */
3235
3118
  post: operations["create-integration"];
3236
3119
  delete?: never;
@@ -3239,7 +3122,7 @@ export interface paths {
3239
3122
  patch?: never;
3240
3123
  trace?: never;
3241
3124
  };
3242
- "/v1/{workspace_id}/integrations/health-check": {
3125
+ "/v1/{workspace_id}/integrations/{integration_id}": {
3243
3126
  parameters: {
3244
3127
  query?: never;
3245
3128
  header?: never;
@@ -3247,19 +3130,27 @@ export interface paths {
3247
3130
  cookie?: never;
3248
3131
  };
3249
3132
  /**
3250
- * Bulk integration health check
3251
- * @description Quick health status of all enabled integrations.
3133
+ * Get an integration
3134
+ * @description Retrieve an integration (REST or desktop) by ID. Requires `Integration.view` permission.
3252
3135
  */
3253
- get: operations["integration-health-check"];
3136
+ get: operations["get-integration"];
3254
3137
  put?: never;
3255
3138
  post?: never;
3256
- delete?: never;
3139
+ /**
3140
+ * Delete a REST integration
3141
+ * @description Delete a REST integration. Requires `Integration.delete` permission.
3142
+ */
3143
+ delete: operations["delete-integration"];
3257
3144
  options?: never;
3258
3145
  head?: never;
3259
- patch?: never;
3146
+ /**
3147
+ * Update a REST integration
3148
+ * @description Patch a REST integration. NOT NULL fields reject `null` at validation time; pass `auth: null` to clear the auth config. `auth` and `secret_value` are independent — update either alone to swap auth shape (reusing the existing secret) or rotate the secret (keeping the existing auth shape). Requires `Integration.update` permission.
3149
+ */
3150
+ patch: operations["update-integration"];
3260
3151
  trace?: never;
3261
3152
  };
3262
- "/v1/{workspace_id}/integrations/{integration_id}": {
3153
+ "/v1/{workspace_id}/integrations/{integration_id}/endpoints": {
3263
3154
  parameters: {
3264
3155
  query?: never;
3265
3156
  header?: never;
@@ -3267,47 +3158,51 @@ export interface paths {
3267
3158
  cookie?: never;
3268
3159
  };
3269
3160
  /**
3270
- * Get an integration
3271
- * @description Retrieve an integration by ID. Requires `Integration.view` permission.
3272
- */
3273
- get: operations["get-integration"];
3274
- /**
3275
- * Update an integration
3276
- * @description Update an integration's configuration. Requires `Integration.update` permission.
3161
+ * List endpoints
3162
+ * @description List endpoints on a REST integration. Optionally search by name/description. Sort via repeated `sort_by` query params; each entry is `+field` or `-field` (allowed fields: name, created_at, updated_at). Default: `-created_at`. Cursor opaque — round-trip `continuation_token` unchanged with the same `sort_by`. Requires `Integration.view` permission.
3277
3163
  */
3278
- put: operations["update-integration"];
3279
- post?: never;
3164
+ get: operations["list-integration-endpoints"];
3165
+ put?: never;
3280
3166
  /**
3281
- * Delete an integration
3282
- * @description Delete an integration. Requires `Integration.delete` permission.
3167
+ * Add an endpoint
3168
+ * @description Add a new endpoint to a REST integration. Requires `Integration.update` permission.
3283
3169
  */
3284
- delete: operations["delete-integration"];
3170
+ post: operations["create-integration-endpoint"];
3171
+ delete?: never;
3285
3172
  options?: never;
3286
3173
  head?: never;
3287
3174
  patch?: never;
3288
3175
  trace?: never;
3289
3176
  };
3290
- "/v1/{workspace_id}/integrations/{integration_id}/endpoints/{endpoint_name}/test": {
3177
+ "/v1/{workspace_id}/integrations/{integration_id}/endpoints/{endpoint_id}": {
3291
3178
  parameters: {
3292
3179
  query?: never;
3293
3180
  header?: never;
3294
3181
  path?: never;
3295
3182
  cookie?: never;
3296
3183
  };
3297
- get?: never;
3184
+ /**
3185
+ * Get an endpoint
3186
+ * @description Get a single endpoint on a REST integration. Requires `Integration.view` permission.
3187
+ */
3188
+ get: operations["get-integration-endpoint"];
3298
3189
  put?: never;
3190
+ post?: never;
3299
3191
  /**
3300
- * Test an integration endpoint
3301
- * @description Execute an integration endpoint with test parameters and return the full response pipeline breakdown. Requires `Integration.view` permission.
3192
+ * Delete an endpoint
3193
+ * @description Delete an endpoint from a REST integration. Requires `Integration.update` permission.
3302
3194
  */
3303
- post: operations["test-integration-endpoint"];
3304
- delete?: never;
3195
+ delete: operations["delete-integration-endpoint"];
3305
3196
  options?: never;
3306
3197
  head?: never;
3307
- patch?: never;
3198
+ /**
3199
+ * Update an endpoint
3200
+ * @description Patch an endpoint on a REST integration. The endpoint `name` is immutable. Pass `response_template: null` to clear the Jinja template (the only DB-nullable column). Every other field rejects explicit null at validation time. Requires `Integration.update` permission.
3201
+ */
3202
+ patch: operations["update-integration-endpoint"];
3308
3203
  trace?: never;
3309
3204
  };
3310
- "/v1/{workspace_id}/integrations/{integration_id}/test-connection": {
3205
+ "/v1/{workspace_id}/integrations/{integration_id}/endpoints/{endpoint_id}/test": {
3311
3206
  parameters: {
3312
3207
  query?: never;
3313
3208
  header?: never;
@@ -3317,10 +3212,10 @@ export interface paths {
3317
3212
  get?: never;
3318
3213
  put?: never;
3319
3214
  /**
3320
- * Probe an integration's connection + auth
3321
- * @description Pre-flight probe of an integration without invoking any specific endpoint. Exercises auth resolution end-to-end (SSM lookup, OAuth2 token mint, JWT signing) and sends a HEAD request to ``base_url`` (REST/FHIR) or to ``mcp_url`` (MCP sse/http). The most recent probe outcome is persisted on the integration so the UI can display a health badge without re-probing on every render. Safe to run on production integrations — HEAD requests carry no side effects. Requires `Integration.view` permission.
3215
+ * Test an integration endpoint
3216
+ * @description Execute an integration endpoint with test parameters and return the full response pipeline breakdown. Requires `Integration.view` permission.
3322
3217
  */
3323
- post: operations["test-integration-connection"];
3218
+ post: operations["test-integration-endpoint"];
3324
3219
  delete?: never;
3325
3220
  options?: never;
3326
3221
  head?: never;
@@ -5711,7 +5606,7 @@ export interface paths {
5711
5606
  put?: never;
5712
5607
  /**
5713
5608
  * Run Simulation Benchmark
5714
- * @description Run a tag-selected benchmark batch as one saved-case run per case.
5609
+ * @description Run a suite or tag-selected benchmark batch as one saved-case run per case.
5715
5610
  */
5716
5611
  post: operations["run-simulation-benchmark"];
5717
5612
  delete?: never;
@@ -5720,24 +5615,6 @@ export interface paths {
5720
5615
  patch?: never;
5721
5616
  trace?: never;
5722
5617
  };
5723
- "/v1/{workspace_id}/simulations/branches": {
5724
- parameters: {
5725
- query?: never;
5726
- header?: never;
5727
- path?: never;
5728
- cookie?: never;
5729
- };
5730
- /** List Simulation Branches */
5731
- get: operations["list-simulation-branches"];
5732
- put?: never;
5733
- /** Create Simulation Branch */
5734
- post: operations["create-simulation-branch"];
5735
- delete?: never;
5736
- options?: never;
5737
- head?: never;
5738
- patch?: never;
5739
- trace?: never;
5740
- };
5741
5618
  "/v1/{workspace_id}/simulations/bridge": {
5742
5619
  parameters: {
5743
5620
  query?: never;
@@ -5827,10 +5704,18 @@ export interface paths {
5827
5704
  get: operations["get-simulation-case"];
5828
5705
  put?: never;
5829
5706
  post?: never;
5830
- delete?: never;
5707
+ /**
5708
+ * Delete Simulation Case
5709
+ * @description Delete one durable simulation case.
5710
+ */
5711
+ delete: operations["delete-simulation-case"];
5831
5712
  options?: never;
5832
5713
  head?: never;
5833
- patch?: never;
5714
+ /**
5715
+ * Update Simulation Case
5716
+ * @description Update editable fields on one durable simulation case.
5717
+ */
5718
+ patch: operations["update-simulation-case"];
5834
5719
  trace?: never;
5835
5720
  };
5836
5721
  "/v1/{workspace_id}/simulations/cases/{case_id}/run": {
@@ -6198,6 +6083,69 @@ export interface paths {
6198
6083
  patch?: never;
6199
6084
  trace?: never;
6200
6085
  };
6086
+ "/v1/{workspace_id}/simulations/suites": {
6087
+ parameters: {
6088
+ query?: never;
6089
+ header?: never;
6090
+ path?: never;
6091
+ cookie?: never;
6092
+ };
6093
+ /**
6094
+ * List Simulation Suites
6095
+ * @description List first-class simulation suites.
6096
+ */
6097
+ get: operations["list-simulation-suites"];
6098
+ put?: never;
6099
+ /**
6100
+ * Create Simulation Suite
6101
+ * @description Create a reusable suite definition for saved simulation cases.
6102
+ */
6103
+ post: operations["create-simulation-suite"];
6104
+ delete?: never;
6105
+ options?: never;
6106
+ head?: never;
6107
+ patch?: never;
6108
+ trace?: never;
6109
+ };
6110
+ "/v1/{workspace_id}/simulations/suites/{suite_id}": {
6111
+ parameters: {
6112
+ query?: never;
6113
+ header?: never;
6114
+ path?: never;
6115
+ cookie?: never;
6116
+ };
6117
+ /** Get Simulation Suite */
6118
+ get: operations["get-simulation-suite"];
6119
+ put?: never;
6120
+ post?: never;
6121
+ /** Delete Simulation Suite */
6122
+ delete: operations["delete-simulation-suite"];
6123
+ options?: never;
6124
+ head?: never;
6125
+ /** Update Simulation Suite */
6126
+ patch: operations["update-simulation-suite"];
6127
+ trace?: never;
6128
+ };
6129
+ "/v1/{workspace_id}/simulations/suites/{suite_id}/run": {
6130
+ parameters: {
6131
+ query?: never;
6132
+ header?: never;
6133
+ path?: never;
6134
+ cookie?: never;
6135
+ };
6136
+ get?: never;
6137
+ put?: never;
6138
+ /**
6139
+ * Run Simulation Suite
6140
+ * @description Run a first-class suite definition.
6141
+ */
6142
+ post: operations["run-simulation-suite"];
6143
+ delete?: never;
6144
+ options?: never;
6145
+ head?: never;
6146
+ patch?: never;
6147
+ trace?: never;
6148
+ };
6201
6149
  "/v1/{workspace_id}/skills": {
6202
6150
  parameters: {
6203
6151
  query?: never;
@@ -7590,9 +7538,8 @@ export interface components {
7590
7538
  /**
7591
7539
  * Status
7592
7540
  * @description Current escalation state
7593
- * @enum {string}
7594
7541
  */
7595
- status: "none" | "requested" | "connected" | "handback" | "completed";
7542
+ status: string;
7596
7543
  /**
7597
7544
  * Trigger
7598
7545
  * @description What triggered the escalation
@@ -8087,184 +8034,6 @@ export interface components {
8087
8034
  /** Unique Actors */
8088
8035
  unique_actors: number;
8089
8036
  };
8090
- /**
8091
- * AuthConfig
8092
- * @description Authentication configuration for an integration.
8093
- *
8094
- * Supports api_key_header, bearer_token, oauth2_client_credentials,
8095
- * json_token_exchange, oauth2_jwt_bearer, gcp_wif,
8096
- * smart_backend_services, and bearer_token_exchange.
8097
- */
8098
- AuthConfig: {
8099
- /** Assertion Algorithm */
8100
- assertion_algorithm?: ("RS384" | "ES384") | null;
8101
- /** Assertion Audience */
8102
- assertion_audience?: string | null;
8103
- /** Assertion Issuer */
8104
- assertion_issuer?: string | null;
8105
- /** Assertion Kid */
8106
- assertion_kid?: string | null;
8107
- /**
8108
- * Assertion Scopes In Jwt
8109
- * @default false
8110
- */
8111
- assertion_scopes_in_jwt?: boolean;
8112
- /** Assertion Subject */
8113
- assertion_subject?: string | null;
8114
- /** Client Id */
8115
- client_id?: string | null;
8116
- /** Client Secret Ssm Param Path */
8117
- client_secret_ssm_param_path?: string | null;
8118
- /**
8119
- * Exchange Default Ttl Seconds
8120
- * @default 3600
8121
- */
8122
- exchange_default_ttl_seconds?: number;
8123
- /** Exchange Expires In Field */
8124
- exchange_expires_in_field?: string | null;
8125
- /** Exchange Param Headers */
8126
- exchange_param_headers?: components["schemas"]["ExchangeHeaderMapping"][];
8127
- /**
8128
- * Exchange Secret Format
8129
- * @default {secret}
8130
- */
8131
- exchange_secret_format?: string;
8132
- /**
8133
- * Exchange Secret Header
8134
- * @default X-API-KEY
8135
- */
8136
- exchange_secret_header?: string;
8137
- /** Exchange Secret Ssm Param Path */
8138
- exchange_secret_ssm_param_path?: string | null;
8139
- /**
8140
- * Exchange Token Field
8141
- * @default token
8142
- */
8143
- exchange_token_field?: string;
8144
- /** Exchange Url */
8145
- exchange_url?: string | null;
8146
- /** Gcp Scopes */
8147
- gcp_scopes?: string[] | null;
8148
- /** Header Name */
8149
- header_name?: string | null;
8150
- /** Private Key Ssm Param Path */
8151
- private_key_ssm_param_path?: string | null;
8152
- /** Scopes */
8153
- scopes?: string[] | null;
8154
- /** Ssm Param Path */
8155
- ssm_param_path?: string | null;
8156
- /**
8157
- * Token Lifetime Seconds
8158
- * @default 3600
8159
- */
8160
- token_lifetime_seconds?: number;
8161
- /** Token Request Client Id Field */
8162
- token_request_client_id_field?: string | null;
8163
- /** Token Request Client Secret Field */
8164
- token_request_client_secret_field?: string | null;
8165
- /** Token Response Path */
8166
- token_response_path?: string | null;
8167
- /** Token Ssm Param Path */
8168
- token_ssm_param_path?: string | null;
8169
- /** Token Url */
8170
- token_url?: string | null;
8171
- /**
8172
- * Type
8173
- * @enum {string}
8174
- */
8175
- type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "json_token_exchange" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services" | "bearer_token_exchange";
8176
- };
8177
- /**
8178
- * AuthConfigWithSecrets
8179
- * @description AuthConfig that accepts inline secret values for auto-provisioning.
8180
- *
8181
- * If provided, platform-api writes the value to SSM and replaces
8182
- * the field with the generated ssm_param_path.
8183
- */
8184
- AuthConfigWithSecrets: {
8185
- api_key_value?: components["schemas"]["SecretInput"] | null;
8186
- /** Assertion Algorithm */
8187
- assertion_algorithm?: ("RS384" | "ES384") | null;
8188
- /** Assertion Audience */
8189
- assertion_audience?: string | null;
8190
- /** Assertion Issuer */
8191
- assertion_issuer?: string | null;
8192
- /** Assertion Kid */
8193
- assertion_kid?: string | null;
8194
- /**
8195
- * Assertion Scopes In Jwt
8196
- * @default false
8197
- */
8198
- assertion_scopes_in_jwt?: boolean;
8199
- /** Assertion Subject */
8200
- assertion_subject?: string | null;
8201
- bearer_token_value?: components["schemas"]["SecretInput"] | null;
8202
- /** Client Id */
8203
- client_id?: string | null;
8204
- /** Client Secret Ssm Param Path */
8205
- client_secret_ssm_param_path?: string | null;
8206
- client_secret_value?: components["schemas"]["SecretInput"] | null;
8207
- /**
8208
- * Exchange Default Ttl Seconds
8209
- * @default 3600
8210
- */
8211
- exchange_default_ttl_seconds?: number;
8212
- /** Exchange Expires In Field */
8213
- exchange_expires_in_field?: string | null;
8214
- /** Exchange Param Headers */
8215
- exchange_param_headers?: components["schemas"]["ExchangeHeaderMapping"][];
8216
- /**
8217
- * Exchange Secret Format
8218
- * @default {secret}
8219
- */
8220
- exchange_secret_format?: string;
8221
- /**
8222
- * Exchange Secret Header
8223
- * @default X-API-KEY
8224
- */
8225
- exchange_secret_header?: string;
8226
- /** Exchange Secret Ssm Param Path */
8227
- exchange_secret_ssm_param_path?: string | null;
8228
- exchange_secret_value?: components["schemas"]["SecretInput"] | null;
8229
- /**
8230
- * Exchange Token Field
8231
- * @default token
8232
- */
8233
- exchange_token_field?: string;
8234
- /** Exchange Url */
8235
- exchange_url?: string | null;
8236
- /** Gcp Scopes */
8237
- gcp_scopes?: string[] | null;
8238
- /** Header Name */
8239
- header_name?: string | null;
8240
- /** Private Key Ssm Param Path */
8241
- private_key_ssm_param_path?: string | null;
8242
- private_key_value?: components["schemas"]["SecretInput"] | null;
8243
- /** Scopes */
8244
- scopes?: string[] | null;
8245
- /** Ssm Param Path */
8246
- ssm_param_path?: string | null;
8247
- /**
8248
- * Token Lifetime Seconds
8249
- * @default 3600
8250
- */
8251
- token_lifetime_seconds?: number;
8252
- /** Token Request Client Id Field */
8253
- token_request_client_id_field?: string | null;
8254
- /** Token Request Client Secret Field */
8255
- token_request_client_secret_field?: string | null;
8256
- /** Token Response Path */
8257
- token_response_path?: string | null;
8258
- /** Token Ssm Param Path */
8259
- token_ssm_param_path?: string | null;
8260
- /** Token Url */
8261
- token_url?: string | null;
8262
- /**
8263
- * Type
8264
- * @enum {string}
8265
- */
8266
- type: "api_key_header" | "bearer_token" | "oauth2_client_credentials" | "json_token_exchange" | "oauth2_jwt_bearer" | "gcp_wif" | "smart_backend_services" | "bearer_token_exchange";
8267
- };
8268
8037
  /** AuthInfoResponse */
8269
8038
  AuthInfoResponse: {
8270
8039
  /**
@@ -8948,10 +8717,89 @@ export interface components {
8948
8717
  /** @description Tool usage statistics */
8949
8718
  tool_summary?: components["schemas"]["ToolSummary"] | null;
8950
8719
  };
8951
- /** CallIntelligenceMetricProjectionRequest */
8720
+ /**
8721
+ * CallIntelligenceMetricProjectionRequest
8722
+ * @description Internal projection request for the shared terminal artifact.
8723
+ */
8952
8724
  CallIntelligenceMetricProjectionRequest: {
8725
+ /** Call Id */
8726
+ call_id?: string | null;
8953
8727
  /** Call Sid */
8954
8728
  call_sid: string;
8729
+ /**
8730
+ * Channel Kind
8731
+ * @default voice
8732
+ */
8733
+ channel_kind?: string;
8734
+ /** Completion Reason */
8735
+ completion_reason?: string | null;
8736
+ /** Conversation Summary */
8737
+ conversation_summary?: {
8738
+ [key: string]: unknown;
8739
+ };
8740
+ /**
8741
+ * Created At
8742
+ * Format: date-time
8743
+ */
8744
+ created_at: string;
8745
+ /**
8746
+ * Direction
8747
+ * @enum {string}
8748
+ */
8749
+ direction: "inbound" | "outbound" | "playground" | "simulated" | "test";
8750
+ /** Duration Seconds */
8751
+ duration_seconds: number;
8752
+ /** Emotion Summary */
8753
+ emotion_summary?: {
8754
+ [key: string]: unknown;
8755
+ };
8756
+ /**
8757
+ * Final State
8758
+ * @default
8759
+ */
8760
+ final_state?: string;
8761
+ /** Latency Summary */
8762
+ latency_summary?: {
8763
+ [key: string]: unknown;
8764
+ };
8765
+ /** Operator Summary */
8766
+ operator_summary?: {
8767
+ [key: string]: unknown;
8768
+ };
8769
+ /** Quality Score */
8770
+ quality_score: number;
8771
+ /** Risk Summary */
8772
+ risk_summary?: {
8773
+ [key: string]: unknown;
8774
+ };
8775
+ /** Run Id */
8776
+ run_id?: string | null;
8777
+ /** Safety Summary */
8778
+ safety_summary?: {
8779
+ [key: string]: unknown;
8780
+ };
8781
+ /** Service Id */
8782
+ service_id?: string | null;
8783
+ /** Session Id */
8784
+ session_id?: string | null;
8785
+ /** Simulation */
8786
+ simulation?: {
8787
+ [key: string]: unknown;
8788
+ } | null;
8789
+ /**
8790
+ * Source
8791
+ * @enum {string}
8792
+ */
8793
+ source: "real" | "simulation" | "playground";
8794
+ /** Tool Summary */
8795
+ tool_summary?: {
8796
+ [key: string]: unknown;
8797
+ };
8798
+ /**
8799
+ * Workspace Id
8800
+ * Format: uuid
8801
+ */
8802
+ workspace_id: string;
8955
8803
  };
8956
8804
  /** CallListResponse */
8957
8805
  CallListResponse: {
@@ -9067,7 +8915,7 @@ export interface components {
9067
8915
  * Escalation Status
9068
8916
  * @description Escalation state if any
9069
8917
  */
9070
- escalation_status?: ("none" | "requested" | "connected" | "handback" | "completed") | null;
8918
+ escalation_status?: string | null;
9071
8919
  /**
9072
8920
  * Final State
9073
8921
  * @description Final conversation state
@@ -9410,7 +9258,7 @@ export interface components {
9410
9258
  * @description Delivery channels for surfaces.
9411
9259
  * @enum {string}
9412
9260
  */
9413
- ChannelType: "email" | "web";
9261
+ ChannelType: "email" | "web" | "sms";
9414
9262
  /**
9415
9263
  * ChannelVoicemailStatusEvent
9416
9264
  * @description Ringless voicemail status callback projected from VoiceDrop. ``status``
@@ -9437,97 +9285,6 @@ export interface components {
9437
9285
  */
9438
9286
  voicemail_id: string;
9439
9287
  };
9440
- /**
9441
- * CharlsonCategoryFlags
9442
- * @description Quan 2005 ICD-10 Charlson category flags (0/1).
9443
- */
9444
- CharlsonCategoryFlags: {
9445
- /**
9446
- * Any Malignancy
9447
- * @default 0
9448
- */
9449
- any_malignancy?: number;
9450
- /**
9451
- * Cerebrovascular Disease
9452
- * @default 0
9453
- */
9454
- cerebrovascular_disease?: number;
9455
- /**
9456
- * Chronic Pulmonary Disease
9457
- * @default 0
9458
- */
9459
- chronic_pulmonary_disease?: number;
9460
- /**
9461
- * Congestive Heart Failure
9462
- * @default 0
9463
- */
9464
- congestive_heart_failure?: number;
9465
- /**
9466
- * Dementia
9467
- * @default 0
9468
- */
9469
- dementia?: number;
9470
- /**
9471
- * Diabetes With Complication
9472
- * @default 0
9473
- */
9474
- diabetes_with_complication?: number;
9475
- /**
9476
- * Diabetes Without Complication
9477
- * @default 0
9478
- */
9479
- diabetes_without_complication?: number;
9480
- /**
9481
- * Hemiplegia Or Paraplegia
9482
- * @default 0
9483
- */
9484
- hemiplegia_or_paraplegia?: number;
9485
- /**
9486
- * Hiv Aids
9487
- * @default 0
9488
- */
9489
- hiv_aids?: number;
9490
- /**
9491
- * Metastatic Solid Tumor
9492
- * @default 0
9493
- */
9494
- metastatic_solid_tumor?: number;
9495
- /**
9496
- * Mild Liver Disease
9497
- * @default 0
9498
- */
9499
- mild_liver_disease?: number;
9500
- /**
9501
- * Moderate Severe Liver Disease
9502
- * @default 0
9503
- */
9504
- moderate_severe_liver_disease?: number;
9505
- /**
9506
- * Myocardial Infarction
9507
- * @default 0
9508
- */
9509
- myocardial_infarction?: number;
9510
- /**
9511
- * Peptic Ulcer Disease
9512
- * @default 0
9513
- */
9514
- peptic_ulcer_disease?: number;
9515
- /**
9516
- * Peripheral Vascular Disease
9517
- * @default 0
9518
- */
9519
- peripheral_vascular_disease?: number;
9520
- /**
9521
- * Renal Disease
9522
- * @default 0
9523
- */
9524
- renal_disease?: number;
9525
- /**
9526
- * Rheumatic Disease
9527
- * @default 0
9528
- */
9529
- rheumatic_disease?: number;
9530
- };
9531
9288
  /** ChatRequest */
9532
9289
  ChatRequest: {
9533
9290
  /**
@@ -9678,60 +9435,6 @@ export interface components {
9678
9435
  */
9679
9436
  recommendation: string;
9680
9437
  };
9681
- /** CohortDriverResponse */
9682
- CohortDriverResponse: {
9683
- /** Code */
9684
- code: string;
9685
- /** Count */
9686
- count: number;
9687
- /** Items */
9688
- items: components["schemas"]["CohortDriverRow"][];
9689
- /**
9690
- * Workspace Id
9691
- * Format: uuid
9692
- */
9693
- workspace_id: string;
9694
- };
9695
- /** CohortDriverRow */
9696
- CohortDriverRow: {
9697
- /** Age Bucket */
9698
- age_bucket: string;
9699
- /** As Of Date */
9700
- as_of_date?: string | null;
9701
- /** Code */
9702
- code: string;
9703
- /** Code Display */
9704
- code_display?: string | null;
9705
- /** Code System Normalized */
9706
- code_system_normalized: string;
9707
- /** Cohort Size */
9708
- cohort_size?: number | null;
9709
- /** Expected */
9710
- expected?: number | null;
9711
- /** Gender */
9712
- gender?: string | null;
9713
- /** Min Support Met */
9714
- min_support_met: boolean;
9715
- /** Observed */
9716
- observed: number;
9717
- /** Spr */
9718
- spr?: number | null;
9719
- /** Spr Ci Lower */
9720
- spr_ci_lower?: number | null;
9721
- /** Spr Ci Upper */
9722
- spr_ci_upper?: number | null;
9723
- /** Workspace Baseline Rate */
9724
- workspace_baseline_rate?: number | null;
9725
- /**
9726
- * Workspace Id
9727
- * Format: uuid
9728
- */
9729
- workspace_id: string;
9730
- /** Workspace Patients With Condition */
9731
- workspace_patients_with_condition?: number | null;
9732
- /** Workspace Population */
9733
- workspace_population?: number | null;
9734
- };
9735
9438
  /**
9736
9439
  * CollectionField
9737
9440
  * @description A single field to collect during a data collection state.
@@ -9934,9 +9637,9 @@ export interface components {
9934
9637
  /** At */
9935
9638
  at?: string | null;
9936
9639
  /** Concept */
9937
- concept: string;
9640
+ concept?: string | null;
9938
9641
  /** Similarity */
9939
- similarity: number;
9642
+ similarity?: number | null;
9940
9643
  };
9941
9644
  /**
9942
9645
  * ConcurrentStartBlockParams
@@ -10416,7 +10119,7 @@ export interface components {
10416
10119
  * Status
10417
10120
  * @enum {string}
10418
10121
  */
10419
- status: "active" | "frozen" | "closed" | "completed" | "in-progress" | "failed";
10122
+ status: "active" | "closed" | "completed" | "in-progress" | "failed";
10420
10123
  /**
10421
10124
  * Turn Count
10422
10125
  * @default 0
@@ -10468,8 +10171,6 @@ export interface components {
10468
10171
  provider: components["schemas"]["ProviderType"];
10469
10172
  /** Provider Thread Id */
10470
10173
  provider_thread_id: string;
10471
- /** Reactivated */
10472
- reactivated: boolean;
10473
10174
  /** Service Id */
10474
10175
  service_id?: string | null;
10475
10176
  /**
@@ -10535,58 +10236,6 @@ export interface components {
10535
10236
  */
10536
10237
  target: "production" | "staging";
10537
10238
  };
10538
- /** CooccurrenceResponse */
10539
- CooccurrenceResponse: {
10540
- /** Count */
10541
- count: number;
10542
- /** Items */
10543
- items: components["schemas"]["CooccurrenceRow"][];
10544
- /** Sort By */
10545
- sort_by: string;
10546
- /**
10547
- * Workspace Id
10548
- * Format: uuid
10549
- */
10550
- workspace_id: string;
10551
- };
10552
- /** CooccurrenceRow */
10553
- CooccurrenceRow: {
10554
- /** As Of Date */
10555
- as_of_date?: string | null;
10556
- /** Chi Square */
10557
- chi_square?: number | null;
10558
- /** Code A */
10559
- code_a: string;
10560
- /** Code A Display */
10561
- code_a_display?: string | null;
10562
- /** Code B */
10563
- code_b: string;
10564
- /** Code B Display */
10565
- code_b_display?: string | null;
10566
- /** Code System Normalized */
10567
- code_system_normalized: string;
10568
- /** Expected Both */
10569
- expected_both?: number | null;
10570
- /** Jaccard */
10571
- jaccard?: number | null;
10572
- /** Lift */
10573
- lift?: number | null;
10574
- /** Min Support Met */
10575
- min_support_met: boolean;
10576
- /** N Patients A */
10577
- n_patients_a?: number | null;
10578
- /** N Patients B */
10579
- n_patients_b?: number | null;
10580
- /** N Patients Both */
10581
- n_patients_both: number;
10582
- /** Pmi */
10583
- pmi?: number | null;
10584
- /**
10585
- * Workspace Id
10586
- * Format: uuid
10587
- */
10588
- workspace_id: string;
10589
- };
10590
10239
  /**
10591
10240
  * CorrectRequest
10592
10241
  * @description Submit corrected data — creates new event at confidence 1.0.
@@ -10702,19 +10351,6 @@ export interface components {
10702
10351
  /** Role */
10703
10352
  role: string;
10704
10353
  };
10705
- /** CreateBranchRequest */
10706
- CreateBranchRequest: {
10707
- /**
10708
- * Source
10709
- * @default staging
10710
- */
10711
- source?: string;
10712
- /**
10713
- * Ttl Seconds
10714
- * @default 3600
10715
- */
10716
- ttl_seconds?: number;
10717
- };
10718
10354
  /** CreateContextGraphRequest */
10719
10355
  CreateContextGraphRequest: {
10720
10356
  /** @default */
@@ -10831,49 +10467,6 @@ export interface components {
10831
10467
  */
10832
10468
  sync_strategy?: "manual" | "scheduled" | "webhook" | "continuous";
10833
10469
  };
10834
- /** CreateIntegrationRequest */
10835
- CreateIntegrationRequest: {
10836
- auth?: components["schemas"]["AuthConfigWithSecrets"] | null;
10837
- /**
10838
- * Base Url
10839
- * @default
10840
- */
10841
- base_url?: string;
10842
- display_name: components["schemas"]["NameString"];
10843
- /**
10844
- * Enabled
10845
- * @default true
10846
- */
10847
- enabled?: boolean;
10848
- /**
10849
- * Endpoints
10850
- * @default []
10851
- */
10852
- endpoints?: components["schemas"]["EndpointConfig-Input"][];
10853
- /** Mcp Args */
10854
- mcp_args?: string[] | null;
10855
- /** Mcp Command */
10856
- mcp_command?: string | null;
10857
- /** Mcp Headers */
10858
- mcp_headers?: {
10859
- [key: string]: string;
10860
- } | null;
10861
- /** Mcp Transport */
10862
- mcp_transport?: ("stdio" | "sse" | "http") | null;
10863
- /** Mcp Url */
10864
- mcp_url?: string | null;
10865
- /**
10866
- * Name
10867
- * @description Slug-like identifier, lowercase alphanumeric + hyphens/underscores.
10868
- */
10869
- name: string;
10870
- /**
10871
- * Protocol
10872
- * @default rest
10873
- * @enum {string}
10874
- */
10875
- protocol?: "rest" | "fhir" | "mcp";
10876
- };
10877
10470
  /** CreateLinkRequest */
10878
10471
  CreateLinkRequest: {
10879
10472
  customer_slug: components["schemas"]["SlugString"];
@@ -11132,43 +10725,24 @@ export interface components {
11132
10725
  * @description One durable simulation case to create.
11133
10726
  */
11134
10727
  CreateSimulationCaseItem: {
11135
- /** Assertions */
11136
- assertions?: {
11137
- [key: string]: unknown;
11138
- }[];
11139
- /** Constraints */
11140
- constraints?: {
11141
- [key: string]: unknown;
11142
- };
11143
10728
  /** Description */
11144
10729
  description: string;
11145
- /** Fixtures */
11146
- fixtures?: {
10730
+ /** Evals */
10731
+ evals?: (components["schemas"]["SimulationCaseMetricEval"] | components["schemas"]["SimulationCaseAssertionEval"])[];
10732
+ grounding?: components["schemas"]["SimulationCaseGrounding"];
10733
+ /** Metadata */
10734
+ metadata?: {
11147
10735
  [key: string]: unknown;
11148
10736
  };
11149
- /** Initial Message */
11150
- initial_message: string;
11151
10737
  /** Persona */
11152
10738
  persona?: {
11153
10739
  [key: string]: unknown;
11154
10740
  };
11155
- /**
11156
- * Provenance
11157
- * @default manual
11158
- */
11159
- provenance?: string;
11160
- /** Scenario Instructions */
11161
- scenario_instructions: string;
10741
+ scenario: components["schemas"]["SimulationCaseScenario"];
11162
10742
  /** Service Id */
11163
10743
  service_id?: string | null;
11164
10744
  /** Tags */
11165
10745
  tags?: string[];
11166
- /** Target Spec */
11167
- target_spec?: {
11168
- [key: string]: unknown;
11169
- };
11170
- /** Temperament */
11171
- temperament?: string | null;
11172
10746
  };
11173
10747
  /** CreateSimulationCasesRequest */
11174
10748
  CreateSimulationCasesRequest: {
@@ -11180,6 +10754,26 @@ export interface components {
11180
10754
  /** Cases */
11181
10755
  cases: components["schemas"]["SimulationCaseResponse"][];
11182
10756
  };
10757
+ /** CreateSimulationSuiteRequest */
10758
+ CreateSimulationSuiteRequest: {
10759
+ /** Case Ids */
10760
+ case_ids?: string[];
10761
+ /**
10762
+ * Description
10763
+ * @default
10764
+ */
10765
+ description?: string;
10766
+ /** Metadata */
10767
+ metadata?: {
10768
+ [key: string]: unknown;
10769
+ };
10770
+ /** Name */
10771
+ name: string;
10772
+ /** Required Tags */
10773
+ required_tags?: string[];
10774
+ /** Tags */
10775
+ tags?: string[];
10776
+ };
11183
10777
  /** CreateSkillRequest */
11184
10778
  CreateSkillRequest: {
11185
10779
  /**
@@ -11192,12 +10786,6 @@ export interface components {
11192
10786
  * @default true
11193
10787
  */
11194
10788
  checkpoint_enabled?: boolean;
11195
- /**
11196
- * Delivery
11197
- * @default interrupt
11198
- * @enum {string}
11199
- */
11200
- delivery?: "interrupt" | "queue";
11201
10789
  description: components["schemas"]["DescriptionString"];
11202
10790
  /**
11203
10791
  * Enable Caching
@@ -11219,7 +10807,7 @@ export interface components {
11219
10807
  * @default orchestrated
11220
10808
  * @enum {string}
11221
10809
  */
11222
- execution_tier?: "direct" | "orchestrated" | "computer_use";
10810
+ execution_tier?: "orchestrated" | "computer_use";
11223
10811
  /** Input Schema */
11224
10812
  input_schema: {
11225
10813
  [key: string]: unknown;
@@ -11265,8 +10853,6 @@ export interface components {
11265
10853
  * @default 60
11266
10854
  */
11267
10855
  timeout_s?: number;
11268
- /** Urgency Keywords */
11269
- urgency_keywords?: string[];
11270
10856
  /**
11271
10857
  * Use Structured Output
11272
10858
  * @default false
@@ -11405,6 +10991,114 @@ export interface components {
11405
10991
  name: components["schemas"]["StrippedNonemptyString"];
11406
10992
  slug: components["schemas"]["SlugString"];
11407
10993
  };
10994
+ /**
10995
+ * CustomTokenExchangeAuthDict
10996
+ * @description Pre-flight exchange that mints a downstream bearer.
10997
+ *
10998
+ * Replaces legacy ``json_token_exchange`` AND ``bearer_token_exchange``.
10999
+ * Downstream call always receives ``Authorization: Bearer {token}``. No
11000
+ * in-process caching — every call mints fresh.
11001
+ */
11002
+ CustomTokenExchangeAuthDict: {
11003
+ /**
11004
+ * Body Encoding
11005
+ * @enum {string}
11006
+ */
11007
+ body_encoding: "json" | "form";
11008
+ /** Exchange Url */
11009
+ exchange_url: string;
11010
+ /** Param Body Fields */
11011
+ param_body_fields: {
11012
+ [key: string]: components["schemas"]["ParamValueDict"];
11013
+ };
11014
+ /** Param Headers */
11015
+ param_headers: {
11016
+ [key: string]: components["schemas"]["ParamValueDict"];
11017
+ };
11018
+ /** Response Token Path */
11019
+ response_token_path: string;
11020
+ /** Static Body Fields */
11021
+ static_body_fields: {
11022
+ [key: string]: string;
11023
+ };
11024
+ /** Static Headers */
11025
+ static_headers: {
11026
+ [key: string]: string;
11027
+ };
11028
+ /**
11029
+ * Type
11030
+ * @constant
11031
+ */
11032
+ type: "custom_token_exchange";
11033
+ };
11034
+ /**
11035
+ * CustomTokenExchangeAuthRequest
11036
+ * @description Pre-flight exchange that mints a downstream bearer.
11037
+ *
11038
+ * Replaces legacy ``json_token_exchange`` AND ``bearer_token_exchange``.
11039
+ * Path-shaped fields (``response_token_path``, ``static_body_fields`` keys,
11040
+ * ``param_body_fields`` keys) MUST be valid RFC 6901 JSON Pointer — one
11041
+ * syntax throughout.
11042
+ */
11043
+ CustomTokenExchangeAuthRequest: {
11044
+ /**
11045
+ * Body Encoding
11046
+ * @description ``json`` (default) sends static_body_fields + param_body_fields as JSON; ``form`` sends as application/x-www-form-urlencoded.
11047
+ * @default json
11048
+ * @enum {string}
11049
+ */
11050
+ body_encoding?: "json" | "form";
11051
+ /**
11052
+ * Exchange Url
11053
+ * Format: uri
11054
+ */
11055
+ exchange_url: string;
11056
+ /**
11057
+ * Param Body Fields
11058
+ * @description Per-request params routed to body fields on the exchange request, keyed by RFC 6901 JSON Pointer.
11059
+ * @default {}
11060
+ */
11061
+ param_body_fields?: {
11062
+ [key: string]: components["schemas"]["ParamValueRequest"];
11063
+ };
11064
+ /**
11065
+ * Param Headers
11066
+ * @description Per-request params routed to headers on the exchange request, keyed by wire-name.
11067
+ * @default {}
11068
+ */
11069
+ param_headers?: {
11070
+ [key: string]: components["schemas"]["ParamValueRequest"];
11071
+ };
11072
+ /**
11073
+ * Response Token Path
11074
+ * @description RFC 6901 JSON Pointer into the exchange response body that extracts the bearer token
11075
+ * (e.g. ``/access_token`` or ``/data/bearer``). NO default — every config commits explicitly.
11076
+ */
11077
+ response_token_path: string;
11078
+ /**
11079
+ * Static Body Fields
11080
+ * @description Workspace-level body fields keyed by RFC 6901 JSON Pointer (e.g. ``/meta/tool_name``
11081
+ * for nested fields, or ``/foo`` for a root-level field). Values may contain ``{secret}``
11082
+ * placeholder.
11083
+ * @default {}
11084
+ */
11085
+ static_body_fields?: {
11086
+ [key: string]: string;
11087
+ };
11088
+ /**
11089
+ * Static Headers
11090
+ * @description Workspace-level headers on the exchange request (keys are RFC 7230 tchar). Values may contain ``{secret}`` placeholder.
11091
+ * @default {}
11092
+ */
11093
+ static_headers?: {
11094
+ [key: string]: string;
11095
+ };
11096
+ /**
11097
+ * @description discriminator enum property added by openapi-typescript
11098
+ * @enum {string}
11099
+ */
11100
+ type: "custom_token_exchange";
11101
+ };
11408
11102
  /**
11409
11103
  * CustomerAddress
11410
11104
  * @description Customer billing address.
@@ -12178,6 +11872,93 @@ export interface components {
12178
11872
  url?: string | null;
12179
11873
  };
12180
11874
  DescriptionString: string;
11875
+ /**
11876
+ * DesktopIntegrationResponse
11877
+ * @description Desktop variant — Computer Use connection fields. System-provisioned.
11878
+ */
11879
+ DesktopIntegrationResponse: {
11880
+ /**
11881
+ * Created At
11882
+ * Format: date-time
11883
+ * @description When the integration was created.
11884
+ */
11885
+ created_at: string;
11886
+ /** Desktop Allowed Domains */
11887
+ desktop_allowed_domains: string[];
11888
+ /** Desktop Display Height */
11889
+ desktop_display_height: number;
11890
+ /** Desktop Display Width */
11891
+ desktop_display_width: number;
11892
+ /** Desktop Gateway Host */
11893
+ desktop_gateway_host: string | null;
11894
+ /** Desktop Gateway Password Ssm Path */
11895
+ desktop_gateway_password_ssm_path: string | null;
11896
+ /** Desktop Gateway User Ssm Path */
11897
+ desktop_gateway_user_ssm_path: string | null;
11898
+ /** Desktop Host */
11899
+ desktop_host: string | null;
11900
+ /** Desktop Load Balance Info */
11901
+ desktop_load_balance_info: string | null;
11902
+ /** Desktop Password Ssm Path */
11903
+ desktop_password_ssm_path: string | null;
11904
+ /** Desktop Port */
11905
+ desktop_port: number | null;
11906
+ /** Desktop Rdp File */
11907
+ desktop_rdp_file: string | null;
11908
+ /** Desktop Remote App */
11909
+ desktop_remote_app: string | null;
11910
+ /** Desktop Remote App Cmd */
11911
+ desktop_remote_app_cmd: string | null;
11912
+ /** Desktop Security */
11913
+ desktop_security: ("nla" | "tls" | "rdp") | null;
11914
+ /** Desktop Start Url */
11915
+ desktop_start_url: string | null;
11916
+ /**
11917
+ * Desktop Type
11918
+ * @enum {string}
11919
+ */
11920
+ desktop_type: "rdp" | "vnc" | "browser";
11921
+ /** Desktop Username Ssm Path */
11922
+ desktop_username_ssm_path: string | null;
11923
+ /**
11924
+ * Display Name
11925
+ * @description Human-readable name.
11926
+ */
11927
+ display_name: string;
11928
+ /**
11929
+ * Enabled
11930
+ * @description Whether the integration is active.
11931
+ */
11932
+ enabled: boolean;
11933
+ /**
11934
+ * Id
11935
+ * Format: uuid
11936
+ * @description Integration ID.
11937
+ */
11938
+ id: string;
11939
+ /**
11940
+ * @description Discriminator. (enum property replaced by openapi-typescript)
11941
+ * @enum {string}
11942
+ */
11943
+ kind: "desktop";
11944
+ /**
11945
+ * Name
11946
+ * @description Slug-like identifier, immutable post-create.
11947
+ */
11948
+ name: string;
11949
+ /**
11950
+ * Updated At
11951
+ * Format: date-time
11952
+ * @description When the integration was last updated.
11953
+ */
11954
+ updated_at: string;
11955
+ /**
11956
+ * Workspace Id
11957
+ * Format: uuid
11958
+ * @description Workspace ID.
11959
+ */
11960
+ workspace_id: string;
11961
+ };
12181
11962
  /** DestroySessionResponse */
12182
11963
  DestroySessionResponse: {
12183
11964
  /**
@@ -12403,13 +12184,6 @@ export interface components {
12403
12184
  */
12404
12185
  setup_id: string;
12405
12186
  };
12406
- /** EmotionBurst */
12407
- EmotionBurst: {
12408
- /** Score */
12409
- score: number;
12410
- /** Type */
12411
- type: string;
12412
- };
12413
12187
  /** EmotionEvent */
12414
12188
  EmotionEvent: {
12415
12189
  /** Arousal */
@@ -12458,11 +12232,6 @@ export interface components {
12458
12232
  * @default null
12459
12233
  */
12460
12234
  provider?: string | null;
12461
- /**
12462
- * Recent Bursts
12463
- * @default null
12464
- */
12465
- recent_bursts?: components["schemas"]["EmotionBurst"][] | null;
12466
12235
  /**
12467
12236
  * Scores
12468
12237
  * @default null
@@ -12666,154 +12435,94 @@ export interface components {
12666
12435
  session_id: string;
12667
12436
  };
12668
12437
  /**
12669
- * EndpointConfig
12670
- * @description Configuration for a single integration endpoint.
12438
+ * EndpointResponse
12439
+ * @description Per-endpoint response (V186 flat shape).
12671
12440
  */
12672
- "EndpointConfig-Input": {
12673
- auth?: components["schemas"]["AuthConfig"] | null;
12674
- /** Base Url */
12675
- base_url?: string | null;
12441
+ EndpointResponse: {
12676
12442
  /**
12677
12443
  * Body Format
12444
+ * @description Outbound body encoding.
12678
12445
  * @default json
12679
12446
  * @enum {string}
12680
12447
  */
12681
12448
  body_format?: "json" | "form";
12682
- /** Description */
12449
+ /**
12450
+ * Description
12451
+ * @description LLM-facing description.
12452
+ */
12683
12453
  description: string;
12684
12454
  /**
12685
12455
  * Headers
12686
- * @default {}
12456
+ * @description Static request headers.
12687
12457
  */
12688
12458
  headers?: {
12689
12459
  [key: string]: string;
12690
12460
  };
12461
+ /**
12462
+ * Id
12463
+ * Format: uuid
12464
+ * @description Endpoint ID — stable, used in subsequent GET/PATCH/DELETE/test URLs.
12465
+ */
12466
+ id: string;
12691
12467
  /**
12692
12468
  * Input Schema
12693
- * @default {}
12469
+ * @description JSON Schema for the tool's input arguments.
12694
12470
  */
12695
12471
  input_schema?: {
12696
12472
  [key: string]: unknown;
12697
12473
  };
12698
12474
  /**
12699
- * Max Result Length
12475
+ * Max Response Length
12476
+ * @description Truncate the final rendered string to this many chars.
12700
12477
  * @default 0
12701
12478
  */
12702
- max_result_length?: number;
12479
+ max_response_length?: number;
12703
12480
  /**
12704
- * Method
12705
- * @default POST
12706
- * @enum {string}
12481
+ * Max Retries
12482
+ * @description Retry attempts on transient failures.
12483
+ * @default 2
12707
12484
  */
12708
- method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
12709
- /** Name */
12710
- name: string;
12711
- /** Path */
12712
- path: string;
12713
- request_transform?: components["schemas"]["RequestTransform"] | null;
12714
- /** Response Filter */
12715
- response_filter?: string[] | null;
12716
- /** Response Mapping */
12717
- response_mapping?: {
12718
- [key: string]: string;
12719
- } | null;
12485
+ max_retries?: number;
12720
12486
  /**
12721
- * Result Delivery
12722
- * @default interrupt
12487
+ * Method
12488
+ * @description HTTP method.
12723
12489
  * @enum {string}
12724
12490
  */
12725
- result_delivery?: "interrupt" | "queue";
12726
- /** Result Key */
12727
- result_key?: string | null;
12728
- /** Result Template */
12729
- result_template?: string | null;
12491
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
12730
12492
  /**
12731
- * @default {
12732
- * "max_retries": 2,
12733
- * "retry_on_status": [
12734
- * 429,
12735
- * 502,
12736
- * 503,
12737
- * 504
12738
- * ]
12739
- * }
12493
+ * Name
12494
+ * @description Slug-like identifier. Unique per integration; immutable post-create.
12740
12495
  */
12741
- retry_config?: components["schemas"]["RetryConfig"];
12742
- };
12743
- /**
12744
- * EndpointConfig
12745
- * @description Configuration for a single integration endpoint.
12746
- */
12747
- "EndpointConfig-Output": {
12748
- auth?: components["schemas"]["AuthConfig"] | null;
12749
- /** Base Url */
12750
- base_url?: string | null;
12496
+ name: string;
12751
12497
  /**
12752
- * Body Format
12753
- * @default json
12754
- * @enum {string}
12498
+ * Path
12499
+ * @description URL path appended to the integration's base_url.
12755
12500
  */
12756
- body_format?: "json" | "form";
12757
- /** Description */
12758
- description: string;
12501
+ path: string;
12759
12502
  /**
12760
- * Headers
12761
- * @default {}
12503
+ * Response Template
12504
+ * @description Jinja template rendered against the parsed JSON response.
12762
12505
  */
12763
- headers?: {
12764
- [key: string]: string;
12765
- };
12506
+ response_template?: string | null;
12766
12507
  /**
12767
- * Input Schema
12768
- * @default {}
12769
- */
12770
- input_schema?: {
12771
- [key: string]: unknown;
12772
- };
12773
- /**
12774
- * Max Result Length
12775
- * @default 0
12508
+ * Retry On Status
12509
+ * @description HTTP status codes that trigger a retry.
12776
12510
  */
12777
- max_result_length?: number;
12511
+ retry_on_status?: number[];
12778
12512
  /**
12779
- * Method
12780
- * @default POST
12781
- * @enum {string}
12513
+ * Static Body Fields
12514
+ * @description Static body fields merged into every request. Keys are RFC 6901 JSON Pointers
12515
+ * (e.g. ``/meta/tool_name`` for nested, ``/foo`` for a root-level field).
12782
12516
  */
12783
- method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
12784
- /** Name */
12785
- name: string;
12786
- /** Path */
12787
- path: string;
12788
- request_transform?: components["schemas"]["RequestTransform"] | null;
12789
- /** Response Filter */
12790
- response_filter?: string[] | null;
12791
- /** Response Mapping */
12792
- response_mapping?: {
12517
+ static_body_fields?: {
12793
12518
  [key: string]: string;
12794
- } | null;
12795
- /**
12796
- * Result Delivery
12797
- * @default interrupt
12798
- * @enum {string}
12799
- */
12800
- result_delivery?: "interrupt" | "queue";
12801
- /** Result Key */
12802
- result_key?: string | null;
12803
- /** Result Template */
12804
- result_template?: string | null;
12519
+ };
12805
12520
  /**
12806
- * @default {
12807
- * "max_retries": 2,
12808
- * "retry_on_status": [
12809
- * 429,
12810
- * 502,
12811
- * 503,
12812
- * 504
12813
- * ]
12814
- * }
12521
+ * Timeout Seconds
12522
+ * @description Per-request timeout.
12523
+ * @default 30
12815
12524
  */
12816
- retry_config?: components["schemas"]["RetryConfig"];
12525
+ timeout_seconds?: number;
12817
12526
  };
12818
12527
  /** EnrichmentHistoryEntry */
12819
12528
  EnrichmentHistoryEntry: {
@@ -13698,9 +13407,9 @@ export interface components {
13698
13407
  similarity?: number | null;
13699
13408
  /**
13700
13409
  * Status
13701
- * @enum {string}
13410
+ * @default none
13702
13411
  */
13703
- status: "none" | "requested" | "connected" | "handback" | "completed";
13412
+ status?: string;
13704
13413
  /** Trigger */
13705
13414
  trigger?: string | null;
13706
13415
  /** Trigger Source */
@@ -13842,35 +13551,6 @@ export interface components {
13842
13551
  /** Sources */
13843
13552
  sources: string[];
13844
13553
  };
13845
- /**
13846
- * ExchangeHeaderMapping
13847
- * @description One header on a token-exchange request, sourced from a request param.
13848
- *
13849
- * Used by ``bearer_token_exchange`` auth type. Each mapping declares which
13850
- * request param feeds which exchange-call header. The same param values
13851
- * also form the per-call cache key, so distinct (e.g.) user_ids yield
13852
- * distinct cached tokens.
13853
- *
13854
- * Examples:
13855
- * ``ExchangeHeaderMapping(header_name="X-USER-ID", param_name="user_id")``
13856
- * ``ExchangeHeaderMapping(header_name="X-Org-ID", param_name="org_id")``
13857
- */
13858
- ExchangeHeaderMapping: {
13859
- /**
13860
- * Consume
13861
- * @default true
13862
- */
13863
- consume?: boolean;
13864
- /** Header Name */
13865
- header_name: string;
13866
- /** Param Name */
13867
- param_name: string;
13868
- /**
13869
- * Required
13870
- * @default true
13871
- */
13872
- required?: boolean;
13873
- };
13874
13554
  /** ExecutePanelRequest */
13875
13555
  ExecutePanelRequest: {
13876
13556
  /**
@@ -15336,110 +15016,6 @@ export interface components {
15336
15016
  /** Size Bytes */
15337
15017
  size_bytes: number;
15338
15018
  };
15339
- /** IntegrationResponse */
15340
- IntegrationResponse: {
15341
- /** @description Authentication configuration */
15342
- auth?: components["schemas"]["AuthConfig"] | null;
15343
- /**
15344
- * Base Url
15345
- * @description Base URL for REST/FHIR integrations
15346
- * @default
15347
- */
15348
- base_url?: string;
15349
- /**
15350
- * Builtin
15351
- * @description Whether this is a system-provided integration
15352
- * @default false
15353
- */
15354
- builtin?: boolean;
15355
- /**
15356
- * Created At
15357
- * Format: date-time
15358
- * @description When the integration was created
15359
- */
15360
- created_at: string;
15361
- /**
15362
- * Display Name
15363
- * @description Human-readable name
15364
- */
15365
- display_name: string;
15366
- /**
15367
- * Enabled
15368
- * @description Whether the integration is active
15369
- */
15370
- enabled: boolean;
15371
- /**
15372
- * Endpoints
15373
- * @description Configured endpoints
15374
- */
15375
- endpoints?: components["schemas"]["EndpointConfig-Output"][];
15376
- /**
15377
- * Id
15378
- * Format: uuid
15379
- * @description Integration ID
15380
- */
15381
- id: string;
15382
- /**
15383
- * Last Test Status
15384
- * @description Status of the most recent connection probe. ``None`` if never tested.
15385
- */
15386
- last_test_status?: ("healthy" | "auth_failed" | "unreachable" | "timeout" | "ssl_error" | "misconfigured") | null;
15387
- /**
15388
- * Last Tested At
15389
- * @description When this integration was last successfully or unsuccessfully tested (server UTC).
15390
- */
15391
- last_tested_at?: string | null;
15392
- /**
15393
- * Mcp Args
15394
- * @description MCP stdio command arguments
15395
- */
15396
- mcp_args?: string[] | null;
15397
- /**
15398
- * Mcp Command
15399
- * @description MCP stdio command
15400
- */
15401
- mcp_command?: string | null;
15402
- /**
15403
- * Mcp Headers
15404
- * @description MCP request headers
15405
- */
15406
- mcp_headers?: {
15407
- [key: string]: string;
15408
- } | null;
15409
- /**
15410
- * Mcp Transport
15411
- * @description MCP transport type
15412
- */
15413
- mcp_transport?: ("stdio" | "sse" | "http") | null;
15414
- /**
15415
- * Mcp Url
15416
- * @description MCP server URL (SSE/HTTP)
15417
- */
15418
- mcp_url?: string | null;
15419
- /**
15420
- * Name
15421
- * @description Slug-like identifier
15422
- */
15423
- name: string;
15424
- /**
15425
- * Protocol
15426
- * @description Communication protocol
15427
- * @enum {string}
15428
- */
15429
- protocol: "rest" | "fhir" | "mcp" | "desktop";
15430
- /**
15431
- * Updated At
15432
- * Format: date-time
15433
- * @description When the integration was last updated
15434
- */
15435
- updated_at: string;
15436
- /**
15437
- * Workspace Id
15438
- * Format: uuid
15439
- * @description Workspace ID
15440
- */
15441
- workspace_id: string;
15442
- };
15443
15019
  /**
15444
15020
  * IntegrationToolRef
15445
15021
  * @description Reference to an integration endpoint by integration + endpoint name.
@@ -15477,21 +15053,96 @@ export interface components {
15477
15053
  turn_taking_quality?: string | null;
15478
15054
  };
15479
15055
  /**
15480
- * InternalIntegrationResponse
15481
- * @description Wire format matching platform_lib.integrations.models.IntegrationConfig.
15056
+ * InternalDesktopIntegrationItem
15057
+ * @description Wire format for desktop integrations consumed by agent-engine.
15482
15058
  */
15483
- InternalIntegrationResponse: {
15484
- auth?: components["schemas"]["AuthConfig"] | null;
15059
+ InternalDesktopIntegrationItem: {
15485
15060
  /**
15486
- * Base Url
15487
- * @default
15061
+ * Desktop Allowed Domains
15062
+ * @default []
15488
15063
  */
15489
- base_url?: string;
15064
+ desktop_allowed_domains?: string[];
15065
+ /**
15066
+ * Desktop Display Height
15067
+ * @default 768
15068
+ */
15069
+ desktop_display_height?: number;
15070
+ /**
15071
+ * Desktop Display Width
15072
+ * @default 1024
15073
+ */
15074
+ desktop_display_width?: number;
15075
+ /** Desktop Gateway Host */
15076
+ desktop_gateway_host?: string | null;
15077
+ /** Desktop Gateway Password Ssm Path */
15078
+ desktop_gateway_password_ssm_path?: string | null;
15079
+ /** Desktop Gateway User Ssm Path */
15080
+ desktop_gateway_user_ssm_path?: string | null;
15081
+ /** Desktop Host */
15082
+ desktop_host?: string | null;
15083
+ /** Desktop Load Balance Info */
15084
+ desktop_load_balance_info?: string | null;
15085
+ /** Desktop Password Ssm Path */
15086
+ desktop_password_ssm_path?: string | null;
15087
+ /** Desktop Port */
15088
+ desktop_port?: number | null;
15089
+ /** Desktop Rdp File */
15090
+ desktop_rdp_file?: string | null;
15091
+ /** Desktop Remote App */
15092
+ desktop_remote_app?: string | null;
15093
+ /** Desktop Remote App Cmd */
15094
+ desktop_remote_app_cmd?: string | null;
15095
+ /** Desktop Security */
15096
+ desktop_security?: ("nla" | "tls" | "rdp") | null;
15097
+ /** Desktop Start Url */
15098
+ desktop_start_url?: string | null;
15099
+ /**
15100
+ * Desktop Type
15101
+ * @enum {string}
15102
+ */
15103
+ desktop_type: "rdp" | "vnc" | "browser";
15104
+ /** Desktop Username Ssm Path */
15105
+ desktop_username_ssm_path?: string | null;
15106
+ /** Display Name */
15107
+ display_name: string;
15490
15108
  /**
15491
- * Builtin
15492
- * @default false
15109
+ * Enabled
15110
+ * @default true
15493
15111
  */
15494
- builtin?: boolean;
15112
+ enabled?: boolean;
15113
+ /**
15114
+ * Id
15115
+ * Format: uuid
15116
+ */
15117
+ id: string;
15118
+ /**
15119
+ * Kind
15120
+ * @default desktop
15121
+ * @constant
15122
+ */
15123
+ kind?: "desktop";
15124
+ /** Name */
15125
+ name: string;
15126
+ /**
15127
+ * Workspace Id
15128
+ * Format: uuid
15129
+ */
15130
+ workspace_id: string;
15131
+ };
15132
+ /** InternalIntegrationsListResponse */
15133
+ InternalIntegrationsListResponse: {
15134
+ /** Items */
15135
+ items: (components["schemas"]["InternalRestIntegrationItem"] | components["schemas"]["InternalDesktopIntegrationItem"])[];
15136
+ };
15137
+ /**
15138
+ * InternalRestIntegrationItem
15139
+ * @description Wire format for REST integrations consumed by agent-engine.
15140
+ */
15141
+ InternalRestIntegrationItem: {
15142
+ /** Auth */
15143
+ auth?: components["schemas"]["StaticHeaderAuthDict"] | components["schemas"]["OAuth2ClientCredentialsAuthDict"] | components["schemas"]["OAuth2JwtBearerAuthDict"] | components["schemas"]["CustomTokenExchangeAuthDict"] | null;
15144
+ /** Base Url */
15145
+ base_url: string;
15495
15146
  /** Display Name */
15496
15147
  display_name: string;
15497
15148
  /**
@@ -15503,42 +15154,26 @@ export interface components {
15503
15154
  * Endpoints
15504
15155
  * @default []
15505
15156
  */
15506
- endpoints?: components["schemas"]["EndpointConfig-Output"][];
15157
+ endpoints?: components["schemas"]["EndpointResponse"][];
15507
15158
  /**
15508
15159
  * Id
15509
15160
  * Format: uuid
15510
15161
  */
15511
15162
  id: string;
15512
- /** Mcp Args */
15513
- mcp_args?: string[] | null;
15514
- /** Mcp Command */
15515
- mcp_command?: string | null;
15516
- /** Mcp Headers */
15517
- mcp_headers?: {
15518
- [key: string]: string;
15519
- } | null;
15520
- /** Mcp Transport */
15521
- mcp_transport?: string | null;
15522
- /** Mcp Url */
15523
- mcp_url?: string | null;
15524
- /** Name */
15525
- name: string;
15526
15163
  /**
15527
- * Protocol
15164
+ * Kind
15528
15165
  * @default rest
15166
+ * @constant
15529
15167
  */
15530
- protocol?: string;
15168
+ kind?: "rest";
15169
+ /** Name */
15170
+ name: string;
15531
15171
  /**
15532
15172
  * Workspace Id
15533
15173
  * Format: uuid
15534
15174
  */
15535
15175
  workspace_id: string;
15536
15176
  };
15537
- /** InternalIntegrationsListResponse */
15538
- InternalIntegrationsListResponse: {
15539
- /** Items */
15540
- items: components["schemas"]["InternalIntegrationResponse"][];
15541
- };
15542
15177
  /**
15543
15178
  * InternalServiceConfigResponse
15544
15179
  * @description Composite response matching ServiceConfig shape for voice-agent consumption.
@@ -15560,12 +15195,6 @@ export interface components {
15560
15195
  * @default true
15561
15196
  */
15562
15197
  checkpoint_enabled?: boolean;
15563
- /**
15564
- * Delivery
15565
- * @default interrupt
15566
- * @enum {string}
15567
- */
15568
- delivery?: "interrupt" | "queue";
15569
15198
  /** Description */
15570
15199
  description: string;
15571
15200
  /**
@@ -15588,7 +15217,7 @@ export interface components {
15588
15217
  * @default orchestrated
15589
15218
  * @enum {string}
15590
15219
  */
15591
- execution_tier?: "direct" | "orchestrated" | "computer_use";
15220
+ execution_tier?: "orchestrated" | "computer_use";
15592
15221
  /**
15593
15222
  * Id
15594
15223
  * Format: uuid
@@ -15653,11 +15282,6 @@ export interface components {
15653
15282
  * @default 60
15654
15283
  */
15655
15284
  timeout_s?: number;
15656
- /**
15657
- * Urgency Keywords
15658
- * @default []
15659
- */
15660
- urgency_keywords?: string[];
15661
15285
  /**
15662
15286
  * Use Structured Output
15663
15287
  * @default false
@@ -16145,6 +15769,11 @@ export interface components {
16145
15769
  */
16146
15770
  max_upload_bytes: number;
16147
15771
  };
15772
+ /** ListSimulationSuitesResponse */
15773
+ ListSimulationSuitesResponse: {
15774
+ /** Suites */
15775
+ suites: components["schemas"]["SimulationSuiteResponse"][];
15776
+ };
16148
15777
  /**
16149
15778
  * LookupResponse
16150
15779
  * @description Autocompletion results for a surface lookup field.
@@ -16512,7 +16141,7 @@ export interface components {
16512
16141
  * @default static
16513
16142
  * @enum {string}
16514
16143
  */
16515
- extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_sentiment" | "ai_query" | "sql_expr";
16144
+ extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_query" | "sql_expr";
16516
16145
  /**
16517
16146
  * Granularity
16518
16147
  * @default aggregate
@@ -16657,11 +16286,11 @@ export interface components {
16657
16286
  extract_path?: string | null;
16658
16287
  /**
16659
16288
  * Extraction Mode
16660
- * @description 'static' — JSONB path extraction (fast, free). 'ai_classify' — AI classification into user-defined labels (free). 'ai_extract' — AI field extraction from text (free). 'ai_sentiment' — AI sentiment analysis (free). 'ai_query' — LLM-powered extraction with custom prompt (uses model_tier). 'sql_expr' — Raw SQL expression for computed metrics.
16289
+ * @description 'static' — JSONB path extraction (fast, free). 'ai_classify' — AI classification into user-defined labels (free). 'ai_extract' — AI field extraction from text (free). 'ai_query' — LLM-powered extraction with custom prompt (uses model_tier). 'sql_expr' — Raw SQL expression for computed metrics.
16661
16290
  * @default static
16662
16291
  * @enum {string}
16663
16292
  */
16664
- extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_sentiment" | "ai_query" | "sql_expr";
16293
+ extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_query" | "sql_expr";
16665
16294
  /**
16666
16295
  * Freshness Sla Minutes
16667
16296
  * @description Max acceptable staleness in minutes before alerting. Default: 60 (1 hour).
@@ -16699,7 +16328,7 @@ export interface components {
16699
16328
  metric_type: "numerical" | "categorical" | "boolean";
16700
16329
  /**
16701
16330
  * Model Tier
16702
- * @description AI model tier for extraction quality/cost tradeoff. 'free' — platform managed models (ai_classify, ai_extract, ai_sentiment). 'fast' — optimized for simple classification, low latency. 'balanced' — quality scoring, moderate reasoning. 'max' — complex analysis, multi-step reasoning. 'custom' — use ai_query_endpoint directly. When extraction_mode='ai_query' and ai_query_endpoint is not set, platform resolves model_tier to the optimal model automatically.
16331
+ * @description AI model tier for extraction quality/cost tradeoff. 'free' — platform managed models (ai_classify, ai_extract). 'fast' — optimized for simple classification, low latency. 'balanced' — quality scoring, moderate reasoning. 'max' — complex analysis, multi-step reasoning. 'custom' — use ai_query_endpoint directly. When extraction_mode='ai_query' and ai_query_endpoint is not set, platform resolves model_tier to the optimal model automatically.
16703
16332
  * @default free
16704
16333
  * @enum {string}
16705
16334
  */
@@ -17029,6 +16658,172 @@ export interface components {
17029
16658
  /** Value */
17030
16659
  value: number | null;
17031
16660
  };
16661
+ /**
16662
+ * OAuth2ClientCredentialsAuthDict
16663
+ * @description OAuth 2.0 Client Credentials Grant — RFC 6749 § 4.4.
16664
+ */
16665
+ OAuth2ClientCredentialsAuthDict: {
16666
+ /**
16667
+ * Client Auth Method
16668
+ * @enum {string}
16669
+ */
16670
+ client_auth_method: "basic" | "body";
16671
+ /** Client Id */
16672
+ client_id: string;
16673
+ /** Scopes */
16674
+ scopes: string[] | null;
16675
+ /** Token Url */
16676
+ token_url: string;
16677
+ /**
16678
+ * Type
16679
+ * @constant
16680
+ */
16681
+ type: "oauth2_client_credentials";
16682
+ };
16683
+ /**
16684
+ * OAuth2ClientCredentialsAuthRequest
16685
+ * @description OAuth 2.0 Client Credentials Grant — RFC 6749 § 4.4.
16686
+ *
16687
+ * Strict RFC 6749 § 4.4.2 access token request: ``grant_type`` + optional
16688
+ * ``scope``. Client authentication (RFC 6749 § 2.3.1) is orthogonal —
16689
+ * ``client_auth_method`` picks between HTTP Basic auth and form-body
16690
+ * credentials. RFC 8707 ``resource`` and non-standard ``audience`` extensions
16691
+ * are NOT supported here — add them back when a vendor needs one.
16692
+ */
16693
+ OAuth2ClientCredentialsAuthRequest: {
16694
+ /**
16695
+ * Client Auth Method
16696
+ * @description RFC 6749 § 2.3.1: ``basic`` sends client_id+secret as HTTP Basic auth; ``body`` sends them in the form body.
16697
+ * @default basic
16698
+ * @enum {string}
16699
+ */
16700
+ client_auth_method?: "basic" | "body";
16701
+ /** Client Id */
16702
+ client_id: string;
16703
+ /** Scopes */
16704
+ scopes?: string[] | null;
16705
+ /**
16706
+ * Token Url
16707
+ * Format: uri
16708
+ */
16709
+ token_url: string;
16710
+ /**
16711
+ * @description discriminator enum property added by openapi-typescript
16712
+ * @enum {string}
16713
+ */
16714
+ type: "oauth2_client_credentials";
16715
+ };
16716
+ /**
16717
+ * OAuth2JwtBearerAuthDict
16718
+ * @description OAuth 2.0 JWT Bearer Token Grant — RFC 7523 § 2.1.
16719
+ */
16720
+ OAuth2JwtBearerAuthDict: {
16721
+ /**
16722
+ * Assertion Algorithm
16723
+ * @enum {string}
16724
+ */
16725
+ assertion_algorithm: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | "ES256" | "ES384" | "ES512";
16726
+ /** Assertion Audience */
16727
+ assertion_audience: string;
16728
+ /** Assertion Issuer */
16729
+ assertion_issuer: string;
16730
+ /** Assertion Lifetime Seconds */
16731
+ assertion_lifetime_seconds: number;
16732
+ /** Assertion Subject */
16733
+ assertion_subject: string;
16734
+ /** Extra Claims */
16735
+ extra_claims: {
16736
+ [key: string]: unknown;
16737
+ };
16738
+ /** Include Iat */
16739
+ include_iat: boolean;
16740
+ /** Include Jti */
16741
+ include_jti: boolean;
16742
+ /** Scopes */
16743
+ scopes: string[] | null;
16744
+ /** Token Url */
16745
+ token_url: string;
16746
+ /**
16747
+ * Type
16748
+ * @constant
16749
+ */
16750
+ type: "oauth2_jwt_bearer";
16751
+ };
16752
+ /**
16753
+ * OAuth2JwtBearerAuthRequest
16754
+ * @description OAuth 2.0 JWT Bearer Token Grant — RFC 7523 § 2.1.
16755
+ */
16756
+ OAuth2JwtBearerAuthRequest: {
16757
+ /**
16758
+ * Assertion Algorithm
16759
+ * @default RS256
16760
+ * @enum {string}
16761
+ */
16762
+ assertion_algorithm?: "RS256" | "RS384" | "RS512" | "PS256" | "PS384" | "PS512" | "ES256" | "ES384" | "ES512";
16763
+ /**
16764
+ * Assertion Audience
16765
+ * @description RFC 7523 ``aud`` claim — typically the token_url.
16766
+ */
16767
+ assertion_audience: string;
16768
+ /**
16769
+ * Assertion Issuer
16770
+ * @description RFC 7523 ``iss`` claim — typically the service-account email or client_id.
16771
+ */
16772
+ assertion_issuer: string;
16773
+ /**
16774
+ * Assertion Lifetime Seconds
16775
+ * @default 3600
16776
+ */
16777
+ assertion_lifetime_seconds?: number;
16778
+ /**
16779
+ * Assertion Subject
16780
+ * @description RFC 7523 § 3 ``sub`` claim — MUST be present. For service-account flows
16781
+ * where the client is its own subject, set to the same value as ``assertion_issuer``.
16782
+ * Use a different value only for delegation / impersonation grants.
16783
+ */
16784
+ assertion_subject: string;
16785
+ /**
16786
+ * Extra Claims
16787
+ * @description RFC 7523 § 3 item 8 — arbitrary additional JWT claims (e.g. Google's
16788
+ * ``scope`` claim, Azure's tenant claim). Merged BEFORE the required claims so
16789
+ * IdP-specific extensions can't override ``iss`` / ``sub`` / ``aud`` / ``exp`` /
16790
+ * ``iat`` / ``nbf`` / ``jti``.
16791
+ * @default {}
16792
+ */
16793
+ extra_claims?: {
16794
+ [key: string]: unknown;
16795
+ };
16796
+ /**
16797
+ * Include Iat
16798
+ * @description RFC 7523 § 3 item 6 — ``iat`` claim set to mint time. Most IdPs (Google, Azure)
16799
+ * require it for anti-replay; leave True unless a specific vendor rejects it.
16800
+ * @default true
16801
+ */
16802
+ include_iat?: boolean;
16803
+ /**
16804
+ * Include Jti
16805
+ * @description When True, generate a fresh ``jti`` (anti-replay) on every mint.
16806
+ * @default true
16807
+ */
16808
+ include_jti?: boolean;
16809
+ /**
16810
+ * Scopes
16811
+ * @description RFC 7523 § 2.1 ``scope`` form-body parameter. Vendors that put scopes inside
16812
+ * the JWT instead (Google service accounts) use ``extra_claims = {"scope": "..."}``
16813
+ * and leave this empty.
16814
+ */
16815
+ scopes?: string[] | null;
16816
+ /**
16817
+ * Token Url
16818
+ * Format: uri
16819
+ */
16820
+ token_url: string;
16821
+ /**
16822
+ * @description discriminator enum property added by openapi-typescript
16823
+ * @enum {string}
16824
+ */
16825
+ type: "oauth2_jwt_bearer";
16826
+ };
17032
16827
  ObserverSSEEvent: components["schemas"]["AgentTranscriptDeltaEvent"] | components["schemas"]["AgentTranscriptEvent"] | components["schemas"]["BargeInEvent"] | components["schemas"]["CompoundEmotionEvent"] | components["schemas"]["EmotionEvent"] | components["schemas"]["EmpathyClassifiedEvent"] | components["schemas"]["ForwardCallResolvedEvent"] | components["schemas"]["LatencyEvent"] | components["schemas"]["NavTimingEvent"] | components["schemas"]["ParticipantJoinedEvent"] | components["schemas"]["ParticipantLeftEvent"] | components["schemas"]["SessionEndEvent"] | components["schemas"]["SessionInfoEvent"] | components["schemas"]["SessionStartEvent"] | components["schemas"]["SpeakerMutedEvent"] | components["schemas"]["StateTransitionEvent"] | components["schemas"]["ToolCallCompletedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["UserTranscriptEvent"] | components["schemas"]["VoiceContextAppliedEvent"];
17033
16828
  /** OcrRequest */
17034
16829
  OcrRequest: {
@@ -17706,17 +17501,6 @@ export interface components {
17706
17501
  /** Total */
17707
17502
  total?: number | null;
17708
17503
  };
17709
- /** PaginatedResponse[IntegrationResponse] */
17710
- PaginatedResponse_IntegrationResponse_: {
17711
- /** Continuation Token */
17712
- continuation_token?: number | null;
17713
- /** Has More */
17714
- has_more: boolean;
17715
- /** Items */
17716
- items: components["schemas"]["IntegrationResponse"][];
17717
- /** Total */
17718
- total?: number | null;
17719
- };
17720
17504
  /** PaginatedResponse[InvoiceItem] */
17721
17505
  PaginatedResponse_InvoiceItem_: {
17722
17506
  /** Continuation Token */
@@ -17905,6 +17689,32 @@ export interface components {
17905
17689
  */
17906
17690
  rows: unknown[][];
17907
17691
  };
17692
+ /**
17693
+ * ParamValueDict
17694
+ * @description Routing target for one per-request parameter on the exchange call.
17695
+ *
17696
+ * Paired with a wire-name (header / body-field key) on
17697
+ * ``CustomTokenExchangeAuthDict.param_headers`` / ``param_body_fields``.
17698
+ */
17699
+ ParamValueDict: {
17700
+ /** Description */
17701
+ description: string;
17702
+ /** Param Name */
17703
+ param_name: string;
17704
+ };
17705
+ /**
17706
+ * ParamValueRequest
17707
+ * @description Routing target for a single per-request parameter on the exchange call.
17708
+ *
17709
+ * Paired with a wire-name (header / body-field key) on
17710
+ * ``CustomTokenExchangeAuthRequest.param_headers`` / ``param_body_fields``.
17711
+ */
17712
+ ParamValueRequest: {
17713
+ /** Description */
17714
+ description: string;
17715
+ /** Param Name */
17716
+ param_name: string;
17717
+ };
17908
17718
  /** Participant */
17909
17719
  Participant: {
17910
17720
  /** Display Name */
@@ -17995,111 +17805,6 @@ export interface components {
17995
17805
  */
17996
17806
  type: "participant_left";
17997
17807
  };
17998
- /** PatientBurdenDetailResponse */
17999
- PatientBurdenDetailResponse: {
18000
- /** Age Adjusted Charlson Index */
18001
- age_adjusted_charlson_index: number;
18002
- /** Age Bucket Now */
18003
- age_bucket_now?: string | null;
18004
- /** Age Cci Points */
18005
- age_cci_points: number;
18006
- /** Age Now */
18007
- age_now?: number | null;
18008
- /** As Of Date */
18009
- as_of_date?: string | null;
18010
- charlson_flags: components["schemas"]["CharlsonCategoryFlags"];
18011
- /** Charlson Index */
18012
- charlson_index: number;
18013
- /** Days Since Most Recent Onset */
18014
- days_since_most_recent_onset?: number | null;
18015
- /** Gender */
18016
- gender?: string | null;
18017
- /** Most Recent Active Onset Date */
18018
- most_recent_active_onset_date?: string | null;
18019
- /** N Active Conditions */
18020
- n_active_conditions: number;
18021
- /** N Distinct Code Systems */
18022
- n_distinct_code_systems?: number | null;
18023
- /** N Distinct Codes */
18024
- n_distinct_codes?: number | null;
18025
- /** N Lifetime Condition Records */
18026
- n_lifetime_condition_records?: number | null;
18027
- /** N Lifetime Distinct Codes */
18028
- n_lifetime_distinct_codes?: number | null;
18029
- /** Oldest Active Onset Date */
18030
- oldest_active_onset_date?: string | null;
18031
- /**
18032
- * Patient Entity Id
18033
- * Format: uuid
18034
- */
18035
- patient_entity_id: string;
18036
- /** Recent Onset Count 365D */
18037
- recent_onset_count_365d?: number | null;
18038
- /**
18039
- * Workspace Id
18040
- * Format: uuid
18041
- */
18042
- workspace_id: string;
18043
- };
18044
- /** PatientBurdenResponse */
18045
- PatientBurdenResponse: {
18046
- /** Count */
18047
- count: number;
18048
- /** Items */
18049
- items: components["schemas"]["PatientBurdenRow"][];
18050
- /** Sort By */
18051
- sort_by: string;
18052
- /**
18053
- * Workspace Id
18054
- * Format: uuid
18055
- */
18056
- workspace_id: string;
18057
- };
18058
- /** PatientBurdenRow */
18059
- PatientBurdenRow: {
18060
- /** Age Adjusted Charlson Index */
18061
- age_adjusted_charlson_index: number;
18062
- /** Age Bucket Now */
18063
- age_bucket_now?: string | null;
18064
- /** Age Cci Points */
18065
- age_cci_points: number;
18066
- /** Age Now */
18067
- age_now?: number | null;
18068
- /** As Of Date */
18069
- as_of_date?: string | null;
18070
- /** Charlson Index */
18071
- charlson_index: number;
18072
- /** Days Since Most Recent Onset */
18073
- days_since_most_recent_onset?: number | null;
18074
- /** Gender */
18075
- gender?: string | null;
18076
- /** Most Recent Active Onset Date */
18077
- most_recent_active_onset_date?: string | null;
18078
- /** N Active Conditions */
18079
- n_active_conditions: number;
18080
- /** N Distinct Code Systems */
18081
- n_distinct_code_systems?: number | null;
18082
- /** N Distinct Codes */
18083
- n_distinct_codes?: number | null;
18084
- /** N Lifetime Condition Records */
18085
- n_lifetime_condition_records?: number | null;
18086
- /** N Lifetime Distinct Codes */
18087
- n_lifetime_distinct_codes?: number | null;
18088
- /** Oldest Active Onset Date */
18089
- oldest_active_onset_date?: string | null;
18090
- /**
18091
- * Patient Entity Id
18092
- * Format: uuid
18093
- */
18094
- patient_entity_id: string;
18095
- /** Recent Onset Count 365D */
18096
- recent_onset_count_365d?: number | null;
18097
- /**
18098
- * Workspace Id
18099
- * Format: uuid
18100
- */
18101
- workspace_id: string;
18102
- };
18103
17808
  /** PatientLabRow */
18104
17809
  PatientLabRow: {
18105
17810
  /** Loinc Code */
@@ -18693,50 +18398,6 @@ export interface components {
18693
18398
  /** Tool Id */
18694
18399
  tool_id: string;
18695
18400
  };
18696
- /** PrevalenceResponse */
18697
- PrevalenceResponse: {
18698
- /** Count */
18699
- count: number;
18700
- /** Items */
18701
- items: components["schemas"]["PrevalenceRow"][];
18702
- /**
18703
- * Workspace Id
18704
- * Format: uuid
18705
- */
18706
- workspace_id: string;
18707
- };
18708
- /** PrevalenceRow */
18709
- PrevalenceRow: {
18710
- /** Age Bucket */
18711
- age_bucket: string;
18712
- /** As Of Date */
18713
- as_of_date?: string | null;
18714
- /** Code */
18715
- code: string;
18716
- /** Code Display */
18717
- code_display?: string | null;
18718
- /** Code System Normalized */
18719
- code_system_normalized: string;
18720
- /** Cohort Size */
18721
- cohort_size: number;
18722
- /** Gender */
18723
- gender?: string | null;
18724
- /** Min Support Met */
18725
- min_support_met: boolean;
18726
- /** Patients With Condition */
18727
- patients_with_condition: number;
18728
- /** Prevalence Ci Lower Pct */
18729
- prevalence_ci_lower_pct?: number | null;
18730
- /** Prevalence Ci Upper Pct */
18731
- prevalence_ci_upper_pct?: number | null;
18732
- /** Prevalence Pct */
18733
- prevalence_pct?: number | null;
18734
- /**
18735
- * Workspace Id
18736
- * Format: uuid
18737
- */
18738
- workspace_id: string;
18739
- };
18740
18401
  /**
18741
18402
  * PriorityQueueItem
18742
18403
  * @description An active call ranked by operator priority.
@@ -19424,26 +19085,6 @@ export interface components {
19424
19085
  op: "rename_column";
19425
19086
  to: components["schemas"]["IdentifierString"];
19426
19087
  };
19427
- /**
19428
- * RequestTransform
19429
- * @description Transforms outbound request body before sending to the integration endpoint.
19430
- *
19431
- * Applied after path-param substitution and auth-header resolution, right
19432
- * before the HTTP call. Mirror of the response-side pipeline
19433
- * (``response_filter`` / ``result_key`` / ``result_template``).
19434
- *
19435
- * Inject targets the **outermost** dict: when combined with
19436
- * ``wrap_params_key``, injected fields sit alongside the wrapper key,
19437
- * never inside the wrapped sub-dict.
19438
- */
19439
- RequestTransform: {
19440
- /** Inject */
19441
- inject?: {
19442
- [key: string]: string;
19443
- };
19444
- /** Wrap Params Key */
19445
- wrap_params_key?: string | null;
19446
- };
19447
19088
  /**
19448
19089
  * ResolveTemplateRequest
19449
19090
  * @description Resolve a form template for a specific entity.
@@ -19498,6 +19139,71 @@ export interface components {
19498
19139
  /** Tool Type */
19499
19140
  tool_type: string;
19500
19141
  };
19142
+ /**
19143
+ * RestIntegrationResponse
19144
+ * @description REST variant — base URL, auth config, endpoint count.
19145
+ */
19146
+ RestIntegrationResponse: {
19147
+ /**
19148
+ * Auth
19149
+ * @description Authentication configuration (lib TypedDict union).
19150
+ */
19151
+ auth?: components["schemas"]["StaticHeaderAuthDict"] | components["schemas"]["OAuth2ClientCredentialsAuthDict"] | components["schemas"]["OAuth2JwtBearerAuthDict"] | components["schemas"]["CustomTokenExchangeAuthDict"] | null;
19152
+ /**
19153
+ * Base Url
19154
+ * @description Base URL for REST integrations.
19155
+ */
19156
+ base_url: string;
19157
+ /**
19158
+ * Created At
19159
+ * Format: date-time
19160
+ * @description When the integration was created.
19161
+ */
19162
+ created_at: string;
19163
+ /**
19164
+ * Display Name
19165
+ * @description Human-readable name.
19166
+ */
19167
+ display_name: string;
19168
+ /**
19169
+ * Enabled
19170
+ * @description Whether the integration is active.
19171
+ */
19172
+ enabled: boolean;
19173
+ /**
19174
+ * Endpoint Count
19175
+ * @description Number of configured endpoints. Fetch the full list via GET /endpoints.
19176
+ */
19177
+ endpoint_count: number;
19178
+ /**
19179
+ * Id
19180
+ * Format: uuid
19181
+ * @description Integration ID.
19182
+ */
19183
+ id: string;
19184
+ /**
19185
+ * @description Discriminator. (enum property replaced by openapi-typescript)
19186
+ * @enum {string}
19187
+ */
19188
+ kind: "rest";
19189
+ /**
19190
+ * Name
19191
+ * @description Slug-like identifier, immutable post-create.
19192
+ */
19193
+ name: string;
19194
+ /**
19195
+ * Updated At
19196
+ * Format: date-time
19197
+ * @description When the integration was last updated.
19198
+ */
19199
+ updated_at: string;
19200
+ /**
19201
+ * Workspace Id
19202
+ * Format: uuid
19203
+ * @description Workspace ID.
19204
+ */
19205
+ workspace_id: string;
19206
+ };
19501
19207
  /** RetentionPolicyRequest */
19502
19208
  RetentionPolicyRequest: {
19503
19209
  /** Audit Log Days */
@@ -19531,27 +19237,6 @@ export interface components {
19531
19237
  /** World Events Days */
19532
19238
  world_events_days: number;
19533
19239
  };
19534
- /**
19535
- * RetryConfig
19536
- * @description Retry configuration for an endpoint.
19537
- */
19538
- RetryConfig: {
19539
- /**
19540
- * Max Retries
19541
- * @default 2
19542
- */
19543
- max_retries?: number;
19544
- /**
19545
- * Retry On Status
19546
- * @default [
19547
- * 429,
19548
- * 502,
19549
- * 503,
19550
- * 504
19551
- * ]
19552
- */
19553
- retry_on_status?: number[];
19554
- };
19555
19240
  /**
19556
19241
  * ReturnColumn
19557
19242
  * @description One column in a UDTF's output schema.
@@ -19626,7 +19311,7 @@ export interface components {
19626
19311
  /** Assigned To */
19627
19312
  assigned_to: string | null;
19628
19313
  /** Completed Action */
19629
- completed_action: ("approved" | "rejected" | "corrected") | null;
19314
+ completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
19630
19315
  /** Completed At */
19631
19316
  completed_at: string | null;
19632
19317
  /**
@@ -19825,6 +19510,8 @@ export interface components {
19825
19510
  required_tags?: string[];
19826
19511
  /** Service Id */
19827
19512
  service_id?: string | null;
19513
+ /** Suite Id */
19514
+ suite_id?: string | null;
19828
19515
  /** Tags */
19829
19516
  tags?: string[];
19830
19517
  };
@@ -20048,18 +19735,6 @@ export interface components {
20048
19735
  score_rationale?: string | null;
20049
19736
  };
20050
19737
  SearchString: string;
20051
- /**
20052
- * SecretInput
20053
- * @description Inline secret value — auto-provisioned to SSM on create/update.
20054
- *
20055
- * Bounded to 8192 chars: large enough for a PEM RSA-4096 private key
20056
- * plus a short cert chain, small enough that an adversary cannot
20057
- * push a 100 MB "secret" through to SSM.
20058
- */
20059
- SecretInput: {
20060
- /** Value */
20061
- value: string;
20062
- };
20063
19738
  /** SendGuidanceRequest */
20064
19739
  SendGuidanceRequest: {
20065
19740
  /** Call Sid */
@@ -20960,58 +20635,89 @@ export interface components {
20960
20635
  selected_case_ids: string[];
20961
20636
  /** Skipped Cases */
20962
20637
  skipped_cases: components["schemas"]["SimulationBenchmarkCaseResult"][];
20638
+ /** Suite Id */
20639
+ suite_id?: string | null;
20640
+ };
20641
+ /** SimulationCaseAssertionEval */
20642
+ SimulationCaseAssertionEval: {
20643
+ /** Assertion Kind */
20644
+ assertion_kind: string;
20645
+ /** Description */
20646
+ description?: string | null;
20647
+ /** Expected */
20648
+ expected?: unknown | null;
20649
+ /** Key */
20650
+ key: string;
20651
+ /** Params */
20652
+ params?: {
20653
+ [key: string]: unknown;
20654
+ };
20655
+ /**
20656
+ * Type
20657
+ * @constant
20658
+ */
20659
+ type: "assertion";
20660
+ /** Weight */
20661
+ weight?: number | null;
20662
+ };
20663
+ /**
20664
+ * SimulationCaseGrounding
20665
+ * @description Optional bindings that start the sim from existing workspace data.
20666
+ */
20667
+ SimulationCaseGrounding: {
20668
+ /** Patient Entity Id */
20669
+ patient_entity_id?: string | null;
20670
+ };
20671
+ /** SimulationCaseMetricEval */
20672
+ SimulationCaseMetricEval: {
20673
+ /** Expected */
20674
+ expected?: unknown | null;
20675
+ /** Metric Key */
20676
+ metric_key: string;
20677
+ /** Params */
20678
+ params?: {
20679
+ [key: string]: unknown;
20680
+ };
20681
+ /**
20682
+ * Type
20683
+ * @constant
20684
+ */
20685
+ type: "metric";
20686
+ /** Weight */
20687
+ weight?: number | null;
20963
20688
  };
20964
20689
  /**
20965
20690
  * SimulationCaseResponse
20966
20691
  * @description HTTP response shape for durable simulation cases.
20967
20692
  */
20968
20693
  SimulationCaseResponse: {
20969
- /** Assertions */
20970
- assertions?: {
20971
- [key: string]: unknown;
20972
- }[];
20973
- /** Constraints */
20974
- constraints?: {
20975
- [key: string]: unknown;
20976
- };
20977
20694
  /** Created At */
20978
20695
  created_at?: string | null;
20979
20696
  /** Created By */
20980
20697
  created_by?: string | null;
20981
20698
  /** Description */
20982
20699
  description: string;
20983
- /** Fixtures */
20984
- fixtures?: {
20985
- [key: string]: unknown;
20986
- };
20700
+ /** Evals */
20701
+ evals?: (components["schemas"]["SimulationCaseMetricEval"] | components["schemas"]["SimulationCaseAssertionEval"])[];
20702
+ grounding?: components["schemas"]["SimulationCaseGrounding"];
20987
20703
  /**
20988
20704
  * Id
20989
20705
  * Format: uuid
20990
20706
  */
20991
20707
  id: string;
20992
- /** Initial Message */
20993
- initial_message: string;
20708
+ /** Metadata */
20709
+ metadata?: {
20710
+ [key: string]: unknown;
20711
+ };
20994
20712
  /** Persona */
20995
20713
  persona?: {
20996
20714
  [key: string]: unknown;
20997
20715
  };
20998
- /**
20999
- * Provenance
21000
- * @default manual
21001
- */
21002
- provenance?: string;
21003
- /** Scenario Instructions */
21004
- scenario_instructions: string;
20716
+ scenario: components["schemas"]["SimulationCaseScenario"];
21005
20717
  /** Service Id */
21006
20718
  service_id?: string | null;
21007
20719
  /** Tags */
21008
20720
  tags?: string[];
21009
- /** Target Spec */
21010
- target_spec?: {
21011
- [key: string]: unknown;
21012
- };
21013
- /** Temperament */
21014
- temperament?: string | null;
21015
20721
  /** Updated At */
21016
20722
  updated_at?: string | null;
21017
20723
  /**
@@ -21020,6 +20726,21 @@ export interface components {
21020
20726
  */
21021
20727
  workspace_id: string;
21022
20728
  };
20729
+ /**
20730
+ * SimulationCaseScenario
20731
+ * @description Runnable patient-side scenario content for a saved case.
20732
+ */
20733
+ SimulationCaseScenario: {
20734
+ /**
20735
+ * Initial Message
20736
+ * @default
20737
+ */
20738
+ initial_message?: string;
20739
+ /** Instructions */
20740
+ instructions: string;
20741
+ /** Temperament */
20742
+ temperament?: string | null;
20743
+ };
21023
20744
  /** SimulationIntelligenceResponse */
21024
20745
  SimulationIntelligenceResponse: {
21025
20746
  /** Intelligence */
@@ -21266,6 +20987,47 @@ export interface components {
21266
20987
  observation: components["schemas"]["SimulationObservation"];
21267
20988
  snapshot: components["schemas"]["SimulationSnapshotResponse"];
21268
20989
  };
20990
+ /**
20991
+ * SimulationSuiteResponse
20992
+ * @description HTTP response shape for first-class simulation suites.
20993
+ */
20994
+ SimulationSuiteResponse: {
20995
+ /** Case Count */
20996
+ case_count: number;
20997
+ /** Case Ids */
20998
+ case_ids?: string[];
20999
+ /** Created At */
21000
+ created_at?: string | null;
21001
+ /** Created By */
21002
+ created_by?: string | null;
21003
+ /**
21004
+ * Description
21005
+ * @default
21006
+ */
21007
+ description?: string;
21008
+ /**
21009
+ * Id
21010
+ * Format: uuid
21011
+ */
21012
+ id: string;
21013
+ /** Metadata */
21014
+ metadata?: {
21015
+ [key: string]: unknown;
21016
+ };
21017
+ /** Name */
21018
+ name: string;
21019
+ /** Required Tags */
21020
+ required_tags?: string[];
21021
+ /** Tags */
21022
+ tags?: string[];
21023
+ /** Updated At */
21024
+ updated_at?: string | null;
21025
+ /**
21026
+ * Workspace Id
21027
+ * Format: uuid
21028
+ */
21029
+ workspace_id: string;
21030
+ };
21269
21031
  /** SimulationTurnPolicyResponse */
21270
21032
  SimulationTurnPolicyResponse: {
21271
21033
  /**
@@ -21383,11 +21145,6 @@ export interface components {
21383
21145
  * Format: date-time
21384
21146
  */
21385
21147
  created_at: string;
21386
- /**
21387
- * Delivery
21388
- * @enum {string}
21389
- */
21390
- delivery: "interrupt" | "queue";
21391
21148
  /** Description */
21392
21149
  description: string;
21393
21150
  /** Enable Caching */
@@ -21400,7 +21157,7 @@ export interface components {
21400
21157
  * Execution Tier
21401
21158
  * @enum {string}
21402
21159
  */
21403
- execution_tier: "direct" | "orchestrated" | "computer_use";
21160
+ execution_tier: "orchestrated" | "computer_use";
21404
21161
  /**
21405
21162
  * Id
21406
21163
  * Format: uuid
@@ -21443,8 +21200,6 @@ export interface components {
21443
21200
  * Format: date-time
21444
21201
  */
21445
21202
  updated_at: string;
21446
- /** Urgency Keywords */
21447
- urgency_keywords: string[];
21448
21203
  /** Use Structured Output */
21449
21204
  use_structured_output: boolean;
21450
21205
  /**
@@ -21775,7 +21530,7 @@ export interface components {
21775
21530
  * Session Status
21776
21531
  * @enum {string}
21777
21532
  */
21778
- session_status: "created" | "resumed" | "already_active";
21533
+ session_status: "created" | "already_active";
21779
21534
  };
21780
21535
  /**
21781
21536
  * StateRiskOverride
@@ -21842,6 +21597,38 @@ export interface components {
21842
21597
  */
21843
21598
  type: "state_transition";
21844
21599
  };
21600
+ /**
21601
+ * StaticHeaderAuthDict
21602
+ * @description Static workspace-level secret used verbatim as a single header value.
21603
+ *
21604
+ * Replaces legacy ``api_key_header`` and ``bearer_token`` — bearer is just
21605
+ * ``header_name="Authorization"`` with the SSM secret holding ``"Bearer <token>"``.
21606
+ */
21607
+ StaticHeaderAuthDict: {
21608
+ /** Header Name */
21609
+ header_name: string;
21610
+ /**
21611
+ * Type
21612
+ * @constant
21613
+ */
21614
+ type: "static_header";
21615
+ };
21616
+ /**
21617
+ * StaticHeaderAuthRequest
21618
+ * @description Static workspace-level secret used verbatim as a single header value.
21619
+ */
21620
+ StaticHeaderAuthRequest: {
21621
+ /**
21622
+ * Header Name
21623
+ * @description Outbound header name (RFC 7230 tchar).
21624
+ */
21625
+ header_name: string;
21626
+ /**
21627
+ * @description discriminator enum property added by openapi-typescript
21628
+ * @enum {string}
21629
+ */
21630
+ type: "static_header";
21631
+ };
21845
21632
  /**
21846
21633
  * StaticToolDef
21847
21634
  * @description A built-in tool available to companion agents.
@@ -21849,8 +21636,6 @@ export interface components {
21849
21636
  "StaticToolDef-Input": {
21850
21637
  /** Description */
21851
21638
  description: string;
21852
- /** Handler */
21853
- handler: string;
21854
21639
  /** Input Schema */
21855
21640
  input_schema: {
21856
21641
  [key: string]: unknown;
@@ -22652,7 +22437,7 @@ export interface components {
22652
22437
  * Tier
22653
22438
  * @enum {string}
22654
22439
  */
22655
- tier: "direct" | "companion" | "desktop" | "computer_use";
22440
+ tier: "companion" | "desktop" | "computer_use";
22656
22441
  /**
22657
22442
  * Workspace Id
22658
22443
  * Format: uuid
@@ -22669,106 +22454,6 @@ export interface components {
22669
22454
  /** Numbers */
22670
22455
  numbers: string[];
22671
22456
  };
22672
- /**
22673
- * TestConnectionResponse
22674
- * @description Result of a pre-flight connection probe.
22675
- *
22676
- * Exercised by the developer-console "Test Connection" button. Probes
22677
- * auth resolution + upstream reachability without invoking any
22678
- * specific endpoint, so it's safe to run on production integrations.
22679
- */
22680
- TestConnectionResponse: {
22681
- /**
22682
- * Auth Resolved
22683
- * @description True if the auth credential successfully resolved (SSM lookup, OAuth2 token mint, JWT signing). False does not necessarily mean the auth is wrong — for ``bearer_token_exchange`` it can mean per-call params weren't supplied.
22684
- * @default false
22685
- */
22686
- auth_resolved?: boolean;
22687
- /**
22688
- * Duration Ms
22689
- * @description End-to-end probe duration in milliseconds.
22690
- * @default 0
22691
- */
22692
- duration_ms?: number;
22693
- /**
22694
- * Http Status
22695
- * @description HTTP status code from the upstream HEAD probe (REST/FHIR/MCP-http only).
22696
- */
22697
- http_status?: number | null;
22698
- /**
22699
- * Message
22700
- * @description Human-readable summary suitable for direct display to the user.
22701
- * @default
22702
- */
22703
- message?: string;
22704
- /**
22705
- * Status
22706
- * @description Coarse classification of the probe outcome. The console maps each value to a distinct remediation message: ``healthy`` is green, ``auth_failed`` prompts re-auth, ``unreachable`` / ``timeout`` suggest checking the URL or VPN, ``ssl_error`` calls out cert issues, ``misconfigured`` highlights missing required fields.
22707
- * @enum {string}
22708
- */
22709
- status: "healthy" | "auth_failed" | "unreachable" | "timeout" | "ssl_error" | "misconfigured";
22710
- /**
22711
- * Tested At
22712
- * Format: date-time
22713
- * @description When the probe ran (server time, UTC).
22714
- */
22715
- tested_at: string;
22716
- };
22717
- /** TestEndpointRequest */
22718
- TestEndpointRequest: {
22719
- /**
22720
- * Params
22721
- * @default {}
22722
- */
22723
- params?: {
22724
- [key: string]: unknown;
22725
- };
22726
- };
22727
- /** TestEndpointResponse */
22728
- TestEndpointResponse: {
22729
- /**
22730
- * After Filter
22731
- * @description Response after filter transformations
22732
- */
22733
- after_filter?: unknown;
22734
- /**
22735
- * After Mapping
22736
- * @description Response after field mapping
22737
- */
22738
- after_mapping?: unknown;
22739
- /**
22740
- * Duration Ms
22741
- * @description Request duration in milliseconds
22742
- * @default 0
22743
- */
22744
- duration_ms?: number;
22745
- /**
22746
- * Error
22747
- * @description Error message if the request failed
22748
- */
22749
- error?: string | null;
22750
- /**
22751
- * Final Result
22752
- * @description Final processed result
22753
- */
22754
- final_result?: string | null;
22755
- /**
22756
- * Raw Response
22757
- * @description Raw response body from the endpoint
22758
- */
22759
- raw_response?: unknown;
22760
- /**
22761
- * Retries
22762
- * @description Number of retry attempts
22763
- * @default 0
22764
- */
22765
- retries?: number;
22766
- /**
22767
- * Status Code
22768
- * @description HTTP status code from the endpoint
22769
- */
22770
- status_code?: number | null;
22771
- };
22772
22457
  /**
22773
22458
  * TestInvokeResponse
22774
22459
  * @description Response shape for ``POST /v1/{ws}/functions/{name}/test``.
@@ -22777,8 +22462,8 @@ export interface components {
22777
22462
  * ``error`` so the DC can render the executor's failure detail inline
22778
22463
  * rather than a generic "Invocation failed." The underlying invoke
22779
22464
  * uses the same path; ``status`` / ``error`` are filled in by
22780
- * ``service.test`` after catching any ``ServiceUnavailableError`` from
22781
- * the executor, so the route never bubbles a 5xx for a logical SQL
22465
+ * ``service.test`` after catching any ``HTTPException`` (503) from the
22466
+ * executor, so the route never bubbles a 5xx for a logical SQL
22782
22467
  * failure — it's still a 200 with ``status=fail`` so the caller can
22783
22468
  * show the message.
22784
22469
  *
@@ -23227,6 +22912,12 @@ export interface components {
23227
22912
  audio_filler_triggered_after?: number | null;
23228
22913
  /** Audio Fillers */
23229
22914
  audio_fillers?: string[] | null;
22915
+ /**
22916
+ * Delivery
22917
+ * @default interrupt
22918
+ * @enum {string}
22919
+ */
22920
+ delivery?: "interrupt" | "queue";
23230
22921
  /**
23231
22922
  * Navigate On Completion
23232
22923
  * @default false
@@ -23311,7 +23002,7 @@ export interface components {
23311
23002
  tool_name: components["schemas"]["NameString"];
23312
23003
  /**
23313
23004
  * Tool Type
23314
- * @description world_tool, skill, or integration
23005
+ * @description world_tool other tool families use their dedicated endpoints
23315
23006
  */
23316
23007
  tool_type: string;
23317
23008
  };
@@ -23651,44 +23342,6 @@ export interface components {
23651
23342
  /** Transcript */
23652
23343
  transcript: string;
23653
23344
  };
23654
- /** TrendResponse */
23655
- TrendResponse: {
23656
- /** Code */
23657
- code: string;
23658
- /** Count */
23659
- count: number;
23660
- /** Items */
23661
- items: components["schemas"]["TrendRow"][];
23662
- /**
23663
- * Workspace Id
23664
- * Format: uuid
23665
- */
23666
- workspace_id: string;
23667
- };
23668
- /** TrendRow */
23669
- TrendRow: {
23670
- /** Age Bucket */
23671
- age_bucket?: string | null;
23672
- /** Code */
23673
- code: string;
23674
- /** Code Display */
23675
- code_display?: string | null;
23676
- /** Code System Normalized */
23677
- code_system_normalized: string;
23678
- /** Condition Records */
23679
- condition_records: number;
23680
- /** Gender */
23681
- gender?: string | null;
23682
- /** Incident Patients */
23683
- incident_patients: number;
23684
- /**
23685
- * Workspace Id
23686
- * Format: uuid
23687
- */
23688
- workspace_id: string;
23689
- /** Year Month */
23690
- year_month: string;
23691
- };
23692
23345
  /** TriggerCompletedEvent */
23693
23346
  TriggerCompletedEvent: {
23694
23347
  /**
@@ -24029,7 +23682,7 @@ export interface components {
24029
23682
  * Status
24030
23683
  * @enum {string}
24031
23684
  */
24032
- status: "active" | "frozen" | "closed" | "completed" | "in-progress" | "failed";
23685
+ status: "active" | "closed" | "completed" | "in-progress" | "failed";
24033
23686
  /**
24034
23687
  * Turn Count
24035
23688
  * @default 0
@@ -24350,31 +24003,6 @@ export interface components {
24350
24003
  /** Sync Strategy */
24351
24004
  sync_strategy?: ("manual" | "scheduled" | "webhook" | "continuous") | null;
24352
24005
  };
24353
- /** UpdateIntegrationRequest */
24354
- UpdateIntegrationRequest: {
24355
- auth?: components["schemas"]["AuthConfigWithSecrets"] | null;
24356
- /** Base Url */
24357
- base_url?: string | null;
24358
- display_name?: components["schemas"]["NameString"] | null;
24359
- /** Enabled */
24360
- enabled?: boolean | null;
24361
- /** Endpoints */
24362
- endpoints?: components["schemas"]["EndpointConfig-Input"][] | null;
24363
- /** Mcp Args */
24364
- mcp_args?: string[] | null;
24365
- /** Mcp Command */
24366
- mcp_command?: string | null;
24367
- /** Mcp Headers */
24368
- mcp_headers?: {
24369
- [key: string]: string;
24370
- } | null;
24371
- /** Mcp Transport */
24372
- mcp_transport?: ("stdio" | "sse" | "http") | null;
24373
- /** Mcp Url */
24374
- mcp_url?: string | null;
24375
- /** Protocol */
24376
- protocol?: ("rest" | "fhir" | "mcp") | null;
24377
- };
24378
24006
  /** UpdateOperatorRequest */
24379
24007
  UpdateOperatorRequest: {
24380
24008
  /** Connection Method */
@@ -24433,14 +24061,69 @@ export interface components {
24433
24061
  } | null;
24434
24062
  voice_config?: components["schemas"]["ServiceVoiceConfig-Input"] | null;
24435
24063
  };
24064
+ /**
24065
+ * UpdateSimulationCaseRequest
24066
+ * @description Partial update for one durable simulation case.
24067
+ */
24068
+ UpdateSimulationCaseRequest: {
24069
+ /** Assertions */
24070
+ assertions?: {
24071
+ [key: string]: unknown;
24072
+ }[] | null;
24073
+ /** Constraints */
24074
+ constraints?: {
24075
+ [key: string]: unknown;
24076
+ } | null;
24077
+ /** Description */
24078
+ description?: string | null;
24079
+ /** Fixtures */
24080
+ fixtures?: {
24081
+ [key: string]: unknown;
24082
+ } | null;
24083
+ /** Initial Message */
24084
+ initial_message?: string | null;
24085
+ /** Persona */
24086
+ persona?: {
24087
+ [key: string]: unknown;
24088
+ } | null;
24089
+ /** Provenance */
24090
+ provenance?: string | null;
24091
+ /** Scenario Instructions */
24092
+ scenario_instructions?: string | null;
24093
+ /** Service Id */
24094
+ service_id?: string | null;
24095
+ /** Tags */
24096
+ tags?: string[] | null;
24097
+ /** Target Spec */
24098
+ target_spec?: {
24099
+ [key: string]: unknown;
24100
+ } | null;
24101
+ /** Temperament */
24102
+ temperament?: string | null;
24103
+ };
24104
+ /** UpdateSimulationSuiteRequest */
24105
+ UpdateSimulationSuiteRequest: {
24106
+ /** Case Ids */
24107
+ case_ids?: string[] | null;
24108
+ /** Description */
24109
+ description?: string | null;
24110
+ /** Metadata */
24111
+ metadata?: {
24112
+ [key: string]: unknown;
24113
+ } | null;
24114
+ /** Name */
24115
+ name?: string | null;
24116
+ /** Required Tags */
24117
+ required_tags?: string[] | null;
24118
+ /** Tags */
24119
+ tags?: string[] | null;
24120
+ };
24436
24121
  /** UpdateSkillRequest */
24437
24122
  UpdateSkillRequest: {
24438
24123
  /** Approval Required */
24439
24124
  approval_required?: boolean | null;
24440
24125
  /** Checkpoint Enabled */
24441
24126
  checkpoint_enabled?: boolean | null;
24442
- /** Delivery */
24443
- delivery?: ("interrupt" | "queue") | null;
24444
24127
  description?: components["schemas"]["DescriptionString"] | null;
24445
24128
  /** Enable Caching */
24446
24129
  enable_caching?: boolean | null;
@@ -24449,7 +24132,7 @@ export interface components {
24449
24132
  /** Enabled */
24450
24133
  enabled?: boolean | null;
24451
24134
  /** Execution Tier */
24452
- execution_tier?: ("direct" | "orchestrated" | "computer_use") | null;
24135
+ execution_tier?: ("orchestrated" | "computer_use") | null;
24453
24136
  /** Input Schema */
24454
24137
  input_schema?: {
24455
24138
  [key: string]: unknown;
@@ -24478,8 +24161,6 @@ export interface components {
24478
24161
  thinking_effort?: ("low" | "medium" | "high") | null;
24479
24162
  /** Timeout S */
24480
24163
  timeout_s?: number | null;
24481
- /** Urgency Keywords */
24482
- urgency_keywords?: string[] | null;
24483
24164
  /** Use Structured Output */
24484
24165
  use_structured_output?: boolean | null;
24485
24166
  };
@@ -24510,37 +24191,6 @@ export interface components {
24510
24191
  submit_button_text?: string | null;
24511
24192
  title?: components["schemas"]["NameString"] | null;
24512
24193
  };
24513
- /**
24514
- * UpdateSyncStatusRequest
24515
- * @description Report sync status for a data source after a poll cycle.
24516
- */
24517
- UpdateSyncStatusRequest: {
24518
- /**
24519
- * Data Source Id
24520
- * Format: uuid
24521
- */
24522
- data_source_id: string;
24523
- /**
24524
- * Last Sync At
24525
- * Format: date-time
24526
- */
24527
- last_sync_at: string;
24528
- /**
24529
- * Last Sync Event Count
24530
- * @default 0
24531
- */
24532
- last_sync_event_count?: number;
24533
- /**
24534
- * Last Sync Status
24535
- * @enum {string}
24536
- */
24537
- last_sync_status: "success" | "partial" | "error";
24538
- /**
24539
- * Workspace Id
24540
- * Format: uuid
24541
- */
24542
- workspace_id: string;
24543
- };
24544
24194
  /** UpdateTriggerRequest */
24545
24195
  UpdateTriggerRequest: {
24546
24196
  /** Action Id */
@@ -25432,6 +25082,8 @@ export interface components {
25432
25082
  /** Start */
25433
25083
  start: string;
25434
25084
  };
25085
+ /** @constant */
25086
+ _SortField: "deployed_at";
25435
25087
  _ToolMockKey: string;
25436
25088
  _ToolMockValue: string;
25437
25089
  /**
@@ -25479,8 +25131,6 @@ export interface components {
25479
25131
  src__models__StaticToolDef: {
25480
25132
  /** Description */
25481
25133
  description: string;
25482
- /** Handler */
25483
- handler: string;
25484
25134
  /** Input Schema */
25485
25135
  input_schema: {
25486
25136
  [key: string]: unknown;
@@ -25658,7 +25308,7 @@ export interface components {
25658
25308
  * Status
25659
25309
  * @enum {string}
25660
25310
  */
25661
- status: "active" | "frozen" | "closed" | "completed" | "in-progress" | "failed";
25311
+ status: "active" | "closed" | "completed" | "in-progress" | "failed";
25662
25312
  /**
25663
25313
  * Turn Count
25664
25314
  * @default 0
@@ -25671,6 +25321,306 @@ export interface components {
25671
25321
  src__routes__desktop_sessions__CreateSessionRequest: {
25672
25322
  integration_name: components["schemas"]["NameString"];
25673
25323
  };
25324
+ /**
25325
+ * Request
25326
+ * @description Add a new endpoint to a REST integration (V186 flat shape).
25327
+ */
25328
+ src__routes__integrations__create_endpoint__Request: {
25329
+ /**
25330
+ * Body Format
25331
+ * @description Outbound body encoding for write methods.
25332
+ * @default json
25333
+ * @enum {string}
25334
+ */
25335
+ body_format?: "json" | "form";
25336
+ /**
25337
+ * Description
25338
+ * @description LLM-facing description shown in the tool definition.
25339
+ */
25340
+ description: string;
25341
+ /**
25342
+ * Headers
25343
+ * @description Static headers merged into every request.
25344
+ */
25345
+ headers?: {
25346
+ [key: string]: string;
25347
+ };
25348
+ /**
25349
+ * Input Schema
25350
+ * @description JSON Schema describing the tool's input arguments.
25351
+ */
25352
+ input_schema?: {
25353
+ [key: string]: unknown;
25354
+ };
25355
+ /**
25356
+ * Max Response Length
25357
+ * @description Truncate the rendered string to this many chars. 0 = no truncation.
25358
+ * @default 0
25359
+ */
25360
+ max_response_length?: number;
25361
+ /**
25362
+ * Max Retries
25363
+ * @description Retry attempts on transient failures.
25364
+ * @default 2
25365
+ */
25366
+ max_retries?: number;
25367
+ /**
25368
+ * Method
25369
+ * @description HTTP method.
25370
+ * @default POST
25371
+ * @enum {string}
25372
+ */
25373
+ method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
25374
+ /**
25375
+ * Name
25376
+ * @description Slug-like identifier, immutable post-create.
25377
+ */
25378
+ name: string;
25379
+ /**
25380
+ * Path
25381
+ * @description URL path appended to the integration's base_url. Must NOT start with `/` — the path is
25382
+ * joined onto the base URL (which already carries the leading slash). Supports `{param}` substitution.
25383
+ */
25384
+ path: string;
25385
+ /**
25386
+ * Response Template
25387
+ * @description Jinja template (sandboxed, StrictUndefined) rendered against the parsed JSON response.
25388
+ */
25389
+ response_template?: string | null;
25390
+ /**
25391
+ * Retry On Status
25392
+ * @description HTTP status codes that trigger a retry.
25393
+ */
25394
+ retry_on_status?: number[];
25395
+ /**
25396
+ * Static Body Fields
25397
+ * @description Static body fields merged into POST/PUT/PATCH bodies. Keys are RFC 6901 JSON Pointers
25398
+ * (e.g. ``/meta/tool_name`` for nested, ``/foo`` for a root-level field).
25399
+ */
25400
+ static_body_fields?: {
25401
+ [key: string]: string;
25402
+ };
25403
+ /**
25404
+ * Timeout Seconds
25405
+ * @description Per-request timeout.
25406
+ * @default 30
25407
+ */
25408
+ timeout_seconds?: number;
25409
+ };
25410
+ /**
25411
+ * Request
25412
+ * @description Create body — REST only.
25413
+ */
25414
+ src__routes__integrations__create_integration__Request: {
25415
+ /**
25416
+ * Auth
25417
+ * @description Auth configuration. When set, ``secret_value`` is required.
25418
+ */
25419
+ auth?: (components["schemas"]["StaticHeaderAuthRequest"] | components["schemas"]["OAuth2ClientCredentialsAuthRequest"] | components["schemas"]["OAuth2JwtBearerAuthRequest"] | components["schemas"]["CustomTokenExchangeAuthRequest"]) | null;
25420
+ /**
25421
+ * Base Url
25422
+ * Format: uri
25423
+ * @description Base URL for the upstream REST API.
25424
+ */
25425
+ base_url: string;
25426
+ /** @description Human-readable name. */
25427
+ display_name: components["schemas"]["NameString"];
25428
+ /**
25429
+ * Enabled
25430
+ * @description Whether the integration is active on create.
25431
+ * @default true
25432
+ */
25433
+ enabled?: boolean;
25434
+ /**
25435
+ * Name
25436
+ * @description Slug-like identifier, lowercase alphanumeric + hyphens/underscores. Immutable post-create.
25437
+ */
25438
+ name: string;
25439
+ /**
25440
+ * Secret Value
25441
+ * @description Inline secret literal — auto-provisioned to the per-integration SSM path.
25442
+ * Required when ``auth`` is set. Bounded to fit a PEM RSA-4096 key + cert chain.
25443
+ */
25444
+ secret_value?: string | null;
25445
+ };
25446
+ /** Response */
25447
+ src__routes__integrations__list_endpoints__Response: {
25448
+ /**
25449
+ * Continuation Token
25450
+ * @description Opaque token for the next page. Null when there are no more results.
25451
+ */
25452
+ continuation_token?: unknown;
25453
+ /**
25454
+ * Has More
25455
+ * @description Whether there are more endpoints to retrieve.
25456
+ */
25457
+ has_more: boolean;
25458
+ /**
25459
+ * Items
25460
+ * @description The endpoints under this integration.
25461
+ */
25462
+ items: components["schemas"]["EndpointResponse"][];
25463
+ };
25464
+ /** Response */
25465
+ src__routes__integrations__list_integrations__Response: {
25466
+ /**
25467
+ * Continuation Token
25468
+ * @description Opaque token for the next page. Null when there are no more results.
25469
+ */
25470
+ continuation_token?: unknown;
25471
+ /**
25472
+ * Has More
25473
+ * @description Whether there are more integrations to retrieve.
25474
+ */
25475
+ has_more: boolean;
25476
+ /**
25477
+ * Items
25478
+ * @description The integrations matching the request filters.
25479
+ */
25480
+ items: (components["schemas"]["RestIntegrationResponse"] | components["schemas"]["DesktopIntegrationResponse"])[];
25481
+ };
25482
+ /**
25483
+ * Request
25484
+ * @description Inputs to ``POST /{integration_id}/endpoints/{endpoint_id}/test``.
25485
+ */
25486
+ src__routes__integrations__test_endpoint__Request: {
25487
+ /**
25488
+ * Params
25489
+ * @description Tool arguments.
25490
+ */
25491
+ params?: {
25492
+ [key: string]: unknown;
25493
+ };
25494
+ };
25495
+ /**
25496
+ * Response
25497
+ * @description Full breadcrumb returned by the test handler.
25498
+ */
25499
+ src__routes__integrations__test_endpoint__Response: {
25500
+ /**
25501
+ * Duration Ms
25502
+ * @description Request duration in milliseconds.
25503
+ * @default 0
25504
+ */
25505
+ duration_ms?: number;
25506
+ /**
25507
+ * Error
25508
+ * @description Error message if the request failed.
25509
+ */
25510
+ error?: string | null;
25511
+ /**
25512
+ * Final Result
25513
+ * @description Final processed result (rendered + truncated to max_response_length).
25514
+ */
25515
+ final_result?: string | null;
25516
+ /**
25517
+ * Raw Response
25518
+ * @description Raw response body from the upstream call.
25519
+ */
25520
+ raw_response?: unknown;
25521
+ /**
25522
+ * Rendered
25523
+ * @description Response after Jinja `response_template` rendering, pre-truncation.
25524
+ */
25525
+ rendered?: string | null;
25526
+ /**
25527
+ * Retries
25528
+ * @description Number of retry attempts.
25529
+ * @default 0
25530
+ */
25531
+ retries?: number;
25532
+ /**
25533
+ * Status Code
25534
+ * @description HTTP status code from the upstream call.
25535
+ */
25536
+ status_code?: number | null;
25537
+ };
25538
+ /**
25539
+ * Request
25540
+ * @description Patch an existing endpoint (V186 flat shape). ``name`` is immutable.
25541
+ */
25542
+ src__routes__integrations__update_endpoint__Request: {
25543
+ /**
25544
+ * Body Format
25545
+ * @enum {string}
25546
+ */
25547
+ body_format?: "json" | "form";
25548
+ /** Description */
25549
+ description?: string;
25550
+ /** Headers */
25551
+ headers?: {
25552
+ [key: string]: string;
25553
+ };
25554
+ /** Input Schema */
25555
+ input_schema?: {
25556
+ [key: string]: unknown;
25557
+ };
25558
+ /** Max Response Length */
25559
+ max_response_length?: number;
25560
+ /** Max Retries */
25561
+ max_retries?: number;
25562
+ /**
25563
+ * Method
25564
+ * @enum {string}
25565
+ */
25566
+ method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
25567
+ /**
25568
+ * Path
25569
+ * @description URL path appended to the integration's base_url. Must NOT start with `/`.
25570
+ */
25571
+ path?: string;
25572
+ /**
25573
+ * Response Template
25574
+ * @description Jinja template; pass `null` to clear (the only DB-nullable column on this row).
25575
+ */
25576
+ response_template?: string | null;
25577
+ /** Retry On Status */
25578
+ retry_on_status?: number[];
25579
+ /** Static Body Fields */
25580
+ static_body_fields?: {
25581
+ [key: string]: string;
25582
+ };
25583
+ /** Timeout Seconds */
25584
+ timeout_seconds?: number;
25585
+ };
25586
+ /**
25587
+ * Request
25588
+ * @description PATCH body — each field is sentinel-defaulted; absent ≠ explicit-null.
25589
+ */
25590
+ src__routes__integrations__update_integration__Request: {
25591
+ /**
25592
+ * Auth
25593
+ * @description New auth config. Absent ⇒ untouched; null ⇒ clear; value ⇒ replace.
25594
+ * Independent of ``secret_value`` — updating ``auth`` alone reuses the
25595
+ * existing SSM secret.
25596
+ */
25597
+ auth?: (components["schemas"]["StaticHeaderAuthRequest"] | components["schemas"]["OAuth2ClientCredentialsAuthRequest"] | components["schemas"]["OAuth2JwtBearerAuthRequest"] | components["schemas"]["CustomTokenExchangeAuthRequest"]) | null;
25598
+ /**
25599
+ * Base Url
25600
+ * Format: uri
25601
+ * @description New base URL.
25602
+ */
25603
+ base_url?: string;
25604
+ /**
25605
+ * Display Name
25606
+ * @description New display name.
25607
+ */
25608
+ display_name?: components["schemas"]["NameString"];
25609
+ /**
25610
+ * Enabled
25611
+ * @description Toggle the integration on/off.
25612
+ */
25613
+ enabled?: boolean;
25614
+ /**
25615
+ * Secret Value
25616
+ * @description Rotate the per-integration SSM secret. Absent ⇒ existing secret
25617
+ * untouched; value ⇒ overwrite SSM at the canonical path. Explicit
25618
+ * ``null`` is rejected at validation — there is no "clear the secret"
25619
+ * operation (clearing ``auth`` makes the secret unreachable; that's the
25620
+ * intended clear path).
25621
+ */
25622
+ secret_value?: string;
25623
+ };
25674
25624
  /** IntegrationToolRef */
25675
25625
  src__routes__internal_skills__IntegrationToolRef: {
25676
25626
  /** Endpoint */
@@ -25682,8 +25632,6 @@ export interface components {
25682
25632
  src__routes__internal_skills__StaticToolDef: {
25683
25633
  /** Description */
25684
25634
  description: string;
25685
- /** Handler */
25686
- handler: string;
25687
25635
  /** Input Schema */
25688
25636
  input_schema: {
25689
25637
  [key: string]: unknown;
@@ -25821,8 +25769,17 @@ export interface components {
25821
25769
  */
25822
25770
  row_count?: number;
25823
25771
  };
25772
+ /** Response */
25773
+ src__routes__workspace_data_queries__list_workspace_data_queries__Response: {
25774
+ /** Continuation Token */
25775
+ continuation_token?: unknown;
25776
+ /** Has More */
25777
+ has_more: boolean;
25778
+ /** Items */
25779
+ items: components["schemas"]["src__routes__workspace_data_queries__list_workspace_data_queries__Response__Item"][];
25780
+ };
25824
25781
  /** Item */
25825
- src__routes__workspace_data_queries__list_workspace_data_queries__Item: {
25782
+ src__routes__workspace_data_queries__list_workspace_data_queries__Response__Item: {
25826
25783
  /**
25827
25784
  * Deployed At
25828
25785
  * Format: date-time
@@ -25851,13 +25808,6 @@ export interface components {
25851
25808
  /** Timeout Ms */
25852
25809
  timeout_ms: number;
25853
25810
  };
25854
- /** Response */
25855
- src__routes__workspace_data_queries__list_workspace_data_queries__Response: {
25856
- /** Count */
25857
- count: number;
25858
- /** Items */
25859
- items: components["schemas"]["src__routes__workspace_data_queries__list_workspace_data_queries__Item"][];
25860
- };
25861
25811
  /**
25862
25812
  * Request
25863
25813
  * @description PATCH body — every field optional. Present ⇒ overwrite; absent ⇒ keep.
@@ -30983,7 +30933,7 @@ export interface operations {
30983
30933
  /** @description Filter by channel */
30984
30934
  channel_kind?: ("voice" | "sms" | "whatsapp" | "web" | "email") | null;
30985
30935
  /** @description Filter by status */
30986
- status?: ("active" | "frozen" | "closed" | "completed" | "in-progress" | "failed") | null;
30936
+ status?: ("active" | "closed" | "completed" | "in-progress" | "failed") | null;
30987
30937
  limit?: number;
30988
30938
  offset?: number;
30989
30939
  };
@@ -31854,7 +31804,20 @@ export interface operations {
31854
31804
  };
31855
31805
  "list-workspace-data-queries": {
31856
31806
  parameters: {
31857
- query?: never;
31807
+ query?: {
31808
+ /**
31809
+ * @description Sort axes, applied left-to-right. ``+field`` ascending, ``-field``
31810
+ * descending. Defaults to ``[("deployed_at", -1)]`` (newest first).
31811
+ */
31812
+ sort_by?: string[];
31813
+ /** @description Maximum number of queries to return per page. */
31814
+ limit?: number;
31815
+ /**
31816
+ * @description Opaque continuation token from a prior response. Treat as a
31817
+ * black box — the server decodes it.
31818
+ */
31819
+ continuation_token?: unknown;
31820
+ };
31858
31821
  header?: never;
31859
31822
  path: {
31860
31823
  workspace_id: string;
@@ -31872,6 +31835,27 @@ export interface operations {
31872
31835
  "application/json": components["schemas"]["src__routes__workspace_data_queries__list_workspace_data_queries__Response"];
31873
31836
  };
31874
31837
  };
31838
+ /** @description Missing or invalid API key. */
31839
+ 401: {
31840
+ headers: {
31841
+ [name: string]: unknown;
31842
+ };
31843
+ content?: never;
31844
+ };
31845
+ /** @description Insufficient permissions. */
31846
+ 403: {
31847
+ headers: {
31848
+ [name: string]: unknown;
31849
+ };
31850
+ content?: never;
31851
+ };
31852
+ /** @description Query parameter failed validation or continuation_token is unparseable. */
31853
+ 422: {
31854
+ headers: {
31855
+ [name: string]: unknown;
31856
+ };
31857
+ content?: never;
31858
+ };
31875
31859
  };
31876
31860
  };
31877
31861
  "create-workspace-data-query": {
@@ -32321,228 +32305,6 @@ export interface operations {
32321
32305
  };
32322
32306
  };
32323
32307
  };
32324
- list_cohort_drivers_v1__workspace_id__epidemiology_cohort_drivers_get: {
32325
- parameters: {
32326
- query: {
32327
- code: string;
32328
- code_system?: ("ICD10" | "SNOMED" | "ICD9" | "OTHER") | null;
32329
- min_support_only?: boolean;
32330
- limit?: number;
32331
- };
32332
- header?: never;
32333
- path: {
32334
- workspace_id: string;
32335
- };
32336
- cookie?: never;
32337
- };
32338
- requestBody?: never;
32339
- responses: {
32340
- /** @description Successful Response */
32341
- 200: {
32342
- headers: {
32343
- [name: string]: unknown;
32344
- };
32345
- content: {
32346
- "application/json": components["schemas"]["CohortDriverResponse"];
32347
- };
32348
- };
32349
- /** @description Validation Error */
32350
- 422: {
32351
- headers: {
32352
- [name: string]: unknown;
32353
- };
32354
- content: {
32355
- "application/json": components["schemas"]["HTTPValidationError"];
32356
- };
32357
- };
32358
- };
32359
- };
32360
- list_cooccurrence_v1__workspace_id__epidemiology_cooccurrence_get: {
32361
- parameters: {
32362
- query?: {
32363
- code?: string | null;
32364
- code_system?: ("ICD10" | "SNOMED" | "ICD9" | "OTHER") | null;
32365
- sort_by?: "lift" | "pmi" | "chi_square" | "jaccard" | "n_patients_both";
32366
- min_support_only?: boolean;
32367
- limit?: number;
32368
- };
32369
- header?: never;
32370
- path: {
32371
- workspace_id: string;
32372
- };
32373
- cookie?: never;
32374
- };
32375
- requestBody?: never;
32376
- responses: {
32377
- /** @description Successful Response */
32378
- 200: {
32379
- headers: {
32380
- [name: string]: unknown;
32381
- };
32382
- content: {
32383
- "application/json": components["schemas"]["CooccurrenceResponse"];
32384
- };
32385
- };
32386
- /** @description Validation Error */
32387
- 422: {
32388
- headers: {
32389
- [name: string]: unknown;
32390
- };
32391
- content: {
32392
- "application/json": components["schemas"]["HTTPValidationError"];
32393
- };
32394
- };
32395
- };
32396
- };
32397
- list_patient_burden_v1__workspace_id__epidemiology_patient_burden_get: {
32398
- parameters: {
32399
- query?: {
32400
- min_charlson?: number | null;
32401
- age_min?: number | null;
32402
- age_max?: number | null;
32403
- gender?: string | null;
32404
- sort_by?: "age_adjusted_charlson_index" | "charlson_index" | "n_active_conditions" | "recent_onset_count_365d" | "age_now";
32405
- limit?: number;
32406
- offset?: number;
32407
- };
32408
- header?: never;
32409
- path: {
32410
- workspace_id: string;
32411
- };
32412
- cookie?: never;
32413
- };
32414
- requestBody?: never;
32415
- responses: {
32416
- /** @description Successful Response */
32417
- 200: {
32418
- headers: {
32419
- [name: string]: unknown;
32420
- };
32421
- content: {
32422
- "application/json": components["schemas"]["PatientBurdenResponse"];
32423
- };
32424
- };
32425
- /** @description Validation Error */
32426
- 422: {
32427
- headers: {
32428
- [name: string]: unknown;
32429
- };
32430
- content: {
32431
- "application/json": components["schemas"]["HTTPValidationError"];
32432
- };
32433
- };
32434
- };
32435
- };
32436
- get_patient_burden_v1__workspace_id__epidemiology_patient_burden__patient_entity_id__get: {
32437
- parameters: {
32438
- query?: never;
32439
- header?: never;
32440
- path: {
32441
- workspace_id: string;
32442
- patient_entity_id: string;
32443
- };
32444
- cookie?: never;
32445
- };
32446
- requestBody?: never;
32447
- responses: {
32448
- /** @description Successful Response */
32449
- 200: {
32450
- headers: {
32451
- [name: string]: unknown;
32452
- };
32453
- content: {
32454
- "application/json": components["schemas"]["PatientBurdenDetailResponse"];
32455
- };
32456
- };
32457
- /** @description Validation Error */
32458
- 422: {
32459
- headers: {
32460
- [name: string]: unknown;
32461
- };
32462
- content: {
32463
- "application/json": components["schemas"]["HTTPValidationError"];
32464
- };
32465
- };
32466
- };
32467
- };
32468
- list_prevalence_v1__workspace_id__epidemiology_prevalence_get: {
32469
- parameters: {
32470
- query?: {
32471
- code?: string | null;
32472
- code_system?: ("ICD10" | "SNOMED" | "ICD9" | "OTHER") | null;
32473
- age_bucket?: ("0-17" | "18-34" | "35-49" | "50-64" | "65-79" | "80+") | null;
32474
- gender?: string | null;
32475
- min_support_only?: boolean;
32476
- limit?: number;
32477
- offset?: number;
32478
- };
32479
- header?: never;
32480
- path: {
32481
- workspace_id: string;
32482
- };
32483
- cookie?: never;
32484
- };
32485
- requestBody?: never;
32486
- responses: {
32487
- /** @description Successful Response */
32488
- 200: {
32489
- headers: {
32490
- [name: string]: unknown;
32491
- };
32492
- content: {
32493
- "application/json": components["schemas"]["PrevalenceResponse"];
32494
- };
32495
- };
32496
- /** @description Validation Error */
32497
- 422: {
32498
- headers: {
32499
- [name: string]: unknown;
32500
- };
32501
- content: {
32502
- "application/json": components["schemas"]["HTTPValidationError"];
32503
- };
32504
- };
32505
- };
32506
- };
32507
- list_trends_v1__workspace_id__epidemiology_trends_get: {
32508
- parameters: {
32509
- query: {
32510
- code: string;
32511
- code_system?: ("ICD10" | "SNOMED" | "ICD9" | "OTHER") | null;
32512
- start_month?: string | null;
32513
- end_month?: string | null;
32514
- age_bucket?: ("0-17" | "18-34" | "35-49" | "50-64" | "65-79" | "80+") | null;
32515
- gender?: string | null;
32516
- limit?: number;
32517
- };
32518
- header?: never;
32519
- path: {
32520
- workspace_id: string;
32521
- };
32522
- cookie?: never;
32523
- };
32524
- requestBody?: never;
32525
- responses: {
32526
- /** @description Successful Response */
32527
- 200: {
32528
- headers: {
32529
- [name: string]: unknown;
32530
- };
32531
- content: {
32532
- "application/json": components["schemas"]["TrendResponse"];
32533
- };
32534
- };
32535
- /** @description Validation Error */
32536
- 422: {
32537
- headers: {
32538
- [name: string]: unknown;
32539
- };
32540
- content: {
32541
- "application/json": components["schemas"]["HTTPValidationError"];
32542
- };
32543
- };
32544
- };
32545
- };
32546
32308
  "get-event-stream": {
32547
32309
  parameters: {
32548
32310
  query?: never;
@@ -33975,12 +33737,20 @@ export interface operations {
33975
33737
  "list-integrations": {
33976
33738
  parameters: {
33977
33739
  query?: {
33740
+ /** @description Filter to integrations with this enabled flag. None matches both. */
33978
33741
  enabled?: boolean | null;
33979
- protocol?: string | null;
33742
+ /** @description Substring match against name, display_name, or id (case-insensitive). */
33980
33743
  search?: components["schemas"]["SearchString"] | null;
33981
- sort_by?: string | null;
33744
+ /**
33745
+ * @description Sort axes. Repeated query param stacks left-to-right. Each entry is `+field` or `-field`
33746
+ * (direction prefix REQUIRED). Allowed fields: ``name``, ``created_at``, ``updated_at``.
33747
+ * Default: ``-created_at``. ``id`` is always appended as the final tiebreaker.
33748
+ */
33749
+ sort_by?: string[];
33750
+ /** @description The maximum number of integrations to return. */
33982
33751
  limit?: number;
33983
- continuation_token?: number;
33752
+ /** @description Opaque token from a prior response. Pass back unchanged with the same `sort_by` to advance. */
33753
+ continuation_token?: unknown;
33984
33754
  };
33985
33755
  header?: never;
33986
33756
  path: {
@@ -33996,7 +33766,7 @@ export interface operations {
33996
33766
  [name: string]: unknown;
33997
33767
  };
33998
33768
  content: {
33999
- "application/json": components["schemas"]["PaginatedResponse_IntegrationResponse_"];
33769
+ "application/json": components["schemas"]["src__routes__integrations__list_integrations__Response"];
34000
33770
  };
34001
33771
  };
34002
33772
  /** @description Missing or invalid API key. */
@@ -34013,14 +33783,12 @@ export interface operations {
34013
33783
  };
34014
33784
  content?: never;
34015
33785
  };
34016
- /** @description Validation Error */
33786
+ /** @description Query parameter failed validation or continuation_token is unparseable. */
34017
33787
  422: {
34018
33788
  headers: {
34019
33789
  [name: string]: unknown;
34020
33790
  };
34021
- content: {
34022
- "application/json": components["schemas"]["HTTPValidationError"];
34023
- };
33791
+ content?: never;
34024
33792
  };
34025
33793
  };
34026
33794
  };
@@ -34035,7 +33803,7 @@ export interface operations {
34035
33803
  };
34036
33804
  requestBody: {
34037
33805
  content: {
34038
- "application/json": components["schemas"]["CreateIntegrationRequest"];
33806
+ "application/json": components["schemas"]["src__routes__integrations__create_integration__Request"];
34039
33807
  };
34040
33808
  };
34041
33809
  responses: {
@@ -34045,7 +33813,7 @@ export interface operations {
34045
33813
  [name: string]: unknown;
34046
33814
  };
34047
33815
  content: {
34048
- "application/json": components["schemas"]["IntegrationResponse"];
33816
+ "application/json": components["schemas"]["RestIntegrationResponse"];
34049
33817
  };
34050
33818
  };
34051
33819
  /** @description Missing or invalid API key. */
@@ -34085,12 +33853,13 @@ export interface operations {
34085
33853
  };
34086
33854
  };
34087
33855
  };
34088
- "integration-health-check": {
33856
+ "get-integration": {
34089
33857
  parameters: {
34090
33858
  query?: never;
34091
33859
  header?: never;
34092
33860
  path: {
34093
33861
  workspace_id: string;
33862
+ integration_id: string;
34094
33863
  };
34095
33864
  cookie?: never;
34096
33865
  };
@@ -34102,14 +33871,42 @@ export interface operations {
34102
33871
  [name: string]: unknown;
34103
33872
  };
34104
33873
  content: {
34105
- "application/json": {
34106
- [key: string]: unknown;
34107
- };
33874
+ "application/json": components["schemas"]["RestIntegrationResponse"] | components["schemas"]["DesktopIntegrationResponse"];
33875
+ };
33876
+ };
33877
+ /** @description Missing or invalid API key. */
33878
+ 401: {
33879
+ headers: {
33880
+ [name: string]: unknown;
33881
+ };
33882
+ content?: never;
33883
+ };
33884
+ /** @description Insufficient permissions. */
33885
+ 403: {
33886
+ headers: {
33887
+ [name: string]: unknown;
33888
+ };
33889
+ content?: never;
33890
+ };
33891
+ /** @description Integration not found. */
33892
+ 404: {
33893
+ headers: {
33894
+ [name: string]: unknown;
33895
+ };
33896
+ content?: never;
33897
+ };
33898
+ /** @description Validation Error */
33899
+ 422: {
33900
+ headers: {
33901
+ [name: string]: unknown;
33902
+ };
33903
+ content: {
33904
+ "application/json": components["schemas"]["HTTPValidationError"];
34108
33905
  };
34109
33906
  };
34110
33907
  };
34111
33908
  };
34112
- "get-integration": {
33909
+ "delete-integration": {
34113
33910
  parameters: {
34114
33911
  query?: never;
34115
33912
  header?: never;
@@ -34122,13 +33919,11 @@ export interface operations {
34122
33919
  requestBody?: never;
34123
33920
  responses: {
34124
33921
  /** @description Successful Response */
34125
- 200: {
33922
+ 204: {
34126
33923
  headers: {
34127
33924
  [name: string]: unknown;
34128
33925
  };
34129
- content: {
34130
- "application/json": components["schemas"]["IntegrationResponse"];
34131
- };
33926
+ content?: never;
34132
33927
  };
34133
33928
  /** @description Missing or invalid API key. */
34134
33929
  401: {
@@ -34151,6 +33946,13 @@ export interface operations {
34151
33946
  };
34152
33947
  content?: never;
34153
33948
  };
33949
+ /** @description Integration referenced by one or more skills. */
33950
+ 409: {
33951
+ headers: {
33952
+ [name: string]: unknown;
33953
+ };
33954
+ content?: never;
33955
+ };
34154
33956
  /** @description Validation Error */
34155
33957
  422: {
34156
33958
  headers: {
@@ -34174,9 +33976,73 @@ export interface operations {
34174
33976
  };
34175
33977
  requestBody: {
34176
33978
  content: {
34177
- "application/json": components["schemas"]["UpdateIntegrationRequest"];
33979
+ "application/json": components["schemas"]["src__routes__integrations__update_integration__Request"];
33980
+ };
33981
+ };
33982
+ responses: {
33983
+ /** @description Successful Response */
33984
+ 200: {
33985
+ headers: {
33986
+ [name: string]: unknown;
33987
+ };
33988
+ content: {
33989
+ "application/json": components["schemas"]["RestIntegrationResponse"];
33990
+ };
33991
+ };
33992
+ /** @description Missing or invalid API key. */
33993
+ 401: {
33994
+ headers: {
33995
+ [name: string]: unknown;
33996
+ };
33997
+ content?: never;
33998
+ };
33999
+ /** @description Insufficient permissions. */
34000
+ 403: {
34001
+ headers: {
34002
+ [name: string]: unknown;
34003
+ };
34004
+ content?: never;
34005
+ };
34006
+ /** @description Integration not found. */
34007
+ 404: {
34008
+ headers: {
34009
+ [name: string]: unknown;
34010
+ };
34011
+ content?: never;
34012
+ };
34013
+ /** @description Invalid request body, NOT NULL field set to null, or no fields to update. */
34014
+ 422: {
34015
+ headers: {
34016
+ [name: string]: unknown;
34017
+ };
34018
+ content?: never;
34178
34019
  };
34179
34020
  };
34021
+ };
34022
+ "list-integration-endpoints": {
34023
+ parameters: {
34024
+ query?: {
34025
+ /** @description Substring match against name or description (case-insensitive). */
34026
+ search?: components["schemas"]["SearchString"] | null;
34027
+ /**
34028
+ * @description Sort axes. Repeated query param stacks left-to-right. Each entry is `+field` or `-field`
34029
+ * (direction prefix REQUIRED). Allowed fields: ``name``, ``created_at``, ``updated_at``.
34030
+ * Default: ``-created_at``. ``id`` is always appended as the final tiebreaker.
34031
+ */
34032
+ sort_by?: string[];
34033
+ /** @description The maximum number of endpoints to return. */
34034
+ limit?: number;
34035
+ /** @description Opaque token from a prior response. Pass back unchanged with the same `sort_by` to advance. */
34036
+ continuation_token?: unknown;
34037
+ };
34038
+ header?: never;
34039
+ path: {
34040
+ workspace_id: string;
34041
+ integration_id: string;
34042
+ };
34043
+ cookie?: never;
34044
+ };
34045
+ requestBody?: never;
34180
34046
  responses: {
34181
34047
  /** @description Successful Response */
34182
34048
  200: {
@@ -34184,7 +34050,55 @@ export interface operations {
34184
34050
  [name: string]: unknown;
34185
34051
  };
34186
34052
  content: {
34187
- "application/json": components["schemas"]["IntegrationResponse"];
34053
+ "application/json": components["schemas"]["src__routes__integrations__list_endpoints__Response"];
34054
+ };
34055
+ };
34056
+ /** @description Missing or invalid API key. */
34057
+ 401: {
34058
+ headers: {
34059
+ [name: string]: unknown;
34060
+ };
34061
+ content?: never;
34062
+ };
34063
+ /** @description Insufficient permissions. */
34064
+ 403: {
34065
+ headers: {
34066
+ [name: string]: unknown;
34067
+ };
34068
+ content?: never;
34069
+ };
34070
+ /** @description Query parameter failed validation or continuation_token is unparseable. */
34071
+ 422: {
34072
+ headers: {
34073
+ [name: string]: unknown;
34074
+ };
34075
+ content?: never;
34076
+ };
34077
+ };
34078
+ };
34079
+ "create-integration-endpoint": {
34080
+ parameters: {
34081
+ query?: never;
34082
+ header?: never;
34083
+ path: {
34084
+ workspace_id: string;
34085
+ integration_id: string;
34086
+ };
34087
+ cookie?: never;
34088
+ };
34089
+ requestBody: {
34090
+ content: {
34091
+ "application/json": components["schemas"]["src__routes__integrations__create_endpoint__Request"];
34092
+ };
34093
+ };
34094
+ responses: {
34095
+ /** @description Successful Response */
34096
+ 201: {
34097
+ headers: {
34098
+ [name: string]: unknown;
34099
+ };
34100
+ content: {
34101
+ "application/json": components["schemas"]["EndpointResponse"];
34188
34102
  };
34189
34103
  };
34190
34104
  /** @description Missing or invalid API key. */
@@ -34208,6 +34122,13 @@ export interface operations {
34208
34122
  };
34209
34123
  content?: never;
34210
34124
  };
34125
+ /** @description Endpoint name already exists on this integration. */
34126
+ 409: {
34127
+ headers: {
34128
+ [name: string]: unknown;
34129
+ };
34130
+ content?: never;
34131
+ };
34211
34132
  /** @description Invalid request body. */
34212
34133
  422: {
34213
34134
  headers: {
@@ -34217,13 +34138,68 @@ export interface operations {
34217
34138
  };
34218
34139
  };
34219
34140
  };
34220
- "delete-integration": {
34141
+ "get-integration-endpoint": {
34142
+ parameters: {
34143
+ query?: never;
34144
+ header?: never;
34145
+ path: {
34146
+ workspace_id: string;
34147
+ integration_id: string;
34148
+ endpoint_id: string;
34149
+ };
34150
+ cookie?: never;
34151
+ };
34152
+ requestBody?: never;
34153
+ responses: {
34154
+ /** @description Successful Response */
34155
+ 200: {
34156
+ headers: {
34157
+ [name: string]: unknown;
34158
+ };
34159
+ content: {
34160
+ "application/json": components["schemas"]["EndpointResponse"];
34161
+ };
34162
+ };
34163
+ /** @description Missing or invalid API key. */
34164
+ 401: {
34165
+ headers: {
34166
+ [name: string]: unknown;
34167
+ };
34168
+ content?: never;
34169
+ };
34170
+ /** @description Insufficient permissions. */
34171
+ 403: {
34172
+ headers: {
34173
+ [name: string]: unknown;
34174
+ };
34175
+ content?: never;
34176
+ };
34177
+ /** @description Endpoint not found. */
34178
+ 404: {
34179
+ headers: {
34180
+ [name: string]: unknown;
34181
+ };
34182
+ content?: never;
34183
+ };
34184
+ /** @description Validation Error */
34185
+ 422: {
34186
+ headers: {
34187
+ [name: string]: unknown;
34188
+ };
34189
+ content: {
34190
+ "application/json": components["schemas"]["HTTPValidationError"];
34191
+ };
34192
+ };
34193
+ };
34194
+ };
34195
+ "delete-integration-endpoint": {
34221
34196
  parameters: {
34222
34197
  query?: never;
34223
34198
  header?: never;
34224
34199
  path: {
34225
34200
  workspace_id: string;
34226
34201
  integration_id: string;
34202
+ endpoint_id: string;
34227
34203
  };
34228
34204
  cookie?: never;
34229
34205
  };
@@ -34250,7 +34226,7 @@ export interface operations {
34250
34226
  };
34251
34227
  content?: never;
34252
34228
  };
34253
- /** @description Integration not found. */
34229
+ /** @description Endpoint not found. */
34254
34230
  404: {
34255
34231
  headers: {
34256
34232
  [name: string]: unknown;
@@ -34268,20 +34244,20 @@ export interface operations {
34268
34244
  };
34269
34245
  };
34270
34246
  };
34271
- "test-integration-endpoint": {
34247
+ "update-integration-endpoint": {
34272
34248
  parameters: {
34273
34249
  query?: never;
34274
34250
  header?: never;
34275
34251
  path: {
34276
34252
  workspace_id: string;
34277
34253
  integration_id: string;
34278
- endpoint_name: string;
34254
+ endpoint_id: string;
34279
34255
  };
34280
34256
  cookie?: never;
34281
34257
  };
34282
34258
  requestBody: {
34283
34259
  content: {
34284
- "application/json": components["schemas"]["TestEndpointRequest"];
34260
+ "application/json": components["schemas"]["src__routes__integrations__update_endpoint__Request"];
34285
34261
  };
34286
34262
  };
34287
34263
  responses: {
@@ -34291,7 +34267,7 @@ export interface operations {
34291
34267
  [name: string]: unknown;
34292
34268
  };
34293
34269
  content: {
34294
- "application/json": components["schemas"]["TestEndpointResponse"];
34270
+ "application/json": components["schemas"]["EndpointResponse"];
34295
34271
  };
34296
34272
  };
34297
34273
  /** @description Missing or invalid API key. */
@@ -34308,35 +34284,38 @@ export interface operations {
34308
34284
  };
34309
34285
  content?: never;
34310
34286
  };
34311
- /** @description Integration not found. */
34287
+ /** @description Endpoint not found. */
34312
34288
  404: {
34313
34289
  headers: {
34314
34290
  [name: string]: unknown;
34315
34291
  };
34316
34292
  content?: never;
34317
34293
  };
34318
- /** @description Validation Error */
34294
+ /** @description Invalid request body, NOT NULL field set to null, or no fields to update. */
34319
34295
  422: {
34320
34296
  headers: {
34321
34297
  [name: string]: unknown;
34322
34298
  };
34323
- content: {
34324
- "application/json": components["schemas"]["HTTPValidationError"];
34325
- };
34299
+ content?: never;
34326
34300
  };
34327
34301
  };
34328
34302
  };
34329
- "test-integration-connection": {
34303
+ "test-integration-endpoint": {
34330
34304
  parameters: {
34331
34305
  query?: never;
34332
34306
  header?: never;
34333
34307
  path: {
34334
34308
  workspace_id: string;
34335
34309
  integration_id: string;
34310
+ endpoint_id: string;
34336
34311
  };
34337
34312
  cookie?: never;
34338
34313
  };
34339
- requestBody?: never;
34314
+ requestBody: {
34315
+ content: {
34316
+ "application/json": components["schemas"]["src__routes__integrations__test_endpoint__Request"];
34317
+ };
34318
+ };
34340
34319
  responses: {
34341
34320
  /** @description Successful Response */
34342
34321
  200: {
@@ -34344,7 +34323,7 @@ export interface operations {
34344
34323
  [name: string]: unknown;
34345
34324
  };
34346
34325
  content: {
34347
- "application/json": components["schemas"]["TestConnectionResponse"];
34326
+ "application/json": components["schemas"]["src__routes__integrations__test_endpoint__Response"];
34348
34327
  };
34349
34328
  };
34350
34329
  /** @description Missing or invalid API key. */
@@ -34361,7 +34340,7 @@ export interface operations {
34361
34340
  };
34362
34341
  content?: never;
34363
34342
  };
34364
- /** @description Integration not found. */
34343
+ /** @description Integration or endpoint not found. */
34365
34344
  404: {
34366
34345
  headers: {
34367
34346
  [name: string]: unknown;
@@ -39384,7 +39363,7 @@ export interface operations {
39384
39363
  };
39385
39364
  };
39386
39365
  };
39387
- "list-simulation-branches": {
39366
+ "simulation-bridge": {
39388
39367
  parameters: {
39389
39368
  query?: never;
39390
39369
  header?: never;
@@ -39393,7 +39372,11 @@ export interface operations {
39393
39372
  };
39394
39373
  cookie?: never;
39395
39374
  };
39396
- requestBody?: never;
39375
+ requestBody: {
39376
+ content: {
39377
+ "application/json": components["schemas"]["BridgeRequest"];
39378
+ };
39379
+ };
39397
39380
  responses: {
39398
39381
  /** @description Successful Response */
39399
39382
  200: {
@@ -39401,14 +39384,21 @@ export interface operations {
39401
39384
  [name: string]: unknown;
39402
39385
  };
39403
39386
  content: {
39404
- "application/json": {
39405
- [key: string]: unknown;
39406
- };
39387
+ "application/json": components["schemas"]["BridgeResponse"];
39388
+ };
39389
+ };
39390
+ /** @description Validation Error */
39391
+ 422: {
39392
+ headers: {
39393
+ [name: string]: unknown;
39394
+ };
39395
+ content: {
39396
+ "application/json": components["schemas"]["HTTPValidationError"];
39407
39397
  };
39408
39398
  };
39409
39399
  };
39410
39400
  };
39411
- "create-simulation-branch": {
39401
+ "simulation-bridge-plan": {
39412
39402
  parameters: {
39413
39403
  query?: never;
39414
39404
  header?: never;
@@ -39419,7 +39409,7 @@ export interface operations {
39419
39409
  };
39420
39410
  requestBody: {
39421
39411
  content: {
39422
- "application/json": components["schemas"]["CreateBranchRequest"];
39412
+ "application/json": components["schemas"]["BridgePlanRequest"];
39423
39413
  };
39424
39414
  };
39425
39415
  responses: {
@@ -39429,9 +39419,7 @@ export interface operations {
39429
39419
  [name: string]: unknown;
39430
39420
  };
39431
39421
  content: {
39432
- "application/json": {
39433
- [key: string]: unknown;
39434
- };
39422
+ "application/json": components["schemas"]["BridgePlanResponse"];
39435
39423
  };
39436
39424
  };
39437
39425
  /** @description Validation Error */
@@ -39445,20 +39433,21 @@ export interface operations {
39445
39433
  };
39446
39434
  };
39447
39435
  };
39448
- "simulation-bridge": {
39436
+ "list-simulation-cases": {
39449
39437
  parameters: {
39450
- query?: never;
39438
+ query?: {
39439
+ service_id?: string | null;
39440
+ tags?: string[] | null;
39441
+ limit?: number;
39442
+ continuation_token?: number;
39443
+ };
39451
39444
  header?: never;
39452
39445
  path: {
39453
39446
  workspace_id: string;
39454
39447
  };
39455
39448
  cookie?: never;
39456
39449
  };
39457
- requestBody: {
39458
- content: {
39459
- "application/json": components["schemas"]["BridgeRequest"];
39460
- };
39461
- };
39450
+ requestBody?: never;
39462
39451
  responses: {
39463
39452
  /** @description Successful Response */
39464
39453
  200: {
@@ -39466,7 +39455,7 @@ export interface operations {
39466
39455
  [name: string]: unknown;
39467
39456
  };
39468
39457
  content: {
39469
- "application/json": components["schemas"]["BridgeResponse"];
39458
+ "application/json": components["schemas"]["PaginatedResponse_SimulationCaseResponse_"];
39470
39459
  };
39471
39460
  };
39472
39461
  /** @description Validation Error */
@@ -39480,7 +39469,7 @@ export interface operations {
39480
39469
  };
39481
39470
  };
39482
39471
  };
39483
- "simulation-bridge-plan": {
39472
+ "create-simulation-cases": {
39484
39473
  parameters: {
39485
39474
  query?: never;
39486
39475
  header?: never;
@@ -39491,7 +39480,7 @@ export interface operations {
39491
39480
  };
39492
39481
  requestBody: {
39493
39482
  content: {
39494
- "application/json": components["schemas"]["BridgePlanRequest"];
39483
+ "application/json": components["schemas"]["CreateSimulationCasesRequest"];
39495
39484
  };
39496
39485
  };
39497
39486
  responses: {
@@ -39501,7 +39490,7 @@ export interface operations {
39501
39490
  [name: string]: unknown;
39502
39491
  };
39503
39492
  content: {
39504
- "application/json": components["schemas"]["BridgePlanResponse"];
39493
+ "application/json": components["schemas"]["CreateSimulationCasesResponse"];
39505
39494
  };
39506
39495
  };
39507
39496
  /** @description Validation Error */
@@ -39515,17 +39504,13 @@ export interface operations {
39515
39504
  };
39516
39505
  };
39517
39506
  };
39518
- "list-simulation-cases": {
39507
+ "get-simulation-case": {
39519
39508
  parameters: {
39520
- query?: {
39521
- service_id?: string | null;
39522
- tags?: string[] | null;
39523
- limit?: number;
39524
- continuation_token?: number;
39525
- };
39509
+ query?: never;
39526
39510
  header?: never;
39527
39511
  path: {
39528
39512
  workspace_id: string;
39513
+ case_id: string;
39529
39514
  };
39530
39515
  cookie?: never;
39531
39516
  };
@@ -39537,8 +39522,15 @@ export interface operations {
39537
39522
  [name: string]: unknown;
39538
39523
  };
39539
39524
  content: {
39540
- "application/json": components["schemas"]["PaginatedResponse_SimulationCaseResponse_"];
39525
+ "application/json": components["schemas"]["SimulationCaseResponse"];
39526
+ };
39527
+ };
39528
+ /** @description Simulation case not found */
39529
+ 404: {
39530
+ headers: {
39531
+ [name: string]: unknown;
39541
39532
  };
39533
+ content?: never;
39542
39534
  };
39543
39535
  /** @description Validation Error */
39544
39536
  422: {
@@ -39551,29 +39543,31 @@ export interface operations {
39551
39543
  };
39552
39544
  };
39553
39545
  };
39554
- "create-simulation-cases": {
39546
+ "delete-simulation-case": {
39555
39547
  parameters: {
39556
39548
  query?: never;
39557
39549
  header?: never;
39558
39550
  path: {
39559
39551
  workspace_id: string;
39552
+ case_id: string;
39560
39553
  };
39561
39554
  cookie?: never;
39562
39555
  };
39563
- requestBody: {
39564
- content: {
39565
- "application/json": components["schemas"]["CreateSimulationCasesRequest"];
39566
- };
39567
- };
39556
+ requestBody?: never;
39568
39557
  responses: {
39569
39558
  /** @description Successful Response */
39570
- 200: {
39559
+ 204: {
39571
39560
  headers: {
39572
39561
  [name: string]: unknown;
39573
39562
  };
39574
- content: {
39575
- "application/json": components["schemas"]["CreateSimulationCasesResponse"];
39563
+ content?: never;
39564
+ };
39565
+ /** @description Simulation case not found */
39566
+ 404: {
39567
+ headers: {
39568
+ [name: string]: unknown;
39576
39569
  };
39570
+ content?: never;
39577
39571
  };
39578
39572
  /** @description Validation Error */
39579
39573
  422: {
@@ -39586,7 +39580,7 @@ export interface operations {
39586
39580
  };
39587
39581
  };
39588
39582
  };
39589
- "get-simulation-case": {
39583
+ "update-simulation-case": {
39590
39584
  parameters: {
39591
39585
  query?: never;
39592
39586
  header?: never;
@@ -39596,7 +39590,11 @@ export interface operations {
39596
39590
  };
39597
39591
  cookie?: never;
39598
39592
  };
39599
- requestBody?: never;
39593
+ requestBody: {
39594
+ content: {
39595
+ "application/json": components["schemas"]["UpdateSimulationCaseRequest"];
39596
+ };
39597
+ };
39600
39598
  responses: {
39601
39599
  /** @description Successful Response */
39602
39600
  200: {
@@ -40405,11 +40403,202 @@ export interface operations {
40405
40403
  };
40406
40404
  };
40407
40405
  };
40406
+ "list-simulation-suites": {
40407
+ parameters: {
40408
+ query?: never;
40409
+ header?: never;
40410
+ path: {
40411
+ workspace_id: string;
40412
+ };
40413
+ cookie?: never;
40414
+ };
40415
+ requestBody?: never;
40416
+ responses: {
40417
+ /** @description Successful Response */
40418
+ 200: {
40419
+ headers: {
40420
+ [name: string]: unknown;
40421
+ };
40422
+ content: {
40423
+ "application/json": components["schemas"]["ListSimulationSuitesResponse"];
40424
+ };
40425
+ };
40426
+ };
40427
+ };
40428
+ "create-simulation-suite": {
40429
+ parameters: {
40430
+ query?: never;
40431
+ header?: never;
40432
+ path: {
40433
+ workspace_id: string;
40434
+ };
40435
+ cookie?: never;
40436
+ };
40437
+ requestBody: {
40438
+ content: {
40439
+ "application/json": components["schemas"]["CreateSimulationSuiteRequest"];
40440
+ };
40441
+ };
40442
+ responses: {
40443
+ /** @description Successful Response */
40444
+ 200: {
40445
+ headers: {
40446
+ [name: string]: unknown;
40447
+ };
40448
+ content: {
40449
+ "application/json": components["schemas"]["SimulationSuiteResponse"];
40450
+ };
40451
+ };
40452
+ /** @description Validation Error */
40453
+ 422: {
40454
+ headers: {
40455
+ [name: string]: unknown;
40456
+ };
40457
+ content: {
40458
+ "application/json": components["schemas"]["HTTPValidationError"];
40459
+ };
40460
+ };
40461
+ };
40462
+ };
40463
+ "get-simulation-suite": {
40464
+ parameters: {
40465
+ query?: never;
40466
+ header?: never;
40467
+ path: {
40468
+ workspace_id: string;
40469
+ suite_id: string;
40470
+ };
40471
+ cookie?: never;
40472
+ };
40473
+ requestBody?: never;
40474
+ responses: {
40475
+ /** @description Successful Response */
40476
+ 200: {
40477
+ headers: {
40478
+ [name: string]: unknown;
40479
+ };
40480
+ content: {
40481
+ "application/json": components["schemas"]["SimulationSuiteResponse"];
40482
+ };
40483
+ };
40484
+ /** @description Validation Error */
40485
+ 422: {
40486
+ headers: {
40487
+ [name: string]: unknown;
40488
+ };
40489
+ content: {
40490
+ "application/json": components["schemas"]["HTTPValidationError"];
40491
+ };
40492
+ };
40493
+ };
40494
+ };
40495
+ "delete-simulation-suite": {
40496
+ parameters: {
40497
+ query?: never;
40498
+ header?: never;
40499
+ path: {
40500
+ workspace_id: string;
40501
+ suite_id: string;
40502
+ };
40503
+ cookie?: never;
40504
+ };
40505
+ requestBody?: never;
40506
+ responses: {
40507
+ /** @description Successful Response */
40508
+ 204: {
40509
+ headers: {
40510
+ [name: string]: unknown;
40511
+ };
40512
+ content?: never;
40513
+ };
40514
+ /** @description Validation Error */
40515
+ 422: {
40516
+ headers: {
40517
+ [name: string]: unknown;
40518
+ };
40519
+ content: {
40520
+ "application/json": components["schemas"]["HTTPValidationError"];
40521
+ };
40522
+ };
40523
+ };
40524
+ };
40525
+ "update-simulation-suite": {
40526
+ parameters: {
40527
+ query?: never;
40528
+ header?: never;
40529
+ path: {
40530
+ workspace_id: string;
40531
+ suite_id: string;
40532
+ };
40533
+ cookie?: never;
40534
+ };
40535
+ requestBody: {
40536
+ content: {
40537
+ "application/json": components["schemas"]["UpdateSimulationSuiteRequest"];
40538
+ };
40539
+ };
40540
+ responses: {
40541
+ /** @description Successful Response */
40542
+ 200: {
40543
+ headers: {
40544
+ [name: string]: unknown;
40545
+ };
40546
+ content: {
40547
+ "application/json": components["schemas"]["SimulationSuiteResponse"];
40548
+ };
40549
+ };
40550
+ /** @description Validation Error */
40551
+ 422: {
40552
+ headers: {
40553
+ [name: string]: unknown;
40554
+ };
40555
+ content: {
40556
+ "application/json": components["schemas"]["HTTPValidationError"];
40557
+ };
40558
+ };
40559
+ };
40560
+ };
40561
+ "run-simulation-suite": {
40562
+ parameters: {
40563
+ query?: never;
40564
+ header?: never;
40565
+ path: {
40566
+ workspace_id: string;
40567
+ suite_id: string;
40568
+ };
40569
+ cookie?: never;
40570
+ };
40571
+ requestBody: {
40572
+ content: {
40573
+ "application/json": components["schemas"]["RunSimulationBenchmarkRequest"];
40574
+ };
40575
+ };
40576
+ responses: {
40577
+ /** @description Successful Response */
40578
+ 200: {
40579
+ headers: {
40580
+ [name: string]: unknown;
40581
+ };
40582
+ content: {
40583
+ "application/json": components["schemas"]["SimulationBenchmarkRunResponse"];
40584
+ };
40585
+ };
40586
+ /** @description Validation Error */
40587
+ 422: {
40588
+ headers: {
40589
+ [name: string]: unknown;
40590
+ };
40591
+ content: {
40592
+ "application/json": components["schemas"]["HTTPValidationError"];
40593
+ };
40594
+ };
40595
+ };
40596
+ };
40408
40597
  "list-skills": {
40409
40598
  parameters: {
40410
40599
  query?: {
40411
40600
  enabled?: boolean | null;
40412
- execution_tier?: ("direct" | "orchestrated" | "computer_use") | null;
40601
+ execution_tier?: ("orchestrated" | "computer_use") | null;
40413
40602
  search?: components["schemas"]["SearchString"] | null;
40414
40603
  sort_by?: string | null;
40415
40604
  limit?: number;