@amigo-ai/platform-sdk 0.53.0 → 0.54.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 (45) hide show
  1. package/README.md +2 -4
  2. package/api.md +3 -50
  3. package/dist/index.cjs +11 -356
  4. package/dist/index.cjs.map +4 -4
  5. package/dist/index.js +0 -14
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +11 -356
  8. package/dist/index.mjs.map +4 -4
  9. package/dist/resources/analytics.js +0 -6
  10. package/dist/resources/analytics.js.map +1 -1
  11. package/dist/resources/functions.js +10 -118
  12. package/dist/resources/functions.js.map +1 -1
  13. package/dist/types/generated/api.d.ts +121 -3538
  14. package/dist/types/generated/api.d.ts.map +1 -1
  15. package/dist/types/index.d.cts +0 -10
  16. package/dist/types/index.d.cts.map +1 -1
  17. package/dist/types/index.d.ts +0 -10
  18. package/dist/types/index.d.ts.map +1 -1
  19. package/dist/types/resources/analytics.d.ts +0 -25
  20. package/dist/types/resources/analytics.d.ts.map +1 -1
  21. package/dist/types/resources/functions.d.ts +21 -186
  22. package/dist/types/resources/functions.d.ts.map +1 -1
  23. package/dist/types/resources/intake.d.ts.map +1 -1
  24. package/dist/types/resources/metrics.d.ts.map +1 -1
  25. package/dist/types/resources/operators.d.ts.map +1 -1
  26. package/dist/types/resources/services.d.ts.map +1 -1
  27. package/dist/types/resources/settings.d.ts.map +1 -1
  28. package/dist/types/resources/surfaces.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/dist/resources/monitor-concepts.js +0 -47
  31. package/dist/resources/monitor-concepts.js.map +0 -1
  32. package/dist/resources/phone-numbers.js +0 -56
  33. package/dist/resources/phone-numbers.js.map +0 -1
  34. package/dist/resources/safety.js +0 -31
  35. package/dist/resources/safety.js.map +0 -1
  36. package/dist/resources/unification-rules.js +0 -46
  37. package/dist/resources/unification-rules.js.map +0 -1
  38. package/dist/types/resources/monitor-concepts.d.ts +0 -115
  39. package/dist/types/resources/monitor-concepts.d.ts.map +0 -1
  40. package/dist/types/resources/phone-numbers.d.ts +0 -145
  41. package/dist/types/resources/phone-numbers.d.ts.map +0 -1
  42. package/dist/types/resources/safety.d.ts +0 -83
  43. package/dist/types/resources/safety.d.ts.map +0 -1
  44. package/dist/types/resources/unification-rules.d.ts +0 -129
  45. package/dist/types/resources/unification-rules.d.ts.map +0 -1
@@ -1005,26 +1005,6 @@ export interface paths {
1005
1005
  patch?: never;
1006
1006
  trace?: never;
1007
1007
  };
1008
- "/v1/{workspace_id}/analytics/safety-trends": {
1009
- parameters: {
1010
- query?: never;
1011
- header?: never;
1012
- path?: never;
1013
- cookie?: never;
1014
- };
1015
- /**
1016
- * Safety Trends
1017
- * @description Safety and escalation trends — risk distribution, safety matches.
1018
- */
1019
- get: operations["get-safety-trends"];
1020
- put?: never;
1021
- post?: never;
1022
- delete?: never;
1023
- options?: never;
1024
- head?: never;
1025
- patch?: never;
1026
- trace?: never;
1027
- };
1028
1008
  "/v1/{workspace_id}/analytics/surfaces/channel-effectiveness": {
1029
1009
  parameters: {
1030
1010
  query?: never;
@@ -3035,48 +3015,13 @@ export interface paths {
3035
3015
  cookie?: never;
3036
3016
  };
3037
3017
  /**
3038
- * List registered functions
3039
- * @description List all registered platform functions.
3018
+ * List every platform function registered in the workspace
3019
+ * @description List every platform function registered in the workspace.
3040
3020
  *
3041
- * Permissions: authenticated (any role).
3021
+ * Permissions: ``Workspace.view`` (read role and above).
3042
3022
  */
3043
3023
  get: operations["list-functions"];
3044
3024
  put?: never;
3045
- /**
3046
- * Register a new function
3047
- * @description Register a new platform function.
3048
- *
3049
- * The function must already exist in Databricks Unity Catalog.
3050
- * This endpoint registers it so agents can discover and call it.
3051
- *
3052
- * Permissions: admin, owner.
3053
- */
3054
- post: operations["create-function"];
3055
- delete?: never;
3056
- options?: never;
3057
- head?: never;
3058
- patch?: never;
3059
- trace?: never;
3060
- };
3061
- "/v1/{workspace_id}/functions/catalog": {
3062
- parameters: {
3063
- query?: never;
3064
- header?: never;
3065
- path?: never;
3066
- cookie?: never;
3067
- };
3068
- /**
3069
- * Discover functions from Databricks UC catalog
3070
- * @description Discover available functions from the Databricks UC catalog.
3071
- *
3072
- * Queries ``INFORMATION_SCHEMA.ROUTINES`` to find all functions with
3073
- * a COMMENT clause. Shows which functions are already registered in
3074
- * this workspace.
3075
- *
3076
- * Permissions: admin, owner.
3077
- */
3078
- get: operations["discover-catalog"];
3079
- put?: never;
3080
3025
  post?: never;
3081
3026
  delete?: never;
3082
3027
  options?: never;
@@ -3084,60 +3029,7 @@ export interface paths {
3084
3029
  patch?: never;
3085
3030
  trace?: never;
3086
3031
  };
3087
- "/v1/{workspace_id}/functions/deploy": {
3088
- parameters: {
3089
- query?: never;
3090
- header?: never;
3091
- path?: never;
3092
- cookie?: never;
3093
- };
3094
- get?: never;
3095
- put?: never;
3096
- /**
3097
- * Deploy (validate + register) a platform function
3098
- * @description Validate + register a new platform function version.
3099
- *
3100
- * Atomic: validation + INSERT + alias rebind happen in one
3101
- * transaction. The next ``version`` is allocated server-side as
3102
- * ``max(existing) + 1`` per ``(workspace, name)``; concurrent
3103
- * deploys race-fail on the UNIQUE constraint and surface as 409.
3104
- *
3105
- * Permissions: admin, owner.
3106
- */
3107
- post: operations["deploy-function"];
3108
- delete?: never;
3109
- options?: never;
3110
- head?: never;
3111
- patch?: never;
3112
- trace?: never;
3113
- };
3114
- "/v1/{workspace_id}/functions/query": {
3115
- parameters: {
3116
- query?: never;
3117
- header?: never;
3118
- path?: never;
3119
- cookie?: never;
3120
- };
3121
- get?: never;
3122
- put?: never;
3123
- /**
3124
- * Execute an open-scope SQL query
3125
- * @description Execute an open-scope read-only SQL query via agent-engine.
3126
- *
3127
- * The SQL is validated to be read-only (SELECT/WITH only) and executed
3128
- * on a Databricks serverless warehouse. Can query world model data
3129
- * (``lakebase_production.world.*``) and analytics (``billing.public.*``).
3130
- *
3131
- * Permissions: admin, owner (requires ``tools:test`` scope).
3132
- */
3133
- post: operations["query-functions"];
3134
- delete?: never;
3135
- options?: never;
3136
- head?: never;
3137
- patch?: never;
3138
- trace?: never;
3139
- };
3140
- "/v1/{workspace_id}/functions/registered": {
3032
+ "/v1/{workspace_id}/functions/{function_name}": {
3141
3033
  parameters: {
3142
3034
  query?: never;
3143
3035
  header?: never;
@@ -3145,73 +3037,32 @@ export interface paths {
3145
3037
  cookie?: never;
3146
3038
  };
3147
3039
  /**
3148
- * List latest version of every V109 platform function in the workspace
3149
- * @description List the ``latest`` version of every V109-registered function
3150
- * in the workspace.
3151
- *
3152
- * Returns one row per function (the alias-pinned latest version).
3153
- * The Studio + SDK use this to render a workspace-wide directory of
3154
- * deployed platform functions; the per-function ``/{name}/versions``
3155
- * endpoint returns history for a specific function.
3156
- *
3157
- * Note this is **distinct** from ``GET /v1/{ws}/functions``, which
3158
- * reads ``workspace.settings["functions"]`` JSONB (pre-V109 shape).
3159
- * Both paths co-exist; clients should prefer this one for
3160
- * V109-registered functions.
3040
+ * Get a registered platform function by name
3041
+ * @description Resolve a function by name.
3161
3042
  *
3162
3043
  * Permissions: ``Workspace.view`` (read role and above).
3163
3044
  */
3164
- get: operations["list-registered-functions"];
3165
- put?: never;
3166
- post?: never;
3167
- delete?: never;
3168
- options?: never;
3169
- head?: never;
3170
- patch?: never;
3171
- trace?: never;
3172
- };
3173
- "/v1/{workspace_id}/functions/sync": {
3174
- parameters: {
3175
- query?: never;
3176
- header?: never;
3177
- path?: never;
3178
- cookie?: never;
3179
- };
3180
- get?: never;
3181
- put?: never;
3045
+ get: operations["get-function"];
3182
3046
  /**
3183
- * Auto-register all discovered catalog functions
3184
- * @description Auto-register all discovered catalog functions.
3047
+ * Deploy (validate + upsert) a platform function
3048
+ * @description Validate + upsert a platform function row.
3049
+ *
3050
+ * Atomic: validation + (python/udtf only) UC UDF materialization +
3051
+ * upsert into ``platform.functions`` happen as one logical operation.
3052
+ * Repeat deploys against the same ``(workspace, name)`` replace the
3053
+ * row in place and clear stale ``last_test_*`` telemetry.
3185
3054
  *
3186
- * Discovers functions from ``INFORMATION_SCHEMA.ROUTINES`` and registers
3187
- * any that aren't already registered in this workspace. Functions with
3188
- * a COMMENT become tools — the COMMENT is the tool description.
3055
+ * The function name comes from the URL path; the request body's
3056
+ * ``name`` field must match or a 400 is raised. The URL is the
3057
+ * authoritative source.
3189
3058
  *
3190
3059
  * Permissions: admin, owner.
3191
3060
  */
3192
- post: operations["sync-catalog"];
3193
- delete?: never;
3194
- options?: never;
3195
- head?: never;
3196
- patch?: never;
3197
- trace?: never;
3198
- };
3199
- "/v1/{workspace_id}/functions/{function_name}": {
3200
- parameters: {
3201
- query?: never;
3202
- header?: never;
3203
- path?: never;
3204
- cookie?: never;
3205
- };
3206
- get?: never;
3207
- put?: never;
3061
+ put: operations["deploy-function"];
3208
3062
  post?: never;
3209
3063
  /**
3210
- * Remove a registered function
3211
- * @description Remove a registered function.
3212
- *
3213
- * This only removes the platform registration — the underlying
3214
- * Databricks function is not affected.
3064
+ * Remove a registered platform function
3065
+ * @description Remove a registered function row.
3215
3066
  *
3216
3067
  * Permissions: admin, owner.
3217
3068
  */
@@ -3231,19 +3082,19 @@ export interface paths {
3231
3082
  get?: never;
3232
3083
  put?: never;
3233
3084
  /**
3234
- * Execute a registered function
3085
+ * Execute a registered platform function
3235
3086
  * @description Execute a registered function and return its rows.
3236
3087
  *
3237
- * Bound parameters are validated against the version's stored
3238
- * schema; ``ws_id`` is auto-injected from the request context.
3239
- * Returns the executor's shaped response (``rows`` for
3240
- * ``returns=table``, scalar value for ``returns=scalar``).
3088
+ * Bound parameters are validated against the stored schema; ``ws_id``
3089
+ * is auto-injected from the request context. Returns the executor's
3090
+ * shaped response (``rows`` for ``returns=table``, scalar value for
3091
+ * ``returns=scalar``).
3241
3092
  *
3242
3093
  * Permissions: ``Workspace.view`` (read role and above). Read-only
3243
- * keys are intentionally allowed here — invocation runs a stored,
3244
- * pre-validated SELECT against catalogs the workspace SP already
3245
- * has SELECT on; the gate on what can run is the deploy-time
3246
- * validator (read-only invariant), not the per-call permission.
3094
+ * keys are intentionally allowed — invocation runs a stored,
3095
+ * pre-validated SELECT against catalogs the workspace SP already has
3096
+ * SELECT on; the gate on what can run is the deploy-time validator
3097
+ * (read-only invariant), not the per-call permission.
3247
3098
  */
3248
3099
  post: operations["invoke-function"];
3249
3100
  delete?: never;
@@ -3252,55 +3103,6 @@ export interface paths {
3252
3103
  patch?: never;
3253
3104
  trace?: never;
3254
3105
  };
3255
- "/v1/{workspace_id}/functions/{function_name}/promote": {
3256
- parameters: {
3257
- query?: never;
3258
- header?: never;
3259
- path?: never;
3260
- cookie?: never;
3261
- };
3262
- get?: never;
3263
- put?: never;
3264
- /**
3265
- * Rebind an alias to a specific version
3266
- * @description Rebind an alias to an existing version.
3267
- *
3268
- * Verifies the version exists before rebinding.
3269
- *
3270
- * Permissions: admin, owner.
3271
- */
3272
- post: operations["promote-function"];
3273
- delete?: never;
3274
- options?: never;
3275
- head?: never;
3276
- patch?: never;
3277
- trace?: never;
3278
- };
3279
- "/v1/{workspace_id}/functions/{function_name}/rollback": {
3280
- parameters: {
3281
- query?: never;
3282
- header?: never;
3283
- path?: never;
3284
- cookie?: never;
3285
- };
3286
- get?: never;
3287
- put?: never;
3288
- /**
3289
- * Rebind latest + production to a prior version
3290
- * @description Rebind ``latest`` and ``production`` to a prior version.
3291
- *
3292
- * Used when a new deploy was bad. ``staging`` stays untouched so
3293
- * operator can re-promote independently.
3294
- *
3295
- * Permissions: admin, owner.
3296
- */
3297
- post: operations["rollback-function"];
3298
- delete?: never;
3299
- options?: never;
3300
- head?: never;
3301
- patch?: never;
3302
- trace?: never;
3303
- };
3304
3106
  "/v1/{workspace_id}/functions/{function_name}/test": {
3305
3107
  parameters: {
3306
3108
  query?: never;
@@ -3311,86 +3113,16 @@ export interface paths {
3311
3113
  get?: never;
3312
3114
  put?: never;
3313
3115
  /**
3314
- * Test a function with sample input
3315
- * @description Test a registered function with sample input.
3116
+ * Test invoke + persist last_test_* telemetry on the row
3117
+ * @description Test invoke same as invoke + persists last_test_* on the row.
3316
3118
  *
3317
- * Proxies to agent-engine's internal tool test endpoint.
3318
- *
3319
- * Permissions: admin, owner (requires ``tools:test`` scope).
3320
- */
3321
- post: operations["test-function"];
3322
- delete?: never;
3323
- options?: never;
3324
- head?: never;
3325
- patch?: never;
3326
- trace?: never;
3327
- };
3328
- "/v1/{workspace_id}/functions/{function_name}/v2/test": {
3329
- parameters: {
3330
- query?: never;
3331
- header?: never;
3332
- path?: never;
3333
- cookie?: never;
3334
- };
3335
- get?: never;
3336
- put?: never;
3337
- /**
3338
- * Test invoke + persist telemetry
3339
- * @description Test invoke — same as invoke + persists last_test_* on the version row.
3340
- *
3341
- * Returns :class:`TestInvokeResponse` so callers can render
3342
- * ``status`` + ``error`` directly (the previous shape was
3343
- * :class:`InvokeResponse`, which silently dropped those fields and
3344
- * left the DC showing a generic "Invocation failed." even on the
3345
- * catastrophic path).
3119
+ * Returns 200 with ``status="fail"`` + populated ``error`` on
3120
+ * execution failure (instead of a 5xx) so the DC has a single
3121
+ * happy-path rendering.
3346
3122
  *
3347
3123
  * Permissions: admin, owner.
3348
3124
  */
3349
- post: operations["test-function-v2"];
3350
- delete?: never;
3351
- options?: never;
3352
- head?: never;
3353
- patch?: never;
3354
- trace?: never;
3355
- };
3356
- "/v1/{workspace_id}/functions/{function_name}/version": {
3357
- parameters: {
3358
- query?: never;
3359
- header?: never;
3360
- path?: never;
3361
- cookie?: never;
3362
- };
3363
- /**
3364
- * Resolve (name, alias) → version row
3365
- * @description Resolve (function_name, alias) → version row.
3366
- *
3367
- * Permissions: ``Workspace.view`` (read role and above).
3368
- */
3369
- get: operations["get-function-version"];
3370
- put?: never;
3371
- post?: never;
3372
- delete?: never;
3373
- options?: never;
3374
- head?: never;
3375
- patch?: never;
3376
- trace?: never;
3377
- };
3378
- "/v1/{workspace_id}/functions/{function_name}/versions": {
3379
- parameters: {
3380
- query?: never;
3381
- header?: never;
3382
- path?: never;
3383
- cookie?: never;
3384
- };
3385
- /**
3386
- * List all versions of a function
3387
- * @description List all versions of a registered function, newest first.
3388
- *
3389
- * Permissions: ``Workspace.view`` (read role and above).
3390
- */
3391
- get: operations["list-function-versions"];
3392
- put?: never;
3393
- post?: never;
3125
+ post: operations["test-function"];
3394
3126
  delete?: never;
3395
3127
  options?: never;
3396
3128
  head?: never;
@@ -4344,58 +4076,6 @@ export interface paths {
4344
4076
  patch?: never;
4345
4077
  trace?: never;
4346
4078
  };
4347
- "/v1/{workspace_id}/monitor-concepts": {
4348
- parameters: {
4349
- query?: never;
4350
- header?: never;
4351
- path?: never;
4352
- cookie?: never;
4353
- };
4354
- /**
4355
- * List monitor concepts
4356
- * @description List monitor concepts for the workspace.
4357
- */
4358
- get: operations["list-monitor-concepts"];
4359
- put?: never;
4360
- /**
4361
- * Create a monitor concept
4362
- * @description Create a semantic monitoring concept. The description is embedded for real-time conversation monitoring via ConversationMonitor.
4363
- */
4364
- post: operations["create-monitor-concept"];
4365
- delete?: never;
4366
- options?: never;
4367
- head?: never;
4368
- patch?: never;
4369
- trace?: never;
4370
- };
4371
- "/v1/{workspace_id}/monitor-concepts/{concept_id}": {
4372
- parameters: {
4373
- query?: never;
4374
- header?: never;
4375
- path?: never;
4376
- cookie?: never;
4377
- };
4378
- /**
4379
- * Get a monitor concept
4380
- * @description Retrieve a monitor concept by ID.
4381
- */
4382
- get: operations["get-monitor-concept"];
4383
- put?: never;
4384
- post?: never;
4385
- /**
4386
- * Delete a monitor concept
4387
- * @description Delete a monitor concept.
4388
- */
4389
- delete: operations["delete-monitor-concept"];
4390
- options?: never;
4391
- head?: never;
4392
- /**
4393
- * Update a monitor concept
4394
- * @description Update a monitor concept's configuration or description.
4395
- */
4396
- patch: operations["update-monitor-concept"];
4397
- trace?: never;
4398
- };
4399
4079
  "/v1/{workspace_id}/network/egress-ips": {
4400
4080
  parameters: {
4401
4081
  query?: never;
@@ -4834,102 +4514,6 @@ export interface paths {
4834
4514
  patch: operations["update-persona"];
4835
4515
  trace?: never;
4836
4516
  };
4837
- "/v1/{workspace_id}/phone-numbers": {
4838
- parameters: {
4839
- query?: never;
4840
- header?: never;
4841
- path?: never;
4842
- cookie?: never;
4843
- };
4844
- /**
4845
- * List phone numbers
4846
- * @description List phone numbers for a workspace with pagination. Optionally filter by status. Requires `PhoneNumber.view` permission.
4847
- */
4848
- get: operations["list-phone-numbers"];
4849
- put?: never;
4850
- /**
4851
- * Create a phone number
4852
- * @description Register a new phone number in a workspace. Requires `PhoneNumber.create` permission.
4853
- */
4854
- post: operations["create-phone-number"];
4855
- delete?: never;
4856
- options?: never;
4857
- head?: never;
4858
- patch?: never;
4859
- trace?: never;
4860
- };
4861
- "/v1/{workspace_id}/phone-numbers/bind": {
4862
- parameters: {
4863
- query?: never;
4864
- header?: never;
4865
- path?: never;
4866
- cookie?: never;
4867
- };
4868
- get?: never;
4869
- put?: never;
4870
- /**
4871
- * Bind a channel-manager phone number
4872
- * @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.
4873
- */
4874
- post: operations["bind-channel-phone"];
4875
- delete?: never;
4876
- options?: never;
4877
- head?: never;
4878
- patch?: never;
4879
- trace?: never;
4880
- };
4881
- "/v1/{workspace_id}/phone-numbers/{phone_number_id}": {
4882
- parameters: {
4883
- query?: never;
4884
- header?: never;
4885
- path?: never;
4886
- cookie?: never;
4887
- };
4888
- /**
4889
- * Get a phone number
4890
- * @description Retrieve a phone number by ID. Requires `PhoneNumber.view` permission.
4891
- */
4892
- get: operations["get-phone-number"];
4893
- /**
4894
- * Update a phone number
4895
- * @description Update a phone number's configuration. Requires `PhoneNumber.update` permission.
4896
- */
4897
- put: operations["update-phone-number"];
4898
- post?: never;
4899
- /**
4900
- * Delete a phone number
4901
- * @description Delete a phone number. Requires `PhoneNumber.delete` permission.
4902
- */
4903
- delete: operations["delete-phone-number"];
4904
- options?: never;
4905
- head?: never;
4906
- patch?: never;
4907
- trace?: never;
4908
- };
4909
- "/v1/{workspace_id}/phone-numbers/{phone_number_id}/forwarding": {
4910
- parameters: {
4911
- query?: never;
4912
- header?: never;
4913
- path?: never;
4914
- cookie?: never;
4915
- };
4916
- get?: never;
4917
- /**
4918
- * Set call forwarding
4919
- * @description Configure call forwarding for a phone number. When enabled, the voice agent can transfer callers to the specified destination. Requires `PhoneNumber.update` permission.
4920
- */
4921
- put: operations["set-phone-number-forwarding"];
4922
- post?: never;
4923
- /**
4924
- * Clear call forwarding
4925
- * @description Remove call forwarding configuration from a phone number. Requires `PhoneNumber.update` permission.
4926
- */
4927
- delete: operations["clear-phone-number-forwarding"];
4928
- options?: never;
4929
- head?: never;
4930
- patch?: never;
4931
- trace?: never;
4932
- };
4933
4517
  "/v1/{workspace_id}/pipeline/entity-resolution": {
4934
4518
  parameters: {
4935
4519
  query?: never;
@@ -5589,90 +5173,6 @@ export interface paths {
5589
5173
  patch?: never;
5590
5174
  trace?: never;
5591
5175
  };
5592
- "/v1/{workspace_id}/safety/config": {
5593
- parameters: {
5594
- query?: never;
5595
- header?: never;
5596
- path?: never;
5597
- cookie?: never;
5598
- };
5599
- /**
5600
- * Get safety policy config
5601
- * @description Get the workspace safety policy configuration.
5602
- */
5603
- get: operations["get-safety-config"];
5604
- /**
5605
- * Update safety policy config
5606
- * @description Upsert the workspace safety policy configuration.
5607
- */
5608
- put: operations["update-safety-config"];
5609
- post?: never;
5610
- delete?: never;
5611
- options?: never;
5612
- head?: never;
5613
- patch?: never;
5614
- trace?: never;
5615
- };
5616
- "/v1/{workspace_id}/safety/templates": {
5617
- parameters: {
5618
- query?: never;
5619
- header?: never;
5620
- path?: never;
5621
- cookie?: never;
5622
- };
5623
- /**
5624
- * List regulation templates
5625
- * @description List all available regulation templates and composite templates.
5626
- */
5627
- get: operations["list-safety-templates"];
5628
- put?: never;
5629
- post?: never;
5630
- delete?: never;
5631
- options?: never;
5632
- head?: never;
5633
- patch?: never;
5634
- trace?: never;
5635
- };
5636
- "/v1/{workspace_id}/safety/templates/{template_id}": {
5637
- parameters: {
5638
- query?: never;
5639
- header?: never;
5640
- path?: never;
5641
- cookie?: never;
5642
- };
5643
- /**
5644
- * Get a regulation template
5645
- * @description Get a regulation template by ID, including all rules.
5646
- */
5647
- get: operations["get-safety-template"];
5648
- put?: never;
5649
- post?: never;
5650
- delete?: never;
5651
- options?: never;
5652
- head?: never;
5653
- patch?: never;
5654
- trace?: never;
5655
- };
5656
- "/v1/{workspace_id}/safety/templates/{template_id}/apply": {
5657
- parameters: {
5658
- query?: never;
5659
- header?: never;
5660
- path?: never;
5661
- cookie?: never;
5662
- };
5663
- get?: never;
5664
- put?: never;
5665
- /**
5666
- * Apply regulation template
5667
- * @description Apply a regulation template to create monitor concepts for the workspace. Concepts matching existing names are skipped unless override_existing is set.
5668
- */
5669
- post: operations["apply-safety-template"];
5670
- delete?: never;
5671
- options?: never;
5672
- head?: never;
5673
- patch?: never;
5674
- trace?: never;
5675
- };
5676
5176
  "/v1/{workspace_id}/scheduling-rule-sets": {
5677
5177
  parameters: {
5678
5178
  query?: never;
@@ -7536,142 +7036,6 @@ export interface paths {
7536
7036
  patch?: never;
7537
7037
  trace?: never;
7538
7038
  };
7539
- "/v1/{workspace_id}/twilio/phone-numbers/available": {
7540
- parameters: {
7541
- query?: never;
7542
- header?: never;
7543
- path?: never;
7544
- cookie?: never;
7545
- };
7546
- /**
7547
- * Search available phone numbers
7548
- * @description Search available phone numbers for purchase on this workspace's Twilio sub-account. Requires `PhoneNumber.create` permission.
7549
- */
7550
- get: operations["search-available-phone-numbers"];
7551
- put?: never;
7552
- post?: never;
7553
- delete?: never;
7554
- options?: never;
7555
- head?: never;
7556
- patch?: never;
7557
- trace?: never;
7558
- };
7559
- "/v1/{workspace_id}/twilio/phone-numbers/purchase": {
7560
- parameters: {
7561
- query?: never;
7562
- header?: never;
7563
- path?: never;
7564
- cookie?: never;
7565
- };
7566
- get?: never;
7567
- put?: never;
7568
- /**
7569
- * Purchase a phone number
7570
- * @description Purchase a phone number on this workspace's Twilio sub-account and register it. Requires `PhoneNumber.create` permission.
7571
- */
7572
- post: operations["purchase-phone-number"];
7573
- delete?: never;
7574
- options?: never;
7575
- head?: never;
7576
- patch?: never;
7577
- trace?: never;
7578
- };
7579
- "/v1/{workspace_id}/twilio/phone-numbers/{phone_number_id}/release": {
7580
- parameters: {
7581
- query?: never;
7582
- header?: never;
7583
- path?: never;
7584
- cookie?: never;
7585
- };
7586
- get?: never;
7587
- put?: never;
7588
- post?: never;
7589
- /**
7590
- * Release a phone number
7591
- * @description Release a phone number back to Twilio and remove from workspace. Requires `PhoneNumber.delete` permission.
7592
- */
7593
- delete: operations["release-phone-number"];
7594
- options?: never;
7595
- head?: never;
7596
- patch?: never;
7597
- trace?: never;
7598
- };
7599
- "/v1/{workspace_id}/twilio/sub-account": {
7600
- parameters: {
7601
- query?: never;
7602
- header?: never;
7603
- path?: never;
7604
- cookie?: never;
7605
- };
7606
- /**
7607
- * Get Twilio sub-account
7608
- * @description Retrieve the Twilio sub-account for this workspace. Requires `Workspace.view` permission.
7609
- */
7610
- get: operations["get-twilio-sub-account"];
7611
- put?: never;
7612
- /**
7613
- * Provision Twilio sub-account
7614
- * @description Create a Twilio sub-account for this workspace with TwiML App. Idempotent — returns existing if already provisioned. Requires `Workspace.update` permission.
7615
- */
7616
- post: operations["provision-twilio-sub-account"];
7617
- delete?: never;
7618
- options?: never;
7619
- head?: never;
7620
- patch?: never;
7621
- trace?: never;
7622
- };
7623
- "/v1/{workspace_id}/unification-rules": {
7624
- parameters: {
7625
- query?: never;
7626
- header?: never;
7627
- path?: never;
7628
- cookie?: never;
7629
- };
7630
- /**
7631
- * List unification rules
7632
- * @description List unification rules with optional filtering by data source or active status.
7633
- */
7634
- get: operations["list-unification-rules"];
7635
- put?: never;
7636
- /**
7637
- * Create a unification rule
7638
- * @description Create a new data mapping rule. Can be scoped to a specific data source.
7639
- */
7640
- post: operations["create-unification-rule"];
7641
- delete?: never;
7642
- options?: never;
7643
- head?: never;
7644
- patch?: never;
7645
- trace?: never;
7646
- };
7647
- "/v1/{workspace_id}/unification-rules/{rule_id}": {
7648
- parameters: {
7649
- query?: never;
7650
- header?: never;
7651
- path?: never;
7652
- cookie?: never;
7653
- };
7654
- /**
7655
- * Get a unification rule
7656
- * @description Retrieve a unification rule by ID.
7657
- */
7658
- get: operations["get-unification-rule"];
7659
- put?: never;
7660
- post?: never;
7661
- /**
7662
- * Delete a unification rule
7663
- * @description Delete a unification rule.
7664
- */
7665
- delete: operations["delete-unification-rule"];
7666
- options?: never;
7667
- head?: never;
7668
- /**
7669
- * Update a unification rule
7670
- * @description Update a unification rule's configuration.
7671
- */
7672
- patch: operations["update-unification-rule"];
7673
- trace?: never;
7674
- };
7675
7039
  "/v1/{workspace_id}/use-cases": {
7676
7040
  parameters: {
7677
7041
  query?: never;
@@ -8812,23 +8176,6 @@ export interface components {
8812
8176
  /** Period */
8813
8177
  period?: string | null;
8814
8178
  };
8815
- /** AgentConfigPayload */
8816
- AgentConfigPayload: {
8817
- /** Action Space */
8818
- action_space?: string[];
8819
- /**
8820
- * Model
8821
- * @default gemini-2.5-flash
8822
- */
8823
- model?: string;
8824
- /** System Prompt */
8825
- system_prompt?: string | null;
8826
- /**
8827
- * Timeout S
8828
- * @default 3
8829
- */
8830
- timeout_s?: number;
8831
- };
8832
8179
  /** AgentResponse */
8833
8180
  AgentResponse: {
8834
8181
  /**
@@ -9088,21 +8435,6 @@ export interface components {
9088
8435
  */
9089
8436
  workspace_id: string;
9090
8437
  };
9091
- /** ApplyTemplateRequest */
9092
- ApplyTemplateRequest: {
9093
- /**
9094
- * Override Existing
9095
- * @default false
9096
- */
9097
- override_existing?: boolean;
9098
- };
9099
- /** ApplyTemplateResponse */
9100
- ApplyTemplateResponse: {
9101
- /** Created Concepts */
9102
- created_concepts: string[];
9103
- /** Skipped */
9104
- skipped: string[];
9105
- };
9106
8438
  /**
9107
8439
  * ApproveRequest
9108
8440
  * @description Approve events — promotes confidence to 0.95.
@@ -9463,24 +8795,6 @@ export interface components {
9463
8795
  /** Start */
9464
8796
  start: string;
9465
8797
  };
9466
- /** AvailableNumber */
9467
- AvailableNumber: {
9468
- /**
9469
- * Capabilities
9470
- * @default {}
9471
- */
9472
- capabilities?: {
9473
- [key: string]: boolean;
9474
- };
9475
- /** Friendly Name */
9476
- friendly_name: string;
9477
- /** Locality */
9478
- locality?: string | null;
9479
- /** Phone Number */
9480
- phone_number: string;
9481
- /** Region */
9482
- region?: string | null;
9483
- };
9484
8798
  BackgroundString: string;
9485
8799
  /** BargeInEvent */
9486
8800
  BargeInEvent: {
@@ -9687,48 +9001,6 @@ export interface components {
9687
9001
  */
9688
9002
  workspace_id: string;
9689
9003
  };
9690
- /**
9691
- * BindChannelPhoneRequest
9692
- * @description Bind a channel-manager-provisioned phone number to this workspace.
9693
- */
9694
- BindChannelPhoneRequest: {
9695
- /**
9696
- * Capabilities
9697
- * @default [
9698
- * "inbound",
9699
- * "outbound"
9700
- * ]
9701
- */
9702
- capabilities?: string[];
9703
- /**
9704
- * Channel Phone Id
9705
- * Format: uuid
9706
- * @description Phone number ID from channel-manager
9707
- */
9708
- channel_phone_id: string;
9709
- /**
9710
- * Display Name
9711
- * @default
9712
- */
9713
- display_name?: string;
9714
- forwarding?: components["schemas"]["ForwardingConfigRequest"] | null;
9715
- /**
9716
- * Inbound Service Id
9717
- * @description Voice agent service ID for inbound call routing
9718
- */
9719
- inbound_service_id?: string | null;
9720
- /**
9721
- * Notes
9722
- * @default
9723
- */
9724
- notes?: string;
9725
- /**
9726
- * Setup Id
9727
- * Format: uuid
9728
- * @description Channel-manager Twilio setup ID that owns the phone number
9729
- */
9730
- setup_id: string;
9731
- };
9732
9004
  /** Body_send-voicemail */
9733
9005
  "Body_send-voicemail": {
9734
9006
  /** Audio */
@@ -10472,52 +9744,6 @@ export interface components {
10472
9744
  /** Row Count */
10473
9745
  row_count: number;
10474
9746
  };
10475
- /**
10476
- * CatalogFunctionDef
10477
- * @description A function discovered from the Databricks UC catalog.
10478
- */
10479
- CatalogFunctionDef: {
10480
- /**
10481
- * Comment
10482
- * @default
10483
- */
10484
- comment?: string;
10485
- /**
10486
- * Data Type
10487
- * @default
10488
- */
10489
- data_type?: string;
10490
- /** Name */
10491
- name: string;
10492
- /**
10493
- * Registered
10494
- * @default false
10495
- */
10496
- registered?: boolean;
10497
- };
10498
- /**
10499
- * CatalogResponse
10500
- * @description Response from catalog discovery.
10501
- */
10502
- CatalogResponse: {
10503
- /**
10504
- * Catalog
10505
- * @default world
10506
- */
10507
- catalog?: string;
10508
- /**
10509
- * Count
10510
- * @default 0
10511
- */
10512
- count?: number;
10513
- /** Functions */
10514
- functions: components["schemas"]["CatalogFunctionDef"][];
10515
- /**
10516
- * Schema
10517
- * @default functions
10518
- */
10519
- schema?: string;
10520
- };
10521
9747
  /** CategoricalMetricValueResponse */
10522
9748
  CategoricalMetricValueResponse: {
10523
9749
  /** Avg Confidence */
@@ -12292,25 +11518,6 @@ export interface components {
12292
11518
  */
12293
11519
  max_uploads?: number;
12294
11520
  };
12295
- /** CreateMonitorConceptRequest */
12296
- CreateMonitorConceptRequest: {
12297
- agent_config?: components["schemas"]["AgentConfigPayload"];
12298
- description: components["schemas"]["DescriptionString"];
12299
- escalation?: components["schemas"]["EscalationConfigPayload"];
12300
- name: components["schemas"]["NameString"];
12301
- /**
12302
- * Standalone Threshold
12303
- * @default 0.85
12304
- */
12305
- standalone_threshold?: number;
12306
- /** Tags */
12307
- tags?: string[];
12308
- /**
12309
- * Threshold
12310
- * @default 0.4
12311
- */
12312
- threshold?: number;
12313
- };
12314
11521
  /** CreateOperatorRequest */
12315
11522
  CreateOperatorRequest: {
12316
11523
  /**
@@ -12456,45 +11663,6 @@ export interface components {
12456
11663
  name: components["schemas"]["NameString"];
12457
11664
  role: components["schemas"]["NameString"];
12458
11665
  };
12459
- /** CreatePhoneNumberRequest */
12460
- CreatePhoneNumberRequest: {
12461
- /**
12462
- * Capabilities
12463
- * @default [
12464
- * "inbound",
12465
- * "outbound"
12466
- * ]
12467
- */
12468
- capabilities?: ("inbound" | "outbound")[];
12469
- /**
12470
- * Display Name
12471
- * @default
12472
- */
12473
- display_name?: string;
12474
- forwarding?: components["schemas"]["ForwardingConfigRequest"] | null;
12475
- /** Inbound Service Id */
12476
- inbound_service_id?: string | null;
12477
- /**
12478
- * Notes
12479
- * @default
12480
- */
12481
- notes?: string;
12482
- phone_number: components["schemas"]["PhoneE164"];
12483
- /**
12484
- * Provider
12485
- * @default twilio
12486
- * @enum {string}
12487
- */
12488
- provider?: "twilio" | "livekit";
12489
- /** Provider Phone Sid */
12490
- provider_phone_sid?: string | null;
12491
- /**
12492
- * Status
12493
- * @default active
12494
- * @enum {string}
12495
- */
12496
- status?: "active" | "inactive";
12497
- };
12498
11666
  /** CreateRunRequest */
12499
11667
  CreateRunRequest: {
12500
11668
  /** Branch Name */
@@ -12861,28 +12029,6 @@ export interface components {
12861
12029
  */
12862
12030
  timezone?: string;
12863
12031
  };
12864
- /** CreateUnificationRuleRequest */
12865
- CreateUnificationRuleRequest: {
12866
- /** Created By */
12867
- created_by?: string | null;
12868
- /** Data Source Id */
12869
- data_source_id?: string | null;
12870
- description?: components["schemas"]["DescriptionString"] | null;
12871
- name: components["schemas"]["NameString"];
12872
- /** Rule Config */
12873
- rule_config?: {
12874
- [key: string]: unknown;
12875
- };
12876
- /**
12877
- * Rule Type
12878
- * @enum {string}
12879
- */
12880
- rule_type: "field_mapping" | "entity_resolution" | "dedup" | "transform";
12881
- /** Source Event Type */
12882
- source_event_type?: string | null;
12883
- /** Target Entity Type */
12884
- target_entity_type?: string | null;
12885
- };
12886
12032
  /** CreateWebhookDestinationRequest */
12887
12033
  CreateWebhookDestinationRequest: {
12888
12034
  /** Accepted Event Types */
@@ -15405,29 +14551,6 @@ export interface components {
15405
14551
  [key: string]: components["schemas"]["EnvironmentOverrides"];
15406
14552
  };
15407
14553
  };
15408
- /** EscalationConfigPayload */
15409
- EscalationConfigPayload: {
15410
- /**
15411
- * Immediate
15412
- * @default true
15413
- */
15414
- immediate?: boolean;
15415
- /**
15416
- * Operator Type
15417
- * @default crisis_counselor
15418
- */
15419
- operator_type?: string;
15420
- /**
15421
- * Reason
15422
- * @default
15423
- */
15424
- reason?: string;
15425
- /**
15426
- * Regulatory Basis
15427
- * @default
15428
- */
15429
- regulatory_basis?: string;
15430
- };
15431
14554
  /** EscalationDailyStats */
15432
14555
  EscalationDailyStats: {
15433
14556
  /** Avg Handle Time Seconds */
@@ -16715,38 +15838,6 @@ export interface components {
16715
15838
  */
16716
15839
  type: "forward_call_resolved";
16717
15840
  };
16718
- /**
16719
- * ForwardingConfigRequest
16720
- * @description Call forwarding configuration for create/update requests.
16721
- *
16722
- * Deprecated: per-phone forwarding has moved to per-service config
16723
- * (``Service.voice_config.forwarding``). The field is accepted for one
16724
- * release for SDK backward-compat but is no longer read by the voice
16725
- * agent at session time. Will be removed in a follow-up PR alongside
16726
- * the ``platform.phone_numbers`` table drop.
16727
- */
16728
- ForwardingConfigRequest: {
16729
- /**
16730
- * Enabled
16731
- * @default true
16732
- */
16733
- enabled?: boolean;
16734
- forward_to: components["schemas"]["PhoneE164"];
16735
- /**
16736
- * Should Disconnect
16737
- * @default true
16738
- */
16739
- should_disconnect?: boolean;
16740
- };
16741
- /** ForwardingConfigResponse */
16742
- ForwardingConfigResponse: {
16743
- /** Enabled */
16744
- enabled: boolean;
16745
- /** Forward To */
16746
- forward_to: string;
16747
- /** Should Disconnect */
16748
- should_disconnect: boolean;
16749
- };
16750
15841
  /** ForwardingDetails */
16751
15842
  ForwardingDetails: {
16752
15843
  /** Forward To */
@@ -16761,78 +15852,6 @@ export interface components {
16761
15852
  */
16762
15853
  warm_transfer?: boolean;
16763
15854
  };
16764
- /**
16765
- * FunctionCreateRequest
16766
- * @description Register a new function. Name must be unique within the workspace.
16767
- */
16768
- FunctionCreateRequest: {
16769
- /**
16770
- * Catalog
16771
- * @default world
16772
- */
16773
- catalog?: string;
16774
- /** @default */
16775
- description?: components["schemas"]["DescriptionString"];
16776
- /**
16777
- * Function Type
16778
- * @default sql
16779
- */
16780
- function_type?: string;
16781
- /** Input Schema */
16782
- input_schema?: {
16783
- [key: string]: unknown;
16784
- };
16785
- name: components["schemas"]["NameString"];
16786
- /**
16787
- * Returns Table
16788
- * @default true
16789
- */
16790
- returns_table?: boolean;
16791
- /**
16792
- * Schema
16793
- * @default functions
16794
- */
16795
- schema?: string;
16796
- };
16797
- /**
16798
- * FunctionDef
16799
- * @description A registered platform function.
16800
- */
16801
- FunctionDef: {
16802
- /**
16803
- * Catalog
16804
- * @default world
16805
- */
16806
- catalog?: string;
16807
- /** @default */
16808
- description?: components["schemas"]["DescriptionString"];
16809
- /**
16810
- * Enabled
16811
- * @default true
16812
- */
16813
- enabled?: boolean;
16814
- /**
16815
- * Function Type
16816
- * @description sql | python | udtf | ai
16817
- * @default sql
16818
- */
16819
- function_type?: string;
16820
- /** Input Schema */
16821
- input_schema?: {
16822
- [key: string]: unknown;
16823
- };
16824
- name: components["schemas"]["NameString"];
16825
- /**
16826
- * Returns Table
16827
- * @default true
16828
- */
16829
- returns_table?: boolean;
16830
- /**
16831
- * Schema
16832
- * @default functions
16833
- */
16834
- schema?: string;
16835
- };
16836
15855
  /**
16837
15856
  * FunctionExample
16838
15857
  * @description One example call, surfaced to the LLM and the DC test panel.
@@ -16854,106 +15873,6 @@ export interface components {
16854
15873
  /** Output */
16855
15874
  output: unknown;
16856
15875
  };
16857
- /** FunctionListResponse */
16858
- FunctionListResponse: {
16859
- /** Count */
16860
- count: number;
16861
- /** Items */
16862
- items: components["schemas"]["FunctionDef"][];
16863
- };
16864
- /**
16865
- * FunctionTestRequest
16866
- * @description Test a function with sample input.
16867
- */
16868
- FunctionTestRequest: {
16869
- /** Input Params */
16870
- input_params?: {
16871
- [key: string]: unknown;
16872
- };
16873
- };
16874
- /** FunctionTestResponse */
16875
- FunctionTestResponse: {
16876
- /**
16877
- * Duration Ms
16878
- * @default 0
16879
- */
16880
- duration_ms?: number;
16881
- /** Error */
16882
- error?: string | null;
16883
- /**
16884
- * Function Name
16885
- * @default
16886
- */
16887
- function_name?: string;
16888
- /** Result */
16889
- result?: unknown;
16890
- };
16891
- /** FunctionVersionListResponse */
16892
- FunctionVersionListResponse: {
16893
- /** Count */
16894
- count: number;
16895
- /** Items */
16896
- items: components["schemas"]["FunctionVersionResponse"][];
16897
- };
16898
- /**
16899
- * FunctionVersionResponse
16900
- * @description Single version row from ``platform.functions``.
16901
- */
16902
- FunctionVersionResponse: {
16903
- /** Deployed At */
16904
- deployed_at?: string | null;
16905
- /** Deployed By */
16906
- deployed_by?: string | null;
16907
- /**
16908
- * Description
16909
- * @default
16910
- */
16911
- description?: string;
16912
- /** Examples */
16913
- examples?: {
16914
- [key: string]: unknown;
16915
- }[];
16916
- /** Function Type */
16917
- function_type: string;
16918
- /** Input Schema */
16919
- input_schema?: {
16920
- [key: string]: unknown;
16921
- };
16922
- /** Last Test At */
16923
- last_test_at?: string | null;
16924
- /** Last Test Duration Ms */
16925
- last_test_duration_ms?: number | null;
16926
- /** Last Test Error */
16927
- last_test_error?: string | null;
16928
- /** Last Test Status */
16929
- last_test_status?: string | null;
16930
- /** Name */
16931
- name: string;
16932
- /** Parameters */
16933
- parameters?: {
16934
- [key: string]: unknown;
16935
- }[];
16936
- /** Returns Kind */
16937
- returns_kind: string;
16938
- /** Source Hash */
16939
- source_hash?: string | null;
16940
- /** Source Path */
16941
- source_path?: string | null;
16942
- /** Sql Template */
16943
- sql_template: string;
16944
- /**
16945
- * Timeout Ms
16946
- * @default 30000
16947
- */
16948
- timeout_ms?: number;
16949
- /** Version */
16950
- version: number;
16951
- /**
16952
- * When To Use
16953
- * @default
16954
- */
16955
- when_to_use?: string;
16956
- };
16957
15876
  /**
16958
15877
  * GapRequiredField
16959
15878
  * @description A field that must be present in entity state.
@@ -17883,13 +16802,6 @@ export interface components {
17883
16802
  * @description Invoke a registered function with caller-supplied args.
17884
16803
  */
17885
16804
  InvokeRequest: {
17886
- /**
17887
- * Alias
17888
- * @description Alias to resolve.
17889
- * @default latest
17890
- * @enum {string}
17891
- */
17892
- alias?: "latest" | "staging" | "production";
17893
16805
  /**
17894
16806
  * Input
17895
16807
  * @description Caller arguments matching input_schema.
@@ -17912,11 +16824,6 @@ export interface components {
17912
16824
  * @default 0
17913
16825
  */
17914
16826
  row_count?: number;
17915
- /**
17916
- * Version
17917
- * @default 0
17918
- */
17919
- version?: number;
17920
16827
  };
17921
16828
  /** Item */
17922
16829
  Item: {
@@ -18908,49 +17815,6 @@ export interface components {
18908
17815
  */
18909
17816
  workspace_id: string;
18910
17817
  };
18911
- /** MonitorConceptResponse */
18912
- MonitorConceptResponse: {
18913
- /** Agent Config */
18914
- agent_config: {
18915
- [key: string]: unknown;
18916
- };
18917
- /**
18918
- * Created At
18919
- * Format: date-time
18920
- */
18921
- created_at: string;
18922
- /** Description */
18923
- description: string;
18924
- /** Escalation */
18925
- escalation: {
18926
- [key: string]: unknown;
18927
- };
18928
- /** Has Embedding */
18929
- has_embedding: boolean;
18930
- /**
18931
- * Id
18932
- * Format: uuid
18933
- */
18934
- id: string;
18935
- /** Name */
18936
- name: string;
18937
- /** Standalone Threshold */
18938
- standalone_threshold: number;
18939
- /** Tags */
18940
- tags: string[];
18941
- /** Threshold */
18942
- threshold: number;
18943
- /**
18944
- * Updated At
18945
- * Format: date-time
18946
- */
18947
- updated_at: string;
18948
- /**
18949
- * Workspace Id
18950
- * Format: uuid
18951
- */
18952
- workspace_id: string;
18953
- };
18954
17818
  NameString: string;
18955
17819
  /** NarrativeUpdatedEvent */
18956
17820
  NarrativeUpdatedEvent: {
@@ -19861,17 +18725,6 @@ export interface components {
19861
18725
  /** Total */
19862
18726
  total?: number | null;
19863
18727
  };
19864
- /** PaginatedResponse[MonitorConceptResponse] */
19865
- PaginatedResponse_MonitorConceptResponse_: {
19866
- /** Continuation Token */
19867
- continuation_token?: number | null;
19868
- /** Has More */
19869
- has_more: boolean;
19870
- /** Items */
19871
- items: components["schemas"]["MonitorConceptResponse"][];
19872
- /** Total */
19873
- total?: number | null;
19874
- };
19875
18728
  /** PaginatedResponse[OperatorResponse] */
19876
18729
  PaginatedResponse_OperatorResponse_: {
19877
18730
  /** Continuation Token */
@@ -19905,17 +18758,6 @@ export interface components {
19905
18758
  /** Total */
19906
18759
  total?: number | null;
19907
18760
  };
19908
- /** PaginatedResponse[PhoneNumberResponse] */
19909
- PaginatedResponse_PhoneNumberResponse_: {
19910
- /** Continuation Token */
19911
- continuation_token?: number | null;
19912
- /** Has More */
19913
- has_more: boolean;
19914
- /** Items */
19915
- items: components["schemas"]["PhoneNumberResponse"][];
19916
- /** Total */
19917
- total?: number | null;
19918
- };
19919
18761
  /** PaginatedResponse[ReviewItemResponse] */
19920
18762
  PaginatedResponse_ReviewItemResponse_: {
19921
18763
  /** Continuation Token */
@@ -20026,17 +18868,6 @@ export interface components {
20026
18868
  /** Total */
20027
18869
  total?: number | null;
20028
18870
  };
20029
- /** PaginatedResponse[UnificationRuleResponse] */
20030
- PaginatedResponse_UnificationRuleResponse_: {
20031
- /** Continuation Token */
20032
- continuation_token?: number | null;
20033
- /** Has More */
20034
- has_more: boolean;
20035
- /** Items */
20036
- items: components["schemas"]["UnificationRuleResponse"][];
20037
- /** Total */
20038
- total?: number | null;
20039
- };
20040
18871
  /** PaginatedResponse[WebhookDestinationResponse] */
20041
18872
  PaginatedResponse_WebhookDestinationResponse_: {
20042
18873
  /** Continuation Token */
@@ -20104,11 +18935,6 @@ export interface components {
20104
18935
  description: string;
20105
18936
  /** Name */
20106
18937
  name: string;
20107
- /**
20108
- * Required
20109
- * @default true
20110
- */
20111
- required?: boolean;
20112
18938
  /**
20113
18939
  * Type
20114
18940
  * @enum {string}
@@ -20733,76 +19559,6 @@ export interface components {
20733
19559
  */
20734
19560
  total_calls: number;
20735
19561
  };
20736
- /** PhoneNumberPurchaseResponse */
20737
- PhoneNumberPurchaseResponse: {
20738
- /** Capabilities */
20739
- capabilities: ("inbound" | "outbound")[];
20740
- /**
20741
- * Created At
20742
- * Format: date-time
20743
- */
20744
- created_at: string;
20745
- /** Display Name */
20746
- display_name: string;
20747
- /**
20748
- * Id
20749
- * Format: uuid
20750
- */
20751
- id: string;
20752
- /** Phone Number */
20753
- phone_number: string;
20754
- /** Provider Phone Sid */
20755
- provider_phone_sid: string;
20756
- /** Status */
20757
- status: string;
20758
- /**
20759
- * Workspace Id
20760
- * Format: uuid
20761
- */
20762
- workspace_id: string;
20763
- };
20764
- /** PhoneNumberResponse */
20765
- PhoneNumberResponse: {
20766
- /** Capabilities */
20767
- capabilities: string[];
20768
- /** Channel Phone Id */
20769
- channel_phone_id?: string | null;
20770
- /**
20771
- * Created At
20772
- * Format: date-time
20773
- */
20774
- created_at: string;
20775
- /** Display Name */
20776
- display_name: string;
20777
- forwarding: components["schemas"]["ForwardingConfigResponse"] | null;
20778
- /**
20779
- * Id
20780
- * Format: uuid
20781
- */
20782
- id: string;
20783
- /** Inbound Service Id */
20784
- inbound_service_id: string | null;
20785
- /** Notes */
20786
- notes: string;
20787
- /** Phone Number */
20788
- phone_number: string;
20789
- /** Provider */
20790
- provider: string;
20791
- /** Provider Phone Sid */
20792
- provider_phone_sid: string | null;
20793
- /** Status */
20794
- status: string;
20795
- /**
20796
- * Updated At
20797
- * Format: date-time
20798
- */
20799
- updated_at: string;
20800
- /**
20801
- * Workspace Id
20802
- * Format: uuid
20803
- */
20804
- workspace_id: string;
20805
- };
20806
19562
  /** PipelineErrorEvent */
20807
19563
  PipelineErrorEvent: {
20808
19564
  /**
@@ -21211,25 +19967,6 @@ export interface components {
21211
19967
  /** Trigger Delay Ms */
21212
19968
  trigger_delay_ms?: number | null;
21213
19969
  };
21214
- /** PromoteRequest */
21215
- PromoteRequest: {
21216
- /**
21217
- * Alias
21218
- * @enum {string}
21219
- */
21220
- alias: "latest" | "staging" | "production";
21221
- /** Version */
21222
- version: number;
21223
- };
21224
- /** PromoteResponse */
21225
- PromoteResponse: {
21226
- /** Alias */
21227
- alias: string;
21228
- /** Name */
21229
- name: string;
21230
- /** Version */
21231
- version: number;
21232
- };
21233
19970
  /**
21234
19971
  * PromptLogEntry
21235
19972
  * @description One ``prompt_log`` event projection — full LLM input + output for a turn.
@@ -21335,23 +20072,6 @@ export interface components {
21335
20072
  ProvisionResponse: {
21336
20073
  workspace: components["schemas"]["WorkspaceResponse"];
21337
20074
  };
21338
- /** PurchasePhoneNumberRequest */
21339
- PurchasePhoneNumberRequest: {
21340
- /**
21341
- * Capabilities
21342
- * @default [
21343
- * "inbound",
21344
- * "outbound"
21345
- * ]
21346
- */
21347
- capabilities?: ("inbound" | "outbound")[];
21348
- /**
21349
- * Display Name
21350
- * @default
21351
- */
21352
- display_name?: string;
21353
- phone_number: components["schemas"]["PhoneE164"];
21354
- };
21355
20075
  /** PurgeEntityResponse */
21356
20076
  PurgeEntityResponse: {
21357
20077
  /** Delta Events Note */
@@ -21418,36 +20138,6 @@ export interface components {
21418
20138
  */
21419
20139
  value?: number | null;
21420
20140
  };
21421
- /**
21422
- * QueryRequest
21423
- * @description Execute an open-scope SQL query.
21424
- */
21425
- QueryRequest: {
21426
- /**
21427
- * Sql
21428
- * @description Read-only SQL SELECT statement
21429
- */
21430
- sql: string;
21431
- };
21432
- /** QueryResponse */
21433
- QueryResponse: {
21434
- /**
21435
- * Count
21436
- * @default 0
21437
- */
21438
- count?: number;
21439
- /**
21440
- * Duration Ms
21441
- * @default 0
21442
- */
21443
- duration_ms?: number;
21444
- /** Error */
21445
- error?: string | null;
21446
- /** Results */
21447
- results?: {
21448
- [key: string]: unknown;
21449
- }[];
21450
- };
21451
20141
  /**
21452
20142
  * QuietHours
21453
20143
  * @description Quiet hours — no outbound outreach during this window.
@@ -21735,29 +20425,65 @@ export interface components {
21735
20425
  */
21736
20426
  when_to_use?: string;
21737
20427
  };
21738
- /** RegulationTemplateResponse */
21739
- RegulationTemplateResponse: {
21740
- /** Category */
21741
- category: string;
21742
- /** Description */
21743
- description: string;
21744
- /** Id */
21745
- id: string;
20428
+ /** RegisteredFunctionListResponse */
20429
+ RegisteredFunctionListResponse: {
20430
+ /** Count */
20431
+ count: number;
20432
+ /** Items */
20433
+ items: components["schemas"]["RegisteredFunctionResponse"][];
20434
+ };
20435
+ /**
20436
+ * RegisteredFunctionResponse
20437
+ * @description Single row from ``platform.functions``.
20438
+ */
20439
+ RegisteredFunctionResponse: {
20440
+ /** Deployed At */
20441
+ deployed_at?: string | null;
20442
+ /** Deployed By */
20443
+ deployed_by?: string | null;
21746
20444
  /**
21747
- * Is Composite
21748
- * @default false
20445
+ * Description
20446
+ * @default
21749
20447
  */
21750
- is_composite?: boolean;
20448
+ description?: string;
20449
+ /** Examples */
20450
+ examples?: {
20451
+ [key: string]: unknown;
20452
+ }[];
20453
+ /** Function Type */
20454
+ function_type: string;
20455
+ /** Input Schema */
20456
+ input_schema?: {
20457
+ [key: string]: unknown;
20458
+ };
20459
+ /** Last Test At */
20460
+ last_test_at?: string | null;
20461
+ /** Last Test Duration Ms */
20462
+ last_test_duration_ms?: number | null;
20463
+ /** Last Test Error */
20464
+ last_test_error?: string | null;
20465
+ /** Last Test Status */
20466
+ last_test_status?: string | null;
21751
20467
  /** Name */
21752
20468
  name: string;
21753
- /** Regulation */
21754
- regulation: string;
21755
- /** Rules */
21756
- rules: components["schemas"]["SafetyRuleResponse"][];
21757
- /** Template Ids */
21758
- template_ids?: string[];
21759
- /** Version */
21760
- version: string;
20469
+ /** Parameters */
20470
+ parameters?: {
20471
+ [key: string]: unknown;
20472
+ }[];
20473
+ /** Returns Kind */
20474
+ returns_kind: string;
20475
+ /** Sql Template */
20476
+ sql_template: string;
20477
+ /**
20478
+ * Timeout Ms
20479
+ * @default 30000
20480
+ */
20481
+ timeout_ms?: number;
20482
+ /**
20483
+ * When To Use
20484
+ * @default
20485
+ */
20486
+ when_to_use?: string;
21761
20487
  };
21762
20488
  /**
21763
20489
  * RejectRequest
@@ -22160,21 +20886,6 @@ export interface components {
22160
20886
  */
22161
20887
  level?: "low" | "medium" | "high" | "critical";
22162
20888
  };
22163
- /** RollbackRequest */
22164
- RollbackRequest: {
22165
- /**
22166
- * Version
22167
- * @description Prior version to rebind latest+production to.
22168
- */
22169
- version: number;
22170
- };
22171
- /** RollbackResponse */
22172
- RollbackResponse: {
22173
- /** Name */
22174
- name: string;
22175
- /** Rolled Back To Version */
22176
- rolled_back_to_version: number;
22177
- };
22178
20889
  /** RotateApiKeyRequest */
22179
20890
  RotateApiKeyRequest: {
22180
20891
  /** Duration Days */
@@ -22247,78 +20958,6 @@ export interface components {
22247
20958
  /** Tags */
22248
20959
  tags?: string[];
22249
20960
  };
22250
- /** SafetyConfigResponse */
22251
- SafetyConfigResponse: {
22252
- /** Accumulation Cumulative Count */
22253
- accumulation_cumulative_count: number;
22254
- /** Accumulation Enabled */
22255
- accumulation_enabled: boolean;
22256
- /** Accumulation Fast Track Level */
22257
- accumulation_fast_track_level: number;
22258
- /** Accumulation Mild Threshold */
22259
- accumulation_mild_threshold: number;
22260
- /** Accumulation Single Turn Threshold */
22261
- accumulation_single_turn_threshold: number;
22262
- /** Accumulation Window Size */
22263
- accumulation_window_size: number;
22264
- /** Applied Template Ids */
22265
- applied_template_ids: string[];
22266
- /** Triage Enabled */
22267
- triage_enabled: boolean;
22268
- /** Triage Max History Turns */
22269
- triage_max_history_turns: number;
22270
- /** Triage Model */
22271
- triage_model: string;
22272
- /** Triage Timeout S */
22273
- triage_timeout_s: number;
22274
- };
22275
- /** SafetyRuleResponse */
22276
- SafetyRuleResponse: {
22277
- /**
22278
- * Agent Config
22279
- * @description Agent triage configuration (model, timeout, action space)
22280
- */
22281
- agent_config: {
22282
- [key: string]: unknown;
22283
- };
22284
- /**
22285
- * Description
22286
- * @description Human-readable description of what the rule detects
22287
- */
22288
- description: string;
22289
- /**
22290
- * Escalation
22291
- * @description Escalation configuration (operator type, reason, regulatory basis)
22292
- */
22293
- escalation: {
22294
- [key: string]: unknown;
22295
- };
22296
- /**
22297
- * Name
22298
- * @description Unique rule name within the template
22299
- */
22300
- name: string;
22301
- /**
22302
- * Standalone Threshold
22303
- * @description Confidence threshold for triggering on a single turn
22304
- */
22305
- standalone_threshold: number;
22306
- /**
22307
- * Tags
22308
- * @description Classification tags for grouping and filtering
22309
- */
22310
- tags: string[];
22311
- /**
22312
- * Threshold
22313
- * @description Confidence threshold for triggering in accumulated context
22314
- */
22315
- threshold: number;
22316
- /**
22317
- * Triage Hints
22318
- * @description Hints for the triage model to identify this safety concern
22319
- */
22320
- triage_hints: string[];
22321
- };
22322
20961
  /** SafetyState */
22323
20962
  SafetyState: {
22324
20963
  /**
@@ -22362,84 +21001,6 @@ export interface components {
22362
21001
  */
22363
21002
  match_count?: number;
22364
21003
  };
22365
- /**
22366
- * SafetyTrendPoint
22367
- * @description Single time-bucket data point in the safety trend series.
22368
- */
22369
- SafetyTrendPoint: {
22370
- /**
22371
- * Date
22372
- * Format: date
22373
- * @description Date for the time bucket
22374
- */
22375
- date: string;
22376
- /**
22377
- * Escalated Count
22378
- * @description Escalated calls in this time bucket
22379
- */
22380
- escalated_count: number;
22381
- /**
22382
- * Safety Flagged
22383
- * @description Safety-flagged calls in this time bucket
22384
- */
22385
- safety_flagged: number;
22386
- /**
22387
- * Total Calls
22388
- * @description Total calls in this time bucket
22389
- */
22390
- total_calls: number;
22391
- };
22392
- /**
22393
- * SafetyTrendsResponse
22394
- * @description Safety and escalation trends — risk distribution, escalation rates, and time series.
22395
- */
22396
- SafetyTrendsResponse: {
22397
- /**
22398
- * Risk Distribution
22399
- * @description Count of calls by risk level (e.g. high, medium, low)
22400
- */
22401
- risk_distribution: {
22402
- [key: string]: number;
22403
- };
22404
- /** @description Aggregate safety metrics for the full period */
22405
- summary: components["schemas"]["SafetyTrendsSummary"];
22406
- /**
22407
- * Trend
22408
- * @description Time series of safety metrics per interval bucket
22409
- */
22410
- trend: components["schemas"]["SafetyTrendPoint"][];
22411
- };
22412
- /**
22413
- * SafetyTrendsSummary
22414
- * @description Aggregate safety and escalation counts for the period.
22415
- */
22416
- SafetyTrendsSummary: {
22417
- /**
22418
- * Escalation Rate
22419
- * @description Fraction of calls that were escalated (0.0-1.0)
22420
- */
22421
- escalation_rate: number;
22422
- /**
22423
- * Total Calls
22424
- * @description Total number of calls in the period
22425
- */
22426
- total_calls: number;
22427
- /**
22428
- * Total Escalations
22429
- * @description Number of calls escalated to an operator
22430
- */
22431
- total_escalations: number;
22432
- /**
22433
- * Total Safety Flagged
22434
- * @description Number of calls with a safety summary present
22435
- */
22436
- total_safety_flagged: number;
22437
- /**
22438
- * Total Safety Matches
22439
- * @description Sum of safety match counts across all calls
22440
- */
22441
- total_safety_matches: number;
22442
- };
22443
21004
  /**
22444
21005
  * SampleFact
22445
21006
  * @description Representative fact snippet for a dimension (quality inspection / demos).
@@ -22591,11 +21152,6 @@ export interface components {
22591
21152
  /** Score Rationale */
22592
21153
  score_rationale?: string | null;
22593
21154
  };
22594
- /** SearchAvailableNumbersResponse */
22595
- SearchAvailableNumbersResponse: {
22596
- /** Numbers */
22597
- numbers: components["schemas"]["AvailableNumber"][];
22598
- };
22599
21155
  SearchString: string;
22600
21156
  /**
22601
21157
  * SecretInput
@@ -24462,39 +23018,6 @@ export interface components {
24462
23018
  workspace_id: string;
24463
23019
  };
24464
23020
  StrippedNonemptyString: string;
24465
- /** SubAccountResponse */
24466
- SubAccountResponse: {
24467
- /** Account Sid */
24468
- account_sid: string;
24469
- /**
24470
- * Created At
24471
- * Format: date-time
24472
- */
24473
- created_at: string;
24474
- /** Environment */
24475
- environment: string;
24476
- /** Friendly Name */
24477
- friendly_name: string;
24478
- /** Id */
24479
- id: string;
24480
- /**
24481
- * Status
24482
- * @default active
24483
- */
24484
- status?: string;
24485
- /** Twiml App Sid */
24486
- twiml_app_sid: string | null;
24487
- /**
24488
- * Updated At
24489
- * Format: date-time
24490
- */
24491
- updated_at: string;
24492
- /**
24493
- * Workspace Id
24494
- * Format: uuid
24495
- */
24496
- workspace_id: string;
24497
- };
24498
23021
  /** SubToolLog */
24499
23022
  SubToolLog: {
24500
23023
  /**
@@ -25449,24 +23972,19 @@ export interface components {
25449
23972
  };
25450
23973
  /**
25451
23974
  * TestInvokeResponse
25452
- * @description Response shape for ``POST /v1/{ws}/functions/{name}/v2/test``.
23975
+ * @description Response shape for ``POST /v1/{ws}/functions/{name}/test``.
25453
23976
  *
25454
- * Structural superset of :class:`InvokeResponse` (inheritance makes
25455
- * the relationship explicit and refactor-safe if a field is
25456
- * renamed on the base, both responses move together). Adds the
25457
- * test-only telemetry the DC + SDK need to render a pass/fail
25458
- * badge and an actionable error string when a deployed function
25459
- * blows up at execute time. The underlying invoke uses the same
25460
- * path; ``status`` / ``error`` are filled in by ``service.test``
25461
- * after catching any ``ServiceUnavailableError`` from the
25462
- * executor, so the route never bubbles a 5xx for a logical SQL
25463
- * failure — it's still a 200 with ``status=fail`` so the caller
25464
- * can show the message.
23977
+ * Structural superset of :class:`InvokeResponse`. Adds ``status`` and
23978
+ * ``error`` so the DC can render the executor's failure detail inline
23979
+ * rather than a generic "Invocation failed." The underlying invoke
23980
+ * uses the same path; ``status`` / ``error`` are filled in by
23981
+ * ``service.test`` after catching any ``ServiceUnavailableError`` from
23982
+ * the executor, so the route never bubbles a 5xx for a logical SQL
23983
+ * failure it's still a 200 with ``status=fail`` so the caller can
23984
+ * show the message.
25465
23985
  *
25466
23986
  * Invariant (enforced by :func:`_check_error_when_fail`):
25467
- * ``status == "fail" → error is not None and len(error) > 0``. Caps
25468
- * the error string length so an upstream stack trace never blows up
25469
- * a ``console.log`` line in the browser.
23987
+ * ``status == "fail" → error is not None and len(error) > 0``.
25470
23988
  */
25471
23989
  TestInvokeResponse: {
25472
23990
  /**
@@ -25486,16 +24004,10 @@ export interface components {
25486
24004
  /**
25487
24005
  * Status
25488
24006
  * @default pass
25489
- * @enum {string}
25490
24007
  */
25491
- status?: "pass" | "fail";
24008
+ status?: string;
25492
24009
  /** Test Duration Ms */
25493
24010
  test_duration_ms?: number | null;
25494
- /**
25495
- * Version
25496
- * @default 0
25497
- */
25498
- version?: number;
25499
24011
  };
25500
24012
  /** TestSkillRequest */
25501
24013
  TestSkillRequest: {
@@ -26930,57 +25442,6 @@ export interface components {
26930
25442
  /** Tool Name */
26931
25443
  tool_name: string;
26932
25444
  };
26933
- /** UnificationRuleResponse */
26934
- UnificationRuleResponse: {
26935
- /** Accuracy */
26936
- accuracy: number | null;
26937
- /** Agent Task Id */
26938
- agent_task_id: string | null;
26939
- /**
26940
- * Created At
26941
- * Format: date-time
26942
- */
26943
- created_at: string;
26944
- /** Created By */
26945
- created_by: string | null;
26946
- /** Data Source Id */
26947
- data_source_id: string | null;
26948
- /** Description */
26949
- description: string | null;
26950
- /** Events Processed */
26951
- events_processed: number;
26952
- /**
26953
- * Id
26954
- * Format: uuid
26955
- */
26956
- id: string;
26957
- /** Is Active */
26958
- is_active: boolean;
26959
- /** Last Applied At */
26960
- last_applied_at: string | null;
26961
- /** Name */
26962
- name: string;
26963
- /** Rule Config */
26964
- rule_config: {
26965
- [key: string]: unknown;
26966
- };
26967
- /** Rule Type */
26968
- rule_type: string;
26969
- /** Source Event Type */
26970
- source_event_type: string | null;
26971
- /** Target Entity Type */
26972
- target_entity_type: string | null;
26973
- /**
26974
- * Updated At
26975
- * Format: date-time
26976
- */
26977
- updated_at: string;
26978
- /**
26979
- * Workspace Id
26980
- * Format: uuid
26981
- */
26982
- workspace_id: string;
26983
- };
26984
25445
  /** UpdateAgentRequest */
26985
25446
  UpdateAgentRequest: {
26986
25447
  description?: components["schemas"]["DescriptionString"] | null;
@@ -27093,19 +25554,6 @@ export interface components {
27093
25554
  /** Protocol */
27094
25555
  protocol?: ("rest" | "fhir" | "mcp") | null;
27095
25556
  };
27096
- /** UpdateMonitorConceptRequest */
27097
- UpdateMonitorConceptRequest: {
27098
- agent_config?: components["schemas"]["AgentConfigPayload"] | null;
27099
- description?: components["schemas"]["DescriptionString"] | null;
27100
- escalation?: components["schemas"]["EscalationConfigPayload"] | null;
27101
- name?: components["schemas"]["NameString"] | null;
27102
- /** Standalone Threshold */
27103
- standalone_threshold?: number | null;
27104
- /** Tags */
27105
- tags?: string[] | null;
27106
- /** Threshold */
27107
- threshold?: number | null;
27108
- };
27109
25557
  /** UpdateOperatorRequest */
27110
25558
  UpdateOperatorRequest: {
27111
25559
  /** Connection Method */
@@ -27136,47 +25584,6 @@ export interface components {
27136
25584
  name?: components["schemas"]["NameString"] | null;
27137
25585
  role?: components["schemas"]["NameString"] | null;
27138
25586
  };
27139
- /** UpdatePhoneNumberRequest */
27140
- UpdatePhoneNumberRequest: {
27141
- /** Capabilities */
27142
- capabilities?: ("inbound" | "outbound")[] | null;
27143
- /** Display Name */
27144
- display_name?: string | null;
27145
- forwarding?: components["schemas"]["ForwardingConfigRequest"] | null;
27146
- /** Inbound Service Id */
27147
- inbound_service_id?: string | null;
27148
- /** Notes */
27149
- notes?: string | null;
27150
- /** Provider */
27151
- provider?: ("twilio" | "livekit") | null;
27152
- /** Provider Phone Sid */
27153
- provider_phone_sid?: string | null;
27154
- /** Status */
27155
- status?: ("active" | "inactive") | null;
27156
- };
27157
- /** UpdateSafetyConfigRequest */
27158
- UpdateSafetyConfigRequest: {
27159
- /** Accumulation Cumulative Count */
27160
- accumulation_cumulative_count?: number | null;
27161
- /** Accumulation Enabled */
27162
- accumulation_enabled?: boolean | null;
27163
- /** Accumulation Fast Track Level */
27164
- accumulation_fast_track_level?: number | null;
27165
- /** Accumulation Mild Threshold */
27166
- accumulation_mild_threshold?: number | null;
27167
- /** Accumulation Single Turn Threshold */
27168
- accumulation_single_turn_threshold?: number | null;
27169
- /** Accumulation Window Size */
27170
- accumulation_window_size?: number | null;
27171
- /** Triage Enabled */
27172
- triage_enabled?: boolean | null;
27173
- /** Triage Max History Turns */
27174
- triage_max_history_turns?: number | null;
27175
- /** Triage Model */
27176
- triage_model?: string | null;
27177
- /** Triage Timeout S */
27178
- triage_timeout_s?: number | null;
27179
- };
27180
25587
  /**
27181
25588
  * UpdateSchedulingRuleSetRequest
27182
25589
  * @description Partial update — fields not provided are unchanged. ``params``
@@ -27348,25 +25755,6 @@ export interface components {
27348
25755
  /** Timezone */
27349
25756
  timezone?: string | null;
27350
25757
  };
27351
- /** UpdateUnificationRuleRequest */
27352
- UpdateUnificationRuleRequest: {
27353
- /** Data Source Id */
27354
- data_source_id?: string | null;
27355
- description?: components["schemas"]["DescriptionString"] | null;
27356
- /** Is Active */
27357
- is_active?: boolean | null;
27358
- name?: components["schemas"]["NameString"] | null;
27359
- /** Rule Config */
27360
- rule_config?: {
27361
- [key: string]: unknown;
27362
- } | null;
27363
- /** Rule Type */
27364
- rule_type?: ("field_mapping" | "entity_resolution" | "dedup" | "transform") | null;
27365
- /** Source Event Type */
27366
- source_event_type?: string | null;
27367
- /** Target Entity Type */
27368
- target_entity_type?: string | null;
27369
- };
27370
25758
  /** UpdateWebhookDestinationRequest */
27371
25759
  UpdateWebhookDestinationRequest: {
27372
25760
  /** Accepted Event Types */
@@ -31640,50 +30028,6 @@ export interface operations {
31640
30028
  };
31641
30029
  };
31642
30030
  };
31643
- "get-safety-trends": {
31644
- parameters: {
31645
- query?: {
31646
- days?: number;
31647
- date_from?: string | null;
31648
- date_to?: string | null;
31649
- interval?: "1h" | "1d" | "1w";
31650
- service_id?: string | null;
31651
- };
31652
- header?: never;
31653
- path: {
31654
- workspace_id: string;
31655
- };
31656
- cookie?: never;
31657
- };
31658
- requestBody?: never;
31659
- responses: {
31660
- /** @description Successful Response */
31661
- 200: {
31662
- headers: {
31663
- [name: string]: unknown;
31664
- };
31665
- content: {
31666
- "application/json": components["schemas"]["SafetyTrendsResponse"];
31667
- };
31668
- };
31669
- /** @description Validation Error */
31670
- 422: {
31671
- headers: {
31672
- [name: string]: unknown;
31673
- };
31674
- content: {
31675
- "application/json": components["schemas"]["HTTPValidationError"];
31676
- };
31677
- };
31678
- /** @description Rate limit exceeded */
31679
- 429: {
31680
- headers: {
31681
- [name: string]: unknown;
31682
- };
31683
- content?: never;
31684
- };
31685
- };
31686
- };
31687
30031
  "get-surface-channel-effectiveness": {
31688
30032
  parameters: {
31689
30033
  query?: {
@@ -36478,244 +34822,7 @@ export interface operations {
36478
34822
  [name: string]: unknown;
36479
34823
  };
36480
34824
  content: {
36481
- "application/json": components["schemas"]["FunctionListResponse"];
36482
- };
36483
- };
36484
- /** @description Rate limited */
36485
- 429: {
36486
- headers: {
36487
- [name: string]: unknown;
36488
- };
36489
- content?: never;
36490
- };
36491
- };
36492
- };
36493
- "create-function": {
36494
- parameters: {
36495
- query?: never;
36496
- header?: never;
36497
- path: {
36498
- workspace_id: string;
36499
- };
36500
- cookie?: never;
36501
- };
36502
- requestBody: {
36503
- content: {
36504
- "application/json": components["schemas"]["FunctionCreateRequest"];
36505
- };
36506
- };
36507
- responses: {
36508
- /** @description Successful Response */
36509
- 200: {
36510
- headers: {
36511
- [name: string]: unknown;
36512
- };
36513
- content: {
36514
- "application/json": components["schemas"]["FunctionDef"];
36515
- };
36516
- };
36517
- /** @description Function name already registered */
36518
- 409: {
36519
- headers: {
36520
- [name: string]: unknown;
36521
- };
36522
- content?: never;
36523
- };
36524
- /** @description Validation error */
36525
- 422: {
36526
- headers: {
36527
- [name: string]: unknown;
36528
- };
36529
- content?: never;
36530
- };
36531
- /** @description Rate limited */
36532
- 429: {
36533
- headers: {
36534
- [name: string]: unknown;
36535
- };
36536
- content?: never;
36537
- };
36538
- };
36539
- };
36540
- "discover-catalog": {
36541
- parameters: {
36542
- query?: never;
36543
- header?: never;
36544
- path: {
36545
- workspace_id: string;
36546
- };
36547
- cookie?: never;
36548
- };
36549
- requestBody?: never;
36550
- responses: {
36551
- /** @description Successful Response */
36552
- 200: {
36553
- headers: {
36554
- [name: string]: unknown;
36555
- };
36556
- content: {
36557
- "application/json": components["schemas"]["CatalogResponse"];
36558
- };
36559
- };
36560
- /** @description Rate limited */
36561
- 429: {
36562
- headers: {
36563
- [name: string]: unknown;
36564
- };
36565
- content?: never;
36566
- };
36567
- /** @description Agent engine unavailable */
36568
- 503: {
36569
- headers: {
36570
- [name: string]: unknown;
36571
- };
36572
- content?: never;
36573
- };
36574
- };
36575
- };
36576
- "deploy-function": {
36577
- parameters: {
36578
- query?: never;
36579
- header?: never;
36580
- path: {
36581
- workspace_id: string;
36582
- };
36583
- cookie?: never;
36584
- };
36585
- requestBody: {
36586
- content: {
36587
- "application/json": components["schemas"]["RegisteredFunction"];
36588
- };
36589
- };
36590
- responses: {
36591
- /** @description Successful Response */
36592
- 200: {
36593
- headers: {
36594
- [name: string]: unknown;
36595
- };
36596
- content: {
36597
- "application/json": components["schemas"]["FunctionVersionResponse"];
36598
- };
36599
- };
36600
- /** @description Concurrent deploy raced at the same version */
36601
- 409: {
36602
- headers: {
36603
- [name: string]: unknown;
36604
- };
36605
- content?: never;
36606
- };
36607
- /** @description Validation failure (read-only / bind / parity) */
36608
- 422: {
36609
- headers: {
36610
- [name: string]: unknown;
36611
- };
36612
- content?: never;
36613
- };
36614
- /** @description Rate limited */
36615
- 429: {
36616
- headers: {
36617
- [name: string]: unknown;
36618
- };
36619
- content?: never;
36620
- };
36621
- };
36622
- };
36623
- "query-functions": {
36624
- parameters: {
36625
- query?: never;
36626
- header?: never;
36627
- path: {
36628
- workspace_id: string;
36629
- };
36630
- cookie?: never;
36631
- };
36632
- requestBody: {
36633
- content: {
36634
- "application/json": components["schemas"]["QueryRequest"];
36635
- };
36636
- };
36637
- responses: {
36638
- /** @description Successful Response */
36639
- 200: {
36640
- headers: {
36641
- [name: string]: unknown;
36642
- };
36643
- content: {
36644
- "application/json": components["schemas"]["QueryResponse"];
36645
- };
36646
- };
36647
- /** @description Validation Error */
36648
- 422: {
36649
- headers: {
36650
- [name: string]: unknown;
36651
- };
36652
- content: {
36653
- "application/json": components["schemas"]["HTTPValidationError"];
36654
- };
36655
- };
36656
- /** @description Rate limited */
36657
- 429: {
36658
- headers: {
36659
- [name: string]: unknown;
36660
- };
36661
- content?: never;
36662
- };
36663
- /** @description Agent engine unavailable */
36664
- 503: {
36665
- headers: {
36666
- [name: string]: unknown;
36667
- };
36668
- content?: never;
36669
- };
36670
- };
36671
- };
36672
- "list-registered-functions": {
36673
- parameters: {
36674
- query?: never;
36675
- header?: never;
36676
- path: {
36677
- workspace_id: string;
36678
- };
36679
- cookie?: never;
36680
- };
36681
- requestBody?: never;
36682
- responses: {
36683
- /** @description Successful Response */
36684
- 200: {
36685
- headers: {
36686
- [name: string]: unknown;
36687
- };
36688
- content: {
36689
- "application/json": components["schemas"]["FunctionVersionListResponse"];
36690
- };
36691
- };
36692
- /** @description Rate limited */
36693
- 429: {
36694
- headers: {
36695
- [name: string]: unknown;
36696
- };
36697
- content?: never;
36698
- };
36699
- };
36700
- };
36701
- "sync-catalog": {
36702
- parameters: {
36703
- query?: never;
36704
- header?: never;
36705
- path: {
36706
- workspace_id: string;
36707
- };
36708
- cookie?: never;
36709
- };
36710
- requestBody?: never;
36711
- responses: {
36712
- /** @description Successful Response */
36713
- 200: {
36714
- headers: {
36715
- [name: string]: unknown;
36716
- };
36717
- content: {
36718
- "application/json": components["schemas"]["FunctionListResponse"];
34825
+ "application/json": components["schemas"]["RegisteredFunctionListResponse"];
36719
34826
  };
36720
34827
  };
36721
34828
  /** @description Rate limited */
@@ -36725,16 +34832,9 @@ export interface operations {
36725
34832
  };
36726
34833
  content?: never;
36727
34834
  };
36728
- /** @description Agent engine unavailable */
36729
- 503: {
36730
- headers: {
36731
- [name: string]: unknown;
36732
- };
36733
- content?: never;
36734
- };
36735
34835
  };
36736
34836
  };
36737
- "delete-function": {
34837
+ "get-function": {
36738
34838
  parameters: {
36739
34839
  query?: never;
36740
34840
  header?: never;
@@ -36752,9 +34852,7 @@ export interface operations {
36752
34852
  [name: string]: unknown;
36753
34853
  };
36754
34854
  content: {
36755
- "application/json": {
36756
- [key: string]: string;
36757
- };
34855
+ "application/json": components["schemas"]["RegisteredFunctionResponse"];
36758
34856
  };
36759
34857
  };
36760
34858
  /** @description Function not found */
@@ -36782,7 +34880,7 @@ export interface operations {
36782
34880
  };
36783
34881
  };
36784
34882
  };
36785
- "invoke-function": {
34883
+ "deploy-function": {
36786
34884
  parameters: {
36787
34885
  query?: never;
36788
34886
  header?: never;
@@ -36794,7 +34892,7 @@ export interface operations {
36794
34892
  };
36795
34893
  requestBody: {
36796
34894
  content: {
36797
- "application/json": components["schemas"]["InvokeRequest"];
34895
+ "application/json": components["schemas"]["RegisteredFunction"];
36798
34896
  };
36799
34897
  };
36800
34898
  responses: {
@@ -36804,17 +34902,17 @@ export interface operations {
36804
34902
  [name: string]: unknown;
36805
34903
  };
36806
34904
  content: {
36807
- "application/json": components["schemas"]["InvokeResponse"];
34905
+ "application/json": components["schemas"]["RegisteredFunctionResponse"];
36808
34906
  };
36809
34907
  };
36810
- /** @description Function not found */
36811
- 404: {
34908
+ /** @description URL function_name does not match body name */
34909
+ 400: {
36812
34910
  headers: {
36813
34911
  [name: string]: unknown;
36814
34912
  };
36815
34913
  content?: never;
36816
34914
  };
36817
- /** @description Bind validation failure */
34915
+ /** @description Validation failure (read-only / bind / parity) */
36818
34916
  422: {
36819
34917
  headers: {
36820
34918
  [name: string]: unknown;
@@ -36828,16 +34926,9 @@ export interface operations {
36828
34926
  };
36829
34927
  content?: never;
36830
34928
  };
36831
- /** @description Databricks SQL client unavailable */
36832
- 503: {
36833
- headers: {
36834
- [name: string]: unknown;
36835
- };
36836
- content?: never;
36837
- };
36838
34929
  };
36839
34930
  };
36840
- "promote-function": {
34931
+ "delete-function": {
36841
34932
  parameters: {
36842
34933
  query?: never;
36843
34934
  header?: never;
@@ -36847,72 +34938,16 @@ export interface operations {
36847
34938
  };
36848
34939
  cookie?: never;
36849
34940
  };
36850
- requestBody: {
36851
- content: {
36852
- "application/json": components["schemas"]["PromoteRequest"];
36853
- };
36854
- };
34941
+ requestBody?: never;
36855
34942
  responses: {
36856
34943
  /** @description Successful Response */
36857
- 200: {
36858
- headers: {
36859
- [name: string]: unknown;
36860
- };
36861
- content: {
36862
- "application/json": components["schemas"]["PromoteResponse"];
36863
- };
36864
- };
36865
- /** @description Function or version not found */
36866
- 404: {
36867
- headers: {
36868
- [name: string]: unknown;
36869
- };
36870
- content?: never;
36871
- };
36872
- /** @description Validation Error */
36873
- 422: {
36874
- headers: {
36875
- [name: string]: unknown;
36876
- };
36877
- content: {
36878
- "application/json": components["schemas"]["HTTPValidationError"];
36879
- };
36880
- };
36881
- /** @description Rate limited */
36882
- 429: {
34944
+ 204: {
36883
34945
  headers: {
36884
34946
  [name: string]: unknown;
36885
34947
  };
36886
34948
  content?: never;
36887
34949
  };
36888
- };
36889
- };
36890
- "rollback-function": {
36891
- parameters: {
36892
- query?: never;
36893
- header?: never;
36894
- path: {
36895
- workspace_id: string;
36896
- function_name: string;
36897
- };
36898
- cookie?: never;
36899
- };
36900
- requestBody: {
36901
- content: {
36902
- "application/json": components["schemas"]["RollbackRequest"];
36903
- };
36904
- };
36905
- responses: {
36906
- /** @description Successful Response */
36907
- 200: {
36908
- headers: {
36909
- [name: string]: unknown;
36910
- };
36911
- content: {
36912
- "application/json": components["schemas"]["RollbackResponse"];
36913
- };
36914
- };
36915
- /** @description Function or version not found */
34950
+ /** @description Function not found */
36916
34951
  404: {
36917
34952
  headers: {
36918
34953
  [name: string]: unknown;
@@ -36937,7 +34972,7 @@ export interface operations {
36937
34972
  };
36938
34973
  };
36939
34974
  };
36940
- "test-function": {
34975
+ "invoke-function": {
36941
34976
  parameters: {
36942
34977
  query?: never;
36943
34978
  header?: never;
@@ -36949,7 +34984,7 @@ export interface operations {
36949
34984
  };
36950
34985
  requestBody: {
36951
34986
  content: {
36952
- "application/json": components["schemas"]["FunctionTestRequest"];
34987
+ "application/json": components["schemas"]["InvokeRequest"];
36953
34988
  };
36954
34989
  };
36955
34990
  responses: {
@@ -36959,7 +34994,7 @@ export interface operations {
36959
34994
  [name: string]: unknown;
36960
34995
  };
36961
34996
  content: {
36962
- "application/json": components["schemas"]["FunctionTestResponse"];
34997
+ "application/json": components["schemas"]["InvokeResponse"];
36963
34998
  };
36964
34999
  };
36965
35000
  /** @description Function not found */
@@ -36969,14 +35004,12 @@ export interface operations {
36969
35004
  };
36970
35005
  content?: never;
36971
35006
  };
36972
- /** @description Validation Error */
35007
+ /** @description Bind validation failure */
36973
35008
  422: {
36974
35009
  headers: {
36975
35010
  [name: string]: unknown;
36976
35011
  };
36977
- content: {
36978
- "application/json": components["schemas"]["HTTPValidationError"];
36979
- };
35012
+ content?: never;
36980
35013
  };
36981
35014
  /** @description Rate limited */
36982
35015
  429: {
@@ -36985,7 +35018,7 @@ export interface operations {
36985
35018
  };
36986
35019
  content?: never;
36987
35020
  };
36988
- /** @description Agent engine unavailable */
35021
+ /** @description Databricks SQL client unavailable */
36989
35022
  503: {
36990
35023
  headers: {
36991
35024
  [name: string]: unknown;
@@ -36994,7 +35027,7 @@ export interface operations {
36994
35027
  };
36995
35028
  };
36996
35029
  };
36997
- "test-function-v2": {
35030
+ "test-function": {
36998
35031
  parameters: {
36999
35032
  query?: never;
37000
35033
  header?: never;
@@ -37051,100 +35084,6 @@ export interface operations {
37051
35084
  };
37052
35085
  };
37053
35086
  };
37054
- "get-function-version": {
37055
- parameters: {
37056
- query?: {
37057
- alias?: "latest" | "staging" | "production";
37058
- };
37059
- header?: never;
37060
- path: {
37061
- workspace_id: string;
37062
- function_name: string;
37063
- };
37064
- cookie?: never;
37065
- };
37066
- requestBody?: never;
37067
- responses: {
37068
- /** @description Successful Response */
37069
- 200: {
37070
- headers: {
37071
- [name: string]: unknown;
37072
- };
37073
- content: {
37074
- "application/json": components["schemas"]["FunctionVersionResponse"];
37075
- };
37076
- };
37077
- /** @description Function not found */
37078
- 404: {
37079
- headers: {
37080
- [name: string]: unknown;
37081
- };
37082
- content?: never;
37083
- };
37084
- /** @description Validation Error */
37085
- 422: {
37086
- headers: {
37087
- [name: string]: unknown;
37088
- };
37089
- content: {
37090
- "application/json": components["schemas"]["HTTPValidationError"];
37091
- };
37092
- };
37093
- /** @description Rate limited */
37094
- 429: {
37095
- headers: {
37096
- [name: string]: unknown;
37097
- };
37098
- content?: never;
37099
- };
37100
- };
37101
- };
37102
- "list-function-versions": {
37103
- parameters: {
37104
- query?: never;
37105
- header?: never;
37106
- path: {
37107
- workspace_id: string;
37108
- function_name: string;
37109
- };
37110
- cookie?: never;
37111
- };
37112
- requestBody?: never;
37113
- responses: {
37114
- /** @description Successful Response */
37115
- 200: {
37116
- headers: {
37117
- [name: string]: unknown;
37118
- };
37119
- content: {
37120
- "application/json": components["schemas"]["FunctionVersionListResponse"];
37121
- };
37122
- };
37123
- /** @description Function not found */
37124
- 404: {
37125
- headers: {
37126
- [name: string]: unknown;
37127
- };
37128
- content?: never;
37129
- };
37130
- /** @description Validation Error */
37131
- 422: {
37132
- headers: {
37133
- [name: string]: unknown;
37134
- };
37135
- content: {
37136
- "application/json": components["schemas"]["HTTPValidationError"];
37137
- };
37138
- };
37139
- /** @description Rate limited */
37140
- 429: {
37141
- headers: {
37142
- [name: string]: unknown;
37143
- };
37144
- content?: never;
37145
- };
37146
- };
37147
- };
37148
35087
  receive_webhook_v1__workspace_id__hooks__destination_id__post: {
37149
35088
  parameters: {
37150
35089
  query?: never;
@@ -39014,236 +36953,6 @@ export interface operations {
39014
36953
  };
39015
36954
  };
39016
36955
  };
39017
- "list-monitor-concepts": {
39018
- parameters: {
39019
- query?: {
39020
- limit?: number;
39021
- continuation_token?: number;
39022
- };
39023
- header?: never;
39024
- path: {
39025
- workspace_id: string;
39026
- };
39027
- cookie?: never;
39028
- };
39029
- requestBody?: never;
39030
- responses: {
39031
- /** @description Successful Response */
39032
- 200: {
39033
- headers: {
39034
- [name: string]: unknown;
39035
- };
39036
- content: {
39037
- "application/json": components["schemas"]["PaginatedResponse_MonitorConceptResponse_"];
39038
- };
39039
- };
39040
- /** @description Missing or invalid API key. */
39041
- 401: {
39042
- headers: {
39043
- [name: string]: unknown;
39044
- };
39045
- content?: never;
39046
- };
39047
- /** @description Validation Error */
39048
- 422: {
39049
- headers: {
39050
- [name: string]: unknown;
39051
- };
39052
- content: {
39053
- "application/json": components["schemas"]["HTTPValidationError"];
39054
- };
39055
- };
39056
- };
39057
- };
39058
- "create-monitor-concept": {
39059
- parameters: {
39060
- query?: never;
39061
- header?: never;
39062
- path: {
39063
- workspace_id: string;
39064
- };
39065
- cookie?: never;
39066
- };
39067
- requestBody: {
39068
- content: {
39069
- "application/json": components["schemas"]["CreateMonitorConceptRequest"];
39070
- };
39071
- };
39072
- responses: {
39073
- /** @description Successful Response */
39074
- 201: {
39075
- headers: {
39076
- [name: string]: unknown;
39077
- };
39078
- content: {
39079
- "application/json": components["schemas"]["MonitorConceptResponse"];
39080
- };
39081
- };
39082
- /** @description Missing or invalid API key. */
39083
- 401: {
39084
- headers: {
39085
- [name: string]: unknown;
39086
- };
39087
- content?: never;
39088
- };
39089
- /** @description Insufficient permissions. */
39090
- 403: {
39091
- headers: {
39092
- [name: string]: unknown;
39093
- };
39094
- content?: never;
39095
- };
39096
- /** @description Validation Error */
39097
- 422: {
39098
- headers: {
39099
- [name: string]: unknown;
39100
- };
39101
- content: {
39102
- "application/json": components["schemas"]["HTTPValidationError"];
39103
- };
39104
- };
39105
- };
39106
- };
39107
- "get-monitor-concept": {
39108
- parameters: {
39109
- query?: never;
39110
- header?: never;
39111
- path: {
39112
- workspace_id: string;
39113
- concept_id: string;
39114
- };
39115
- cookie?: never;
39116
- };
39117
- requestBody?: never;
39118
- responses: {
39119
- /** @description Successful Response */
39120
- 200: {
39121
- headers: {
39122
- [name: string]: unknown;
39123
- };
39124
- content: {
39125
- "application/json": components["schemas"]["MonitorConceptResponse"];
39126
- };
39127
- };
39128
- /** @description Missing or invalid API key. */
39129
- 401: {
39130
- headers: {
39131
- [name: string]: unknown;
39132
- };
39133
- content?: never;
39134
- };
39135
- /** @description Monitor concept not found. */
39136
- 404: {
39137
- headers: {
39138
- [name: string]: unknown;
39139
- };
39140
- content?: never;
39141
- };
39142
- /** @description Validation Error */
39143
- 422: {
39144
- headers: {
39145
- [name: string]: unknown;
39146
- };
39147
- content: {
39148
- "application/json": components["schemas"]["HTTPValidationError"];
39149
- };
39150
- };
39151
- };
39152
- };
39153
- "delete-monitor-concept": {
39154
- parameters: {
39155
- query?: never;
39156
- header?: never;
39157
- path: {
39158
- workspace_id: string;
39159
- concept_id: string;
39160
- };
39161
- cookie?: never;
39162
- };
39163
- requestBody?: never;
39164
- responses: {
39165
- /** @description Successful Response */
39166
- 204: {
39167
- headers: {
39168
- [name: string]: unknown;
39169
- };
39170
- content?: never;
39171
- };
39172
- /** @description Missing or invalid API key. */
39173
- 401: {
39174
- headers: {
39175
- [name: string]: unknown;
39176
- };
39177
- content?: never;
39178
- };
39179
- /** @description Monitor concept not found. */
39180
- 404: {
39181
- headers: {
39182
- [name: string]: unknown;
39183
- };
39184
- content?: never;
39185
- };
39186
- /** @description Validation Error */
39187
- 422: {
39188
- headers: {
39189
- [name: string]: unknown;
39190
- };
39191
- content: {
39192
- "application/json": components["schemas"]["HTTPValidationError"];
39193
- };
39194
- };
39195
- };
39196
- };
39197
- "update-monitor-concept": {
39198
- parameters: {
39199
- query?: never;
39200
- header?: never;
39201
- path: {
39202
- workspace_id: string;
39203
- concept_id: string;
39204
- };
39205
- cookie?: never;
39206
- };
39207
- requestBody: {
39208
- content: {
39209
- "application/json": components["schemas"]["UpdateMonitorConceptRequest"];
39210
- };
39211
- };
39212
- responses: {
39213
- /** @description Successful Response */
39214
- 200: {
39215
- headers: {
39216
- [name: string]: unknown;
39217
- };
39218
- content: {
39219
- "application/json": components["schemas"]["MonitorConceptResponse"];
39220
- };
39221
- };
39222
- /** @description Missing or invalid API key. */
39223
- 401: {
39224
- headers: {
39225
- [name: string]: unknown;
39226
- };
39227
- content?: never;
39228
- };
39229
- /** @description Monitor concept not found. */
39230
- 404: {
39231
- headers: {
39232
- [name: string]: unknown;
39233
- };
39234
- content?: never;
39235
- };
39236
- /** @description Validation Error */
39237
- 422: {
39238
- headers: {
39239
- [name: string]: unknown;
39240
- };
39241
- content: {
39242
- "application/json": components["schemas"]["HTTPValidationError"];
39243
- };
39244
- };
39245
- };
39246
- };
39247
36956
  "get-egress-ips": {
39248
36957
  parameters: {
39249
36958
  query?: never;
@@ -40265,446 +37974,6 @@ export interface operations {
40265
37974
  };
40266
37975
  };
40267
37976
  };
40268
- "list-phone-numbers": {
40269
- parameters: {
40270
- query?: {
40271
- status?: ("active" | "inactive") | null;
40272
- limit?: number;
40273
- continuation_token?: number;
40274
- };
40275
- header?: never;
40276
- path: {
40277
- workspace_id: string;
40278
- };
40279
- cookie?: never;
40280
- };
40281
- requestBody?: never;
40282
- responses: {
40283
- /** @description Successful Response */
40284
- 200: {
40285
- headers: {
40286
- [name: string]: unknown;
40287
- };
40288
- content: {
40289
- "application/json": components["schemas"]["PaginatedResponse_PhoneNumberResponse_"];
40290
- };
40291
- };
40292
- /** @description Missing or invalid API key. */
40293
- 401: {
40294
- headers: {
40295
- [name: string]: unknown;
40296
- };
40297
- content?: never;
40298
- };
40299
- /** @description Insufficient permissions. */
40300
- 403: {
40301
- headers: {
40302
- [name: string]: unknown;
40303
- };
40304
- content?: never;
40305
- };
40306
- /** @description Validation Error */
40307
- 422: {
40308
- headers: {
40309
- [name: string]: unknown;
40310
- };
40311
- content: {
40312
- "application/json": components["schemas"]["HTTPValidationError"];
40313
- };
40314
- };
40315
- };
40316
- };
40317
- "create-phone-number": {
40318
- parameters: {
40319
- query?: never;
40320
- header?: never;
40321
- path: {
40322
- workspace_id: string;
40323
- };
40324
- cookie?: never;
40325
- };
40326
- requestBody: {
40327
- content: {
40328
- "application/json": components["schemas"]["CreatePhoneNumberRequest"];
40329
- };
40330
- };
40331
- responses: {
40332
- /** @description Successful Response */
40333
- 201: {
40334
- headers: {
40335
- [name: string]: unknown;
40336
- };
40337
- content: {
40338
- "application/json": components["schemas"]["PhoneNumberResponse"];
40339
- };
40340
- };
40341
- /** @description Missing or invalid API key. */
40342
- 401: {
40343
- headers: {
40344
- [name: string]: unknown;
40345
- };
40346
- content?: never;
40347
- };
40348
- /** @description Insufficient permissions. */
40349
- 403: {
40350
- headers: {
40351
- [name: string]: unknown;
40352
- };
40353
- content?: never;
40354
- };
40355
- /** @description Workspace not found. */
40356
- 404: {
40357
- headers: {
40358
- [name: string]: unknown;
40359
- };
40360
- content?: never;
40361
- };
40362
- /** @description Phone number already registered. */
40363
- 409: {
40364
- headers: {
40365
- [name: string]: unknown;
40366
- };
40367
- content?: never;
40368
- };
40369
- /** @description Invalid request body. */
40370
- 422: {
40371
- headers: {
40372
- [name: string]: unknown;
40373
- };
40374
- content?: never;
40375
- };
40376
- };
40377
- };
40378
- "bind-channel-phone": {
40379
- parameters: {
40380
- query?: never;
40381
- header?: never;
40382
- path: {
40383
- workspace_id: string;
40384
- };
40385
- cookie?: never;
40386
- };
40387
- requestBody: {
40388
- content: {
40389
- "application/json": components["schemas"]["BindChannelPhoneRequest"];
40390
- };
40391
- };
40392
- responses: {
40393
- /** @description Successful Response */
40394
- 201: {
40395
- headers: {
40396
- [name: string]: unknown;
40397
- };
40398
- content: {
40399
- "application/json": components["schemas"]["PhoneNumberResponse"];
40400
- };
40401
- };
40402
- /** @description Insufficient permissions. */
40403
- 403: {
40404
- headers: {
40405
- [name: string]: unknown;
40406
- };
40407
- content?: never;
40408
- };
40409
- /** @description Channel phone ID not found in channel-manager. */
40410
- 404: {
40411
- headers: {
40412
- [name: string]: unknown;
40413
- };
40414
- content?: never;
40415
- };
40416
- /** @description Phone number already registered. */
40417
- 409: {
40418
- headers: {
40419
- [name: string]: unknown;
40420
- };
40421
- content?: never;
40422
- };
40423
- /** @description Validation Error */
40424
- 422: {
40425
- headers: {
40426
- [name: string]: unknown;
40427
- };
40428
- content: {
40429
- "application/json": components["schemas"]["HTTPValidationError"];
40430
- };
40431
- };
40432
- /** @description Channel manager not configured. */
40433
- 503: {
40434
- headers: {
40435
- [name: string]: unknown;
40436
- };
40437
- content?: never;
40438
- };
40439
- };
40440
- };
40441
- "get-phone-number": {
40442
- parameters: {
40443
- query?: never;
40444
- header?: never;
40445
- path: {
40446
- workspace_id: string;
40447
- phone_number_id: string;
40448
- };
40449
- cookie?: never;
40450
- };
40451
- requestBody?: never;
40452
- responses: {
40453
- /** @description Successful Response */
40454
- 200: {
40455
- headers: {
40456
- [name: string]: unknown;
40457
- };
40458
- content: {
40459
- "application/json": components["schemas"]["PhoneNumberResponse"];
40460
- };
40461
- };
40462
- /** @description Missing or invalid API key. */
40463
- 401: {
40464
- headers: {
40465
- [name: string]: unknown;
40466
- };
40467
- content?: never;
40468
- };
40469
- /** @description Insufficient permissions. */
40470
- 403: {
40471
- headers: {
40472
- [name: string]: unknown;
40473
- };
40474
- content?: never;
40475
- };
40476
- /** @description Phone number not found. */
40477
- 404: {
40478
- headers: {
40479
- [name: string]: unknown;
40480
- };
40481
- content?: never;
40482
- };
40483
- /** @description Validation Error */
40484
- 422: {
40485
- headers: {
40486
- [name: string]: unknown;
40487
- };
40488
- content: {
40489
- "application/json": components["schemas"]["HTTPValidationError"];
40490
- };
40491
- };
40492
- };
40493
- };
40494
- "update-phone-number": {
40495
- parameters: {
40496
- query?: never;
40497
- header?: never;
40498
- path: {
40499
- workspace_id: string;
40500
- phone_number_id: string;
40501
- };
40502
- cookie?: never;
40503
- };
40504
- requestBody: {
40505
- content: {
40506
- "application/json": components["schemas"]["UpdatePhoneNumberRequest"];
40507
- };
40508
- };
40509
- responses: {
40510
- /** @description Successful Response */
40511
- 200: {
40512
- headers: {
40513
- [name: string]: unknown;
40514
- };
40515
- content: {
40516
- "application/json": components["schemas"]["PhoneNumberResponse"];
40517
- };
40518
- };
40519
- /** @description Missing or invalid API key. */
40520
- 401: {
40521
- headers: {
40522
- [name: string]: unknown;
40523
- };
40524
- content?: never;
40525
- };
40526
- /** @description Insufficient permissions. */
40527
- 403: {
40528
- headers: {
40529
- [name: string]: unknown;
40530
- };
40531
- content?: never;
40532
- };
40533
- /** @description Phone number not found. */
40534
- 404: {
40535
- headers: {
40536
- [name: string]: unknown;
40537
- };
40538
- content?: never;
40539
- };
40540
- /** @description Invalid request body. */
40541
- 422: {
40542
- headers: {
40543
- [name: string]: unknown;
40544
- };
40545
- content?: never;
40546
- };
40547
- };
40548
- };
40549
- "delete-phone-number": {
40550
- parameters: {
40551
- query?: never;
40552
- header?: never;
40553
- path: {
40554
- workspace_id: string;
40555
- phone_number_id: string;
40556
- };
40557
- cookie?: never;
40558
- };
40559
- requestBody?: never;
40560
- responses: {
40561
- /** @description Successful Response */
40562
- 204: {
40563
- headers: {
40564
- [name: string]: unknown;
40565
- };
40566
- content?: never;
40567
- };
40568
- /** @description Missing or invalid API key. */
40569
- 401: {
40570
- headers: {
40571
- [name: string]: unknown;
40572
- };
40573
- content?: never;
40574
- };
40575
- /** @description Insufficient permissions. */
40576
- 403: {
40577
- headers: {
40578
- [name: string]: unknown;
40579
- };
40580
- content?: never;
40581
- };
40582
- /** @description Phone number not found. */
40583
- 404: {
40584
- headers: {
40585
- [name: string]: unknown;
40586
- };
40587
- content?: never;
40588
- };
40589
- /** @description Validation Error */
40590
- 422: {
40591
- headers: {
40592
- [name: string]: unknown;
40593
- };
40594
- content: {
40595
- "application/json": components["schemas"]["HTTPValidationError"];
40596
- };
40597
- };
40598
- };
40599
- };
40600
- "set-phone-number-forwarding": {
40601
- parameters: {
40602
- query?: never;
40603
- header?: never;
40604
- path: {
40605
- workspace_id: string;
40606
- phone_number_id: string;
40607
- };
40608
- cookie?: never;
40609
- };
40610
- requestBody: {
40611
- content: {
40612
- "application/json": components["schemas"]["ForwardingConfigRequest"];
40613
- };
40614
- };
40615
- responses: {
40616
- /** @description Successful Response */
40617
- 200: {
40618
- headers: {
40619
- [name: string]: unknown;
40620
- };
40621
- content: {
40622
- "application/json": components["schemas"]["PhoneNumberResponse"];
40623
- };
40624
- };
40625
- /** @description Missing or invalid API key. */
40626
- 401: {
40627
- headers: {
40628
- [name: string]: unknown;
40629
- };
40630
- content?: never;
40631
- };
40632
- /** @description Insufficient permissions. */
40633
- 403: {
40634
- headers: {
40635
- [name: string]: unknown;
40636
- };
40637
- content?: never;
40638
- };
40639
- /** @description Phone number not found. */
40640
- 404: {
40641
- headers: {
40642
- [name: string]: unknown;
40643
- };
40644
- content?: never;
40645
- };
40646
- /** @description Invalid forwarding config. */
40647
- 422: {
40648
- headers: {
40649
- [name: string]: unknown;
40650
- };
40651
- content?: never;
40652
- };
40653
- };
40654
- };
40655
- "clear-phone-number-forwarding": {
40656
- parameters: {
40657
- query?: never;
40658
- header?: never;
40659
- path: {
40660
- workspace_id: string;
40661
- phone_number_id: string;
40662
- };
40663
- cookie?: never;
40664
- };
40665
- requestBody?: never;
40666
- responses: {
40667
- /** @description Successful Response */
40668
- 200: {
40669
- headers: {
40670
- [name: string]: unknown;
40671
- };
40672
- content: {
40673
- "application/json": components["schemas"]["PhoneNumberResponse"];
40674
- };
40675
- };
40676
- /** @description Missing or invalid API key. */
40677
- 401: {
40678
- headers: {
40679
- [name: string]: unknown;
40680
- };
40681
- content?: never;
40682
- };
40683
- /** @description Insufficient permissions. */
40684
- 403: {
40685
- headers: {
40686
- [name: string]: unknown;
40687
- };
40688
- content?: never;
40689
- };
40690
- /** @description Phone number not found. */
40691
- 404: {
40692
- headers: {
40693
- [name: string]: unknown;
40694
- };
40695
- content?: never;
40696
- };
40697
- /** @description Validation Error */
40698
- 422: {
40699
- headers: {
40700
- [name: string]: unknown;
40701
- };
40702
- content: {
40703
- "application/json": components["schemas"]["HTTPValidationError"];
40704
- };
40705
- };
40706
- };
40707
- };
40708
37977
  "get-entity-resolution": {
40709
37978
  parameters: {
40710
37979
  query?: never;
@@ -41961,202 +39230,6 @@ export interface operations {
41961
39230
  };
41962
39231
  };
41963
39232
  };
41964
- "get-safety-config": {
41965
- parameters: {
41966
- query?: never;
41967
- header?: never;
41968
- path: {
41969
- workspace_id: string;
41970
- };
41971
- cookie?: never;
41972
- };
41973
- requestBody?: never;
41974
- responses: {
41975
- /** @description Successful Response */
41976
- 200: {
41977
- headers: {
41978
- [name: string]: unknown;
41979
- };
41980
- content: {
41981
- "application/json": components["schemas"]["SafetyConfigResponse"];
41982
- };
41983
- };
41984
- /** @description Missing or invalid API key. */
41985
- 401: {
41986
- headers: {
41987
- [name: string]: unknown;
41988
- };
41989
- content?: never;
41990
- };
41991
- };
41992
- };
41993
- "update-safety-config": {
41994
- parameters: {
41995
- query?: never;
41996
- header?: never;
41997
- path: {
41998
- workspace_id: string;
41999
- };
42000
- cookie?: never;
42001
- };
42002
- requestBody: {
42003
- content: {
42004
- "application/json": components["schemas"]["UpdateSafetyConfigRequest"];
42005
- };
42006
- };
42007
- responses: {
42008
- /** @description Successful Response */
42009
- 200: {
42010
- headers: {
42011
- [name: string]: unknown;
42012
- };
42013
- content: {
42014
- "application/json": components["schemas"]["SafetyConfigResponse"];
42015
- };
42016
- };
42017
- /** @description Missing or invalid API key. */
42018
- 401: {
42019
- headers: {
42020
- [name: string]: unknown;
42021
- };
42022
- content?: never;
42023
- };
42024
- /** @description Validation Error */
42025
- 422: {
42026
- headers: {
42027
- [name: string]: unknown;
42028
- };
42029
- content: {
42030
- "application/json": components["schemas"]["HTTPValidationError"];
42031
- };
42032
- };
42033
- };
42034
- };
42035
- "list-safety-templates": {
42036
- parameters: {
42037
- query?: never;
42038
- header?: never;
42039
- path: {
42040
- workspace_id: string;
42041
- };
42042
- cookie?: never;
42043
- };
42044
- requestBody?: never;
42045
- responses: {
42046
- /** @description Successful Response */
42047
- 200: {
42048
- headers: {
42049
- [name: string]: unknown;
42050
- };
42051
- content: {
42052
- "application/json": components["schemas"]["RegulationTemplateResponse"][];
42053
- };
42054
- };
42055
- /** @description Missing or invalid API key. */
42056
- 401: {
42057
- headers: {
42058
- [name: string]: unknown;
42059
- };
42060
- content?: never;
42061
- };
42062
- };
42063
- };
42064
- "get-safety-template": {
42065
- parameters: {
42066
- query?: never;
42067
- header?: never;
42068
- path: {
42069
- workspace_id: string;
42070
- template_id: string;
42071
- };
42072
- cookie?: never;
42073
- };
42074
- requestBody?: never;
42075
- responses: {
42076
- /** @description Successful Response */
42077
- 200: {
42078
- headers: {
42079
- [name: string]: unknown;
42080
- };
42081
- content: {
42082
- "application/json": components["schemas"]["RegulationTemplateResponse"];
42083
- };
42084
- };
42085
- /** @description Missing or invalid API key. */
42086
- 401: {
42087
- headers: {
42088
- [name: string]: unknown;
42089
- };
42090
- content?: never;
42091
- };
42092
- /** @description Template not found. */
42093
- 404: {
42094
- headers: {
42095
- [name: string]: unknown;
42096
- };
42097
- content?: never;
42098
- };
42099
- /** @description Validation Error */
42100
- 422: {
42101
- headers: {
42102
- [name: string]: unknown;
42103
- };
42104
- content: {
42105
- "application/json": components["schemas"]["HTTPValidationError"];
42106
- };
42107
- };
42108
- };
42109
- };
42110
- "apply-safety-template": {
42111
- parameters: {
42112
- query?: never;
42113
- header?: never;
42114
- path: {
42115
- workspace_id: string;
42116
- template_id: string;
42117
- };
42118
- cookie?: never;
42119
- };
42120
- requestBody: {
42121
- content: {
42122
- "application/json": components["schemas"]["ApplyTemplateRequest"];
42123
- };
42124
- };
42125
- responses: {
42126
- /** @description Successful Response */
42127
- 200: {
42128
- headers: {
42129
- [name: string]: unknown;
42130
- };
42131
- content: {
42132
- "application/json": components["schemas"]["ApplyTemplateResponse"];
42133
- };
42134
- };
42135
- /** @description Missing or invalid API key. */
42136
- 401: {
42137
- headers: {
42138
- [name: string]: unknown;
42139
- };
42140
- content?: never;
42141
- };
42142
- /** @description Template not found. */
42143
- 404: {
42144
- headers: {
42145
- [name: string]: unknown;
42146
- };
42147
- content?: never;
42148
- };
42149
- /** @description Validation Error */
42150
- 422: {
42151
- headers: {
42152
- [name: string]: unknown;
42153
- };
42154
- content: {
42155
- "application/json": components["schemas"]["HTTPValidationError"];
42156
- };
42157
- };
42158
- };
42159
- };
42160
39233
  "list-scheduling-rule-sets": {
42161
39234
  parameters: {
42162
39235
  query?: {
@@ -46988,496 +44061,6 @@ export interface operations {
46988
44061
  };
46989
44062
  };
46990
44063
  };
46991
- "search-available-phone-numbers": {
46992
- parameters: {
46993
- query?: {
46994
- country?: string;
46995
- area_code?: string | null;
46996
- contains?: string | null;
46997
- limit?: number;
46998
- };
46999
- header?: never;
47000
- path: {
47001
- workspace_id: string;
47002
- };
47003
- cookie?: never;
47004
- };
47005
- requestBody?: never;
47006
- responses: {
47007
- /** @description Successful Response */
47008
- 200: {
47009
- headers: {
47010
- [name: string]: unknown;
47011
- };
47012
- content: {
47013
- "application/json": components["schemas"]["SearchAvailableNumbersResponse"];
47014
- };
47015
- };
47016
- /** @description Missing or invalid API key. */
47017
- 401: {
47018
- headers: {
47019
- [name: string]: unknown;
47020
- };
47021
- content?: never;
47022
- };
47023
- /** @description Insufficient permissions. */
47024
- 403: {
47025
- headers: {
47026
- [name: string]: unknown;
47027
- };
47028
- content?: never;
47029
- };
47030
- /** @description No sub-account provisioned. */
47031
- 404: {
47032
- headers: {
47033
- [name: string]: unknown;
47034
- };
47035
- content?: never;
47036
- };
47037
- /** @description Validation Error */
47038
- 422: {
47039
- headers: {
47040
- [name: string]: unknown;
47041
- };
47042
- content: {
47043
- "application/json": components["schemas"]["HTTPValidationError"];
47044
- };
47045
- };
47046
- };
47047
- };
47048
- "purchase-phone-number": {
47049
- parameters: {
47050
- query?: never;
47051
- header?: never;
47052
- path: {
47053
- workspace_id: string;
47054
- };
47055
- cookie?: never;
47056
- };
47057
- requestBody: {
47058
- content: {
47059
- "application/json": components["schemas"]["PurchasePhoneNumberRequest"];
47060
- };
47061
- };
47062
- responses: {
47063
- /** @description Successful Response */
47064
- 201: {
47065
- headers: {
47066
- [name: string]: unknown;
47067
- };
47068
- content: {
47069
- "application/json": components["schemas"]["PhoneNumberPurchaseResponse"];
47070
- };
47071
- };
47072
- /** @description Missing or invalid API key. */
47073
- 401: {
47074
- headers: {
47075
- [name: string]: unknown;
47076
- };
47077
- content?: never;
47078
- };
47079
- /** @description Insufficient permissions. */
47080
- 403: {
47081
- headers: {
47082
- [name: string]: unknown;
47083
- };
47084
- content?: never;
47085
- };
47086
- /** @description No sub-account provisioned. */
47087
- 404: {
47088
- headers: {
47089
- [name: string]: unknown;
47090
- };
47091
- content?: never;
47092
- };
47093
- /** @description Phone number already registered. */
47094
- 409: {
47095
- headers: {
47096
- [name: string]: unknown;
47097
- };
47098
- content?: never;
47099
- };
47100
- /** @description Validation Error */
47101
- 422: {
47102
- headers: {
47103
- [name: string]: unknown;
47104
- };
47105
- content: {
47106
- "application/json": components["schemas"]["HTTPValidationError"];
47107
- };
47108
- };
47109
- };
47110
- };
47111
- "release-phone-number": {
47112
- parameters: {
47113
- query?: never;
47114
- header?: never;
47115
- path: {
47116
- workspace_id: string;
47117
- phone_number_id: string;
47118
- };
47119
- cookie?: never;
47120
- };
47121
- requestBody?: never;
47122
- responses: {
47123
- /** @description Successful Response */
47124
- 204: {
47125
- headers: {
47126
- [name: string]: unknown;
47127
- };
47128
- content?: never;
47129
- };
47130
- /** @description Missing or invalid API key. */
47131
- 401: {
47132
- headers: {
47133
- [name: string]: unknown;
47134
- };
47135
- content?: never;
47136
- };
47137
- /** @description Insufficient permissions. */
47138
- 403: {
47139
- headers: {
47140
- [name: string]: unknown;
47141
- };
47142
- content?: never;
47143
- };
47144
- /** @description Phone number not found. */
47145
- 404: {
47146
- headers: {
47147
- [name: string]: unknown;
47148
- };
47149
- content?: never;
47150
- };
47151
- /** @description No provider SID on number. */
47152
- 422: {
47153
- headers: {
47154
- [name: string]: unknown;
47155
- };
47156
- content?: never;
47157
- };
47158
- };
47159
- };
47160
- "get-twilio-sub-account": {
47161
- parameters: {
47162
- query?: never;
47163
- header?: never;
47164
- path: {
47165
- workspace_id: string;
47166
- };
47167
- cookie?: never;
47168
- };
47169
- requestBody?: never;
47170
- responses: {
47171
- /** @description Successful Response */
47172
- 200: {
47173
- headers: {
47174
- [name: string]: unknown;
47175
- };
47176
- content: {
47177
- "application/json": components["schemas"]["SubAccountResponse"];
47178
- };
47179
- };
47180
- /** @description Missing or invalid API key. */
47181
- 401: {
47182
- headers: {
47183
- [name: string]: unknown;
47184
- };
47185
- content?: never;
47186
- };
47187
- /** @description Insufficient permissions. */
47188
- 403: {
47189
- headers: {
47190
- [name: string]: unknown;
47191
- };
47192
- content?: never;
47193
- };
47194
- /** @description No sub-account provisioned. */
47195
- 404: {
47196
- headers: {
47197
- [name: string]: unknown;
47198
- };
47199
- content?: never;
47200
- };
47201
- };
47202
- };
47203
- "provision-twilio-sub-account": {
47204
- parameters: {
47205
- query?: never;
47206
- header?: never;
47207
- path: {
47208
- workspace_id: string;
47209
- };
47210
- cookie?: never;
47211
- };
47212
- requestBody?: never;
47213
- responses: {
47214
- /** @description Successful Response */
47215
- 201: {
47216
- headers: {
47217
- [name: string]: unknown;
47218
- };
47219
- content: {
47220
- "application/json": components["schemas"]["SubAccountResponse"];
47221
- };
47222
- };
47223
- /** @description Missing or invalid API key. */
47224
- 401: {
47225
- headers: {
47226
- [name: string]: unknown;
47227
- };
47228
- content?: never;
47229
- };
47230
- /** @description Insufficient permissions. */
47231
- 403: {
47232
- headers: {
47233
- [name: string]: unknown;
47234
- };
47235
- content?: never;
47236
- };
47237
- /** @description Workspace not found. */
47238
- 404: {
47239
- headers: {
47240
- [name: string]: unknown;
47241
- };
47242
- content?: never;
47243
- };
47244
- /** @description Twilio provisioning not configured. */
47245
- 503: {
47246
- headers: {
47247
- [name: string]: unknown;
47248
- };
47249
- content?: never;
47250
- };
47251
- };
47252
- };
47253
- "list-unification-rules": {
47254
- parameters: {
47255
- query?: {
47256
- data_source_id?: string | null;
47257
- is_active?: boolean | null;
47258
- limit?: number;
47259
- continuation_token?: number;
47260
- };
47261
- header?: never;
47262
- path: {
47263
- workspace_id: string;
47264
- };
47265
- cookie?: never;
47266
- };
47267
- requestBody?: never;
47268
- responses: {
47269
- /** @description Successful Response */
47270
- 200: {
47271
- headers: {
47272
- [name: string]: unknown;
47273
- };
47274
- content: {
47275
- "application/json": components["schemas"]["PaginatedResponse_UnificationRuleResponse_"];
47276
- };
47277
- };
47278
- /** @description Missing or invalid API key. */
47279
- 401: {
47280
- headers: {
47281
- [name: string]: unknown;
47282
- };
47283
- content?: never;
47284
- };
47285
- /** @description Validation Error */
47286
- 422: {
47287
- headers: {
47288
- [name: string]: unknown;
47289
- };
47290
- content: {
47291
- "application/json": components["schemas"]["HTTPValidationError"];
47292
- };
47293
- };
47294
- };
47295
- };
47296
- "create-unification-rule": {
47297
- parameters: {
47298
- query?: never;
47299
- header?: never;
47300
- path: {
47301
- workspace_id: string;
47302
- };
47303
- cookie?: never;
47304
- };
47305
- requestBody: {
47306
- content: {
47307
- "application/json": components["schemas"]["CreateUnificationRuleRequest"];
47308
- };
47309
- };
47310
- responses: {
47311
- /** @description Successful Response */
47312
- 201: {
47313
- headers: {
47314
- [name: string]: unknown;
47315
- };
47316
- content: {
47317
- "application/json": components["schemas"]["UnificationRuleResponse"];
47318
- };
47319
- };
47320
- /** @description Missing or invalid API key. */
47321
- 401: {
47322
- headers: {
47323
- [name: string]: unknown;
47324
- };
47325
- content?: never;
47326
- };
47327
- /** @description Insufficient permissions. */
47328
- 403: {
47329
- headers: {
47330
- [name: string]: unknown;
47331
- };
47332
- content?: never;
47333
- };
47334
- /** @description Invalid data_source_id reference. */
47335
- 422: {
47336
- headers: {
47337
- [name: string]: unknown;
47338
- };
47339
- content?: never;
47340
- };
47341
- };
47342
- };
47343
- "get-unification-rule": {
47344
- parameters: {
47345
- query?: never;
47346
- header?: never;
47347
- path: {
47348
- workspace_id: string;
47349
- rule_id: string;
47350
- };
47351
- cookie?: never;
47352
- };
47353
- requestBody?: never;
47354
- responses: {
47355
- /** @description Successful Response */
47356
- 200: {
47357
- headers: {
47358
- [name: string]: unknown;
47359
- };
47360
- content: {
47361
- "application/json": components["schemas"]["UnificationRuleResponse"];
47362
- };
47363
- };
47364
- /** @description Missing or invalid API key. */
47365
- 401: {
47366
- headers: {
47367
- [name: string]: unknown;
47368
- };
47369
- content?: never;
47370
- };
47371
- /** @description Unification rule not found. */
47372
- 404: {
47373
- headers: {
47374
- [name: string]: unknown;
47375
- };
47376
- content?: never;
47377
- };
47378
- /** @description Validation Error */
47379
- 422: {
47380
- headers: {
47381
- [name: string]: unknown;
47382
- };
47383
- content: {
47384
- "application/json": components["schemas"]["HTTPValidationError"];
47385
- };
47386
- };
47387
- };
47388
- };
47389
- "delete-unification-rule": {
47390
- parameters: {
47391
- query?: never;
47392
- header?: never;
47393
- path: {
47394
- workspace_id: string;
47395
- rule_id: string;
47396
- };
47397
- cookie?: never;
47398
- };
47399
- requestBody?: never;
47400
- responses: {
47401
- /** @description Successful Response */
47402
- 204: {
47403
- headers: {
47404
- [name: string]: unknown;
47405
- };
47406
- content?: never;
47407
- };
47408
- /** @description Missing or invalid API key. */
47409
- 401: {
47410
- headers: {
47411
- [name: string]: unknown;
47412
- };
47413
- content?: never;
47414
- };
47415
- /** @description Unification rule not found. */
47416
- 404: {
47417
- headers: {
47418
- [name: string]: unknown;
47419
- };
47420
- content?: never;
47421
- };
47422
- /** @description Validation Error */
47423
- 422: {
47424
- headers: {
47425
- [name: string]: unknown;
47426
- };
47427
- content: {
47428
- "application/json": components["schemas"]["HTTPValidationError"];
47429
- };
47430
- };
47431
- };
47432
- };
47433
- "update-unification-rule": {
47434
- parameters: {
47435
- query?: never;
47436
- header?: never;
47437
- path: {
47438
- workspace_id: string;
47439
- rule_id: string;
47440
- };
47441
- cookie?: never;
47442
- };
47443
- requestBody: {
47444
- content: {
47445
- "application/json": components["schemas"]["UpdateUnificationRuleRequest"];
47446
- };
47447
- };
47448
- responses: {
47449
- /** @description Successful Response */
47450
- 200: {
47451
- headers: {
47452
- [name: string]: unknown;
47453
- };
47454
- content: {
47455
- "application/json": components["schemas"]["UnificationRuleResponse"];
47456
- };
47457
- };
47458
- /** @description Missing or invalid API key. */
47459
- 401: {
47460
- headers: {
47461
- [name: string]: unknown;
47462
- };
47463
- content?: never;
47464
- };
47465
- /** @description Unification rule not found. */
47466
- 404: {
47467
- headers: {
47468
- [name: string]: unknown;
47469
- };
47470
- content?: never;
47471
- };
47472
- /** @description Invalid data_source_id reference. */
47473
- 422: {
47474
- headers: {
47475
- [name: string]: unknown;
47476
- };
47477
- content?: never;
47478
- };
47479
- };
47480
- };
47481
44064
  "list-use-cases": {
47482
44065
  parameters: {
47483
44066
  query?: {