@elevenlabs/elevenlabs-js 2.33.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 (1229) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/BaseClient.js +2 -2
  3. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  4. package/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  5. package/api/resources/conversationalAi/resources/agents/index.js +1 -0
  6. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +2 -0
  7. package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
  8. package/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  9. package/api/resources/conversationalAi/resources/agents/types/index.js +17 -0
  10. package/api/resources/conversationalAi/resources/index.d.ts +2 -0
  11. package/api/resources/conversationalAi/resources/index.js +2 -0
  12. package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +6 -2
  13. package/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
  14. package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
  15. package/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
  16. package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
  17. package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
  18. package/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +25 -0
  19. package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +75 -0
  20. package/api/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +26 -0
  21. package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  22. package/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  23. package/api/resources/conversationalAi/resources/whatsapp/index.js +1 -0
  24. package/api/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +13 -0
  25. package/api/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
  26. package/api/resources/conversationalAi/resources/whatsapp/types/index.js +17 -0
  27. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
  28. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
  29. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  30. package/api/resources/index.d.ts +6 -0
  31. package/api/resources/index.js +7 -1
  32. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
  33. package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +1 -1
  34. package/api/resources/studio/resources/projects/client/Client.d.ts +13 -0
  35. package/api/resources/studio/resources/projects/client/Client.js +60 -0
  36. package/api/resources/textToDialogue/client/Client.d.ts +1 -1
  37. package/api/resources/textToDialogue/client/Client.js +3 -7
  38. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
  39. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  40. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
  41. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  42. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
  43. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
  44. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
  45. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
  46. package/api/resources/textToDialogue/types/index.d.ts +2 -0
  47. package/api/resources/textToDialogue/types/index.js +2 -0
  48. package/api/resources/v1SpeechToTextRealtime/index.d.ts +1 -0
  49. package/api/resources/v1SpeechToTextRealtime/index.js +17 -0
  50. package/api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +5 -0
  51. package/api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +6 -0
  52. package/{dist/api/types/BanReasonType.js → api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js} +4 -3
  53. package/api/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
  54. package/api/resources/v1SpeechToTextRealtime/types/index.js +18 -0
  55. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
  56. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
  57. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +5 -0
  58. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +5 -0
  59. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
  60. package/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
  61. package/api/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
  62. package/api/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
  63. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +5 -0
  64. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +5 -0
  65. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +3 -0
  66. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
  67. package/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -0
  68. package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
  69. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  70. package/api/resources/workspace/resources/invites/client/Client.d.ts +3 -3
  71. package/api/resources/workspace/resources/invites/client/Client.js +3 -3
  72. package/api/types/AgentTransfer.d.ts +1 -0
  73. package/api/types/Alignment.d.ts +25 -0
  74. package/api/types/Alignment.js +3 -0
  75. package/api/types/AlignmentGuardrail.d.ts +3 -0
  76. package/api/types/AlignmentGuardrail.js +3 -0
  77. package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
  78. package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
  79. package/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
  80. package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
  81. package/api/types/AudioFormatEnum.d.ts +11 -0
  82. package/api/types/AudioFormatEnum.js +14 -0
  83. package/api/types/AudioOutput.d.ts +10 -0
  84. package/api/types/AudioOutput.js +3 -0
  85. package/api/types/AudioOutputMulti.d.ts +12 -0
  86. package/api/types/AudioOutputMulti.js +3 -0
  87. package/api/types/AuthSettings.d.ts +2 -0
  88. package/api/types/CanvasPlacement.d.ts +2 -2
  89. package/api/types/ClientToolConfigInput.d.ts +2 -0
  90. package/api/types/ClientToolConfigOutput.d.ts +2 -0
  91. package/api/types/CloseConnection.d.ts +4 -0
  92. package/api/types/CloseConnection.js +3 -0
  93. package/api/types/CloseContext.d.ts +9 -0
  94. package/api/types/CloseContext.js +3 -0
  95. package/api/types/CloseSocket.d.ts +7 -0
  96. package/api/types/CloseSocket.js +3 -0
  97. package/api/types/CommittedTranscriptPayload.d.ts +9 -0
  98. package/api/types/CommittedTranscriptPayload.js +3 -0
  99. package/api/types/CommittedTranscriptWithTimestampsPayload.d.ts +14 -0
  100. package/api/types/CommittedTranscriptWithTimestampsPayload.js +3 -0
  101. package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  102. package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
  103. package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
  104. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  105. package/api/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +3 -2
  106. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js +3 -0
  107. package/api/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +2 -2
  108. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +3 -0
  109. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +14 -0
  110. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +3 -0
  111. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +40 -0
  112. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +3 -0
  113. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  114. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  115. package/api/types/ConversationInitiationSource.d.ts +1 -0
  116. package/api/types/ConversationInitiationSource.js +1 -0
  117. package/api/types/ConversationTurnMetrics.d.ts +2 -0
  118. package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -2
  119. package/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -2
  120. package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  121. package/api/types/DynamicVariableAssignment.d.ts +2 -0
  122. package/api/types/FinalOutput.d.ts +4 -0
  123. package/api/types/FinalOutput.js +3 -0
  124. package/api/types/FinalOutputMulti.d.ts +9 -0
  125. package/api/types/FinalOutputMulti.js +3 -0
  126. package/api/types/FlushContext.d.ts +11 -0
  127. package/api/types/FlushContext.js +3 -0
  128. package/api/types/GenerationConfig.d.ts +30 -0
  129. package/api/types/GenerationConfig.js +3 -0
  130. package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -2
  131. package/api/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -2
  132. package/api/types/GetUnitTestResponseModel.d.ts +2 -0
  133. package/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
  134. package/api/types/GuardrailsV1Input.d.ts +1 -0
  135. package/api/types/GuardrailsV1Output.d.ts +1 -0
  136. package/api/types/InitialiseContext.d.ts +18 -0
  137. package/api/types/InitialiseContext.js +3 -0
  138. package/api/types/InitializeConnection.d.ts +18 -0
  139. package/api/types/InitializeConnection.js +3 -0
  140. package/api/types/InitializeConnectionMulti.d.ts +18 -0
  141. package/api/types/InitializeConnectionMulti.js +3 -0
  142. package/api/types/InputAudioChunkPayload.d.ts +15 -0
  143. package/api/types/InputAudioChunkPayload.js +3 -0
  144. package/api/types/InvoiceResponse.d.ts +1 -1
  145. package/api/types/KeepContextAlive.d.ts +9 -0
  146. package/api/types/KeepContextAlive.js +3 -0
  147. package/api/types/NonStreamingOutputFormats.d.ts +10 -0
  148. package/api/types/NonStreamingOutputFormats.js +13 -0
  149. package/api/types/NormalizedAlignment.d.ts +25 -0
  150. package/api/types/NormalizedAlignment.js +3 -0
  151. package/api/types/PartialTranscriptPayload.d.ts +9 -0
  152. package/api/types/PartialTranscriptPayload.js +3 -0
  153. package/api/types/PermissionType.d.ts +6 -0
  154. package/api/types/PermissionType.js +6 -0
  155. package/api/types/ProcedureDraftRef.d.ts +4 -0
  156. package/api/types/ProcedureDraftRef.js +3 -0
  157. package/api/types/ProcedureVersionRef.d.ts +6 -0
  158. package/api/types/ProcedureVersionRef.js +3 -0
  159. package/api/types/ProjectExternalAudioResponseModel.d.ts +1 -0
  160. package/api/types/ProjectMutedTracksResponseModel.d.ts +4 -0
  161. package/api/types/ProjectMutedTracksResponseModel.js +3 -0
  162. package/api/types/ProjectVideoResponseModel.d.ts +1 -0
  163. package/api/types/PronunciationDictionaryLocator.d.ts +9 -0
  164. package/api/types/PronunciationDictionaryLocator.js +3 -0
  165. package/api/types/RealtimeVoiceSettings.d.ts +12 -0
  166. package/api/types/RealtimeVoiceSettings.js +3 -0
  167. package/api/types/ResponseFilterMode.d.ts +6 -0
  168. package/api/types/ResponseFilterMode.js +9 -0
  169. package/api/types/ScribeAuthErrorPayload.d.ts +9 -0
  170. package/api/types/ScribeAuthErrorPayload.js +3 -0
  171. package/api/types/ScribeChunkSizeExceededErrorPayload.d.ts +9 -0
  172. package/api/types/ScribeChunkSizeExceededErrorPayload.js +3 -0
  173. package/api/types/ScribeErrorPayload.d.ts +9 -0
  174. package/api/types/ScribeErrorPayload.js +3 -0
  175. package/api/types/ScribeInputErrorPayload.d.ts +9 -0
  176. package/api/types/ScribeInputErrorPayload.js +3 -0
  177. package/api/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +9 -0
  178. package/api/types/ScribeInsufficientAudioActivityErrorPayload.js +3 -0
  179. package/api/types/ScribeQueueOverflowErrorPayload.d.ts +9 -0
  180. package/api/types/ScribeQueueOverflowErrorPayload.js +3 -0
  181. package/api/types/ScribeQuotaExceededErrorPayload.d.ts +9 -0
  182. package/api/types/ScribeQuotaExceededErrorPayload.js +3 -0
  183. package/api/types/ScribeRateLimitedErrorPayload.d.ts +9 -0
  184. package/api/types/ScribeRateLimitedErrorPayload.js +3 -0
  185. package/api/types/ScribeResourceExhaustedErrorPayload.d.ts +9 -0
  186. package/api/types/ScribeResourceExhaustedErrorPayload.js +3 -0
  187. package/api/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +9 -0
  188. package/api/types/ScribeSessionTimeLimitExceededErrorPayload.js +3 -0
  189. package/api/types/ScribeThrottledErrorPayload.d.ts +9 -0
  190. package/api/types/ScribeThrottledErrorPayload.js +3 -0
  191. package/api/types/ScribeTranscriberErrorPayload.d.ts +9 -0
  192. package/api/types/ScribeTranscriberErrorPayload.js +3 -0
  193. package/api/types/ScribeUnacceptedTermsErrorPayload.d.ts +9 -0
  194. package/api/types/ScribeUnacceptedTermsErrorPayload.js +3 -0
  195. package/api/types/SeatType.d.ts +1 -0
  196. package/api/types/SeatType.js +1 -0
  197. package/api/types/SendText.d.ts +29 -0
  198. package/api/types/SendText.js +3 -0
  199. package/api/types/SendTextMulti.d.ts +11 -0
  200. package/api/types/SendTextMulti.js +3 -0
  201. package/api/types/SessionStartedPayload.d.ts +12 -0
  202. package/api/types/SessionStartedPayload.js +3 -0
  203. package/api/types/SessionStartedPayloadConfig.d.ts +29 -0
  204. package/api/types/SessionStartedPayloadConfig.js +3 -0
  205. package/api/types/SessionStartedPayloadConfigCommitStrategy.d.ts +6 -0
  206. package/api/types/SessionStartedPayloadConfigCommitStrategy.js +9 -0
  207. package/api/types/SongMetadata.d.ts +0 -4
  208. package/api/types/SystemToolConfigInput.d.ts +2 -0
  209. package/api/types/SystemToolConfigOutput.d.ts +2 -0
  210. package/api/types/TestFromConversationMetadataInput.d.ts +1 -0
  211. package/api/types/TestFromConversationMetadataOutput.d.ts +1 -0
  212. package/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
  213. package/api/types/TextToSpeechApplyTextNormalizationEnum.js +10 -0
  214. package/api/types/TextToSpeechOutputFormatEnum.d.ts +22 -0
  215. package/api/types/TextToSpeechOutputFormatEnum.js +25 -0
  216. package/api/types/ToolErrorHandlingMode.d.ts +8 -0
  217. package/api/types/ToolErrorHandlingMode.js +11 -0
  218. package/api/types/TranscriptionWord.d.ts +20 -0
  219. package/api/types/TranscriptionWord.js +3 -0
  220. package/api/types/TranscriptionWordType.d.ts +6 -0
  221. package/api/types/TranscriptionWordType.js +9 -0
  222. package/api/types/TransferBranchInfoDefaultingToMain.d.ts +3 -0
  223. package/api/types/TransferBranchInfoDefaultingToMain.js +3 -0
  224. package/api/types/TransferBranchInfoTrafficSplit.d.ts +4 -0
  225. package/api/types/TransferBranchInfoTrafficSplit.js +3 -0
  226. package/api/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
  227. package/api/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +10 -0
  228. package/api/types/TransferToAgentToolResultSuccessModelBranchInfo.js +3 -0
  229. package/api/types/TtsConversationalConfigInput.d.ts +2 -0
  230. package/api/types/TtsConversationalConfigOutput.d.ts +2 -0
  231. package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
  232. package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
  233. package/api/types/TtsConversationalModel.d.ts +1 -0
  234. package/api/types/TtsConversationalModel.js +1 -0
  235. package/api/types/TtsModelFamily.d.ts +1 -0
  236. package/api/types/TtsModelFamily.js +1 -0
  237. package/api/types/TurnConfig.d.ts +2 -0
  238. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  239. package/api/types/TurnModel.d.ts +6 -0
  240. package/api/types/TurnModel.js +9 -0
  241. package/api/types/UnitTestCommonModel.d.ts +2 -0
  242. package/api/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
  243. package/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
  244. package/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +7 -0
  245. package/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +3 -0
  246. package/api/types/User.d.ts +2 -0
  247. package/api/types/WebhookToolConfigInput.d.ts +2 -0
  248. package/api/types/WebhookToolConfigOutput.d.ts +2 -0
  249. package/api/types/WebsocketTtsClientMessageMulti.d.ts +31 -0
  250. package/api/types/WebsocketTtsClientMessageMulti.js +3 -0
  251. package/api/types/WebsocketTtsServerMessageMulti.d.ts +14 -0
  252. package/api/types/WebsocketTtsServerMessageMulti.js +3 -0
  253. package/api/types/WhatsAppConversationInfo.d.ts +1 -0
  254. package/api/types/WhatsAppOutboundMessageResponse.d.ts +3 -0
  255. package/api/types/WhatsAppOutboundMessageResponse.js +3 -0
  256. package/api/types/WhatsAppTemplateBodyComponentParams.d.ts +4 -0
  257. package/api/types/WhatsAppTemplateBodyComponentParams.js +3 -0
  258. package/api/types/WhatsAppTemplateButtonComponentParams.d.ts +6 -0
  259. package/api/types/WhatsAppTemplateButtonComponentParams.js +3 -0
  260. package/api/types/WhatsAppTemplateDocumentParam.d.ts +4 -0
  261. package/api/types/WhatsAppTemplateDocumentParam.js +3 -0
  262. package/api/types/WhatsAppTemplateDocumentParamDetails.d.ts +4 -0
  263. package/api/types/WhatsAppTemplateDocumentParamDetails.js +3 -0
  264. package/api/types/WhatsAppTemplateHeaderComponentParams.d.ts +4 -0
  265. package/api/types/WhatsAppTemplateHeaderComponentParams.js +3 -0
  266. package/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +16 -0
  267. package/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +3 -0
  268. package/api/types/WhatsAppTemplateImageParam.d.ts +4 -0
  269. package/api/types/WhatsAppTemplateImageParam.js +3 -0
  270. package/api/types/WhatsAppTemplateImageParamDetails.d.ts +3 -0
  271. package/api/types/WhatsAppTemplateImageParamDetails.js +3 -0
  272. package/api/types/WhatsAppTemplateLocationParam.d.ts +4 -0
  273. package/api/types/WhatsAppTemplateLocationParam.js +3 -0
  274. package/api/types/WhatsAppTemplateLocationParamDetails.d.ts +6 -0
  275. package/api/types/WhatsAppTemplateLocationParamDetails.js +3 -0
  276. package/api/types/WhatsAppTemplateTextParam.d.ts +5 -0
  277. package/api/types/WhatsAppTemplateTextParam.js +3 -0
  278. package/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
  279. package/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
  280. package/api/types/WorkspaceResourceType.d.ts +1 -0
  281. package/api/types/WorkspaceResourceType.js +1 -0
  282. package/api/types/index.d.ts +74 -5
  283. package/api/types/index.js +74 -5
  284. package/dist/BaseClient.js +2 -2
  285. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  286. package/dist/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  287. package/dist/api/resources/conversationalAi/resources/agents/index.js +1 -0
  288. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +2 -0
  289. package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
  290. package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +3 -0
  291. package/dist/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  292. package/dist/api/resources/conversationalAi/resources/agents/types/index.js +17 -0
  293. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
  294. package/dist/api/resources/conversationalAi/resources/index.js +2 -0
  295. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +6 -2
  296. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
  297. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
  298. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js +3 -0
  299. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
  300. package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
  301. package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
  302. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +25 -0
  303. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +75 -0
  304. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +26 -0
  305. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js +3 -0
  306. package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  307. package/dist/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  308. package/dist/api/resources/conversationalAi/resources/whatsapp/index.js +1 -0
  309. package/dist/api/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +13 -0
  310. package/dist/api/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js +3 -0
  311. package/dist/api/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
  312. package/dist/api/resources/conversationalAi/resources/whatsapp/types/index.js +17 -0
  313. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
  314. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
  315. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  316. package/dist/api/resources/index.d.ts +6 -0
  317. package/dist/api/resources/index.js +7 -1
  318. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
  319. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +1 -1
  320. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +13 -0
  321. package/dist/api/resources/studio/resources/projects/client/Client.js +60 -0
  322. package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -1
  323. package/dist/api/resources/textToDialogue/client/Client.js +3 -7
  324. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
  325. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  326. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
  327. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  328. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
  329. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
  330. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
  331. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
  332. package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
  333. package/dist/api/resources/textToDialogue/types/index.js +2 -0
  334. package/dist/api/resources/v1SpeechToTextRealtime/index.d.ts +1 -0
  335. package/dist/api/resources/v1SpeechToTextRealtime/index.js +17 -0
  336. package/dist/api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +5 -0
  337. package/dist/api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js +3 -0
  338. package/dist/api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +6 -0
  339. package/{api/types/BanReasonType.js → dist/api/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js} +4 -3
  340. package/dist/api/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
  341. package/dist/api/resources/v1SpeechToTextRealtime/types/index.js +18 -0
  342. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
  343. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
  344. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +5 -0
  345. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js +3 -0
  346. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +5 -0
  347. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js +3 -0
  348. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
  349. package/dist/api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
  350. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
  351. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
  352. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +5 -0
  353. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js +3 -0
  354. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +5 -0
  355. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +3 -0
  356. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
  357. package/dist/api/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -0
  358. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
  359. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  360. package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +3 -3
  361. package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
  362. package/dist/api/types/AgentTransfer.d.ts +1 -0
  363. package/dist/api/types/Alignment.d.ts +25 -0
  364. package/dist/api/types/Alignment.js +3 -0
  365. package/dist/api/types/AlignmentGuardrail.d.ts +3 -0
  366. package/dist/api/types/AlignmentGuardrail.js +3 -0
  367. package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
  368. package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
  369. package/dist/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
  370. package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
  371. package/dist/api/types/AudioFormatEnum.d.ts +11 -0
  372. package/dist/api/types/AudioFormatEnum.js +14 -0
  373. package/dist/api/types/AudioOutput.d.ts +10 -0
  374. package/dist/api/types/AudioOutput.js +3 -0
  375. package/dist/api/types/AudioOutputMulti.d.ts +12 -0
  376. package/dist/api/types/AudioOutputMulti.js +3 -0
  377. package/dist/api/types/AuthSettings.d.ts +2 -0
  378. package/dist/api/types/CanvasPlacement.d.ts +2 -2
  379. package/dist/api/types/ClientToolConfigInput.d.ts +2 -0
  380. package/dist/api/types/ClientToolConfigOutput.d.ts +2 -0
  381. package/dist/api/types/CloseConnection.d.ts +4 -0
  382. package/dist/api/types/CloseConnection.js +3 -0
  383. package/dist/api/types/CloseContext.d.ts +9 -0
  384. package/dist/api/types/CloseContext.js +3 -0
  385. package/dist/api/types/CloseSocket.d.ts +7 -0
  386. package/dist/api/types/CloseSocket.js +3 -0
  387. package/dist/api/types/CommittedTranscriptPayload.d.ts +9 -0
  388. package/dist/api/types/CommittedTranscriptPayload.js +3 -0
  389. package/dist/api/types/CommittedTranscriptWithTimestampsPayload.d.ts +14 -0
  390. package/dist/api/types/CommittedTranscriptWithTimestampsPayload.js +3 -0
  391. package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  392. package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
  393. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
  394. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  395. package/dist/api/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +3 -2
  396. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js +3 -0
  397. package/dist/api/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +2 -2
  398. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +3 -0
  399. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +14 -0
  400. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +3 -0
  401. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +40 -0
  402. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +3 -0
  403. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  404. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  405. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  406. package/dist/api/types/ConversationInitiationSource.js +1 -0
  407. package/dist/api/types/ConversationTurnMetrics.d.ts +2 -0
  408. package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -2
  409. package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -2
  410. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  411. package/dist/api/types/DynamicVariableAssignment.d.ts +2 -0
  412. package/dist/api/types/FinalOutput.d.ts +4 -0
  413. package/dist/api/types/FinalOutput.js +3 -0
  414. package/dist/api/types/FinalOutputMulti.d.ts +9 -0
  415. package/dist/api/types/FinalOutputMulti.js +3 -0
  416. package/dist/api/types/FlushContext.d.ts +11 -0
  417. package/dist/api/types/FlushContext.js +3 -0
  418. package/dist/api/types/GenerationConfig.d.ts +30 -0
  419. package/dist/api/types/GenerationConfig.js +3 -0
  420. package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -2
  421. package/dist/api/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -2
  422. package/dist/api/types/GetUnitTestResponseModel.d.ts +2 -0
  423. package/dist/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
  424. package/dist/api/types/GuardrailsV1Input.d.ts +1 -0
  425. package/dist/api/types/GuardrailsV1Output.d.ts +1 -0
  426. package/dist/api/types/InitialiseContext.d.ts +18 -0
  427. package/dist/api/types/InitialiseContext.js +3 -0
  428. package/dist/api/types/InitializeConnection.d.ts +18 -0
  429. package/dist/api/types/InitializeConnection.js +3 -0
  430. package/dist/api/types/InitializeConnectionMulti.d.ts +18 -0
  431. package/dist/api/types/InitializeConnectionMulti.js +3 -0
  432. package/dist/api/types/InputAudioChunkPayload.d.ts +15 -0
  433. package/dist/api/types/InputAudioChunkPayload.js +3 -0
  434. package/dist/api/types/InvoiceResponse.d.ts +1 -1
  435. package/dist/api/types/KeepContextAlive.d.ts +9 -0
  436. package/dist/api/types/KeepContextAlive.js +3 -0
  437. package/dist/api/types/NonStreamingOutputFormats.d.ts +10 -0
  438. package/dist/api/types/NonStreamingOutputFormats.js +13 -0
  439. package/dist/api/types/NormalizedAlignment.d.ts +25 -0
  440. package/dist/api/types/NormalizedAlignment.js +3 -0
  441. package/dist/api/types/PartialTranscriptPayload.d.ts +9 -0
  442. package/dist/api/types/PartialTranscriptPayload.js +3 -0
  443. package/dist/api/types/PermissionType.d.ts +6 -0
  444. package/dist/api/types/PermissionType.js +6 -0
  445. package/dist/api/types/ProcedureDraftRef.d.ts +4 -0
  446. package/dist/api/types/ProcedureDraftRef.js +3 -0
  447. package/dist/api/types/ProcedureVersionRef.d.ts +6 -0
  448. package/dist/api/types/ProcedureVersionRef.js +3 -0
  449. package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +1 -0
  450. package/dist/api/types/ProjectMutedTracksResponseModel.d.ts +4 -0
  451. package/dist/api/types/ProjectMutedTracksResponseModel.js +3 -0
  452. package/dist/api/types/ProjectVideoResponseModel.d.ts +1 -0
  453. package/dist/api/types/PronunciationDictionaryLocator.d.ts +9 -0
  454. package/dist/api/types/PronunciationDictionaryLocator.js +3 -0
  455. package/dist/api/types/RealtimeVoiceSettings.d.ts +12 -0
  456. package/dist/api/types/RealtimeVoiceSettings.js +3 -0
  457. package/dist/api/types/ResponseFilterMode.d.ts +6 -0
  458. package/dist/api/types/ResponseFilterMode.js +9 -0
  459. package/dist/api/types/ScribeAuthErrorPayload.d.ts +9 -0
  460. package/dist/api/types/ScribeAuthErrorPayload.js +3 -0
  461. package/dist/api/types/ScribeChunkSizeExceededErrorPayload.d.ts +9 -0
  462. package/dist/api/types/ScribeChunkSizeExceededErrorPayload.js +3 -0
  463. package/dist/api/types/ScribeErrorPayload.d.ts +9 -0
  464. package/dist/api/types/ScribeErrorPayload.js +3 -0
  465. package/dist/api/types/ScribeInputErrorPayload.d.ts +9 -0
  466. package/dist/api/types/ScribeInputErrorPayload.js +3 -0
  467. package/dist/api/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +9 -0
  468. package/dist/api/types/ScribeInsufficientAudioActivityErrorPayload.js +3 -0
  469. package/dist/api/types/ScribeQueueOverflowErrorPayload.d.ts +9 -0
  470. package/dist/api/types/ScribeQueueOverflowErrorPayload.js +3 -0
  471. package/dist/api/types/ScribeQuotaExceededErrorPayload.d.ts +9 -0
  472. package/dist/api/types/ScribeQuotaExceededErrorPayload.js +3 -0
  473. package/dist/api/types/ScribeRateLimitedErrorPayload.d.ts +9 -0
  474. package/dist/api/types/ScribeRateLimitedErrorPayload.js +3 -0
  475. package/dist/api/types/ScribeResourceExhaustedErrorPayload.d.ts +9 -0
  476. package/dist/api/types/ScribeResourceExhaustedErrorPayload.js +3 -0
  477. package/dist/api/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +9 -0
  478. package/dist/api/types/ScribeSessionTimeLimitExceededErrorPayload.js +3 -0
  479. package/dist/api/types/ScribeThrottledErrorPayload.d.ts +9 -0
  480. package/dist/api/types/ScribeThrottledErrorPayload.js +3 -0
  481. package/dist/api/types/ScribeTranscriberErrorPayload.d.ts +9 -0
  482. package/dist/api/types/ScribeTranscriberErrorPayload.js +3 -0
  483. package/dist/api/types/ScribeUnacceptedTermsErrorPayload.d.ts +9 -0
  484. package/dist/api/types/ScribeUnacceptedTermsErrorPayload.js +3 -0
  485. package/dist/api/types/SeatType.d.ts +1 -0
  486. package/dist/api/types/SeatType.js +1 -0
  487. package/dist/api/types/SendText.d.ts +29 -0
  488. package/dist/api/types/SendText.js +3 -0
  489. package/dist/api/types/SendTextMulti.d.ts +11 -0
  490. package/dist/api/types/SendTextMulti.js +3 -0
  491. package/dist/api/types/SessionStartedPayload.d.ts +12 -0
  492. package/dist/api/types/SessionStartedPayload.js +3 -0
  493. package/dist/api/types/SessionStartedPayloadConfig.d.ts +29 -0
  494. package/dist/api/types/SessionStartedPayloadConfig.js +3 -0
  495. package/dist/api/types/SessionStartedPayloadConfigCommitStrategy.d.ts +6 -0
  496. package/dist/api/types/SessionStartedPayloadConfigCommitStrategy.js +9 -0
  497. package/dist/api/types/SongMetadata.d.ts +0 -4
  498. package/dist/api/types/SystemToolConfigInput.d.ts +2 -0
  499. package/dist/api/types/SystemToolConfigOutput.d.ts +2 -0
  500. package/dist/api/types/TestFromConversationMetadataInput.d.ts +1 -0
  501. package/dist/api/types/TestFromConversationMetadataOutput.d.ts +1 -0
  502. package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
  503. package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.js +10 -0
  504. package/dist/api/types/TextToSpeechOutputFormatEnum.d.ts +22 -0
  505. package/dist/api/types/TextToSpeechOutputFormatEnum.js +25 -0
  506. package/dist/api/types/ToolErrorHandlingMode.d.ts +8 -0
  507. package/dist/api/types/ToolErrorHandlingMode.js +11 -0
  508. package/dist/api/types/TranscriptionWord.d.ts +20 -0
  509. package/dist/api/types/TranscriptionWord.js +3 -0
  510. package/dist/api/types/TranscriptionWordType.d.ts +6 -0
  511. package/dist/api/types/TranscriptionWordType.js +9 -0
  512. package/dist/api/types/TransferBranchInfoDefaultingToMain.d.ts +3 -0
  513. package/dist/api/types/TransferBranchInfoDefaultingToMain.js +3 -0
  514. package/dist/api/types/TransferBranchInfoTrafficSplit.d.ts +4 -0
  515. package/dist/api/types/TransferBranchInfoTrafficSplit.js +3 -0
  516. package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
  517. package/dist/api/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +10 -0
  518. package/dist/api/types/TransferToAgentToolResultSuccessModelBranchInfo.js +3 -0
  519. package/dist/api/types/TtsConversationalConfigInput.d.ts +2 -0
  520. package/dist/api/types/TtsConversationalConfigOutput.d.ts +2 -0
  521. package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
  522. package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
  523. package/dist/api/types/TtsConversationalModel.d.ts +1 -0
  524. package/dist/api/types/TtsConversationalModel.js +1 -0
  525. package/dist/api/types/TtsModelFamily.d.ts +1 -0
  526. package/dist/api/types/TtsModelFamily.js +1 -0
  527. package/dist/api/types/TurnConfig.d.ts +2 -0
  528. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  529. package/dist/api/types/TurnModel.d.ts +6 -0
  530. package/dist/api/types/TurnModel.js +9 -0
  531. package/dist/api/types/UnitTestCommonModel.d.ts +2 -0
  532. package/dist/api/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
  533. package/dist/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
  534. package/dist/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +7 -0
  535. package/dist/api/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +3 -0
  536. package/dist/api/types/User.d.ts +2 -0
  537. package/dist/api/types/WebhookToolConfigInput.d.ts +2 -0
  538. package/dist/api/types/WebhookToolConfigOutput.d.ts +2 -0
  539. package/dist/api/types/WebsocketTtsClientMessageMulti.d.ts +31 -0
  540. package/dist/api/types/WebsocketTtsClientMessageMulti.js +3 -0
  541. package/dist/api/types/WebsocketTtsServerMessageMulti.d.ts +14 -0
  542. package/dist/api/types/WebsocketTtsServerMessageMulti.js +3 -0
  543. package/dist/api/types/WhatsAppConversationInfo.d.ts +1 -0
  544. package/dist/api/types/WhatsAppOutboundMessageResponse.d.ts +3 -0
  545. package/dist/api/types/WhatsAppOutboundMessageResponse.js +3 -0
  546. package/dist/api/types/WhatsAppTemplateBodyComponentParams.d.ts +4 -0
  547. package/dist/api/types/WhatsAppTemplateBodyComponentParams.js +3 -0
  548. package/dist/api/types/WhatsAppTemplateButtonComponentParams.d.ts +6 -0
  549. package/dist/api/types/WhatsAppTemplateButtonComponentParams.js +3 -0
  550. package/dist/api/types/WhatsAppTemplateDocumentParam.d.ts +4 -0
  551. package/dist/api/types/WhatsAppTemplateDocumentParam.js +3 -0
  552. package/dist/api/types/WhatsAppTemplateDocumentParamDetails.d.ts +4 -0
  553. package/dist/api/types/WhatsAppTemplateDocumentParamDetails.js +3 -0
  554. package/dist/api/types/WhatsAppTemplateHeaderComponentParams.d.ts +4 -0
  555. package/dist/api/types/WhatsAppTemplateHeaderComponentParams.js +3 -0
  556. package/dist/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +16 -0
  557. package/dist/api/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +3 -0
  558. package/dist/api/types/WhatsAppTemplateImageParam.d.ts +4 -0
  559. package/dist/api/types/WhatsAppTemplateImageParam.js +3 -0
  560. package/dist/api/types/WhatsAppTemplateImageParamDetails.d.ts +3 -0
  561. package/dist/api/types/WhatsAppTemplateImageParamDetails.js +3 -0
  562. package/dist/api/types/WhatsAppTemplateLocationParam.d.ts +4 -0
  563. package/dist/api/types/WhatsAppTemplateLocationParam.js +3 -0
  564. package/dist/api/types/WhatsAppTemplateLocationParamDetails.d.ts +6 -0
  565. package/dist/api/types/WhatsAppTemplateLocationParamDetails.js +3 -0
  566. package/dist/api/types/WhatsAppTemplateTextParam.d.ts +5 -0
  567. package/dist/api/types/WhatsAppTemplateTextParam.js +3 -0
  568. package/dist/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
  569. package/dist/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
  570. package/dist/api/types/WorkspaceResourceType.d.ts +1 -0
  571. package/dist/api/types/WorkspaceResourceType.js +1 -0
  572. package/dist/api/types/index.d.ts +74 -5
  573. package/dist/api/types/index.js +74 -5
  574. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  575. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
  576. package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  577. package/dist/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
  578. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +1 -0
  579. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +1 -0
  580. package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
  581. package/dist/serialization/resources/conversationalAi/resources/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js} +5 -7
  582. package/dist/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  583. package/dist/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
  584. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  585. package/dist/serialization/resources/conversationalAi/resources/index.js +2 -0
  586. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
  587. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
  588. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
  589. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
  590. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +17 -0
  591. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js +49 -0
  592. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  593. package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +3 -1
  594. package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  595. package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.js +1 -0
  596. package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +19 -0
  597. package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js +51 -0
  598. package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
  599. package/dist/serialization/resources/conversationalAi/resources/whatsapp/types/index.js +17 -0
  600. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  601. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
  602. package/dist/serialization/resources/index.d.ts +6 -0
  603. package/dist/serialization/resources/index.js +7 -1
  604. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
  605. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +68 -0
  606. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
  607. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
  608. package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  609. package/dist/serialization/resources/textToDialogue/types/index.js +2 -0
  610. package/dist/serialization/resources/v1SpeechToTextRealtime/index.d.ts +1 -0
  611. package/dist/serialization/resources/v1SpeechToTextRealtime/index.js +17 -0
  612. package/dist/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +24 -0
  613. package/dist/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js +74 -0
  614. package/dist/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +7 -0
  615. package/dist/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js +39 -0
  616. package/dist/serialization/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
  617. package/dist/serialization/resources/v1SpeechToTextRealtime/types/index.js +18 -0
  618. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
  619. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
  620. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +9 -0
  621. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js +41 -0
  622. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +14 -0
  623. package/{serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js} +18 -7
  624. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
  625. package/dist/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
  626. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
  627. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
  628. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +9 -0
  629. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js +41 -0
  630. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +10 -0
  631. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +42 -0
  632. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
  633. package/dist/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -0
  634. package/dist/serialization/types/AgentTransfer.d.ts +1 -0
  635. package/dist/serialization/types/AgentTransfer.js +1 -0
  636. package/dist/serialization/types/Alignment.d.ts +11 -0
  637. package/dist/serialization/types/Alignment.js +43 -0
  638. package/dist/serialization/types/AlignmentGuardrail.d.ts +9 -0
  639. package/dist/serialization/types/AlignmentGuardrail.js +41 -0
  640. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
  641. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  642. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
  643. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  644. package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
  645. package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.js +2 -0
  646. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
  647. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +2 -0
  648. package/dist/serialization/types/AudioFormatEnum.d.ts +7 -0
  649. package/dist/serialization/types/AudioFormatEnum.js +47 -0
  650. package/dist/serialization/types/AudioOutput.d.ts +13 -0
  651. package/dist/serialization/types/AudioOutput.js +45 -0
  652. package/dist/serialization/types/AudioOutputMulti.d.ts +14 -0
  653. package/dist/serialization/types/AudioOutputMulti.js +46 -0
  654. package/dist/serialization/types/AuthSettings.d.ts +1 -0
  655. package/dist/serialization/types/AuthSettings.js +1 -0
  656. package/dist/serialization/types/CanvasPlacement.d.ts +2 -2
  657. package/dist/serialization/types/CanvasPlacement.js +2 -2
  658. package/dist/serialization/types/ClientToolConfigInput.d.ts +2 -0
  659. package/dist/serialization/types/ClientToolConfigInput.js +2 -0
  660. package/dist/serialization/types/ClientToolConfigOutput.d.ts +2 -0
  661. package/dist/serialization/types/ClientToolConfigOutput.js +2 -0
  662. package/dist/serialization/types/CloseConnection.d.ts +9 -0
  663. package/dist/serialization/types/CloseConnection.js +41 -0
  664. package/dist/serialization/types/CloseContext.d.ts +10 -0
  665. package/dist/serialization/types/CloseContext.js +42 -0
  666. package/dist/serialization/types/CloseSocket.d.ts +9 -0
  667. package/dist/serialization/types/CloseSocket.js +41 -0
  668. package/dist/serialization/types/CommittedTranscriptPayload.d.ts +10 -0
  669. package/dist/serialization/types/CommittedTranscriptPayload.js +42 -0
  670. package/dist/serialization/types/CommittedTranscriptWithTimestampsPayload.d.ts +13 -0
  671. package/dist/serialization/types/CommittedTranscriptWithTimestampsPayload.js +45 -0
  672. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  673. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
  674. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -2
  675. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -2
  676. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -2
  677. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -2
  678. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  679. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
  680. package/dist/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +5 -4
  681. package/dist/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.js → ConversationHistoryTranscriptSystemToolResultCommonModelInput.js} +5 -4
  682. package/{serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +3 -3
  683. package/dist/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js} +2 -2
  684. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +21 -0
  685. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +53 -0
  686. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +55 -0
  687. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +69 -0
  688. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  689. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
  690. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  691. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
  692. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  693. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  694. package/dist/serialization/types/ConversationTurnMetrics.d.ts +2 -0
  695. package/dist/serialization/types/ConversationTurnMetrics.js +2 -0
  696. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  697. package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  698. package/dist/serialization/types/DynamicVariableAssignment.d.ts +1 -0
  699. package/dist/serialization/types/DynamicVariableAssignment.js +1 -0
  700. package/dist/serialization/types/FinalOutput.d.ts +9 -0
  701. package/dist/serialization/types/FinalOutput.js +41 -0
  702. package/dist/serialization/types/FinalOutputMulti.d.ts +10 -0
  703. package/dist/serialization/types/FinalOutputMulti.js +42 -0
  704. package/dist/serialization/types/FlushContext.d.ts +11 -0
  705. package/dist/serialization/types/FlushContext.js +43 -0
  706. package/dist/serialization/types/GenerationConfig.d.ts +9 -0
  707. package/dist/serialization/types/GenerationConfig.js +41 -0
  708. package/dist/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
  709. package/dist/serialization/types/GetUnitTestResponseModel.js +1 -0
  710. package/dist/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
  711. package/dist/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
  712. package/dist/serialization/types/GuardrailsV1Input.d.ts +2 -0
  713. package/dist/serialization/types/GuardrailsV1Input.js +2 -0
  714. package/dist/serialization/types/GuardrailsV1Output.d.ts +2 -0
  715. package/dist/serialization/types/GuardrailsV1Output.js +2 -0
  716. package/dist/serialization/types/InitialiseContext.d.ts +18 -0
  717. package/dist/serialization/types/InitialiseContext.js +50 -0
  718. package/dist/serialization/types/InitializeConnection.d.ts +17 -0
  719. package/dist/serialization/types/InitializeConnection.js +49 -0
  720. package/dist/serialization/types/InitializeConnectionMulti.d.ts +18 -0
  721. package/dist/serialization/types/InitializeConnectionMulti.js +50 -0
  722. package/dist/serialization/types/InputAudioChunkPayload.d.ts +13 -0
  723. package/dist/serialization/types/InputAudioChunkPayload.js +45 -0
  724. package/dist/serialization/types/KeepContextAlive.d.ts +10 -0
  725. package/dist/serialization/types/KeepContextAlive.js +42 -0
  726. package/dist/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
  727. package/dist/serialization/types/NonStreamingOutputFormats.js +47 -0
  728. package/dist/serialization/types/NormalizedAlignment.d.ts +11 -0
  729. package/dist/serialization/types/NormalizedAlignment.js +43 -0
  730. package/dist/serialization/types/PartialTranscriptPayload.d.ts +10 -0
  731. package/dist/serialization/types/PartialTranscriptPayload.js +42 -0
  732. package/dist/serialization/types/PermissionType.d.ts +1 -1
  733. package/dist/serialization/types/PermissionType.js +6 -0
  734. package/dist/serialization/types/ProcedureDraftRef.d.ts +9 -0
  735. package/dist/serialization/types/ProcedureDraftRef.js +41 -0
  736. package/dist/serialization/types/ProcedureVersionRef.d.ts +10 -0
  737. package/dist/serialization/types/ProcedureVersionRef.js +42 -0
  738. package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +1 -0
  739. package/dist/serialization/types/ProjectExternalAudioResponseModel.js +1 -0
  740. package/dist/serialization/types/ProjectMutedTracksResponseModel.d.ts +9 -0
  741. package/dist/serialization/types/ProjectMutedTracksResponseModel.js +41 -0
  742. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
  743. package/dist/serialization/types/ProjectVideoResponseModel.js +1 -0
  744. package/dist/serialization/types/PronunciationDictionaryLocator.d.ts +10 -0
  745. package/dist/serialization/types/PronunciationDictionaryLocator.js +42 -0
  746. package/dist/serialization/types/RealtimeVoiceSettings.d.ts +13 -0
  747. package/dist/serialization/types/RealtimeVoiceSettings.js +45 -0
  748. package/dist/serialization/types/ResponseFilterMode.d.ts +7 -0
  749. package/dist/serialization/types/{DubbingReleaseChannel.js → ResponseFilterMode.js} +2 -2
  750. package/dist/serialization/types/ScribeAuthErrorPayload.d.ts +10 -0
  751. package/dist/serialization/types/ScribeAuthErrorPayload.js +42 -0
  752. package/dist/serialization/types/ScribeChunkSizeExceededErrorPayload.d.ts +10 -0
  753. package/dist/serialization/types/ScribeChunkSizeExceededErrorPayload.js +42 -0
  754. package/dist/serialization/types/ScribeErrorPayload.d.ts +10 -0
  755. package/dist/serialization/types/ScribeErrorPayload.js +42 -0
  756. package/dist/serialization/types/ScribeInputErrorPayload.d.ts +10 -0
  757. package/dist/serialization/types/ScribeInputErrorPayload.js +42 -0
  758. package/dist/serialization/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +10 -0
  759. package/dist/serialization/types/ScribeInsufficientAudioActivityErrorPayload.js +42 -0
  760. package/dist/serialization/types/ScribeQueueOverflowErrorPayload.d.ts +10 -0
  761. package/dist/serialization/types/ScribeQueueOverflowErrorPayload.js +42 -0
  762. package/dist/serialization/types/ScribeQuotaExceededErrorPayload.d.ts +10 -0
  763. package/dist/serialization/types/ScribeQuotaExceededErrorPayload.js +42 -0
  764. package/dist/serialization/types/ScribeRateLimitedErrorPayload.d.ts +10 -0
  765. package/dist/serialization/types/ScribeRateLimitedErrorPayload.js +42 -0
  766. package/dist/serialization/types/ScribeResourceExhaustedErrorPayload.d.ts +10 -0
  767. package/dist/serialization/types/ScribeResourceExhaustedErrorPayload.js +42 -0
  768. package/dist/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +10 -0
  769. package/dist/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.js +42 -0
  770. package/dist/serialization/types/ScribeThrottledErrorPayload.d.ts +10 -0
  771. package/dist/serialization/types/ScribeThrottledErrorPayload.js +42 -0
  772. package/dist/serialization/types/ScribeTranscriberErrorPayload.d.ts +10 -0
  773. package/dist/serialization/types/ScribeTranscriberErrorPayload.js +42 -0
  774. package/dist/serialization/types/ScribeUnacceptedTermsErrorPayload.d.ts +10 -0
  775. package/dist/serialization/types/ScribeUnacceptedTermsErrorPayload.js +42 -0
  776. package/dist/serialization/types/SeatType.d.ts +1 -1
  777. package/dist/serialization/types/SeatType.js +1 -1
  778. package/dist/serialization/types/SendText.d.ts +15 -0
  779. package/dist/serialization/types/SendText.js +47 -0
  780. package/dist/serialization/types/SendTextMulti.d.ts +11 -0
  781. package/dist/serialization/types/SendTextMulti.js +43 -0
  782. package/dist/serialization/types/SessionStartedPayload.d.ts +12 -0
  783. package/dist/serialization/types/SessionStartedPayload.js +44 -0
  784. package/dist/serialization/types/SessionStartedPayloadConfig.d.ts +22 -0
  785. package/dist/serialization/types/SessionStartedPayloadConfig.js +54 -0
  786. package/dist/serialization/types/SessionStartedPayloadConfigCommitStrategy.d.ts +7 -0
  787. package/dist/serialization/types/SessionStartedPayloadConfigCommitStrategy.js +39 -0
  788. package/dist/serialization/types/SongMetadata.d.ts +0 -2
  789. package/dist/serialization/types/SongMetadata.js +0 -2
  790. package/dist/serialization/types/SystemToolConfigInput.d.ts +2 -0
  791. package/dist/serialization/types/SystemToolConfigInput.js +2 -0
  792. package/dist/serialization/types/SystemToolConfigOutput.d.ts +2 -0
  793. package/dist/serialization/types/SystemToolConfigOutput.js +2 -0
  794. package/dist/serialization/types/TestFromConversationMetadataInput.d.ts +1 -0
  795. package/dist/serialization/types/TestFromConversationMetadataInput.js +1 -0
  796. package/dist/serialization/types/TestFromConversationMetadataOutput.d.ts +1 -0
  797. package/dist/serialization/types/TestFromConversationMetadataOutput.js +1 -0
  798. package/dist/serialization/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
  799. package/dist/serialization/types/TextToSpeechApplyTextNormalizationEnum.js +39 -0
  800. package/dist/serialization/types/TextToSpeechOutputFormatEnum.d.ts +7 -0
  801. package/dist/serialization/types/TextToSpeechOutputFormatEnum.js +58 -0
  802. package/dist/serialization/types/ToolErrorHandlingMode.d.ts +7 -0
  803. package/dist/serialization/types/ToolErrorHandlingMode.js +39 -0
  804. package/dist/serialization/types/TranscriptionWord.d.ts +16 -0
  805. package/dist/serialization/types/TranscriptionWord.js +48 -0
  806. package/dist/serialization/types/TranscriptionWordType.d.ts +7 -0
  807. package/{serialization/types/DubbingReleaseChannel.js → dist/serialization/types/TranscriptionWordType.js} +2 -2
  808. package/dist/serialization/types/TransferBranchInfoDefaultingToMain.d.ts +9 -0
  809. package/{serialization/types/ImportWhatsAppAccountResponse.js → dist/serialization/types/TransferBranchInfoDefaultingToMain.js} +3 -3
  810. package/dist/serialization/types/TransferBranchInfoTrafficSplit.d.ts +10 -0
  811. package/dist/serialization/types/TransferBranchInfoTrafficSplit.js +42 -0
  812. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
  813. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +2 -0
  814. package/dist/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +15 -0
  815. package/dist/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.js +49 -0
  816. package/dist/serialization/types/TtsConversationalConfigInput.d.ts +2 -0
  817. package/dist/serialization/types/TtsConversationalConfigInput.js +2 -0
  818. package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +2 -0
  819. package/dist/serialization/types/TtsConversationalConfigOutput.js +2 -0
  820. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
  821. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +2 -0
  822. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
  823. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +2 -0
  824. package/dist/serialization/types/TtsConversationalModel.d.ts +1 -1
  825. package/dist/serialization/types/TtsConversationalModel.js +1 -0
  826. package/dist/serialization/types/TtsModelFamily.d.ts +1 -1
  827. package/dist/serialization/types/TtsModelFamily.js +1 -1
  828. package/dist/serialization/types/TurnConfig.d.ts +1 -0
  829. package/dist/serialization/types/TurnConfig.js +1 -0
  830. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  831. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  832. package/dist/serialization/types/TurnModel.d.ts +7 -0
  833. package/{serialization/types/BanReasonType.js → dist/serialization/types/TurnModel.js} +2 -2
  834. package/dist/serialization/types/UnitTestCommonModel.d.ts +1 -0
  835. package/dist/serialization/types/UnitTestCommonModel.js +1 -0
  836. package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
  837. package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.js +2 -0
  838. package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
  839. package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.js +2 -0
  840. package/dist/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +11 -0
  841. package/dist/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +43 -0
  842. package/dist/serialization/types/User.d.ts +1 -0
  843. package/dist/serialization/types/User.js +1 -0
  844. package/dist/serialization/types/WebhookToolConfigInput.d.ts +2 -0
  845. package/dist/serialization/types/WebhookToolConfigInput.js +2 -0
  846. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +2 -0
  847. package/dist/serialization/types/WebhookToolConfigOutput.js +2 -0
  848. package/dist/serialization/types/WebsocketTtsClientMessageMulti.d.ts +21 -0
  849. package/dist/serialization/types/WebsocketTtsClientMessageMulti.js +53 -0
  850. package/dist/serialization/types/WebsocketTtsServerMessageMulti.d.ts +15 -0
  851. package/dist/serialization/types/WebsocketTtsServerMessageMulti.js +47 -0
  852. package/dist/serialization/types/WhatsAppConversationInfo.d.ts +1 -0
  853. package/dist/serialization/types/WhatsAppConversationInfo.js +1 -0
  854. package/dist/serialization/types/WhatsAppOutboundMessageResponse.d.ts +9 -0
  855. package/dist/serialization/types/WhatsAppOutboundMessageResponse.js +41 -0
  856. package/dist/serialization/types/WhatsAppTemplateBodyComponentParams.d.ts +10 -0
  857. package/dist/serialization/types/WhatsAppTemplateBodyComponentParams.js +42 -0
  858. package/dist/serialization/types/WhatsAppTemplateButtonComponentParams.d.ts +12 -0
  859. package/dist/serialization/types/WhatsAppTemplateButtonComponentParams.js +44 -0
  860. package/dist/serialization/types/WhatsAppTemplateDocumentParam.d.ts +10 -0
  861. package/dist/serialization/types/WhatsAppTemplateDocumentParam.js +42 -0
  862. package/dist/serialization/types/WhatsAppTemplateDocumentParamDetails.d.ts +10 -0
  863. package/dist/serialization/types/WhatsAppTemplateDocumentParamDetails.js +42 -0
  864. package/dist/serialization/types/WhatsAppTemplateHeaderComponentParams.d.ts +10 -0
  865. package/dist/serialization/types/WhatsAppTemplateHeaderComponentParams.js +42 -0
  866. package/dist/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +23 -0
  867. package/dist/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +53 -0
  868. package/dist/serialization/types/WhatsAppTemplateImageParam.d.ts +10 -0
  869. package/dist/serialization/types/WhatsAppTemplateImageParam.js +42 -0
  870. package/dist/serialization/types/WhatsAppTemplateImageParamDetails.d.ts +9 -0
  871. package/dist/serialization/types/WhatsAppTemplateImageParamDetails.js +41 -0
  872. package/dist/serialization/types/WhatsAppTemplateLocationParam.d.ts +10 -0
  873. package/dist/serialization/types/WhatsAppTemplateLocationParam.js +42 -0
  874. package/dist/serialization/types/WhatsAppTemplateLocationParamDetails.d.ts +12 -0
  875. package/dist/serialization/types/WhatsAppTemplateLocationParamDetails.js +44 -0
  876. package/dist/serialization/types/WhatsAppTemplateTextParam.d.ts +11 -0
  877. package/dist/serialization/types/WhatsAppTemplateTextParam.js +43 -0
  878. package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -2
  879. package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -2
  880. package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -2
  881. package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -2
  882. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  883. package/dist/serialization/types/WorkspaceResourceType.js +1 -0
  884. package/dist/serialization/types/index.d.ts +74 -5
  885. package/dist/serialization/types/index.js +74 -5
  886. package/dist/version.d.ts +1 -1
  887. package/dist/version.js +1 -1
  888. package/package.json +1 -1
  889. package/reference.md +178 -96
  890. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  891. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
  892. package/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  893. package/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
  894. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +1 -0
  895. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +1 -0
  896. package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
  897. package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
  898. package/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  899. package/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
  900. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  901. package/serialization/resources/conversationalAi/resources/index.js +2 -0
  902. package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
  903. package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
  904. package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
  905. package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
  906. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.d.ts +17 -0
  907. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js +49 -0
  908. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
  909. package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +3 -1
  910. package/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
  911. package/serialization/resources/conversationalAi/resources/whatsapp/index.js +1 -0
  912. package/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.d.ts +19 -0
  913. package/serialization/resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js +51 -0
  914. package/serialization/resources/conversationalAi/resources/whatsapp/types/index.d.ts +1 -0
  915. package/serialization/resources/conversationalAi/resources/whatsapp/types/index.js +17 -0
  916. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  917. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
  918. package/serialization/resources/index.d.ts +6 -0
  919. package/serialization/resources/index.js +7 -1
  920. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
  921. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +68 -0
  922. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
  923. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
  924. package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  925. package/serialization/resources/textToDialogue/types/index.js +2 -0
  926. package/serialization/resources/v1SpeechToTextRealtime/index.d.ts +1 -0
  927. package/serialization/resources/v1SpeechToTextRealtime/index.js +17 -0
  928. package/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.d.ts +24 -0
  929. package/serialization/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js +74 -0
  930. package/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.d.ts +7 -0
  931. package/serialization/resources/v1SpeechToTextRealtime/types/TextToSpeechCommitStrategy.js +39 -0
  932. package/serialization/resources/v1SpeechToTextRealtime/types/index.d.ts +2 -0
  933. package/serialization/resources/v1SpeechToTextRealtime/types/index.js +18 -0
  934. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.d.ts +1 -0
  935. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/index.js +17 -0
  936. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.d.ts +9 -0
  937. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js +41 -0
  938. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.d.ts +14 -0
  939. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js +54 -0
  940. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.d.ts +2 -0
  941. package/serialization/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/index.js +18 -0
  942. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.d.ts +1 -0
  943. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/index.js +17 -0
  944. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.d.ts +9 -0
  945. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js +41 -0
  946. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.d.ts +10 -0
  947. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/SendMessage.js +42 -0
  948. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.d.ts +2 -0
  949. package/serialization/resources/v1TextToSpeechVoiceIdStreamInput/types/index.js +18 -0
  950. package/serialization/types/AgentTransfer.d.ts +1 -0
  951. package/serialization/types/AgentTransfer.js +1 -0
  952. package/serialization/types/Alignment.d.ts +11 -0
  953. package/serialization/types/Alignment.js +43 -0
  954. package/serialization/types/AlignmentGuardrail.d.ts +9 -0
  955. package/serialization/types/AlignmentGuardrail.js +41 -0
  956. package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
  957. package/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  958. package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
  959. package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  960. package/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +2 -0
  961. package/serialization/types/ApiIntegrationWebhookToolConfigInput.js +2 -0
  962. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +2 -0
  963. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +2 -0
  964. package/serialization/types/AudioFormatEnum.d.ts +7 -0
  965. package/serialization/types/AudioFormatEnum.js +47 -0
  966. package/serialization/types/AudioOutput.d.ts +13 -0
  967. package/serialization/types/AudioOutput.js +45 -0
  968. package/serialization/types/AudioOutputMulti.d.ts +14 -0
  969. package/serialization/types/AudioOutputMulti.js +46 -0
  970. package/serialization/types/AuthSettings.d.ts +1 -0
  971. package/serialization/types/AuthSettings.js +1 -0
  972. package/serialization/types/CanvasPlacement.d.ts +2 -2
  973. package/serialization/types/CanvasPlacement.js +2 -2
  974. package/serialization/types/ClientToolConfigInput.d.ts +2 -0
  975. package/serialization/types/ClientToolConfigInput.js +2 -0
  976. package/serialization/types/ClientToolConfigOutput.d.ts +2 -0
  977. package/serialization/types/ClientToolConfigOutput.js +2 -0
  978. package/serialization/types/CloseConnection.d.ts +9 -0
  979. package/serialization/types/CloseConnection.js +41 -0
  980. package/serialization/types/CloseContext.d.ts +10 -0
  981. package/serialization/types/CloseContext.js +42 -0
  982. package/serialization/types/CloseSocket.d.ts +9 -0
  983. package/serialization/types/CloseSocket.js +41 -0
  984. package/serialization/types/CommittedTranscriptPayload.d.ts +10 -0
  985. package/serialization/types/CommittedTranscriptPayload.js +42 -0
  986. package/serialization/types/CommittedTranscriptWithTimestampsPayload.d.ts +13 -0
  987. package/serialization/types/CommittedTranscriptWithTimestampsPayload.js +45 -0
  988. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  989. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
  990. package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -2
  991. package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -2
  992. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -2
  993. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -2
  994. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  995. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
  996. package/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts → ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts} +5 -4
  997. package/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModel.js → ConversationHistoryTranscriptSystemToolResultCommonModelInput.js} +5 -4
  998. package/{dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts → serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts} +3 -3
  999. package/serialization/types/{ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js} +2 -2
  1000. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +21 -0
  1001. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +53 -0
  1002. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +55 -0
  1003. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +69 -0
  1004. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  1005. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
  1006. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  1007. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
  1008. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  1009. package/serialization/types/ConversationInitiationSource.js +1 -0
  1010. package/serialization/types/ConversationTurnMetrics.d.ts +2 -0
  1011. package/serialization/types/ConversationTurnMetrics.js +2 -0
  1012. package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  1013. package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  1014. package/serialization/types/DynamicVariableAssignment.d.ts +1 -0
  1015. package/serialization/types/DynamicVariableAssignment.js +1 -0
  1016. package/serialization/types/FinalOutput.d.ts +9 -0
  1017. package/serialization/types/FinalOutput.js +41 -0
  1018. package/serialization/types/FinalOutputMulti.d.ts +10 -0
  1019. package/serialization/types/FinalOutputMulti.js +42 -0
  1020. package/serialization/types/FlushContext.d.ts +11 -0
  1021. package/serialization/types/FlushContext.js +43 -0
  1022. package/serialization/types/GenerationConfig.d.ts +9 -0
  1023. package/serialization/types/GenerationConfig.js +41 -0
  1024. package/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
  1025. package/serialization/types/GetUnitTestResponseModel.js +1 -0
  1026. package/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
  1027. package/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
  1028. package/serialization/types/GuardrailsV1Input.d.ts +2 -0
  1029. package/serialization/types/GuardrailsV1Input.js +2 -0
  1030. package/serialization/types/GuardrailsV1Output.d.ts +2 -0
  1031. package/serialization/types/GuardrailsV1Output.js +2 -0
  1032. package/serialization/types/InitialiseContext.d.ts +18 -0
  1033. package/serialization/types/InitialiseContext.js +50 -0
  1034. package/serialization/types/InitializeConnection.d.ts +17 -0
  1035. package/serialization/types/InitializeConnection.js +49 -0
  1036. package/serialization/types/InitializeConnectionMulti.d.ts +18 -0
  1037. package/serialization/types/InitializeConnectionMulti.js +50 -0
  1038. package/serialization/types/InputAudioChunkPayload.d.ts +13 -0
  1039. package/serialization/types/InputAudioChunkPayload.js +45 -0
  1040. package/serialization/types/KeepContextAlive.d.ts +10 -0
  1041. package/serialization/types/KeepContextAlive.js +42 -0
  1042. package/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
  1043. package/serialization/types/NonStreamingOutputFormats.js +47 -0
  1044. package/serialization/types/NormalizedAlignment.d.ts +11 -0
  1045. package/serialization/types/NormalizedAlignment.js +43 -0
  1046. package/serialization/types/PartialTranscriptPayload.d.ts +10 -0
  1047. package/serialization/types/PartialTranscriptPayload.js +42 -0
  1048. package/serialization/types/PermissionType.d.ts +1 -1
  1049. package/serialization/types/PermissionType.js +6 -0
  1050. package/serialization/types/ProcedureDraftRef.d.ts +9 -0
  1051. package/serialization/types/ProcedureDraftRef.js +41 -0
  1052. package/serialization/types/ProcedureVersionRef.d.ts +10 -0
  1053. package/serialization/types/ProcedureVersionRef.js +42 -0
  1054. package/serialization/types/ProjectExternalAudioResponseModel.d.ts +1 -0
  1055. package/serialization/types/ProjectExternalAudioResponseModel.js +1 -0
  1056. package/serialization/types/ProjectMutedTracksResponseModel.d.ts +9 -0
  1057. package/serialization/types/ProjectMutedTracksResponseModel.js +41 -0
  1058. package/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
  1059. package/serialization/types/ProjectVideoResponseModel.js +1 -0
  1060. package/serialization/types/PronunciationDictionaryLocator.d.ts +10 -0
  1061. package/serialization/types/PronunciationDictionaryLocator.js +42 -0
  1062. package/serialization/types/RealtimeVoiceSettings.d.ts +13 -0
  1063. package/serialization/types/RealtimeVoiceSettings.js +45 -0
  1064. package/serialization/types/ResponseFilterMode.d.ts +7 -0
  1065. package/serialization/types/ResponseFilterMode.js +39 -0
  1066. package/serialization/types/ScribeAuthErrorPayload.d.ts +10 -0
  1067. package/serialization/types/ScribeAuthErrorPayload.js +42 -0
  1068. package/serialization/types/ScribeChunkSizeExceededErrorPayload.d.ts +10 -0
  1069. package/serialization/types/ScribeChunkSizeExceededErrorPayload.js +42 -0
  1070. package/serialization/types/ScribeErrorPayload.d.ts +10 -0
  1071. package/serialization/types/ScribeErrorPayload.js +42 -0
  1072. package/serialization/types/ScribeInputErrorPayload.d.ts +10 -0
  1073. package/serialization/types/ScribeInputErrorPayload.js +42 -0
  1074. package/serialization/types/ScribeInsufficientAudioActivityErrorPayload.d.ts +10 -0
  1075. package/serialization/types/ScribeInsufficientAudioActivityErrorPayload.js +42 -0
  1076. package/serialization/types/ScribeQueueOverflowErrorPayload.d.ts +10 -0
  1077. package/serialization/types/ScribeQueueOverflowErrorPayload.js +42 -0
  1078. package/serialization/types/ScribeQuotaExceededErrorPayload.d.ts +10 -0
  1079. package/serialization/types/ScribeQuotaExceededErrorPayload.js +42 -0
  1080. package/serialization/types/ScribeRateLimitedErrorPayload.d.ts +10 -0
  1081. package/serialization/types/ScribeRateLimitedErrorPayload.js +42 -0
  1082. package/serialization/types/ScribeResourceExhaustedErrorPayload.d.ts +10 -0
  1083. package/serialization/types/ScribeResourceExhaustedErrorPayload.js +42 -0
  1084. package/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.d.ts +10 -0
  1085. package/serialization/types/ScribeSessionTimeLimitExceededErrorPayload.js +42 -0
  1086. package/serialization/types/ScribeThrottledErrorPayload.d.ts +10 -0
  1087. package/serialization/types/ScribeThrottledErrorPayload.js +42 -0
  1088. package/serialization/types/ScribeTranscriberErrorPayload.d.ts +10 -0
  1089. package/serialization/types/ScribeTranscriberErrorPayload.js +42 -0
  1090. package/serialization/types/ScribeUnacceptedTermsErrorPayload.d.ts +10 -0
  1091. package/serialization/types/ScribeUnacceptedTermsErrorPayload.js +42 -0
  1092. package/serialization/types/SeatType.d.ts +1 -1
  1093. package/serialization/types/SeatType.js +1 -1
  1094. package/serialization/types/SendText.d.ts +15 -0
  1095. package/serialization/types/SendText.js +47 -0
  1096. package/serialization/types/SendTextMulti.d.ts +11 -0
  1097. package/serialization/types/SendTextMulti.js +43 -0
  1098. package/serialization/types/SessionStartedPayload.d.ts +12 -0
  1099. package/serialization/types/SessionStartedPayload.js +44 -0
  1100. package/serialization/types/SessionStartedPayloadConfig.d.ts +22 -0
  1101. package/serialization/types/SessionStartedPayloadConfig.js +54 -0
  1102. package/serialization/types/SessionStartedPayloadConfigCommitStrategy.d.ts +7 -0
  1103. package/serialization/types/SessionStartedPayloadConfigCommitStrategy.js +39 -0
  1104. package/serialization/types/SongMetadata.d.ts +0 -2
  1105. package/serialization/types/SongMetadata.js +0 -2
  1106. package/serialization/types/SystemToolConfigInput.d.ts +2 -0
  1107. package/serialization/types/SystemToolConfigInput.js +2 -0
  1108. package/serialization/types/SystemToolConfigOutput.d.ts +2 -0
  1109. package/serialization/types/SystemToolConfigOutput.js +2 -0
  1110. package/serialization/types/TestFromConversationMetadataInput.d.ts +1 -0
  1111. package/serialization/types/TestFromConversationMetadataInput.js +1 -0
  1112. package/serialization/types/TestFromConversationMetadataOutput.d.ts +1 -0
  1113. package/serialization/types/TestFromConversationMetadataOutput.js +1 -0
  1114. package/serialization/types/TextToSpeechApplyTextNormalizationEnum.d.ts +7 -0
  1115. package/serialization/types/TextToSpeechApplyTextNormalizationEnum.js +39 -0
  1116. package/serialization/types/TextToSpeechOutputFormatEnum.d.ts +7 -0
  1117. package/serialization/types/TextToSpeechOutputFormatEnum.js +58 -0
  1118. package/serialization/types/ToolErrorHandlingMode.d.ts +7 -0
  1119. package/serialization/types/ToolErrorHandlingMode.js +39 -0
  1120. package/serialization/types/TranscriptionWord.d.ts +16 -0
  1121. package/serialization/types/TranscriptionWord.js +48 -0
  1122. package/serialization/types/TranscriptionWordType.d.ts +7 -0
  1123. package/serialization/types/TranscriptionWordType.js +39 -0
  1124. package/serialization/types/TransferBranchInfoDefaultingToMain.d.ts +9 -0
  1125. package/{dist/serialization/types/ImportWhatsAppAccountResponse.js → serialization/types/TransferBranchInfoDefaultingToMain.js} +3 -3
  1126. package/serialization/types/TransferBranchInfoTrafficSplit.d.ts +10 -0
  1127. package/serialization/types/TransferBranchInfoTrafficSplit.js +42 -0
  1128. package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +2 -0
  1129. package/serialization/types/TransferToAgentToolResultSuccessModel.js +2 -0
  1130. package/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.d.ts +15 -0
  1131. package/serialization/types/TransferToAgentToolResultSuccessModelBranchInfo.js +49 -0
  1132. package/serialization/types/TtsConversationalConfigInput.d.ts +2 -0
  1133. package/serialization/types/TtsConversationalConfigInput.js +2 -0
  1134. package/serialization/types/TtsConversationalConfigOutput.d.ts +2 -0
  1135. package/serialization/types/TtsConversationalConfigOutput.js +2 -0
  1136. package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
  1137. package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +2 -0
  1138. package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
  1139. package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +2 -0
  1140. package/serialization/types/TtsConversationalModel.d.ts +1 -1
  1141. package/serialization/types/TtsConversationalModel.js +1 -0
  1142. package/serialization/types/TtsModelFamily.d.ts +1 -1
  1143. package/serialization/types/TtsModelFamily.js +1 -1
  1144. package/serialization/types/TurnConfig.d.ts +1 -0
  1145. package/serialization/types/TurnConfig.js +1 -0
  1146. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  1147. package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  1148. package/serialization/types/TurnModel.d.ts +7 -0
  1149. package/{dist/serialization/types/BanReasonType.js → serialization/types/TurnModel.js} +2 -2
  1150. package/serialization/types/UnitTestCommonModel.d.ts +1 -0
  1151. package/serialization/types/UnitTestCommonModel.js +1 -0
  1152. package/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -0
  1153. package/serialization/types/UnitTestToolCallEvaluationModelInput.js +2 -0
  1154. package/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -0
  1155. package/serialization/types/UnitTestToolCallEvaluationModelOutput.js +2 -0
  1156. package/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.d.ts +11 -0
  1157. package/serialization/types/UnitTestWorkflowNodeTransitionEvaluationNodeId.js +43 -0
  1158. package/serialization/types/User.d.ts +1 -0
  1159. package/serialization/types/User.js +1 -0
  1160. package/serialization/types/WebhookToolConfigInput.d.ts +2 -0
  1161. package/serialization/types/WebhookToolConfigInput.js +2 -0
  1162. package/serialization/types/WebhookToolConfigOutput.d.ts +2 -0
  1163. package/serialization/types/WebhookToolConfigOutput.js +2 -0
  1164. package/serialization/types/WebsocketTtsClientMessageMulti.d.ts +21 -0
  1165. package/serialization/types/WebsocketTtsClientMessageMulti.js +53 -0
  1166. package/serialization/types/WebsocketTtsServerMessageMulti.d.ts +15 -0
  1167. package/serialization/types/WebsocketTtsServerMessageMulti.js +47 -0
  1168. package/serialization/types/WhatsAppConversationInfo.d.ts +1 -0
  1169. package/serialization/types/WhatsAppConversationInfo.js +1 -0
  1170. package/serialization/types/WhatsAppOutboundMessageResponse.d.ts +9 -0
  1171. package/serialization/types/WhatsAppOutboundMessageResponse.js +41 -0
  1172. package/serialization/types/WhatsAppTemplateBodyComponentParams.d.ts +10 -0
  1173. package/serialization/types/WhatsAppTemplateBodyComponentParams.js +42 -0
  1174. package/serialization/types/WhatsAppTemplateButtonComponentParams.d.ts +12 -0
  1175. package/serialization/types/WhatsAppTemplateButtonComponentParams.js +44 -0
  1176. package/serialization/types/WhatsAppTemplateDocumentParam.d.ts +10 -0
  1177. package/serialization/types/WhatsAppTemplateDocumentParam.js +42 -0
  1178. package/serialization/types/WhatsAppTemplateDocumentParamDetails.d.ts +10 -0
  1179. package/serialization/types/WhatsAppTemplateDocumentParamDetails.js +42 -0
  1180. package/serialization/types/WhatsAppTemplateHeaderComponentParams.d.ts +10 -0
  1181. package/serialization/types/WhatsAppTemplateHeaderComponentParams.js +42 -0
  1182. package/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.d.ts +23 -0
  1183. package/serialization/types/WhatsAppTemplateHeaderComponentParamsParametersItem.js +53 -0
  1184. package/serialization/types/WhatsAppTemplateImageParam.d.ts +10 -0
  1185. package/serialization/types/WhatsAppTemplateImageParam.js +42 -0
  1186. package/serialization/types/WhatsAppTemplateImageParamDetails.d.ts +9 -0
  1187. package/serialization/types/WhatsAppTemplateImageParamDetails.js +41 -0
  1188. package/serialization/types/WhatsAppTemplateLocationParam.d.ts +10 -0
  1189. package/serialization/types/WhatsAppTemplateLocationParam.js +42 -0
  1190. package/serialization/types/WhatsAppTemplateLocationParamDetails.d.ts +12 -0
  1191. package/serialization/types/WhatsAppTemplateLocationParamDetails.js +44 -0
  1192. package/serialization/types/WhatsAppTemplateTextParam.d.ts +11 -0
  1193. package/serialization/types/WhatsAppTemplateTextParam.js +43 -0
  1194. package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -2
  1195. package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -2
  1196. package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -2
  1197. package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -2
  1198. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1199. package/serialization/types/WorkspaceResourceType.js +1 -0
  1200. package/serialization/types/index.d.ts +74 -5
  1201. package/serialization/types/index.js +74 -5
  1202. package/version.d.ts +1 -1
  1203. package/version.js +1 -1
  1204. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
  1205. package/api/types/BanReasonType.d.ts +0 -5
  1206. package/api/types/DubbingReleaseChannel.d.ts +0 -6
  1207. package/api/types/DubbingReleaseChannel.js +0 -9
  1208. package/api/types/ImportWhatsAppAccountResponse.d.ts +0 -3
  1209. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
  1210. package/dist/api/types/BanReasonType.d.ts +0 -5
  1211. package/dist/api/types/DubbingReleaseChannel.d.ts +0 -6
  1212. package/dist/api/types/DubbingReleaseChannel.js +0 -9
  1213. package/dist/api/types/ImportWhatsAppAccountResponse.d.ts +0 -3
  1214. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
  1215. package/dist/serialization/types/BanReasonType.d.ts +0 -7
  1216. package/dist/serialization/types/DubbingReleaseChannel.d.ts +0 -7
  1217. package/dist/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
  1218. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
  1219. package/serialization/types/BanReasonType.d.ts +0 -7
  1220. package/serialization/types/DubbingReleaseChannel.d.ts +0 -7
  1221. package/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
  1222. /package/api/resources/conversationalAi/resources/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js} +0 -0
  1223. /package/api/{types/ConversationHistoryTranscriptSystemToolResultCommonModel.js → resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js} +0 -0
  1224. /package/api/{types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → resources/conversationalAi/resources/whatsapp/client/requests/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.js} +0 -0
  1225. /package/api/{types/ImportWhatsAppAccountResponse.js → resources/conversationalAi/resources/whatsapp/types/BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePostTemplateParamsItem.js} +0 -0
  1226. /package/{dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → api/resources/v1SpeechToTextRealtime/types/ReceiveTranscription.js} +0 -0
  1227. /package/{dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js → api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/ReceiveMessageMulti.js} +0 -0
  1228. /package/{dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js → api/resources/v1TextToSpeechVoiceIdMultiStreamInput/types/SendMessageMulti.js} +0 -0
  1229. /package/{dist/api/types/ImportWhatsAppAccountResponse.js → api/resources/v1TextToSpeechVoiceIdStreamInput/types/ReceiveMessage.js} +0 -0
@@ -0,0 +1,20 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Word-level transcription data with timing information.
4
+ */
5
+ export interface TranscriptionWord {
6
+ /** The transcribed word. */
7
+ text?: string;
8
+ /** Start time in seconds. */
9
+ start?: number;
10
+ /** End time in seconds. */
11
+ end?: number;
12
+ /** The type of word. */
13
+ type?: ElevenLabs.TranscriptionWordType;
14
+ /** The ID of the speaker if available. */
15
+ speakerId?: string;
16
+ /** Confidence score for this word. */
17
+ logprob?: number;
18
+ /** The characters in the word. */
19
+ characters?: string[];
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /** The type of word. */
2
+ export declare const TranscriptionWordType: {
3
+ readonly Word: "word";
4
+ readonly Spacing: "spacing";
5
+ };
6
+ export type TranscriptionWordType = (typeof TranscriptionWordType)[keyof typeof TranscriptionWordType];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.TranscriptionWordType = void 0;
5
+ /** The type of word. */
6
+ exports.TranscriptionWordType = {
7
+ Word: "word",
8
+ Spacing: "spacing",
9
+ };
@@ -0,0 +1,3 @@
1
+ export interface TransferBranchInfoDefaultingToMain {
2
+ branchId: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface TransferBranchInfoTrafficSplit {
2
+ branchId: string;
3
+ trafficPercentage: number;
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 });
@@ -1,3 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
1
2
  export interface TransferToAgentToolResultSuccessModel {
2
3
  status?: "success";
3
4
  fromAgent: string;
@@ -6,4 +7,5 @@ export interface TransferToAgentToolResultSuccessModel {
6
7
  delayMs?: number;
7
8
  transferMessage?: string;
8
9
  enableTransferredAgentFirstMessage?: boolean;
10
+ branchInfo?: ElevenLabs.TransferToAgentToolResultSuccessModelBranchInfo;
9
11
  }
@@ -0,0 +1,10 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export type TransferToAgentToolResultSuccessModelBranchInfo = ElevenLabs.TransferToAgentToolResultSuccessModelBranchInfo.DefaultingToMain | ElevenLabs.TransferToAgentToolResultSuccessModelBranchInfo.TrafficSplit;
3
+ export declare namespace TransferToAgentToolResultSuccessModelBranchInfo {
4
+ interface DefaultingToMain extends ElevenLabs.TransferBranchInfoDefaultingToMain {
5
+ branchReason: "defaulting_to_main";
6
+ }
7
+ interface TrafficSplit extends ElevenLabs.TransferBranchInfoTrafficSplit {
8
+ branchReason: "traffic_split";
9
+ }
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 });
@@ -6,6 +6,8 @@ export interface TtsConversationalConfigInput {
6
6
  voiceId?: string;
7
7
  /** Additional supported voices for the agent */
8
8
  supportedVoices?: ElevenLabs.SupportedVoice[];
9
+ /** Suggested audio tags to boost expressive speech (for eleven_v3 and eleven_v3_conversational models). The agent can still use other tags not listed here. */
10
+ suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
9
11
  /** The audio format to use for TTS */
10
12
  agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
11
13
  /** The optimization for streaming latency */
@@ -6,6 +6,8 @@ export interface TtsConversationalConfigOutput {
6
6
  voiceId?: string;
7
7
  /** Additional supported voices for the agent */
8
8
  supportedVoices?: ElevenLabs.SupportedVoice[];
9
+ /** Suggested audio tags to boost expressive speech (for eleven_v3 and eleven_v3_conversational models). The agent can still use other tags not listed here. */
10
+ suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
9
11
  /** The audio format to use for TTS */
10
12
  agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
11
13
  /** The optimization for streaming latency */
@@ -6,6 +6,8 @@ export interface TtsConversationalConfigWorkflowOverrideInput {
6
6
  voiceId?: string;
7
7
  /** Additional supported voices for the agent */
8
8
  supportedVoices?: ElevenLabs.SupportedVoice[];
9
+ /** Suggested audio tags to boost expressive speech (for eleven_v3 and eleven_v3_conversational models). The agent can still use other tags not listed here. */
10
+ suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
9
11
  /** The audio format to use for TTS */
10
12
  agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
11
13
  /** The optimization for streaming latency */
@@ -6,6 +6,8 @@ export interface TtsConversationalConfigWorkflowOverrideOutput {
6
6
  voiceId?: string;
7
7
  /** Additional supported voices for the agent */
8
8
  supportedVoices?: ElevenLabs.SupportedVoice[];
9
+ /** Suggested audio tags to boost expressive speech (for eleven_v3 and eleven_v3_conversational models). The agent can still use other tags not listed here. */
10
+ suggestedAudioTags?: ElevenLabs.SuggestedAudioTag[];
9
11
  /** The audio format to use for TTS */
10
12
  agentOutputAudioFormat?: ElevenLabs.TtsOutputFormat;
11
13
  /** The optimization for streaming latency */
@@ -4,5 +4,6 @@ export declare const TtsConversationalModel: {
4
4
  readonly ElevenFlashV2: "eleven_flash_v2";
5
5
  readonly ElevenFlashV25: "eleven_flash_v2_5";
6
6
  readonly ElevenMultilingualV2: "eleven_multilingual_v2";
7
+ readonly ElevenV3Conversational: "eleven_v3_conversational";
7
8
  };
8
9
  export type TtsConversationalModel = (typeof TtsConversationalModel)[keyof typeof TtsConversationalModel];
@@ -8,4 +8,5 @@ exports.TtsConversationalModel = {
8
8
  ElevenFlashV2: "eleven_flash_v2",
9
9
  ElevenFlashV25: "eleven_flash_v2_5",
10
10
  ElevenMultilingualV2: "eleven_multilingual_v2",
11
+ ElevenV3Conversational: "eleven_v3_conversational",
11
12
  };
@@ -2,5 +2,6 @@ export declare const TtsModelFamily: {
2
2
  readonly Turbo: "turbo";
3
3
  readonly Flash: "flash";
4
4
  readonly Multilingual: "multilingual";
5
+ readonly V3Conversational: "v3_conversational";
5
6
  };
6
7
  export type TtsModelFamily = (typeof TtsModelFamily)[keyof typeof TtsModelFamily];
@@ -6,4 +6,5 @@ exports.TtsModelFamily = {
6
6
  Turbo: "turbo",
7
7
  Flash: "flash",
8
8
  Multilingual: "multilingual",
9
+ V3Conversational: "v3_conversational",
9
10
  };
@@ -12,4 +12,6 @@ export interface TurnConfig {
12
12
  turnEagerness?: ElevenLabs.TurnEagerness;
13
13
  /** Controls if the agent should be more patient when user is spelling numbers and named entities. Auto = model based, Off = never wait extra */
14
14
  spellingPatience?: ElevenLabs.SpellingPatience;
15
+ /** When enabled, starts generating LLM responses during silence before full turn confidence is reached, reducing perceived latency. May increase LLM costs. */
16
+ speculativeTurn?: boolean;
15
17
  }
@@ -12,4 +12,6 @@ export interface TurnConfigWorkflowOverride {
12
12
  turnEagerness?: ElevenLabs.TurnEagerness;
13
13
  /** Controls if the agent should be more patient when user is spelling numbers and named entities. Auto = model based, Off = never wait extra */
14
14
  spellingPatience?: ElevenLabs.SpellingPatience;
15
+ /** When enabled, starts generating LLM responses during silence before full turn confidence is reached, reducing perceived latency. May increase LLM costs. */
16
+ speculativeTurn?: boolean;
15
17
  }
@@ -0,0 +1,6 @@
1
+ /** Version of the turn detection model to use. */
2
+ export declare const TurnModel: {
3
+ readonly TurnV2: "turn_v2";
4
+ readonly TurnV3: "turn_v3";
5
+ };
6
+ export type TurnModel = (typeof TurnModel)[keyof typeof TurnModel];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.TurnModel = void 0;
5
+ /** Version of the turn detection model to use. */
6
+ exports.TurnModel = {
7
+ TurnV2: "turn_v2",
8
+ TurnV3: "turn_v3",
9
+ };
@@ -12,6 +12,8 @@ export interface UnitTestCommonModel {
12
12
  failureExamples: ElevenLabs.AgentFailureResponseExample[];
13
13
  /** How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated. */
14
14
  toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelOutput;
15
+ /** If set to True this test will pass if any tool call returned by the LLM matches the criteria. Otherwise it will fail if more than one tool is returned by the agent. */
16
+ checkAnyToolMatches?: boolean;
15
17
  /** Dynamic variables to replace in the agent config during testing */
16
18
  dynamicVariables?: Record<string, ElevenLabs.UnitTestCommonModelDynamicVariablesValue | undefined>;
17
19
  type?: ElevenLabs.UnitTestCommonModelType;
@@ -6,4 +6,6 @@ export interface UnitTestToolCallEvaluationModelInput {
6
6
  referencedTool?: ElevenLabs.ReferencedToolCommonModel;
7
7
  /** Whether to verify that the tool was NOT called. */
8
8
  verifyAbsence?: boolean;
9
+ /** Configuration for testing workflow node transitions. When set, the test will verify the agent transitions to the specified workflow node. */
10
+ workflowNodeTransition?: ElevenLabs.UnitTestWorkflowNodeTransitionEvaluationNodeId;
9
11
  }
@@ -6,4 +6,6 @@ export interface UnitTestToolCallEvaluationModelOutput {
6
6
  referencedTool?: ElevenLabs.ReferencedToolCommonModel;
7
7
  /** Whether to verify that the tool was NOT called. */
8
8
  verifyAbsence?: boolean;
9
+ /** Configuration for testing workflow node transitions. When set, the test will verify the agent transitions to the specified workflow node. */
10
+ workflowNodeTransition?: ElevenLabs.UnitTestWorkflowNodeTransitionEvaluationNodeId;
9
11
  }
@@ -0,0 +1,7 @@
1
+ export interface UnitTestWorkflowNodeTransitionEvaluationNodeId {
2
+ type?: "node_id";
3
+ /** The ID of the agent whose workflow contains the target node. */
4
+ agentId: string;
5
+ /** The ID of the workflow node that the agent should transition to. */
6
+ targetNodeId: string;
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 });
@@ -14,6 +14,8 @@ export interface User {
14
14
  isOnboardingCompleted: boolean;
15
15
  /** Whether the user's onboarding checklist is completed. */
16
16
  isOnboardingChecklistCompleted: boolean;
17
+ /** Whether to show compliance terms (ToS, Privacy Policy, biometric consent) during onboarding. Set for users signing up from the marketing site. */
18
+ showComplianceTerms?: boolean;
17
19
  /** First name of the user. */
18
20
  firstName?: string;
19
21
  /** Whether the user's API key is hashed. */
@@ -18,6 +18,8 @@ export interface WebhookToolConfigInput {
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
  /** Configuration for dynamic variables */
22
24
  dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
23
25
  /** 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. */
@@ -18,6 +18,8 @@ export interface WebhookToolConfigOutput {
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
  /** Configuration for dynamic variables */
22
24
  dynamicVariables?: ElevenLabs.DynamicVariablesConfig;
23
25
  /** 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,31 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Message sent from the client to the multi-context TTS WebSocket.
4
+ */
5
+ export interface WebsocketTtsClientMessageMulti {
6
+ /**
7
+ * Text to be synthesized.
8
+ * For the first message establishing a new context (identified by `context_id`, or a default context if `context_id` is absent), this should be a single space character (' ').
9
+ * For subsequent messages to an active context, this is the text to synthesize.
10
+ * This field can be null or an empty string if the message is primarily for control (e.g., using `flush`, `close_context`, or `close_socket`).
11
+ */
12
+ text?: string;
13
+ /** Voice settings. Can only be provided in the first message for a given context_id (or first message overall if context_id is not used/default). */
14
+ voiceSettings?: ElevenLabs.RealtimeVoiceSettings;
15
+ /** Generation config. Can only be provided in the first message for a given context_id (or first message overall if context_id is not used/default). */
16
+ generationConfig?: ElevenLabs.GenerationConfig;
17
+ /** Your ElevenLabs API key. Can only be provided in the first message for a given context_id if not present in the header. */
18
+ xiApiKey?: string;
19
+ /** Your authorization bearer token. Can only be provided in the first message for a given context_id if not present in the header. */
20
+ authorization?: string;
21
+ /** If true, flushes the audio buffer and returns the remaining audio for the specified `context_id`. */
22
+ flush?: boolean;
23
+ /** Optional list of pronunciation dictionary locators. Can only be provided in the first message for a given context_id. */
24
+ pronunciationDictionaryLocators?: ElevenLabs.PronunciationDictionaryLocator[];
25
+ /** An identifier for the text-to-speech context. Allows managing multiple independent audio generation streams over a single WebSocket connection. If omitted, a default context is used. */
26
+ contextId?: string;
27
+ /** If true, closes the specified `contextId`. No further audio will be generated for this context. The `text` field is ignored. */
28
+ closeContext?: boolean;
29
+ /** If true, flushes all contexts and closes the entire WebSocket connection. The `text` and `contextId` fields are ignored. */
30
+ closeSocket?: boolean;
31
+ }
@@ -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
+ * Message sent from the server to the client for the multi-context TTS WebSocket.
4
+ */
5
+ export interface WebsocketTtsServerMessageMulti {
6
+ /** A generated partial audio chunk, encoded using the selected output_format (e.g., MP3 as a base64 string). */
7
+ audio?: string;
8
+ /** If true, indicates that this is the final message for the specified contextId. This is sent when a context is closed. `audio` will be null or empty. */
9
+ isFinal?: boolean;
10
+ normalizedAlignment?: ElevenLabs.NormalizedAlignment;
11
+ alignment?: ElevenLabs.Alignment;
12
+ /** The context identifier to which this message pertains. */
13
+ contextId?: string;
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 });
@@ -3,4 +3,5 @@ export interface WhatsAppConversationInfo {
3
3
  direction?: ElevenLabs.WhatsAppConversationInfoDirection;
4
4
  whatsappPhoneNumberId?: string;
5
5
  whatsappUserId: string;
6
+ awaitingFirstUserMessage?: boolean;
6
7
  }
@@ -0,0 +1,3 @@
1
+ export interface WhatsAppOutboundMessageResponse {
2
+ conversationId: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface WhatsAppTemplateBodyComponentParams {
3
+ parameters: ElevenLabs.WhatsAppTemplateTextParam[];
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface WhatsAppTemplateButtonComponentParams {
3
+ parameters: ElevenLabs.WhatsAppTemplateTextParam[];
4
+ index: number;
5
+ subType: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface WhatsAppTemplateDocumentParam {
3
+ document: ElevenLabs.WhatsAppTemplateDocumentParamDetails;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface WhatsAppTemplateDocumentParamDetails {
2
+ link: string;
3
+ filename?: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface WhatsAppTemplateHeaderComponentParams {
3
+ parameters: ElevenLabs.WhatsAppTemplateHeaderComponentParamsParametersItem[];
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,16 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export type WhatsAppTemplateHeaderComponentParamsParametersItem = ElevenLabs.WhatsAppTemplateHeaderComponentParamsParametersItem.Document | ElevenLabs.WhatsAppTemplateHeaderComponentParamsParametersItem.Image | ElevenLabs.WhatsAppTemplateHeaderComponentParamsParametersItem.Location | ElevenLabs.WhatsAppTemplateHeaderComponentParamsParametersItem.Text;
3
+ export declare namespace WhatsAppTemplateHeaderComponentParamsParametersItem {
4
+ interface Document extends ElevenLabs.WhatsAppTemplateDocumentParam {
5
+ type: "document";
6
+ }
7
+ interface Image extends ElevenLabs.WhatsAppTemplateImageParam {
8
+ type: "image";
9
+ }
10
+ interface Location extends ElevenLabs.WhatsAppTemplateLocationParam {
11
+ type: "location";
12
+ }
13
+ interface Text extends ElevenLabs.WhatsAppTemplateTextParam {
14
+ type: "text";
15
+ }
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface WhatsAppTemplateImageParam {
3
+ image: ElevenLabs.WhatsAppTemplateImageParamDetails;
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,3 @@
1
+ export interface WhatsAppTemplateImageParamDetails {
2
+ link: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface WhatsAppTemplateLocationParam {
3
+ location: ElevenLabs.WhatsAppTemplateLocationParamDetails;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface WhatsAppTemplateLocationParamDetails {
2
+ latitude: string;
3
+ longitude: string;
4
+ name: string;
5
+ address: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface WhatsAppTemplateTextParam {
2
+ parameterName?: string;
3
+ type?: "text";
4
+ text: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,2 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export type WorkflowToolNestedToolsStepModelInputResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModel | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput;
2
+ export type WorkflowToolNestedToolsStepModelInputResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInput | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput;
@@ -1,2 +1,2 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export type WorkflowToolNestedToolsStepModelOutputResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModel | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput;
2
+ export type WorkflowToolNestedToolsStepModelOutputResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutput | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput;
@@ -30,5 +30,6 @@ export declare const WorkspaceResourceType: {
30
30
  readonly ResourceLocators: "resource_locators";
31
31
  readonly Assets: "assets";
32
32
  readonly ContentGenerations: "content_generations";
33
+ readonly ContentTemplates: "content_templates";
33
34
  };
34
35
  export type WorkspaceResourceType = (typeof WorkspaceResourceType)[keyof typeof WorkspaceResourceType];
@@ -34,4 +34,5 @@ exports.WorkspaceResourceType = {
34
34
  ResourceLocators: "resource_locators",
35
35
  Assets: "assets",
36
36
  ContentGenerations: "content_generations",
37
+ ContentTemplates: "content_templates",
37
38
  };