@elevenlabs/elevenlabs-js 2.53.1 → 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 (1037) 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/FineTuningResponse.d.ts +2 -2
  224. package/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
  225. package/api/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  226. package/{dist/api/types/GenerationChunkConditionStrength.js → api/types/GenerationChunkInputConditionStrength.js} +2 -2
  227. package/{dist/api/types/GenerationChunkContextAdherence.d.ts → api/types/GenerationChunkInputContextAdherence.d.ts} +2 -2
  228. package/api/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
  229. package/api/types/GenerationChunkOutput.d.ts +17 -0
  230. package/api/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  231. package/api/types/GenerationChunkOutputConditionStrength.js +10 -0
  232. package/api/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  233. package/api/types/GenerationChunkOutputContextAdherence.js +10 -0
  234. package/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  235. package/api/types/GetSimulationTestResponseModel.d.ts +4 -2
  236. package/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  237. package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  238. package/api/types/LockReason.d.ts +7 -0
  239. package/api/types/LockReason.js +10 -0
  240. package/api/types/McpToolConfigOverrideInput.d.ts +1 -1
  241. package/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
  242. package/api/types/MusicAllowedOutputFormats.d.ts +2 -0
  243. package/api/types/MusicOnlyOutputFormats.d.ts +7 -0
  244. package/api/types/MusicOnlyOutputFormats.js +10 -0
  245. package/api/types/MusicOutputFormat.d.ts +2 -0
  246. package/api/types/OpenAiAudioFormat.d.ts +6 -0
  247. package/{dist/api/types/AudioFormat.js → api/types/OpenAiAudioFormat.js} +2 -2
  248. package/api/types/OpenAiAudioInputFormat.d.ts +1 -1
  249. package/api/types/OpenAiAudioOutputFormat.d.ts +1 -1
  250. package/api/types/ProjectExtendedResponse.d.ts +1 -1
  251. package/api/types/ProjectResponse.d.ts +1 -1
  252. package/api/types/ResponseUnitTestModel.d.ts +1 -1
  253. package/api/types/ReviewResponseModel.d.ts +1 -1
  254. package/api/types/SimulationTestModel.d.ts +4 -2
  255. package/api/types/SoftTimeoutConfig.d.ts +4 -2
  256. package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  257. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +4 -2
  258. package/api/types/SongSection.d.ts +2 -2
  259. package/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
  260. package/api/types/SpeechToTextWordResponseModel.d.ts +2 -0
  261. package/api/types/ToolCallUnitTestModel.d.ts +1 -1
  262. package/api/types/TopicDiscoverySettings.d.ts +5 -0
  263. package/api/types/TurnConfig.d.ts +2 -0
  264. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  265. package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  266. package/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  267. package/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  268. package/api/types/UpdateSimulationTestRequest.d.ts +4 -2
  269. package/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  270. package/api/types/WebhookHmacSettings.d.ts +1 -1
  271. package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
  272. package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  273. package/api/types/index.d.ts +13 -9
  274. package/api/types/index.js +13 -9
  275. package/biome.json +1 -1
  276. package/core/fetcher/Fetcher.d.ts +0 -8
  277. package/core/fetcher/Fetcher.js +8 -13
  278. package/core/fetcher/getResponseBody.js +0 -11
  279. package/core/fetcher/requestWithRetries.js +1 -4
  280. package/core/file/file.js +2 -3
  281. package/core/schemas/builders/enum/enum.d.ts +0 -1
  282. package/core/schemas/builders/enum/enum.js +0 -7
  283. package/core/schemas/builders/enum/index.d.ts +1 -1
  284. package/core/schemas/builders/enum/index.js +1 -2
  285. package/core/schemas/builders/schema-utils/JsonError.js +1 -2
  286. package/core/schemas/builders/schema-utils/ParseError.js +1 -2
  287. package/core/url/index.d.ts +0 -1
  288. package/core/url/index.js +1 -3
  289. package/core/url/qs.d.ts +1 -2
  290. package/core/url/qs.js +12 -24
  291. package/dist/BaseClient.js +2 -2
  292. package/dist/Client.js +1 -1
  293. package/dist/api/resources/audioIsolation/client/Client.js +4 -8
  294. package/dist/api/resources/audioNative/client/Client.js +4 -4
  295. package/dist/api/resources/conversationalAi/client/Client.js +4 -8
  296. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +9 -25
  297. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +14 -0
  298. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +53 -13
  299. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
  300. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +2 -10
  301. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
  302. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
  303. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
  304. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +1 -5
  305. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
  306. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -5
  307. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +1 -1
  308. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
  309. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +1 -5
  310. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -10
  311. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  312. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +16 -28
  313. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +7 -1
  314. package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +2 -2
  315. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
  316. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
  317. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +2 -2
  318. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
  319. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
  320. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  321. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +9 -11
  322. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
  323. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +7 -11
  324. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +6 -2
  325. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +15 -6
  326. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -1
  327. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +15 -0
  328. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.d.ts +13 -0
  329. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.d.ts +1 -0
  330. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.js +2 -0
  331. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
  332. package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
  333. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -11
  334. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
  335. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -24
  336. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -5
  337. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +1 -5
  338. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +1 -5
  339. package/dist/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
  340. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
  341. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
  342. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  343. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
  344. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
  345. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
  346. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  347. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  348. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
  349. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +6 -14
  350. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -14
  351. package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
  352. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
  353. package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +7 -11
  354. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +4 -8
  355. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +3 -7
  356. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -18
  357. package/dist/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +1 -5
  358. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
  359. package/dist/api/resources/conversationalAi/resources/users/client/Client.js +1 -5
  360. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
  361. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +4 -8
  362. package/dist/api/resources/dubbing/client/Client.d.ts +4 -0
  363. package/dist/api/resources/dubbing/client/Client.js +40 -10
  364. package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +13 -1
  365. package/dist/api/resources/dubbing/resources/audio/client/Client.js +1 -1
  366. package/dist/api/resources/dubbing/resources/resource/client/Client.js +6 -6
  367. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
  368. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
  369. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +3 -3
  370. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
  371. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  372. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +1 -5
  373. package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
  374. package/dist/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +6 -0
  375. package/dist/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +9 -0
  376. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +5 -0
  377. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +8 -0
  378. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +8 -0
  379. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +11 -0
  380. package/dist/api/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +6 -0
  381. package/dist/api/resources/dubbing/types/DubbingListRequestOrderBy.js +9 -0
  382. package/dist/api/resources/dubbing/types/index.d.ts +4 -0
  383. package/dist/api/resources/dubbing/types/index.js +4 -0
  384. package/dist/api/resources/environmentVariables/client/Client.js +4 -8
  385. package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  386. package/dist/api/resources/forcedAlignment/client/Client.js +1 -1
  387. package/dist/api/resources/history/client/Client.js +5 -9
  388. package/dist/api/resources/models/client/Client.js +1 -1
  389. package/dist/api/resources/music/client/Client.d.ts +1 -1
  390. package/dist/api/resources/music/client/Client.js +16 -30
  391. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -4
  392. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -4
  393. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +3 -3
  394. package/dist/api/resources/music/resources/compositionPlan/client/Client.js +1 -1
  395. package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +0 -3
  396. package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +0 -3
  397. package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +0 -3
  398. package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +29 -0
  399. package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +32 -0
  400. package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +29 -0
  401. package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.js +32 -0
  402. package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +29 -0
  403. package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.js +32 -0
  404. package/dist/api/resources/music/types/index.d.ts +3 -0
  405. package/dist/api/resources/music/types/index.js +3 -0
  406. package/dist/api/resources/productions/resources/orders/client/Client.js +5 -9
  407. package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
  408. package/dist/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
  409. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
  410. package/dist/api/resources/productions/resources/orders/resources/media/client/Client.js +2 -2
  411. package/dist/api/resources/pronunciationDictionaries/client/Client.js +6 -10
  412. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
  413. package/dist/api/resources/samples/client/Client.js +1 -1
  414. package/dist/api/resources/serviceAccounts/client/Client.js +1 -1
  415. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +4 -4
  416. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  417. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  418. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +4 -0
  419. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  420. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  421. package/dist/api/resources/speechEngine/client/Client.js +5 -9
  422. package/dist/api/resources/speechToSpeech/client/Client.js +2 -10
  423. package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
  424. package/dist/api/resources/speechToText/client/Client.js +5 -6
  425. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  426. package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
  427. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +6 -0
  428. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +9 -0
  429. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  430. package/dist/api/resources/speechToText/types/index.js +1 -0
  431. package/dist/api/resources/studio/client/Client.js +1 -1
  432. package/dist/api/resources/studio/resources/projects/client/Client.js +7 -11
  433. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
  434. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
  435. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
  436. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
  437. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
  438. package/dist/api/resources/textToDialogue/client/Client.js +4 -20
  439. package/dist/api/resources/textToSoundEffects/client/Client.js +1 -5
  440. package/dist/api/resources/textToSpeech/client/Client.js +4 -20
  441. package/dist/api/resources/textToVoice/client/Client.js +4 -16
  442. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  443. package/dist/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
  444. package/dist/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
  445. package/dist/api/resources/usage/client/Client.js +1 -5
  446. package/dist/api/resources/user/client/Client.js +1 -1
  447. package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
  448. package/dist/api/resources/voices/client/Client.d.ts +17 -17
  449. package/dist/api/resources/voices/client/Client.js +50 -66
  450. package/dist/api/resources/voices/resources/ivc/client/Client.js +1 -1
  451. package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
  452. package/dist/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  453. package/dist/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  454. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
  455. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -5
  456. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
  457. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
  458. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
  459. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
  460. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
  461. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
  462. package/dist/api/resources/voices/resources/settings/client/Client.js +3 -3
  463. package/dist/api/resources/webhooks/client/Client.js +4 -8
  464. package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  465. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
  466. package/dist/api/resources/workspace/resources/auditLogs/client/Client.js +1 -5
  467. package/dist/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
  468. package/dist/api/resources/workspace/resources/groups/client/Client.js +2 -6
  469. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  470. package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
  471. package/dist/api/resources/workspace/resources/members/client/Client.js +1 -1
  472. package/dist/api/resources/workspace/resources/resources/client/Client.js +3 -7
  473. package/dist/api/resources/workspace/resources/usage/client/Client.js +1 -1
  474. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -5
  475. package/dist/api/types/AgentConfig.d.ts +1 -1
  476. package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  477. package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  478. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  479. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  480. package/dist/api/types/AgentVersionParents.d.ts +1 -0
  481. package/dist/api/types/AnalysisProperty.d.ts +2 -0
  482. package/dist/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  483. package/dist/api/types/BaseTurnConfig.d.ts +2 -0
  484. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
  485. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
  486. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
  487. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
  488. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
  489. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
  490. package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
  491. package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
  492. package/dist/api/types/CompositionPlanChunksItem.d.ts +1 -1
  493. package/dist/api/types/ConversationConfigInput.d.ts +2 -0
  494. package/dist/api/types/ConversationConfigOutput.d.ts +2 -0
  495. package/dist/api/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  496. package/dist/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  497. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  498. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  499. package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  500. package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  501. package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  502. package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  503. package/dist/api/types/ConversationProduct.d.ts +6 -0
  504. package/dist/api/types/ConversationProduct.js +9 -0
  505. package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
  506. package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  507. package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  508. package/dist/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
  509. package/dist/api/types/CreateSimulationTestRequest.d.ts +4 -2
  510. package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  511. package/dist/api/types/FineTuningResponse.d.ts +2 -2
  512. package/dist/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
  513. package/dist/api/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  514. package/{api/types/GenerationChunkConditionStrength.js → dist/api/types/GenerationChunkInputConditionStrength.js} +2 -2
  515. package/{api/types/GenerationChunkContextAdherence.d.ts → dist/api/types/GenerationChunkInputContextAdherence.d.ts} +2 -2
  516. package/dist/api/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
  517. package/dist/api/types/GenerationChunkOutput.d.ts +17 -0
  518. package/dist/api/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  519. package/dist/api/types/GenerationChunkOutputConditionStrength.js +10 -0
  520. package/dist/api/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  521. package/dist/api/types/GenerationChunkOutputContextAdherence.js +10 -0
  522. package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  523. package/dist/api/types/GetSimulationTestResponseModel.d.ts +4 -2
  524. package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  525. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  526. package/dist/api/types/LockReason.d.ts +7 -0
  527. package/dist/api/types/LockReason.js +10 -0
  528. package/dist/api/types/McpToolConfigOverrideInput.d.ts +1 -1
  529. package/dist/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
  530. package/dist/api/types/MusicAllowedOutputFormats.d.ts +2 -0
  531. package/dist/api/types/MusicOnlyOutputFormats.d.ts +7 -0
  532. package/dist/api/types/MusicOnlyOutputFormats.js +10 -0
  533. package/dist/api/types/MusicOutputFormat.d.ts +2 -0
  534. package/dist/api/types/MusicOutputFormat.js +3 -0
  535. package/dist/api/types/OpenAiAudioFormat.d.ts +6 -0
  536. package/{api/types/AudioFormat.js → dist/api/types/OpenAiAudioFormat.js} +2 -2
  537. package/dist/api/types/OpenAiAudioInputFormat.d.ts +1 -1
  538. package/dist/api/types/OpenAiAudioOutputFormat.d.ts +1 -1
  539. package/dist/api/types/ProjectExtendedResponse.d.ts +1 -1
  540. package/dist/api/types/ProjectResponse.d.ts +1 -1
  541. package/dist/api/types/ResponseUnitTestModel.d.ts +1 -1
  542. package/dist/api/types/ReviewResponseModel.d.ts +1 -1
  543. package/dist/api/types/SimulationTestModel.d.ts +4 -2
  544. package/dist/api/types/SoftTimeoutConfig.d.ts +4 -2
  545. package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  546. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +4 -2
  547. package/dist/api/types/SongSection.d.ts +2 -2
  548. package/dist/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
  549. package/dist/api/types/SpeechToTextWordResponseModel.d.ts +2 -0
  550. package/dist/api/types/ToolCallUnitTestModel.d.ts +1 -1
  551. package/dist/api/types/TopicDiscoverySettings.d.ts +5 -0
  552. package/dist/api/types/TopicDiscoverySettings.js +3 -0
  553. package/dist/api/types/TurnConfig.d.ts +2 -0
  554. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  555. package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  556. package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  557. package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  558. package/dist/api/types/UpdateSimulationTestRequest.d.ts +4 -2
  559. package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  560. package/dist/api/types/WebhookHmacSettings.d.ts +1 -1
  561. package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
  562. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  563. package/dist/api/types/index.d.ts +13 -9
  564. package/dist/api/types/index.js +13 -9
  565. package/dist/core/fetcher/Fetcher.d.ts +0 -8
  566. package/dist/core/fetcher/Fetcher.js +8 -13
  567. package/dist/core/fetcher/getResponseBody.js +0 -11
  568. package/dist/core/fetcher/requestWithRetries.js +1 -4
  569. package/dist/core/file/file.js +2 -3
  570. package/dist/core/schemas/builders/enum/enum.d.ts +0 -1
  571. package/dist/core/schemas/builders/enum/enum.js +0 -7
  572. package/dist/core/schemas/builders/enum/index.d.ts +1 -1
  573. package/dist/core/schemas/builders/enum/index.js +1 -2
  574. package/dist/core/schemas/builders/schema-utils/JsonError.js +1 -2
  575. package/dist/core/schemas/builders/schema-utils/ParseError.js +1 -2
  576. package/dist/core/url/index.d.ts +0 -1
  577. package/dist/core/url/index.js +1 -3
  578. package/dist/core/url/qs.d.ts +1 -2
  579. package/dist/core/url/qs.js +12 -24
  580. package/dist/errors/ElevenLabsError.d.ts +1 -3
  581. package/dist/errors/ElevenLabsError.js +1 -4
  582. package/dist/errors/ElevenLabsTimeoutError.d.ts +1 -4
  583. package/dist/errors/ElevenLabsTimeoutError.js +1 -4
  584. package/dist/errors/handleNonStatusCodeError.js +1 -4
  585. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  586. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
  587. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  588. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
  589. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  590. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
  591. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  592. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +3 -1
  593. package/dist/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +7 -0
  594. package/dist/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +39 -0
  595. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +7 -0
  596. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +39 -0
  597. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +7 -0
  598. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +39 -0
  599. package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +7 -0
  600. package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderBy.js +39 -0
  601. package/dist/serialization/resources/dubbing/types/index.d.ts +4 -0
  602. package/dist/serialization/resources/dubbing/types/index.js +4 -0
  603. package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  604. package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
  605. package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +7 -0
  606. package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +66 -0
  607. package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +7 -0
  608. package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +66 -0
  609. package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +7 -0
  610. package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +66 -0
  611. package/dist/serialization/resources/music/types/index.d.ts +3 -0
  612. package/dist/serialization/resources/music/types/index.js +3 -0
  613. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  614. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  615. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  616. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  617. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +7 -0
  618. package/dist/serialization/{types/CoachingAgentSettings.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +7 -7
  619. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  620. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  621. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +7 -0
  622. package/dist/serialization/{types/CodeToolAllowedDomain.js → resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js} +3 -6
  623. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  624. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  625. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  626. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
  627. package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  628. package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
  629. package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  630. package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
  631. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  632. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
  633. package/dist/serialization/types/AgentConfig.d.ts +1 -1
  634. package/dist/serialization/types/AgentConfig.js +1 -1
  635. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  636. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
  637. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  638. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
  639. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  640. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  641. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  642. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  643. package/dist/serialization/types/AgentVersionParents.d.ts +1 -0
  644. package/dist/serialization/types/AgentVersionParents.js +1 -0
  645. package/dist/serialization/types/AnalysisProperty.d.ts +1 -0
  646. package/dist/serialization/types/AnalysisProperty.js +1 -0
  647. package/dist/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  648. package/dist/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
  649. package/dist/serialization/types/BaseTurnConfig.d.ts +1 -0
  650. package/dist/serialization/types/BaseTurnConfig.js +1 -0
  651. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
  652. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +1 -1
  653. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
  654. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +1 -1
  655. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
  656. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +1 -1
  657. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
  658. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +1 -1
  659. package/dist/serialization/types/CompositionPlanChunksItem.d.ts +2 -2
  660. package/dist/serialization/types/CompositionPlanChunksItem.js +2 -2
  661. package/dist/serialization/types/ConversationConfigInput.d.ts +2 -0
  662. package/dist/serialization/types/ConversationConfigInput.js +2 -0
  663. package/dist/serialization/types/ConversationConfigOutput.d.ts +2 -0
  664. package/dist/serialization/types/ConversationConfigOutput.js +2 -0
  665. package/dist/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  666. package/dist/serialization/types/ConversationConfigWorkflowOverrideInput.js +2 -0
  667. package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  668. package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.js +2 -0
  669. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  670. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +1 -0
  671. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  672. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +1 -0
  673. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  674. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +1 -0
  675. package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  676. package/dist/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
  677. package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  678. package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
  679. package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  680. package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
  681. package/dist/serialization/types/ConversationProduct.d.ts +7 -0
  682. package/dist/serialization/types/{GenerationChunkContextAdherence.js → ConversationProduct.js} +2 -2
  683. package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
  684. package/dist/serialization/types/ConversationSimulationSpecification.js +1 -1
  685. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  686. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
  687. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  688. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
  689. package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
  690. package/dist/serialization/types/CreateResponseUnitTestRequest.js +1 -1
  691. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +2 -1
  692. package/dist/serialization/types/CreateSimulationTestRequest.js +2 -1
  693. package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  694. package/dist/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
  695. package/dist/serialization/types/FineTuningResponse.d.ts +2 -2
  696. package/dist/serialization/types/FineTuningResponse.js +2 -2
  697. package/dist/serialization/types/GenerationChunkInput.d.ts +18 -0
  698. package/dist/serialization/types/{GenerationChunk.js → GenerationChunkInput.js} +6 -6
  699. package/dist/serialization/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  700. package/dist/serialization/types/GenerationChunkInputConditionStrength.js +39 -0
  701. package/dist/serialization/types/GenerationChunkInputContextAdherence.d.ts +7 -0
  702. package/dist/serialization/types/GenerationChunkInputContextAdherence.js +39 -0
  703. package/dist/serialization/types/GenerationChunkOutput.d.ts +18 -0
  704. package/dist/serialization/types/GenerationChunkOutput.js +50 -0
  705. package/dist/serialization/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  706. package/dist/serialization/types/GenerationChunkOutputConditionStrength.js +39 -0
  707. package/dist/serialization/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  708. package/dist/serialization/types/GenerationChunkOutputContextAdherence.js +39 -0
  709. package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  710. package/dist/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
  711. package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +2 -1
  712. package/dist/serialization/types/GetSimulationTestResponseModel.js +2 -1
  713. package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  714. package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
  715. package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  716. package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  717. package/dist/serialization/types/LockReason.d.ts +7 -0
  718. package/dist/serialization/types/{GenerationChunkConditionStrength.js → LockReason.js} +2 -2
  719. package/dist/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
  720. package/dist/serialization/types/McpToolConfigOverrideInput.js +1 -1
  721. package/dist/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
  722. package/dist/serialization/types/McpToolConfigOverrideOutput.js +1 -1
  723. package/dist/serialization/types/MusicAllowedOutputFormats.d.ts +9 -0
  724. package/dist/serialization/types/MusicAllowedOutputFormats.js +41 -0
  725. package/dist/serialization/types/MusicOnlyOutputFormats.d.ts +7 -0
  726. package/dist/serialization/types/MusicOnlyOutputFormats.js +39 -0
  727. package/dist/serialization/types/MusicOutputFormat.d.ts +8 -0
  728. package/dist/serialization/types/{CodeToolContextVariable.js → MusicOutputFormat.js} +3 -5
  729. package/dist/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
  730. package/{serialization/types/GenerationChunkContextAdherence.js → dist/serialization/types/OpenAiAudioFormat.js} +2 -2
  731. package/dist/serialization/types/OpenAiAudioInputFormat.d.ts +2 -2
  732. package/dist/serialization/types/OpenAiAudioInputFormat.js +2 -2
  733. package/dist/serialization/types/OpenAiAudioOutputFormat.d.ts +2 -2
  734. package/dist/serialization/types/OpenAiAudioOutputFormat.js +2 -2
  735. package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -1
  736. package/dist/serialization/types/ProjectExtendedResponse.js +1 -1
  737. package/dist/serialization/types/ProjectResponse.d.ts +1 -1
  738. package/dist/serialization/types/ProjectResponse.js +1 -1
  739. package/dist/serialization/types/ResponseUnitTestModel.d.ts +1 -1
  740. package/dist/serialization/types/ResponseUnitTestModel.js +1 -1
  741. package/dist/serialization/types/ReviewResponseModel.d.ts +1 -1
  742. package/dist/serialization/types/ReviewResponseModel.js +1 -1
  743. package/dist/serialization/types/SimulationTestModel.d.ts +2 -1
  744. package/dist/serialization/types/SimulationTestModel.js +2 -1
  745. package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  746. package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
  747. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  748. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  749. package/dist/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
  750. package/dist/serialization/types/SpeakerSeparationResponseModel.js +1 -1
  751. package/dist/serialization/types/SpeechToTextWordResponseModel.d.ts +1 -0
  752. package/dist/serialization/types/SpeechToTextWordResponseModel.js +1 -0
  753. package/dist/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
  754. package/dist/serialization/types/ToolCallUnitTestModel.js +1 -1
  755. package/dist/serialization/types/TopicDiscoverySettings.d.ts +7 -0
  756. package/{serialization/types/AudioFormat.js → dist/serialization/types/TopicDiscoverySettings.js} +2 -2
  757. package/dist/serialization/types/TurnConfig.d.ts +1 -0
  758. package/dist/serialization/types/TurnConfig.js +1 -0
  759. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  760. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  761. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  762. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
  763. package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  764. package/dist/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
  765. package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  766. package/dist/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
  767. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +2 -1
  768. package/dist/serialization/types/UpdateSimulationTestRequest.js +2 -1
  769. package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  770. package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
  771. package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -1
  772. package/dist/serialization/types/WebhookHmacSettings.js +1 -1
  773. package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
  774. package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
  775. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
  776. package/dist/serialization/types/WorkspaceGroupResponseModel.js +1 -0
  777. package/dist/serialization/types/index.d.ts +13 -9
  778. package/dist/serialization/types/index.js +13 -9
  779. package/dist/version.d.ts +1 -1
  780. package/dist/version.js +1 -1
  781. package/errors/ElevenLabsError.d.ts +1 -3
  782. package/errors/ElevenLabsError.js +1 -4
  783. package/errors/ElevenLabsTimeoutError.d.ts +1 -4
  784. package/errors/ElevenLabsTimeoutError.js +1 -4
  785. package/errors/handleNonStatusCodeError.js +1 -4
  786. package/package.json +6 -6
  787. package/reference.md +116 -27
  788. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  789. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
  790. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  791. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
  792. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  793. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
  794. package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  795. package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +3 -1
  796. package/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +7 -0
  797. package/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +39 -0
  798. package/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +7 -0
  799. package/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +39 -0
  800. package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +7 -0
  801. package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +39 -0
  802. package/serialization/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +7 -0
  803. package/serialization/resources/dubbing/types/DubbingListRequestOrderBy.js +39 -0
  804. package/serialization/resources/dubbing/types/index.d.ts +4 -0
  805. package/serialization/resources/dubbing/types/index.js +4 -0
  806. package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  807. package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
  808. package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +7 -0
  809. package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +66 -0
  810. package/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +7 -0
  811. package/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +66 -0
  812. package/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +7 -0
  813. package/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +66 -0
  814. package/serialization/resources/music/types/index.d.ts +3 -0
  815. package/serialization/resources/music/types/index.js +3 -0
  816. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  817. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  818. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  819. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  820. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +7 -0
  821. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js +43 -0
  822. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  823. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  824. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +7 -0
  825. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +39 -0
  826. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  827. package/serialization/resources/speechToText/types/index.js +1 -0
  828. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  829. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
  830. package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  831. package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
  832. package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  833. package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
  834. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  835. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
  836. package/serialization/types/AgentConfig.d.ts +1 -1
  837. package/serialization/types/AgentConfig.js +1 -1
  838. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  839. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
  840. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  841. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
  842. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  843. package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  844. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  845. package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  846. package/serialization/types/AgentVersionParents.d.ts +1 -0
  847. package/serialization/types/AgentVersionParents.js +1 -0
  848. package/serialization/types/AnalysisProperty.d.ts +1 -0
  849. package/serialization/types/AnalysisProperty.js +1 -0
  850. package/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  851. package/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
  852. package/serialization/types/BaseTurnConfig.d.ts +1 -0
  853. package/serialization/types/BaseTurnConfig.js +1 -0
  854. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
  855. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +1 -1
  856. package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
  857. package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +1 -1
  858. package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
  859. package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +1 -1
  860. package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
  861. package/serialization/types/CaptionStyleWordAnimationModelExitType.js +1 -1
  862. package/serialization/types/CompositionPlanChunksItem.d.ts +2 -2
  863. package/serialization/types/CompositionPlanChunksItem.js +2 -2
  864. package/serialization/types/ConversationConfigInput.d.ts +2 -0
  865. package/serialization/types/ConversationConfigInput.js +2 -0
  866. package/serialization/types/ConversationConfigOutput.d.ts +2 -0
  867. package/serialization/types/ConversationConfigOutput.js +2 -0
  868. package/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  869. package/serialization/types/ConversationConfigWorkflowOverrideInput.js +2 -0
  870. package/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  871. package/serialization/types/ConversationConfigWorkflowOverrideOutput.js +2 -0
  872. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  873. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +1 -0
  874. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  875. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +1 -0
  876. package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +1 -0
  877. package/serialization/types/ConversationHistoryTranscriptResponseModel.js +1 -0
  878. package/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  879. package/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
  880. package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  881. package/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
  882. package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  883. package/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
  884. package/serialization/types/ConversationProduct.d.ts +7 -0
  885. package/serialization/types/ConversationProduct.js +39 -0
  886. package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
  887. package/serialization/types/ConversationSimulationSpecification.js +1 -1
  888. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  889. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
  890. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  891. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
  892. package/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
  893. package/serialization/types/CreateResponseUnitTestRequest.js +1 -1
  894. package/serialization/types/CreateSimulationTestRequest.d.ts +2 -1
  895. package/serialization/types/CreateSimulationTestRequest.js +2 -1
  896. package/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  897. package/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
  898. package/serialization/types/FineTuningResponse.d.ts +2 -2
  899. package/serialization/types/FineTuningResponse.js +2 -2
  900. package/serialization/types/GenerationChunkInput.d.ts +18 -0
  901. package/serialization/types/{GenerationChunk.js → GenerationChunkInput.js} +6 -6
  902. package/serialization/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  903. package/serialization/types/GenerationChunkInputConditionStrength.js +39 -0
  904. package/serialization/types/GenerationChunkInputContextAdherence.d.ts +7 -0
  905. package/serialization/types/GenerationChunkInputContextAdherence.js +39 -0
  906. package/serialization/types/GenerationChunkOutput.d.ts +18 -0
  907. package/serialization/types/GenerationChunkOutput.js +50 -0
  908. package/serialization/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  909. package/serialization/types/GenerationChunkOutputConditionStrength.js +39 -0
  910. package/serialization/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  911. package/serialization/types/GenerationChunkOutputContextAdherence.js +39 -0
  912. package/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  913. package/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
  914. package/serialization/types/GetSimulationTestResponseModel.d.ts +2 -1
  915. package/serialization/types/GetSimulationTestResponseModel.js +2 -1
  916. package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  917. package/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
  918. package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  919. package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  920. package/serialization/types/LockReason.d.ts +7 -0
  921. package/serialization/types/LockReason.js +39 -0
  922. package/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
  923. package/serialization/types/McpToolConfigOverrideInput.js +1 -1
  924. package/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
  925. package/serialization/types/McpToolConfigOverrideOutput.js +1 -1
  926. package/serialization/types/MusicAllowedOutputFormats.d.ts +9 -0
  927. package/serialization/types/MusicAllowedOutputFormats.js +41 -0
  928. package/serialization/types/MusicOnlyOutputFormats.d.ts +7 -0
  929. package/serialization/types/MusicOnlyOutputFormats.js +39 -0
  930. package/serialization/types/MusicOutputFormat.d.ts +8 -0
  931. package/{dist/serialization/types/CoachedAgentSettings.js → serialization/types/MusicOutputFormat.js} +3 -5
  932. package/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
  933. package/serialization/types/OpenAiAudioFormat.js +39 -0
  934. package/serialization/types/OpenAiAudioInputFormat.d.ts +2 -2
  935. package/serialization/types/OpenAiAudioInputFormat.js +2 -2
  936. package/serialization/types/OpenAiAudioOutputFormat.d.ts +2 -2
  937. package/serialization/types/OpenAiAudioOutputFormat.js +2 -2
  938. package/serialization/types/ProjectExtendedResponse.d.ts +1 -1
  939. package/serialization/types/ProjectExtendedResponse.js +1 -1
  940. package/serialization/types/ProjectResponse.d.ts +1 -1
  941. package/serialization/types/ProjectResponse.js +1 -1
  942. package/serialization/types/ResponseUnitTestModel.d.ts +1 -1
  943. package/serialization/types/ResponseUnitTestModel.js +1 -1
  944. package/serialization/types/ReviewResponseModel.d.ts +1 -1
  945. package/serialization/types/ReviewResponseModel.js +1 -1
  946. package/serialization/types/SimulationTestModel.d.ts +2 -1
  947. package/serialization/types/SimulationTestModel.js +2 -1
  948. package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  949. package/serialization/types/SoftTimeoutConfig.js +1 -0
  950. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  951. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  952. package/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
  953. package/serialization/types/SpeakerSeparationResponseModel.js +1 -1
  954. package/serialization/types/SpeechToTextWordResponseModel.d.ts +1 -0
  955. package/serialization/types/SpeechToTextWordResponseModel.js +1 -0
  956. package/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
  957. package/serialization/types/ToolCallUnitTestModel.js +1 -1
  958. package/serialization/types/TopicDiscoverySettings.d.ts +7 -0
  959. package/{dist/serialization/types/AudioFormat.js → serialization/types/TopicDiscoverySettings.js} +2 -2
  960. package/serialization/types/TurnConfig.d.ts +1 -0
  961. package/serialization/types/TurnConfig.js +1 -0
  962. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  963. package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  964. package/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  965. package/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
  966. package/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  967. package/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
  968. package/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  969. package/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
  970. package/serialization/types/UpdateSimulationTestRequest.d.ts +2 -1
  971. package/serialization/types/UpdateSimulationTestRequest.js +2 -1
  972. package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  973. package/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
  974. package/serialization/types/WebhookHmacSettings.d.ts +1 -1
  975. package/serialization/types/WebhookHmacSettings.js +1 -1
  976. package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
  977. package/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
  978. package/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
  979. package/serialization/types/WorkspaceGroupResponseModel.js +1 -0
  980. package/serialization/types/index.d.ts +13 -9
  981. package/serialization/types/index.js +13 -9
  982. package/version.d.ts +1 -1
  983. package/version.js +1 -1
  984. package/.fern/verify.sh +0 -5
  985. package/api/types/AudioFormat.d.ts +0 -6
  986. package/api/types/CoachedAgentSettings.d.ts +0 -4
  987. package/api/types/CoachingAgentSettings.d.ts +0 -8
  988. package/api/types/CodeToolAllowedDomain.d.ts +0 -6
  989. package/api/types/CodeToolContextVariable.d.ts +0 -4
  990. package/api/types/GenerationChunkConditionStrength.d.ts +0 -7
  991. package/api/types/NoCoachingSettings.d.ts +0 -4
  992. package/core/url/QueryStringBuilder.d.ts +0 -47
  993. package/core/url/QueryStringBuilder.js +0 -83
  994. package/dist/api/types/AudioFormat.d.ts +0 -6
  995. package/dist/api/types/CoachedAgentSettings.d.ts +0 -4
  996. package/dist/api/types/CoachingAgentSettings.d.ts +0 -8
  997. package/dist/api/types/CodeToolAllowedDomain.d.ts +0 -6
  998. package/dist/api/types/CodeToolContextVariable.d.ts +0 -4
  999. package/dist/api/types/GenerationChunkConditionStrength.d.ts +0 -7
  1000. package/dist/api/types/NoCoachingSettings.d.ts +0 -4
  1001. package/dist/core/url/QueryStringBuilder.d.ts +0 -47
  1002. package/dist/core/url/QueryStringBuilder.js +0 -83
  1003. package/dist/serialization/types/CoachedAgentSettings.d.ts +0 -10
  1004. package/dist/serialization/types/CoachingAgentSettings.d.ts +0 -11
  1005. package/dist/serialization/types/CodeToolAllowedDomain.d.ts +0 -10
  1006. package/dist/serialization/types/CodeToolContextVariable.d.ts +0 -10
  1007. package/dist/serialization/types/GenerationChunk.d.ts +0 -18
  1008. package/dist/serialization/types/GenerationChunkConditionStrength.d.ts +0 -7
  1009. package/dist/serialization/types/GenerationChunkContextAdherence.d.ts +0 -7
  1010. package/dist/serialization/types/NoCoachingSettings.d.ts +0 -10
  1011. package/dist/serialization/types/NoCoachingSettings.js +0 -42
  1012. package/serialization/types/CoachedAgentSettings.d.ts +0 -10
  1013. package/serialization/types/CoachedAgentSettings.js +0 -42
  1014. package/serialization/types/CoachingAgentSettings.d.ts +0 -11
  1015. package/serialization/types/CoachingAgentSettings.js +0 -43
  1016. package/serialization/types/CodeToolAllowedDomain.d.ts +0 -10
  1017. package/serialization/types/CodeToolAllowedDomain.js +0 -42
  1018. package/serialization/types/CodeToolContextVariable.d.ts +0 -10
  1019. package/serialization/types/CodeToolContextVariable.js +0 -42
  1020. package/serialization/types/GenerationChunk.d.ts +0 -18
  1021. package/serialization/types/GenerationChunkConditionStrength.d.ts +0 -7
  1022. package/serialization/types/GenerationChunkConditionStrength.js +0 -39
  1023. package/serialization/types/GenerationChunkContextAdherence.d.ts +0 -7
  1024. package/serialization/types/NoCoachingSettings.d.ts +0 -10
  1025. package/serialization/types/NoCoachingSettings.js +0 -42
  1026. /package/api/{types/CoachedAgentSettings.js → resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js} +0 -0
  1027. /package/api/{types/CoachingAgentSettings.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +0 -0
  1028. /package/api/types/{CodeToolAllowedDomain.js → GenerationChunkInput.js} +0 -0
  1029. /package/api/types/{CodeToolContextVariable.js → GenerationChunkOutput.js} +0 -0
  1030. /package/api/types/{GenerationChunk.js → MusicAllowedOutputFormats.js} +0 -0
  1031. /package/api/types/{NoCoachingSettings.js → MusicOutputFormat.js} +0 -0
  1032. /package/{dist/api/types/CoachedAgentSettings.js → api/types/TopicDiscoverySettings.js} +0 -0
  1033. /package/dist/api/{types/CoachingAgentSettings.js → resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js} +0 -0
  1034. /package/dist/api/{types/CodeToolAllowedDomain.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +0 -0
  1035. /package/dist/api/types/{CodeToolContextVariable.js → GenerationChunkInput.js} +0 -0
  1036. /package/dist/api/types/{GenerationChunk.js → GenerationChunkOutput.js} +0 -0
  1037. /package/dist/api/types/{NoCoachingSettings.js → MusicAllowedOutputFormats.js} +0 -0
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ConversationConfigWorkflowOverrideOutput = void 0;
38
38
  const core = __importStar(require("../../core"));
39
+ const BackgroundSoundConfigWorkflowOverride_1 = require("./BackgroundSoundConfigWorkflowOverride");
39
40
  const ClientEvent_1 = require("./ClientEvent");
40
41
  const FileInputConfigWorkflowOverride_1 = require("./FileInputConfigWorkflowOverride");
41
42
  exports.ConversationConfigWorkflowOverrideOutput = core.serialization.object({
@@ -45,5 +46,6 @@ exports.ConversationConfigWorkflowOverrideOutput = core.serialization.object({
45
46
  fileInput: core.serialization.property("file_input", FileInputConfigWorkflowOverride_1.FileInputConfigWorkflowOverride.optional()),
46
47
  monitoringEnabled: core.serialization.property("monitoring_enabled", core.serialization.boolean().optional()),
47
48
  monitoringEvents: core.serialization.property("monitoring_events", core.serialization.list(ClientEvent_1.ClientEvent).optional()),
49
+ backgroundSound: core.serialization.property("background_sound", BackgroundSoundConfigWorkflowOverride_1.BackgroundSoundConfigWorkflowOverride.optional()),
48
50
  sourceAttribution: core.serialization.property("source_attribution", core.serialization.boolean().optional()),
49
51
  });
@@ -31,5 +31,6 @@ export declare namespace ConversationHistoryTranscriptCommonModelInput {
31
31
  source_medium?: ChatSourceMedium.Raw | null;
32
32
  source_event_id?: number | null;
33
33
  used_static_kb_document_ids?: string[] | null;
34
+ user_identifier?: string | null;
34
35
  }
35
36
  }
@@ -64,4 +64,5 @@ exports.ConversationHistoryTranscriptCommonModelInput = core.serialization.objec
64
64
  sourceMedium: core.serialization.property("source_medium", ChatSourceMedium_1.ChatSourceMedium.optional()),
65
65
  sourceEventId: core.serialization.property("source_event_id", core.serialization.number().optional()),
66
66
  usedStaticKbDocumentIds: core.serialization.property("used_static_kb_document_ids", core.serialization.list(core.serialization.string()).optional()),
67
+ userIdentifier: core.serialization.property("user_identifier", core.serialization.string().optional()),
67
68
  });
@@ -31,5 +31,6 @@ export declare namespace ConversationHistoryTranscriptCommonModelOutput {
31
31
  source_medium?: ChatSourceMedium.Raw | null;
32
32
  source_event_id?: number | null;
33
33
  used_static_kb_document_ids?: string[] | null;
34
+ user_identifier?: string | null;
34
35
  }
35
36
  }
@@ -64,4 +64,5 @@ exports.ConversationHistoryTranscriptCommonModelOutput = core.serialization.obje
64
64
  sourceMedium: core.serialization.property("source_medium", ChatSourceMedium_1.ChatSourceMedium.optional()),
65
65
  sourceEventId: core.serialization.property("source_event_id", core.serialization.number().optional()),
66
66
  usedStaticKbDocumentIds: core.serialization.property("used_static_kb_document_ids", core.serialization.list(core.serialization.string()).optional()),
67
+ userIdentifier: core.serialization.property("user_identifier", core.serialization.string().optional()),
67
68
  });
@@ -33,6 +33,7 @@ export declare namespace ConversationHistoryTranscriptResponseModel {
33
33
  source_medium?: ChatSourceMedium.Raw | null;
34
34
  source_event_id?: number | null;
35
35
  used_static_kb_document_ids?: string[] | null;
36
+ user_identifier?: string | null;
36
37
  file_input?: ConversationHistoryTranscriptFileInputResponseModel.Raw | null;
37
38
  contextual_update_info?: ContextualUpdateInfo.Raw | null;
38
39
  }
@@ -66,6 +66,7 @@ exports.ConversationHistoryTranscriptResponseModel = core.serialization.object({
66
66
  sourceMedium: core.serialization.property("source_medium", ChatSourceMedium_1.ChatSourceMedium.optional()),
67
67
  sourceEventId: core.serialization.property("source_event_id", core.serialization.number().optional()),
68
68
  usedStaticKbDocumentIds: core.serialization.property("used_static_kb_document_ids", core.serialization.list(core.serialization.string()).optional()),
69
+ userIdentifier: core.serialization.property("user_identifier", core.serialization.string().optional()),
69
70
  fileInput: core.serialization.property("file_input", ConversationHistoryTranscriptFileInputResponseModel_1.ConversationHistoryTranscriptFileInputResponseModel.optional()),
70
71
  contextualUpdateInfo: core.serialization.property("contextual_update_info", ContextualUpdateInfo_1.ContextualUpdateInfo.optional()),
71
72
  });
@@ -15,7 +15,7 @@ export declare namespace ConversationInitiationClientDataInternal {
15
15
  branch_id?: string | null;
16
16
  environment?: string | null;
17
17
  starting_workflow_node_id?: string | null;
18
- dynamic_variables?: Record<string, DynamicVariableValueTypeOutput.Raw | null> | null;
18
+ dynamic_variables?: Record<string, DynamicVariableValueTypeOutput.Raw | null | undefined> | null;
19
19
  tool_mock_config?: OrchestratorToolMockBehaviorConfig.Raw | null;
20
20
  }
21
21
  }
@@ -48,6 +48,6 @@ exports.ConversationInitiationClientDataInternal = core.serialization.object({
48
48
  branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
49
49
  environment: core.serialization.string().optional(),
50
50
  startingWorkflowNodeId: core.serialization.property("starting_workflow_node_id", core.serialization.string().optional()),
51
- dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeOutput_1.DynamicVariableValueTypeOutput).optional()),
51
+ dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeOutput_1.DynamicVariableValueTypeOutput.optional()).optional()),
52
52
  toolMockConfig: core.serialization.property("tool_mock_config", OrchestratorToolMockBehaviorConfig_1.OrchestratorToolMockBehaviorConfig.optional()),
53
53
  });
@@ -14,6 +14,6 @@ export declare namespace ConversationInitiationClientDataRequestInput {
14
14
  branch_id?: string | null;
15
15
  environment?: string | null;
16
16
  starting_workflow_node_id?: string | null;
17
- dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null> | null;
17
+ dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null | undefined> | null;
18
18
  }
19
19
  }
@@ -47,5 +47,5 @@ exports.ConversationInitiationClientDataRequestInput = core.serialization.object
47
47
  branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
48
48
  environment: core.serialization.string().optional(),
49
49
  startingWorkflowNodeId: core.serialization.property("starting_workflow_node_id", core.serialization.string().optional()),
50
- dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput).optional()),
50
+ dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput.optional()).optional()),
51
51
  });
@@ -14,6 +14,6 @@ export declare namespace ConversationInitiationClientDataRequestOutput {
14
14
  branch_id?: string | null;
15
15
  environment?: string | null;
16
16
  starting_workflow_node_id?: string | null;
17
- dynamic_variables?: Record<string, DynamicVariableValueTypeOutput.Raw | null> | null;
17
+ dynamic_variables?: Record<string, DynamicVariableValueTypeOutput.Raw | null | undefined> | null;
18
18
  }
19
19
  }
@@ -47,5 +47,5 @@ exports.ConversationInitiationClientDataRequestOutput = core.serialization.objec
47
47
  branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
48
48
  environment: core.serialization.string().optional(),
49
49
  startingWorkflowNodeId: core.serialization.property("starting_workflow_node_id", core.serialization.string().optional()),
50
- dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeOutput_1.DynamicVariableValueTypeOutput).optional()),
50
+ dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeOutput_1.DynamicVariableValueTypeOutput.optional()).optional()),
51
51
  });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const ConversationProduct: core.serialization.Schema<serializers.ConversationProduct.Raw, ElevenLabs.ConversationProduct>;
5
+ export declare namespace ConversationProduct {
6
+ type Raw = "agents" | "speech_engine";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ConversationProduct = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.ConversationProduct = core.serialization.enum_(["agents", "speech_engine"]);
@@ -11,6 +11,6 @@ export declare namespace ConversationSimulationSpecification {
11
11
  simulated_user_config: AgentConfig.Raw;
12
12
  tool_mock_config?: Record<string, ToolMockConfig.Raw> | null;
13
13
  partial_conversation_history?: ConversationHistoryTranscriptCommonModelInput.Raw[] | null;
14
- dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null> | null;
14
+ dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null | undefined> | null;
15
15
  }
16
16
  }
@@ -44,5 +44,5 @@ exports.ConversationSimulationSpecification = core.serialization.object({
44
44
  simulatedUserConfig: core.serialization.property("simulated_user_config", AgentConfig_1.AgentConfig),
45
45
  toolMockConfig: core.serialization.property("tool_mock_config", core.serialization.record(core.serialization.string(), ToolMockConfig_1.ToolMockConfig).optional()),
46
46
  partialConversationHistory: core.serialization.property("partial_conversation_history", core.serialization.list(ConversationHistoryTranscriptCommonModelInput_1.ConversationHistoryTranscriptCommonModelInput).optional()),
47
- dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput).optional()),
47
+ dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput.optional()).optional()),
48
48
  });
@@ -15,7 +15,7 @@ export declare namespace ConversationalConfigApiModelWorkflowOverrideInput {
15
15
  turn?: TurnConfigWorkflowOverride.Raw | null;
16
16
  tts?: TtsConversationalConfigWorkflowOverrideInput.Raw | null;
17
17
  conversation?: ConversationConfigWorkflowOverrideInput.Raw | null;
18
- language_presets?: Record<string, LanguagePresetInput.Raw | null> | null;
18
+ language_presets?: Record<string, LanguagePresetInput.Raw | null | undefined> | null;
19
19
  vad?: VadConfigWorkflowOverride.Raw | null;
20
20
  agent?: AgentConfigApiModelWorkflowOverrideInput.Raw | null;
21
21
  }
@@ -48,7 +48,7 @@ exports.ConversationalConfigApiModelWorkflowOverrideInput = core.serialization.o
48
48
  turn: TurnConfigWorkflowOverride_1.TurnConfigWorkflowOverride.optional(),
49
49
  tts: TtsConversationalConfigWorkflowOverrideInput_1.TtsConversationalConfigWorkflowOverrideInput.optional(),
50
50
  conversation: ConversationConfigWorkflowOverrideInput_1.ConversationConfigWorkflowOverrideInput.optional(),
51
- languagePresets: core.serialization.property("language_presets", core.serialization.record(core.serialization.string(), LanguagePresetInput_1.LanguagePresetInput).optional()),
51
+ languagePresets: core.serialization.property("language_presets", core.serialization.record(core.serialization.string(), LanguagePresetInput_1.LanguagePresetInput.optional()).optional()),
52
52
  vad: VadConfigWorkflowOverride_1.VadConfigWorkflowOverride.optional(),
53
53
  agent: AgentConfigApiModelWorkflowOverrideInput_1.AgentConfigApiModelWorkflowOverrideInput.optional(),
54
54
  });
@@ -15,7 +15,7 @@ export declare namespace ConversationalConfigApiModelWorkflowOverrideOutput {
15
15
  turn?: TurnConfigWorkflowOverride.Raw | null;
16
16
  tts?: TtsConversationalConfigWorkflowOverrideOutput.Raw | null;
17
17
  conversation?: ConversationConfigWorkflowOverrideOutput.Raw | null;
18
- language_presets?: Record<string, LanguagePresetOutput.Raw | null> | null;
18
+ language_presets?: Record<string, LanguagePresetOutput.Raw | null | undefined> | null;
19
19
  vad?: VadConfigWorkflowOverride.Raw | null;
20
20
  agent?: AgentConfigApiModelWorkflowOverrideOutput.Raw | null;
21
21
  }
@@ -48,7 +48,7 @@ exports.ConversationalConfigApiModelWorkflowOverrideOutput = core.serialization.
48
48
  turn: TurnConfigWorkflowOverride_1.TurnConfigWorkflowOverride.optional(),
49
49
  tts: TtsConversationalConfigWorkflowOverrideOutput_1.TtsConversationalConfigWorkflowOverrideOutput.optional(),
50
50
  conversation: ConversationConfigWorkflowOverrideOutput_1.ConversationConfigWorkflowOverrideOutput.optional(),
51
- languagePresets: core.serialization.property("language_presets", core.serialization.record(core.serialization.string(), LanguagePresetOutput_1.LanguagePresetOutput).optional()),
51
+ languagePresets: core.serialization.property("language_presets", core.serialization.record(core.serialization.string(), LanguagePresetOutput_1.LanguagePresetOutput.optional()).optional()),
52
52
  vad: VadConfigWorkflowOverride_1.VadConfigWorkflowOverride.optional(),
53
53
  agent: AgentConfigApiModelWorkflowOverrideOutput_1.AgentConfigApiModelWorkflowOverrideOutput.optional(),
54
54
  });
@@ -11,7 +11,7 @@ export declare const CreateResponseUnitTestRequest: core.serialization.ObjectSch
11
11
  export declare namespace CreateResponseUnitTestRequest {
12
12
  interface Raw {
13
13
  from_conversation_metadata?: TestFromConversationMetadataInput.Raw | null;
14
- dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null> | null;
14
+ dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null | undefined> | null;
15
15
  chat_history?: ConversationHistoryTranscriptCommonModelInput.Raw[] | null;
16
16
  conversation_initiation_source?: ConversationInitiationSource.Raw | null;
17
17
  success_condition?: string | null;
@@ -44,7 +44,7 @@ const DynamicVariableValueTypeInput_1 = require("./DynamicVariableValueTypeInput
44
44
  const TestFromConversationMetadataInput_1 = require("./TestFromConversationMetadataInput");
45
45
  exports.CreateResponseUnitTestRequest = core.serialization.object({
46
46
  fromConversationMetadata: core.serialization.property("from_conversation_metadata", TestFromConversationMetadataInput_1.TestFromConversationMetadataInput.optional()),
47
- dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput).optional()),
47
+ dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput.optional()).optional()),
48
48
  chatHistory: core.serialization.property("chat_history", core.serialization.list(ConversationHistoryTranscriptCommonModelInput_1.ConversationHistoryTranscriptCommonModelInput).optional()),
49
49
  conversationInitiationSource: core.serialization.property("conversation_initiation_source", ConversationInitiationSource_1.ConversationInitiationSource.optional()),
50
50
  successCondition: core.serialization.property("success_condition", core.serialization.string().optional()),
@@ -11,10 +11,11 @@ export declare const CreateSimulationTestRequest: core.serialization.ObjectSchem
11
11
  export declare namespace CreateSimulationTestRequest {
12
12
  interface Raw {
13
13
  from_conversation_metadata?: TestFromConversationMetadataInput.Raw | null;
14
- dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null> | null;
14
+ dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null | undefined> | null;
15
15
  chat_history?: ConversationHistoryTranscriptCommonModelInput.Raw[] | null;
16
16
  conversation_initiation_source?: ConversationInitiationSource.Raw | null;
17
17
  success_condition?: string | null;
18
+ success_conditions?: string[] | null;
18
19
  simulation_scenario?: string | null;
19
20
  simulation_max_turns?: number | null;
20
21
  simulation_environment?: string | null;
@@ -44,10 +44,11 @@ const SimulationToolMockBehaviorConfig_1 = require("./SimulationToolMockBehavior
44
44
  const TestFromConversationMetadataInput_1 = require("./TestFromConversationMetadataInput");
45
45
  exports.CreateSimulationTestRequest = core.serialization.object({
46
46
  fromConversationMetadata: core.serialization.property("from_conversation_metadata", TestFromConversationMetadataInput_1.TestFromConversationMetadataInput.optional()),
47
- dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput).optional()),
47
+ dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput.optional()).optional()),
48
48
  chatHistory: core.serialization.property("chat_history", core.serialization.list(ConversationHistoryTranscriptCommonModelInput_1.ConversationHistoryTranscriptCommonModelInput).optional()),
49
49
  conversationInitiationSource: core.serialization.property("conversation_initiation_source", ConversationInitiationSource_1.ConversationInitiationSource.optional()),
50
50
  successCondition: core.serialization.property("success_condition", core.serialization.string().optional()),
51
+ successConditions: core.serialization.property("success_conditions", core.serialization.list(core.serialization.string()).optional()),
51
52
  simulationScenario: core.serialization.property("simulation_scenario", core.serialization.string().optional()),
52
53
  simulationMaxTurns: core.serialization.property("simulation_max_turns", core.serialization.number().optional()),
53
54
  simulationEnvironment: core.serialization.property("simulation_environment", core.serialization.string().optional()),
@@ -10,7 +10,7 @@ export declare const CreateToolCallUnitTestRequest: core.serialization.ObjectSch
10
10
  export declare namespace CreateToolCallUnitTestRequest {
11
11
  interface Raw {
12
12
  from_conversation_metadata?: TestFromConversationMetadataInput.Raw | null;
13
- dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null> | null;
13
+ dynamic_variables?: Record<string, DynamicVariableValueTypeInput.Raw | null | undefined> | null;
14
14
  chat_history?: ConversationHistoryTranscriptCommonModelInput.Raw[] | null;
15
15
  conversation_initiation_source?: ConversationInitiationSource.Raw | null;
16
16
  tool_call_parameters?: UnitTestToolCallEvaluationModelInput.Raw | null;
@@ -43,7 +43,7 @@ const TestFromConversationMetadataInput_1 = require("./TestFromConversationMetad
43
43
  const UnitTestToolCallEvaluationModelInput_1 = require("./UnitTestToolCallEvaluationModelInput");
44
44
  exports.CreateToolCallUnitTestRequest = core.serialization.object({
45
45
  fromConversationMetadata: core.serialization.property("from_conversation_metadata", TestFromConversationMetadataInput_1.TestFromConversationMetadataInput.optional()),
46
- dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput).optional()),
46
+ dynamicVariables: core.serialization.property("dynamic_variables", core.serialization.record(core.serialization.string(), DynamicVariableValueTypeInput_1.DynamicVariableValueTypeInput.optional()).optional()),
47
47
  chatHistory: core.serialization.property("chat_history", core.serialization.list(ConversationHistoryTranscriptCommonModelInput_1.ConversationHistoryTranscriptCommonModelInput).optional()),
48
48
  conversationInitiationSource: core.serialization.property("conversation_initiation_source", ConversationInitiationSource_1.ConversationInitiationSource.optional()),
49
49
  toolCallParameters: core.serialization.property("tool_call_parameters", UnitTestToolCallEvaluationModelInput_1.UnitTestToolCallEvaluationModelInput.optional()),
@@ -13,8 +13,8 @@ export declare namespace FineTuningResponse {
13
13
  verification_attempts_count?: number | null;
14
14
  manual_verification_requested?: boolean | null;
15
15
  language?: string | null;
16
- progress?: Record<string, number | null> | null;
17
- message?: Record<string, string | null> | null;
16
+ progress?: Record<string, number | null | undefined> | null;
17
+ message?: Record<string, string | null | undefined> | null;
18
18
  dataset_duration_seconds?: number | null;
19
19
  verification_attempts?: VerificationAttemptResponse.Raw[] | null;
20
20
  slice_ids?: string[] | null;
@@ -46,8 +46,8 @@ exports.FineTuningResponse = core.serialization.object({
46
46
  verificationAttemptsCount: core.serialization.property("verification_attempts_count", core.serialization.number().optional()),
47
47
  manualVerificationRequested: core.serialization.property("manual_verification_requested", core.serialization.boolean().optional()),
48
48
  language: core.serialization.string().optional(),
49
- progress: core.serialization.record(core.serialization.string(), core.serialization.number()).optional(),
50
- message: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
49
+ progress: core.serialization.record(core.serialization.string(), core.serialization.number().optional()).optional(),
50
+ message: core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional(),
51
51
  datasetDurationSeconds: core.serialization.property("dataset_duration_seconds", core.serialization.number().optional()),
52
52
  verificationAttempts: core.serialization.property("verification_attempts", core.serialization.list(VerificationAttemptResponse_1.VerificationAttemptResponse).optional()),
53
53
  sliceIds: core.serialization.property("slice_ids", core.serialization.list(core.serialization.string()).optional()),
@@ -0,0 +1,18 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { AudioRefChunk } from "./AudioRefChunk";
5
+ import { GenerationChunkInputConditionStrength } from "./GenerationChunkInputConditionStrength";
6
+ import { GenerationChunkInputContextAdherence } from "./GenerationChunkInputContextAdherence";
7
+ export declare const GenerationChunkInput: core.serialization.ObjectSchema<serializers.GenerationChunkInput.Raw, ElevenLabs.GenerationChunkInput>;
8
+ export declare namespace GenerationChunkInput {
9
+ interface Raw {
10
+ text: string;
11
+ duration_ms: number;
12
+ positive_styles: string[];
13
+ negative_styles?: string[] | null;
14
+ context_adherence?: GenerationChunkInputContextAdherence.Raw | null;
15
+ conditioning_ref?: AudioRefChunk.Raw | null;
16
+ condition_strength?: GenerationChunkInputConditionStrength.Raw | null;
17
+ }
18
+ }
@@ -34,17 +34,17 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.GenerationChunk = void 0;
37
+ exports.GenerationChunkInput = void 0;
38
38
  const core = __importStar(require("../../core"));
39
39
  const AudioRefChunk_1 = require("./AudioRefChunk");
40
- const GenerationChunkConditionStrength_1 = require("./GenerationChunkConditionStrength");
41
- const GenerationChunkContextAdherence_1 = require("./GenerationChunkContextAdherence");
42
- exports.GenerationChunk = core.serialization.object({
40
+ const GenerationChunkInputConditionStrength_1 = require("./GenerationChunkInputConditionStrength");
41
+ const GenerationChunkInputContextAdherence_1 = require("./GenerationChunkInputContextAdherence");
42
+ exports.GenerationChunkInput = core.serialization.object({
43
43
  text: core.serialization.string(),
44
44
  durationMs: core.serialization.property("duration_ms", core.serialization.number()),
45
45
  positiveStyles: core.serialization.property("positive_styles", core.serialization.list(core.serialization.string())),
46
46
  negativeStyles: core.serialization.property("negative_styles", core.serialization.list(core.serialization.string()).optional()),
47
- contextAdherence: core.serialization.property("context_adherence", GenerationChunkContextAdherence_1.GenerationChunkContextAdherence.optional()),
47
+ contextAdherence: core.serialization.property("context_adherence", GenerationChunkInputContextAdherence_1.GenerationChunkInputContextAdherence.optional()),
48
48
  conditioningRef: core.serialization.property("conditioning_ref", AudioRefChunk_1.AudioRefChunk.optional()),
49
- conditionStrength: core.serialization.property("condition_strength", GenerationChunkConditionStrength_1.GenerationChunkConditionStrength.optional()),
49
+ conditionStrength: core.serialization.property("condition_strength", GenerationChunkInputConditionStrength_1.GenerationChunkInputConditionStrength.optional()),
50
50
  });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const GenerationChunkInputConditionStrength: core.serialization.Schema<serializers.GenerationChunkInputConditionStrength.Raw, ElevenLabs.GenerationChunkInputConditionStrength>;
5
+ export declare namespace GenerationChunkInputConditionStrength {
6
+ type Raw = "low" | "medium" | "high" | "xhigh";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GenerationChunkInputConditionStrength = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.GenerationChunkInputConditionStrength = core.serialization.enum_(["low", "medium", "high", "xhigh"]);
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const GenerationChunkInputContextAdherence: core.serialization.Schema<serializers.GenerationChunkInputContextAdherence.Raw, ElevenLabs.GenerationChunkInputContextAdherence>;
5
+ export declare namespace GenerationChunkInputContextAdherence {
6
+ type Raw = "low" | "medium" | "high";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GenerationChunkInputContextAdherence = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.GenerationChunkInputContextAdherence = core.serialization.enum_(["low", "medium", "high"]);
@@ -0,0 +1,18 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { AudioRefChunk } from "./AudioRefChunk";
5
+ import { GenerationChunkOutputConditionStrength } from "./GenerationChunkOutputConditionStrength";
6
+ import { GenerationChunkOutputContextAdherence } from "./GenerationChunkOutputContextAdherence";
7
+ export declare const GenerationChunkOutput: core.serialization.ObjectSchema<serializers.GenerationChunkOutput.Raw, ElevenLabs.GenerationChunkOutput>;
8
+ export declare namespace GenerationChunkOutput {
9
+ interface Raw {
10
+ text: string;
11
+ duration_ms: number;
12
+ positive_styles: string[];
13
+ negative_styles?: string[] | null;
14
+ context_adherence?: GenerationChunkOutputContextAdherence.Raw | null;
15
+ conditioning_ref?: AudioRefChunk.Raw | null;
16
+ condition_strength?: GenerationChunkOutputConditionStrength.Raw | null;
17
+ }
18
+ }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GenerationChunkOutput = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const AudioRefChunk_1 = require("./AudioRefChunk");
40
+ const GenerationChunkOutputConditionStrength_1 = require("./GenerationChunkOutputConditionStrength");
41
+ const GenerationChunkOutputContextAdherence_1 = require("./GenerationChunkOutputContextAdherence");
42
+ exports.GenerationChunkOutput = core.serialization.object({
43
+ text: core.serialization.string(),
44
+ durationMs: core.serialization.property("duration_ms", core.serialization.number()),
45
+ positiveStyles: core.serialization.property("positive_styles", core.serialization.list(core.serialization.string())),
46
+ negativeStyles: core.serialization.property("negative_styles", core.serialization.list(core.serialization.string()).optional()),
47
+ contextAdherence: core.serialization.property("context_adherence", GenerationChunkOutputContextAdherence_1.GenerationChunkOutputContextAdherence.optional()),
48
+ conditioningRef: core.serialization.property("conditioning_ref", AudioRefChunk_1.AudioRefChunk.optional()),
49
+ conditionStrength: core.serialization.property("condition_strength", GenerationChunkOutputConditionStrength_1.GenerationChunkOutputConditionStrength.optional()),
50
+ });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const GenerationChunkOutputConditionStrength: core.serialization.Schema<serializers.GenerationChunkOutputConditionStrength.Raw, ElevenLabs.GenerationChunkOutputConditionStrength>;
5
+ export declare namespace GenerationChunkOutputConditionStrength {
6
+ type Raw = "low" | "medium" | "high" | "xhigh";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GenerationChunkOutputConditionStrength = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.GenerationChunkOutputConditionStrength = core.serialization.enum_(["low", "medium", "high", "xhigh"]);
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const GenerationChunkOutputContextAdherence: core.serialization.Schema<serializers.GenerationChunkOutputContextAdherence.Raw, ElevenLabs.GenerationChunkOutputContextAdherence>;
5
+ export declare namespace GenerationChunkOutputContextAdherence {
6
+ type Raw = "low" | "medium" | "high";
7
+ }