@elevenlabs/elevenlabs-js 2.53.0 → 2.54.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 (1061) hide show
  1. package/.fern/metadata.json +3 -7
  2. package/.fern/replay.lock +8 -2
  3. package/BaseClient.js +2 -2
  4. package/Client.js +1 -1
  5. package/api/resources/audioIsolation/client/Client.js +4 -8
  6. package/api/resources/audioNative/client/Client.js +4 -4
  7. package/api/resources/conversationalAi/client/Client.js +4 -8
  8. package/api/resources/conversationalAi/resources/agents/client/Client.js +9 -25
  9. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +14 -0
  10. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +53 -13
  11. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
  12. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +2 -10
  13. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
  14. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
  15. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
  16. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +1 -5
  17. package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
  18. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -5
  19. package/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +1 -1
  20. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
  21. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +1 -5
  22. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -10
  23. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  24. package/api/resources/conversationalAi/resources/conversations/client/Client.js +16 -28
  25. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +7 -1
  26. package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +2 -2
  27. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
  28. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
  29. package/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +2 -2
  30. package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
  31. package/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
  32. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  33. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +9 -11
  34. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
  35. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +7 -11
  36. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +6 -2
  37. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +15 -6
  38. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -1
  39. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +15 -0
  40. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.d.ts +13 -0
  41. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.d.ts +1 -0
  42. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.js +2 -0
  43. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
  44. package/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
  45. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -11
  46. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
  47. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -24
  48. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -5
  49. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +1 -5
  50. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +1 -5
  51. package/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
  52. package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
  53. package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
  54. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  55. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
  56. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
  57. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
  58. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  59. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  60. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
  61. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +6 -14
  62. package/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -14
  63. package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
  64. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
  65. package/api/resources/conversationalAi/resources/tests/client/Client.js +7 -11
  66. package/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +4 -8
  67. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +3 -7
  68. package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -18
  69. package/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +1 -5
  70. package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
  71. package/api/resources/conversationalAi/resources/users/client/Client.js +1 -5
  72. package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
  73. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +4 -8
  74. package/api/resources/dubbing/client/Client.d.ts +4 -0
  75. package/api/resources/dubbing/client/Client.js +40 -10
  76. package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +13 -1
  77. package/api/resources/dubbing/resources/audio/client/Client.js +1 -1
  78. package/api/resources/dubbing/resources/resource/client/Client.js +6 -6
  79. package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
  80. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
  81. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +3 -3
  82. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
  83. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  84. package/api/resources/dubbing/resources/transcript/client/Client.js +1 -5
  85. package/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
  86. package/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +6 -0
  87. package/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +9 -0
  88. package/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +5 -0
  89. package/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +8 -0
  90. package/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +8 -0
  91. package/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +11 -0
  92. package/api/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +6 -0
  93. package/api/resources/dubbing/types/DubbingListRequestOrderBy.js +9 -0
  94. package/api/resources/dubbing/types/index.d.ts +4 -0
  95. package/api/resources/dubbing/types/index.js +4 -0
  96. package/api/resources/environmentVariables/client/Client.js +4 -8
  97. package/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  98. package/api/resources/forcedAlignment/client/Client.js +1 -1
  99. package/api/resources/history/client/Client.js +5 -9
  100. package/api/resources/models/client/Client.js +1 -1
  101. package/api/resources/music/client/Client.d.ts +1 -1
  102. package/api/resources/music/client/Client.js +16 -30
  103. package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -4
  104. package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -4
  105. package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +3 -3
  106. package/api/resources/music/resources/compositionPlan/client/Client.js +1 -1
  107. package/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +0 -3
  108. package/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +0 -3
  109. package/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +0 -3
  110. package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +29 -0
  111. package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +32 -0
  112. package/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +29 -0
  113. package/api/resources/music/types/MusicComposeRequestOutputFormat.js +32 -0
  114. package/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +29 -0
  115. package/api/resources/music/types/MusicStreamRequestOutputFormat.js +32 -0
  116. package/api/resources/music/types/index.d.ts +3 -0
  117. package/api/resources/music/types/index.js +3 -0
  118. package/api/resources/productions/resources/orders/client/Client.js +5 -9
  119. package/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
  120. package/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
  121. package/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
  122. package/api/resources/productions/resources/orders/resources/media/client/Client.js +2 -2
  123. package/api/resources/pronunciationDictionaries/client/Client.js +6 -10
  124. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
  125. package/api/resources/samples/client/Client.js +1 -1
  126. package/api/resources/serviceAccounts/client/Client.js +1 -1
  127. package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +4 -4
  128. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  129. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  130. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +4 -0
  131. package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  132. package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  133. package/api/resources/speechEngine/client/Client.js +5 -9
  134. package/api/resources/speechToSpeech/client/Client.js +2 -10
  135. package/api/resources/speechToText/client/Client.d.ts +1 -1
  136. package/api/resources/speechToText/client/Client.js +5 -6
  137. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  138. package/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
  139. package/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +6 -0
  140. package/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +9 -0
  141. package/api/resources/speechToText/types/index.d.ts +1 -0
  142. package/api/resources/speechToText/types/index.js +1 -0
  143. package/api/resources/studio/client/Client.js +1 -1
  144. package/api/resources/studio/resources/projects/client/Client.js +7 -11
  145. package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
  146. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
  147. package/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
  148. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
  149. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
  150. package/api/resources/textToDialogue/client/Client.js +4 -20
  151. package/api/resources/textToSoundEffects/client/Client.js +1 -5
  152. package/api/resources/textToSpeech/client/Client.js +4 -20
  153. package/api/resources/textToVoice/client/Client.js +4 -16
  154. package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  155. package/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
  156. package/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
  157. package/api/resources/usage/client/Client.js +1 -5
  158. package/api/resources/user/client/Client.js +1 -1
  159. package/api/resources/user/resources/subscription/client/Client.js +1 -1
  160. package/api/resources/voices/client/Client.d.ts +17 -17
  161. package/api/resources/voices/client/Client.js +50 -66
  162. package/api/resources/voices/resources/ivc/client/Client.js +1 -1
  163. package/api/resources/voices/resources/pvc/client/Client.js +3 -3
  164. package/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  165. package/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  166. package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
  167. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -5
  168. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
  169. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
  170. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
  171. package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
  172. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
  173. package/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
  174. package/api/resources/voices/resources/settings/client/Client.js +3 -3
  175. package/api/resources/webhooks/client/Client.js +4 -8
  176. package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  177. package/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
  178. package/api/resources/workspace/resources/auditLogs/client/Client.js +1 -5
  179. package/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
  180. package/api/resources/workspace/resources/groups/client/Client.js +2 -6
  181. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  182. package/api/resources/workspace/resources/invites/client/Client.js +3 -3
  183. package/api/resources/workspace/resources/members/client/Client.js +1 -1
  184. package/api/resources/workspace/resources/resources/client/Client.js +3 -7
  185. package/api/resources/workspace/resources/usage/client/Client.js +1 -1
  186. package/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -5
  187. package/api/types/AgentConfig.d.ts +1 -1
  188. package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  189. package/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  190. package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  191. package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  192. package/api/types/AgentVersionParents.d.ts +1 -0
  193. package/api/types/AnalysisProperty.d.ts +2 -0
  194. package/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  195. package/api/types/BaseTurnConfig.d.ts +2 -0
  196. package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
  197. package/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
  198. package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
  199. package/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
  200. package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
  201. package/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
  202. package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
  203. package/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
  204. package/api/types/CompositionPlanChunksItem.d.ts +1 -1
  205. package/api/types/ConversationConfigInput.d.ts +2 -0
  206. package/api/types/ConversationConfigOutput.d.ts +2 -0
  207. package/api/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  208. package/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  209. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  210. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  211. package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  212. package/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  213. package/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  214. package/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  215. package/api/types/ConversationProduct.d.ts +6 -0
  216. package/api/types/ConversationProduct.js +9 -0
  217. package/api/types/ConversationSimulationSpecification.d.ts +1 -1
  218. package/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  219. package/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  220. package/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
  221. package/api/types/CreateSimulationTestRequest.d.ts +4 -2
  222. package/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  223. package/api/types/DynamicVariablesConfigInput.d.ts +1 -1
  224. package/api/types/DynamicVariablesConfigOutput.d.ts +1 -1
  225. package/api/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
  226. package/api/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
  227. package/api/types/FineTuningResponse.d.ts +2 -2
  228. package/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
  229. package/api/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  230. package/{dist/api/types/GenerationChunkConditionStrength.js → api/types/GenerationChunkInputConditionStrength.js} +2 -2
  231. package/{dist/api/types/GenerationChunkContextAdherence.d.ts → api/types/GenerationChunkInputContextAdherence.d.ts} +2 -2
  232. package/api/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
  233. package/api/types/GenerationChunkOutput.d.ts +17 -0
  234. package/api/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  235. package/api/types/GenerationChunkOutputConditionStrength.js +10 -0
  236. package/api/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  237. package/api/types/GenerationChunkOutputContextAdherence.js +10 -0
  238. package/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  239. package/api/types/GetSimulationTestResponseModel.d.ts +4 -2
  240. package/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  241. package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  242. package/api/types/LockReason.d.ts +7 -0
  243. package/api/types/LockReason.js +10 -0
  244. package/api/types/McpToolConfigOverrideInput.d.ts +1 -1
  245. package/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
  246. package/api/types/MusicAllowedOutputFormats.d.ts +2 -0
  247. package/api/types/MusicOnlyOutputFormats.d.ts +7 -0
  248. package/api/types/MusicOnlyOutputFormats.js +10 -0
  249. package/api/types/MusicOutputFormat.d.ts +2 -0
  250. package/api/types/OpenAiAudioFormat.d.ts +6 -0
  251. package/{dist/api/types/AudioFormat.js → api/types/OpenAiAudioFormat.js} +2 -2
  252. package/api/types/OpenAiAudioInputFormat.d.ts +1 -1
  253. package/api/types/OpenAiAudioOutputFormat.d.ts +1 -1
  254. package/api/types/ProjectExtendedResponse.d.ts +1 -1
  255. package/api/types/ProjectResponse.d.ts +1 -1
  256. package/api/types/ResponseUnitTestModel.d.ts +1 -1
  257. package/api/types/ReviewResponseModel.d.ts +1 -1
  258. package/api/types/SimulationTestModel.d.ts +4 -2
  259. package/api/types/SoftTimeoutConfig.d.ts +4 -2
  260. package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  261. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +4 -2
  262. package/api/types/SongSection.d.ts +2 -2
  263. package/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
  264. package/api/types/SpeechToTextWordResponseModel.d.ts +2 -0
  265. package/api/types/ToolCallUnitTestModel.d.ts +1 -1
  266. package/api/types/TopicDiscoverySettings.d.ts +5 -0
  267. package/api/types/TurnConfig.d.ts +2 -0
  268. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  269. package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  270. package/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  271. package/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  272. package/api/types/UpdateSimulationTestRequest.d.ts +4 -2
  273. package/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  274. package/api/types/WebhookHmacSettings.d.ts +1 -1
  275. package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
  276. package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  277. package/api/types/index.d.ts +13 -9
  278. package/api/types/index.js +13 -9
  279. package/biome.json +1 -1
  280. package/core/fetcher/Fetcher.d.ts +0 -8
  281. package/core/fetcher/Fetcher.js +8 -13
  282. package/core/fetcher/getResponseBody.js +0 -11
  283. package/core/fetcher/requestWithRetries.js +1 -4
  284. package/core/file/file.js +2 -3
  285. package/core/schemas/builders/enum/enum.d.ts +0 -1
  286. package/core/schemas/builders/enum/enum.js +0 -7
  287. package/core/schemas/builders/enum/index.d.ts +1 -1
  288. package/core/schemas/builders/enum/index.js +1 -2
  289. package/core/schemas/builders/schema-utils/JsonError.js +1 -2
  290. package/core/schemas/builders/schema-utils/ParseError.js +1 -2
  291. package/core/url/index.d.ts +0 -1
  292. package/core/url/index.js +1 -3
  293. package/core/url/qs.d.ts +1 -2
  294. package/core/url/qs.js +12 -24
  295. package/dist/BaseClient.js +2 -2
  296. package/dist/Client.js +1 -1
  297. package/dist/api/resources/audioIsolation/client/Client.js +4 -8
  298. package/dist/api/resources/audioNative/client/Client.js +4 -4
  299. package/dist/api/resources/conversationalAi/client/Client.js +4 -8
  300. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +9 -25
  301. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +14 -0
  302. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +53 -13
  303. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
  304. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +2 -10
  305. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
  306. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
  307. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
  308. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +1 -5
  309. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
  310. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -5
  311. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +1 -1
  312. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
  313. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +1 -5
  314. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -10
  315. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  316. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +16 -28
  317. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +7 -1
  318. package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +2 -2
  319. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
  320. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
  321. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +2 -2
  322. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
  323. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
  324. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  325. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +9 -11
  326. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
  327. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +7 -11
  328. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +6 -2
  329. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +15 -6
  330. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -1
  331. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +15 -0
  332. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.d.ts +13 -0
  333. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.d.ts +1 -0
  334. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.js +2 -0
  335. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
  336. package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
  337. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -11
  338. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
  339. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -24
  340. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -5
  341. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +1 -5
  342. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +1 -5
  343. package/dist/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
  344. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
  345. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
  346. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  347. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
  348. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
  349. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
  350. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  351. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  352. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
  353. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +6 -14
  354. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -14
  355. package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
  356. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
  357. package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +7 -11
  358. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +4 -8
  359. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +3 -7
  360. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -18
  361. package/dist/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +1 -5
  362. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
  363. package/dist/api/resources/conversationalAi/resources/users/client/Client.js +1 -5
  364. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
  365. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +4 -8
  366. package/dist/api/resources/dubbing/client/Client.d.ts +4 -0
  367. package/dist/api/resources/dubbing/client/Client.js +40 -10
  368. package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +13 -1
  369. package/dist/api/resources/dubbing/resources/audio/client/Client.js +1 -1
  370. package/dist/api/resources/dubbing/resources/resource/client/Client.js +6 -6
  371. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
  372. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
  373. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +3 -3
  374. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
  375. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  376. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +1 -5
  377. package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
  378. package/dist/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +6 -0
  379. package/dist/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +9 -0
  380. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +5 -0
  381. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +8 -0
  382. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +8 -0
  383. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +11 -0
  384. package/dist/api/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +6 -0
  385. package/dist/api/resources/dubbing/types/DubbingListRequestOrderBy.js +9 -0
  386. package/dist/api/resources/dubbing/types/index.d.ts +4 -0
  387. package/dist/api/resources/dubbing/types/index.js +4 -0
  388. package/dist/api/resources/environmentVariables/client/Client.js +4 -8
  389. package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  390. package/dist/api/resources/forcedAlignment/client/Client.js +1 -1
  391. package/dist/api/resources/history/client/Client.js +5 -9
  392. package/dist/api/resources/models/client/Client.js +1 -1
  393. package/dist/api/resources/music/client/Client.d.ts +1 -1
  394. package/dist/api/resources/music/client/Client.js +16 -30
  395. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -4
  396. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -4
  397. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +3 -3
  398. package/dist/api/resources/music/resources/compositionPlan/client/Client.js +1 -1
  399. package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +0 -3
  400. package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +0 -3
  401. package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +0 -3
  402. package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +29 -0
  403. package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +32 -0
  404. package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +29 -0
  405. package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.js +32 -0
  406. package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +29 -0
  407. package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.js +32 -0
  408. package/dist/api/resources/music/types/index.d.ts +3 -0
  409. package/dist/api/resources/music/types/index.js +3 -0
  410. package/dist/api/resources/productions/resources/orders/client/Client.js +5 -9
  411. package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
  412. package/dist/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
  413. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
  414. package/dist/api/resources/productions/resources/orders/resources/media/client/Client.js +2 -2
  415. package/dist/api/resources/pronunciationDictionaries/client/Client.js +6 -10
  416. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
  417. package/dist/api/resources/samples/client/Client.js +1 -1
  418. package/dist/api/resources/serviceAccounts/client/Client.js +1 -1
  419. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +4 -4
  420. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  421. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  422. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +4 -0
  423. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  424. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  425. package/dist/api/resources/speechEngine/client/Client.js +5 -9
  426. package/dist/api/resources/speechToSpeech/client/Client.js +2 -10
  427. package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
  428. package/dist/api/resources/speechToText/client/Client.js +5 -6
  429. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  430. package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
  431. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +6 -0
  432. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +9 -0
  433. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  434. package/dist/api/resources/speechToText/types/index.js +1 -0
  435. package/dist/api/resources/studio/client/Client.js +1 -1
  436. package/dist/api/resources/studio/resources/projects/client/Client.js +7 -11
  437. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
  438. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
  439. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
  440. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
  441. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
  442. package/dist/api/resources/textToDialogue/client/Client.js +4 -20
  443. package/dist/api/resources/textToSoundEffects/client/Client.js +1 -5
  444. package/dist/api/resources/textToSpeech/client/Client.js +4 -20
  445. package/dist/api/resources/textToVoice/client/Client.js +4 -16
  446. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  447. package/dist/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
  448. package/dist/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
  449. package/dist/api/resources/usage/client/Client.js +1 -5
  450. package/dist/api/resources/user/client/Client.js +1 -1
  451. package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
  452. package/dist/api/resources/voices/client/Client.d.ts +17 -17
  453. package/dist/api/resources/voices/client/Client.js +50 -66
  454. package/dist/api/resources/voices/resources/ivc/client/Client.js +1 -1
  455. package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
  456. package/dist/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  457. package/dist/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  458. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
  459. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -5
  460. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
  461. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
  462. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
  463. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
  464. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
  465. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
  466. package/dist/api/resources/voices/resources/settings/client/Client.js +3 -3
  467. package/dist/api/resources/webhooks/client/Client.js +4 -8
  468. package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  469. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
  470. package/dist/api/resources/workspace/resources/auditLogs/client/Client.js +1 -5
  471. package/dist/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
  472. package/dist/api/resources/workspace/resources/groups/client/Client.js +2 -6
  473. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  474. package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
  475. package/dist/api/resources/workspace/resources/members/client/Client.js +1 -1
  476. package/dist/api/resources/workspace/resources/resources/client/Client.js +3 -7
  477. package/dist/api/resources/workspace/resources/usage/client/Client.js +1 -1
  478. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -5
  479. package/dist/api/types/AgentConfig.d.ts +1 -1
  480. package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  481. package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  482. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  483. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  484. package/dist/api/types/AgentVersionParents.d.ts +1 -0
  485. package/dist/api/types/AnalysisProperty.d.ts +2 -0
  486. package/dist/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  487. package/dist/api/types/BaseTurnConfig.d.ts +2 -0
  488. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
  489. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
  490. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
  491. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
  492. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
  493. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
  494. package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
  495. package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
  496. package/dist/api/types/CompositionPlanChunksItem.d.ts +1 -1
  497. package/dist/api/types/ConversationConfigInput.d.ts +2 -0
  498. package/dist/api/types/ConversationConfigOutput.d.ts +2 -0
  499. package/dist/api/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  500. package/dist/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  501. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  502. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  503. package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  504. package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  505. package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  506. package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  507. package/dist/api/types/ConversationProduct.d.ts +6 -0
  508. package/dist/api/types/ConversationProduct.js +9 -0
  509. package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
  510. package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  511. package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  512. package/dist/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
  513. package/dist/api/types/CreateSimulationTestRequest.d.ts +4 -2
  514. package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  515. package/dist/api/types/DynamicVariablesConfigInput.d.ts +1 -1
  516. package/dist/api/types/DynamicVariablesConfigOutput.d.ts +1 -1
  517. package/dist/api/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
  518. package/dist/api/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
  519. package/dist/api/types/FineTuningResponse.d.ts +2 -2
  520. package/dist/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
  521. package/dist/api/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  522. package/{api/types/GenerationChunkConditionStrength.js → dist/api/types/GenerationChunkInputConditionStrength.js} +2 -2
  523. package/{api/types/GenerationChunkContextAdherence.d.ts → dist/api/types/GenerationChunkInputContextAdherence.d.ts} +2 -2
  524. package/dist/api/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
  525. package/dist/api/types/GenerationChunkOutput.d.ts +17 -0
  526. package/dist/api/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  527. package/dist/api/types/GenerationChunkOutputConditionStrength.js +10 -0
  528. package/dist/api/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  529. package/dist/api/types/GenerationChunkOutputContextAdherence.js +10 -0
  530. package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  531. package/dist/api/types/GetSimulationTestResponseModel.d.ts +4 -2
  532. package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  533. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  534. package/dist/api/types/LockReason.d.ts +7 -0
  535. package/dist/api/types/LockReason.js +10 -0
  536. package/dist/api/types/McpToolConfigOverrideInput.d.ts +1 -1
  537. package/dist/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
  538. package/dist/api/types/MusicAllowedOutputFormats.d.ts +2 -0
  539. package/dist/api/types/MusicOnlyOutputFormats.d.ts +7 -0
  540. package/dist/api/types/MusicOnlyOutputFormats.js +10 -0
  541. package/dist/api/types/MusicOutputFormat.d.ts +2 -0
  542. package/dist/api/types/MusicOutputFormat.js +3 -0
  543. package/dist/api/types/OpenAiAudioFormat.d.ts +6 -0
  544. package/{api/types/AudioFormat.js → dist/api/types/OpenAiAudioFormat.js} +2 -2
  545. package/dist/api/types/OpenAiAudioInputFormat.d.ts +1 -1
  546. package/dist/api/types/OpenAiAudioOutputFormat.d.ts +1 -1
  547. package/dist/api/types/ProjectExtendedResponse.d.ts +1 -1
  548. package/dist/api/types/ProjectResponse.d.ts +1 -1
  549. package/dist/api/types/ResponseUnitTestModel.d.ts +1 -1
  550. package/dist/api/types/ReviewResponseModel.d.ts +1 -1
  551. package/dist/api/types/SimulationTestModel.d.ts +4 -2
  552. package/dist/api/types/SoftTimeoutConfig.d.ts +4 -2
  553. package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  554. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +4 -2
  555. package/dist/api/types/SongSection.d.ts +2 -2
  556. package/dist/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
  557. package/dist/api/types/SpeechToTextWordResponseModel.d.ts +2 -0
  558. package/dist/api/types/ToolCallUnitTestModel.d.ts +1 -1
  559. package/dist/api/types/TopicDiscoverySettings.d.ts +5 -0
  560. package/dist/api/types/TopicDiscoverySettings.js +3 -0
  561. package/dist/api/types/TurnConfig.d.ts +2 -0
  562. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  563. package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  564. package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  565. package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  566. package/dist/api/types/UpdateSimulationTestRequest.d.ts +4 -2
  567. package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  568. package/dist/api/types/WebhookHmacSettings.d.ts +1 -1
  569. package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
  570. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  571. package/dist/api/types/index.d.ts +13 -9
  572. package/dist/api/types/index.js +13 -9
  573. package/dist/core/fetcher/Fetcher.d.ts +0 -8
  574. package/dist/core/fetcher/Fetcher.js +8 -13
  575. package/dist/core/fetcher/getResponseBody.js +0 -11
  576. package/dist/core/fetcher/requestWithRetries.js +1 -4
  577. package/dist/core/file/file.js +2 -3
  578. package/dist/core/schemas/builders/enum/enum.d.ts +0 -1
  579. package/dist/core/schemas/builders/enum/enum.js +0 -7
  580. package/dist/core/schemas/builders/enum/index.d.ts +1 -1
  581. package/dist/core/schemas/builders/enum/index.js +1 -2
  582. package/dist/core/schemas/builders/schema-utils/JsonError.js +1 -2
  583. package/dist/core/schemas/builders/schema-utils/ParseError.js +1 -2
  584. package/dist/core/url/index.d.ts +0 -1
  585. package/dist/core/url/index.js +1 -3
  586. package/dist/core/url/qs.d.ts +1 -2
  587. package/dist/core/url/qs.js +12 -24
  588. package/dist/errors/ElevenLabsError.d.ts +1 -3
  589. package/dist/errors/ElevenLabsError.js +1 -4
  590. package/dist/errors/ElevenLabsTimeoutError.d.ts +1 -4
  591. package/dist/errors/ElevenLabsTimeoutError.js +1 -4
  592. package/dist/errors/handleNonStatusCodeError.js +1 -4
  593. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  594. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
  595. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  596. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
  597. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  598. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
  599. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  600. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +3 -1
  601. package/dist/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +7 -0
  602. package/dist/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +39 -0
  603. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +7 -0
  604. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +39 -0
  605. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +7 -0
  606. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +39 -0
  607. package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +7 -0
  608. package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderBy.js +39 -0
  609. package/dist/serialization/resources/dubbing/types/index.d.ts +4 -0
  610. package/dist/serialization/resources/dubbing/types/index.js +4 -0
  611. package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  612. package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
  613. package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +7 -0
  614. package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +66 -0
  615. package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +7 -0
  616. package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +66 -0
  617. package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +7 -0
  618. package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +66 -0
  619. package/dist/serialization/resources/music/types/index.d.ts +3 -0
  620. package/dist/serialization/resources/music/types/index.js +3 -0
  621. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  622. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  623. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  624. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  625. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +7 -0
  626. package/dist/serialization/{types/CoachingAgentSettings.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +7 -7
  627. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  628. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  629. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +7 -0
  630. package/dist/serialization/{types/CodeToolAllowedDomain.js → resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js} +3 -6
  631. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  632. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  633. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  634. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
  635. package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  636. package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
  637. package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  638. package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
  639. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  640. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
  641. package/dist/serialization/types/AgentConfig.d.ts +1 -1
  642. package/dist/serialization/types/AgentConfig.js +1 -1
  643. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  644. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
  645. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  646. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
  647. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  648. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  649. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  650. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  651. package/dist/serialization/types/AgentVersionParents.d.ts +1 -0
  652. package/dist/serialization/types/AgentVersionParents.js +1 -0
  653. package/dist/serialization/types/AnalysisProperty.d.ts +1 -0
  654. package/dist/serialization/types/AnalysisProperty.js +1 -0
  655. package/dist/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  656. package/dist/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
  657. package/dist/serialization/types/BaseTurnConfig.d.ts +1 -0
  658. package/dist/serialization/types/BaseTurnConfig.js +1 -0
  659. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
  660. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +1 -1
  661. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
  662. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +1 -1
  663. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
  664. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +1 -1
  665. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
  666. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +1 -1
  667. package/dist/serialization/types/CompositionPlanChunksItem.d.ts +2 -2
  668. package/dist/serialization/types/CompositionPlanChunksItem.js +2 -2
  669. package/dist/serialization/types/ConversationConfigInput.d.ts +2 -0
  670. package/dist/serialization/types/ConversationConfigInput.js +2 -0
  671. package/dist/serialization/types/ConversationConfigOutput.d.ts +2 -0
  672. package/dist/serialization/types/ConversationConfigOutput.js +2 -0
  673. package/dist/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  674. package/dist/serialization/types/ConversationConfigWorkflowOverrideInput.js +2 -0
  675. package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  676. package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.js +2 -0
  677. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  678. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +1 -0
  679. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  680. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +1 -0
  681. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  682. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +1 -0
  683. package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  684. package/dist/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
  685. package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  686. package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
  687. package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  688. package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
  689. package/dist/serialization/types/ConversationProduct.d.ts +7 -0
  690. package/dist/serialization/types/{GenerationChunkContextAdherence.js → ConversationProduct.js} +2 -2
  691. package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
  692. package/dist/serialization/types/ConversationSimulationSpecification.js +1 -1
  693. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  694. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
  695. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  696. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
  697. package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
  698. package/dist/serialization/types/CreateResponseUnitTestRequest.js +1 -1
  699. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +2 -1
  700. package/dist/serialization/types/CreateSimulationTestRequest.js +2 -1
  701. package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  702. package/dist/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
  703. package/dist/serialization/types/DynamicVariablesConfigInput.d.ts +1 -1
  704. package/dist/serialization/types/DynamicVariablesConfigInput.js +1 -1
  705. package/dist/serialization/types/DynamicVariablesConfigOutput.d.ts +1 -1
  706. package/dist/serialization/types/DynamicVariablesConfigOutput.js +1 -1
  707. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
  708. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.js +1 -1
  709. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
  710. package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.js +1 -1
  711. package/dist/serialization/types/FineTuningResponse.d.ts +2 -2
  712. package/dist/serialization/types/FineTuningResponse.js +2 -2
  713. package/dist/serialization/types/GenerationChunkInput.d.ts +18 -0
  714. package/dist/serialization/types/{GenerationChunk.js → GenerationChunkInput.js} +6 -6
  715. package/dist/serialization/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  716. package/dist/serialization/types/GenerationChunkInputConditionStrength.js +39 -0
  717. package/dist/serialization/types/GenerationChunkInputContextAdherence.d.ts +7 -0
  718. package/dist/serialization/types/GenerationChunkInputContextAdherence.js +39 -0
  719. package/dist/serialization/types/GenerationChunkOutput.d.ts +18 -0
  720. package/dist/serialization/types/GenerationChunkOutput.js +50 -0
  721. package/dist/serialization/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  722. package/dist/serialization/types/GenerationChunkOutputConditionStrength.js +39 -0
  723. package/dist/serialization/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  724. package/dist/serialization/types/GenerationChunkOutputContextAdherence.js +39 -0
  725. package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  726. package/dist/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
  727. package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +2 -1
  728. package/dist/serialization/types/GetSimulationTestResponseModel.js +2 -1
  729. package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  730. package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
  731. package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  732. package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  733. package/dist/serialization/types/LockReason.d.ts +7 -0
  734. package/dist/serialization/types/{GenerationChunkConditionStrength.js → LockReason.js} +2 -2
  735. package/dist/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
  736. package/dist/serialization/types/McpToolConfigOverrideInput.js +1 -1
  737. package/dist/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
  738. package/dist/serialization/types/McpToolConfigOverrideOutput.js +1 -1
  739. package/dist/serialization/types/MusicAllowedOutputFormats.d.ts +9 -0
  740. package/dist/serialization/types/MusicAllowedOutputFormats.js +41 -0
  741. package/dist/serialization/types/MusicOnlyOutputFormats.d.ts +7 -0
  742. package/dist/serialization/types/MusicOnlyOutputFormats.js +39 -0
  743. package/dist/serialization/types/MusicOutputFormat.d.ts +8 -0
  744. package/dist/serialization/types/{CodeToolContextVariable.js → MusicOutputFormat.js} +3 -5
  745. package/dist/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
  746. package/{serialization/types/GenerationChunkContextAdherence.js → dist/serialization/types/OpenAiAudioFormat.js} +2 -2
  747. package/dist/serialization/types/OpenAiAudioInputFormat.d.ts +2 -2
  748. package/dist/serialization/types/OpenAiAudioInputFormat.js +2 -2
  749. package/dist/serialization/types/OpenAiAudioOutputFormat.d.ts +2 -2
  750. package/dist/serialization/types/OpenAiAudioOutputFormat.js +2 -2
  751. package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -1
  752. package/dist/serialization/types/ProjectExtendedResponse.js +1 -1
  753. package/dist/serialization/types/ProjectResponse.d.ts +1 -1
  754. package/dist/serialization/types/ProjectResponse.js +1 -1
  755. package/dist/serialization/types/ResponseUnitTestModel.d.ts +1 -1
  756. package/dist/serialization/types/ResponseUnitTestModel.js +1 -1
  757. package/dist/serialization/types/ReviewResponseModel.d.ts +1 -1
  758. package/dist/serialization/types/ReviewResponseModel.js +1 -1
  759. package/dist/serialization/types/SimulationTestModel.d.ts +2 -1
  760. package/dist/serialization/types/SimulationTestModel.js +2 -1
  761. package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  762. package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
  763. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  764. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  765. package/dist/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
  766. package/dist/serialization/types/SpeakerSeparationResponseModel.js +1 -1
  767. package/dist/serialization/types/SpeechToTextWordResponseModel.d.ts +1 -0
  768. package/dist/serialization/types/SpeechToTextWordResponseModel.js +1 -0
  769. package/dist/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
  770. package/dist/serialization/types/ToolCallUnitTestModel.js +1 -1
  771. package/dist/serialization/types/TopicDiscoverySettings.d.ts +7 -0
  772. package/{serialization/types/AudioFormat.js → dist/serialization/types/TopicDiscoverySettings.js} +2 -2
  773. package/dist/serialization/types/TurnConfig.d.ts +1 -0
  774. package/dist/serialization/types/TurnConfig.js +1 -0
  775. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  776. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  777. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  778. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
  779. package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  780. package/dist/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
  781. package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  782. package/dist/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
  783. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +2 -1
  784. package/dist/serialization/types/UpdateSimulationTestRequest.js +2 -1
  785. package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  786. package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
  787. package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -1
  788. package/dist/serialization/types/WebhookHmacSettings.js +1 -1
  789. package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
  790. package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
  791. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
  792. package/dist/serialization/types/WorkspaceGroupResponseModel.js +1 -0
  793. package/dist/serialization/types/index.d.ts +13 -9
  794. package/dist/serialization/types/index.js +13 -9
  795. package/dist/version.d.ts +1 -1
  796. package/dist/version.js +1 -1
  797. package/errors/ElevenLabsError.d.ts +1 -3
  798. package/errors/ElevenLabsError.js +1 -4
  799. package/errors/ElevenLabsTimeoutError.d.ts +1 -4
  800. package/errors/ElevenLabsTimeoutError.js +1 -4
  801. package/errors/handleNonStatusCodeError.js +1 -4
  802. package/package.json +6 -6
  803. package/reference.md +116 -27
  804. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  805. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
  806. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  807. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
  808. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  809. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
  810. package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  811. package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +3 -1
  812. package/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +7 -0
  813. package/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +39 -0
  814. package/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +7 -0
  815. package/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +39 -0
  816. package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +7 -0
  817. package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +39 -0
  818. package/serialization/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +7 -0
  819. package/serialization/resources/dubbing/types/DubbingListRequestOrderBy.js +39 -0
  820. package/serialization/resources/dubbing/types/index.d.ts +4 -0
  821. package/serialization/resources/dubbing/types/index.js +4 -0
  822. package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  823. package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
  824. package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +7 -0
  825. package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +66 -0
  826. package/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +7 -0
  827. package/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +66 -0
  828. package/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +7 -0
  829. package/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +66 -0
  830. package/serialization/resources/music/types/index.d.ts +3 -0
  831. package/serialization/resources/music/types/index.js +3 -0
  832. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  833. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  834. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  835. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  836. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +7 -0
  837. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js +43 -0
  838. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  839. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  840. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +7 -0
  841. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +39 -0
  842. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  843. package/serialization/resources/speechToText/types/index.js +1 -0
  844. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  845. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
  846. package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  847. package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
  848. package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  849. package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
  850. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  851. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
  852. package/serialization/types/AgentConfig.d.ts +1 -1
  853. package/serialization/types/AgentConfig.js +1 -1
  854. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  855. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
  856. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  857. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
  858. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  859. package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  860. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  861. package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  862. package/serialization/types/AgentVersionParents.d.ts +1 -0
  863. package/serialization/types/AgentVersionParents.js +1 -0
  864. package/serialization/types/AnalysisProperty.d.ts +1 -0
  865. package/serialization/types/AnalysisProperty.js +1 -0
  866. package/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  867. package/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
  868. package/serialization/types/BaseTurnConfig.d.ts +1 -0
  869. package/serialization/types/BaseTurnConfig.js +1 -0
  870. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
  871. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +1 -1
  872. package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
  873. package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +1 -1
  874. package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
  875. package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +1 -1
  876. package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
  877. package/serialization/types/CaptionStyleWordAnimationModelExitType.js +1 -1
  878. package/serialization/types/CompositionPlanChunksItem.d.ts +2 -2
  879. package/serialization/types/CompositionPlanChunksItem.js +2 -2
  880. package/serialization/types/ConversationConfigInput.d.ts +2 -0
  881. package/serialization/types/ConversationConfigInput.js +2 -0
  882. package/serialization/types/ConversationConfigOutput.d.ts +2 -0
  883. package/serialization/types/ConversationConfigOutput.js +2 -0
  884. package/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  885. package/serialization/types/ConversationConfigWorkflowOverrideInput.js +2 -0
  886. package/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  887. package/serialization/types/ConversationConfigWorkflowOverrideOutput.js +2 -0
  888. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  889. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +1 -0
  890. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  891. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +1 -0
  892. package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  893. package/serialization/types/ConversationHistoryTranscriptResponseModel.js +1 -0
  894. package/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  895. package/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
  896. package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  897. package/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
  898. package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  899. package/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
  900. package/serialization/types/ConversationProduct.d.ts +7 -0
  901. package/serialization/types/ConversationProduct.js +39 -0
  902. package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
  903. package/serialization/types/ConversationSimulationSpecification.js +1 -1
  904. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  905. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
  906. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  907. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
  908. package/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
  909. package/serialization/types/CreateResponseUnitTestRequest.js +1 -1
  910. package/serialization/types/CreateSimulationTestRequest.d.ts +2 -1
  911. package/serialization/types/CreateSimulationTestRequest.js +2 -1
  912. package/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  913. package/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
  914. package/serialization/types/DynamicVariablesConfigInput.d.ts +1 -1
  915. package/serialization/types/DynamicVariablesConfigInput.js +1 -1
  916. package/serialization/types/DynamicVariablesConfigOutput.d.ts +1 -1
  917. package/serialization/types/DynamicVariablesConfigOutput.js +1 -1
  918. package/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.d.ts +1 -1
  919. package/serialization/types/DynamicVariablesConfigWorkflowOverrideInput.js +1 -1
  920. package/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.d.ts +1 -1
  921. package/serialization/types/DynamicVariablesConfigWorkflowOverrideOutput.js +1 -1
  922. package/serialization/types/FineTuningResponse.d.ts +2 -2
  923. package/serialization/types/FineTuningResponse.js +2 -2
  924. package/serialization/types/GenerationChunkInput.d.ts +18 -0
  925. package/serialization/types/{GenerationChunk.js → GenerationChunkInput.js} +6 -6
  926. package/serialization/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  927. package/serialization/types/GenerationChunkInputConditionStrength.js +39 -0
  928. package/serialization/types/GenerationChunkInputContextAdherence.d.ts +7 -0
  929. package/serialization/types/GenerationChunkInputContextAdherence.js +39 -0
  930. package/serialization/types/GenerationChunkOutput.d.ts +18 -0
  931. package/serialization/types/GenerationChunkOutput.js +50 -0
  932. package/serialization/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  933. package/serialization/types/GenerationChunkOutputConditionStrength.js +39 -0
  934. package/serialization/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  935. package/serialization/types/GenerationChunkOutputContextAdherence.js +39 -0
  936. package/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  937. package/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
  938. package/serialization/types/GetSimulationTestResponseModel.d.ts +2 -1
  939. package/serialization/types/GetSimulationTestResponseModel.js +2 -1
  940. package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  941. package/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
  942. package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  943. package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  944. package/serialization/types/LockReason.d.ts +7 -0
  945. package/serialization/types/LockReason.js +39 -0
  946. package/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
  947. package/serialization/types/McpToolConfigOverrideInput.js +1 -1
  948. package/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
  949. package/serialization/types/McpToolConfigOverrideOutput.js +1 -1
  950. package/serialization/types/MusicAllowedOutputFormats.d.ts +9 -0
  951. package/serialization/types/MusicAllowedOutputFormats.js +41 -0
  952. package/serialization/types/MusicOnlyOutputFormats.d.ts +7 -0
  953. package/serialization/types/MusicOnlyOutputFormats.js +39 -0
  954. package/serialization/types/MusicOutputFormat.d.ts +8 -0
  955. package/{dist/serialization/types/CoachedAgentSettings.js → serialization/types/MusicOutputFormat.js} +3 -5
  956. package/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
  957. package/serialization/types/OpenAiAudioFormat.js +39 -0
  958. package/serialization/types/OpenAiAudioInputFormat.d.ts +2 -2
  959. package/serialization/types/OpenAiAudioInputFormat.js +2 -2
  960. package/serialization/types/OpenAiAudioOutputFormat.d.ts +2 -2
  961. package/serialization/types/OpenAiAudioOutputFormat.js +2 -2
  962. package/serialization/types/ProjectExtendedResponse.d.ts +1 -1
  963. package/serialization/types/ProjectExtendedResponse.js +1 -1
  964. package/serialization/types/ProjectResponse.d.ts +1 -1
  965. package/serialization/types/ProjectResponse.js +1 -1
  966. package/serialization/types/ResponseUnitTestModel.d.ts +1 -1
  967. package/serialization/types/ResponseUnitTestModel.js +1 -1
  968. package/serialization/types/ReviewResponseModel.d.ts +1 -1
  969. package/serialization/types/ReviewResponseModel.js +1 -1
  970. package/serialization/types/SimulationTestModel.d.ts +2 -1
  971. package/serialization/types/SimulationTestModel.js +2 -1
  972. package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  973. package/serialization/types/SoftTimeoutConfig.js +1 -0
  974. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  975. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  976. package/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
  977. package/serialization/types/SpeakerSeparationResponseModel.js +1 -1
  978. package/serialization/types/SpeechToTextWordResponseModel.d.ts +1 -0
  979. package/serialization/types/SpeechToTextWordResponseModel.js +1 -0
  980. package/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
  981. package/serialization/types/ToolCallUnitTestModel.js +1 -1
  982. package/serialization/types/TopicDiscoverySettings.d.ts +7 -0
  983. package/{dist/serialization/types/AudioFormat.js → serialization/types/TopicDiscoverySettings.js} +2 -2
  984. package/serialization/types/TurnConfig.d.ts +1 -0
  985. package/serialization/types/TurnConfig.js +1 -0
  986. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  987. package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  988. package/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  989. package/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
  990. package/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  991. package/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
  992. package/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  993. package/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
  994. package/serialization/types/UpdateSimulationTestRequest.d.ts +2 -1
  995. package/serialization/types/UpdateSimulationTestRequest.js +2 -1
  996. package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  997. package/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
  998. package/serialization/types/WebhookHmacSettings.d.ts +1 -1
  999. package/serialization/types/WebhookHmacSettings.js +1 -1
  1000. package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
  1001. package/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
  1002. package/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
  1003. package/serialization/types/WorkspaceGroupResponseModel.js +1 -0
  1004. package/serialization/types/index.d.ts +13 -9
  1005. package/serialization/types/index.js +13 -9
  1006. package/version.d.ts +1 -1
  1007. package/version.js +1 -1
  1008. package/.fern/verify.sh +0 -5
  1009. package/api/types/AudioFormat.d.ts +0 -6
  1010. package/api/types/CoachedAgentSettings.d.ts +0 -4
  1011. package/api/types/CoachingAgentSettings.d.ts +0 -8
  1012. package/api/types/CodeToolAllowedDomain.d.ts +0 -6
  1013. package/api/types/CodeToolContextVariable.d.ts +0 -4
  1014. package/api/types/GenerationChunkConditionStrength.d.ts +0 -7
  1015. package/api/types/NoCoachingSettings.d.ts +0 -4
  1016. package/core/url/QueryStringBuilder.d.ts +0 -47
  1017. package/core/url/QueryStringBuilder.js +0 -83
  1018. package/dist/api/types/AudioFormat.d.ts +0 -6
  1019. package/dist/api/types/CoachedAgentSettings.d.ts +0 -4
  1020. package/dist/api/types/CoachingAgentSettings.d.ts +0 -8
  1021. package/dist/api/types/CodeToolAllowedDomain.d.ts +0 -6
  1022. package/dist/api/types/CodeToolContextVariable.d.ts +0 -4
  1023. package/dist/api/types/GenerationChunkConditionStrength.d.ts +0 -7
  1024. package/dist/api/types/NoCoachingSettings.d.ts +0 -4
  1025. package/dist/core/url/QueryStringBuilder.d.ts +0 -47
  1026. package/dist/core/url/QueryStringBuilder.js +0 -83
  1027. package/dist/serialization/types/CoachedAgentSettings.d.ts +0 -10
  1028. package/dist/serialization/types/CoachingAgentSettings.d.ts +0 -11
  1029. package/dist/serialization/types/CodeToolAllowedDomain.d.ts +0 -10
  1030. package/dist/serialization/types/CodeToolContextVariable.d.ts +0 -10
  1031. package/dist/serialization/types/GenerationChunk.d.ts +0 -18
  1032. package/dist/serialization/types/GenerationChunkConditionStrength.d.ts +0 -7
  1033. package/dist/serialization/types/GenerationChunkContextAdherence.d.ts +0 -7
  1034. package/dist/serialization/types/NoCoachingSettings.d.ts +0 -10
  1035. package/dist/serialization/types/NoCoachingSettings.js +0 -42
  1036. package/serialization/types/CoachedAgentSettings.d.ts +0 -10
  1037. package/serialization/types/CoachedAgentSettings.js +0 -42
  1038. package/serialization/types/CoachingAgentSettings.d.ts +0 -11
  1039. package/serialization/types/CoachingAgentSettings.js +0 -43
  1040. package/serialization/types/CodeToolAllowedDomain.d.ts +0 -10
  1041. package/serialization/types/CodeToolAllowedDomain.js +0 -42
  1042. package/serialization/types/CodeToolContextVariable.d.ts +0 -10
  1043. package/serialization/types/CodeToolContextVariable.js +0 -42
  1044. package/serialization/types/GenerationChunk.d.ts +0 -18
  1045. package/serialization/types/GenerationChunkConditionStrength.d.ts +0 -7
  1046. package/serialization/types/GenerationChunkConditionStrength.js +0 -39
  1047. package/serialization/types/GenerationChunkContextAdherence.d.ts +0 -7
  1048. package/serialization/types/NoCoachingSettings.d.ts +0 -10
  1049. package/serialization/types/NoCoachingSettings.js +0 -42
  1050. /package/api/{types/CoachedAgentSettings.js → resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js} +0 -0
  1051. /package/api/{types/CoachingAgentSettings.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +0 -0
  1052. /package/api/types/{CodeToolAllowedDomain.js → GenerationChunkInput.js} +0 -0
  1053. /package/api/types/{CodeToolContextVariable.js → GenerationChunkOutput.js} +0 -0
  1054. /package/api/types/{GenerationChunk.js → MusicAllowedOutputFormats.js} +0 -0
  1055. /package/api/types/{NoCoachingSettings.js → MusicOutputFormat.js} +0 -0
  1056. /package/{dist/api/types/CoachedAgentSettings.js → api/types/TopicDiscoverySettings.js} +0 -0
  1057. /package/dist/api/{types/CoachingAgentSettings.js → resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js} +0 -0
  1058. /package/dist/api/{types/CodeToolAllowedDomain.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +0 -0
  1059. /package/dist/api/types/{CodeToolContextVariable.js → GenerationChunkInput.js} +0 -0
  1060. /package/dist/api/types/{GenerationChunk.js → GenerationChunkOutput.js} +0 -0
  1061. /package/dist/api/types/{NoCoachingSettings.js → MusicAllowedOutputFormats.js} +0 -0
@@ -15,6 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./DubbingCreateRequestMode"), exports);
18
+ __exportStar(require("./DubbingListRequestCreationSourcesItem"), exports);
19
+ __exportStar(require("./DubbingListRequestDubbingModelsItem"), exports);
18
20
  __exportStar(require("./DubbingListRequestDubbingStatus"), exports);
21
+ __exportStar(require("./DubbingListRequestDubbingStatusesItem"), exports);
19
22
  __exportStar(require("./DubbingListRequestFilterByCreator"), exports);
23
+ __exportStar(require("./DubbingListRequestOrderBy"), exports);
20
24
  __exportStar(require("./DubbingListRequestOrderDirection"), exports);
@@ -97,11 +97,7 @@ class EnvironmentVariablesClient {
97
97
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/environment-variables"),
98
98
  method: "GET",
99
99
  headers: _headers,
100
- queryString: core.url
101
- .queryBuilder()
102
- .addMany(_queryParams)
103
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
104
- .build(),
100
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
105
101
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
106
102
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
107
103
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -167,7 +163,7 @@ class EnvironmentVariablesClient {
167
163
  method: "POST",
168
164
  headers: _headers,
169
165
  contentType: "application/json",
170
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
166
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
171
167
  requestType: "json",
172
168
  body: serializers.EnvironmentVariablesCreateRequestBody.jsonOrThrow(request, {
173
169
  unrecognizedObjectKeys: "strip",
@@ -231,7 +227,7 @@ class EnvironmentVariablesClient {
231
227
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/environment-variables/${core.url.encodePathParam(env_var_id)}`),
232
228
  method: "GET",
233
229
  headers: _headers,
234
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
230
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
235
231
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
236
232
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
237
233
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -294,7 +290,7 @@ class EnvironmentVariablesClient {
294
290
  method: "PATCH",
295
291
  headers: _headers,
296
292
  contentType: "application/json",
297
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
293
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
298
294
  requestType: "json",
299
295
  body: serializers.UpdateEnvironmentVariableRequest.jsonOrThrow(request, {
300
296
  unrecognizedObjectKeys: "strip",
@@ -7,5 +7,5 @@ import type * as ElevenLabs from "../../../../index";
7
7
  */
8
8
  export interface UpdateEnvironmentVariableRequest {
9
9
  /** Values to replace. Set to null to remove an environment (except 'production'). */
10
- values: Record<string, ElevenLabs.UpdateEnvironmentVariableRequestValuesValue>;
10
+ values: Record<string, ElevenLabs.UpdateEnvironmentVariableRequestValuesValue | undefined>;
11
11
  }
@@ -86,7 +86,7 @@ class ForcedAlignmentClient {
86
86
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/forced-alignment"),
87
87
  method: "POST",
88
88
  headers: _headers,
89
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
89
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
90
90
  requestType: "file",
91
91
  duplex: _maybeEncodedRequest.duplex,
92
92
  body: _maybeEncodedRequest.body,
@@ -106,11 +106,7 @@ class HistoryClient {
106
106
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/history"),
107
107
  method: "GET",
108
108
  headers: _headers,
109
- queryString: core.url
110
- .queryBuilder()
111
- .addMany(_queryParams)
112
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
113
- .build(),
109
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
114
110
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
115
111
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
116
112
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -165,7 +161,7 @@ class HistoryClient {
165
161
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/history/${core.url.encodePathParam(history_item_id)}`),
166
162
  method: "GET",
167
163
  headers: _headers,
168
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
164
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
169
165
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
170
166
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
171
167
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -220,7 +216,7 @@ class HistoryClient {
220
216
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/history/${core.url.encodePathParam(history_item_id)}`),
221
217
  method: "DELETE",
222
218
  headers: _headers,
223
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
219
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
224
220
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
225
221
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
226
222
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -269,7 +265,7 @@ class HistoryClient {
269
265
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/history/${core.url.encodePathParam(history_item_id)}/audio`),
270
266
  method: "GET",
271
267
  headers: _headers,
272
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
268
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
273
269
  responseType: "streaming",
274
270
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
275
271
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
@@ -313,7 +309,7 @@ class HistoryClient {
313
309
  method: "POST",
314
310
  headers: _headers,
315
311
  contentType: "application/json",
316
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
312
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
317
313
  requestType: "json",
318
314
  body: serializers.DownloadHistoryRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
319
315
  responseType: "streaming",
@@ -80,7 +80,7 @@ class ModelsClient {
80
80
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/models"),
81
81
  method: "GET",
82
82
  headers: _headers,
83
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
83
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
84
84
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
85
85
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
86
86
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -43,7 +43,7 @@ export declare class MusicClient {
43
43
  stream(request?: ElevenLabs.BodyStreamComposedMusicV1MusicStreamPost, requestOptions?: MusicClient.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
44
44
  private __stream;
45
45
  /**
46
- * Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
46
+ * Upload a music file to be later used for inpainting. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
47
47
  *
48
48
  * @param {ElevenLabs.BodyUploadMusicV1MusicUploadPost} request
49
49
  * @param {MusicClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -117,11 +117,7 @@ class MusicClient {
117
117
  url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ElevenLabsEnvironment.Production, "v1/music/video-to-music"),
118
118
  method: "POST",
119
119
  headers: _headers,
120
- queryString: core.url
121
- .queryBuilder()
122
- .addMany(_queryParams)
123
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
124
- .build(),
120
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
125
121
  requestType: "file",
126
122
  duplex: _maybeEncodedRequest.duplex,
127
123
  body: _maybeEncodedRequest.body,
@@ -166,7 +162,9 @@ class MusicClient {
166
162
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
167
163
  const _queryParams = {
168
164
  output_format: outputFormat != null
169
- ? serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" })
165
+ ? serializers.MusicComposeRequestOutputFormat.jsonOrThrow(outputFormat, {
166
+ unrecognizedObjectKeys: "strip",
167
+ })
170
168
  : undefined,
171
169
  };
172
170
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -175,11 +173,7 @@ class MusicClient {
175
173
  method: "POST",
176
174
  headers: _headers,
177
175
  contentType: "application/json",
178
- queryString: core.url
179
- .queryBuilder()
180
- .addMany(_queryParams)
181
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
182
- .build(),
176
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
183
177
  requestType: "json",
184
178
  body: serializers.BodyComposeMusicV1MusicPost.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
185
179
  responseType: "streaming",
@@ -221,7 +215,9 @@ class MusicClient {
221
215
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
222
216
  const _queryParams = {
223
217
  output_format: outputFormat != null
224
- ? serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" })
218
+ ? serializers.MusicComposeDetailedRequestOutputFormat.jsonOrThrow(outputFormat, {
219
+ unrecognizedObjectKeys: "strip",
220
+ })
225
221
  : undefined,
226
222
  };
227
223
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -230,11 +226,7 @@ class MusicClient {
230
226
  method: "POST",
231
227
  headers: _headers,
232
228
  contentType: "application/json",
233
- queryString: core.url
234
- .queryBuilder()
235
- .addMany(_queryParams)
236
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
237
- .build(),
229
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
238
230
  requestType: "json",
239
231
  body: serializers.BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.jsonOrThrow(_body, {
240
232
  unrecognizedObjectKeys: "strip",
@@ -278,7 +270,9 @@ class MusicClient {
278
270
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
279
271
  const _queryParams = {
280
272
  output_format: outputFormat != null
281
- ? serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" })
273
+ ? serializers.MusicStreamRequestOutputFormat.jsonOrThrow(outputFormat, {
274
+ unrecognizedObjectKeys: "strip",
275
+ })
282
276
  : undefined,
283
277
  };
284
278
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -287,11 +281,7 @@ class MusicClient {
287
281
  method: "POST",
288
282
  headers: _headers,
289
283
  contentType: "application/json",
290
- queryString: core.url
291
- .queryBuilder()
292
- .addMany(_queryParams)
293
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
294
- .build(),
284
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
295
285
  requestType: "json",
296
286
  body: serializers.BodyStreamComposedMusicV1MusicStreamPost.jsonOrThrow(_body, {
297
287
  unrecognizedObjectKeys: "strip",
@@ -322,7 +312,7 @@ class MusicClient {
322
312
  });
323
313
  }
324
314
  /**
325
- * Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
315
+ * Upload a music file to be later used for inpainting. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
326
316
  *
327
317
  * @param {ElevenLabs.BodyUploadMusicV1MusicUploadPost} request
328
318
  * @param {MusicClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -355,7 +345,7 @@ class MusicClient {
355
345
  url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ElevenLabsEnvironment.Production, "v1/music/upload"),
356
346
  method: "POST",
357
347
  headers: _headers,
358
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
348
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
359
349
  requestType: "file",
360
350
  duplex: _maybeEncodedRequest.duplex,
361
351
  body: _maybeEncodedRequest.body,
@@ -425,11 +415,7 @@ class MusicClient {
425
415
  url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ElevenLabsEnvironment.Production, "v1/music/stem-separation"),
426
416
  method: "POST",
427
417
  headers: _headers,
428
- queryString: core.url
429
- .queryBuilder()
430
- .addMany(_queryParams)
431
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
432
- .build(),
418
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
433
419
  requestType: "file",
434
420
  duplex: _maybeEncodedRequest.duplex,
435
421
  body: _maybeEncodedRequest.body,
@@ -4,8 +4,8 @@ import type * as ElevenLabs from "../../../../index";
4
4
  * {}
5
5
  */
6
6
  export interface BodyComposeMusicV1MusicPost {
7
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
8
- outputFormat?: ElevenLabs.AllowedOutputFormats;
7
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. Use "auto" (the default) to let the API pick the best format for the selected model: mp3_44100_128 for v1 models and mp3_48000_192 for v2 models. */
8
+ outputFormat?: ElevenLabs.MusicComposeRequestOutputFormat;
9
9
  /** A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. */
10
10
  prompt?: string;
11
11
  /** A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. */
@@ -18,9 +18,9 @@ export interface BodyComposeMusicV1MusicPost {
18
18
  seed?: number;
19
19
  /** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
20
20
  forceInstrumental?: boolean;
21
- /** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. */
21
+ /** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan` and only applies to `music_v1`; for `music_v2` section durations are always enforced and this is ignored. When false for `music_v1`, the model may adjust individual section durations for better quality and latency, while preserving the total song duration from the plan. */
22
22
  respectSectionsDurations?: boolean;
23
- /** Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting feature. */
23
+ /** Whether to store the generated song for inpainting. */
24
24
  storeForInpainting?: boolean;
25
25
  /** Whether to sign the generated song with C2PA. Applicable only for mp3 files. */
26
26
  signWithC2Pa?: boolean;
@@ -4,8 +4,8 @@ import type * as ElevenLabs from "../../../../index";
4
4
  * {}
5
5
  */
6
6
  export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
7
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
8
- outputFormat?: ElevenLabs.AllowedOutputFormats;
7
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. Use "auto" (the default) to let the API pick the best format for the selected model: mp3_44100_128 for v1 models and mp3_48000_192 for v2 models. */
8
+ outputFormat?: ElevenLabs.MusicComposeDetailedRequestOutputFormat;
9
9
  /** A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. */
10
10
  prompt?: string;
11
11
  /** A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. */
@@ -18,9 +18,9 @@ export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
18
18
  seed?: number;
19
19
  /** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
20
20
  forceInstrumental?: boolean;
21
- /** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. */
21
+ /** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan` and only applies to `music_v1`; for `music_v2` section durations are always enforced and this is ignored. When false for `music_v1`, the model may adjust individual section durations for better quality and latency, while preserving the total song duration from the plan. */
22
22
  respectSectionsDurations?: boolean;
23
- /** Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting feature. */
23
+ /** Whether to store the generated song for inpainting. */
24
24
  storeForInpainting?: boolean;
25
25
  /** Whether to return the timestamps of the words in the generated song. */
26
26
  withTimestamps?: boolean;
@@ -4,8 +4,8 @@ import type * as ElevenLabs from "../../../../index";
4
4
  * {}
5
5
  */
6
6
  export interface BodyStreamComposedMusicV1MusicStreamPost {
7
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
8
- outputFormat?: ElevenLabs.AllowedOutputFormats;
7
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. Use "auto" (the default) to let the API pick the best format for the selected model: mp3_44100_128 for v1 models and mp3_48000_192 for v2 models. */
8
+ outputFormat?: ElevenLabs.MusicStreamRequestOutputFormat;
9
9
  /** A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. */
10
10
  prompt?: string;
11
11
  /** A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`. */
@@ -18,6 +18,6 @@ export interface BodyStreamComposedMusicV1MusicStreamPost {
18
18
  seed?: number;
19
19
  /** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
20
20
  forceInstrumental?: boolean;
21
- /** Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting feature. */
21
+ /** Whether to store the generated song for inpainting. */
22
22
  storeForInpainting?: boolean;
23
23
  }
@@ -81,7 +81,7 @@ class CompositionPlanClient {
81
81
  method: "POST",
82
82
  headers: _headers,
83
83
  contentType: "application/json",
84
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
84
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
85
85
  requestType: "json",
86
86
  body: serializers.music.BodyGenerateCompositionPlanV1MusicPlanPost.jsonOrThrow(request, {
87
87
  unrecognizedObjectKeys: "strip",
@@ -1,5 +1,2 @@
1
1
  import type * as ElevenLabs from "../../../index";
2
- /**
3
- * A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
4
- */
5
2
  export type BodyComposeMusicV1MusicPostCompositionPlan = ElevenLabs.MusicPrompt | ElevenLabs.CompositionPlan;
@@ -1,5 +1,2 @@
1
1
  import type * as ElevenLabs from "../../../index";
2
- /**
3
- * A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
4
- */
5
2
  export type BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan = ElevenLabs.MusicPrompt | ElevenLabs.CompositionPlan;
@@ -1,5 +1,2 @@
1
1
  import type * as ElevenLabs from "../../../index";
2
- /**
3
- * A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`.
4
- */
5
2
  export type BodyStreamComposedMusicV1MusicStreamPostCompositionPlan = ElevenLabs.MusicPrompt | ElevenLabs.CompositionPlan;
@@ -0,0 +1,29 @@
1
+ export declare const MusicComposeDetailedRequestOutputFormat: {
2
+ readonly Auto: "auto";
3
+ readonly Mp348000128: "mp3_48000_128";
4
+ readonly Mp348000192: "mp3_48000_192";
5
+ readonly Mp348000240: "mp3_48000_240";
6
+ readonly Mp348000320: "mp3_48000_320";
7
+ readonly Mp32205032: "mp3_22050_32";
8
+ readonly Mp32400048: "mp3_24000_48";
9
+ readonly Mp34410032: "mp3_44100_32";
10
+ readonly Mp34410064: "mp3_44100_64";
11
+ readonly Mp34410096: "mp3_44100_96";
12
+ readonly Mp344100128: "mp3_44100_128";
13
+ readonly Mp344100192: "mp3_44100_192";
14
+ readonly Pcm8000: "pcm_8000";
15
+ readonly Pcm16000: "pcm_16000";
16
+ readonly Pcm22050: "pcm_22050";
17
+ readonly Pcm24000: "pcm_24000";
18
+ readonly Pcm32000: "pcm_32000";
19
+ readonly Pcm44100: "pcm_44100";
20
+ readonly Pcm48000: "pcm_48000";
21
+ readonly Ulaw8000: "ulaw_8000";
22
+ readonly Alaw8000: "alaw_8000";
23
+ readonly Opus4800032: "opus_48000_32";
24
+ readonly Opus4800064: "opus_48000_64";
25
+ readonly Opus4800096: "opus_48000_96";
26
+ readonly Opus48000128: "opus_48000_128";
27
+ readonly Opus48000192: "opus_48000_192";
28
+ };
29
+ export type MusicComposeDetailedRequestOutputFormat = (typeof MusicComposeDetailedRequestOutputFormat)[keyof typeof MusicComposeDetailedRequestOutputFormat];
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MusicComposeDetailedRequestOutputFormat = void 0;
5
+ exports.MusicComposeDetailedRequestOutputFormat = {
6
+ Auto: "auto",
7
+ Mp348000128: "mp3_48000_128",
8
+ Mp348000192: "mp3_48000_192",
9
+ Mp348000240: "mp3_48000_240",
10
+ Mp348000320: "mp3_48000_320",
11
+ Mp32205032: "mp3_22050_32",
12
+ Mp32400048: "mp3_24000_48",
13
+ Mp34410032: "mp3_44100_32",
14
+ Mp34410064: "mp3_44100_64",
15
+ Mp34410096: "mp3_44100_96",
16
+ Mp344100128: "mp3_44100_128",
17
+ Mp344100192: "mp3_44100_192",
18
+ Pcm8000: "pcm_8000",
19
+ Pcm16000: "pcm_16000",
20
+ Pcm22050: "pcm_22050",
21
+ Pcm24000: "pcm_24000",
22
+ Pcm32000: "pcm_32000",
23
+ Pcm44100: "pcm_44100",
24
+ Pcm48000: "pcm_48000",
25
+ Ulaw8000: "ulaw_8000",
26
+ Alaw8000: "alaw_8000",
27
+ Opus4800032: "opus_48000_32",
28
+ Opus4800064: "opus_48000_64",
29
+ Opus4800096: "opus_48000_96",
30
+ Opus48000128: "opus_48000_128",
31
+ Opus48000192: "opus_48000_192",
32
+ };
@@ -0,0 +1,29 @@
1
+ export declare const MusicComposeRequestOutputFormat: {
2
+ readonly Auto: "auto";
3
+ readonly Mp348000128: "mp3_48000_128";
4
+ readonly Mp348000192: "mp3_48000_192";
5
+ readonly Mp348000240: "mp3_48000_240";
6
+ readonly Mp348000320: "mp3_48000_320";
7
+ readonly Mp32205032: "mp3_22050_32";
8
+ readonly Mp32400048: "mp3_24000_48";
9
+ readonly Mp34410032: "mp3_44100_32";
10
+ readonly Mp34410064: "mp3_44100_64";
11
+ readonly Mp34410096: "mp3_44100_96";
12
+ readonly Mp344100128: "mp3_44100_128";
13
+ readonly Mp344100192: "mp3_44100_192";
14
+ readonly Pcm8000: "pcm_8000";
15
+ readonly Pcm16000: "pcm_16000";
16
+ readonly Pcm22050: "pcm_22050";
17
+ readonly Pcm24000: "pcm_24000";
18
+ readonly Pcm32000: "pcm_32000";
19
+ readonly Pcm44100: "pcm_44100";
20
+ readonly Pcm48000: "pcm_48000";
21
+ readonly Ulaw8000: "ulaw_8000";
22
+ readonly Alaw8000: "alaw_8000";
23
+ readonly Opus4800032: "opus_48000_32";
24
+ readonly Opus4800064: "opus_48000_64";
25
+ readonly Opus4800096: "opus_48000_96";
26
+ readonly Opus48000128: "opus_48000_128";
27
+ readonly Opus48000192: "opus_48000_192";
28
+ };
29
+ export type MusicComposeRequestOutputFormat = (typeof MusicComposeRequestOutputFormat)[keyof typeof MusicComposeRequestOutputFormat];
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MusicComposeRequestOutputFormat = void 0;
5
+ exports.MusicComposeRequestOutputFormat = {
6
+ Auto: "auto",
7
+ Mp348000128: "mp3_48000_128",
8
+ Mp348000192: "mp3_48000_192",
9
+ Mp348000240: "mp3_48000_240",
10
+ Mp348000320: "mp3_48000_320",
11
+ Mp32205032: "mp3_22050_32",
12
+ Mp32400048: "mp3_24000_48",
13
+ Mp34410032: "mp3_44100_32",
14
+ Mp34410064: "mp3_44100_64",
15
+ Mp34410096: "mp3_44100_96",
16
+ Mp344100128: "mp3_44100_128",
17
+ Mp344100192: "mp3_44100_192",
18
+ Pcm8000: "pcm_8000",
19
+ Pcm16000: "pcm_16000",
20
+ Pcm22050: "pcm_22050",
21
+ Pcm24000: "pcm_24000",
22
+ Pcm32000: "pcm_32000",
23
+ Pcm44100: "pcm_44100",
24
+ Pcm48000: "pcm_48000",
25
+ Ulaw8000: "ulaw_8000",
26
+ Alaw8000: "alaw_8000",
27
+ Opus4800032: "opus_48000_32",
28
+ Opus4800064: "opus_48000_64",
29
+ Opus4800096: "opus_48000_96",
30
+ Opus48000128: "opus_48000_128",
31
+ Opus48000192: "opus_48000_192",
32
+ };
@@ -0,0 +1,29 @@
1
+ export declare const MusicStreamRequestOutputFormat: {
2
+ readonly Auto: "auto";
3
+ readonly Mp348000128: "mp3_48000_128";
4
+ readonly Mp348000192: "mp3_48000_192";
5
+ readonly Mp348000240: "mp3_48000_240";
6
+ readonly Mp348000320: "mp3_48000_320";
7
+ readonly Mp32205032: "mp3_22050_32";
8
+ readonly Mp32400048: "mp3_24000_48";
9
+ readonly Mp34410032: "mp3_44100_32";
10
+ readonly Mp34410064: "mp3_44100_64";
11
+ readonly Mp34410096: "mp3_44100_96";
12
+ readonly Mp344100128: "mp3_44100_128";
13
+ readonly Mp344100192: "mp3_44100_192";
14
+ readonly Pcm8000: "pcm_8000";
15
+ readonly Pcm16000: "pcm_16000";
16
+ readonly Pcm22050: "pcm_22050";
17
+ readonly Pcm24000: "pcm_24000";
18
+ readonly Pcm32000: "pcm_32000";
19
+ readonly Pcm44100: "pcm_44100";
20
+ readonly Pcm48000: "pcm_48000";
21
+ readonly Ulaw8000: "ulaw_8000";
22
+ readonly Alaw8000: "alaw_8000";
23
+ readonly Opus4800032: "opus_48000_32";
24
+ readonly Opus4800064: "opus_48000_64";
25
+ readonly Opus4800096: "opus_48000_96";
26
+ readonly Opus48000128: "opus_48000_128";
27
+ readonly Opus48000192: "opus_48000_192";
28
+ };
29
+ export type MusicStreamRequestOutputFormat = (typeof MusicStreamRequestOutputFormat)[keyof typeof MusicStreamRequestOutputFormat];
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MusicStreamRequestOutputFormat = void 0;
5
+ exports.MusicStreamRequestOutputFormat = {
6
+ Auto: "auto",
7
+ Mp348000128: "mp3_48000_128",
8
+ Mp348000192: "mp3_48000_192",
9
+ Mp348000240: "mp3_48000_240",
10
+ Mp348000320: "mp3_48000_320",
11
+ Mp32205032: "mp3_22050_32",
12
+ Mp32400048: "mp3_24000_48",
13
+ Mp34410032: "mp3_44100_32",
14
+ Mp34410064: "mp3_44100_64",
15
+ Mp34410096: "mp3_44100_96",
16
+ Mp344100128: "mp3_44100_128",
17
+ Mp344100192: "mp3_44100_192",
18
+ Pcm8000: "pcm_8000",
19
+ Pcm16000: "pcm_16000",
20
+ Pcm22050: "pcm_22050",
21
+ Pcm24000: "pcm_24000",
22
+ Pcm32000: "pcm_32000",
23
+ Pcm44100: "pcm_44100",
24
+ Pcm48000: "pcm_48000",
25
+ Ulaw8000: "ulaw_8000",
26
+ Alaw8000: "alaw_8000",
27
+ Opus4800032: "opus_48000_32",
28
+ Opus4800064: "opus_48000_64",
29
+ Opus4800096: "opus_48000_96",
30
+ Opus48000128: "opus_48000_128",
31
+ Opus48000192: "opus_48000_192",
32
+ };
@@ -4,5 +4,8 @@ export * from "./BodyComposeMusicWithADetailedResponseV1MusicDetailedPostComposi
4
4
  export * from "./BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId";
5
5
  export * from "./BodyStreamComposedMusicV1MusicStreamPostCompositionPlan";
6
6
  export * from "./BodyStreamComposedMusicV1MusicStreamPostModelId";
7
+ export * from "./MusicComposeDetailedRequestOutputFormat";
8
+ export * from "./MusicComposeRequestOutputFormat";
7
9
  export * from "./MusicSeparateStemsRequestStemVariationId";
10
+ export * from "./MusicStreamRequestOutputFormat";
8
11
  export * from "./MusicVideoToMusicRequestModelId";
@@ -20,5 +20,8 @@ __exportStar(require("./BodyComposeMusicWithADetailedResponseV1MusicDetailedPost
20
20
  __exportStar(require("./BodyComposeMusicWithADetailedResponseV1MusicDetailedPostModelId"), exports);
21
21
  __exportStar(require("./BodyStreamComposedMusicV1MusicStreamPostCompositionPlan"), exports);
22
22
  __exportStar(require("./BodyStreamComposedMusicV1MusicStreamPostModelId"), exports);
23
+ __exportStar(require("./MusicComposeDetailedRequestOutputFormat"), exports);
24
+ __exportStar(require("./MusicComposeRequestOutputFormat"), exports);
23
25
  __exportStar(require("./MusicSeparateStemsRequestStemVariationId"), exports);
26
+ __exportStar(require("./MusicStreamRequestOutputFormat"), exports);
24
27
  __exportStar(require("./MusicVideoToMusicRequestModelId"), exports);