@amigo-ai/platform-sdk 0.103.0 → 0.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/api.md +3 -12
  2. package/dist/index.cjs +38 -72
  3. package/dist/index.cjs.map +3 -3
  4. package/dist/index.js +0 -5
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +38 -72
  7. package/dist/index.mjs.map +3 -3
  8. package/dist/resources/audit.js +34 -3
  9. package/dist/resources/audit.js.map +1 -1
  10. package/dist/types/generated/api.d.ts +1646 -1012
  11. package/dist/types/generated/api.d.ts.map +1 -1
  12. package/dist/types/index.d.cts +0 -5
  13. package/dist/types/index.d.cts.map +1 -1
  14. package/dist/types/index.d.ts +0 -5
  15. package/dist/types/index.d.ts.map +1 -1
  16. package/dist/types/resources/actions.d.ts +1 -2
  17. package/dist/types/resources/actions.d.ts.map +1 -1
  18. package/dist/types/resources/agents.d.ts +2 -4
  19. package/dist/types/resources/agents.d.ts.map +1 -1
  20. package/dist/types/resources/api-keys.d.ts +1 -2
  21. package/dist/types/resources/api-keys.d.ts.map +1 -1
  22. package/dist/types/resources/audit.d.ts +93 -18
  23. package/dist/types/resources/audit.d.ts.map +1 -1
  24. package/dist/types/resources/billing.d.ts +1 -2
  25. package/dist/types/resources/billing.d.ts.map +1 -1
  26. package/dist/types/resources/context-graphs.d.ts +2 -4
  27. package/dist/types/resources/context-graphs.d.ts.map +1 -1
  28. package/dist/types/resources/data-sources.d.ts +1 -2
  29. package/dist/types/resources/data-sources.d.ts.map +1 -1
  30. package/dist/types/resources/external-integrations.d.ts +1 -1
  31. package/dist/types/resources/external-integrations.d.ts.map +1 -1
  32. package/dist/types/resources/intake.d.ts.map +1 -1
  33. package/dist/types/resources/integrations.d.ts +1 -0
  34. package/dist/types/resources/integrations.d.ts.map +1 -1
  35. package/dist/types/resources/metrics.d.ts.map +1 -1
  36. package/dist/types/resources/operators.d.ts +4 -8
  37. package/dist/types/resources/operators.d.ts.map +1 -1
  38. package/dist/types/resources/pipeline.d.ts +2 -4
  39. package/dist/types/resources/pipeline.d.ts.map +1 -1
  40. package/dist/types/resources/services.d.ts +6 -2
  41. package/dist/types/resources/services.d.ts.map +1 -1
  42. package/dist/types/resources/settings.d.ts.map +1 -1
  43. package/dist/types/resources/skills.d.ts +1 -2
  44. package/dist/types/resources/skills.d.ts.map +1 -1
  45. package/dist/types/resources/surfaces.d.ts +2 -4
  46. package/dist/types/resources/surfaces.d.ts.map +1 -1
  47. package/dist/types/resources/triggers.d.ts +2 -4
  48. package/dist/types/resources/triggers.d.ts.map +1 -1
  49. package/dist/types/resources/workspaces.d.ts +1 -2
  50. package/dist/types/resources/workspaces.d.ts.map +1 -1
  51. package/dist/types/resources/world.d.ts.map +1 -1
  52. package/package.json +1 -1
  53. package/dist/resources/use-cases.js +0 -58
  54. package/dist/resources/use-cases.js.map +0 -1
  55. package/dist/types/resources/use-cases.d.ts +0 -33
  56. package/dist/types/resources/use-cases.d.ts.map +0 -1
@@ -1,3 +1,6 @@
1
+ type JsonValue = boolean | number | string | JsonValue[] | {
2
+ [key: string]: JsonValue;
3
+ } | null;
1
4
  export interface paths {
2
5
  "/s/f/{surface_id}": {
3
6
  parameters: {
@@ -266,6 +269,56 @@ export interface paths {
266
269
  patch?: never;
267
270
  trace?: never;
268
271
  };
272
+ "/v1/audit-log/me": {
273
+ parameters: {
274
+ query?: never;
275
+ header?: never;
276
+ path?: never;
277
+ cookie?: never;
278
+ };
279
+ /**
280
+ * List My Audit Events
281
+ * @description List the authenticated caller's own audit events across every workspace.
282
+ *
283
+ * Any authenticated caller may read their OWN trail — deliberately no
284
+ * ``Audit.view`` gate. ``actor_entity_id`` is server-set to the caller's entity
285
+ * and is NEVER accepted from the client, so the ``workspace_id=None`` query can
286
+ * only ever return the caller's own events (safe cross-workspace).
287
+ */
288
+ get: operations["list-my-audit-events"];
289
+ put?: never;
290
+ post?: never;
291
+ delete?: never;
292
+ options?: never;
293
+ head?: never;
294
+ patch?: never;
295
+ trace?: never;
296
+ };
297
+ "/v1/audit-log/platform": {
298
+ parameters: {
299
+ query?: never;
300
+ header?: never;
301
+ path?: never;
302
+ cookie?: never;
303
+ };
304
+ /**
305
+ * List Platform Audit Events
306
+ * @description Cross-workspace + null-workspace audit read — platform administrators only.
307
+ *
308
+ * The surface for cross-workspace and null-workspace events (login /
309
+ * token-theft events carry no workspace). Gated strictly on the global
310
+ * ``platform:admin`` scope carried by an identity JWT; every other caller —
311
+ * including a workspace owner/admin — is rejected with 403.
312
+ */
313
+ get: operations["list-audit-events-platform"];
314
+ put?: never;
315
+ post?: never;
316
+ delete?: never;
317
+ options?: never;
318
+ head?: never;
319
+ patch?: never;
320
+ trace?: never;
321
+ };
269
322
  "/v1/auth/me": {
270
323
  parameters: {
271
324
  query?: never;
@@ -1442,10 +1495,12 @@ export interface paths {
1442
1495
  put?: never;
1443
1496
  /**
1444
1497
  * Create Audit Export
1445
- * @description Export audit events to the UC Volume as NDJSON.
1498
+ * @description Submit an async audit-events export.
1446
1499
  *
1447
- * Returns a platform-api proxy download path (UC Volumes have no presigned
1448
- * URLs ``download_audit_export`` streams the bytes).
1500
+ * Runs the filtered query on the SQL warehouse with results staged to
1501
+ * presigned CSV EXTERNAL_LINKS, and returns a Databricks ``statement_id``.
1502
+ * Poll ``GET /export/{statement_id}`` for the download links. Nothing is
1503
+ * materialized in platform-api, so the export scales to large date windows.
1449
1504
  *
1450
1505
  * Permissions: admin, owner
1451
1506
  */
@@ -1456,29 +1511,7 @@ export interface paths {
1456
1511
  patch?: never;
1457
1512
  trace?: never;
1458
1513
  };
1459
- "/v1/{workspace_id}/audit/exports": {
1460
- parameters: {
1461
- query?: never;
1462
- header?: never;
1463
- path?: never;
1464
- cookie?: never;
1465
- };
1466
- /**
1467
- * List Audit Exports
1468
- * @description List past audit exports with platform-api proxy download paths.
1469
- *
1470
- * Permissions: admin, owner
1471
- */
1472
- get: operations["list-audit-exports"];
1473
- put?: never;
1474
- post?: never;
1475
- delete?: never;
1476
- options?: never;
1477
- head?: never;
1478
- patch?: never;
1479
- trace?: never;
1480
- };
1481
- "/v1/{workspace_id}/audit/exports/download/{filename}": {
1514
+ "/v1/{workspace_id}/audit/export/{statement_id}": {
1482
1515
  parameters: {
1483
1516
  query?: never;
1484
1517
  header?: never;
@@ -1486,18 +1519,18 @@ export interface paths {
1486
1519
  cookie?: never;
1487
1520
  };
1488
1521
  /**
1489
- * Download Audit Export
1490
- * @description Proxy-download an audit export artifact (NDJSON) from the UC Volume.
1522
+ * Get Audit Export
1523
+ * @description Poll a submitted audit export and return presigned CSV download links.
1491
1524
  *
1492
- * ``filename`` must be a bare export filename (``{export_id}.ndjson``);
1493
- * path separators and traversal sequences are rejected with 422. The volume
1494
- * key is reconstructed server-side as ``exports/{workspace_id}/{filename}``,
1495
- * so a caller can never reach outside its own workspace prefix. The bytes
1496
- * are streamed volume→client without buffering the artifact in memory.
1525
+ * ``status`` is ``pending`` until the statement finishes, then ``ready`` with
1526
+ * ``chunks`` carrying short-lived presigned URLs the client downloads
1527
+ * directly from object storage. The links expire quickly (~15 min) — re-poll
1528
+ * to refresh. The workspace scope was fixed into the statement at submit
1529
+ * time; ``statement_id`` is an unguessable, short-lived capability.
1497
1530
  *
1498
- * Permissions: admin, owner (``Audit.export`` — same gate as create/list).
1531
+ * Permissions: admin, owner (``Audit.export`` — same gate as create).
1499
1532
  */
1500
- get: operations["download-audit-export"];
1533
+ get: operations["get-audit-export"];
1501
1534
  put?: never;
1502
1535
  post?: never;
1503
1536
  delete?: never;
@@ -1982,7 +2015,7 @@ export interface paths {
1982
2015
  * Lists all API key credentials with role, status, and activity dates.
1983
2016
  * Download, review, and upload signed attestation for SOC2 compliance.
1984
2017
  *
1985
- * Permissions: admin, owner.
2018
+ * Permissions: admin, owner (``Audit.view``).
1986
2019
  */
1987
2020
  get: operations["get-access-review"];
1988
2021
  put?: never;
@@ -2006,7 +2039,7 @@ export interface paths {
2006
2039
  *
2007
2040
  * Aggregates compliance signals into a single dashboard view.
2008
2041
  *
2009
- * Permissions: admin, owner.
2042
+ * Permissions: admin, owner (``Audit.view``).
2010
2043
  */
2011
2044
  get: operations["get-compliance-dashboard"];
2012
2045
  put?: never;
@@ -2032,7 +2065,7 @@ export interface paths {
2032
2065
  * and API key summary for the specified period. Identity-specific
2033
2066
  * fields (MFA, SSO, lockout) return null pending integration.
2034
2067
  *
2035
- * Permissions: admin, owner.
2068
+ * Permissions: admin, owner (``Audit.view``).
2036
2069
  */
2037
2070
  get: operations["get-hipaa-report"];
2038
2071
  put?: never;
@@ -2274,6 +2307,23 @@ export interface paths {
2274
2307
  patch?: never;
2275
2308
  trace?: never;
2276
2309
  };
2310
+ "/v1/{workspace_id}/conversations/{conversation_id}/turns/{delivery_id}/ack": {
2311
+ parameters: {
2312
+ query?: never;
2313
+ header?: never;
2314
+ path?: never;
2315
+ cookie?: never;
2316
+ };
2317
+ get?: never;
2318
+ put?: never;
2319
+ /** Acknowledge a rendered background turn delivery */
2320
+ post: operations["acknowledge_turn_delivery_v1__workspace_id__conversations__conversation_id__turns__delivery_id__ack_post"];
2321
+ delete?: never;
2322
+ options?: never;
2323
+ head?: never;
2324
+ patch?: never;
2325
+ trace?: never;
2326
+ };
2277
2327
  "/v1/{workspace_id}/dashboards": {
2278
2328
  parameters: {
2279
2329
  query?: never;
@@ -2570,6 +2620,87 @@ export interface paths {
2570
2620
  patch?: never;
2571
2621
  trace?: never;
2572
2622
  };
2623
+ "/v1/{workspace_id}/external-auth-claim-mappings": {
2624
+ parameters: {
2625
+ query?: never;
2626
+ header?: never;
2627
+ path?: never;
2628
+ cookie?: never;
2629
+ };
2630
+ /** List Claim Mappings */
2631
+ get: operations["list-external-auth-claim-mappings"];
2632
+ put?: never;
2633
+ /** Create Claim Mapping */
2634
+ post: operations["create-external-auth-claim-mapping"];
2635
+ delete?: never;
2636
+ options?: never;
2637
+ head?: never;
2638
+ patch?: never;
2639
+ trace?: never;
2640
+ };
2641
+ "/v1/{workspace_id}/external-auth-claim-mappings/resolve-preview": {
2642
+ parameters: {
2643
+ query?: never;
2644
+ header?: never;
2645
+ path?: never;
2646
+ cookie?: never;
2647
+ };
2648
+ get?: never;
2649
+ put?: never;
2650
+ /**
2651
+ * Resolve Preview Claim Mappings
2652
+ * @description Dry-run the SAME resolver the per-turn path uses — read-only, never writes.
2653
+ *
2654
+ * Returns the mapped internal roles (id + name), the effective unioned active role
2655
+ * grants, and the count of unmapped input atoms. Requires ``Workspace.view``.
2656
+ */
2657
+ post: operations["resolve-preview-external-auth-claim-mappings"];
2658
+ delete?: never;
2659
+ options?: never;
2660
+ head?: never;
2661
+ patch?: never;
2662
+ trace?: never;
2663
+ };
2664
+ "/v1/{workspace_id}/external-auth-claim-mappings/{mapping_id}": {
2665
+ parameters: {
2666
+ query?: never;
2667
+ header?: never;
2668
+ path?: never;
2669
+ cookie?: never;
2670
+ };
2671
+ /** Get Claim Mapping */
2672
+ get: operations["get-external-auth-claim-mapping"];
2673
+ put?: never;
2674
+ post?: never;
2675
+ delete?: never;
2676
+ options?: never;
2677
+ head?: never;
2678
+ patch?: never;
2679
+ trace?: never;
2680
+ };
2681
+ "/v1/{workspace_id}/external-auth-claim-mappings/{mapping_id}/supersede": {
2682
+ parameters: {
2683
+ query?: never;
2684
+ header?: never;
2685
+ path?: never;
2686
+ cookie?: never;
2687
+ };
2688
+ get?: never;
2689
+ put?: never;
2690
+ /**
2691
+ * Supersede Claim Mapping
2692
+ * @description Supersede an active mapping (immutable history) — flip active → superseded.
2693
+ *
2694
+ * POST verb (not DELETE): the row persists and the superseded item is returned so
2695
+ * the caller sees the final state. 404 if there is no active row for the id.
2696
+ */
2697
+ post: operations["supersede-external-auth-claim-mapping"];
2698
+ delete?: never;
2699
+ options?: never;
2700
+ head?: never;
2701
+ patch?: never;
2702
+ trace?: never;
2703
+ };
2573
2704
  "/v1/{workspace_id}/external-identity-bindings": {
2574
2705
  parameters: {
2575
2706
  query?: never;
@@ -2841,6 +2972,26 @@ export interface paths {
2841
2972
  patch?: never;
2842
2973
  trace?: never;
2843
2974
  };
2975
+ "/v1/{workspace_id}/fhir/build-bundle": {
2976
+ parameters: {
2977
+ query?: never;
2978
+ header?: never;
2979
+ path?: never;
2980
+ cookie?: never;
2981
+ };
2982
+ get?: never;
2983
+ put?: never;
2984
+ /**
2985
+ * Build a FHIR Patient Bundle from user records
2986
+ * @description Expand a flat list of user records (external_id / email / name) into a FHIR collection Bundle, ready to POST to /fhir/import under its `bundle` field. Pure transformation — does NOT import; no entities or events are created. Every Patient gets an MR identifier (external_id when present, else a deterministic derived id — never the raw email) so a later import resolves a stable canonical_id and re-imports stay idempotent at the entity level; external_id also becomes the resource id when spec-valid.
2987
+ */
2988
+ post: operations["fhir-build-user-bundle"];
2989
+ delete?: never;
2990
+ options?: never;
2991
+ head?: never;
2992
+ patch?: never;
2993
+ trace?: never;
2994
+ };
2844
2995
  "/v1/{workspace_id}/fhir/import": {
2845
2996
  parameters: {
2846
2997
  query?: never;
@@ -5083,7 +5234,7 @@ export interface paths {
5083
5234
  *
5084
5235
  * **Pagination**: peek-ahead — ``has_more`` is true when more rows exist; use ``next_offset`` to fetch the next page.
5085
5236
  *
5086
- * **Auth**: admin or owner role required. Reads are audit-logged (``prompt_logs.queried``); responses can include PHI from prompt history.
5237
+ * **Auth**: `Audit:View` permission required. Reads are audit-logged (``prompt_logs.queried``); responses can include PHI from prompt history.
5087
5238
  */
5088
5239
  get: operations["list-prompt-logs"];
5089
5240
  put?: never;
@@ -6098,6 +6249,30 @@ export interface paths {
6098
6249
  patch?: never;
6099
6250
  trace?: never;
6100
6251
  };
6252
+ "/v1/{workspace_id}/settings/topic-modeling": {
6253
+ parameters: {
6254
+ query?: never;
6255
+ header?: never;
6256
+ path?: never;
6257
+ cookie?: never;
6258
+ };
6259
+ /**
6260
+ * Get conversation topic analytics exposure
6261
+ * @description Return the durable desired state for customer topic analytics.
6262
+ */
6263
+ get: operations["get-topic-modeling-settings"];
6264
+ /**
6265
+ * Enable or disable conversation topic analytics exposure
6266
+ * @description Set desired exposure and schedule idempotent Databricks reconciliation.
6267
+ */
6268
+ put: operations["update-topic-modeling-settings"];
6269
+ post?: never;
6270
+ delete?: never;
6271
+ options?: never;
6272
+ head?: never;
6273
+ patch?: never;
6274
+ trace?: never;
6275
+ };
6101
6276
  "/v1/{workspace_id}/settings/voice": {
6102
6277
  parameters: {
6103
6278
  query?: never;
@@ -7260,7 +7435,7 @@ export interface paths {
7260
7435
  put?: never;
7261
7436
  /**
7262
7437
  * Export gen_ai.* + voice.* traces as OTLP/JSON
7263
- * @description Export the workspace's durable trace spans over a time window as OpenTelemetry Protocol (OTLP/HTTP JSON) spans: ``gen_ai.*`` tool-call spans and the per-call voice-isolation ``voice.*`` infra spans (allocate / media-attach / reap). Read-only; admin/owner role required; dark behind ``OTEL_TRACE_EXPORT_ENABLED`` (404 when off). Paginated PULL API — extract ``.resourceSpans`` before forwarding to an OTLP collector. Attributes are an allowlist of tool-call + infra metadata; the raw tool-result ``error`` text is NOT exported (PHI-safe by construction).
7438
+ * @description Export the workspace's durable trace spans over a time window as OpenTelemetry Protocol (OTLP/HTTP JSON) spans: ``gen_ai.*`` tool-call spans and the per-call voice-isolation ``voice.*`` infra spans (allocate / media-attach / reap). Read-only; `Audit:View` permission required; dark behind ``OTEL_TRACE_EXPORT_ENABLED`` (404 when off). Paginated PULL API — extract ``.resourceSpans`` before forwarding to an OTLP collector. Attributes are an allowlist of tool-call + infra metadata; the raw tool-result ``error`` text is NOT exported (PHI-safe by construction).
7264
7439
  */
7265
7440
  post: operations["export_traces_v1__workspace_id__traces_export_post"];
7266
7441
  delete?: never;
@@ -7377,74 +7552,6 @@ export interface paths {
7377
7552
  patch?: never;
7378
7553
  trace?: never;
7379
7554
  };
7380
- "/v1/{workspace_id}/use-cases": {
7381
- parameters: {
7382
- query?: never;
7383
- header?: never;
7384
- path?: never;
7385
- cookie?: never;
7386
- };
7387
- /**
7388
- * List channel use cases
7389
- * @description List use cases with optional filters by entity_name, channel, setup_id. Requires Channel.view permission.
7390
- */
7391
- get: operations["list-use-cases"];
7392
- put?: never;
7393
- post?: never;
7394
- delete?: never;
7395
- options?: never;
7396
- head?: never;
7397
- patch?: never;
7398
- trace?: never;
7399
- };
7400
- "/v1/{workspace_id}/use-cases/ownership": {
7401
- parameters: {
7402
- query?: never;
7403
- header?: never;
7404
- path?: never;
7405
- cookie?: never;
7406
- };
7407
- /**
7408
- * List use cases this workspace owns
7409
- * @description Return the ids of the channel-manager use cases this workspace owns. Requires Channel.view permission.
7410
- */
7411
- get: operations["list-owned-use-cases"];
7412
- put?: never;
7413
- post?: never;
7414
- delete?: never;
7415
- options?: never;
7416
- head?: never;
7417
- patch?: never;
7418
- trace?: never;
7419
- };
7420
- "/v1/{workspace_id}/use-cases/{use_case_id}/ownership": {
7421
- parameters: {
7422
- query?: never;
7423
- header?: never;
7424
- path?: never;
7425
- cookie?: never;
7426
- };
7427
- /**
7428
- * Check whether this workspace owns a use case
7429
- * @description Return the ownership record if the current workspace owns the use case, or 404 if it does not (no existence leak). Requires Channel.view permission.
7430
- */
7431
- get: operations["get-use-case-ownership"];
7432
- /**
7433
- * Assign ownership of a use case to this workspace
7434
- * @description Claim ownership of a channel-manager use case for the current workspace. Idempotent — re-assigning an already-owned use case returns 200. 404 if the use case does not exist in channel-manager. 409 if the use case is already owned by another workspace. Requires Channel.ManageOwnership permission (admin tier).
7435
- */
7436
- put: operations["assign-use-case-ownership"];
7437
- post?: never;
7438
- /**
7439
- * Release this workspace's ownership of a use case
7440
- * @description Release the current workspace's ownership of a use case. Refuses (409) while any service still binds the use case — call DELETE `/use-cases/{id}/service-binding` first. 404 if this workspace does not own the use case. Requires Channel.ManageOwnership permission (admin tier).
7441
- */
7442
- delete: operations["release-use-case-ownership"];
7443
- options?: never;
7444
- head?: never;
7445
- patch?: never;
7446
- trace?: never;
7447
- };
7448
7555
  "/v1/{workspace_id}/use-cases/{use_case_id}/service-binding": {
7449
7556
  parameters: {
7450
7557
  query?: never;
@@ -7459,7 +7566,7 @@ export interface paths {
7459
7566
  get: operations["get-use-case-service-binding"];
7460
7567
  /**
7461
7568
  * Bind a use case to a platform service
7462
- * @description Bind this use case to a platform service in the current workspace. PUT semantics — rebinding to a different service replaces the prior binding. Inbound webhook events for the use case will resolve to this workspace; outbound dispatch from the service will route through this use case for its channel. 409 if a different use case already binds the same (service, channel) pair. 404 if the service or use case is missing or belongs to another workspace. Requires Channel.create permission.
7569
+ * @description Bind this use case to a platform service in the current workspace. PUT semantics — rebinding to a different service replaces the prior binding. Inbound webhook events for the use case will resolve to this workspace; outbound dispatch from the service will route through this use case for its channel. 409 if a different use case already binds the same (service, channel) pair. 404 if the service or use case is missing or the service belongs to another workspace. Requires Channel.create permission.
7463
7570
  */
7464
7571
  put: operations["bind-use-case-to-service"];
7465
7572
  post?: never;
@@ -8264,6 +8371,15 @@ export interface components {
8264
8371
  */
8265
8372
  wait_seconds?: number | null;
8266
8373
  };
8374
+ /** ActiveEscalationListResponse */
8375
+ ActiveEscalationListResponse: {
8376
+ /** Continuation Token */
8377
+ continuation_token?: unknown;
8378
+ /** Has More */
8379
+ has_more: boolean;
8380
+ /** Items */
8381
+ items: components["schemas"]["ActiveEscalationItem"][];
8382
+ };
8267
8383
  /** ActiveSession */
8268
8384
  ActiveSession: {
8269
8385
  /** Call Sid */
@@ -8531,6 +8647,15 @@ export interface components {
8531
8647
  */
8532
8648
  role?: string;
8533
8649
  };
8650
+ /** AgentListResponse */
8651
+ AgentListResponse: {
8652
+ /** Continuation Token */
8653
+ continuation_token?: unknown;
8654
+ /** Has More */
8655
+ has_more: boolean;
8656
+ /** Items */
8657
+ items: components["schemas"]["AgentResponse"][];
8658
+ };
8534
8659
  /** AgentResponse */
8535
8660
  AgentResponse: {
8536
8661
  /**
@@ -8691,6 +8816,15 @@ export interface components {
8691
8816
  version: number;
8692
8817
  voice_config?: components["schemas"]["VoiceConfig"] | null;
8693
8818
  };
8819
+ /** AgentVersionListResponse */
8820
+ AgentVersionListResponse: {
8821
+ /** Continuation Token */
8822
+ continuation_token?: unknown;
8823
+ /** Has More */
8824
+ has_more: boolean;
8825
+ /** Items */
8826
+ items: components["schemas"]["AgentVersionResponse"][];
8827
+ };
8694
8828
  /** AgentVersionResponse */
8695
8829
  AgentVersionResponse: {
8696
8830
  /**
@@ -8841,6 +8975,15 @@ export interface components {
8841
8975
  AnyValue: {
8842
8976
  [key: string]: unknown;
8843
8977
  };
8978
+ /** ApiKeyListResponse */
8979
+ ApiKeyListResponse: {
8980
+ /** Continuation Token */
8981
+ continuation_token?: unknown;
8982
+ /** Has More */
8983
+ has_more: boolean;
8984
+ /** Items */
8985
+ items: components["schemas"]["ApiKeyResponse"][];
8986
+ };
8844
8987
  /** ApiKeyResponse */
8845
8988
  ApiKeyResponse: {
8846
8989
  /**
@@ -8932,21 +9075,24 @@ export interface components {
8932
9075
  /** Total */
8933
9076
  total: number;
8934
9077
  };
8935
- /** AuditExportListItem */
8936
- AuditExportListItem: {
8937
- /** Download Url */
8938
- download_url?: string | null;
8939
- /** Key */
8940
- key: string;
8941
- /** Last Modified */
8942
- last_modified?: string | null;
8943
- /** Size */
8944
- size: number;
8945
- };
8946
- /** AuditExportListResponse */
8947
- AuditExportListResponse: {
8948
- /** Exports */
8949
- exports: components["schemas"]["AuditExportListItem"][];
9078
+ /** AuditExportChunk */
9079
+ AuditExportChunk: {
9080
+ /** Byte Count */
9081
+ byte_count: number;
9082
+ /** Chunk Index */
9083
+ chunk_index: number;
9084
+ /**
9085
+ * Expiration
9086
+ * @description ISO-8601 expiry of the presigned link.
9087
+ */
9088
+ expiration?: string | null;
9089
+ /**
9090
+ * External Link
9091
+ * @description Short-lived presigned URL — download directly, do not proxy.
9092
+ */
9093
+ external_link: string;
9094
+ /** Row Count */
9095
+ row_count: number;
8950
9096
  };
8951
9097
  /** AuditExportRequest */
8952
9098
  AuditExportRequest: {
@@ -8976,18 +9122,50 @@ export interface components {
8976
9122
  */
8977
9123
  service?: string | null;
8978
9124
  };
8979
- /** AuditExportResponse */
8980
- AuditExportResponse: {
8981
- /** Created At */
8982
- created_at: string;
8983
- /** Download Url */
8984
- download_url: string;
8985
- /** Export Id */
8986
- export_id: string;
8987
- /** Row Count */
8988
- row_count: number;
8989
- /** S3 Key */
8990
- s3_key: string;
9125
+ /** AuditExportResultResponse */
9126
+ AuditExportResultResponse: {
9127
+ /** Chunks */
9128
+ chunks?: components["schemas"]["AuditExportChunk"][];
9129
+ /**
9130
+ * Result Format
9131
+ * @description Result file format (CSV).
9132
+ */
9133
+ result_format?: string | null;
9134
+ /** Statement Id */
9135
+ statement_id: string;
9136
+ /**
9137
+ * Status
9138
+ * @enum {string}
9139
+ */
9140
+ status: "pending" | "ready";
9141
+ /**
9142
+ * Total Row Count
9143
+ * @default 0
9144
+ */
9145
+ total_row_count?: number;
9146
+ };
9147
+ /** AuditExportSubmitResponse */
9148
+ AuditExportSubmitResponse: {
9149
+ /**
9150
+ * Statement Id
9151
+ * @description Databricks statement handle — poll GET /export/{statement_id} for links.
9152
+ */
9153
+ statement_id: string;
9154
+ /**
9155
+ * Status
9156
+ * @description pending: still running. ready: links available immediately.
9157
+ * @enum {string}
9158
+ */
9159
+ status: "pending" | "ready";
9160
+ };
9161
+ /** AuditLogListResponse */
9162
+ AuditLogListResponse: {
9163
+ /** Continuation Token */
9164
+ continuation_token?: unknown;
9165
+ /** Has More */
9166
+ has_more: boolean;
9167
+ /** Items */
9168
+ items: components["schemas"]["src__routes__operators_models__AuditEventResponse"][];
8991
9169
  };
8992
9170
  /** AuditSummary */
8993
9171
  AuditSummary: {
@@ -9126,7 +9304,11 @@ export interface components {
9126
9304
  * timeout for large batches). Authenticated by the same short-lived
9127
9305
  * workspace-scoped token as the status write-back. ``document_processing`` is
9128
9306
  * dataset-wide (the contract); ``file_type`` is per-file (V265 multi-type).
9129
- * Filenames are deliberately absent — PHI stays on the Lakebase row.
9307
+ *
9308
+ * Source provenance mirrors the single-file path (resolve_source_identity, PHI
9309
+ * gate): source_file_id/source_url (opaque ids) always populate; source_folder_path
9310
+ * + filename (operator-named free text) populate ONLY for contains_phi=false
9311
+ * datasets — otherwise they stay None, so PHI never leaves the Lakebase row.
9130
9312
  */
9131
9313
  BatchProcessingManifest: {
9132
9314
  /** Document Processing */
@@ -10568,6 +10750,51 @@ export interface components {
10568
10750
  */
10569
10751
  message: string;
10570
10752
  };
10753
+ /** ClaimMappingItem */
10754
+ ClaimMappingItem: {
10755
+ /** Changed By */
10756
+ changed_by?: string | null;
10757
+ /** Claim Key */
10758
+ claim_key: string;
10759
+ /** Claim Namespace */
10760
+ claim_namespace: string;
10761
+ /**
10762
+ * Created At
10763
+ * Format: date-time
10764
+ */
10765
+ created_at: string;
10766
+ /**
10767
+ * External Role Id
10768
+ * Format: uuid
10769
+ */
10770
+ external_role_id: string;
10771
+ /** External Value */
10772
+ external_value: string;
10773
+ /**
10774
+ * Id
10775
+ * Format: uuid
10776
+ */
10777
+ id: string;
10778
+ /**
10779
+ * Status
10780
+ * @enum {string}
10781
+ */
10782
+ status: "active" | "superseded";
10783
+ };
10784
+ /**
10785
+ * ClientArtifact
10786
+ * @description A versioned JSON payload that a client can render as a product component.
10787
+ */
10788
+ ClientArtifact: {
10789
+ payload: components["schemas"]["ClientArtifactPayload"];
10790
+ /** Schema Version */
10791
+ schema_version: string;
10792
+ /** Type */
10793
+ type: string;
10794
+ };
10795
+ ClientArtifactPayload: {
10796
+ [key: string]: components["schemas"]["JsonValue"];
10797
+ } | components["schemas"]["JsonValue"][];
10571
10798
  /**
10572
10799
  * ClientConfigResponse
10573
10800
  * @description Client-safe configuration values.
@@ -10580,6 +10807,33 @@ export interface components {
10580
10807
  /** Google Maps Api Key */
10581
10808
  google_maps_api_key?: string | null;
10582
10809
  };
10810
+ /**
10811
+ * ClientOutputConfig
10812
+ * @description External-user-safe projection contract for a direct integration endpoint.
10813
+ *
10814
+ * The endpoint's existing ``response_template`` performs the projection. With no
10815
+ * template, the parsed upstream JSON body is emitted unchanged.
10816
+ */
10817
+ ClientOutputConfig: {
10818
+ /**
10819
+ * External User Enabled
10820
+ * @default false
10821
+ */
10822
+ external_user_enabled?: boolean;
10823
+ /** Json Schema */
10824
+ json_schema: {
10825
+ [key: string]: unknown;
10826
+ };
10827
+ /**
10828
+ * Max Bytes
10829
+ * @default 262144
10830
+ */
10831
+ max_bytes?: number;
10832
+ /** Schema Version */
10833
+ schema_version: string;
10834
+ /** Type */
10835
+ type: string;
10836
+ };
10583
10837
  /**
10584
10838
  * ClinicOpenHoursParams
10585
10839
  * @description Workspace clinic open-hours by weekday.
@@ -11111,6 +11365,15 @@ export interface components {
11111
11365
  /** Url */
11112
11366
  url?: string | null;
11113
11367
  };
11368
+ /** ContextGraphListResponse */
11369
+ ContextGraphListResponse: {
11370
+ /** Continuation Token */
11371
+ continuation_token?: unknown;
11372
+ /** Has More */
11373
+ has_more: boolean;
11374
+ /** Items */
11375
+ items: components["schemas"]["ContextGraphResponse"][];
11376
+ };
11114
11377
  /** ContextGraphResponse */
11115
11378
  ContextGraphResponse: {
11116
11379
  /**
@@ -11199,6 +11462,15 @@ export interface components {
11199
11462
  /** Version */
11200
11463
  version: number;
11201
11464
  };
11465
+ /** ContextGraphVersionListResponse */
11466
+ ContextGraphVersionListResponse: {
11467
+ /** Continuation Token */
11468
+ continuation_token?: unknown;
11469
+ /** Has More */
11470
+ has_more: boolean;
11471
+ /** Items */
11472
+ items: components["schemas"]["ContextGraphVersionResponse"][];
11473
+ };
11202
11474
  /** ContextGraphVersionResponse */
11203
11475
  ContextGraphVersionResponse: {
11204
11476
  /**
@@ -11552,6 +11824,12 @@ export interface components {
11552
11824
  };
11553
11825
  /** ConversationTurn */
11554
11826
  ConversationTurn: {
11827
+ /**
11828
+ * Artifacts
11829
+ * @description Validated client-safe outputs produced during this agent turn.
11830
+ * @default []
11831
+ */
11832
+ artifacts?: components["schemas"]["ClientArtifact"][];
11555
11833
  /**
11556
11834
  * Available Actions
11557
11835
  * @description Action choices available in the turn's resolved context-graph state. Empty when actions cannot be resolved or the resolved state is not an action state.
@@ -12625,6 +12903,15 @@ export interface components {
12625
12903
  */
12626
12904
  state?: string;
12627
12905
  };
12906
+ /** CustomerInvoiceListResponse */
12907
+ CustomerInvoiceListResponse: {
12908
+ /** Continuation Token */
12909
+ continuation_token?: unknown;
12910
+ /** Has More */
12911
+ has_more: boolean;
12912
+ /** Items */
12913
+ items: components["schemas"]["InvoiceItem"][];
12914
+ };
12628
12915
  /** CustomerItem */
12629
12916
  CustomerItem: {
12630
12917
  /** @description Billing address */
@@ -12676,6 +12963,24 @@ export interface components {
12676
12963
  */
12677
12964
  updated_at: string | null;
12678
12965
  };
12966
+ /** CustomerListResponse */
12967
+ CustomerListResponse: {
12968
+ /** Continuation Token */
12969
+ continuation_token?: unknown;
12970
+ /** Has More */
12971
+ has_more: boolean;
12972
+ /** Items */
12973
+ items: components["schemas"]["CustomerItem"][];
12974
+ };
12975
+ /** CustomerUsageListResponse */
12976
+ CustomerUsageListResponse: {
12977
+ /** Continuation Token */
12978
+ continuation_token?: unknown;
12979
+ /** Has More */
12980
+ has_more: boolean;
12981
+ /** Items */
12982
+ items: components["schemas"]["MeterValueItem"][];
12983
+ };
12679
12984
  /**
12680
12985
  * DailyCallStat
12681
12986
  * @description Per-day call volume and duration.
@@ -12792,6 +13097,15 @@ export interface components {
12792
13097
  /** Results */
12793
13098
  results: components["schemas"]["PanelResultResponse"][];
12794
13099
  };
13100
+ /** DashboardListResponse */
13101
+ DashboardListResponse: {
13102
+ /** Continuation Token */
13103
+ continuation_token?: unknown;
13104
+ /** Has More */
13105
+ has_more: boolean;
13106
+ /** Items */
13107
+ items: components["schemas"]["DashboardDefinitionResponse"][];
13108
+ };
12795
13109
  /** DashboardResponse */
12796
13110
  DashboardResponse: {
12797
13111
  /** Active Escalations */
@@ -13020,6 +13334,15 @@ export interface components {
13020
13334
  [key: string]: unknown;
13021
13335
  }[];
13022
13336
  };
13337
+ /** DataSourceListResponse */
13338
+ DataSourceListResponse: {
13339
+ /** Continuation Token */
13340
+ continuation_token?: unknown;
13341
+ /** Has More */
13342
+ has_more: boolean;
13343
+ /** Items */
13344
+ items: components["schemas"]["DataSourceResponse"][];
13345
+ };
13023
13346
  /** DataSourceResponse */
13024
13347
  DataSourceResponse: {
13025
13348
  /** Connection Config */
@@ -13494,6 +13817,11 @@ export interface components {
13494
13817
  * which can be renamed/moved). One folder maps to exactly one dataset.
13495
13818
  */
13496
13819
  DriveFolderMapping: {
13820
+ /**
13821
+ * Contains Phi
13822
+ * @default true
13823
+ */
13824
+ contains_phi?: boolean;
13497
13825
  /** Dataset */
13498
13826
  dataset: string;
13499
13827
  /** Folder Id */
@@ -13545,6 +13873,13 @@ export interface components {
13545
13873
  */
13546
13874
  status: "evaluated" | "skipped_over_cap";
13547
13875
  };
13876
+ /** EffectiveGrant */
13877
+ EffectiveGrant: {
13878
+ access: components["schemas"]["_Access"];
13879
+ /** Resource Key */
13880
+ resource_key: string;
13881
+ resource_type: components["schemas"]["_ResourceType"];
13882
+ };
13548
13883
  /** EgressIpsResponse */
13549
13884
  EgressIpsResponse: {
13550
13885
  /** Egress Ips */
@@ -13816,6 +14151,8 @@ export interface components {
13816
14151
  * @enum {string}
13817
14152
  */
13818
14153
  body_format?: "json" | "form";
14154
+ /** @description Opt-in typed artifact contract for external-user conversation delivery. */
14155
+ client_output?: components["schemas"]["ClientOutputConfig"] | null;
13819
14156
  /**
13820
14157
  * Description
13821
14158
  * @description LLM-facing description.
@@ -14680,6 +15017,15 @@ export interface components {
14680
15017
  */
14681
15018
  requested?: number;
14682
15019
  };
15020
+ /** EscalationEventListResponse */
15021
+ EscalationEventListResponse: {
15022
+ /** Continuation Token */
15023
+ continuation_token?: unknown;
15024
+ /** Has More */
15025
+ has_more: boolean;
15026
+ /** Items */
15027
+ items: components["schemas"]["EscalationEventResponse"][];
15028
+ };
14683
15029
  /** EscalationEventResponse */
14684
15030
  EscalationEventResponse: {
14685
15031
  /**
@@ -15053,6 +15399,23 @@ export interface components {
15053
15399
  */
15054
15400
  recommend_candidates?: number;
15055
15401
  };
15402
+ /**
15403
+ * ExternalAuthClaim
15404
+ * @description One normalized customer assertion: the exact tuple ``(namespace, key, value)``.
15405
+ *
15406
+ * ``value`` is preserved byte-for-byte (bounded length only) — Amigo does not
15407
+ * lowercase, alias, or rewrite it. ``namespace`` and ``key`` are bounded canonical
15408
+ * identifiers. Arrays, objects, numbers, booleans, and null are rejected for every
15409
+ * field (v1 values are non-empty strings).
15410
+ */
15411
+ ExternalAuthClaim: {
15412
+ /** Key */
15413
+ key: string;
15414
+ /** Namespace */
15415
+ namespace: string;
15416
+ /** Value */
15417
+ value: string;
15418
+ };
15056
15419
  /** ExternalIdentityBindingItem */
15057
15420
  ExternalIdentityBindingItem: {
15058
15421
  /**
@@ -15146,6 +15509,15 @@ export interface components {
15146
15509
  client_secret: string;
15147
15510
  credential: components["schemas"]["ExternalIntegrationCredentialResponse"];
15148
15511
  };
15512
+ /** ExternalIntegrationListResponse */
15513
+ ExternalIntegrationListResponse: {
15514
+ /** Continuation Token */
15515
+ continuation_token?: unknown;
15516
+ /** Has More */
15517
+ has_more: boolean;
15518
+ /** Items */
15519
+ items: components["schemas"]["ExternalIntegrationResponse"][];
15520
+ };
15149
15521
  /** ExternalIntegrationRequest */
15150
15522
  ExternalIntegrationRequest: {
15151
15523
  /** Description */
@@ -15347,6 +15719,15 @@ export interface components {
15347
15719
  */
15348
15720
  workspace_id: string;
15349
15721
  };
15722
+ /** ExternalWriteProposalListResponse */
15723
+ ExternalWriteProposalListResponse: {
15724
+ /** Continuation Token */
15725
+ continuation_token?: unknown;
15726
+ /** Has More */
15727
+ has_more: boolean;
15728
+ /** Items */
15729
+ items: components["schemas"]["ExternalWriteProposal"][];
15730
+ };
15350
15731
  /**
15351
15732
  * FailureClass
15352
15733
  * @description Why a tool result is a failure — produced by the executor at RUN time.
@@ -15456,6 +15837,33 @@ export interface components {
15456
15837
  /** Status */
15457
15838
  status?: string | null;
15458
15839
  };
15840
+ /**
15841
+ * FhirBuildBundleRequest
15842
+ * @description Request body for ``POST /fhir/build-bundle``.
15843
+ *
15844
+ * Bundle building is a pure transformation, so this carries only the user
15845
+ * rows — provenance/dedup options (``source``, ``dedup``, …) belong to the
15846
+ * downstream ``POST /fhir/import`` call, not to bundle construction.
15847
+ */
15848
+ FhirBuildBundleRequest: {
15849
+ /** Users */
15850
+ users: components["schemas"]["FhirPatientUser"][];
15851
+ };
15852
+ /**
15853
+ * FhirBundleResponse
15854
+ * @description Response for ``POST /fhir/build-bundle`` — the built FHIR Bundle.
15855
+ *
15856
+ * ``bundle`` is the exact value ``POST /fhir/import`` expects nested under its
15857
+ * ``bundle`` field; ``patient_count`` echoes how many Patients were built.
15858
+ */
15859
+ FhirBundleResponse: {
15860
+ /** Bundle */
15861
+ bundle: {
15862
+ [key: string]: unknown;
15863
+ };
15864
+ /** Patient Count */
15865
+ patient_count: number;
15866
+ };
15459
15867
  /** FhirImportRequest */
15460
15868
  FhirImportRequest: {
15461
15869
  /** Bundle */
@@ -15662,6 +16070,38 @@ export interface components {
15662
16070
  /** Total */
15663
16071
  total: number;
15664
16072
  };
16073
+ /**
16074
+ * FhirPatientUser
16075
+ * @description One caller-friendly user row for ``POST /fhir/build-bundle``.
16076
+ *
16077
+ * A flat identity shape (email / name / external id) that the server expands
16078
+ * into a FHIR Patient resource, so integrators onboarding users don't have to
16079
+ * hand-author FHIR. ``external_id`` becomes the Patient MR identifier (and,
16080
+ * when spec-valid, the FHIR resource id) — the anchor a later import uses for
16081
+ * the entity's canonical id / source-system binding (e.g. the FAM user UUID).
16082
+ * Supply either ``name`` (full) or ``first_name`` / ``last_name``.
16083
+ */
16084
+ FhirPatientUser: {
16085
+ /**
16086
+ * Email
16087
+ * @description Validated email; becomes an email telecom on the Patient.
16088
+ */
16089
+ email?: string | null;
16090
+ /**
16091
+ * External Id
16092
+ * @description Stable source-system id (e.g. FAM user UUID). Becomes the Patient MR identifier and, when it satisfies the FHIR id grammar, the resource id. Capped at 64 to match the FHIR Resource.id length.
16093
+ */
16094
+ external_id?: string | null;
16095
+ /** First Name */
16096
+ first_name?: string | null;
16097
+ /** Last Name */
16098
+ last_name?: string | null;
16099
+ /**
16100
+ * Name
16101
+ * @description Full name; used when first_name/last_name are not supplied.
16102
+ */
16103
+ name?: string | null;
16104
+ };
15665
16105
  /** FhirPatientView */
15666
16106
  FhirPatientView: {
15667
16107
  /** Active Conditions */
@@ -15990,14 +16430,22 @@ export interface components {
15990
16430
  file_id: string;
15991
16431
  /** File Type */
15992
16432
  file_type: string;
16433
+ /** Filename */
16434
+ filename?: string | null;
15993
16435
  /** Ingested At */
15994
16436
  ingested_at: string;
15995
16437
  /** Sha256 */
15996
16438
  sha256: string;
15997
16439
  /** Size Bytes */
15998
16440
  size_bytes: number;
16441
+ /** Source File Id */
16442
+ source_file_id?: string | null;
16443
+ /** Source Folder Path */
16444
+ source_folder_path?: string | null;
15999
16445
  /** Source Path */
16000
16446
  source_path: string;
16447
+ /** Source Url */
16448
+ source_url?: string | null;
16001
16449
  /** Version */
16002
16450
  version: number;
16003
16451
  };
@@ -17371,6 +17819,7 @@ export interface components {
17371
17819
  */
17372
17820
  participant_call_sid: string;
17373
17821
  };
17822
+ JsonValue: JsonValue;
17374
17823
  /**
17375
17824
  * KetamineBlockOverlapParams
17376
17825
  * @description How many days after a ketamine session to block follow-up
@@ -17745,6 +18194,16 @@ export interface components {
17745
18194
  */
17746
18195
  workspace_id: string;
17747
18196
  };
18197
+ /** MappedRole */
18198
+ MappedRole: {
18199
+ /**
18200
+ * Id
18201
+ * Format: uuid
18202
+ */
18203
+ id: string;
18204
+ /** Name */
18205
+ name: string;
18206
+ };
17748
18207
  /**
17749
18208
  * MaterializationRow
17750
18209
  * @description Per-dataset status of the customer-data destination table
@@ -18817,6 +19276,15 @@ export interface components {
18817
19276
  */
18818
19277
  operator_id: string;
18819
19278
  };
19279
+ /** OperatorListResponse */
19280
+ OperatorListResponse: {
19281
+ /** Continuation Token */
19282
+ continuation_token?: unknown;
19283
+ /** Has More */
19284
+ has_more: boolean;
19285
+ /** Items */
19286
+ items: components["schemas"]["OperatorResponse"][];
19287
+ };
18820
19288
  /** OperatorModeChangedEvent */
18821
19289
  OperatorModeChangedEvent: {
18822
19290
  /** Call Sid */
@@ -19151,6 +19619,15 @@ export interface components {
19151
19619
  /** Synced At */
19152
19620
  synced_at?: string | null;
19153
19621
  };
19622
+ /** OutboundLogListResponse */
19623
+ OutboundLogListResponse: {
19624
+ /** Continuation Token */
19625
+ continuation_token?: unknown;
19626
+ /** Has More */
19627
+ has_more: boolean;
19628
+ /** Items */
19629
+ items: components["schemas"]["OutboundLogItem"][];
19630
+ };
19154
19631
  /** OutboundSinkSummary */
19155
19632
  OutboundSinkSummary: {
19156
19633
  /**
@@ -19272,79 +19749,6 @@ export interface components {
19272
19749
  /** Rules */
19273
19750
  rules: components["schemas"]["OutreachRule"][];
19274
19751
  };
19275
- /** OwnedUseCasesResponse */
19276
- OwnedUseCasesResponse: {
19277
- /** Items */
19278
- items: string[];
19279
- };
19280
- /** OwnershipResponse */
19281
- OwnershipResponse: {
19282
- /**
19283
- * Use Case Id
19284
- * Format: uuid
19285
- */
19286
- use_case_id: string;
19287
- /**
19288
- * Workspace Id
19289
- * Format: uuid
19290
- */
19291
- workspace_id: string;
19292
- };
19293
- /** PaginatedResponse[ActiveEscalationItem] */
19294
- PaginatedResponse_ActiveEscalationItem_: {
19295
- /** Continuation Token */
19296
- continuation_token?: number | null;
19297
- /** Has More */
19298
- has_more: boolean;
19299
- /** Items */
19300
- items: components["schemas"]["ActiveEscalationItem"][];
19301
- /** Total */
19302
- total?: number | null;
19303
- };
19304
- /** PaginatedResponse[AgentResponse] */
19305
- PaginatedResponse_AgentResponse_: {
19306
- /** Continuation Token */
19307
- continuation_token?: number | null;
19308
- /** Has More */
19309
- has_more: boolean;
19310
- /** Items */
19311
- items: components["schemas"]["AgentResponse"][];
19312
- /** Total */
19313
- total?: number | null;
19314
- };
19315
- /** PaginatedResponse[AgentVersionResponse] */
19316
- PaginatedResponse_AgentVersionResponse_: {
19317
- /** Continuation Token */
19318
- continuation_token?: number | null;
19319
- /** Has More */
19320
- has_more: boolean;
19321
- /** Items */
19322
- items: components["schemas"]["AgentVersionResponse"][];
19323
- /** Total */
19324
- total?: number | null;
19325
- };
19326
- /** PaginatedResponse[ApiKeyResponse] */
19327
- PaginatedResponse_ApiKeyResponse_: {
19328
- /** Continuation Token */
19329
- continuation_token?: number | null;
19330
- /** Has More */
19331
- has_more: boolean;
19332
- /** Items */
19333
- items: components["schemas"]["ApiKeyResponse"][];
19334
- /** Total */
19335
- total?: number | null;
19336
- };
19337
- /** PaginatedResponse[AuditEventResponse] */
19338
- PaginatedResponse_AuditEventResponse_: {
19339
- /** Continuation Token */
19340
- continuation_token?: number | null;
19341
- /** Has More */
19342
- has_more: boolean;
19343
- /** Items */
19344
- items: components["schemas"]["src__routes__operators_models__AuditEventResponse"][];
19345
- /** Total */
19346
- total?: number | null;
19347
- };
19348
19752
  /** PaginatedResponse[BatchRow] */
19349
19753
  PaginatedResponse_BatchRow_: {
19350
19754
  /** Continuation Token */
@@ -19356,61 +19760,6 @@ export interface components {
19356
19760
  /** Total */
19357
19761
  total?: number | null;
19358
19762
  };
19359
- /** PaginatedResponse[ContextGraphResponse] */
19360
- PaginatedResponse_ContextGraphResponse_: {
19361
- /** Continuation Token */
19362
- continuation_token?: number | null;
19363
- /** Has More */
19364
- has_more: boolean;
19365
- /** Items */
19366
- items: components["schemas"]["ContextGraphResponse"][];
19367
- /** Total */
19368
- total?: number | null;
19369
- };
19370
- /** PaginatedResponse[ContextGraphVersionResponse] */
19371
- PaginatedResponse_ContextGraphVersionResponse_: {
19372
- /** Continuation Token */
19373
- continuation_token?: number | null;
19374
- /** Has More */
19375
- has_more: boolean;
19376
- /** Items */
19377
- items: components["schemas"]["ContextGraphVersionResponse"][];
19378
- /** Total */
19379
- total?: number | null;
19380
- };
19381
- /** PaginatedResponse[CustomerItem] */
19382
- PaginatedResponse_CustomerItem_: {
19383
- /** Continuation Token */
19384
- continuation_token?: number | null;
19385
- /** Has More */
19386
- has_more: boolean;
19387
- /** Items */
19388
- items: components["schemas"]["CustomerItem"][];
19389
- /** Total */
19390
- total?: number | null;
19391
- };
19392
- /** PaginatedResponse[DashboardDefinitionResponse] */
19393
- PaginatedResponse_DashboardDefinitionResponse_: {
19394
- /** Continuation Token */
19395
- continuation_token?: number | null;
19396
- /** Has More */
19397
- has_more: boolean;
19398
- /** Items */
19399
- items: components["schemas"]["DashboardDefinitionResponse"][];
19400
- /** Total */
19401
- total?: number | null;
19402
- };
19403
- /** PaginatedResponse[DataSourceResponse] */
19404
- PaginatedResponse_DataSourceResponse_: {
19405
- /** Continuation Token */
19406
- continuation_token?: number | null;
19407
- /** Has More */
19408
- has_more: boolean;
19409
- /** Items */
19410
- items: components["schemas"]["DataSourceResponse"][];
19411
- /** Total */
19412
- total?: number | null;
19413
- };
19414
19763
  /** PaginatedResponse[DatasetRow] */
19415
19764
  PaginatedResponse_DatasetRow_: {
19416
19765
  /** Continuation Token */
@@ -19422,39 +19771,6 @@ export interface components {
19422
19771
  /** Total */
19423
19772
  total?: number | null;
19424
19773
  };
19425
- /** PaginatedResponse[EscalationEventResponse] */
19426
- PaginatedResponse_EscalationEventResponse_: {
19427
- /** Continuation Token */
19428
- continuation_token?: number | null;
19429
- /** Has More */
19430
- has_more: boolean;
19431
- /** Items */
19432
- items: components["schemas"]["EscalationEventResponse"][];
19433
- /** Total */
19434
- total?: number | null;
19435
- };
19436
- /** PaginatedResponse[ExternalIntegrationResponse] */
19437
- PaginatedResponse_ExternalIntegrationResponse_: {
19438
- /** Continuation Token */
19439
- continuation_token?: number | null;
19440
- /** Has More */
19441
- has_more: boolean;
19442
- /** Items */
19443
- items: components["schemas"]["ExternalIntegrationResponse"][];
19444
- /** Total */
19445
- total?: number | null;
19446
- };
19447
- /** PaginatedResponse[ExternalWriteProposal] */
19448
- PaginatedResponse_ExternalWriteProposal_: {
19449
- /** Continuation Token */
19450
- continuation_token?: number | null;
19451
- /** Has More */
19452
- has_more: boolean;
19453
- /** Items */
19454
- items: components["schemas"]["ExternalWriteProposal"][];
19455
- /** Total */
19456
- total?: number | null;
19457
- };
19458
19774
  /** PaginatedResponse[IntakeFileRow] */
19459
19775
  PaginatedResponse_IntakeFileRow_: {
19460
19776
  /** Continuation Token */
@@ -19477,17 +19793,6 @@ export interface components {
19477
19793
  /** Total */
19478
19794
  total?: number | null;
19479
19795
  };
19480
- /** PaginatedResponse[InvoiceItem] */
19481
- PaginatedResponse_InvoiceItem_: {
19482
- /** Continuation Token */
19483
- continuation_token?: number | null;
19484
- /** Has More */
19485
- has_more: boolean;
19486
- /** Items */
19487
- items: components["schemas"]["InvoiceItem"][];
19488
- /** Total */
19489
- total?: number | null;
19490
- };
19491
19796
  /** PaginatedResponse[MaterializationRow] */
19492
19797
  PaginatedResponse_MaterializationRow_: {
19493
19798
  /** Continuation Token */
@@ -19499,149 +19804,6 @@ export interface components {
19499
19804
  /** Total */
19500
19805
  total?: number | null;
19501
19806
  };
19502
- /** PaginatedResponse[MeterValueItem] */
19503
- PaginatedResponse_MeterValueItem_: {
19504
- /** Continuation Token */
19505
- continuation_token?: number | null;
19506
- /** Has More */
19507
- has_more: boolean;
19508
- /** Items */
19509
- items: components["schemas"]["MeterValueItem"][];
19510
- /** Total */
19511
- total?: number | null;
19512
- };
19513
- /** PaginatedResponse[OperatorResponse] */
19514
- PaginatedResponse_OperatorResponse_: {
19515
- /** Continuation Token */
19516
- continuation_token?: number | null;
19517
- /** Has More */
19518
- has_more: boolean;
19519
- /** Items */
19520
- items: components["schemas"]["OperatorResponse"][];
19521
- /** Total */
19522
- total?: number | null;
19523
- };
19524
- /** PaginatedResponse[OutboundLogItem] */
19525
- PaginatedResponse_OutboundLogItem_: {
19526
- /** Continuation Token */
19527
- continuation_token?: number | null;
19528
- /** Has More */
19529
- has_more: boolean;
19530
- /** Items */
19531
- items: components["schemas"]["OutboundLogItem"][];
19532
- /** Total */
19533
- total?: number | null;
19534
- };
19535
- /** PaginatedResponse[ProductionEvalDefinition] */
19536
- PaginatedResponse_ProductionEvalDefinition_: {
19537
- /** Continuation Token */
19538
- continuation_token?: number | null;
19539
- /** Has More */
19540
- has_more: boolean;
19541
- /** Items */
19542
- items: components["schemas"]["ProductionEvalDefinition"][];
19543
- /** Total */
19544
- total?: number | null;
19545
- };
19546
- /** PaginatedResponse[SchedulingRuleSetResponse] */
19547
- PaginatedResponse_SchedulingRuleSetResponse_: {
19548
- /** Continuation Token */
19549
- continuation_token?: number | null;
19550
- /** Has More */
19551
- has_more: boolean;
19552
- /** Items */
19553
- items: components["schemas"]["SchedulingRuleSetResponse"][];
19554
- /** Total */
19555
- total?: number | null;
19556
- };
19557
- /** PaginatedResponse[ServiceResponse] */
19558
- PaginatedResponse_ServiceResponse_: {
19559
- /** Continuation Token */
19560
- continuation_token?: number | null;
19561
- /** Has More */
19562
- has_more: boolean;
19563
- /** Items */
19564
- items: components["schemas"]["ServiceResponse"][];
19565
- /** Total */
19566
- total?: number | null;
19567
- };
19568
- /** PaginatedResponse[SimulationCaseResponse] */
19569
- PaginatedResponse_SimulationCaseResponse_: {
19570
- /** Continuation Token */
19571
- continuation_token?: number | null;
19572
- /** Has More */
19573
- has_more: boolean;
19574
- /** Items */
19575
- items: components["schemas"]["SimulationCaseResponse"][];
19576
- /** Total */
19577
- total?: number | null;
19578
- };
19579
- /** PaginatedResponse[SkillResponse] */
19580
- PaginatedResponse_SkillResponse_: {
19581
- /** Continuation Token */
19582
- continuation_token?: number | null;
19583
- /** Has More */
19584
- has_more: boolean;
19585
- /** Items */
19586
- items: components["schemas"]["SkillResponse"][];
19587
- /** Total */
19588
- total?: number | null;
19589
- };
19590
- /** PaginatedResponse[SourceEventItem] */
19591
- PaginatedResponse_SourceEventItem_: {
19592
- /** Continuation Token */
19593
- continuation_token?: number | null;
19594
- /** Has More */
19595
- has_more: boolean;
19596
- /** Items */
19597
- items: components["schemas"]["SourceEventItem"][];
19598
- /** Total */
19599
- total?: number | null;
19600
- };
19601
- /** PaginatedResponse[SurfaceResponse] */
19602
- PaginatedResponse_SurfaceResponse_: {
19603
- /** Continuation Token */
19604
- continuation_token?: number | null;
19605
- /** Has More */
19606
- has_more: boolean;
19607
- /** Items */
19608
- items: components["schemas"]["SurfaceResponse"][];
19609
- /** Total */
19610
- total?: number | null;
19611
- };
19612
- /** PaginatedResponse[TriggerResponse] */
19613
- PaginatedResponse_TriggerResponse_: {
19614
- /** Continuation Token */
19615
- continuation_token?: number | null;
19616
- /** Has More */
19617
- has_more: boolean;
19618
- /** Items */
19619
- items: components["schemas"]["TriggerResponse"][];
19620
- /** Total */
19621
- total?: number | null;
19622
- };
19623
- /** PaginatedResponse[TriggerRunResponse] */
19624
- PaginatedResponse_TriggerRunResponse_: {
19625
- /** Continuation Token */
19626
- continuation_token?: number | null;
19627
- /** Has More */
19628
- has_more: boolean;
19629
- /** Items */
19630
- items: components["schemas"]["TriggerRunResponse"][];
19631
- /** Total */
19632
- total?: number | null;
19633
- };
19634
- /** PaginatedResponse[WorkspaceResponse] */
19635
- PaginatedResponse_WorkspaceResponse_: {
19636
- /** Continuation Token */
19637
- continuation_token?: number | null;
19638
- /** Has More */
19639
- has_more: boolean;
19640
- /** Items */
19641
- items: components["schemas"]["WorkspaceResponse"][];
19642
- /** Total */
19643
- total?: number | null;
19644
- };
19645
19807
  /** PanelResultResponse */
19646
19808
  PanelResultResponse: {
19647
19809
  /**
@@ -20543,6 +20705,15 @@ export interface components {
20543
20705
  */
20544
20706
  workspace_id: string;
20545
20707
  };
20708
+ /** ProductionEvalDefinitionListResponse */
20709
+ ProductionEvalDefinitionListResponse: {
20710
+ /** Continuation Token */
20711
+ continuation_token?: unknown;
20712
+ /** Has More */
20713
+ has_more: boolean;
20714
+ /** Items */
20715
+ items: components["schemas"]["ProductionEvalDefinition"][];
20716
+ };
20546
20717
  /**
20547
20718
  * ProgressHint
20548
20719
  * @description How the agent narrates waiting on a tool.
@@ -20928,6 +21099,11 @@ export interface components {
20928
21099
  noise_reduction?: ("near_field" | "far_field" | "off") | null;
20929
21100
  /** Reasoning Effort */
20930
21101
  reasoning_effort?: ("low" | "medium" | "high") | null;
21102
+ /**
21103
+ * Required Tool On First Caller Turn
21104
+ * @description Force one named function on the first caller-generated response, excluding the inbound greeting, then restore automatic tool choice. Runtime accepts this only for source_override='test' sessions and tools that the executor verifies are read-only or side-effect-free.
21105
+ */
21106
+ required_tool_on_first_caller_turn?: string | null;
20931
21107
  /** Speed */
20932
21108
  speed?: number | null;
20933
21109
  transcription?: components["schemas"]["RealtimeTranscriptionConfig"] | null;
@@ -21187,7 +21363,7 @@ export interface components {
21187
21363
  *
21188
21364
  * The credential is not part of the wire contract — the server derives the
21189
21365
  * SA-key SSM path deterministically from the generated ``source_id`` (the
21190
- * ``/data-sources/`` convention) and the operator uploads the key there
21366
+ * ``/intake-sources/`` convention) and the operator uploads the key there
21191
21367
  * out-of-band. ``drive_id`` is optional (resolved at sync if omitted).
21192
21368
  */
21193
21369
  RegisterSourceRequest: {
@@ -21346,6 +21522,23 @@ export interface components {
21346
21522
  op: "rename_column";
21347
21523
  to: components["schemas"]["IdentifierString"];
21348
21524
  };
21525
+ /** ResolvePreviewRequest */
21526
+ ResolvePreviewRequest: {
21527
+ /**
21528
+ * Auth Claims
21529
+ * @default []
21530
+ */
21531
+ auth_claims?: components["schemas"]["ExternalAuthClaim"][];
21532
+ };
21533
+ /** ResolvePreviewResponse */
21534
+ ResolvePreviewResponse: {
21535
+ /** Grants */
21536
+ grants: components["schemas"]["EffectiveGrant"][];
21537
+ /** Roles */
21538
+ roles: components["schemas"]["MappedRole"][];
21539
+ /** Unmapped Claim Count */
21540
+ unmapped_claim_count: number;
21541
+ };
21349
21542
  /**
21350
21543
  * ResolveTemplateRequest
21351
21544
  * @description Resolve a form template for a specific entity.
@@ -21584,6 +21777,15 @@ export interface components {
21584
21777
  */
21585
21778
  total_items?: number;
21586
21779
  };
21780
+ /** ReviewQueueListResponse */
21781
+ ReviewQueueListResponse: {
21782
+ /** Continuation Token */
21783
+ continuation_token?: unknown;
21784
+ /** Has More */
21785
+ has_more: boolean;
21786
+ /** Items */
21787
+ items: components["schemas"]["SurfaceResponse"][];
21788
+ };
21587
21789
  /** ReviewSubmittedEvent */
21588
21790
  ReviewSubmittedEvent: {
21589
21791
  /**
@@ -21684,6 +21886,52 @@ export interface components {
21684
21886
  */
21685
21887
  status: "active" | "superseded";
21686
21888
  };
21889
+ /**
21890
+ * RoleGrantKeysBinding
21891
+ * @description Declares a SQL-tool parameter as *server-bound* to a turn's resolved authorization.
21892
+ *
21893
+ * Family-agnostic — consumed by BOTH platform functions (``fn_*``,
21894
+ * ``platform.function_parameters``) and workspace data queries (``wsq_*``,
21895
+ * ``platform.workspace_data_query_parameters``). A parameter carrying this binding
21896
+ * is NOT caller-supplied: at execution the platform discards any caller value,
21897
+ * projects the resource keys the turn's :class:`ExternalAuthorizationBlock` holds
21898
+ * for ``(resource_type, access)`` via :meth:`ExternalAuthorizationBlock.resource_keys`,
21899
+ * encodes them, and injects the result into the ``:name`` SQL bind — the model /
21900
+ * caller never sees or supplies it.
21901
+ *
21902
+ * This is a THIRD parameter state, distinct from required (``default is None``) and
21903
+ * defaulted (``default is not None``): the caller-required check must exempt it and
21904
+ * the executor must always inject. The literal sets are pinned to v1; widening one is
21905
+ * a paired migration + model change (the ``binding_*`` columns added to both param
21906
+ * tables in V328). ``extra="forbid"`` so an author can't smuggle an unrecognized field.
21907
+ *
21908
+ * Lives here, next to ``ExternalAuthorizationBlock.resource_keys`` (its runtime
21909
+ * counterpart), so the two SQL-tool families share one definition and can't drift.
21910
+ */
21911
+ RoleGrantKeysBinding: {
21912
+ /**
21913
+ * Access
21914
+ * @default read
21915
+ * @constant
21916
+ */
21917
+ access?: "read";
21918
+ /**
21919
+ * Encoding
21920
+ * @default csv
21921
+ * @constant
21922
+ */
21923
+ encoding?: "csv";
21924
+ /**
21925
+ * Resource Type
21926
+ * @constant
21927
+ */
21928
+ resource_type: "kb_scope";
21929
+ /**
21930
+ * Source
21931
+ * @constant
21932
+ */
21933
+ source: "role_grant_resource_keys";
21934
+ };
21687
21935
  /** RotateApiKeyRequest */
21688
21936
  RotateApiKeyRequest: {
21689
21937
  /** Duration Days */
@@ -22157,6 +22405,15 @@ export interface components {
22157
22405
  */
22158
22406
  role?: string;
22159
22407
  };
22408
+ /** SchedulingRuleSetListResponse */
22409
+ SchedulingRuleSetListResponse: {
22410
+ /** Continuation Token */
22411
+ continuation_token?: unknown;
22412
+ /** Has More */
22413
+ has_more: boolean;
22414
+ /** Items */
22415
+ items: components["schemas"]["SchedulingRuleSetResponse"][];
22416
+ };
22160
22417
  /**
22161
22418
  * SchedulingRuleSetResponse
22162
22419
  * @description Wire shape for a single rule set. ``params`` stays as ``dict``
@@ -22378,6 +22635,15 @@ export interface components {
22378
22635
  */
22379
22636
  warm_transfer?: boolean;
22380
22637
  };
22638
+ /** ServiceListResponse */
22639
+ ServiceListResponse: {
22640
+ /** Continuation Token */
22641
+ continuation_token?: unknown;
22642
+ /** Has More */
22643
+ has_more: boolean;
22644
+ /** Items */
22645
+ items: components["schemas"]["ServiceResponse"][];
22646
+ };
22381
22647
  /** ServiceResponse */
22382
22648
  ServiceResponse: {
22383
22649
  /**
@@ -23248,6 +23514,15 @@ export interface components {
23248
23514
  /** Patient Entity Id */
23249
23515
  patient_entity_id?: string | null;
23250
23516
  };
23517
+ /** SimulationCaseListResponse */
23518
+ SimulationCaseListResponse: {
23519
+ /** Continuation Token */
23520
+ continuation_token?: unknown;
23521
+ /** Has More */
23522
+ has_more: boolean;
23523
+ /** Items */
23524
+ items: components["schemas"]["SimulationCaseResponse"][];
23525
+ };
23251
23526
  /** SimulationCaseMetricEval */
23252
23527
  SimulationCaseMetricEval: {
23253
23528
  /** Expected */
@@ -23940,6 +24215,15 @@ export interface components {
23940
24215
  /** Version */
23941
24216
  version: number;
23942
24217
  };
24218
+ /** SkillListResponse */
24219
+ SkillListResponse: {
24220
+ /** Continuation Token */
24221
+ continuation_token?: unknown;
24222
+ /** Has More */
24223
+ has_more: boolean;
24224
+ /** Items */
24225
+ items: components["schemas"]["SkillResponse"][];
24226
+ };
23943
24227
  /** SkillReferencesResponse */
23944
24228
  SkillReferencesResponse: {
23945
24229
  /** Context Graph References */
@@ -24076,6 +24360,15 @@ export interface components {
24076
24360
  /** Source System */
24077
24361
  source_system?: string | null;
24078
24362
  };
24363
+ /** SourceEventListResponse */
24364
+ SourceEventListResponse: {
24365
+ /** Continuation Token */
24366
+ continuation_token?: unknown;
24367
+ /** Has More */
24368
+ has_more: boolean;
24369
+ /** Items */
24370
+ items: components["schemas"]["SourceEventItem"][];
24371
+ };
24079
24372
  /** SourceFailureItem */
24080
24373
  SourceFailureItem: {
24081
24374
  /**
@@ -24518,6 +24811,7 @@ export interface components {
24518
24811
  * the stored default.
24519
24812
  */
24520
24813
  StoredParameter: {
24814
+ authorization_binding?: components["schemas"]["RoleGrantKeysBinding"] | null;
24521
24815
  /** Default */
24522
24816
  default?: string | number | boolean | null;
24523
24817
  /** Description */
@@ -24824,6 +25118,15 @@ export interface components {
24824
25118
  */
24825
25119
  surface_id: string;
24826
25120
  };
25121
+ /** SurfaceListResponse */
25122
+ SurfaceListResponse: {
25123
+ /** Continuation Token */
25124
+ continuation_token?: unknown;
25125
+ /** Has More */
25126
+ has_more: boolean;
25127
+ /** Items */
25128
+ items: components["schemas"]["SurfaceResponse"][];
25129
+ };
24827
25130
  /** SurfaceOpenedEvent */
24828
25131
  SurfaceOpenedEvent: {
24829
25132
  /**
@@ -26132,6 +26435,28 @@ export interface components {
26132
26435
  */
26133
26436
  write_tool_names?: string[];
26134
26437
  };
26438
+ /** TopicModelingSettingsRequest */
26439
+ TopicModelingSettingsRequest: {
26440
+ /** Enabled */
26441
+ enabled: boolean;
26442
+ };
26443
+ /** TopicModelingSettingsResponse */
26444
+ TopicModelingSettingsResponse: {
26445
+ /** Enabled */
26446
+ enabled: boolean;
26447
+ };
26448
+ /** TopicModelingSettingsUpdateResponse */
26449
+ TopicModelingSettingsUpdateResponse: {
26450
+ /** Enabled */
26451
+ enabled: boolean;
26452
+ /**
26453
+ * Reconciliation Status
26454
+ * @constant
26455
+ */
26456
+ reconciliation_status: "pending";
26457
+ /** Run Id */
26458
+ run_id: number;
26459
+ };
26135
26460
  /**
26136
26461
  * TraceAnalysisListItem
26137
26462
  * @description Compact summary of a trace analysis row for list views.
@@ -26518,6 +26843,15 @@ export interface components {
26518
26843
  /** Trigger Name */
26519
26844
  trigger_name: string;
26520
26845
  };
26846
+ /** TriggerListResponse */
26847
+ TriggerListResponse: {
26848
+ /** Continuation Token */
26849
+ continuation_token?: unknown;
26850
+ /** Has More */
26851
+ has_more: boolean;
26852
+ /** Items */
26853
+ items: components["schemas"]["TriggerResponse"][];
26854
+ };
26521
26855
  /** TriggerResponse */
26522
26856
  TriggerResponse: {
26523
26857
  /**
@@ -26601,6 +26935,15 @@ export interface components {
26601
26935
  */
26602
26936
  workspace_id: string;
26603
26937
  };
26938
+ /** TriggerRunListResponse */
26939
+ TriggerRunListResponse: {
26940
+ /** Continuation Token */
26941
+ continuation_token?: unknown;
26942
+ /** Has More */
26943
+ has_more: boolean;
26944
+ /** Items */
26945
+ items: components["schemas"]["TriggerRunResponse"][];
26946
+ };
26604
26947
  /** TriggerRunResponse */
26605
26948
  TriggerRunResponse: {
26606
26949
  /**
@@ -26849,6 +27192,22 @@ export interface components {
26849
27192
  /** User Transcript */
26850
27193
  user_transcript?: string | null;
26851
27194
  };
27195
+ /** TurnArtifactEvent */
27196
+ TurnArtifactEvent: {
27197
+ /**
27198
+ * @description discriminator enum property added by openapi-typescript
27199
+ * @enum {string}
27200
+ */
27201
+ event: "artifact";
27202
+ /** Payload */
27203
+ payload: {
27204
+ [key: string]: unknown;
27205
+ } | unknown[];
27206
+ /** Schema Version */
27207
+ schema_version: string;
27208
+ /** Type */
27209
+ type: string;
27210
+ };
26852
27211
  /** TurnConversationSnapshot */
26853
27212
  TurnConversationSnapshot: {
26854
27213
  context_graph_state?: components["schemas"]["ContextGraphState-Output"] | null;
@@ -26870,6 +27229,40 @@ export interface components {
26870
27229
  /** Updated At */
26871
27230
  updated_at: string;
26872
27231
  };
27232
+ /** TurnDelivery */
27233
+ TurnDelivery: {
27234
+ /**
27235
+ * Delivery Id
27236
+ * Format: uuid
27237
+ * @description Stable identifier for this background delivery.
27238
+ */
27239
+ delivery_id: string;
27240
+ /**
27241
+ * Receipt
27242
+ * Format: uuid
27243
+ * @description Opaque receipt required to acknowledge this delivery.
27244
+ */
27245
+ receipt: string;
27246
+ /**
27247
+ * Request Id
27248
+ * Format: uuid
27249
+ * @description Stable poll request identifier bound to this claim.
27250
+ */
27251
+ request_id: string;
27252
+ };
27253
+ /** TurnDeliveryAckRequest */
27254
+ TurnDeliveryAckRequest: {
27255
+ /**
27256
+ * Receipt
27257
+ * Format: uuid
27258
+ */
27259
+ receipt: string;
27260
+ /**
27261
+ * Request Id
27262
+ * Format: uuid
27263
+ */
27264
+ request_id: string;
27265
+ };
26873
27266
  /** TurnDoneEvent */
26874
27267
  TurnDoneEvent: {
26875
27268
  /**
@@ -27047,6 +27440,11 @@ export interface components {
27047
27440
  };
27048
27441
  /** TurnResponse */
27049
27442
  TurnResponse: {
27443
+ /**
27444
+ * Artifacts
27445
+ * @default []
27446
+ */
27447
+ artifacts?: components["schemas"]["ClientArtifact"][];
27050
27448
  /**
27051
27449
  * Background Pending
27052
27450
  * @description Whether this turn's ``output`` is the final answer, or only an acknowledgement that
@@ -27056,19 +27454,27 @@ export interface components {
27056
27454
  *
27057
27455
  * ``true``: a tool crossed the server's blocking window and was handed to a background
27058
27456
  * task, so ``output`` is NOT the final answer — the definitive assistant answer is
27059
- * produced later, out-of-band. It is **durable on the conversation**: drain it by
27060
- * re-issuing ``POST …/turns`` with ``poll=true`` (a no-message drain-and-report), by
27061
- * sending the next user turn, or by reading the conversation back
27062
- * (``GET …/conversations/{id}``). This is the per-conversation delivery contract — see
27457
+ * produced later, out-of-band. Under delivery protocol v2, collect it by re-issuing
27458
+ * ``POST …/turns`` with ``poll=true`` (a no-message, receipt-backed claim), render or
27459
+ * durably persist the returned answer, then acknowledge its exact delivery receipt.
27460
+ * This is the per-conversation delivery contract — see
27063
27461
  * the web-integration paved path. (The workspace observer bus,
27064
27462
  * ``GET /v1/{workspace_id}/events/stream``, mirrors this activity as ``text.agent_message``
27065
27463
  * / ``text.tool_started`` / ``text.background_result`` for *dashboards* watching many
27066
27464
  * conversations, but is not the per-chat delivery path.) A client that treats a
27067
- * ``background_pending=true`` turn as complete without draining will miss the final answer.
27465
+ * ``background_pending=true`` turn as complete without polling and acknowledging will
27466
+ * miss the final answer.
27068
27467
  * @default false
27069
27468
  */
27070
27469
  background_pending?: boolean;
27071
27470
  conversation: components["schemas"]["TurnConversationSnapshot"];
27471
+ /** @description Receipt for a background result returned by ``poll=true``. Render the response successfully, then acknowledge this delivery. Null for ordinary turns and idle/pending polls. */
27472
+ delivery?: components["schemas"]["TurnDelivery"] | null;
27473
+ /**
27474
+ * Delivery Protocol Version
27475
+ * @description Version of the durable background-delivery protocol supported by the serving agent. Clients may retry polls only after observing version 2.
27476
+ */
27477
+ delivery_protocol_version?: 2 | null;
27072
27478
  input: components["schemas"]["ConversationTurn"];
27073
27479
  /** Output */
27074
27480
  output: components["schemas"]["ConversationTurn"][];
@@ -27079,11 +27485,11 @@ export interface components {
27079
27485
  tool_calls?: components["schemas"]["ConversationToolCallDetail"][];
27080
27486
  /**
27081
27487
  * Turn Id
27082
- * @description Identifier of the user exchange this turn created — or, for ``poll=true`` and greeting-kickoff turns (empty ``message``), the latest exchange the returned messages attach to. Deterministic: matches the ``turn_id`` on this conversation's history turns, so it can anchor durable per-turn artifacts (e.g. feedback) across page reloads. Null only when the conversation has no user exchange yet (a poll or kickoff before the first user message).
27488
+ * @description Identifier of the user exchange this turn created — or, for ``poll=true`` and greeting-kickoff turns (empty ``message``), the exchange the returned messages attach to. A background delivery keeps the originating exchange even when later user turns already exist. Deterministic: matches the ``turn_id`` on this conversation's history turns, so it can anchor durable per-turn artifacts (e.g. feedback) across page reloads. Null only when the conversation has no user exchange yet (a poll or kickoff before the first user message).
27083
27489
  */
27084
27490
  turn_id: string | null;
27085
27491
  };
27086
- TurnStreamEvent: components["schemas"]["TurnTokenEvent"] | components["schemas"]["TurnToolCallStartedEvent"] | components["schemas"]["TurnToolCallCompletedEvent"] | components["schemas"]["TurnThinkingEvent"] | components["schemas"]["TurnMessageEvent"] | components["schemas"]["TurnDoneEvent"] | components["schemas"]["TurnErrorEvent"];
27492
+ TurnStreamEvent: components["schemas"]["TurnTokenEvent"] | components["schemas"]["TurnArtifactEvent"] | components["schemas"]["TurnToolCallStartedEvent"] | components["schemas"]["TurnToolCallCompletedEvent"] | components["schemas"]["TurnThinkingEvent"] | components["schemas"]["TurnMessageEvent"] | components["schemas"]["TurnDoneEvent"] | components["schemas"]["TurnErrorEvent"];
27087
27493
  /** TurnThinkingEvent */
27088
27494
  TurnThinkingEvent: {
27089
27495
  /**
@@ -27678,48 +28084,6 @@ export interface components {
27678
28084
  */
27679
28085
  value: number;
27680
28086
  };
27681
- /** UseCaseListResponse */
27682
- UseCaseListResponse: {
27683
- /** Items */
27684
- items: components["schemas"]["UseCaseResponse"][];
27685
- };
27686
- /** UseCaseResponse */
27687
- UseCaseResponse: {
27688
- /** Accepts Cold Inbound */
27689
- accepts_cold_inbound?: boolean | null;
27690
- /** Channel */
27691
- channel: string;
27692
- /** Configuration Set Name */
27693
- configuration_set_name?: string | null;
27694
- /**
27695
- * Created At
27696
- * Format: date-time
27697
- */
27698
- created_at: string;
27699
- /** Description */
27700
- description: string | null;
27701
- /** Email Type */
27702
- email_type?: string | null;
27703
- /** Entity Name */
27704
- entity_name: string;
27705
- /** Id */
27706
- id: string;
27707
- /** Name */
27708
- name: string;
27709
- /** Sender Email Address */
27710
- sender_email_address?: string | null;
27711
- /** Setup Id */
27712
- setup_id: string;
27713
- /** Tier */
27714
- tier?: string | null;
27715
- /** Unsubscribable */
27716
- unsubscribable?: boolean | null;
27717
- /**
27718
- * Updated At
27719
- * Format: date-time
27720
- */
27721
- updated_at: string;
27722
- };
27723
28087
  /** UserTranscriptEvent */
27724
28088
  UserTranscriptEvent: {
27725
28089
  /**
@@ -28266,6 +28630,24 @@ export interface components {
28266
28630
  /** Role */
28267
28631
  role: string;
28268
28632
  };
28633
+ /** WorkspaceInvoiceListResponse */
28634
+ WorkspaceInvoiceListResponse: {
28635
+ /** Continuation Token */
28636
+ continuation_token?: unknown;
28637
+ /** Has More */
28638
+ has_more: boolean;
28639
+ /** Items */
28640
+ items: components["schemas"]["InvoiceItem"][];
28641
+ };
28642
+ /** WorkspaceListResponse */
28643
+ WorkspaceListResponse: {
28644
+ /** Continuation Token */
28645
+ continuation_token?: unknown;
28646
+ /** Has More */
28647
+ has_more: boolean;
28648
+ /** Items */
28649
+ items: components["schemas"]["WorkspaceResponse"][];
28650
+ };
28269
28651
  /** WorkspaceMemberAddedEvent */
28270
28652
  WorkspaceMemberAddedEvent: {
28271
28653
  /**
@@ -28454,6 +28836,8 @@ export interface components {
28454
28836
  };
28455
28837
  /** @enum {string} */
28456
28838
  _Access: "read" | "write";
28839
+ /** @enum {string} */
28840
+ _AgentSortField: "name" | "created_at" | "updated_at";
28457
28841
  _DatasetSlug: string;
28458
28842
  /** @enum {string} */
28459
28843
  _DatasetUpdateStatus: "checking_drive" | "preparing" | "publishing" | "completed" | "needs_review" | "failed";
@@ -28474,6 +28858,8 @@ export interface components {
28474
28858
  _FileType: string;
28475
28859
  /** @enum {string} */
28476
28860
  _ResourceType: "integration_endpoint" | "skill" | "kb_scope";
28861
+ /** @enum {string} */
28862
+ _SourceEventSortField: "ingested_at" | "event_type" | "confidence";
28477
28863
  _ToolMockKey: string;
28478
28864
  _ToolMockValue: string;
28479
28865
  _VolumePath: string;
@@ -28493,6 +28879,7 @@ export interface components {
28493
28879
  * empty strings.
28494
28880
  */
28495
28881
  platform_lib__platform_functions__models__Parameter: {
28882
+ authorization_binding?: components["schemas"]["RoleGrantKeysBinding"] | null;
28496
28883
  /** Default */
28497
28884
  default?: string | number | boolean | null;
28498
28885
  /** Description */
@@ -28529,6 +28916,8 @@ export interface components {
28529
28916
  /** Name */
28530
28917
  name: string;
28531
28918
  };
28919
+ /** @constant */
28920
+ src__routes__api_keys___SortField: "created_at";
28532
28921
  /** AuditEventResponse */
28533
28922
  src__routes__audit__AuditEventResponse: {
28534
28923
  /**
@@ -28602,13 +28991,41 @@ export interface components {
28602
28991
  user_agent?: string | null;
28603
28992
  /**
28604
28993
  * Workspace Id
28994
+ * @description Workspace that owns this event; null for pre-workspace events (e.g. login)
28995
+ */
28996
+ workspace_id?: string | null;
28997
+ };
28998
+ /** @enum {string} */
28999
+ src__routes__context_graphs__context_graph_crud___SortField: "name" | "created_at" | "updated_at";
29000
+ /** CreateRequest */
29001
+ src__routes__external_auth_claim_mappings__CreateRequest: {
29002
+ /** Claim Key */
29003
+ claim_key: string;
29004
+ /** Claim Namespace */
29005
+ claim_namespace: string;
29006
+ /**
29007
+ * External Role Id
28605
29008
  * Format: uuid
28606
- * @description Workspace that owns this audit event
28607
29009
  */
28608
- workspace_id: string;
29010
+ external_role_id: string;
29011
+ /** External Value */
29012
+ external_value: string;
28609
29013
  };
29014
+ /** ListResponse */
29015
+ src__routes__external_auth_claim_mappings__ListResponse: {
29016
+ /** Continuation Token */
29017
+ continuation_token?: unknown;
29018
+ /** Has More */
29019
+ has_more: boolean;
29020
+ /** Items */
29021
+ items: components["schemas"]["ClaimMappingItem"][];
29022
+ };
29023
+ /** @constant */
29024
+ src__routes__external_auth_claim_mappings___SortField: "created_at";
28610
29025
  /** @enum {string} */
28611
29026
  src__routes__external_identity_bindings___SortField: "created_at" | "external_subject_key";
29027
+ /** @enum {string} */
29028
+ src__routes__external_integrations___SortField: "created_at" | "name" | "updated_at";
28612
29029
  /** ListResponse */
28613
29030
  src__routes__external_role_assignments__ListResponse: {
28614
29031
  /** Continuation Token */
@@ -28640,6 +29057,8 @@ export interface components {
28640
29057
  };
28641
29058
  /** @constant */
28642
29059
  src__routes__external_roles___SortField: "created_at";
29060
+ /** @constant */
29061
+ src__routes__external_write_proposals___SortField: "created_at";
28643
29062
  /**
28644
29063
  * Request
28645
29064
  * @description Add a new endpoint to a REST integration (V186 flat shape).
@@ -28652,6 +29071,8 @@ export interface components {
28652
29071
  * @enum {string}
28653
29072
  */
28654
29073
  body_format?: "json" | "form";
29074
+ /** @description Optional external-user-safe output contract. Uses response_template as its projection. */
29075
+ client_output?: components["schemas"]["ClientOutputConfig"] | null;
28655
29076
  /**
28656
29077
  * Description
28657
29078
  * @description LLM-facing description shown in the tool definition.
@@ -28852,6 +29273,13 @@ export interface components {
28852
29273
  * @description Full breadcrumb returned by the test handler.
28853
29274
  */
28854
29275
  src__routes__integrations__test_endpoint__Response: {
29276
+ /** @description Client artifact preview after JSON Schema and size validation. */
29277
+ artifact?: components["schemas"]["ClientArtifact"] | null;
29278
+ /**
29279
+ * Artifact Error
29280
+ * @description Safe validation summary when client output is enabled but cannot be emitted.
29281
+ */
29282
+ artifact_error?: string | null;
28855
29283
  /**
28856
29284
  * Duration Ms
28857
29285
  * @description Request duration in milliseconds.
@@ -28900,6 +29328,11 @@ export interface components {
28900
29328
  * @enum {string}
28901
29329
  */
28902
29330
  body_format?: "json" | "form";
29331
+ /**
29332
+ * Client Output
29333
+ * @description Client output contract; pass `null` to disable external artifact delivery.
29334
+ */
29335
+ client_output?: components["schemas"]["ClientOutputConfig"] | null;
28903
29336
  /** Description */
28904
29337
  description?: string;
28905
29338
  /** Headers */
@@ -29047,6 +29480,8 @@ export interface components {
29047
29480
  */
29048
29481
  workspace_id: string;
29049
29482
  };
29483
+ /** @constant */
29484
+ src__routes__production_evals___SortField: "created_at";
29050
29485
  /** CreateRequest */
29051
29486
  src__routes__role_grants__CreateRequest: {
29052
29487
  access: components["schemas"]["_Access"];
@@ -29074,6 +29509,12 @@ export interface components {
29074
29509
  src__routes__role_grants___SortField: "created_at";
29075
29510
  /** @constant */
29076
29511
  src__routes__runs___SortField: "started_at";
29512
+ /** @enum {string} */
29513
+ src__routes__scheduling_rule_sets___SortField: "agent_kind" | "rule_kind";
29514
+ /** @enum {string} */
29515
+ src__routes__services___SortField: "name" | "created_at" | "updated_at";
29516
+ /** @enum {string} */
29517
+ src__routes__skills___SortField: "name" | "created_at" | "updated_at" | "slug";
29077
29518
  /**
29078
29519
  * Request
29079
29520
  * @description Create body — the authored shape of a new workspace data query.
@@ -29103,6 +29544,7 @@ export interface components {
29103
29544
  * @description Strict write-side validator for one declared parameter.
29104
29545
  */
29105
29546
  src__routes__workspace_data_queries__create_workspace_data_query__Request__Parameter: {
29547
+ authorization_binding?: components["schemas"]["RoleGrantKeysBinding"] | null;
29106
29548
  /** Default */
29107
29549
  default?: string | number | boolean | null;
29108
29550
  /** Description */
@@ -29204,6 +29646,7 @@ export interface components {
29204
29646
  * @description Strict write-side validator for one declared parameter.
29205
29647
  */
29206
29648
  src__routes__workspace_data_queries__update_workspace_data_query__Request__Parameter: {
29649
+ authorization_binding?: components["schemas"]["RoleGrantKeysBinding"] | null;
29207
29650
  /** Default */
29208
29651
  default?: string | number | boolean | null;
29209
29652
  /** Description */
@@ -30077,9 +30520,22 @@ export interface operations {
30077
30520
  };
30078
30521
  };
30079
30522
  };
30080
- "get-auth-info": {
30523
+ "list-my-audit-events": {
30081
30524
  parameters: {
30082
- query?: never;
30525
+ query?: {
30526
+ /** @description Filter by action type */
30527
+ action?: string | null;
30528
+ /** @description Filter by resource type */
30529
+ resource_type?: string | null;
30530
+ /** @description Start of date range */
30531
+ date_from?: string | null;
30532
+ /** @description End of date range */
30533
+ date_to?: string | null;
30534
+ /** @description Page size */
30535
+ limit?: number;
30536
+ /** @description Page offset */
30537
+ offset?: number;
30538
+ };
30083
30539
  header?: never;
30084
30540
  path?: never;
30085
30541
  cookie?: never;
@@ -30092,135 +30548,108 @@ export interface operations {
30092
30548
  [name: string]: unknown;
30093
30549
  };
30094
30550
  content: {
30095
- "application/json": components["schemas"]["AuthInfoResponse"];
30551
+ "application/json": components["schemas"]["AuditEventsListResponse"];
30096
30552
  };
30097
30553
  };
30098
- /** @description Missing or invalid API key. */
30099
- 401: {
30554
+ /** @description Credential has no associated actor entity */
30555
+ 403: {
30100
30556
  headers: {
30101
30557
  [name: string]: unknown;
30102
30558
  };
30103
30559
  content?: never;
30104
30560
  };
30105
- };
30106
- };
30107
- "list-billing-customers": {
30108
- parameters: {
30109
- query?: {
30110
- status?: ("active" | "archived") | null;
30111
- /** @description Search by name or slug */
30112
- search?: string | null;
30113
- limit?: number;
30114
- continuation_token?: number;
30115
- };
30116
- header?: never;
30117
- path?: never;
30118
- cookie?: never;
30119
- };
30120
- requestBody?: never;
30121
- responses: {
30122
- /** @description Successful Response */
30123
- 200: {
30561
+ /** @description Validation Error */
30562
+ 422: {
30124
30563
  headers: {
30125
30564
  [name: string]: unknown;
30126
30565
  };
30127
30566
  content: {
30128
- "application/json": components["schemas"]["PaginatedResponse_CustomerItem_"];
30567
+ "application/json": components["schemas"]["HTTPValidationError"];
30129
30568
  };
30130
30569
  };
30131
- /** @description Validation Error */
30132
- 422: {
30570
+ /** @description Rate limited */
30571
+ 429: {
30133
30572
  headers: {
30134
30573
  [name: string]: unknown;
30135
30574
  };
30136
- content: {
30137
- "application/json": components["schemas"]["HTTPValidationError"];
30138
- };
30575
+ content?: never;
30139
30576
  };
30140
30577
  };
30141
30578
  };
30142
- "create-billing-customer": {
30579
+ "list-audit-events-platform": {
30143
30580
  parameters: {
30144
- query?: never;
30581
+ query?: {
30582
+ /** @description Filter by workspace; omit for all workspaces */
30583
+ workspace_id?: string | null;
30584
+ /** @description Filter by service name */
30585
+ service?: string | null;
30586
+ /** @description Filter by action type */
30587
+ action?: string | null;
30588
+ /** @description Filter by actor entity */
30589
+ actor_entity_id?: string | null;
30590
+ /** @description Filter by resource type */
30591
+ resource_type?: string | null;
30592
+ /** @description Filter by specific resource */
30593
+ resource_id?: string | null;
30594
+ /** @description Only PHI access events */
30595
+ phi_only?: boolean;
30596
+ /** @description Start of date range */
30597
+ date_from?: string | null;
30598
+ /** @description End of date range */
30599
+ date_to?: string | null;
30600
+ /** @description Page size */
30601
+ limit?: number;
30602
+ /** @description Page offset */
30603
+ offset?: number;
30604
+ };
30145
30605
  header?: never;
30146
30606
  path?: never;
30147
30607
  cookie?: never;
30148
30608
  };
30149
- requestBody: {
30150
- content: {
30151
- "application/json": components["schemas"]["CreateCustomerRequest"];
30152
- };
30153
- };
30609
+ requestBody?: never;
30154
30610
  responses: {
30155
30611
  /** @description Successful Response */
30156
- 201: {
30612
+ 200: {
30157
30613
  headers: {
30158
30614
  [name: string]: unknown;
30159
30615
  };
30160
30616
  content: {
30161
- "application/json": {
30162
- [key: string]: unknown;
30163
- };
30617
+ "application/json": components["schemas"]["AuditEventsListResponse"];
30164
30618
  };
30165
30619
  };
30166
- /** @description Validation Error */
30167
- 422: {
30620
+ /** @description platform:admin scope required */
30621
+ 403: {
30168
30622
  headers: {
30169
30623
  [name: string]: unknown;
30170
30624
  };
30171
- content: {
30172
- "application/json": components["schemas"]["HTTPValidationError"];
30173
- };
30174
- };
30175
- };
30176
- };
30177
- "get-billing-customer": {
30178
- parameters: {
30179
- query?: never;
30180
- header?: never;
30181
- path: {
30182
- customer_id: string;
30625
+ content?: never;
30183
30626
  };
30184
- cookie?: never;
30185
- };
30186
- requestBody?: never;
30187
- responses: {
30188
- /** @description Successful Response */
30189
- 200: {
30627
+ /** @description Validation Error */
30628
+ 422: {
30190
30629
  headers: {
30191
30630
  [name: string]: unknown;
30192
30631
  };
30193
30632
  content: {
30194
- "application/json": {
30195
- [key: string]: unknown;
30196
- };
30633
+ "application/json": components["schemas"]["HTTPValidationError"];
30197
30634
  };
30198
30635
  };
30199
- /** @description Validation Error */
30200
- 422: {
30636
+ /** @description Rate limited */
30637
+ 429: {
30201
30638
  headers: {
30202
30639
  [name: string]: unknown;
30203
30640
  };
30204
- content: {
30205
- "application/json": components["schemas"]["HTTPValidationError"];
30206
- };
30641
+ content?: never;
30207
30642
  };
30208
30643
  };
30209
30644
  };
30210
- "update-billing-customer": {
30645
+ "get-auth-info": {
30211
30646
  parameters: {
30212
30647
  query?: never;
30213
30648
  header?: never;
30214
- path: {
30215
- customer_id: string;
30216
- };
30649
+ path?: never;
30217
30650
  cookie?: never;
30218
30651
  };
30219
- requestBody: {
30220
- content: {
30221
- "application/json": components["schemas"]["UpdateCustomerRequest"];
30222
- };
30223
- };
30652
+ requestBody?: never;
30224
30653
  responses: {
30225
30654
  /** @description Successful Response */
30226
30655
  200: {
@@ -30228,29 +30657,29 @@ export interface operations {
30228
30657
  [name: string]: unknown;
30229
30658
  };
30230
30659
  content: {
30231
- "application/json": {
30232
- [key: string]: unknown;
30233
- };
30660
+ "application/json": components["schemas"]["AuthInfoResponse"];
30234
30661
  };
30235
30662
  };
30236
- /** @description Validation Error */
30237
- 422: {
30663
+ /** @description Missing or invalid API key. */
30664
+ 401: {
30238
30665
  headers: {
30239
30666
  [name: string]: unknown;
30240
30667
  };
30241
- content: {
30242
- "application/json": components["schemas"]["HTTPValidationError"];
30243
- };
30668
+ content?: never;
30244
30669
  };
30245
30670
  };
30246
30671
  };
30247
- "get-billing-config": {
30672
+ "list-billing-customers": {
30248
30673
  parameters: {
30249
- query?: never;
30250
- header?: never;
30251
- path: {
30252
- customer_id: string;
30674
+ query?: {
30675
+ limit?: number;
30676
+ continuation_token?: unknown;
30677
+ status?: ("active" | "archived") | null;
30678
+ /** @description Search by name or slug */
30679
+ search?: string | null;
30253
30680
  };
30681
+ header?: never;
30682
+ path?: never;
30254
30683
  cookie?: never;
30255
30684
  };
30256
30685
  requestBody?: never;
@@ -30261,9 +30690,7 @@ export interface operations {
30261
30690
  [name: string]: unknown;
30262
30691
  };
30263
30692
  content: {
30264
- "application/json": {
30265
- [key: string]: unknown;
30266
- };
30693
+ "application/json": components["schemas"]["CustomerListResponse"];
30267
30694
  };
30268
30695
  };
30269
30696
  /** @description Validation Error */
@@ -30277,23 +30704,21 @@ export interface operations {
30277
30704
  };
30278
30705
  };
30279
30706
  };
30280
- "update-billing-config": {
30707
+ "create-billing-customer": {
30281
30708
  parameters: {
30282
30709
  query?: never;
30283
30710
  header?: never;
30284
- path: {
30285
- customer_id: string;
30286
- };
30711
+ path?: never;
30287
30712
  cookie?: never;
30288
30713
  };
30289
30714
  requestBody: {
30290
30715
  content: {
30291
- "application/json": components["schemas"]["UpdateConfigRequest"];
30716
+ "application/json": components["schemas"]["CreateCustomerRequest"];
30292
30717
  };
30293
30718
  };
30294
30719
  responses: {
30295
30720
  /** @description Successful Response */
30296
- 200: {
30721
+ 201: {
30297
30722
  headers: {
30298
30723
  [name: string]: unknown;
30299
30724
  };
@@ -30314,7 +30739,7 @@ export interface operations {
30314
30739
  };
30315
30740
  };
30316
30741
  };
30317
- "generate-billing-invoice": {
30742
+ "get-billing-customer": {
30318
30743
  parameters: {
30319
30744
  query?: never;
30320
30745
  header?: never;
@@ -30326,7 +30751,7 @@ export interface operations {
30326
30751
  requestBody?: never;
30327
30752
  responses: {
30328
30753
  /** @description Successful Response */
30329
- 201: {
30754
+ 200: {
30330
30755
  headers: {
30331
30756
  [name: string]: unknown;
30332
30757
  };
@@ -30347,24 +30772,20 @@ export interface operations {
30347
30772
  };
30348
30773
  };
30349
30774
  };
30350
- "list-customer-invoices": {
30775
+ "update-billing-customer": {
30351
30776
  parameters: {
30352
- query?: {
30353
- status?: ("draft" | "sent" | "paid" | "void") | null;
30354
- /** @description Filter invoices with period_start on or after */
30355
- date_from?: string | null;
30356
- /** @description Filter invoices with period_end on or before */
30357
- date_to?: string | null;
30358
- limit?: number;
30359
- continuation_token?: number;
30360
- };
30777
+ query?: never;
30361
30778
  header?: never;
30362
30779
  path: {
30363
30780
  customer_id: string;
30364
30781
  };
30365
30782
  cookie?: never;
30366
30783
  };
30367
- requestBody?: never;
30784
+ requestBody: {
30785
+ content: {
30786
+ "application/json": components["schemas"]["UpdateCustomerRequest"];
30787
+ };
30788
+ };
30368
30789
  responses: {
30369
30790
  /** @description Successful Response */
30370
30791
  200: {
@@ -30372,7 +30793,9 @@ export interface operations {
30372
30793
  [name: string]: unknown;
30373
30794
  };
30374
30795
  content: {
30375
- "application/json": components["schemas"]["PaginatedResponse_InvoiceItem_"];
30796
+ "application/json": {
30797
+ [key: string]: unknown;
30798
+ };
30376
30799
  };
30377
30800
  };
30378
30801
  /** @description Validation Error */
@@ -30386,13 +30809,155 @@ export interface operations {
30386
30809
  };
30387
30810
  };
30388
30811
  };
30389
- "mark-billing-invoice-paid": {
30812
+ "get-billing-config": {
30390
30813
  parameters: {
30391
30814
  query?: never;
30392
30815
  header?: never;
30393
30816
  path: {
30394
30817
  customer_id: string;
30395
- invoice_id: string;
30818
+ };
30819
+ cookie?: never;
30820
+ };
30821
+ requestBody?: never;
30822
+ responses: {
30823
+ /** @description Successful Response */
30824
+ 200: {
30825
+ headers: {
30826
+ [name: string]: unknown;
30827
+ };
30828
+ content: {
30829
+ "application/json": {
30830
+ [key: string]: unknown;
30831
+ };
30832
+ };
30833
+ };
30834
+ /** @description Validation Error */
30835
+ 422: {
30836
+ headers: {
30837
+ [name: string]: unknown;
30838
+ };
30839
+ content: {
30840
+ "application/json": components["schemas"]["HTTPValidationError"];
30841
+ };
30842
+ };
30843
+ };
30844
+ };
30845
+ "update-billing-config": {
30846
+ parameters: {
30847
+ query?: never;
30848
+ header?: never;
30849
+ path: {
30850
+ customer_id: string;
30851
+ };
30852
+ cookie?: never;
30853
+ };
30854
+ requestBody: {
30855
+ content: {
30856
+ "application/json": components["schemas"]["UpdateConfigRequest"];
30857
+ };
30858
+ };
30859
+ responses: {
30860
+ /** @description Successful Response */
30861
+ 200: {
30862
+ headers: {
30863
+ [name: string]: unknown;
30864
+ };
30865
+ content: {
30866
+ "application/json": {
30867
+ [key: string]: unknown;
30868
+ };
30869
+ };
30870
+ };
30871
+ /** @description Validation Error */
30872
+ 422: {
30873
+ headers: {
30874
+ [name: string]: unknown;
30875
+ };
30876
+ content: {
30877
+ "application/json": components["schemas"]["HTTPValidationError"];
30878
+ };
30879
+ };
30880
+ };
30881
+ };
30882
+ "generate-billing-invoice": {
30883
+ parameters: {
30884
+ query?: never;
30885
+ header?: never;
30886
+ path: {
30887
+ customer_id: string;
30888
+ };
30889
+ cookie?: never;
30890
+ };
30891
+ requestBody?: never;
30892
+ responses: {
30893
+ /** @description Successful Response */
30894
+ 201: {
30895
+ headers: {
30896
+ [name: string]: unknown;
30897
+ };
30898
+ content: {
30899
+ "application/json": {
30900
+ [key: string]: unknown;
30901
+ };
30902
+ };
30903
+ };
30904
+ /** @description Validation Error */
30905
+ 422: {
30906
+ headers: {
30907
+ [name: string]: unknown;
30908
+ };
30909
+ content: {
30910
+ "application/json": components["schemas"]["HTTPValidationError"];
30911
+ };
30912
+ };
30913
+ };
30914
+ };
30915
+ "list-customer-invoices": {
30916
+ parameters: {
30917
+ query?: {
30918
+ limit?: number;
30919
+ continuation_token?: unknown;
30920
+ status?: ("draft" | "sent" | "paid" | "void") | null;
30921
+ /** @description Filter invoices with period_start on or after */
30922
+ date_from?: string | null;
30923
+ /** @description Filter invoices with period_end on or before */
30924
+ date_to?: string | null;
30925
+ };
30926
+ header?: never;
30927
+ path: {
30928
+ customer_id: string;
30929
+ };
30930
+ cookie?: never;
30931
+ };
30932
+ requestBody?: never;
30933
+ responses: {
30934
+ /** @description Successful Response */
30935
+ 200: {
30936
+ headers: {
30937
+ [name: string]: unknown;
30938
+ };
30939
+ content: {
30940
+ "application/json": components["schemas"]["CustomerInvoiceListResponse"];
30941
+ };
30942
+ };
30943
+ /** @description Validation Error */
30944
+ 422: {
30945
+ headers: {
30946
+ [name: string]: unknown;
30947
+ };
30948
+ content: {
30949
+ "application/json": components["schemas"]["HTTPValidationError"];
30950
+ };
30951
+ };
30952
+ };
30953
+ };
30954
+ "mark-billing-invoice-paid": {
30955
+ parameters: {
30956
+ query?: never;
30957
+ header?: never;
30958
+ path: {
30959
+ customer_id: string;
30960
+ invoice_id: string;
30396
30961
  };
30397
30962
  cookie?: never;
30398
30963
  };
@@ -30491,14 +31056,14 @@ export interface operations {
30491
31056
  "get-customer-usage": {
30492
31057
  parameters: {
30493
31058
  query?: {
31059
+ limit?: number;
31060
+ continuation_token?: unknown;
30494
31061
  /** @description Filter meter values with period_start on or after */
30495
31062
  date_from?: string | null;
30496
31063
  /** @description Filter meter values with period_end on or before */
30497
31064
  date_to?: string | null;
30498
31065
  /** @description Filter by meter key */
30499
31066
  meter_key?: string | null;
30500
- limit?: number;
30501
- continuation_token?: number;
30502
31067
  };
30503
31068
  header?: never;
30504
31069
  path: {
@@ -30514,7 +31079,7 @@ export interface operations {
30514
31079
  [name: string]: unknown;
30515
31080
  };
30516
31081
  content: {
30517
- "application/json": components["schemas"]["PaginatedResponse_MeterValueItem_"];
31082
+ "application/json": components["schemas"]["CustomerUsageListResponse"];
30518
31083
  };
30519
31084
  };
30520
31085
  /** @description Validation Error */
@@ -30651,7 +31216,7 @@ export interface operations {
30651
31216
  parameters: {
30652
31217
  query?: {
30653
31218
  limit?: number;
30654
- continuation_token?: number;
31219
+ continuation_token?: unknown;
30655
31220
  };
30656
31221
  header?: never;
30657
31222
  path?: never;
@@ -30665,7 +31230,7 @@ export interface operations {
30665
31230
  [name: string]: unknown;
30666
31231
  };
30667
31232
  content: {
30668
- "application/json": components["schemas"]["PaginatedResponse_WorkspaceResponse_"];
31233
+ "application/json": components["schemas"]["WorkspaceListResponse"];
30669
31234
  };
30670
31235
  };
30671
31236
  /** @description Missing or invalid API key. */
@@ -31407,10 +31972,10 @@ export interface operations {
31407
31972
  "list-agents": {
31408
31973
  parameters: {
31409
31974
  query?: {
31410
- search?: components["schemas"]["SearchString"] | null;
31411
- sort_by?: string | null;
31975
+ sort_by?: string[];
31412
31976
  limit?: number;
31413
- continuation_token?: number;
31977
+ continuation_token?: unknown;
31978
+ search?: components["schemas"]["SearchString"] | null;
31414
31979
  };
31415
31980
  header?: never;
31416
31981
  path: {
@@ -31426,7 +31991,7 @@ export interface operations {
31426
31991
  [name: string]: unknown;
31427
31992
  };
31428
31993
  content: {
31429
- "application/json": components["schemas"]["PaginatedResponse_AgentResponse_"];
31994
+ "application/json": components["schemas"]["AgentListResponse"];
31430
31995
  };
31431
31996
  };
31432
31997
  /** @description Missing or invalid API key. */
@@ -31691,9 +32256,8 @@ export interface operations {
31691
32256
  "list-agent-versions": {
31692
32257
  parameters: {
31693
32258
  query?: {
31694
- sort_by?: string | null;
31695
32259
  limit?: number;
31696
- continuation_token?: number;
32260
+ continuation_token?: unknown;
31697
32261
  };
31698
32262
  header?: never;
31699
32263
  path: {
@@ -31710,7 +32274,7 @@ export interface operations {
31710
32274
  [name: string]: unknown;
31711
32275
  };
31712
32276
  content: {
31713
- "application/json": components["schemas"]["PaginatedResponse_AgentVersionResponse_"];
32277
+ "application/json": components["schemas"]["AgentVersionListResponse"];
31714
32278
  };
31715
32279
  };
31716
32280
  /** @description Missing or invalid API key. */
@@ -32624,9 +33188,10 @@ export interface operations {
32624
33188
  "list-api-keys": {
32625
33189
  parameters: {
32626
33190
  query?: {
32627
- mine_only?: boolean;
33191
+ sort_by?: string[];
32628
33192
  limit?: number;
32629
- continuation_token?: number;
33193
+ continuation_token?: unknown;
33194
+ mine_only?: boolean;
32630
33195
  };
32631
33196
  header?: never;
32632
33197
  path: {
@@ -32642,7 +33207,7 @@ export interface operations {
32642
33207
  [name: string]: unknown;
32643
33208
  };
32644
33209
  content: {
32645
- "application/json": components["schemas"]["PaginatedResponse_ApiKeyResponse_"];
33210
+ "application/json": components["schemas"]["ApiKeyListResponse"];
32646
33211
  };
32647
33212
  };
32648
33213
  /** @description Missing or invalid API key. */
@@ -32668,6 +33233,13 @@ export interface operations {
32668
33233
  "application/json": components["schemas"]["HTTPValidationError"];
32669
33234
  };
32670
33235
  };
33236
+ /** @description Canonical API key role configuration unavailable. */
33237
+ 503: {
33238
+ headers: {
33239
+ [name: string]: unknown;
33240
+ };
33241
+ content?: never;
33242
+ };
32671
33243
  };
32672
33244
  };
32673
33245
  "create-api-key": {
@@ -32715,6 +33287,13 @@ export interface operations {
32715
33287
  };
32716
33288
  content?: never;
32717
33289
  };
33290
+ /** @description Canonical API key role configuration unavailable. */
33291
+ 503: {
33292
+ headers: {
33293
+ [name: string]: unknown;
33294
+ };
33295
+ content?: never;
33296
+ };
32718
33297
  };
32719
33298
  };
32720
33299
  "get-api-key-permission-catalog": {
@@ -32996,7 +33575,7 @@ export interface operations {
32996
33575
  [name: string]: unknown;
32997
33576
  };
32998
33577
  content: {
32999
- "application/json": components["schemas"]["AuditExportResponse"];
33578
+ "application/json": components["schemas"]["AuditExportSubmitResponse"];
33000
33579
  };
33001
33580
  };
33002
33581
  /** @description Validation Error */
@@ -33017,77 +33596,28 @@ export interface operations {
33017
33596
  };
33018
33597
  };
33019
33598
  };
33020
- "list-audit-exports": {
33021
- parameters: {
33022
- query?: {
33023
- /** @description Max exports to return */
33024
- limit?: number;
33025
- };
33026
- header?: never;
33027
- path: {
33028
- workspace_id: string;
33029
- };
33030
- cookie?: never;
33031
- };
33032
- requestBody?: never;
33033
- responses: {
33034
- /** @description Successful Response */
33035
- 200: {
33036
- headers: {
33037
- [name: string]: unknown;
33038
- };
33039
- content: {
33040
- "application/json": components["schemas"]["AuditExportListResponse"];
33041
- };
33042
- };
33043
- /** @description Validation Error */
33044
- 422: {
33045
- headers: {
33046
- [name: string]: unknown;
33047
- };
33048
- content: {
33049
- "application/json": components["schemas"]["HTTPValidationError"];
33050
- };
33051
- };
33052
- /** @description Rate limited */
33053
- 429: {
33054
- headers: {
33055
- [name: string]: unknown;
33056
- };
33057
- content?: never;
33058
- };
33059
- };
33060
- };
33061
- "download-audit-export": {
33599
+ "get-audit-export": {
33062
33600
  parameters: {
33063
33601
  query?: never;
33064
33602
  header?: never;
33065
33603
  path: {
33066
33604
  workspace_id: string;
33067
- filename: string;
33605
+ statement_id: string;
33068
33606
  };
33069
33607
  cookie?: never;
33070
33608
  };
33071
33609
  requestBody?: never;
33072
33610
  responses: {
33073
- /** @description The export artifact, streamed as NDJSON. */
33611
+ /** @description Successful Response */
33074
33612
  200: {
33075
33613
  headers: {
33076
33614
  [name: string]: unknown;
33077
33615
  };
33078
33616
  content: {
33079
- "application/json": unknown;
33080
- "application/x-ndjson": unknown;
33617
+ "application/json": components["schemas"]["AuditExportResultResponse"];
33081
33618
  };
33082
33619
  };
33083
- /** @description Audit export not found */
33084
- 404: {
33085
- headers: {
33086
- [name: string]: unknown;
33087
- };
33088
- content?: never;
33089
- };
33090
- /** @description Invalid export filename */
33620
+ /** @description Invalid statement_id */
33091
33621
  422: {
33092
33622
  headers: {
33093
33623
  [name: string]: unknown;
@@ -33220,13 +33750,13 @@ export interface operations {
33220
33750
  "list-billing-invoices": {
33221
33751
  parameters: {
33222
33752
  query?: {
33753
+ limit?: number;
33754
+ continuation_token?: unknown;
33223
33755
  status?: ("draft" | "sent" | "paid" | "void") | null;
33224
33756
  /** @description Filter invoices with period_start on or after this date */
33225
33757
  date_from?: string | null;
33226
33758
  /** @description Filter invoices with period_end on or before this date */
33227
33759
  date_to?: string | null;
33228
- limit?: number;
33229
- continuation_token?: number;
33230
33760
  };
33231
33761
  header?: never;
33232
33762
  path: {
@@ -33242,7 +33772,7 @@ export interface operations {
33242
33772
  [name: string]: unknown;
33243
33773
  };
33244
33774
  content: {
33245
- "application/json": components["schemas"]["PaginatedResponse_InvoiceItem_"];
33775
+ "application/json": components["schemas"]["WorkspaceInvoiceListResponse"];
33246
33776
  };
33247
33777
  };
33248
33778
  /** @description Validation Error */
@@ -34093,10 +34623,10 @@ export interface operations {
34093
34623
  "list-context_graphs": {
34094
34624
  parameters: {
34095
34625
  query?: {
34096
- search?: components["schemas"]["SearchString"] | null;
34097
- sort_by?: string | null;
34626
+ sort_by?: string[];
34098
34627
  limit?: number;
34099
- continuation_token?: number;
34628
+ continuation_token?: unknown;
34629
+ search?: components["schemas"]["SearchString"] | null;
34100
34630
  };
34101
34631
  header?: never;
34102
34632
  path: {
@@ -34112,7 +34642,7 @@ export interface operations {
34112
34642
  [name: string]: unknown;
34113
34643
  };
34114
34644
  content: {
34115
- "application/json": components["schemas"]["PaginatedResponse_ContextGraphResponse_"];
34645
+ "application/json": components["schemas"]["ContextGraphListResponse"];
34116
34646
  };
34117
34647
  };
34118
34648
  /** @description Missing or invalid API key. */
@@ -34377,9 +34907,8 @@ export interface operations {
34377
34907
  "list-context_graph-versions": {
34378
34908
  parameters: {
34379
34909
  query?: {
34380
- sort_by?: string | null;
34381
34910
  limit?: number;
34382
- continuation_token?: number;
34911
+ continuation_token?: unknown;
34383
34912
  };
34384
34913
  header?: never;
34385
34914
  path: {
@@ -34396,7 +34925,7 @@ export interface operations {
34396
34925
  [name: string]: unknown;
34397
34926
  };
34398
34927
  content: {
34399
- "application/json": components["schemas"]["PaginatedResponse_ContextGraphVersionResponse_"];
34928
+ "application/json": components["schemas"]["ContextGraphVersionListResponse"];
34400
34929
  };
34401
34930
  };
34402
34931
  /** @description Missing or invalid API key. */
@@ -34743,10 +35272,13 @@ export interface operations {
34743
35272
  query?: {
34744
35273
  /** @description Include tool call details in response */
34745
35274
  include_tool_calls?: boolean;
34746
- /** @description Poll for background results without sending a user message. Drains any background tool calls that completed since the last turn and reports them; returns empty output when nothing is pending. Must NOT be combined with a request-body ``message`` (422) or SSE streaming (422). Poll no more than once every ~5s per conversation — each poll loads session state. */
35275
+ /** @description Poll for a background result without sending a user message. Protocol v2 claims at most one ready answer and returns an opaque delivery receipt; render or durably persist the answer, then acknowledge that receipt. Returns empty output when nothing is ready. Must NOT be combined with a request-body ``message`` (422) or SSE streaming (422). Poll no more than once every ~5s per conversation. */
34747
35276
  poll?: boolean;
34748
35277
  };
34749
- header?: never;
35278
+ header?: {
35279
+ /** @description Stable UUID for replaying the same logical send or poll after an ambiguous failure. Reuse the same value only for that operation. Omission is backward-compatible but cannot provide client-controlled response-loss replay. */
35280
+ "Idempotency-Key"?: string | null;
35281
+ };
34750
35282
  path: {
34751
35283
  workspace_id: string;
34752
35284
  conversation_id: string;
@@ -34786,7 +35318,10 @@ export interface operations {
34786
35318
  /** @description Include tool_call_started / tool_call_completed frames in the stream */
34787
35319
  include_tool_calls?: boolean;
34788
35320
  };
34789
- header?: never;
35321
+ header?: {
35322
+ /** @description Stable UUID for replaying the same logical streamed user-input turn. */
35323
+ "Idempotency-Key"?: string | null;
35324
+ };
34790
35325
  path: {
34791
35326
  workspace_id: string;
34792
35327
  conversation_id: string;
@@ -34839,12 +35374,47 @@ export interface operations {
34839
35374
  };
34840
35375
  };
34841
35376
  };
35377
+ acknowledge_turn_delivery_v1__workspace_id__conversations__conversation_id__turns__delivery_id__ack_post: {
35378
+ parameters: {
35379
+ query?: never;
35380
+ header?: never;
35381
+ path: {
35382
+ workspace_id: string;
35383
+ conversation_id: string;
35384
+ delivery_id: string;
35385
+ };
35386
+ cookie?: never;
35387
+ };
35388
+ requestBody: {
35389
+ content: {
35390
+ "application/json": components["schemas"]["TurnDeliveryAckRequest"];
35391
+ };
35392
+ };
35393
+ responses: {
35394
+ /** @description Successful Response */
35395
+ 204: {
35396
+ headers: {
35397
+ [name: string]: unknown;
35398
+ };
35399
+ content?: never;
35400
+ };
35401
+ /** @description Validation Error */
35402
+ 422: {
35403
+ headers: {
35404
+ [name: string]: unknown;
35405
+ };
35406
+ content: {
35407
+ "application/json": components["schemas"]["HTTPValidationError"];
35408
+ };
35409
+ };
35410
+ };
35411
+ };
34842
35412
  list_dashboards_v1__workspace_id__dashboards_get: {
34843
35413
  parameters: {
34844
35414
  query?: {
34845
- page_context?: ("home" | "patients" | "calls" | "data" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
34846
35415
  limit?: number;
34847
- continuation_token?: number;
35416
+ continuation_token?: unknown;
35417
+ page_context?: ("home" | "patients" | "calls" | "data" | "analytics" | "pipeline" | "operators" | "surfaces" | "compliance" | "custom") | null;
34848
35418
  };
34849
35419
  header?: never;
34850
35420
  path: {
@@ -34860,7 +35430,7 @@ export interface operations {
34860
35430
  [name: string]: unknown;
34861
35431
  };
34862
35432
  content: {
34863
- "application/json": components["schemas"]["PaginatedResponse_DashboardDefinitionResponse_"];
35433
+ "application/json": components["schemas"]["DashboardListResponse"];
34864
35434
  };
34865
35435
  };
34866
35436
  /** @description Validation Error */
@@ -35078,13 +35648,14 @@ export interface operations {
35078
35648
  "list-data-sources": {
35079
35649
  parameters: {
35080
35650
  query?: {
35651
+ limit?: number;
35652
+ continuation_token?: unknown;
35081
35653
  is_active?: boolean | null;
35082
35654
  /** @description Filter by source type (repeatable) */
35083
35655
  source_type?: string[] | null;
35084
35656
  /** @description Search by name, ID, type, or sync status */
35085
35657
  search?: string | null;
35086
- limit?: number;
35087
- continuation_token?: number;
35658
+ q?: string | null;
35088
35659
  };
35089
35660
  header?: never;
35090
35661
  path: {
@@ -35100,7 +35671,7 @@ export interface operations {
35100
35671
  [name: string]: unknown;
35101
35672
  };
35102
35673
  content: {
35103
- "application/json": components["schemas"]["PaginatedResponse_DataSourceResponse_"];
35674
+ "application/json": components["schemas"]["DataSourceListResponse"];
35104
35675
  };
35105
35676
  };
35106
35677
  /** @description Missing or invalid API key. */
@@ -35846,6 +36417,197 @@ export interface operations {
35846
36417
  };
35847
36418
  };
35848
36419
  };
36420
+ "list-external-auth-claim-mappings": {
36421
+ parameters: {
36422
+ query?: {
36423
+ sort_by?: string[];
36424
+ limit?: number;
36425
+ continuation_token?: unknown;
36426
+ status?: ("active" | "superseded") | null;
36427
+ };
36428
+ header?: never;
36429
+ path: {
36430
+ workspace_id: string;
36431
+ };
36432
+ cookie?: never;
36433
+ };
36434
+ requestBody?: never;
36435
+ responses: {
36436
+ /** @description Successful Response */
36437
+ 200: {
36438
+ headers: {
36439
+ [name: string]: unknown;
36440
+ };
36441
+ content: {
36442
+ "application/json": components["schemas"]["src__routes__external_auth_claim_mappings__ListResponse"];
36443
+ };
36444
+ };
36445
+ /** @description Validation Error */
36446
+ 422: {
36447
+ headers: {
36448
+ [name: string]: unknown;
36449
+ };
36450
+ content: {
36451
+ "application/json": components["schemas"]["HTTPValidationError"];
36452
+ };
36453
+ };
36454
+ };
36455
+ };
36456
+ "create-external-auth-claim-mapping": {
36457
+ parameters: {
36458
+ query?: never;
36459
+ header?: never;
36460
+ path: {
36461
+ workspace_id: string;
36462
+ };
36463
+ cookie?: never;
36464
+ };
36465
+ requestBody: {
36466
+ content: {
36467
+ "application/json": components["schemas"]["src__routes__external_auth_claim_mappings__CreateRequest"];
36468
+ };
36469
+ };
36470
+ responses: {
36471
+ /** @description Successful Response */
36472
+ 201: {
36473
+ headers: {
36474
+ [name: string]: unknown;
36475
+ };
36476
+ content: {
36477
+ "application/json": components["schemas"]["ClaimMappingItem"];
36478
+ };
36479
+ };
36480
+ /** @description An active mapping for this claim tuple already exists */
36481
+ 409: {
36482
+ headers: {
36483
+ [name: string]: unknown;
36484
+ };
36485
+ content?: never;
36486
+ };
36487
+ /** @description Validation Error */
36488
+ 422: {
36489
+ headers: {
36490
+ [name: string]: unknown;
36491
+ };
36492
+ content: {
36493
+ "application/json": components["schemas"]["HTTPValidationError"];
36494
+ };
36495
+ };
36496
+ };
36497
+ };
36498
+ "resolve-preview-external-auth-claim-mappings": {
36499
+ parameters: {
36500
+ query?: never;
36501
+ header?: never;
36502
+ path: {
36503
+ workspace_id: string;
36504
+ };
36505
+ cookie?: never;
36506
+ };
36507
+ requestBody: {
36508
+ content: {
36509
+ "application/json": components["schemas"]["ResolvePreviewRequest"];
36510
+ };
36511
+ };
36512
+ responses: {
36513
+ /** @description Successful Response */
36514
+ 200: {
36515
+ headers: {
36516
+ [name: string]: unknown;
36517
+ };
36518
+ content: {
36519
+ "application/json": components["schemas"]["ResolvePreviewResponse"];
36520
+ };
36521
+ };
36522
+ /** @description Validation Error */
36523
+ 422: {
36524
+ headers: {
36525
+ [name: string]: unknown;
36526
+ };
36527
+ content: {
36528
+ "application/json": components["schemas"]["HTTPValidationError"];
36529
+ };
36530
+ };
36531
+ };
36532
+ };
36533
+ "get-external-auth-claim-mapping": {
36534
+ parameters: {
36535
+ query?: never;
36536
+ header?: never;
36537
+ path: {
36538
+ workspace_id: string;
36539
+ mapping_id: string;
36540
+ };
36541
+ cookie?: never;
36542
+ };
36543
+ requestBody?: never;
36544
+ responses: {
36545
+ /** @description Successful Response */
36546
+ 200: {
36547
+ headers: {
36548
+ [name: string]: unknown;
36549
+ };
36550
+ content: {
36551
+ "application/json": components["schemas"]["ClaimMappingItem"];
36552
+ };
36553
+ };
36554
+ /** @description External auth claim mapping not found */
36555
+ 404: {
36556
+ headers: {
36557
+ [name: string]: unknown;
36558
+ };
36559
+ content?: never;
36560
+ };
36561
+ /** @description Validation Error */
36562
+ 422: {
36563
+ headers: {
36564
+ [name: string]: unknown;
36565
+ };
36566
+ content: {
36567
+ "application/json": components["schemas"]["HTTPValidationError"];
36568
+ };
36569
+ };
36570
+ };
36571
+ };
36572
+ "supersede-external-auth-claim-mapping": {
36573
+ parameters: {
36574
+ query?: never;
36575
+ header?: never;
36576
+ path: {
36577
+ workspace_id: string;
36578
+ mapping_id: string;
36579
+ };
36580
+ cookie?: never;
36581
+ };
36582
+ requestBody?: never;
36583
+ responses: {
36584
+ /** @description Successful Response */
36585
+ 200: {
36586
+ headers: {
36587
+ [name: string]: unknown;
36588
+ };
36589
+ content: {
36590
+ "application/json": components["schemas"]["ClaimMappingItem"];
36591
+ };
36592
+ };
36593
+ /** @description Active external auth claim mapping not found */
36594
+ 404: {
36595
+ headers: {
36596
+ [name: string]: unknown;
36597
+ };
36598
+ content?: never;
36599
+ };
36600
+ /** @description Validation Error */
36601
+ 422: {
36602
+ headers: {
36603
+ [name: string]: unknown;
36604
+ };
36605
+ content: {
36606
+ "application/json": components["schemas"]["HTTPValidationError"];
36607
+ };
36608
+ };
36609
+ };
36610
+ };
35849
36611
  "list-external-identity-bindings": {
35850
36612
  parameters: {
35851
36613
  query?: {
@@ -36009,10 +36771,10 @@ export interface operations {
36009
36771
  "list-external-integrations": {
36010
36772
  parameters: {
36011
36773
  query?: {
36012
- search?: components["schemas"]["SearchString"] | null;
36013
- sort_by?: string | null;
36774
+ sort_by?: string[];
36014
36775
  limit?: number;
36015
- continuation_token?: number;
36776
+ continuation_token?: unknown;
36777
+ search?: components["schemas"]["SearchString"] | null;
36016
36778
  };
36017
36779
  header?: never;
36018
36780
  path: {
@@ -36028,7 +36790,7 @@ export interface operations {
36028
36790
  [name: string]: unknown;
36029
36791
  };
36030
36792
  content: {
36031
- "application/json": components["schemas"]["PaginatedResponse_ExternalIntegrationResponse_"];
36793
+ "application/json": components["schemas"]["ExternalIntegrationListResponse"];
36032
36794
  };
36033
36795
  };
36034
36796
  /** @description Validation Error */
@@ -36609,9 +37371,10 @@ export interface operations {
36609
37371
  "list-external-write-proposals": {
36610
37372
  parameters: {
36611
37373
  query?: {
36612
- status?: ("proposed" | "approved" | "rejected" | "pushing" | "pushed" | "failed" | "superseded") | null;
37374
+ sort_by?: string[];
36613
37375
  limit?: number;
36614
- continuation_token?: number;
37376
+ continuation_token?: unknown;
37377
+ status?: ("proposed" | "approved" | "rejected" | "pushing" | "pushed" | "failed" | "superseded") | null;
36615
37378
  };
36616
37379
  header?: never;
36617
37380
  path: {
@@ -36627,7 +37390,7 @@ export interface operations {
36627
37390
  [name: string]: unknown;
36628
37391
  };
36629
37392
  content: {
36630
- "application/json": components["schemas"]["PaginatedResponse_ExternalWriteProposal_"];
37393
+ "application/json": components["schemas"]["ExternalWriteProposalListResponse"];
36631
37394
  };
36632
37395
  };
36633
37396
  /** @description Validation Error */
@@ -36741,6 +37504,39 @@ export interface operations {
36741
37504
  };
36742
37505
  };
36743
37506
  };
37507
+ "fhir-build-user-bundle": {
37508
+ parameters: {
37509
+ query?: never;
37510
+ header?: never;
37511
+ path: {
37512
+ workspace_id: string;
37513
+ };
37514
+ cookie?: never;
37515
+ };
37516
+ requestBody: {
37517
+ content: {
37518
+ "application/json": components["schemas"]["FhirBuildBundleRequest"];
37519
+ };
37520
+ };
37521
+ responses: {
37522
+ /** @description Successful Response */
37523
+ 200: {
37524
+ headers: {
37525
+ [name: string]: unknown;
37526
+ };
37527
+ content: {
37528
+ "application/json": components["schemas"]["FhirBundleResponse"];
37529
+ };
37530
+ };
37531
+ /** @description Invalid user list. */
37532
+ 422: {
37533
+ headers: {
37534
+ [name: string]: unknown;
37535
+ };
37536
+ content?: never;
37537
+ };
37538
+ };
37539
+ };
36744
37540
  "fhir-import": {
36745
37541
  parameters: {
36746
37542
  query?: never;
@@ -40366,7 +41162,7 @@ export interface operations {
40366
41162
  parameters: {
40367
41163
  query?: {
40368
41164
  limit?: number;
40369
- continuation_token?: number;
41165
+ continuation_token?: unknown;
40370
41166
  };
40371
41167
  header?: never;
40372
41168
  path: {
@@ -40382,7 +41178,7 @@ export interface operations {
40382
41178
  [name: string]: unknown;
40383
41179
  };
40384
41180
  content: {
40385
- "application/json": components["schemas"]["PaginatedResponse_OperatorResponse_"];
41181
+ "application/json": components["schemas"]["OperatorListResponse"];
40386
41182
  };
40387
41183
  };
40388
41184
  /** @description Validation Error */
@@ -40448,12 +41244,12 @@ export interface operations {
40448
41244
  "list-audit-log": {
40449
41245
  parameters: {
40450
41246
  query?: {
41247
+ limit?: number;
41248
+ continuation_token?: unknown;
40451
41249
  /** @description Filter by operator entity UUID. */
40452
41250
  operator_id?: string | null;
40453
41251
  /** @description Filter by exact operator audit event type. */
40454
41252
  action?: ("operator.registered" | "operator.status_changed" | "operator.profile_updated" | "operator.joined_call" | "operator.mode_changed" | "operator.mode_switched" | "operator.left_call" | "operator.access_token_generated" | "operator.guidance_sent" | "operator.wrap_up" | "operator.viewed_transcript") | null;
40455
- limit?: number;
40456
- continuation_token?: number;
40457
41253
  };
40458
41254
  header?: never;
40459
41255
  path: {
@@ -40469,7 +41265,7 @@ export interface operations {
40469
41265
  [name: string]: unknown;
40470
41266
  };
40471
41267
  content: {
40472
- "application/json": components["schemas"]["PaginatedResponse_AuditEventResponse_"];
41268
+ "application/json": components["schemas"]["AuditLogListResponse"];
40473
41269
  };
40474
41270
  };
40475
41271
  /** @description Validation Error */
@@ -40548,7 +41344,7 @@ export interface operations {
40548
41344
  parameters: {
40549
41345
  query?: {
40550
41346
  limit?: number;
40551
- continuation_token?: number;
41347
+ continuation_token?: unknown;
40552
41348
  };
40553
41349
  header?: never;
40554
41350
  path: {
@@ -40564,7 +41360,7 @@ export interface operations {
40564
41360
  [name: string]: unknown;
40565
41361
  };
40566
41362
  content: {
40567
- "application/json": components["schemas"]["PaginatedResponse_EscalationEventResponse_"];
41363
+ "application/json": components["schemas"]["EscalationEventListResponse"];
40568
41364
  };
40569
41365
  };
40570
41366
  /** @description Validation Error */
@@ -40582,7 +41378,7 @@ export interface operations {
40582
41378
  parameters: {
40583
41379
  query?: {
40584
41380
  limit?: number;
40585
- continuation_token?: number;
41381
+ continuation_token?: unknown;
40586
41382
  };
40587
41383
  header?: never;
40588
41384
  path: {
@@ -40598,7 +41394,7 @@ export interface operations {
40598
41394
  [name: string]: unknown;
40599
41395
  };
40600
41396
  content: {
40601
- "application/json": components["schemas"]["PaginatedResponse_ActiveEscalationItem_"];
41397
+ "application/json": components["schemas"]["ActiveEscalationListResponse"];
40602
41398
  };
40603
41399
  };
40604
41400
  /** @description Validation Error */
@@ -41192,10 +41988,9 @@ export interface operations {
41192
41988
  "list-outbound-log": {
41193
41989
  parameters: {
41194
41990
  query?: {
41195
- sort_by?: string | null;
41196
- status?: ("pending" | "synced" | "failed") | null;
41197
41991
  limit?: number;
41198
- continuation_token?: number;
41992
+ continuation_token?: unknown;
41993
+ status?: ("pending" | "synced" | "failed") | null;
41199
41994
  };
41200
41995
  header?: never;
41201
41996
  path: {
@@ -41212,7 +42007,7 @@ export interface operations {
41212
42007
  [name: string]: unknown;
41213
42008
  };
41214
42009
  content: {
41215
- "application/json": components["schemas"]["PaginatedResponse_OutboundLogItem_"];
42010
+ "application/json": components["schemas"]["OutboundLogListResponse"];
41216
42011
  };
41217
42012
  };
41218
42013
  /** @description Validation Error */
@@ -41312,7 +42107,9 @@ export interface operations {
41312
42107
  "list-source-events": {
41313
42108
  parameters: {
41314
42109
  query?: {
41315
- sort_by?: string | null;
42110
+ sort_by?: string[];
42111
+ limit?: number;
42112
+ continuation_token?: unknown;
41316
42113
  /** @description Filter by event type */
41317
42114
  event_type?: string | null;
41318
42115
  /** @description Filter by entity type */
@@ -41321,8 +42118,6 @@ export interface operations {
41321
42118
  date_from?: string | null;
41322
42119
  /** @description Filter events ingested on or before this time */
41323
42120
  date_to?: string | null;
41324
- limit?: number;
41325
- continuation_token?: number;
41326
42121
  };
41327
42122
  header?: never;
41328
42123
  path: {
@@ -41339,7 +42134,7 @@ export interface operations {
41339
42134
  [name: string]: unknown;
41340
42135
  };
41341
42136
  content: {
41342
- "application/json": components["schemas"]["PaginatedResponse_SourceEventItem_"];
42137
+ "application/json": components["schemas"]["SourceEventListResponse"];
41343
42138
  };
41344
42139
  };
41345
42140
  /** @description Validation Error */
@@ -41526,10 +42321,11 @@ export interface operations {
41526
42321
  "list-production-eval-definitions": {
41527
42322
  parameters: {
41528
42323
  query?: {
42324
+ sort_by?: string[];
42325
+ limit?: number;
42326
+ continuation_token?: unknown;
41529
42327
  service_id?: string | null;
41530
42328
  active?: boolean | null;
41531
- limit?: number;
41532
- continuation_token?: number;
41533
42329
  };
41534
42330
  header?: never;
41535
42331
  path: {
@@ -41545,7 +42341,7 @@ export interface operations {
41545
42341
  [name: string]: unknown;
41546
42342
  };
41547
42343
  content: {
41548
- "application/json": components["schemas"]["PaginatedResponse_ProductionEvalDefinition_"];
42344
+ "application/json": components["schemas"]["ProductionEvalDefinitionListResponse"];
41549
42345
  };
41550
42346
  };
41551
42347
  /** @description Validation Error */
@@ -42496,10 +43292,11 @@ export interface operations {
42496
43292
  "list-scheduling-rule-sets": {
42497
43293
  parameters: {
42498
43294
  query?: {
43295
+ sort_by?: string[];
43296
+ limit?: number;
43297
+ continuation_token?: unknown;
42499
43298
  agent_kind?: ("tms" | "ketamine" | "general") | null;
42500
43299
  is_active?: boolean | null;
42501
- limit?: number;
42502
- continuation_token?: number;
42503
43300
  };
42504
43301
  header?: never;
42505
43302
  path: {
@@ -42515,7 +43312,7 @@ export interface operations {
42515
43312
  [name: string]: unknown;
42516
43313
  };
42517
43314
  content: {
42518
- "application/json": components["schemas"]["PaginatedResponse_SchedulingRuleSetResponse_"];
43315
+ "application/json": components["schemas"]["SchedulingRuleSetListResponse"];
42519
43316
  };
42520
43317
  };
42521
43318
  /** @description Missing or invalid API key. */
@@ -42850,11 +43647,11 @@ export interface operations {
42850
43647
  "list-services": {
42851
43648
  parameters: {
42852
43649
  query?: {
43650
+ sort_by?: string[];
43651
+ limit?: number;
43652
+ continuation_token?: unknown;
42853
43653
  search?: components["schemas"]["SearchString"] | null;
42854
- sort_by?: string | null;
42855
43654
  is_active?: boolean | null;
42856
- limit?: number;
42857
- continuation_token?: number;
42858
43655
  };
42859
43656
  header?: never;
42860
43657
  path: {
@@ -42870,7 +43667,7 @@ export interface operations {
42870
43667
  [name: string]: unknown;
42871
43668
  };
42872
43669
  content: {
42873
- "application/json": components["schemas"]["PaginatedResponse_ServiceResponse_"];
43670
+ "application/json": components["schemas"]["ServiceListResponse"];
42874
43671
  };
42875
43672
  };
42876
43673
  /** @description Missing or invalid API key. */
@@ -44134,7 +44931,83 @@ export interface operations {
44134
44931
  };
44135
44932
  };
44136
44933
  };
44137
- "get-outreach-settings": {
44934
+ "get-outreach-settings": {
44935
+ parameters: {
44936
+ query?: never;
44937
+ header?: never;
44938
+ path: {
44939
+ workspace_id: string;
44940
+ };
44941
+ cookie?: never;
44942
+ };
44943
+ requestBody?: never;
44944
+ responses: {
44945
+ /** @description Successful Response */
44946
+ 200: {
44947
+ headers: {
44948
+ [name: string]: unknown;
44949
+ };
44950
+ content: {
44951
+ "application/json": components["schemas"]["OutreachSettingsResponse"];
44952
+ };
44953
+ };
44954
+ /** @description Rate limited */
44955
+ 429: {
44956
+ headers: {
44957
+ [name: string]: unknown;
44958
+ };
44959
+ content?: never;
44960
+ };
44961
+ };
44962
+ };
44963
+ "update-outreach-settings": {
44964
+ parameters: {
44965
+ query?: never;
44966
+ header?: never;
44967
+ path: {
44968
+ workspace_id: string;
44969
+ };
44970
+ cookie?: never;
44971
+ };
44972
+ requestBody: {
44973
+ content: {
44974
+ "application/json": components["schemas"]["OutreachSettingsRequest"];
44975
+ };
44976
+ };
44977
+ responses: {
44978
+ /** @description Successful Response */
44979
+ 200: {
44980
+ headers: {
44981
+ [name: string]: unknown;
44982
+ };
44983
+ content: {
44984
+ "application/json": components["schemas"]["OutreachSettingsResponse"];
44985
+ };
44986
+ };
44987
+ /** @description Workspace not found */
44988
+ 404: {
44989
+ headers: {
44990
+ [name: string]: unknown;
44991
+ };
44992
+ content?: never;
44993
+ };
44994
+ /** @description Validation error */
44995
+ 422: {
44996
+ headers: {
44997
+ [name: string]: unknown;
44998
+ };
44999
+ content?: never;
45000
+ };
45001
+ /** @description Rate limited */
45002
+ 429: {
45003
+ headers: {
45004
+ [name: string]: unknown;
45005
+ };
45006
+ content?: never;
45007
+ };
45008
+ };
45009
+ };
45010
+ "get-retention-policy": {
44138
45011
  parameters: {
44139
45012
  query?: never;
44140
45013
  header?: never;
@@ -44151,7 +45024,7 @@ export interface operations {
44151
45024
  [name: string]: unknown;
44152
45025
  };
44153
45026
  content: {
44154
- "application/json": components["schemas"]["OutreachSettingsResponse"];
45027
+ "application/json": components["schemas"]["RetentionPolicyResponse"];
44155
45028
  };
44156
45029
  };
44157
45030
  /** @description Rate limited */
@@ -44163,7 +45036,7 @@ export interface operations {
44163
45036
  };
44164
45037
  };
44165
45038
  };
44166
- "update-outreach-settings": {
45039
+ "update-retention-policy": {
44167
45040
  parameters: {
44168
45041
  query?: never;
44169
45042
  header?: never;
@@ -44174,7 +45047,7 @@ export interface operations {
44174
45047
  };
44175
45048
  requestBody: {
44176
45049
  content: {
44177
- "application/json": components["schemas"]["OutreachSettingsRequest"];
45050
+ "application/json": components["schemas"]["RetentionPolicyRequest"];
44178
45051
  };
44179
45052
  };
44180
45053
  responses: {
@@ -44184,7 +45057,7 @@ export interface operations {
44184
45057
  [name: string]: unknown;
44185
45058
  };
44186
45059
  content: {
44187
- "application/json": components["schemas"]["OutreachSettingsResponse"];
45060
+ "application/json": components["schemas"]["RetentionPolicyResponse"];
44188
45061
  };
44189
45062
  };
44190
45063
  /** @description Workspace not found */
@@ -44210,7 +45083,7 @@ export interface operations {
44210
45083
  };
44211
45084
  };
44212
45085
  };
44213
- "get-retention-policy": {
45086
+ "get-topic-modeling-settings": {
44214
45087
  parameters: {
44215
45088
  query?: never;
44216
45089
  header?: never;
@@ -44227,19 +45100,12 @@ export interface operations {
44227
45100
  [name: string]: unknown;
44228
45101
  };
44229
45102
  content: {
44230
- "application/json": components["schemas"]["RetentionPolicyResponse"];
45103
+ "application/json": components["schemas"]["TopicModelingSettingsResponse"];
44231
45104
  };
44232
45105
  };
44233
- /** @description Rate limited */
44234
- 429: {
44235
- headers: {
44236
- [name: string]: unknown;
44237
- };
44238
- content?: never;
44239
- };
44240
45106
  };
44241
45107
  };
44242
- "update-retention-policy": {
45108
+ "update-topic-modeling-settings": {
44243
45109
  parameters: {
44244
45110
  query?: never;
44245
45111
  header?: never;
@@ -44250,7 +45116,7 @@ export interface operations {
44250
45116
  };
44251
45117
  requestBody: {
44252
45118
  content: {
44253
- "application/json": components["schemas"]["RetentionPolicyRequest"];
45119
+ "application/json": components["schemas"]["TopicModelingSettingsRequest"];
44254
45120
  };
44255
45121
  };
44256
45122
  responses: {
@@ -44260,29 +45126,17 @@ export interface operations {
44260
45126
  [name: string]: unknown;
44261
45127
  };
44262
45128
  content: {
44263
- "application/json": components["schemas"]["RetentionPolicyResponse"];
44264
- };
44265
- };
44266
- /** @description Workspace not found */
44267
- 404: {
44268
- headers: {
44269
- [name: string]: unknown;
45129
+ "application/json": components["schemas"]["TopicModelingSettingsUpdateResponse"];
44270
45130
  };
44271
- content?: never;
44272
45131
  };
44273
- /** @description Validation error */
45132
+ /** @description Validation Error */
44274
45133
  422: {
44275
45134
  headers: {
44276
45135
  [name: string]: unknown;
44277
45136
  };
44278
- content?: never;
44279
- };
44280
- /** @description Rate limited */
44281
- 429: {
44282
- headers: {
44283
- [name: string]: unknown;
45137
+ content: {
45138
+ "application/json": components["schemas"]["HTTPValidationError"];
44284
45139
  };
44285
- content?: never;
44286
45140
  };
44287
45141
  };
44288
45142
  };
@@ -44505,10 +45359,10 @@ export interface operations {
44505
45359
  "list-simulation-cases": {
44506
45360
  parameters: {
44507
45361
  query?: {
45362
+ limit?: number;
45363
+ continuation_token?: unknown;
44508
45364
  service_id?: string | null;
44509
45365
  tags?: string[] | null;
44510
- limit?: number;
44511
- continuation_token?: number;
44512
45366
  };
44513
45367
  header?: never;
44514
45368
  path: {
@@ -44524,7 +45378,7 @@ export interface operations {
44524
45378
  [name: string]: unknown;
44525
45379
  };
44526
45380
  content: {
44527
- "application/json": components["schemas"]["PaginatedResponse_SimulationCaseResponse_"];
45381
+ "application/json": components["schemas"]["SimulationCaseListResponse"];
44528
45382
  };
44529
45383
  };
44530
45384
  /** @description Validation Error */
@@ -45831,11 +46685,11 @@ export interface operations {
45831
46685
  "list-skills": {
45832
46686
  parameters: {
45833
46687
  query?: {
46688
+ sort_by?: string[];
45834
46689
  enabled?: boolean | null;
45835
46690
  search?: components["schemas"]["SearchString"] | null;
45836
- sort_by?: string | null;
45837
46691
  limit?: number;
45838
- continuation_token?: number;
46692
+ continuation_token?: unknown;
45839
46693
  };
45840
46694
  header?: never;
45841
46695
  path: {
@@ -45851,7 +46705,7 @@ export interface operations {
45851
46705
  [name: string]: unknown;
45852
46706
  };
45853
46707
  content: {
45854
- "application/json": components["schemas"]["PaginatedResponse_SkillResponse_"];
46708
+ "application/json": components["schemas"]["SkillListResponse"];
45855
46709
  };
45856
46710
  };
45857
46711
  /** @description Missing or invalid API key. */
@@ -46261,14 +47115,14 @@ export interface operations {
46261
47115
  "list-surfaces": {
46262
47116
  parameters: {
46263
47117
  query?: {
47118
+ limit?: number;
47119
+ continuation_token?: unknown;
46264
47120
  /** @description Filter by entity ID */
46265
47121
  entity_id?: string | null;
46266
47122
  /** @description Filter by status */
46267
47123
  status?: string | null;
46268
47124
  /** @description Filter by channel */
46269
47125
  channel?: string | null;
46270
- limit?: number;
46271
- continuation_token?: number;
46272
47126
  };
46273
47127
  header?: never;
46274
47128
  path: {
@@ -46284,7 +47138,7 @@ export interface operations {
46284
47138
  [name: string]: unknown;
46285
47139
  };
46286
47140
  content: {
46287
- "application/json": components["schemas"]["PaginatedResponse_SurfaceResponse_"];
47141
+ "application/json": components["schemas"]["SurfaceListResponse"];
46288
47142
  };
46289
47143
  };
46290
47144
  /** @description Validation Error */
@@ -46349,7 +47203,7 @@ export interface operations {
46349
47203
  parameters: {
46350
47204
  query?: {
46351
47205
  limit?: number;
46352
- continuation_token?: number;
47206
+ continuation_token?: unknown;
46353
47207
  };
46354
47208
  header?: never;
46355
47209
  path: {
@@ -46365,7 +47219,7 @@ export interface operations {
46365
47219
  [name: string]: unknown;
46366
47220
  };
46367
47221
  content: {
46368
- "application/json": components["schemas"]["PaginatedResponse_SurfaceResponse_"];
47222
+ "application/json": components["schemas"]["ReviewQueueListResponse"];
46369
47223
  };
46370
47224
  };
46371
47225
  /** @description Validation Error */
@@ -47096,9 +47950,9 @@ export interface operations {
47096
47950
  "list-triggers": {
47097
47951
  parameters: {
47098
47952
  query?: {
47099
- is_active?: boolean | null;
47100
47953
  limit?: number;
47101
- continuation_token?: number;
47954
+ continuation_token?: unknown;
47955
+ is_active?: boolean | null;
47102
47956
  };
47103
47957
  header?: never;
47104
47958
  path: {
@@ -47114,7 +47968,7 @@ export interface operations {
47114
47968
  [name: string]: unknown;
47115
47969
  };
47116
47970
  content: {
47117
- "application/json": components["schemas"]["PaginatedResponse_TriggerResponse_"];
47971
+ "application/json": components["schemas"]["TriggerListResponse"];
47118
47972
  };
47119
47973
  };
47120
47974
  /** @description Validation Error */
@@ -47453,7 +48307,7 @@ export interface operations {
47453
48307
  parameters: {
47454
48308
  query?: {
47455
48309
  limit?: number;
47456
- continuation_token?: number;
48310
+ continuation_token?: unknown;
47457
48311
  };
47458
48312
  header?: never;
47459
48313
  path: {
@@ -47470,7 +48324,7 @@ export interface operations {
47470
48324
  [name: string]: unknown;
47471
48325
  };
47472
48326
  content: {
47473
- "application/json": components["schemas"]["PaginatedResponse_TriggerRunResponse_"];
48327
+ "application/json": components["schemas"]["TriggerRunListResponse"];
47474
48328
  };
47475
48329
  };
47476
48330
  /** @description Validation Error */
@@ -47491,227 +48345,6 @@ export interface operations {
47491
48345
  };
47492
48346
  };
47493
48347
  };
47494
- "list-use-cases": {
47495
- parameters: {
47496
- query?: {
47497
- entity_name?: string | null;
47498
- channel?: ("outbound_voice" | "inbound_voice" | "ringless_voicemail" | "email" | "sms" | "imessage") | null;
47499
- setup_id?: string | null;
47500
- };
47501
- header?: never;
47502
- path: {
47503
- workspace_id: string;
47504
- };
47505
- cookie?: never;
47506
- };
47507
- requestBody?: never;
47508
- responses: {
47509
- /** @description Successful Response */
47510
- 200: {
47511
- headers: {
47512
- [name: string]: unknown;
47513
- };
47514
- content: {
47515
- "application/json": components["schemas"]["UseCaseListResponse"];
47516
- };
47517
- };
47518
- /** @description Insufficient permissions. */
47519
- 403: {
47520
- headers: {
47521
- [name: string]: unknown;
47522
- };
47523
- content?: never;
47524
- };
47525
- /** @description Validation Error */
47526
- 422: {
47527
- headers: {
47528
- [name: string]: unknown;
47529
- };
47530
- content: {
47531
- "application/json": components["schemas"]["HTTPValidationError"];
47532
- };
47533
- };
47534
- };
47535
- };
47536
- "list-owned-use-cases": {
47537
- parameters: {
47538
- query?: never;
47539
- header?: never;
47540
- path: {
47541
- workspace_id: string;
47542
- };
47543
- cookie?: never;
47544
- };
47545
- requestBody?: never;
47546
- responses: {
47547
- /** @description Successful Response */
47548
- 200: {
47549
- headers: {
47550
- [name: string]: unknown;
47551
- };
47552
- content: {
47553
- "application/json": components["schemas"]["OwnedUseCasesResponse"];
47554
- };
47555
- };
47556
- /** @description Insufficient permissions. */
47557
- 403: {
47558
- headers: {
47559
- [name: string]: unknown;
47560
- };
47561
- content?: never;
47562
- };
47563
- };
47564
- };
47565
- "get-use-case-ownership": {
47566
- parameters: {
47567
- query?: never;
47568
- header?: never;
47569
- path: {
47570
- workspace_id: string;
47571
- use_case_id: string;
47572
- };
47573
- cookie?: never;
47574
- };
47575
- requestBody?: never;
47576
- responses: {
47577
- /** @description Successful Response */
47578
- 200: {
47579
- headers: {
47580
- [name: string]: unknown;
47581
- };
47582
- content: {
47583
- "application/json": components["schemas"]["OwnershipResponse"];
47584
- };
47585
- };
47586
- /** @description Insufficient permissions. */
47587
- 403: {
47588
- headers: {
47589
- [name: string]: unknown;
47590
- };
47591
- content?: never;
47592
- };
47593
- /** @description Use case not found. */
47594
- 404: {
47595
- headers: {
47596
- [name: string]: unknown;
47597
- };
47598
- content?: never;
47599
- };
47600
- /** @description Validation Error */
47601
- 422: {
47602
- headers: {
47603
- [name: string]: unknown;
47604
- };
47605
- content: {
47606
- "application/json": components["schemas"]["HTTPValidationError"];
47607
- };
47608
- };
47609
- };
47610
- };
47611
- "assign-use-case-ownership": {
47612
- parameters: {
47613
- query?: never;
47614
- header?: never;
47615
- path: {
47616
- workspace_id: string;
47617
- use_case_id: string;
47618
- };
47619
- cookie?: never;
47620
- };
47621
- requestBody?: never;
47622
- responses: {
47623
- /** @description Successful Response */
47624
- 200: {
47625
- headers: {
47626
- [name: string]: unknown;
47627
- };
47628
- content: {
47629
- "application/json": components["schemas"]["OwnershipResponse"];
47630
- };
47631
- };
47632
- /** @description Insufficient permissions. */
47633
- 403: {
47634
- headers: {
47635
- [name: string]: unknown;
47636
- };
47637
- content?: never;
47638
- };
47639
- /** @description Use case not found. */
47640
- 404: {
47641
- headers: {
47642
- [name: string]: unknown;
47643
- };
47644
- content?: never;
47645
- };
47646
- /** @description Use case is owned by another workspace. */
47647
- 409: {
47648
- headers: {
47649
- [name: string]: unknown;
47650
- };
47651
- content?: never;
47652
- };
47653
- /** @description Validation Error */
47654
- 422: {
47655
- headers: {
47656
- [name: string]: unknown;
47657
- };
47658
- content: {
47659
- "application/json": components["schemas"]["HTTPValidationError"];
47660
- };
47661
- };
47662
- };
47663
- };
47664
- "release-use-case-ownership": {
47665
- parameters: {
47666
- query?: never;
47667
- header?: never;
47668
- path: {
47669
- workspace_id: string;
47670
- use_case_id: string;
47671
- };
47672
- cookie?: never;
47673
- };
47674
- requestBody?: never;
47675
- responses: {
47676
- /** @description Successful Response */
47677
- 204: {
47678
- headers: {
47679
- [name: string]: unknown;
47680
- };
47681
- content?: never;
47682
- };
47683
- /** @description Insufficient permissions. */
47684
- 403: {
47685
- headers: {
47686
- [name: string]: unknown;
47687
- };
47688
- content?: never;
47689
- };
47690
- /** @description Use case not found. */
47691
- 404: {
47692
- headers: {
47693
- [name: string]: unknown;
47694
- };
47695
- content?: never;
47696
- };
47697
- /** @description Use case is bound to a service; unbind it first. */
47698
- 409: {
47699
- headers: {
47700
- [name: string]: unknown;
47701
- };
47702
- content?: never;
47703
- };
47704
- /** @description Validation Error */
47705
- 422: {
47706
- headers: {
47707
- [name: string]: unknown;
47708
- };
47709
- content: {
47710
- "application/json": components["schemas"]["HTTPValidationError"];
47711
- };
47712
- };
47713
- };
47714
- };
47715
48348
  "get-use-case-service-binding": {
47716
48349
  parameters: {
47717
48350
  query?: never;
@@ -49105,4 +49738,5 @@ export interface operations {
49105
49738
  };
49106
49739
  };
49107
49740
  }
49741
+ export {};
49108
49742
  //# sourceMappingURL=api.d.ts.map