@elevenlabs/elevenlabs-js 2.20.1 → 2.22.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 (864) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +9 -4
  3. package/api/errors/ConflictError.d.ts +5 -0
  4. package/api/errors/ConflictError.js +50 -0
  5. package/api/errors/index.d.ts +1 -0
  6. package/api/errors/index.js +1 -0
  7. package/api/resources/conversationalAi/conversation/Conversation.d.ts +2 -0
  8. package/api/resources/conversationalAi/conversation/Conversation.js +4 -0
  9. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -4
  10. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +1 -4
  11. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +3 -5
  12. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  13. package/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  14. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  15. package/api/resources/conversationalAi/resources/index.d.ts +2 -1
  16. package/api/resources/conversationalAi/resources/index.js +3 -2
  17. package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +3 -0
  18. package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -0
  19. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +10 -2
  20. package/api/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
  21. package/api/resources/conversationalAi/resources/mcpServers/index.js +1 -0
  22. package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  23. package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  24. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +94 -0
  25. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +372 -0
  26. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +2 -0
  27. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  28. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +23 -0
  29. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +19 -0
  30. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  31. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +2 -0
  32. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  33. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  34. package/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -0
  35. package/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  36. package/api/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
  37. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -4
  38. package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -4
  39. package/api/resources/dubbing/client/Client.d.ts +1 -6
  40. package/api/resources/dubbing/client/Client.js +13 -10
  41. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +5 -10
  42. package/api/resources/index.d.ts +1 -0
  43. package/api/resources/index.js +2 -1
  44. package/api/resources/music/client/Client.d.ts +6 -0
  45. package/api/resources/music/client/Client.js +73 -0
  46. package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -6
  47. package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -6
  48. package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
  49. package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -6
  50. package/api/resources/music/client/requests/index.d.ts +1 -0
  51. package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +25 -0
  52. package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +28 -0
  53. package/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +6 -0
  54. package/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +9 -0
  55. package/api/resources/music/types/index.d.ts +2 -0
  56. package/api/resources/music/types/index.js +2 -0
  57. package/api/resources/pronunciationDictionaries/client/Client.d.ts +0 -1
  58. package/api/resources/pronunciationDictionaries/client/Client.js +3 -2
  59. package/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.d.ts +1 -2
  60. package/api/resources/speechToText/client/Client.d.ts +0 -1
  61. package/api/resources/speechToText/client/Client.js +3 -2
  62. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -3
  63. package/api/resources/studio/resources/projects/client/Client.d.ts +0 -1
  64. package/api/resources/studio/resources/projects/client/Client.js +3 -2
  65. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +1 -2
  66. package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -3
  67. package/api/resources/studio/resources/projects/resources/content/client/Client.js +4 -4
  68. package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +2 -4
  69. package/api/resources/textToDialogue/client/Client.d.ts +27 -0
  70. package/api/resources/textToDialogue/client/Client.js +182 -0
  71. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +32 -0
  72. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +32 -0
  73. package/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
  74. package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
  75. package/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +10 -0
  76. package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
  77. package/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +10 -0
  78. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +25 -0
  79. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +28 -0
  80. package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +25 -0
  81. package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +28 -0
  82. package/api/resources/textToDialogue/types/index.d.ts +4 -0
  83. package/api/resources/textToDialogue/types/index.js +4 -0
  84. package/api/resources/tokens/client/Client.d.ts +20 -0
  85. package/api/resources/tokens/client/Client.js +15 -0
  86. package/api/resources/tokens/client/index.d.ts +1 -0
  87. package/api/resources/tokens/client/index.js +2 -0
  88. package/api/resources/tokens/index.d.ts +2 -0
  89. package/api/resources/tokens/index.js +18 -0
  90. package/api/resources/tokens/resources/index.d.ts +1 -0
  91. package/api/resources/tokens/resources/index.js +37 -0
  92. package/api/resources/tokens/resources/singleUse/client/Client.d.ts +45 -0
  93. package/api/resources/tokens/resources/singleUse/client/Client.js +130 -0
  94. package/api/resources/tokens/resources/singleUse/client/index.d.ts +1 -0
  95. package/api/resources/tokens/resources/singleUse/client/index.js +2 -0
  96. package/api/resources/tokens/resources/singleUse/index.d.ts +1 -0
  97. package/api/resources/tokens/resources/singleUse/index.js +17 -0
  98. package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
  99. package/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  100. package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
  101. package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
  102. package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
  103. package/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  104. package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
  105. package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
  106. package/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  107. package/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
  108. package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  109. package/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
  110. package/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
  111. package/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
  112. package/api/types/BatchCallDetailedResponse.d.ts +2 -1
  113. package/api/types/BatchCallResponse.d.ts +2 -1
  114. package/api/types/ClientToolConfigInput.d.ts +4 -0
  115. package/api/types/ClientToolConfigOutput.d.ts +4 -0
  116. package/api/types/CreateTwilioPhoneNumberRequest.d.ts +3 -0
  117. package/api/types/GuardrailsV1Input.d.ts +5 -0
  118. package/api/types/GuardrailsV1Input.js +3 -0
  119. package/api/types/GuardrailsV1Output.d.ts +5 -0
  120. package/api/types/GuardrailsV1Output.js +3 -0
  121. package/api/types/InvoiceResponse.d.ts +4 -0
  122. package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  123. package/api/types/LiteralOverride.d.ts +6 -0
  124. package/api/types/LiteralOverride.js +3 -0
  125. package/api/types/LiteralOverrideConstantValue.d.ts +1 -0
  126. package/api/types/LiteralOverrideConstantValue.js +3 -0
  127. package/api/types/Llm.d.ts +2 -0
  128. package/api/types/Llm.js +2 -0
  129. package/api/types/McpServerConfigInput.d.ts +9 -1
  130. package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
  131. package/api/types/McpServerConfigOutput.d.ts +9 -1
  132. package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
  133. package/api/types/McpToolConfigOverride.d.ts +17 -0
  134. package/api/types/McpToolConfigOverride.js +3 -0
  135. package/api/types/MetricType.d.ts +1 -0
  136. package/api/types/MetricType.js +1 -0
  137. package/api/types/ModerationConfig.d.ts +14 -0
  138. package/api/types/ModerationConfig.js +3 -0
  139. package/api/types/ModerationGuardrailInput.d.ts +4 -0
  140. package/api/types/ModerationGuardrailInput.js +3 -0
  141. package/api/types/ModerationGuardrailOutput.d.ts +4 -0
  142. package/api/types/ModerationGuardrailOutput.js +3 -0
  143. package/api/types/ObjectOverrideInput.d.ts +6 -0
  144. package/api/types/ObjectOverrideInput.js +3 -0
  145. package/api/types/ObjectOverrideInputPropertiesValue.d.ts +2 -0
  146. package/api/types/ObjectOverrideInputPropertiesValue.js +3 -0
  147. package/api/types/ObjectOverrideOutput.d.ts +6 -0
  148. package/api/types/ObjectOverrideOutput.js +3 -0
  149. package/api/types/ObjectOverrideOutputPropertiesValue.d.ts +2 -0
  150. package/api/types/ObjectOverrideOutputPropertiesValue.js +3 -0
  151. package/api/types/OutboundCallRecipient.d.ts +2 -1
  152. package/api/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  153. package/api/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  154. package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +6 -0
  155. package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +9 -0
  156. package/api/types/PhoneNumberDynamicVariableTransferDestination.d.ts +3 -0
  157. package/api/types/PhoneNumberDynamicVariableTransferDestination.js +3 -0
  158. package/api/types/PhoneNumberTransferTransferDestination.d.ts +7 -1
  159. package/api/types/PromptAgentApiModelInputToolsItem.d.ts +4 -1
  160. package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +4 -1
  161. package/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +4 -1
  162. package/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +4 -1
  163. package/api/types/QueryOverride.d.ts +5 -0
  164. package/api/types/QueryOverride.js +3 -0
  165. package/api/types/ReferencedToolCommonModel.d.ts +1 -1
  166. package/api/types/ReferencedToolCommonModelType.d.ts +9 -0
  167. package/api/types/ReferencedToolCommonModelType.js +12 -0
  168. package/api/types/RegionConfigRequest.d.ts +9 -0
  169. package/api/types/RegionConfigRequest.js +3 -0
  170. package/api/types/SingleUseTokenResponseModel.d.ts +4 -0
  171. package/api/types/SingleUseTokenResponseModel.js +3 -0
  172. package/api/types/SingleUseTokenType.d.ts +1 -0
  173. package/api/types/SingleUseTokenType.js +3 -0
  174. package/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
  175. package/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
  176. package/api/types/SongSection.d.ts +1 -1
  177. package/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
  178. package/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
  179. package/api/types/SystemToolConfigInput.d.ts +4 -0
  180. package/api/types/SystemToolConfigOutput.d.ts +4 -0
  181. package/api/types/ThresholdGuardrail.d.ts +4 -0
  182. package/api/types/ThresholdGuardrail.js +3 -0
  183. package/api/types/ToolCallSoundBehavior.d.ts +6 -0
  184. package/api/types/ToolCallSoundBehavior.js +9 -0
  185. package/api/types/ToolCallSoundType.d.ts +9 -0
  186. package/api/types/ToolCallSoundType.js +12 -0
  187. package/api/types/ToolRequestModelToolConfig.d.ts +4 -5
  188. package/api/types/ToolResponseModelToolConfig.d.ts +4 -1
  189. package/api/types/ToolType.d.ts +2 -0
  190. package/api/types/ToolType.js +2 -0
  191. package/api/types/TurnConfig.d.ts +2 -2
  192. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
  193. package/api/types/TurnEagerness.d.ts +7 -0
  194. package/api/types/TurnEagerness.js +10 -0
  195. package/api/types/TwilioEdgeLocation.d.ts +13 -0
  196. package/api/types/TwilioEdgeLocation.js +16 -0
  197. package/api/types/TwilioRegionId.d.ts +7 -0
  198. package/api/types/TwilioRegionId.js +10 -0
  199. package/api/types/User.d.ts +0 -2
  200. package/api/types/VadConfig.d.ts +0 -2
  201. package/api/types/VadConfigWorkflowOverride.d.ts +0 -2
  202. package/api/types/VoiceSegment.d.ts +14 -0
  203. package/api/types/VoiceSegment.js +3 -0
  204. package/api/types/WebhookToolConfigInput.d.ts +6 -2
  205. package/api/types/WebhookToolConfigOutput.d.ts +6 -2
  206. package/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
  207. package/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
  208. package/api/types/WorkspaceResourceType.d.ts +4 -0
  209. package/api/types/WorkspaceResourceType.js +4 -0
  210. package/api/types/index.d.ts +35 -5
  211. package/api/types/index.js +35 -5
  212. package/dist/Client.d.ts +3 -0
  213. package/dist/Client.js +9 -4
  214. package/dist/api/errors/ConflictError.d.ts +5 -0
  215. package/dist/api/errors/ConflictError.js +50 -0
  216. package/dist/api/errors/index.d.ts +1 -0
  217. package/dist/api/errors/index.js +1 -0
  218. package/dist/api/resources/conversationalAi/conversation/Conversation.d.ts +2 -0
  219. package/dist/api/resources/conversationalAi/conversation/Conversation.js +4 -0
  220. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -4
  221. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +1 -4
  222. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +3 -5
  223. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  224. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  225. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  226. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -1
  227. package/dist/api/resources/conversationalAi/resources/index.js +3 -2
  228. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +3 -0
  229. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -0
  230. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +10 -2
  231. package/dist/api/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
  232. package/dist/api/resources/conversationalAi/resources/mcpServers/index.js +1 -0
  233. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  234. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  235. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +94 -0
  236. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +372 -0
  237. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +2 -0
  238. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  239. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +23 -0
  240. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +3 -0
  241. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +19 -0
  242. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +3 -0
  243. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  244. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +2 -0
  245. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  246. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  247. package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -0
  248. package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +3 -0
  249. package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  250. package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
  251. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -4
  252. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -4
  253. package/dist/api/resources/dubbing/client/Client.d.ts +1 -6
  254. package/dist/api/resources/dubbing/client/Client.js +13 -10
  255. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +5 -10
  256. package/dist/api/resources/index.d.ts +1 -0
  257. package/dist/api/resources/index.js +2 -1
  258. package/dist/api/resources/music/client/Client.d.ts +6 -0
  259. package/dist/api/resources/music/client/Client.js +73 -0
  260. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -6
  261. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -6
  262. package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
  263. package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js +3 -0
  264. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -6
  265. package/dist/api/resources/music/client/requests/index.d.ts +1 -0
  266. package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +25 -0
  267. package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +28 -0
  268. package/dist/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +6 -0
  269. package/dist/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +9 -0
  270. package/dist/api/resources/music/types/index.d.ts +2 -0
  271. package/dist/api/resources/music/types/index.js +2 -0
  272. package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +0 -1
  273. package/dist/api/resources/pronunciationDictionaries/client/Client.js +3 -2
  274. package/dist/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.d.ts +1 -2
  275. package/dist/api/resources/speechToText/client/Client.d.ts +0 -1
  276. package/dist/api/resources/speechToText/client/Client.js +3 -2
  277. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -3
  278. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +0 -1
  279. package/dist/api/resources/studio/resources/projects/client/Client.js +3 -2
  280. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +1 -2
  281. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -3
  282. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +4 -4
  283. package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +2 -4
  284. package/dist/api/resources/textToDialogue/client/Client.d.ts +27 -0
  285. package/dist/api/resources/textToDialogue/client/Client.js +182 -0
  286. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +32 -0
  287. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +3 -0
  288. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +32 -0
  289. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +3 -0
  290. package/dist/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
  291. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
  292. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +10 -0
  293. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
  294. package/dist/api/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +10 -0
  295. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +25 -0
  296. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +28 -0
  297. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +25 -0
  298. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +28 -0
  299. package/dist/api/resources/textToDialogue/types/index.d.ts +4 -0
  300. package/dist/api/resources/textToDialogue/types/index.js +4 -0
  301. package/dist/api/resources/tokens/client/Client.d.ts +20 -0
  302. package/dist/api/resources/tokens/client/Client.js +15 -0
  303. package/dist/api/resources/tokens/client/index.d.ts +1 -0
  304. package/dist/api/resources/tokens/client/index.js +2 -0
  305. package/dist/api/resources/tokens/index.d.ts +2 -0
  306. package/dist/api/resources/tokens/index.js +18 -0
  307. package/dist/api/resources/tokens/resources/index.d.ts +1 -0
  308. package/dist/api/resources/tokens/resources/index.js +37 -0
  309. package/dist/api/resources/tokens/resources/singleUse/client/Client.d.ts +45 -0
  310. package/dist/api/resources/tokens/resources/singleUse/client/Client.js +130 -0
  311. package/dist/api/resources/tokens/resources/singleUse/client/index.d.ts +1 -0
  312. package/dist/api/resources/tokens/resources/singleUse/client/index.js +2 -0
  313. package/dist/api/resources/tokens/resources/singleUse/index.d.ts +1 -0
  314. package/dist/api/resources/tokens/resources/singleUse/index.js +17 -0
  315. package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
  316. package/dist/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  317. package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
  318. package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
  319. package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
  320. package/dist/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  321. package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
  322. package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
  323. package/dist/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  324. package/dist/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
  325. package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  326. package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
  327. package/dist/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
  328. package/dist/api/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
  329. package/dist/api/types/BatchCallDetailedResponse.d.ts +2 -1
  330. package/dist/api/types/BatchCallResponse.d.ts +2 -1
  331. package/dist/api/types/ClientToolConfigInput.d.ts +4 -0
  332. package/dist/api/types/ClientToolConfigOutput.d.ts +4 -0
  333. package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +3 -0
  334. package/dist/api/types/GuardrailsV1Input.d.ts +5 -0
  335. package/dist/api/types/GuardrailsV1Input.js +3 -0
  336. package/dist/api/types/GuardrailsV1Output.d.ts +5 -0
  337. package/dist/api/types/GuardrailsV1Output.js +3 -0
  338. package/dist/api/types/InvoiceResponse.d.ts +4 -0
  339. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  340. package/dist/api/types/LiteralOverride.d.ts +6 -0
  341. package/dist/api/types/LiteralOverride.js +3 -0
  342. package/dist/api/types/LiteralOverrideConstantValue.d.ts +1 -0
  343. package/dist/api/types/LiteralOverrideConstantValue.js +3 -0
  344. package/dist/api/types/Llm.d.ts +2 -0
  345. package/dist/api/types/Llm.js +2 -0
  346. package/dist/api/types/McpServerConfigInput.d.ts +9 -1
  347. package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
  348. package/dist/api/types/McpServerConfigOutput.d.ts +9 -1
  349. package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
  350. package/dist/api/types/McpToolConfigOverride.d.ts +17 -0
  351. package/dist/api/types/McpToolConfigOverride.js +3 -0
  352. package/dist/api/types/MetricType.d.ts +1 -0
  353. package/dist/api/types/MetricType.js +1 -0
  354. package/dist/api/types/ModerationConfig.d.ts +14 -0
  355. package/dist/api/types/ModerationConfig.js +3 -0
  356. package/dist/api/types/ModerationGuardrailInput.d.ts +4 -0
  357. package/dist/api/types/ModerationGuardrailInput.js +3 -0
  358. package/dist/api/types/ModerationGuardrailOutput.d.ts +4 -0
  359. package/dist/api/types/ModerationGuardrailOutput.js +3 -0
  360. package/dist/api/types/ObjectOverrideInput.d.ts +6 -0
  361. package/dist/api/types/ObjectOverrideInput.js +3 -0
  362. package/dist/api/types/ObjectOverrideInputPropertiesValue.d.ts +2 -0
  363. package/dist/api/types/ObjectOverrideInputPropertiesValue.js +3 -0
  364. package/dist/api/types/ObjectOverrideOutput.d.ts +6 -0
  365. package/dist/api/types/ObjectOverrideOutput.js +3 -0
  366. package/dist/api/types/ObjectOverrideOutputPropertiesValue.d.ts +2 -0
  367. package/dist/api/types/ObjectOverrideOutputPropertiesValue.js +3 -0
  368. package/dist/api/types/OutboundCallRecipient.d.ts +2 -1
  369. package/dist/api/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  370. package/dist/api/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  371. package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +6 -0
  372. package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +9 -0
  373. package/dist/api/types/PhoneNumberDynamicVariableTransferDestination.d.ts +3 -0
  374. package/dist/api/types/PhoneNumberDynamicVariableTransferDestination.js +3 -0
  375. package/dist/api/types/PhoneNumberTransferTransferDestination.d.ts +7 -1
  376. package/dist/api/types/PromptAgentApiModelInputToolsItem.d.ts +4 -1
  377. package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +4 -1
  378. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +4 -1
  379. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +4 -1
  380. package/dist/api/types/QueryOverride.d.ts +5 -0
  381. package/dist/api/types/QueryOverride.js +3 -0
  382. package/dist/api/types/ReferencedToolCommonModel.d.ts +1 -1
  383. package/dist/api/types/ReferencedToolCommonModelType.d.ts +9 -0
  384. package/dist/api/types/ReferencedToolCommonModelType.js +12 -0
  385. package/dist/api/types/RegionConfigRequest.d.ts +9 -0
  386. package/dist/api/types/RegionConfigRequest.js +3 -0
  387. package/dist/api/types/SingleUseTokenResponseModel.d.ts +4 -0
  388. package/dist/api/types/SingleUseTokenResponseModel.js +3 -0
  389. package/dist/api/types/SingleUseTokenType.d.ts +1 -0
  390. package/dist/api/types/SingleUseTokenType.js +3 -0
  391. package/dist/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
  392. package/dist/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
  393. package/dist/api/types/SongSection.d.ts +1 -1
  394. package/dist/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +11 -0
  395. package/dist/api/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +3 -0
  396. package/dist/api/types/SystemToolConfigInput.d.ts +4 -0
  397. package/dist/api/types/SystemToolConfigOutput.d.ts +4 -0
  398. package/dist/api/types/ThresholdGuardrail.d.ts +4 -0
  399. package/dist/api/types/ThresholdGuardrail.js +3 -0
  400. package/dist/api/types/ToolCallSoundBehavior.d.ts +6 -0
  401. package/dist/api/types/ToolCallSoundBehavior.js +9 -0
  402. package/dist/api/types/ToolCallSoundType.d.ts +9 -0
  403. package/dist/api/types/ToolCallSoundType.js +12 -0
  404. package/dist/api/types/ToolRequestModelToolConfig.d.ts +4 -5
  405. package/dist/api/types/ToolResponseModelToolConfig.d.ts +4 -1
  406. package/dist/api/types/ToolType.d.ts +2 -0
  407. package/dist/api/types/ToolType.js +2 -0
  408. package/dist/api/types/TurnConfig.d.ts +2 -2
  409. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -2
  410. package/dist/api/types/TurnEagerness.d.ts +7 -0
  411. package/dist/api/types/TurnEagerness.js +10 -0
  412. package/dist/api/types/TwilioEdgeLocation.d.ts +13 -0
  413. package/dist/api/types/TwilioEdgeLocation.js +16 -0
  414. package/dist/api/types/TwilioRegionId.d.ts +7 -0
  415. package/dist/api/types/TwilioRegionId.js +10 -0
  416. package/dist/api/types/User.d.ts +0 -2
  417. package/dist/api/types/VadConfig.d.ts +0 -2
  418. package/dist/api/types/VadConfigWorkflowOverride.d.ts +0 -2
  419. package/dist/api/types/VoiceSegment.d.ts +14 -0
  420. package/dist/api/types/VoiceSegment.js +3 -0
  421. package/dist/api/types/WebhookToolConfigInput.d.ts +6 -2
  422. package/dist/api/types/WebhookToolConfigOutput.d.ts +6 -2
  423. package/dist/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
  424. package/dist/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
  425. package/dist/api/types/WorkspaceResourceType.d.ts +4 -0
  426. package/dist/api/types/WorkspaceResourceType.js +4 -0
  427. package/dist/api/types/index.d.ts +35 -5
  428. package/dist/api/types/index.js +35 -5
  429. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -1
  430. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -1
  431. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
  432. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -2
  433. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +8 -0
  434. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +10 -0
  435. package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
  436. package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.js +1 -0
  437. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  438. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  439. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +1 -0
  440. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  441. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +19 -0
  442. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +51 -0
  443. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +18 -0
  444. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +50 -0
  445. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  446. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +7 -0
  447. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  448. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  449. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +9 -0
  450. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +41 -0
  451. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  452. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
  453. package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -2
  454. package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +0 -2
  455. package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -2
  456. package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +0 -2
  457. package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -2
  458. package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +0 -2
  459. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +7 -0
  460. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +61 -0
  461. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +7 -0
  462. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +39 -0
  463. package/dist/serialization/resources/music/types/index.d.ts +2 -0
  464. package/dist/serialization/resources/music/types/index.js +2 -0
  465. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +19 -0
  466. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +51 -0
  467. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +19 -0
  468. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +51 -0
  469. package/dist/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
  470. package/dist/serialization/resources/textToDialogue/client/requests/index.js +5 -1
  471. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
  472. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +39 -0
  473. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
  474. package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +39 -0
  475. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
  476. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +61 -0
  477. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +7 -0
  478. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +61 -0
  479. package/dist/serialization/resources/textToDialogue/types/index.d.ts +4 -0
  480. package/dist/serialization/resources/textToDialogue/types/index.js +4 -0
  481. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
  482. package/{serialization/types/SubscriptionUsageResponseModel.js → dist/serialization/types/ApiIntegrationWebhookOverridesInput.js} +12 -10
  483. package/dist/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +8 -0
  484. package/dist/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +40 -0
  485. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +15 -0
  486. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +50 -0
  487. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +8 -0
  488. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +40 -0
  489. package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  490. package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.js +60 -0
  491. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  492. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +60 -0
  493. package/dist/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
  494. package/dist/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
  495. package/dist/serialization/types/BatchCallDetailedResponse.d.ts +2 -1
  496. package/dist/serialization/types/BatchCallDetailedResponse.js +2 -1
  497. package/dist/serialization/types/BatchCallResponse.d.ts +2 -1
  498. package/dist/serialization/types/BatchCallResponse.js +2 -1
  499. package/dist/serialization/types/ClientToolConfigInput.d.ts +4 -0
  500. package/dist/serialization/types/ClientToolConfigInput.js +4 -0
  501. package/dist/serialization/types/ClientToolConfigOutput.d.ts +4 -0
  502. package/dist/serialization/types/ClientToolConfigOutput.js +4 -0
  503. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  504. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
  505. package/dist/serialization/types/GuardrailsV1Input.d.ts +11 -0
  506. package/dist/serialization/types/GuardrailsV1Input.js +43 -0
  507. package/dist/serialization/types/GuardrailsV1Output.d.ts +11 -0
  508. package/dist/serialization/types/GuardrailsV1Output.js +43 -0
  509. package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
  510. package/dist/serialization/types/InvoiceResponse.js +2 -0
  511. package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  512. package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  513. package/dist/serialization/types/LiteralOverride.d.ts +12 -0
  514. package/dist/serialization/types/LiteralOverride.js +44 -0
  515. package/dist/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
  516. package/dist/serialization/types/LiteralOverrideConstantValue.js +44 -0
  517. package/dist/serialization/types/Llm.d.ts +1 -1
  518. package/dist/serialization/types/Llm.js +2 -0
  519. package/dist/serialization/types/McpServerConfigInput.d.ts +8 -0
  520. package/dist/serialization/types/McpServerConfigInput.js +8 -0
  521. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
  522. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +2 -1
  523. package/dist/serialization/types/McpServerConfigOutput.d.ts +8 -0
  524. package/dist/serialization/types/McpServerConfigOutput.js +8 -0
  525. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
  526. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +2 -1
  527. package/dist/serialization/types/McpToolConfigOverride.d.ts +19 -0
  528. package/dist/serialization/types/McpToolConfigOverride.js +51 -0
  529. package/dist/serialization/types/MetricType.d.ts +1 -1
  530. package/dist/serialization/types/MetricType.js +1 -0
  531. package/dist/serialization/types/ModerationConfig.d.ts +20 -0
  532. package/dist/serialization/types/ModerationConfig.js +52 -0
  533. package/dist/serialization/types/ModerationGuardrailInput.d.ts +10 -0
  534. package/dist/serialization/types/ModerationGuardrailInput.js +42 -0
  535. package/dist/serialization/types/ModerationGuardrailOutput.d.ts +10 -0
  536. package/dist/serialization/types/ModerationGuardrailOutput.js +42 -0
  537. package/dist/serialization/types/ObjectOverrideInput.d.ts +11 -0
  538. package/dist/serialization/types/ObjectOverrideInput.js +46 -0
  539. package/dist/serialization/types/ObjectOverrideInputPropertiesValue.d.ts +8 -0
  540. package/dist/serialization/types/ObjectOverrideInputPropertiesValue.js +44 -0
  541. package/dist/serialization/types/ObjectOverrideOutput.d.ts +11 -0
  542. package/dist/serialization/types/ObjectOverrideOutput.js +46 -0
  543. package/dist/serialization/types/ObjectOverrideOutputPropertiesValue.d.ts +8 -0
  544. package/dist/serialization/types/ObjectOverrideOutputPropertiesValue.js +44 -0
  545. package/dist/serialization/types/OutboundCallRecipient.d.ts +2 -1
  546. package/dist/serialization/types/OutboundCallRecipient.js +2 -1
  547. package/dist/serialization/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  548. package/dist/serialization/types/OutboundCallRecipientResponseModel.js +2 -1
  549. package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  550. package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -0
  551. package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +7 -0
  552. package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +39 -0
  553. package/dist/serialization/types/PhoneNumberDynamicVariableTransferDestination.d.ts +9 -0
  554. package/dist/serialization/types/PhoneNumberDynamicVariableTransferDestination.js +41 -0
  555. package/dist/serialization/types/PhoneNumberTransferTransferDestination.d.ts +9 -1
  556. package/dist/serialization/types/PhoneNumberTransferTransferDestination.js +4 -0
  557. package/dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
  558. package/dist/serialization/types/PromptAgentApiModelInputToolsItem.js +2 -0
  559. package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
  560. package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +2 -0
  561. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
  562. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +2 -0
  563. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
  564. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +2 -0
  565. package/dist/serialization/types/QueryOverride.d.ts +11 -0
  566. package/dist/serialization/types/QueryOverride.js +43 -0
  567. package/dist/serialization/types/ReferencedToolCommonModel.d.ts +2 -2
  568. package/dist/serialization/types/ReferencedToolCommonModel.js +2 -2
  569. package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +7 -0
  570. package/dist/serialization/types/{ModerationStatusResponseModelSafetyStatus.js → ReferencedToolCommonModelType.js} +2 -2
  571. package/dist/serialization/types/RegionConfigRequest.d.ts +13 -0
  572. package/dist/serialization/types/RegionConfigRequest.js +45 -0
  573. package/dist/serialization/types/SingleUseTokenResponseModel.d.ts +9 -0
  574. package/dist/serialization/types/{ModerationStatusResponseModelWarningStatus.js → SingleUseTokenResponseModel.js} +4 -2
  575. package/dist/serialization/types/SingleUseTokenType.d.ts +7 -0
  576. package/{serialization/types/ModerationStatusResponseModelWarningStatus.js → dist/serialization/types/SingleUseTokenType.js} +2 -2
  577. package/dist/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
  578. package/dist/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
  579. package/dist/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
  580. package/dist/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
  581. package/dist/serialization/types/SystemToolConfigInput.d.ts +4 -0
  582. package/dist/serialization/types/SystemToolConfigInput.js +4 -0
  583. package/dist/serialization/types/SystemToolConfigOutput.d.ts +4 -0
  584. package/dist/serialization/types/SystemToolConfigOutput.js +4 -0
  585. package/dist/serialization/types/ThresholdGuardrail.d.ts +10 -0
  586. package/dist/serialization/types/ThresholdGuardrail.js +42 -0
  587. package/dist/serialization/types/ToolCallSoundBehavior.d.ts +7 -0
  588. package/{serialization/types/ModerationStatusResponseModelSafetyStatus.js → dist/serialization/types/ToolCallSoundBehavior.js} +2 -2
  589. package/dist/serialization/types/ToolCallSoundType.d.ts +7 -0
  590. package/dist/serialization/types/ToolCallSoundType.js +39 -0
  591. package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +5 -5
  592. package/dist/serialization/types/ToolRequestModelToolConfig.js +2 -3
  593. package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
  594. package/dist/serialization/types/ToolResponseModelToolConfig.js +2 -0
  595. package/dist/serialization/types/ToolType.d.ts +1 -1
  596. package/dist/serialization/types/ToolType.js +9 -1
  597. package/dist/serialization/types/TurnConfig.d.ts +2 -2
  598. package/dist/serialization/types/TurnConfig.js +2 -2
  599. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -2
  600. package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -2
  601. package/dist/serialization/types/TurnEagerness.d.ts +7 -0
  602. package/dist/serialization/types/TurnEagerness.js +39 -0
  603. package/dist/serialization/types/TwilioEdgeLocation.d.ts +7 -0
  604. package/dist/serialization/types/TwilioEdgeLocation.js +49 -0
  605. package/dist/serialization/types/TwilioRegionId.d.ts +7 -0
  606. package/dist/serialization/types/TwilioRegionId.js +39 -0
  607. package/dist/serialization/types/User.d.ts +0 -2
  608. package/dist/serialization/types/User.js +0 -2
  609. package/dist/serialization/types/VadConfig.d.ts +0 -1
  610. package/dist/serialization/types/VadConfig.js +1 -3
  611. package/dist/serialization/types/VadConfigWorkflowOverride.d.ts +0 -1
  612. package/dist/serialization/types/VadConfigWorkflowOverride.js +1 -3
  613. package/dist/serialization/types/VoiceSegment.d.ts +14 -0
  614. package/dist/serialization/types/VoiceSegment.js +46 -0
  615. package/dist/serialization/types/WebhookToolConfigInput.d.ts +6 -2
  616. package/dist/serialization/types/WebhookToolConfigInput.js +6 -2
  617. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +6 -2
  618. package/dist/serialization/types/WebhookToolConfigOutput.js +6 -2
  619. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +9 -1
  620. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.js +4 -0
  621. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +9 -1
  622. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.js +4 -0
  623. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  624. package/dist/serialization/types/WorkspaceResourceType.js +4 -0
  625. package/dist/serialization/types/index.d.ts +35 -5
  626. package/dist/serialization/types/index.js +35 -5
  627. package/dist/version.d.ts +1 -1
  628. package/dist/version.js +1 -1
  629. package/package.json +10 -10
  630. package/reference.md +524 -28
  631. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -1
  632. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -1
  633. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
  634. package/serialization/resources/conversationalAi/resources/index.js +3 -2
  635. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +8 -0
  636. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +10 -0
  637. package/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +1 -0
  638. package/serialization/resources/conversationalAi/resources/mcpServers/index.js +1 -0
  639. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  640. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  641. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +1 -0
  642. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  643. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +19 -0
  644. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +51 -0
  645. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +18 -0
  646. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +50 -0
  647. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  648. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +7 -0
  649. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  650. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  651. package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +9 -0
  652. package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +41 -0
  653. package/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  654. package/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +17 -0
  655. package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +0 -2
  656. package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +0 -2
  657. package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +0 -2
  658. package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +0 -2
  659. package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +0 -2
  660. package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +0 -2
  661. package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +7 -0
  662. package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +61 -0
  663. package/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +7 -0
  664. package/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +39 -0
  665. package/serialization/resources/music/types/index.d.ts +2 -0
  666. package/serialization/resources/music/types/index.js +2 -0
  667. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +19 -0
  668. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js +51 -0
  669. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +19 -0
  670. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js +51 -0
  671. package/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
  672. package/serialization/resources/textToDialogue/client/requests/index.js +5 -1
  673. package/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.d.ts +7 -0
  674. package/serialization/resources/textToDialogue/types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization.js +39 -0
  675. package/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.d.ts +7 -0
  676. package/serialization/resources/textToDialogue/types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization.js +39 -0
  677. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
  678. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +61 -0
  679. package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +7 -0
  680. package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +61 -0
  681. package/serialization/resources/textToDialogue/types/index.d.ts +4 -0
  682. package/serialization/resources/textToDialogue/types/index.js +4 -0
  683. package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
  684. package/{dist/serialization/types/SubscriptionUsageResponseModel.js → serialization/types/ApiIntegrationWebhookOverridesInput.js} +12 -10
  685. package/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +8 -0
  686. package/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +40 -0
  687. package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +15 -0
  688. package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +50 -0
  689. package/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +8 -0
  690. package/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +40 -0
  691. package/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  692. package/serialization/types/ApiIntegrationWebhookToolConfigInput.js +60 -0
  693. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  694. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +60 -0
  695. package/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
  696. package/serialization/types/AudioWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
  697. package/serialization/types/BatchCallDetailedResponse.d.ts +2 -1
  698. package/serialization/types/BatchCallDetailedResponse.js +2 -1
  699. package/serialization/types/BatchCallResponse.d.ts +2 -1
  700. package/serialization/types/BatchCallResponse.js +2 -1
  701. package/serialization/types/ClientToolConfigInput.d.ts +4 -0
  702. package/serialization/types/ClientToolConfigInput.js +4 -0
  703. package/serialization/types/ClientToolConfigOutput.d.ts +4 -0
  704. package/serialization/types/ClientToolConfigOutput.js +4 -0
  705. package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  706. package/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
  707. package/serialization/types/GuardrailsV1Input.d.ts +11 -0
  708. package/serialization/types/GuardrailsV1Input.js +43 -0
  709. package/serialization/types/GuardrailsV1Output.d.ts +11 -0
  710. package/serialization/types/GuardrailsV1Output.js +43 -0
  711. package/serialization/types/InvoiceResponse.d.ts +2 -0
  712. package/serialization/types/InvoiceResponse.js +2 -0
  713. package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  714. package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  715. package/serialization/types/LiteralOverride.d.ts +12 -0
  716. package/serialization/types/LiteralOverride.js +44 -0
  717. package/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
  718. package/serialization/types/LiteralOverrideConstantValue.js +44 -0
  719. package/serialization/types/Llm.d.ts +1 -1
  720. package/serialization/types/Llm.js +2 -0
  721. package/serialization/types/McpServerConfigInput.d.ts +8 -0
  722. package/serialization/types/McpServerConfigInput.js +8 -0
  723. package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
  724. package/serialization/types/McpServerConfigInputRequestHeadersValue.js +2 -1
  725. package/serialization/types/McpServerConfigOutput.d.ts +8 -0
  726. package/serialization/types/McpServerConfigOutput.js +8 -0
  727. package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
  728. package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +2 -1
  729. package/serialization/types/McpToolConfigOverride.d.ts +19 -0
  730. package/serialization/types/McpToolConfigOverride.js +51 -0
  731. package/serialization/types/MetricType.d.ts +1 -1
  732. package/serialization/types/MetricType.js +1 -0
  733. package/serialization/types/ModerationConfig.d.ts +20 -0
  734. package/serialization/types/ModerationConfig.js +52 -0
  735. package/serialization/types/ModerationGuardrailInput.d.ts +10 -0
  736. package/serialization/types/ModerationGuardrailInput.js +42 -0
  737. package/serialization/types/ModerationGuardrailOutput.d.ts +10 -0
  738. package/serialization/types/ModerationGuardrailOutput.js +42 -0
  739. package/serialization/types/ObjectOverrideInput.d.ts +11 -0
  740. package/serialization/types/ObjectOverrideInput.js +46 -0
  741. package/serialization/types/ObjectOverrideInputPropertiesValue.d.ts +8 -0
  742. package/serialization/types/ObjectOverrideInputPropertiesValue.js +44 -0
  743. package/serialization/types/ObjectOverrideOutput.d.ts +11 -0
  744. package/serialization/types/ObjectOverrideOutput.js +46 -0
  745. package/serialization/types/ObjectOverrideOutputPropertiesValue.d.ts +8 -0
  746. package/serialization/types/ObjectOverrideOutputPropertiesValue.js +44 -0
  747. package/serialization/types/OutboundCallRecipient.d.ts +2 -1
  748. package/serialization/types/OutboundCallRecipient.js +2 -1
  749. package/serialization/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  750. package/serialization/types/OutboundCallRecipientResponseModel.js +2 -1
  751. package/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  752. package/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -0
  753. package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +7 -0
  754. package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +39 -0
  755. package/serialization/types/PhoneNumberDynamicVariableTransferDestination.d.ts +9 -0
  756. package/serialization/types/PhoneNumberDynamicVariableTransferDestination.js +41 -0
  757. package/serialization/types/PhoneNumberTransferTransferDestination.d.ts +9 -1
  758. package/serialization/types/PhoneNumberTransferTransferDestination.js +4 -0
  759. package/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
  760. package/serialization/types/PromptAgentApiModelInputToolsItem.js +2 -0
  761. package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
  762. package/serialization/types/PromptAgentApiModelOutputToolsItem.js +2 -0
  763. package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
  764. package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +2 -0
  765. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
  766. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +2 -0
  767. package/serialization/types/QueryOverride.d.ts +11 -0
  768. package/serialization/types/QueryOverride.js +43 -0
  769. package/serialization/types/ReferencedToolCommonModel.d.ts +2 -2
  770. package/serialization/types/ReferencedToolCommonModel.js +2 -2
  771. package/serialization/types/ReferencedToolCommonModelType.d.ts +7 -0
  772. package/serialization/types/ReferencedToolCommonModelType.js +39 -0
  773. package/serialization/types/RegionConfigRequest.d.ts +13 -0
  774. package/serialization/types/RegionConfigRequest.js +45 -0
  775. package/serialization/types/SingleUseTokenResponseModel.d.ts +9 -0
  776. package/serialization/types/SingleUseTokenResponseModel.js +41 -0
  777. package/serialization/types/SingleUseTokenType.d.ts +7 -0
  778. package/serialization/types/SingleUseTokenType.js +39 -0
  779. package/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
  780. package/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
  781. package/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.d.ts +14 -0
  782. package/serialization/types/StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel.js +46 -0
  783. package/serialization/types/SystemToolConfigInput.d.ts +4 -0
  784. package/serialization/types/SystemToolConfigInput.js +4 -0
  785. package/serialization/types/SystemToolConfigOutput.d.ts +4 -0
  786. package/serialization/types/SystemToolConfigOutput.js +4 -0
  787. package/serialization/types/ThresholdGuardrail.d.ts +10 -0
  788. package/serialization/types/ThresholdGuardrail.js +42 -0
  789. package/serialization/types/ToolCallSoundBehavior.d.ts +7 -0
  790. package/serialization/types/ToolCallSoundBehavior.js +39 -0
  791. package/serialization/types/ToolCallSoundType.d.ts +7 -0
  792. package/serialization/types/ToolCallSoundType.js +39 -0
  793. package/serialization/types/ToolRequestModelToolConfig.d.ts +5 -5
  794. package/serialization/types/ToolRequestModelToolConfig.js +2 -3
  795. package/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
  796. package/serialization/types/ToolResponseModelToolConfig.js +2 -0
  797. package/serialization/types/ToolType.d.ts +1 -1
  798. package/serialization/types/ToolType.js +9 -1
  799. package/serialization/types/TurnConfig.d.ts +2 -2
  800. package/serialization/types/TurnConfig.js +2 -2
  801. package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -2
  802. package/serialization/types/TurnConfigWorkflowOverride.js +2 -2
  803. package/serialization/types/TurnEagerness.d.ts +7 -0
  804. package/serialization/types/TurnEagerness.js +39 -0
  805. package/serialization/types/TwilioEdgeLocation.d.ts +7 -0
  806. package/serialization/types/TwilioEdgeLocation.js +49 -0
  807. package/serialization/types/TwilioRegionId.d.ts +7 -0
  808. package/serialization/types/TwilioRegionId.js +39 -0
  809. package/serialization/types/User.d.ts +0 -2
  810. package/serialization/types/User.js +0 -2
  811. package/serialization/types/VadConfig.d.ts +0 -1
  812. package/serialization/types/VadConfig.js +1 -3
  813. package/serialization/types/VadConfigWorkflowOverride.d.ts +0 -1
  814. package/serialization/types/VadConfigWorkflowOverride.js +1 -3
  815. package/serialization/types/VoiceSegment.d.ts +14 -0
  816. package/serialization/types/VoiceSegment.js +46 -0
  817. package/serialization/types/WebhookToolConfigInput.d.ts +6 -2
  818. package/serialization/types/WebhookToolConfigInput.js +6 -2
  819. package/serialization/types/WebhookToolConfigOutput.d.ts +6 -2
  820. package/serialization/types/WebhookToolConfigOutput.js +6 -2
  821. package/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +9 -1
  822. package/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.js +4 -0
  823. package/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +9 -1
  824. package/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.js +4 -0
  825. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  826. package/serialization/types/WorkspaceResourceType.js +4 -0
  827. package/serialization/types/index.d.ts +35 -5
  828. package/serialization/types/index.js +35 -5
  829. package/version.d.ts +1 -1
  830. package/version.js +1 -1
  831. package/api/types/ModerationStatusResponseModel.d.ts +0 -21
  832. package/api/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -6
  833. package/api/types/ModerationStatusResponseModelSafetyStatus.js +0 -9
  834. package/api/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -5
  835. package/api/types/ModerationStatusResponseModelWarningStatus.js +0 -8
  836. package/api/types/SubscriptionExtrasResponseModel.d.ts +0 -27
  837. package/api/types/SubscriptionUsageResponseModel.d.ts +0 -18
  838. package/dist/api/types/ModerationStatusResponseModel.d.ts +0 -21
  839. package/dist/api/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -6
  840. package/dist/api/types/ModerationStatusResponseModelSafetyStatus.js +0 -9
  841. package/dist/api/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -5
  842. package/dist/api/types/ModerationStatusResponseModelWarningStatus.js +0 -8
  843. package/dist/api/types/SubscriptionExtrasResponseModel.d.ts +0 -27
  844. package/dist/api/types/SubscriptionUsageResponseModel.d.ts +0 -18
  845. package/dist/serialization/types/ModerationStatusResponseModel.d.ts +0 -19
  846. package/dist/serialization/types/ModerationStatusResponseModel.js +0 -51
  847. package/dist/serialization/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -7
  848. package/dist/serialization/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -7
  849. package/dist/serialization/types/SubscriptionExtrasResponseModel.d.ts +0 -22
  850. package/dist/serialization/types/SubscriptionExtrasResponseModel.js +0 -54
  851. package/dist/serialization/types/SubscriptionUsageResponseModel.d.ts +0 -16
  852. package/serialization/types/ModerationStatusResponseModel.d.ts +0 -19
  853. package/serialization/types/ModerationStatusResponseModel.js +0 -51
  854. package/serialization/types/ModerationStatusResponseModelSafetyStatus.d.ts +0 -7
  855. package/serialization/types/ModerationStatusResponseModelWarningStatus.d.ts +0 -7
  856. package/serialization/types/SubscriptionExtrasResponseModel.d.ts +0 -22
  857. package/serialization/types/SubscriptionExtrasResponseModel.js +0 -54
  858. package/serialization/types/SubscriptionUsageResponseModel.d.ts +0 -16
  859. /package/api/{types/ModerationStatusResponseModel.js → resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js} +0 -0
  860. /package/api/{types/SubscriptionExtrasResponseModel.js → resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js} +0 -0
  861. /package/api/{types/SubscriptionUsageResponseModel.js → resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js} +0 -0
  862. /package/{dist/api/types/ModerationStatusResponseModel.js → api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js} +0 -0
  863. /package/{dist/api/types/SubscriptionExtrasResponseModel.js → api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.js} +0 -0
  864. /package/{dist/api/types/SubscriptionUsageResponseModel.js → api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.js} +0 -0
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.SingleUse = void 0;
47
+ const environments = __importStar(require("../../../../../../environments"));
48
+ const core = __importStar(require("../../../../../../core"));
49
+ const ElevenLabs = __importStar(require("../../../../../index"));
50
+ const headers_1 = require("../../../../../../core/headers");
51
+ const serializers = __importStar(require("../../../../../../serialization/index"));
52
+ const errors = __importStar(require("../../../../../../errors/index"));
53
+ class SingleUse {
54
+ constructor(_options = {}) {
55
+ this._options = _options;
56
+ }
57
+ /**
58
+ * Generate a time limited single-use token with embedded authentication for frontend clients.
59
+ *
60
+ * @param {ElevenLabs.SingleUseTokenType} tokenType
61
+ * @param {SingleUse.RequestOptions} requestOptions - Request-specific configuration.
62
+ *
63
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
64
+ *
65
+ * @example
66
+ * await client.tokens.singleUse.create("realtime_scribe")
67
+ */
68
+ create(tokenType, requestOptions) {
69
+ return core.HttpResponsePromise.fromPromise(this.__create(tokenType, requestOptions));
70
+ }
71
+ __create(tokenType, requestOptions) {
72
+ return __awaiter(this, void 0, void 0, function* () {
73
+ var _a, _b, _c, _d, _e;
74
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
75
+ const _response = yield core.fetcher({
76
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ElevenLabsEnvironment.Production, `v1/single-use-token/${encodeURIComponent(serializers.SingleUseTokenType.jsonOrThrow(tokenType))}`),
77
+ method: "POST",
78
+ headers: _headers,
79
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
80
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
81
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
82
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
83
+ });
84
+ if (_response.ok) {
85
+ return {
86
+ data: serializers.SingleUseTokenResponseModel.parseOrThrow(_response.body, {
87
+ unrecognizedObjectKeys: "passthrough",
88
+ allowUnrecognizedUnionMembers: true,
89
+ allowUnrecognizedEnumValues: true,
90
+ breadcrumbsPrefix: ["response"],
91
+ }),
92
+ rawResponse: _response.rawResponse,
93
+ };
94
+ }
95
+ if (_response.error.reason === "status-code") {
96
+ switch (_response.error.statusCode) {
97
+ case 422:
98
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
99
+ unrecognizedObjectKeys: "passthrough",
100
+ allowUnrecognizedUnionMembers: true,
101
+ allowUnrecognizedEnumValues: true,
102
+ breadcrumbsPrefix: ["response"],
103
+ }), _response.rawResponse);
104
+ default:
105
+ throw new errors.ElevenLabsError({
106
+ statusCode: _response.error.statusCode,
107
+ body: _response.error.body,
108
+ rawResponse: _response.rawResponse,
109
+ });
110
+ }
111
+ }
112
+ switch (_response.error.reason) {
113
+ case "non-json":
114
+ throw new errors.ElevenLabsError({
115
+ statusCode: _response.error.statusCode,
116
+ body: _response.error.rawBody,
117
+ rawResponse: _response.rawResponse,
118
+ });
119
+ case "timeout":
120
+ throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/single-use-token/{token_type}.");
121
+ case "unknown":
122
+ throw new errors.ElevenLabsError({
123
+ message: _response.error.errorMessage,
124
+ rawResponse: _response.rawResponse,
125
+ });
126
+ }
127
+ });
128
+ }
129
+ }
130
+ exports.SingleUse = SingleUse;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,11 @@
1
+ import * as ElevenLabs from "../index";
2
+ /**
3
+ * A whitelist of fields that can be overridden by users when
4
+ * configuring an API Integration Webhook Tool.
5
+ */
6
+ export interface ApiIntegrationWebhookOverridesInput {
7
+ pathParamsSchema?: Record<string, ElevenLabs.LiteralOverride | undefined>;
8
+ queryParamsSchema?: ElevenLabs.QueryOverride;
9
+ requestBodySchema?: ElevenLabs.ObjectOverrideInput;
10
+ requestHeaders?: Record<string, ElevenLabs.ApiIntegrationWebhookOverridesInputRequestHeadersValue | undefined>;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ import * as ElevenLabs from "../index";
2
+ export type ApiIntegrationWebhookOverridesInputRequestHeadersValue = string | ElevenLabs.ConvAiDynamicVariable;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import * as ElevenLabs from "../index";
2
+ /**
3
+ * A whitelist of fields that can be overridden by users when
4
+ * configuring an API Integration Webhook Tool.
5
+ */
6
+ export interface ApiIntegrationWebhookOverridesOutput {
7
+ pathParamsSchema?: Record<string, ElevenLabs.LiteralOverride | undefined>;
8
+ queryParamsSchema?: ElevenLabs.QueryOverride;
9
+ requestBodySchema?: ElevenLabs.ObjectOverrideOutput;
10
+ requestHeaders?: Record<string, ElevenLabs.ApiIntegrationWebhookOverridesOutputRequestHeadersValue | undefined>;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ import * as ElevenLabs from "../index";
2
+ export type ApiIntegrationWebhookOverridesOutputRequestHeadersValue = string | ElevenLabs.ConvAiDynamicVariable;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface ApiIntegrationWebhookToolConfigInput {
3
+ name: string;
4
+ /** Description of when the tool should be used and what it does. */
5
+ description: string;
6
+ /** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
7
+ responseTimeoutSecs?: number;
8
+ /** If true, the user will not be able to interrupt the agent while this tool is running. */
9
+ disableInterruptions?: boolean;
10
+ /** If true, the agent will speak before the tool call. */
11
+ forcePreToolSpeech?: boolean;
12
+ /** Configuration for extracting values from tool responses and assigning them to dynamic variables */
13
+ assignments?: ElevenLabs.DynamicVariableAssignment[];
14
+ /** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
15
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
16
+ /** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
17
+ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
18
+ /** Configuration for dynamic variables */
19
+ dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
20
+ /** Determines when and how the tool executes: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
21
+ executionMode?: ElevenLabs.ToolExecutionMode;
22
+ /** The version of the API integration tool */
23
+ toolVersion?: string;
24
+ apiIntegrationId: string;
25
+ apiIntegrationConnectionId: string;
26
+ /** User overrides applied on top of the base api_schema */
27
+ apiSchemaOverrides?: ElevenLabs.ApiIntegrationWebhookOverridesInput;
28
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface ApiIntegrationWebhookToolConfigOutput {
3
+ name: string;
4
+ /** Description of when the tool should be used and what it does. */
5
+ description: string;
6
+ /** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
7
+ responseTimeoutSecs?: number;
8
+ /** If true, the user will not be able to interrupt the agent while this tool is running. */
9
+ disableInterruptions?: boolean;
10
+ /** If true, the agent will speak before the tool call. */
11
+ forcePreToolSpeech?: boolean;
12
+ /** Configuration for extracting values from tool responses and assigning them to dynamic variables */
13
+ assignments?: ElevenLabs.DynamicVariableAssignment[];
14
+ /** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
15
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
16
+ /** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
17
+ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
18
+ /** Configuration for dynamic variables */
19
+ dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
20
+ /** Determines when and how the tool executes: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
21
+ executionMode?: ElevenLabs.ToolExecutionMode;
22
+ /** The version of the API integration tool */
23
+ toolVersion?: string;
24
+ apiIntegrationId: string;
25
+ apiIntegrationConnectionId: string;
26
+ /** User overrides applied on top of the base api_schema */
27
+ apiSchemaOverrides?: ElevenLabs.ApiIntegrationWebhookOverridesOutput;
28
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface AudioWithTimestampsAndVoiceSegmentsResponseModel {
3
+ /** Base64 encoded audio data */
4
+ audioBase64: string;
5
+ /** Timestamp information for each character in the original text */
6
+ alignment?: ElevenLabs.CharacterAlignmentResponseModel;
7
+ /** Timestamp information for each character in the normalized text */
8
+ normalizedAlignment?: ElevenLabs.CharacterAlignmentResponseModel;
9
+ /** Voice segments for the audio */
10
+ voiceSegments: ElevenLabs.VoiceSegment[];
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,8 +4,9 @@ import * as ElevenLabs from "../index";
4
4
  */
5
5
  export interface BatchCallDetailedResponse {
6
6
  id: string;
7
- phoneNumberId: string;
7
+ phoneNumberId?: string;
8
8
  phoneProvider?: ElevenLabs.TelephonyProvider;
9
+ whatsappBusinessAccountId?: string;
9
10
  name: string;
10
11
  agentId: string;
11
12
  createdAtUnix: number;
@@ -1,8 +1,9 @@
1
1
  import * as ElevenLabs from "../index";
2
2
  export interface BatchCallResponse {
3
3
  id: string;
4
- phoneNumberId: string;
4
+ phoneNumberId?: string;
5
5
  phoneProvider?: ElevenLabs.TelephonyProvider;
6
+ whatsappBusinessAccountId?: string;
6
7
  name: string;
7
8
  agentId: string;
8
9
  createdAtUnix: number;
@@ -14,6 +14,10 @@ export interface ClientToolConfigInput {
14
14
  forcePreToolSpeech?: boolean;
15
15
  /** Configuration for extracting values from tool responses and assigning them to dynamic variables */
16
16
  assignments?: ElevenLabs.DynamicVariableAssignment[];
17
+ /** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
18
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
19
+ /** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
20
+ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
17
21
  /** Schema for any parameters to pass to the client */
18
22
  parameters?: ElevenLabs.ObjectJsonSchemaPropertyInput;
19
23
  /** If true, calling this tool should block the conversation until the client responds with some response which is passed to the llm. If false then we will continue the conversation without waiting for the client to respond, this is useful to show content to a user but not block the conversation */
@@ -14,6 +14,10 @@ export interface ClientToolConfigOutput {
14
14
  forcePreToolSpeech?: boolean;
15
15
  /** Configuration for extracting values from tool responses and assigning them to dynamic variables */
16
16
  assignments?: ElevenLabs.DynamicVariableAssignment[];
17
+ /** Predefined tool call sound type to play during tool execution. If not specified, no tool call sound will be played. */
18
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
19
+ /** Determines when the tool call sound should play. 'auto' only plays when there's pre-tool speech, 'always' plays for every tool call. */
20
+ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
17
21
  /** Schema for any parameters to pass to the client */
18
22
  parameters?: ElevenLabs.ObjectJsonSchemaPropertyOutput;
19
23
  /** If true, calling this tool should block the conversation until the client responds with some response which is passed to the llm. If false then we will continue the conversation without waiting for the client to respond, this is useful to show content to a user but not block the conversation */
@@ -1,3 +1,4 @@
1
+ import * as ElevenLabs from "../index";
1
2
  export interface CreateTwilioPhoneNumberRequest {
2
3
  /** Phone number */
3
4
  phoneNumber: string;
@@ -11,4 +12,6 @@ export interface CreateTwilioPhoneNumberRequest {
11
12
  sid: string;
12
13
  /** Twilio Auth Token */
13
14
  token: string;
15
+ /** Twilio Additional Region Configuration */
16
+ regionConfig?: ElevenLabs.RegionConfigRequest;
14
17
  }
@@ -0,0 +1,5 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface GuardrailsV1Input {
3
+ version?: "1";
4
+ moderation?: ElevenLabs.ModerationGuardrailInput;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface GuardrailsV1Output {
3
+ version?: "1";
4
+ moderation?: ElevenLabs.ModerationGuardrailOutput;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,6 +2,10 @@ import * as ElevenLabs from "../index";
2
2
  export interface InvoiceResponse {
3
3
  /** The amount due in cents. */
4
4
  amountDueCents: number;
5
+ /** The subtotal amount in cents before tax (exclusive of tax and discounts). */
6
+ subtotalCents?: number;
7
+ /** The tax amount in cents. */
8
+ taxCents?: number;
5
9
  /** The discount applied to the invoice. E.g. [20.0f] for 20% off. */
6
10
  discountPercentOff?: number;
7
11
  /** The discount applied to the invoice. E.g. [20.0f] for 20% off. */
@@ -5,6 +5,8 @@ export interface LiteralJsonSchemaProperty {
5
5
  description?: string;
6
6
  /** List of allowed string values for string type parameters */
7
7
  enum?: string[];
8
+ /** If true, the value will be populated by the system at runtime. Used by Api Integration Webhook tools for templating. */
9
+ isSystemProvided?: boolean;
8
10
  /** The dynamic variable of the property */
9
11
  dynamicVariable?: string;
10
12
  /** The constant value of the property */
@@ -0,0 +1,6 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface LiteralOverride {
3
+ description?: string;
4
+ dynamicVariable?: string;
5
+ constantValue?: ElevenLabs.LiteralOverrideConstantValue;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export type LiteralOverrideConstantValue = string | number | number | boolean;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -18,6 +18,7 @@ export declare const Llm: {
18
18
  readonly Gemini25Flash: "gemini-2.5-flash";
19
19
  readonly ClaudeSonnet45: "claude-sonnet-4-5";
20
20
  readonly ClaudeSonnet4: "claude-sonnet-4";
21
+ readonly ClaudeHaiku45: "claude-haiku-4-5";
21
22
  readonly Claude37Sonnet: "claude-3-7-sonnet";
22
23
  readonly Claude35Sonnet: "claude-3-5-sonnet";
23
24
  readonly Claude35SonnetV1: "claude-3-5-sonnet-v1";
@@ -42,6 +43,7 @@ export declare const Llm: {
42
43
  readonly Gemini15Pro001: "gemini-1.5-pro-001";
43
44
  readonly ClaudeSonnet420250514: "claude-sonnet-4@20250514";
44
45
  readonly ClaudeSonnet4520250929: "claude-sonnet-4-5@20250929";
46
+ readonly ClaudeHaiku4520251001: "claude-haiku-4-5@20251001";
45
47
  readonly Claude37Sonnet20250219: "claude-3-7-sonnet@20250219";
46
48
  readonly Claude35Sonnet20240620: "claude-3-5-sonnet@20240620";
47
49
  readonly Claude35SonnetV220241022: "claude-3-5-sonnet-v2@20241022";
package/api/types/Llm.js CHANGED
@@ -22,6 +22,7 @@ exports.Llm = {
22
22
  Gemini25Flash: "gemini-2.5-flash",
23
23
  ClaudeSonnet45: "claude-sonnet-4-5",
24
24
  ClaudeSonnet4: "claude-sonnet-4",
25
+ ClaudeHaiku45: "claude-haiku-4-5",
25
26
  Claude37Sonnet: "claude-3-7-sonnet",
26
27
  Claude35Sonnet: "claude-3-5-sonnet",
27
28
  Claude35SonnetV1: "claude-3-5-sonnet-v1",
@@ -46,6 +47,7 @@ exports.Llm = {
46
47
  Gemini15Pro001: "gemini-1.5-pro-001",
47
48
  ClaudeSonnet420250514: "claude-sonnet-4@20250514",
48
49
  ClaudeSonnet4520250929: "claude-sonnet-4-5@20250929",
50
+ ClaudeHaiku4520251001: "claude-haiku-4-5@20251001",
49
51
  Claude37Sonnet20250219: "claude-3-7-sonnet@20250219",
50
52
  Claude35Sonnet20240620: "claude-3-5-sonnet@20240620",
51
53
  Claude35SonnetV220241022: "claude-3-5-sonnet-v2@20241022",
@@ -15,6 +15,14 @@ export interface McpServerConfigInput {
15
15
  description?: string;
16
16
  /** If true, all tools from this MCP server will require pre-tool execution speech */
17
17
  forcePreToolSpeech?: boolean;
18
- /** If true, the user will not be able to interrupt the agent while tools from this MCP server are running */
18
+ /** If true, the user will not be able to interrupt the agent while any tool from this MCP server is running. */
19
19
  disableInterruptions?: boolean;
20
+ /** Predefined tool call sound type to play during tool execution for all tools from this MCP server */
21
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
22
+ /** Determines when the tool call sound should play for all tools from this MCP server */
23
+ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
24
+ /** Determines when and how all tools from this MCP server execute: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
25
+ executionMode?: ElevenLabs.ToolExecutionMode;
26
+ /** List of per-tool configuration overrides that override the server-level defaults for specific tools */
27
+ toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[];
20
28
  }
@@ -1,2 +1,2 @@
1
1
  import * as ElevenLabs from "../index";
2
- export type McpServerConfigInputRequestHeadersValue = string | ElevenLabs.ConvAiSecretLocator;
2
+ export type McpServerConfigInputRequestHeadersValue = string | ElevenLabs.ConvAiSecretLocator | ElevenLabs.ConvAiDynamicVariable;
@@ -15,6 +15,14 @@ export interface McpServerConfigOutput {
15
15
  description?: string;
16
16
  /** If true, all tools from this MCP server will require pre-tool execution speech */
17
17
  forcePreToolSpeech?: boolean;
18
- /** If true, the user will not be able to interrupt the agent while tools from this MCP server are running */
18
+ /** If true, the user will not be able to interrupt the agent while any tool from this MCP server is running. */
19
19
  disableInterruptions?: boolean;
20
+ /** Predefined tool call sound type to play during tool execution for all tools from this MCP server */
21
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
22
+ /** Determines when the tool call sound should play for all tools from this MCP server */
23
+ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
24
+ /** Determines when and how all tools from this MCP server execute: 'immediate' executes the tool right away when requested by the LLM, 'post_tool_speech' waits for the agent to finish speaking before executing, 'async' runs the tool in the background without blocking - best for long-running operations. */
25
+ executionMode?: ElevenLabs.ToolExecutionMode;
26
+ /** List of per-tool configuration overrides that override the server-level defaults for specific tools */
27
+ toolConfigOverrides?: ElevenLabs.McpToolConfigOverride[];
20
28
  }
@@ -1,2 +1,2 @@
1
1
  import * as ElevenLabs from "../index";
2
- export type McpServerConfigOutputRequestHeadersValue = string | ElevenLabs.ConvAiSecretLocator;
2
+ export type McpServerConfigOutputRequestHeadersValue = string | ElevenLabs.ConvAiSecretLocator | ElevenLabs.ConvAiDynamicVariable;
@@ -0,0 +1,17 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface McpToolConfigOverride {
3
+ /** The name of the MCP tool */
4
+ toolName: string;
5
+ /** If set, overrides the server's force_pre_tool_speech setting for this tool */
6
+ forcePreToolSpeech?: boolean;
7
+ /** If set, overrides the server's disable_interruptions setting for this tool */
8
+ disableInterruptions?: boolean;
9
+ /** If set, overrides the server's tool_call_sound setting for this tool */
10
+ toolCallSound?: ElevenLabs.ToolCallSoundType;
11
+ /** If set, overrides the server's tool_call_sound_behavior setting for this tool */
12
+ toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
13
+ /** If set, overrides the server's execution_mode setting for this tool */
14
+ executionMode?: ElevenLabs.ToolExecutionMode;
15
+ /** Dynamic variable assignments for this MCP tool */
16
+ assignments?: ElevenLabs.DynamicVariableAssignment[];
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
1
  export declare const MetricType: {
2
2
  readonly Credits: "credits";
3
+ readonly TtsCharacters: "tts_characters";
3
4
  readonly MinutesUsed: "minutes_used";
4
5
  readonly RequestCount: "request_count";
5
6
  readonly TtfbAvg: "ttfb_avg";
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.MetricType = void 0;
5
5
  exports.MetricType = {
6
6
  Credits: "credits",
7
+ TtsCharacters: "tts_characters",
7
8
  MinutesUsed: "minutes_used",
8
9
  RequestCount: "request_count",
9
10
  TtfbAvg: "ttfb_avg",
@@ -0,0 +1,14 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface ModerationConfig {
3
+ sexual?: ElevenLabs.ThresholdGuardrail;
4
+ violence?: ElevenLabs.ThresholdGuardrail;
5
+ violenceGraphic?: ElevenLabs.ThresholdGuardrail;
6
+ harassment?: ElevenLabs.ThresholdGuardrail;
7
+ harassmentThreatening?: ElevenLabs.ThresholdGuardrail;
8
+ hate?: ElevenLabs.ThresholdGuardrail;
9
+ hateThreatening?: ElevenLabs.ThresholdGuardrail;
10
+ selfHarmInstructions?: ElevenLabs.ThresholdGuardrail;
11
+ selfHarm?: ElevenLabs.ThresholdGuardrail;
12
+ selfHarmIntent?: ElevenLabs.ThresholdGuardrail;
13
+ sexualMinors?: ElevenLabs.ThresholdGuardrail;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface ModerationGuardrailInput {
3
+ config?: ElevenLabs.ModerationConfig;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface ModerationGuardrailOutput {
3
+ config?: ElevenLabs.ModerationConfig;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import * as ElevenLabs from "../index";
2
+ export interface ObjectOverrideInput {
3
+ description?: string;
4
+ properties?: Record<string, ElevenLabs.ObjectOverrideInputPropertiesValue | undefined>;
5
+ required?: string[];
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ import * as ElevenLabs from "../index";
2
+ export type ObjectOverrideInputPropertiesValue = ElevenLabs.LiteralOverride | ElevenLabs.ObjectOverrideInput;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });