@amigo-ai/platform-sdk 0.45.0 → 0.47.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.
@@ -1774,14 +1774,14 @@ export interface paths {
1774
1774
  cookie?: never;
1775
1775
  };
1776
1776
  /**
1777
- * List SES setups for this workspace
1778
- * @description Paginated list of SES setups owned by this workspace. Items carry the cached ``dns_verified`` aggregate; call ``GET /ses-setup/{id}`` for per-record DNS detail. Requires ``Channel.view`` permission.
1777
+ * List SES setups
1778
+ * @description Paginated list of every SES setup on the platform. Items carry the cached ``dns_verified`` aggregate; call ``GET /ses-setup/{id}`` for per-record DNS detail. Setups are shared platform-wide; any caller with ``Channel.view`` permission sees the full list.
1779
1779
  */
1780
1780
  get: operations["list-ses-setups"];
1781
1781
  put?: never;
1782
1782
  /**
1783
1783
  * Create an SES setup
1784
- * @description Create an SES tenant + verified email identity for this workspace. Returns the DNS records the customer must publish (DKIM CNAMEs, MX, DMARC TXT). Subsequent ``GET`` or ``POST /verify`` calls re-run the live DNS lookup and update the per-record ``verified`` flag. Requires ``Channel.create`` permission.
1784
+ * @description Create an SES tenant + verified email identity. Returns the DNS records the customer must publish (DKIM CNAMEs, MX, DMARC TXT). Subsequent ``GET`` or ``POST /verify`` calls re-run the live DNS lookup and update the per-record ``verified`` flag. Setups are shared platform-wide; any caller with ``Channel.create`` permission can create one.
1785
1785
  */
1786
1786
  post: operations["create-ses-setup"];
1787
1787
  delete?: never;
@@ -1806,7 +1806,7 @@ export interface paths {
1806
1806
  post?: never;
1807
1807
  /**
1808
1808
  * Delete an SES setup
1809
- * @description Tear down the upstream SES tenant + identity and soft-delete the workspace binding. Refuses (409) if any use case still references the setup. Requires ``Channel.delete`` permission.
1809
+ * @description Tear down the upstream SES tenant + identity. Refuses (409) if any use case still references the setup. Requires ``Channel.delete`` permission.
1810
1810
  */
1811
1811
  delete: operations["delete-ses-setup"];
1812
1812
  options?: never;
@@ -3117,6 +3117,25 @@ export interface paths {
3117
3117
  patch?: never;
3118
3118
  trace?: never;
3119
3119
  };
3120
+ "/v1/{workspace_id}/fork": {
3121
+ parameters: {
3122
+ query?: never;
3123
+ header?: never;
3124
+ path?: never;
3125
+ cookie?: never;
3126
+ };
3127
+ /** Get fork status */
3128
+ get: operations["get-fork"];
3129
+ put?: never;
3130
+ /** Create a Lakebase fork (sandbox) */
3131
+ post: operations["create-fork"];
3132
+ /** Destroy fork */
3133
+ delete: operations["delete-fork"];
3134
+ options?: never;
3135
+ head?: never;
3136
+ patch?: never;
3137
+ trace?: never;
3138
+ };
3120
3139
  "/v1/{workspace_id}/functions": {
3121
3140
  parameters: {
3122
3141
  query?: never;
@@ -3848,6 +3867,23 @@ export interface paths {
3848
3867
  patch?: never;
3849
3868
  trace?: never;
3850
3869
  };
3870
+ "/v1/{workspace_id}/lakebase/query": {
3871
+ parameters: {
3872
+ query?: never;
3873
+ header?: never;
3874
+ path?: never;
3875
+ cookie?: never;
3876
+ };
3877
+ get?: never;
3878
+ put?: never;
3879
+ /** Execute SQL against workspace Lakebase */
3880
+ post: operations["execute-workspace-query"];
3881
+ delete?: never;
3882
+ options?: never;
3883
+ head?: never;
3884
+ patch?: never;
3885
+ trace?: never;
3886
+ };
3851
3887
  "/v1/{workspace_id}/m42/anomalies/ranked": {
3852
3888
  parameters: {
3853
3889
  query?: never;
@@ -5248,6 +5284,59 @@ export interface paths {
5248
5284
  patch?: never;
5249
5285
  trace?: never;
5250
5286
  };
5287
+ "/v1/{workspace_id}/query-tools": {
5288
+ parameters: {
5289
+ query?: never;
5290
+ header?: never;
5291
+ path?: never;
5292
+ cookie?: never;
5293
+ };
5294
+ /** List query tools */
5295
+ get: operations["list-query-tools"];
5296
+ put?: never;
5297
+ /** Create a query tool */
5298
+ post: operations["create-query-tool"];
5299
+ delete?: never;
5300
+ options?: never;
5301
+ head?: never;
5302
+ patch?: never;
5303
+ trace?: never;
5304
+ };
5305
+ "/v1/{workspace_id}/query-tools/{tool_id}": {
5306
+ parameters: {
5307
+ query?: never;
5308
+ header?: never;
5309
+ path?: never;
5310
+ cookie?: never;
5311
+ };
5312
+ get?: never;
5313
+ put?: never;
5314
+ post?: never;
5315
+ /** Delete a query tool */
5316
+ delete: operations["delete-query-tool"];
5317
+ options?: never;
5318
+ head?: never;
5319
+ /** Update a query tool */
5320
+ patch: operations["update-query-tool"];
5321
+ trace?: never;
5322
+ };
5323
+ "/v1/{workspace_id}/query-tools/{tool_id}/test": {
5324
+ parameters: {
5325
+ query?: never;
5326
+ header?: never;
5327
+ path?: never;
5328
+ cookie?: never;
5329
+ };
5330
+ get?: never;
5331
+ put?: never;
5332
+ /** Test a query tool with sample parameters */
5333
+ post: operations["test-query-tool"];
5334
+ delete?: never;
5335
+ options?: never;
5336
+ head?: never;
5337
+ patch?: never;
5338
+ trace?: never;
5339
+ };
5251
5340
  "/v1/{workspace_id}/query/{schema}/{table}": {
5252
5341
  parameters: {
5253
5342
  query?: never;
@@ -6830,6 +6919,46 @@ export interface paths {
6830
6919
  patch?: never;
6831
6920
  trace?: never;
6832
6921
  };
6922
+ "/v1/{workspace_id}/simulations/cases": {
6923
+ parameters: {
6924
+ query?: never;
6925
+ header?: never;
6926
+ path?: never;
6927
+ cookie?: never;
6928
+ };
6929
+ /**
6930
+ * List Simulation Cases
6931
+ * @description List durable simulation cases for case-library inspection.
6932
+ */
6933
+ get: operations["list-simulation-cases"];
6934
+ put?: never;
6935
+ post?: never;
6936
+ delete?: never;
6937
+ options?: never;
6938
+ head?: never;
6939
+ patch?: never;
6940
+ trace?: never;
6941
+ };
6942
+ "/v1/{workspace_id}/simulations/cases/{case_id}": {
6943
+ parameters: {
6944
+ query?: never;
6945
+ header?: never;
6946
+ path?: never;
6947
+ cookie?: never;
6948
+ };
6949
+ /**
6950
+ * Get Simulation Case
6951
+ * @description Fetch one durable simulation case for case-library inspection.
6952
+ */
6953
+ get: operations["get-simulation-case"];
6954
+ put?: never;
6955
+ post?: never;
6956
+ delete?: never;
6957
+ options?: never;
6958
+ head?: never;
6959
+ patch?: never;
6960
+ trace?: never;
6961
+ };
6833
6962
  "/v1/{workspace_id}/simulations/cases/{case_id}/run": {
6834
6963
  parameters: {
6835
6964
  query?: never;
@@ -6939,6 +7068,10 @@ export interface paths {
6939
7068
  /**
6940
7069
  * Create Simulation Session
6941
7070
  * @description Create a simulation session within a run. Proxies to agent-engine.
7071
+ *
7072
+ * entity_id ownership: agent-engine's _resolve_caller queries the entity
7073
+ * with workspace_id scoping — a workspace-A entity_id resolves to None in
7074
+ * workspace-B, so no cross-tenant data is exposed.
6942
7075
  */
6943
7076
  post: operations["create-simulation-session"];
6944
7077
  delete?: never;
@@ -7231,7 +7364,7 @@ export interface paths {
7231
7364
  * Update a skill
7232
7365
  * @description Update a skill's configuration. Increments version and creates an audit trail snapshot.
7233
7366
  *
7234
- * **Field semantics.** Omitted fields and explicit ``null`` are treated identically — both leave the existing value unchanged. Empty-string is rejected with 422 for fields that carry a ``minLength`` bound (``browser_start_url``, ``browser_auth_integration``, ``model``). Clearing a previously-set optional value back to ``null`` is not currently supported via PUT.
7367
+ * **Field semantics.** Omitted fields and explicit ``null`` are treated identically — both leave the existing value unchanged. Empty-string is rejected with 422 for fields that carry a ``minLength`` bound (``model``). Clearing a previously-set optional value back to ``null`` is not currently supported via PUT.
7235
7368
  *
7236
7369
  * Requires `Skill.update` permission.
7237
7370
  */
@@ -7853,7 +7986,7 @@ export interface paths {
7853
7986
  post?: never;
7854
7987
  /**
7855
7988
  * Delete a channel use case
7856
- * @description Delete a use case. Fails if voice use case still has phone assignments. Requires Channel.delete permission.
7989
+ * @description Delete a use case. Refuses (409) while any workspace has the use case bound — call DELETE `/use-cases/{id}/bindings` first. Also refuses if a Twilio use case still has phone-number assignments. Requires Channel.delete permission.
7857
7990
  */
7858
7991
  delete: operations["delete-use-case"];
7859
7992
  options?: never;
@@ -7861,6 +7994,30 @@ export interface paths {
7861
7994
  patch?: never;
7862
7995
  trace?: never;
7863
7996
  };
7997
+ "/v1/{workspace_id}/use-cases/{use_case_id}/bindings": {
7998
+ parameters: {
7999
+ query?: never;
8000
+ header?: never;
8001
+ path?: never;
8002
+ cookie?: never;
8003
+ };
8004
+ get?: never;
8005
+ put?: never;
8006
+ /**
8007
+ * Bind a use case to this workspace
8008
+ * @description Claim a use case for this workspace. Inbound webhook events for the use case will resolve to this workspace. Idempotent for the same workspace; 409 if another workspace owns the binding; revives a soft-deleted binding (after a prior unbind) and re-points it at this workspace. Requires Channel.create permission.
8009
+ */
8010
+ post: operations["bind-use-case"];
8011
+ /**
8012
+ * Unbind a use case from this workspace
8013
+ * @description Release a use case from this workspace. Soft-delete on the binding row. 404 if the use case is not currently bound to this workspace (covers both 'never bound' and 'already unbound'). Requires Channel.delete permission.
8014
+ */
8015
+ delete: operations["unbind-use-case"];
8016
+ options?: never;
8017
+ head?: never;
8018
+ patch?: never;
8019
+ trace?: never;
8020
+ };
7864
8021
  "/v1/{workspace_id}/voicemail": {
7865
8022
  parameters: {
7866
8023
  query?: never;
@@ -9894,6 +10051,18 @@ export interface components {
9894
10051
  */
9895
10052
  setup_id: string;
9896
10053
  };
10054
+ /** BindingResponse */
10055
+ BindingResponse: {
10056
+ /**
10057
+ * Channel
10058
+ * @enum {string}
10059
+ */
10060
+ channel: "voice" | "voicemail" | "email";
10061
+ /** Use Case Id */
10062
+ use_case_id: string;
10063
+ /** Workspace Id */
10064
+ workspace_id: string;
10065
+ };
9897
10066
  /** Body_enroll-voiceprint */
9898
10067
  "Body_enroll-voiceprint": {
9899
10068
  /** Audio */
@@ -10245,7 +10414,7 @@ export interface components {
10245
10414
  /** Caller Id */
10246
10415
  caller_id?: string | null;
10247
10416
  /** Completion Reason */
10248
- completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled" | "max_duration" | "idle_timeout" | "client_stop" | "transport_error" | "disconnected" | "transport_closed" | "unknown" | "conference_ended") | null;
10417
+ completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled") | null;
10249
10418
  /** Conference Sid */
10250
10419
  conference_sid?: string | null;
10251
10420
  config?: components["schemas"]["ConversationConfig"] | null;
@@ -10355,7 +10524,7 @@ export interface components {
10355
10524
  * Completion Reason
10356
10525
  * @enum {string}
10357
10526
  */
10358
- completion_reason: "completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled" | "max_duration" | "idle_timeout" | "client_stop" | "transport_error" | "disconnected" | "transport_closed" | "unknown" | "conference_ended";
10527
+ completion_reason: "completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled";
10359
10528
  /**
10360
10529
  * Direction
10361
10530
  * @enum {string}
@@ -10560,7 +10729,7 @@ export interface components {
10560
10729
  * Completion Reason
10561
10730
  * @description Why the call ended
10562
10731
  */
10563
- completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled" | "max_duration" | "idle_timeout" | "client_stop" | "transport_error" | "disconnected" | "transport_closed" | "unknown" | "conference_ended") | null;
10732
+ completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled") | null;
10564
10733
  /**
10565
10734
  * Direction
10566
10735
  * @description Call direction
@@ -10914,13 +11083,13 @@ export interface components {
10914
11083
  occurred_at: string;
10915
11084
  /** Phone Number */
10916
11085
  phone_number?: string | null;
11086
+ /** To Address */
11087
+ to_address?: string | null;
10917
11088
  /**
10918
- * Setup Id
11089
+ * Use Case Id
10919
11090
  * Format: uuid
10920
11091
  */
10921
- setup_id: string;
10922
- /** To Address */
10923
- to_address?: string | null;
11092
+ use_case_id: string;
10924
11093
  };
10925
11094
  /** ChannelEventResponse */
10926
11095
  ChannelEventResponse: {
@@ -12382,6 +12551,14 @@ export interface components {
12382
12551
  */
12383
12552
  sync_strategy?: "manual" | "scheduled" | "webhook" | "continuous";
12384
12553
  };
12554
+ /** CreateForkRequest */
12555
+ CreateForkRequest: {
12556
+ /**
12557
+ * Ttl Days
12558
+ * @default 7
12559
+ */
12560
+ ttl_days?: number;
12561
+ };
12385
12562
  /** CreateIntegrationRequest */
12386
12563
  CreateIntegrationRequest: {
12387
12564
  auth?: components["schemas"]["AuthConfigWithSecrets"] | null;
@@ -12762,12 +12939,6 @@ export interface components {
12762
12939
  * @default false
12763
12940
  */
12764
12941
  approval_required?: boolean;
12765
- /** Browser Allowed Domains */
12766
- browser_allowed_domains?: string[];
12767
- /** Browser Auth Integration */
12768
- browser_auth_integration?: string | null;
12769
- /** Browser Start Url */
12770
- browser_start_url?: string | null;
12771
12942
  /**
12772
12943
  * Checkpoint Enabled
12773
12944
  * @default true
@@ -12800,7 +12971,7 @@ export interface components {
12800
12971
  * @default orchestrated
12801
12972
  * @enum {string}
12802
12973
  */
12803
- execution_tier?: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
12974
+ execution_tier?: "direct" | "orchestrated" | "computer_use";
12804
12975
  /** Input Schema */
12805
12976
  input_schema: {
12806
12977
  [key: string]: unknown;
@@ -12932,6 +13103,24 @@ export interface components {
12932
13103
  /** Url */
12933
13104
  url?: string | null;
12934
13105
  };
13106
+ /** CreateToolRequest */
13107
+ CreateToolRequest: {
13108
+ /** @default */
13109
+ description?: components["schemas"]["DescriptionString"];
13110
+ name: components["schemas"]["NameString"];
13111
+ /** Parameters */
13112
+ parameters?: {
13113
+ [key: string]: unknown;
13114
+ };
13115
+ /** Query */
13116
+ query: string;
13117
+ /**
13118
+ * Target
13119
+ * @default lakebase
13120
+ * @constant
13121
+ */
13122
+ target?: "lakebase";
13123
+ };
12935
13124
  /** CreateTriggerRequest */
12936
13125
  CreateTriggerRequest: {
12937
13126
  /**
@@ -15923,6 +16112,11 @@ export interface components {
15923
16112
  [key: string]: unknown;
15924
16113
  };
15925
16114
  };
16115
+ /** ExecuteQueryRequest */
16116
+ ExecuteQueryRequest: {
16117
+ /** Sql */
16118
+ sql: string;
16119
+ };
15926
16120
  /** ExitCondition */
15927
16121
  ExitCondition: {
15928
16122
  /** Description */
@@ -16601,6 +16795,18 @@ export interface components {
16601
16795
  /** Alternatives */
16602
16796
  alternatives: components["schemas"]["ForkAlternative"][];
16603
16797
  };
16798
+ /** ForkResponse */
16799
+ ForkResponse: {
16800
+ /** Endpoint */
16801
+ endpoint: string;
16802
+ /**
16803
+ * Status
16804
+ * @enum {string}
16805
+ */
16806
+ status: "pending" | "ready" | "deleting";
16807
+ /** Ttl Days */
16808
+ ttl_days?: number | null;
16809
+ };
16604
16810
  /**
16605
16811
  * FormTemplate
16606
16812
  * @description Reusable form template with sections, prefill, branding.
@@ -17753,15 +17959,6 @@ export interface components {
17753
17959
  * @default false
17754
17960
  */
17755
17961
  approval_required?: boolean;
17756
- /**
17757
- * Browser Allowed Domains
17758
- * @default []
17759
- */
17760
- browser_allowed_domains?: string[];
17761
- /** Browser Auth Integration */
17762
- browser_auth_integration?: string | null;
17763
- /** Browser Start Url */
17764
- browser_start_url?: string | null;
17765
17962
  /**
17766
17963
  * Checkpoint Enabled
17767
17964
  * @default true
@@ -17795,7 +17992,7 @@ export interface components {
17795
17992
  * @default orchestrated
17796
17993
  * @enum {string}
17797
17994
  */
17798
- execution_tier?: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
17995
+ execution_tier?: "direct" | "orchestrated" | "computer_use";
17799
17996
  /**
17800
17997
  * Id
17801
17998
  * Format: uuid
@@ -20069,6 +20266,17 @@ export interface components {
20069
20266
  /** Total */
20070
20267
  total?: number | null;
20071
20268
  };
20269
+ /** PaginatedResponse[SimulationCaseResponse] */
20270
+ PaginatedResponse_SimulationCaseResponse_: {
20271
+ /** Continuation Token */
20272
+ continuation_token?: number | null;
20273
+ /** Has More */
20274
+ has_more: boolean;
20275
+ /** Items */
20276
+ items: components["schemas"]["SimulationCaseResponse"][];
20277
+ /** Total */
20278
+ total?: number | null;
20279
+ };
20072
20280
  /** PaginatedResponse[SkillResponse] */
20073
20281
  PaginatedResponse_SkillResponse_: {
20074
20282
  /** Continuation Token */
@@ -20102,6 +20310,17 @@ export interface components {
20102
20310
  /** Total */
20103
20311
  total?: number | null;
20104
20312
  };
20313
+ /** PaginatedResponse[ToolResponse] */
20314
+ PaginatedResponse_ToolResponse_: {
20315
+ /** Continuation Token */
20316
+ continuation_token?: number | null;
20317
+ /** Has More */
20318
+ has_more: boolean;
20319
+ /** Items */
20320
+ items: components["schemas"]["ToolResponse"][];
20321
+ /** Total */
20322
+ total?: number | null;
20323
+ };
20105
20324
  /** PaginatedResponse[TriggerResponse] */
20106
20325
  PaginatedResponse_TriggerResponse_: {
20107
20326
  /** Continuation Token */
@@ -21524,6 +21743,17 @@ export interface components {
21524
21743
  [key: string]: unknown;
21525
21744
  }[];
21526
21745
  };
21746
+ /** QueryResultResponse */
21747
+ QueryResultResponse: {
21748
+ /** Columns */
21749
+ columns?: string[] | null;
21750
+ /** Row Count */
21751
+ row_count: number;
21752
+ /** Rows */
21753
+ rows?: {
21754
+ [key: string]: unknown;
21755
+ }[] | null;
21756
+ };
21527
21757
  /**
21528
21758
  * QuietHours
21529
21759
  * @description TCPA-compliant quiet hours — no outbound SMS during this window.
@@ -23587,6 +23817,65 @@ export interface components {
23587
23817
  /** Skipped Cases */
23588
23818
  skipped_cases: components["schemas"]["SimulationBenchmarkCaseResult"][];
23589
23819
  };
23820
+ /**
23821
+ * SimulationCaseResponse
23822
+ * @description HTTP response shape for durable simulation cases.
23823
+ */
23824
+ SimulationCaseResponse: {
23825
+ /** Assertions */
23826
+ assertions?: {
23827
+ [key: string]: unknown;
23828
+ }[];
23829
+ /** Constraints */
23830
+ constraints?: {
23831
+ [key: string]: unknown;
23832
+ };
23833
+ /** Created At */
23834
+ created_at?: string | null;
23835
+ /** Created By */
23836
+ created_by?: string | null;
23837
+ /** Description */
23838
+ description: string;
23839
+ /** Fixtures */
23840
+ fixtures?: {
23841
+ [key: string]: unknown;
23842
+ };
23843
+ /**
23844
+ * Id
23845
+ * Format: uuid
23846
+ */
23847
+ id: string;
23848
+ /** Initial Message */
23849
+ initial_message: string;
23850
+ /** Persona */
23851
+ persona?: {
23852
+ [key: string]: unknown;
23853
+ };
23854
+ /**
23855
+ * Provenance
23856
+ * @default manual
23857
+ */
23858
+ provenance?: string;
23859
+ /** Scenario Instructions */
23860
+ scenario_instructions: string;
23861
+ /** Service Id */
23862
+ service_id?: string | null;
23863
+ /** Tags */
23864
+ tags?: string[];
23865
+ /** Target Spec */
23866
+ target_spec?: {
23867
+ [key: string]: unknown;
23868
+ };
23869
+ /** Temperament */
23870
+ temperament?: string | null;
23871
+ /** Updated At */
23872
+ updated_at?: string | null;
23873
+ /**
23874
+ * Workspace Id
23875
+ * Format: uuid
23876
+ */
23877
+ workspace_id: string;
23878
+ };
23590
23879
  /** SimulationIntelligenceResponse */
23591
23880
  SimulationIntelligenceResponse: {
23592
23881
  /** Intelligence */
@@ -23943,12 +24232,6 @@ export interface components {
23943
24232
  SkillResponse: {
23944
24233
  /** Approval Required */
23945
24234
  approval_required: boolean;
23946
- /** Browser Allowed Domains */
23947
- browser_allowed_domains: string[];
23948
- /** Browser Auth Integration */
23949
- browser_auth_integration: string | null;
23950
- /** Browser Start Url */
23951
- browser_start_url: string | null;
23952
24235
  /** Checkpoint Enabled */
23953
24236
  checkpoint_enabled: boolean;
23954
24237
  /**
@@ -23973,7 +24256,7 @@ export interface components {
23973
24256
  * Execution Tier
23974
24257
  * @enum {string}
23975
24258
  */
23976
- execution_tier: "direct" | "orchestrated" | "autonomous" | "browser" | "computer_use";
24259
+ execution_tier: "direct" | "orchestrated" | "computer_use";
23977
24260
  /**
23978
24261
  * Id
23979
24262
  * Format: uuid
@@ -25589,6 +25872,13 @@ export interface components {
25589
25872
  */
25590
25873
  sub_tool_logs: components["schemas"]["SubToolLog"][];
25591
25874
  };
25875
+ /** TestToolRequest */
25876
+ TestToolRequest: {
25877
+ /** Parameters */
25878
+ parameters?: {
25879
+ [key: string]: unknown;
25880
+ };
25881
+ };
25592
25882
  /** TextCompletedEvent */
25593
25883
  TextCompletedEvent: {
25594
25884
  /** Channel Kind */
@@ -26083,6 +26373,34 @@ export interface components {
26083
26373
  */
26084
26374
  workspace_id: string;
26085
26375
  };
26376
+ /** ToolResponse */
26377
+ ToolResponse: {
26378
+ /** Created At */
26379
+ created_at?: string | null;
26380
+ /** Description */
26381
+ description: string;
26382
+ /** Enabled */
26383
+ enabled: boolean;
26384
+ /** Id */
26385
+ id: string;
26386
+ /** Name */
26387
+ name: string;
26388
+ /** Parameters */
26389
+ parameters: {
26390
+ [key: string]: unknown;
26391
+ };
26392
+ /** Query */
26393
+ query: string;
26394
+ /**
26395
+ * Target
26396
+ * @constant
26397
+ */
26398
+ target: "lakebase";
26399
+ /** Updated At */
26400
+ updated_at?: string | null;
26401
+ /** Workspace Id */
26402
+ workspace_id: string;
26403
+ };
26086
26404
  /**
26087
26405
  * ToolSummary
26088
26406
  * @description Tool usage statistics.
@@ -27229,12 +27547,6 @@ export interface components {
27229
27547
  UpdateSkillRequest: {
27230
27548
  /** Approval Required */
27231
27549
  approval_required?: boolean | null;
27232
- /** Browser Allowed Domains */
27233
- browser_allowed_domains?: string[] | null;
27234
- /** Browser Auth Integration */
27235
- browser_auth_integration?: string | null;
27236
- /** Browser Start Url */
27237
- browser_start_url?: string | null;
27238
27550
  /** Checkpoint Enabled */
27239
27551
  checkpoint_enabled?: boolean | null;
27240
27552
  /** Delivery */
@@ -27247,7 +27559,7 @@ export interface components {
27247
27559
  /** Enabled */
27248
27560
  enabled?: boolean | null;
27249
27561
  /** Execution Tier */
27250
- execution_tier?: ("direct" | "orchestrated" | "autonomous" | "browser" | "computer_use") | null;
27562
+ execution_tier?: ("direct" | "orchestrated" | "computer_use") | null;
27251
27563
  /** Input Schema */
27252
27564
  input_schema?: {
27253
27565
  [key: string]: unknown;
@@ -27339,6 +27651,19 @@ export interface components {
27339
27651
  */
27340
27652
  workspace_id: string;
27341
27653
  };
27654
+ /** UpdateToolRequest */
27655
+ UpdateToolRequest: {
27656
+ description?: components["schemas"]["DescriptionString"] | null;
27657
+ /** Enabled */
27658
+ enabled?: boolean | null;
27659
+ name?: components["schemas"]["NameString"] | null;
27660
+ /** Parameters */
27661
+ parameters?: {
27662
+ [key: string]: unknown;
27663
+ } | null;
27664
+ /** Query */
27665
+ query?: string | null;
27666
+ };
27342
27667
  /** UpdateTriggerRequest */
27343
27668
  UpdateTriggerRequest: {
27344
27669
  /** Action Id */
@@ -28899,6 +29224,11 @@ export interface components {
28899
29224
  * @description Simulated caller phone number for patient resolution. When omitted or blank the agent-engine falls back to the sim-orchestrator sentinel.
28900
29225
  */
28901
29226
  caller_id?: string | null;
29227
+ /**
29228
+ * Entity Id
29229
+ * @description Entity UUID to bind to the session for patient context resolution.
29230
+ */
29231
+ entity_id?: string | null;
28902
29232
  /**
28903
29233
  * Service Id
28904
29234
  * Format: uuid
@@ -33277,7 +33607,7 @@ export interface operations {
33277
33607
  };
33278
33608
  content?: never;
33279
33609
  };
33280
- /** @description SES setup not found in this workspace. */
33610
+ /** @description SES setup not found. */
33281
33611
  404: {
33282
33612
  headers: {
33283
33613
  [name: string]: unknown;
@@ -33321,7 +33651,7 @@ export interface operations {
33321
33651
  };
33322
33652
  content?: never;
33323
33653
  };
33324
- /** @description SES setup not found in this workspace. */
33654
+ /** @description SES setup not found. */
33325
33655
  404: {
33326
33656
  headers: {
33327
33657
  [name: string]: unknown;
@@ -33388,7 +33718,7 @@ export interface operations {
33388
33718
  };
33389
33719
  content?: never;
33390
33720
  };
33391
- /** @description SES setup not found in this workspace. */
33721
+ /** @description SES setup not found. */
33392
33722
  404: {
33393
33723
  headers: {
33394
33724
  [name: string]: unknown;
@@ -36507,6 +36837,109 @@ export interface operations {
36507
36837
  };
36508
36838
  };
36509
36839
  };
36840
+ "get-fork": {
36841
+ parameters: {
36842
+ query?: never;
36843
+ header?: never;
36844
+ path: {
36845
+ workspace_id: string;
36846
+ };
36847
+ cookie?: never;
36848
+ };
36849
+ requestBody?: never;
36850
+ responses: {
36851
+ /** @description Successful Response */
36852
+ 200: {
36853
+ headers: {
36854
+ [name: string]: unknown;
36855
+ };
36856
+ content: {
36857
+ "application/json": components["schemas"]["ForkResponse"] | null;
36858
+ };
36859
+ };
36860
+ /** @description Rate limited */
36861
+ 429: {
36862
+ headers: {
36863
+ [name: string]: unknown;
36864
+ };
36865
+ content?: never;
36866
+ };
36867
+ };
36868
+ };
36869
+ "create-fork": {
36870
+ parameters: {
36871
+ query?: never;
36872
+ header?: never;
36873
+ path: {
36874
+ workspace_id: string;
36875
+ };
36876
+ cookie?: never;
36877
+ };
36878
+ requestBody: {
36879
+ content: {
36880
+ "application/json": components["schemas"]["CreateForkRequest"];
36881
+ };
36882
+ };
36883
+ responses: {
36884
+ /** @description Successful Response */
36885
+ 201: {
36886
+ headers: {
36887
+ [name: string]: unknown;
36888
+ };
36889
+ content: {
36890
+ "application/json": components["schemas"]["ForkResponse"];
36891
+ };
36892
+ };
36893
+ /** @description Validation error */
36894
+ 422: {
36895
+ headers: {
36896
+ [name: string]: unknown;
36897
+ };
36898
+ content?: never;
36899
+ };
36900
+ /** @description Rate limited */
36901
+ 429: {
36902
+ headers: {
36903
+ [name: string]: unknown;
36904
+ };
36905
+ content?: never;
36906
+ };
36907
+ };
36908
+ };
36909
+ "delete-fork": {
36910
+ parameters: {
36911
+ query?: never;
36912
+ header?: never;
36913
+ path: {
36914
+ workspace_id: string;
36915
+ };
36916
+ cookie?: never;
36917
+ };
36918
+ requestBody?: never;
36919
+ responses: {
36920
+ /** @description Successful Response */
36921
+ 204: {
36922
+ headers: {
36923
+ [name: string]: unknown;
36924
+ };
36925
+ content?: never;
36926
+ };
36927
+ /** @description Validation error */
36928
+ 422: {
36929
+ headers: {
36930
+ [name: string]: unknown;
36931
+ };
36932
+ content?: never;
36933
+ };
36934
+ /** @description Rate limited */
36935
+ 429: {
36936
+ headers: {
36937
+ [name: string]: unknown;
36938
+ };
36939
+ content?: never;
36940
+ };
36941
+ };
36942
+ };
36510
36943
  "list-functions": {
36511
36944
  parameters: {
36512
36945
  query?: never;
@@ -38047,6 +38480,46 @@ export interface operations {
38047
38480
  };
38048
38481
  };
38049
38482
  };
38483
+ "execute-workspace-query": {
38484
+ parameters: {
38485
+ query?: never;
38486
+ header?: never;
38487
+ path: {
38488
+ workspace_id: string;
38489
+ };
38490
+ cookie?: never;
38491
+ };
38492
+ requestBody: {
38493
+ content: {
38494
+ "application/json": components["schemas"]["ExecuteQueryRequest"];
38495
+ };
38496
+ };
38497
+ responses: {
38498
+ /** @description Successful Response */
38499
+ 200: {
38500
+ headers: {
38501
+ [name: string]: unknown;
38502
+ };
38503
+ content: {
38504
+ "application/json": components["schemas"]["QueryResultResponse"];
38505
+ };
38506
+ };
38507
+ /** @description Validation error */
38508
+ 422: {
38509
+ headers: {
38510
+ [name: string]: unknown;
38511
+ };
38512
+ content?: never;
38513
+ };
38514
+ /** @description Rate limited */
38515
+ 429: {
38516
+ headers: {
38517
+ [name: string]: unknown;
38518
+ };
38519
+ content?: never;
38520
+ };
38521
+ };
38522
+ };
38050
38523
  list_anomalies_ranked_v1__workspace_id__m42_anomalies_ranked_get: {
38051
38524
  parameters: {
38052
38525
  query?: {
@@ -41219,6 +41692,213 @@ export interface operations {
41219
41692
  };
41220
41693
  };
41221
41694
  };
41695
+ "list-query-tools": {
41696
+ parameters: {
41697
+ query?: {
41698
+ limit?: number;
41699
+ continuation_token?: number;
41700
+ };
41701
+ header?: never;
41702
+ path: {
41703
+ workspace_id: string;
41704
+ };
41705
+ cookie?: never;
41706
+ };
41707
+ requestBody?: never;
41708
+ responses: {
41709
+ /** @description Successful Response */
41710
+ 200: {
41711
+ headers: {
41712
+ [name: string]: unknown;
41713
+ };
41714
+ content: {
41715
+ "application/json": components["schemas"]["PaginatedResponse_ToolResponse_"];
41716
+ };
41717
+ };
41718
+ /** @description Validation Error */
41719
+ 422: {
41720
+ headers: {
41721
+ [name: string]: unknown;
41722
+ };
41723
+ content: {
41724
+ "application/json": components["schemas"]["HTTPValidationError"];
41725
+ };
41726
+ };
41727
+ /** @description Rate limited */
41728
+ 429: {
41729
+ headers: {
41730
+ [name: string]: unknown;
41731
+ };
41732
+ content?: never;
41733
+ };
41734
+ };
41735
+ };
41736
+ "create-query-tool": {
41737
+ parameters: {
41738
+ query?: never;
41739
+ header?: never;
41740
+ path: {
41741
+ workspace_id: string;
41742
+ };
41743
+ cookie?: never;
41744
+ };
41745
+ requestBody: {
41746
+ content: {
41747
+ "application/json": components["schemas"]["CreateToolRequest"];
41748
+ };
41749
+ };
41750
+ responses: {
41751
+ /** @description Successful Response */
41752
+ 201: {
41753
+ headers: {
41754
+ [name: string]: unknown;
41755
+ };
41756
+ content: {
41757
+ "application/json": components["schemas"]["ToolResponse"];
41758
+ };
41759
+ };
41760
+ /** @description Validation error */
41761
+ 422: {
41762
+ headers: {
41763
+ [name: string]: unknown;
41764
+ };
41765
+ content?: never;
41766
+ };
41767
+ /** @description Rate limited */
41768
+ 429: {
41769
+ headers: {
41770
+ [name: string]: unknown;
41771
+ };
41772
+ content?: never;
41773
+ };
41774
+ };
41775
+ };
41776
+ "delete-query-tool": {
41777
+ parameters: {
41778
+ query?: never;
41779
+ header?: never;
41780
+ path: {
41781
+ workspace_id: string;
41782
+ tool_id: string;
41783
+ };
41784
+ cookie?: never;
41785
+ };
41786
+ requestBody?: never;
41787
+ responses: {
41788
+ /** @description Successful Response */
41789
+ 204: {
41790
+ headers: {
41791
+ [name: string]: unknown;
41792
+ };
41793
+ content?: never;
41794
+ };
41795
+ /** @description Validation Error */
41796
+ 422: {
41797
+ headers: {
41798
+ [name: string]: unknown;
41799
+ };
41800
+ content: {
41801
+ "application/json": components["schemas"]["HTTPValidationError"];
41802
+ };
41803
+ };
41804
+ /** @description Rate limited */
41805
+ 429: {
41806
+ headers: {
41807
+ [name: string]: unknown;
41808
+ };
41809
+ content?: never;
41810
+ };
41811
+ };
41812
+ };
41813
+ "update-query-tool": {
41814
+ parameters: {
41815
+ query?: never;
41816
+ header?: never;
41817
+ path: {
41818
+ workspace_id: string;
41819
+ tool_id: string;
41820
+ };
41821
+ cookie?: never;
41822
+ };
41823
+ requestBody: {
41824
+ content: {
41825
+ "application/json": components["schemas"]["UpdateToolRequest"];
41826
+ };
41827
+ };
41828
+ responses: {
41829
+ /** @description Successful Response */
41830
+ 200: {
41831
+ headers: {
41832
+ [name: string]: unknown;
41833
+ };
41834
+ content: {
41835
+ "application/json": components["schemas"]["ToolResponse"];
41836
+ };
41837
+ };
41838
+ /** @description Tool not found */
41839
+ 404: {
41840
+ headers: {
41841
+ [name: string]: unknown;
41842
+ };
41843
+ content?: never;
41844
+ };
41845
+ /** @description Validation error */
41846
+ 422: {
41847
+ headers: {
41848
+ [name: string]: unknown;
41849
+ };
41850
+ content?: never;
41851
+ };
41852
+ /** @description Rate limited */
41853
+ 429: {
41854
+ headers: {
41855
+ [name: string]: unknown;
41856
+ };
41857
+ content?: never;
41858
+ };
41859
+ };
41860
+ };
41861
+ "test-query-tool": {
41862
+ parameters: {
41863
+ query?: never;
41864
+ header?: never;
41865
+ path: {
41866
+ workspace_id: string;
41867
+ tool_id: string;
41868
+ };
41869
+ cookie?: never;
41870
+ };
41871
+ requestBody: {
41872
+ content: {
41873
+ "application/json": components["schemas"]["TestToolRequest"];
41874
+ };
41875
+ };
41876
+ responses: {
41877
+ /** @description Successful Response */
41878
+ 200: {
41879
+ headers: {
41880
+ [name: string]: unknown;
41881
+ };
41882
+ content: {
41883
+ "application/json": components["schemas"]["QueryResultResponse"];
41884
+ };
41885
+ };
41886
+ /** @description Validation error */
41887
+ 422: {
41888
+ headers: {
41889
+ [name: string]: unknown;
41890
+ };
41891
+ content?: never;
41892
+ };
41893
+ /** @description Rate limited */
41894
+ 429: {
41895
+ headers: {
41896
+ [name: string]: unknown;
41897
+ };
41898
+ content?: never;
41899
+ };
41900
+ };
41901
+ };
41222
41902
  query_table_v1__workspace_id__query__schema___table__get: {
41223
41903
  parameters: {
41224
41904
  query?: {
@@ -44792,6 +45472,81 @@ export interface operations {
44792
45472
  };
44793
45473
  };
44794
45474
  };
45475
+ "list-simulation-cases": {
45476
+ parameters: {
45477
+ query?: {
45478
+ service_id?: string | null;
45479
+ tags?: string[] | null;
45480
+ limit?: number;
45481
+ continuation_token?: number;
45482
+ };
45483
+ header?: never;
45484
+ path: {
45485
+ workspace_id: string;
45486
+ };
45487
+ cookie?: never;
45488
+ };
45489
+ requestBody?: never;
45490
+ responses: {
45491
+ /** @description Successful Response */
45492
+ 200: {
45493
+ headers: {
45494
+ [name: string]: unknown;
45495
+ };
45496
+ content: {
45497
+ "application/json": components["schemas"]["PaginatedResponse_SimulationCaseResponse_"];
45498
+ };
45499
+ };
45500
+ /** @description Validation Error */
45501
+ 422: {
45502
+ headers: {
45503
+ [name: string]: unknown;
45504
+ };
45505
+ content: {
45506
+ "application/json": components["schemas"]["HTTPValidationError"];
45507
+ };
45508
+ };
45509
+ };
45510
+ };
45511
+ "get-simulation-case": {
45512
+ parameters: {
45513
+ query?: never;
45514
+ header?: never;
45515
+ path: {
45516
+ workspace_id: string;
45517
+ case_id: string;
45518
+ };
45519
+ cookie?: never;
45520
+ };
45521
+ requestBody?: never;
45522
+ responses: {
45523
+ /** @description Successful Response */
45524
+ 200: {
45525
+ headers: {
45526
+ [name: string]: unknown;
45527
+ };
45528
+ content: {
45529
+ "application/json": components["schemas"]["SimulationCaseResponse"];
45530
+ };
45531
+ };
45532
+ /** @description Simulation case not found */
45533
+ 404: {
45534
+ headers: {
45535
+ [name: string]: unknown;
45536
+ };
45537
+ content?: never;
45538
+ };
45539
+ /** @description Validation Error */
45540
+ 422: {
45541
+ headers: {
45542
+ [name: string]: unknown;
45543
+ };
45544
+ content: {
45545
+ "application/json": components["schemas"]["HTTPValidationError"];
45546
+ };
45547
+ };
45548
+ };
45549
+ };
44795
45550
  "run-simulation-case": {
44796
45551
  parameters: {
44797
45552
  query?: never;
@@ -45576,7 +46331,7 @@ export interface operations {
45576
46331
  parameters: {
45577
46332
  query?: {
45578
46333
  enabled?: boolean | null;
45579
- execution_tier?: ("direct" | "orchestrated" | "autonomous" | "browser" | "computer_use") | null;
46334
+ execution_tier?: ("direct" | "orchestrated" | "computer_use") | null;
45580
46335
  search?: components["schemas"]["SearchString"] | null;
45581
46336
  sort_by?: string | null;
45582
46337
  limit?: number;
@@ -47707,7 +48462,74 @@ export interface operations {
47707
48462
  };
47708
48463
  content?: never;
47709
48464
  };
47710
- /** @description Use case has active phone assignments. */
48465
+ /** @description Use case is bound to a workspace, or still has active phone assignments. */
48466
+ 409: {
48467
+ headers: {
48468
+ [name: string]: unknown;
48469
+ };
48470
+ content?: never;
48471
+ };
48472
+ /** @description Validation Error */
48473
+ 422: {
48474
+ headers: {
48475
+ [name: string]: unknown;
48476
+ };
48477
+ content: {
48478
+ "application/json": components["schemas"]["HTTPValidationError"];
48479
+ };
48480
+ };
48481
+ /** @description Channel manager unavailable. */
48482
+ 502: {
48483
+ headers: {
48484
+ [name: string]: unknown;
48485
+ };
48486
+ content?: never;
48487
+ };
48488
+ /** @description Channel manager timed out. */
48489
+ 504: {
48490
+ headers: {
48491
+ [name: string]: unknown;
48492
+ };
48493
+ content?: never;
48494
+ };
48495
+ };
48496
+ };
48497
+ "bind-use-case": {
48498
+ parameters: {
48499
+ query?: never;
48500
+ header?: never;
48501
+ path: {
48502
+ workspace_id: string;
48503
+ use_case_id: string;
48504
+ };
48505
+ cookie?: never;
48506
+ };
48507
+ requestBody?: never;
48508
+ responses: {
48509
+ /** @description Successful Response */
48510
+ 201: {
48511
+ headers: {
48512
+ [name: string]: unknown;
48513
+ };
48514
+ content: {
48515
+ "application/json": components["schemas"]["BindingResponse"];
48516
+ };
48517
+ };
48518
+ /** @description Insufficient permissions. */
48519
+ 403: {
48520
+ headers: {
48521
+ [name: string]: unknown;
48522
+ };
48523
+ content?: never;
48524
+ };
48525
+ /** @description Use case not found. */
48526
+ 404: {
48527
+ headers: {
48528
+ [name: string]: unknown;
48529
+ };
48530
+ content?: never;
48531
+ };
48532
+ /** @description Use case is already bound to a different workspace. */
47711
48533
  409: {
47712
48534
  headers: {
47713
48535
  [name: string]: unknown;
@@ -47739,6 +48561,50 @@ export interface operations {
47739
48561
  };
47740
48562
  };
47741
48563
  };
48564
+ "unbind-use-case": {
48565
+ parameters: {
48566
+ query?: never;
48567
+ header?: never;
48568
+ path: {
48569
+ workspace_id: string;
48570
+ use_case_id: string;
48571
+ };
48572
+ cookie?: never;
48573
+ };
48574
+ requestBody?: never;
48575
+ responses: {
48576
+ /** @description Successful Response */
48577
+ 204: {
48578
+ headers: {
48579
+ [name: string]: unknown;
48580
+ };
48581
+ content?: never;
48582
+ };
48583
+ /** @description Insufficient permissions. */
48584
+ 403: {
48585
+ headers: {
48586
+ [name: string]: unknown;
48587
+ };
48588
+ content?: never;
48589
+ };
48590
+ /** @description Use case is not bound to this workspace. */
48591
+ 404: {
48592
+ headers: {
48593
+ [name: string]: unknown;
48594
+ };
48595
+ content?: never;
48596
+ };
48597
+ /** @description Validation Error */
48598
+ 422: {
48599
+ headers: {
48600
+ [name: string]: unknown;
48601
+ };
48602
+ content: {
48603
+ "application/json": components["schemas"]["HTTPValidationError"];
48604
+ };
48605
+ };
48606
+ };
48607
+ };
47742
48608
  "list-voicemails": {
47743
48609
  parameters: {
47744
48610
  query?: {