@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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Payload for committed transcription results.
3
+ */
4
+ export interface CommittedTranscriptPayload {
5
+ /** The message type identifier. */
6
+ messageType: "committed_transcript";
7
+ /** Committed transcription text. */
8
+ text: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Payload for committed transcription results with word-level timestamps.
4
+ */
5
+ export interface CommittedTranscriptWithTimestampsPayload {
6
+ /** The message type identifier. */
7
+ messageType: "committed_transcript_with_timestamps";
8
+ /** Committed transcription text. */
9
+ text: string;
10
+ /** Detected or specified language code. */
11
+ languageCode?: string;
12
+ /** Word-level information with timestamps. */
13
+ words?: ElevenLabs.TranscriptionWord[];
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCo
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
9
  errorType?: string;
10
+ rawErrorMessage?: string;
10
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
11
12
  type: "api_integration_webhook";
12
13
  integrationId: string;
@@ -1,2 +1,2 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export type ConversationHistoryTranscriptCommonModelInputToolResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModel | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput;
2
+ export type ConversationHistoryTranscriptCommonModelInputToolResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInput | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput;
@@ -1,2 +1,2 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export type ConversationHistoryTranscriptCommonModelOutputToolResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModel | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput;
2
+ export type ConversationHistoryTranscriptCommonModelOutputToolResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutput | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput;
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptOtherToolsResultCommonModel {
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
9
  errorType?: string;
10
+ rawErrorMessage?: string;
10
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
11
12
  type?: ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModelType;
12
13
  }
@@ -1,5 +1,5 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export interface ConversationHistoryTranscriptSystemToolResultCommonModel {
2
+ export interface ConversationHistoryTranscriptSystemToolResultCommonModelInput {
3
3
  requestId: string;
4
4
  toolName: string;
5
5
  resultValue: string;
@@ -7,7 +7,8 @@ export interface ConversationHistoryTranscriptSystemToolResultCommonModel {
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
9
  errorType?: string;
10
+ rawErrorMessage?: string;
10
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
11
12
  type: "system";
12
- result?: ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult;
13
+ result?: ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult;
13
14
  }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export type ConversationHistoryTranscriptSystemToolResultCommonModelResult = ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.EndCallSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.LanguageDetectionSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.PlayDtmfError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.PlayDtmfSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.SkipTurnSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TestingToolResult | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToAgentError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToAgentSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberSipSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberTwilioSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult.VoicemailDetectionSuccess;
3
- export declare namespace ConversationHistoryTranscriptSystemToolResultCommonModelResult {
2
+ export type ConversationHistoryTranscriptSystemToolResultCommonModelInputResult = ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.EndCallSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.LanguageDetectionSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.PlayDtmfError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.PlayDtmfSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.SkipTurnSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TestingToolResult | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToAgentError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToAgentSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberSipSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.TransferToNumberTwilioSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.VoicemailDetectionSuccess;
3
+ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonModelInputResult {
4
4
  interface EndCallSuccess extends ElevenLabs.EndCallToolResultModel {
5
5
  resultType: "end_call_success";
6
6
  }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface ConversationHistoryTranscriptSystemToolResultCommonModelOutput {
3
+ requestId: string;
4
+ toolName: string;
5
+ resultValue: string;
6
+ isError: boolean;
7
+ toolHasBeenCalled: boolean;
8
+ toolLatencySecs?: number;
9
+ errorType?: string;
10
+ rawErrorMessage?: string;
11
+ dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
12
+ type: "system";
13
+ result?: ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,40 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export type ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult = ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.EndCallSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.LanguageDetectionSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.PlayDtmfError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.PlayDtmfSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.SkipTurnSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TestingToolResult | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToAgentError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToAgentSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberError | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberSipSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.TransferToNumberTwilioSuccess | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.VoicemailDetectionSuccess;
3
+ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult {
4
+ interface EndCallSuccess extends ElevenLabs.EndCallToolResultModel {
5
+ resultType: "end_call_success";
6
+ }
7
+ interface LanguageDetectionSuccess extends ElevenLabs.LanguageDetectionToolResultModel {
8
+ resultType: "language_detection_success";
9
+ }
10
+ interface PlayDtmfError extends ElevenLabs.PlayDtmfResultErrorModel {
11
+ resultType: "play_dtmf_error";
12
+ }
13
+ interface PlayDtmfSuccess extends ElevenLabs.PlayDtmfResultSuccessModel {
14
+ resultType: "play_dtmf_success";
15
+ }
16
+ interface SkipTurnSuccess extends ElevenLabs.SkipTurnToolResponseModel {
17
+ resultType: "skip_turn_success";
18
+ }
19
+ interface TestingToolResult extends ElevenLabs.TestToolResultModel {
20
+ resultType: "testing_tool_result";
21
+ }
22
+ interface TransferToAgentError extends ElevenLabs.TransferToAgentToolResultErrorModel {
23
+ resultType: "transfer_to_agent_error";
24
+ }
25
+ interface TransferToAgentSuccess extends ElevenLabs.TransferToAgentToolResultSuccessModel {
26
+ resultType: "transfer_to_agent_success";
27
+ }
28
+ interface TransferToNumberError extends ElevenLabs.TransferToNumberResultErrorModel {
29
+ resultType: "transfer_to_number_error";
30
+ }
31
+ interface TransferToNumberSipSuccess extends ElevenLabs.TransferToNumberResultSipSuccessModel {
32
+ resultType: "transfer_to_number_sip_success";
33
+ }
34
+ interface TransferToNumberTwilioSuccess extends ElevenLabs.TransferToNumberResultTwilioSuccessModel {
35
+ resultType: "transfer_to_number_twilio_success";
36
+ }
37
+ interface VoicemailDetectionSuccess extends ElevenLabs.VoiceMailDetectionResultSuccessModel {
38
+ resultType: "voicemail_detection_success";
39
+ }
40
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptWorkflowToolsResultCommonModelInpu
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
9
  errorType?: string;
10
+ rawErrorMessage?: string;
10
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
11
12
  type: "workflow";
12
13
  result?: ElevenLabs.WorkflowToolResponseModelInput;
@@ -7,6 +7,7 @@ export interface ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutp
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
9
  errorType?: string;
10
+ rawErrorMessage?: string;
10
11
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
11
12
  type: "workflow";
12
13
  result?: ElevenLabs.WorkflowToolResponseModelOutput;
@@ -15,5 +15,6 @@ export declare const ConversationInitiationSource: {
15
15
  readonly Whatsapp: "whatsapp";
16
16
  readonly FlutterSdk: "flutter_sdk";
17
17
  readonly ZendeskIntegration: "zendesk_integration";
18
+ readonly SlackIntegration: "slack_integration";
18
19
  };
19
20
  export type ConversationInitiationSource = (typeof ConversationInitiationSource)[keyof typeof ConversationInitiationSource];
@@ -19,4 +19,5 @@ exports.ConversationInitiationSource = {
19
19
  Whatsapp: "whatsapp",
20
20
  FlutterSdk: "flutter_sdk",
21
21
  ZendeskIntegration: "zendesk_integration",
22
+ SlackIntegration: "slack_integration",
22
23
  };
@@ -1,4 +1,6 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface ConversationTurnMetrics {
3
3
  metrics?: Record<string, ElevenLabs.MetricRecord>;
4
+ convaiAsrProvider?: string;
5
+ convaiTtsModel?: string;
4
6
  }
@@ -4,9 +4,9 @@ export interface CreateSipTrunkPhoneNumberRequest {
4
4
  phoneNumber: string;
5
5
  /** Label for the phone number */
6
6
  label: string;
7
- /** Whether this phone number supports inbound calls */
7
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports inbound calls */
8
8
  supportsInbound?: boolean;
9
- /** Whether this phone number supports outbound calls */
9
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports outbound calls */
10
10
  supportsOutbound?: boolean;
11
11
  inboundTrunkConfig?: ElevenLabs.InboundSipTrunkConfigRequestModel;
12
12
  outboundTrunkConfig?: ElevenLabs.OutboundSipTrunkConfigRequestModel;
@@ -4,9 +4,9 @@ export interface CreateTwilioPhoneNumberRequest {
4
4
  phoneNumber: string;
5
5
  /** Label for the phone number */
6
6
  label: string;
7
- /** Whether this phone number supports inbound calls */
7
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports inbound calls */
8
8
  supportsInbound?: boolean;
9
- /** Whether this phone number supports outbound calls */
9
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports outbound calls */
10
10
  supportsOutbound?: boolean;
11
11
  /** Twilio Account SID */
12
12
  sid: string;
@@ -38,6 +38,7 @@ export interface DirectPublishingReadResponseModel {
38
38
  payoutType?: ElevenLabs.DirectPublishingReadResponseModelPayoutType;
39
39
  listPrice?: number;
40
40
  currency?: "usd";
41
+ originalAudioProjectExportId?: string;
41
42
  originalAudioDocumentId?: string;
42
43
  seriesId?: string;
43
44
  volume?: number;
@@ -8,4 +8,6 @@ export interface DynamicVariableAssignment {
8
8
  dynamicVariable: string;
9
9
  /** Dot notation path to extract the value from the source (e.g., 'user.name' or 'data.0.id') */
10
10
  valuePath: string;
11
+ /** If true, this assignment's value will be removed from the tool response before sending to the LLM and transcript, but still processed for variable assignment. */
12
+ sanitize?: boolean;
11
13
  }
@@ -0,0 +1,4 @@
1
+ export interface FinalOutput {
2
+ /** Indicates if the generation is complete. If set to `True`, `audio` will be null. */
3
+ isFinal?: true;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Server payload indicating the final output for a specific context.
3
+ */
4
+ export interface FinalOutputMulti {
5
+ /** Indicates this is the final message for the context. */
6
+ isFinal: true;
7
+ /** The context_id for which this is the final message. */
8
+ contextId?: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Payload to flush the audio buffer for a specific context.
3
+ */
4
+ export interface FlushContext {
5
+ /** The context_id to flush. */
6
+ contextId: string;
7
+ /** The text to append to the buffer to be flushed. */
8
+ text?: string;
9
+ /** If true, flushes the audio buffer for the specified context. If false, the context will remain open and the text will be appended to the buffer to be generated. */
10
+ flush: boolean;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ export interface GenerationConfig {
2
+ /**
3
+ * This is an advanced setting that most users shouldn't need to use. It relates to our
4
+ * generation schedule.
5
+ *
6
+ * Our WebSocket service incorporates a buffer system designed to optimize the Time To First Byte (TTFB) while maintaining high-quality streaming.
7
+ *
8
+ * All text sent to the WebSocket endpoint is added to this buffer and only when that buffer reaches a certain size is an audio generation attempted. This is because our model provides higher quality audio when the model has longer inputs, and can deduce more context about how the text should be delivered.
9
+ *
10
+ * The buffer ensures smooth audio data delivery and is automatically emptied with a final audio generation either when the stream is closed, or upon sending a `flush` command. We have advanced settings for changing the chunk schedule, which can improve latency at the cost of quality by generating audio more frequently with smaller text inputs.
11
+ *
12
+ * The `chunk_length_schedule` determines the minimum amount of text that needs to be sent and present in our
13
+ * buffer before audio starts being generated. This is to maximise the amount of context available to
14
+ * the model to improve audio quality, whilst balancing latency of the returned audio chunks.
15
+ *
16
+ * The default value for `chunk_length_schedule` is: [120, 160, 250, 290].
17
+ *
18
+ * This means that the first chunk of audio will not be generated until you send text that
19
+ * totals at least 120 characters long. The next chunk of audio will only be generated once a
20
+ * further 160 characters have been sent. The third audio chunk will be generated after the
21
+ * next 250 characters. Then the fourth, and beyond, will be generated in sets of at least 290 characters.
22
+ *
23
+ * Customize this array to suit your needs. If you want to generate audio more frequently
24
+ * to optimise latency, you can reduce the values in the array. Note that setting the values
25
+ * too low may result in lower quality audio. Please test and adjust as needed.
26
+ *
27
+ * Each item should be in the range 50-500.
28
+ */
29
+ chunkLengthSchedule?: number[];
30
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,9 +4,9 @@ export interface GetPhoneNumberSipTrunkResponseModel {
4
4
  phoneNumber: string;
5
5
  /** Label for the phone number */
6
6
  label: string;
7
- /** Whether this phone number supports inbound calls */
7
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports inbound calls */
8
8
  supportsInbound?: boolean;
9
- /** Whether this phone number supports outbound calls */
9
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports outbound calls */
10
10
  supportsOutbound?: boolean;
11
11
  /** The ID of the phone number */
12
12
  phoneNumberId: string;
@@ -4,9 +4,9 @@ export interface GetPhoneNumberTwilioResponseModel {
4
4
  phoneNumber: string;
5
5
  /** Label for the phone number */
6
6
  label: string;
7
- /** Whether this phone number supports inbound calls */
7
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports inbound calls */
8
8
  supportsInbound?: boolean;
9
- /** Whether this phone number supports outbound calls */
9
+ /** This field is deprecated and will be removed in the future. Whether this phone number supports outbound calls */
10
10
  supportsOutbound?: boolean;
11
11
  /** The ID of the phone number */
12
12
  phoneNumberId: string;
@@ -9,6 +9,8 @@ export interface GetUnitTestResponseModel {
9
9
  failureExamples: ElevenLabs.AgentFailureResponseExample[];
10
10
  /** How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated. */
11
11
  toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelOutput;
12
+ /** 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. */
13
+ checkAnyToolMatches?: boolean;
12
14
  /** Dynamic variables to replace in the agent config during testing */
13
15
  dynamicVariables?: Record<string, ElevenLabs.GetUnitTestResponseModelDynamicVariablesValue | undefined>;
14
16
  type?: ElevenLabs.UnitTestCommonModelType;
@@ -1,4 +1,8 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface GetWorkspaceSecretsResponseModel {
3
3
  secrets: ElevenLabs.ConvAiWorkspaceStoredSecretConfig[];
4
+ /** Cursor for fetching the next page of secrets */
5
+ nextCursor?: string;
6
+ /** Whether there are more secrets to fetch */
7
+ hasMore?: boolean;
4
8
  }
@@ -1,5 +1,6 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface GuardrailsV1Input {
3
3
  version?: "1";
4
+ alignment?: ElevenLabs.AlignmentGuardrail;
4
5
  moderation?: ElevenLabs.ModerationGuardrailInput;
5
6
  }
@@ -1,5 +1,6 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface GuardrailsV1Output {
3
3
  version?: "1";
4
+ alignment?: ElevenLabs.AlignmentGuardrail;
4
5
  moderation?: ElevenLabs.ModerationGuardrailOutput;
5
6
  }
@@ -0,0 +1,18 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Payload to initialize or re-initialize a TTS context with specific settings and initial text for multi-stream connections.
4
+ */
5
+ export interface InitialiseContext {
6
+ /** The initial text to synthesize. Should end with a single space. */
7
+ text: string;
8
+ voiceSettings?: ElevenLabs.RealtimeVoiceSettings;
9
+ generationConfig?: ElevenLabs.GenerationConfig;
10
+ /** Optional list of pronunciation dictionary locators to be used for this context. */
11
+ pronunciationDictionaryLocators?: ElevenLabs.PronunciationDictionaryLocator[];
12
+ /** Your ElevenLabs API key. Required if not provided in the WebSocket connection's header or query parameters. This applies to the (re)initialization of this specific context. */
13
+ xiApiKey?: string;
14
+ /** Your authorization bearer token. Required if not provided in the WebSocket connection's header or query parameters. This applies to the (re)initialization of this specific context. */
15
+ authorization?: string;
16
+ /** An identifier for the text-to-speech context. If omitted, a default context ID may be assigned by the server. If provided, this message will create a new context with this ID or re-initialize an existing one with the new settings and text. */
17
+ contextId?: string;
18
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface InitializeConnection {
3
+ /** The initial text that must be sent is a blank space. */
4
+ text: " ";
5
+ voiceSettings?: ElevenLabs.RealtimeVoiceSettings;
6
+ generationConfig?: ElevenLabs.GenerationConfig;
7
+ /**
8
+ * Optional list of pronunciation dictionary locators. If provided, these dictionaries will be used to
9
+ * modify pronunciation of matching text. Must only be provided in the first message.
10
+ *
11
+ * Note: Pronunciation dictionary matches will only be respected within a provided chunk.
12
+ */
13
+ pronunciationDictionaryLocators?: ElevenLabs.PronunciationDictionaryLocator[];
14
+ /** Your ElevenLabs API key. This can only be included in the first message and is not needed if present in the header. */
15
+ xiApiKey?: string;
16
+ /** Your authorization bearer token. This can only be included in the first message and is not needed if present in the header. */
17
+ authorization?: string;
18
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Payload to initialize a new context in a multi-stream WebSocket connection.
4
+ */
5
+ export interface InitializeConnectionMulti {
6
+ /** Must be a single space character to initiate the context. */
7
+ text: " ";
8
+ voiceSettings?: ElevenLabs.RealtimeVoiceSettings;
9
+ generationConfig?: ElevenLabs.GenerationConfig;
10
+ /** Optional pronunciation dictionaries for this context. */
11
+ pronunciationDictionaryLocators?: ElevenLabs.PronunciationDictionaryLocator[];
12
+ /** Your ElevenLabs API key (if not in header). For this context's first message only. */
13
+ xiApiKey?: string;
14
+ /** Your authorization bearer token (if not in header). For this context's first message only. */
15
+ authorization?: string;
16
+ /** A unique identifier for the first context created in the websocket. If not provided, a default context will be used. */
17
+ contextId?: string;
18
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Payload for sending audio chunks from client to server.
3
+ */
4
+ export interface InputAudioChunkPayload {
5
+ /** The message type identifier. */
6
+ messageType: "input_audio_chunk";
7
+ /** Base64-encoded audio data. */
8
+ audioBase64: string;
9
+ /** Whether to commit the transcription after this chunk. */
10
+ commit: boolean;
11
+ /** Sample rate of the audio in Hz. */
12
+ sampleRate: number;
13
+ /** Send text context to the model. Can only be sent alongside the first audio chunk. If sent in a subsequent chunk, an error will be returned. */
14
+ previousText?: string;
15
+ }
@@ -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 });
@@ -12,7 +12,7 @@ export interface InvoiceResponse {
12
12
  discountAmountOff?: number;
13
13
  /** The discounts applied to the invoice. */
14
14
  discounts: ElevenLabs.DiscountResponseModel[];
15
- /** The Unix timestamp of the next payment attempt. */
15
+ /** The Unix timestamp of the next payment attempt. -1 when there is no next payment attempt. */
16
16
  nextPaymentAttemptUnix: number;
17
17
  /** Deprecated. Use [payment_intent_statusses] instead. The status of this invoice's first payment intent. None when there is no payment intent. */
18
18
  paymentIntentStatus?: ElevenLabs.InvoiceResponseModelPaymentIntentStatus;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Payload to keep a specific context alive by resetting its inactivity timeout. Empty text is ignored but resets the clock.
3
+ */
4
+ export interface KeepContextAlive {
5
+ /** An empty string. This text is ignored by the server but its presence resets the inactivity timeout for the specified context. */
6
+ text: "";
7
+ /** The identifier of the context to keep alive. */
8
+ contextId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ export declare const NonStreamingOutputFormats: {
2
+ readonly Wav8000: "wav_8000";
3
+ readonly Wav16000: "wav_16000";
4
+ readonly Wav22050: "wav_22050";
5
+ readonly Wav24000: "wav_24000";
6
+ readonly Wav32000: "wav_32000";
7
+ readonly Wav44100: "wav_44100";
8
+ readonly Wav48000: "wav_48000";
9
+ };
10
+ export type NonStreamingOutputFormats = (typeof NonStreamingOutputFormats)[keyof typeof NonStreamingOutputFormats];
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.NonStreamingOutputFormats = void 0;
5
+ exports.NonStreamingOutputFormats = {
6
+ Wav8000: "wav_8000",
7
+ Wav16000: "wav_16000",
8
+ Wav22050: "wav_22050",
9
+ Wav24000: "wav_24000",
10
+ Wav32000: "wav_32000",
11
+ Wav44100: "wav_44100",
12
+ Wav48000: "wav_48000",
13
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Alignment information for the generated audio given the input normalized text sequence.
3
+ */
4
+ export interface NormalizedAlignment {
5
+ /**
6
+ * A list of starting times (in milliseconds) for each character in the normalized text as it
7
+ * corresponds to the audio. For instance, the character 'H' starts at time 0 ms in the audio.
8
+ * Note these times are relative to the returned chunk from the model, and not the
9
+ * full audio response.
10
+ */
11
+ charStartTimesMs?: number[];
12
+ /**
13
+ * A list of durations (in milliseconds) for each character in the normalized text as it
14
+ * corresponds to the audio. For instance, the character 'H' lasts for 3 ms in the audio.
15
+ * Note these times are relative to the returned chunk from the model, and not the
16
+ * full audio response.
17
+ */
18
+ charDurationsMs?: number[];
19
+ /**
20
+ * A list of characters in the normalized text sequence. For instance, the first character is 'H'.
21
+ * Note that this list may contain spaces, punctuation, and other special characters.
22
+ * The length of this list should be the same as the lengths of `charStartTimesMs` and `charDurationsMs`.
23
+ */
24
+ chars?: string[];
25
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Payload for partial transcription results that may change.
3
+ */
4
+ export interface PartialTranscriptPayload {
5
+ /** The message type identifier. */
6
+ messageType: "partial_transcript";
7
+ /** Partial transcription text. */
8
+ text: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });