@amigo-ai/platform-sdk 0.52.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 (47) 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 +207 -3568
  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/fhir.d.ts +12 -0
  22. package/dist/types/resources/fhir.d.ts.map +1 -1
  23. package/dist/types/resources/functions.d.ts +21 -186
  24. package/dist/types/resources/functions.d.ts.map +1 -1
  25. package/dist/types/resources/intake.d.ts.map +1 -1
  26. package/dist/types/resources/metrics.d.ts.map +1 -1
  27. package/dist/types/resources/operators.d.ts.map +1 -1
  28. package/dist/types/resources/services.d.ts.map +1 -1
  29. package/dist/types/resources/settings.d.ts.map +1 -1
  30. package/dist/types/resources/surfaces.d.ts.map +1 -1
  31. package/package.json +1 -1
  32. package/dist/resources/monitor-concepts.js +0 -47
  33. package/dist/resources/monitor-concepts.js.map +0 -1
  34. package/dist/resources/phone-numbers.js +0 -56
  35. package/dist/resources/phone-numbers.js.map +0 -1
  36. package/dist/resources/safety.js +0 -31
  37. package/dist/resources/safety.js.map +0 -1
  38. package/dist/resources/unification-rules.js +0 -46
  39. package/dist/resources/unification-rules.js.map +0 -1
  40. package/dist/types/resources/monitor-concepts.d.ts +0 -115
  41. package/dist/types/resources/monitor-concepts.d.ts.map +0 -1
  42. package/dist/types/resources/phone-numbers.d.ts +0 -145
  43. package/dist/types/resources/phone-numbers.d.ts.map +0 -1
  44. package/dist/types/resources/safety.d.ts +0 -83
  45. package/dist/types/resources/safety.d.ts.map +0 -1
  46. package/dist/types/resources/unification-rules.d.ts +0 -129
  47. 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;
@@ -2710,7 +2690,7 @@ export interface paths {
2710
2690
  put?: never;
2711
2691
  /**
2712
2692
  * Import FHIR Bundle
2713
- * @description Import a FHIR Bundle. Decomposes into events and creates patient entities.
2693
+ * @description Import a FHIR Bundle. Decomposes supported resources into upserted world events and creates patient entities. Unsupported resource types are skipped and reported; omitted resources are not deleted.
2714
2694
  */
2715
2695
  post: operations["fhir-import"];
2716
2696
  delete?: never;
@@ -2730,7 +2710,7 @@ export interface paths {
2730
2710
  put?: never;
2731
2711
  /**
2732
2712
  * Import FHIR resources via NDJSON streaming
2733
- * @description Stream FHIR resources as NDJSON (one resource per line). Bypasses the buffered-body size cap on /fhir/import. Callers MUST send Patient resources before resources that reference them, and MUST pre-resolve any bundle-internal urn:uuid: references.
2713
+ * @description Stream FHIR resources as NDJSON (one resource per line). Bypasses the buffered-body size cap on /fhir/import. Callers MUST pre-resolve any bundle-internal urn:uuid: references. Unsupported resource types are skipped and reported; omitted resources are not deleted.
2734
2714
  */
2735
2715
  post: operations["fhir-import-stream"];
2736
2716
  delete?: 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 */
@@ -15881,15 +15004,37 @@ export interface components {
15881
15004
  source?: string;
15882
15005
  /** Source System */
15883
15006
  source_system?: string | null;
15007
+ /**
15008
+ * @description Controls resources whose resourceType is missing or not projected by platform FHIR APIs. 'error' skips the resource and adds a per-resource error; 'skip' skips it without adding an error. Unsupported resources are never emitted as silent raw world events.
15009
+ * @default error
15010
+ */
15011
+ unsupported_resource_policy?: components["schemas"]["FhirUnsupportedResourcePolicy"];
15884
15012
  };
15885
15013
  /** FhirImportResponse */
15886
15014
  FhirImportResponse: {
15015
+ /**
15016
+ * Absence Semantics
15017
+ * @description Resources omitted from a later bundle are not deleted or archived by import.
15018
+ * @default absent_resources_persist
15019
+ * @constant
15020
+ */
15021
+ absence_semantics?: "absent_resources_persist";
15887
15022
  /** Entities Created */
15888
15023
  entities_created: number;
15889
15024
  /** Entities Updated */
15890
15025
  entities_updated: number;
15026
+ /**
15027
+ * Error Count
15028
+ * @default 0
15029
+ */
15030
+ error_count?: number;
15891
15031
  /** Errors */
15892
15032
  errors?: string[];
15033
+ /**
15034
+ * Errors Truncated
15035
+ * @default false
15036
+ */
15037
+ errors_truncated?: boolean;
15893
15038
  /** Events Created */
15894
15039
  events_created: number;
15895
15040
  /**
@@ -15902,6 +15047,25 @@ export interface components {
15902
15047
  * @default 0
15903
15048
  */
15904
15049
  events_updated?: number;
15050
+ /**
15051
+ * Unsupported Resource Count
15052
+ * @default 0
15053
+ */
15054
+ unsupported_resource_count?: number;
15055
+ /** Unsupported Resources */
15056
+ unsupported_resources?: components["schemas"]["FhirUnsupportedResourceItem"][];
15057
+ /**
15058
+ * Unsupported Resources Truncated
15059
+ * @default false
15060
+ */
15061
+ unsupported_resources_truncated?: boolean;
15062
+ /**
15063
+ * Upsert Semantics
15064
+ * @description FHIR import uses workspace + resourceType + id as the natural key. Identical re-uploads can be deduped; changed resources supersede prior current events.
15065
+ * @default same_resource_id_upsert
15066
+ * @constant
15067
+ */
15068
+ upsert_semantics?: "same_resource_id_upsert";
15905
15069
  };
15906
15070
  /** FhirLocationListResponse */
15907
15071
  FhirLocationListResponse: {
@@ -16309,6 +15473,19 @@ export interface components {
16309
15473
  /** Sync Healthy */
16310
15474
  sync_healthy?: boolean | null;
16311
15475
  };
15476
+ /** FhirUnsupportedResourceItem */
15477
+ FhirUnsupportedResourceItem: {
15478
+ /** Location */
15479
+ location: string;
15480
+ /** Reason */
15481
+ reason: string;
15482
+ /** Resource Id */
15483
+ resource_id?: string | null;
15484
+ /** Resource Type */
15485
+ resource_type?: string | null;
15486
+ };
15487
+ /** @enum {string} */
15488
+ FhirUnsupportedResourcePolicy: "error" | "skip";
16312
15489
  /** FhirWriteRequest */
16313
15490
  FhirWriteRequest: {
16314
15491
  /** Data */
@@ -16661,38 +15838,6 @@ export interface components {
16661
15838
  */
16662
15839
  type: "forward_call_resolved";
16663
15840
  };
16664
- /**
16665
- * ForwardingConfigRequest
16666
- * @description Call forwarding configuration for create/update requests.
16667
- *
16668
- * Deprecated: per-phone forwarding has moved to per-service config
16669
- * (``Service.voice_config.forwarding``). The field is accepted for one
16670
- * release for SDK backward-compat but is no longer read by the voice
16671
- * agent at session time. Will be removed in a follow-up PR alongside
16672
- * the ``platform.phone_numbers`` table drop.
16673
- */
16674
- ForwardingConfigRequest: {
16675
- /**
16676
- * Enabled
16677
- * @default true
16678
- */
16679
- enabled?: boolean;
16680
- forward_to: components["schemas"]["PhoneE164"];
16681
- /**
16682
- * Should Disconnect
16683
- * @default true
16684
- */
16685
- should_disconnect?: boolean;
16686
- };
16687
- /** ForwardingConfigResponse */
16688
- ForwardingConfigResponse: {
16689
- /** Enabled */
16690
- enabled: boolean;
16691
- /** Forward To */
16692
- forward_to: string;
16693
- /** Should Disconnect */
16694
- should_disconnect: boolean;
16695
- };
16696
15841
  /** ForwardingDetails */
16697
15842
  ForwardingDetails: {
16698
15843
  /** Forward To */
@@ -16707,78 +15852,6 @@ export interface components {
16707
15852
  */
16708
15853
  warm_transfer?: boolean;
16709
15854
  };
16710
- /**
16711
- * FunctionCreateRequest
16712
- * @description Register a new function. Name must be unique within the workspace.
16713
- */
16714
- FunctionCreateRequest: {
16715
- /**
16716
- * Catalog
16717
- * @default world
16718
- */
16719
- catalog?: string;
16720
- /** @default */
16721
- description?: components["schemas"]["DescriptionString"];
16722
- /**
16723
- * Function Type
16724
- * @default sql
16725
- */
16726
- function_type?: string;
16727
- /** Input Schema */
16728
- input_schema?: {
16729
- [key: string]: unknown;
16730
- };
16731
- name: components["schemas"]["NameString"];
16732
- /**
16733
- * Returns Table
16734
- * @default true
16735
- */
16736
- returns_table?: boolean;
16737
- /**
16738
- * Schema
16739
- * @default functions
16740
- */
16741
- schema?: string;
16742
- };
16743
- /**
16744
- * FunctionDef
16745
- * @description A registered platform function.
16746
- */
16747
- FunctionDef: {
16748
- /**
16749
- * Catalog
16750
- * @default world
16751
- */
16752
- catalog?: string;
16753
- /** @default */
16754
- description?: components["schemas"]["DescriptionString"];
16755
- /**
16756
- * Enabled
16757
- * @default true
16758
- */
16759
- enabled?: boolean;
16760
- /**
16761
- * Function Type
16762
- * @description sql | python | udtf | ai
16763
- * @default sql
16764
- */
16765
- function_type?: string;
16766
- /** Input Schema */
16767
- input_schema?: {
16768
- [key: string]: unknown;
16769
- };
16770
- name: components["schemas"]["NameString"];
16771
- /**
16772
- * Returns Table
16773
- * @default true
16774
- */
16775
- returns_table?: boolean;
16776
- /**
16777
- * Schema
16778
- * @default functions
16779
- */
16780
- schema?: string;
16781
- };
16782
15855
  /**
16783
15856
  * FunctionExample
16784
15857
  * @description One example call, surfaced to the LLM and the DC test panel.
@@ -16800,106 +15873,6 @@ export interface components {
16800
15873
  /** Output */
16801
15874
  output: unknown;
16802
15875
  };
16803
- /** FunctionListResponse */
16804
- FunctionListResponse: {
16805
- /** Count */
16806
- count: number;
16807
- /** Items */
16808
- items: components["schemas"]["FunctionDef"][];
16809
- };
16810
- /**
16811
- * FunctionTestRequest
16812
- * @description Test a function with sample input.
16813
- */
16814
- FunctionTestRequest: {
16815
- /** Input Params */
16816
- input_params?: {
16817
- [key: string]: unknown;
16818
- };
16819
- };
16820
- /** FunctionTestResponse */
16821
- FunctionTestResponse: {
16822
- /**
16823
- * Duration Ms
16824
- * @default 0
16825
- */
16826
- duration_ms?: number;
16827
- /** Error */
16828
- error?: string | null;
16829
- /**
16830
- * Function Name
16831
- * @default
16832
- */
16833
- function_name?: string;
16834
- /** Result */
16835
- result?: unknown;
16836
- };
16837
- /** FunctionVersionListResponse */
16838
- FunctionVersionListResponse: {
16839
- /** Count */
16840
- count: number;
16841
- /** Items */
16842
- items: components["schemas"]["FunctionVersionResponse"][];
16843
- };
16844
- /**
16845
- * FunctionVersionResponse
16846
- * @description Single version row from ``platform.functions``.
16847
- */
16848
- FunctionVersionResponse: {
16849
- /** Deployed At */
16850
- deployed_at?: string | null;
16851
- /** Deployed By */
16852
- deployed_by?: string | null;
16853
- /**
16854
- * Description
16855
- * @default
16856
- */
16857
- description?: string;
16858
- /** Examples */
16859
- examples?: {
16860
- [key: string]: unknown;
16861
- }[];
16862
- /** Function Type */
16863
- function_type: string;
16864
- /** Input Schema */
16865
- input_schema?: {
16866
- [key: string]: unknown;
16867
- };
16868
- /** Last Test At */
16869
- last_test_at?: string | null;
16870
- /** Last Test Duration Ms */
16871
- last_test_duration_ms?: number | null;
16872
- /** Last Test Error */
16873
- last_test_error?: string | null;
16874
- /** Last Test Status */
16875
- last_test_status?: string | null;
16876
- /** Name */
16877
- name: string;
16878
- /** Parameters */
16879
- parameters?: {
16880
- [key: string]: unknown;
16881
- }[];
16882
- /** Returns Kind */
16883
- returns_kind: string;
16884
- /** Source Hash */
16885
- source_hash?: string | null;
16886
- /** Source Path */
16887
- source_path?: string | null;
16888
- /** Sql Template */
16889
- sql_template: string;
16890
- /**
16891
- * Timeout Ms
16892
- * @default 30000
16893
- */
16894
- timeout_ms?: number;
16895
- /** Version */
16896
- version: number;
16897
- /**
16898
- * When To Use
16899
- * @default
16900
- */
16901
- when_to_use?: string;
16902
- };
16903
15876
  /**
16904
15877
  * GapRequiredField
16905
15878
  * @description A field that must be present in entity state.
@@ -17829,13 +16802,6 @@ export interface components {
17829
16802
  * @description Invoke a registered function with caller-supplied args.
17830
16803
  */
17831
16804
  InvokeRequest: {
17832
- /**
17833
- * Alias
17834
- * @description Alias to resolve.
17835
- * @default latest
17836
- * @enum {string}
17837
- */
17838
- alias?: "latest" | "staging" | "production";
17839
16805
  /**
17840
16806
  * Input
17841
16807
  * @description Caller arguments matching input_schema.
@@ -17858,11 +16824,6 @@ export interface components {
17858
16824
  * @default 0
17859
16825
  */
17860
16826
  row_count?: number;
17861
- /**
17862
- * Version
17863
- * @default 0
17864
- */
17865
- version?: number;
17866
16827
  };
17867
16828
  /** Item */
17868
16829
  Item: {
@@ -18854,49 +17815,6 @@ export interface components {
18854
17815
  */
18855
17816
  workspace_id: string;
18856
17817
  };
18857
- /** MonitorConceptResponse */
18858
- MonitorConceptResponse: {
18859
- /** Agent Config */
18860
- agent_config: {
18861
- [key: string]: unknown;
18862
- };
18863
- /**
18864
- * Created At
18865
- * Format: date-time
18866
- */
18867
- created_at: string;
18868
- /** Description */
18869
- description: string;
18870
- /** Escalation */
18871
- escalation: {
18872
- [key: string]: unknown;
18873
- };
18874
- /** Has Embedding */
18875
- has_embedding: boolean;
18876
- /**
18877
- * Id
18878
- * Format: uuid
18879
- */
18880
- id: string;
18881
- /** Name */
18882
- name: string;
18883
- /** Standalone Threshold */
18884
- standalone_threshold: number;
18885
- /** Tags */
18886
- tags: string[];
18887
- /** Threshold */
18888
- threshold: number;
18889
- /**
18890
- * Updated At
18891
- * Format: date-time
18892
- */
18893
- updated_at: string;
18894
- /**
18895
- * Workspace Id
18896
- * Format: uuid
18897
- */
18898
- workspace_id: string;
18899
- };
18900
17818
  NameString: string;
18901
17819
  /** NarrativeUpdatedEvent */
18902
17820
  NarrativeUpdatedEvent: {
@@ -19807,17 +18725,6 @@ export interface components {
19807
18725
  /** Total */
19808
18726
  total?: number | null;
19809
18727
  };
19810
- /** PaginatedResponse[MonitorConceptResponse] */
19811
- PaginatedResponse_MonitorConceptResponse_: {
19812
- /** Continuation Token */
19813
- continuation_token?: number | null;
19814
- /** Has More */
19815
- has_more: boolean;
19816
- /** Items */
19817
- items: components["schemas"]["MonitorConceptResponse"][];
19818
- /** Total */
19819
- total?: number | null;
19820
- };
19821
18728
  /** PaginatedResponse[OperatorResponse] */
19822
18729
  PaginatedResponse_OperatorResponse_: {
19823
18730
  /** Continuation Token */
@@ -19851,17 +18758,6 @@ export interface components {
19851
18758
  /** Total */
19852
18759
  total?: number | null;
19853
18760
  };
19854
- /** PaginatedResponse[PhoneNumberResponse] */
19855
- PaginatedResponse_PhoneNumberResponse_: {
19856
- /** Continuation Token */
19857
- continuation_token?: number | null;
19858
- /** Has More */
19859
- has_more: boolean;
19860
- /** Items */
19861
- items: components["schemas"]["PhoneNumberResponse"][];
19862
- /** Total */
19863
- total?: number | null;
19864
- };
19865
18761
  /** PaginatedResponse[ReviewItemResponse] */
19866
18762
  PaginatedResponse_ReviewItemResponse_: {
19867
18763
  /** Continuation Token */
@@ -19972,17 +18868,6 @@ export interface components {
19972
18868
  /** Total */
19973
18869
  total?: number | null;
19974
18870
  };
19975
- /** PaginatedResponse[UnificationRuleResponse] */
19976
- PaginatedResponse_UnificationRuleResponse_: {
19977
- /** Continuation Token */
19978
- continuation_token?: number | null;
19979
- /** Has More */
19980
- has_more: boolean;
19981
- /** Items */
19982
- items: components["schemas"]["UnificationRuleResponse"][];
19983
- /** Total */
19984
- total?: number | null;
19985
- };
19986
18871
  /** PaginatedResponse[WebhookDestinationResponse] */
19987
18872
  PaginatedResponse_WebhookDestinationResponse_: {
19988
18873
  /** Continuation Token */
@@ -20050,11 +18935,6 @@ export interface components {
20050
18935
  description: string;
20051
18936
  /** Name */
20052
18937
  name: string;
20053
- /**
20054
- * Required
20055
- * @default true
20056
- */
20057
- required?: boolean;
20058
18938
  /**
20059
18939
  * Type
20060
18940
  * @enum {string}
@@ -20679,76 +19559,6 @@ export interface components {
20679
19559
  */
20680
19560
  total_calls: number;
20681
19561
  };
20682
- /** PhoneNumberPurchaseResponse */
20683
- PhoneNumberPurchaseResponse: {
20684
- /** Capabilities */
20685
- capabilities: ("inbound" | "outbound")[];
20686
- /**
20687
- * Created At
20688
- * Format: date-time
20689
- */
20690
- created_at: string;
20691
- /** Display Name */
20692
- display_name: string;
20693
- /**
20694
- * Id
20695
- * Format: uuid
20696
- */
20697
- id: string;
20698
- /** Phone Number */
20699
- phone_number: string;
20700
- /** Provider Phone Sid */
20701
- provider_phone_sid: string;
20702
- /** Status */
20703
- status: string;
20704
- /**
20705
- * Workspace Id
20706
- * Format: uuid
20707
- */
20708
- workspace_id: string;
20709
- };
20710
- /** PhoneNumberResponse */
20711
- PhoneNumberResponse: {
20712
- /** Capabilities */
20713
- capabilities: string[];
20714
- /** Channel Phone Id */
20715
- channel_phone_id?: string | null;
20716
- /**
20717
- * Created At
20718
- * Format: date-time
20719
- */
20720
- created_at: string;
20721
- /** Display Name */
20722
- display_name: string;
20723
- forwarding: components["schemas"]["ForwardingConfigResponse"] | null;
20724
- /**
20725
- * Id
20726
- * Format: uuid
20727
- */
20728
- id: string;
20729
- /** Inbound Service Id */
20730
- inbound_service_id: string | null;
20731
- /** Notes */
20732
- notes: string;
20733
- /** Phone Number */
20734
- phone_number: string;
20735
- /** Provider */
20736
- provider: string;
20737
- /** Provider Phone Sid */
20738
- provider_phone_sid: string | null;
20739
- /** Status */
20740
- status: string;
20741
- /**
20742
- * Updated At
20743
- * Format: date-time
20744
- */
20745
- updated_at: string;
20746
- /**
20747
- * Workspace Id
20748
- * Format: uuid
20749
- */
20750
- workspace_id: string;
20751
- };
20752
19562
  /** PipelineErrorEvent */
20753
19563
  PipelineErrorEvent: {
20754
19564
  /**
@@ -21157,25 +19967,6 @@ export interface components {
21157
19967
  /** Trigger Delay Ms */
21158
19968
  trigger_delay_ms?: number | null;
21159
19969
  };
21160
- /** PromoteRequest */
21161
- PromoteRequest: {
21162
- /**
21163
- * Alias
21164
- * @enum {string}
21165
- */
21166
- alias: "latest" | "staging" | "production";
21167
- /** Version */
21168
- version: number;
21169
- };
21170
- /** PromoteResponse */
21171
- PromoteResponse: {
21172
- /** Alias */
21173
- alias: string;
21174
- /** Name */
21175
- name: string;
21176
- /** Version */
21177
- version: number;
21178
- };
21179
19970
  /**
21180
19971
  * PromptLogEntry
21181
19972
  * @description One ``prompt_log`` event projection — full LLM input + output for a turn.
@@ -21281,23 +20072,6 @@ export interface components {
21281
20072
  ProvisionResponse: {
21282
20073
  workspace: components["schemas"]["WorkspaceResponse"];
21283
20074
  };
21284
- /** PurchasePhoneNumberRequest */
21285
- PurchasePhoneNumberRequest: {
21286
- /**
21287
- * Capabilities
21288
- * @default [
21289
- * "inbound",
21290
- * "outbound"
21291
- * ]
21292
- */
21293
- capabilities?: ("inbound" | "outbound")[];
21294
- /**
21295
- * Display Name
21296
- * @default
21297
- */
21298
- display_name?: string;
21299
- phone_number: components["schemas"]["PhoneE164"];
21300
- };
21301
20075
  /** PurgeEntityResponse */
21302
20076
  PurgeEntityResponse: {
21303
20077
  /** Delta Events Note */
@@ -21364,36 +20138,6 @@ export interface components {
21364
20138
  */
21365
20139
  value?: number | null;
21366
20140
  };
21367
- /**
21368
- * QueryRequest
21369
- * @description Execute an open-scope SQL query.
21370
- */
21371
- QueryRequest: {
21372
- /**
21373
- * Sql
21374
- * @description Read-only SQL SELECT statement
21375
- */
21376
- sql: string;
21377
- };
21378
- /** QueryResponse */
21379
- QueryResponse: {
21380
- /**
21381
- * Count
21382
- * @default 0
21383
- */
21384
- count?: number;
21385
- /**
21386
- * Duration Ms
21387
- * @default 0
21388
- */
21389
- duration_ms?: number;
21390
- /** Error */
21391
- error?: string | null;
21392
- /** Results */
21393
- results?: {
21394
- [key: string]: unknown;
21395
- }[];
21396
- };
21397
20141
  /**
21398
20142
  * QuietHours
21399
20143
  * @description Quiet hours — no outbound outreach during this window.
@@ -21681,29 +20425,65 @@ export interface components {
21681
20425
  */
21682
20426
  when_to_use?: string;
21683
20427
  };
21684
- /** RegulationTemplateResponse */
21685
- RegulationTemplateResponse: {
21686
- /** Category */
21687
- category: string;
21688
- /** Description */
21689
- description: string;
21690
- /** Id */
21691
- 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;
21692
20444
  /**
21693
- * Is Composite
21694
- * @default false
20445
+ * Description
20446
+ * @default
21695
20447
  */
21696
- 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;
21697
20467
  /** Name */
21698
20468
  name: string;
21699
- /** Regulation */
21700
- regulation: string;
21701
- /** Rules */
21702
- rules: components["schemas"]["SafetyRuleResponse"][];
21703
- /** Template Ids */
21704
- template_ids?: string[];
21705
- /** Version */
21706
- 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;
21707
20487
  };
21708
20488
  /**
21709
20489
  * RejectRequest
@@ -22106,21 +20886,6 @@ export interface components {
22106
20886
  */
22107
20887
  level?: "low" | "medium" | "high" | "critical";
22108
20888
  };
22109
- /** RollbackRequest */
22110
- RollbackRequest: {
22111
- /**
22112
- * Version
22113
- * @description Prior version to rebind latest+production to.
22114
- */
22115
- version: number;
22116
- };
22117
- /** RollbackResponse */
22118
- RollbackResponse: {
22119
- /** Name */
22120
- name: string;
22121
- /** Rolled Back To Version */
22122
- rolled_back_to_version: number;
22123
- };
22124
20889
  /** RotateApiKeyRequest */
22125
20890
  RotateApiKeyRequest: {
22126
20891
  /** Duration Days */
@@ -22193,78 +20958,6 @@ export interface components {
22193
20958
  /** Tags */
22194
20959
  tags?: string[];
22195
20960
  };
22196
- /** SafetyConfigResponse */
22197
- SafetyConfigResponse: {
22198
- /** Accumulation Cumulative Count */
22199
- accumulation_cumulative_count: number;
22200
- /** Accumulation Enabled */
22201
- accumulation_enabled: boolean;
22202
- /** Accumulation Fast Track Level */
22203
- accumulation_fast_track_level: number;
22204
- /** Accumulation Mild Threshold */
22205
- accumulation_mild_threshold: number;
22206
- /** Accumulation Single Turn Threshold */
22207
- accumulation_single_turn_threshold: number;
22208
- /** Accumulation Window Size */
22209
- accumulation_window_size: number;
22210
- /** Applied Template Ids */
22211
- applied_template_ids: string[];
22212
- /** Triage Enabled */
22213
- triage_enabled: boolean;
22214
- /** Triage Max History Turns */
22215
- triage_max_history_turns: number;
22216
- /** Triage Model */
22217
- triage_model: string;
22218
- /** Triage Timeout S */
22219
- triage_timeout_s: number;
22220
- };
22221
- /** SafetyRuleResponse */
22222
- SafetyRuleResponse: {
22223
- /**
22224
- * Agent Config
22225
- * @description Agent triage configuration (model, timeout, action space)
22226
- */
22227
- agent_config: {
22228
- [key: string]: unknown;
22229
- };
22230
- /**
22231
- * Description
22232
- * @description Human-readable description of what the rule detects
22233
- */
22234
- description: string;
22235
- /**
22236
- * Escalation
22237
- * @description Escalation configuration (operator type, reason, regulatory basis)
22238
- */
22239
- escalation: {
22240
- [key: string]: unknown;
22241
- };
22242
- /**
22243
- * Name
22244
- * @description Unique rule name within the template
22245
- */
22246
- name: string;
22247
- /**
22248
- * Standalone Threshold
22249
- * @description Confidence threshold for triggering on a single turn
22250
- */
22251
- standalone_threshold: number;
22252
- /**
22253
- * Tags
22254
- * @description Classification tags for grouping and filtering
22255
- */
22256
- tags: string[];
22257
- /**
22258
- * Threshold
22259
- * @description Confidence threshold for triggering in accumulated context
22260
- */
22261
- threshold: number;
22262
- /**
22263
- * Triage Hints
22264
- * @description Hints for the triage model to identify this safety concern
22265
- */
22266
- triage_hints: string[];
22267
- };
22268
20961
  /** SafetyState */
22269
20962
  SafetyState: {
22270
20963
  /**
@@ -22308,84 +21001,6 @@ export interface components {
22308
21001
  */
22309
21002
  match_count?: number;
22310
21003
  };
22311
- /**
22312
- * SafetyTrendPoint
22313
- * @description Single time-bucket data point in the safety trend series.
22314
- */
22315
- SafetyTrendPoint: {
22316
- /**
22317
- * Date
22318
- * Format: date
22319
- * @description Date for the time bucket
22320
- */
22321
- date: string;
22322
- /**
22323
- * Escalated Count
22324
- * @description Escalated calls in this time bucket
22325
- */
22326
- escalated_count: number;
22327
- /**
22328
- * Safety Flagged
22329
- * @description Safety-flagged calls in this time bucket
22330
- */
22331
- safety_flagged: number;
22332
- /**
22333
- * Total Calls
22334
- * @description Total calls in this time bucket
22335
- */
22336
- total_calls: number;
22337
- };
22338
- /**
22339
- * SafetyTrendsResponse
22340
- * @description Safety and escalation trends — risk distribution, escalation rates, and time series.
22341
- */
22342
- SafetyTrendsResponse: {
22343
- /**
22344
- * Risk Distribution
22345
- * @description Count of calls by risk level (e.g. high, medium, low)
22346
- */
22347
- risk_distribution: {
22348
- [key: string]: number;
22349
- };
22350
- /** @description Aggregate safety metrics for the full period */
22351
- summary: components["schemas"]["SafetyTrendsSummary"];
22352
- /**
22353
- * Trend
22354
- * @description Time series of safety metrics per interval bucket
22355
- */
22356
- trend: components["schemas"]["SafetyTrendPoint"][];
22357
- };
22358
- /**
22359
- * SafetyTrendsSummary
22360
- * @description Aggregate safety and escalation counts for the period.
22361
- */
22362
- SafetyTrendsSummary: {
22363
- /**
22364
- * Escalation Rate
22365
- * @description Fraction of calls that were escalated (0.0-1.0)
22366
- */
22367
- escalation_rate: number;
22368
- /**
22369
- * Total Calls
22370
- * @description Total number of calls in the period
22371
- */
22372
- total_calls: number;
22373
- /**
22374
- * Total Escalations
22375
- * @description Number of calls escalated to an operator
22376
- */
22377
- total_escalations: number;
22378
- /**
22379
- * Total Safety Flagged
22380
- * @description Number of calls with a safety summary present
22381
- */
22382
- total_safety_flagged: number;
22383
- /**
22384
- * Total Safety Matches
22385
- * @description Sum of safety match counts across all calls
22386
- */
22387
- total_safety_matches: number;
22388
- };
22389
21004
  /**
22390
21005
  * SampleFact
22391
21006
  * @description Representative fact snippet for a dimension (quality inspection / demos).
@@ -22537,11 +21152,6 @@ export interface components {
22537
21152
  /** Score Rationale */
22538
21153
  score_rationale?: string | null;
22539
21154
  };
22540
- /** SearchAvailableNumbersResponse */
22541
- SearchAvailableNumbersResponse: {
22542
- /** Numbers */
22543
- numbers: components["schemas"]["AvailableNumber"][];
22544
- };
22545
21155
  SearchString: string;
22546
21156
  /**
22547
21157
  * SecretInput
@@ -24408,39 +23018,6 @@ export interface components {
24408
23018
  workspace_id: string;
24409
23019
  };
24410
23020
  StrippedNonemptyString: string;
24411
- /** SubAccountResponse */
24412
- SubAccountResponse: {
24413
- /** Account Sid */
24414
- account_sid: string;
24415
- /**
24416
- * Created At
24417
- * Format: date-time
24418
- */
24419
- created_at: string;
24420
- /** Environment */
24421
- environment: string;
24422
- /** Friendly Name */
24423
- friendly_name: string;
24424
- /** Id */
24425
- id: string;
24426
- /**
24427
- * Status
24428
- * @default active
24429
- */
24430
- status?: string;
24431
- /** Twiml App Sid */
24432
- twiml_app_sid: string | null;
24433
- /**
24434
- * Updated At
24435
- * Format: date-time
24436
- */
24437
- updated_at: string;
24438
- /**
24439
- * Workspace Id
24440
- * Format: uuid
24441
- */
24442
- workspace_id: string;
24443
- };
24444
23021
  /** SubToolLog */
24445
23022
  SubToolLog: {
24446
23023
  /**
@@ -25395,24 +23972,19 @@ export interface components {
25395
23972
  };
25396
23973
  /**
25397
23974
  * TestInvokeResponse
25398
- * @description Response shape for ``POST /v1/{ws}/functions/{name}/v2/test``.
23975
+ * @description Response shape for ``POST /v1/{ws}/functions/{name}/test``.
25399
23976
  *
25400
- * Structural superset of :class:`InvokeResponse` (inheritance makes
25401
- * the relationship explicit and refactor-safe if a field is
25402
- * renamed on the base, both responses move together). Adds the
25403
- * test-only telemetry the DC + SDK need to render a pass/fail
25404
- * badge and an actionable error string when a deployed function
25405
- * blows up at execute time. The underlying invoke uses the same
25406
- * path; ``status`` / ``error`` are filled in by ``service.test``
25407
- * after catching any ``ServiceUnavailableError`` from the
25408
- * executor, so the route never bubbles a 5xx for a logical SQL
25409
- * failure — it's still a 200 with ``status=fail`` so the caller
25410
- * 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.
25411
23985
  *
25412
23986
  * Invariant (enforced by :func:`_check_error_when_fail`):
25413
- * ``status == "fail" → error is not None and len(error) > 0``. Caps
25414
- * the error string length so an upstream stack trace never blows up
25415
- * a ``console.log`` line in the browser.
23987
+ * ``status == "fail" → error is not None and len(error) > 0``.
25416
23988
  */
25417
23989
  TestInvokeResponse: {
25418
23990
  /**
@@ -25432,16 +24004,10 @@ export interface components {
25432
24004
  /**
25433
24005
  * Status
25434
24006
  * @default pass
25435
- * @enum {string}
25436
24007
  */
25437
- status?: "pass" | "fail";
24008
+ status?: string;
25438
24009
  /** Test Duration Ms */
25439
24010
  test_duration_ms?: number | null;
25440
- /**
25441
- * Version
25442
- * @default 0
25443
- */
25444
- version?: number;
25445
24011
  };
25446
24012
  /** TestSkillRequest */
25447
24013
  TestSkillRequest: {
@@ -26876,57 +25442,6 @@ export interface components {
26876
25442
  /** Tool Name */
26877
25443
  tool_name: string;
26878
25444
  };
26879
- /** UnificationRuleResponse */
26880
- UnificationRuleResponse: {
26881
- /** Accuracy */
26882
- accuracy: number | null;
26883
- /** Agent Task Id */
26884
- agent_task_id: string | null;
26885
- /**
26886
- * Created At
26887
- * Format: date-time
26888
- */
26889
- created_at: string;
26890
- /** Created By */
26891
- created_by: string | null;
26892
- /** Data Source Id */
26893
- data_source_id: string | null;
26894
- /** Description */
26895
- description: string | null;
26896
- /** Events Processed */
26897
- events_processed: number;
26898
- /**
26899
- * Id
26900
- * Format: uuid
26901
- */
26902
- id: string;
26903
- /** Is Active */
26904
- is_active: boolean;
26905
- /** Last Applied At */
26906
- last_applied_at: string | null;
26907
- /** Name */
26908
- name: string;
26909
- /** Rule Config */
26910
- rule_config: {
26911
- [key: string]: unknown;
26912
- };
26913
- /** Rule Type */
26914
- rule_type: string;
26915
- /** Source Event Type */
26916
- source_event_type: string | null;
26917
- /** Target Entity Type */
26918
- target_entity_type: string | null;
26919
- /**
26920
- * Updated At
26921
- * Format: date-time
26922
- */
26923
- updated_at: string;
26924
- /**
26925
- * Workspace Id
26926
- * Format: uuid
26927
- */
26928
- workspace_id: string;
26929
- };
26930
25445
  /** UpdateAgentRequest */
26931
25446
  UpdateAgentRequest: {
26932
25447
  description?: components["schemas"]["DescriptionString"] | null;
@@ -27039,19 +25554,6 @@ export interface components {
27039
25554
  /** Protocol */
27040
25555
  protocol?: ("rest" | "fhir" | "mcp") | null;
27041
25556
  };
27042
- /** UpdateMonitorConceptRequest */
27043
- UpdateMonitorConceptRequest: {
27044
- agent_config?: components["schemas"]["AgentConfigPayload"] | null;
27045
- description?: components["schemas"]["DescriptionString"] | null;
27046
- escalation?: components["schemas"]["EscalationConfigPayload"] | null;
27047
- name?: components["schemas"]["NameString"] | null;
27048
- /** Standalone Threshold */
27049
- standalone_threshold?: number | null;
27050
- /** Tags */
27051
- tags?: string[] | null;
27052
- /** Threshold */
27053
- threshold?: number | null;
27054
- };
27055
25557
  /** UpdateOperatorRequest */
27056
25558
  UpdateOperatorRequest: {
27057
25559
  /** Connection Method */
@@ -27082,47 +25584,6 @@ export interface components {
27082
25584
  name?: components["schemas"]["NameString"] | null;
27083
25585
  role?: components["schemas"]["NameString"] | null;
27084
25586
  };
27085
- /** UpdatePhoneNumberRequest */
27086
- UpdatePhoneNumberRequest: {
27087
- /** Capabilities */
27088
- capabilities?: ("inbound" | "outbound")[] | null;
27089
- /** Display Name */
27090
- display_name?: string | null;
27091
- forwarding?: components["schemas"]["ForwardingConfigRequest"] | null;
27092
- /** Inbound Service Id */
27093
- inbound_service_id?: string | null;
27094
- /** Notes */
27095
- notes?: string | null;
27096
- /** Provider */
27097
- provider?: ("twilio" | "livekit") | null;
27098
- /** Provider Phone Sid */
27099
- provider_phone_sid?: string | null;
27100
- /** Status */
27101
- status?: ("active" | "inactive") | null;
27102
- };
27103
- /** UpdateSafetyConfigRequest */
27104
- UpdateSafetyConfigRequest: {
27105
- /** Accumulation Cumulative Count */
27106
- accumulation_cumulative_count?: number | null;
27107
- /** Accumulation Enabled */
27108
- accumulation_enabled?: boolean | null;
27109
- /** Accumulation Fast Track Level */
27110
- accumulation_fast_track_level?: number | null;
27111
- /** Accumulation Mild Threshold */
27112
- accumulation_mild_threshold?: number | null;
27113
- /** Accumulation Single Turn Threshold */
27114
- accumulation_single_turn_threshold?: number | null;
27115
- /** Accumulation Window Size */
27116
- accumulation_window_size?: number | null;
27117
- /** Triage Enabled */
27118
- triage_enabled?: boolean | null;
27119
- /** Triage Max History Turns */
27120
- triage_max_history_turns?: number | null;
27121
- /** Triage Model */
27122
- triage_model?: string | null;
27123
- /** Triage Timeout S */
27124
- triage_timeout_s?: number | null;
27125
- };
27126
25587
  /**
27127
25588
  * UpdateSchedulingRuleSetRequest
27128
25589
  * @description Partial update — fields not provided are unchanged. ``params``
@@ -27294,25 +25755,6 @@ export interface components {
27294
25755
  /** Timezone */
27295
25756
  timezone?: string | null;
27296
25757
  };
27297
- /** UpdateUnificationRuleRequest */
27298
- UpdateUnificationRuleRequest: {
27299
- /** Data Source Id */
27300
- data_source_id?: string | null;
27301
- description?: components["schemas"]["DescriptionString"] | null;
27302
- /** Is Active */
27303
- is_active?: boolean | null;
27304
- name?: components["schemas"]["NameString"] | null;
27305
- /** Rule Config */
27306
- rule_config?: {
27307
- [key: string]: unknown;
27308
- } | null;
27309
- /** Rule Type */
27310
- rule_type?: ("field_mapping" | "entity_resolution" | "dedup" | "transform") | null;
27311
- /** Source Event Type */
27312
- source_event_type?: string | null;
27313
- /** Target Entity Type */
27314
- target_entity_type?: string | null;
27315
- };
27316
25758
  /** UpdateWebhookDestinationRequest */
27317
25759
  UpdateWebhookDestinationRequest: {
27318
25760
  /** Accepted Event Types */
@@ -31586,50 +30028,6 @@ export interface operations {
31586
30028
  };
31587
30029
  };
31588
30030
  };
31589
- "get-safety-trends": {
31590
- parameters: {
31591
- query?: {
31592
- days?: number;
31593
- date_from?: string | null;
31594
- date_to?: string | null;
31595
- interval?: "1h" | "1d" | "1w";
31596
- service_id?: string | null;
31597
- };
31598
- header?: never;
31599
- path: {
31600
- workspace_id: string;
31601
- };
31602
- cookie?: never;
31603
- };
31604
- requestBody?: never;
31605
- responses: {
31606
- /** @description Successful Response */
31607
- 200: {
31608
- headers: {
31609
- [name: string]: unknown;
31610
- };
31611
- content: {
31612
- "application/json": components["schemas"]["SafetyTrendsResponse"];
31613
- };
31614
- };
31615
- /** @description Validation Error */
31616
- 422: {
31617
- headers: {
31618
- [name: string]: unknown;
31619
- };
31620
- content: {
31621
- "application/json": components["schemas"]["HTTPValidationError"];
31622
- };
31623
- };
31624
- /** @description Rate limit exceeded */
31625
- 429: {
31626
- headers: {
31627
- [name: string]: unknown;
31628
- };
31629
- content?: never;
31630
- };
31631
- };
31632
- };
31633
30031
  "get-surface-channel-effectiveness": {
31634
30032
  parameters: {
31635
30033
  query?: {
@@ -35698,6 +34096,8 @@ export interface operations {
35698
34096
  data_source_id?: string | null;
35699
34097
  /** @description Skip identical re-uploads via content-hash dedup */
35700
34098
  dedup?: boolean;
34099
+ /** @description Use 'error' to report unsupported resources, or 'skip' to skip them without errors. */
34100
+ unsupported_resource_policy?: components["schemas"]["FhirUnsupportedResourcePolicy"];
35701
34101
  };
35702
34102
  header?: never;
35703
34103
  path: {
@@ -36422,7 +34822,7 @@ export interface operations {
36422
34822
  [name: string]: unknown;
36423
34823
  };
36424
34824
  content: {
36425
- "application/json": components["schemas"]["FunctionListResponse"];
34825
+ "application/json": components["schemas"]["RegisteredFunctionListResponse"];
36426
34826
  };
36427
34827
  };
36428
34828
  /** @description Rate limited */
@@ -36434,20 +34834,17 @@ export interface operations {
36434
34834
  };
36435
34835
  };
36436
34836
  };
36437
- "create-function": {
34837
+ "get-function": {
36438
34838
  parameters: {
36439
34839
  query?: never;
36440
34840
  header?: never;
36441
34841
  path: {
36442
34842
  workspace_id: string;
34843
+ function_name: string;
36443
34844
  };
36444
34845
  cookie?: never;
36445
34846
  };
36446
- requestBody: {
36447
- content: {
36448
- "application/json": components["schemas"]["FunctionCreateRequest"];
36449
- };
36450
- };
34847
+ requestBody?: never;
36451
34848
  responses: {
36452
34849
  /** @description Successful Response */
36453
34850
  200: {
@@ -36455,50 +34852,23 @@ export interface operations {
36455
34852
  [name: string]: unknown;
36456
34853
  };
36457
34854
  content: {
36458
- "application/json": components["schemas"]["FunctionDef"];
34855
+ "application/json": components["schemas"]["RegisteredFunctionResponse"];
36459
34856
  };
36460
34857
  };
36461
- /** @description Function name already registered */
36462
- 409: {
34858
+ /** @description Function not found */
34859
+ 404: {
36463
34860
  headers: {
36464
34861
  [name: string]: unknown;
36465
34862
  };
36466
34863
  content?: never;
36467
34864
  };
36468
- /** @description Validation error */
34865
+ /** @description Validation Error */
36469
34866
  422: {
36470
- headers: {
36471
- [name: string]: unknown;
36472
- };
36473
- content?: never;
36474
- };
36475
- /** @description Rate limited */
36476
- 429: {
36477
- headers: {
36478
- [name: string]: unknown;
36479
- };
36480
- content?: never;
36481
- };
36482
- };
36483
- };
36484
- "discover-catalog": {
36485
- parameters: {
36486
- query?: never;
36487
- header?: never;
36488
- path: {
36489
- workspace_id: string;
36490
- };
36491
- cookie?: never;
36492
- };
36493
- requestBody?: never;
36494
- responses: {
36495
- /** @description Successful Response */
36496
- 200: {
36497
34867
  headers: {
36498
34868
  [name: string]: unknown;
36499
34869
  };
36500
34870
  content: {
36501
- "application/json": components["schemas"]["CatalogResponse"];
34871
+ "application/json": components["schemas"]["HTTPValidationError"];
36502
34872
  };
36503
34873
  };
36504
34874
  /** @description Rate limited */
@@ -36508,13 +34878,6 @@ export interface operations {
36508
34878
  };
36509
34879
  content?: never;
36510
34880
  };
36511
- /** @description Agent engine unavailable */
36512
- 503: {
36513
- headers: {
36514
- [name: string]: unknown;
36515
- };
36516
- content?: never;
36517
- };
36518
34881
  };
36519
34882
  };
36520
34883
  "deploy-function": {
@@ -36523,6 +34886,7 @@ export interface operations {
36523
34886
  header?: never;
36524
34887
  path: {
36525
34888
  workspace_id: string;
34889
+ function_name: string;
36526
34890
  };
36527
34891
  cookie?: never;
36528
34892
  };
@@ -36538,11 +34902,11 @@ export interface operations {
36538
34902
  [name: string]: unknown;
36539
34903
  };
36540
34904
  content: {
36541
- "application/json": components["schemas"]["FunctionVersionResponse"];
34905
+ "application/json": components["schemas"]["RegisteredFunctionResponse"];
36542
34906
  };
36543
34907
  };
36544
- /** @description Concurrent deploy raced at the same version */
36545
- 409: {
34908
+ /** @description URL function_name does not match body name */
34909
+ 400: {
36546
34910
  headers: {
36547
34911
  [name: string]: unknown;
36548
34912
  };
@@ -36564,120 +34928,6 @@ export interface operations {
36564
34928
  };
36565
34929
  };
36566
34930
  };
36567
- "query-functions": {
36568
- parameters: {
36569
- query?: never;
36570
- header?: never;
36571
- path: {
36572
- workspace_id: string;
36573
- };
36574
- cookie?: never;
36575
- };
36576
- requestBody: {
36577
- content: {
36578
- "application/json": components["schemas"]["QueryRequest"];
36579
- };
36580
- };
36581
- responses: {
36582
- /** @description Successful Response */
36583
- 200: {
36584
- headers: {
36585
- [name: string]: unknown;
36586
- };
36587
- content: {
36588
- "application/json": components["schemas"]["QueryResponse"];
36589
- };
36590
- };
36591
- /** @description Validation Error */
36592
- 422: {
36593
- headers: {
36594
- [name: string]: unknown;
36595
- };
36596
- content: {
36597
- "application/json": components["schemas"]["HTTPValidationError"];
36598
- };
36599
- };
36600
- /** @description Rate limited */
36601
- 429: {
36602
- headers: {
36603
- [name: string]: unknown;
36604
- };
36605
- content?: never;
36606
- };
36607
- /** @description Agent engine unavailable */
36608
- 503: {
36609
- headers: {
36610
- [name: string]: unknown;
36611
- };
36612
- content?: never;
36613
- };
36614
- };
36615
- };
36616
- "list-registered-functions": {
36617
- parameters: {
36618
- query?: never;
36619
- header?: never;
36620
- path: {
36621
- workspace_id: string;
36622
- };
36623
- cookie?: never;
36624
- };
36625
- requestBody?: never;
36626
- responses: {
36627
- /** @description Successful Response */
36628
- 200: {
36629
- headers: {
36630
- [name: string]: unknown;
36631
- };
36632
- content: {
36633
- "application/json": components["schemas"]["FunctionVersionListResponse"];
36634
- };
36635
- };
36636
- /** @description Rate limited */
36637
- 429: {
36638
- headers: {
36639
- [name: string]: unknown;
36640
- };
36641
- content?: never;
36642
- };
36643
- };
36644
- };
36645
- "sync-catalog": {
36646
- parameters: {
36647
- query?: never;
36648
- header?: never;
36649
- path: {
36650
- workspace_id: string;
36651
- };
36652
- cookie?: never;
36653
- };
36654
- requestBody?: never;
36655
- responses: {
36656
- /** @description Successful Response */
36657
- 200: {
36658
- headers: {
36659
- [name: string]: unknown;
36660
- };
36661
- content: {
36662
- "application/json": components["schemas"]["FunctionListResponse"];
36663
- };
36664
- };
36665
- /** @description Rate limited */
36666
- 429: {
36667
- headers: {
36668
- [name: string]: unknown;
36669
- };
36670
- content?: never;
36671
- };
36672
- /** @description Agent engine unavailable */
36673
- 503: {
36674
- headers: {
36675
- [name: string]: unknown;
36676
- };
36677
- content?: never;
36678
- };
36679
- };
36680
- };
36681
34931
  "delete-function": {
36682
34932
  parameters: {
36683
34933
  query?: never;
@@ -36691,15 +34941,11 @@ export interface operations {
36691
34941
  requestBody?: never;
36692
34942
  responses: {
36693
34943
  /** @description Successful Response */
36694
- 200: {
34944
+ 204: {
36695
34945
  headers: {
36696
34946
  [name: string]: unknown;
36697
34947
  };
36698
- content: {
36699
- "application/json": {
36700
- [key: string]: string;
36701
- };
36702
- };
34948
+ content?: never;
36703
34949
  };
36704
34950
  /** @description Function not found */
36705
34951
  404: {
@@ -36781,164 +35027,7 @@ export interface operations {
36781
35027
  };
36782
35028
  };
36783
35029
  };
36784
- "promote-function": {
36785
- parameters: {
36786
- query?: never;
36787
- header?: never;
36788
- path: {
36789
- workspace_id: string;
36790
- function_name: string;
36791
- };
36792
- cookie?: never;
36793
- };
36794
- requestBody: {
36795
- content: {
36796
- "application/json": components["schemas"]["PromoteRequest"];
36797
- };
36798
- };
36799
- responses: {
36800
- /** @description Successful Response */
36801
- 200: {
36802
- headers: {
36803
- [name: string]: unknown;
36804
- };
36805
- content: {
36806
- "application/json": components["schemas"]["PromoteResponse"];
36807
- };
36808
- };
36809
- /** @description Function or version not found */
36810
- 404: {
36811
- headers: {
36812
- [name: string]: unknown;
36813
- };
36814
- content?: never;
36815
- };
36816
- /** @description Validation Error */
36817
- 422: {
36818
- headers: {
36819
- [name: string]: unknown;
36820
- };
36821
- content: {
36822
- "application/json": components["schemas"]["HTTPValidationError"];
36823
- };
36824
- };
36825
- /** @description Rate limited */
36826
- 429: {
36827
- headers: {
36828
- [name: string]: unknown;
36829
- };
36830
- content?: never;
36831
- };
36832
- };
36833
- };
36834
- "rollback-function": {
36835
- parameters: {
36836
- query?: never;
36837
- header?: never;
36838
- path: {
36839
- workspace_id: string;
36840
- function_name: string;
36841
- };
36842
- cookie?: never;
36843
- };
36844
- requestBody: {
36845
- content: {
36846
- "application/json": components["schemas"]["RollbackRequest"];
36847
- };
36848
- };
36849
- responses: {
36850
- /** @description Successful Response */
36851
- 200: {
36852
- headers: {
36853
- [name: string]: unknown;
36854
- };
36855
- content: {
36856
- "application/json": components["schemas"]["RollbackResponse"];
36857
- };
36858
- };
36859
- /** @description Function or version not found */
36860
- 404: {
36861
- headers: {
36862
- [name: string]: unknown;
36863
- };
36864
- content?: never;
36865
- };
36866
- /** @description Validation Error */
36867
- 422: {
36868
- headers: {
36869
- [name: string]: unknown;
36870
- };
36871
- content: {
36872
- "application/json": components["schemas"]["HTTPValidationError"];
36873
- };
36874
- };
36875
- /** @description Rate limited */
36876
- 429: {
36877
- headers: {
36878
- [name: string]: unknown;
36879
- };
36880
- content?: never;
36881
- };
36882
- };
36883
- };
36884
35030
  "test-function": {
36885
- parameters: {
36886
- query?: never;
36887
- header?: never;
36888
- path: {
36889
- workspace_id: string;
36890
- function_name: string;
36891
- };
36892
- cookie?: never;
36893
- };
36894
- requestBody: {
36895
- content: {
36896
- "application/json": components["schemas"]["FunctionTestRequest"];
36897
- };
36898
- };
36899
- responses: {
36900
- /** @description Successful Response */
36901
- 200: {
36902
- headers: {
36903
- [name: string]: unknown;
36904
- };
36905
- content: {
36906
- "application/json": components["schemas"]["FunctionTestResponse"];
36907
- };
36908
- };
36909
- /** @description Function not found */
36910
- 404: {
36911
- headers: {
36912
- [name: string]: unknown;
36913
- };
36914
- content?: never;
36915
- };
36916
- /** @description Validation Error */
36917
- 422: {
36918
- headers: {
36919
- [name: string]: unknown;
36920
- };
36921
- content: {
36922
- "application/json": components["schemas"]["HTTPValidationError"];
36923
- };
36924
- };
36925
- /** @description Rate limited */
36926
- 429: {
36927
- headers: {
36928
- [name: string]: unknown;
36929
- };
36930
- content?: never;
36931
- };
36932
- /** @description Agent engine unavailable */
36933
- 503: {
36934
- headers: {
36935
- [name: string]: unknown;
36936
- };
36937
- content?: never;
36938
- };
36939
- };
36940
- };
36941
- "test-function-v2": {
36942
35031
  parameters: {
36943
35032
  query?: never;
36944
35033
  header?: never;
@@ -36995,100 +35084,6 @@ export interface operations {
36995
35084
  };
36996
35085
  };
36997
35086
  };
36998
- "get-function-version": {
36999
- parameters: {
37000
- query?: {
37001
- alias?: "latest" | "staging" | "production";
37002
- };
37003
- header?: never;
37004
- path: {
37005
- workspace_id: string;
37006
- function_name: string;
37007
- };
37008
- cookie?: never;
37009
- };
37010
- requestBody?: never;
37011
- responses: {
37012
- /** @description Successful Response */
37013
- 200: {
37014
- headers: {
37015
- [name: string]: unknown;
37016
- };
37017
- content: {
37018
- "application/json": components["schemas"]["FunctionVersionResponse"];
37019
- };
37020
- };
37021
- /** @description Function not found */
37022
- 404: {
37023
- headers: {
37024
- [name: string]: unknown;
37025
- };
37026
- content?: never;
37027
- };
37028
- /** @description Validation Error */
37029
- 422: {
37030
- headers: {
37031
- [name: string]: unknown;
37032
- };
37033
- content: {
37034
- "application/json": components["schemas"]["HTTPValidationError"];
37035
- };
37036
- };
37037
- /** @description Rate limited */
37038
- 429: {
37039
- headers: {
37040
- [name: string]: unknown;
37041
- };
37042
- content?: never;
37043
- };
37044
- };
37045
- };
37046
- "list-function-versions": {
37047
- parameters: {
37048
- query?: never;
37049
- header?: never;
37050
- path: {
37051
- workspace_id: string;
37052
- function_name: string;
37053
- };
37054
- cookie?: never;
37055
- };
37056
- requestBody?: never;
37057
- responses: {
37058
- /** @description Successful Response */
37059
- 200: {
37060
- headers: {
37061
- [name: string]: unknown;
37062
- };
37063
- content: {
37064
- "application/json": components["schemas"]["FunctionVersionListResponse"];
37065
- };
37066
- };
37067
- /** @description Function not found */
37068
- 404: {
37069
- headers: {
37070
- [name: string]: unknown;
37071
- };
37072
- content?: never;
37073
- };
37074
- /** @description Validation Error */
37075
- 422: {
37076
- headers: {
37077
- [name: string]: unknown;
37078
- };
37079
- content: {
37080
- "application/json": components["schemas"]["HTTPValidationError"];
37081
- };
37082
- };
37083
- /** @description Rate limited */
37084
- 429: {
37085
- headers: {
37086
- [name: string]: unknown;
37087
- };
37088
- content?: never;
37089
- };
37090
- };
37091
- };
37092
35087
  receive_webhook_v1__workspace_id__hooks__destination_id__post: {
37093
35088
  parameters: {
37094
35089
  query?: never;
@@ -38958,12 +36953,9 @@ export interface operations {
38958
36953
  };
38959
36954
  };
38960
36955
  };
38961
- "list-monitor-concepts": {
36956
+ "get-egress-ips": {
38962
36957
  parameters: {
38963
- query?: {
38964
- limit?: number;
38965
- continuation_token?: number;
38966
- };
36958
+ query?: never;
38967
36959
  header?: never;
38968
36960
  path: {
38969
36961
  workspace_id: string;
@@ -38978,16 +36970,41 @@ export interface operations {
38978
36970
  [name: string]: unknown;
38979
36971
  };
38980
36972
  content: {
38981
- "application/json": components["schemas"]["PaginatedResponse_MonitorConceptResponse_"];
36973
+ "application/json": components["schemas"]["EgressIpsResponse"];
38982
36974
  };
38983
36975
  };
38984
- /** @description Missing or invalid API key. */
38985
- 401: {
36976
+ /** @description Rate limited */
36977
+ 429: {
38986
36978
  headers: {
38987
36979
  [name: string]: unknown;
38988
36980
  };
38989
36981
  content?: never;
38990
36982
  };
36983
+ };
36984
+ };
36985
+ "list-operators": {
36986
+ parameters: {
36987
+ query?: {
36988
+ limit?: number;
36989
+ continuation_token?: number;
36990
+ };
36991
+ header?: never;
36992
+ path: {
36993
+ workspace_id: string;
36994
+ };
36995
+ cookie?: never;
36996
+ };
36997
+ requestBody?: never;
36998
+ responses: {
36999
+ /** @description Successful Response */
37000
+ 200: {
37001
+ headers: {
37002
+ [name: string]: unknown;
37003
+ };
37004
+ content: {
37005
+ "application/json": components["schemas"]["PaginatedResponse_OperatorResponse_"];
37006
+ };
37007
+ };
38991
37008
  /** @description Validation Error */
38992
37009
  422: {
38993
37010
  headers: {
@@ -38999,7 +37016,7 @@ export interface operations {
38999
37016
  };
39000
37017
  };
39001
37018
  };
39002
- "create-monitor-concept": {
37019
+ "create-operator": {
39003
37020
  parameters: {
39004
37021
  query?: never;
39005
37022
  header?: never;
@@ -39010,7 +37027,7 @@ export interface operations {
39010
37027
  };
39011
37028
  requestBody: {
39012
37029
  content: {
39013
- "application/json": components["schemas"]["CreateMonitorConceptRequest"];
37030
+ "application/json": components["schemas"]["CreateOperatorRequest"];
39014
37031
  };
39015
37032
  };
39016
37033
  responses: {
@@ -39020,259 +37037,7 @@ export interface operations {
39020
37037
  [name: string]: unknown;
39021
37038
  };
39022
37039
  content: {
39023
- "application/json": components["schemas"]["MonitorConceptResponse"];
39024
- };
39025
- };
39026
- /** @description Missing or invalid API key. */
39027
- 401: {
39028
- headers: {
39029
- [name: string]: unknown;
39030
- };
39031
- content?: never;
39032
- };
39033
- /** @description Insufficient permissions. */
39034
- 403: {
39035
- headers: {
39036
- [name: string]: unknown;
39037
- };
39038
- content?: never;
39039
- };
39040
- /** @description Validation Error */
39041
- 422: {
39042
- headers: {
39043
- [name: string]: unknown;
39044
- };
39045
- content: {
39046
- "application/json": components["schemas"]["HTTPValidationError"];
39047
- };
39048
- };
39049
- };
39050
- };
39051
- "get-monitor-concept": {
39052
- parameters: {
39053
- query?: never;
39054
- header?: never;
39055
- path: {
39056
- workspace_id: string;
39057
- concept_id: string;
39058
- };
39059
- cookie?: never;
39060
- };
39061
- requestBody?: never;
39062
- responses: {
39063
- /** @description Successful Response */
39064
- 200: {
39065
- headers: {
39066
- [name: string]: unknown;
39067
- };
39068
- content: {
39069
- "application/json": components["schemas"]["MonitorConceptResponse"];
39070
- };
39071
- };
39072
- /** @description Missing or invalid API key. */
39073
- 401: {
39074
- headers: {
39075
- [name: string]: unknown;
39076
- };
39077
- content?: never;
39078
- };
39079
- /** @description Monitor concept not found. */
39080
- 404: {
39081
- headers: {
39082
- [name: string]: unknown;
39083
- };
39084
- content?: never;
39085
- };
39086
- /** @description Validation Error */
39087
- 422: {
39088
- headers: {
39089
- [name: string]: unknown;
39090
- };
39091
- content: {
39092
- "application/json": components["schemas"]["HTTPValidationError"];
39093
- };
39094
- };
39095
- };
39096
- };
39097
- "delete-monitor-concept": {
39098
- parameters: {
39099
- query?: never;
39100
- header?: never;
39101
- path: {
39102
- workspace_id: string;
39103
- concept_id: string;
39104
- };
39105
- cookie?: never;
39106
- };
39107
- requestBody?: never;
39108
- responses: {
39109
- /** @description Successful Response */
39110
- 204: {
39111
- headers: {
39112
- [name: string]: unknown;
39113
- };
39114
- content?: never;
39115
- };
39116
- /** @description Missing or invalid API key. */
39117
- 401: {
39118
- headers: {
39119
- [name: string]: unknown;
39120
- };
39121
- content?: never;
39122
- };
39123
- /** @description Monitor concept not found. */
39124
- 404: {
39125
- headers: {
39126
- [name: string]: unknown;
39127
- };
39128
- content?: never;
39129
- };
39130
- /** @description Validation Error */
39131
- 422: {
39132
- headers: {
39133
- [name: string]: unknown;
39134
- };
39135
- content: {
39136
- "application/json": components["schemas"]["HTTPValidationError"];
39137
- };
39138
- };
39139
- };
39140
- };
39141
- "update-monitor-concept": {
39142
- parameters: {
39143
- query?: never;
39144
- header?: never;
39145
- path: {
39146
- workspace_id: string;
39147
- concept_id: string;
39148
- };
39149
- cookie?: never;
39150
- };
39151
- requestBody: {
39152
- content: {
39153
- "application/json": components["schemas"]["UpdateMonitorConceptRequest"];
39154
- };
39155
- };
39156
- responses: {
39157
- /** @description Successful Response */
39158
- 200: {
39159
- headers: {
39160
- [name: string]: unknown;
39161
- };
39162
- content: {
39163
- "application/json": components["schemas"]["MonitorConceptResponse"];
39164
- };
39165
- };
39166
- /** @description Missing or invalid API key. */
39167
- 401: {
39168
- headers: {
39169
- [name: string]: unknown;
39170
- };
39171
- content?: never;
39172
- };
39173
- /** @description Monitor concept not found. */
39174
- 404: {
39175
- headers: {
39176
- [name: string]: unknown;
39177
- };
39178
- content?: never;
39179
- };
39180
- /** @description Validation Error */
39181
- 422: {
39182
- headers: {
39183
- [name: string]: unknown;
39184
- };
39185
- content: {
39186
- "application/json": components["schemas"]["HTTPValidationError"];
39187
- };
39188
- };
39189
- };
39190
- };
39191
- "get-egress-ips": {
39192
- parameters: {
39193
- query?: never;
39194
- header?: never;
39195
- path: {
39196
- workspace_id: string;
39197
- };
39198
- cookie?: never;
39199
- };
39200
- requestBody?: never;
39201
- responses: {
39202
- /** @description Successful Response */
39203
- 200: {
39204
- headers: {
39205
- [name: string]: unknown;
39206
- };
39207
- content: {
39208
- "application/json": components["schemas"]["EgressIpsResponse"];
39209
- };
39210
- };
39211
- /** @description Rate limited */
39212
- 429: {
39213
- headers: {
39214
- [name: string]: unknown;
39215
- };
39216
- content?: never;
39217
- };
39218
- };
39219
- };
39220
- "list-operators": {
39221
- parameters: {
39222
- query?: {
39223
- limit?: number;
39224
- continuation_token?: number;
39225
- };
39226
- header?: never;
39227
- path: {
39228
- workspace_id: string;
39229
- };
39230
- cookie?: never;
39231
- };
39232
- requestBody?: never;
39233
- responses: {
39234
- /** @description Successful Response */
39235
- 200: {
39236
- headers: {
39237
- [name: string]: unknown;
39238
- };
39239
- content: {
39240
- "application/json": components["schemas"]["PaginatedResponse_OperatorResponse_"];
39241
- };
39242
- };
39243
- /** @description Validation Error */
39244
- 422: {
39245
- headers: {
39246
- [name: string]: unknown;
39247
- };
39248
- content: {
39249
- "application/json": components["schemas"]["HTTPValidationError"];
39250
- };
39251
- };
39252
- };
39253
- };
39254
- "create-operator": {
39255
- parameters: {
39256
- query?: never;
39257
- header?: never;
39258
- path: {
39259
- workspace_id: string;
39260
- };
39261
- cookie?: never;
39262
- };
39263
- requestBody: {
39264
- content: {
39265
- "application/json": components["schemas"]["CreateOperatorRequest"];
39266
- };
39267
- };
39268
- responses: {
39269
- /** @description Successful Response */
39270
- 201: {
39271
- headers: {
39272
- [name: string]: unknown;
39273
- };
39274
- content: {
39275
- "application/json": components["schemas"]["OperatorResponse"];
37040
+ "application/json": components["schemas"]["OperatorResponse"];
39276
37041
  };
39277
37042
  };
39278
37043
  /** @description Missing or invalid API key. */
@@ -40209,446 +37974,6 @@ export interface operations {
40209
37974
  };
40210
37975
  };
40211
37976
  };
40212
- "list-phone-numbers": {
40213
- parameters: {
40214
- query?: {
40215
- status?: ("active" | "inactive") | null;
40216
- limit?: number;
40217
- continuation_token?: number;
40218
- };
40219
- header?: never;
40220
- path: {
40221
- workspace_id: string;
40222
- };
40223
- cookie?: never;
40224
- };
40225
- requestBody?: never;
40226
- responses: {
40227
- /** @description Successful Response */
40228
- 200: {
40229
- headers: {
40230
- [name: string]: unknown;
40231
- };
40232
- content: {
40233
- "application/json": components["schemas"]["PaginatedResponse_PhoneNumberResponse_"];
40234
- };
40235
- };
40236
- /** @description Missing or invalid API key. */
40237
- 401: {
40238
- headers: {
40239
- [name: string]: unknown;
40240
- };
40241
- content?: never;
40242
- };
40243
- /** @description Insufficient permissions. */
40244
- 403: {
40245
- headers: {
40246
- [name: string]: unknown;
40247
- };
40248
- content?: never;
40249
- };
40250
- /** @description Validation Error */
40251
- 422: {
40252
- headers: {
40253
- [name: string]: unknown;
40254
- };
40255
- content: {
40256
- "application/json": components["schemas"]["HTTPValidationError"];
40257
- };
40258
- };
40259
- };
40260
- };
40261
- "create-phone-number": {
40262
- parameters: {
40263
- query?: never;
40264
- header?: never;
40265
- path: {
40266
- workspace_id: string;
40267
- };
40268
- cookie?: never;
40269
- };
40270
- requestBody: {
40271
- content: {
40272
- "application/json": components["schemas"]["CreatePhoneNumberRequest"];
40273
- };
40274
- };
40275
- responses: {
40276
- /** @description Successful Response */
40277
- 201: {
40278
- headers: {
40279
- [name: string]: unknown;
40280
- };
40281
- content: {
40282
- "application/json": components["schemas"]["PhoneNumberResponse"];
40283
- };
40284
- };
40285
- /** @description Missing or invalid API key. */
40286
- 401: {
40287
- headers: {
40288
- [name: string]: unknown;
40289
- };
40290
- content?: never;
40291
- };
40292
- /** @description Insufficient permissions. */
40293
- 403: {
40294
- headers: {
40295
- [name: string]: unknown;
40296
- };
40297
- content?: never;
40298
- };
40299
- /** @description Workspace not found. */
40300
- 404: {
40301
- headers: {
40302
- [name: string]: unknown;
40303
- };
40304
- content?: never;
40305
- };
40306
- /** @description Phone number already registered. */
40307
- 409: {
40308
- headers: {
40309
- [name: string]: unknown;
40310
- };
40311
- content?: never;
40312
- };
40313
- /** @description Invalid request body. */
40314
- 422: {
40315
- headers: {
40316
- [name: string]: unknown;
40317
- };
40318
- content?: never;
40319
- };
40320
- };
40321
- };
40322
- "bind-channel-phone": {
40323
- parameters: {
40324
- query?: never;
40325
- header?: never;
40326
- path: {
40327
- workspace_id: string;
40328
- };
40329
- cookie?: never;
40330
- };
40331
- requestBody: {
40332
- content: {
40333
- "application/json": components["schemas"]["BindChannelPhoneRequest"];
40334
- };
40335
- };
40336
- responses: {
40337
- /** @description Successful Response */
40338
- 201: {
40339
- headers: {
40340
- [name: string]: unknown;
40341
- };
40342
- content: {
40343
- "application/json": components["schemas"]["PhoneNumberResponse"];
40344
- };
40345
- };
40346
- /** @description Insufficient permissions. */
40347
- 403: {
40348
- headers: {
40349
- [name: string]: unknown;
40350
- };
40351
- content?: never;
40352
- };
40353
- /** @description Channel phone ID not found in channel-manager. */
40354
- 404: {
40355
- headers: {
40356
- [name: string]: unknown;
40357
- };
40358
- content?: never;
40359
- };
40360
- /** @description Phone number already registered. */
40361
- 409: {
40362
- headers: {
40363
- [name: string]: unknown;
40364
- };
40365
- content?: never;
40366
- };
40367
- /** @description Validation Error */
40368
- 422: {
40369
- headers: {
40370
- [name: string]: unknown;
40371
- };
40372
- content: {
40373
- "application/json": components["schemas"]["HTTPValidationError"];
40374
- };
40375
- };
40376
- /** @description Channel manager not configured. */
40377
- 503: {
40378
- headers: {
40379
- [name: string]: unknown;
40380
- };
40381
- content?: never;
40382
- };
40383
- };
40384
- };
40385
- "get-phone-number": {
40386
- parameters: {
40387
- query?: never;
40388
- header?: never;
40389
- path: {
40390
- workspace_id: string;
40391
- phone_number_id: string;
40392
- };
40393
- cookie?: never;
40394
- };
40395
- requestBody?: never;
40396
- responses: {
40397
- /** @description Successful Response */
40398
- 200: {
40399
- headers: {
40400
- [name: string]: unknown;
40401
- };
40402
- content: {
40403
- "application/json": components["schemas"]["PhoneNumberResponse"];
40404
- };
40405
- };
40406
- /** @description Missing or invalid API key. */
40407
- 401: {
40408
- headers: {
40409
- [name: string]: unknown;
40410
- };
40411
- content?: never;
40412
- };
40413
- /** @description Insufficient permissions. */
40414
- 403: {
40415
- headers: {
40416
- [name: string]: unknown;
40417
- };
40418
- content?: never;
40419
- };
40420
- /** @description Phone number not found. */
40421
- 404: {
40422
- headers: {
40423
- [name: string]: unknown;
40424
- };
40425
- content?: never;
40426
- };
40427
- /** @description Validation Error */
40428
- 422: {
40429
- headers: {
40430
- [name: string]: unknown;
40431
- };
40432
- content: {
40433
- "application/json": components["schemas"]["HTTPValidationError"];
40434
- };
40435
- };
40436
- };
40437
- };
40438
- "update-phone-number": {
40439
- parameters: {
40440
- query?: never;
40441
- header?: never;
40442
- path: {
40443
- workspace_id: string;
40444
- phone_number_id: string;
40445
- };
40446
- cookie?: never;
40447
- };
40448
- requestBody: {
40449
- content: {
40450
- "application/json": components["schemas"]["UpdatePhoneNumberRequest"];
40451
- };
40452
- };
40453
- responses: {
40454
- /** @description Successful Response */
40455
- 200: {
40456
- headers: {
40457
- [name: string]: unknown;
40458
- };
40459
- content: {
40460
- "application/json": components["schemas"]["PhoneNumberResponse"];
40461
- };
40462
- };
40463
- /** @description Missing or invalid API key. */
40464
- 401: {
40465
- headers: {
40466
- [name: string]: unknown;
40467
- };
40468
- content?: never;
40469
- };
40470
- /** @description Insufficient permissions. */
40471
- 403: {
40472
- headers: {
40473
- [name: string]: unknown;
40474
- };
40475
- content?: never;
40476
- };
40477
- /** @description Phone number not found. */
40478
- 404: {
40479
- headers: {
40480
- [name: string]: unknown;
40481
- };
40482
- content?: never;
40483
- };
40484
- /** @description Invalid request body. */
40485
- 422: {
40486
- headers: {
40487
- [name: string]: unknown;
40488
- };
40489
- content?: never;
40490
- };
40491
- };
40492
- };
40493
- "delete-phone-number": {
40494
- parameters: {
40495
- query?: never;
40496
- header?: never;
40497
- path: {
40498
- workspace_id: string;
40499
- phone_number_id: string;
40500
- };
40501
- cookie?: never;
40502
- };
40503
- requestBody?: never;
40504
- responses: {
40505
- /** @description Successful Response */
40506
- 204: {
40507
- headers: {
40508
- [name: string]: unknown;
40509
- };
40510
- content?: never;
40511
- };
40512
- /** @description Missing or invalid API key. */
40513
- 401: {
40514
- headers: {
40515
- [name: string]: unknown;
40516
- };
40517
- content?: never;
40518
- };
40519
- /** @description Insufficient permissions. */
40520
- 403: {
40521
- headers: {
40522
- [name: string]: unknown;
40523
- };
40524
- content?: never;
40525
- };
40526
- /** @description Phone number not found. */
40527
- 404: {
40528
- headers: {
40529
- [name: string]: unknown;
40530
- };
40531
- content?: never;
40532
- };
40533
- /** @description Validation Error */
40534
- 422: {
40535
- headers: {
40536
- [name: string]: unknown;
40537
- };
40538
- content: {
40539
- "application/json": components["schemas"]["HTTPValidationError"];
40540
- };
40541
- };
40542
- };
40543
- };
40544
- "set-phone-number-forwarding": {
40545
- parameters: {
40546
- query?: never;
40547
- header?: never;
40548
- path: {
40549
- workspace_id: string;
40550
- phone_number_id: string;
40551
- };
40552
- cookie?: never;
40553
- };
40554
- requestBody: {
40555
- content: {
40556
- "application/json": components["schemas"]["ForwardingConfigRequest"];
40557
- };
40558
- };
40559
- responses: {
40560
- /** @description Successful Response */
40561
- 200: {
40562
- headers: {
40563
- [name: string]: unknown;
40564
- };
40565
- content: {
40566
- "application/json": components["schemas"]["PhoneNumberResponse"];
40567
- };
40568
- };
40569
- /** @description Missing or invalid API key. */
40570
- 401: {
40571
- headers: {
40572
- [name: string]: unknown;
40573
- };
40574
- content?: never;
40575
- };
40576
- /** @description Insufficient permissions. */
40577
- 403: {
40578
- headers: {
40579
- [name: string]: unknown;
40580
- };
40581
- content?: never;
40582
- };
40583
- /** @description Phone number not found. */
40584
- 404: {
40585
- headers: {
40586
- [name: string]: unknown;
40587
- };
40588
- content?: never;
40589
- };
40590
- /** @description Invalid forwarding config. */
40591
- 422: {
40592
- headers: {
40593
- [name: string]: unknown;
40594
- };
40595
- content?: never;
40596
- };
40597
- };
40598
- };
40599
- "clear-phone-number-forwarding": {
40600
- parameters: {
40601
- query?: never;
40602
- header?: never;
40603
- path: {
40604
- workspace_id: string;
40605
- phone_number_id: string;
40606
- };
40607
- cookie?: never;
40608
- };
40609
- requestBody?: never;
40610
- responses: {
40611
- /** @description Successful Response */
40612
- 200: {
40613
- headers: {
40614
- [name: string]: unknown;
40615
- };
40616
- content: {
40617
- "application/json": components["schemas"]["PhoneNumberResponse"];
40618
- };
40619
- };
40620
- /** @description Missing or invalid API key. */
40621
- 401: {
40622
- headers: {
40623
- [name: string]: unknown;
40624
- };
40625
- content?: never;
40626
- };
40627
- /** @description Insufficient permissions. */
40628
- 403: {
40629
- headers: {
40630
- [name: string]: unknown;
40631
- };
40632
- content?: never;
40633
- };
40634
- /** @description Phone number not found. */
40635
- 404: {
40636
- headers: {
40637
- [name: string]: unknown;
40638
- };
40639
- content?: never;
40640
- };
40641
- /** @description Validation Error */
40642
- 422: {
40643
- headers: {
40644
- [name: string]: unknown;
40645
- };
40646
- content: {
40647
- "application/json": components["schemas"]["HTTPValidationError"];
40648
- };
40649
- };
40650
- };
40651
- };
40652
37977
  "get-entity-resolution": {
40653
37978
  parameters: {
40654
37979
  query?: never;
@@ -41905,202 +39230,6 @@ export interface operations {
41905
39230
  };
41906
39231
  };
41907
39232
  };
41908
- "get-safety-config": {
41909
- parameters: {
41910
- query?: never;
41911
- header?: never;
41912
- path: {
41913
- workspace_id: string;
41914
- };
41915
- cookie?: never;
41916
- };
41917
- requestBody?: never;
41918
- responses: {
41919
- /** @description Successful Response */
41920
- 200: {
41921
- headers: {
41922
- [name: string]: unknown;
41923
- };
41924
- content: {
41925
- "application/json": components["schemas"]["SafetyConfigResponse"];
41926
- };
41927
- };
41928
- /** @description Missing or invalid API key. */
41929
- 401: {
41930
- headers: {
41931
- [name: string]: unknown;
41932
- };
41933
- content?: never;
41934
- };
41935
- };
41936
- };
41937
- "update-safety-config": {
41938
- parameters: {
41939
- query?: never;
41940
- header?: never;
41941
- path: {
41942
- workspace_id: string;
41943
- };
41944
- cookie?: never;
41945
- };
41946
- requestBody: {
41947
- content: {
41948
- "application/json": components["schemas"]["UpdateSafetyConfigRequest"];
41949
- };
41950
- };
41951
- responses: {
41952
- /** @description Successful Response */
41953
- 200: {
41954
- headers: {
41955
- [name: string]: unknown;
41956
- };
41957
- content: {
41958
- "application/json": components["schemas"]["SafetyConfigResponse"];
41959
- };
41960
- };
41961
- /** @description Missing or invalid API key. */
41962
- 401: {
41963
- headers: {
41964
- [name: string]: unknown;
41965
- };
41966
- content?: never;
41967
- };
41968
- /** @description Validation Error */
41969
- 422: {
41970
- headers: {
41971
- [name: string]: unknown;
41972
- };
41973
- content: {
41974
- "application/json": components["schemas"]["HTTPValidationError"];
41975
- };
41976
- };
41977
- };
41978
- };
41979
- "list-safety-templates": {
41980
- parameters: {
41981
- query?: never;
41982
- header?: never;
41983
- path: {
41984
- workspace_id: string;
41985
- };
41986
- cookie?: never;
41987
- };
41988
- requestBody?: never;
41989
- responses: {
41990
- /** @description Successful Response */
41991
- 200: {
41992
- headers: {
41993
- [name: string]: unknown;
41994
- };
41995
- content: {
41996
- "application/json": components["schemas"]["RegulationTemplateResponse"][];
41997
- };
41998
- };
41999
- /** @description Missing or invalid API key. */
42000
- 401: {
42001
- headers: {
42002
- [name: string]: unknown;
42003
- };
42004
- content?: never;
42005
- };
42006
- };
42007
- };
42008
- "get-safety-template": {
42009
- parameters: {
42010
- query?: never;
42011
- header?: never;
42012
- path: {
42013
- workspace_id: string;
42014
- template_id: string;
42015
- };
42016
- cookie?: never;
42017
- };
42018
- requestBody?: never;
42019
- responses: {
42020
- /** @description Successful Response */
42021
- 200: {
42022
- headers: {
42023
- [name: string]: unknown;
42024
- };
42025
- content: {
42026
- "application/json": components["schemas"]["RegulationTemplateResponse"];
42027
- };
42028
- };
42029
- /** @description Missing or invalid API key. */
42030
- 401: {
42031
- headers: {
42032
- [name: string]: unknown;
42033
- };
42034
- content?: never;
42035
- };
42036
- /** @description Template not found. */
42037
- 404: {
42038
- headers: {
42039
- [name: string]: unknown;
42040
- };
42041
- content?: never;
42042
- };
42043
- /** @description Validation Error */
42044
- 422: {
42045
- headers: {
42046
- [name: string]: unknown;
42047
- };
42048
- content: {
42049
- "application/json": components["schemas"]["HTTPValidationError"];
42050
- };
42051
- };
42052
- };
42053
- };
42054
- "apply-safety-template": {
42055
- parameters: {
42056
- query?: never;
42057
- header?: never;
42058
- path: {
42059
- workspace_id: string;
42060
- template_id: string;
42061
- };
42062
- cookie?: never;
42063
- };
42064
- requestBody: {
42065
- content: {
42066
- "application/json": components["schemas"]["ApplyTemplateRequest"];
42067
- };
42068
- };
42069
- responses: {
42070
- /** @description Successful Response */
42071
- 200: {
42072
- headers: {
42073
- [name: string]: unknown;
42074
- };
42075
- content: {
42076
- "application/json": components["schemas"]["ApplyTemplateResponse"];
42077
- };
42078
- };
42079
- /** @description Missing or invalid API key. */
42080
- 401: {
42081
- headers: {
42082
- [name: string]: unknown;
42083
- };
42084
- content?: never;
42085
- };
42086
- /** @description Template not found. */
42087
- 404: {
42088
- headers: {
42089
- [name: string]: unknown;
42090
- };
42091
- content?: never;
42092
- };
42093
- /** @description Validation Error */
42094
- 422: {
42095
- headers: {
42096
- [name: string]: unknown;
42097
- };
42098
- content: {
42099
- "application/json": components["schemas"]["HTTPValidationError"];
42100
- };
42101
- };
42102
- };
42103
- };
42104
39233
  "list-scheduling-rule-sets": {
42105
39234
  parameters: {
42106
39235
  query?: {
@@ -46932,496 +44061,6 @@ export interface operations {
46932
44061
  };
46933
44062
  };
46934
44063
  };
46935
- "search-available-phone-numbers": {
46936
- parameters: {
46937
- query?: {
46938
- country?: string;
46939
- area_code?: string | null;
46940
- contains?: string | null;
46941
- limit?: number;
46942
- };
46943
- header?: never;
46944
- path: {
46945
- workspace_id: string;
46946
- };
46947
- cookie?: never;
46948
- };
46949
- requestBody?: never;
46950
- responses: {
46951
- /** @description Successful Response */
46952
- 200: {
46953
- headers: {
46954
- [name: string]: unknown;
46955
- };
46956
- content: {
46957
- "application/json": components["schemas"]["SearchAvailableNumbersResponse"];
46958
- };
46959
- };
46960
- /** @description Missing or invalid API key. */
46961
- 401: {
46962
- headers: {
46963
- [name: string]: unknown;
46964
- };
46965
- content?: never;
46966
- };
46967
- /** @description Insufficient permissions. */
46968
- 403: {
46969
- headers: {
46970
- [name: string]: unknown;
46971
- };
46972
- content?: never;
46973
- };
46974
- /** @description No sub-account provisioned. */
46975
- 404: {
46976
- headers: {
46977
- [name: string]: unknown;
46978
- };
46979
- content?: never;
46980
- };
46981
- /** @description Validation Error */
46982
- 422: {
46983
- headers: {
46984
- [name: string]: unknown;
46985
- };
46986
- content: {
46987
- "application/json": components["schemas"]["HTTPValidationError"];
46988
- };
46989
- };
46990
- };
46991
- };
46992
- "purchase-phone-number": {
46993
- parameters: {
46994
- query?: never;
46995
- header?: never;
46996
- path: {
46997
- workspace_id: string;
46998
- };
46999
- cookie?: never;
47000
- };
47001
- requestBody: {
47002
- content: {
47003
- "application/json": components["schemas"]["PurchasePhoneNumberRequest"];
47004
- };
47005
- };
47006
- responses: {
47007
- /** @description Successful Response */
47008
- 201: {
47009
- headers: {
47010
- [name: string]: unknown;
47011
- };
47012
- content: {
47013
- "application/json": components["schemas"]["PhoneNumberPurchaseResponse"];
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 Phone number already registered. */
47038
- 409: {
47039
- headers: {
47040
- [name: string]: unknown;
47041
- };
47042
- content?: never;
47043
- };
47044
- /** @description Validation Error */
47045
- 422: {
47046
- headers: {
47047
- [name: string]: unknown;
47048
- };
47049
- content: {
47050
- "application/json": components["schemas"]["HTTPValidationError"];
47051
- };
47052
- };
47053
- };
47054
- };
47055
- "release-phone-number": {
47056
- parameters: {
47057
- query?: never;
47058
- header?: never;
47059
- path: {
47060
- workspace_id: string;
47061
- phone_number_id: string;
47062
- };
47063
- cookie?: never;
47064
- };
47065
- requestBody?: never;
47066
- responses: {
47067
- /** @description Successful Response */
47068
- 204: {
47069
- headers: {
47070
- [name: string]: unknown;
47071
- };
47072
- content?: never;
47073
- };
47074
- /** @description Missing or invalid API key. */
47075
- 401: {
47076
- headers: {
47077
- [name: string]: unknown;
47078
- };
47079
- content?: never;
47080
- };
47081
- /** @description Insufficient permissions. */
47082
- 403: {
47083
- headers: {
47084
- [name: string]: unknown;
47085
- };
47086
- content?: never;
47087
- };
47088
- /** @description Phone number not found. */
47089
- 404: {
47090
- headers: {
47091
- [name: string]: unknown;
47092
- };
47093
- content?: never;
47094
- };
47095
- /** @description No provider SID on number. */
47096
- 422: {
47097
- headers: {
47098
- [name: string]: unknown;
47099
- };
47100
- content?: never;
47101
- };
47102
- };
47103
- };
47104
- "get-twilio-sub-account": {
47105
- parameters: {
47106
- query?: never;
47107
- header?: never;
47108
- path: {
47109
- workspace_id: string;
47110
- };
47111
- cookie?: never;
47112
- };
47113
- requestBody?: never;
47114
- responses: {
47115
- /** @description Successful Response */
47116
- 200: {
47117
- headers: {
47118
- [name: string]: unknown;
47119
- };
47120
- content: {
47121
- "application/json": components["schemas"]["SubAccountResponse"];
47122
- };
47123
- };
47124
- /** @description Missing or invalid API key. */
47125
- 401: {
47126
- headers: {
47127
- [name: string]: unknown;
47128
- };
47129
- content?: never;
47130
- };
47131
- /** @description Insufficient permissions. */
47132
- 403: {
47133
- headers: {
47134
- [name: string]: unknown;
47135
- };
47136
- content?: never;
47137
- };
47138
- /** @description No sub-account provisioned. */
47139
- 404: {
47140
- headers: {
47141
- [name: string]: unknown;
47142
- };
47143
- content?: never;
47144
- };
47145
- };
47146
- };
47147
- "provision-twilio-sub-account": {
47148
- parameters: {
47149
- query?: never;
47150
- header?: never;
47151
- path: {
47152
- workspace_id: string;
47153
- };
47154
- cookie?: never;
47155
- };
47156
- requestBody?: never;
47157
- responses: {
47158
- /** @description Successful Response */
47159
- 201: {
47160
- headers: {
47161
- [name: string]: unknown;
47162
- };
47163
- content: {
47164
- "application/json": components["schemas"]["SubAccountResponse"];
47165
- };
47166
- };
47167
- /** @description Missing or invalid API key. */
47168
- 401: {
47169
- headers: {
47170
- [name: string]: unknown;
47171
- };
47172
- content?: never;
47173
- };
47174
- /** @description Insufficient permissions. */
47175
- 403: {
47176
- headers: {
47177
- [name: string]: unknown;
47178
- };
47179
- content?: never;
47180
- };
47181
- /** @description Workspace not found. */
47182
- 404: {
47183
- headers: {
47184
- [name: string]: unknown;
47185
- };
47186
- content?: never;
47187
- };
47188
- /** @description Twilio provisioning not configured. */
47189
- 503: {
47190
- headers: {
47191
- [name: string]: unknown;
47192
- };
47193
- content?: never;
47194
- };
47195
- };
47196
- };
47197
- "list-unification-rules": {
47198
- parameters: {
47199
- query?: {
47200
- data_source_id?: string | null;
47201
- is_active?: boolean | null;
47202
- limit?: number;
47203
- continuation_token?: number;
47204
- };
47205
- header?: never;
47206
- path: {
47207
- workspace_id: string;
47208
- };
47209
- cookie?: never;
47210
- };
47211
- requestBody?: never;
47212
- responses: {
47213
- /** @description Successful Response */
47214
- 200: {
47215
- headers: {
47216
- [name: string]: unknown;
47217
- };
47218
- content: {
47219
- "application/json": components["schemas"]["PaginatedResponse_UnificationRuleResponse_"];
47220
- };
47221
- };
47222
- /** @description Missing or invalid API key. */
47223
- 401: {
47224
- headers: {
47225
- [name: string]: unknown;
47226
- };
47227
- content?: never;
47228
- };
47229
- /** @description Validation Error */
47230
- 422: {
47231
- headers: {
47232
- [name: string]: unknown;
47233
- };
47234
- content: {
47235
- "application/json": components["schemas"]["HTTPValidationError"];
47236
- };
47237
- };
47238
- };
47239
- };
47240
- "create-unification-rule": {
47241
- parameters: {
47242
- query?: never;
47243
- header?: never;
47244
- path: {
47245
- workspace_id: string;
47246
- };
47247
- cookie?: never;
47248
- };
47249
- requestBody: {
47250
- content: {
47251
- "application/json": components["schemas"]["CreateUnificationRuleRequest"];
47252
- };
47253
- };
47254
- responses: {
47255
- /** @description Successful Response */
47256
- 201: {
47257
- headers: {
47258
- [name: string]: unknown;
47259
- };
47260
- content: {
47261
- "application/json": components["schemas"]["UnificationRuleResponse"];
47262
- };
47263
- };
47264
- /** @description Missing or invalid API key. */
47265
- 401: {
47266
- headers: {
47267
- [name: string]: unknown;
47268
- };
47269
- content?: never;
47270
- };
47271
- /** @description Insufficient permissions. */
47272
- 403: {
47273
- headers: {
47274
- [name: string]: unknown;
47275
- };
47276
- content?: never;
47277
- };
47278
- /** @description Invalid data_source_id reference. */
47279
- 422: {
47280
- headers: {
47281
- [name: string]: unknown;
47282
- };
47283
- content?: never;
47284
- };
47285
- };
47286
- };
47287
- "get-unification-rule": {
47288
- parameters: {
47289
- query?: never;
47290
- header?: never;
47291
- path: {
47292
- workspace_id: string;
47293
- rule_id: string;
47294
- };
47295
- cookie?: never;
47296
- };
47297
- requestBody?: never;
47298
- responses: {
47299
- /** @description Successful Response */
47300
- 200: {
47301
- headers: {
47302
- [name: string]: unknown;
47303
- };
47304
- content: {
47305
- "application/json": components["schemas"]["UnificationRuleResponse"];
47306
- };
47307
- };
47308
- /** @description Missing or invalid API key. */
47309
- 401: {
47310
- headers: {
47311
- [name: string]: unknown;
47312
- };
47313
- content?: never;
47314
- };
47315
- /** @description Unification rule not found. */
47316
- 404: {
47317
- headers: {
47318
- [name: string]: unknown;
47319
- };
47320
- content?: never;
47321
- };
47322
- /** @description Validation Error */
47323
- 422: {
47324
- headers: {
47325
- [name: string]: unknown;
47326
- };
47327
- content: {
47328
- "application/json": components["schemas"]["HTTPValidationError"];
47329
- };
47330
- };
47331
- };
47332
- };
47333
- "delete-unification-rule": {
47334
- parameters: {
47335
- query?: never;
47336
- header?: never;
47337
- path: {
47338
- workspace_id: string;
47339
- rule_id: string;
47340
- };
47341
- cookie?: never;
47342
- };
47343
- requestBody?: never;
47344
- responses: {
47345
- /** @description Successful Response */
47346
- 204: {
47347
- headers: {
47348
- [name: string]: unknown;
47349
- };
47350
- content?: never;
47351
- };
47352
- /** @description Missing or invalid API key. */
47353
- 401: {
47354
- headers: {
47355
- [name: string]: unknown;
47356
- };
47357
- content?: never;
47358
- };
47359
- /** @description Unification rule not found. */
47360
- 404: {
47361
- headers: {
47362
- [name: string]: unknown;
47363
- };
47364
- content?: never;
47365
- };
47366
- /** @description Validation Error */
47367
- 422: {
47368
- headers: {
47369
- [name: string]: unknown;
47370
- };
47371
- content: {
47372
- "application/json": components["schemas"]["HTTPValidationError"];
47373
- };
47374
- };
47375
- };
47376
- };
47377
- "update-unification-rule": {
47378
- parameters: {
47379
- query?: never;
47380
- header?: never;
47381
- path: {
47382
- workspace_id: string;
47383
- rule_id: string;
47384
- };
47385
- cookie?: never;
47386
- };
47387
- requestBody: {
47388
- content: {
47389
- "application/json": components["schemas"]["UpdateUnificationRuleRequest"];
47390
- };
47391
- };
47392
- responses: {
47393
- /** @description Successful Response */
47394
- 200: {
47395
- headers: {
47396
- [name: string]: unknown;
47397
- };
47398
- content: {
47399
- "application/json": components["schemas"]["UnificationRuleResponse"];
47400
- };
47401
- };
47402
- /** @description Missing or invalid API key. */
47403
- 401: {
47404
- headers: {
47405
- [name: string]: unknown;
47406
- };
47407
- content?: never;
47408
- };
47409
- /** @description Unification rule not found. */
47410
- 404: {
47411
- headers: {
47412
- [name: string]: unknown;
47413
- };
47414
- content?: never;
47415
- };
47416
- /** @description Invalid data_source_id reference. */
47417
- 422: {
47418
- headers: {
47419
- [name: string]: unknown;
47420
- };
47421
- content?: never;
47422
- };
47423
- };
47424
- };
47425
44064
  "list-use-cases": {
47426
44065
  parameters: {
47427
44066
  query?: {