@amigo-ai/platform-sdk 0.34.0 → 0.39.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.
@@ -1766,6 +1766,74 @@ export interface paths {
1766
1766
  patch?: never;
1767
1767
  trace?: never;
1768
1768
  };
1769
+ "/v1/{workspace_id}/channels/ses-setup": {
1770
+ parameters: {
1771
+ query?: never;
1772
+ header?: never;
1773
+ path?: never;
1774
+ cookie?: never;
1775
+ };
1776
+ /**
1777
+ * List SES setups for this workspace
1778
+ * @description Paginated list of SES setups owned by this workspace. Items carry the cached ``dns_verified`` aggregate; call ``GET /ses-setup/{id}`` for per-record DNS detail. Requires ``Channel.view`` permission.
1779
+ */
1780
+ get: operations["list-ses-setups"];
1781
+ put?: never;
1782
+ /**
1783
+ * Create an SES setup
1784
+ * @description Create an SES tenant + verified email identity for this workspace. Returns the DNS records the customer must publish (DKIM CNAMEs, MX, DMARC TXT). Subsequent ``GET`` or ``POST /verify`` calls re-run the live DNS lookup and update the per-record ``verified`` flag. Requires ``Channel.create`` permission.
1785
+ */
1786
+ post: operations["create-ses-setup"];
1787
+ delete?: never;
1788
+ options?: never;
1789
+ head?: never;
1790
+ patch?: never;
1791
+ trace?: never;
1792
+ };
1793
+ "/v1/{workspace_id}/channels/ses-setup/{setup_id}": {
1794
+ parameters: {
1795
+ query?: never;
1796
+ header?: never;
1797
+ path?: never;
1798
+ cookie?: never;
1799
+ };
1800
+ /**
1801
+ * Get an SES setup with live DNS refresh
1802
+ * @description Returns full SES setup detail including per-record DNS verification status. Channel-manager re-runs ``GetEmailIdentity`` + DMARC/MX resolvers on every call, so each GET is a live check. Requires ``Channel.view`` permission.
1803
+ */
1804
+ get: operations["get-ses-setup"];
1805
+ put?: never;
1806
+ post?: never;
1807
+ /**
1808
+ * Delete an SES setup
1809
+ * @description Tear down the upstream SES tenant + identity and soft-delete the workspace binding. Refuses (409) if any use case still references the setup. Requires ``Channel.delete`` permission.
1810
+ */
1811
+ delete: operations["delete-ses-setup"];
1812
+ options?: never;
1813
+ head?: never;
1814
+ patch?: never;
1815
+ trace?: never;
1816
+ };
1817
+ "/v1/{workspace_id}/channels/ses-setup/{setup_id}/verify": {
1818
+ parameters: {
1819
+ query?: never;
1820
+ header?: never;
1821
+ path?: never;
1822
+ cookie?: never;
1823
+ };
1824
+ get?: never;
1825
+ put?: never;
1826
+ /**
1827
+ * Refresh SES DNS verification
1828
+ * @description Explicit DNS refresh endpoint. Equivalent to ``GET /ses-setup/{id}`` but exposed as a POST so UI ``Verify now`` actions read as actions rather than reads. Requires ``Channel.view`` permission.
1829
+ */
1830
+ post: operations["verify-ses-setup-dns"];
1831
+ delete?: never;
1832
+ options?: never;
1833
+ head?: never;
1834
+ patch?: never;
1835
+ trace?: never;
1836
+ };
1769
1837
  "/v1/{workspace_id}/command-center": {
1770
1838
  parameters: {
1771
1839
  query?: never;
@@ -3106,6 +3174,33 @@ export interface paths {
3106
3174
  patch?: never;
3107
3175
  trace?: never;
3108
3176
  };
3177
+ "/v1/{workspace_id}/functions/deploy": {
3178
+ parameters: {
3179
+ query?: never;
3180
+ header?: never;
3181
+ path?: never;
3182
+ cookie?: never;
3183
+ };
3184
+ get?: never;
3185
+ put?: never;
3186
+ /**
3187
+ * Deploy (validate + register) a platform function
3188
+ * @description Validate + register a new platform function version.
3189
+ *
3190
+ * Atomic: validation + INSERT + alias rebind happen in one
3191
+ * transaction. The next ``version`` is allocated server-side as
3192
+ * ``max(existing) + 1`` per ``(workspace, name)``; concurrent
3193
+ * deploys race-fail on the UNIQUE constraint and surface as 409.
3194
+ *
3195
+ * Permissions: admin, owner.
3196
+ */
3197
+ post: operations["deploy-function"];
3198
+ delete?: never;
3199
+ options?: never;
3200
+ head?: never;
3201
+ patch?: never;
3202
+ trace?: never;
3203
+ };
3109
3204
  "/v1/{workspace_id}/functions/query": {
3110
3205
  parameters: {
3111
3206
  query?: never;
@@ -3132,6 +3227,39 @@ export interface paths {
3132
3227
  patch?: never;
3133
3228
  trace?: never;
3134
3229
  };
3230
+ "/v1/{workspace_id}/functions/registered": {
3231
+ parameters: {
3232
+ query?: never;
3233
+ header?: never;
3234
+ path?: never;
3235
+ cookie?: never;
3236
+ };
3237
+ /**
3238
+ * List latest version of every V109 platform function in the workspace
3239
+ * @description List the ``latest`` version of every V109-registered function
3240
+ * in the workspace.
3241
+ *
3242
+ * Returns one row per function (the alias-pinned latest version).
3243
+ * The Studio + SDK use this to render a workspace-wide directory of
3244
+ * deployed platform functions; the per-function ``/{name}/versions``
3245
+ * endpoint returns history for a specific function.
3246
+ *
3247
+ * Note this is **distinct** from ``GET /v1/{ws}/functions``, which
3248
+ * reads ``workspace.settings["functions"]`` JSONB (pre-V109 shape).
3249
+ * Both paths co-exist; clients should prefer this one for
3250
+ * V109-registered functions.
3251
+ *
3252
+ * Permissions: ``Workspace.view`` (read role and above).
3253
+ */
3254
+ get: operations["list-registered-functions"];
3255
+ put?: never;
3256
+ post?: never;
3257
+ delete?: never;
3258
+ options?: never;
3259
+ head?: never;
3260
+ patch?: never;
3261
+ trace?: never;
3262
+ };
3135
3263
  "/v1/{workspace_id}/functions/sync": {
3136
3264
  parameters: {
3137
3265
  query?: never;
@@ -3183,6 +3311,86 @@ export interface paths {
3183
3311
  patch?: never;
3184
3312
  trace?: never;
3185
3313
  };
3314
+ "/v1/{workspace_id}/functions/{function_name}/invoke": {
3315
+ parameters: {
3316
+ query?: never;
3317
+ header?: never;
3318
+ path?: never;
3319
+ cookie?: never;
3320
+ };
3321
+ get?: never;
3322
+ put?: never;
3323
+ /**
3324
+ * Execute a registered function
3325
+ * @description Execute a registered function and return its rows.
3326
+ *
3327
+ * Bound parameters are validated against the version's stored
3328
+ * schema; ``ws_id`` is auto-injected from the request context.
3329
+ * Returns the executor's shaped response (``rows`` for
3330
+ * ``returns=table``, scalar value for ``returns=scalar``).
3331
+ *
3332
+ * Permissions: ``Workspace.view`` (read role and above). Read-only
3333
+ * keys are intentionally allowed here — invocation runs a stored,
3334
+ * pre-validated SELECT against catalogs the workspace SP already
3335
+ * has SELECT on; the gate on what can run is the deploy-time
3336
+ * validator (read-only invariant), not the per-call permission.
3337
+ */
3338
+ post: operations["invoke-function"];
3339
+ delete?: never;
3340
+ options?: never;
3341
+ head?: never;
3342
+ patch?: never;
3343
+ trace?: never;
3344
+ };
3345
+ "/v1/{workspace_id}/functions/{function_name}/promote": {
3346
+ parameters: {
3347
+ query?: never;
3348
+ header?: never;
3349
+ path?: never;
3350
+ cookie?: never;
3351
+ };
3352
+ get?: never;
3353
+ put?: never;
3354
+ /**
3355
+ * Rebind an alias to a specific version
3356
+ * @description Rebind an alias to an existing version.
3357
+ *
3358
+ * Verifies the version exists before rebinding.
3359
+ *
3360
+ * Permissions: admin, owner.
3361
+ */
3362
+ post: operations["promote-function"];
3363
+ delete?: never;
3364
+ options?: never;
3365
+ head?: never;
3366
+ patch?: never;
3367
+ trace?: never;
3368
+ };
3369
+ "/v1/{workspace_id}/functions/{function_name}/rollback": {
3370
+ parameters: {
3371
+ query?: never;
3372
+ header?: never;
3373
+ path?: never;
3374
+ cookie?: never;
3375
+ };
3376
+ get?: never;
3377
+ put?: never;
3378
+ /**
3379
+ * Rebind latest + production to a prior version
3380
+ * @description Rebind ``latest`` and ``production`` to a prior version.
3381
+ *
3382
+ * Used when a new deploy was bad. ``staging`` stays untouched so
3383
+ * operator can re-promote independently.
3384
+ *
3385
+ * Permissions: admin, owner.
3386
+ */
3387
+ post: operations["rollback-function"];
3388
+ delete?: never;
3389
+ options?: never;
3390
+ head?: never;
3391
+ patch?: never;
3392
+ trace?: never;
3393
+ };
3186
3394
  "/v1/{workspace_id}/functions/{function_name}/test": {
3187
3395
  parameters: {
3188
3396
  query?: never;
@@ -3207,6 +3415,72 @@ export interface paths {
3207
3415
  patch?: never;
3208
3416
  trace?: never;
3209
3417
  };
3418
+ "/v1/{workspace_id}/functions/{function_name}/v2/test": {
3419
+ parameters: {
3420
+ query?: never;
3421
+ header?: never;
3422
+ path?: never;
3423
+ cookie?: never;
3424
+ };
3425
+ get?: never;
3426
+ put?: never;
3427
+ /**
3428
+ * Test invoke + persist telemetry
3429
+ * @description Test invoke — same as invoke + persists last_test_* on the version row.
3430
+ *
3431
+ * Permissions: admin, owner.
3432
+ */
3433
+ post: operations["test-function-v2"];
3434
+ delete?: never;
3435
+ options?: never;
3436
+ head?: never;
3437
+ patch?: never;
3438
+ trace?: never;
3439
+ };
3440
+ "/v1/{workspace_id}/functions/{function_name}/version": {
3441
+ parameters: {
3442
+ query?: never;
3443
+ header?: never;
3444
+ path?: never;
3445
+ cookie?: never;
3446
+ };
3447
+ /**
3448
+ * Resolve (name, alias) → version row
3449
+ * @description Resolve (function_name, alias) → version row.
3450
+ *
3451
+ * Permissions: ``Workspace.view`` (read role and above).
3452
+ */
3453
+ get: operations["get-function-version"];
3454
+ put?: never;
3455
+ post?: never;
3456
+ delete?: never;
3457
+ options?: never;
3458
+ head?: never;
3459
+ patch?: never;
3460
+ trace?: never;
3461
+ };
3462
+ "/v1/{workspace_id}/functions/{function_name}/versions": {
3463
+ parameters: {
3464
+ query?: never;
3465
+ header?: never;
3466
+ path?: never;
3467
+ cookie?: never;
3468
+ };
3469
+ /**
3470
+ * List all versions of a function
3471
+ * @description List all versions of a registered function, newest first.
3472
+ *
3473
+ * Permissions: ``Workspace.view`` (read role and above).
3474
+ */
3475
+ get: operations["list-function-versions"];
3476
+ put?: never;
3477
+ post?: never;
3478
+ delete?: never;
3479
+ options?: never;
3480
+ head?: never;
3481
+ patch?: never;
3482
+ trace?: never;
3483
+ };
3210
3484
  "/v1/{workspace_id}/hooks/{destination_id}": {
3211
3485
  parameters: {
3212
3486
  query?: never;
@@ -4679,7 +4953,7 @@ export interface paths {
4679
4953
  put?: never;
4680
4954
  /**
4681
4955
  * Bind a channel-manager phone number
4682
- * @description Register a channel-manager-provisioned phone number in this workspace. Looks up the phone from channel-manager by ID and creates the binding with sub_account_sid for credential resolution. Requires PhoneNumber.create permission.
4956
+ * @description Register a channel-manager-provisioned phone number in this workspace. Looks up the phone from channel-manager by ID and persists the local binding row in platform.phone_numbers. Credential resolution at call time flows through ChannelManagerClient (Valkey-cached, see V108). Requires PhoneNumber.create permission.
4683
4957
  */
4684
4958
  post: operations["bind-channel-phone"];
4685
4959
  delete?: never;
@@ -4940,6 +5214,32 @@ export interface paths {
4940
5214
  patch?: never;
4941
5215
  trace?: never;
4942
5216
  };
5217
+ "/v1/{workspace_id}/prompt-logs": {
5218
+ parameters: {
5219
+ query?: never;
5220
+ header?: never;
5221
+ path?: never;
5222
+ cookie?: never;
5223
+ };
5224
+ /**
5225
+ * List prompt logs for a workspace
5226
+ * @description Lists ``prompt_log`` events emitted by agent-engine — full system prompt, conversation history, tool catalog, LLM model, and response — for auditing and debugging. Reads the Delta ``world_events`` ledger via Databricks SQL; typical latency is 1-5s with a 15s ceiling on cold-start.
5227
+ *
5228
+ * **Filters**: ``call_sid``, ``prompt_type``, ``state_name``, ``from_ts``, ``to_ts``. When no selectivity-bearing filter (call_sid / time range) is supplied, the query is auto-capped to the last 7 days; the applied window is reported in ``applied_time_window_days``.
5229
+ *
5230
+ * **Pagination**: peek-ahead — ``has_more`` is true when more rows exist; use ``next_offset`` to fetch the next page.
5231
+ *
5232
+ * **Auth**: admin or owner role required. Reads are audit-logged (``prompt_logs.queried``); responses can include PHI from prompt history.
5233
+ */
5234
+ get: operations["list-prompt-logs"];
5235
+ put?: never;
5236
+ post?: never;
5237
+ delete?: never;
5238
+ options?: never;
5239
+ head?: never;
5240
+ patch?: never;
5241
+ trace?: never;
5242
+ };
4943
5243
  "/v1/{workspace_id}/query/{schema}/{table}": {
4944
5244
  parameters: {
4945
5245
  query?: never;
@@ -9937,7 +10237,7 @@ export interface components {
9937
10237
  /** Caller Id */
9938
10238
  caller_id?: string | null;
9939
10239
  /** Completion Reason */
9940
- completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled") | null;
10240
+ completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled" | "max_duration" | "idle_timeout" | "client_stop" | "transport_error" | "disconnected" | "transport_closed" | "unknown" | "conference_ended") | null;
9941
10241
  /** Conference Sid */
9942
10242
  conference_sid?: string | null;
9943
10243
  config?: components["schemas"]["ConversationConfig"] | null;
@@ -10047,7 +10347,7 @@ export interface components {
10047
10347
  * Completion Reason
10048
10348
  * @enum {string}
10049
10349
  */
10050
- completion_reason: "completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled";
10350
+ completion_reason: "completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled" | "max_duration" | "idle_timeout" | "client_stop" | "transport_error" | "disconnected" | "transport_closed" | "unknown" | "conference_ended";
10051
10351
  /**
10052
10352
  * Direction
10053
10353
  * @enum {string}
@@ -10252,7 +10552,7 @@ export interface components {
10252
10552
  * Completion Reason
10253
10553
  * @description Why the call ended
10254
10554
  */
10255
- completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled") | null;
10555
+ completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled" | "max_duration" | "idle_timeout" | "client_stop" | "transport_error" | "disconnected" | "transport_closed" | "unknown" | "conference_ended") | null;
10256
10556
  /**
10257
10557
  * Direction
10258
10558
  * @description Call direction
@@ -10349,6 +10649,7 @@ export interface components {
10349
10649
  /** Total Segments */
10350
10650
  total_segments: number;
10351
10651
  };
10652
+ CanonicalIdLookupString: string;
10352
10653
  CanonicalIdString: string;
10353
10654
  /** CatalogEntry */
10354
10655
  CatalogEntry: {
@@ -12257,12 +12558,13 @@ export interface components {
12257
12558
  * @description World model outbound_task entity ID for completion feedback.
12258
12559
  */
12259
12560
  outbound_task_entity_id?: string | null;
12561
+ /** @description Patient world model canonical_id of the form 'source:resource_type:id' (e.g. 'revolution:Patient:67890'). The structural regex on CanonicalIdString rejects spaces, names, DOBs, and similar regulated content so PHI cannot leak into audit events or pipeline projections. The raw value is deliberately not recorded in the outbound.initiated event — correlation back to the source system is via the resolved entity_id joined to world.entities.canonical_id. Resolved against the SDP-projected world.entities table; an entity created moments ago may not yet be visible if the projection is lagging. Provide either patient_entity_id or patient_canonical_id, not both. */
12562
+ patient_canonical_id?: components["schemas"]["CanonicalIdString"] | null;
12260
12563
  /**
12261
12564
  * Patient Entity Id
12262
- * Format: uuid
12263
- * @description Patient entity in the world model. Must exist in workspace as a person entity.
12565
+ * @description Patient entity UUID in the world model. Must exist in workspace as a person entity. Provide either patient_entity_id or patient_canonical_id.
12264
12566
  */
12265
- patient_entity_id: string;
12567
+ patient_entity_id?: string | null;
12266
12568
  /** @description Caller ID phone number in E.164 format. Must belong to this workspace. */
12267
12569
  phone_from?: components["schemas"]["PhoneE164"] | null;
12268
12570
  /** @description Destination phone number in E.164 format. */
@@ -12348,8 +12650,6 @@ export interface components {
12348
12650
  * ]
12349
12651
  */
12350
12652
  capabilities?: ("inbound" | "outbound")[];
12351
- /** Channel Phone Id */
12352
- channel_phone_id?: string | null;
12353
12653
  /**
12354
12654
  * Display Name
12355
12655
  * @default
@@ -12378,8 +12678,6 @@ export interface components {
12378
12678
  * @enum {string}
12379
12679
  */
12380
12680
  status?: "active" | "inactive";
12381
- /** Sub Account Sid */
12382
- sub_account_sid?: string | null;
12383
12681
  };
12384
12682
  /** CreateRunRequest */
12385
12683
  CreateRunRequest: {
@@ -12469,6 +12767,21 @@ export interface components {
12469
12767
  };
12470
12768
  voice_config?: components["schemas"]["ServiceVoiceConfig"] | null;
12471
12769
  };
12770
+ /** CreateSesSetupRequest */
12771
+ CreateSesSetupRequest: {
12772
+ /**
12773
+ * Domain Identity
12774
+ * @description Domain to verify for both sending and receiving (e.g.
12775
+ * ``mail.customer.com``). A single SES identity serves both directions.
12776
+ */
12777
+ domain_identity: string;
12778
+ /**
12779
+ * Tenant Name
12780
+ * @description Logical SES tenant name (reputation + suppression isolation boundary).
12781
+ * Unique within the AWS account. Alphabet ``[A-Za-z0-9_-]``, 1-64 chars.
12782
+ */
12783
+ tenant_name: string;
12784
+ };
12472
12785
  /** CreateSessionResponse */
12473
12786
  CreateSessionResponse: {
12474
12787
  /** Connected */
@@ -14028,6 +14341,29 @@ export interface components {
14028
14341
  */
14029
14342
  workspace_id: string;
14030
14343
  };
14344
+ /** DnsRecordResponse */
14345
+ DnsRecordResponse: {
14346
+ /**
14347
+ * Address
14348
+ * @description Fully-qualified hostname the DNS entry lives under.
14349
+ */
14350
+ address: string;
14351
+ /**
14352
+ * Record
14353
+ * @description Target value the customer must publish at their DNS provider.
14354
+ */
14355
+ record: string;
14356
+ /**
14357
+ * Type
14358
+ * @enum {string}
14359
+ */
14360
+ type: "CNAME" | "MX" | "TXT";
14361
+ /**
14362
+ * Verified
14363
+ * @description Whether the live DNS lookup at the time of the GET found the entry.
14364
+ */
14365
+ verified: boolean;
14366
+ };
14031
14367
  /**
14032
14368
  * DriverRow
14033
14369
  * @description One SPR row — generic (outcome, feature-tuple) grain.
@@ -14955,7 +15291,7 @@ export interface components {
14955
15291
  */
14956
15292
  EntityResolveRequest: {
14957
15293
  /** @description Canonical/MRN identifier ('charm:Patient:42' or raw MRN). */
14958
- canonical_id?: components["schemas"]["CanonicalIdString"] | null;
15294
+ canonical_id?: components["schemas"]["CanonicalIdLookupString"] | null;
14959
15295
  /**
14960
15296
  * Email
14961
15297
  * @description Primary email (case-insensitive match).
@@ -16656,6 +16992,27 @@ export interface components {
16656
16992
  */
16657
16993
  schema?: string;
16658
16994
  };
16995
+ /**
16996
+ * FunctionExample
16997
+ * @description One example call, surfaced to the LLM and the DC test panel.
16998
+ *
16999
+ * Examples are first-class metadata, not buried in a UC ``COMMENT``
17000
+ * clause the way Databricks' native authoring requires. The DC
17001
+ * tool-picker shows them; the LLM tool spec includes them inline.
17002
+ */
17003
+ FunctionExample: {
17004
+ /**
17005
+ * Description
17006
+ * @default
17007
+ */
17008
+ description?: string;
17009
+ /** Input */
17010
+ input: {
17011
+ [key: string]: unknown;
17012
+ };
17013
+ /** Output */
17014
+ output: unknown;
17015
+ };
16659
17016
  /** FunctionListResponse */
16660
17017
  FunctionListResponse: {
16661
17018
  /** Count */
@@ -16690,6 +17047,72 @@ export interface components {
16690
17047
  /** Result */
16691
17048
  result?: unknown;
16692
17049
  };
17050
+ /** FunctionVersionListResponse */
17051
+ FunctionVersionListResponse: {
17052
+ /** Count */
17053
+ count: number;
17054
+ /** Items */
17055
+ items: components["schemas"]["FunctionVersionResponse"][];
17056
+ };
17057
+ /**
17058
+ * FunctionVersionResponse
17059
+ * @description Single version row from ``platform.functions``.
17060
+ */
17061
+ FunctionVersionResponse: {
17062
+ /** Deployed At */
17063
+ deployed_at?: string | null;
17064
+ /** Deployed By */
17065
+ deployed_by?: string | null;
17066
+ /**
17067
+ * Description
17068
+ * @default
17069
+ */
17070
+ description?: string;
17071
+ /** Examples */
17072
+ examples?: {
17073
+ [key: string]: unknown;
17074
+ }[];
17075
+ /** Function Type */
17076
+ function_type: string;
17077
+ /** Input Schema */
17078
+ input_schema?: {
17079
+ [key: string]: unknown;
17080
+ };
17081
+ /** Last Test At */
17082
+ last_test_at?: string | null;
17083
+ /** Last Test Duration Ms */
17084
+ last_test_duration_ms?: number | null;
17085
+ /** Last Test Error */
17086
+ last_test_error?: string | null;
17087
+ /** Last Test Status */
17088
+ last_test_status?: string | null;
17089
+ /** Name */
17090
+ name: string;
17091
+ /** Parameters */
17092
+ parameters?: {
17093
+ [key: string]: unknown;
17094
+ }[];
17095
+ /** Returns Kind */
17096
+ returns_kind: string;
17097
+ /** Source Hash */
17098
+ source_hash?: string | null;
17099
+ /** Source Path */
17100
+ source_path?: string | null;
17101
+ /** Sql Template */
17102
+ sql_template: string;
17103
+ /**
17104
+ * Timeout Ms
17105
+ * @default 30000
17106
+ */
17107
+ timeout_ms?: number;
17108
+ /** Version */
17109
+ version: number;
17110
+ /**
17111
+ * When To Use
17112
+ * @default
17113
+ */
17114
+ when_to_use?: string;
17115
+ };
16693
17116
  /**
16694
17117
  * GapRequiredField
16695
17118
  * @description A field that must be present in entity state.
@@ -17622,6 +18045,46 @@ export interface components {
17622
18045
  */
17623
18046
  unit_price: string;
17624
18047
  };
18048
+ /**
18049
+ * InvokeRequest
18050
+ * @description Invoke a registered function with caller-supplied args.
18051
+ */
18052
+ InvokeRequest: {
18053
+ /**
18054
+ * Alias
18055
+ * @description Alias to resolve.
18056
+ * @default latest
18057
+ * @enum {string}
18058
+ */
18059
+ alias?: "latest" | "staging" | "production";
18060
+ /**
18061
+ * Input
18062
+ * @description Caller arguments matching input_schema.
18063
+ */
18064
+ input?: {
18065
+ [key: string]: unknown;
18066
+ };
18067
+ };
18068
+ /** InvokeResponse */
18069
+ InvokeResponse: {
18070
+ /**
18071
+ * Duration Ms
18072
+ * @default 0
18073
+ */
18074
+ duration_ms?: number;
18075
+ /** Result */
18076
+ result?: unknown;
18077
+ /**
18078
+ * Row Count
18079
+ * @default 0
18080
+ */
18081
+ row_count?: number;
18082
+ /**
18083
+ * Version
18084
+ * @default 0
18085
+ */
18086
+ version?: number;
18087
+ };
17625
18088
  /**
17626
18089
  * JoinCallRequest
17627
18090
  * @description Request to join an active call as operator.
@@ -19631,6 +20094,17 @@ export interface components {
19631
20094
  /** Total */
19632
20095
  total?: number | null;
19633
20096
  };
20097
+ /** PaginatedResponse[SesSetupListItemResponse] */
20098
+ PaginatedResponse_SesSetupListItemResponse_: {
20099
+ /** Continuation Token */
20100
+ continuation_token?: number | null;
20101
+ /** Has More */
20102
+ has_more: boolean;
20103
+ /** Items */
20104
+ items: components["schemas"]["SesSetupListItemResponse"][];
20105
+ /** Total */
20106
+ total?: number | null;
20107
+ };
19634
20108
  /** PaginatedResponse[SkillResponse] */
19635
20109
  PaginatedResponse_SkillResponse_: {
19636
20110
  /** Continuation Token */
@@ -19742,6 +20216,34 @@ export interface components {
19742
20216
  */
19743
20217
  rows: unknown[][];
19744
20218
  };
20219
+ /**
20220
+ * Parameter
20221
+ * @description Typed declaration of one SQL bind parameter.
20222
+ *
20223
+ * The ``name`` becomes the ``:name`` placeholder in the SQL template.
20224
+ * The ``description`` propagates into the LLM tool spec (this is what
20225
+ * Databricks' Agent Framework reads, and what Anthropic's tool-use
20226
+ * spec exposes to the model). Missing descriptions silently break
20227
+ * tool selection — the registration layer rejects empty strings.
20228
+ */
20229
+ Parameter: {
20230
+ /** Default */
20231
+ default?: string | number | boolean | null;
20232
+ /** Description */
20233
+ description: string;
20234
+ /** Name */
20235
+ name: string;
20236
+ /**
20237
+ * Required
20238
+ * @default true
20239
+ */
20240
+ required?: boolean;
20241
+ /**
20242
+ * Type
20243
+ * @enum {string}
20244
+ */
20245
+ type: "string" | "integer" | "number" | "boolean";
20246
+ };
19745
20247
  /** Participant */
19746
20248
  Participant: {
19747
20249
  /** Display Name */
@@ -20820,6 +21322,108 @@ export interface components {
20820
21322
  /** Trigger Delay Ms */
20821
21323
  trigger_delay_ms?: number | null;
20822
21324
  };
21325
+ /** PromoteRequest */
21326
+ PromoteRequest: {
21327
+ /**
21328
+ * Alias
21329
+ * @enum {string}
21330
+ */
21331
+ alias: "latest" | "staging" | "production";
21332
+ /** Version */
21333
+ version: number;
21334
+ };
21335
+ /** PromoteResponse */
21336
+ PromoteResponse: {
21337
+ /** Alias */
21338
+ alias: string;
21339
+ /** Name */
21340
+ name: string;
21341
+ /** Version */
21342
+ version: number;
21343
+ };
21344
+ /**
21345
+ * PromptLogEntry
21346
+ * @description One ``prompt_log`` event projection — full LLM input + output for a turn.
21347
+ *
21348
+ * Unbounded string fields (``system_prompt``, ``full_prompt``,
21349
+ * ``llm_response``) reflect the producer's payload as-is — typically
21350
+ * 1-50 KB each, occasionally larger for long histories. SDK consumers
21351
+ * should not assume a max length.
21352
+ */
21353
+ PromptLogEntry: {
21354
+ /** Action */
21355
+ action?: string | null;
21356
+ /** Call Sid */
21357
+ call_sid?: string | null;
21358
+ /**
21359
+ * Data Parse Error
21360
+ * @default false
21361
+ */
21362
+ data_parse_error?: boolean;
21363
+ /** Effective At */
21364
+ effective_at?: string | null;
21365
+ /**
21366
+ * Event Id
21367
+ * Format: uuid
21368
+ */
21369
+ event_id: string;
21370
+ /** Full Prompt */
21371
+ full_prompt?: string | null;
21372
+ /** Has Tools */
21373
+ has_tools?: boolean | null;
21374
+ /** History */
21375
+ history?: {
21376
+ [key: string]: unknown;
21377
+ }[] | null;
21378
+ /** Ingested At */
21379
+ ingested_at?: string | null;
21380
+ /** Llm Model */
21381
+ llm_model?: string | null;
21382
+ /** Llm Response */
21383
+ llm_response?: string | null;
21384
+ /** Prompt Type */
21385
+ prompt_type?: string | null;
21386
+ /** Service Id */
21387
+ service_id?: string | null;
21388
+ /** Session Id */
21389
+ session_id?: string | null;
21390
+ /** Source */
21391
+ source?: string | null;
21392
+ /** Source System */
21393
+ source_system?: string | null;
21394
+ /** State Name */
21395
+ state_name?: string | null;
21396
+ /** System Prompt */
21397
+ system_prompt?: string | null;
21398
+ /** Tool Names */
21399
+ tool_names?: string[];
21400
+ /** Turn Index */
21401
+ turn_index?: number | null;
21402
+ /**
21403
+ * Workspace Id
21404
+ * Format: uuid
21405
+ */
21406
+ workspace_id: string;
21407
+ };
21408
+ /** PromptLogListResponse */
21409
+ PromptLogListResponse: {
21410
+ /**
21411
+ * Applied Time Window Days
21412
+ * @description Auto-applied time bound (in days) when no call_sid/from_ts/to_ts was passed. Null when the caller supplied an explicit selectivity-bearing filter.
21413
+ */
21414
+ applied_time_window_days?: number | null;
21415
+ /** Count */
21416
+ count: number;
21417
+ /** Has More */
21418
+ has_more: boolean;
21419
+ /** Items */
21420
+ items: components["schemas"]["PromptLogEntry"][];
21421
+ /**
21422
+ * Next Offset
21423
+ * @description Pass back as offset to fetch the next page; null when has_more is false
21424
+ */
21425
+ next_offset?: number | null;
21426
+ };
20823
21427
  /**
20824
21428
  * ProviderType
20825
21429
  * @description Messaging provider that implements a channel.
@@ -21178,6 +21782,50 @@ export interface components {
21178
21782
  */
21179
21783
  status?: "available";
21180
21784
  };
21785
+ /**
21786
+ * RegisteredFunction
21787
+ * @description The authored shape of a platform function.
21788
+ *
21789
+ * Identical wire format whether it's authored as a YAML file in the
21790
+ * repo or POSTed to ``/v1/{ws}/functions/deploy``. The deploy
21791
+ * pipeline validates this, derives the JSON Schema for the LLM tool
21792
+ * spec, and INSERTs a row into ``platform.functions`` with the next
21793
+ * monotonic ``version`` per ``(workspace_id, name)``.
21794
+ */
21795
+ RegisteredFunction: {
21796
+ /** Description */
21797
+ description: string;
21798
+ /** Examples */
21799
+ examples?: components["schemas"]["FunctionExample"][];
21800
+ /**
21801
+ * Function Type
21802
+ * @default sql
21803
+ * @enum {string}
21804
+ */
21805
+ function_type?: "sql" | "ai" | "udtf" | "python";
21806
+ /** Name */
21807
+ name: string;
21808
+ /** Parameters */
21809
+ parameters?: components["schemas"]["Parameter"][];
21810
+ /**
21811
+ * Returns
21812
+ * @default table
21813
+ * @enum {string}
21814
+ */
21815
+ returns?: "table" | "scalar";
21816
+ /** Sql */
21817
+ sql: string;
21818
+ /**
21819
+ * Timeout Ms
21820
+ * @default 30000
21821
+ */
21822
+ timeout_ms?: number;
21823
+ /**
21824
+ * When To Use
21825
+ * @default
21826
+ */
21827
+ when_to_use?: string;
21828
+ };
21181
21829
  /** RegulationTemplateResponse */
21182
21830
  RegulationTemplateResponse: {
21183
21831
  /** Category */
@@ -21556,6 +22204,21 @@ export interface components {
21556
22204
  */
21557
22205
  level?: "low" | "medium" | "high" | "critical";
21558
22206
  };
22207
+ /** RollbackRequest */
22208
+ RollbackRequest: {
22209
+ /**
22210
+ * Version
22211
+ * @description Prior version to rebind latest+production to.
22212
+ */
22213
+ version: number;
22214
+ };
22215
+ /** RollbackResponse */
22216
+ RollbackResponse: {
22217
+ /** Name */
22218
+ name: string;
22219
+ /** Rolled Back To Version */
22220
+ rolled_back_to_version: number;
22221
+ };
21559
22222
  /** RotateApiKeyRequest */
21560
22223
  RotateApiKeyRequest: {
21561
22224
  /** Duration Days */
@@ -22449,6 +23112,55 @@ export interface components {
22449
23112
  /** Tts Provider */
22450
23113
  tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null;
22451
23114
  };
23115
+ /** SesSetupDetailResponse */
23116
+ SesSetupDetailResponse: {
23117
+ /**
23118
+ * Created At
23119
+ * Format: date-time
23120
+ */
23121
+ created_at: string;
23122
+ /** Dns Checked At */
23123
+ dns_checked_at: string | null;
23124
+ /** Dns Records */
23125
+ dns_records: components["schemas"]["DnsRecordResponse"][];
23126
+ /** Domain Identity */
23127
+ domain_identity: string;
23128
+ /** Id */
23129
+ id: string;
23130
+ /** Tenant Name */
23131
+ tenant_name: string;
23132
+ /**
23133
+ * Updated At
23134
+ * Format: date-time
23135
+ */
23136
+ updated_at: string;
23137
+ };
23138
+ /** SesSetupListItemResponse */
23139
+ SesSetupListItemResponse: {
23140
+ /**
23141
+ * Created At
23142
+ * Format: date-time
23143
+ */
23144
+ created_at: string;
23145
+ /** Dns Checked At */
23146
+ dns_checked_at: string | null;
23147
+ /**
23148
+ * Dns Verified
23149
+ * @description Aggregate of every DNS record's ``verified`` at the last refresh.
23150
+ */
23151
+ dns_verified: boolean;
23152
+ /** Domain Identity */
23153
+ domain_identity: string;
23154
+ /** Id */
23155
+ id: string;
23156
+ /** Tenant Name */
23157
+ tenant_name: string;
23158
+ /**
23159
+ * Updated At
23160
+ * Format: date-time
23161
+ */
23162
+ updated_at: string;
23163
+ };
22452
23164
  /** SessionEndEvent */
22453
23165
  SessionEndEvent: {
22454
23166
  /**
@@ -23613,6 +24325,8 @@ export interface components {
23613
24325
  };
23614
24326
  /** StartSessionRequest */
23615
24327
  StartSessionRequest: {
24328
+ /** @description World model canonical_id of the form 'source:resource_type:id' (e.g. 'revolution:Patient:67890'). The structural regex on CanonicalIdString blocks spaces, names, DOBs, and similar regulated content. Resolved against the SDP-projected world.entities table; a freshly-created entity may not be visible yet if the projection is lagging. Provide either entity_id or canonical_id, not both. */
24329
+ canonical_id?: components["schemas"]["CanonicalIdString"] | null;
23616
24330
  /**
23617
24331
  * Channel Kind
23618
24332
  * @enum {string}
@@ -23620,9 +24334,9 @@ export interface components {
23620
24334
  channel_kind: "sms" | "whatsapp" | "web";
23621
24335
  /**
23622
24336
  * Entity Id
23623
- * Format: uuid
24337
+ * @description World model entity UUID. Provide either entity_id or canonical_id.
23624
24338
  */
23625
- entity_id: string;
24339
+ entity_id?: string | null;
23626
24340
  /**
23627
24341
  * Greeting
23628
24342
  * @description Custom greeting. Agent auto-greets if omitted.
@@ -24896,175 +25610,6 @@ export interface components {
24896
25610
  /** Session Id */
24897
25611
  session_id: string;
24898
25612
  };
24899
- /**
24900
- * TextStreamErrorFrame
24901
- * @description Recoverable error mid-session. The connection MAY remain open;
24902
- * for terminal errors the WebSocket is closed with a 4xxx code instead
24903
- * of (or in addition to) this frame.
24904
- */
24905
- TextStreamErrorFrame: {
24906
- /** Message */
24907
- message: string;
24908
- /**
24909
- * @description discriminator enum property added by openapi-typescript
24910
- * @enum {string}
24911
- */
24912
- type: "error";
24913
- };
24914
- TextStreamFrame: components["schemas"]["TextStreamSessionStartedFrame"] | components["schemas"]["TextStreamSessionEndedFrame"] | components["schemas"]["TextStreamErrorFrame"] | components["schemas"]["TextStreamPingFrame"] | components["schemas"]["TextStreamTypingFrame"] | components["schemas"]["TextStreamResponseCompleteFrame"] | components["schemas"]["TextStreamMessageFrame"] | components["schemas"]["TextStreamToolCallStartedFrame"] | components["schemas"]["TextStreamToolCallCompletedFrame"];
24915
- /**
24916
- * TextStreamMessageFrame
24917
- * @description Final consolidated agent message for a turn. ``role`` defaults
24918
- * to ``"agent"`` because that is the only role that originates server
24919
- * frames; the field is on the wire so a future bidirectional
24920
- * extension (e.g. mid-turn system messages) can be added without a
24921
- * schema break.
24922
- */
24923
- TextStreamMessageFrame: {
24924
- /**
24925
- * Role
24926
- * @default agent
24927
- */
24928
- role?: string;
24929
- /** Text */
24930
- text: string;
24931
- /**
24932
- * @description discriminator enum property added by openapi-typescript
24933
- * @enum {string}
24934
- */
24935
- type: "message";
24936
- };
24937
- /**
24938
- * TextStreamPingFrame
24939
- * @description Keepalive frame emitted at the heartbeat interval. Consumers
24940
- * SHOULD reset the dead-socket watchdog and otherwise ignore it.
24941
- */
24942
- TextStreamPingFrame: {
24943
- /**
24944
- * @description discriminator enum property added by openapi-typescript
24945
- * @enum {string}
24946
- */
24947
- type: "ping";
24948
- };
24949
- /**
24950
- * TextStreamResponseCompleteFrame
24951
- * @description Marks the end of an agent turn. The next user message can be
24952
- * sent. ``duplicate=true`` indicates the server suppressed a repeat
24953
- * response (idempotent ``message`` send-with-same-client_message_id).
24954
- */
24955
- TextStreamResponseCompleteFrame: {
24956
- /**
24957
- * Duplicate
24958
- * @default false
24959
- */
24960
- duplicate?: boolean;
24961
- /**
24962
- * @description discriminator enum property added by openapi-typescript
24963
- * @enum {string}
24964
- */
24965
- type: "response_complete";
24966
- };
24967
- /**
24968
- * TextStreamSessionEndedFrame
24969
- * @description Graceful end-of-conversation. ``reason`` echoes the actor's
24970
- * completion reason (``stopped``, ``completed``, ``escalated``,
24971
- * ``disconnected``, ``other``).
24972
- */
24973
- TextStreamSessionEndedFrame: {
24974
- /**
24975
- * Reason
24976
- * @default other
24977
- */
24978
- reason?: string;
24979
- /**
24980
- * @description discriminator enum property added by openapi-typescript
24981
- * @enum {string}
24982
- */
24983
- type: "session_ended";
24984
- };
24985
- /**
24986
- * TextStreamSessionStartedFrame
24987
- * @description First frame after the WebSocket handshake completes. Carries the
24988
- * session_id (server-minted) and the conversation_id the actor bound
24989
- * to (newly minted, or the one supplied via the ``conversation_id``
24990
- * query param).
24991
- */
24992
- TextStreamSessionStartedFrame: {
24993
- /** Conversation Id */
24994
- conversation_id: string;
24995
- /** Session Id */
24996
- session_id: string;
24997
- /**
24998
- * @description discriminator enum property added by openapi-typescript
24999
- * @enum {string}
25000
- */
25001
- type: "session_started";
25002
- };
25003
- /**
25004
- * TextStreamToolCallCompletedFrame
25005
- * @description Companion to ``TextStreamToolCallStartedFrame``. ``result`` is
25006
- * the tool's stringified output; binary or large results are sent
25007
- * out-of-band and not surfaced here.
25008
- */
25009
- TextStreamToolCallCompletedFrame: {
25010
- /** Call Id */
25011
- call_id: string;
25012
- /**
25013
- * Result
25014
- * @default
25015
- */
25016
- result?: string;
25017
- /**
25018
- * Succeeded
25019
- * @default true
25020
- */
25021
- succeeded?: boolean;
25022
- /** Tool Name */
25023
- tool_name: string;
25024
- /**
25025
- * @description discriminator enum property added by openapi-typescript
25026
- * @enum {string}
25027
- */
25028
- type: "tool_call_completed";
25029
- };
25030
- /**
25031
- * TextStreamToolCallStartedFrame
25032
- * @description A tool-call effect from the most-recent agent turn. Both
25033
- * ``tool_call_started`` and the matching ``tool_call_completed``
25034
- * arrive after the tool already ran — they are post-hoc summaries,
25035
- * not real-time progress events. Frontends typically animate them as
25036
- * a sequence.
25037
- */
25038
- TextStreamToolCallStartedFrame: {
25039
- /** Call Id */
25040
- call_id: string;
25041
- /**
25042
- * Input
25043
- * @default null
25044
- */
25045
- input?: {
25046
- [key: string]: unknown;
25047
- } | string | null;
25048
- /** Tool Name */
25049
- tool_name: string;
25050
- /**
25051
- * @description discriminator enum property added by openapi-typescript
25052
- * @enum {string}
25053
- */
25054
- type: "tool_call_started";
25055
- };
25056
- /**
25057
- * TextStreamTypingFrame
25058
- * @description Indicates the agent is preparing a response. Pure UX hint;
25059
- * no payload.
25060
- */
25061
- TextStreamTypingFrame: {
25062
- /**
25063
- * @description discriminator enum property added by openapi-typescript
25064
- * @enum {string}
25065
- */
25066
- type: "typing";
25067
- };
25068
25613
  /**
25069
25614
  * TextTurnRequest
25070
25615
  * @description Request body for ``POST /v1/{ws}/services/{service_id}/text-turn``.
@@ -26576,8 +27121,6 @@ export interface components {
26576
27121
  UpdatePhoneNumberRequest: {
26577
27122
  /** Capabilities */
26578
27123
  capabilities?: ("inbound" | "outbound")[] | null;
26579
- /** Channel Phone Id */
26580
- channel_phone_id?: string | null;
26581
27124
  /** Display Name */
26582
27125
  display_name?: string | null;
26583
27126
  forwarding?: components["schemas"]["ForwardingConfigRequest"] | null;
@@ -26591,8 +27134,6 @@ export interface components {
26591
27134
  provider_phone_sid?: string | null;
26592
27135
  /** Status */
26593
27136
  status?: ("active" | "inactive") | null;
26594
- /** Sub Account Sid */
26595
- sub_account_sid?: string | null;
26596
27137
  };
26597
27138
  /** UpdateSafetyConfigRequest */
26598
27139
  UpdateSafetyConfigRequest: {
@@ -32577,9 +33118,12 @@ export interface operations {
32577
33118
  };
32578
33119
  };
32579
33120
  };
32580
- "get-command-center": {
33121
+ "list-ses-setups": {
32581
33122
  parameters: {
32582
- query?: never;
33123
+ query?: {
33124
+ limit?: number;
33125
+ continuation_token?: number;
33126
+ };
32583
33127
  header?: never;
32584
33128
  path: {
32585
33129
  workspace_id: string;
@@ -32594,19 +33138,28 @@ export interface operations {
32594
33138
  [name: string]: unknown;
32595
33139
  };
32596
33140
  content: {
32597
- "application/json": components["schemas"]["CommandCenterResponse"];
33141
+ "application/json": components["schemas"]["PaginatedResponse_SesSetupListItemResponse_"];
32598
33142
  };
32599
33143
  };
32600
- /** @description Rate limit exceeded */
32601
- 429: {
33144
+ /** @description Insufficient permissions. */
33145
+ 403: {
32602
33146
  headers: {
32603
33147
  [name: string]: unknown;
32604
33148
  };
32605
33149
  content?: never;
32606
33150
  };
33151
+ /** @description Validation Error */
33152
+ 422: {
33153
+ headers: {
33154
+ [name: string]: unknown;
33155
+ };
33156
+ content: {
33157
+ "application/json": components["schemas"]["HTTPValidationError"];
33158
+ };
33159
+ };
32607
33160
  };
32608
33161
  };
32609
- "get-access-review": {
33162
+ "create-ses-setup": {
32610
33163
  parameters: {
32611
33164
  query?: never;
32612
33165
  header?: never;
@@ -32615,19 +33168,51 @@ export interface operations {
32615
33168
  };
32616
33169
  cookie?: never;
32617
33170
  };
32618
- requestBody?: never;
33171
+ requestBody: {
33172
+ content: {
33173
+ "application/json": components["schemas"]["CreateSesSetupRequest"];
33174
+ };
33175
+ };
32619
33176
  responses: {
32620
33177
  /** @description Successful Response */
32621
- 200: {
33178
+ 201: {
32622
33179
  headers: {
32623
33180
  [name: string]: unknown;
32624
33181
  };
32625
33182
  content: {
32626
- "application/json": components["schemas"]["AccessReviewResponse"];
33183
+ "application/json": components["schemas"]["SesSetupDetailResponse"];
32627
33184
  };
32628
33185
  };
32629
- /** @description Rate limited */
32630
- 429: {
33186
+ /** @description Insufficient permissions. */
33187
+ 403: {
33188
+ headers: {
33189
+ [name: string]: unknown;
33190
+ };
33191
+ content?: never;
33192
+ };
33193
+ /** @description Tenant name or domain identity already exists upstream. */
33194
+ 409: {
33195
+ headers: {
33196
+ [name: string]: unknown;
33197
+ };
33198
+ content?: never;
33199
+ };
33200
+ /** @description Invalid SES setup configuration. */
33201
+ 422: {
33202
+ headers: {
33203
+ [name: string]: unknown;
33204
+ };
33205
+ content?: never;
33206
+ };
33207
+ /** @description Channel manager unavailable. */
33208
+ 502: {
33209
+ headers: {
33210
+ [name: string]: unknown;
33211
+ };
33212
+ content?: never;
33213
+ };
33214
+ /** @description Channel manager timed out. */
33215
+ 504: {
32631
33216
  headers: {
32632
33217
  [name: string]: unknown;
32633
33218
  };
@@ -32635,12 +33220,13 @@ export interface operations {
32635
33220
  };
32636
33221
  };
32637
33222
  };
32638
- "get-compliance-dashboard": {
33223
+ "get-ses-setup": {
32639
33224
  parameters: {
32640
33225
  query?: never;
32641
33226
  header?: never;
32642
33227
  path: {
32643
33228
  workspace_id: string;
33229
+ setup_id: string;
32644
33230
  };
32645
33231
  cookie?: never;
32646
33232
  };
@@ -32652,40 +33238,73 @@ export interface operations {
32652
33238
  [name: string]: unknown;
32653
33239
  };
32654
33240
  content: {
32655
- "application/json": components["schemas"]["ComplianceDashboardResponse"];
33241
+ "application/json": components["schemas"]["SesSetupDetailResponse"];
32656
33242
  };
32657
33243
  };
32658
- /** @description Rate limited */
32659
- 429: {
33244
+ /** @description Insufficient permissions. */
33245
+ 403: {
32660
33246
  headers: {
32661
33247
  [name: string]: unknown;
32662
33248
  };
32663
33249
  content?: never;
32664
33250
  };
33251
+ /** @description SES setup not found in this workspace. */
33252
+ 404: {
33253
+ headers: {
33254
+ [name: string]: unknown;
33255
+ };
33256
+ content?: never;
33257
+ };
33258
+ /** @description Validation Error */
33259
+ 422: {
33260
+ headers: {
33261
+ [name: string]: unknown;
33262
+ };
33263
+ content: {
33264
+ "application/json": components["schemas"]["HTTPValidationError"];
33265
+ };
33266
+ };
32665
33267
  };
32666
33268
  };
32667
- "get-hipaa-report": {
33269
+ "delete-ses-setup": {
32668
33270
  parameters: {
32669
- query?: {
32670
- /** @description Report period in days */
32671
- report_period_days?: number;
32672
- };
33271
+ query?: never;
32673
33272
  header?: never;
32674
33273
  path: {
32675
33274
  workspace_id: string;
33275
+ setup_id: string;
32676
33276
  };
32677
33277
  cookie?: never;
32678
33278
  };
32679
33279
  requestBody?: never;
32680
33280
  responses: {
32681
33281
  /** @description Successful Response */
32682
- 200: {
33282
+ 204: {
32683
33283
  headers: {
32684
33284
  [name: string]: unknown;
32685
33285
  };
32686
- content: {
32687
- "application/json": components["schemas"]["HipaaReportResponse"];
33286
+ content?: never;
33287
+ };
33288
+ /** @description Insufficient permissions. */
33289
+ 403: {
33290
+ headers: {
33291
+ [name: string]: unknown;
32688
33292
  };
33293
+ content?: never;
33294
+ };
33295
+ /** @description SES setup not found in this workspace. */
33296
+ 404: {
33297
+ headers: {
33298
+ [name: string]: unknown;
33299
+ };
33300
+ content?: never;
33301
+ };
33302
+ /** @description Setup still referenced by live use cases. */
33303
+ 409: {
33304
+ headers: {
33305
+ [name: string]: unknown;
33306
+ };
33307
+ content?: never;
32689
33308
  };
32690
33309
  /** @description Validation Error */
32691
33310
  422: {
@@ -32696,8 +33315,15 @@ export interface operations {
32696
33315
  "application/json": components["schemas"]["HTTPValidationError"];
32697
33316
  };
32698
33317
  };
32699
- /** @description Rate limited */
32700
- 429: {
33318
+ /** @description Channel manager unavailable. */
33319
+ 502: {
33320
+ headers: {
33321
+ [name: string]: unknown;
33322
+ };
33323
+ content?: never;
33324
+ };
33325
+ /** @description Channel manager timed out. */
33326
+ 504: {
32701
33327
  headers: {
32702
33328
  [name: string]: unknown;
32703
33329
  };
@@ -32705,17 +33331,13 @@ export interface operations {
32705
33331
  };
32706
33332
  };
32707
33333
  };
32708
- "list-context_graphs": {
33334
+ "verify-ses-setup-dns": {
32709
33335
  parameters: {
32710
- query?: {
32711
- search?: components["schemas"]["SearchString"] | null;
32712
- sort_by?: string | null;
32713
- limit?: number;
32714
- continuation_token?: number;
32715
- };
33336
+ query?: never;
32716
33337
  header?: never;
32717
33338
  path: {
32718
33339
  workspace_id: string;
33340
+ setup_id: string;
32719
33341
  };
32720
33342
  cookie?: never;
32721
33343
  };
@@ -32727,16 +33349,9 @@ export interface operations {
32727
33349
  [name: string]: unknown;
32728
33350
  };
32729
33351
  content: {
32730
- "application/json": components["schemas"]["PaginatedResponse_ContextGraphResponse_"];
33352
+ "application/json": components["schemas"]["SesSetupDetailResponse"];
32731
33353
  };
32732
33354
  };
32733
- /** @description Missing or invalid API key. */
32734
- 401: {
32735
- headers: {
32736
- [name: string]: unknown;
32737
- };
32738
- content?: never;
32739
- };
32740
33355
  /** @description Insufficient permissions. */
32741
33356
  403: {
32742
33357
  headers: {
@@ -32744,7 +33359,7 @@ export interface operations {
32744
33359
  };
32745
33360
  content?: never;
32746
33361
  };
32747
- /** @description Not found. */
33362
+ /** @description SES setup not found in this workspace. */
32748
33363
  404: {
32749
33364
  headers: {
32750
33365
  [name: string]: unknown;
@@ -32762,7 +33377,7 @@ export interface operations {
32762
33377
  };
32763
33378
  };
32764
33379
  };
32765
- "create-context_graph": {
33380
+ "get-command-center": {
32766
33381
  parameters: {
32767
33382
  query?: never;
32768
33383
  header?: never;
@@ -32771,51 +33386,118 @@ export interface operations {
32771
33386
  };
32772
33387
  cookie?: never;
32773
33388
  };
32774
- requestBody: {
32775
- content: {
32776
- "application/json": components["schemas"]["CreateContextGraphRequest"];
33389
+ requestBody?: never;
33390
+ responses: {
33391
+ /** @description Successful Response */
33392
+ 200: {
33393
+ headers: {
33394
+ [name: string]: unknown;
33395
+ };
33396
+ content: {
33397
+ "application/json": components["schemas"]["CommandCenterResponse"];
33398
+ };
33399
+ };
33400
+ /** @description Rate limit exceeded */
33401
+ 429: {
33402
+ headers: {
33403
+ [name: string]: unknown;
33404
+ };
33405
+ content?: never;
32777
33406
  };
32778
33407
  };
33408
+ };
33409
+ "get-access-review": {
33410
+ parameters: {
33411
+ query?: never;
33412
+ header?: never;
33413
+ path: {
33414
+ workspace_id: string;
33415
+ };
33416
+ cookie?: never;
33417
+ };
33418
+ requestBody?: never;
32779
33419
  responses: {
32780
33420
  /** @description Successful Response */
32781
- 201: {
33421
+ 200: {
32782
33422
  headers: {
32783
33423
  [name: string]: unknown;
32784
33424
  };
32785
33425
  content: {
32786
- "application/json": components["schemas"]["ContextGraphResponse"];
33426
+ "application/json": components["schemas"]["AccessReviewResponse"];
32787
33427
  };
32788
33428
  };
32789
- /** @description Missing or invalid API key. */
32790
- 401: {
33429
+ /** @description Rate limited */
33430
+ 429: {
32791
33431
  headers: {
32792
33432
  [name: string]: unknown;
32793
33433
  };
32794
33434
  content?: never;
32795
33435
  };
32796
- /** @description Insufficient permissions. */
32797
- 403: {
33436
+ };
33437
+ };
33438
+ "get-compliance-dashboard": {
33439
+ parameters: {
33440
+ query?: never;
33441
+ header?: never;
33442
+ path: {
33443
+ workspace_id: string;
33444
+ };
33445
+ cookie?: never;
33446
+ };
33447
+ requestBody?: never;
33448
+ responses: {
33449
+ /** @description Successful Response */
33450
+ 200: {
32798
33451
  headers: {
32799
33452
  [name: string]: unknown;
32800
33453
  };
32801
- content?: never;
33454
+ content: {
33455
+ "application/json": components["schemas"]["ComplianceDashboardResponse"];
33456
+ };
32802
33457
  };
32803
- /** @description Not found. */
32804
- 404: {
33458
+ /** @description Rate limited */
33459
+ 429: {
32805
33460
  headers: {
32806
33461
  [name: string]: unknown;
32807
33462
  };
32808
33463
  content?: never;
32809
33464
  };
32810
- /** @description Name already taken. */
32811
- 409: {
33465
+ };
33466
+ };
33467
+ "get-hipaa-report": {
33468
+ parameters: {
33469
+ query?: {
33470
+ /** @description Report period in days */
33471
+ report_period_days?: number;
33472
+ };
33473
+ header?: never;
33474
+ path: {
33475
+ workspace_id: string;
33476
+ };
33477
+ cookie?: never;
33478
+ };
33479
+ requestBody?: never;
33480
+ responses: {
33481
+ /** @description Successful Response */
33482
+ 200: {
32812
33483
  headers: {
32813
33484
  [name: string]: unknown;
32814
33485
  };
32815
- content?: never;
33486
+ content: {
33487
+ "application/json": components["schemas"]["HipaaReportResponse"];
33488
+ };
32816
33489
  };
32817
- /** @description Invalid request body. */
33490
+ /** @description Validation Error */
32818
33491
  422: {
33492
+ headers: {
33493
+ [name: string]: unknown;
33494
+ };
33495
+ content: {
33496
+ "application/json": components["schemas"]["HTTPValidationError"];
33497
+ };
33498
+ };
33499
+ /** @description Rate limited */
33500
+ 429: {
32819
33501
  headers: {
32820
33502
  [name: string]: unknown;
32821
33503
  };
@@ -32823,13 +33505,17 @@ export interface operations {
32823
33505
  };
32824
33506
  };
32825
33507
  };
32826
- "get-context_graph": {
33508
+ "list-context_graphs": {
32827
33509
  parameters: {
32828
- query?: never;
33510
+ query?: {
33511
+ search?: components["schemas"]["SearchString"] | null;
33512
+ sort_by?: string | null;
33513
+ limit?: number;
33514
+ continuation_token?: number;
33515
+ };
32829
33516
  header?: never;
32830
33517
  path: {
32831
33518
  workspace_id: string;
32832
- context_graph_id: string;
32833
33519
  };
32834
33520
  cookie?: never;
32835
33521
  };
@@ -32841,7 +33527,7 @@ export interface operations {
32841
33527
  [name: string]: unknown;
32842
33528
  };
32843
33529
  content: {
32844
- "application/json": components["schemas"]["ContextGraphResponse"];
33530
+ "application/json": components["schemas"]["PaginatedResponse_ContextGraphResponse_"];
32845
33531
  };
32846
33532
  };
32847
33533
  /** @description Missing or invalid API key. */
@@ -32876,24 +33562,138 @@ export interface operations {
32876
33562
  };
32877
33563
  };
32878
33564
  };
32879
- "update-context_graph": {
33565
+ "create-context_graph": {
32880
33566
  parameters: {
32881
33567
  query?: never;
32882
33568
  header?: never;
32883
33569
  path: {
32884
33570
  workspace_id: string;
32885
- context_graph_id: string;
32886
33571
  };
32887
33572
  cookie?: never;
32888
33573
  };
32889
33574
  requestBody: {
32890
33575
  content: {
32891
- "application/json": components["schemas"]["UpdateContextGraphRequest"];
33576
+ "application/json": components["schemas"]["CreateContextGraphRequest"];
32892
33577
  };
32893
33578
  };
32894
33579
  responses: {
32895
33580
  /** @description Successful Response */
32896
- 200: {
33581
+ 201: {
33582
+ headers: {
33583
+ [name: string]: unknown;
33584
+ };
33585
+ content: {
33586
+ "application/json": components["schemas"]["ContextGraphResponse"];
33587
+ };
33588
+ };
33589
+ /** @description Missing or invalid API key. */
33590
+ 401: {
33591
+ headers: {
33592
+ [name: string]: unknown;
33593
+ };
33594
+ content?: never;
33595
+ };
33596
+ /** @description Insufficient permissions. */
33597
+ 403: {
33598
+ headers: {
33599
+ [name: string]: unknown;
33600
+ };
33601
+ content?: never;
33602
+ };
33603
+ /** @description Not found. */
33604
+ 404: {
33605
+ headers: {
33606
+ [name: string]: unknown;
33607
+ };
33608
+ content?: never;
33609
+ };
33610
+ /** @description Name already taken. */
33611
+ 409: {
33612
+ headers: {
33613
+ [name: string]: unknown;
33614
+ };
33615
+ content?: never;
33616
+ };
33617
+ /** @description Invalid request body. */
33618
+ 422: {
33619
+ headers: {
33620
+ [name: string]: unknown;
33621
+ };
33622
+ content?: never;
33623
+ };
33624
+ };
33625
+ };
33626
+ "get-context_graph": {
33627
+ parameters: {
33628
+ query?: never;
33629
+ header?: never;
33630
+ path: {
33631
+ workspace_id: string;
33632
+ context_graph_id: string;
33633
+ };
33634
+ cookie?: never;
33635
+ };
33636
+ requestBody?: never;
33637
+ responses: {
33638
+ /** @description Successful Response */
33639
+ 200: {
33640
+ headers: {
33641
+ [name: string]: unknown;
33642
+ };
33643
+ content: {
33644
+ "application/json": components["schemas"]["ContextGraphResponse"];
33645
+ };
33646
+ };
33647
+ /** @description Missing or invalid API key. */
33648
+ 401: {
33649
+ headers: {
33650
+ [name: string]: unknown;
33651
+ };
33652
+ content?: never;
33653
+ };
33654
+ /** @description Insufficient permissions. */
33655
+ 403: {
33656
+ headers: {
33657
+ [name: string]: unknown;
33658
+ };
33659
+ content?: never;
33660
+ };
33661
+ /** @description Not found. */
33662
+ 404: {
33663
+ headers: {
33664
+ [name: string]: unknown;
33665
+ };
33666
+ content?: never;
33667
+ };
33668
+ /** @description Validation Error */
33669
+ 422: {
33670
+ headers: {
33671
+ [name: string]: unknown;
33672
+ };
33673
+ content: {
33674
+ "application/json": components["schemas"]["HTTPValidationError"];
33675
+ };
33676
+ };
33677
+ };
33678
+ };
33679
+ "update-context_graph": {
33680
+ parameters: {
33681
+ query?: never;
33682
+ header?: never;
33683
+ path: {
33684
+ workspace_id: string;
33685
+ context_graph_id: string;
33686
+ };
33687
+ cookie?: never;
33688
+ };
33689
+ requestBody: {
33690
+ content: {
33691
+ "application/json": components["schemas"]["UpdateContextGraphRequest"];
33692
+ };
33693
+ };
33694
+ responses: {
33695
+ /** @description Successful Response */
33696
+ 200: {
32897
33697
  headers: {
32898
33698
  [name: string]: unknown;
32899
33699
  };
@@ -35790,6 +36590,53 @@ export interface operations {
35790
36590
  };
35791
36591
  };
35792
36592
  };
36593
+ "deploy-function": {
36594
+ parameters: {
36595
+ query?: never;
36596
+ header?: never;
36597
+ path: {
36598
+ workspace_id: string;
36599
+ };
36600
+ cookie?: never;
36601
+ };
36602
+ requestBody: {
36603
+ content: {
36604
+ "application/json": components["schemas"]["RegisteredFunction"];
36605
+ };
36606
+ };
36607
+ responses: {
36608
+ /** @description Successful Response */
36609
+ 200: {
36610
+ headers: {
36611
+ [name: string]: unknown;
36612
+ };
36613
+ content: {
36614
+ "application/json": components["schemas"]["FunctionVersionResponse"];
36615
+ };
36616
+ };
36617
+ /** @description Concurrent deploy raced at the same version */
36618
+ 409: {
36619
+ headers: {
36620
+ [name: string]: unknown;
36621
+ };
36622
+ content?: never;
36623
+ };
36624
+ /** @description Validation failure (read-only / bind / parity) */
36625
+ 422: {
36626
+ headers: {
36627
+ [name: string]: unknown;
36628
+ };
36629
+ content?: never;
36630
+ };
36631
+ /** @description Rate limited */
36632
+ 429: {
36633
+ headers: {
36634
+ [name: string]: unknown;
36635
+ };
36636
+ content?: never;
36637
+ };
36638
+ };
36639
+ };
35793
36640
  "query-functions": {
35794
36641
  parameters: {
35795
36642
  query?: never;
@@ -35839,6 +36686,35 @@ export interface operations {
35839
36686
  };
35840
36687
  };
35841
36688
  };
36689
+ "list-registered-functions": {
36690
+ parameters: {
36691
+ query?: never;
36692
+ header?: never;
36693
+ path: {
36694
+ workspace_id: string;
36695
+ };
36696
+ cookie?: never;
36697
+ };
36698
+ requestBody?: never;
36699
+ responses: {
36700
+ /** @description Successful Response */
36701
+ 200: {
36702
+ headers: {
36703
+ [name: string]: unknown;
36704
+ };
36705
+ content: {
36706
+ "application/json": components["schemas"]["FunctionVersionListResponse"];
36707
+ };
36708
+ };
36709
+ /** @description Rate limited */
36710
+ 429: {
36711
+ headers: {
36712
+ [name: string]: unknown;
36713
+ };
36714
+ content?: never;
36715
+ };
36716
+ };
36717
+ };
35842
36718
  "sync-catalog": {
35843
36719
  parameters: {
35844
36720
  query?: never;
@@ -35923,6 +36799,161 @@ export interface operations {
35923
36799
  };
35924
36800
  };
35925
36801
  };
36802
+ "invoke-function": {
36803
+ parameters: {
36804
+ query?: never;
36805
+ header?: never;
36806
+ path: {
36807
+ workspace_id: string;
36808
+ function_name: string;
36809
+ };
36810
+ cookie?: never;
36811
+ };
36812
+ requestBody: {
36813
+ content: {
36814
+ "application/json": components["schemas"]["InvokeRequest"];
36815
+ };
36816
+ };
36817
+ responses: {
36818
+ /** @description Successful Response */
36819
+ 200: {
36820
+ headers: {
36821
+ [name: string]: unknown;
36822
+ };
36823
+ content: {
36824
+ "application/json": components["schemas"]["InvokeResponse"];
36825
+ };
36826
+ };
36827
+ /** @description Function not found */
36828
+ 404: {
36829
+ headers: {
36830
+ [name: string]: unknown;
36831
+ };
36832
+ content?: never;
36833
+ };
36834
+ /** @description Bind validation failure */
36835
+ 422: {
36836
+ headers: {
36837
+ [name: string]: unknown;
36838
+ };
36839
+ content?: never;
36840
+ };
36841
+ /** @description Rate limited */
36842
+ 429: {
36843
+ headers: {
36844
+ [name: string]: unknown;
36845
+ };
36846
+ content?: never;
36847
+ };
36848
+ /** @description Databricks SQL client unavailable */
36849
+ 503: {
36850
+ headers: {
36851
+ [name: string]: unknown;
36852
+ };
36853
+ content?: never;
36854
+ };
36855
+ };
36856
+ };
36857
+ "promote-function": {
36858
+ parameters: {
36859
+ query?: never;
36860
+ header?: never;
36861
+ path: {
36862
+ workspace_id: string;
36863
+ function_name: string;
36864
+ };
36865
+ cookie?: never;
36866
+ };
36867
+ requestBody: {
36868
+ content: {
36869
+ "application/json": components["schemas"]["PromoteRequest"];
36870
+ };
36871
+ };
36872
+ responses: {
36873
+ /** @description Successful Response */
36874
+ 200: {
36875
+ headers: {
36876
+ [name: string]: unknown;
36877
+ };
36878
+ content: {
36879
+ "application/json": components["schemas"]["PromoteResponse"];
36880
+ };
36881
+ };
36882
+ /** @description Function or version not found */
36883
+ 404: {
36884
+ headers: {
36885
+ [name: string]: unknown;
36886
+ };
36887
+ content?: never;
36888
+ };
36889
+ /** @description Validation Error */
36890
+ 422: {
36891
+ headers: {
36892
+ [name: string]: unknown;
36893
+ };
36894
+ content: {
36895
+ "application/json": components["schemas"]["HTTPValidationError"];
36896
+ };
36897
+ };
36898
+ /** @description Rate limited */
36899
+ 429: {
36900
+ headers: {
36901
+ [name: string]: unknown;
36902
+ };
36903
+ content?: never;
36904
+ };
36905
+ };
36906
+ };
36907
+ "rollback-function": {
36908
+ parameters: {
36909
+ query?: never;
36910
+ header?: never;
36911
+ path: {
36912
+ workspace_id: string;
36913
+ function_name: string;
36914
+ };
36915
+ cookie?: never;
36916
+ };
36917
+ requestBody: {
36918
+ content: {
36919
+ "application/json": components["schemas"]["RollbackRequest"];
36920
+ };
36921
+ };
36922
+ responses: {
36923
+ /** @description Successful Response */
36924
+ 200: {
36925
+ headers: {
36926
+ [name: string]: unknown;
36927
+ };
36928
+ content: {
36929
+ "application/json": components["schemas"]["RollbackResponse"];
36930
+ };
36931
+ };
36932
+ /** @description Function or version not found */
36933
+ 404: {
36934
+ headers: {
36935
+ [name: string]: unknown;
36936
+ };
36937
+ content?: never;
36938
+ };
36939
+ /** @description Validation Error */
36940
+ 422: {
36941
+ headers: {
36942
+ [name: string]: unknown;
36943
+ };
36944
+ content: {
36945
+ "application/json": components["schemas"]["HTTPValidationError"];
36946
+ };
36947
+ };
36948
+ /** @description Rate limited */
36949
+ 429: {
36950
+ headers: {
36951
+ [name: string]: unknown;
36952
+ };
36953
+ content?: never;
36954
+ };
36955
+ };
36956
+ };
35926
36957
  "test-function": {
35927
36958
  parameters: {
35928
36959
  query?: never;
@@ -35980,6 +37011,157 @@ export interface operations {
35980
37011
  };
35981
37012
  };
35982
37013
  };
37014
+ "test-function-v2": {
37015
+ parameters: {
37016
+ query?: never;
37017
+ header?: never;
37018
+ path: {
37019
+ workspace_id: string;
37020
+ function_name: string;
37021
+ };
37022
+ cookie?: never;
37023
+ };
37024
+ requestBody: {
37025
+ content: {
37026
+ "application/json": components["schemas"]["InvokeRequest"];
37027
+ };
37028
+ };
37029
+ responses: {
37030
+ /** @description Successful Response */
37031
+ 200: {
37032
+ headers: {
37033
+ [name: string]: unknown;
37034
+ };
37035
+ content: {
37036
+ "application/json": components["schemas"]["InvokeResponse"];
37037
+ };
37038
+ };
37039
+ /** @description Function not found */
37040
+ 404: {
37041
+ headers: {
37042
+ [name: string]: unknown;
37043
+ };
37044
+ content?: never;
37045
+ };
37046
+ /** @description Validation Error */
37047
+ 422: {
37048
+ headers: {
37049
+ [name: string]: unknown;
37050
+ };
37051
+ content: {
37052
+ "application/json": components["schemas"]["HTTPValidationError"];
37053
+ };
37054
+ };
37055
+ /** @description Rate limited */
37056
+ 429: {
37057
+ headers: {
37058
+ [name: string]: unknown;
37059
+ };
37060
+ content?: never;
37061
+ };
37062
+ /** @description Databricks SQL client unavailable */
37063
+ 503: {
37064
+ headers: {
37065
+ [name: string]: unknown;
37066
+ };
37067
+ content?: never;
37068
+ };
37069
+ };
37070
+ };
37071
+ "get-function-version": {
37072
+ parameters: {
37073
+ query?: {
37074
+ alias?: "latest" | "staging" | "production";
37075
+ };
37076
+ header?: never;
37077
+ path: {
37078
+ workspace_id: string;
37079
+ function_name: string;
37080
+ };
37081
+ cookie?: never;
37082
+ };
37083
+ requestBody?: never;
37084
+ responses: {
37085
+ /** @description Successful Response */
37086
+ 200: {
37087
+ headers: {
37088
+ [name: string]: unknown;
37089
+ };
37090
+ content: {
37091
+ "application/json": components["schemas"]["FunctionVersionResponse"];
37092
+ };
37093
+ };
37094
+ /** @description Function not found */
37095
+ 404: {
37096
+ headers: {
37097
+ [name: string]: unknown;
37098
+ };
37099
+ content?: never;
37100
+ };
37101
+ /** @description Validation Error */
37102
+ 422: {
37103
+ headers: {
37104
+ [name: string]: unknown;
37105
+ };
37106
+ content: {
37107
+ "application/json": components["schemas"]["HTTPValidationError"];
37108
+ };
37109
+ };
37110
+ /** @description Rate limited */
37111
+ 429: {
37112
+ headers: {
37113
+ [name: string]: unknown;
37114
+ };
37115
+ content?: never;
37116
+ };
37117
+ };
37118
+ };
37119
+ "list-function-versions": {
37120
+ parameters: {
37121
+ query?: never;
37122
+ header?: never;
37123
+ path: {
37124
+ workspace_id: string;
37125
+ function_name: string;
37126
+ };
37127
+ cookie?: never;
37128
+ };
37129
+ requestBody?: never;
37130
+ responses: {
37131
+ /** @description Successful Response */
37132
+ 200: {
37133
+ headers: {
37134
+ [name: string]: unknown;
37135
+ };
37136
+ content: {
37137
+ "application/json": components["schemas"]["FunctionVersionListResponse"];
37138
+ };
37139
+ };
37140
+ /** @description Function not found */
37141
+ 404: {
37142
+ headers: {
37143
+ [name: string]: unknown;
37144
+ };
37145
+ content?: never;
37146
+ };
37147
+ /** @description Validation Error */
37148
+ 422: {
37149
+ headers: {
37150
+ [name: string]: unknown;
37151
+ };
37152
+ content: {
37153
+ "application/json": components["schemas"]["HTTPValidationError"];
37154
+ };
37155
+ };
37156
+ /** @description Rate limited */
37157
+ 429: {
37158
+ headers: {
37159
+ [name: string]: unknown;
37160
+ };
37161
+ content?: never;
37162
+ };
37163
+ };
37164
+ };
35983
37165
  receive_webhook_v1__workspace_id__hooks__destination_id__post: {
35984
37166
  parameters: {
35985
37167
  query?: never;
@@ -39932,6 +41114,66 @@ export interface operations {
39932
41114
  };
39933
41115
  };
39934
41116
  };
41117
+ "list-prompt-logs": {
41118
+ parameters: {
41119
+ query?: {
41120
+ /** @description Filter to a single call (Twilio SID or simulation session id) */
41121
+ call_sid?: string | null;
41122
+ /** @description Filter by prompt_type (e.g. engage_user, navigation, tool) */
41123
+ prompt_type?: string | null;
41124
+ /** @description Filter by HSM state_name at render time */
41125
+ state_name?: string | null;
41126
+ /** @description Inclusive lower bound on effective_at */
41127
+ from_ts?: string | null;
41128
+ /** @description Exclusive upper bound on effective_at */
41129
+ to_ts?: string | null;
41130
+ /** @description Max rows to return (default 20, max 200) */
41131
+ limit?: number;
41132
+ /** @description Offset for pagination (max 10000) */
41133
+ offset?: number;
41134
+ };
41135
+ header?: never;
41136
+ path: {
41137
+ workspace_id: string;
41138
+ };
41139
+ cookie?: never;
41140
+ };
41141
+ requestBody?: never;
41142
+ responses: {
41143
+ /** @description Prompt log entries (newest first) */
41144
+ 200: {
41145
+ headers: {
41146
+ [name: string]: unknown;
41147
+ };
41148
+ content: {
41149
+ "application/json": components["schemas"]["PromptLogListResponse"];
41150
+ };
41151
+ };
41152
+ /** @description Caller is not admin/owner */
41153
+ 403: {
41154
+ headers: {
41155
+ [name: string]: unknown;
41156
+ };
41157
+ content?: never;
41158
+ };
41159
+ /** @description Validation Error */
41160
+ 422: {
41161
+ headers: {
41162
+ [name: string]: unknown;
41163
+ };
41164
+ content: {
41165
+ "application/json": components["schemas"]["HTTPValidationError"];
41166
+ };
41167
+ };
41168
+ /** @description Raw world event reads disabled or warehouse unavailable */
41169
+ 503: {
41170
+ headers: {
41171
+ [name: string]: unknown;
41172
+ };
41173
+ content?: never;
41174
+ };
41175
+ };
41176
+ };
39935
41177
  query_table_v1__workspace_id__query__schema___table__get: {
39936
41178
  parameters: {
39937
41179
  query?: {