@azure/ai-projects 2.8.0 → 2.9.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 (215) hide show
  1. package/README.md +73 -5
  2. package/dist/browser/aiProjectClient.d.ts.map +1 -1
  3. package/dist/browser/aiProjectClient.js +1 -1
  4. package/dist/browser/aiProjectClient.js.map +1 -1
  5. package/dist/browser/classic/beta/agents/index.d.ts +2 -1
  6. package/dist/browser/classic/beta/agents/index.d.ts.map +1 -1
  7. package/dist/browser/classic/beta/agents/index.js +3 -2
  8. package/dist/browser/classic/beta/agents/index.js.map +1 -1
  9. package/dist/browser/classic/beta/index.d.ts +2 -1
  10. package/dist/browser/classic/beta/index.d.ts.map +1 -1
  11. package/dist/browser/classic/beta/index.js +3 -3
  12. package/dist/browser/classic/beta/index.js.map +1 -1
  13. package/dist/browser/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
  14. package/dist/browser/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
  15. package/dist/browser/classic/beta/voiceAgents/conversations/index.js +5 -4
  16. package/dist/browser/classic/beta/voiceAgents/conversations/index.js.map +1 -1
  17. package/dist/browser/classic/beta/voiceAgents/index.d.ts +3 -2
  18. package/dist/browser/classic/beta/voiceAgents/index.d.ts.map +1 -1
  19. package/dist/browser/classic/beta/voiceAgents/index.js +5 -5
  20. package/dist/browser/classic/beta/voiceAgents/index.js.map +1 -1
  21. package/dist/browser/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
  22. package/dist/browser/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
  23. package/dist/browser/classic/beta/voiceAgents/telephony/index.js +16 -11
  24. package/dist/browser/classic/beta/voiceAgents/telephony/index.js.map +1 -1
  25. package/dist/browser/constants.d.ts +1 -1
  26. package/dist/browser/constants.js +1 -1
  27. package/dist/browser/constants.js.map +1 -1
  28. package/dist/browser/index.d.ts +1 -1
  29. package/dist/browser/index.d.ts.map +1 -1
  30. package/dist/browser/index.js.map +1 -1
  31. package/dist/browser/models/index.d.ts +1 -1
  32. package/dist/browser/models/index.d.ts.map +1 -1
  33. package/dist/browser/models/index.js.map +1 -1
  34. package/dist/browser/models/models.d.ts +203 -158
  35. package/dist/browser/models/models.d.ts.map +1 -1
  36. package/dist/browser/models/models.js +129 -120
  37. package/dist/browser/models/models.js.map +1 -1
  38. package/dist/browser/package.json +1 -1
  39. package/dist/browser/realtime/voiceAgentRealtimeClient.d.ts +3 -0
  40. package/dist/browser/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
  41. package/dist/browser/realtime/voiceAgentRealtimeClient.js +39 -8
  42. package/dist/browser/realtime/voiceAgentRealtimeClient.js.map +1 -1
  43. package/dist/browser/tracing/configuration.d.ts +3 -5
  44. package/dist/browser/tracing/configuration.d.ts.map +1 -1
  45. package/dist/browser/tracing/configuration.js +8 -6
  46. package/dist/browser/tracing/configuration.js.map +1 -1
  47. package/dist/browser/tracing/tracingClient.d.ts +1 -1
  48. package/dist/browser/tracing/tracingClient.d.ts.map +1 -1
  49. package/dist/browser/tracing/tracingClient.js +2 -2
  50. package/dist/browser/tracing/tracingClient.js.map +1 -1
  51. package/dist/browser/tracing/voiceAgentTracing.d.ts +63 -0
  52. package/dist/browser/tracing/voiceAgentTracing.d.ts.map +1 -0
  53. package/dist/browser/tracing/voiceAgentTracing.js +740 -0
  54. package/dist/browser/tracing/voiceAgentTracing.js.map +1 -0
  55. package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
  56. package/dist/commonjs/aiProjectClient.js +2 -1
  57. package/dist/commonjs/aiProjectClient.js.map +2 -2
  58. package/dist/commonjs/classic/beta/agents/index.d.ts +2 -1
  59. package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -1
  60. package/dist/commonjs/classic/beta/agents/index.js +9 -2
  61. package/dist/commonjs/classic/beta/agents/index.js.map +2 -2
  62. package/dist/commonjs/classic/beta/index.d.ts +2 -1
  63. package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
  64. package/dist/commonjs/classic/beta/index.js +9 -3
  65. package/dist/commonjs/classic/beta/index.js.map +2 -2
  66. package/dist/commonjs/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
  67. package/dist/commonjs/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
  68. package/dist/commonjs/classic/beta/voiceAgents/conversations/index.js +10 -4
  69. package/dist/commonjs/classic/beta/voiceAgents/conversations/index.js.map +2 -2
  70. package/dist/commonjs/classic/beta/voiceAgents/index.d.ts +3 -2
  71. package/dist/commonjs/classic/beta/voiceAgents/index.d.ts.map +1 -1
  72. package/dist/commonjs/classic/beta/voiceAgents/index.js +4 -4
  73. package/dist/commonjs/classic/beta/voiceAgents/index.js.map +2 -2
  74. package/dist/commonjs/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
  75. package/dist/commonjs/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
  76. package/dist/commonjs/classic/beta/voiceAgents/telephony/index.js +33 -11
  77. package/dist/commonjs/classic/beta/voiceAgents/telephony/index.js.map +2 -2
  78. package/dist/commonjs/constants.d.ts +1 -1
  79. package/dist/commonjs/constants.js +1 -1
  80. package/dist/commonjs/constants.js.map +1 -1
  81. package/dist/commonjs/index.d.ts +1 -1
  82. package/dist/commonjs/index.d.ts.map +1 -1
  83. package/dist/commonjs/index.js.map +1 -1
  84. package/dist/commonjs/models/index.d.ts +1 -1
  85. package/dist/commonjs/models/index.d.ts.map +1 -1
  86. package/dist/commonjs/models/index.js.map +1 -1
  87. package/dist/commonjs/models/models.d.ts +203 -158
  88. package/dist/commonjs/models/models.d.ts.map +1 -1
  89. package/dist/commonjs/models/models.js +145 -106
  90. package/dist/commonjs/models/models.js.map +2 -2
  91. package/dist/commonjs/package.json +1 -1
  92. package/dist/commonjs/realtime/voiceAgentRealtimeClient.d.ts +3 -0
  93. package/dist/commonjs/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
  94. package/dist/commonjs/realtime/voiceAgentRealtimeClient.js +45 -17
  95. package/dist/commonjs/realtime/voiceAgentRealtimeClient.js.map +2 -2
  96. package/dist/commonjs/tracing/configuration.d.ts +3 -5
  97. package/dist/commonjs/tracing/configuration.d.ts.map +1 -1
  98. package/dist/commonjs/tracing/configuration.js +5 -1
  99. package/dist/commonjs/tracing/configuration.js.map +2 -2
  100. package/dist/commonjs/tracing/tracingClient.d.ts +1 -1
  101. package/dist/commonjs/tracing/tracingClient.d.ts.map +1 -1
  102. package/dist/commonjs/tracing/tracingClient.js +2 -2
  103. package/dist/commonjs/tracing/tracingClient.js.map +2 -2
  104. package/dist/commonjs/tracing/voiceAgentTracing.d.ts +63 -0
  105. package/dist/commonjs/tracing/voiceAgentTracing.d.ts.map +1 -0
  106. package/dist/commonjs/tracing/voiceAgentTracing.js +705 -0
  107. package/dist/commonjs/tracing/voiceAgentTracing.js.map +7 -0
  108. package/dist/commonjs/tsdoc-metadata.json +1 -1
  109. package/dist/esm/aiProjectClient.d.ts.map +1 -1
  110. package/dist/esm/aiProjectClient.js +1 -1
  111. package/dist/esm/aiProjectClient.js.map +1 -1
  112. package/dist/esm/classic/beta/agents/index.d.ts +2 -1
  113. package/dist/esm/classic/beta/agents/index.d.ts.map +1 -1
  114. package/dist/esm/classic/beta/agents/index.js +3 -2
  115. package/dist/esm/classic/beta/agents/index.js.map +1 -1
  116. package/dist/esm/classic/beta/index.d.ts +2 -1
  117. package/dist/esm/classic/beta/index.d.ts.map +1 -1
  118. package/dist/esm/classic/beta/index.js +3 -3
  119. package/dist/esm/classic/beta/index.js.map +1 -1
  120. package/dist/esm/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
  121. package/dist/esm/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
  122. package/dist/esm/classic/beta/voiceAgents/conversations/index.js +5 -4
  123. package/dist/esm/classic/beta/voiceAgents/conversations/index.js.map +1 -1
  124. package/dist/esm/classic/beta/voiceAgents/index.d.ts +3 -2
  125. package/dist/esm/classic/beta/voiceAgents/index.d.ts.map +1 -1
  126. package/dist/esm/classic/beta/voiceAgents/index.js +5 -5
  127. package/dist/esm/classic/beta/voiceAgents/index.js.map +1 -1
  128. package/dist/esm/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
  129. package/dist/esm/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
  130. package/dist/esm/classic/beta/voiceAgents/telephony/index.js +16 -11
  131. package/dist/esm/classic/beta/voiceAgents/telephony/index.js.map +1 -1
  132. package/dist/esm/constants.d.ts +1 -1
  133. package/dist/esm/constants.js +1 -1
  134. package/dist/esm/constants.js.map +1 -1
  135. package/dist/esm/index.d.ts +1 -1
  136. package/dist/esm/index.d.ts.map +1 -1
  137. package/dist/esm/index.js.map +1 -1
  138. package/dist/esm/models/index.d.ts +1 -1
  139. package/dist/esm/models/index.d.ts.map +1 -1
  140. package/dist/esm/models/index.js.map +1 -1
  141. package/dist/esm/models/models.d.ts +203 -158
  142. package/dist/esm/models/models.d.ts.map +1 -1
  143. package/dist/esm/models/models.js +129 -120
  144. package/dist/esm/models/models.js.map +1 -1
  145. package/dist/esm/package.json +1 -1
  146. package/dist/esm/realtime/voiceAgentRealtimeClient.d.ts +3 -0
  147. package/dist/esm/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
  148. package/dist/esm/realtime/voiceAgentRealtimeClient.js +39 -8
  149. package/dist/esm/realtime/voiceAgentRealtimeClient.js.map +1 -1
  150. package/dist/esm/tracing/configuration.d.ts +3 -5
  151. package/dist/esm/tracing/configuration.d.ts.map +1 -1
  152. package/dist/esm/tracing/configuration.js +8 -6
  153. package/dist/esm/tracing/configuration.js.map +1 -1
  154. package/dist/esm/tracing/tracingClient.d.ts +1 -1
  155. package/dist/esm/tracing/tracingClient.d.ts.map +1 -1
  156. package/dist/esm/tracing/tracingClient.js +2 -2
  157. package/dist/esm/tracing/tracingClient.js.map +1 -1
  158. package/dist/esm/tracing/voiceAgentTracing.d.ts +63 -0
  159. package/dist/esm/tracing/voiceAgentTracing.d.ts.map +1 -0
  160. package/dist/esm/tracing/voiceAgentTracing.js +740 -0
  161. package/dist/esm/tracing/voiceAgentTracing.js.map +1 -0
  162. package/dist/react-native/aiProjectClient.d.ts.map +1 -1
  163. package/dist/react-native/aiProjectClient.js +1 -1
  164. package/dist/react-native/aiProjectClient.js.map +1 -1
  165. package/dist/react-native/classic/beta/agents/index.d.ts +2 -1
  166. package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -1
  167. package/dist/react-native/classic/beta/agents/index.js +3 -2
  168. package/dist/react-native/classic/beta/agents/index.js.map +1 -1
  169. package/dist/react-native/classic/beta/index.d.ts +2 -1
  170. package/dist/react-native/classic/beta/index.d.ts.map +1 -1
  171. package/dist/react-native/classic/beta/index.js +3 -3
  172. package/dist/react-native/classic/beta/index.js.map +1 -1
  173. package/dist/react-native/classic/beta/voiceAgents/conversations/index.d.ts +2 -1
  174. package/dist/react-native/classic/beta/voiceAgents/conversations/index.d.ts.map +1 -1
  175. package/dist/react-native/classic/beta/voiceAgents/conversations/index.js +5 -4
  176. package/dist/react-native/classic/beta/voiceAgents/conversations/index.js.map +1 -1
  177. package/dist/react-native/classic/beta/voiceAgents/index.d.ts +3 -2
  178. package/dist/react-native/classic/beta/voiceAgents/index.d.ts.map +1 -1
  179. package/dist/react-native/classic/beta/voiceAgents/index.js +5 -5
  180. package/dist/react-native/classic/beta/voiceAgents/index.js.map +1 -1
  181. package/dist/react-native/classic/beta/voiceAgents/telephony/index.d.ts +2 -1
  182. package/dist/react-native/classic/beta/voiceAgents/telephony/index.d.ts.map +1 -1
  183. package/dist/react-native/classic/beta/voiceAgents/telephony/index.js +16 -11
  184. package/dist/react-native/classic/beta/voiceAgents/telephony/index.js.map +1 -1
  185. package/dist/react-native/constants.d.ts +1 -1
  186. package/dist/react-native/constants.js +1 -1
  187. package/dist/react-native/constants.js.map +1 -1
  188. package/dist/react-native/index.d.ts +1 -1
  189. package/dist/react-native/index.d.ts.map +1 -1
  190. package/dist/react-native/index.js.map +1 -1
  191. package/dist/react-native/models/index.d.ts +1 -1
  192. package/dist/react-native/models/index.d.ts.map +1 -1
  193. package/dist/react-native/models/index.js.map +1 -1
  194. package/dist/react-native/models/models.d.ts +203 -158
  195. package/dist/react-native/models/models.d.ts.map +1 -1
  196. package/dist/react-native/models/models.js +129 -120
  197. package/dist/react-native/models/models.js.map +1 -1
  198. package/dist/react-native/package.json +1 -1
  199. package/dist/react-native/realtime/voiceAgentRealtimeClient.d.ts +3 -0
  200. package/dist/react-native/realtime/voiceAgentRealtimeClient.d.ts.map +1 -1
  201. package/dist/react-native/realtime/voiceAgentRealtimeClient.js +39 -8
  202. package/dist/react-native/realtime/voiceAgentRealtimeClient.js.map +1 -1
  203. package/dist/react-native/tracing/configuration.d.ts +3 -5
  204. package/dist/react-native/tracing/configuration.d.ts.map +1 -1
  205. package/dist/react-native/tracing/configuration.js +8 -6
  206. package/dist/react-native/tracing/configuration.js.map +1 -1
  207. package/dist/react-native/tracing/tracingClient.d.ts +1 -1
  208. package/dist/react-native/tracing/tracingClient.d.ts.map +1 -1
  209. package/dist/react-native/tracing/tracingClient.js +2 -2
  210. package/dist/react-native/tracing/tracingClient.js.map +1 -1
  211. package/dist/react-native/tracing/voiceAgentTracing.d.ts +63 -0
  212. package/dist/react-native/tracing/voiceAgentTracing.d.ts.map +1 -0
  213. package/dist/react-native/tracing/voiceAgentTracing.js +740 -0
  214. package/dist/react-native/tracing/voiceAgentTracing.js.map +1 -0
  215. package/package.json +6 -6
@@ -192,11 +192,11 @@ export interface Tool {
192
192
  export declare function toolSerializer(item: Tool): any;
193
193
  export declare function toolDeserializer(item: any): Tool;
194
194
  /** Alias for ToolUnion */
195
- export type ToolUnion = GitHubCopilotToolsetPreview | BingGroundingTool | MicrosoftFabricPreviewTool | SharepointPreviewTool | AzureAISearchTool | OpenApiTool | BingCustomSearchPreviewTool | BrowserAutomationPreviewTool | BrowserAutomationTool | AzureFunctionTool | CaptureStructuredOutputsTool | A2APreviewTool | A2ATool | WorkIQPreviewTool | FabricIQPreviewTool | WebIQPreviewTool | MemorySearchPreviewTool | CodeInterpreterTool | FileSearchTool | WebSearchTool | MCPTool | FunctionTool | ComputerUsePreviewTool | ProgrammaticToolCallingParam | ImageGenTool | LocalShellToolParam | FunctionShellToolParam | CustomToolParam | WebSearchPreviewTool | ApplyPatchToolParam | ComputerTool | NamespaceToolParam | ToolSearchToolParam | Tool;
195
+ export type ToolUnion = GitHubCopilotToolsetPreview | BingGroundingTool | MicrosoftFabricPreviewTool | SharepointPreviewTool | AzureAISearchTool | OpenApiTool | BingCustomSearchPreviewTool | BrowserAutomationPreviewTool | BrowserAutomationTool | AzureFunctionTool | CaptureStructuredOutputsTool | A2APreviewTool | A2ATool | WorkIQPreviewTool | FabricIQPreviewTool | WebIQPreviewTool | MemorySearchPreviewTool | CodeInterpreterTool | FileSearchTool | WebSearchTool | MCPTool | FunctionTool | ComputerUsePreviewTool | ProgrammaticToolCallingParam | ImageGenTool | LocalShellToolParam | FunctionShellToolParam | CustomToolParam | WebSearchPreviewTool | ApplyPatchToolParam | ComputerTool | NamespaceToolParam | ToolSearchToolParam | Tool | MicrosoftCopilotToolsetPreview;
196
196
  export declare function toolUnionSerializer(item: ToolUnion): any;
197
197
  export declare function toolUnionDeserializer(item: any): ToolUnion;
198
198
  /** Type of ToolType */
199
- export type ToolType = "function" | "file_search" | "computer" | "computer_use_preview" | "web_search" | "mcp" | "code_interpreter" | "programmatic_tool_calling" | "image_generation" | "local_shell" | "shell" | "custom" | "namespace" | "tool_search" | "web_search_preview" | "apply_patch" | "a2a_preview" | "bing_custom_search_preview" | "browser_automation_preview" | "fabric_dataagent_preview" | "sharepoint_grounding_preview" | "memory_search_preview" | "work_iq_preview" | "fabric_iq_preview" | "toolbox_search_preview" | "web_iq_preview" | "github_copilot_toolset_preview" | "a2a" | "azure_ai_search" | "azure_function" | "bing_grounding" | "capture_structured_outputs" | "openapi" | "browser_automation";
199
+ export type ToolType = "function" | "file_search" | "computer" | "computer_use_preview" | "web_search" | "mcp" | "code_interpreter" | "programmatic_tool_calling" | "image_generation" | "local_shell" | "shell" | "custom" | "namespace" | "tool_search" | "web_search_preview" | "apply_patch" | "a2a_preview" | "bing_custom_search_preview" | "browser_automation_preview" | "fabric_dataagent_preview" | "sharepoint_grounding_preview" | "memory_search_preview" | "work_iq_preview" | "fabric_iq_preview" | "toolbox_search_preview" | "web_iq_preview" | "github_copilot_toolset_preview" | "a2a" | "azure_ai_search" | "azure_function" | "bing_grounding" | "capture_structured_outputs" | "openapi" | "browser_automation" | "microsoft_copilot_toolset_preview";
200
200
  /** The input definition information for a bing grounding search tool as used to configure an agent. */
201
201
  export interface BingGroundingTool extends Tool {
202
202
  /** The object type, which is always 'bing_grounding'. */
@@ -993,10 +993,7 @@ export interface MCPTool extends Tool {
993
993
  type: "mcp";
994
994
  /** A label for this MCP server, used to identify it in tool calls. */
995
995
  server_label: string;
996
- /**
997
- * The URL for the MCP server. One of `server_url`, `connector_id`, or
998
- * `tunnel_id` must be provided.
999
- */
996
+ /** The URL for the MCP server. Connector and tunnel identifiers are not supported. */
1000
997
  server_url?: string;
1001
998
  /**
1002
999
  * Identifier for service connectors, like those available in ChatGPT. One of
@@ -1579,18 +1576,18 @@ export declare function promptAgentDefinitionDeserializer(item: any): PromptAgen
1579
1576
  /** (Preview) A managed runtime and agent loop used to execute a prompt agent. */
1580
1577
  export interface AgentHarness {
1581
1578
  /** The type of managed harness. */
1582
- /** The discriminator possible values: github_copilot_preview */
1579
+ /** The discriminator possible values: microsoft_copilot_preview, github_copilot_preview */
1583
1580
  type: string;
1584
1581
  }
1585
1582
  export declare function agentHarnessSerializer(item: AgentHarness): any;
1586
1583
  export declare function agentHarnessDeserializer(item: any): AgentHarness;
1587
1584
  /** Alias for AgentHarnessUnion */
1588
- export type AgentHarnessUnion = GitHubCopilotHarness | AgentHarness;
1585
+ export type AgentHarnessUnion = MicrosoftCopilotHarness | GitHubCopilotHarness | AgentHarness;
1589
1586
  export declare function agentHarnessUnionSerializer(item: AgentHarnessUnion): any;
1590
1587
  export declare function agentHarnessUnionDeserializer(item: any): AgentHarnessUnion;
1591
- /** (Preview) The GitHub Copilot managed harness for prompt agents. */
1588
+ /** (Preview) The legacy GitHub Copilot managed harness retained for compatibility. Use `MicrosoftCopilotHarness` for new prompt agents. */
1592
1589
  export interface GitHubCopilotHarness extends AgentHarness {
1593
- /** The type of managed harness. Always `github_copilot_preview`. */
1590
+ /** The legacy type of managed harness. Always `github_copilot_preview`; use `microsoft_copilot_preview` for new prompt agents. */
1594
1591
  type: "github_copilot_preview";
1595
1592
  }
1596
1593
  export declare function gitHubCopilotHarnessSerializer(item: GitHubCopilotHarness): any;
@@ -1606,9 +1603,9 @@ export interface SkillReference {
1606
1603
  }
1607
1604
  export declare function skillReferenceSerializer(item: SkillReference): any;
1608
1605
  export declare function skillReferenceDeserializer(item: any): SkillReference;
1609
- /** (Preview) Configuration overrides for GitHub Copilot built-in tools. */
1606
+ /** (Preview) The legacy GitHub Copilot toolset retained for compatibility. Use `MicrosoftCopilotToolsetPreview` for new integrations. */
1610
1607
  export interface GitHubCopilotToolsetPreview extends Tool {
1611
- /** The type of the toolset. Always `github_copilot_toolset_preview`. */
1608
+ /** The legacy type of the toolset. Always `github_copilot_toolset_preview`; use `microsoft_copilot_toolset_preview` for new integrations. */
1612
1609
  type: "github_copilot_toolset_preview";
1613
1610
  /** The default configuration for built-in tools. If omitted, built-in tools are enabled by default. */
1614
1611
  default_config?: GitHubCopilotToolsetDefaultConfig;
@@ -1617,7 +1614,7 @@ export interface GitHubCopilotToolsetPreview extends Tool {
1617
1614
  }
1618
1615
  export declare function gitHubCopilotToolsetPreviewSerializer(item: GitHubCopilotToolsetPreview): any;
1619
1616
  export declare function gitHubCopilotToolsetPreviewDeserializer(item: any): GitHubCopilotToolsetPreview;
1620
- /** The default enablement setting for GitHub Copilot built-in tools. */
1617
+ /** The legacy default enablement setting retained for compatibility. Use `MicrosoftCopilotToolsetDefaultConfig` for new integrations. */
1621
1618
  export interface GitHubCopilotToolsetDefaultConfig {
1622
1619
  /** Whether built-in tools are enabled by default. Defaults to true. */
1623
1620
  enabled?: boolean;
@@ -1626,7 +1623,7 @@ export declare function gitHubCopilotToolsetDefaultConfigSerializer(item: GitHub
1626
1623
  export declare function gitHubCopilotToolsetDefaultConfigDeserializer(item: any): GitHubCopilotToolsetDefaultConfig;
1627
1624
  export declare function gitHubCopilotToolsetConfigArraySerializer(result: Array<GitHubCopilotToolsetConfig>): any[];
1628
1625
  export declare function gitHubCopilotToolsetConfigArrayDeserializer(result: Array<GitHubCopilotToolsetConfig>): any[];
1629
- /** An enablement override for a GitHub Copilot built-in tool. */
1626
+ /** The legacy per-tool enablement override retained for compatibility. Use `MicrosoftCopilotToolsetConfig` for new integrations. */
1630
1627
  export interface GitHubCopilotToolsetConfig {
1631
1628
  /** The built-in tool to configure. */
1632
1629
  name: GitHubCopilotBuiltInTool;
@@ -1635,7 +1632,7 @@ export interface GitHubCopilotToolsetConfig {
1635
1632
  }
1636
1633
  export declare function gitHubCopilotToolsetConfigSerializer(item: GitHubCopilotToolsetConfig): any;
1637
1634
  export declare function gitHubCopilotToolsetConfigDeserializer(item: any): GitHubCopilotToolsetConfig;
1638
- /** A customer-configurable GitHub Copilot built-in tool. */
1635
+ /** The legacy GitHub Copilot built-in tool names retained for compatibility. Use `MicrosoftCopilotBuiltInTool` for new integrations. */
1639
1636
  export type GitHubCopilotBuiltInTool = "filesystem_read" | "filesystem_write" | "shell" | "web" | "subagents";
1640
1637
  /**
1641
1638
  * **gpt-5 and o-series models only**
@@ -5699,11 +5696,11 @@ export declare function _listVersionsRequestTypeSerializer(item: _ListVersionsRe
5699
5696
  /** Type of AgentType */
5700
5697
  export type AgentType = "agent" | "agent.version" | "agent.deleted" | "agent.version.deleted" | "agent.container";
5701
5698
  /** Feature opt-in keys for agent definition operations supporting conditional preview features. */
5702
- export type AgentDefinitionOptInKeys = "WorkflowAgents=V1Preview" | "ExternalAgents=V1Preview" | "DraftAgents=V1Preview" | "VoiceAgents=V1Preview" | "DigitalWorker=V1Preview" | "GitHubCopilot=V1Preview" | "Skills=V1Preview";
5699
+ export type AgentDefinitionOptInKeys = "WorkflowAgents=V1Preview" | "ExternalAgents=V1Preview" | "DraftAgents=V1Preview" | "VoiceAgents=V1Preview" | "DigitalWorker=V1Preview" | "GitHubCopilot=V1Preview" | "Skills=V1Preview" | "MicrosoftCopilot=V1Preview";
5703
5700
  /** Type of PageOrder */
5704
5701
  export type PageOrder = "asc" | "desc";
5705
5702
  /** Type of FoundryFeaturesOptInKeys */
5706
- export type FoundryFeaturesOptInKeys = "Evaluations=V1Preview" | "Schedules=V1Preview" | "RedTeams=V1Preview" | "Insights=V1Preview" | "AgentInsights=V1Preview" | "MemoryStores=V1Preview" | "Routines=V1Preview" | "Routines=V2Preview" | "Skills=V1Preview" | "DataGenerationJobs=V1Preview" | "Models=V1Preview" | "ModelRouterControls=V1Preview";
5703
+ export type FoundryFeaturesOptInKeys = "Evaluations=V1Preview" | "Schedules=V1Preview" | "RedTeams=V1Preview" | "Insights=V1Preview" | "AgentInsights=V1Preview" | "MemoryStores=V1Preview" | "Routines=V1Preview" | "Routines=V2Preview" | "Skills=V1Preview" | "DataGenerationJobs=V1Preview" | "Models=V1Preview" | "ModelRouterControls=V1Preview" | "FineTuningSessions=V1Preview";
5707
5704
  /** The type of pending upload. */
5708
5705
  export type PendingUploadType = "None" | "BlobReference" | "TemporaryBlobReference";
5709
5706
  /** Type of MemoryStoreType */
@@ -5830,9 +5827,8 @@ export declare function specificProgrammaticToolCallingParamSerializer(item: Spe
5830
5827
  /** Session defaults applied to sessions created for a hosted agent version. */
5831
5828
  export interface SessionConfiguration {
5832
5829
  /**
5833
- * The idle duration, in seconds, before a session's sandbox is suspended. Optional — when
5834
- * unset, the server default of 900 seconds is used. Must be between 120 and 3600 seconds
5835
- * (inclusive).
5830
+ * The idle duration, in seconds, before a session's sandbox is suspended. When omitted,
5831
+ * the server defaults to 900 seconds. Must be between 120 and 14400 seconds (4 hours).
5836
5832
  */
5837
5833
  idle_timeout_seconds?: number;
5838
5834
  }
@@ -6652,10 +6648,15 @@ export declare function voiceAgentFunctionToolDeserializer(item: any): VoiceAgen
6652
6648
  export type RealtimeFunctionToolParameters = Record<string, unknown>;
6653
6649
  export declare function realtimeFunctionToolParametersSerializer(item: RealtimeFunctionToolParameters): any;
6654
6650
  export declare function realtimeFunctionToolParametersDeserializer(item: any): RealtimeFunctionToolParameters;
6655
- /** An MCP tool available to a voice agent. */
6651
+ /** An MCP tool available to a voice agent. Server endpoints use `server_url`; connector and tunnel identifiers are not supported. */
6656
6652
  export interface VoiceAgentMcpTool extends VoiceAgentTool {
6657
6653
  /** A label for this MCP server, used to identify it in tool calls. */
6658
6654
  server_label: string;
6655
+ /**
6656
+ * The URL for the MCP server. One of `server_url`, `connector_id`, or
6657
+ * `tunnel_id` must be provided.
6658
+ */
6659
+ server_url?: string;
6659
6660
  /**
6660
6661
  * An OAuth access token that can be used with a remote MCP server, either
6661
6662
  * with a custom MCP server URL or a service connector. Your application
@@ -6683,8 +6684,6 @@ export interface VoiceAgentMcpTool extends VoiceAgentTool {
6683
6684
  tool_configs?: Record<string, ToolConfig>;
6684
6685
  /** The tool type. Always `mcp` for tools exposed by an MCP server. */
6685
6686
  type: "mcp";
6686
- /** The URL for the MCP server. */
6687
- server_url?: string;
6688
6687
  /** When the MCP invocation creates a follow-up response. Defaults to `when_idle`. */
6689
6688
  response_scheduling?: VoiceAgentToolResponseScheduling;
6690
6689
  }
@@ -6803,7 +6802,7 @@ export declare function generateVoiceAgentRequestSerializer(item: GenerateVoiceA
6803
6802
  /** The request to create a telephony binding. */
6804
6803
  export interface CreateTelephonyBindingRequest {
6805
6804
  /** The telephony provider. */
6806
- /** The discriminator possible values: teams_phone_extension, twilio */
6805
+ /** The discriminator possible values: teams_phone_extensibility, twilio */
6807
6806
  provider: TelephonyProvider;
6808
6807
  /** The Foundry connection name for the telephony provider. */
6809
6808
  connection_name: string;
@@ -6812,20 +6811,10 @@ export interface CreateTelephonyBindingRequest {
6812
6811
  }
6813
6812
  export declare function createTelephonyBindingRequestSerializer(item: CreateTelephonyBindingRequest): any;
6814
6813
  /** Alias for CreateTelephonyBindingRequestUnion */
6815
- export type CreateTelephonyBindingRequestUnion = CreateTeamsPhoneExtensionTelephonyBindingRequest | CreateTwilioTelephonyBindingRequest | CreateTelephonyBindingRequest;
6814
+ export type CreateTelephonyBindingRequestUnion = CreateTeamsPhoneExtensibilityTelephonyBindingRequest | CreateTwilioTelephonyBindingRequest | CreateTelephonyBindingRequest;
6816
6815
  export declare function createTelephonyBindingRequestUnionSerializer(item: CreateTelephonyBindingRequestUnion): any;
6817
6816
  /** A telephony provider supported by an agent binding. Known values are stable; additional values may be added over time. */
6818
- export type TelephonyProvider = "teams_phone_extension" | "twilio";
6819
- /** The request to create a Microsoft Teams Phone Extension binding. */
6820
- export interface CreateTeamsPhoneExtensionTelephonyBindingRequest extends CreateTelephonyBindingRequest {
6821
- /** The Microsoft Teams Phone Extension provider. */
6822
- provider: "teams_phone_extension";
6823
- /** The optional display phone number for the Teams resource account. */
6824
- phone_number?: string;
6825
- /** The Microsoft Teams resource-account object identifier as a GUID. */
6826
- resource_account_object_id: string;
6827
- }
6828
- export declare function createTeamsPhoneExtensionTelephonyBindingRequestSerializer(item: CreateTeamsPhoneExtensionTelephonyBindingRequest): any;
6817
+ export type TelephonyProvider = "teams_phone_extensibility" | "twilio";
6829
6818
  /** The request to create a Twilio binding. */
6830
6819
  export interface CreateTwilioTelephonyBindingRequest extends CreateTelephonyBindingRequest {
6831
6820
  /** The Twilio provider. */
@@ -6839,7 +6828,7 @@ export interface TelephonyBinding {
6839
6828
  /** The service-generated binding identifier. */
6840
6829
  id: string;
6841
6830
  /** The telephony provider. */
6842
- /** The discriminator possible values: teams_phone_extension, twilio */
6831
+ /** The discriminator possible values: teams_phone_extensibility, twilio */
6843
6832
  provider: TelephonyProvider;
6844
6833
  /** The Foundry connection name for the telephony provider. */
6845
6834
  connection_name: string;
@@ -6852,20 +6841,10 @@ export interface TelephonyBinding {
6852
6841
  }
6853
6842
  export declare function telephonyBindingDeserializer(item: any): TelephonyBinding;
6854
6843
  /** Alias for TelephonyBindingUnion */
6855
- export type TelephonyBindingUnion = TeamsPhoneExtensionTelephonyBinding | TwilioTelephonyBinding | TelephonyBinding;
6844
+ export type TelephonyBindingUnion = TeamsPhoneExtensibilityTelephonyBinding | TwilioTelephonyBinding | TelephonyBinding;
6856
6845
  export declare function telephonyBindingUnionDeserializer(item: any): TelephonyBindingUnion;
6857
6846
  /** The lifecycle status of a telephony binding. */
6858
6847
  export type TelephonyBindingStatus = "active" | "suspended";
6859
- /** A Microsoft Teams Phone Extension binding owned by a voice agent. */
6860
- export interface TeamsPhoneExtensionTelephonyBinding extends TelephonyBinding {
6861
- /** The Microsoft Teams Phone Extension provider. */
6862
- provider: "teams_phone_extension";
6863
- /** The optional display phone number for the Teams resource account. */
6864
- phone_number?: string;
6865
- /** The Microsoft Teams resource-account object identifier as a GUID. */
6866
- resource_account_object_id: string;
6867
- }
6868
- export declare function teamsPhoneExtensionTelephonyBindingDeserializer(item: any): TeamsPhoneExtensionTelephonyBinding;
6869
6848
  /** A Twilio binding owned by a voice agent. */
6870
6849
  export interface TwilioTelephonyBinding extends TelephonyBinding {
6871
6850
  /** The Twilio provider. */
@@ -6892,7 +6871,7 @@ export interface TelephonyBindingListItem {
6892
6871
  /** The service-generated binding identifier. */
6893
6872
  id: string;
6894
6873
  /** The telephony provider. */
6895
- /** The discriminator possible values: teams_phone_extension, twilio */
6874
+ /** The discriminator possible values: teams_phone_extensibility, twilio */
6896
6875
  provider: TelephonyProvider;
6897
6876
  /** The Foundry connection name for the telephony provider. */
6898
6877
  connection_name: string;
@@ -6907,18 +6886,8 @@ export interface TelephonyBindingListItem {
6907
6886
  }
6908
6887
  export declare function telephonyBindingListItemDeserializer(item: any): TelephonyBindingListItem;
6909
6888
  /** Alias for TelephonyBindingListItemUnion */
6910
- export type TelephonyBindingListItemUnion = TeamsPhoneExtensionTelephonyBindingListItem | TwilioTelephonyBindingListItem | TelephonyBindingListItem;
6889
+ export type TelephonyBindingListItemUnion = TeamsPhoneExtensibilityTelephonyBindingListItem | TwilioTelephonyBindingListItem | TelephonyBindingListItem;
6911
6890
  export declare function telephonyBindingListItemUnionDeserializer(item: any): TelephonyBindingListItemUnion;
6912
- /** A Microsoft Teams Phone Extension binding returned in a list, including its entity tag. */
6913
- export interface TeamsPhoneExtensionTelephonyBindingListItem extends TelephonyBindingListItem {
6914
- /** The Microsoft Teams Phone Extension provider. */
6915
- provider: "teams_phone_extension";
6916
- /** The optional display phone number for the Teams resource account. */
6917
- phone_number?: string;
6918
- /** The Microsoft Teams resource-account object identifier as a GUID. */
6919
- resource_account_object_id: string;
6920
- }
6921
- export declare function teamsPhoneExtensionTelephonyBindingListItemDeserializer(item: any): TeamsPhoneExtensionTelephonyBindingListItem;
6922
6891
  /** A Twilio binding returned in a list, including its entity tag. */
6923
6892
  export interface TwilioTelephonyBindingListItem extends TelephonyBindingListItem {
6924
6893
  /** The Twilio provider. */
@@ -6933,9 +6902,9 @@ export interface UpdateTelephonyBindingRequest {
6933
6902
  status?: TelephonyBindingStatus;
6934
6903
  /** The replacement display label. Omit it to preserve the current value; use null to clear it. */
6935
6904
  label?: string;
6936
- /** The replacement Foundry connection name. This property is valid only for a Teams Phone Extension binding; a Twilio binding's connection is immutable. */
6905
+ /** The replacement Foundry connection name. This property is valid only for a Teams Phone extensibility binding; a Twilio binding's connection is immutable. */
6937
6906
  connection_name?: string;
6938
- /** The replacement Teams Phone Extension display phone number. Omit it to preserve the current value; use null to clear it. This property is valid only for a Teams Phone Extension binding. */
6907
+ /** The replacement Teams Phone extensibility display phone number. Omit it to preserve the current value; use null to clear it. This property is valid only for a Teams Phone extensibility binding. */
6939
6908
  phone_number?: string;
6940
6909
  }
6941
6910
  export declare function updateTelephonyBindingRequestSerializer(item: UpdateTelephonyBindingRequest): any;
@@ -6962,7 +6931,7 @@ export interface TelephonyCallSummary {
6962
6931
  provider_call_id?: string;
6963
6932
  /** The caller's phone number, when supplied by the provider. */
6964
6933
  caller_number?: string;
6965
- /** The Teams Phone Extension or Twilio number that received the call. */
6934
+ /** The Teams Phone extensibility or Twilio number that received the call. */
6966
6935
  provider_number?: string;
6967
6936
  /** The lifecycle status of the call. */
6968
6937
  status: TelephonyCallStatus;
@@ -7006,7 +6975,7 @@ export interface TelephonyCallRecord {
7006
6975
  provider_call_id?: string;
7007
6976
  /** The caller's phone number, when supplied by the provider. */
7008
6977
  caller_number?: string;
7009
- /** The Teams Phone Extension or Twilio number that received the call. */
6978
+ /** The Teams Phone extensibility or Twilio number that received the call. */
7010
6979
  provider_number?: string;
7011
6980
  /** The lifecycle status of the call. */
7012
6981
  status: TelephonyCallStatus;
@@ -7124,7 +7093,7 @@ export declare function telephonyCallLifecycleEventDeserializer(item: any): Tele
7124
7093
  /** A provider-neutral lifecycle event name. Known values are stable; additional values may be added over time. */
7125
7094
  export type TelephonyCallLifecycleEventName = "telephony.webhook.received" | "telephony.webhook.validation" | "telephony.binding.resolve" | "telephony.provider.answer" | "telephony.media.connect" | "telephony.agent_session.connect" | "telephony.media.first_caller_audio" | "telephony.media.first_agent_audio" | "telephony.call.transfer" | "telephony.call.hangup" | "telephony.call.disconnect";
7126
7095
  /** The component that supplied a telephony lifecycle observation. */
7127
- export type TelephonyCallLifecycleEventSource = "gateway" | "teams_phone_extension" | "twilio" | "voice_agent";
7096
+ export type TelephonyCallLifecycleEventSource = "gateway" | "teams_phone_extensibility" | "twilio" | "voice_agent";
7128
7097
  /** The outcome of one telephony lifecycle observation. */
7129
7098
  export type TelephonyCallLifecycleEventOutcome = "observed" | "started" | "succeeded" | "failed" | "rejected" | "cancelled";
7130
7099
  /** Known service-generated reasons for a telephony lifecycle event. An event reason does not necessarily describe the final outcome of the call. Additional string codes may be returned. */
@@ -7308,17 +7277,51 @@ export declare function voiceResponseArrayDeserializer(result: Array<VoiceRespon
7308
7277
  * (`GET .../responses/{response_id}/items`) for its output items. `created_at`/`completed_at` are Foundry
7309
7278
  * durable ordering extensions.
7310
7279
  */
7311
- export interface VoiceResponse extends VoiceResponseBase {
7312
- /** The unique id of the response. */
7313
- id: string;
7314
- /** The output items produced by the response. May be omitted in list results; retrieve the full response (GET .../responses/{response_id}) or use the paged response-items route (GET .../responses/{response_id}/items) for its output items. Each item's `response_id` also links it back to this response in the conversation-level items list. */
7280
+ export interface VoiceResponse {
7281
+ /** The unique ID of the response, will look like `resp_1234`. */
7282
+ id?: string;
7283
+ /** The object type, must be `realtime.response`. */
7284
+ object?: "realtime.response";
7285
+ /**
7286
+ * The final status of the response (`completed`, `cancelled`, `failed`, or
7287
+ * `incomplete`, `in_progress`).
7288
+ */
7289
+ status?: "completed" | "cancelled" | "failed" | "incomplete" | "in_progress";
7290
+ /** Additional details about the status. */
7291
+ status_details?: RealtimeResponseStatusDetails;
7292
+ /** The list of output items generated by the response. */
7315
7293
  output?: RealtimeConversationItemUnion[];
7316
- /** The id of the conversation this response belongs to. */
7317
- conversation_id: string;
7294
+ /** Custom string key-value pairs associated with the response. */
7295
+ metadata?: Metadata;
7296
+ /**
7297
+ * Usage statistics for the Response, this will correspond to billing. A
7298
+ * Realtime API session will maintain a conversation context and append new
7299
+ * Items to the Conversation, thus output from previous turns (text and
7300
+ * audio tokens) will become the input for later turns.
7301
+ */
7302
+ usage?: RealtimeResponseUsage;
7303
+ /**
7304
+ * Which conversation the response is added to, determined by the `conversation`
7305
+ * field in the `response.create` event. If `auto`, the response will be added to
7306
+ * the default conversation and the value of `conversation_id` will be an id like
7307
+ * `conv_1234`. If `none`, the response will not be added to any conversation and
7308
+ * the value of `conversation_id` will be `null`. If responses are being triggered
7309
+ * automatically by VAD the response will be added to the default conversation
7310
+ */
7311
+ conversation_id?: string;
7312
+ /**
7313
+ * The set of modalities the model used to respond, currently the only possible values are
7314
+ * `[\"audio\"]`, `[\"text\"]`. Audio output always include a text transcript. Setting the
7315
+ * output to mode `text` will disable audio output from the model.
7316
+ */
7317
+ output_modalities?: ("text" | "audio")[];
7318
+ /**
7319
+ * Maximum number of output tokens for a single assistant response,
7320
+ * inclusive of tool calls, that was used in this response.
7321
+ */
7322
+ max_output_tokens?: number | "inf";
7318
7323
  /** The audio configuration used for the response, including the voice and audio format used for output. */
7319
7324
  audio?: VoiceResponseAudio;
7320
- /** A set of key-value pairs attached to the response. */
7321
- metadata?: Record<string, string>;
7322
7325
  /** The sampling temperature used for the response. */
7323
7326
  temperature?: number;
7324
7327
  /** The Unix timestamp (in seconds) for when the response was created. */
@@ -7683,37 +7686,6 @@ export interface VoiceResponseAudioOutput {
7683
7686
  }
7684
7687
  export declare function voiceResponseAudioOutputSerializer(item: VoiceResponseAudioOutput): any;
7685
7688
  export declare function voiceResponseAudioOutputDeserializer(item: any): VoiceResponseAudioOutput;
7686
- /** Properties shared by persisted voice responses. */
7687
- export interface VoiceResponseBase {
7688
- /** The object type, must be `realtime.response`. */
7689
- object?: "realtime.response";
7690
- /**
7691
- * The final status of the response (`completed`, `cancelled`, `failed`, or
7692
- * `incomplete`, `in_progress`).
7693
- */
7694
- status?: "completed" | "cancelled" | "failed" | "incomplete" | "in_progress";
7695
- /** Additional details about the status. */
7696
- status_details?: RealtimeResponseStatusDetails;
7697
- /**
7698
- * Usage statistics for the Response, this will correspond to billing. A
7699
- * Realtime API session will maintain a conversation context and append new
7700
- * Items to the Conversation, thus output from previous turns (text and
7701
- * audio tokens) will become the input for later turns.
7702
- */
7703
- usage?: RealtimeResponseUsage;
7704
- /**
7705
- * The set of modalities the model used to respond, currently the only possible values are
7706
- * `[\"audio\"]`, `[\"text\"]`. Audio output always include a text transcript. Setting the
7707
- * output to mode `text` will disable audio output from the model.
7708
- */
7709
- output_modalities?: ("text" | "audio")[];
7710
- /**
7711
- * Maximum number of output tokens for a single assistant response,
7712
- * inclusive of tool calls, that was used in this response.
7713
- */
7714
- max_output_tokens?: number | "inf";
7715
- }
7716
- export declare function voiceResponseBaseDeserializer(item: any): VoiceResponseBase;
7717
7689
  /** model interface RealtimeResponseStatusDetails */
7718
7690
  export interface RealtimeResponseStatusDetails {
7719
7691
  /** The response outcome to which these status details apply. */
@@ -7855,7 +7827,7 @@ export declare function voiceRecordingChannelLayoutDeserializer(item: any): Voic
7855
7827
  export interface CreateTelephonyCallJobRequest {
7856
7828
  /** The phone destination to call. */
7857
7829
  destination: TelephonyOutboundDestination;
7858
- /** The Foundry connection name in the current project used to originate the call. Its category selects Twilio or Azure Communication Services / Teams Phone Extension. No inbound telephony binding is required. */
7830
+ /** The Foundry connection name in the current project used to originate the call. Its category selects Twilio or Azure Communication Services / Teams Phone extensibility. No inbound telephony binding is required. */
7859
7831
  connection_name: string;
7860
7832
  /** An optional customer-declared purpose for placing the call. */
7861
7833
  purpose?: string;
@@ -7865,7 +7837,7 @@ export interface CreateTelephonyCallJobRequest {
7865
7837
  schedule?: TelephonyCallJobSchedule;
7866
7838
  /** The provider-attempt retry policy. Omit it for one attempt with no retry delay. */
7867
7839
  retry_policy?: TelephonyOutboundRetryPolicyUnion;
7868
- /** The caller identity used to originate the call. For a Twilio connection, provide an authorized E.164 phone number. For an Azure Communication Services / Teams Phone Extension connection, provide the Teams Resource Account object ID. The identity type is inferred from the connection category; originating does not change inbound routing. */
7840
+ /** The caller identity used to originate the call. For a Twilio connection, provide an authorized E.164 phone number. For an Azure Communication Services / Teams Phone extensibility connection, provide the Teams Resource Account object ID. The identity type is inferred from the connection category; originating does not change inbound routing. */
7869
7841
  source: string;
7870
7842
  }
7871
7843
  export declare function createTelephonyCallJobRequestSerializer(item: CreateTelephonyCallJobRequest): any;
@@ -7918,7 +7890,7 @@ export declare function telephonyOutboundFixedIntervalRetryPolicyDeserializer(it
7918
7890
  export interface TelephonyCallJob {
7919
7891
  /** The phone destination to call. */
7920
7892
  destination: TelephonyOutboundDestination;
7921
- /** The Foundry connection name in the current project used to originate the call. Its category selects Twilio or Azure Communication Services / Teams Phone Extension. No inbound telephony binding is required. */
7893
+ /** The Foundry connection name in the current project used to originate the call. Its category selects Twilio or Azure Communication Services / Teams Phone extensibility. No inbound telephony binding is required. */
7922
7894
  connection_name: string;
7923
7895
  /** An optional customer-declared purpose for placing the call. */
7924
7896
  purpose?: string;
@@ -7950,7 +7922,7 @@ export interface TelephonyCallJob {
7950
7922
  created_at: Date;
7951
7923
  /** The Unix timestamp in seconds when the call job was last updated. */
7952
7924
  updated_at: Date;
7953
- /** The caller identity used to originate the call. For a Twilio connection, provide an authorized E.164 phone number. For an Azure Communication Services / Teams Phone Extension connection, provide the Teams Resource Account object ID. The identity type is inferred from the connection category; originating does not change inbound routing. */
7925
+ /** The caller identity used to originate the call. For a Twilio connection, provide an authorized E.164 phone number. For an Azure Communication Services / Teams Phone extensibility connection, provide the Teams Resource Account object ID. The identity type is inferred from the connection category; originating does not change inbound routing. */
7954
7926
  source: string;
7955
7927
  }
7956
7928
  export declare function telephonyCallJobDeserializer(item: any): TelephonyCallJob;
@@ -8364,12 +8336,18 @@ export interface VoiceAgentResponseCreateParams {
8364
8336
  conversation?: "auto" | "none";
8365
8337
  /** Custom string key-value pairs to associate with the response. */
8366
8338
  metadata?: Metadata;
8339
+ /**
8340
+ * Input items to include in the prompt for the model. Using this field
8341
+ * creates a new context for this Response instead of using the default
8342
+ * conversation. An empty array `[]` will clear the context for this Response.
8343
+ * Note that this can include references to items that previously appeared in the session
8344
+ * using their id.
8345
+ */
8346
+ input?: RealtimeConversationItemUnion[];
8367
8347
  /** Modalities that the response may return. */
8368
8348
  output_modalities?: VoiceOutputModality[];
8369
8349
  /** Response-specific audio settings. */
8370
8350
  audio?: PickPropertiesVoiceAgentAudioConfig;
8371
- /** Conversation items used as inline response input. */
8372
- input?: RealtimeConversationItemUnion[];
8373
8351
  /** A pre-generated assistant message used to begin the response. */
8374
8352
  pre_generated_assistant_message?: RealtimeConversationItemUnion;
8375
8353
  /** Interim-response settings for this response. */
@@ -9027,11 +9005,51 @@ export interface RealtimeServerEventResponseCreated extends RealtimeServerEvent
9027
9005
  export declare function realtimeServerEventResponseCreatedSerializer(item: RealtimeServerEventResponseCreated): any;
9028
9006
  export declare function realtimeServerEventResponseCreatedDeserializer(item: any): RealtimeServerEventResponseCreated;
9029
9007
  /** A live realtime response returned by the voice-agent service in both `response.created` and `response.done` events. */
9030
- export interface VoiceAgentRealtimeResponse extends VoiceAgentRealtimeResponseBase {
9008
+ export interface VoiceAgentRealtimeResponse {
9009
+ /** The unique ID of the response, will look like `resp_1234`. */
9010
+ id?: string;
9011
+ /** The object type, must be `realtime.response`. */
9012
+ object?: "realtime.response";
9013
+ /**
9014
+ * The final status of the response (`completed`, `cancelled`, `failed`, or
9015
+ * `incomplete`, `in_progress`).
9016
+ */
9017
+ status?: "completed" | "cancelled" | "failed" | "incomplete" | "in_progress";
9018
+ /** Additional details about the status. */
9019
+ status_details?: RealtimeResponseStatusDetails;
9020
+ /** The list of output items generated by the response. */
9021
+ output?: RealtimeConversationItemUnion[];
9022
+ /** Custom string key-value pairs associated with the response. */
9023
+ metadata?: Metadata;
9024
+ /**
9025
+ * Usage statistics for the Response, this will correspond to billing. A
9026
+ * Realtime API session will maintain a conversation context and append new
9027
+ * Items to the Conversation, thus output from previous turns (text and
9028
+ * audio tokens) will become the input for later turns.
9029
+ */
9030
+ usage?: RealtimeResponseUsage;
9031
+ /**
9032
+ * Which conversation the response is added to, determined by the `conversation`
9033
+ * field in the `response.create` event. If `auto`, the response will be added to
9034
+ * the default conversation and the value of `conversation_id` will be an id like
9035
+ * `conv_1234`. If `none`, the response will not be added to any conversation and
9036
+ * the value of `conversation_id` will be `null`. If responses are being triggered
9037
+ * automatically by VAD the response will be added to the default conversation
9038
+ */
9039
+ conversation_id?: string;
9040
+ /**
9041
+ * The set of modalities the model used to respond, currently the only possible values are
9042
+ * `[\"audio\"]`, `[\"text\"]`. Audio output always include a text transcript. Setting the
9043
+ * output to mode `text` will disable audio output from the model.
9044
+ */
9045
+ output_modalities?: ("text" | "audio")[];
9046
+ /**
9047
+ * Maximum number of output tokens for a single assistant response,
9048
+ * inclusive of tool calls, that was used in this response.
9049
+ */
9050
+ max_output_tokens?: number | "inf";
9031
9051
  /** The audio configuration used by the live response, including flat voice provider, locale, and format fields under `output`. */
9032
9052
  audio?: VoiceResponseAudio;
9033
- /** The items produced by the live response. */
9034
- output?: RealtimeConversationItemUnion[];
9035
9053
  }
9036
9054
  export declare function voiceAgentRealtimeResponseSerializer(item: VoiceAgentRealtimeResponse): any;
9037
9055
  export declare function voiceAgentRealtimeResponseDeserializer(item: any): VoiceAgentRealtimeResponse;
@@ -9690,51 +9708,6 @@ export declare function createTranscriptionResponseJsonUsageUnionSerializer(item
9690
9708
  export declare function createTranscriptionResponseJsonUsageUnionDeserializer(item: any): CreateTranscriptionResponseJsonUsageUnion;
9691
9709
  /** Type of CreateTranscriptionResponseJsonUsageType */
9692
9710
  export type CreateTranscriptionResponseJsonUsageType = "tokens" | "duration";
9693
- /** Properties shared by realtime responses returned by the voice-agent service. */
9694
- export interface VoiceAgentRealtimeResponseBase {
9695
- /** The unique ID of the response, will look like `resp_1234`. */
9696
- id?: string;
9697
- /** The object type, must be `realtime.response`. */
9698
- object?: "realtime.response";
9699
- /**
9700
- * The final status of the response (`completed`, `cancelled`, `failed`, or
9701
- * `incomplete`, `in_progress`).
9702
- */
9703
- status?: "completed" | "cancelled" | "failed" | "incomplete" | "in_progress";
9704
- /** Additional details about the status. */
9705
- status_details?: RealtimeResponseStatusDetails;
9706
- /** Custom string key-value pairs associated with the response. */
9707
- metadata?: Metadata;
9708
- /**
9709
- * Usage statistics for the Response, this will correspond to billing. A
9710
- * Realtime API session will maintain a conversation context and append new
9711
- * Items to the Conversation, thus output from previous turns (text and
9712
- * audio tokens) will become the input for later turns.
9713
- */
9714
- usage?: RealtimeResponseUsage;
9715
- /**
9716
- * Which conversation the response is added to, determined by the `conversation`
9717
- * field in the `response.create` event. If `auto`, the response will be added to
9718
- * the default conversation and the value of `conversation_id` will be an id like
9719
- * `conv_1234`. If `none`, the response will not be added to any conversation and
9720
- * the value of `conversation_id` will be `null`. If responses are being triggered
9721
- * automatically by VAD the response will be added to the default conversation
9722
- */
9723
- conversation_id?: string;
9724
- /**
9725
- * The set of modalities the model used to respond, currently the only possible values are
9726
- * `[\"audio\"]`, `[\"text\"]`. Audio output always include a text transcript. Setting the
9727
- * output to mode `text` will disable audio output from the model.
9728
- */
9729
- output_modalities?: ("text" | "audio")[];
9730
- /**
9731
- * Maximum number of output tokens for a single assistant response,
9732
- * inclusive of tool calls, that was used in this response.
9733
- */
9734
- max_output_tokens?: number | "inf";
9735
- }
9736
- export declare function voiceAgentRealtimeResponseBaseSerializer(item: VoiceAgentRealtimeResponseBase): any;
9737
- export declare function voiceAgentRealtimeResponseBaseDeserializer(item: any): VoiceAgentRealtimeResponseBase;
9738
9711
  /** model interface RealtimeServerEventErrorError */
9739
9712
  export interface RealtimeServerEventErrorError {
9740
9713
  /** The category of realtime error, such as an invalid request or a server error. */
@@ -10629,4 +10602,76 @@ export interface ReinforcementFineTuningDataGenerationJobOutputConfiguration {
10629
10602
  }
10630
10603
  export declare function reinforcementFineTuningDataGenerationJobOutputConfigurationSerializer(item: ReinforcementFineTuningDataGenerationJobOutputConfiguration): any;
10631
10604
  export declare function reinforcementFineTuningDataGenerationJobOutputConfigurationDeserializer(item: any): ReinforcementFineTuningDataGenerationJobOutputConfiguration;
10605
+ /** The request to create a Microsoft Teams Phone extensibility binding. */
10606
+ export interface CreateTeamsPhoneExtensibilityTelephonyBindingRequest extends CreateTelephonyBindingRequest {
10607
+ /** The Microsoft Teams Phone extensibility provider. */
10608
+ provider: "teams_phone_extensibility";
10609
+ /** The optional display phone number for the Teams resource account. */
10610
+ phone_number?: string;
10611
+ /** The Microsoft Teams resource-account object identifier as a GUID. */
10612
+ resource_account_object_id: string;
10613
+ }
10614
+ export declare function createTeamsPhoneExtensibilityTelephonyBindingRequestSerializer(item: CreateTeamsPhoneExtensibilityTelephonyBindingRequest): any;
10615
+ /** A Microsoft Teams Phone extensibility binding owned by a voice agent. */
10616
+ export interface TeamsPhoneExtensibilityTelephonyBinding extends TelephonyBinding {
10617
+ /** The Microsoft Teams Phone extensibility provider. */
10618
+ provider: "teams_phone_extensibility";
10619
+ /** The optional display phone number for the Teams resource account. */
10620
+ phone_number?: string;
10621
+ /** The Microsoft Teams resource-account object identifier as a GUID. */
10622
+ resource_account_object_id: string;
10623
+ }
10624
+ export declare function teamsPhoneExtensibilityTelephonyBindingDeserializer(item: any): TeamsPhoneExtensibilityTelephonyBinding;
10625
+ /** A Microsoft Teams Phone extensibility binding returned in a list, including its entity tag. */
10626
+ export interface TeamsPhoneExtensibilityTelephonyBindingListItem extends TelephonyBindingListItem {
10627
+ /** The Microsoft Teams Phone extensibility provider. */
10628
+ provider: "teams_phone_extensibility";
10629
+ /** The optional display phone number for the Teams resource account. */
10630
+ phone_number?: string;
10631
+ /** The Microsoft Teams resource-account object identifier as a GUID. */
10632
+ resource_account_object_id: string;
10633
+ }
10634
+ export declare function teamsPhoneExtensibilityTelephonyBindingListItemDeserializer(item: any): TeamsPhoneExtensibilityTelephonyBindingListItem;
10635
+ /** Alias for _VoiceResponseMaxOutputTokens */
10636
+ export type _VoiceResponseMaxOutputTokens = number | "inf";
10637
+ export declare function _voiceResponseMaxOutputTokensSerializer(item: _VoiceResponseMaxOutputTokens): any;
10638
+ export declare function _voiceResponseMaxOutputTokensDeserializer(item: any): _VoiceResponseMaxOutputTokens;
10639
+ /** (Preview) The Microsoft Copilot managed harness for prompt agents. */
10640
+ export interface MicrosoftCopilotHarness extends AgentHarness {
10641
+ /** The type of managed harness. Always `microsoft_copilot_preview`. */
10642
+ type: "microsoft_copilot_preview";
10643
+ }
10644
+ export declare function microsoftCopilotHarnessSerializer(item: MicrosoftCopilotHarness): any;
10645
+ export declare function microsoftCopilotHarnessDeserializer(item: any): MicrosoftCopilotHarness;
10646
+ /** (Preview) Configuration overrides for Microsoft Copilot built-in tools. */
10647
+ export interface MicrosoftCopilotToolsetPreview extends Tool {
10648
+ /** The type of the toolset. Always `microsoft_copilot_toolset_preview`. */
10649
+ type: "microsoft_copilot_toolset_preview";
10650
+ /** The default configuration for built-in tools. If omitted, built-in tools are enabled by default. */
10651
+ default_config?: MicrosoftCopilotToolsetDefaultConfig;
10652
+ /** Per-tool configuration overrides. Duplicate built-in tool names are not allowed. */
10653
+ configs?: MicrosoftCopilotToolsetConfig[];
10654
+ }
10655
+ export declare function microsoftCopilotToolsetPreviewSerializer(item: MicrosoftCopilotToolsetPreview): any;
10656
+ export declare function microsoftCopilotToolsetPreviewDeserializer(item: any): MicrosoftCopilotToolsetPreview;
10657
+ /** The default enablement setting for Microsoft Copilot built-in tools. */
10658
+ export interface MicrosoftCopilotToolsetDefaultConfig {
10659
+ /** Whether built-in tools are enabled by default. Defaults to true. */
10660
+ enabled?: boolean;
10661
+ }
10662
+ export declare function microsoftCopilotToolsetDefaultConfigSerializer(item: MicrosoftCopilotToolsetDefaultConfig): any;
10663
+ export declare function microsoftCopilotToolsetDefaultConfigDeserializer(item: any): MicrosoftCopilotToolsetDefaultConfig;
10664
+ export declare function microsoftCopilotToolsetConfigArraySerializer(result: Array<MicrosoftCopilotToolsetConfig>): any[];
10665
+ export declare function microsoftCopilotToolsetConfigArrayDeserializer(result: Array<MicrosoftCopilotToolsetConfig>): any[];
10666
+ /** An enablement override for a Microsoft Copilot built-in tool. */
10667
+ export interface MicrosoftCopilotToolsetConfig {
10668
+ /** The built-in tool to configure. */
10669
+ name: MicrosoftCopilotBuiltInTool;
10670
+ /** Whether the built-in tool is enabled. If omitted, the toolset default applies. */
10671
+ enabled?: boolean;
10672
+ }
10673
+ export declare function microsoftCopilotToolsetConfigSerializer(item: MicrosoftCopilotToolsetConfig): any;
10674
+ export declare function microsoftCopilotToolsetConfigDeserializer(item: any): MicrosoftCopilotToolsetConfig;
10675
+ /** A customer-configurable Microsoft Copilot built-in tool. */
10676
+ export type MicrosoftCopilotBuiltInTool = "filesystem_read" | "filesystem_write" | "shell" | "web" | "subagents";
10632
10677
  //# sourceMappingURL=models.d.ts.map