@amigo-ai/platform-sdk 0.4.7 → 0.5.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.
@@ -258,6 +258,40 @@ export interface paths {
258
258
  patch?: never;
259
259
  trace?: never;
260
260
  };
261
+ "/upload/{link_token}/files": {
262
+ parameters: {
263
+ query?: never;
264
+ header?: never;
265
+ path?: never;
266
+ cookie?: never;
267
+ };
268
+ get?: never;
269
+ put?: never;
270
+ /** Receive Upload */
271
+ post: operations["upload-intake-file-via-link"];
272
+ delete?: never;
273
+ options?: never;
274
+ head?: never;
275
+ patch?: never;
276
+ trace?: never;
277
+ };
278
+ "/upload/{link_token}/info": {
279
+ parameters: {
280
+ query?: never;
281
+ header?: never;
282
+ path?: never;
283
+ cookie?: never;
284
+ };
285
+ /** Get Link Info */
286
+ get: operations["get-intake-link-info"];
287
+ put?: never;
288
+ post?: never;
289
+ delete?: never;
290
+ options?: never;
291
+ head?: never;
292
+ patch?: never;
293
+ trace?: never;
294
+ };
261
295
  "/v1/auth/me": {
262
296
  parameters: {
263
297
  query?: never;
@@ -2054,6 +2088,10 @@ export interface paths {
2054
2088
  * _validate_read_only_sql to block DROP/TRUNCATE/ALTER/CREATE/GRANT/REVOKE/
2055
2089
  * DELETE/UPDATE/INSERT statements. Catalog-level access is further restricted
2056
2090
  * by the service principal's Databricks grants (read-only on analytics catalog).
2091
+ *
2092
+ * Every panel query MUST reference the ``:ws_id`` parameter so that
2093
+ * ResearchQueryService binds it to the requesting workspace. Queries
2094
+ * without this binding are rejected to prevent cross-tenant data access.
2057
2095
  */
2058
2096
  post: operations["execute_dashboard_v1__workspace_id__dashboards__dashboard_id__execute_post"];
2059
2097
  delete?: never;
@@ -2134,6 +2172,26 @@ export interface paths {
2134
2172
  patch?: never;
2135
2173
  trace?: never;
2136
2174
  };
2175
+ "/v1/{workspace_id}/data-sources/{data_source_id}/sync": {
2176
+ parameters: {
2177
+ query?: never;
2178
+ header?: never;
2179
+ path?: never;
2180
+ cookie?: never;
2181
+ };
2182
+ get?: never;
2183
+ put?: never;
2184
+ /**
2185
+ * Trigger a manual sync for a data source
2186
+ * @description Queues a one-off poll of the data source on connector-runner. Bypasses the business-hours gate and per-resource cadence counter. Returns 202 once the request is queued; the poll itself runs asynchronously. Returns 409 if the source is already mid-sync, 503 if connector-runner is unreachable. The 409 is best-effort: the status check and trigger are separate calls, so a scheduled poll can grab the lease between them — clients should treat 409 as a UX hint, not a hard guarantee.
2187
+ */
2188
+ post: operations["trigger-data-source-sync"];
2189
+ delete?: never;
2190
+ options?: never;
2191
+ head?: never;
2192
+ patch?: never;
2193
+ trace?: never;
2194
+ };
2137
2195
  "/v1/{workspace_id}/data-sources/{data_source_id}/sync-history": {
2138
2196
  parameters: {
2139
2197
  query?: never;
@@ -3107,6 +3165,61 @@ export interface paths {
3107
3165
  patch?: never;
3108
3166
  trace?: never;
3109
3167
  };
3168
+ "/v1/{workspace_id}/intake/links": {
3169
+ parameters: {
3170
+ query?: never;
3171
+ header?: never;
3172
+ path?: never;
3173
+ cookie?: never;
3174
+ };
3175
+ /** List upload links */
3176
+ get: operations["list-intake-links"];
3177
+ put?: never;
3178
+ /**
3179
+ * Generate upload link
3180
+ * @description Create a shareable upload link for a customer.
3181
+ */
3182
+ post: operations["create-intake-link"];
3183
+ delete?: never;
3184
+ options?: never;
3185
+ head?: never;
3186
+ patch?: never;
3187
+ trace?: never;
3188
+ };
3189
+ "/v1/{workspace_id}/intake/links/{link_id}": {
3190
+ parameters: {
3191
+ query?: never;
3192
+ header?: never;
3193
+ path?: never;
3194
+ cookie?: never;
3195
+ };
3196
+ get?: never;
3197
+ put?: never;
3198
+ post?: never;
3199
+ /** Revoke upload link */
3200
+ delete: operations["revoke-intake-link"];
3201
+ options?: never;
3202
+ head?: never;
3203
+ patch?: never;
3204
+ trace?: never;
3205
+ };
3206
+ "/v1/{workspace_id}/intake/links/{link_id}/uploads": {
3207
+ parameters: {
3208
+ query?: never;
3209
+ header?: never;
3210
+ path?: never;
3211
+ cookie?: never;
3212
+ };
3213
+ /** List uploads for a link */
3214
+ get: operations["list-intake-link-uploads"];
3215
+ put?: never;
3216
+ post?: never;
3217
+ delete?: never;
3218
+ options?: never;
3219
+ head?: never;
3220
+ patch?: never;
3221
+ trace?: never;
3222
+ };
3110
3223
  "/v1/{workspace_id}/integrations": {
3111
3224
  parameters: {
3112
3225
  query?: never;
@@ -3199,6 +3312,346 @@ export interface paths {
3199
3312
  patch?: never;
3200
3313
  trace?: never;
3201
3314
  };
3315
+ "/v1/{workspace_id}/m42/anomalies/ranked": {
3316
+ parameters: {
3317
+ query?: never;
3318
+ header?: never;
3319
+ path?: never;
3320
+ cookie?: never;
3321
+ };
3322
+ /**
3323
+ * List Anomalies Ranked
3324
+ * @description Ranked anomalies for a single indicator (default ``t2d_risk``). Includes inline decomposition + district centroids for the map. Schema-probes the alerts table so it works pre- and post-multi-indicator pipeline expansion.
3325
+ */
3326
+ get: operations["list_anomalies_ranked_v1__workspace_id__m42_anomalies_ranked_get"];
3327
+ put?: never;
3328
+ post?: never;
3329
+ delete?: never;
3330
+ options?: never;
3331
+ head?: never;
3332
+ patch?: never;
3333
+ trace?: never;
3334
+ };
3335
+ "/v1/{workspace_id}/m42/anomaly-alerts": {
3336
+ parameters: {
3337
+ query?: never;
3338
+ header?: never;
3339
+ path?: never;
3340
+ cookie?: never;
3341
+ };
3342
+ /**
3343
+ * List Anomaly Alerts
3344
+ * @description Emerging health anomalies with inline causal decomposition, recommended actions, and unacted projection. Hand-seeded demo data.
3345
+ */
3346
+ get: operations["list_anomaly_alerts_v1__workspace_id__m42_anomaly_alerts_get"];
3347
+ put?: never;
3348
+ post?: never;
3349
+ delete?: never;
3350
+ options?: never;
3351
+ head?: never;
3352
+ patch?: never;
3353
+ trace?: never;
3354
+ };
3355
+ "/v1/{workspace_id}/m42/catalog": {
3356
+ parameters: {
3357
+ query?: never;
3358
+ header?: never;
3359
+ path?: never;
3360
+ cookie?: never;
3361
+ };
3362
+ /**
3363
+ * List Catalog
3364
+ * @description Per-table layer + description + row count for the Catalog page.
3365
+ */
3366
+ get: operations["list_catalog_v1__workspace_id__m42_catalog_get"];
3367
+ put?: never;
3368
+ post?: never;
3369
+ delete?: never;
3370
+ options?: never;
3371
+ head?: never;
3372
+ patch?: never;
3373
+ trace?: never;
3374
+ };
3375
+ "/v1/{workspace_id}/m42/catalog/{table}/columns": {
3376
+ parameters: {
3377
+ query?: never;
3378
+ header?: never;
3379
+ path?: never;
3380
+ cookie?: never;
3381
+ };
3382
+ /**
3383
+ * Describe Table
3384
+ * @description Column metadata (name, type, comment) for one allowlisted m42 table.
3385
+ */
3386
+ get: operations["describe_table_v1__workspace_id__m42_catalog__table__columns_get"];
3387
+ put?: never;
3388
+ post?: never;
3389
+ delete?: never;
3390
+ options?: never;
3391
+ head?: never;
3392
+ patch?: never;
3393
+ trace?: never;
3394
+ };
3395
+ "/v1/{workspace_id}/m42/catalog/{table}/sample": {
3396
+ parameters: {
3397
+ query?: never;
3398
+ header?: never;
3399
+ path?: never;
3400
+ cookie?: never;
3401
+ };
3402
+ /**
3403
+ * Sample Table
3404
+ * @description Up to ``limit`` raw rows from one allowlisted m42 table for preview.
3405
+ */
3406
+ get: operations["sample_table_v1__workspace_id__m42_catalog__table__sample_get"];
3407
+ put?: never;
3408
+ post?: never;
3409
+ delete?: never;
3410
+ options?: never;
3411
+ head?: never;
3412
+ patch?: never;
3413
+ trace?: never;
3414
+ };
3415
+ "/v1/{workspace_id}/m42/clusters/forecast": {
3416
+ parameters: {
3417
+ query?: never;
3418
+ header?: never;
3419
+ path?: never;
3420
+ cookie?: never;
3421
+ };
3422
+ /**
3423
+ * List Cluster Forecast
3424
+ * @description Per-cluster forecast fan points for the Patient Profile multi-line chart. ``focus_area`` defaults to T2D for backward compat.
3425
+ */
3426
+ get: operations["list_cluster_forecast_v1__workspace_id__m42_clusters_forecast_get"];
3427
+ put?: never;
3428
+ post?: never;
3429
+ delete?: never;
3430
+ options?: never;
3431
+ head?: never;
3432
+ patch?: never;
3433
+ trace?: never;
3434
+ };
3435
+ "/v1/{workspace_id}/m42/clusters/summary": {
3436
+ parameters: {
3437
+ query?: never;
3438
+ header?: never;
3439
+ path?: never;
3440
+ cookie?: never;
3441
+ };
3442
+ /**
3443
+ * List Cluster Summary
3444
+ * @description Per-cluster cohort stats — size, mean age/BMI/HbA1c, prediabetes / T2D %, predicted-risk mean. Powers the Patient Profile cluster strip.
3445
+ */
3446
+ get: operations["list_cluster_summary_v1__workspace_id__m42_clusters_summary_get"];
3447
+ put?: never;
3448
+ post?: never;
3449
+ delete?: never;
3450
+ options?: never;
3451
+ head?: never;
3452
+ patch?: never;
3453
+ trace?: never;
3454
+ };
3455
+ "/v1/{workspace_id}/m42/district-metrics": {
3456
+ parameters: {
3457
+ query?: never;
3458
+ header?: never;
3459
+ path?: never;
3460
+ cookie?: never;
3461
+ };
3462
+ /**
3463
+ * List District Metrics
3464
+ * @description Per-district t2d observed vs predicted incidence, capacity gap, and unmet-demand score. Hand-seeded demo data.
3465
+ */
3466
+ get: operations["list_district_metrics_v1__workspace_id__m42_district_metrics_get"];
3467
+ put?: never;
3468
+ post?: never;
3469
+ delete?: never;
3470
+ options?: never;
3471
+ head?: never;
3472
+ patch?: never;
3473
+ trace?: never;
3474
+ };
3475
+ "/v1/{workspace_id}/m42/features": {
3476
+ parameters: {
3477
+ query?: never;
3478
+ header?: never;
3479
+ path?: never;
3480
+ cookie?: never;
3481
+ };
3482
+ /**
3483
+ * List Features
3484
+ * @description Allowlist of feature columns (continuous or binary) for the Explore UI.
3485
+ */
3486
+ get: operations["list_features_v1__workspace_id__m42_features_get"];
3487
+ put?: never;
3488
+ post?: never;
3489
+ delete?: never;
3490
+ options?: never;
3491
+ head?: never;
3492
+ patch?: never;
3493
+ trace?: never;
3494
+ };
3495
+ "/v1/{workspace_id}/m42/features/distribution": {
3496
+ parameters: {
3497
+ query?: never;
3498
+ header?: never;
3499
+ path?: never;
3500
+ cookie?: never;
3501
+ };
3502
+ /**
3503
+ * Feature Distribution
3504
+ * @description Histogram bins for one allowlisted feature, stratified by ``y_t2d_1yr`` outcome. Continuous features get ``bins`` buckets; binary features collapse to 2.
3505
+ */
3506
+ get: operations["feature_distribution_v1__workspace_id__m42_features_distribution_get"];
3507
+ put?: never;
3508
+ post?: never;
3509
+ delete?: never;
3510
+ options?: never;
3511
+ head?: never;
3512
+ patch?: never;
3513
+ trace?: never;
3514
+ };
3515
+ "/v1/{workspace_id}/m42/forecast-fan": {
3516
+ parameters: {
3517
+ query?: never;
3518
+ header?: never;
3519
+ path?: never;
3520
+ cookie?: never;
3521
+ };
3522
+ /**
3523
+ * List Forecast Fan
3524
+ * @description Forecast fan points (t, median, lower/upper 95% CI) for a named run + scenario. Used by the Sensorium observational fan and the Sims dual-envelope overlay.
3525
+ */
3526
+ get: operations["list_forecast_fan_v1__workspace_id__m42_forecast_fan_get"];
3527
+ put?: never;
3528
+ post?: never;
3529
+ delete?: never;
3530
+ options?: never;
3531
+ head?: never;
3532
+ patch?: never;
3533
+ trace?: never;
3534
+ };
3535
+ "/v1/{workspace_id}/m42/forecast-fan/draws": {
3536
+ parameters: {
3537
+ query?: never;
3538
+ header?: never;
3539
+ path?: never;
3540
+ cookie?: never;
3541
+ };
3542
+ /**
3543
+ * List Forecast Draws
3544
+ * @description Sampled subset of raw Poisson bootstrap draws (faint spaghetti curves behind the forecast fan).
3545
+ */
3546
+ get: operations["list_forecast_draws_v1__workspace_id__m42_forecast_fan_draws_get"];
3547
+ put?: never;
3548
+ post?: never;
3549
+ delete?: never;
3550
+ options?: never;
3551
+ head?: never;
3552
+ patch?: never;
3553
+ trace?: never;
3554
+ };
3555
+ "/v1/{workspace_id}/m42/model-registry": {
3556
+ parameters: {
3557
+ query?: never;
3558
+ header?: never;
3559
+ path?: never;
3560
+ cookie?: never;
3561
+ };
3562
+ /**
3563
+ * List Model Registry
3564
+ * @description Fitted GLM coefficients, training-set size, AUROC for each focus-area model. Inline JSON kept as strings — clients parse.
3565
+ */
3566
+ get: operations["list_model_registry_v1__workspace_id__m42_model_registry_get"];
3567
+ put?: never;
3568
+ post?: never;
3569
+ delete?: never;
3570
+ options?: never;
3571
+ head?: never;
3572
+ patch?: never;
3573
+ trace?: never;
3574
+ };
3575
+ "/v1/{workspace_id}/m42/patient-topology": {
3576
+ parameters: {
3577
+ query?: never;
3578
+ header?: never;
3579
+ path?: never;
3580
+ cookie?: never;
3581
+ };
3582
+ /**
3583
+ * List Patient Topology
3584
+ * @description Patient-level UMAP coordinates + predicted risk for the Self-Image scatter. Hand-seeded demo data (no ML training). Paginated.
3585
+ */
3586
+ get: operations["list_patient_topology_v1__workspace_id__m42_patient_topology_get"];
3587
+ put?: never;
3588
+ post?: never;
3589
+ delete?: never;
3590
+ options?: never;
3591
+ head?: never;
3592
+ patch?: never;
3593
+ trace?: never;
3594
+ };
3595
+ "/v1/{workspace_id}/m42/patients/{patient_id}/labs": {
3596
+ parameters: {
3597
+ query?: never;
3598
+ header?: never;
3599
+ path?: never;
3600
+ cookie?: never;
3601
+ };
3602
+ /**
3603
+ * List Patient Labs
3604
+ * @description Patient-level bronze lab rows ordered by observation_date. Drives the mini-trajectory charts in the Patient Profile drawer.
3605
+ */
3606
+ get: operations["list_patient_labs_v1__workspace_id__m42_patients__patient_id__labs_get"];
3607
+ put?: never;
3608
+ post?: never;
3609
+ delete?: never;
3610
+ options?: never;
3611
+ head?: never;
3612
+ patch?: never;
3613
+ trace?: never;
3614
+ };
3615
+ "/v1/{workspace_id}/m42/patients/{patient_id}/note": {
3616
+ parameters: {
3617
+ query?: never;
3618
+ header?: never;
3619
+ path?: never;
3620
+ cookie?: never;
3621
+ };
3622
+ /**
3623
+ * Get Patient Note
3624
+ * @description Patient's synthetic clinical note + LLM-extracted structured fields. NLP sample is 500 patients — returns 404 outside that set.
3625
+ */
3626
+ get: operations["get_patient_note_v1__workspace_id__m42_patients__patient_id__note_get"];
3627
+ put?: never;
3628
+ post?: never;
3629
+ delete?: never;
3630
+ options?: never;
3631
+ head?: never;
3632
+ patch?: never;
3633
+ trace?: never;
3634
+ };
3635
+ "/v1/{workspace_id}/m42/positive-signals": {
3636
+ parameters: {
3637
+ query?: never;
3638
+ header?: never;
3639
+ path?: never;
3640
+ cookie?: never;
3641
+ };
3642
+ /**
3643
+ * List Positive Signals
3644
+ * @description Small set of positive-trend headline metrics for the Sensorium hero strip. Hand-seeded demo data.
3645
+ */
3646
+ get: operations["list_positive_signals_v1__workspace_id__m42_positive_signals_get"];
3647
+ put?: never;
3648
+ post?: never;
3649
+ delete?: never;
3650
+ options?: never;
3651
+ head?: never;
3652
+ patch?: never;
3653
+ trace?: never;
3654
+ };
3202
3655
  "/v1/{workspace_id}/memory/analytics": {
3203
3656
  parameters: {
3204
3657
  query?: never;
@@ -3321,28 +3774,6 @@ export interface paths {
3321
3774
  patch?: never;
3322
3775
  trace?: never;
3323
3776
  };
3324
- "/v1/{workspace_id}/metrics/freshness": {
3325
- parameters: {
3326
- query?: never;
3327
- header?: never;
3328
- path?: never;
3329
- cookie?: never;
3330
- };
3331
- /**
3332
- * Get metric freshness status
3333
- * @description Get freshness status for all metrics in the workspace.
3334
- *
3335
- * Permissions: authenticated (any role).
3336
- */
3337
- get: operations["get-metric-freshness"];
3338
- put?: never;
3339
- post?: never;
3340
- delete?: never;
3341
- options?: never;
3342
- head?: never;
3343
- patch?: never;
3344
- trace?: never;
3345
- };
3346
3777
  "/v1/{workspace_id}/metrics/{metric_key}": {
3347
3778
  parameters: {
3348
3779
  query?: never;
@@ -4941,6 +5372,30 @@ export interface paths {
4941
5372
  patch?: never;
4942
5373
  trace?: never;
4943
5374
  };
5375
+ "/v1/{workspace_id}/services/{service_id}/voice-judge/recent": {
5376
+ parameters: {
5377
+ query?: never;
5378
+ header?: never;
5379
+ path?: never;
5380
+ cookie?: never;
5381
+ };
5382
+ /**
5383
+ * Recent voice-judge results for a service
5384
+ * @description Returns the most recent per-call voice-judge scores for one service, ordered newest first. Produced by the Databricks `voice_judge` job (stereo audio → Gemini 2.5 Flash → 10-dimension rubric). Used by the Agent Readiness page to populate Voice Quality criterion cards.
5385
+ *
5386
+ * **Latency**: 500ms-2s (reads from analytics warehouse, not OLTP).
5387
+ *
5388
+ * **Default limit**: 20. Max 100.
5389
+ */
5390
+ get: operations["list-voice-judge-recent"];
5391
+ put?: never;
5392
+ post?: never;
5393
+ delete?: never;
5394
+ options?: never;
5395
+ head?: never;
5396
+ patch?: never;
5397
+ trace?: never;
5398
+ };
4944
5399
  "/v1/{workspace_id}/services/{service_id}/voice-turn": {
4945
5400
  parameters: {
4946
5401
  query?: never;
@@ -5613,6 +6068,32 @@ export interface paths {
5613
6068
  patch?: never;
5614
6069
  trace?: never;
5615
6070
  };
6071
+ "/v1/{workspace_id}/simulations/bridge/plan": {
6072
+ parameters: {
6073
+ query?: never;
6074
+ header?: never;
6075
+ path?: never;
6076
+ cookie?: never;
6077
+ };
6078
+ get?: never;
6079
+ put?: never;
6080
+ /**
6081
+ * Simulation Bridge Plan
6082
+ * @description Infer a TargetSpec from an NL objective — preview before running /bridge.
6083
+ *
6084
+ * UX: user types "test scheduling failures in 20 different ways", we return
6085
+ * a structured target_spec + rationale. The frontend shows both, lets the
6086
+ * user edit (add/remove states, tighten pathways), then POSTs the final
6087
+ * spec to /bridge. Same LLM, same Vertex cost structure as /bridge, but
6088
+ * no run is created — pure inference.
6089
+ */
6090
+ post: operations["simulation-bridge-plan"];
6091
+ delete?: never;
6092
+ options?: never;
6093
+ head?: never;
6094
+ patch?: never;
6095
+ trace?: never;
6096
+ };
5616
6097
  "/v1/{workspace_id}/simulations/config-to-policy": {
5617
6098
  parameters: {
5618
6099
  query?: never;
@@ -5651,6 +6132,28 @@ export interface paths {
5651
6132
  patch?: never;
5652
6133
  trace?: never;
5653
6134
  };
6135
+ "/v1/{workspace_id}/simulations/runs/{run_id}": {
6136
+ parameters: {
6137
+ query?: never;
6138
+ header?: never;
6139
+ path?: never;
6140
+ cookie?: never;
6141
+ };
6142
+ /**
6143
+ * Get Simulation Run
6144
+ * @description Fetch a single run including objective / bridge_request / scenarios.
6145
+ *
6146
+ * Use the bridge_request payload to re-POST /bridge and replay the run.
6147
+ */
6148
+ get: operations["get-simulation-run"];
6149
+ put?: never;
6150
+ post?: never;
6151
+ delete?: never;
6152
+ options?: never;
6153
+ head?: never;
6154
+ patch?: never;
6155
+ trace?: never;
6156
+ };
5654
6157
  "/v1/{workspace_id}/simulations/runs/{run_id}/complete": {
5655
6158
  parameters: {
5656
6159
  query?: never;
@@ -7734,6 +8237,42 @@ export interface components {
7734
8237
  */
7735
8238
  type: "annotation";
7736
8239
  };
8240
+ /** AnomalyAlertResponse */
8241
+ AnomalyAlertResponse: {
8242
+ /** Count */
8243
+ count: number;
8244
+ /** Items */
8245
+ items: components["schemas"]["AnomalyAlertRow"][];
8246
+ /** Workspace Id */
8247
+ workspace_id: string;
8248
+ };
8249
+ /** AnomalyAlertRow */
8250
+ AnomalyAlertRow: {
8251
+ /** Actions Json */
8252
+ actions_json?: string | null;
8253
+ /** Alert Id */
8254
+ alert_id: string;
8255
+ /** Decomposition Json */
8256
+ decomposition_json?: string | null;
8257
+ /** Detected At */
8258
+ detected_at?: string | null;
8259
+ /** Mechanism */
8260
+ mechanism?: string | null;
8261
+ /** Narrative */
8262
+ narrative?: string | null;
8263
+ /** Priority Score */
8264
+ priority_score?: number | null;
8265
+ /** Projection Json */
8266
+ projection_json?: string | null;
8267
+ /** Severity */
8268
+ severity?: ("high" | "medium" | "low") | null;
8269
+ /** Slice Label */
8270
+ slice_label: string;
8271
+ /** Stats Json */
8272
+ stats_json?: string | null;
8273
+ /** Workspace Id */
8274
+ workspace_id: string;
8275
+ };
7737
8276
  /** ApiKeyResponse */
7738
8277
  ApiKeyResponse: {
7739
8278
  /**
@@ -8285,8 +8824,38 @@ export interface components {
8285
8824
  BrandingSettingsResponse: {
8286
8825
  branding: components["schemas"]["BrandingConfig"];
8287
8826
  };
8827
+ /** BridgePlanRequest */
8828
+ BridgePlanRequest: {
8829
+ /** Objective */
8830
+ objective: string;
8831
+ /**
8832
+ * Service Id
8833
+ * Format: uuid
8834
+ */
8835
+ service_id: string;
8836
+ };
8837
+ /** BridgePlanResponse */
8838
+ BridgePlanResponse: {
8839
+ /** Available States */
8840
+ available_states?: string[];
8841
+ /** Available Tools */
8842
+ available_tools?: string[];
8843
+ /** Rationale */
8844
+ rationale: string;
8845
+ target_spec: components["schemas"]["TargetSpec"];
8846
+ };
8288
8847
  /** BridgeRequest */
8289
8848
  BridgeRequest: {
8849
+ /**
8850
+ * Async Generation
8851
+ * @default false
8852
+ */
8853
+ async_generation?: boolean;
8854
+ /**
8855
+ * Auto Target Spec
8856
+ * @default false
8857
+ */
8858
+ auto_target_spec?: boolean;
8290
8859
  /** Branch Name */
8291
8860
  branch_name?: string | null;
8292
8861
  /**
@@ -8294,6 +8863,7 @@ export interface components {
8294
8863
  * @default 3
8295
8864
  */
8296
8865
  concurrency?: number;
8866
+ exploration?: components["schemas"]["ExplorationConfig"] | null;
8297
8867
  /**
8298
8868
  * Max Turns
8299
8869
  * @default 20
@@ -8313,9 +8883,13 @@ export interface components {
8313
8883
  service_id: string;
8314
8884
  /** Tags */
8315
8885
  tags?: string[];
8886
+ target_spec?: components["schemas"]["TargetSpec"] | null;
8316
8887
  };
8317
8888
  /** BridgeResponse */
8318
8889
  BridgeResponse: {
8890
+ inferred_target_spec?: components["schemas"]["TargetSpec"] | null;
8891
+ /** Inferred Target Spec Rationale */
8892
+ inferred_target_spec_rationale?: string | null;
8319
8893
  /**
8320
8894
  * Run Id
8321
8895
  * Format: uuid
@@ -8649,6 +9223,19 @@ export interface components {
8649
9223
  /** Total Segments */
8650
9224
  total_segments: number;
8651
9225
  };
9226
+ /** CatalogEntry */
9227
+ CatalogEntry: {
9228
+ /** Description */
9229
+ description: string;
9230
+ /** Exists */
9231
+ exists: boolean;
9232
+ /** Layer */
9233
+ layer: string;
9234
+ /** Name */
9235
+ name: string;
9236
+ /** Row Count */
9237
+ row_count: number;
9238
+ };
8652
9239
  /**
8653
9240
  * CatalogFunctionDef
8654
9241
  * @description A function discovered from the Databricks UC catalog.
@@ -8820,6 +9407,64 @@ export interface components {
8820
9407
  /** Status */
8821
9408
  status: string;
8822
9409
  };
9410
+ /** ClusterForecastPointRow */
9411
+ ClusterForecastPointRow: {
9412
+ /** Cluster Name */
9413
+ cluster_name: string;
9414
+ /** Focus Area */
9415
+ focus_area?: string | null;
9416
+ /** Is Historical */
9417
+ is_historical?: boolean | null;
9418
+ /** Lower 95 */
9419
+ lower_95?: number | null;
9420
+ /** Median */
9421
+ median?: number | null;
9422
+ /** T */
9423
+ t: number;
9424
+ /** Upper 95 */
9425
+ upper_95?: number | null;
9426
+ /** Workspace Id */
9427
+ workspace_id: string;
9428
+ };
9429
+ /** ClusterForecastResponse */
9430
+ ClusterForecastResponse: {
9431
+ /** Count */
9432
+ count: number;
9433
+ /** Items */
9434
+ items: components["schemas"]["ClusterForecastPointRow"][];
9435
+ /** Workspace Id */
9436
+ workspace_id: string;
9437
+ };
9438
+ /** ClusterSummaryResponse */
9439
+ ClusterSummaryResponse: {
9440
+ /** Count */
9441
+ count: number;
9442
+ /** Items */
9443
+ items: components["schemas"]["ClusterSummaryRow"][];
9444
+ /** Workspace Id */
9445
+ workspace_id: string;
9446
+ };
9447
+ /** ClusterSummaryRow */
9448
+ ClusterSummaryRow: {
9449
+ /** Cluster Name */
9450
+ cluster_name: string;
9451
+ /** Cohort Size */
9452
+ cohort_size: number;
9453
+ /** Mean Age */
9454
+ mean_age?: number | null;
9455
+ /** Mean Bmi */
9456
+ mean_bmi?: number | null;
9457
+ /** Mean Hba1C */
9458
+ mean_hba1c?: number | null;
9459
+ /** Mean Y Hat */
9460
+ mean_y_hat?: number | null;
9461
+ /** Pct Male */
9462
+ pct_male?: number | null;
9463
+ /** Pct Prediabetes */
9464
+ pct_prediabetes?: number | null;
9465
+ /** Pct T2D */
9466
+ pct_t2d?: number | null;
9467
+ };
8823
9468
  /**
8824
9469
  * CoachingItem
8825
9470
  * @description A specific, actionable improvement tied to an exact moment in the call.
@@ -8919,6 +9564,24 @@ export interface components {
8919
9564
  /** Validation */
8920
9565
  validation?: string | null;
8921
9566
  };
9567
+ /** ColumnInfo */
9568
+ ColumnInfo: {
9569
+ /** Column Name */
9570
+ column_name: string;
9571
+ /** Comment */
9572
+ comment?: string | null;
9573
+ /** Data Type */
9574
+ data_type: string;
9575
+ };
9576
+ /** ColumnsResponse */
9577
+ ColumnsResponse: {
9578
+ /** Count */
9579
+ count: number;
9580
+ /** Items */
9581
+ items: components["schemas"]["ColumnInfo"][];
9582
+ /** Workspace Id */
9583
+ workspace_id: string;
9584
+ };
8922
9585
  /** CommandCenterAlert */
8923
9586
  CommandCenterAlert: {
8924
9587
  /** Code */
@@ -8991,6 +9654,13 @@ export interface components {
8991
9654
  /** Workspace Id */
8992
9655
  workspace_id: string;
8993
9656
  };
9657
+ /** CompletionCriteria */
9658
+ CompletionCriteria: {
9659
+ /** State Based */
9660
+ state_based?: string[];
9661
+ /** Tool Based */
9662
+ tool_based?: string[];
9663
+ };
8994
9664
  /**
8995
9665
  * ComplianceDashboardResponse
8996
9666
  * @description Composite compliance health overview.
@@ -9701,6 +10371,21 @@ export interface components {
9701
10371
  */
9702
10372
  protocol?: "rest" | "fhir" | "mcp";
9703
10373
  };
10374
+ /** CreateLinkRequest */
10375
+ CreateLinkRequest: {
10376
+ customer_slug: components["schemas"]["SlugString"];
10377
+ display_name?: components["schemas"]["NameString"] | null;
10378
+ /**
10379
+ * Expires In Hours
10380
+ * @default 168
10381
+ */
10382
+ expires_in_hours?: number;
10383
+ /**
10384
+ * Max Uploads
10385
+ * @default 100
10386
+ */
10387
+ max_uploads?: number;
10388
+ };
9704
10389
  /** CreateMonitorConceptRequest */
9705
10390
  CreateMonitorConceptRequest: {
9706
10391
  agent_config?: components["schemas"]["AgentConfigPayload"];
@@ -11151,6 +11836,23 @@ export interface components {
11151
11836
  /** Wait For */
11152
11837
  wait_for?: ("surface_submission" | "human_approval") | null;
11153
11838
  };
11839
+ /** DecompositionRow */
11840
+ DecompositionRow: {
11841
+ /** Beta */
11842
+ beta?: number | null;
11843
+ /** Ci Hi */
11844
+ ci_hi?: number | null;
11845
+ /** Ci Lo */
11846
+ ci_lo?: number | null;
11847
+ /** Contribution */
11848
+ contribution: number;
11849
+ /** Delta X */
11850
+ delta_x?: number | null;
11851
+ /** Family */
11852
+ family?: string | null;
11853
+ /** Feature Name */
11854
+ feature_name: string;
11855
+ };
11154
11856
  /**
11155
11857
  * DeliverSurfaceRequest
11156
11858
  * @description Request to mark a surface as delivered.
@@ -11348,6 +12050,44 @@ export interface components {
11348
12050
  /** Ok */
11349
12051
  ok: boolean;
11350
12052
  };
12053
+ /** DistrictMetricsResponse */
12054
+ DistrictMetricsResponse: {
12055
+ /** Count */
12056
+ count: number;
12057
+ /** Items */
12058
+ items: components["schemas"]["DistrictMetricsRow"][];
12059
+ /** Workspace Id */
12060
+ workspace_id: string;
12061
+ };
12062
+ /** DistrictMetricsRow */
12063
+ DistrictMetricsRow: {
12064
+ /** Access Narrative */
12065
+ access_narrative?: string | null;
12066
+ /** Anomaly Narrative */
12067
+ anomaly_narrative?: string | null;
12068
+ /** Capacity Gap Pct */
12069
+ capacity_gap_pct?: number | null;
12070
+ /** Cohort Size */
12071
+ cohort_size?: number | null;
12072
+ /** District Name */
12073
+ district_name: string;
12074
+ /** Is Anomaly */
12075
+ is_anomaly?: boolean | null;
12076
+ /** Pcp Per 1K */
12077
+ pcp_per_1k?: number | null;
12078
+ /** Residual */
12079
+ residual?: number | null;
12080
+ /** T2D Incidence Per 1K */
12081
+ t2d_incidence_per_1k?: number | null;
12082
+ /** T2D Predicted Per 1K */
12083
+ t2d_predicted_per_1k?: number | null;
12084
+ /** Unmet Demand Score */
12085
+ unmet_demand_score?: number | null;
12086
+ /** Updated At */
12087
+ updated_at?: string | null;
12088
+ /** Workspace Id */
12089
+ workspace_id: string;
12090
+ };
11351
12091
  /**
11352
12092
  * DriverRow
11353
12093
  * @description One SPR row — generic (outcome, feature-tuple) grain.
@@ -11852,7 +12592,7 @@ export interface components {
11852
12592
  /** Sync Error */
11853
12593
  sync_error?: string | null;
11854
12594
  /** Sync Status */
11855
- sync_status?: ("pending" | "synced" | "failed" | "processing") | null;
12595
+ sync_status?: ("pending" | "synced" | "failed" | "processing" | "not_applicable") | null;
11856
12596
  /** Synced At */
11857
12597
  synced_at?: string | null;
11858
12598
  };
@@ -12425,6 +13165,60 @@ export interface components {
12425
13165
  /** Next State */
12426
13166
  next_state: string;
12427
13167
  };
13168
+ /** ExplorationConfig */
13169
+ ExplorationConfig: {
13170
+ /**
13171
+ * Coverage Driven Selection
13172
+ * @default false
13173
+ */
13174
+ coverage_driven_selection?: boolean;
13175
+ /**
13176
+ * Enable Forking
13177
+ * @default false
13178
+ */
13179
+ enable_forking?: boolean;
13180
+ /**
13181
+ * Max Forks Per Scenario
13182
+ * @default 2
13183
+ */
13184
+ max_forks_per_scenario?: number;
13185
+ /**
13186
+ * Recommend Candidates
13187
+ * @default 3
13188
+ */
13189
+ recommend_candidates?: number;
13190
+ };
13191
+ /** FeatureDef */
13192
+ FeatureDef: {
13193
+ /** Kind */
13194
+ kind: string;
13195
+ /** Name */
13196
+ name: string;
13197
+ };
13198
+ /** FeatureDistributionResponse */
13199
+ FeatureDistributionResponse: {
13200
+ /** Bins */
13201
+ bins: components["schemas"]["HistogramBin"][];
13202
+ /** Feature */
13203
+ feature: string;
13204
+ /** Kind */
13205
+ kind: string;
13206
+ /** N Total */
13207
+ n_total: number;
13208
+ /** N Y1 */
13209
+ n_y1: number;
13210
+ /** Workspace Id */
13211
+ workspace_id: string;
13212
+ };
13213
+ /** FeaturesResponse */
13214
+ FeaturesResponse: {
13215
+ /** Count */
13216
+ count: number;
13217
+ /** Items */
13218
+ items: components["schemas"]["FeatureDef"][];
13219
+ /** Workspace Id */
13220
+ workspace_id: string;
13221
+ };
12428
13222
  /** FhirAppointmentListResponse */
12429
13223
  FhirAppointmentListResponse: {
12430
13224
  /** Appointments */
@@ -12873,6 +13667,55 @@ export interface components {
12873
13667
  [key: string]: unknown;
12874
13668
  } | null;
12875
13669
  };
13670
+ /** ForecastDrawPoint */
13671
+ ForecastDrawPoint: {
13672
+ /** Draw Id */
13673
+ draw_id: number;
13674
+ /** T */
13675
+ t: number;
13676
+ /** Value */
13677
+ value: number;
13678
+ };
13679
+ /** ForecastDrawsResponse */
13680
+ ForecastDrawsResponse: {
13681
+ /** Count */
13682
+ count: number;
13683
+ /** Items */
13684
+ items: components["schemas"]["ForecastDrawPoint"][];
13685
+ /** Workspace Id */
13686
+ workspace_id: string;
13687
+ };
13688
+ /** ForecastFanPointRow */
13689
+ ForecastFanPointRow: {
13690
+ /** Is Historical */
13691
+ is_historical?: boolean | null;
13692
+ /** Lower 95 */
13693
+ lower_95?: number | null;
13694
+ /** Median */
13695
+ median?: number | null;
13696
+ /** Run Id */
13697
+ run_id: string;
13698
+ /**
13699
+ * Scenario
13700
+ * @enum {string}
13701
+ */
13702
+ scenario: "baseline" | "with_policy" | "observational";
13703
+ /** T */
13704
+ t: number;
13705
+ /** Upper 95 */
13706
+ upper_95?: number | null;
13707
+ /** Workspace Id */
13708
+ workspace_id: string;
13709
+ };
13710
+ /** ForecastFanResponse */
13711
+ ForecastFanResponse: {
13712
+ /** Count */
13713
+ count: number;
13714
+ /** Items */
13715
+ items: components["schemas"]["ForecastFanPointRow"][];
13716
+ /** Workspace Id */
13717
+ workspace_id: string;
13718
+ };
12876
13719
  /** ForkAlternative */
12877
13720
  ForkAlternative: {
12878
13721
  /** Caller Text */
@@ -13470,6 +14313,17 @@ export interface components {
13470
14313
  /** Workspace Id */
13471
14314
  workspace_id: string;
13472
14315
  };
14316
+ /** HistogramBin */
14317
+ HistogramBin: {
14318
+ /** X Hi */
14319
+ x_hi: number;
14320
+ /** X Lo */
14321
+ x_lo: number;
14322
+ /** Y0 */
14323
+ y0: number;
14324
+ /** Y1 */
14325
+ y1: number;
14326
+ };
13473
14327
  /** Identity */
13474
14328
  Identity: {
13475
14329
  /** Default Spoken Language */
@@ -13541,6 +14395,74 @@ export interface components {
13541
14395
  /** Volume Path */
13542
14396
  volume_path: string;
13543
14397
  };
14398
+ /** IntakeLinkResponse */
14399
+ IntakeLinkResponse: {
14400
+ /**
14401
+ * Created At
14402
+ * Format: date-time
14403
+ */
14404
+ created_at: string;
14405
+ customer_slug: components["schemas"]["SlugString"];
14406
+ display_name: components["schemas"]["NameString"] | null;
14407
+ /**
14408
+ * Expires At
14409
+ * Format: date-time
14410
+ */
14411
+ expires_at: string;
14412
+ /**
14413
+ * Id
14414
+ * Format: uuid
14415
+ */
14416
+ id: string;
14417
+ /** Last Upload At */
14418
+ last_upload_at: string | null;
14419
+ /** Link Token */
14420
+ link_token: string;
14421
+ /** Max Uploads */
14422
+ max_uploads: number;
14423
+ /** Revoked At */
14424
+ revoked_at: string | null;
14425
+ /**
14426
+ * Status
14427
+ * @enum {string}
14428
+ */
14429
+ status: "active" | "expired" | "revoked" | "exhausted";
14430
+ /** Upload Count */
14431
+ upload_count: number;
14432
+ /** Upload Url */
14433
+ upload_url: string;
14434
+ /**
14435
+ * Workspace Id
14436
+ * Format: uuid
14437
+ */
14438
+ workspace_id: string;
14439
+ };
14440
+ /** IntakeUploadResponse */
14441
+ IntakeUploadResponse: {
14442
+ /** Content Type */
14443
+ content_type: string;
14444
+ customer_slug: components["schemas"]["SlugString"];
14445
+ filename: components["schemas"]["NameString"];
14446
+ /**
14447
+ * Id
14448
+ * Format: uuid
14449
+ */
14450
+ id: string;
14451
+ /**
14452
+ * Received At
14453
+ * Format: date-time
14454
+ */
14455
+ received_at: string;
14456
+ /**
14457
+ * Scan Status
14458
+ * @enum {string}
14459
+ */
14460
+ scan_status: "skipped" | "pending" | "clean" | "infected";
14461
+ /** Sha256 */
14462
+ sha256: string;
14463
+ /** Size Bytes */
14464
+ size_bytes: number;
14465
+ };
13544
14466
  /** IntegrationResponse */
13545
14467
  IntegrationResponse: {
13546
14468
  /** @description Authentication configuration */
@@ -14181,6 +15103,15 @@ export interface components {
14181
15103
  /** Window Hours */
14182
15104
  window_hours: number;
14183
15105
  };
15106
+ /** M42CatalogResponse */
15107
+ M42CatalogResponse: {
15108
+ /** Count */
15109
+ count: number;
15110
+ /** Items */
15111
+ items: components["schemas"]["CatalogEntry"][];
15112
+ /** Workspace Id */
15113
+ workspace_id: string;
15114
+ };
14184
15115
  /** MarkSyncedRequest */
14185
15116
  MarkSyncedRequest: {
14186
15117
  /** Data Source Id */
@@ -14429,36 +15360,38 @@ export interface components {
14429
15360
  MetricCatalogEntry: {
14430
15361
  /** Builtin */
14431
15362
  builtin: boolean;
14432
- /**
14433
- * Channel Scope
14434
- * @default all
14435
- */
14436
- channel_scope?: string;
14437
15363
  /** Description */
14438
15364
  description?: string | null;
14439
15365
  /**
14440
15366
  * Extraction Mode
14441
15367
  * @default static
15368
+ * @enum {string}
14442
15369
  */
14443
- extraction_mode?: string;
14444
- /** Key */
14445
- key: string;
14446
- /** Metric Type */
14447
- metric_type: string;
15370
+ extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_sentiment" | "ai_query" | "sql_expr";
14448
15371
  /**
14449
- * Model Tier
14450
- * @default free
15372
+ * Granularity
15373
+ * @default aggregate
15374
+ * @enum {string}
14451
15375
  */
14452
- model_tier?: string;
14453
- /** Name */
14454
- name: string;
15376
+ granularity?: "aggregate" | "per_entity";
14455
15377
  /**
14456
- * Period Granularity
14457
- * @default daily
15378
+ * Has Prompt
15379
+ * @default false
14458
15380
  */
14459
- period_granularity?: string;
14460
- /** Source */
14461
- source: string;
15381
+ has_prompt?: boolean;
15382
+ key: components["schemas"]["SlugString"];
15383
+ /**
15384
+ * Metric Type
15385
+ * @enum {string}
15386
+ */
15387
+ metric_type: "numerical" | "categorical" | "boolean";
15388
+ /**
15389
+ * Model Tier
15390
+ * @default free
15391
+ * @enum {string}
15392
+ */
15393
+ model_tier?: "free" | "fast" | "balanced" | "max" | "custom";
15394
+ name: components["schemas"]["NameString"];
14462
15395
  /** Unit */
14463
15396
  unit?: string | null;
14464
15397
  };
@@ -14476,6 +15409,11 @@ export interface components {
14476
15409
  * (extract_path + aggregation). Shipped with every workspace.
14477
15410
  * - Custom metrics: extraction uses AI functions or static JSONB paths.
14478
15411
  * Defined per-workspace via settings API.
15412
+ *
15413
+ * Frozen: builtins are process-wide singletons exposed via the
15414
+ * ``BUILTIN_METRICS`` list. A mutable list field (e.g.
15415
+ * ``applies_to_product_types``) could otherwise be mutated by one caller
15416
+ * and leak into every subsequent call in the same process.
14479
15417
  */
14480
15418
  MetricDefinition: {
14481
15419
  /**
@@ -14502,7 +15440,7 @@ export interface components {
14502
15440
  ai_query_endpoint?: string | null;
14503
15441
  /**
14504
15442
  * Ai Query Prompt
14505
- * @description Prompt template for ai_query. Use {data} placeholder for event data. Example: 'Classify this call transcript into one of: {labels}. Transcript: {data}'
15443
+ * @description Prompt template for ai_query. Use {data} placeholder for event data. Example: 'Classify this call transcript into one of: {labels}. Transcript: {data}'. Budgeted at 8KB to hold the full rubric + output spec for standard quality judges (longest authored rubric — conversational_naturalness — is ~5KB).
14506
15444
  */
14507
15445
  ai_query_prompt?: string | null;
14508
15446
  /**
@@ -14512,6 +15450,11 @@ export interface components {
14512
15450
  ai_schema?: {
14513
15451
  [key: string]: unknown;
14514
15452
  } | null;
15453
+ /**
15454
+ * Applies To Product Types
15455
+ * @description Product types this metric applies to (matches service tags, e.g. 'scheduling', 'outbound', 'coaching', 'intake', 'triage', 'support'). When set, the metric only computes for calls belonging to services whose config.tags include one of these keys. When None (default), the metric applies to every service regardless of product type.
15456
+ */
15457
+ applies_to_product_types?: string[] | null;
14515
15458
  /**
14516
15459
  * Builtin
14517
15460
  * @description True for platform-provided metrics (read-only key).
@@ -14554,6 +15497,13 @@ export interface components {
14554
15497
  * @default 60
14555
15498
  */
14556
15499
  freshness_sla_minutes?: number;
15500
+ /**
15501
+ * Granularity
15502
+ * @description 'aggregate' groups by (workspace, period) — one value per time bucket. 'per_entity' keeps entity_id — one value per entity (call, encounter). Judge metrics are typically per_entity. Computed metrics are typically aggregate.
15503
+ * @default aggregate
15504
+ * @enum {string}
15505
+ */
15506
+ granularity?: "aggregate" | "per_entity";
14557
15507
  /**
14558
15508
  * Id
14559
15509
  * Format: uuid
@@ -14591,6 +15541,11 @@ export interface components {
14591
15541
  * @enum {string}
14592
15542
  */
14593
15543
  period_granularity?: "hourly" | "daily";
15544
+ /**
15545
+ * Prompt
15546
+ * @description Rubric prompt for LLM judge evaluation with {$.path} context variables. Each {$.path} reference is extracted from the entity's projected state and substituted before sending to ai_query. The prompt is both the evaluation criteria and the context specification.
15547
+ */
15548
+ prompt?: string | null;
14594
15549
  /**
14595
15550
  * Ratio Denominator Event
14596
15551
  * @description Event type for denominator when aggregation='ratio'.
@@ -14606,7 +15561,7 @@ export interface components {
14606
15561
  * @description 'call_intelligence' reads from world.call_intelligence table. 'world_events' reads from world.events. 'surface_events' reads from world.events WHERE domain='surface'.
14607
15562
  * @enum {string}
14608
15563
  */
14609
- source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events";
15564
+ source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
14610
15565
  /**
14611
15566
  * Source Filter
14612
15567
  * @description Optional SQL WHERE fragment for additional filtering (e.g. "source = 'voice_agent'"). Applied after event_type filter.
@@ -14633,22 +15588,6 @@ export interface components {
14633
15588
  */
14634
15589
  valid_range_min?: number | null;
14635
15590
  };
14636
- /** MetricFreshnessEntry */
14637
- MetricFreshnessEntry: {
14638
- /** Last Computed At */
14639
- last_computed_at?: string | null;
14640
- /** Latest Period End */
14641
- latest_period_end?: string | null;
14642
- /** Metric Key */
14643
- metric_key: string;
14644
- /** Value Count */
14645
- value_count: number;
14646
- };
14647
- /** MetricFreshnessResponse */
14648
- MetricFreshnessResponse: {
14649
- /** Freshness */
14650
- freshness: components["schemas"]["MetricFreshnessEntry"][];
14651
- };
14652
15591
  /** MetricListResponse */
14653
15592
  MetricListResponse: {
14654
15593
  /** Metrics */
@@ -14693,6 +15632,40 @@ export interface components {
14693
15632
  /** Value */
14694
15633
  value: unknown;
14695
15634
  };
15635
+ /** ModelRegistryResponse */
15636
+ ModelRegistryResponse: {
15637
+ /** Count */
15638
+ count: number;
15639
+ /** Items */
15640
+ items: components["schemas"]["ModelRegistryRow"][];
15641
+ /** Workspace Id */
15642
+ workspace_id: string;
15643
+ };
15644
+ /** ModelRegistryRow */
15645
+ ModelRegistryRow: {
15646
+ /** Algorithm */
15647
+ algorithm?: string | null;
15648
+ /** Coefficients Json */
15649
+ coefficients_json?: string | null;
15650
+ /** Focus Area */
15651
+ focus_area?: string | null;
15652
+ /** Metrics Json */
15653
+ metrics_json?: string | null;
15654
+ /** Model Id */
15655
+ model_id: string;
15656
+ /** Name */
15657
+ name?: string | null;
15658
+ /** Status */
15659
+ status?: string | null;
15660
+ /** Trained At */
15661
+ trained_at?: string | null;
15662
+ /** Training Set Size */
15663
+ training_set_size?: number | null;
15664
+ /** Version */
15665
+ version?: string | null;
15666
+ /** Workspace Id */
15667
+ workspace_id: string;
15668
+ };
14696
15669
  /** MonitorConceptResponse */
14697
15670
  MonitorConceptResponse: {
14698
15671
  /** Agent Config */
@@ -14731,6 +15704,17 @@ export interface components {
14731
15704
  workspace_id: string;
14732
15705
  };
14733
15706
  NameString: string;
15707
+ /** NonDesiredState */
15708
+ NonDesiredState: {
15709
+ /**
15710
+ * Mode
15711
+ * @default hard
15712
+ * @enum {string}
15713
+ */
15714
+ mode?: "hard" | "soft";
15715
+ /** State */
15716
+ state: string;
15717
+ };
14734
15718
  /** OcrRequest */
14735
15719
  OcrRequest: {
14736
15720
  /**
@@ -14973,6 +15957,13 @@ export interface components {
14973
15957
  /** Total */
14974
15958
  total: number;
14975
15959
  };
15960
+ /** OrderedPathway */
15961
+ OrderedPathway: {
15962
+ /** Id */
15963
+ id: string;
15964
+ /** Sequence */
15965
+ sequence: string[];
15966
+ };
14976
15967
  /** OutboundLogItem */
14977
15968
  OutboundLogItem: {
14978
15969
  /** Attempt Count */
@@ -15552,6 +16543,30 @@ export interface components {
15552
16543
  /** Workspace Id */
15553
16544
  workspace_id: string;
15554
16545
  };
16546
+ /** PatientLabRow */
16547
+ PatientLabRow: {
16548
+ /** Loinc Code */
16549
+ loinc_code?: string | null;
16550
+ /** Observation Date */
16551
+ observation_date?: string | null;
16552
+ /** Patient Id */
16553
+ patient_id: string;
16554
+ /** Test Name */
16555
+ test_name: string;
16556
+ /** Units */
16557
+ units?: string | null;
16558
+ /** Value */
16559
+ value?: number | null;
16560
+ };
16561
+ /** PatientLabsResponse */
16562
+ PatientLabsResponse: {
16563
+ /** Count */
16564
+ count: number;
16565
+ /** Items */
16566
+ items: components["schemas"]["PatientLabRow"][];
16567
+ /** Workspace Id */
16568
+ workspace_id: string;
16569
+ };
15555
16570
  /**
15556
16571
  * PatientListItem
15557
16572
  * @description Typed patient list item — replaces untyped dict.
@@ -15597,6 +16612,47 @@ export interface components {
15597
16612
  */
15598
16613
  phone?: string | null;
15599
16614
  };
16615
+ /** PatientNoteExtractions */
16616
+ PatientNoteExtractions: {
16617
+ /** Activity Level */
16618
+ activity_level?: string | null;
16619
+ /** Concerns */
16620
+ concerns: string[];
16621
+ /** Food Pattern */
16622
+ food_pattern?: string | null;
16623
+ /** Hba1C Sentiment */
16624
+ hba1c_sentiment?: string | null;
16625
+ /** Medications Planned */
16626
+ medications_planned: string[];
16627
+ /**
16628
+ * N Concerns
16629
+ * @default 0
16630
+ */
16631
+ n_concerns?: number;
16632
+ /**
16633
+ * N Symptoms
16634
+ * @default 0
16635
+ */
16636
+ n_symptoms?: number;
16637
+ /** Smoking Status */
16638
+ smoking_status?: string | null;
16639
+ /** Symptoms */
16640
+ symptoms: string[];
16641
+ };
16642
+ /** PatientNoteResponse */
16643
+ PatientNoteResponse: {
16644
+ /** Author */
16645
+ author?: string | null;
16646
+ /** Authored At */
16647
+ authored_at?: string | null;
16648
+ extractions: components["schemas"]["PatientNoteExtractions"];
16649
+ /** Note Text */
16650
+ note_text: string;
16651
+ /** Patient Id */
16652
+ patient_id: string;
16653
+ /** Workspace Id */
16654
+ workspace_id: string;
16655
+ };
15600
16656
  /** PatientSearchResponse */
15601
16657
  PatientSearchResponse: {
15602
16658
  /**
@@ -15673,6 +16729,50 @@ export interface components {
15673
16729
  /** Total */
15674
16730
  total: number;
15675
16731
  };
16732
+ /** PatientTopologyResponse */
16733
+ PatientTopologyResponse: {
16734
+ /** Count */
16735
+ count: number;
16736
+ /** Items */
16737
+ items: components["schemas"]["PatientTopologyRow"][];
16738
+ /** Workspace Id */
16739
+ workspace_id: string;
16740
+ };
16741
+ /** PatientTopologyRow */
16742
+ PatientTopologyRow: {
16743
+ /** Age Bucket */
16744
+ age_bucket?: string | null;
16745
+ /** Bmi Latest */
16746
+ bmi_latest?: number | null;
16747
+ /** Charlson Cci */
16748
+ charlson_cci?: number | null;
16749
+ /** Cluster Name */
16750
+ cluster_name: string;
16751
+ /** District */
16752
+ district?: string | null;
16753
+ /** Emergence Month */
16754
+ emergence_month?: number | null;
16755
+ /** Gender */
16756
+ gender?: string | null;
16757
+ /** Hba1C Latest */
16758
+ hba1c_latest?: number | null;
16759
+ /** Nationality */
16760
+ nationality?: string | null;
16761
+ /** Patient Id */
16762
+ patient_id: string;
16763
+ /** Risk Tier */
16764
+ risk_tier?: number | null;
16765
+ /** Umap X */
16766
+ umap_x: number;
16767
+ /** Umap Y */
16768
+ umap_y: number;
16769
+ /** Workspace Id */
16770
+ workspace_id: string;
16771
+ /** Y Hat Composite */
16772
+ y_hat_composite?: number | null;
16773
+ /** Y Hat T2D 1Yr */
16774
+ y_hat_t2d_1yr?: number | null;
16775
+ };
15676
16776
  /** PerformanceSummaryResponse */
15677
16777
  PerformanceSummaryResponse: {
15678
16778
  /** Avg Handle Time Seconds */
@@ -15938,6 +17038,36 @@ export interface components {
15938
17038
  /** Uptime Seconds */
15939
17039
  uptime_seconds?: number | null;
15940
17040
  };
17041
+ /** PositiveSignalResponse */
17042
+ PositiveSignalResponse: {
17043
+ /** Count */
17044
+ count: number;
17045
+ /** Items */
17046
+ items: components["schemas"]["PositiveSignalRow"][];
17047
+ /** Workspace Id */
17048
+ workspace_id: string;
17049
+ };
17050
+ /** PositiveSignalRow */
17051
+ PositiveSignalRow: {
17052
+ /** Baseline */
17053
+ baseline?: number | null;
17054
+ /** Delta Unit */
17055
+ delta_unit?: string | null;
17056
+ /** Delta Value */
17057
+ delta_value?: number | null;
17058
+ /** Headline */
17059
+ headline?: string | null;
17060
+ /** Metric Label */
17061
+ metric_label?: string | null;
17062
+ /** Narrative */
17063
+ narrative?: string | null;
17064
+ /** Signal Id */
17065
+ signal_id: string;
17066
+ /** Updated At */
17067
+ updated_at?: string | null;
17068
+ /** Workspace Id */
17069
+ workspace_id: string;
17070
+ };
15941
17071
  /** PrevalenceResponse */
15942
17072
  PrevalenceResponse: {
15943
17073
  /** Count */
@@ -16222,6 +17352,75 @@ export interface components {
16222
17352
  */
16223
17353
  timezone?: string;
16224
17354
  };
17355
+ /** RankedAnomalyResponse */
17356
+ RankedAnomalyResponse: {
17357
+ /** Count */
17358
+ count: number;
17359
+ /** Items */
17360
+ items: components["schemas"]["RankedAnomalyRow"][];
17361
+ /** Workspace Id */
17362
+ workspace_id: string;
17363
+ };
17364
+ /** RankedAnomalyRow */
17365
+ RankedAnomalyRow: {
17366
+ /** Alert Id */
17367
+ alert_id?: string | null;
17368
+ /**
17369
+ * Cohort Size
17370
+ * @default 0
17371
+ */
17372
+ cohort_size?: number;
17373
+ /**
17374
+ * Decomposition
17375
+ * @default []
17376
+ */
17377
+ decomposition?: components["schemas"]["DecompositionRow"][];
17378
+ /** District Name */
17379
+ district_name: string;
17380
+ /**
17381
+ * Impact
17382
+ * @default 0
17383
+ */
17384
+ impact?: number;
17385
+ /**
17386
+ * Indicator
17387
+ * @default t2d_risk
17388
+ */
17389
+ indicator?: string;
17390
+ /**
17391
+ * Is Anomaly
17392
+ * @default true
17393
+ */
17394
+ is_anomaly?: boolean;
17395
+ /** Lat */
17396
+ lat?: number | null;
17397
+ /** Lon */
17398
+ lon?: number | null;
17399
+ /** Narrative */
17400
+ narrative?: string | null;
17401
+ /**
17402
+ * Priority Score
17403
+ * @default 0
17404
+ */
17405
+ priority_score?: number;
17406
+ /**
17407
+ * Rate Per 1K
17408
+ * @default 0
17409
+ */
17410
+ rate_per_1k?: number;
17411
+ /**
17412
+ * Residual
17413
+ * @default 0
17414
+ */
17415
+ residual?: number;
17416
+ /** Severity */
17417
+ severity?: string | null;
17418
+ /**
17419
+ * Territory Mean
17420
+ * @default 0
17421
+ */
17422
+ territory_mean?: number;
17423
+ };
16225
17424
  /** RecommendRequest */
16226
17425
  RecommendRequest: {
16227
17426
  /**
@@ -16888,6 +18087,17 @@ export interface components {
16888
18087
  /** Extracted Text */
16889
18088
  extracted_text: string;
16890
18089
  };
18090
+ /** SampleResponse */
18091
+ SampleResponse: {
18092
+ /** Count */
18093
+ count: number;
18094
+ /** Items */
18095
+ items: {
18096
+ [key: string]: unknown;
18097
+ }[];
18098
+ /** Workspace Id */
18099
+ workspace_id: string;
18100
+ };
16891
18101
  /** Scenario */
16892
18102
  Scenario: {
16893
18103
  /** Description */
@@ -17295,8 +18505,12 @@ export interface components {
17295
18505
  barge_in_min_speech_s?: number | null;
17296
18506
  /** Eager Eot Threshold */
17297
18507
  eager_eot_threshold?: number | null;
18508
+ /** Empathy Hold Ms */
18509
+ empathy_hold_ms?: number | null;
17298
18510
  /** Eot Timeout Ms */
17299
18511
  eot_timeout_ms?: number | null;
18512
+ /** Filler Cooldown Ms */
18513
+ filler_cooldown_ms?: number | null;
17300
18514
  /**
17301
18515
  * Filler Style
17302
18516
  * @default backchannel
@@ -17318,6 +18532,14 @@ export interface components {
17318
18532
  max_response_words?: number | null;
17319
18533
  /** Min Tts Speed */
17320
18534
  min_tts_speed?: number | null;
18535
+ /** Post Eot Pause Ms */
18536
+ post_eot_pause_ms?: number | null;
18537
+ /** Progress Interval Ms */
18538
+ progress_interval_ms?: number | null;
18539
+ /** Progress Vocabulary */
18540
+ progress_vocabulary?: string[] | null;
18541
+ /** Transition Deadline Ms */
18542
+ transition_deadline_ms?: number | null;
17321
18543
  /** Tts Model */
17322
18544
  tts_model?: ("sonic-turbo" | "sonic-3") | null;
17323
18545
  };
@@ -17416,6 +18638,50 @@ export interface components {
17416
18638
  */
17417
18639
  tools_called?: string[];
17418
18640
  };
18641
+ /**
18642
+ * SimulationRunResponse
18643
+ * @description Full run payload — used by GET /runs/{run_id} for replay flows.
18644
+ */
18645
+ SimulationRunResponse: {
18646
+ /** Branch Name */
18647
+ branch_name?: string | null;
18648
+ bridge_request?: components["schemas"]["BridgeRequest"] | null;
18649
+ /** Completed At */
18650
+ completed_at?: string | null;
18651
+ /** Created At */
18652
+ created_at?: string | null;
18653
+ /**
18654
+ * Id
18655
+ * Format: uuid
18656
+ */
18657
+ id: string;
18658
+ /** Objective */
18659
+ objective?: string | null;
18660
+ /** Scenarios */
18661
+ scenarios?: components["schemas"]["Scenario"][] | null;
18662
+ /**
18663
+ * Service Id
18664
+ * Format: uuid
18665
+ */
18666
+ service_id: string;
18667
+ /**
18668
+ * Status
18669
+ * @enum {string}
18670
+ */
18671
+ status: "running" | "completed" | "failed";
18672
+ /** Tags */
18673
+ tags?: string[];
18674
+ /**
18675
+ * Total Sessions
18676
+ * @default 0
18677
+ */
18678
+ total_sessions?: number;
18679
+ /**
18680
+ * Total Turns
18681
+ * @default 0
18682
+ */
18683
+ total_turns?: number;
18684
+ };
17419
18685
  /** SimulationSessionResponse */
17420
18686
  SimulationSessionResponse: {
17421
18687
  /** Greeting */
@@ -18299,7 +19565,7 @@ export interface components {
18299
19565
  * Sync Status
18300
19566
  * @enum {string}
18301
19567
  */
18302
- sync_status: "pending" | "synced" | "failed" | "processing";
19568
+ sync_status: "pending" | "synced" | "failed" | "processing" | "not_applicable";
18303
19569
  /** Synced At */
18304
19570
  synced_at?: string | null;
18305
19571
  };
@@ -18394,6 +19660,16 @@ export interface components {
18394
19660
  /** Status */
18395
19661
  status: string;
18396
19662
  };
19663
+ /** TargetSpec */
19664
+ TargetSpec: {
19665
+ completion_criteria?: components["schemas"]["CompletionCriteria"];
19666
+ /** Desired States */
19667
+ desired_states?: string[];
19668
+ /** Non Desired States */
19669
+ non_desired_states?: components["schemas"]["NonDesiredState"][];
19670
+ /** Ordered Pathways */
19671
+ ordered_pathways?: components["schemas"]["OrderedPathway"][];
19672
+ };
18397
19673
  /** TaskListResponse */
18398
19674
  TaskListResponse: {
18399
19675
  /** Tasks */
@@ -19218,6 +20494,43 @@ export interface components {
19218
20494
  */
19219
20495
  event_type: string;
19220
20496
  };
20497
+ /**
20498
+ * TriggerSyncConflictDetails
20499
+ * @description Operational fields included in a 409 to power UI affordances like
20500
+ * "syncing for 30s" — strict allowlist, never the whole status entry.
20501
+ */
20502
+ TriggerSyncConflictDetails: {
20503
+ /** Last Poll At */
20504
+ last_poll_at?: string | null;
20505
+ /** Last Poll Duration Ms */
20506
+ last_poll_duration_ms?: number | null;
20507
+ };
20508
+ /**
20509
+ * TriggerSyncConflictResponse
20510
+ * @description Body shape for the 409 returned by POST /sync when the source is
20511
+ * already mid-poll. Documented in OpenAPI so SDK consumers get a typed
20512
+ * AlreadySyncing error instead of an opaque blob.
20513
+ */
20514
+ TriggerSyncConflictResponse: {
20515
+ details: components["schemas"]["TriggerSyncConflictDetails"];
20516
+ /** Message */
20517
+ message: string;
20518
+ };
20519
+ /** TriggerSyncResponse */
20520
+ TriggerSyncResponse: {
20521
+ /** Data Source Id */
20522
+ data_source_id: string;
20523
+ /**
20524
+ * Status
20525
+ * @constant
20526
+ */
20527
+ status: "started";
20528
+ /**
20529
+ * Triggered At
20530
+ * Format: date-time
20531
+ */
20532
+ triggered_at: string;
20533
+ };
19221
20534
  /**
19222
20535
  * TurnPolicy
19223
20536
  * @description Voice pipeline parameters declared per HSM state.
@@ -19864,6 +21177,62 @@ export interface components {
19864
21177
  /** Voice Id */
19865
21178
  voice_id: string;
19866
21179
  };
21180
+ /** VoiceJudgeRecentResponse */
21181
+ VoiceJudgeRecentResponse: {
21182
+ /** Count */
21183
+ count: number;
21184
+ /** Items */
21185
+ items: components["schemas"]["VoiceJudgeResultRow"][];
21186
+ /** Service Id */
21187
+ service_id: string;
21188
+ };
21189
+ /**
21190
+ * VoiceJudgeResultRow
21191
+ * @description One call's voice-judge scoring, as stored in the Delta output table.
21192
+ */
21193
+ VoiceJudgeResultRow: {
21194
+ /** Accent Quality Score */
21195
+ accent_quality_score?: number | null;
21196
+ /** Audio Consistency Score */
21197
+ audio_consistency_score?: number | null;
21198
+ /** Call Entity Id */
21199
+ call_entity_id?: string | null;
21200
+ /** Call Sid */
21201
+ call_sid: string;
21202
+ /** Clarity Score */
21203
+ clarity_score?: number | null;
21204
+ /** Computed At */
21205
+ computed_at?: string | null;
21206
+ /** Critical Count */
21207
+ critical_count?: number | null;
21208
+ /** Filler Silence Score */
21209
+ filler_silence_score?: number | null;
21210
+ /** Flag Count */
21211
+ flag_count?: number | null;
21212
+ /** Interruption Handling Score */
21213
+ interruption_handling_score?: number | null;
21214
+ /**
21215
+ * Judge Json
21216
+ * @description Raw Gemini judge output (evidence quotes, per-dim severity). Intended for UI drill-in; opaque string. Capped at 32KB.
21217
+ */
21218
+ judge_json?: string | null;
21219
+ /** Latency Dead Air Score */
21220
+ latency_dead_air_score?: number | null;
21221
+ /** Overall Score */
21222
+ overall_score?: number | null;
21223
+ /** Pacing Score */
21224
+ pacing_score?: number | null;
21225
+ /** Pronunciation Score */
21226
+ pronunciation_score?: number | null;
21227
+ /** Service Id */
21228
+ service_id?: string | null;
21229
+ /** Voice Identity Score */
21230
+ voice_identity_score?: number | null;
21231
+ /** Warmth Tone Score */
21232
+ warmth_tone_score?: number | null;
21233
+ /** Warning Count */
21234
+ warning_count?: number | null;
21235
+ };
19867
21236
  /** VoiceMetrics */
19868
21237
  VoiceMetrics: {
19869
21238
  /**
@@ -21202,6 +22571,143 @@ export interface operations {
21202
22571
  };
21203
22572
  };
21204
22573
  };
22574
+ "upload-intake-file-via-link": {
22575
+ parameters: {
22576
+ query?: never;
22577
+ header: {
22578
+ "x-amigo-intake-filename": string;
22579
+ "x-amigo-intake-content-type": string;
22580
+ };
22581
+ path: {
22582
+ link_token: string;
22583
+ };
22584
+ cookie?: never;
22585
+ };
22586
+ requestBody: {
22587
+ content: {
22588
+ "application/octet-stream": string;
22589
+ };
22590
+ };
22591
+ responses: {
22592
+ /** @description Successful Response */
22593
+ 200: {
22594
+ headers: {
22595
+ [name: string]: unknown;
22596
+ };
22597
+ content: {
22598
+ "application/json": unknown;
22599
+ };
22600
+ };
22601
+ /** @description File uploaded successfully */
22602
+ 201: {
22603
+ headers: {
22604
+ [name: string]: unknown;
22605
+ };
22606
+ content?: never;
22607
+ };
22608
+ /** @description Link not found */
22609
+ 404: {
22610
+ headers: {
22611
+ [name: string]: unknown;
22612
+ };
22613
+ content?: never;
22614
+ };
22615
+ /** @description Link expired */
22616
+ 410: {
22617
+ headers: {
22618
+ [name: string]: unknown;
22619
+ };
22620
+ content?: never;
22621
+ };
22622
+ /** @description File too large */
22623
+ 413: {
22624
+ headers: {
22625
+ [name: string]: unknown;
22626
+ };
22627
+ content?: never;
22628
+ };
22629
+ /** @description Invalid filename or content type */
22630
+ 422: {
22631
+ headers: {
22632
+ [name: string]: unknown;
22633
+ };
22634
+ content?: never;
22635
+ };
22636
+ /** @description Rate limited or upload limit reached */
22637
+ 429: {
22638
+ headers: {
22639
+ [name: string]: unknown;
22640
+ };
22641
+ content?: never;
22642
+ };
22643
+ /** @description Upload service unavailable */
22644
+ 503: {
22645
+ headers: {
22646
+ [name: string]: unknown;
22647
+ };
22648
+ content?: never;
22649
+ };
22650
+ };
22651
+ };
22652
+ "get-intake-link-info": {
22653
+ parameters: {
22654
+ query?: never;
22655
+ header?: never;
22656
+ path: {
22657
+ link_token: string;
22658
+ };
22659
+ cookie?: never;
22660
+ };
22661
+ requestBody?: never;
22662
+ responses: {
22663
+ /** @description Link metadata */
22664
+ 200: {
22665
+ headers: {
22666
+ [name: string]: unknown;
22667
+ };
22668
+ content: {
22669
+ "application/json": unknown;
22670
+ };
22671
+ };
22672
+ /** @description Invalid token */
22673
+ 400: {
22674
+ headers: {
22675
+ [name: string]: unknown;
22676
+ };
22677
+ content?: never;
22678
+ };
22679
+ /** @description Link not found */
22680
+ 404: {
22681
+ headers: {
22682
+ [name: string]: unknown;
22683
+ };
22684
+ content?: never;
22685
+ };
22686
+ /** @description Link expired */
22687
+ 410: {
22688
+ headers: {
22689
+ [name: string]: unknown;
22690
+ };
22691
+ content?: never;
22692
+ };
22693
+ /** @description Validation Error */
22694
+ 422: {
22695
+ headers: {
22696
+ [name: string]: unknown;
22697
+ };
22698
+ content: {
22699
+ "application/json": components["schemas"]["HTTPValidationError"];
22700
+ };
22701
+ };
22702
+ /** @description Upload limit reached */
22703
+ 429: {
22704
+ headers: {
22705
+ [name: string]: unknown;
22706
+ };
22707
+ content?: never;
22708
+ };
22709
+ };
22710
+ };
21205
22711
  "get-auth-info": {
21206
22712
  parameters: {
21207
22713
  query?: never;
@@ -25794,6 +27300,82 @@ export interface operations {
25794
27300
  };
25795
27301
  };
25796
27302
  };
27303
+ "trigger-data-source-sync": {
27304
+ parameters: {
27305
+ query?: never;
27306
+ header?: never;
27307
+ path: {
27308
+ data_source_id: string;
27309
+ workspace_id: string;
27310
+ };
27311
+ cookie?: never;
27312
+ };
27313
+ requestBody?: never;
27314
+ responses: {
27315
+ /** @description Successful Response */
27316
+ 202: {
27317
+ headers: {
27318
+ [name: string]: unknown;
27319
+ };
27320
+ content: {
27321
+ "application/json": components["schemas"]["TriggerSyncResponse"];
27322
+ };
27323
+ };
27324
+ /** @description Invalid data source ID format. */
27325
+ 400: {
27326
+ headers: {
27327
+ [name: string]: unknown;
27328
+ };
27329
+ content?: never;
27330
+ };
27331
+ /** @description Missing or invalid API key. */
27332
+ 401: {
27333
+ headers: {
27334
+ [name: string]: unknown;
27335
+ };
27336
+ content?: never;
27337
+ };
27338
+ /** @description Data source not found. */
27339
+ 404: {
27340
+ headers: {
27341
+ [name: string]: unknown;
27342
+ };
27343
+ content?: never;
27344
+ };
27345
+ /** @description Data source is already syncing. */
27346
+ 409: {
27347
+ headers: {
27348
+ [name: string]: unknown;
27349
+ };
27350
+ content: {
27351
+ "application/json": components["schemas"]["TriggerSyncConflictResponse"];
27352
+ };
27353
+ };
27354
+ /** @description Validation Error */
27355
+ 422: {
27356
+ headers: {
27357
+ [name: string]: unknown;
27358
+ };
27359
+ content: {
27360
+ "application/json": components["schemas"]["HTTPValidationError"];
27361
+ };
27362
+ };
27363
+ /** @description Rate limit exceeded. */
27364
+ 429: {
27365
+ headers: {
27366
+ [name: string]: unknown;
27367
+ };
27368
+ content?: never;
27369
+ };
27370
+ /** @description Connector-runner is unreachable. */
27371
+ 503: {
27372
+ headers: {
27373
+ [name: string]: unknown;
27374
+ };
27375
+ content?: never;
27376
+ };
27377
+ };
27378
+ };
25797
27379
  "data-source-sync-history": {
25798
27380
  parameters: {
25799
27381
  query?: {
@@ -27687,6 +29269,136 @@ export interface operations {
27687
29269
  };
27688
29270
  };
27689
29271
  };
29272
+ "list-intake-links": {
29273
+ parameters: {
29274
+ query?: {
29275
+ include_expired?: boolean;
29276
+ };
29277
+ header?: never;
29278
+ path: {
29279
+ workspace_id: string;
29280
+ };
29281
+ cookie?: never;
29282
+ };
29283
+ requestBody?: never;
29284
+ responses: {
29285
+ /** @description Successful Response */
29286
+ 200: {
29287
+ headers: {
29288
+ [name: string]: unknown;
29289
+ };
29290
+ content: {
29291
+ "application/json": components["schemas"]["IntakeLinkResponse"][];
29292
+ };
29293
+ };
29294
+ /** @description Validation Error */
29295
+ 422: {
29296
+ headers: {
29297
+ [name: string]: unknown;
29298
+ };
29299
+ content: {
29300
+ "application/json": components["schemas"]["HTTPValidationError"];
29301
+ };
29302
+ };
29303
+ };
29304
+ };
29305
+ "create-intake-link": {
29306
+ parameters: {
29307
+ query?: never;
29308
+ header?: never;
29309
+ path: {
29310
+ workspace_id: string;
29311
+ };
29312
+ cookie?: never;
29313
+ };
29314
+ requestBody: {
29315
+ content: {
29316
+ "application/json": components["schemas"]["CreateLinkRequest"];
29317
+ };
29318
+ };
29319
+ responses: {
29320
+ /** @description Successful Response */
29321
+ 201: {
29322
+ headers: {
29323
+ [name: string]: unknown;
29324
+ };
29325
+ content: {
29326
+ "application/json": components["schemas"]["IntakeLinkResponse"];
29327
+ };
29328
+ };
29329
+ /** @description Validation Error */
29330
+ 422: {
29331
+ headers: {
29332
+ [name: string]: unknown;
29333
+ };
29334
+ content: {
29335
+ "application/json": components["schemas"]["HTTPValidationError"];
29336
+ };
29337
+ };
29338
+ };
29339
+ };
29340
+ "revoke-intake-link": {
29341
+ parameters: {
29342
+ query?: never;
29343
+ header?: never;
29344
+ path: {
29345
+ link_id: string;
29346
+ workspace_id: string;
29347
+ };
29348
+ cookie?: never;
29349
+ };
29350
+ requestBody?: never;
29351
+ responses: {
29352
+ /** @description Successful Response */
29353
+ 204: {
29354
+ headers: {
29355
+ [name: string]: unknown;
29356
+ };
29357
+ content?: never;
29358
+ };
29359
+ /** @description Validation Error */
29360
+ 422: {
29361
+ headers: {
29362
+ [name: string]: unknown;
29363
+ };
29364
+ content: {
29365
+ "application/json": components["schemas"]["HTTPValidationError"];
29366
+ };
29367
+ };
29368
+ };
29369
+ };
29370
+ "list-intake-link-uploads": {
29371
+ parameters: {
29372
+ query?: never;
29373
+ header?: never;
29374
+ path: {
29375
+ link_id: string;
29376
+ workspace_id: string;
29377
+ };
29378
+ cookie?: never;
29379
+ };
29380
+ requestBody?: never;
29381
+ responses: {
29382
+ /** @description Successful Response */
29383
+ 200: {
29384
+ headers: {
29385
+ [name: string]: unknown;
29386
+ };
29387
+ content: {
29388
+ "application/json": components["schemas"]["IntakeUploadResponse"][];
29389
+ };
29390
+ };
29391
+ /** @description Validation Error */
29392
+ 422: {
29393
+ headers: {
29394
+ [name: string]: unknown;
29395
+ };
29396
+ content: {
29397
+ "application/json": components["schemas"]["HTTPValidationError"];
29398
+ };
29399
+ };
29400
+ };
29401
+ };
27690
29402
  "list-integrations": {
27691
29403
  parameters: {
27692
29404
  query?: {
@@ -28041,7 +29753,74 @@ export interface operations {
28041
29753
  };
28042
29754
  };
28043
29755
  };
28044
- "get-memory-analytics": {
29756
+ list_anomalies_ranked_v1__workspace_id__m42_anomalies_ranked_get: {
29757
+ parameters: {
29758
+ query?: {
29759
+ indicator?: string | null;
29760
+ };
29761
+ header?: never;
29762
+ path: {
29763
+ workspace_id: string;
29764
+ };
29765
+ cookie?: never;
29766
+ };
29767
+ requestBody?: never;
29768
+ responses: {
29769
+ /** @description Successful Response */
29770
+ 200: {
29771
+ headers: {
29772
+ [name: string]: unknown;
29773
+ };
29774
+ content: {
29775
+ "application/json": components["schemas"]["RankedAnomalyResponse"];
29776
+ };
29777
+ };
29778
+ /** @description Validation Error */
29779
+ 422: {
29780
+ headers: {
29781
+ [name: string]: unknown;
29782
+ };
29783
+ content: {
29784
+ "application/json": components["schemas"]["HTTPValidationError"];
29785
+ };
29786
+ };
29787
+ };
29788
+ };
29789
+ list_anomaly_alerts_v1__workspace_id__m42_anomaly_alerts_get: {
29790
+ parameters: {
29791
+ query?: {
29792
+ severity?: ("high" | "medium" | "low") | null;
29793
+ limit?: number;
29794
+ };
29795
+ header?: never;
29796
+ path: {
29797
+ workspace_id: string;
29798
+ };
29799
+ cookie?: never;
29800
+ };
29801
+ requestBody?: never;
29802
+ responses: {
29803
+ /** @description Successful Response */
29804
+ 200: {
29805
+ headers: {
29806
+ [name: string]: unknown;
29807
+ };
29808
+ content: {
29809
+ "application/json": components["schemas"]["AnomalyAlertResponse"];
29810
+ };
29811
+ };
29812
+ /** @description Validation Error */
29813
+ 422: {
29814
+ headers: {
29815
+ [name: string]: unknown;
29816
+ };
29817
+ content: {
29818
+ "application/json": components["schemas"]["HTTPValidationError"];
29819
+ };
29820
+ };
29821
+ };
29822
+ };
29823
+ list_catalog_v1__workspace_id__m42_catalog_get: {
28045
29824
  parameters: {
28046
29825
  query?: never;
28047
29826
  header?: never;
@@ -28058,25 +29837,115 @@ export interface operations {
28058
29837
  [name: string]: unknown;
28059
29838
  };
28060
29839
  content: {
28061
- "application/json": components["schemas"]["MemoryAnalyticsResponse"];
29840
+ "application/json": components["schemas"]["M42CatalogResponse"];
28062
29841
  };
28063
29842
  };
28064
- /** @description Rate limited */
28065
- 429: {
29843
+ };
29844
+ };
29845
+ describe_table_v1__workspace_id__m42_catalog__table__columns_get: {
29846
+ parameters: {
29847
+ query?: never;
29848
+ header?: never;
29849
+ path: {
29850
+ table: string;
29851
+ workspace_id: string;
29852
+ };
29853
+ cookie?: never;
29854
+ };
29855
+ requestBody?: never;
29856
+ responses: {
29857
+ /** @description Successful Response */
29858
+ 200: {
28066
29859
  headers: {
28067
29860
  [name: string]: unknown;
28068
29861
  };
28069
- content?: never;
29862
+ content: {
29863
+ "application/json": components["schemas"]["ColumnsResponse"];
29864
+ };
29865
+ };
29866
+ /** @description Validation Error */
29867
+ 422: {
29868
+ headers: {
29869
+ [name: string]: unknown;
29870
+ };
29871
+ content: {
29872
+ "application/json": components["schemas"]["HTTPValidationError"];
29873
+ };
28070
29874
  };
28071
29875
  };
28072
29876
  };
28073
- "get-entity-dimension-scores": {
29877
+ sample_table_v1__workspace_id__m42_catalog__table__sample_get: {
29878
+ parameters: {
29879
+ query?: {
29880
+ limit?: number;
29881
+ };
29882
+ header?: never;
29883
+ path: {
29884
+ table: string;
29885
+ workspace_id: string;
29886
+ };
29887
+ cookie?: never;
29888
+ };
29889
+ requestBody?: never;
29890
+ responses: {
29891
+ /** @description Successful Response */
29892
+ 200: {
29893
+ headers: {
29894
+ [name: string]: unknown;
29895
+ };
29896
+ content: {
29897
+ "application/json": components["schemas"]["SampleResponse"];
29898
+ };
29899
+ };
29900
+ /** @description Validation Error */
29901
+ 422: {
29902
+ headers: {
29903
+ [name: string]: unknown;
29904
+ };
29905
+ content: {
29906
+ "application/json": components["schemas"]["HTTPValidationError"];
29907
+ };
29908
+ };
29909
+ };
29910
+ };
29911
+ list_cluster_forecast_v1__workspace_id__m42_clusters_forecast_get: {
29912
+ parameters: {
29913
+ query?: {
29914
+ focus_area?: string | null;
29915
+ };
29916
+ header?: never;
29917
+ path: {
29918
+ workspace_id: string;
29919
+ };
29920
+ cookie?: never;
29921
+ };
29922
+ requestBody?: never;
29923
+ responses: {
29924
+ /** @description Successful Response */
29925
+ 200: {
29926
+ headers: {
29927
+ [name: string]: unknown;
29928
+ };
29929
+ content: {
29930
+ "application/json": components["schemas"]["ClusterForecastResponse"];
29931
+ };
29932
+ };
29933
+ /** @description Validation Error */
29934
+ 422: {
29935
+ headers: {
29936
+ [name: string]: unknown;
29937
+ };
29938
+ content: {
29939
+ "application/json": components["schemas"]["HTTPValidationError"];
29940
+ };
29941
+ };
29942
+ };
29943
+ };
29944
+ list_cluster_summary_v1__workspace_id__m42_clusters_summary_get: {
28074
29945
  parameters: {
28075
29946
  query?: never;
28076
29947
  header?: never;
28077
29948
  path: {
28078
- /** @description Entity UUID */
28079
- entity_id: string;
28080
29949
  workspace_id: string;
28081
29950
  };
28082
29951
  cookie?: never;
@@ -28089,33 +29958,334 @@ export interface operations {
28089
29958
  [name: string]: unknown;
28090
29959
  };
28091
29960
  content: {
28092
- "application/json": components["schemas"]["DimensionScoresResponse"];
29961
+ "application/json": components["schemas"]["ClusterSummaryResponse"];
28093
29962
  };
28094
29963
  };
28095
- /** @description Invalid entity_id */
29964
+ };
29965
+ };
29966
+ list_district_metrics_v1__workspace_id__m42_district_metrics_get: {
29967
+ parameters: {
29968
+ query?: never;
29969
+ header?: never;
29970
+ path: {
29971
+ workspace_id: string;
29972
+ };
29973
+ cookie?: never;
29974
+ };
29975
+ requestBody?: never;
29976
+ responses: {
29977
+ /** @description Successful Response */
29978
+ 200: {
29979
+ headers: {
29980
+ [name: string]: unknown;
29981
+ };
29982
+ content: {
29983
+ "application/json": components["schemas"]["DistrictMetricsResponse"];
29984
+ };
29985
+ };
29986
+ };
29987
+ };
29988
+ list_features_v1__workspace_id__m42_features_get: {
29989
+ parameters: {
29990
+ query?: never;
29991
+ header?: never;
29992
+ path: {
29993
+ workspace_id: string;
29994
+ };
29995
+ cookie?: never;
29996
+ };
29997
+ requestBody?: never;
29998
+ responses: {
29999
+ /** @description Successful Response */
30000
+ 200: {
30001
+ headers: {
30002
+ [name: string]: unknown;
30003
+ };
30004
+ content: {
30005
+ "application/json": components["schemas"]["FeaturesResponse"];
30006
+ };
30007
+ };
30008
+ };
30009
+ };
30010
+ feature_distribution_v1__workspace_id__m42_features_distribution_get: {
30011
+ parameters: {
30012
+ query: {
30013
+ feature: string;
30014
+ bins?: number;
30015
+ };
30016
+ header?: never;
30017
+ path: {
30018
+ workspace_id: string;
30019
+ };
30020
+ cookie?: never;
30021
+ };
30022
+ requestBody?: never;
30023
+ responses: {
30024
+ /** @description Successful Response */
30025
+ 200: {
30026
+ headers: {
30027
+ [name: string]: unknown;
30028
+ };
30029
+ content: {
30030
+ "application/json": components["schemas"]["FeatureDistributionResponse"];
30031
+ };
30032
+ };
30033
+ /** @description Validation Error */
28096
30034
  422: {
28097
30035
  headers: {
28098
30036
  [name: string]: unknown;
28099
30037
  };
28100
- content?: never;
30038
+ content: {
30039
+ "application/json": components["schemas"]["HTTPValidationError"];
30040
+ };
28101
30041
  };
28102
- /** @description Rate limited */
28103
- 429: {
30042
+ };
30043
+ };
30044
+ list_forecast_fan_v1__workspace_id__m42_forecast_fan_get: {
30045
+ parameters: {
30046
+ query?: {
30047
+ run_id?: string | null;
30048
+ scenario?: ("baseline" | "with_policy" | "observational") | null;
30049
+ };
30050
+ header?: never;
30051
+ path: {
30052
+ workspace_id: string;
30053
+ };
30054
+ cookie?: never;
30055
+ };
30056
+ requestBody?: never;
30057
+ responses: {
30058
+ /** @description Successful Response */
30059
+ 200: {
28104
30060
  headers: {
28105
30061
  [name: string]: unknown;
28106
30062
  };
28107
- content?: never;
30063
+ content: {
30064
+ "application/json": components["schemas"]["ForecastFanResponse"];
30065
+ };
30066
+ };
30067
+ /** @description Validation Error */
30068
+ 422: {
30069
+ headers: {
30070
+ [name: string]: unknown;
30071
+ };
30072
+ content: {
30073
+ "application/json": components["schemas"]["HTTPValidationError"];
30074
+ };
28108
30075
  };
28109
30076
  };
28110
30077
  };
28111
- "get-entity-memory-facts": {
30078
+ list_forecast_draws_v1__workspace_id__m42_forecast_fan_draws_get: {
28112
30079
  parameters: {
28113
30080
  query?: {
28114
- /** @description Filter by dimension key (clinical, behavioral, etc.) */
28115
- dimension?: string | null;
28116
- /** @description Max facts to return */
30081
+ run_id?: string;
30082
+ scenario?: string;
30083
+ sample?: number;
30084
+ };
30085
+ header?: never;
30086
+ path: {
30087
+ workspace_id: string;
30088
+ };
30089
+ cookie?: never;
30090
+ };
30091
+ requestBody?: never;
30092
+ responses: {
30093
+ /** @description Successful Response */
30094
+ 200: {
30095
+ headers: {
30096
+ [name: string]: unknown;
30097
+ };
30098
+ content: {
30099
+ "application/json": components["schemas"]["ForecastDrawsResponse"];
30100
+ };
30101
+ };
30102
+ /** @description Validation Error */
30103
+ 422: {
30104
+ headers: {
30105
+ [name: string]: unknown;
30106
+ };
30107
+ content: {
30108
+ "application/json": components["schemas"]["HTTPValidationError"];
30109
+ };
30110
+ };
30111
+ };
30112
+ };
30113
+ list_model_registry_v1__workspace_id__m42_model_registry_get: {
30114
+ parameters: {
30115
+ query?: never;
30116
+ header?: never;
30117
+ path: {
30118
+ workspace_id: string;
30119
+ };
30120
+ cookie?: never;
30121
+ };
30122
+ requestBody?: never;
30123
+ responses: {
30124
+ /** @description Successful Response */
30125
+ 200: {
30126
+ headers: {
30127
+ [name: string]: unknown;
30128
+ };
30129
+ content: {
30130
+ "application/json": components["schemas"]["ModelRegistryResponse"];
30131
+ };
30132
+ };
30133
+ };
30134
+ };
30135
+ list_patient_topology_v1__workspace_id__m42_patient_topology_get: {
30136
+ parameters: {
30137
+ query?: {
30138
+ cluster?: string | null;
30139
+ risk_tier?: number | null;
28117
30140
  limit?: number;
30141
+ offset?: number;
30142
+ };
30143
+ header?: never;
30144
+ path: {
30145
+ workspace_id: string;
30146
+ };
30147
+ cookie?: never;
30148
+ };
30149
+ requestBody?: never;
30150
+ responses: {
30151
+ /** @description Successful Response */
30152
+ 200: {
30153
+ headers: {
30154
+ [name: string]: unknown;
30155
+ };
30156
+ content: {
30157
+ "application/json": components["schemas"]["PatientTopologyResponse"];
30158
+ };
30159
+ };
30160
+ /** @description Validation Error */
30161
+ 422: {
30162
+ headers: {
30163
+ [name: string]: unknown;
30164
+ };
30165
+ content: {
30166
+ "application/json": components["schemas"]["HTTPValidationError"];
30167
+ };
30168
+ };
30169
+ };
30170
+ };
30171
+ list_patient_labs_v1__workspace_id__m42_patients__patient_id__labs_get: {
30172
+ parameters: {
30173
+ query?: never;
30174
+ header?: never;
30175
+ path: {
30176
+ patient_id: string;
30177
+ workspace_id: string;
30178
+ };
30179
+ cookie?: never;
30180
+ };
30181
+ requestBody?: never;
30182
+ responses: {
30183
+ /** @description Successful Response */
30184
+ 200: {
30185
+ headers: {
30186
+ [name: string]: unknown;
30187
+ };
30188
+ content: {
30189
+ "application/json": components["schemas"]["PatientLabsResponse"];
30190
+ };
30191
+ };
30192
+ /** @description Validation Error */
30193
+ 422: {
30194
+ headers: {
30195
+ [name: string]: unknown;
30196
+ };
30197
+ content: {
30198
+ "application/json": components["schemas"]["HTTPValidationError"];
30199
+ };
28118
30200
  };
30201
+ };
30202
+ };
30203
+ get_patient_note_v1__workspace_id__m42_patients__patient_id__note_get: {
30204
+ parameters: {
30205
+ query?: never;
30206
+ header?: never;
30207
+ path: {
30208
+ patient_id: string;
30209
+ workspace_id: string;
30210
+ };
30211
+ cookie?: never;
30212
+ };
30213
+ requestBody?: never;
30214
+ responses: {
30215
+ /** @description Successful Response */
30216
+ 200: {
30217
+ headers: {
30218
+ [name: string]: unknown;
30219
+ };
30220
+ content: {
30221
+ "application/json": components["schemas"]["PatientNoteResponse"];
30222
+ };
30223
+ };
30224
+ /** @description Validation Error */
30225
+ 422: {
30226
+ headers: {
30227
+ [name: string]: unknown;
30228
+ };
30229
+ content: {
30230
+ "application/json": components["schemas"]["HTTPValidationError"];
30231
+ };
30232
+ };
30233
+ };
30234
+ };
30235
+ list_positive_signals_v1__workspace_id__m42_positive_signals_get: {
30236
+ parameters: {
30237
+ query?: never;
30238
+ header?: never;
30239
+ path: {
30240
+ workspace_id: string;
30241
+ };
30242
+ cookie?: never;
30243
+ };
30244
+ requestBody?: never;
30245
+ responses: {
30246
+ /** @description Successful Response */
30247
+ 200: {
30248
+ headers: {
30249
+ [name: string]: unknown;
30250
+ };
30251
+ content: {
30252
+ "application/json": components["schemas"]["PositiveSignalResponse"];
30253
+ };
30254
+ };
30255
+ };
30256
+ };
30257
+ "get-memory-analytics": {
30258
+ parameters: {
30259
+ query?: never;
30260
+ header?: never;
30261
+ path: {
30262
+ workspace_id: string;
30263
+ };
30264
+ cookie?: never;
30265
+ };
30266
+ requestBody?: never;
30267
+ responses: {
30268
+ /** @description Successful Response */
30269
+ 200: {
30270
+ headers: {
30271
+ [name: string]: unknown;
30272
+ };
30273
+ content: {
30274
+ "application/json": components["schemas"]["MemoryAnalyticsResponse"];
30275
+ };
30276
+ };
30277
+ /** @description Rate limited */
30278
+ 429: {
30279
+ headers: {
30280
+ [name: string]: unknown;
30281
+ };
30282
+ content?: never;
30283
+ };
30284
+ };
30285
+ };
30286
+ "get-entity-dimension-scores": {
30287
+ parameters: {
30288
+ query?: never;
28119
30289
  header?: never;
28120
30290
  path: {
28121
30291
  /** @description Entity UUID */
@@ -28132,10 +30302,10 @@ export interface operations {
28132
30302
  [name: string]: unknown;
28133
30303
  };
28134
30304
  content: {
28135
- "application/json": components["schemas"]["MemoryFactsResponse"];
30305
+ "application/json": components["schemas"]["DimensionScoresResponse"];
28136
30306
  };
28137
30307
  };
28138
- /** @description Invalid entity_id or dimension key */
30308
+ /** @description Invalid entity_id */
28139
30309
  422: {
28140
30310
  headers: {
28141
30311
  [name: string]: unknown;
@@ -28151,11 +30321,18 @@ export interface operations {
28151
30321
  };
28152
30322
  };
28153
30323
  };
28154
- "list-metrics": {
30324
+ "get-entity-memory-facts": {
28155
30325
  parameters: {
28156
- query?: never;
30326
+ query?: {
30327
+ /** @description Filter by dimension key (clinical, behavioral, etc.) */
30328
+ dimension?: string | null;
30329
+ /** @description Max facts to return */
30330
+ limit?: number;
30331
+ };
28157
30332
  header?: never;
28158
30333
  path: {
30334
+ /** @description Entity UUID */
30335
+ entity_id: string;
28159
30336
  workspace_id: string;
28160
30337
  };
28161
30338
  cookie?: never;
@@ -28168,8 +30345,15 @@ export interface operations {
28168
30345
  [name: string]: unknown;
28169
30346
  };
28170
30347
  content: {
28171
- "application/json": components["schemas"]["MetricListResponse"];
30348
+ "application/json": components["schemas"]["MemoryFactsResponse"];
30349
+ };
30350
+ };
30351
+ /** @description Invalid entity_id or dimension key */
30352
+ 422: {
30353
+ headers: {
30354
+ [name: string]: unknown;
28172
30355
  };
30356
+ content?: never;
28173
30357
  };
28174
30358
  /** @description Rate limited */
28175
30359
  429: {
@@ -28180,7 +30364,7 @@ export interface operations {
28180
30364
  };
28181
30365
  };
28182
30366
  };
28183
- "get-metric-catalog": {
30367
+ "list-metrics": {
28184
30368
  parameters: {
28185
30369
  query?: never;
28186
30370
  header?: never;
@@ -28197,7 +30381,7 @@ export interface operations {
28197
30381
  [name: string]: unknown;
28198
30382
  };
28199
30383
  content: {
28200
- "application/json": components["schemas"]["MetricCatalogResponse"];
30384
+ "application/json": components["schemas"]["MetricListResponse"];
28201
30385
  };
28202
30386
  };
28203
30387
  /** @description Rate limited */
@@ -28209,7 +30393,7 @@ export interface operations {
28209
30393
  };
28210
30394
  };
28211
30395
  };
28212
- "get-metric-freshness": {
30396
+ "get-metric-catalog": {
28213
30397
  parameters: {
28214
30398
  query?: never;
28215
30399
  header?: never;
@@ -28226,7 +30410,7 @@ export interface operations {
28226
30410
  [name: string]: unknown;
28227
30411
  };
28228
30412
  content: {
28229
- "application/json": components["schemas"]["MetricFreshnessResponse"];
30413
+ "application/json": components["schemas"]["MetricCatalogResponse"];
28230
30414
  };
28231
30415
  };
28232
30416
  /** @description Rate limited */
@@ -32028,6 +34212,49 @@ export interface operations {
32028
34212
  };
32029
34213
  };
32030
34214
  };
34215
+ "list-voice-judge-recent": {
34216
+ parameters: {
34217
+ query?: {
34218
+ /** @description Max rows to return (default 20, max 100) */
34219
+ limit?: number;
34220
+ };
34221
+ header?: never;
34222
+ path: {
34223
+ /** @description Service UUID */
34224
+ service_id: string;
34225
+ workspace_id: string;
34226
+ };
34227
+ cookie?: never;
34228
+ };
34229
+ requestBody?: never;
34230
+ responses: {
34231
+ /** @description Voice judge rows (newest first) */
34232
+ 200: {
34233
+ headers: {
34234
+ [name: string]: unknown;
34235
+ };
34236
+ content: {
34237
+ "application/json": components["schemas"]["VoiceJudgeRecentResponse"];
34238
+ };
34239
+ };
34240
+ /** @description Validation Error */
34241
+ 422: {
34242
+ headers: {
34243
+ [name: string]: unknown;
34244
+ };
34245
+ content: {
34246
+ "application/json": components["schemas"]["HTTPValidationError"];
34247
+ };
34248
+ };
34249
+ /** @description Analytics warehouse not configured or transiently unavailable */
34250
+ 503: {
34251
+ headers: {
34252
+ [name: string]: unknown;
34253
+ };
34254
+ content?: never;
34255
+ };
34256
+ };
34257
+ };
32031
34258
  "voice-turn": {
32032
34259
  parameters: {
32033
34260
  query?: never;
@@ -32227,9 +34454,240 @@ export interface operations {
32227
34454
  };
32228
34455
  };
32229
34456
  };
32230
- "get-branding-settings": {
34457
+ "get-branding-settings": {
34458
+ parameters: {
34459
+ query?: never;
34460
+ header?: never;
34461
+ path: {
34462
+ workspace_id: string;
34463
+ };
34464
+ cookie?: never;
34465
+ };
34466
+ requestBody?: never;
34467
+ responses: {
34468
+ /** @description Successful Response */
34469
+ 200: {
34470
+ headers: {
34471
+ [name: string]: unknown;
34472
+ };
34473
+ content: {
34474
+ "application/json": components["schemas"]["BrandingSettingsResponse"];
34475
+ };
34476
+ };
34477
+ /** @description Rate limited */
34478
+ 429: {
34479
+ headers: {
34480
+ [name: string]: unknown;
34481
+ };
34482
+ content?: never;
34483
+ };
34484
+ };
34485
+ };
34486
+ "update-branding-settings": {
34487
+ parameters: {
34488
+ query?: never;
34489
+ header?: never;
34490
+ path: {
34491
+ workspace_id: string;
34492
+ };
34493
+ cookie?: never;
34494
+ };
34495
+ requestBody: {
34496
+ content: {
34497
+ "application/json": components["schemas"]["BrandingSettingsRequest"];
34498
+ };
34499
+ };
34500
+ responses: {
34501
+ /** @description Successful Response */
34502
+ 200: {
34503
+ headers: {
34504
+ [name: string]: unknown;
34505
+ };
34506
+ content: {
34507
+ "application/json": components["schemas"]["BrandingSettingsResponse"];
34508
+ };
34509
+ };
34510
+ /** @description Workspace not found */
34511
+ 404: {
34512
+ headers: {
34513
+ [name: string]: unknown;
34514
+ };
34515
+ content?: never;
34516
+ };
34517
+ /** @description Validation error */
34518
+ 422: {
34519
+ headers: {
34520
+ [name: string]: unknown;
34521
+ };
34522
+ content?: never;
34523
+ };
34524
+ /** @description Rate limited */
34525
+ 429: {
34526
+ headers: {
34527
+ [name: string]: unknown;
34528
+ };
34529
+ content?: never;
34530
+ };
34531
+ };
34532
+ };
34533
+ "get-connector-settings": {
34534
+ parameters: {
34535
+ query?: never;
34536
+ header?: never;
34537
+ path: {
34538
+ workspace_id: string;
34539
+ };
34540
+ cookie?: never;
34541
+ };
34542
+ requestBody?: never;
34543
+ responses: {
34544
+ /** @description Successful Response */
34545
+ 200: {
34546
+ headers: {
34547
+ [name: string]: unknown;
34548
+ };
34549
+ content: {
34550
+ "application/json": components["schemas"]["ConnectorSettingsResponse"];
34551
+ };
34552
+ };
34553
+ /** @description Rate limited */
34554
+ 429: {
34555
+ headers: {
34556
+ [name: string]: unknown;
34557
+ };
34558
+ content?: never;
34559
+ };
34560
+ };
34561
+ };
34562
+ "update-connector-settings": {
34563
+ parameters: {
34564
+ query?: never;
34565
+ header?: never;
34566
+ path: {
34567
+ workspace_id: string;
34568
+ };
34569
+ cookie?: never;
34570
+ };
34571
+ requestBody: {
34572
+ content: {
34573
+ "application/json": components["schemas"]["ConnectorSettingsRequest"];
34574
+ };
34575
+ };
34576
+ responses: {
34577
+ /** @description Successful Response */
34578
+ 200: {
34579
+ headers: {
34580
+ [name: string]: unknown;
34581
+ };
34582
+ content: {
34583
+ "application/json": components["schemas"]["ConnectorSettingsResponse"];
34584
+ };
34585
+ };
34586
+ /** @description Workspace not found */
34587
+ 404: {
34588
+ headers: {
34589
+ [name: string]: unknown;
34590
+ };
34591
+ content?: never;
34592
+ };
34593
+ /** @description Validation error */
34594
+ 422: {
34595
+ headers: {
34596
+ [name: string]: unknown;
34597
+ };
34598
+ content?: never;
34599
+ };
34600
+ /** @description Rate limited */
34601
+ 429: {
34602
+ headers: {
34603
+ [name: string]: unknown;
34604
+ };
34605
+ content?: never;
34606
+ };
34607
+ };
34608
+ };
34609
+ "get-environment-settings": {
34610
+ parameters: {
34611
+ query?: never;
34612
+ header?: never;
34613
+ path: {
34614
+ workspace_id: string;
34615
+ };
34616
+ cookie?: never;
34617
+ };
34618
+ requestBody?: never;
34619
+ responses: {
34620
+ /** @description Successful Response */
34621
+ 200: {
34622
+ headers: {
34623
+ [name: string]: unknown;
34624
+ };
34625
+ content: {
34626
+ "application/json": components["schemas"]["EnvironmentSettingsResponse"];
34627
+ };
34628
+ };
34629
+ /** @description Rate limited */
34630
+ 429: {
34631
+ headers: {
34632
+ [name: string]: unknown;
34633
+ };
34634
+ content?: never;
34635
+ };
34636
+ };
34637
+ };
34638
+ "update-environment-settings": {
34639
+ parameters: {
34640
+ query?: never;
34641
+ header?: never;
34642
+ path: {
34643
+ workspace_id: string;
34644
+ };
34645
+ cookie?: never;
34646
+ };
34647
+ requestBody: {
34648
+ content: {
34649
+ "application/json": components["schemas"]["EnvironmentSettingsRequest"];
34650
+ };
34651
+ };
34652
+ responses: {
34653
+ /** @description Successful Response */
34654
+ 200: {
34655
+ headers: {
34656
+ [name: string]: unknown;
34657
+ };
34658
+ content: {
34659
+ "application/json": components["schemas"]["EnvironmentSettingsResponse"];
34660
+ };
34661
+ };
34662
+ /** @description Workspace not found */
34663
+ 404: {
34664
+ headers: {
34665
+ [name: string]: unknown;
34666
+ };
34667
+ content?: never;
34668
+ };
34669
+ /** @description Validation error */
34670
+ 422: {
34671
+ headers: {
34672
+ [name: string]: unknown;
34673
+ };
34674
+ content?: never;
34675
+ };
34676
+ /** @description Rate limited */
34677
+ 429: {
34678
+ headers: {
34679
+ [name: string]: unknown;
34680
+ };
34681
+ content?: never;
34682
+ };
34683
+ };
34684
+ };
34685
+ "list-form-templates": {
32231
34686
  parameters: {
32232
- query?: never;
34687
+ query?: {
34688
+ category?: ("intake" | "update" | "consent" | "screening" | "survey" | "custom") | null;
34689
+ patient_type?: ("new" | "returning" | "any") | null;
34690
+ };
32233
34691
  header?: never;
32234
34692
  path: {
32235
34693
  workspace_id: string;
@@ -32244,19 +34702,21 @@ export interface operations {
32244
34702
  [name: string]: unknown;
32245
34703
  };
32246
34704
  content: {
32247
- "application/json": components["schemas"]["BrandingSettingsResponse"];
34705
+ "application/json": components["schemas"]["FormTemplateListResponse"];
32248
34706
  };
32249
34707
  };
32250
- /** @description Rate limited */
32251
- 429: {
34708
+ /** @description Validation Error */
34709
+ 422: {
32252
34710
  headers: {
32253
34711
  [name: string]: unknown;
32254
34712
  };
32255
- content?: never;
34713
+ content: {
34714
+ "application/json": components["schemas"]["HTTPValidationError"];
34715
+ };
32256
34716
  };
32257
34717
  };
32258
34718
  };
32259
- "update-branding-settings": {
34719
+ "update-form-templates": {
32260
34720
  parameters: {
32261
34721
  query?: never;
32262
34722
  header?: never;
@@ -32267,7 +34727,7 @@ export interface operations {
32267
34727
  };
32268
34728
  requestBody: {
32269
34729
  content: {
32270
- "application/json": components["schemas"]["BrandingSettingsRequest"];
34730
+ "application/json": components["schemas"]["FormTemplateUpdateRequest"];
32271
34731
  };
32272
34732
  };
32273
34733
  responses: {
@@ -32277,37 +34737,26 @@ export interface operations {
32277
34737
  [name: string]: unknown;
32278
34738
  };
32279
34739
  content: {
32280
- "application/json": components["schemas"]["BrandingSettingsResponse"];
32281
- };
32282
- };
32283
- /** @description Workspace not found */
32284
- 404: {
32285
- headers: {
32286
- [name: string]: unknown;
34740
+ "application/json": components["schemas"]["FormTemplateListResponse"];
32287
34741
  };
32288
- content?: never;
32289
34742
  };
32290
- /** @description Validation error */
34743
+ /** @description Validation Error */
32291
34744
  422: {
32292
34745
  headers: {
32293
34746
  [name: string]: unknown;
32294
34747
  };
32295
- content?: never;
32296
- };
32297
- /** @description Rate limited */
32298
- 429: {
32299
- headers: {
32300
- [name: string]: unknown;
34748
+ content: {
34749
+ "application/json": components["schemas"]["HTTPValidationError"];
32301
34750
  };
32302
- content?: never;
32303
34751
  };
32304
34752
  };
32305
34753
  };
32306
- "get-connector-settings": {
34754
+ "get-form-template": {
32307
34755
  parameters: {
32308
34756
  query?: never;
32309
34757
  header?: never;
32310
34758
  path: {
34759
+ template_id: string;
32311
34760
  workspace_id: string;
32312
34761
  };
32313
34762
  cookie?: never;
@@ -32320,30 +34769,33 @@ export interface operations {
32320
34769
  [name: string]: unknown;
32321
34770
  };
32322
34771
  content: {
32323
- "application/json": components["schemas"]["ConnectorSettingsResponse"];
34772
+ "application/json": components["schemas"]["FormTemplate-Output"];
32324
34773
  };
32325
34774
  };
32326
- /** @description Rate limited */
32327
- 429: {
34775
+ /** @description Validation Error */
34776
+ 422: {
32328
34777
  headers: {
32329
34778
  [name: string]: unknown;
32330
34779
  };
32331
- content?: never;
34780
+ content: {
34781
+ "application/json": components["schemas"]["HTTPValidationError"];
34782
+ };
32332
34783
  };
32333
34784
  };
32334
34785
  };
32335
- "update-connector-settings": {
34786
+ "resolve-form-template": {
32336
34787
  parameters: {
32337
34788
  query?: never;
32338
34789
  header?: never;
32339
34790
  path: {
34791
+ template_id: string;
32340
34792
  workspace_id: string;
32341
34793
  };
32342
34794
  cookie?: never;
32343
34795
  };
32344
34796
  requestBody: {
32345
34797
  content: {
32346
- "application/json": components["schemas"]["ConnectorSettingsRequest"];
34798
+ "application/json": components["schemas"]["ResolveTemplateRequest"];
32347
34799
  };
32348
34800
  };
32349
34801
  responses: {
@@ -32353,33 +34805,21 @@ export interface operations {
32353
34805
  [name: string]: unknown;
32354
34806
  };
32355
34807
  content: {
32356
- "application/json": components["schemas"]["ConnectorSettingsResponse"];
32357
- };
32358
- };
32359
- /** @description Workspace not found */
32360
- 404: {
32361
- headers: {
32362
- [name: string]: unknown;
34808
+ "application/json": components["schemas"]["ResolveTemplateResponse"];
32363
34809
  };
32364
- content?: never;
32365
34810
  };
32366
- /** @description Validation error */
34811
+ /** @description Validation Error */
32367
34812
  422: {
32368
34813
  headers: {
32369
34814
  [name: string]: unknown;
32370
34815
  };
32371
- content?: never;
32372
- };
32373
- /** @description Rate limited */
32374
- 429: {
32375
- headers: {
32376
- [name: string]: unknown;
34816
+ content: {
34817
+ "application/json": components["schemas"]["HTTPValidationError"];
32377
34818
  };
32378
- content?: never;
32379
34819
  };
32380
34820
  };
32381
34821
  };
32382
- "get-environment-settings": {
34822
+ "get-gap-scanner-settings": {
32383
34823
  parameters: {
32384
34824
  query?: never;
32385
34825
  header?: never;
@@ -32396,7 +34836,7 @@ export interface operations {
32396
34836
  [name: string]: unknown;
32397
34837
  };
32398
34838
  content: {
32399
- "application/json": components["schemas"]["EnvironmentSettingsResponse"];
34839
+ "application/json": components["schemas"]["GapScannerSettingsResponse"];
32400
34840
  };
32401
34841
  };
32402
34842
  /** @description Rate limited */
@@ -32408,7 +34848,7 @@ export interface operations {
32408
34848
  };
32409
34849
  };
32410
34850
  };
32411
- "update-environment-settings": {
34851
+ "update-gap-scanner-settings": {
32412
34852
  parameters: {
32413
34853
  query?: never;
32414
34854
  header?: never;
@@ -32419,7 +34859,7 @@ export interface operations {
32419
34859
  };
32420
34860
  requestBody: {
32421
34861
  content: {
32422
- "application/json": components["schemas"]["EnvironmentSettingsRequest"];
34862
+ "application/json": components["schemas"]["GapScannerSettingsRequest"];
32423
34863
  };
32424
34864
  };
32425
34865
  responses: {
@@ -32429,7 +34869,7 @@ export interface operations {
32429
34869
  [name: string]: unknown;
32430
34870
  };
32431
34871
  content: {
32432
- "application/json": components["schemas"]["EnvironmentSettingsResponse"];
34872
+ "application/json": components["schemas"]["GapScannerSettingsResponse"];
32433
34873
  };
32434
34874
  };
32435
34875
  /** @description Workspace not found */
@@ -32455,19 +34895,20 @@ export interface operations {
32455
34895
  };
32456
34896
  };
32457
34897
  };
32458
- "list-form-templates": {
34898
+ "gap-scanner-preview": {
32459
34899
  parameters: {
32460
- query?: {
32461
- category?: ("intake" | "update" | "consent" | "screening" | "survey" | "custom") | null;
32462
- patient_type?: ("new" | "returning" | "any") | null;
32463
- };
34900
+ query?: never;
32464
34901
  header?: never;
32465
34902
  path: {
32466
34903
  workspace_id: string;
32467
34904
  };
32468
34905
  cookie?: never;
32469
34906
  };
32470
- requestBody?: never;
34907
+ requestBody?: {
34908
+ content: {
34909
+ "application/json": components["schemas"]["GapScannerPreviewRequest"] | null;
34910
+ };
34911
+ };
32471
34912
  responses: {
32472
34913
  /** @description Successful Response */
32473
34914
  200: {
@@ -32475,7 +34916,9 @@ export interface operations {
32475
34916
  [name: string]: unknown;
32476
34917
  };
32477
34918
  content: {
32478
- "application/json": components["schemas"]["FormTemplateListResponse"];
34919
+ "application/json": {
34920
+ [key: string]: unknown;
34921
+ };
32479
34922
  };
32480
34923
  };
32481
34924
  /** @description Validation Error */
@@ -32487,9 +34930,23 @@ export interface operations {
32487
34930
  "application/json": components["schemas"]["HTTPValidationError"];
32488
34931
  };
32489
34932
  };
34933
+ /** @description Rate limited */
34934
+ 429: {
34935
+ headers: {
34936
+ [name: string]: unknown;
34937
+ };
34938
+ content?: never;
34939
+ };
34940
+ /** @description Connector runner unavailable */
34941
+ 503: {
34942
+ headers: {
34943
+ [name: string]: unknown;
34944
+ };
34945
+ content?: never;
34946
+ };
32490
34947
  };
32491
34948
  };
32492
- "update-form-templates": {
34949
+ "gap-scanner-scan": {
32493
34950
  parameters: {
32494
34951
  query?: never;
32495
34952
  header?: never;
@@ -32498,11 +34955,7 @@ export interface operations {
32498
34955
  };
32499
34956
  cookie?: never;
32500
34957
  };
32501
- requestBody: {
32502
- content: {
32503
- "application/json": components["schemas"]["FormTemplateUpdateRequest"];
32504
- };
32505
- };
34958
+ requestBody?: never;
32506
34959
  responses: {
32507
34960
  /** @description Successful Response */
32508
34961
  200: {
@@ -32510,26 +34963,32 @@ export interface operations {
32510
34963
  [name: string]: unknown;
32511
34964
  };
32512
34965
  content: {
32513
- "application/json": components["schemas"]["FormTemplateListResponse"];
34966
+ "application/json": {
34967
+ [key: string]: unknown;
34968
+ };
32514
34969
  };
32515
34970
  };
32516
- /** @description Validation Error */
32517
- 422: {
34971
+ /** @description Rate limited */
34972
+ 429: {
32518
34973
  headers: {
32519
34974
  [name: string]: unknown;
32520
34975
  };
32521
- content: {
32522
- "application/json": components["schemas"]["HTTPValidationError"];
34976
+ content?: never;
34977
+ };
34978
+ /** @description Connector runner unavailable */
34979
+ 503: {
34980
+ headers: {
34981
+ [name: string]: unknown;
32523
34982
  };
34983
+ content?: never;
32524
34984
  };
32525
34985
  };
32526
34986
  };
32527
- "get-form-template": {
34987
+ "get-memory-settings": {
32528
34988
  parameters: {
32529
34989
  query?: never;
32530
34990
  header?: never;
32531
34991
  path: {
32532
- template_id: string;
32533
34992
  workspace_id: string;
32534
34993
  };
32535
34994
  cookie?: never;
@@ -32542,33 +35001,30 @@ export interface operations {
32542
35001
  [name: string]: unknown;
32543
35002
  };
32544
35003
  content: {
32545
- "application/json": components["schemas"]["FormTemplate-Output"];
35004
+ "application/json": components["schemas"]["MemorySettingsResponse"];
32546
35005
  };
32547
35006
  };
32548
- /** @description Validation Error */
32549
- 422: {
35007
+ /** @description Rate limited */
35008
+ 429: {
32550
35009
  headers: {
32551
35010
  [name: string]: unknown;
32552
35011
  };
32553
- content: {
32554
- "application/json": components["schemas"]["HTTPValidationError"];
32555
- };
35012
+ content?: never;
32556
35013
  };
32557
35014
  };
32558
35015
  };
32559
- "resolve-form-template": {
35016
+ "update-memory-settings": {
32560
35017
  parameters: {
32561
35018
  query?: never;
32562
35019
  header?: never;
32563
35020
  path: {
32564
- template_id: string;
32565
35021
  workspace_id: string;
32566
35022
  };
32567
35023
  cookie?: never;
32568
35024
  };
32569
35025
  requestBody: {
32570
35026
  content: {
32571
- "application/json": components["schemas"]["ResolveTemplateRequest"];
35027
+ "application/json": components["schemas"]["MemorySettingsRequest"];
32572
35028
  };
32573
35029
  };
32574
35030
  responses: {
@@ -32578,21 +35034,33 @@ export interface operations {
32578
35034
  [name: string]: unknown;
32579
35035
  };
32580
35036
  content: {
32581
- "application/json": components["schemas"]["ResolveTemplateResponse"];
35037
+ "application/json": components["schemas"]["MemorySettingsResponse"];
32582
35038
  };
32583
35039
  };
32584
- /** @description Validation Error */
35040
+ /** @description Workspace not found */
35041
+ 404: {
35042
+ headers: {
35043
+ [name: string]: unknown;
35044
+ };
35045
+ content?: never;
35046
+ };
35047
+ /** @description Validation error */
32585
35048
  422: {
32586
35049
  headers: {
32587
35050
  [name: string]: unknown;
32588
35051
  };
32589
- content: {
32590
- "application/json": components["schemas"]["HTTPValidationError"];
35052
+ content?: never;
35053
+ };
35054
+ /** @description Rate limited */
35055
+ 429: {
35056
+ headers: {
35057
+ [name: string]: unknown;
32591
35058
  };
35059
+ content?: never;
32592
35060
  };
32593
35061
  };
32594
35062
  };
32595
- "get-gap-scanner-settings": {
35063
+ "get-metric-settings": {
32596
35064
  parameters: {
32597
35065
  query?: never;
32598
35066
  header?: never;
@@ -32609,7 +35077,7 @@ export interface operations {
32609
35077
  [name: string]: unknown;
32610
35078
  };
32611
35079
  content: {
32612
- "application/json": components["schemas"]["GapScannerSettingsResponse"];
35080
+ "application/json": components["schemas"]["MetricSettingsResponse"];
32613
35081
  };
32614
35082
  };
32615
35083
  /** @description Rate limited */
@@ -32621,7 +35089,7 @@ export interface operations {
32621
35089
  };
32622
35090
  };
32623
35091
  };
32624
- "update-gap-scanner-settings": {
35092
+ "update-metric-settings": {
32625
35093
  parameters: {
32626
35094
  query?: never;
32627
35095
  header?: never;
@@ -32632,7 +35100,7 @@ export interface operations {
32632
35100
  };
32633
35101
  requestBody: {
32634
35102
  content: {
32635
- "application/json": components["schemas"]["GapScannerSettingsRequest"];
35103
+ "application/json": components["schemas"]["MetricSettingsRequest"];
32636
35104
  };
32637
35105
  };
32638
35106
  responses: {
@@ -32642,7 +35110,7 @@ export interface operations {
32642
35110
  [name: string]: unknown;
32643
35111
  };
32644
35112
  content: {
32645
- "application/json": components["schemas"]["GapScannerSettingsResponse"];
35113
+ "application/json": components["schemas"]["MetricSettingsResponse"];
32646
35114
  };
32647
35115
  };
32648
35116
  /** @description Workspace not found */
@@ -32668,7 +35136,7 @@ export interface operations {
32668
35136
  };
32669
35137
  };
32670
35138
  };
32671
- "gap-scanner-preview": {
35139
+ "get-outreach-settings": {
32672
35140
  parameters: {
32673
35141
  query?: never;
32674
35142
  header?: never;
@@ -32677,11 +35145,7 @@ export interface operations {
32677
35145
  };
32678
35146
  cookie?: never;
32679
35147
  };
32680
- requestBody?: {
32681
- content: {
32682
- "application/json": components["schemas"]["GapScannerPreviewRequest"] | null;
32683
- };
32684
- };
35148
+ requestBody?: never;
32685
35149
  responses: {
32686
35150
  /** @description Successful Response */
32687
35151
  200: {
@@ -32689,18 +35153,7 @@ export interface operations {
32689
35153
  [name: string]: unknown;
32690
35154
  };
32691
35155
  content: {
32692
- "application/json": {
32693
- [key: string]: unknown;
32694
- };
32695
- };
32696
- };
32697
- /** @description Validation Error */
32698
- 422: {
32699
- headers: {
32700
- [name: string]: unknown;
32701
- };
32702
- content: {
32703
- "application/json": components["schemas"]["HTTPValidationError"];
35156
+ "application/json": components["schemas"]["OutreachSettingsResponse"];
32704
35157
  };
32705
35158
  };
32706
35159
  /** @description Rate limited */
@@ -32710,16 +35163,9 @@ export interface operations {
32710
35163
  };
32711
35164
  content?: never;
32712
35165
  };
32713
- /** @description Connector runner unavailable */
32714
- 503: {
32715
- headers: {
32716
- [name: string]: unknown;
32717
- };
32718
- content?: never;
32719
- };
32720
35166
  };
32721
35167
  };
32722
- "gap-scanner-scan": {
35168
+ "update-outreach-settings": {
32723
35169
  parameters: {
32724
35170
  query?: never;
32725
35171
  header?: never;
@@ -32728,7 +35174,11 @@ export interface operations {
32728
35174
  };
32729
35175
  cookie?: never;
32730
35176
  };
32731
- requestBody?: never;
35177
+ requestBody: {
35178
+ content: {
35179
+ "application/json": components["schemas"]["OutreachSettingsRequest"];
35180
+ };
35181
+ };
32732
35182
  responses: {
32733
35183
  /** @description Successful Response */
32734
35184
  200: {
@@ -32736,20 +35186,25 @@ export interface operations {
32736
35186
  [name: string]: unknown;
32737
35187
  };
32738
35188
  content: {
32739
- "application/json": {
32740
- [key: string]: unknown;
32741
- };
35189
+ "application/json": components["schemas"]["OutreachSettingsResponse"];
32742
35190
  };
32743
35191
  };
32744
- /** @description Rate limited */
32745
- 429: {
35192
+ /** @description Workspace not found */
35193
+ 404: {
32746
35194
  headers: {
32747
35195
  [name: string]: unknown;
32748
35196
  };
32749
35197
  content?: never;
32750
35198
  };
32751
- /** @description Connector runner unavailable */
32752
- 503: {
35199
+ /** @description Validation error */
35200
+ 422: {
35201
+ headers: {
35202
+ [name: string]: unknown;
35203
+ };
35204
+ content?: never;
35205
+ };
35206
+ /** @description Rate limited */
35207
+ 429: {
32753
35208
  headers: {
32754
35209
  [name: string]: unknown;
32755
35210
  };
@@ -32757,7 +35212,7 @@ export interface operations {
32757
35212
  };
32758
35213
  };
32759
35214
  };
32760
- "get-memory-settings": {
35215
+ "get-retention-policy": {
32761
35216
  parameters: {
32762
35217
  query?: never;
32763
35218
  header?: never;
@@ -32774,7 +35229,7 @@ export interface operations {
32774
35229
  [name: string]: unknown;
32775
35230
  };
32776
35231
  content: {
32777
- "application/json": components["schemas"]["MemorySettingsResponse"];
35232
+ "application/json": components["schemas"]["RetentionPolicyResponse"];
32778
35233
  };
32779
35234
  };
32780
35235
  /** @description Rate limited */
@@ -32786,7 +35241,7 @@ export interface operations {
32786
35241
  };
32787
35242
  };
32788
35243
  };
32789
- "update-memory-settings": {
35244
+ "update-retention-policy": {
32790
35245
  parameters: {
32791
35246
  query?: never;
32792
35247
  header?: never;
@@ -32797,7 +35252,7 @@ export interface operations {
32797
35252
  };
32798
35253
  requestBody: {
32799
35254
  content: {
32800
- "application/json": components["schemas"]["MemorySettingsRequest"];
35255
+ "application/json": components["schemas"]["RetentionPolicyRequest"];
32801
35256
  };
32802
35257
  };
32803
35258
  responses: {
@@ -32807,7 +35262,7 @@ export interface operations {
32807
35262
  [name: string]: unknown;
32808
35263
  };
32809
35264
  content: {
32810
- "application/json": components["schemas"]["MemorySettingsResponse"];
35265
+ "application/json": components["schemas"]["RetentionPolicyResponse"];
32811
35266
  };
32812
35267
  };
32813
35268
  /** @description Workspace not found */
@@ -32833,7 +35288,7 @@ export interface operations {
32833
35288
  };
32834
35289
  };
32835
35290
  };
32836
- "get-metric-settings": {
35291
+ "get-scribe-settings": {
32837
35292
  parameters: {
32838
35293
  query?: never;
32839
35294
  header?: never;
@@ -32850,7 +35305,7 @@ export interface operations {
32850
35305
  [name: string]: unknown;
32851
35306
  };
32852
35307
  content: {
32853
- "application/json": components["schemas"]["MetricSettingsResponse"];
35308
+ "application/json": components["schemas"]["ScribeSettingsResponse"];
32854
35309
  };
32855
35310
  };
32856
35311
  /** @description Rate limited */
@@ -32862,7 +35317,7 @@ export interface operations {
32862
35317
  };
32863
35318
  };
32864
35319
  };
32865
- "update-metric-settings": {
35320
+ "update-scribe-settings": {
32866
35321
  parameters: {
32867
35322
  query?: never;
32868
35323
  header?: never;
@@ -32873,7 +35328,7 @@ export interface operations {
32873
35328
  };
32874
35329
  requestBody: {
32875
35330
  content: {
32876
- "application/json": components["schemas"]["MetricSettingsRequest"];
35331
+ "application/json": components["schemas"]["ScribeSettingsRequest"];
32877
35332
  };
32878
35333
  };
32879
35334
  responses: {
@@ -32883,7 +35338,7 @@ export interface operations {
32883
35338
  [name: string]: unknown;
32884
35339
  };
32885
35340
  content: {
32886
- "application/json": components["schemas"]["MetricSettingsResponse"];
35341
+ "application/json": components["schemas"]["ScribeSettingsResponse"];
32887
35342
  };
32888
35343
  };
32889
35344
  /** @description Workspace not found */
@@ -32909,7 +35364,7 @@ export interface operations {
32909
35364
  };
32910
35365
  };
32911
35366
  };
32912
- "get-outreach-settings": {
35367
+ "get-security-settings": {
32913
35368
  parameters: {
32914
35369
  query?: never;
32915
35370
  header?: never;
@@ -32926,7 +35381,7 @@ export interface operations {
32926
35381
  [name: string]: unknown;
32927
35382
  };
32928
35383
  content: {
32929
- "application/json": components["schemas"]["OutreachSettingsResponse"];
35384
+ "application/json": components["schemas"]["SecuritySettingsResponse"];
32930
35385
  };
32931
35386
  };
32932
35387
  /** @description Rate limited */
@@ -32938,7 +35393,7 @@ export interface operations {
32938
35393
  };
32939
35394
  };
32940
35395
  };
32941
- "update-outreach-settings": {
35396
+ "update-security-settings": {
32942
35397
  parameters: {
32943
35398
  query?: never;
32944
35399
  header?: never;
@@ -32949,7 +35404,7 @@ export interface operations {
32949
35404
  };
32950
35405
  requestBody: {
32951
35406
  content: {
32952
- "application/json": components["schemas"]["OutreachSettingsRequest"];
35407
+ "application/json": components["schemas"]["SecuritySettingsRequest"];
32953
35408
  };
32954
35409
  };
32955
35410
  responses: {
@@ -32959,7 +35414,7 @@ export interface operations {
32959
35414
  [name: string]: unknown;
32960
35415
  };
32961
35416
  content: {
32962
- "application/json": components["schemas"]["OutreachSettingsResponse"];
35417
+ "application/json": components["schemas"]["SecuritySettingsResponse"];
32963
35418
  };
32964
35419
  };
32965
35420
  /** @description Workspace not found */
@@ -32985,7 +35440,7 @@ export interface operations {
32985
35440
  };
32986
35441
  };
32987
35442
  };
32988
- "get-retention-policy": {
35443
+ "get-voice-settings": {
32989
35444
  parameters: {
32990
35445
  query?: never;
32991
35446
  header?: never;
@@ -33002,7 +35457,7 @@ export interface operations {
33002
35457
  [name: string]: unknown;
33003
35458
  };
33004
35459
  content: {
33005
- "application/json": components["schemas"]["RetentionPolicyResponse"];
35460
+ "application/json": components["schemas"]["VoiceSettingsResponse"];
33006
35461
  };
33007
35462
  };
33008
35463
  /** @description Rate limited */
@@ -33014,7 +35469,7 @@ export interface operations {
33014
35469
  };
33015
35470
  };
33016
35471
  };
33017
- "update-retention-policy": {
35472
+ "update-voice-settings": {
33018
35473
  parameters: {
33019
35474
  query?: never;
33020
35475
  header?: never;
@@ -33025,7 +35480,7 @@ export interface operations {
33025
35480
  };
33026
35481
  requestBody: {
33027
35482
  content: {
33028
- "application/json": components["schemas"]["RetentionPolicyRequest"];
35483
+ "application/json": components["schemas"]["VoiceSettingsRequest"];
33029
35484
  };
33030
35485
  };
33031
35486
  responses: {
@@ -33035,7 +35490,7 @@ export interface operations {
33035
35490
  [name: string]: unknown;
33036
35491
  };
33037
35492
  content: {
33038
- "application/json": components["schemas"]["RetentionPolicyResponse"];
35493
+ "application/json": components["schemas"]["VoiceSettingsResponse"];
33039
35494
  };
33040
35495
  };
33041
35496
  /** @description Workspace not found */
@@ -33061,7 +35516,7 @@ export interface operations {
33061
35516
  };
33062
35517
  };
33063
35518
  };
33064
- "get-scribe-settings": {
35519
+ "get-workflow-settings": {
33065
35520
  parameters: {
33066
35521
  query?: never;
33067
35522
  header?: never;
@@ -33078,7 +35533,7 @@ export interface operations {
33078
35533
  [name: string]: unknown;
33079
35534
  };
33080
35535
  content: {
33081
- "application/json": components["schemas"]["ScribeSettingsResponse"];
35536
+ "application/json": components["schemas"]["WorkflowSettingsResponse"];
33082
35537
  };
33083
35538
  };
33084
35539
  /** @description Rate limited */
@@ -33090,7 +35545,7 @@ export interface operations {
33090
35545
  };
33091
35546
  };
33092
35547
  };
33093
- "update-scribe-settings": {
35548
+ "update-workflow-settings": {
33094
35549
  parameters: {
33095
35550
  query?: never;
33096
35551
  header?: never;
@@ -33101,7 +35556,7 @@ export interface operations {
33101
35556
  };
33102
35557
  requestBody: {
33103
35558
  content: {
33104
- "application/json": components["schemas"]["ScribeSettingsRequest"];
35559
+ "application/json": components["schemas"]["WorkflowSettingsRequest"];
33105
35560
  };
33106
35561
  };
33107
35562
  responses: {
@@ -33111,7 +35566,7 @@ export interface operations {
33111
35566
  [name: string]: unknown;
33112
35567
  };
33113
35568
  content: {
33114
- "application/json": components["schemas"]["ScribeSettingsResponse"];
35569
+ "application/json": components["schemas"]["WorkflowSettingsResponse"];
33115
35570
  };
33116
35571
  };
33117
35572
  /** @description Workspace not found */
@@ -33137,7 +35592,7 @@ export interface operations {
33137
35592
  };
33138
35593
  };
33139
35594
  };
33140
- "get-security-settings": {
35595
+ "list-simulation-branches": {
33141
35596
  parameters: {
33142
35597
  query?: never;
33143
35598
  header?: never;
@@ -33154,19 +35609,14 @@ export interface operations {
33154
35609
  [name: string]: unknown;
33155
35610
  };
33156
35611
  content: {
33157
- "application/json": components["schemas"]["SecuritySettingsResponse"];
33158
- };
33159
- };
33160
- /** @description Rate limited */
33161
- 429: {
33162
- headers: {
33163
- [name: string]: unknown;
35612
+ "application/json": {
35613
+ [key: string]: unknown;
35614
+ };
33164
35615
  };
33165
- content?: never;
33166
35616
  };
33167
35617
  };
33168
35618
  };
33169
- "update-security-settings": {
35619
+ "create-simulation-branch": {
33170
35620
  parameters: {
33171
35621
  query?: never;
33172
35622
  header?: never;
@@ -33177,7 +35627,7 @@ export interface operations {
33177
35627
  };
33178
35628
  requestBody: {
33179
35629
  content: {
33180
- "application/json": components["schemas"]["SecuritySettingsRequest"];
35630
+ "application/json": components["schemas"]["CreateBranchRequest"];
33181
35631
  };
33182
35632
  };
33183
35633
  responses: {
@@ -33187,62 +35637,23 @@ export interface operations {
33187
35637
  [name: string]: unknown;
33188
35638
  };
33189
35639
  content: {
33190
- "application/json": components["schemas"]["SecuritySettingsResponse"];
33191
- };
33192
- };
33193
- /** @description Workspace not found */
33194
- 404: {
33195
- headers: {
33196
- [name: string]: unknown;
35640
+ "application/json": {
35641
+ [key: string]: unknown;
35642
+ };
33197
35643
  };
33198
- content?: never;
33199
35644
  };
33200
- /** @description Validation error */
35645
+ /** @description Validation Error */
33201
35646
  422: {
33202
- headers: {
33203
- [name: string]: unknown;
33204
- };
33205
- content?: never;
33206
- };
33207
- /** @description Rate limited */
33208
- 429: {
33209
- headers: {
33210
- [name: string]: unknown;
33211
- };
33212
- content?: never;
33213
- };
33214
- };
33215
- };
33216
- "get-voice-settings": {
33217
- parameters: {
33218
- query?: never;
33219
- header?: never;
33220
- path: {
33221
- workspace_id: string;
33222
- };
33223
- cookie?: never;
33224
- };
33225
- requestBody?: never;
33226
- responses: {
33227
- /** @description Successful Response */
33228
- 200: {
33229
35647
  headers: {
33230
35648
  [name: string]: unknown;
33231
35649
  };
33232
35650
  content: {
33233
- "application/json": components["schemas"]["VoiceSettingsResponse"];
33234
- };
33235
- };
33236
- /** @description Rate limited */
33237
- 429: {
33238
- headers: {
33239
- [name: string]: unknown;
35651
+ "application/json": components["schemas"]["HTTPValidationError"];
33240
35652
  };
33241
- content?: never;
33242
35653
  };
33243
35654
  };
33244
35655
  };
33245
- "update-voice-settings": {
35656
+ "simulation-bridge": {
33246
35657
  parameters: {
33247
35658
  query?: never;
33248
35659
  header?: never;
@@ -33253,7 +35664,7 @@ export interface operations {
33253
35664
  };
33254
35665
  requestBody: {
33255
35666
  content: {
33256
- "application/json": components["schemas"]["VoiceSettingsRequest"];
35667
+ "application/json": components["schemas"]["BridgeRequest"];
33257
35668
  };
33258
35669
  };
33259
35670
  responses: {
@@ -33263,62 +35674,21 @@ export interface operations {
33263
35674
  [name: string]: unknown;
33264
35675
  };
33265
35676
  content: {
33266
- "application/json": components["schemas"]["VoiceSettingsResponse"];
33267
- };
33268
- };
33269
- /** @description Workspace not found */
33270
- 404: {
33271
- headers: {
33272
- [name: string]: unknown;
35677
+ "application/json": components["schemas"]["BridgeResponse"];
33273
35678
  };
33274
- content?: never;
33275
35679
  };
33276
- /** @description Validation error */
35680
+ /** @description Validation Error */
33277
35681
  422: {
33278
- headers: {
33279
- [name: string]: unknown;
33280
- };
33281
- content?: never;
33282
- };
33283
- /** @description Rate limited */
33284
- 429: {
33285
- headers: {
33286
- [name: string]: unknown;
33287
- };
33288
- content?: never;
33289
- };
33290
- };
33291
- };
33292
- "get-workflow-settings": {
33293
- parameters: {
33294
- query?: never;
33295
- header?: never;
33296
- path: {
33297
- workspace_id: string;
33298
- };
33299
- cookie?: never;
33300
- };
33301
- requestBody?: never;
33302
- responses: {
33303
- /** @description Successful Response */
33304
- 200: {
33305
35682
  headers: {
33306
35683
  [name: string]: unknown;
33307
35684
  };
33308
35685
  content: {
33309
- "application/json": components["schemas"]["WorkflowSettingsResponse"];
33310
- };
33311
- };
33312
- /** @description Rate limited */
33313
- 429: {
33314
- headers: {
33315
- [name: string]: unknown;
35686
+ "application/json": components["schemas"]["HTTPValidationError"];
33316
35687
  };
33317
- content?: never;
33318
35688
  };
33319
35689
  };
33320
35690
  };
33321
- "update-workflow-settings": {
35691
+ "simulation-bridge-plan": {
33322
35692
  parameters: {
33323
35693
  query?: never;
33324
35694
  header?: never;
@@ -33329,7 +35699,7 @@ export interface operations {
33329
35699
  };
33330
35700
  requestBody: {
33331
35701
  content: {
33332
- "application/json": components["schemas"]["WorkflowSettingsRequest"];
35702
+ "application/json": components["schemas"]["BridgePlanRequest"];
33333
35703
  };
33334
35704
  };
33335
35705
  responses: {
@@ -33339,57 +35709,21 @@ export interface operations {
33339
35709
  [name: string]: unknown;
33340
35710
  };
33341
35711
  content: {
33342
- "application/json": components["schemas"]["WorkflowSettingsResponse"];
35712
+ "application/json": components["schemas"]["BridgePlanResponse"];
33343
35713
  };
33344
35714
  };
33345
- /** @description Workspace not found */
33346
- 404: {
33347
- headers: {
33348
- [name: string]: unknown;
33349
- };
33350
- content?: never;
33351
- };
33352
- /** @description Validation error */
35715
+ /** @description Validation Error */
33353
35716
  422: {
33354
- headers: {
33355
- [name: string]: unknown;
33356
- };
33357
- content?: never;
33358
- };
33359
- /** @description Rate limited */
33360
- 429: {
33361
- headers: {
33362
- [name: string]: unknown;
33363
- };
33364
- content?: never;
33365
- };
33366
- };
33367
- };
33368
- "list-simulation-branches": {
33369
- parameters: {
33370
- query?: never;
33371
- header?: never;
33372
- path: {
33373
- workspace_id: string;
33374
- };
33375
- cookie?: never;
33376
- };
33377
- requestBody?: never;
33378
- responses: {
33379
- /** @description Successful Response */
33380
- 200: {
33381
35717
  headers: {
33382
35718
  [name: string]: unknown;
33383
35719
  };
33384
35720
  content: {
33385
- "application/json": {
33386
- [key: string]: unknown;
33387
- };
35721
+ "application/json": components["schemas"]["HTTPValidationError"];
33388
35722
  };
33389
35723
  };
33390
35724
  };
33391
35725
  };
33392
- "create-simulation-branch": {
35726
+ "config-to-turn-policy": {
33393
35727
  parameters: {
33394
35728
  query?: never;
33395
35729
  header?: never;
@@ -33400,7 +35734,7 @@ export interface operations {
33400
35734
  };
33401
35735
  requestBody: {
33402
35736
  content: {
33403
- "application/json": components["schemas"]["CreateBranchRequest"];
35737
+ "application/json": components["schemas"]["ConfigToPolicyRequest"];
33404
35738
  };
33405
35739
  };
33406
35740
  responses: {
@@ -33426,20 +35760,19 @@ export interface operations {
33426
35760
  };
33427
35761
  };
33428
35762
  };
33429
- "simulation-bridge": {
35763
+ "list-simulation-runs": {
33430
35764
  parameters: {
33431
- query?: never;
35765
+ query?: {
35766
+ service_id?: string | null;
35767
+ limit?: number;
35768
+ };
33432
35769
  header?: never;
33433
35770
  path: {
33434
35771
  workspace_id: string;
33435
35772
  };
33436
35773
  cookie?: never;
33437
35774
  };
33438
- requestBody: {
33439
- content: {
33440
- "application/json": components["schemas"]["BridgeRequest"];
33441
- };
33442
- };
35775
+ requestBody?: never;
33443
35776
  responses: {
33444
35777
  /** @description Successful Response */
33445
35778
  200: {
@@ -33447,7 +35780,9 @@ export interface operations {
33447
35780
  [name: string]: unknown;
33448
35781
  };
33449
35782
  content: {
33450
- "application/json": components["schemas"]["BridgeResponse"];
35783
+ "application/json": {
35784
+ [key: string]: unknown;
35785
+ };
33451
35786
  };
33452
35787
  };
33453
35788
  /** @description Validation Error */
@@ -33461,7 +35796,7 @@ export interface operations {
33461
35796
  };
33462
35797
  };
33463
35798
  };
33464
- "config-to-turn-policy": {
35799
+ "create-simulation-run": {
33465
35800
  parameters: {
33466
35801
  query?: never;
33467
35802
  header?: never;
@@ -33472,45 +35807,9 @@ export interface operations {
33472
35807
  };
33473
35808
  requestBody: {
33474
35809
  content: {
33475
- "application/json": components["schemas"]["ConfigToPolicyRequest"];
33476
- };
33477
- };
33478
- responses: {
33479
- /** @description Successful Response */
33480
- 200: {
33481
- headers: {
33482
- [name: string]: unknown;
33483
- };
33484
- content: {
33485
- "application/json": {
33486
- [key: string]: unknown;
33487
- };
33488
- };
33489
- };
33490
- /** @description Validation Error */
33491
- 422: {
33492
- headers: {
33493
- [name: string]: unknown;
33494
- };
33495
- content: {
33496
- "application/json": components["schemas"]["HTTPValidationError"];
33497
- };
33498
- };
33499
- };
33500
- };
33501
- "list-simulation-runs": {
33502
- parameters: {
33503
- query?: {
33504
- service_id?: string | null;
33505
- limit?: number;
33506
- };
33507
- header?: never;
33508
- path: {
33509
- workspace_id: string;
35810
+ "application/json": components["schemas"]["CreateRunRequest"];
33510
35811
  };
33511
- cookie?: never;
33512
35812
  };
33513
- requestBody?: never;
33514
35813
  responses: {
33515
35814
  /** @description Successful Response */
33516
35815
  200: {
@@ -33534,20 +35833,17 @@ export interface operations {
33534
35833
  };
33535
35834
  };
33536
35835
  };
33537
- "create-simulation-run": {
35836
+ "get-simulation-run": {
33538
35837
  parameters: {
33539
35838
  query?: never;
33540
35839
  header?: never;
33541
35840
  path: {
35841
+ run_id: string;
33542
35842
  workspace_id: string;
33543
35843
  };
33544
35844
  cookie?: never;
33545
35845
  };
33546
- requestBody: {
33547
- content: {
33548
- "application/json": components["schemas"]["CreateRunRequest"];
33549
- };
33550
- };
35846
+ requestBody?: never;
33551
35847
  responses: {
33552
35848
  /** @description Successful Response */
33553
35849
  200: {
@@ -33555,9 +35851,7 @@ export interface operations {
33555
35851
  [name: string]: unknown;
33556
35852
  };
33557
35853
  content: {
33558
- "application/json": {
33559
- [key: string]: unknown;
33560
- };
35854
+ "application/json": components["schemas"]["SimulationRunResponse"];
33561
35855
  };
33562
35856
  };
33563
35857
  /** @description Validation Error */
@@ -37515,7 +39809,7 @@ export interface operations {
37515
39809
  "world-sync-events": {
37516
39810
  parameters: {
37517
39811
  query: {
37518
- status: "pending" | "synced" | "failed" | "processing";
39812
+ status: "pending" | "synced" | "failed" | "processing" | "not_applicable";
37519
39813
  /** @description Filter events to a specific outbound data source. */
37520
39814
  data_source_id?: string | null;
37521
39815
  /** @description Filter events to a specific source system. */