@elevenlabs/elevenlabs-js 2.34.0 → 2.35.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 (967) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/BaseClient.js +2 -2
  3. package/Client.d.ts +0 -8
  4. package/Client.js +0 -37
  5. package/api/resources/conversationalAi/resources/index.d.ts +1 -0
  6. package/api/resources/conversationalAi/resources/index.js +1 -0
  7. package/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +25 -0
  8. package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +75 -0
  9. package/api/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +26 -0
  10. package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  11. package/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  12. package/api/resources/conversationalAi/resources/whatsapp/index.js +1 -0
  13. package/api/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +13 -0
  14. package/api/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
  15. package/api/resources/conversationalAi/resources/whatsapp/types/index.js +17 -0
  16. package/api/resources/index.d.ts +6 -0
  17. package/api/resources/index.js +7 -1
  18. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
  19. package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +1 -1
  20. package/api/resources/studio/resources/projects/client/Client.d.ts +13 -0
  21. package/api/resources/studio/resources/projects/client/Client.js +60 -0
  22. package/api/resources/v1SpeechToTextRealtime/index.d.ts +1 -0
  23. package/api/resources/v1SpeechToTextRealtime/index.js +17 -0
  24. package/api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +5 -0
  25. package/api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +6 -0
  26. package/{dist/api/types/BanReasonType.js → api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js} +4 -3
  27. package/api/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
  28. package/api/resources/v1SpeechToTextRealtime/types/index.js +18 -0
  29. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
  30. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
  31. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +5 -0
  32. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +5 -0
  33. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js +3 -0
  34. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
  35. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
  36. package/api/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
  37. package/api/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
  38. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +5 -0
  39. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js +3 -0
  40. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +5 -0
  41. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +3 -0
  42. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
  43. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -0
  44. package/api/types/AgentTransfer.d.ts +1 -0
  45. package/api/types/Alignment.d.ts +25 -0
  46. package/api/types/Alignment.js +3 -0
  47. package/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
  48. package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
  49. package/api/types/AudioFormatEnum.d.ts +11 -0
  50. package/api/types/AudioFormatEnum.js +14 -0
  51. package/api/types/AudioOutput.d.ts +10 -0
  52. package/api/types/AudioOutput.js +3 -0
  53. package/api/types/AudioOutputMulti.d.ts +12 -0
  54. package/api/types/AudioOutputMulti.js +3 -0
  55. package/api/types/AuthSettings.d.ts +2 -0
  56. package/api/types/CanvasPlacement.d.ts +2 -2
  57. package/api/types/ClientToolConfigInput.d.ts +2 -0
  58. package/api/types/ClientToolConfigOutput.d.ts +2 -0
  59. package/api/types/CloseConnection.d.ts +4 -0
  60. package/api/types/CloseConnection.js +3 -0
  61. package/api/types/CloseContext.d.ts +9 -0
  62. package/api/types/CloseContext.js +3 -0
  63. package/api/types/CloseSocket.d.ts +7 -0
  64. package/api/types/CloseSocket.js +3 -0
  65. package/api/types/CommittedTranscriptPayload.d.ts +9 -0
  66. package/api/types/CommittedTranscriptPayload.js +3 -0
  67. package/api/types/CommittedTranscriptWithTimestampsPayload.d.ts +14 -0
  68. package/api/types/CommittedTranscriptWithTimestampsPayload.js +3 -0
  69. package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
  70. package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
  71. package/{dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +2 -2
  72. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js +3 -0
  73. package/api/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +2 -2
  74. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +3 -0
  75. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +14 -0
  76. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +3 -0
  77. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +40 -0
  78. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +3 -0
  79. package/api/types/ConversationInitiationSource.d.ts +1 -0
  80. package/api/types/ConversationInitiationSource.js +1 -0
  81. package/api/types/ConversationTurnMetrics.d.ts +1 -0
  82. package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -2
  83. package/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -2
  84. package/api/types/DynamicVariableAssignment.d.ts +2 -0
  85. package/api/types/FinalOutput.d.ts +4 -0
  86. package/api/types/FinalOutput.js +3 -0
  87. package/api/types/FinalOutputMulti.d.ts +9 -0
  88. package/api/types/FinalOutputMulti.js +3 -0
  89. package/api/types/FlushContext.d.ts +11 -0
  90. package/api/types/FlushContext.js +3 -0
  91. package/api/types/GenerationConfig.d.ts +30 -0
  92. package/api/types/GenerationConfig.js +3 -0
  93. package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -2
  94. package/api/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -2
  95. package/api/types/InitialiseContext.d.ts +18 -0
  96. package/api/types/InitialiseContext.js +3 -0
  97. package/api/types/InitializeConnection.d.ts +18 -0
  98. package/api/types/InitializeConnection.js +3 -0
  99. package/api/types/InitializeConnectionMulti.d.ts +18 -0
  100. package/api/types/InitializeConnectionMulti.js +3 -0
  101. package/api/types/InputAudioChunkPayload.d.ts +15 -0
  102. package/api/types/InputAudioChunkPayload.js +3 -0
  103. package/api/types/KeepContextAlive.d.ts +9 -0
  104. package/api/types/KeepContextAlive.js +3 -0
  105. package/api/types/NormalizedAlignment.d.ts +25 -0
  106. package/api/types/NormalizedAlignment.js +3 -0
  107. package/api/types/PartialTranscriptPayload.d.ts +9 -0
  108. package/api/types/PartialTranscriptPayload.js +3 -0
  109. package/api/types/ProjectExternalAudioResponseModel.d.ts +1 -0
  110. package/api/types/ProjectMutedTracksResponseModel.d.ts +4 -0
  111. package/api/types/ProjectMutedTracksResponseModel.js +3 -0
  112. package/api/types/ProjectVideoResponseModel.d.ts +1 -0
  113. package/api/types/PronunciationDictionaryLocator.d.ts +9 -0
  114. package/api/types/PronunciationDictionaryLocator.js +3 -0
  115. package/api/types/RealtimeVoiceSettings.d.ts +12 -0
  116. package/api/types/RealtimeVoiceSettings.js +3 -0
  117. package/api/types/ScribeAuthErrorPayload.d.ts +9 -0
  118. package/api/types/ScribeAuthErrorPayload.js +3 -0
  119. package/api/types/ScribeChunkSizeExceededErrorPayload.d.ts +9 -0
  120. package/api/types/ScribeChunkSizeExceededErrorPayload.js +3 -0
  121. package/api/types/ScribeErrorPayload.d.ts +9 -0
  122. package/api/types/ScribeErrorPayload.js +3 -0
  123. package/api/types/ScribeInputErrorPayload.d.ts +9 -0
  124. package/api/types/ScribeInputErrorPayload.js +3 -0
  125. package/api/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +9 -0
  126. package/api/types/ScribeInsufficientAudioActivityErrorPayload.js +3 -0
  127. package/api/types/ScribeQueueOverflowErrorPayload.d.ts +9 -0
  128. package/api/types/ScribeQueueOverflowErrorPayload.js +3 -0
  129. package/api/types/ScribeQuotaExceededErrorPayload.d.ts +9 -0
  130. package/api/types/ScribeQuotaExceededErrorPayload.js +3 -0
  131. package/api/types/ScribeRateLimitedErrorPayload.d.ts +9 -0
  132. package/api/types/ScribeRateLimitedErrorPayload.js +3 -0
  133. package/api/types/ScribeResourceExhaustedErrorPayload.d.ts +9 -0
  134. package/api/types/ScribeResourceExhaustedErrorPayload.js +3 -0
  135. package/api/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +9 -0
  136. package/api/types/ScribeSessionTimeLimitExceededErrorPayload.js +3 -0
  137. package/api/types/ScribeThrottledErrorPayload.d.ts +9 -0
  138. package/api/types/ScribeThrottledErrorPayload.js +3 -0
  139. package/api/types/ScribeTranscriberErrorPayload.d.ts +9 -0
  140. package/api/types/ScribeTranscriberErrorPayload.js +3 -0
  141. package/api/types/ScribeUnacceptedTermsErrorPayload.d.ts +9 -0
  142. package/api/types/ScribeUnacceptedTermsErrorPayload.js +3 -0
  143. package/api/types/SeatType.d.ts +1 -0
  144. package/api/types/SeatType.js +1 -0
  145. package/api/types/SendText.d.ts +29 -0
  146. package/api/types/SendText.js +3 -0
  147. package/api/types/SendTextMulti.d.ts +11 -0
  148. package/api/types/SendTextMulti.js +3 -0
  149. package/api/types/SessionStartedPayload.d.ts +12 -0
  150. package/api/types/SessionStartedPayload.js +3 -0
  151. package/api/types/SessionStartedPayloadConfig.d.ts +29 -0
  152. package/api/types/SessionStartedPayloadConfig.js +3 -0
  153. package/api/types/SessionStartedPayloadConfigCommitStrategy.d.ts +6 -0
  154. package/api/types/SessionStartedPayloadConfigCommitStrategy.js +9 -0
  155. package/api/types/SystemToolConfigInput.d.ts +2 -0
  156. package/api/types/SystemToolConfigOutput.d.ts +2 -0
  157. package/api/types/TestFromConversationMetadataInput.d.ts +1 -0
  158. package/api/types/TestFromConversationMetadataOutput.d.ts +1 -0
  159. package/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
  160. package/api/types/TextToSpeechApplyTextNormalizationEnum.js +10 -0
  161. package/api/types/TextToSpeechOutputFormatEnum.d.ts +22 -0
  162. package/api/types/TextToSpeechOutputFormatEnum.js +25 -0
  163. package/api/types/ToolErrorHandlingMode.d.ts +8 -0
  164. package/api/types/ToolErrorHandlingMode.js +11 -0
  165. package/api/types/TranscriptionWord.d.ts +20 -0
  166. package/api/types/TranscriptionWord.js +3 -0
  167. package/api/types/TranscriptionWordType.d.ts +6 -0
  168. package/api/types/TranscriptionWordType.js +9 -0
  169. package/api/types/TransferBranchInfoDefaultingToMain.d.ts +3 -0
  170. package/api/types/TransferBranchInfoDefaultingToMain.js +3 -0
  171. package/api/types/TransferBranchInfoTrafficSplit.d.ts +4 -0
  172. package/api/types/TransferBranchInfoTrafficSplit.js +3 -0
  173. package/api/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
  174. package/api/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +10 -0
  175. package/api/types/TransferToAgentToolResultSuccessModelBranchInfo.js +3 -0
  176. package/api/types/TtsConversationalConfigInput.d.ts +2 -0
  177. package/api/types/TtsConversationalConfigOutput.d.ts +2 -0
  178. package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
  179. package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
  180. package/api/types/TtsConversationalModel.d.ts +1 -0
  181. package/api/types/TtsConversationalModel.js +1 -0
  182. package/api/types/TtsModelFamily.d.ts +1 -0
  183. package/api/types/TtsModelFamily.js +1 -0
  184. package/api/types/TurnModel.d.ts +6 -0
  185. package/api/types/TurnModel.js +9 -0
  186. package/api/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
  187. package/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
  188. package/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +7 -0
  189. package/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +3 -0
  190. package/api/types/WebhookToolConfigInput.d.ts +2 -0
  191. package/api/types/WebhookToolConfigOutput.d.ts +2 -0
  192. package/api/types/WebsocketTtsClientMessageMulti.d.ts +31 -0
  193. package/api/types/WebsocketTtsClientMessageMulti.js +3 -0
  194. package/api/types/WebsocketTtsServerMessageMulti.d.ts +14 -0
  195. package/api/types/WebsocketTtsServerMessageMulti.js +3 -0
  196. package/api/types/WhatsAppConversationInfo.d.ts +1 -0
  197. package/api/types/WhatsAppOutboundMessageResponse.d.ts +3 -0
  198. package/api/types/WhatsAppOutboundMessageResponse.js +3 -0
  199. package/api/types/WhatsAppTemplateBodyComponentParams.d.ts +4 -0
  200. package/api/types/WhatsAppTemplateBodyComponentParams.js +3 -0
  201. package/api/types/WhatsAppTemplateButtonComponentParams.d.ts +6 -0
  202. package/api/types/WhatsAppTemplateButtonComponentParams.js +3 -0
  203. package/api/types/WhatsAppTemplateDocumentParam.d.ts +4 -0
  204. package/api/types/WhatsAppTemplateDocumentParam.js +3 -0
  205. package/api/types/WhatsAppTemplateDocumentParamDetails.d.ts +4 -0
  206. package/api/types/WhatsAppTemplateDocumentParamDetails.js +3 -0
  207. package/api/types/WhatsAppTemplateHeaderComponentParams.d.ts +4 -0
  208. package/api/types/WhatsAppTemplateHeaderComponentParams.js +3 -0
  209. package/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +16 -0
  210. package/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +3 -0
  211. package/api/types/WhatsAppTemplateImageParam.d.ts +4 -0
  212. package/api/types/WhatsAppTemplateImageParam.js +3 -0
  213. package/api/types/WhatsAppTemplateImageParamDetails.d.ts +3 -0
  214. package/api/types/WhatsAppTemplateImageParamDetails.js +3 -0
  215. package/api/types/WhatsAppTemplateLocationParam.d.ts +4 -0
  216. package/api/types/WhatsAppTemplateLocationParam.js +3 -0
  217. package/api/types/WhatsAppTemplateLocationParamDetails.d.ts +6 -0
  218. package/api/types/WhatsAppTemplateLocationParamDetails.js +3 -0
  219. package/api/types/WhatsAppTemplateTextParam.d.ts +5 -0
  220. package/api/types/WhatsAppTemplateTextParam.js +3 -0
  221. package/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
  222. package/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
  223. package/api/types/WorkspaceResourceType.d.ts +1 -0
  224. package/api/types/WorkspaceResourceType.js +1 -0
  225. package/api/types/index.d.ts +69 -4
  226. package/api/types/index.js +69 -4
  227. package/dist/BaseClient.js +2 -2
  228. package/dist/Client.d.ts +0 -8
  229. package/dist/Client.js +0 -37
  230. package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
  231. package/dist/api/resources/conversationalAi/resources/index.js +1 -0
  232. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +25 -0
  233. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +75 -0
  234. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +26 -0
  235. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js +3 -0
  236. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  237. package/dist/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  238. package/dist/api/resources/conversationalAi/resources/whatsapp/index.js +1 -0
  239. package/dist/api/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +13 -0
  240. package/dist/api/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js +3 -0
  241. package/dist/api/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
  242. package/dist/api/resources/conversationalAi/resources/whatsapp/types/index.js +17 -0
  243. package/dist/api/resources/index.d.ts +6 -0
  244. package/dist/api/resources/index.js +7 -1
  245. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
  246. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +1 -1
  247. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +13 -0
  248. package/dist/api/resources/studio/resources/projects/client/Client.js +60 -0
  249. package/dist/api/resources/v1SpeechToTextRealtime/index.d.ts +1 -0
  250. package/dist/api/resources/v1SpeechToTextRealtime/index.js +17 -0
  251. package/dist/api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +5 -0
  252. package/dist/api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js +3 -0
  253. package/dist/api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +6 -0
  254. package/{api/types/BanReasonType.js → dist/api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js} +4 -3
  255. package/dist/api/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
  256. package/dist/api/resources/v1SpeechToTextRealtime/types/index.js +18 -0
  257. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
  258. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
  259. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +5 -0
  260. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js +3 -0
  261. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +5 -0
  262. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js +3 -0
  263. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
  264. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
  265. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
  266. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
  267. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +5 -0
  268. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js +3 -0
  269. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +5 -0
  270. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +3 -0
  271. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
  272. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -0
  273. package/dist/api/types/AgentTransfer.d.ts +1 -0
  274. package/dist/api/types/Alignment.d.ts +25 -0
  275. package/dist/api/types/Alignment.js +3 -0
  276. package/dist/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
  277. package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
  278. package/dist/api/types/AudioFormatEnum.d.ts +11 -0
  279. package/dist/api/types/AudioFormatEnum.js +14 -0
  280. package/dist/api/types/AudioOutput.d.ts +10 -0
  281. package/dist/api/types/AudioOutput.js +3 -0
  282. package/dist/api/types/AudioOutputMulti.d.ts +12 -0
  283. package/dist/api/types/AudioOutputMulti.js +3 -0
  284. package/dist/api/types/AuthSettings.d.ts +2 -0
  285. package/dist/api/types/CanvasPlacement.d.ts +2 -2
  286. package/dist/api/types/ClientToolConfigInput.d.ts +2 -0
  287. package/dist/api/types/ClientToolConfigOutput.d.ts +2 -0
  288. package/dist/api/types/CloseConnection.d.ts +4 -0
  289. package/dist/api/types/CloseConnection.js +3 -0
  290. package/dist/api/types/CloseContext.d.ts +9 -0
  291. package/dist/api/types/CloseContext.js +3 -0
  292. package/dist/api/types/CloseSocket.d.ts +7 -0
  293. package/dist/api/types/CloseSocket.js +3 -0
  294. package/dist/api/types/CommittedTranscriptPayload.d.ts +9 -0
  295. package/dist/api/types/CommittedTranscriptPayload.js +3 -0
  296. package/dist/api/types/CommittedTranscriptWithTimestampsPayload.d.ts +14 -0
  297. package/dist/api/types/CommittedTranscriptWithTimestampsPayload.js +3 -0
  298. package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
  299. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
  300. package/{api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +2 -2
  301. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js +3 -0
  302. package/dist/api/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +2 -2
  303. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +3 -0
  304. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +14 -0
  305. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +3 -0
  306. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +40 -0
  307. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +3 -0
  308. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  309. package/dist/api/types/ConversationInitiationSource.js +1 -0
  310. package/dist/api/types/ConversationTurnMetrics.d.ts +1 -0
  311. package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -2
  312. package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -2
  313. package/dist/api/types/DynamicVariableAssignment.d.ts +2 -0
  314. package/dist/api/types/FinalOutput.d.ts +4 -0
  315. package/dist/api/types/FinalOutput.js +3 -0
  316. package/dist/api/types/FinalOutputMulti.d.ts +9 -0
  317. package/dist/api/types/FinalOutputMulti.js +3 -0
  318. package/dist/api/types/FlushContext.d.ts +11 -0
  319. package/dist/api/types/FlushContext.js +3 -0
  320. package/dist/api/types/GenerationConfig.d.ts +30 -0
  321. package/dist/api/types/GenerationConfig.js +3 -0
  322. package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -2
  323. package/dist/api/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -2
  324. package/dist/api/types/InitialiseContext.d.ts +18 -0
  325. package/dist/api/types/InitialiseContext.js +3 -0
  326. package/dist/api/types/InitializeConnection.d.ts +18 -0
  327. package/dist/api/types/InitializeConnection.js +3 -0
  328. package/dist/api/types/InitializeConnectionMulti.d.ts +18 -0
  329. package/dist/api/types/InitializeConnectionMulti.js +3 -0
  330. package/dist/api/types/InputAudioChunkPayload.d.ts +15 -0
  331. package/dist/api/types/InputAudioChunkPayload.js +3 -0
  332. package/dist/api/types/KeepContextAlive.d.ts +9 -0
  333. package/dist/api/types/KeepContextAlive.js +3 -0
  334. package/dist/api/types/NormalizedAlignment.d.ts +25 -0
  335. package/dist/api/types/NormalizedAlignment.js +3 -0
  336. package/dist/api/types/PartialTranscriptPayload.d.ts +9 -0
  337. package/dist/api/types/PartialTranscriptPayload.js +3 -0
  338. package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +1 -0
  339. package/dist/api/types/ProjectMutedTracksResponseModel.d.ts +4 -0
  340. package/dist/api/types/ProjectMutedTracksResponseModel.js +3 -0
  341. package/dist/api/types/ProjectVideoResponseModel.d.ts +1 -0
  342. package/dist/api/types/PronunciationDictionaryLocator.d.ts +9 -0
  343. package/dist/api/types/PronunciationDictionaryLocator.js +3 -0
  344. package/dist/api/types/RealtimeVoiceSettings.d.ts +12 -0
  345. package/dist/api/types/RealtimeVoiceSettings.js +3 -0
  346. package/dist/api/types/ScribeAuthErrorPayload.d.ts +9 -0
  347. package/dist/api/types/ScribeAuthErrorPayload.js +3 -0
  348. package/dist/api/types/ScribeChunkSizeExceededErrorPayload.d.ts +9 -0
  349. package/dist/api/types/ScribeChunkSizeExceededErrorPayload.js +3 -0
  350. package/dist/api/types/ScribeErrorPayload.d.ts +9 -0
  351. package/dist/api/types/ScribeErrorPayload.js +3 -0
  352. package/dist/api/types/ScribeInputErrorPayload.d.ts +9 -0
  353. package/dist/api/types/ScribeInputErrorPayload.js +3 -0
  354. package/dist/api/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +9 -0
  355. package/dist/api/types/ScribeInsufficientAudioActivityErrorPayload.js +3 -0
  356. package/dist/api/types/ScribeQueueOverflowErrorPayload.d.ts +9 -0
  357. package/dist/api/types/ScribeQueueOverflowErrorPayload.js +3 -0
  358. package/dist/api/types/ScribeQuotaExceededErrorPayload.d.ts +9 -0
  359. package/dist/api/types/ScribeQuotaExceededErrorPayload.js +3 -0
  360. package/dist/api/types/ScribeRateLimitedErrorPayload.d.ts +9 -0
  361. package/dist/api/types/ScribeRateLimitedErrorPayload.js +3 -0
  362. package/dist/api/types/ScribeResourceExhaustedErrorPayload.d.ts +9 -0
  363. package/dist/api/types/ScribeResourceExhaustedErrorPayload.js +3 -0
  364. package/dist/api/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +9 -0
  365. package/dist/api/types/ScribeSessionTimeLimitExceededErrorPayload.js +3 -0
  366. package/dist/api/types/ScribeThrottledErrorPayload.d.ts +9 -0
  367. package/dist/api/types/ScribeThrottledErrorPayload.js +3 -0
  368. package/dist/api/types/ScribeTranscriberErrorPayload.d.ts +9 -0
  369. package/dist/api/types/ScribeTranscriberErrorPayload.js +3 -0
  370. package/dist/api/types/ScribeUnacceptedTermsErrorPayload.d.ts +9 -0
  371. package/dist/api/types/ScribeUnacceptedTermsErrorPayload.js +3 -0
  372. package/dist/api/types/SeatType.d.ts +1 -0
  373. package/dist/api/types/SeatType.js +1 -0
  374. package/dist/api/types/SendText.d.ts +29 -0
  375. package/dist/api/types/SendText.js +3 -0
  376. package/dist/api/types/SendTextMulti.d.ts +11 -0
  377. package/dist/api/types/SendTextMulti.js +3 -0
  378. package/dist/api/types/SessionStartedPayload.d.ts +12 -0
  379. package/dist/api/types/SessionStartedPayload.js +3 -0
  380. package/dist/api/types/SessionStartedPayloadConfig.d.ts +29 -0
  381. package/dist/api/types/SessionStartedPayloadConfig.js +3 -0
  382. package/dist/api/types/SessionStartedPayloadConfigCommitStrategy.d.ts +6 -0
  383. package/dist/api/types/SessionStartedPayloadConfigCommitStrategy.js +9 -0
  384. package/dist/api/types/SystemToolConfigInput.d.ts +2 -0
  385. package/dist/api/types/SystemToolConfigOutput.d.ts +2 -0
  386. package/dist/api/types/TestFromConversationMetadataInput.d.ts +1 -0
  387. package/dist/api/types/TestFromConversationMetadataOutput.d.ts +1 -0
  388. package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
  389. package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.js +10 -0
  390. package/dist/api/types/TextToSpeechOutputFormatEnum.d.ts +22 -0
  391. package/dist/api/types/TextToSpeechOutputFormatEnum.js +25 -0
  392. package/dist/api/types/ToolErrorHandlingMode.d.ts +8 -0
  393. package/dist/api/types/ToolErrorHandlingMode.js +11 -0
  394. package/dist/api/types/TranscriptionWord.d.ts +20 -0
  395. package/dist/api/types/TranscriptionWord.js +3 -0
  396. package/dist/api/types/TranscriptionWordType.d.ts +6 -0
  397. package/dist/api/types/TranscriptionWordType.js +9 -0
  398. package/dist/api/types/TransferBranchInfoDefaultingToMain.d.ts +3 -0
  399. package/dist/api/types/TransferBranchInfoDefaultingToMain.js +3 -0
  400. package/dist/api/types/TransferBranchInfoTrafficSplit.d.ts +4 -0
  401. package/dist/api/types/TransferBranchInfoTrafficSplit.js +3 -0
  402. package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
  403. package/dist/api/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +10 -0
  404. package/dist/api/types/TransferToAgentToolResultSuccessModelBranchInfo.js +3 -0
  405. package/dist/api/types/TtsConversationalConfigInput.d.ts +2 -0
  406. package/dist/api/types/TtsConversationalConfigOutput.d.ts +2 -0
  407. package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
  408. package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
  409. package/dist/api/types/TtsConversationalModel.d.ts +1 -0
  410. package/dist/api/types/TtsConversationalModel.js +1 -0
  411. package/dist/api/types/TtsModelFamily.d.ts +1 -0
  412. package/dist/api/types/TtsModelFamily.js +1 -0
  413. package/dist/api/types/TurnModel.d.ts +6 -0
  414. package/dist/api/types/TurnModel.js +9 -0
  415. package/dist/api/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
  416. package/dist/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
  417. package/dist/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +7 -0
  418. package/dist/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +3 -0
  419. package/dist/api/types/WebhookToolConfigInput.d.ts +2 -0
  420. package/dist/api/types/WebhookToolConfigOutput.d.ts +2 -0
  421. package/dist/api/types/WebsocketTtsClientMessageMulti.d.ts +31 -0
  422. package/dist/api/types/WebsocketTtsClientMessageMulti.js +3 -0
  423. package/dist/api/types/WebsocketTtsServerMessageMulti.d.ts +14 -0
  424. package/dist/api/types/WebsocketTtsServerMessageMulti.js +3 -0
  425. package/dist/api/types/WhatsAppConversationInfo.d.ts +1 -0
  426. package/dist/api/types/WhatsAppOutboundMessageResponse.d.ts +3 -0
  427. package/dist/api/types/WhatsAppOutboundMessageResponse.js +3 -0
  428. package/dist/api/types/WhatsAppTemplateBodyComponentParams.d.ts +4 -0
  429. package/dist/api/types/WhatsAppTemplateBodyComponentParams.js +3 -0
  430. package/dist/api/types/WhatsAppTemplateButtonComponentParams.d.ts +6 -0
  431. package/dist/api/types/WhatsAppTemplateButtonComponentParams.js +3 -0
  432. package/dist/api/types/WhatsAppTemplateDocumentParam.d.ts +4 -0
  433. package/dist/api/types/WhatsAppTemplateDocumentParam.js +3 -0
  434. package/dist/api/types/WhatsAppTemplateDocumentParamDetails.d.ts +4 -0
  435. package/dist/api/types/WhatsAppTemplateDocumentParamDetails.js +3 -0
  436. package/dist/api/types/WhatsAppTemplateHeaderComponentParams.d.ts +4 -0
  437. package/dist/api/types/WhatsAppTemplateHeaderComponentParams.js +3 -0
  438. package/dist/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +16 -0
  439. package/dist/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +3 -0
  440. package/dist/api/types/WhatsAppTemplateImageParam.d.ts +4 -0
  441. package/dist/api/types/WhatsAppTemplateImageParam.js +3 -0
  442. package/dist/api/types/WhatsAppTemplateImageParamDetails.d.ts +3 -0
  443. package/dist/api/types/WhatsAppTemplateImageParamDetails.js +3 -0
  444. package/dist/api/types/WhatsAppTemplateLocationParam.d.ts +4 -0
  445. package/dist/api/types/WhatsAppTemplateLocationParam.js +3 -0
  446. package/dist/api/types/WhatsAppTemplateLocationParamDetails.d.ts +6 -0
  447. package/dist/api/types/WhatsAppTemplateLocationParamDetails.js +3 -0
  448. package/dist/api/types/WhatsAppTemplateTextParam.d.ts +5 -0
  449. package/dist/api/types/WhatsAppTemplateTextParam.js +3 -0
  450. package/dist/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
  451. package/dist/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
  452. package/dist/api/types/WorkspaceResourceType.d.ts +1 -0
  453. package/dist/api/types/WorkspaceResourceType.js +1 -0
  454. package/dist/api/types/index.d.ts +69 -4
  455. package/dist/api/types/index.js +69 -4
  456. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
  457. package/dist/serialization/resources/conversationalAi/resources/index.js +1 -0
  458. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +17 -0
  459. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js +49 -0
  460. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  461. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +3 -1
  462. package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  463. package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.js +1 -0
  464. package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +19 -0
  465. package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js +51 -0
  466. package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
  467. package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/index.js +17 -0
  468. package/dist/serialization/resources/index.d.ts +6 -0
  469. package/dist/serialization/resources/index.js +7 -1
  470. package/dist/serialization/resources/v1SpeechToTextRealtime/index.d.ts +1 -0
  471. package/dist/serialization/resources/v1SpeechToTextRealtime/index.js +17 -0
  472. package/dist/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +24 -0
  473. package/dist/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js +74 -0
  474. package/dist/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +7 -0
  475. package/dist/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js +39 -0
  476. package/dist/serialization/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
  477. package/dist/serialization/resources/v1SpeechToTextRealtime/types/index.js +18 -0
  478. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
  479. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
  480. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +9 -0
  481. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js +41 -0
  482. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +14 -0
  483. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js +54 -0
  484. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
  485. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
  486. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
  487. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
  488. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +9 -0
  489. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js +41 -0
  490. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +10 -0
  491. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +42 -0
  492. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
  493. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -0
  494. package/dist/serialization/types/AgentTransfer.d.ts +1 -0
  495. package/dist/serialization/types/AgentTransfer.js +1 -0
  496. package/dist/serialization/types/Alignment.d.ts +11 -0
  497. package/dist/serialization/types/Alignment.js +43 -0
  498. package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
  499. package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.js +2 -0
  500. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
  501. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +2 -0
  502. package/dist/serialization/types/AudioFormatEnum.d.ts +7 -0
  503. package/dist/serialization/types/AudioFormatEnum.js +47 -0
  504. package/dist/serialization/types/AudioOutput.d.ts +13 -0
  505. package/dist/serialization/types/AudioOutput.js +45 -0
  506. package/dist/serialization/types/AudioOutputMulti.d.ts +14 -0
  507. package/dist/serialization/types/AudioOutputMulti.js +46 -0
  508. package/dist/serialization/types/AuthSettings.d.ts +1 -0
  509. package/dist/serialization/types/AuthSettings.js +1 -0
  510. package/dist/serialization/types/CanvasPlacement.d.ts +2 -2
  511. package/dist/serialization/types/CanvasPlacement.js +2 -2
  512. package/dist/serialization/types/ClientToolConfigInput.d.ts +2 -0
  513. package/dist/serialization/types/ClientToolConfigInput.js +2 -0
  514. package/dist/serialization/types/ClientToolConfigOutput.d.ts +2 -0
  515. package/dist/serialization/types/ClientToolConfigOutput.js +2 -0
  516. package/dist/serialization/types/CloseConnection.d.ts +9 -0
  517. package/dist/serialization/types/CloseConnection.js +41 -0
  518. package/dist/serialization/types/CloseContext.d.ts +10 -0
  519. package/dist/serialization/types/CloseContext.js +42 -0
  520. package/dist/serialization/types/CloseSocket.d.ts +9 -0
  521. package/dist/serialization/types/CloseSocket.js +41 -0
  522. package/dist/serialization/types/CommittedTranscriptPayload.d.ts +10 -0
  523. package/dist/serialization/types/CommittedTranscriptPayload.js +42 -0
  524. package/dist/serialization/types/CommittedTranscriptWithTimestampsPayload.d.ts +13 -0
  525. package/dist/serialization/types/CommittedTranscriptWithTimestampsPayload.js +45 -0
  526. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -2
  527. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -2
  528. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -2
  529. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -2
  530. package/dist/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +4 -4
  531. package/{serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js → dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js} +4 -4
  532. package/{serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +3 -3
  533. package/dist/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js} +2 -2
  534. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +21 -0
  535. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +53 -0
  536. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +55 -0
  537. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +69 -0
  538. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  539. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  540. package/dist/serialization/types/ConversationTurnMetrics.d.ts +1 -0
  541. package/dist/serialization/types/ConversationTurnMetrics.js +1 -0
  542. package/dist/serialization/types/DynamicVariableAssignment.d.ts +1 -0
  543. package/dist/serialization/types/DynamicVariableAssignment.js +1 -0
  544. package/dist/serialization/types/FinalOutput.d.ts +9 -0
  545. package/dist/serialization/types/FinalOutput.js +41 -0
  546. package/dist/serialization/types/FinalOutputMulti.d.ts +10 -0
  547. package/dist/serialization/types/FinalOutputMulti.js +42 -0
  548. package/dist/serialization/types/FlushContext.d.ts +11 -0
  549. package/dist/serialization/types/FlushContext.js +43 -0
  550. package/dist/serialization/types/GenerationConfig.d.ts +9 -0
  551. package/dist/serialization/types/GenerationConfig.js +41 -0
  552. package/dist/serialization/types/InitialiseContext.d.ts +18 -0
  553. package/dist/serialization/types/InitialiseContext.js +50 -0
  554. package/dist/serialization/types/InitializeConnection.d.ts +17 -0
  555. package/dist/serialization/types/InitializeConnection.js +49 -0
  556. package/dist/serialization/types/InitializeConnectionMulti.d.ts +18 -0
  557. package/dist/serialization/types/InitializeConnectionMulti.js +50 -0
  558. package/dist/serialization/types/InputAudioChunkPayload.d.ts +13 -0
  559. package/dist/serialization/types/InputAudioChunkPayload.js +45 -0
  560. package/dist/serialization/types/KeepContextAlive.d.ts +10 -0
  561. package/dist/serialization/types/KeepContextAlive.js +42 -0
  562. package/dist/serialization/types/NormalizedAlignment.d.ts +11 -0
  563. package/dist/serialization/types/NormalizedAlignment.js +43 -0
  564. package/dist/serialization/types/PartialTranscriptPayload.d.ts +10 -0
  565. package/dist/serialization/types/PartialTranscriptPayload.js +42 -0
  566. package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +1 -0
  567. package/dist/serialization/types/ProjectExternalAudioResponseModel.js +1 -0
  568. package/dist/serialization/types/ProjectMutedTracksResponseModel.d.ts +9 -0
  569. package/dist/serialization/types/ProjectMutedTracksResponseModel.js +41 -0
  570. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
  571. package/dist/serialization/types/ProjectVideoResponseModel.js +1 -0
  572. package/dist/serialization/types/PronunciationDictionaryLocator.d.ts +10 -0
  573. package/dist/serialization/types/PronunciationDictionaryLocator.js +42 -0
  574. package/dist/serialization/types/RealtimeVoiceSettings.d.ts +13 -0
  575. package/dist/serialization/types/RealtimeVoiceSettings.js +45 -0
  576. package/dist/serialization/types/ScribeAuthErrorPayload.d.ts +10 -0
  577. package/dist/serialization/types/ScribeAuthErrorPayload.js +42 -0
  578. package/dist/serialization/types/ScribeChunkSizeExceededErrorPayload.d.ts +10 -0
  579. package/dist/serialization/types/ScribeChunkSizeExceededErrorPayload.js +42 -0
  580. package/dist/serialization/types/ScribeErrorPayload.d.ts +10 -0
  581. package/dist/serialization/types/ScribeErrorPayload.js +42 -0
  582. package/dist/serialization/types/ScribeInputErrorPayload.d.ts +10 -0
  583. package/dist/serialization/types/ScribeInputErrorPayload.js +42 -0
  584. package/dist/serialization/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +10 -0
  585. package/dist/serialization/types/ScribeInsufficientAudioActivityErrorPayload.js +42 -0
  586. package/dist/serialization/types/ScribeQueueOverflowErrorPayload.d.ts +10 -0
  587. package/dist/serialization/types/ScribeQueueOverflowErrorPayload.js +42 -0
  588. package/dist/serialization/types/ScribeQuotaExceededErrorPayload.d.ts +10 -0
  589. package/dist/serialization/types/ScribeQuotaExceededErrorPayload.js +42 -0
  590. package/dist/serialization/types/ScribeRateLimitedErrorPayload.d.ts +10 -0
  591. package/dist/serialization/types/ScribeRateLimitedErrorPayload.js +42 -0
  592. package/dist/serialization/types/ScribeResourceExhaustedErrorPayload.d.ts +10 -0
  593. package/dist/serialization/types/ScribeResourceExhaustedErrorPayload.js +42 -0
  594. package/dist/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +10 -0
  595. package/dist/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.js +42 -0
  596. package/dist/serialization/types/ScribeThrottledErrorPayload.d.ts +10 -0
  597. package/dist/serialization/types/ScribeThrottledErrorPayload.js +42 -0
  598. package/dist/serialization/types/ScribeTranscriberErrorPayload.d.ts +10 -0
  599. package/dist/serialization/types/ScribeTranscriberErrorPayload.js +42 -0
  600. package/dist/serialization/types/ScribeUnacceptedTermsErrorPayload.d.ts +10 -0
  601. package/dist/serialization/types/ScribeUnacceptedTermsErrorPayload.js +42 -0
  602. package/dist/serialization/types/SeatType.d.ts +1 -1
  603. package/dist/serialization/types/SeatType.js +1 -1
  604. package/dist/serialization/types/SendText.d.ts +15 -0
  605. package/dist/serialization/types/SendText.js +47 -0
  606. package/dist/serialization/types/SendTextMulti.d.ts +11 -0
  607. package/dist/serialization/types/SendTextMulti.js +43 -0
  608. package/dist/serialization/types/SessionStartedPayload.d.ts +12 -0
  609. package/dist/serialization/types/SessionStartedPayload.js +44 -0
  610. package/dist/serialization/types/SessionStartedPayloadConfig.d.ts +22 -0
  611. package/dist/serialization/types/SessionStartedPayloadConfig.js +54 -0
  612. package/dist/serialization/types/SessionStartedPayloadConfigCommitStrategy.d.ts +7 -0
  613. package/dist/serialization/types/SessionStartedPayloadConfigCommitStrategy.js +39 -0
  614. package/dist/serialization/types/SystemToolConfigInput.d.ts +2 -0
  615. package/dist/serialization/types/SystemToolConfigInput.js +2 -0
  616. package/dist/serialization/types/SystemToolConfigOutput.d.ts +2 -0
  617. package/dist/serialization/types/SystemToolConfigOutput.js +2 -0
  618. package/dist/serialization/types/TestFromConversationMetadataInput.d.ts +1 -0
  619. package/dist/serialization/types/TestFromConversationMetadataInput.js +1 -0
  620. package/dist/serialization/types/TestFromConversationMetadataOutput.d.ts +1 -0
  621. package/dist/serialization/types/TestFromConversationMetadataOutput.js +1 -0
  622. package/dist/serialization/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
  623. package/dist/serialization/types/TextToSpeechApplyTextNormalizationEnum.js +39 -0
  624. package/dist/serialization/types/TextToSpeechOutputFormatEnum.d.ts +7 -0
  625. package/dist/serialization/types/TextToSpeechOutputFormatEnum.js +58 -0
  626. package/dist/serialization/types/ToolErrorHandlingMode.d.ts +7 -0
  627. package/dist/serialization/types/ToolErrorHandlingMode.js +39 -0
  628. package/dist/serialization/types/TranscriptionWord.d.ts +16 -0
  629. package/dist/serialization/types/TranscriptionWord.js +48 -0
  630. package/dist/serialization/types/TranscriptionWordType.d.ts +7 -0
  631. package/{serialization/types/DubbingReleaseChannel.js → dist/serialization/types/TranscriptionWordType.js} +2 -2
  632. package/dist/serialization/types/TransferBranchInfoDefaultingToMain.d.ts +9 -0
  633. package/dist/serialization/types/TransferBranchInfoDefaultingToMain.js +41 -0
  634. package/dist/serialization/types/TransferBranchInfoTrafficSplit.d.ts +10 -0
  635. package/dist/serialization/types/TransferBranchInfoTrafficSplit.js +42 -0
  636. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
  637. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +2 -0
  638. package/dist/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +15 -0
  639. package/dist/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.js +49 -0
  640. package/dist/serialization/types/TtsConversationalConfigInput.d.ts +2 -0
  641. package/dist/serialization/types/TtsConversationalConfigInput.js +2 -0
  642. package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +2 -0
  643. package/dist/serialization/types/TtsConversationalConfigOutput.js +2 -0
  644. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
  645. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +2 -0
  646. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
  647. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +2 -0
  648. package/dist/serialization/types/TtsConversationalModel.d.ts +1 -1
  649. package/dist/serialization/types/TtsConversationalModel.js +1 -0
  650. package/dist/serialization/types/TtsModelFamily.d.ts +1 -1
  651. package/dist/serialization/types/TtsModelFamily.js +1 -1
  652. package/dist/serialization/types/TurnModel.d.ts +7 -0
  653. package/dist/serialization/types/{BanReasonType.js → TurnModel.js} +2 -2
  654. package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
  655. package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.js +2 -0
  656. package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
  657. package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.js +2 -0
  658. package/dist/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +11 -0
  659. package/dist/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +43 -0
  660. package/dist/serialization/types/WebhookToolConfigInput.d.ts +2 -0
  661. package/dist/serialization/types/WebhookToolConfigInput.js +2 -0
  662. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +2 -0
  663. package/dist/serialization/types/WebhookToolConfigOutput.js +2 -0
  664. package/dist/serialization/types/WebsocketTtsClientMessageMulti.d.ts +21 -0
  665. package/dist/serialization/types/WebsocketTtsClientMessageMulti.js +53 -0
  666. package/dist/serialization/types/WebsocketTtsServerMessageMulti.d.ts +15 -0
  667. package/dist/serialization/types/WebsocketTtsServerMessageMulti.js +47 -0
  668. package/dist/serialization/types/WhatsAppConversationInfo.d.ts +1 -0
  669. package/dist/serialization/types/WhatsAppConversationInfo.js +1 -0
  670. package/dist/serialization/types/WhatsAppOutboundMessageResponse.d.ts +9 -0
  671. package/dist/serialization/types/WhatsAppOutboundMessageResponse.js +41 -0
  672. package/dist/serialization/types/WhatsAppTemplateBodyComponentParams.d.ts +10 -0
  673. package/dist/serialization/types/WhatsAppTemplateBodyComponentParams.js +42 -0
  674. package/dist/serialization/types/WhatsAppTemplateButtonComponentParams.d.ts +12 -0
  675. package/dist/serialization/types/WhatsAppTemplateButtonComponentParams.js +44 -0
  676. package/dist/serialization/types/WhatsAppTemplateDocumentParam.d.ts +10 -0
  677. package/dist/serialization/types/WhatsAppTemplateDocumentParam.js +42 -0
  678. package/dist/serialization/types/WhatsAppTemplateDocumentParamDetails.d.ts +10 -0
  679. package/dist/serialization/types/WhatsAppTemplateDocumentParamDetails.js +42 -0
  680. package/dist/serialization/types/WhatsAppTemplateHeaderComponentParams.d.ts +10 -0
  681. package/dist/serialization/types/WhatsAppTemplateHeaderComponentParams.js +42 -0
  682. package/dist/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +23 -0
  683. package/dist/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +53 -0
  684. package/dist/serialization/types/WhatsAppTemplateImageParam.d.ts +10 -0
  685. package/dist/serialization/types/WhatsAppTemplateImageParam.js +42 -0
  686. package/dist/serialization/types/WhatsAppTemplateImageParamDetails.d.ts +9 -0
  687. package/dist/serialization/types/WhatsAppTemplateImageParamDetails.js +41 -0
  688. package/dist/serialization/types/WhatsAppTemplateLocationParam.d.ts +10 -0
  689. package/dist/serialization/types/WhatsAppTemplateLocationParam.js +42 -0
  690. package/dist/serialization/types/WhatsAppTemplateLocationParamDetails.d.ts +12 -0
  691. package/dist/serialization/types/WhatsAppTemplateLocationParamDetails.js +44 -0
  692. package/dist/serialization/types/WhatsAppTemplateTextParam.d.ts +11 -0
  693. package/dist/serialization/types/WhatsAppTemplateTextParam.js +43 -0
  694. package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -2
  695. package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -2
  696. package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -2
  697. package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -2
  698. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  699. package/dist/serialization/types/WorkspaceResourceType.js +1 -0
  700. package/dist/serialization/types/index.d.ts +69 -4
  701. package/dist/serialization/types/index.js +69 -4
  702. package/dist/version.d.ts +1 -1
  703. package/dist/version.js +1 -1
  704. package/package.json +1 -1
  705. package/reference.md +138 -0
  706. package/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
  707. package/serialization/resources/conversationalAi/resources/index.js +1 -0
  708. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +17 -0
  709. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js +49 -0
  710. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  711. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +3 -1
  712. package/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  713. package/serialization/resources/conversationalAi/resources/whatsapp/index.js +1 -0
  714. package/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +19 -0
  715. package/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js +51 -0
  716. package/serialization/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
  717. package/serialization/resources/conversationalAi/resources/whatsapp/types/index.js +17 -0
  718. package/serialization/resources/index.d.ts +6 -0
  719. package/serialization/resources/index.js +7 -1
  720. package/serialization/resources/v1SpeechToTextRealtime/index.d.ts +1 -0
  721. package/serialization/resources/v1SpeechToTextRealtime/index.js +17 -0
  722. package/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +24 -0
  723. package/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js +74 -0
  724. package/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +7 -0
  725. package/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js +39 -0
  726. package/serialization/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
  727. package/serialization/resources/v1SpeechToTextRealtime/types/index.js +18 -0
  728. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
  729. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
  730. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +9 -0
  731. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js +41 -0
  732. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +14 -0
  733. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js +54 -0
  734. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
  735. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
  736. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
  737. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
  738. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +9 -0
  739. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js +41 -0
  740. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +10 -0
  741. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +42 -0
  742. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
  743. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -0
  744. package/serialization/types/AgentTransfer.d.ts +1 -0
  745. package/serialization/types/AgentTransfer.js +1 -0
  746. package/serialization/types/Alignment.d.ts +11 -0
  747. package/serialization/types/Alignment.js +43 -0
  748. package/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
  749. package/serialization/types/ApiIntegrationWebhookToolConfigInput.js +2 -0
  750. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
  751. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +2 -0
  752. package/serialization/types/AudioFormatEnum.d.ts +7 -0
  753. package/serialization/types/AudioFormatEnum.js +47 -0
  754. package/serialization/types/AudioOutput.d.ts +13 -0
  755. package/serialization/types/AudioOutput.js +45 -0
  756. package/serialization/types/AudioOutputMulti.d.ts +14 -0
  757. package/serialization/types/AudioOutputMulti.js +46 -0
  758. package/serialization/types/AuthSettings.d.ts +1 -0
  759. package/serialization/types/AuthSettings.js +1 -0
  760. package/serialization/types/CanvasPlacement.d.ts +2 -2
  761. package/serialization/types/CanvasPlacement.js +2 -2
  762. package/serialization/types/ClientToolConfigInput.d.ts +2 -0
  763. package/serialization/types/ClientToolConfigInput.js +2 -0
  764. package/serialization/types/ClientToolConfigOutput.d.ts +2 -0
  765. package/serialization/types/ClientToolConfigOutput.js +2 -0
  766. package/serialization/types/CloseConnection.d.ts +9 -0
  767. package/serialization/types/CloseConnection.js +41 -0
  768. package/serialization/types/CloseContext.d.ts +10 -0
  769. package/serialization/types/CloseContext.js +42 -0
  770. package/serialization/types/CloseSocket.d.ts +9 -0
  771. package/serialization/types/CloseSocket.js +41 -0
  772. package/serialization/types/CommittedTranscriptPayload.d.ts +10 -0
  773. package/serialization/types/CommittedTranscriptPayload.js +42 -0
  774. package/serialization/types/CommittedTranscriptWithTimestampsPayload.d.ts +13 -0
  775. package/serialization/types/CommittedTranscriptWithTimestampsPayload.js +45 -0
  776. package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -2
  777. package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -2
  778. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -2
  779. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -2
  780. package/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +4 -4
  781. package/{dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js → serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js} +4 -4
  782. package/{dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +3 -3
  783. package/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js} +2 -2
  784. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +21 -0
  785. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +53 -0
  786. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +55 -0
  787. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +69 -0
  788. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  789. package/serialization/types/ConversationInitiationSource.js +1 -0
  790. package/serialization/types/ConversationTurnMetrics.d.ts +1 -0
  791. package/serialization/types/ConversationTurnMetrics.js +1 -0
  792. package/serialization/types/DynamicVariableAssignment.d.ts +1 -0
  793. package/serialization/types/DynamicVariableAssignment.js +1 -0
  794. package/serialization/types/FinalOutput.d.ts +9 -0
  795. package/serialization/types/FinalOutput.js +41 -0
  796. package/serialization/types/FinalOutputMulti.d.ts +10 -0
  797. package/serialization/types/FinalOutputMulti.js +42 -0
  798. package/serialization/types/FlushContext.d.ts +11 -0
  799. package/serialization/types/FlushContext.js +43 -0
  800. package/serialization/types/GenerationConfig.d.ts +9 -0
  801. package/serialization/types/GenerationConfig.js +41 -0
  802. package/serialization/types/InitialiseContext.d.ts +18 -0
  803. package/serialization/types/InitialiseContext.js +50 -0
  804. package/serialization/types/InitializeConnection.d.ts +17 -0
  805. package/serialization/types/InitializeConnection.js +49 -0
  806. package/serialization/types/InitializeConnectionMulti.d.ts +18 -0
  807. package/serialization/types/InitializeConnectionMulti.js +50 -0
  808. package/serialization/types/InputAudioChunkPayload.d.ts +13 -0
  809. package/serialization/types/InputAudioChunkPayload.js +45 -0
  810. package/serialization/types/KeepContextAlive.d.ts +10 -0
  811. package/serialization/types/KeepContextAlive.js +42 -0
  812. package/serialization/types/NormalizedAlignment.d.ts +11 -0
  813. package/serialization/types/NormalizedAlignment.js +43 -0
  814. package/serialization/types/PartialTranscriptPayload.d.ts +10 -0
  815. package/serialization/types/PartialTranscriptPayload.js +42 -0
  816. package/serialization/types/ProjectExternalAudioResponseModel.d.ts +1 -0
  817. package/serialization/types/ProjectExternalAudioResponseModel.js +1 -0
  818. package/serialization/types/ProjectMutedTracksResponseModel.d.ts +9 -0
  819. package/serialization/types/ProjectMutedTracksResponseModel.js +41 -0
  820. package/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
  821. package/serialization/types/ProjectVideoResponseModel.js +1 -0
  822. package/serialization/types/PronunciationDictionaryLocator.d.ts +10 -0
  823. package/serialization/types/PronunciationDictionaryLocator.js +42 -0
  824. package/serialization/types/RealtimeVoiceSettings.d.ts +13 -0
  825. package/serialization/types/RealtimeVoiceSettings.js +45 -0
  826. package/serialization/types/ScribeAuthErrorPayload.d.ts +10 -0
  827. package/serialization/types/ScribeAuthErrorPayload.js +42 -0
  828. package/serialization/types/ScribeChunkSizeExceededErrorPayload.d.ts +10 -0
  829. package/serialization/types/ScribeChunkSizeExceededErrorPayload.js +42 -0
  830. package/serialization/types/ScribeErrorPayload.d.ts +10 -0
  831. package/serialization/types/ScribeErrorPayload.js +42 -0
  832. package/serialization/types/ScribeInputErrorPayload.d.ts +10 -0
  833. package/serialization/types/ScribeInputErrorPayload.js +42 -0
  834. package/serialization/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +10 -0
  835. package/serialization/types/ScribeInsufficientAudioActivityErrorPayload.js +42 -0
  836. package/serialization/types/ScribeQueueOverflowErrorPayload.d.ts +10 -0
  837. package/serialization/types/ScribeQueueOverflowErrorPayload.js +42 -0
  838. package/serialization/types/ScribeQuotaExceededErrorPayload.d.ts +10 -0
  839. package/serialization/types/ScribeQuotaExceededErrorPayload.js +42 -0
  840. package/serialization/types/ScribeRateLimitedErrorPayload.d.ts +10 -0
  841. package/serialization/types/ScribeRateLimitedErrorPayload.js +42 -0
  842. package/serialization/types/ScribeResourceExhaustedErrorPayload.d.ts +10 -0
  843. package/serialization/types/ScribeResourceExhaustedErrorPayload.js +42 -0
  844. package/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +10 -0
  845. package/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.js +42 -0
  846. package/serialization/types/ScribeThrottledErrorPayload.d.ts +10 -0
  847. package/serialization/types/ScribeThrottledErrorPayload.js +42 -0
  848. package/serialization/types/ScribeTranscriberErrorPayload.d.ts +10 -0
  849. package/serialization/types/ScribeTranscriberErrorPayload.js +42 -0
  850. package/serialization/types/ScribeUnacceptedTermsErrorPayload.d.ts +10 -0
  851. package/serialization/types/ScribeUnacceptedTermsErrorPayload.js +42 -0
  852. package/serialization/types/SeatType.d.ts +1 -1
  853. package/serialization/types/SeatType.js +1 -1
  854. package/serialization/types/SendText.d.ts +15 -0
  855. package/serialization/types/SendText.js +47 -0
  856. package/serialization/types/SendTextMulti.d.ts +11 -0
  857. package/serialization/types/SendTextMulti.js +43 -0
  858. package/serialization/types/SessionStartedPayload.d.ts +12 -0
  859. package/serialization/types/SessionStartedPayload.js +44 -0
  860. package/serialization/types/SessionStartedPayloadConfig.d.ts +22 -0
  861. package/serialization/types/SessionStartedPayloadConfig.js +54 -0
  862. package/serialization/types/SessionStartedPayloadConfigCommitStrategy.d.ts +7 -0
  863. package/serialization/types/SessionStartedPayloadConfigCommitStrategy.js +39 -0
  864. package/serialization/types/SystemToolConfigInput.d.ts +2 -0
  865. package/serialization/types/SystemToolConfigInput.js +2 -0
  866. package/serialization/types/SystemToolConfigOutput.d.ts +2 -0
  867. package/serialization/types/SystemToolConfigOutput.js +2 -0
  868. package/serialization/types/TestFromConversationMetadataInput.d.ts +1 -0
  869. package/serialization/types/TestFromConversationMetadataInput.js +1 -0
  870. package/serialization/types/TestFromConversationMetadataOutput.d.ts +1 -0
  871. package/serialization/types/TestFromConversationMetadataOutput.js +1 -0
  872. package/serialization/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
  873. package/serialization/types/TextToSpeechApplyTextNormalizationEnum.js +39 -0
  874. package/serialization/types/TextToSpeechOutputFormatEnum.d.ts +7 -0
  875. package/serialization/types/TextToSpeechOutputFormatEnum.js +58 -0
  876. package/serialization/types/ToolErrorHandlingMode.d.ts +7 -0
  877. package/serialization/types/ToolErrorHandlingMode.js +39 -0
  878. package/serialization/types/TranscriptionWord.d.ts +16 -0
  879. package/serialization/types/TranscriptionWord.js +48 -0
  880. package/serialization/types/TranscriptionWordType.d.ts +7 -0
  881. package/{dist/serialization/types/DubbingReleaseChannel.js → serialization/types/TranscriptionWordType.js} +2 -2
  882. package/serialization/types/TransferBranchInfoDefaultingToMain.d.ts +9 -0
  883. package/serialization/types/TransferBranchInfoDefaultingToMain.js +41 -0
  884. package/serialization/types/TransferBranchInfoTrafficSplit.d.ts +10 -0
  885. package/serialization/types/TransferBranchInfoTrafficSplit.js +42 -0
  886. package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
  887. package/serialization/types/TransferToAgentToolResultSuccessModel.js +2 -0
  888. package/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +15 -0
  889. package/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.js +49 -0
  890. package/serialization/types/TtsConversationalConfigInput.d.ts +2 -0
  891. package/serialization/types/TtsConversationalConfigInput.js +2 -0
  892. package/serialization/types/TtsConversationalConfigOutput.d.ts +2 -0
  893. package/serialization/types/TtsConversationalConfigOutput.js +2 -0
  894. package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
  895. package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +2 -0
  896. package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
  897. package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +2 -0
  898. package/serialization/types/TtsConversationalModel.d.ts +1 -1
  899. package/serialization/types/TtsConversationalModel.js +1 -0
  900. package/serialization/types/TtsModelFamily.d.ts +1 -1
  901. package/serialization/types/TtsModelFamily.js +1 -1
  902. package/serialization/types/TurnModel.d.ts +7 -0
  903. package/serialization/types/{BanReasonType.js → TurnModel.js} +2 -2
  904. package/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
  905. package/serialization/types/UnitTestToolCallEvaluationModelInput.js +2 -0
  906. package/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
  907. package/serialization/types/UnitTestToolCallEvaluationModelOutput.js +2 -0
  908. package/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +11 -0
  909. package/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +43 -0
  910. package/serialization/types/WebhookToolConfigInput.d.ts +2 -0
  911. package/serialization/types/WebhookToolConfigInput.js +2 -0
  912. package/serialization/types/WebhookToolConfigOutput.d.ts +2 -0
  913. package/serialization/types/WebhookToolConfigOutput.js +2 -0
  914. package/serialization/types/WebsocketTtsClientMessageMulti.d.ts +21 -0
  915. package/serialization/types/WebsocketTtsClientMessageMulti.js +53 -0
  916. package/serialization/types/WebsocketTtsServerMessageMulti.d.ts +15 -0
  917. package/serialization/types/WebsocketTtsServerMessageMulti.js +47 -0
  918. package/serialization/types/WhatsAppConversationInfo.d.ts +1 -0
  919. package/serialization/types/WhatsAppConversationInfo.js +1 -0
  920. package/serialization/types/WhatsAppOutboundMessageResponse.d.ts +9 -0
  921. package/serialization/types/WhatsAppOutboundMessageResponse.js +41 -0
  922. package/serialization/types/WhatsAppTemplateBodyComponentParams.d.ts +10 -0
  923. package/serialization/types/WhatsAppTemplateBodyComponentParams.js +42 -0
  924. package/serialization/types/WhatsAppTemplateButtonComponentParams.d.ts +12 -0
  925. package/serialization/types/WhatsAppTemplateButtonComponentParams.js +44 -0
  926. package/serialization/types/WhatsAppTemplateDocumentParam.d.ts +10 -0
  927. package/serialization/types/WhatsAppTemplateDocumentParam.js +42 -0
  928. package/serialization/types/WhatsAppTemplateDocumentParamDetails.d.ts +10 -0
  929. package/serialization/types/WhatsAppTemplateDocumentParamDetails.js +42 -0
  930. package/serialization/types/WhatsAppTemplateHeaderComponentParams.d.ts +10 -0
  931. package/serialization/types/WhatsAppTemplateHeaderComponentParams.js +42 -0
  932. package/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +23 -0
  933. package/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +53 -0
  934. package/serialization/types/WhatsAppTemplateImageParam.d.ts +10 -0
  935. package/serialization/types/WhatsAppTemplateImageParam.js +42 -0
  936. package/serialization/types/WhatsAppTemplateImageParamDetails.d.ts +9 -0
  937. package/serialization/types/WhatsAppTemplateImageParamDetails.js +41 -0
  938. package/serialization/types/WhatsAppTemplateLocationParam.d.ts +10 -0
  939. package/serialization/types/WhatsAppTemplateLocationParam.js +42 -0
  940. package/serialization/types/WhatsAppTemplateLocationParamDetails.d.ts +12 -0
  941. package/serialization/types/WhatsAppTemplateLocationParamDetails.js +44 -0
  942. package/serialization/types/WhatsAppTemplateTextParam.d.ts +11 -0
  943. package/serialization/types/WhatsAppTemplateTextParam.js +43 -0
  944. package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -2
  945. package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -2
  946. package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -2
  947. package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -2
  948. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  949. package/serialization/types/WorkspaceResourceType.js +1 -0
  950. package/serialization/types/index.d.ts +69 -4
  951. package/serialization/types/index.js +69 -4
  952. package/version.d.ts +1 -1
  953. package/version.js +1 -1
  954. package/api/types/BanReasonType.d.ts +0 -5
  955. package/api/types/DubbingReleaseChannel.d.ts +0 -6
  956. package/api/types/DubbingReleaseChannel.js +0 -9
  957. package/dist/api/types/BanReasonType.d.ts +0 -5
  958. package/dist/api/types/DubbingReleaseChannel.d.ts +0 -6
  959. package/dist/api/types/DubbingReleaseChannel.js +0 -9
  960. package/dist/serialization/types/BanReasonType.d.ts +0 -7
  961. package/dist/serialization/types/DubbingReleaseChannel.d.ts +0 -7
  962. package/serialization/types/BanReasonType.d.ts +0 -7
  963. package/serialization/types/DubbingReleaseChannel.d.ts +0 -7
  964. /package/api/{types/ConversationHistoryTranscriptSystemToolResultCommonModel.js → resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js} +0 -0
  965. /package/api/{types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js} +0 -0
  966. /package/{dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js → api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js} +0 -0
  967. /package/{dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js} +0 -0
@@ -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
+ export * from "./ReceiveMessage";
2
+ export * from "./SendMessage";
@@ -0,0 +1,18 @@
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("./ReceiveMessage"), exports);
18
+ __exportStar(require("./SendMessage"), exports);
@@ -4,4 +4,5 @@ export interface AgentTransfer {
4
4
  delayMs?: number;
5
5
  transferMessage?: string;
6
6
  enableTransferredAgentFirstMessage?: boolean;
7
+ isWorkflowNodeTransfer?: boolean;
7
8
  }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Alignment information for the generated audio given the input text sequence.
3
+ */
4
+ export interface Alignment {
5
+ /**
6
+ * A list of starting times (in milliseconds) for each character in the text as it
7
+ * corresponds to the audio. For instance, the character 'H' starts at time 0 ms in the audio.
8
+ * Note these times are relative to the returned chunk from the model, and not the
9
+ * full audio response.
10
+ */
11
+ charStartTimesMs?: number[];
12
+ /**
13
+ * A list of durations (in milliseconds) for each character in the text as it
14
+ * corresponds to the audio. For instance, the character 'H' lasts for 3 ms in the audio.
15
+ * Note these times are relative to the returned chunk from the model, and not the
16
+ * full audio response.
17
+ */
18
+ charDurationsMs?: number[];
19
+ /**
20
+ * A list of characters in the text sequence. For instance, the first character is 'H'.
21
+ * Note that this list may contain spaces, punctuation, and other special characters.
22
+ * The length of this list should be the same as the lengths of `charStartTimesMs` and `charDurationsMs`.
23
+ */
24
+ chars?: string[];
25
+ }
@@ -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 });
@@ -15,6 +15,8 @@ export interface ApiIntegrationWebhookToolConfigInput {
15
15
  toolCallSound?: ElevenLabs.ToolCallSoundType;
16
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
17
  toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
18
+ /** Controls how tool errors are processed before being shared with the agent. 'auto' determines handling based on tool type (summarized for native integrations, hide for others), 'summarized' sends an LLM-generated summary, 'passthrough' sends the raw error, 'hide' does not share the error with the agent. */
19
+ toolErrorHandlingMode?: ElevenLabs.ToolErrorHandlingMode;
18
20
  /** Configuration for dynamic variables */
19
21
  dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
20
22
  /** 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. */
@@ -15,6 +15,8 @@ export interface ApiIntegrationWebhookToolConfigOutput {
15
15
  toolCallSound?: ElevenLabs.ToolCallSoundType;
16
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
17
  toolCallSoundBehavior: ElevenLabs.ToolCallSoundBehavior;
18
+ /** Controls how tool errors are processed before being shared with the agent. 'auto' determines handling based on tool type (summarized for native integrations, hide for others), 'summarized' sends an LLM-generated summary, 'passthrough' sends the raw error, 'hide' does not share the error with the agent. */
19
+ toolErrorHandlingMode: ElevenLabs.ToolErrorHandlingMode;
18
20
  /** Configuration for dynamic variables */
19
21
  dynamicVariables: ElevenLabs.DynamicVariablesConfig;
20
22
  /** 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. */
@@ -0,0 +1,11 @@
1
+ /** Audio encoding format for speech-to-text. */
2
+ export declare const AudioFormatEnum: {
3
+ readonly Pcm8000: "pcm_8000";
4
+ readonly Pcm16000: "pcm_16000";
5
+ readonly Pcm22050: "pcm_22050";
6
+ readonly Pcm24000: "pcm_24000";
7
+ readonly Pcm44100: "pcm_44100";
8
+ readonly Pcm48000: "pcm_48000";
9
+ readonly Ulaw8000: "ulaw_8000";
10
+ };
11
+ export type AudioFormatEnum = (typeof AudioFormatEnum)[keyof typeof AudioFormatEnum];
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AudioFormatEnum = void 0;
5
+ /** Audio encoding format for speech-to-text. */
6
+ exports.AudioFormatEnum = {
7
+ Pcm8000: "pcm_8000",
8
+ Pcm16000: "pcm_16000",
9
+ Pcm22050: "pcm_22050",
10
+ Pcm24000: "pcm_24000",
11
+ Pcm44100: "pcm_44100",
12
+ Pcm48000: "pcm_48000",
13
+ Ulaw8000: "ulaw_8000",
14
+ };
@@ -0,0 +1,10 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface AudioOutput {
3
+ /**
4
+ * A generated partial audio chunk, encoded using the selected output_format, by default this
5
+ * is MP3 encoded as a base64 string.
6
+ */
7
+ audio: string;
8
+ normalizedAlignment?: ElevenLabs.NormalizedAlignment;
9
+ alignment?: ElevenLabs.Alignment;
10
+ }
@@ -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,12 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Server payload containing an audio chunk for a specific context.
4
+ */
5
+ export interface AudioOutputMulti {
6
+ /** Base64 encoded audio chunk. */
7
+ audio: string;
8
+ normalizedAlignment?: ElevenLabs.NormalizedAlignment;
9
+ alignment?: ElevenLabs.Alignment;
10
+ /** The contextId for which this audio is. */
11
+ contextId?: string;
12
+ }
@@ -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,6 +4,8 @@ export interface AuthSettings {
4
4
  enableAuth?: boolean;
5
5
  /** A list of hosts that are allowed to start conversations with the agent */
6
6
  allowlist?: ElevenLabs.AllowlistItem[];
7
+ /** When enabled, connections with no origin header will be rejected. If the allowlist is empty, this option has no effect. */
8
+ requireOriginHeader?: boolean;
7
9
  /** A shareable token that can be used to start a conversation with the agent */
8
10
  shareableToken?: string;
9
11
  }
@@ -2,8 +2,8 @@
2
2
  * Defines asset positioning and transformation on canvas.
3
3
  */
4
4
  export interface CanvasPlacement {
5
- x?: number;
6
- y?: number;
5
+ xRelative?: number;
6
+ yRelative?: number;
7
7
  scaleX?: number;
8
8
  scaleY?: number;
9
9
  pivotX?: number;
@@ -18,6 +18,8 @@ export interface ClientToolConfigInput {
18
18
  toolCallSound?: ElevenLabs.ToolCallSoundType;
19
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
20
  toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
21
+ /** Controls how tool errors are processed before being shared with the agent. 'auto' determines handling based on tool type (summarized for native integrations, hide for others), 'summarized' sends an LLM-generated summary, 'passthrough' sends the raw error, 'hide' does not share the error with the agent. */
22
+ toolErrorHandlingMode?: ElevenLabs.ToolErrorHandlingMode;
21
23
  /** Schema for any parameters to pass to the client */
22
24
  parameters?: ElevenLabs.ObjectJsonSchemaPropertyInput;
23
25
  /** 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 */
@@ -18,6 +18,8 @@ export interface ClientToolConfigOutput {
18
18
  toolCallSound?: ElevenLabs.ToolCallSoundType;
19
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
20
  toolCallSoundBehavior?: ElevenLabs.ToolCallSoundBehavior;
21
+ /** Controls how tool errors are processed before being shared with the agent. 'auto' determines handling based on tool type (summarized for native integrations, hide for others), 'summarized' sends an LLM-generated summary, 'passthrough' sends the raw error, 'hide' does not share the error with the agent. */
22
+ toolErrorHandlingMode?: ElevenLabs.ToolErrorHandlingMode;
21
23
  /** Schema for any parameters to pass to the client */
22
24
  parameters?: ElevenLabs.ObjectJsonSchemaPropertyOutput;
23
25
  /** 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 */
@@ -0,0 +1,4 @@
1
+ export interface CloseConnection {
2
+ /** End the stream with an empty string */
3
+ text: "";
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,9 @@
1
+ /**
2
+ * Payload to close a specific TTS context.
3
+ */
4
+ export interface CloseContext {
5
+ /** The context_id to close. */
6
+ contextId: string;
7
+ /** Must set the close_context to true, to close the specified context. If false, the context will remain open and the text will be ignored. If set to true, the context will close. If it has already been set to flush it will continue flushing. The same context id can be used again but will not be linked to the previous context with the same name. */
8
+ closeContext: boolean;
9
+ }
@@ -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,7 @@
1
+ /**
2
+ * Payload to signal closing the entire WebSocket connection.
3
+ */
4
+ export interface CloseSocket {
5
+ /** If true, closes all contexts and closes the entire WebSocket connection. Any context that was previously set to flush will wait to flush before closing. */
6
+ closeSocket?: boolean;
7
+ }
@@ -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,9 @@
1
+ /**
2
+ * Payload for committed transcription results.
3
+ */
4
+ export interface CommittedTranscriptPayload {
5
+ /** The message type identifier. */
6
+ messageType: "committed_transcript";
7
+ /** Committed transcription text. */
8
+ text: string;
9
+ }
@@ -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,14 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Payload for committed transcription results with word-level timestamps.
4
+ */
5
+ export interface CommittedTranscriptWithTimestampsPayload {
6
+ /** The message type identifier. */
7
+ messageType: "committed_transcript_with_timestamps";
8
+ /** Committed transcription text. */
9
+ text: string;
10
+ /** Detected or specified language code. */
11
+ languageCode?: string;
12
+ /** Word-level information with timestamps. */
13
+ words?: ElevenLabs.TranscriptionWord[];
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 });
@@ -1,2 +1,2 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export type ConversationHistoryTranscriptCommonModelInputToolResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModel | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput;
2
+ export type ConversationHistoryTranscriptCommonModelInputToolResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInput | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput;
@@ -1,2 +1,2 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export type ConversationHistoryTranscriptCommonModelOutputToolResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModel | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput;
2
+ export type ConversationHistoryTranscriptCommonModelOutputToolResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutput | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput;
@@ -1,5 +1,5 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export interface ConversationHistoryTranscriptSystemToolResultCommonModel {
2
+ export interface ConversationHistoryTranscriptSystemToolResultCommonModelInput {
3
3
  requestId: string;
4
4
  toolName: string;
5
5
  resultValue: string;
@@ -10,5 +10,5 @@ export interface ConversationHistoryTranscriptSystemToolResultCommonModel {
10
10
  rawErrorMessage?: string;
11
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
12
12
  type: "system";
13
- result?: ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult;
13
+ result?: ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult;
14
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 });
@@ -1,6 +1,6 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export type ConversationHistoryTranscriptSystemToolResultCommonModelResult = ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.EndCallSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.LanguageDetectionSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.PlayDtmfError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.PlayDtmfSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.SkipTurnSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TestingToolResult | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToAgentError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToAgentSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberSipSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberTwilioSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.VoicemailDetectionSuccess;
3
- export declare namespace ConversationHistoryTranscriptSystemToolResultCommonModelResult {
2
+ export type ConversationHistoryTranscriptSystemToolResultCommonModelInputResult = ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.EndCallSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.LanguageDetectionSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.PlayDtmfError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.PlayDtmfSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.SkipTurnSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TestingToolResult | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToAgentError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToAgentSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberSipSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberTwilioSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.VoicemailDetectionSuccess;
3
+ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonModelInputResult {
4
4
  interface EndCallSuccess extends ElevenLabs.EndCallToolResultModel {
5
5
  resultType: "end_call_success";
6
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,14 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface ConversationHistoryTranscriptSystemToolResultCommonModelOutput {
3
+ requestId: string;
4
+ toolName: string;
5
+ resultValue: string;
6
+ isError: boolean;
7
+ toolHasBeenCalled: boolean;
8
+ toolLatencySecs?: number;
9
+ errorType?: string;
10
+ rawErrorMessage?: string;
11
+ dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
12
+ type: "system";
13
+ result?: ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult;
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,40 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export type ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult = ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.EndCallSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.LanguageDetectionSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.PlayDtmfError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.PlayDtmfSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.SkipTurnSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TestingToolResult | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToAgentError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToAgentSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberSipSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberTwilioSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.VoicemailDetectionSuccess;
3
+ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult {
4
+ interface EndCallSuccess extends ElevenLabs.EndCallToolResultModel {
5
+ resultType: "end_call_success";
6
+ }
7
+ interface LanguageDetectionSuccess extends ElevenLabs.LanguageDetectionToolResultModel {
8
+ resultType: "language_detection_success";
9
+ }
10
+ interface PlayDtmfError extends ElevenLabs.PlayDtmfResultErrorModel {
11
+ resultType: "play_dtmf_error";
12
+ }
13
+ interface PlayDtmfSuccess extends ElevenLabs.PlayDtmfResultSuccessModel {
14
+ resultType: "play_dtmf_success";
15
+ }
16
+ interface SkipTurnSuccess extends ElevenLabs.SkipTurnToolResponseModel {
17
+ resultType: "skip_turn_success";
18
+ }
19
+ interface TestingToolResult extends ElevenLabs.TestToolResultModel {
20
+ resultType: "testing_tool_result";
21
+ }
22
+ interface TransferToAgentError extends ElevenLabs.TransferToAgentToolResultErrorModel {
23
+ resultType: "transfer_to_agent_error";
24
+ }
25
+ interface TransferToAgentSuccess extends ElevenLabs.TransferToAgentToolResultSuccessModel {
26
+ resultType: "transfer_to_agent_success";
27
+ }
28
+ interface TransferToNumberError extends ElevenLabs.TransferToNumberResultErrorModel {
29
+ resultType: "transfer_to_number_error";
30
+ }
31
+ interface TransferToNumberSipSuccess extends ElevenLabs.TransferToNumberResultSipSuccessModel {
32
+ resultType: "transfer_to_number_sip_success";
33
+ }
34
+ interface TransferToNumberTwilioSuccess extends ElevenLabs.TransferToNumberResultTwilioSuccessModel {
35
+ resultType: "transfer_to_number_twilio_success";
36
+ }
37
+ interface VoicemailDetectionSuccess extends ElevenLabs.VoiceMailDetectionResultSuccessModel {
38
+ resultType: "voicemail_detection_success";
39
+ }
40
+ }
@@ -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 });
@@ -15,5 +15,6 @@ export declare const ConversationInitiationSource: {
15
15
  readonly Whatsapp: "whatsapp";
16
16
  readonly FlutterSdk: "flutter_sdk";
17
17
  readonly ZendeskIntegration: "zendesk_integration";
18
+ readonly SlackIntegration: "slack_integration";
18
19
  };
19
20
  export type ConversationInitiationSource = (typeof ConversationInitiationSource)[keyof typeof ConversationInitiationSource];
@@ -19,4 +19,5 @@ exports.ConversationInitiationSource = {
19
19
  Whatsapp: "whatsapp",
20
20
  FlutterSdk: "flutter_sdk",
21
21
  ZendeskIntegration: "zendesk_integration",
22
+ SlackIntegration: "slack_integration",
22
23
  };
@@ -2,4 +2,5 @@ import type * as ElevenLabs from "../index";
2
2
  export interface ConversationTurnMetrics {
3
3
  metrics?: Record<string, ElevenLabs.MetricRecord>;
4
4
  convaiAsrProvider?: string;
5
+ convaiTtsModel?: string;
5
6
  }
@@ -4,9 +4,9 @@ export interface CreateSipTrunkPhoneNumberRequest {
4
4
  phoneNumber: string;
5
5
  /** Label for the phone number */
6
6
  label: string;
7
- /** Whether this phone number supports inbound calls */
7
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports inbound calls */
8
8
  supportsInbound?: boolean;
9
- /** Whether this phone number supports outbound calls */
9
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports outbound calls */
10
10
  supportsOutbound?: boolean;
11
11
  inboundTrunkConfig?: ElevenLabs.InboundSipTrunkConfigRequestModel;
12
12
  outboundTrunkConfig?: ElevenLabs.OutboundSipTrunkConfigRequestModel;
@@ -4,9 +4,9 @@ export interface CreateTwilioPhoneNumberRequest {
4
4
  phoneNumber: string;
5
5
  /** Label for the phone number */
6
6
  label: string;
7
- /** Whether this phone number supports inbound calls */
7
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports inbound calls */
8
8
  supportsInbound?: boolean;
9
- /** Whether this phone number supports outbound calls */
9
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports outbound calls */
10
10
  supportsOutbound?: boolean;
11
11
  /** Twilio Account SID */
12
12
  sid: string;
@@ -8,4 +8,6 @@ export interface DynamicVariableAssignment {
8
8
  dynamicVariable: string;
9
9
  /** Dot notation path to extract the value from the source (e.g., 'user.name' or 'data.0.id') */
10
10
  valuePath: string;
11
+ /** If true, this assignment's value will be removed from the tool response before sending to the LLM and transcript, but still processed for variable assignment. */
12
+ sanitize?: boolean;
11
13
  }
@@ -0,0 +1,4 @@
1
+ export interface FinalOutput {
2
+ /** Indicates if the generation is complete. If set to `True`, `audio` will be null. */
3
+ isFinal?: true;
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,9 @@
1
+ /**
2
+ * Server payload indicating the final output for a specific context.
3
+ */
4
+ export interface FinalOutputMulti {
5
+ /** Indicates this is the final message for the context. */
6
+ isFinal: true;
7
+ /** The context_id for which this is the final message. */
8
+ contextId?: string;
9
+ }
@@ -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
+ /**
2
+ * Payload to flush the audio buffer for a specific context.
3
+ */
4
+ export interface FlushContext {
5
+ /** The context_id to flush. */
6
+ contextId: string;
7
+ /** The text to append to the buffer to be flushed. */
8
+ text?: string;
9
+ /** If true, flushes the audio buffer for the specified context. If false, the context will remain open and the text will be appended to the buffer to be generated. */
10
+ flush: boolean;
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,30 @@
1
+ export interface GenerationConfig {
2
+ /**
3
+ * This is an advanced setting that most users shouldn't need to use. It relates to our
4
+ * generation schedule.
5
+ *
6
+ * Our WebSocket service incorporates a buffer system designed to optimize the Time To First Byte (TTFB) while maintaining high-quality streaming.
7
+ *
8
+ * All text sent to the WebSocket endpoint is added to this buffer and only when that buffer reaches a certain size is an audio generation attempted. This is because our model provides higher quality audio when the model has longer inputs, and can deduce more context about how the text should be delivered.
9
+ *
10
+ * The buffer ensures smooth audio data delivery and is automatically emptied with a final audio generation either when the stream is closed, or upon sending a `flush` command. We have advanced settings for changing the chunk schedule, which can improve latency at the cost of quality by generating audio more frequently with smaller text inputs.
11
+ *
12
+ * The `chunk_length_schedule` determines the minimum amount of text that needs to be sent and present in our
13
+ * buffer before audio starts being generated. This is to maximise the amount of context available to
14
+ * the model to improve audio quality, whilst balancing latency of the returned audio chunks.
15
+ *
16
+ * The default value for `chunk_length_schedule` is: [120, 160, 250, 290].
17
+ *
18
+ * This means that the first chunk of audio will not be generated until you send text that
19
+ * totals at least 120 characters long. The next chunk of audio will only be generated once a
20
+ * further 160 characters have been sent. The third audio chunk will be generated after the
21
+ * next 250 characters. Then the fourth, and beyond, will be generated in sets of at least 290 characters.
22
+ *
23
+ * Customize this array to suit your needs. If you want to generate audio more frequently
24
+ * to optimise latency, you can reduce the values in the array. Note that setting the values
25
+ * too low may result in lower quality audio. Please test and adjust as needed.
26
+ *
27
+ * Each item should be in the range 50-500.
28
+ */
29
+ chunkLengthSchedule?: number[];
30
+ }
@@ -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,9 +4,9 @@ export interface GetPhoneNumberSipTrunkResponseModel {
4
4
  phoneNumber: string;
5
5
  /** Label for the phone number */
6
6
  label: string;
7
- /** Whether this phone number supports inbound calls */
7
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports inbound calls */
8
8
  supportsInbound?: boolean;
9
- /** Whether this phone number supports outbound calls */
9
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports outbound calls */
10
10
  supportsOutbound?: boolean;
11
11
  /** The ID of the phone number */
12
12
  phoneNumberId: string;
@@ -4,9 +4,9 @@ export interface GetPhoneNumberTwilioResponseModel {
4
4
  phoneNumber: string;
5
5
  /** Label for the phone number */
6
6
  label: string;
7
- /** Whether this phone number supports inbound calls */
7
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports inbound calls */
8
8
  supportsInbound?: boolean;
9
- /** Whether this phone number supports outbound calls */
9
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports outbound calls */
10
10
  supportsOutbound?: boolean;
11
11
  /** The ID of the phone number */
12
12
  phoneNumberId: string;
@@ -0,0 +1,18 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Payload to initialize or re-initialize a TTS context with specific settings and initial text for multi-stream connections.
4
+ */
5
+ export interface InitialiseContext {
6
+ /** The initial text to synthesize. Should end with a single space. */
7
+ text: string;
8
+ voiceSettings?: ElevenLabs.RealtimeVoiceSettings;
9
+ generationConfig?: ElevenLabs.GenerationConfig;
10
+ /** Optional list of pronunciation dictionary locators to be used for this context. */
11
+ pronunciationDictionaryLocators?: ElevenLabs.PronunciationDictionaryLocator[];
12
+ /** Your ElevenLabs API key. Required if not provided in the WebSocket connection's header or query parameters. This applies to the (re)initialization of this specific context. */
13
+ xiApiKey?: string;
14
+ /** Your authorization bearer token. Required if not provided in the WebSocket connection's header or query parameters. This applies to the (re)initialization of this specific context. */
15
+ authorization?: string;
16
+ /** An identifier for the text-to-speech context. If omitted, a default context ID may be assigned by the server. If provided, this message will create a new context with this ID or re-initialize an existing one with the new settings and text. */
17
+ contextId?: string;
18
+ }
@@ -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,18 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface InitializeConnection {
3
+ /** The initial text that must be sent is a blank space. */
4
+ text: " ";
5
+ voiceSettings?: ElevenLabs.RealtimeVoiceSettings;
6
+ generationConfig?: ElevenLabs.GenerationConfig;
7
+ /**
8
+ * Optional list of pronunciation dictionary locators. If provided, these dictionaries will be used to
9
+ * modify pronunciation of matching text. Must only be provided in the first message.
10
+ *
11
+ * Note: Pronunciation dictionary matches will only be respected within a provided chunk.
12
+ */
13
+ pronunciationDictionaryLocators?: ElevenLabs.PronunciationDictionaryLocator[];
14
+ /** Your ElevenLabs API key. This can only be included in the first message and is not needed if present in the header. */
15
+ xiApiKey?: string;
16
+ /** Your authorization bearer token. This can only be included in the first message and is not needed if present in the header. */
17
+ authorization?: string;
18
+ }
@@ -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 });