@elevenlabs/elevenlabs-js 2.7.0 → 2.8.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 (1066) hide show
  1. package/Client.d.ts +13 -0
  2. package/Client.js +77 -12
  3. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +4 -4
  4. package/api/resources/conversationalAi/resources/agents/client/Client.js +4 -4
  5. package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
  6. package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +4 -2
  7. package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +4 -2
  8. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
  9. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +15 -0
  10. package/api/resources/conversationalAi/resources/conversations/client/Client.js +94 -1
  11. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +28 -0
  12. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
  13. package/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
  14. package/api/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
  15. package/api/resources/conversationalAi/resources/conversations/index.js +1 -0
  16. package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +11 -0
  17. package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +10 -0
  18. package/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  19. package/api/resources/conversationalAi/resources/conversations/types/index.js +17 -0
  20. package/api/resources/conversationalAi/resources/index.d.ts +2 -1
  21. package/api/resources/conversationalAi/resources/index.js +3 -2
  22. package/api/resources/dubbing/client/Client.js +3 -0
  23. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  24. package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +1 -1
  25. package/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +1 -1
  26. package/api/resources/index.d.ts +1 -0
  27. package/api/resources/index.js +2 -1
  28. package/api/resources/serviceAccounts/client/Client.d.ts +48 -0
  29. package/api/resources/serviceAccounts/client/Client.js +134 -0
  30. package/api/resources/serviceAccounts/client/index.d.ts +1 -0
  31. package/api/resources/serviceAccounts/client/index.js +2 -0
  32. package/api/resources/serviceAccounts/index.d.ts +2 -0
  33. package/api/resources/serviceAccounts/index.js +18 -0
  34. package/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +96 -0
  35. package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +341 -0
  36. package/api/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +2 -0
  37. package/api/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
  38. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +18 -0
  39. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +22 -0
  40. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
  41. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +2 -0
  42. package/api/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
  43. package/api/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
  44. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +8 -0
  45. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +31 -0
  46. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +33 -0
  47. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +8 -0
  48. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +31 -0
  49. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +33 -0
  50. package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
  51. package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
  52. package/api/resources/serviceAccounts/resources/index.d.ts +3 -0
  53. package/api/resources/serviceAccounts/resources/index.js +42 -0
  54. package/api/resources/speechToText/client/Client.d.ts +2 -2
  55. package/api/resources/speechToText/client/Client.js +5 -2
  56. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +7 -0
  57. package/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +5 -0
  58. package/api/resources/speechToText/types/index.d.ts +1 -0
  59. package/api/resources/speechToText/types/index.js +1 -0
  60. package/api/resources/studio/resources/projects/client/Client.d.ts +1 -4
  61. package/api/resources/studio/resources/projects/client/Client.js +10 -7
  62. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +4 -7
  63. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  64. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  65. package/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
  66. package/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
  67. package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +1 -1
  68. package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +1 -1
  69. package/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +1 -1
  70. package/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +1 -1
  71. package/api/resources/textToVoice/client/Client.d.ts +0 -17
  72. package/api/resources/textToVoice/client/Client.js +0 -77
  73. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +4 -0
  74. package/api/resources/textToVoice/client/requests/index.d.ts +0 -1
  75. package/api/resources/voices/client/Client.js +9 -1
  76. package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +4 -0
  77. package/api/types/AddProjectRequest.d.ts +1 -130
  78. package/api/types/AgentConfig.d.ts +11 -1
  79. package/api/types/AgentSummaryResponseModel.d.ts +2 -0
  80. package/api/types/AsrProvider.d.ts +1 -5
  81. package/api/types/AsrProvider.js +0 -5
  82. package/api/types/BatchCallRecipientStatus.d.ts +2 -1
  83. package/api/types/BatchCallRecipientStatus.js +1 -0
  84. package/api/types/BuiltInToolsInput.d.ts +2 -0
  85. package/api/types/BuiltInToolsOutput.d.ts +2 -0
  86. package/api/types/CaptionStyleCharacterAnimationModel.d.ts +8 -0
  87. package/api/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +8 -0
  88. package/api/types/CaptionStyleCharacterAnimationModelEnterType.js +10 -0
  89. package/api/types/CaptionStyleCharacterAnimationModelExitType.d.ts +8 -0
  90. package/api/types/CaptionStyleCharacterAnimationModelExitType.js +10 -0
  91. package/api/types/CaptionStyleHorizontalPlacementModel.d.ts +8 -0
  92. package/api/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +9 -0
  93. package/api/types/CaptionStyleHorizontalPlacementModelAlign.js +11 -0
  94. package/api/types/CaptionStyleModel.d.ts +29 -0
  95. package/api/types/CaptionStyleModelTextAlign.d.ts +9 -0
  96. package/api/types/CaptionStyleModelTextAlign.js +11 -0
  97. package/api/types/CaptionStyleModelTextStyle.d.ts +8 -0
  98. package/api/types/CaptionStyleModelTextStyle.js +10 -0
  99. package/api/types/CaptionStyleModelTextWeight.d.ts +8 -0
  100. package/api/types/CaptionStyleModelTextWeight.js +10 -0
  101. package/api/types/CaptionStyleSectionAnimationModel.d.ts +8 -0
  102. package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +9 -0
  103. package/api/types/CaptionStyleSectionAnimationModelEnterType.js +11 -0
  104. package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +9 -0
  105. package/api/types/CaptionStyleSectionAnimationModelExitType.js +11 -0
  106. package/api/types/CaptionStyleTemplateModel.d.ts +7 -0
  107. package/api/types/CaptionStyleVerticalPlacementModel.d.ts +8 -0
  108. package/api/types/CaptionStyleVerticalPlacementModelAlign.d.ts +9 -0
  109. package/api/types/CaptionStyleVerticalPlacementModelAlign.js +11 -0
  110. package/api/types/CaptionStyleWordAnimationModel.d.ts +8 -0
  111. package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +9 -0
  112. package/api/types/CaptionStyleWordAnimationModelEnterType.js +11 -0
  113. package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +9 -0
  114. package/api/types/CaptionStyleWordAnimationModelExitType.js +11 -0
  115. package/api/types/ClientToolConfigInput.d.ts +6 -0
  116. package/api/types/ClientToolConfigOutput.d.ts +6 -0
  117. package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  118. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
  119. package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +5 -0
  120. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
  121. package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +5 -0
  122. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +14 -0
  123. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +9 -0
  124. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +11 -0
  125. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +15 -0
  126. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +37 -0
  127. package/api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +1 -1
  128. package/api/types/ConversationInitiationClientDataInternal.d.ts +1 -0
  129. package/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -0
  130. package/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -0
  131. package/api/types/ConversationInitiationSource.d.ts +2 -1
  132. package/api/types/ConversationInitiationSource.js +1 -0
  133. package/api/types/ConversationInitiationSourceInfo.d.ts +13 -0
  134. package/api/types/ConversationSimulationSpecification.d.ts +1 -1
  135. package/api/types/ConversationSummaryResponseModel.d.ts +2 -0
  136. package/api/types/ConversationalConfig.d.ts +1 -1
  137. package/api/types/DubbedSegment.d.ts +1 -0
  138. package/api/types/DynamicVariableAssignment.d.ts +14 -0
  139. package/api/types/DynamicVariableUpdateCommonModel.d.ts +14 -0
  140. package/api/types/EndCallToolResultModel.d.ts +8 -0
  141. package/api/types/FeaturesUsageCommonModel.d.ts +4 -0
  142. package/api/types/GetAgentResponseModel.d.ts +0 -1
  143. package/api/types/LanguageDetectionToolResultModel.d.ts +8 -0
  144. package/api/types/Llm.d.ts +7 -1
  145. package/api/types/Llm.js +6 -0
  146. package/api/types/McpToolConfigInput.d.ts +6 -0
  147. package/api/types/McpToolConfigOutput.d.ts +6 -0
  148. package/api/types/MultichannelSpeechToTextResponseModel.d.ts +11 -0
  149. package/api/types/PlayDtmfResultErrorModel.d.ts +8 -0
  150. package/api/types/PlayDtmfResultSuccessModel.d.ts +8 -0
  151. package/api/types/ProjectExtendedResponse.d.ts +4 -0
  152. package/api/types/ProjectResponse.d.ts +4 -0
  153. package/api/types/PromptAgentApiModelOverride.d.ts +2 -0
  154. package/api/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
  155. package/api/types/SaveVoicePreviewRequest.d.ts +4 -0
  156. package/api/types/SegmentSubtitleFrame.d.ts +8 -0
  157. package/api/types/SkipTurnToolResponseModel.d.ts +7 -0
  158. package/api/types/SkipTurnToolResponseModel.js +5 -0
  159. package/api/types/SpeakerSegment.d.ts +1 -0
  160. package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  161. package/api/types/SystemToolConfigInput.d.ts +6 -0
  162. package/api/types/SystemToolConfigInputParams.d.ts +4 -1
  163. package/api/types/SystemToolConfigOutput.d.ts +6 -0
  164. package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  165. package/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
  166. package/api/types/TokenResponseModel.d.ts +6 -0
  167. package/api/types/TokenResponseModel.js +5 -0
  168. package/api/types/Tool.d.ts +3 -0
  169. package/api/types/ToolResponseModel.d.ts +1 -0
  170. package/api/types/ToolType.d.ts +10 -0
  171. package/api/types/ToolType.js +12 -0
  172. package/api/types/ToolUsageStatsResponseModel.d.ts +8 -0
  173. package/api/types/ToolUsageStatsResponseModel.js +5 -0
  174. package/api/types/TransferToAgentToolResultErrorModel.d.ts +8 -0
  175. package/api/types/TransferToAgentToolResultErrorModel.js +5 -0
  176. package/api/types/TransferToAgentToolResultSuccessModel.d.ts +12 -0
  177. package/api/types/TransferToAgentToolResultSuccessModel.js +5 -0
  178. package/api/types/TransferToNumberResultErrorModel.d.ts +8 -0
  179. package/api/types/TransferToNumberResultErrorModel.js +5 -0
  180. package/api/types/TransferToNumberResultSipSuccessModel.d.ts +9 -0
  181. package/api/types/TransferToNumberResultSipSuccessModel.js +5 -0
  182. package/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +12 -0
  183. package/api/types/TransferToNumberResultTwilioSuccessModel.js +5 -0
  184. package/api/types/UpdatePronunciationDictionariesRequest.d.ts +1 -7
  185. package/api/types/VoiceResponseModelSafetyControl.d.ts +1 -2
  186. package/api/types/VoiceResponseModelSafetyControl.js +0 -1
  187. package/api/types/VoicemailDetectionToolConfig.d.ts +14 -0
  188. package/api/types/VoicemailDetectionToolConfig.js +5 -0
  189. package/api/types/WebhookToolConfigInput.d.ts +6 -0
  190. package/api/types/WebhookToolConfigOutput.d.ts +6 -0
  191. package/api/types/WidgetConfig.d.ts +4 -0
  192. package/api/types/WidgetConfigResponse.d.ts +4 -0
  193. package/api/types/WorkspaceApiKeyListResponseModel.d.ts +7 -0
  194. package/api/types/WorkspaceApiKeyListResponseModel.js +5 -0
  195. package/api/types/WorkspaceApiKeyResponseModel.d.ts +15 -0
  196. package/api/types/WorkspaceApiKeyResponseModel.js +5 -0
  197. package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +31 -0
  198. package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +33 -0
  199. package/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +6 -0
  200. package/api/types/WorkspaceCreateApiKeyResponseModel.js +5 -0
  201. package/api/types/WorkspaceResourceType.d.ts +2 -1
  202. package/api/types/WorkspaceResourceType.js +1 -0
  203. package/api/types/WorkspaceServiceAccountListResponseModel.d.ts +7 -0
  204. package/api/types/WorkspaceServiceAccountListResponseModel.js +5 -0
  205. package/api/types/WorkspaceServiceAccountResponseModel.d.ts +10 -0
  206. package/api/types/WorkspaceServiceAccountResponseModel.js +5 -0
  207. package/api/types/index.d.ts +52 -21
  208. package/api/types/index.js +52 -21
  209. package/dist/Client.d.ts +13 -0
  210. package/dist/Client.js +77 -12
  211. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +4 -4
  212. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +4 -4
  213. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
  214. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +4 -2
  215. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +4 -2
  216. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
  217. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +15 -0
  218. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +94 -1
  219. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +28 -0
  220. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.js +5 -0
  221. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
  222. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
  223. package/dist/api/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
  224. package/dist/api/resources/conversationalAi/resources/conversations/index.js +1 -0
  225. package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +11 -0
  226. package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +10 -0
  227. package/dist/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  228. package/dist/api/resources/conversationalAi/resources/conversations/types/index.js +17 -0
  229. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -1
  230. package/dist/api/resources/conversationalAi/resources/index.js +3 -2
  231. package/dist/api/resources/dubbing/client/Client.js +3 -0
  232. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  233. package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +1 -1
  234. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +1 -1
  235. package/dist/api/resources/index.d.ts +1 -0
  236. package/dist/api/resources/index.js +2 -1
  237. package/dist/api/resources/serviceAccounts/client/Client.d.ts +48 -0
  238. package/dist/api/resources/serviceAccounts/client/Client.js +134 -0
  239. package/dist/api/resources/serviceAccounts/client/index.d.ts +1 -0
  240. package/dist/api/resources/serviceAccounts/client/index.js +2 -0
  241. package/dist/api/resources/serviceAccounts/index.d.ts +2 -0
  242. package/dist/api/resources/serviceAccounts/index.js +18 -0
  243. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +96 -0
  244. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +341 -0
  245. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +2 -0
  246. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
  247. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +18 -0
  248. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +5 -0
  249. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +22 -0
  250. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +5 -0
  251. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
  252. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +2 -0
  253. package/dist/api/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
  254. package/dist/api/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
  255. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +8 -0
  256. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +5 -0
  257. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +31 -0
  258. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +33 -0
  259. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +8 -0
  260. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +5 -0
  261. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +31 -0
  262. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +33 -0
  263. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
  264. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
  265. package/dist/api/resources/serviceAccounts/resources/index.d.ts +3 -0
  266. package/dist/api/resources/serviceAccounts/resources/index.js +42 -0
  267. package/dist/api/resources/speechToText/client/Client.d.ts +2 -2
  268. package/dist/api/resources/speechToText/client/Client.js +5 -2
  269. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +7 -0
  270. package/dist/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +5 -0
  271. package/dist/api/resources/speechToText/types/SpeechToTextConvertResponse.js +5 -0
  272. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  273. package/dist/api/resources/speechToText/types/index.js +1 -0
  274. package/dist/api/resources/studio/resources/projects/client/Client.d.ts +1 -4
  275. package/dist/api/resources/studio/resources/projects/client/Client.js +10 -7
  276. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +4 -7
  277. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  278. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  279. package/dist/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
  280. package/dist/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
  281. package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +1 -1
  282. package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +1 -1
  283. package/dist/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +1 -1
  284. package/dist/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +1 -1
  285. package/dist/api/resources/textToVoice/client/Client.d.ts +0 -17
  286. package/dist/api/resources/textToVoice/client/Client.js +0 -77
  287. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +4 -0
  288. package/dist/api/resources/textToVoice/client/requests/index.d.ts +0 -1
  289. package/dist/api/resources/voices/client/Client.js +9 -1
  290. package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +4 -0
  291. package/dist/api/types/AddProjectRequest.d.ts +1 -130
  292. package/dist/api/types/AgentConfig.d.ts +11 -1
  293. package/dist/api/types/AgentSummaryResponseModel.d.ts +2 -0
  294. package/dist/api/types/AsrProvider.d.ts +1 -5
  295. package/dist/api/types/AsrProvider.js +0 -5
  296. package/dist/api/types/BatchCallRecipientStatus.d.ts +2 -1
  297. package/dist/api/types/BatchCallRecipientStatus.js +1 -0
  298. package/dist/api/types/BuiltInToolsInput.d.ts +2 -0
  299. package/dist/api/types/BuiltInToolsOutput.d.ts +2 -0
  300. package/dist/api/types/CaptionStyleCharacterAnimationModel.d.ts +8 -0
  301. package/dist/api/types/CaptionStyleCharacterAnimationModel.js +5 -0
  302. package/dist/api/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +8 -0
  303. package/dist/api/types/CaptionStyleCharacterAnimationModelEnterType.js +10 -0
  304. package/dist/api/types/CaptionStyleCharacterAnimationModelExitType.d.ts +8 -0
  305. package/dist/api/types/CaptionStyleCharacterAnimationModelExitType.js +10 -0
  306. package/dist/api/types/CaptionStyleHorizontalPlacementModel.d.ts +8 -0
  307. package/dist/api/types/CaptionStyleHorizontalPlacementModel.js +5 -0
  308. package/dist/api/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +9 -0
  309. package/dist/api/types/CaptionStyleHorizontalPlacementModelAlign.js +11 -0
  310. package/dist/api/types/CaptionStyleModel.d.ts +29 -0
  311. package/dist/api/types/CaptionStyleModel.js +5 -0
  312. package/dist/api/types/CaptionStyleModelTextAlign.d.ts +9 -0
  313. package/dist/api/types/CaptionStyleModelTextAlign.js +11 -0
  314. package/dist/api/types/CaptionStyleModelTextStyle.d.ts +8 -0
  315. package/dist/api/types/CaptionStyleModelTextStyle.js +10 -0
  316. package/dist/api/types/CaptionStyleModelTextWeight.d.ts +8 -0
  317. package/dist/api/types/CaptionStyleModelTextWeight.js +10 -0
  318. package/dist/api/types/CaptionStyleSectionAnimationModel.d.ts +8 -0
  319. package/dist/api/types/CaptionStyleSectionAnimationModel.js +5 -0
  320. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +9 -0
  321. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +11 -0
  322. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +9 -0
  323. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +11 -0
  324. package/dist/api/types/CaptionStyleTemplateModel.d.ts +7 -0
  325. package/dist/api/types/CaptionStyleTemplateModel.js +5 -0
  326. package/dist/api/types/CaptionStyleVerticalPlacementModel.d.ts +8 -0
  327. package/dist/api/types/CaptionStyleVerticalPlacementModel.js +5 -0
  328. package/dist/api/types/CaptionStyleVerticalPlacementModelAlign.d.ts +9 -0
  329. package/dist/api/types/CaptionStyleVerticalPlacementModelAlign.js +11 -0
  330. package/dist/api/types/CaptionStyleWordAnimationModel.d.ts +8 -0
  331. package/dist/api/types/CaptionStyleWordAnimationModel.js +5 -0
  332. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +9 -0
  333. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +11 -0
  334. package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +9 -0
  335. package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +11 -0
  336. package/dist/api/types/ClientToolConfigInput.d.ts +6 -0
  337. package/dist/api/types/ClientToolConfigOutput.d.ts +6 -0
  338. package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  339. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
  340. package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +5 -0
  341. package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +5 -0
  342. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
  343. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +5 -0
  344. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +5 -0
  345. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +14 -0
  346. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +5 -0
  347. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +9 -0
  348. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +11 -0
  349. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +15 -0
  350. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +5 -0
  351. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +37 -0
  352. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +5 -0
  353. package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +1 -1
  354. package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +1 -0
  355. package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -0
  356. package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -0
  357. package/dist/api/types/ConversationInitiationSource.d.ts +2 -1
  358. package/dist/api/types/ConversationInitiationSource.js +1 -0
  359. package/dist/api/types/ConversationInitiationSourceInfo.d.ts +13 -0
  360. package/dist/api/types/ConversationInitiationSourceInfo.js +5 -0
  361. package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
  362. package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -0
  363. package/dist/api/types/ConversationalConfig.d.ts +1 -1
  364. package/dist/api/types/DubbedSegment.d.ts +1 -0
  365. package/dist/api/types/DynamicVariableAssignment.d.ts +14 -0
  366. package/dist/api/types/DynamicVariableAssignment.js +5 -0
  367. package/dist/api/types/DynamicVariableUpdateCommonModel.d.ts +14 -0
  368. package/dist/api/types/DynamicVariableUpdateCommonModel.js +5 -0
  369. package/dist/api/types/EndCallToolResultModel.d.ts +8 -0
  370. package/dist/api/types/EndCallToolResultModel.js +5 -0
  371. package/dist/api/types/FeaturesUsageCommonModel.d.ts +4 -0
  372. package/dist/api/types/GetAgentResponseModel.d.ts +0 -1
  373. package/dist/api/types/LanguageDetectionToolResultModel.d.ts +8 -0
  374. package/dist/api/types/LanguageDetectionToolResultModel.js +5 -0
  375. package/dist/api/types/Llm.d.ts +7 -1
  376. package/dist/api/types/Llm.js +6 -0
  377. package/dist/api/types/McpToolConfigInput.d.ts +6 -0
  378. package/dist/api/types/McpToolConfigOutput.d.ts +6 -0
  379. package/dist/api/types/MultichannelSpeechToTextResponseModel.d.ts +11 -0
  380. package/dist/api/types/MultichannelSpeechToTextResponseModel.js +5 -0
  381. package/dist/api/types/PlayDtmfResultErrorModel.d.ts +8 -0
  382. package/dist/api/types/PlayDtmfResultErrorModel.js +5 -0
  383. package/dist/api/types/PlayDtmfResultSuccessModel.d.ts +8 -0
  384. package/dist/api/types/PlayDtmfResultSuccessModel.js +5 -0
  385. package/dist/api/types/ProjectExtendedResponse.d.ts +4 -0
  386. package/dist/api/types/ProjectResponse.d.ts +4 -0
  387. package/dist/api/types/PromptAgentApiModelOverride.d.ts +2 -0
  388. package/dist/api/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
  389. package/dist/api/types/SaveVoicePreviewRequest.d.ts +4 -0
  390. package/dist/api/types/SaveVoicePreviewRequest.js +5 -0
  391. package/dist/api/types/SegmentSubtitleFrame.d.ts +8 -0
  392. package/dist/api/types/SegmentSubtitleFrame.js +5 -0
  393. package/dist/api/types/SkipTurnToolResponseModel.d.ts +7 -0
  394. package/dist/api/types/SkipTurnToolResponseModel.js +5 -0
  395. package/dist/api/types/SpeakerSegment.d.ts +1 -0
  396. package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
  397. package/dist/api/types/SystemToolConfigInput.d.ts +6 -0
  398. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
  399. package/dist/api/types/SystemToolConfigOutput.d.ts +6 -0
  400. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  401. package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
  402. package/dist/api/types/TokenResponseModel.d.ts +6 -0
  403. package/dist/api/types/TokenResponseModel.js +5 -0
  404. package/dist/api/types/Tool.d.ts +3 -0
  405. package/dist/api/types/ToolResponseModel.d.ts +1 -0
  406. package/dist/api/types/ToolType.d.ts +10 -0
  407. package/dist/api/types/ToolType.js +12 -0
  408. package/dist/api/types/ToolUsageStatsResponseModel.d.ts +8 -0
  409. package/dist/api/types/ToolUsageStatsResponseModel.js +5 -0
  410. package/dist/api/types/TransferToAgentToolResultErrorModel.d.ts +8 -0
  411. package/dist/api/types/TransferToAgentToolResultErrorModel.js +5 -0
  412. package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +12 -0
  413. package/dist/api/types/TransferToAgentToolResultSuccessModel.js +5 -0
  414. package/dist/api/types/TransferToNumberResultErrorModel.d.ts +8 -0
  415. package/dist/api/types/TransferToNumberResultErrorModel.js +5 -0
  416. package/dist/api/types/TransferToNumberResultSipSuccessModel.d.ts +9 -0
  417. package/dist/api/types/TransferToNumberResultSipSuccessModel.js +5 -0
  418. package/dist/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +12 -0
  419. package/dist/api/types/TransferToNumberResultTwilioSuccessModel.js +5 -0
  420. package/dist/api/types/UpdatePronunciationDictionariesRequest.d.ts +1 -7
  421. package/dist/api/types/VoiceResponseModelSafetyControl.d.ts +1 -2
  422. package/dist/api/types/VoiceResponseModelSafetyControl.js +0 -1
  423. package/dist/api/types/VoicemailDetectionToolConfig.d.ts +14 -0
  424. package/dist/api/types/VoicemailDetectionToolConfig.js +5 -0
  425. package/dist/api/types/WebhookToolConfigInput.d.ts +6 -0
  426. package/dist/api/types/WebhookToolConfigOutput.d.ts +6 -0
  427. package/dist/api/types/WidgetConfig.d.ts +4 -0
  428. package/dist/api/types/WidgetConfigResponse.d.ts +4 -0
  429. package/dist/api/types/WorkspaceApiKeyListResponseModel.d.ts +7 -0
  430. package/dist/api/types/WorkspaceApiKeyListResponseModel.js +5 -0
  431. package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +15 -0
  432. package/dist/api/types/WorkspaceApiKeyResponseModel.js +5 -0
  433. package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +31 -0
  434. package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +33 -0
  435. package/dist/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +6 -0
  436. package/dist/api/types/WorkspaceCreateApiKeyResponseModel.js +5 -0
  437. package/dist/api/types/WorkspaceResourceType.d.ts +2 -1
  438. package/dist/api/types/WorkspaceResourceType.js +1 -0
  439. package/dist/api/types/WorkspaceServiceAccountListResponseModel.d.ts +7 -0
  440. package/dist/api/types/WorkspaceServiceAccountListResponseModel.js +5 -0
  441. package/dist/api/types/WorkspaceServiceAccountResponseModel.d.ts +10 -0
  442. package/dist/api/types/WorkspaceServiceAccountResponseModel.js +5 -0
  443. package/dist/api/types/index.d.ts +52 -21
  444. package/dist/api/types/index.js +52 -21
  445. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
  446. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +0 -1
  447. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +1 -0
  448. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.js +1 -0
  449. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +1 -0
  450. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.js +1 -0
  451. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
  452. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +0 -1
  453. package/dist/serialization/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
  454. package/dist/serialization/resources/conversationalAi/resources/conversations/index.js +1 -0
  455. package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +10 -0
  456. package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +41 -0
  457. package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  458. package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.js +17 -0
  459. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
  460. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -2
  461. package/dist/serialization/resources/index.d.ts +1 -0
  462. package/dist/serialization/resources/index.js +2 -1
  463. package/dist/serialization/resources/serviceAccounts/index.d.ts +1 -0
  464. package/dist/serialization/resources/serviceAccounts/index.js +17 -0
  465. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +1 -0
  466. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
  467. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +15 -0
  468. package/dist/serialization/{types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +6 -9
  469. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +16 -0
  470. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +47 -0
  471. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
  472. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +7 -0
  473. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
  474. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
  475. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +11 -0
  476. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +45 -0
  477. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +10 -0
  478. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +67 -0
  479. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +11 -0
  480. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +45 -0
  481. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +10 -0
  482. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +67 -0
  483. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
  484. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
  485. package/dist/serialization/resources/serviceAccounts/resources/index.d.ts +3 -0
  486. package/dist/serialization/resources/serviceAccounts/resources/index.js +42 -0
  487. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +12 -0
  488. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +43 -0
  489. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  490. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  491. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
  492. package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +2 -0
  493. package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +0 -1
  494. package/dist/serialization/resources/textToVoice/client/requests/index.js +1 -3
  495. package/dist/serialization/types/AddProjectRequest.d.ts +2 -34
  496. package/dist/serialization/types/AddProjectRequest.js +1 -33
  497. package/dist/serialization/types/AgentConfig.d.ts +9 -2
  498. package/dist/serialization/types/AgentConfig.js +8 -1
  499. package/dist/serialization/types/AgentSummaryResponseModel.d.ts +1 -0
  500. package/dist/serialization/types/AgentSummaryResponseModel.js +1 -0
  501. package/dist/serialization/types/AsrProvider.d.ts +1 -1
  502. package/dist/serialization/types/AsrProvider.js +1 -1
  503. package/dist/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
  504. package/dist/serialization/types/BatchCallRecipientStatus.js +1 -1
  505. package/dist/serialization/types/BuiltInToolsInput.d.ts +1 -0
  506. package/dist/serialization/types/BuiltInToolsInput.js +1 -0
  507. package/dist/serialization/types/BuiltInToolsOutput.d.ts +1 -0
  508. package/dist/serialization/types/BuiltInToolsOutput.js +1 -0
  509. package/dist/serialization/types/CaptionStyleCharacterAnimationModel.d.ts +15 -0
  510. package/dist/serialization/types/CaptionStyleCharacterAnimationModel.js +46 -0
  511. package/dist/serialization/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +10 -0
  512. package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostSourceType.js → CaptionStyleCharacterAnimationModelEnterType.js} +2 -2
  513. package/dist/serialization/types/CaptionStyleCharacterAnimationModelExitType.d.ts +10 -0
  514. package/{serialization/types/BodyAddProjectV1ProjectsAddPostFiction.js → dist/serialization/types/CaptionStyleCharacterAnimationModelExitType.js} +2 -2
  515. package/dist/serialization/types/CaptionStyleHorizontalPlacementModel.d.ts +14 -0
  516. package/dist/serialization/types/CaptionStyleHorizontalPlacementModel.js +45 -0
  517. package/dist/serialization/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +10 -0
  518. package/{serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.js → dist/serialization/types/CaptionStyleHorizontalPlacementModelAlign.js} +2 -2
  519. package/dist/serialization/types/CaptionStyleModel.d.ts +43 -0
  520. package/dist/serialization/types/CaptionStyleModel.js +74 -0
  521. package/dist/serialization/types/CaptionStyleModelTextAlign.d.ts +10 -0
  522. package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostFiction.js → CaptionStyleModelTextAlign.js} +2 -2
  523. package/dist/serialization/types/CaptionStyleModelTextStyle.d.ts +10 -0
  524. package/dist/serialization/types/CaptionStyleModelTextStyle.js +41 -0
  525. package/dist/serialization/types/CaptionStyleModelTextWeight.d.ts +10 -0
  526. package/dist/serialization/types/CaptionStyleModelTextWeight.js +41 -0
  527. package/dist/serialization/types/CaptionStyleSectionAnimationModel.d.ts +15 -0
  528. package/dist/serialization/types/CaptionStyleSectionAnimationModel.js +46 -0
  529. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +10 -0
  530. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +41 -0
  531. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +10 -0
  532. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +41 -0
  533. package/dist/serialization/types/CaptionStyleTemplateModel.d.ts +13 -0
  534. package/dist/serialization/types/CaptionStyleTemplateModel.js +44 -0
  535. package/dist/serialization/types/CaptionStyleVerticalPlacementModel.d.ts +14 -0
  536. package/dist/serialization/types/CaptionStyleVerticalPlacementModel.js +45 -0
  537. package/dist/serialization/types/CaptionStyleVerticalPlacementModelAlign.d.ts +10 -0
  538. package/dist/serialization/types/CaptionStyleVerticalPlacementModelAlign.js +41 -0
  539. package/dist/serialization/types/CaptionStyleWordAnimationModel.d.ts +15 -0
  540. package/{serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → dist/serialization/types/CaptionStyleWordAnimationModel.js} +6 -3
  541. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +10 -0
  542. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +41 -0
  543. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +10 -0
  544. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +41 -0
  545. package/dist/serialization/types/ClientToolConfigInput.d.ts +4 -0
  546. package/dist/serialization/types/ClientToolConfigInput.js +4 -0
  547. package/dist/serialization/types/ClientToolConfigOutput.d.ts +4 -0
  548. package/dist/serialization/types/ClientToolConfigOutput.js +4 -0
  549. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  550. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
  551. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
  552. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
  553. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +12 -0
  554. package/dist/serialization/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +6 -8
  555. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
  556. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
  557. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +12 -0
  558. package/{serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js} +6 -8
  559. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +21 -0
  560. package/dist/serialization/types/{ConversationHistoryTranscriptToolResultCommonModel.js → ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +6 -3
  561. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +10 -0
  562. package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostTargetAudience.js → ConversationHistoryTranscriptOtherToolsResultCommonModelType.js} +2 -2
  563. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +22 -0
  564. package/{serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js} +13 -5
  565. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +50 -0
  566. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +67 -0
  567. package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +2 -1
  568. package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js +2 -1
  569. package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +2 -0
  570. package/dist/serialization/types/ConversationInitiationClientDataInternal.js +2 -0
  571. package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +2 -0
  572. package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +2 -0
  573. package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +2 -0
  574. package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +2 -0
  575. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  576. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  577. package/dist/serialization/types/ConversationInitiationSourceInfo.d.ts +14 -0
  578. package/dist/serialization/types/{BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → ConversationInitiationSourceInfo.js} +5 -5
  579. package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
  580. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
  581. package/dist/serialization/types/ConversationSummaryResponseModel.js +2 -0
  582. package/dist/serialization/types/ConversationalConfig.d.ts +1 -1
  583. package/dist/serialization/types/DubbedSegment.d.ts +2 -0
  584. package/dist/serialization/types/DubbedSegment.js +2 -0
  585. package/dist/serialization/types/DynamicVariableAssignment.d.ts +14 -0
  586. package/dist/serialization/types/{BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → DynamicVariableAssignment.js} +5 -3
  587. package/dist/serialization/types/DynamicVariableUpdateCommonModel.d.ts +17 -0
  588. package/dist/serialization/types/DynamicVariableUpdateCommonModel.js +48 -0
  589. package/dist/serialization/types/EndCallToolResultModel.d.ts +14 -0
  590. package/dist/serialization/types/EndCallToolResultModel.js +45 -0
  591. package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +4 -0
  592. package/dist/serialization/types/FeaturesUsageCommonModel.js +4 -0
  593. package/dist/serialization/types/GetAgentResponseModel.d.ts +0 -1
  594. package/dist/serialization/types/GetAgentResponseModel.js +0 -1
  595. package/dist/serialization/types/LanguageDetectionToolResultModel.d.ts +14 -0
  596. package/dist/serialization/types/LanguageDetectionToolResultModel.js +45 -0
  597. package/dist/serialization/types/Llm.d.ts +1 -1
  598. package/dist/serialization/types/Llm.js +6 -0
  599. package/dist/serialization/types/McpToolConfigInput.d.ts +4 -0
  600. package/dist/serialization/types/McpToolConfigInput.js +4 -0
  601. package/dist/serialization/types/McpToolConfigOutput.d.ts +4 -0
  602. package/dist/serialization/types/McpToolConfigOutput.js +4 -0
  603. package/dist/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +13 -0
  604. package/dist/serialization/types/MultichannelSpeechToTextResponseModel.js +44 -0
  605. package/dist/serialization/types/PlayDtmfResultErrorModel.d.ts +14 -0
  606. package/dist/serialization/types/PlayDtmfResultErrorModel.js +45 -0
  607. package/dist/serialization/types/PlayDtmfResultSuccessModel.d.ts +14 -0
  608. package/dist/serialization/types/{BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → PlayDtmfResultSuccessModel.js} +5 -5
  609. package/dist/serialization/types/ProjectExtendedResponse.d.ts +3 -0
  610. package/dist/serialization/types/ProjectExtendedResponse.js +3 -0
  611. package/dist/serialization/types/ProjectResponse.d.ts +3 -0
  612. package/dist/serialization/types/ProjectResponse.js +3 -0
  613. package/dist/serialization/types/PromptAgentApiModelOverride.d.ts +1 -0
  614. package/dist/serialization/types/PromptAgentApiModelOverride.js +1 -0
  615. package/dist/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +1 -0
  616. package/dist/serialization/types/PromptAgentApiModelOverrideConfig.js +1 -0
  617. package/dist/serialization/types/SaveVoicePreviewRequest.d.ts +10 -0
  618. package/dist/serialization/types/SaveVoicePreviewRequest.js +41 -0
  619. package/dist/serialization/types/SegmentSubtitleFrame.d.ts +14 -0
  620. package/dist/serialization/types/SegmentSubtitleFrame.js +45 -0
  621. package/dist/serialization/types/SkipTurnToolResponseModel.d.ts +13 -0
  622. package/dist/serialization/types/SkipTurnToolResponseModel.js +44 -0
  623. package/dist/serialization/types/SpeakerSegment.d.ts +2 -0
  624. package/dist/serialization/types/SpeakerSegment.js +2 -0
  625. package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
  626. package/dist/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
  627. package/dist/serialization/types/SystemToolConfigInput.d.ts +4 -0
  628. package/dist/serialization/types/SystemToolConfigInput.js +4 -0
  629. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  630. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
  631. package/dist/serialization/types/SystemToolConfigOutput.d.ts +4 -0
  632. package/dist/serialization/types/SystemToolConfigOutput.js +4 -0
  633. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  634. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
  635. package/dist/serialization/types/TokenResponseModel.d.ts +12 -0
  636. package/dist/serialization/types/TokenResponseModel.js +43 -0
  637. package/dist/serialization/types/Tool.d.ts +3 -0
  638. package/dist/serialization/types/Tool.js +3 -0
  639. package/dist/serialization/types/ToolResponseModel.d.ts +2 -0
  640. package/dist/serialization/types/ToolResponseModel.js +2 -0
  641. package/dist/serialization/types/ToolType.d.ts +10 -0
  642. package/dist/serialization/types/ToolType.js +41 -0
  643. package/dist/serialization/types/ToolUsageStatsResponseModel.d.ts +13 -0
  644. package/dist/serialization/types/{BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → ToolUsageStatsResponseModel.js} +4 -4
  645. package/dist/serialization/types/TransferToAgentToolResultErrorModel.d.ts +14 -0
  646. package/dist/serialization/types/{BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → TransferToAgentToolResultErrorModel.js} +5 -3
  647. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +18 -0
  648. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +49 -0
  649. package/dist/serialization/types/TransferToNumberResultErrorModel.d.ts +14 -0
  650. package/dist/serialization/types/TransferToNumberResultErrorModel.js +45 -0
  651. package/dist/serialization/types/TransferToNumberResultSipSuccessModel.d.ts +15 -0
  652. package/dist/serialization/types/{BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → TransferToNumberResultSipSuccessModel.js} +6 -5
  653. package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +18 -0
  654. package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.js +49 -0
  655. package/dist/serialization/types/UpdatePronunciationDictionariesRequest.d.ts +2 -6
  656. package/dist/serialization/types/UpdatePronunciationDictionariesRequest.js +1 -5
  657. package/dist/serialization/types/VoiceResponseModelSafetyControl.d.ts +1 -1
  658. package/dist/serialization/types/VoiceResponseModelSafetyControl.js +1 -8
  659. package/dist/serialization/types/VoicemailDetectionToolConfig.d.ts +12 -0
  660. package/dist/serialization/types/VoicemailDetectionToolConfig.js +43 -0
  661. package/dist/serialization/types/WebhookToolConfigInput.d.ts +4 -0
  662. package/dist/serialization/types/WebhookToolConfigInput.js +4 -0
  663. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
  664. package/dist/serialization/types/WebhookToolConfigOutput.js +4 -0
  665. package/dist/serialization/types/WidgetConfig.d.ts +2 -0
  666. package/dist/serialization/types/WidgetConfig.js +2 -0
  667. package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
  668. package/dist/serialization/types/WidgetConfigResponse.js +2 -0
  669. package/dist/serialization/types/WorkspaceApiKeyListResponseModel.d.ts +13 -0
  670. package/dist/serialization/types/WorkspaceApiKeyListResponseModel.js +44 -0
  671. package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +21 -0
  672. package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +52 -0
  673. package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +10 -0
  674. package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +67 -0
  675. package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +12 -0
  676. package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.js +43 -0
  677. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  678. package/dist/serialization/types/WorkspaceResourceType.js +1 -0
  679. package/dist/serialization/types/WorkspaceServiceAccountListResponseModel.d.ts +13 -0
  680. package/dist/serialization/types/WorkspaceServiceAccountListResponseModel.js +44 -0
  681. package/dist/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +16 -0
  682. package/dist/serialization/types/WorkspaceServiceAccountResponseModel.js +47 -0
  683. package/dist/serialization/types/index.d.ts +52 -21
  684. package/dist/serialization/types/index.js +52 -21
  685. package/dist/version.d.ts +1 -1
  686. package/dist/version.js +1 -1
  687. package/package.json +1 -1
  688. package/reference.md +476 -74
  689. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +0 -1
  690. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +0 -1
  691. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +1 -0
  692. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.js +1 -0
  693. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +1 -0
  694. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.js +1 -0
  695. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +0 -1
  696. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +0 -1
  697. package/serialization/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
  698. package/serialization/resources/conversationalAi/resources/conversations/index.js +1 -0
  699. package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +10 -0
  700. package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +41 -0
  701. package/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  702. package/serialization/resources/conversationalAi/resources/conversations/types/index.js +17 -0
  703. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
  704. package/serialization/resources/conversationalAi/resources/index.js +3 -2
  705. package/serialization/resources/index.d.ts +1 -0
  706. package/serialization/resources/index.js +2 -1
  707. package/serialization/resources/serviceAccounts/index.d.ts +1 -0
  708. package/serialization/resources/serviceAccounts/index.js +17 -0
  709. package/serialization/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +1 -0
  710. package/serialization/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
  711. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +15 -0
  712. package/serialization/{types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +6 -9
  713. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +16 -0
  714. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +47 -0
  715. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
  716. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +7 -0
  717. package/serialization/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
  718. package/serialization/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
  719. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +11 -0
  720. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +45 -0
  721. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +10 -0
  722. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +67 -0
  723. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +11 -0
  724. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +45 -0
  725. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +10 -0
  726. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +67 -0
  727. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
  728. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
  729. package/serialization/resources/serviceAccounts/resources/index.d.ts +3 -0
  730. package/serialization/resources/serviceAccounts/resources/index.js +42 -0
  731. package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +12 -0
  732. package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +43 -0
  733. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  734. package/serialization/resources/speechToText/types/index.js +1 -0
  735. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
  736. package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +2 -0
  737. package/serialization/resources/textToVoice/client/requests/index.d.ts +0 -1
  738. package/serialization/resources/textToVoice/client/requests/index.js +1 -3
  739. package/serialization/types/AddProjectRequest.d.ts +2 -34
  740. package/serialization/types/AddProjectRequest.js +1 -33
  741. package/serialization/types/AgentConfig.d.ts +9 -2
  742. package/serialization/types/AgentConfig.js +8 -1
  743. package/serialization/types/AgentSummaryResponseModel.d.ts +1 -0
  744. package/serialization/types/AgentSummaryResponseModel.js +1 -0
  745. package/serialization/types/AsrProvider.d.ts +1 -1
  746. package/serialization/types/AsrProvider.js +1 -1
  747. package/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
  748. package/serialization/types/BatchCallRecipientStatus.js +1 -1
  749. package/serialization/types/BuiltInToolsInput.d.ts +1 -0
  750. package/serialization/types/BuiltInToolsInput.js +1 -0
  751. package/serialization/types/BuiltInToolsOutput.d.ts +1 -0
  752. package/serialization/types/BuiltInToolsOutput.js +1 -0
  753. package/serialization/types/CaptionStyleCharacterAnimationModel.d.ts +15 -0
  754. package/serialization/types/CaptionStyleCharacterAnimationModel.js +46 -0
  755. package/serialization/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +10 -0
  756. package/serialization/types/CaptionStyleCharacterAnimationModelEnterType.js +41 -0
  757. package/serialization/types/CaptionStyleCharacterAnimationModelExitType.d.ts +10 -0
  758. package/serialization/types/CaptionStyleCharacterAnimationModelExitType.js +41 -0
  759. package/serialization/types/CaptionStyleHorizontalPlacementModel.d.ts +14 -0
  760. package/serialization/types/CaptionStyleHorizontalPlacementModel.js +45 -0
  761. package/serialization/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +10 -0
  762. package/serialization/types/CaptionStyleHorizontalPlacementModelAlign.js +41 -0
  763. package/serialization/types/CaptionStyleModel.d.ts +43 -0
  764. package/serialization/types/CaptionStyleModel.js +74 -0
  765. package/serialization/types/CaptionStyleModelTextAlign.d.ts +10 -0
  766. package/serialization/types/CaptionStyleModelTextAlign.js +41 -0
  767. package/serialization/types/CaptionStyleModelTextStyle.d.ts +10 -0
  768. package/serialization/types/CaptionStyleModelTextStyle.js +41 -0
  769. package/serialization/types/CaptionStyleModelTextWeight.d.ts +10 -0
  770. package/serialization/types/CaptionStyleModelTextWeight.js +41 -0
  771. package/serialization/types/CaptionStyleSectionAnimationModel.d.ts +15 -0
  772. package/serialization/types/CaptionStyleSectionAnimationModel.js +46 -0
  773. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +10 -0
  774. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +41 -0
  775. package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +10 -0
  776. package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +41 -0
  777. package/serialization/types/CaptionStyleTemplateModel.d.ts +13 -0
  778. package/serialization/types/CaptionStyleTemplateModel.js +44 -0
  779. package/serialization/types/CaptionStyleVerticalPlacementModel.d.ts +14 -0
  780. package/serialization/types/CaptionStyleVerticalPlacementModel.js +45 -0
  781. package/serialization/types/CaptionStyleVerticalPlacementModelAlign.d.ts +10 -0
  782. package/serialization/types/CaptionStyleVerticalPlacementModelAlign.js +41 -0
  783. package/serialization/types/CaptionStyleWordAnimationModel.d.ts +15 -0
  784. package/{dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → serialization/types/CaptionStyleWordAnimationModel.js} +6 -11
  785. package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +10 -0
  786. package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +41 -0
  787. package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +10 -0
  788. package/serialization/types/CaptionStyleWordAnimationModelExitType.js +41 -0
  789. package/serialization/types/ClientToolConfigInput.d.ts +4 -0
  790. package/serialization/types/ClientToolConfigInput.js +4 -0
  791. package/serialization/types/ClientToolConfigOutput.d.ts +4 -0
  792. package/serialization/types/ClientToolConfigOutput.js +4 -0
  793. package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  794. package/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
  795. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
  796. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
  797. package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +12 -0
  798. package/serialization/types/{BodyAddProjectV1ProjectsAddPostTargetAudience.js → ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +7 -2
  799. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
  800. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
  801. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +12 -0
  802. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +46 -0
  803. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +21 -0
  804. package/serialization/types/{ConversationHistoryTranscriptToolResultCommonModel.js → ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +6 -3
  805. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +10 -0
  806. package/{dist/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js → serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js} +2 -2
  807. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +22 -0
  808. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +53 -0
  809. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +50 -0
  810. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +67 -0
  811. package/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +2 -1
  812. package/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js +2 -1
  813. package/serialization/types/ConversationInitiationClientDataInternal.d.ts +2 -0
  814. package/serialization/types/ConversationInitiationClientDataInternal.js +2 -0
  815. package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +2 -0
  816. package/serialization/types/ConversationInitiationClientDataRequestInput.js +2 -0
  817. package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +2 -0
  818. package/serialization/types/ConversationInitiationClientDataRequestOutput.js +2 -0
  819. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  820. package/serialization/types/ConversationInitiationSource.js +1 -0
  821. package/serialization/types/ConversationInitiationSourceInfo.d.ts +14 -0
  822. package/serialization/types/ConversationInitiationSourceInfo.js +45 -0
  823. package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
  824. package/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
  825. package/serialization/types/ConversationSummaryResponseModel.js +2 -0
  826. package/serialization/types/ConversationalConfig.d.ts +1 -1
  827. package/serialization/types/DubbedSegment.d.ts +2 -0
  828. package/serialization/types/DubbedSegment.js +2 -0
  829. package/serialization/types/DynamicVariableAssignment.d.ts +14 -0
  830. package/serialization/types/DynamicVariableAssignment.js +45 -0
  831. package/serialization/types/DynamicVariableUpdateCommonModel.d.ts +17 -0
  832. package/serialization/types/DynamicVariableUpdateCommonModel.js +48 -0
  833. package/serialization/types/EndCallToolResultModel.d.ts +14 -0
  834. package/serialization/types/EndCallToolResultModel.js +45 -0
  835. package/serialization/types/FeaturesUsageCommonModel.d.ts +4 -0
  836. package/serialization/types/FeaturesUsageCommonModel.js +4 -0
  837. package/serialization/types/GetAgentResponseModel.d.ts +0 -1
  838. package/serialization/types/GetAgentResponseModel.js +0 -1
  839. package/serialization/types/LanguageDetectionToolResultModel.d.ts +14 -0
  840. package/serialization/types/LanguageDetectionToolResultModel.js +45 -0
  841. package/serialization/types/Llm.d.ts +1 -1
  842. package/serialization/types/Llm.js +6 -0
  843. package/serialization/types/McpToolConfigInput.d.ts +4 -0
  844. package/serialization/types/McpToolConfigInput.js +4 -0
  845. package/serialization/types/McpToolConfigOutput.d.ts +4 -0
  846. package/serialization/types/McpToolConfigOutput.js +4 -0
  847. package/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +13 -0
  848. package/serialization/types/MultichannelSpeechToTextResponseModel.js +44 -0
  849. package/serialization/types/PlayDtmfResultErrorModel.d.ts +14 -0
  850. package/serialization/types/PlayDtmfResultErrorModel.js +45 -0
  851. package/serialization/types/PlayDtmfResultSuccessModel.d.ts +14 -0
  852. package/serialization/types/{BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → PlayDtmfResultSuccessModel.js} +5 -5
  853. package/serialization/types/ProjectExtendedResponse.d.ts +3 -0
  854. package/serialization/types/ProjectExtendedResponse.js +3 -0
  855. package/serialization/types/ProjectResponse.d.ts +3 -0
  856. package/serialization/types/ProjectResponse.js +3 -0
  857. package/serialization/types/PromptAgentApiModelOverride.d.ts +1 -0
  858. package/serialization/types/PromptAgentApiModelOverride.js +1 -0
  859. package/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +1 -0
  860. package/serialization/types/PromptAgentApiModelOverrideConfig.js +1 -0
  861. package/serialization/types/SaveVoicePreviewRequest.d.ts +10 -0
  862. package/serialization/types/SaveVoicePreviewRequest.js +41 -0
  863. package/serialization/types/SegmentSubtitleFrame.d.ts +14 -0
  864. package/serialization/types/SegmentSubtitleFrame.js +45 -0
  865. package/serialization/types/SkipTurnToolResponseModel.d.ts +13 -0
  866. package/serialization/types/SkipTurnToolResponseModel.js +44 -0
  867. package/serialization/types/SpeakerSegment.d.ts +2 -0
  868. package/serialization/types/SpeakerSegment.js +2 -0
  869. package/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
  870. package/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
  871. package/serialization/types/SystemToolConfigInput.d.ts +4 -0
  872. package/serialization/types/SystemToolConfigInput.js +4 -0
  873. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  874. package/serialization/types/SystemToolConfigInputParams.js +2 -0
  875. package/serialization/types/SystemToolConfigOutput.d.ts +4 -0
  876. package/serialization/types/SystemToolConfigOutput.js +4 -0
  877. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  878. package/serialization/types/SystemToolConfigOutputParams.js +2 -0
  879. package/serialization/types/TokenResponseModel.d.ts +12 -0
  880. package/serialization/types/TokenResponseModel.js +43 -0
  881. package/serialization/types/Tool.d.ts +3 -0
  882. package/serialization/types/Tool.js +3 -0
  883. package/serialization/types/ToolResponseModel.d.ts +2 -0
  884. package/serialization/types/ToolResponseModel.js +2 -0
  885. package/serialization/types/ToolType.d.ts +10 -0
  886. package/serialization/types/ToolType.js +41 -0
  887. package/serialization/types/ToolUsageStatsResponseModel.d.ts +13 -0
  888. package/serialization/types/{BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → ToolUsageStatsResponseModel.js} +4 -4
  889. package/serialization/types/TransferToAgentToolResultErrorModel.d.ts +14 -0
  890. package/serialization/types/TransferToAgentToolResultErrorModel.js +45 -0
  891. package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +18 -0
  892. package/serialization/types/TransferToAgentToolResultSuccessModel.js +49 -0
  893. package/serialization/types/TransferToNumberResultErrorModel.d.ts +14 -0
  894. package/serialization/types/TransferToNumberResultErrorModel.js +45 -0
  895. package/serialization/types/TransferToNumberResultSipSuccessModel.d.ts +15 -0
  896. package/serialization/types/TransferToNumberResultSipSuccessModel.js +46 -0
  897. package/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +18 -0
  898. package/serialization/types/TransferToNumberResultTwilioSuccessModel.js +49 -0
  899. package/serialization/types/UpdatePronunciationDictionariesRequest.d.ts +2 -6
  900. package/serialization/types/UpdatePronunciationDictionariesRequest.js +1 -5
  901. package/serialization/types/VoiceResponseModelSafetyControl.d.ts +1 -1
  902. package/serialization/types/VoiceResponseModelSafetyControl.js +1 -8
  903. package/serialization/types/VoicemailDetectionToolConfig.d.ts +12 -0
  904. package/serialization/types/VoicemailDetectionToolConfig.js +43 -0
  905. package/serialization/types/WebhookToolConfigInput.d.ts +4 -0
  906. package/serialization/types/WebhookToolConfigInput.js +4 -0
  907. package/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
  908. package/serialization/types/WebhookToolConfigOutput.js +4 -0
  909. package/serialization/types/WidgetConfig.d.ts +2 -0
  910. package/serialization/types/WidgetConfig.js +2 -0
  911. package/serialization/types/WidgetConfigResponse.d.ts +2 -0
  912. package/serialization/types/WidgetConfigResponse.js +2 -0
  913. package/serialization/types/WorkspaceApiKeyListResponseModel.d.ts +13 -0
  914. package/serialization/types/WorkspaceApiKeyListResponseModel.js +44 -0
  915. package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +21 -0
  916. package/serialization/types/WorkspaceApiKeyResponseModel.js +52 -0
  917. package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +10 -0
  918. package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +67 -0
  919. package/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +12 -0
  920. package/serialization/types/WorkspaceCreateApiKeyResponseModel.js +43 -0
  921. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  922. package/serialization/types/WorkspaceResourceType.js +1 -0
  923. package/serialization/types/WorkspaceServiceAccountListResponseModel.d.ts +13 -0
  924. package/serialization/types/WorkspaceServiceAccountListResponseModel.js +44 -0
  925. package/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +16 -0
  926. package/serialization/types/WorkspaceServiceAccountResponseModel.js +47 -0
  927. package/serialization/types/index.d.ts +52 -21
  928. package/serialization/types/index.js +52 -21
  929. package/version.d.ts +1 -1
  930. package/version.js +1 -1
  931. package/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -23
  932. package/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -9
  933. package/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
  934. package/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -12
  935. package/api/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -8
  936. package/api/types/BodyAddProjectV1ProjectsAddPostFiction.js +0 -10
  937. package/api/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -11
  938. package/api/types/BodyAddProjectV1ProjectsAddPostSourceType.js +0 -13
  939. package/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
  940. package/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.js +0 -12
  941. package/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -11
  942. package/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -11
  943. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -94
  944. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -15
  945. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -11
  946. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -16
  947. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -18
  948. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -13
  949. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -8
  950. package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -13
  951. package/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -19
  952. package/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -10
  953. package/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -19
  954. package/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -7
  955. package/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -7
  956. package/api/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -12
  957. package/dist/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -23
  958. package/dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -9
  959. package/dist/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
  960. package/dist/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -12
  961. package/dist/api/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -8
  962. package/dist/api/types/BodyAddProjectV1ProjectsAddPostFiction.js +0 -10
  963. package/dist/api/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -11
  964. package/dist/api/types/BodyAddProjectV1ProjectsAddPostSourceType.js +0 -13
  965. package/dist/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
  966. package/dist/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.js +0 -12
  967. package/dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -11
  968. package/dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -11
  969. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -94
  970. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -15
  971. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -11
  972. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -16
  973. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -18
  974. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -13
  975. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -8
  976. package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -13
  977. package/dist/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -19
  978. package/dist/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -10
  979. package/dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -19
  980. package/dist/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -7
  981. package/dist/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -7
  982. package/dist/api/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -12
  983. package/dist/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -16
  984. package/dist/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js +0 -47
  985. package/dist/serialization/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -13
  986. package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
  987. package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -10
  988. package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -10
  989. package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
  990. package/dist/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -14
  991. package/dist/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -14
  992. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -26
  993. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js +0 -57
  994. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -10
  995. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -41
  996. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -18
  997. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -10
  998. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -41
  999. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -13
  1000. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -18
  1001. package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js +0 -51
  1002. package/dist/serialization/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -18
  1003. package/dist/serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -14
  1004. package/dist/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -15
  1005. package/dist/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js +0 -46
  1006. package/dist/serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -12
  1007. package/dist/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -12
  1008. package/dist/serialization/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -18
  1009. package/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -16
  1010. package/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js +0 -47
  1011. package/serialization/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -13
  1012. package/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
  1013. package/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -41
  1014. package/serialization/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -10
  1015. package/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -10
  1016. package/serialization/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
  1017. package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -14
  1018. package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -14
  1019. package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js +0 -45
  1020. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -26
  1021. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js +0 -57
  1022. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -10
  1023. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -41
  1024. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -18
  1025. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js +0 -51
  1026. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -10
  1027. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -41
  1028. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -13
  1029. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -18
  1030. package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js +0 -51
  1031. package/serialization/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -18
  1032. package/serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -14
  1033. package/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -15
  1034. package/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js +0 -46
  1035. package/serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -12
  1036. package/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -12
  1037. package/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js +0 -43
  1038. package/serialization/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -18
  1039. /package/api/resources/{textToVoice/client/requests/SaveVoicePreviewRequest.js → conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.js} +0 -0
  1040. /package/api/{types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +0 -0
  1041. /package/api/{types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js} +0 -0
  1042. /package/api/{types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js} +0 -0
  1043. /package/api/{types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js} +0 -0
  1044. /package/api/{types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → resources/speechToText/types/SpeechToTextConvertResponse.js} +0 -0
  1045. /package/api/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → CaptionStyleCharacterAnimationModel.js} +0 -0
  1046. /package/api/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js → CaptionStyleHorizontalPlacementModel.js} +0 -0
  1047. /package/api/types/{BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → CaptionStyleModel.js} +0 -0
  1048. /package/api/types/{BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → CaptionStyleSectionAnimationModel.js} +0 -0
  1049. /package/api/types/{BodyEditProjectContentV1ProjectsProjectIdContentPost.js → CaptionStyleTemplateModel.js} +0 -0
  1050. /package/api/types/{BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → CaptionStyleVerticalPlacementModel.js} +0 -0
  1051. /package/api/types/{BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → CaptionStyleWordAnimationModel.js} +0 -0
  1052. /package/api/types/{ConversationHistoryTranscriptToolResultCommonModel.js → ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +0 -0
  1053. /package/{dist/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js → api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js} +0 -0
  1054. /package/{dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +0 -0
  1055. /package/{dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js} +0 -0
  1056. /package/{dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js} +0 -0
  1057. /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js → api/types/ConversationInitiationSourceInfo.js} +0 -0
  1058. /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → api/types/DynamicVariableAssignment.js} +0 -0
  1059. /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → api/types/DynamicVariableUpdateCommonModel.js} +0 -0
  1060. /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js → api/types/EndCallToolResultModel.js} +0 -0
  1061. /package/{dist/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → api/types/LanguageDetectionToolResultModel.js} +0 -0
  1062. /package/{dist/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → api/types/MultichannelSpeechToTextResponseModel.js} +0 -0
  1063. /package/{dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js → api/types/PlayDtmfResultErrorModel.js} +0 -0
  1064. /package/{dist/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → api/types/PlayDtmfResultSuccessModel.js} +0 -0
  1065. /package/{dist/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → api/types/SaveVoicePreviewRequest.js} +0 -0
  1066. /package/{dist/api/types/ConversationHistoryTranscriptToolResultCommonModel.js → api/types/SegmentSubtitleFrame.js} +0 -0
@@ -0,0 +1,31 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem = "text_to_speech" | "speech_to_speech" | "speech_to_text" | "models_read" | "models_write" | "voices_read" | "voices_write" | "speech_history_read" | "speech_history_write" | "sound_generation" | "audio_isolation" | "voice_generation" | "dubbing_read" | "dubbing_write" | "pronunciation_dictionaries_read" | "pronunciation_dictionaries_write" | "user_read" | "user_write" | "projects_read" | "projects_write" | "audio_native_read" | "audio_native_write" | "workspace_read" | "workspace_write" | "forced_alignment";
5
+ export declare const BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem: {
6
+ readonly TextToSpeech: "text_to_speech";
7
+ readonly SpeechToSpeech: "speech_to_speech";
8
+ readonly SpeechToText: "speech_to_text";
9
+ readonly ModelsRead: "models_read";
10
+ readonly ModelsWrite: "models_write";
11
+ readonly VoicesRead: "voices_read";
12
+ readonly VoicesWrite: "voices_write";
13
+ readonly SpeechHistoryRead: "speech_history_read";
14
+ readonly SpeechHistoryWrite: "speech_history_write";
15
+ readonly SoundGeneration: "sound_generation";
16
+ readonly AudioIsolation: "audio_isolation";
17
+ readonly VoiceGeneration: "voice_generation";
18
+ readonly DubbingRead: "dubbing_read";
19
+ readonly DubbingWrite: "dubbing_write";
20
+ readonly PronunciationDictionariesRead: "pronunciation_dictionaries_read";
21
+ readonly PronunciationDictionariesWrite: "pronunciation_dictionaries_write";
22
+ readonly UserRead: "user_read";
23
+ readonly UserWrite: "user_write";
24
+ readonly ProjectsRead: "projects_read";
25
+ readonly ProjectsWrite: "projects_write";
26
+ readonly AudioNativeRead: "audio_native_read";
27
+ readonly AudioNativeWrite: "audio_native_write";
28
+ readonly WorkspaceRead: "workspace_read";
29
+ readonly WorkspaceWrite: "workspace_write";
30
+ readonly ForcedAlignment: "forced_alignment";
31
+ };
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem = void 0;
7
+ exports.BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem = {
8
+ TextToSpeech: "text_to_speech",
9
+ SpeechToSpeech: "speech_to_speech",
10
+ SpeechToText: "speech_to_text",
11
+ ModelsRead: "models_read",
12
+ ModelsWrite: "models_write",
13
+ VoicesRead: "voices_read",
14
+ VoicesWrite: "voices_write",
15
+ SpeechHistoryRead: "speech_history_read",
16
+ SpeechHistoryWrite: "speech_history_write",
17
+ SoundGeneration: "sound_generation",
18
+ AudioIsolation: "audio_isolation",
19
+ VoiceGeneration: "voice_generation",
20
+ DubbingRead: "dubbing_read",
21
+ DubbingWrite: "dubbing_write",
22
+ PronunciationDictionariesRead: "pronunciation_dictionaries_read",
23
+ PronunciationDictionariesWrite: "pronunciation_dictionaries_write",
24
+ UserRead: "user_read",
25
+ UserWrite: "user_write",
26
+ ProjectsRead: "projects_read",
27
+ ProjectsWrite: "projects_write",
28
+ AudioNativeRead: "audio_native_read",
29
+ AudioNativeWrite: "audio_native_write",
30
+ WorkspaceRead: "workspace_read",
31
+ WorkspaceWrite: "workspace_write",
32
+ ForcedAlignment: "forced_alignment",
33
+ };
@@ -0,0 +1,4 @@
1
+ export * from "./BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem";
2
+ export * from "./BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions";
3
+ export * from "./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem";
4
+ export * from "./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem"), exports);
18
+ __exportStar(require("./BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions"), exports);
19
+ __exportStar(require("./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem"), exports);
20
+ __exportStar(require("./BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions"), exports);
@@ -0,0 +1,3 @@
1
+ export * as apiKeys from "./apiKeys";
2
+ export * from "./apiKeys/types";
3
+ export * from "./apiKeys/client/requests";
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.apiKeys = void 0;
40
+ exports.apiKeys = __importStar(require("./apiKeys"));
41
+ __exportStar(require("./apiKeys/types"), exports);
42
+ __exportStar(require("./apiKeys/client/requests"), exports);
@@ -31,7 +31,7 @@ export declare class SpeechToText {
31
31
  protected readonly _options: SpeechToText.Options;
32
32
  constructor(_options?: SpeechToText.Options);
33
33
  /**
34
- * Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks.
34
+ * Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned. Otherwise, returns a single transcript.
35
35
  *
36
36
  * @param {ElevenLabs.BodySpeechToTextV1SpeechToTextPost} request
37
37
  * @param {SpeechToText.RequestOptions} requestOptions - Request-specific configuration.
@@ -43,6 +43,6 @@ export declare class SpeechToText {
43
43
  * modelId: "model_id"
44
44
  * })
45
45
  */
46
- convert(request: ElevenLabs.BodySpeechToTextV1SpeechToTextPost, requestOptions?: SpeechToText.RequestOptions): core.HttpResponsePromise<ElevenLabs.SpeechToTextChunkResponseModel>;
46
+ convert(request: ElevenLabs.BodySpeechToTextV1SpeechToTextPost, requestOptions?: SpeechToText.RequestOptions): core.HttpResponsePromise<ElevenLabs.SpeechToTextConvertResponse>;
47
47
  private __convert;
48
48
  }
@@ -58,7 +58,7 @@ class SpeechToText {
58
58
  this._options = _options;
59
59
  }
60
60
  /**
61
- * Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks.
61
+ * Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned. Otherwise, returns a single transcript.
62
62
  *
63
63
  * @param {ElevenLabs.BodySpeechToTextV1SpeechToTextPost} request
64
64
  * @param {SpeechToText.RequestOptions} requestOptions - Request-specific configuration.
@@ -128,6 +128,9 @@ class SpeechToText {
128
128
  if (request.seed != null) {
129
129
  _request.append("seed", request.seed.toString());
130
130
  }
131
+ if (request.useMultiChannel != null) {
132
+ _request.append("use_multi_channel", request.useMultiChannel.toString());
133
+ }
131
134
  const _maybeEncodedRequest = yield _request.getRequest();
132
135
  const _response = yield core.fetcher({
133
136
  url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/speech-to-text"),
@@ -143,7 +146,7 @@ class SpeechToText {
143
146
  });
144
147
  if (_response.ok) {
145
148
  return {
146
- data: serializers.SpeechToTextChunkResponseModel.parseOrThrow(_response.body, {
149
+ data: serializers.SpeechToTextConvertResponse.parseOrThrow(_response.body, {
147
150
  unrecognizedObjectKeys: "passthrough",
148
151
  allowUnrecognizedUnionMembers: true,
149
152
  allowUnrecognizedEnumValues: true,
@@ -4,6 +4,11 @@
4
4
  import * as core from "../../../../../core";
5
5
  import * as ElevenLabs from "../../../../index";
6
6
  /**
7
+ * @example
8
+ * {
9
+ * modelId: "model_id"
10
+ * }
11
+ *
7
12
  * @example
8
13
  * {
9
14
  * modelId: "model_id"
@@ -43,4 +48,6 @@ export interface BodySpeechToTextV1SpeechToTextPost {
43
48
  temperature?: number;
44
49
  /** If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be an integer between 0 and 2147483647. */
45
50
  seed?: number;
51
+ /** Whether the audio file contains multiple channels where each channel contains a single speaker. When enabled, each channel will be transcribed independently and the results will be combined. Each word in the response will include a 'channel_index' field indicating which channel it was spoken on. A maximum of 5 channels is supported. */
52
+ useMultiChannel?: boolean;
46
53
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as ElevenLabs from "../../../index";
5
+ export type SpeechToTextConvertResponse = ElevenLabs.SpeechToTextChunkResponseModel | ElevenLabs.MultichannelSpeechToTextResponseModel;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,3 @@
1
1
  export * from "./SpeechToTextConvertRequestTimestampsGranularity";
2
2
  export * from "./SpeechToTextConvertRequestFileFormat";
3
+ export * from "./SpeechToTextConvertResponse";
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./SpeechToTextConvertRequestTimestampsGranularity"), exports);
18
18
  __exportStar(require("./SpeechToTextConvertRequestFileFormat"), exports);
19
+ __exportStar(require("./SpeechToTextConvertResponse"), exports);
@@ -64,10 +64,7 @@ export declare class Projects {
64
64
  *
65
65
  * @example
66
66
  * await client.studio.projects.create({
67
- * name: "name",
68
- * defaultTitleVoiceId: "default_title_voice_id",
69
- * defaultParagraphVoiceId: "default_paragraph_voice_id",
70
- * defaultModelId: "default_model_id"
67
+ * name: "name"
71
68
  * })
72
69
  */
73
70
  create(request: ElevenLabs.studio.BodyCreateStudioProjectV1StudioProjectsPost, requestOptions?: Projects.RequestOptions): core.HttpResponsePromise<ElevenLabs.AddProjectResponseModel>;
@@ -155,10 +155,7 @@ class Projects {
155
155
  *
156
156
  * @example
157
157
  * await client.studio.projects.create({
158
- * name: "name",
159
- * defaultTitleVoiceId: "default_title_voice_id",
160
- * defaultParagraphVoiceId: "default_paragraph_voice_id",
161
- * defaultModelId: "default_model_id"
158
+ * name: "name"
162
159
  * })
163
160
  */
164
161
  create(request, requestOptions) {
@@ -169,9 +166,15 @@ class Projects {
169
166
  var _a, _b, _c;
170
167
  const _request = yield core.newFormData();
171
168
  _request.append("name", request.name);
172
- _request.append("default_title_voice_id", request.defaultTitleVoiceId);
173
- _request.append("default_paragraph_voice_id", request.defaultParagraphVoiceId);
174
- _request.append("default_model_id", request.defaultModelId);
169
+ if (request.defaultTitleVoiceId != null) {
170
+ _request.append("default_title_voice_id", request.defaultTitleVoiceId);
171
+ }
172
+ if (request.defaultParagraphVoiceId != null) {
173
+ _request.append("default_paragraph_voice_id", request.defaultParagraphVoiceId);
174
+ }
175
+ if (request.defaultModelId != null) {
176
+ _request.append("default_model_id", request.defaultModelId);
177
+ }
175
178
  if (request.fromUrl != null) {
176
179
  _request.append("from_url", request.fromUrl);
177
180
  }
@@ -6,21 +6,18 @@ import * as ElevenLabs from "../../../../../../index";
6
6
  /**
7
7
  * @example
8
8
  * {
9
- * name: "name",
10
- * defaultTitleVoiceId: "default_title_voice_id",
11
- * defaultParagraphVoiceId: "default_paragraph_voice_id",
12
- * defaultModelId: "default_model_id"
9
+ * name: "name"
13
10
  * }
14
11
  */
15
12
  export interface BodyCreateStudioProjectV1StudioProjectsPost {
16
13
  /** The name of the Studio project, used for identification only. */
17
14
  name: string;
18
15
  /** The voice_id that corresponds to the default voice used for new titles. */
19
- defaultTitleVoiceId: string;
16
+ defaultTitleVoiceId?: string;
20
17
  /** The voice_id that corresponds to the default voice used for new paragraphs. */
21
- defaultParagraphVoiceId: string;
18
+ defaultParagraphVoiceId?: string;
22
19
  /** The ID of the model to be used for this Studio project, you can query GET /v1/models to list all available models. */
23
- defaultModelId: string;
20
+ defaultModelId?: string;
24
21
  /** An optional URL from which we will extract content to initialize the Studio project. If this is set, 'from_url' and 'from_content' must be null. If neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio project as blank. */
25
22
  fromUrl?: string;
26
23
  fromDocument?: core.FileLike | undefined;
@@ -52,7 +52,7 @@ export interface StreamTextToSpeechRequest {
52
52
  nextRequestIds?: string[];
53
53
  /** If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. */
54
54
  usePvcAsIvc?: boolean;
55
- /** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models. */
55
+ /** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. */
56
56
  applyTextNormalization?: ElevenLabs.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization;
57
57
  /** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
58
58
  applyLanguageTextNormalization?: boolean;
@@ -52,7 +52,7 @@ export interface StreamTextToSpeechWithTimestampsRequest {
52
52
  nextRequestIds?: string[];
53
53
  /** If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. */
54
54
  usePvcAsIvc?: boolean;
55
- /** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models. */
55
+ /** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. */
56
56
  applyTextNormalization?: ElevenLabs.BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization;
57
57
  /** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
58
58
  applyLanguageTextNormalization?: boolean;
@@ -52,7 +52,7 @@ export interface TextToSpeechRequest {
52
52
  nextRequestIds?: string[];
53
53
  /** If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. */
54
54
  usePvcAsIvc?: boolean;
55
- /** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models. */
55
+ /** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. */
56
56
  applyTextNormalization?: ElevenLabs.BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization;
57
57
  /** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
58
58
  applyLanguageTextNormalization?: boolean;
@@ -50,7 +50,7 @@ export interface TextToSpeechWithTimestampsRequest {
50
50
  nextRequestIds?: string[];
51
51
  /** If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. */
52
52
  usePvcAsIvc?: boolean;
53
- /** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models. */
53
+ /** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. */
54
54
  applyTextNormalization?: ElevenLabs.BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization;
55
55
  /** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
56
56
  applyLanguageTextNormalization?: boolean;
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.
5
+ * This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
6
6
  */
7
7
  export type BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization = "auto" | "on" | "off";
8
8
  export declare const BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization: {
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.
5
+ * This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
6
6
  */
7
7
  export type BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization = "auto" | "on" | "off";
8
8
  export declare const BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization: {
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.
5
+ * This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
6
6
  */
7
7
  export type BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization = "auto" | "on" | "off";
8
8
  export declare const BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization: {
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  /**
5
- * This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. Cannot be turned on for 'eleven_turbo_v2_5' or 'eleven_flash_v2_5' models.
5
+ * This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
6
6
  */
7
7
  export type BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization = "auto" | "on" | "off";
8
8
  export declare const BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization: {
@@ -48,23 +48,6 @@ export declare class TextToVoice {
48
48
  */
49
49
  createPreviews(request: ElevenLabs.VoiceDesignRequest, requestOptions?: TextToVoice.RequestOptions): core.HttpResponsePromise<ElevenLabs.VoiceDesignPreviewResponse>;
50
50
  private __createPreviews;
51
- /**
52
- * Add a generated voice to the voice library.
53
- *
54
- * @param {ElevenLabs.SaveVoicePreviewRequest} request
55
- * @param {TextToVoice.RequestOptions} requestOptions - Request-specific configuration.
56
- *
57
- * @throws {@link ElevenLabs.UnprocessableEntityError}
58
- *
59
- * @example
60
- * await client.textToVoice.createVoiceFromPreview({
61
- * voiceName: "Sassy squeaky mouse",
62
- * voiceDescription: "A sassy squeaky mouse",
63
- * generatedVoiceId: "37HceQefKmEi3bGovXjL"
64
- * })
65
- */
66
- createVoiceFromPreview(request: ElevenLabs.SaveVoicePreviewRequest, requestOptions?: TextToVoice.RequestOptions): core.HttpResponsePromise<ElevenLabs.Voice>;
67
- private __createVoiceFromPreview;
68
51
  /**
69
52
  * Create a voice from previously generated voice preview. This endpoint should be called after you fetched a generated_voice_id using POST /v1/text-to-voice/design or POST /v1/text-to-voice/:voice_id/remix.
70
53
  *
@@ -153,83 +153,6 @@ class TextToVoice {
153
153
  }
154
154
  });
155
155
  }
156
- /**
157
- * Add a generated voice to the voice library.
158
- *
159
- * @param {ElevenLabs.SaveVoicePreviewRequest} request
160
- * @param {TextToVoice.RequestOptions} requestOptions - Request-specific configuration.
161
- *
162
- * @throws {@link ElevenLabs.UnprocessableEntityError}
163
- *
164
- * @example
165
- * await client.textToVoice.createVoiceFromPreview({
166
- * voiceName: "Sassy squeaky mouse",
167
- * voiceDescription: "A sassy squeaky mouse",
168
- * generatedVoiceId: "37HceQefKmEi3bGovXjL"
169
- * })
170
- */
171
- createVoiceFromPreview(request, requestOptions) {
172
- return core.HttpResponsePromise.fromPromise(this.__createVoiceFromPreview(request, requestOptions));
173
- }
174
- __createVoiceFromPreview(request, requestOptions) {
175
- return __awaiter(this, void 0, void 0, function* () {
176
- var _a, _b, _c;
177
- const _response = yield core.fetcher({
178
- url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/text-to-voice/create-voice-from-preview"),
179
- method: "POST",
180
- headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
- contentType: "application/json",
182
- requestType: "json",
183
- body: serializers.SaveVoicePreviewRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
184
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
185
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
186
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
187
- });
188
- if (_response.ok) {
189
- return {
190
- data: serializers.Voice.parseOrThrow(_response.body, {
191
- unrecognizedObjectKeys: "passthrough",
192
- allowUnrecognizedUnionMembers: true,
193
- allowUnrecognizedEnumValues: true,
194
- breadcrumbsPrefix: ["response"],
195
- }),
196
- rawResponse: _response.rawResponse,
197
- };
198
- }
199
- if (_response.error.reason === "status-code") {
200
- switch (_response.error.statusCode) {
201
- case 422:
202
- throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
203
- unrecognizedObjectKeys: "passthrough",
204
- allowUnrecognizedUnionMembers: true,
205
- allowUnrecognizedEnumValues: true,
206
- breadcrumbsPrefix: ["response"],
207
- }), _response.rawResponse);
208
- default:
209
- throw new errors.ElevenLabsError({
210
- statusCode: _response.error.statusCode,
211
- body: _response.error.body,
212
- rawResponse: _response.rawResponse,
213
- });
214
- }
215
- }
216
- switch (_response.error.reason) {
217
- case "non-json":
218
- throw new errors.ElevenLabsError({
219
- statusCode: _response.error.statusCode,
220
- body: _response.error.rawBody,
221
- rawResponse: _response.rawResponse,
222
- });
223
- case "timeout":
224
- throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/text-to-voice/create-voice-from-preview.");
225
- case "unknown":
226
- throw new errors.ElevenLabsError({
227
- message: _response.error.errorMessage,
228
- rawResponse: _response.rawResponse,
229
- });
230
- }
231
- });
232
- }
233
156
  /**
234
157
  * Create a voice from previously generated voice preview. This endpoint should be called after you fetched a generated_voice_id using POST /v1/text-to-voice/design or POST /v1/text-to-voice/:voice_id/remix.
235
158
  *
@@ -29,6 +29,10 @@ export interface VoiceDesignRequestModel {
29
29
  guidanceScale?: number;
30
30
  /** Determines whether the Text to Voice previews should be included in the response. If true, only the generated IDs will be returned which can then be streamed via the /v1/text-to-voice/:generated_voice_id/stream endpoint. */
31
31
  streamPreviews?: boolean;
32
+ /** The remixing session id. */
33
+ remixingSessionId?: string;
34
+ /** The id of the remixing session iteration where these generations should be attached to. If not provided, a new iteration will be created. */
35
+ remixingSessionIterationId?: string;
32
36
  /** Higher quality results in better voice output but less variety. */
33
37
  quality?: number;
34
38
  /** Reference audio to use for the voice generation. The audio should be base64 encoded. Only supported when using the eleven_ttv_v3 model. */
@@ -1,4 +1,3 @@
1
1
  export { type VoiceDesignRequest } from "./VoiceDesignRequest";
2
- export { type SaveVoicePreviewRequest } from "./SaveVoicePreviewRequest";
3
2
  export { type BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost } from "./BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost";
4
3
  export { type VoiceDesignRequestModel } from "./VoiceDesignRequestModel";
@@ -174,7 +174,7 @@ class Voices {
174
174
  __search() {
175
175
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
176
176
  var _a, _b, _c;
177
- const { nextPageToken, pageSize, search, sort, sortDirection, voiceType, category, fineTuningState, collectionId, includeTotalCount, } = request;
177
+ const { nextPageToken, pageSize, search, sort, sortDirection, voiceType, category, fineTuningState, collectionId, includeTotalCount, voiceIds, } = request;
178
178
  const _queryParams = {};
179
179
  if (nextPageToken != null) {
180
180
  _queryParams["next_page_token"] = nextPageToken;
@@ -206,6 +206,14 @@ class Voices {
206
206
  if (includeTotalCount != null) {
207
207
  _queryParams["include_total_count"] = includeTotalCount.toString();
208
208
  }
209
+ if (voiceIds != null) {
210
+ if (Array.isArray(voiceIds)) {
211
+ _queryParams["voice_ids"] = voiceIds.map((item) => item);
212
+ }
213
+ else {
214
+ _queryParams["voice_ids"] = voiceIds;
215
+ }
216
+ }
209
217
  const _response = yield core.fetcher({
210
218
  url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v2/voices"),
211
219
  method: "GET",
@@ -48,4 +48,8 @@ export interface VoicesSearchRequest {
48
48
  * Whether to include the total count of voices found in the response. Incurs a performance cost.
49
49
  */
50
50
  includeTotalCount?: boolean;
51
+ /**
52
+ * Voice IDs to lookup by. Maximum 100 voice IDs.
53
+ */
54
+ voiceIds?: string | string[];
51
55
  }