@elevenlabs/elevenlabs-js 2.53.1 → 2.55.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 (1549) hide show
  1. package/.fern/metadata.json +3 -7
  2. package/.fern/replay.lock +14 -2
  3. package/BaseClient.js +2 -2
  4. package/Client.d.ts +2 -2
  5. package/Client.js +5 -5
  6. package/api/resources/audioIsolation/client/Client.js +4 -8
  7. package/api/resources/audioNative/client/Client.js +4 -4
  8. package/api/resources/conversationalAi/client/Client.js +4 -8
  9. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -2
  10. package/api/resources/conversationalAi/resources/agents/client/Client.js +15 -27
  11. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +46 -0
  12. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +174 -13
  13. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.d.ts +13 -0
  14. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +1 -0
  15. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
  16. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +2 -10
  17. package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
  18. package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
  19. package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
  20. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +1 -5
  21. package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
  22. package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -5
  23. package/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +1 -1
  24. package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
  25. package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +1 -5
  26. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -10
  27. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  28. package/api/resources/conversationalAi/resources/conversations/client/Client.js +16 -28
  29. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +7 -1
  30. package/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +2 -2
  31. package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
  32. package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
  33. package/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +2 -2
  34. package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
  35. package/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
  36. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  37. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +9 -11
  38. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
  39. package/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +7 -11
  40. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +6 -2
  41. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +15 -6
  42. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -1
  43. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +15 -0
  44. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.d.ts +13 -0
  45. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.d.ts +1 -0
  46. package/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.js +2 -0
  47. package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
  48. package/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
  49. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -11
  50. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
  51. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -24
  52. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -5
  53. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +1 -5
  54. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +1 -5
  55. package/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
  56. package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
  57. package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
  58. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  59. package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
  60. package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
  61. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
  62. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  63. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  64. package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
  65. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +6 -14
  66. package/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -14
  67. package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
  68. package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
  69. package/api/resources/conversationalAi/resources/tests/client/Client.js +7 -11
  70. package/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +4 -8
  71. package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +3 -7
  72. package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -18
  73. package/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +1 -5
  74. package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
  75. package/api/resources/conversationalAi/resources/users/client/Client.js +1 -5
  76. package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
  77. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +4 -8
  78. package/api/resources/dubbing/client/Client.d.ts +4 -0
  79. package/api/resources/dubbing/client/Client.js +40 -10
  80. package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +13 -1
  81. package/api/resources/dubbing/resources/audio/client/Client.js +1 -1
  82. package/api/resources/dubbing/resources/resource/client/Client.js +6 -6
  83. package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
  84. package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
  85. package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +3 -3
  86. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
  87. package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  88. package/api/resources/dubbing/resources/transcript/client/Client.js +1 -5
  89. package/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
  90. package/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +6 -0
  91. package/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +9 -0
  92. package/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +5 -0
  93. package/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +8 -0
  94. package/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +8 -0
  95. package/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +11 -0
  96. package/api/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +6 -0
  97. package/api/resources/dubbing/types/DubbingListRequestOrderBy.js +9 -0
  98. package/api/resources/dubbing/types/index.d.ts +4 -0
  99. package/api/resources/dubbing/types/index.js +4 -0
  100. package/api/resources/environmentVariables/client/Client.js +4 -8
  101. package/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  102. package/api/resources/forcedAlignment/client/Client.js +1 -1
  103. package/api/resources/history/client/Client.js +5 -9
  104. package/api/resources/index.d.ts +1 -0
  105. package/api/resources/index.js +1 -0
  106. package/api/resources/models/client/Client.js +1 -1
  107. package/api/resources/music/client/Client.d.ts +1 -1
  108. package/api/resources/music/client/Client.js +16 -30
  109. package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -4
  110. package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -4
  111. package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +3 -3
  112. package/api/resources/music/resources/compositionPlan/client/Client.js +1 -1
  113. package/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +0 -3
  114. package/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +0 -3
  115. package/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +0 -3
  116. package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +29 -0
  117. package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +32 -0
  118. package/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +29 -0
  119. package/api/resources/music/types/MusicComposeRequestOutputFormat.js +32 -0
  120. package/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +29 -0
  121. package/api/resources/music/types/MusicStreamRequestOutputFormat.js +32 -0
  122. package/api/resources/music/types/index.d.ts +3 -0
  123. package/api/resources/music/types/index.js +3 -0
  124. package/api/resources/productions/resources/orders/client/Client.js +5 -9
  125. package/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
  126. package/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
  127. package/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
  128. package/api/resources/productions/resources/orders/resources/media/client/Client.js +2 -2
  129. package/api/resources/pronunciationDictionaries/client/Client.js +6 -10
  130. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
  131. package/api/resources/samples/client/Client.js +1 -1
  132. package/api/resources/serviceAccounts/client/Client.js +1 -1
  133. package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +4 -4
  134. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  135. package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  136. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +4 -0
  137. package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  138. package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  139. package/api/resources/speechEngine/client/Client.js +5 -9
  140. package/api/resources/speechToSpeech/client/Client.js +2 -10
  141. package/api/resources/speechToText/client/Client.d.ts +1 -1
  142. package/api/resources/speechToText/client/Client.js +5 -6
  143. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  144. package/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
  145. package/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +6 -0
  146. package/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +9 -0
  147. package/api/resources/speechToText/types/index.d.ts +1 -0
  148. package/api/resources/speechToText/types/index.js +1 -0
  149. package/api/resources/studio/client/Client.js +1 -1
  150. package/api/resources/studio/resources/projects/client/Client.js +7 -11
  151. package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
  152. package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
  153. package/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
  154. package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
  155. package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
  156. package/api/resources/textToDialogue/client/Client.js +4 -20
  157. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  158. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  159. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  160. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  161. package/api/resources/textToSoundEffects/client/Client.js +1 -5
  162. package/api/resources/textToSpeech/client/Client.js +4 -20
  163. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
  164. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
  165. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  166. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  167. package/api/resources/textToVoice/client/Client.js +4 -16
  168. package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  169. package/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
  170. package/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
  171. package/api/resources/usage/client/Client.js +1 -5
  172. package/api/resources/user/client/Client.js +1 -1
  173. package/api/resources/user/resources/subscription/client/Client.js +1 -1
  174. package/api/resources/voices/client/Client.d.ts +17 -17
  175. package/api/resources/voices/client/Client.js +50 -66
  176. package/api/resources/voices/resources/ivc/client/Client.js +1 -1
  177. package/api/resources/voices/resources/pvc/client/Client.js +3 -3
  178. package/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  179. package/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  180. package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
  181. package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -5
  182. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
  183. package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
  184. package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
  185. package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
  186. package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
  187. package/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
  188. package/api/resources/voices/resources/settings/client/Client.js +3 -3
  189. package/api/resources/webhooks/client/Client.js +4 -8
  190. package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  191. package/api/resources/workspace/client/Client.d.ts +18 -1
  192. package/api/resources/workspace/client/Client.js +99 -0
  193. package/api/resources/workspace/client/index.d.ts +1 -1
  194. package/api/resources/workspace/client/index.js +15 -0
  195. package/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +8 -0
  196. package/api/resources/workspace/client/requests/index.d.ts +1 -0
  197. package/api/resources/workspace/client/requests/index.js +2 -0
  198. package/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
  199. package/api/resources/workspace/resources/auditLogs/client/Client.js +1 -5
  200. package/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
  201. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +4 -1
  202. package/api/resources/workspace/resources/groups/client/Client.js +2 -6
  203. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  204. package/api/resources/workspace/resources/invites/client/Client.js +3 -3
  205. package/api/resources/workspace/resources/members/client/Client.js +1 -1
  206. package/api/resources/workspace/resources/resources/client/Client.js +3 -7
  207. package/api/resources/workspace/resources/usage/client/Client.js +1 -1
  208. package/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -5
  209. package/api/types/AgentBranchSummary.d.ts +2 -0
  210. package/api/types/AgentConfig.d.ts +1 -1
  211. package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  212. package/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  213. package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  214. package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  215. package/api/types/AgentVersionParents.d.ts +1 -0
  216. package/api/types/AnalysisProperty.d.ts +2 -0
  217. package/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +3 -6
  218. package/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +3 -6
  219. package/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  220. package/api/types/AudioFilterId.d.ts +7 -0
  221. package/api/types/AudioFilterId.js +10 -0
  222. package/api/types/AuthConnectionStatus.d.ts +15 -0
  223. package/api/types/AuthConnectionStatus.js +18 -0
  224. package/api/types/BaseTurnConfig.d.ts +4 -0
  225. package/api/types/BasicAuthResponse.d.ts +3 -0
  226. package/api/types/BearerAuthResponse.d.ts +3 -0
  227. package/api/types/CaptionStyleModel.d.ts +4 -0
  228. package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +6 -0
  229. package/api/types/CaptionStyleSectionAnimationModelEnterType.js +6 -0
  230. package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +6 -0
  231. package/api/types/CaptionStyleSectionAnimationModelExitType.js +6 -0
  232. package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +6 -0
  233. package/api/types/CaptionStyleWordAnimationModelEnterType.js +6 -0
  234. package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +6 -0
  235. package/api/types/CaptionStyleWordAnimationModelExitType.js +6 -0
  236. package/api/types/CharacterAge.d.ts +6 -0
  237. package/api/types/CharacterAge.js +9 -0
  238. package/api/types/CharacterGender.d.ts +6 -0
  239. package/api/types/CharacterGender.js +9 -0
  240. package/api/types/CharacterMetadataResponseModel.d.ts +8 -0
  241. package/api/types/CharacterResponseModel.d.ts +6 -0
  242. package/api/types/CompositionPlanChunksItem.d.ts +1 -1
  243. package/api/types/ConvAiWebhooks.d.ts +1 -1
  244. package/api/types/ConversationConfigInput.d.ts +2 -0
  245. package/api/types/ConversationConfigOutput.d.ts +2 -0
  246. package/api/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  247. package/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  248. package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  249. package/api/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +3 -0
  250. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
  251. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
  252. package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +3 -0
  253. package/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  254. package/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  255. package/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  256. package/api/types/ConversationProduct.d.ts +6 -0
  257. package/api/types/ConversationProduct.js +9 -0
  258. package/api/types/ConversationReasoningModel.d.ts +4 -0
  259. package/api/types/ConversationSimulationSpecification.d.ts +1 -1
  260. package/api/types/ConversationSummaryResponseModel.d.ts +2 -0
  261. package/api/types/ConversationUserResponseModel.d.ts +3 -0
  262. package/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  263. package/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  264. package/api/types/CreateAgentProcedureParams.d.ts +3 -0
  265. package/api/types/CreateExotelPhoneNumberRequest.d.ts +2 -0
  266. package/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
  267. package/api/types/CreateSimulationTestRequest.d.ts +4 -2
  268. package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  269. package/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  270. package/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  271. package/api/types/CriteriaScoringMode.d.ts +5 -0
  272. package/api/types/CriteriaScoringMode.js +8 -0
  273. package/api/types/CustomGuardrailConfig.d.ts +1 -1
  274. package/api/types/CustomHeaderAuthResponse.d.ts +3 -0
  275. package/api/types/DeleteAgentProcedureParams.d.ts +3 -0
  276. package/api/types/FineTuningResponse.d.ts +2 -2
  277. package/api/types/FrustratedConversationRef.d.ts +9 -0
  278. package/api/types/FrustratedConversationRefOverallLabel.d.ts +6 -0
  279. package/api/types/FrustratedConversationRefOverallLabel.js +9 -0
  280. package/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
  281. package/api/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  282. package/{dist/api/types/GenerationChunkConditionStrength.js → api/types/GenerationChunkInputConditionStrength.js} +2 -2
  283. package/{dist/api/types/GenerationChunkContextAdherence.d.ts → api/types/GenerationChunkInputContextAdherence.d.ts} +2 -2
  284. package/api/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
  285. package/api/types/GenerationChunkOutput.d.ts +17 -0
  286. package/api/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  287. package/api/types/GenerationChunkOutputConditionStrength.js +10 -0
  288. package/api/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  289. package/api/types/GenerationChunkOutputContextAdherence.js +10 -0
  290. package/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  291. package/api/types/GetSimulationTestResponseModel.d.ts +4 -2
  292. package/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  293. package/api/types/ListAgentProceduresParams.d.ts +3 -0
  294. package/api/types/ListAgentProceduresParams.js +3 -0
  295. package/api/types/ListAgentReferencesParams.d.ts +3 -0
  296. package/api/types/ListAgentReferencesParams.js +3 -0
  297. package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  298. package/api/types/LiteralJsonSchemaPropertyType.d.ts +1 -7
  299. package/api/types/LiteralJsonSchemaPropertyType.js +0 -7
  300. package/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -7
  301. package/api/types/LlmLiteralJsonSchemaPropertyType.js +0 -7
  302. package/api/types/LockReason.d.ts +7 -0
  303. package/api/types/LockReason.js +10 -0
  304. package/api/types/McpToolConfigOverrideInput.d.ts +1 -1
  305. package/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
  306. package/api/types/MergePreviewResponseModel.d.ts +33 -0
  307. package/api/types/MergePreviewResponseModel.js +3 -0
  308. package/api/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +13 -0
  309. package/api/types/MergePreviewResponseModelPhoneNumbersItem.js +3 -0
  310. package/api/types/MtlsAuthResponse.d.ts +3 -0
  311. package/api/types/MusicAllowedOutputFormats.d.ts +2 -0
  312. package/api/types/MusicAllowedOutputFormats.js +3 -0
  313. package/api/types/MusicOnlyOutputFormats.d.ts +7 -0
  314. package/api/types/MusicOnlyOutputFormats.js +10 -0
  315. package/api/types/MusicOutputFormat.d.ts +2 -0
  316. package/api/types/MusicOutputFormat.js +3 -0
  317. package/api/types/OAuth2ClientCredsResponse.d.ts +3 -0
  318. package/api/types/OAuth2JwtResponse.d.ts +3 -0
  319. package/api/types/OpenAiAudioFormat.d.ts +6 -0
  320. package/{dist/api/types/AudioFormat.js → api/types/OpenAiAudioFormat.js} +2 -2
  321. package/api/types/OpenAiAudioInputFormat.d.ts +1 -1
  322. package/api/types/OpenAiAudioOutputFormat.d.ts +1 -1
  323. package/api/types/PermissionType.d.ts +2 -0
  324. package/api/types/PermissionType.js +2 -0
  325. package/api/types/PhoneNumberTransfer.d.ts +2 -0
  326. package/api/types/PrivateKeyJwtResponse.d.ts +3 -0
  327. package/api/types/ProcedureAtVersionInput.d.ts +1 -1
  328. package/api/types/ProcedureAtVersionOutput.d.ts +1 -1
  329. package/api/types/ProjectExtendedResponse.d.ts +1 -1
  330. package/api/types/ProjectResponse.d.ts +1 -1
  331. package/api/types/PromptAgentApiModelInput.d.ts +2 -0
  332. package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  333. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  334. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  335. package/api/types/PromptEvaluationCriteria.d.ts +6 -0
  336. package/api/types/ResponseUnitTestModel.d.ts +1 -1
  337. package/api/types/ReviewResponseModel.d.ts +1 -1
  338. package/api/types/ScimGroupResponseModel.d.ts +8 -0
  339. package/api/types/ScimGroupResponseModel.js +3 -0
  340. package/api/types/ScopedAnalysisResult.d.ts +1 -0
  341. package/api/types/SentimentAggregate.d.ts +8 -0
  342. package/api/types/SentimentAggregate.js +3 -0
  343. package/api/types/SimulationTestModel.d.ts +4 -2
  344. package/api/types/SlackBotAuthResponse.d.ts +3 -0
  345. package/api/types/SoftTimeoutConfig.d.ts +4 -2
  346. package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  347. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +4 -2
  348. package/api/types/SongSection.d.ts +2 -2
  349. package/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
  350. package/api/types/SpeechToTextWordResponseModel.d.ts +2 -0
  351. package/api/types/ToolCallUnitTestModel.d.ts +1 -1
  352. package/api/types/TopicDiscoverySettings.d.ts +5 -0
  353. package/api/types/TopicDiscoverySettings.js +3 -0
  354. package/api/types/TurnConfig.d.ts +4 -0
  355. package/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
  356. package/api/types/UpdateAgentProcedureParams.d.ts +3 -0
  357. package/api/types/UpdateAgentProcedureParams.js +3 -0
  358. package/api/types/UpdateBearerAuthRequest.d.ts +4 -0
  359. package/api/types/UpdateBearerAuthRequest.js +3 -0
  360. package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  361. package/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  362. package/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  363. package/api/types/UpdateSimulationTestRequest.d.ts +4 -2
  364. package/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  365. package/api/types/UrlSecretAuthResponse.d.ts +3 -0
  366. package/api/types/UuiTransferConfig.d.ts +18 -0
  367. package/api/types/UuiTransferConfig.js +3 -0
  368. package/api/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +6 -0
  369. package/api/types/UuiTransferConfigProtocolDiscriminatorMode.js +9 -0
  370. package/api/types/WebhookEventType.d.ts +2 -0
  371. package/api/types/WebhookEventType.js +2 -0
  372. package/api/types/WebhookHmacSettings.d.ts +1 -1
  373. package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  374. package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  375. package/api/types/WhatsAppAuthResponse.d.ts +3 -0
  376. package/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +4 -4
  377. package/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +4 -4
  378. package/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  379. package/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  380. package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
  381. package/api/types/WorkspaceGroupPermission.d.ts +2 -0
  382. package/api/types/WorkspaceGroupPermission.js +2 -0
  383. package/api/types/WorkspaceGroupResponseModel.d.ts +2 -0
  384. package/api/types/index.d.ts +35 -10
  385. package/api/types/index.js +35 -10
  386. package/biome.json +1 -1
  387. package/core/fetcher/Fetcher.d.ts +0 -8
  388. package/core/fetcher/Fetcher.js +8 -13
  389. package/core/fetcher/getResponseBody.js +0 -11
  390. package/core/fetcher/requestWithRetries.js +1 -4
  391. package/core/file/file.js +2 -3
  392. package/core/schemas/builders/enum/enum.d.ts +0 -1
  393. package/core/schemas/builders/enum/enum.js +0 -7
  394. package/core/schemas/builders/enum/index.d.ts +1 -1
  395. package/core/schemas/builders/enum/index.js +1 -2
  396. package/core/schemas/builders/schema-utils/JsonError.js +1 -2
  397. package/core/schemas/builders/schema-utils/ParseError.js +1 -2
  398. package/core/url/index.d.ts +0 -1
  399. package/core/url/index.js +1 -3
  400. package/core/url/qs.d.ts +1 -2
  401. package/core/url/qs.js +12 -24
  402. package/dist/BaseClient.js +2 -2
  403. package/dist/Client.d.ts +2 -2
  404. package/dist/Client.js +5 -5
  405. package/dist/api/resources/audioIsolation/client/Client.js +4 -8
  406. package/dist/api/resources/audioNative/client/Client.js +4 -4
  407. package/dist/api/resources/conversationalAi/client/Client.js +4 -8
  408. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -2
  409. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +15 -27
  410. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +46 -0
  411. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +174 -13
  412. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.d.ts +13 -0
  413. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.js +3 -0
  414. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +1 -0
  415. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +1 -1
  416. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +2 -10
  417. package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
  418. package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
  419. package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
  420. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +1 -5
  421. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +1 -1
  422. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -5
  423. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +1 -1
  424. package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
  425. package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +1 -5
  426. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +6 -10
  427. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  428. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +16 -28
  429. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +7 -1
  430. package/dist/api/resources/conversationalAi/resources/conversations/resources/analysis/client/Client.js +2 -2
  431. package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
  432. package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
  433. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +2 -2
  434. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
  435. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +1 -0
  436. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  437. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +9 -11
  438. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
  439. package/dist/api/resources/conversationalAi/resources/conversations/resources/tags/client/Client.js +7 -11
  440. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +6 -2
  441. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +15 -6
  442. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -1
  443. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +15 -0
  444. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.d.ts +13 -0
  445. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js +3 -0
  446. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.d.ts +1 -0
  447. package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/requests/index.js +2 -0
  448. package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
  449. package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +1 -1
  450. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -11
  451. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -3
  452. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +12 -24
  453. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -5
  454. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunks/client/Client.js +1 -5
  455. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/summaries/client/Client.js +1 -5
  456. package/dist/api/resources/conversationalAi/resources/llm/client/Client.js +1 -1
  457. package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
  458. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -5
  459. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  460. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
  461. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
  462. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +4 -4
  463. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  464. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  465. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
  466. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +6 -14
  467. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +6 -14
  468. package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
  469. package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
  470. package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +7 -11
  471. package/dist/api/resources/conversationalAi/resources/tests/resources/folders/client/Client.js +4 -8
  472. package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +3 -7
  473. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -18
  474. package/dist/api/resources/conversationalAi/resources/tools/resources/executions/client/Client.js +1 -5
  475. package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -2
  476. package/dist/api/resources/conversationalAi/resources/users/client/Client.js +1 -5
  477. package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +2 -2
  478. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +4 -8
  479. package/dist/api/resources/dubbing/client/Client.d.ts +4 -0
  480. package/dist/api/resources/dubbing/client/Client.js +40 -10
  481. package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +13 -1
  482. package/dist/api/resources/dubbing/resources/audio/client/Client.js +1 -1
  483. package/dist/api/resources/dubbing/resources/resource/client/Client.js +6 -6
  484. package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
  485. package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
  486. package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +3 -3
  487. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
  488. package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  489. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +1 -5
  490. package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +1 -1
  491. package/dist/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +6 -0
  492. package/dist/api/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +9 -0
  493. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +5 -0
  494. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +8 -0
  495. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +8 -0
  496. package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +11 -0
  497. package/dist/api/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +6 -0
  498. package/dist/api/resources/dubbing/types/DubbingListRequestOrderBy.js +9 -0
  499. package/dist/api/resources/dubbing/types/index.d.ts +4 -0
  500. package/dist/api/resources/dubbing/types/index.js +4 -0
  501. package/dist/api/resources/environmentVariables/client/Client.js +4 -8
  502. package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  503. package/dist/api/resources/forcedAlignment/client/Client.js +1 -1
  504. package/dist/api/resources/history/client/Client.js +5 -9
  505. package/dist/api/resources/index.d.ts +1 -0
  506. package/dist/api/resources/index.js +1 -0
  507. package/dist/api/resources/models/client/Client.js +1 -1
  508. package/dist/api/resources/music/client/Client.d.ts +1 -1
  509. package/dist/api/resources/music/client/Client.js +16 -30
  510. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +4 -4
  511. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -4
  512. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +3 -3
  513. package/dist/api/resources/music/resources/compositionPlan/client/Client.js +1 -1
  514. package/dist/api/resources/music/types/BodyComposeMusicV1MusicPostCompositionPlan.d.ts +0 -3
  515. package/dist/api/resources/music/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPostCompositionPlan.d.ts +0 -3
  516. package/dist/api/resources/music/types/BodyStreamComposedMusicV1MusicStreamPostCompositionPlan.d.ts +0 -3
  517. package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +29 -0
  518. package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +32 -0
  519. package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +29 -0
  520. package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.js +32 -0
  521. package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +29 -0
  522. package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.js +32 -0
  523. package/dist/api/resources/music/types/index.d.ts +3 -0
  524. package/dist/api/resources/music/types/index.js +3 -0
  525. package/dist/api/resources/productions/resources/orders/client/Client.js +5 -9
  526. package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +1 -1
  527. package/dist/api/resources/productions/resources/orders/resources/items/client/Client.js +2 -2
  528. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
  529. package/dist/api/resources/productions/resources/orders/resources/media/client/Client.js +2 -2
  530. package/dist/api/resources/pronunciationDictionaries/client/Client.js +6 -10
  531. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +3 -3
  532. package/dist/api/resources/samples/client/Client.js +1 -1
  533. package/dist/api/resources/serviceAccounts/client/Client.js +1 -1
  534. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +4 -4
  535. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +2 -0
  536. package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  537. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +4 -0
  538. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js +3 -0
  539. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  540. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  541. package/dist/api/resources/speechEngine/client/Client.js +5 -9
  542. package/dist/api/resources/speechToSpeech/client/Client.js +2 -10
  543. package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
  544. package/dist/api/resources/speechToText/client/Client.js +5 -6
  545. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
  546. package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +2 -2
  547. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +6 -0
  548. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +9 -0
  549. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  550. package/dist/api/resources/speechToText/types/index.js +1 -0
  551. package/dist/api/resources/studio/client/Client.js +1 -1
  552. package/dist/api/resources/studio/resources/projects/client/Client.js +7 -11
  553. package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
  554. package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
  555. package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
  556. package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
  557. package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
  558. package/dist/api/resources/textToDialogue/client/Client.js +4 -20
  559. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  560. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  561. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  562. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  563. package/dist/api/resources/textToSoundEffects/client/Client.js +1 -5
  564. package/dist/api/resources/textToSpeech/client/Client.js +4 -20
  565. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
  566. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
  567. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  568. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  569. package/dist/api/resources/textToVoice/client/Client.js +4 -16
  570. package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  571. package/dist/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
  572. package/dist/api/resources/tokens/resources/singleUse/client/Client.js +1 -1
  573. package/dist/api/resources/usage/client/Client.js +1 -5
  574. package/dist/api/resources/user/client/Client.js +1 -1
  575. package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
  576. package/dist/api/resources/voices/client/Client.d.ts +17 -17
  577. package/dist/api/resources/voices/client/Client.js +50 -66
  578. package/dist/api/resources/voices/resources/ivc/client/Client.js +1 -1
  579. package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
  580. package/dist/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  581. package/dist/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  582. package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
  583. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -5
  584. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
  585. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
  586. package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
  587. package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
  588. package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
  589. package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
  590. package/dist/api/resources/voices/resources/settings/client/Client.js +3 -3
  591. package/dist/api/resources/webhooks/client/Client.js +4 -8
  592. package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  593. package/dist/api/resources/workspace/client/Client.d.ts +18 -1
  594. package/dist/api/resources/workspace/client/Client.js +99 -0
  595. package/dist/api/resources/workspace/client/index.d.ts +1 -1
  596. package/dist/api/resources/workspace/client/index.js +15 -0
  597. package/dist/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +8 -0
  598. package/dist/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +3 -0
  599. package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
  600. package/dist/api/resources/workspace/client/requests/index.js +2 -0
  601. package/dist/api/resources/workspace/resources/analytics/resources/requests/client/Client.js +1 -1
  602. package/dist/api/resources/workspace/resources/auditLogs/client/Client.js +1 -5
  603. package/dist/api/resources/workspace/resources/authConnections/client/Client.js +4 -4
  604. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +4 -1
  605. package/dist/api/resources/workspace/resources/groups/client/Client.js +2 -6
  606. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  607. package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
  608. package/dist/api/resources/workspace/resources/members/client/Client.js +1 -1
  609. package/dist/api/resources/workspace/resources/resources/client/Client.js +3 -7
  610. package/dist/api/resources/workspace/resources/usage/client/Client.js +1 -1
  611. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -5
  612. package/dist/api/types/AgentBranchSummary.d.ts +2 -0
  613. package/dist/api/types/AgentConfig.d.ts +1 -1
  614. package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  615. package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  616. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  617. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  618. package/dist/api/types/AgentVersionParents.d.ts +1 -0
  619. package/dist/api/types/AnalysisProperty.d.ts +2 -0
  620. package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +3 -6
  621. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +3 -6
  622. package/dist/api/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  623. package/dist/api/types/AudioFilterId.d.ts +7 -0
  624. package/dist/api/types/AudioFilterId.js +10 -0
  625. package/dist/api/types/AuthConnectionStatus.d.ts +15 -0
  626. package/dist/api/types/AuthConnectionStatus.js +18 -0
  627. package/dist/api/types/BaseTurnConfig.d.ts +4 -0
  628. package/dist/api/types/BasicAuthResponse.d.ts +3 -0
  629. package/dist/api/types/BearerAuthResponse.d.ts +3 -0
  630. package/dist/api/types/CaptionStyleModel.d.ts +4 -0
  631. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +6 -0
  632. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +6 -0
  633. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +6 -0
  634. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +6 -0
  635. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +6 -0
  636. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +6 -0
  637. package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +6 -0
  638. package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +6 -0
  639. package/dist/api/types/CharacterAge.d.ts +6 -0
  640. package/dist/api/types/CharacterAge.js +9 -0
  641. package/dist/api/types/CharacterGender.d.ts +6 -0
  642. package/dist/api/types/CharacterGender.js +9 -0
  643. package/dist/api/types/CharacterMetadataResponseModel.d.ts +8 -0
  644. package/dist/api/types/CharacterMetadataResponseModel.js +3 -0
  645. package/dist/api/types/CharacterResponseModel.d.ts +6 -0
  646. package/dist/api/types/CharacterResponseModel.js +3 -0
  647. package/dist/api/types/CompositionPlanChunksItem.d.ts +1 -1
  648. package/dist/api/types/ConvAiWebhooks.d.ts +1 -1
  649. package/dist/api/types/ConversationConfigInput.d.ts +2 -0
  650. package/dist/api/types/ConversationConfigOutput.d.ts +2 -0
  651. package/dist/api/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  652. package/dist/api/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  653. package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  654. package/dist/api/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +3 -0
  655. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
  656. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
  657. package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +3 -0
  658. package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  659. package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  660. package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  661. package/dist/api/types/ConversationProduct.d.ts +6 -0
  662. package/dist/api/types/ConversationProduct.js +9 -0
  663. package/dist/api/types/ConversationReasoningModel.d.ts +4 -0
  664. package/dist/api/types/ConversationReasoningModel.js +3 -0
  665. package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
  666. package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -0
  667. package/dist/api/types/ConversationUserResponseModel.d.ts +3 -0
  668. package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  669. package/dist/api/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  670. package/dist/api/types/CreateAgentProcedureParams.d.ts +3 -0
  671. package/dist/api/types/CreateAgentProcedureParams.js +3 -0
  672. package/dist/api/types/CreateExotelPhoneNumberRequest.d.ts +2 -0
  673. package/dist/api/types/CreateResponseUnitTestRequest.d.ts +1 -1
  674. package/dist/api/types/CreateSimulationTestRequest.d.ts +4 -2
  675. package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  676. package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  677. package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  678. package/dist/api/types/CriteriaScoringMode.d.ts +5 -0
  679. package/dist/api/types/CriteriaScoringMode.js +8 -0
  680. package/dist/api/types/CustomGuardrailConfig.d.ts +1 -1
  681. package/dist/api/types/CustomHeaderAuthResponse.d.ts +3 -0
  682. package/dist/api/types/DeleteAgentProcedureParams.d.ts +3 -0
  683. package/dist/api/types/DeleteAgentProcedureParams.js +3 -0
  684. package/dist/api/types/FineTuningResponse.d.ts +2 -2
  685. package/dist/api/types/FrustratedConversationRef.d.ts +9 -0
  686. package/dist/api/types/FrustratedConversationRef.js +3 -0
  687. package/dist/api/types/FrustratedConversationRefOverallLabel.d.ts +6 -0
  688. package/dist/api/types/FrustratedConversationRefOverallLabel.js +9 -0
  689. package/dist/api/types/{GenerationChunk.d.ts → GenerationChunkInput.d.ts} +3 -3
  690. package/dist/api/types/GenerationChunkInput.js +3 -0
  691. package/dist/api/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  692. package/{api/types/GenerationChunkConditionStrength.js → dist/api/types/GenerationChunkInputConditionStrength.js} +2 -2
  693. package/{api/types/GenerationChunkContextAdherence.d.ts → dist/api/types/GenerationChunkInputContextAdherence.d.ts} +2 -2
  694. package/dist/api/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
  695. package/dist/api/types/GenerationChunkOutput.d.ts +17 -0
  696. package/dist/api/types/GenerationChunkOutput.js +3 -0
  697. package/dist/api/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  698. package/dist/api/types/GenerationChunkOutputConditionStrength.js +10 -0
  699. package/dist/api/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  700. package/dist/api/types/GenerationChunkOutputContextAdherence.js +10 -0
  701. package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  702. package/dist/api/types/GetSimulationTestResponseModel.d.ts +4 -2
  703. package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  704. package/dist/api/types/ListAgentProceduresParams.d.ts +3 -0
  705. package/dist/api/types/ListAgentProceduresParams.js +3 -0
  706. package/dist/api/types/ListAgentReferencesParams.d.ts +3 -0
  707. package/dist/api/types/ListAgentReferencesParams.js +3 -0
  708. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  709. package/dist/api/types/LiteralJsonSchemaPropertyType.d.ts +1 -7
  710. package/dist/api/types/LiteralJsonSchemaPropertyType.js +0 -7
  711. package/dist/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -7
  712. package/dist/api/types/LlmLiteralJsonSchemaPropertyType.js +0 -7
  713. package/dist/api/types/LockReason.d.ts +7 -0
  714. package/dist/api/types/LockReason.js +10 -0
  715. package/dist/api/types/McpToolConfigOverrideInput.d.ts +1 -1
  716. package/dist/api/types/McpToolConfigOverrideOutput.d.ts +1 -1
  717. package/dist/api/types/MergePreviewResponseModel.d.ts +33 -0
  718. package/dist/api/types/MergePreviewResponseModel.js +3 -0
  719. package/dist/api/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +13 -0
  720. package/dist/api/types/MergePreviewResponseModelPhoneNumbersItem.js +3 -0
  721. package/dist/api/types/MtlsAuthResponse.d.ts +3 -0
  722. package/dist/api/types/MusicAllowedOutputFormats.d.ts +2 -0
  723. package/dist/api/types/MusicAllowedOutputFormats.js +3 -0
  724. package/dist/api/types/MusicOnlyOutputFormats.d.ts +7 -0
  725. package/dist/api/types/MusicOnlyOutputFormats.js +10 -0
  726. package/dist/api/types/MusicOutputFormat.d.ts +2 -0
  727. package/dist/api/types/MusicOutputFormat.js +3 -0
  728. package/dist/api/types/OAuth2ClientCredsResponse.d.ts +3 -0
  729. package/dist/api/types/OAuth2JwtResponse.d.ts +3 -0
  730. package/dist/api/types/OpenAiAudioFormat.d.ts +6 -0
  731. package/{api/types/AudioFormat.js → dist/api/types/OpenAiAudioFormat.js} +2 -2
  732. package/dist/api/types/OpenAiAudioInputFormat.d.ts +1 -1
  733. package/dist/api/types/OpenAiAudioOutputFormat.d.ts +1 -1
  734. package/dist/api/types/PermissionType.d.ts +2 -0
  735. package/dist/api/types/PermissionType.js +2 -0
  736. package/dist/api/types/PhoneNumberTransfer.d.ts +2 -0
  737. package/dist/api/types/PrivateKeyJwtResponse.d.ts +3 -0
  738. package/dist/api/types/ProcedureAtVersionInput.d.ts +1 -1
  739. package/dist/api/types/ProcedureAtVersionOutput.d.ts +1 -1
  740. package/dist/api/types/ProjectExtendedResponse.d.ts +1 -1
  741. package/dist/api/types/ProjectResponse.d.ts +1 -1
  742. package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
  743. package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  744. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  745. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  746. package/dist/api/types/PromptEvaluationCriteria.d.ts +6 -0
  747. package/dist/api/types/ResponseUnitTestModel.d.ts +1 -1
  748. package/dist/api/types/ReviewResponseModel.d.ts +1 -1
  749. package/dist/api/types/ScimGroupResponseModel.d.ts +8 -0
  750. package/dist/api/types/ScimGroupResponseModel.js +3 -0
  751. package/dist/api/types/ScopedAnalysisResult.d.ts +1 -0
  752. package/dist/api/types/SentimentAggregate.d.ts +8 -0
  753. package/dist/api/types/SentimentAggregate.js +3 -0
  754. package/dist/api/types/SimulationTestModel.d.ts +4 -2
  755. package/dist/api/types/SlackBotAuthResponse.d.ts +3 -0
  756. package/dist/api/types/SoftTimeoutConfig.d.ts +4 -2
  757. package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  758. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +4 -2
  759. package/dist/api/types/SongSection.d.ts +2 -2
  760. package/dist/api/types/SpeakerSeparationResponseModel.d.ts +1 -1
  761. package/dist/api/types/SpeechToTextWordResponseModel.d.ts +2 -0
  762. package/dist/api/types/ToolCallUnitTestModel.d.ts +1 -1
  763. package/dist/api/types/TopicDiscoverySettings.d.ts +5 -0
  764. package/dist/api/types/TopicDiscoverySettings.js +3 -0
  765. package/dist/api/types/TurnConfig.d.ts +4 -0
  766. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +4 -0
  767. package/dist/api/types/UpdateAgentProcedureParams.d.ts +3 -0
  768. package/dist/api/types/UpdateAgentProcedureParams.js +3 -0
  769. package/dist/api/types/UpdateBearerAuthRequest.d.ts +4 -0
  770. package/dist/api/types/UpdateBearerAuthRequest.js +3 -0
  771. package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  772. package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  773. package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  774. package/dist/api/types/UpdateSimulationTestRequest.d.ts +4 -2
  775. package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  776. package/dist/api/types/UrlSecretAuthResponse.d.ts +3 -0
  777. package/dist/api/types/UuiTransferConfig.d.ts +18 -0
  778. package/dist/api/types/UuiTransferConfig.js +3 -0
  779. package/dist/api/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +6 -0
  780. package/dist/api/types/UuiTransferConfigProtocolDiscriminatorMode.js +9 -0
  781. package/dist/api/types/WebhookEventType.d.ts +2 -0
  782. package/dist/api/types/WebhookEventType.js +2 -0
  783. package/dist/api/types/WebhookHmacSettings.d.ts +1 -1
  784. package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  785. package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  786. package/dist/api/types/WhatsAppAuthResponse.d.ts +3 -0
  787. package/dist/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +4 -4
  788. package/dist/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +4 -4
  789. package/dist/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  790. package/dist/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  791. package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -0
  792. package/dist/api/types/WorkspaceGroupPermission.d.ts +2 -0
  793. package/dist/api/types/WorkspaceGroupPermission.js +2 -0
  794. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +2 -0
  795. package/dist/api/types/index.d.ts +35 -10
  796. package/dist/api/types/index.js +35 -10
  797. package/dist/core/fetcher/Fetcher.d.ts +0 -8
  798. package/dist/core/fetcher/Fetcher.js +8 -13
  799. package/dist/core/fetcher/getResponseBody.js +0 -11
  800. package/dist/core/fetcher/requestWithRetries.js +1 -4
  801. package/dist/core/file/file.js +2 -3
  802. package/dist/core/schemas/builders/enum/enum.d.ts +0 -1
  803. package/dist/core/schemas/builders/enum/enum.js +0 -7
  804. package/dist/core/schemas/builders/enum/index.d.ts +1 -1
  805. package/dist/core/schemas/builders/enum/index.js +1 -2
  806. package/dist/core/schemas/builders/schema-utils/JsonError.js +1 -2
  807. package/dist/core/schemas/builders/schema-utils/ParseError.js +1 -2
  808. package/dist/core/url/index.d.ts +0 -1
  809. package/dist/core/url/index.js +1 -3
  810. package/dist/core/url/qs.d.ts +1 -2
  811. package/dist/core/url/qs.js +12 -24
  812. package/dist/errors/ElevenLabsError.d.ts +1 -3
  813. package/dist/errors/ElevenLabsError.js +1 -4
  814. package/dist/errors/ElevenLabsTimeoutError.d.ts +1 -4
  815. package/dist/errors/ElevenLabsTimeoutError.js +1 -4
  816. package/dist/errors/handleNonStatusCodeError.js +1 -4
  817. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  818. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
  819. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  820. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
  821. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  822. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
  823. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  824. package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +3 -1
  825. package/dist/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +7 -0
  826. package/dist/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +39 -0
  827. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +7 -0
  828. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +39 -0
  829. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +7 -0
  830. package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +39 -0
  831. package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +7 -0
  832. package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderBy.js +39 -0
  833. package/dist/serialization/resources/dubbing/types/index.d.ts +4 -0
  834. package/dist/serialization/resources/dubbing/types/index.js +4 -0
  835. package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  836. package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
  837. package/dist/serialization/resources/index.d.ts +1 -0
  838. package/dist/serialization/resources/index.js +1 -0
  839. package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +7 -0
  840. package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +66 -0
  841. package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +7 -0
  842. package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +66 -0
  843. package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +7 -0
  844. package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +66 -0
  845. package/dist/serialization/resources/music/types/index.d.ts +3 -0
  846. package/dist/serialization/resources/music/types/index.js +3 -0
  847. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  848. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  849. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  850. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  851. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +7 -0
  852. package/dist/serialization/{types/CoachingAgentSettings.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +7 -7
  853. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  854. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  855. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +7 -0
  856. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +39 -0
  857. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  858. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  859. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  860. package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
  861. package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  862. package/dist/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
  863. package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  864. package/dist/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
  865. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  866. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
  867. package/dist/serialization/resources/workspace/client/index.d.ts +1 -0
  868. package/dist/serialization/resources/workspace/client/index.js +17 -0
  869. package/dist/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +9 -0
  870. package/dist/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +41 -0
  871. package/dist/serialization/resources/workspace/client/requests/index.d.ts +1 -0
  872. package/dist/serialization/resources/workspace/client/requests/index.js +5 -0
  873. package/dist/serialization/resources/workspace/index.d.ts +1 -0
  874. package/dist/serialization/resources/workspace/index.js +1 -0
  875. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +5 -1
  876. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +2 -0
  877. package/dist/serialization/types/AgentBranchSummary.d.ts +1 -0
  878. package/dist/serialization/types/AgentBranchSummary.js +1 -0
  879. package/dist/serialization/types/AgentConfig.d.ts +1 -1
  880. package/dist/serialization/types/AgentConfig.js +1 -1
  881. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  882. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
  883. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  884. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
  885. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  886. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  887. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  888. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  889. package/dist/serialization/types/AgentVersionParents.d.ts +1 -0
  890. package/dist/serialization/types/AgentVersionParents.js +1 -0
  891. package/dist/serialization/types/AnalysisProperty.d.ts +1 -0
  892. package/dist/serialization/types/AnalysisProperty.js +1 -0
  893. package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +4 -4
  894. package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +4 -4
  895. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +4 -4
  896. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +4 -4
  897. package/dist/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  898. package/dist/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
  899. package/dist/serialization/types/AudioFilterId.d.ts +7 -0
  900. package/{serialization/types/OAuthConnectionStatus.js → dist/serialization/types/AudioFilterId.js} +2 -2
  901. package/dist/serialization/types/AuthConnectionStatus.d.ts +7 -0
  902. package/dist/serialization/types/AuthConnectionStatus.js +39 -0
  903. package/dist/serialization/types/BaseTurnConfig.d.ts +2 -0
  904. package/dist/serialization/types/BaseTurnConfig.js +2 -0
  905. package/dist/serialization/types/BasicAuthResponse.d.ts +4 -0
  906. package/dist/serialization/types/BasicAuthResponse.js +4 -0
  907. package/dist/serialization/types/BearerAuthResponse.d.ts +4 -0
  908. package/dist/serialization/types/BearerAuthResponse.js +4 -0
  909. package/dist/serialization/types/CaptionStyleModel.d.ts +4 -0
  910. package/dist/serialization/types/CaptionStyleModel.js +4 -0
  911. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
  912. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +11 -1
  913. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
  914. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +11 -1
  915. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
  916. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +11 -1
  917. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
  918. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +11 -1
  919. package/dist/serialization/types/CharacterAge.d.ts +7 -0
  920. package/dist/serialization/types/{AudioFormat.js → CharacterAge.js} +2 -2
  921. package/dist/serialization/types/CharacterGender.d.ts +7 -0
  922. package/{serialization/types/AudioFormat.js → dist/serialization/types/CharacterGender.js} +2 -2
  923. package/dist/serialization/types/CharacterMetadataResponseModel.d.ts +15 -0
  924. package/dist/serialization/types/CharacterMetadataResponseModel.js +47 -0
  925. package/dist/serialization/types/CharacterResponseModel.d.ts +12 -0
  926. package/dist/serialization/types/CharacterResponseModel.js +44 -0
  927. package/dist/serialization/types/CompositionPlanChunksItem.d.ts +2 -2
  928. package/dist/serialization/types/CompositionPlanChunksItem.js +2 -2
  929. package/dist/serialization/types/ConversationConfigInput.d.ts +2 -0
  930. package/dist/serialization/types/ConversationConfigInput.js +2 -0
  931. package/dist/serialization/types/ConversationConfigOutput.d.ts +2 -0
  932. package/dist/serialization/types/ConversationConfigOutput.js +2 -0
  933. package/dist/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  934. package/dist/serialization/types/ConversationConfigWorkflowOverrideInput.js +2 -0
  935. package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  936. package/dist/serialization/types/ConversationConfigWorkflowOverrideOutput.js +2 -0
  937. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  938. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
  939. package/dist/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +4 -0
  940. package/dist/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.js +4 -0
  941. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +3 -0
  942. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +3 -0
  943. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +3 -0
  944. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +3 -0
  945. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +4 -0
  946. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +4 -0
  947. package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  948. package/dist/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
  949. package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  950. package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
  951. package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  952. package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
  953. package/dist/serialization/types/ConversationProduct.d.ts +7 -0
  954. package/dist/serialization/types/{OAuthConnectionStatus.js → ConversationProduct.js} +2 -2
  955. package/dist/serialization/types/ConversationReasoningModel.d.ts +10 -0
  956. package/dist/serialization/types/{NoCoachingSettings.js → ConversationReasoningModel.js} +4 -4
  957. package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
  958. package/dist/serialization/types/ConversationSimulationSpecification.js +1 -1
  959. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +3 -0
  960. package/dist/serialization/types/ConversationSummaryResponseModel.js +3 -0
  961. package/dist/serialization/types/ConversationUserResponseModel.d.ts +4 -0
  962. package/dist/serialization/types/ConversationUserResponseModel.js +4 -0
  963. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  964. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
  965. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  966. package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
  967. package/dist/serialization/types/CreateAgentProcedureParams.d.ts +9 -0
  968. package/dist/serialization/types/CreateAgentProcedureParams.js +41 -0
  969. package/dist/serialization/types/CreateExotelPhoneNumberRequest.d.ts +1 -0
  970. package/dist/serialization/types/CreateExotelPhoneNumberRequest.js +1 -0
  971. package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
  972. package/dist/serialization/types/CreateResponseUnitTestRequest.js +1 -1
  973. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +2 -1
  974. package/dist/serialization/types/CreateSimulationTestRequest.js +2 -1
  975. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  976. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  977. package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  978. package/dist/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
  979. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +1 -0
  980. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +1 -0
  981. package/dist/serialization/types/CriteriaScoringMode.d.ts +7 -0
  982. package/dist/serialization/types/CriteriaScoringMode.js +39 -0
  983. package/dist/serialization/types/CustomHeaderAuthResponse.d.ts +4 -0
  984. package/dist/serialization/types/CustomHeaderAuthResponse.js +4 -0
  985. package/dist/serialization/types/DeleteAgentProcedureParams.d.ts +9 -0
  986. package/dist/serialization/types/DeleteAgentProcedureParams.js +41 -0
  987. package/dist/serialization/types/FineTuningResponse.d.ts +2 -2
  988. package/dist/serialization/types/FineTuningResponse.js +2 -2
  989. package/dist/serialization/types/FrustratedConversationRef.d.ts +15 -0
  990. package/dist/serialization/types/FrustratedConversationRef.js +47 -0
  991. package/dist/serialization/types/FrustratedConversationRefOverallLabel.d.ts +7 -0
  992. package/dist/serialization/types/FrustratedConversationRefOverallLabel.js +39 -0
  993. package/dist/serialization/types/GenerationChunkInput.d.ts +18 -0
  994. package/dist/serialization/types/{GenerationChunk.js → GenerationChunkInput.js} +6 -6
  995. package/dist/serialization/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  996. package/dist/serialization/types/GenerationChunkInputConditionStrength.js +39 -0
  997. package/dist/serialization/types/GenerationChunkInputContextAdherence.d.ts +7 -0
  998. package/dist/serialization/types/{GenerationChunkContextAdherence.js → GenerationChunkInputContextAdherence.js} +2 -2
  999. package/dist/serialization/types/GenerationChunkOutput.d.ts +18 -0
  1000. package/dist/serialization/types/GenerationChunkOutput.js +50 -0
  1001. package/dist/serialization/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  1002. package/dist/serialization/types/GenerationChunkOutputConditionStrength.js +39 -0
  1003. package/dist/serialization/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  1004. package/dist/serialization/types/GenerationChunkOutputContextAdherence.js +39 -0
  1005. package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  1006. package/dist/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
  1007. package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +2 -1
  1008. package/dist/serialization/types/GetSimulationTestResponseModel.js +2 -1
  1009. package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  1010. package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
  1011. package/dist/serialization/types/ListAgentProceduresParams.d.ts +9 -0
  1012. package/dist/serialization/types/{CodeToolContextVariable.js → ListAgentProceduresParams.js} +3 -4
  1013. package/dist/serialization/types/ListAgentReferencesParams.d.ts +9 -0
  1014. package/{serialization/types/CodeToolContextVariable.js → dist/serialization/types/ListAgentReferencesParams.js} +3 -4
  1015. package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  1016. package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  1017. package/dist/serialization/types/LiteralJsonSchemaPropertyType.d.ts +1 -1
  1018. package/dist/serialization/types/LiteralJsonSchemaPropertyType.js +7 -1
  1019. package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -1
  1020. package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.js +7 -1
  1021. package/dist/serialization/types/LockReason.d.ts +7 -0
  1022. package/dist/serialization/types/{GenerationChunkConditionStrength.js → LockReason.js} +2 -2
  1023. package/dist/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
  1024. package/dist/serialization/types/McpToolConfigOverrideInput.js +1 -1
  1025. package/dist/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
  1026. package/dist/serialization/types/McpToolConfigOverrideOutput.js +1 -1
  1027. package/dist/serialization/types/MergePreviewResponseModel.d.ts +30 -0
  1028. package/dist/serialization/types/MergePreviewResponseModel.js +62 -0
  1029. package/dist/serialization/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +19 -0
  1030. package/dist/serialization/types/MergePreviewResponseModelPhoneNumbersItem.js +51 -0
  1031. package/dist/serialization/types/MtlsAuthResponse.d.ts +4 -0
  1032. package/dist/serialization/types/MtlsAuthResponse.js +4 -0
  1033. package/dist/serialization/types/MusicAllowedOutputFormats.d.ts +9 -0
  1034. package/dist/serialization/types/MusicAllowedOutputFormats.js +41 -0
  1035. package/dist/serialization/types/MusicOnlyOutputFormats.d.ts +7 -0
  1036. package/dist/serialization/types/MusicOnlyOutputFormats.js +39 -0
  1037. package/dist/serialization/types/MusicOutputFormat.d.ts +8 -0
  1038. package/dist/serialization/types/MusicOutputFormat.js +40 -0
  1039. package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +4 -0
  1040. package/dist/serialization/types/OAuth2ClientCredsResponse.js +4 -0
  1041. package/dist/serialization/types/OAuth2JwtResponse.d.ts +4 -0
  1042. package/dist/serialization/types/OAuth2JwtResponse.js +4 -0
  1043. package/dist/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
  1044. package/dist/serialization/types/OpenAiAudioFormat.js +39 -0
  1045. package/dist/serialization/types/OpenAiAudioInputFormat.d.ts +2 -2
  1046. package/dist/serialization/types/OpenAiAudioInputFormat.js +2 -2
  1047. package/dist/serialization/types/OpenAiAudioOutputFormat.d.ts +2 -2
  1048. package/dist/serialization/types/OpenAiAudioOutputFormat.js +2 -2
  1049. package/dist/serialization/types/PermissionType.d.ts +1 -1
  1050. package/dist/serialization/types/PermissionType.js +2 -0
  1051. package/dist/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  1052. package/dist/serialization/types/PhoneNumberTransfer.js +2 -0
  1053. package/dist/serialization/types/PrivateKeyJwtResponse.d.ts +4 -0
  1054. package/dist/serialization/types/PrivateKeyJwtResponse.js +4 -0
  1055. package/dist/serialization/types/ProcedureAtVersionInput.d.ts +1 -1
  1056. package/dist/serialization/types/ProcedureAtVersionInput.js +1 -1
  1057. package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +1 -1
  1058. package/dist/serialization/types/ProcedureAtVersionOutput.js +1 -1
  1059. package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -1
  1060. package/dist/serialization/types/ProjectExtendedResponse.js +1 -1
  1061. package/dist/serialization/types/ProjectResponse.d.ts +1 -1
  1062. package/dist/serialization/types/ProjectResponse.js +1 -1
  1063. package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  1064. package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
  1065. package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  1066. package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
  1067. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  1068. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  1069. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  1070. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  1071. package/dist/serialization/types/PromptEvaluationCriteria.d.ts +4 -0
  1072. package/dist/serialization/types/PromptEvaluationCriteria.js +4 -0
  1073. package/dist/serialization/types/ResponseUnitTestModel.d.ts +1 -1
  1074. package/dist/serialization/types/ResponseUnitTestModel.js +1 -1
  1075. package/dist/serialization/types/ReviewResponseModel.d.ts +1 -1
  1076. package/dist/serialization/types/ReviewResponseModel.js +1 -1
  1077. package/dist/serialization/types/ScimGroupResponseModel.d.ts +14 -0
  1078. package/dist/serialization/types/ScimGroupResponseModel.js +46 -0
  1079. package/dist/serialization/types/ScopedAnalysisResult.d.ts +1 -0
  1080. package/dist/serialization/types/ScopedAnalysisResult.js +1 -0
  1081. package/dist/serialization/types/SentimentAggregate.d.ts +14 -0
  1082. package/dist/serialization/types/SentimentAggregate.js +46 -0
  1083. package/dist/serialization/types/SimulationTestModel.d.ts +2 -1
  1084. package/dist/serialization/types/SimulationTestModel.js +2 -1
  1085. package/dist/serialization/types/SlackBotAuthResponse.d.ts +4 -0
  1086. package/dist/serialization/types/SlackBotAuthResponse.js +4 -0
  1087. package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  1088. package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
  1089. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  1090. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  1091. package/dist/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
  1092. package/dist/serialization/types/SpeakerSeparationResponseModel.js +1 -1
  1093. package/dist/serialization/types/SpeechToTextWordResponseModel.d.ts +1 -0
  1094. package/dist/serialization/types/SpeechToTextWordResponseModel.js +1 -0
  1095. package/dist/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
  1096. package/dist/serialization/types/ToolCallUnitTestModel.js +1 -1
  1097. package/dist/serialization/types/TopicDiscoverySettings.d.ts +7 -0
  1098. package/dist/serialization/types/TopicDiscoverySettings.js +39 -0
  1099. package/dist/serialization/types/TurnConfig.d.ts +2 -0
  1100. package/dist/serialization/types/TurnConfig.js +2 -0
  1101. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  1102. package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  1103. package/dist/serialization/types/UpdateAgentProcedureParams.d.ts +9 -0
  1104. package/dist/serialization/types/UpdateAgentProcedureParams.js +41 -0
  1105. package/dist/serialization/types/UpdateBearerAuthRequest.d.ts +10 -0
  1106. package/{serialization/types/CodeToolAllowedDomain.js → dist/serialization/types/UpdateBearerAuthRequest.js} +4 -4
  1107. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  1108. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
  1109. package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  1110. package/dist/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
  1111. package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  1112. package/dist/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
  1113. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +2 -1
  1114. package/dist/serialization/types/UpdateSimulationTestRequest.js +2 -1
  1115. package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  1116. package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
  1117. package/dist/serialization/types/UrlSecretAuthResponse.d.ts +4 -0
  1118. package/dist/serialization/types/UrlSecretAuthResponse.js +4 -0
  1119. package/dist/serialization/types/UuiTransferConfig.d.ts +12 -0
  1120. package/dist/serialization/types/UuiTransferConfig.js +44 -0
  1121. package/dist/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +7 -0
  1122. package/dist/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.js +39 -0
  1123. package/dist/serialization/types/WebhookEventType.d.ts +1 -1
  1124. package/dist/serialization/types/WebhookEventType.js +7 -1
  1125. package/dist/serialization/types/WebhookHmacSettings.d.ts +1 -1
  1126. package/dist/serialization/types/WebhookHmacSettings.js +1 -1
  1127. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  1128. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
  1129. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  1130. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
  1131. package/dist/serialization/types/WhatsAppAuthResponse.d.ts +4 -0
  1132. package/dist/serialization/types/WhatsAppAuthResponse.js +4 -0
  1133. package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -2
  1134. package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -2
  1135. package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -2
  1136. package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -2
  1137. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  1138. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  1139. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  1140. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  1141. package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
  1142. package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
  1143. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  1144. package/dist/serialization/types/WorkspaceGroupPermission.js +2 -0
  1145. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +3 -0
  1146. package/dist/serialization/types/WorkspaceGroupResponseModel.js +3 -0
  1147. package/dist/serialization/types/index.d.ts +35 -10
  1148. package/dist/serialization/types/index.js +35 -10
  1149. package/dist/version.d.ts +1 -1
  1150. package/dist/version.js +1 -1
  1151. package/errors/ElevenLabsError.d.ts +1 -3
  1152. package/errors/ElevenLabsError.js +1 -4
  1153. package/errors/ElevenLabsTimeoutError.d.ts +1 -4
  1154. package/errors/ElevenLabsTimeoutError.js +1 -4
  1155. package/errors/handleNonStatusCodeError.js +1 -4
  1156. package/package.json +6 -6
  1157. package/reference.md +335 -29
  1158. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  1159. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -1
  1160. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +1 -1
  1161. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +1 -1
  1162. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +1 -1
  1163. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +1 -1
  1164. package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.d.ts +1 -1
  1165. package/serialization/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/requests/SegmentCreatePayload.js +3 -1
  1166. package/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.d.ts +7 -0
  1167. package/serialization/resources/dubbing/types/DubbingListRequestCreationSourcesItem.js +39 -0
  1168. package/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.d.ts +7 -0
  1169. package/serialization/resources/dubbing/types/DubbingListRequestDubbingModelsItem.js +39 -0
  1170. package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.d.ts +7 -0
  1171. package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatusesItem.js +39 -0
  1172. package/serialization/resources/dubbing/types/DubbingListRequestOrderBy.d.ts +7 -0
  1173. package/serialization/resources/dubbing/types/DubbingListRequestOrderBy.js +39 -0
  1174. package/serialization/resources/dubbing/types/index.d.ts +4 -0
  1175. package/serialization/resources/dubbing/types/index.js +4 -0
  1176. package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +1 -1
  1177. package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +1 -1
  1178. package/serialization/resources/index.d.ts +1 -0
  1179. package/serialization/resources/index.js +1 -0
  1180. package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +7 -0
  1181. package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +66 -0
  1182. package/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +7 -0
  1183. package/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +66 -0
  1184. package/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +7 -0
  1185. package/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +66 -0
  1186. package/serialization/resources/music/types/index.d.ts +3 -0
  1187. package/serialization/resources/music/types/index.js +3 -0
  1188. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +1 -0
  1189. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +1 -0
  1190. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +2 -0
  1191. package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +2 -0
  1192. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.d.ts +7 -0
  1193. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js +43 -0
  1194. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +1 -0
  1195. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +1 -0
  1196. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.d.ts +7 -0
  1197. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestMultichannelOutputStyle.js +39 -0
  1198. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  1199. package/serialization/resources/speechToText/types/index.js +1 -0
  1200. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +1 -1
  1201. package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +1 -1
  1202. package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  1203. package/serialization/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.js +1 -1
  1204. package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  1205. package/serialization/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.js +1 -1
  1206. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -1
  1207. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -1
  1208. package/serialization/resources/workspace/client/index.d.ts +1 -0
  1209. package/serialization/resources/workspace/client/index.js +17 -0
  1210. package/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +9 -0
  1211. package/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +41 -0
  1212. package/serialization/resources/workspace/client/requests/index.d.ts +1 -0
  1213. package/serialization/resources/workspace/client/requests/index.js +5 -0
  1214. package/serialization/resources/workspace/index.d.ts +1 -0
  1215. package/serialization/resources/workspace/index.js +1 -0
  1216. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +5 -1
  1217. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +2 -0
  1218. package/serialization/types/AgentBranchSummary.d.ts +1 -0
  1219. package/serialization/types/AgentBranchSummary.js +1 -0
  1220. package/serialization/types/AgentConfig.d.ts +1 -1
  1221. package/serialization/types/AgentConfig.js +1 -1
  1222. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  1223. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +1 -1
  1224. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  1225. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +1 -1
  1226. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  1227. package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  1228. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  1229. package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  1230. package/serialization/types/AgentVersionParents.d.ts +1 -0
  1231. package/serialization/types/AgentVersionParents.js +1 -0
  1232. package/serialization/types/AnalysisProperty.d.ts +1 -0
  1233. package/serialization/types/AnalysisProperty.js +1 -0
  1234. package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +4 -4
  1235. package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +4 -4
  1236. package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +4 -4
  1237. package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +4 -4
  1238. package/serialization/types/ApiIntegrationWebhookOverrides.d.ts +2 -2
  1239. package/serialization/types/ApiIntegrationWebhookOverrides.js +2 -2
  1240. package/serialization/types/AudioFilterId.d.ts +7 -0
  1241. package/serialization/types/AudioFilterId.js +39 -0
  1242. package/serialization/types/AuthConnectionStatus.d.ts +7 -0
  1243. package/serialization/types/AuthConnectionStatus.js +39 -0
  1244. package/serialization/types/BaseTurnConfig.d.ts +2 -0
  1245. package/serialization/types/BaseTurnConfig.js +2 -0
  1246. package/serialization/types/BasicAuthResponse.d.ts +4 -0
  1247. package/serialization/types/BasicAuthResponse.js +4 -0
  1248. package/serialization/types/BearerAuthResponse.d.ts +4 -0
  1249. package/serialization/types/BearerAuthResponse.js +4 -0
  1250. package/serialization/types/CaptionStyleModel.d.ts +4 -0
  1251. package/serialization/types/CaptionStyleModel.js +4 -0
  1252. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
  1253. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +11 -1
  1254. package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
  1255. package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +11 -1
  1256. package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
  1257. package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +11 -1
  1258. package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
  1259. package/serialization/types/CaptionStyleWordAnimationModelExitType.js +11 -1
  1260. package/serialization/types/CharacterAge.d.ts +7 -0
  1261. package/serialization/types/CharacterAge.js +39 -0
  1262. package/serialization/types/CharacterGender.d.ts +7 -0
  1263. package/serialization/types/CharacterGender.js +39 -0
  1264. package/serialization/types/CharacterMetadataResponseModel.d.ts +15 -0
  1265. package/serialization/types/CharacterMetadataResponseModel.js +47 -0
  1266. package/serialization/types/CharacterResponseModel.d.ts +12 -0
  1267. package/serialization/types/CharacterResponseModel.js +44 -0
  1268. package/serialization/types/CompositionPlanChunksItem.d.ts +2 -2
  1269. package/serialization/types/CompositionPlanChunksItem.js +2 -2
  1270. package/serialization/types/ConversationConfigInput.d.ts +2 -0
  1271. package/serialization/types/ConversationConfigInput.js +2 -0
  1272. package/serialization/types/ConversationConfigOutput.d.ts +2 -0
  1273. package/serialization/types/ConversationConfigOutput.js +2 -0
  1274. package/serialization/types/ConversationConfigWorkflowOverrideInput.d.ts +2 -0
  1275. package/serialization/types/ConversationConfigWorkflowOverrideInput.js +2 -0
  1276. package/serialization/types/ConversationConfigWorkflowOverrideOutput.d.ts +2 -0
  1277. package/serialization/types/ConversationConfigWorkflowOverrideOutput.js +2 -0
  1278. package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  1279. package/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
  1280. package/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +4 -0
  1281. package/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.js +4 -0
  1282. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +3 -0
  1283. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +3 -0
  1284. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +3 -0
  1285. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +3 -0
  1286. package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +4 -0
  1287. package/serialization/types/ConversationHistoryTranscriptResponseModel.js +4 -0
  1288. package/serialization/types/ConversationInitiationClientDataInternal.d.ts +1 -1
  1289. package/serialization/types/ConversationInitiationClientDataInternal.js +1 -1
  1290. package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +1 -1
  1291. package/serialization/types/ConversationInitiationClientDataRequestInput.js +1 -1
  1292. package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -1
  1293. package/serialization/types/ConversationInitiationClientDataRequestOutput.js +1 -1
  1294. package/serialization/types/ConversationProduct.d.ts +7 -0
  1295. package/serialization/types/ConversationProduct.js +39 -0
  1296. package/serialization/types/ConversationReasoningModel.d.ts +10 -0
  1297. package/{dist/serialization/types/CoachedAgentSettings.js → serialization/types/ConversationReasoningModel.js} +4 -4
  1298. package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
  1299. package/serialization/types/ConversationSimulationSpecification.js +1 -1
  1300. package/serialization/types/ConversationSummaryResponseModel.d.ts +3 -0
  1301. package/serialization/types/ConversationSummaryResponseModel.js +3 -0
  1302. package/serialization/types/ConversationUserResponseModel.d.ts +4 -0
  1303. package/serialization/types/ConversationUserResponseModel.js +4 -0
  1304. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.d.ts +1 -1
  1305. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideInput.js +1 -1
  1306. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.d.ts +1 -1
  1307. package/serialization/types/ConversationalConfigApiModelWorkflowOverrideOutput.js +1 -1
  1308. package/serialization/types/CreateAgentProcedureParams.d.ts +9 -0
  1309. package/serialization/types/CreateAgentProcedureParams.js +41 -0
  1310. package/serialization/types/CreateExotelPhoneNumberRequest.d.ts +1 -0
  1311. package/serialization/types/CreateExotelPhoneNumberRequest.js +1 -0
  1312. package/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -1
  1313. package/serialization/types/CreateResponseUnitTestRequest.js +1 -1
  1314. package/serialization/types/CreateSimulationTestRequest.d.ts +2 -1
  1315. package/serialization/types/CreateSimulationTestRequest.js +2 -1
  1316. package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  1317. package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  1318. package/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -1
  1319. package/serialization/types/CreateToolCallUnitTestRequest.js +1 -1
  1320. package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +1 -0
  1321. package/serialization/types/CreateTwilioPhoneNumberRequest.js +1 -0
  1322. package/serialization/types/CriteriaScoringMode.d.ts +7 -0
  1323. package/serialization/types/CriteriaScoringMode.js +39 -0
  1324. package/serialization/types/CustomHeaderAuthResponse.d.ts +4 -0
  1325. package/serialization/types/CustomHeaderAuthResponse.js +4 -0
  1326. package/serialization/types/DeleteAgentProcedureParams.d.ts +9 -0
  1327. package/serialization/types/DeleteAgentProcedureParams.js +41 -0
  1328. package/serialization/types/FineTuningResponse.d.ts +2 -2
  1329. package/serialization/types/FineTuningResponse.js +2 -2
  1330. package/serialization/types/FrustratedConversationRef.d.ts +15 -0
  1331. package/serialization/types/FrustratedConversationRef.js +47 -0
  1332. package/serialization/types/FrustratedConversationRefOverallLabel.d.ts +7 -0
  1333. package/serialization/types/FrustratedConversationRefOverallLabel.js +39 -0
  1334. package/serialization/types/GenerationChunkInput.d.ts +18 -0
  1335. package/serialization/types/{GenerationChunk.js → GenerationChunkInput.js} +6 -6
  1336. package/serialization/types/GenerationChunkInputConditionStrength.d.ts +7 -0
  1337. package/serialization/types/GenerationChunkInputConditionStrength.js +39 -0
  1338. package/serialization/types/GenerationChunkInputContextAdherence.d.ts +7 -0
  1339. package/serialization/types/GenerationChunkInputContextAdherence.js +39 -0
  1340. package/serialization/types/GenerationChunkOutput.d.ts +18 -0
  1341. package/serialization/types/GenerationChunkOutput.js +50 -0
  1342. package/serialization/types/GenerationChunkOutputConditionStrength.d.ts +7 -0
  1343. package/serialization/types/GenerationChunkOutputConditionStrength.js +39 -0
  1344. package/serialization/types/GenerationChunkOutputContextAdherence.d.ts +7 -0
  1345. package/serialization/types/GenerationChunkOutputContextAdherence.js +39 -0
  1346. package/serialization/types/GetResponseUnitTestResponseModel.d.ts +1 -1
  1347. package/serialization/types/GetResponseUnitTestResponseModel.js +1 -1
  1348. package/serialization/types/GetSimulationTestResponseModel.d.ts +2 -1
  1349. package/serialization/types/GetSimulationTestResponseModel.js +2 -1
  1350. package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +1 -1
  1351. package/serialization/types/GetToolCallUnitTestResponseModel.js +1 -1
  1352. package/serialization/types/ListAgentProceduresParams.d.ts +9 -0
  1353. package/serialization/types/ListAgentProceduresParams.js +41 -0
  1354. package/serialization/types/ListAgentReferencesParams.d.ts +9 -0
  1355. package/serialization/types/ListAgentReferencesParams.js +41 -0
  1356. package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  1357. package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  1358. package/serialization/types/LiteralJsonSchemaPropertyType.d.ts +1 -1
  1359. package/serialization/types/LiteralJsonSchemaPropertyType.js +7 -1
  1360. package/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -1
  1361. package/serialization/types/LlmLiteralJsonSchemaPropertyType.js +7 -1
  1362. package/serialization/types/LockReason.d.ts +7 -0
  1363. package/serialization/types/LockReason.js +39 -0
  1364. package/serialization/types/McpToolConfigOverrideInput.d.ts +1 -1
  1365. package/serialization/types/McpToolConfigOverrideInput.js +1 -1
  1366. package/serialization/types/McpToolConfigOverrideOutput.d.ts +1 -1
  1367. package/serialization/types/McpToolConfigOverrideOutput.js +1 -1
  1368. package/serialization/types/MergePreviewResponseModel.d.ts +30 -0
  1369. package/serialization/types/MergePreviewResponseModel.js +62 -0
  1370. package/serialization/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +19 -0
  1371. package/serialization/types/MergePreviewResponseModelPhoneNumbersItem.js +51 -0
  1372. package/serialization/types/MtlsAuthResponse.d.ts +4 -0
  1373. package/serialization/types/MtlsAuthResponse.js +4 -0
  1374. package/serialization/types/MusicAllowedOutputFormats.d.ts +9 -0
  1375. package/serialization/types/MusicAllowedOutputFormats.js +41 -0
  1376. package/serialization/types/MusicOnlyOutputFormats.d.ts +7 -0
  1377. package/serialization/types/MusicOnlyOutputFormats.js +39 -0
  1378. package/serialization/types/MusicOutputFormat.d.ts +8 -0
  1379. package/serialization/types/MusicOutputFormat.js +40 -0
  1380. package/serialization/types/OAuth2ClientCredsResponse.d.ts +4 -0
  1381. package/serialization/types/OAuth2ClientCredsResponse.js +4 -0
  1382. package/serialization/types/OAuth2JwtResponse.d.ts +4 -0
  1383. package/serialization/types/OAuth2JwtResponse.js +4 -0
  1384. package/serialization/types/{AudioFormat.d.ts → OpenAiAudioFormat.d.ts} +2 -2
  1385. package/serialization/types/OpenAiAudioFormat.js +39 -0
  1386. package/serialization/types/OpenAiAudioInputFormat.d.ts +2 -2
  1387. package/serialization/types/OpenAiAudioInputFormat.js +2 -2
  1388. package/serialization/types/OpenAiAudioOutputFormat.d.ts +2 -2
  1389. package/serialization/types/OpenAiAudioOutputFormat.js +2 -2
  1390. package/serialization/types/PermissionType.d.ts +1 -1
  1391. package/serialization/types/PermissionType.js +2 -0
  1392. package/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  1393. package/serialization/types/PhoneNumberTransfer.js +2 -0
  1394. package/serialization/types/PrivateKeyJwtResponse.d.ts +4 -0
  1395. package/serialization/types/PrivateKeyJwtResponse.js +4 -0
  1396. package/serialization/types/ProcedureAtVersionInput.d.ts +1 -1
  1397. package/serialization/types/ProcedureAtVersionInput.js +1 -1
  1398. package/serialization/types/ProcedureAtVersionOutput.d.ts +1 -1
  1399. package/serialization/types/ProcedureAtVersionOutput.js +1 -1
  1400. package/serialization/types/ProjectExtendedResponse.d.ts +1 -1
  1401. package/serialization/types/ProjectExtendedResponse.js +1 -1
  1402. package/serialization/types/ProjectResponse.d.ts +1 -1
  1403. package/serialization/types/ProjectResponse.js +1 -1
  1404. package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  1405. package/serialization/types/PromptAgentApiModelInput.js +1 -0
  1406. package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  1407. package/serialization/types/PromptAgentApiModelOutput.js +1 -0
  1408. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  1409. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  1410. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  1411. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  1412. package/serialization/types/PromptEvaluationCriteria.d.ts +4 -0
  1413. package/serialization/types/PromptEvaluationCriteria.js +4 -0
  1414. package/serialization/types/ResponseUnitTestModel.d.ts +1 -1
  1415. package/serialization/types/ResponseUnitTestModel.js +1 -1
  1416. package/serialization/types/ReviewResponseModel.d.ts +1 -1
  1417. package/serialization/types/ReviewResponseModel.js +1 -1
  1418. package/serialization/types/ScimGroupResponseModel.d.ts +14 -0
  1419. package/serialization/types/ScimGroupResponseModel.js +46 -0
  1420. package/serialization/types/ScopedAnalysisResult.d.ts +1 -0
  1421. package/serialization/types/ScopedAnalysisResult.js +1 -0
  1422. package/serialization/types/SentimentAggregate.d.ts +14 -0
  1423. package/serialization/types/SentimentAggregate.js +46 -0
  1424. package/serialization/types/SimulationTestModel.d.ts +2 -1
  1425. package/serialization/types/SimulationTestModel.js +2 -1
  1426. package/serialization/types/SlackBotAuthResponse.d.ts +4 -0
  1427. package/serialization/types/SlackBotAuthResponse.js +4 -0
  1428. package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  1429. package/serialization/types/SoftTimeoutConfig.js +1 -0
  1430. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  1431. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  1432. package/serialization/types/SpeakerSeparationResponseModel.d.ts +1 -1
  1433. package/serialization/types/SpeakerSeparationResponseModel.js +1 -1
  1434. package/serialization/types/SpeechToTextWordResponseModel.d.ts +1 -0
  1435. package/serialization/types/SpeechToTextWordResponseModel.js +1 -0
  1436. package/serialization/types/ToolCallUnitTestModel.d.ts +1 -1
  1437. package/serialization/types/ToolCallUnitTestModel.js +1 -1
  1438. package/serialization/types/TopicDiscoverySettings.d.ts +7 -0
  1439. package/serialization/types/TopicDiscoverySettings.js +39 -0
  1440. package/serialization/types/TurnConfig.d.ts +2 -0
  1441. package/serialization/types/TurnConfig.js +2 -0
  1442. package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  1443. package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  1444. package/serialization/types/UpdateAgentProcedureParams.d.ts +9 -0
  1445. package/serialization/types/UpdateAgentProcedureParams.js +41 -0
  1446. package/serialization/types/UpdateBearerAuthRequest.d.ts +10 -0
  1447. package/{dist/serialization/types/CodeToolAllowedDomain.js → serialization/types/UpdateBearerAuthRequest.js} +4 -4
  1448. package/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +2 -2
  1449. package/serialization/types/UpdateOAuth2ClientCredsRequest.js +2 -2
  1450. package/serialization/types/UpdateOAuth2JwtRequest.d.ts +1 -1
  1451. package/serialization/types/UpdateOAuth2JwtRequest.js +1 -1
  1452. package/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -1
  1453. package/serialization/types/UpdateResponseUnitTestRequest.js +1 -1
  1454. package/serialization/types/UpdateSimulationTestRequest.d.ts +2 -1
  1455. package/serialization/types/UpdateSimulationTestRequest.js +2 -1
  1456. package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -1
  1457. package/serialization/types/UpdateToolCallUnitTestRequest.js +1 -1
  1458. package/serialization/types/UrlSecretAuthResponse.d.ts +4 -0
  1459. package/serialization/types/UrlSecretAuthResponse.js +4 -0
  1460. package/serialization/types/UuiTransferConfig.d.ts +12 -0
  1461. package/serialization/types/UuiTransferConfig.js +44 -0
  1462. package/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +7 -0
  1463. package/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.js +39 -0
  1464. package/serialization/types/WebhookEventType.d.ts +1 -1
  1465. package/serialization/types/WebhookEventType.js +7 -1
  1466. package/serialization/types/WebhookHmacSettings.d.ts +1 -1
  1467. package/serialization/types/WebhookHmacSettings.js +1 -1
  1468. package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  1469. package/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
  1470. package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  1471. package/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
  1472. package/serialization/types/WhatsAppAuthResponse.d.ts +4 -0
  1473. package/serialization/types/WhatsAppAuthResponse.js +4 -0
  1474. package/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -2
  1475. package/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -2
  1476. package/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -2
  1477. package/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -2
  1478. package/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  1479. package/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  1480. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  1481. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  1482. package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -0
  1483. package/serialization/types/WorkspaceApiKeyResponseModel.js +3 -0
  1484. package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  1485. package/serialization/types/WorkspaceGroupPermission.js +2 -0
  1486. package/serialization/types/WorkspaceGroupResponseModel.d.ts +3 -0
  1487. package/serialization/types/WorkspaceGroupResponseModel.js +3 -0
  1488. package/serialization/types/index.d.ts +35 -10
  1489. package/serialization/types/index.js +35 -10
  1490. package/version.d.ts +1 -1
  1491. package/version.js +1 -1
  1492. package/.fern/verify.sh +0 -5
  1493. package/api/types/AudioFormat.d.ts +0 -6
  1494. package/api/types/CoachedAgentSettings.d.ts +0 -4
  1495. package/api/types/CoachingAgentSettings.d.ts +0 -8
  1496. package/api/types/CodeToolAllowedDomain.d.ts +0 -6
  1497. package/api/types/CodeToolContextVariable.d.ts +0 -4
  1498. package/api/types/GenerationChunkConditionStrength.d.ts +0 -7
  1499. package/api/types/NoCoachingSettings.d.ts +0 -4
  1500. package/api/types/OAuthConnectionStatus.d.ts +0 -6
  1501. package/api/types/OAuthConnectionStatus.js +0 -9
  1502. package/core/url/QueryStringBuilder.d.ts +0 -47
  1503. package/core/url/QueryStringBuilder.js +0 -83
  1504. package/dist/api/types/AudioFormat.d.ts +0 -6
  1505. package/dist/api/types/CoachedAgentSettings.d.ts +0 -4
  1506. package/dist/api/types/CoachingAgentSettings.d.ts +0 -8
  1507. package/dist/api/types/CodeToolAllowedDomain.d.ts +0 -6
  1508. package/dist/api/types/CodeToolContextVariable.d.ts +0 -4
  1509. package/dist/api/types/GenerationChunkConditionStrength.d.ts +0 -7
  1510. package/dist/api/types/NoCoachingSettings.d.ts +0 -4
  1511. package/dist/api/types/OAuthConnectionStatus.d.ts +0 -6
  1512. package/dist/api/types/OAuthConnectionStatus.js +0 -9
  1513. package/dist/core/url/QueryStringBuilder.d.ts +0 -47
  1514. package/dist/core/url/QueryStringBuilder.js +0 -83
  1515. package/dist/serialization/types/CoachedAgentSettings.d.ts +0 -10
  1516. package/dist/serialization/types/CoachingAgentSettings.d.ts +0 -11
  1517. package/dist/serialization/types/CodeToolAllowedDomain.d.ts +0 -10
  1518. package/dist/serialization/types/CodeToolContextVariable.d.ts +0 -10
  1519. package/dist/serialization/types/GenerationChunk.d.ts +0 -18
  1520. package/dist/serialization/types/GenerationChunkConditionStrength.d.ts +0 -7
  1521. package/dist/serialization/types/GenerationChunkContextAdherence.d.ts +0 -7
  1522. package/dist/serialization/types/NoCoachingSettings.d.ts +0 -10
  1523. package/dist/serialization/types/OAuthConnectionStatus.d.ts +0 -7
  1524. package/serialization/types/CoachedAgentSettings.d.ts +0 -10
  1525. package/serialization/types/CoachedAgentSettings.js +0 -42
  1526. package/serialization/types/CoachingAgentSettings.d.ts +0 -11
  1527. package/serialization/types/CoachingAgentSettings.js +0 -43
  1528. package/serialization/types/CodeToolAllowedDomain.d.ts +0 -10
  1529. package/serialization/types/CodeToolContextVariable.d.ts +0 -10
  1530. package/serialization/types/GenerationChunk.d.ts +0 -18
  1531. package/serialization/types/GenerationChunkConditionStrength.d.ts +0 -7
  1532. package/serialization/types/GenerationChunkConditionStrength.js +0 -39
  1533. package/serialization/types/GenerationChunkContextAdherence.d.ts +0 -7
  1534. package/serialization/types/GenerationChunkContextAdherence.js +0 -39
  1535. package/serialization/types/NoCoachingSettings.d.ts +0 -10
  1536. package/serialization/types/NoCoachingSettings.js +0 -42
  1537. package/serialization/types/OAuthConnectionStatus.d.ts +0 -7
  1538. /package/api/{types/CoachedAgentSettings.js → resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.js} +0 -0
  1539. /package/api/{types/CoachingAgentSettings.js → resources/conversationalAi/resources/conversations/resources/topics/client/requests/TopicsGetRequest.js} +0 -0
  1540. /package/api/{types/CodeToolAllowedDomain.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchThirdPartyDisableAllowed.js} +0 -0
  1541. /package/api/{types/CodeToolContextVariable.js → resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js} +0 -0
  1542. /package/api/types/{GenerationChunk.js → CharacterMetadataResponseModel.js} +0 -0
  1543. /package/api/types/{NoCoachingSettings.js → CharacterResponseModel.js} +0 -0
  1544. /package/{dist/api/types/CoachedAgentSettings.js → api/types/ConversationReasoningModel.js} +0 -0
  1545. /package/{dist/api/types/CoachingAgentSettings.js → api/types/CreateAgentProcedureParams.js} +0 -0
  1546. /package/{dist/api/types/CodeToolAllowedDomain.js → api/types/DeleteAgentProcedureParams.js} +0 -0
  1547. /package/{dist/api/types/CodeToolContextVariable.js → api/types/FrustratedConversationRef.js} +0 -0
  1548. /package/{dist/api/types/GenerationChunk.js → api/types/GenerationChunkInput.js} +0 -0
  1549. /package/{dist/api/types/NoCoachingSettings.js → api/types/GenerationChunkOutput.js} +0 -0
@@ -81,7 +81,7 @@ class FoldersClient {
81
81
  method: "POST",
82
82
  headers: _headers,
83
83
  contentType: "application/json",
84
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
84
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
85
85
  requestType: "json",
86
86
  body: serializers.conversationalAi.tests.BodyCreateAgentTestFolderV1ConvaiAgentTestingFoldersPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
87
87
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -138,7 +138,7 @@ class FoldersClient {
138
138
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agent-testing/folders/${core.url.encodePathParam(folder_id)}`),
139
139
  method: "GET",
140
140
  headers: _headers,
141
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
141
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
142
142
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
143
143
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
144
144
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -200,11 +200,7 @@ class FoldersClient {
200
200
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agent-testing/folders/${core.url.encodePathParam(folder_id)}`),
201
201
  method: "DELETE",
202
202
  headers: _headers,
203
- queryString: core.url
204
- .queryBuilder()
205
- .addMany(_queryParams)
206
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
207
- .build(),
203
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
208
204
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
209
205
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
210
206
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -255,7 +251,7 @@ class FoldersClient {
255
251
  method: "PATCH",
256
252
  headers: _headers,
257
253
  contentType: "application/json",
258
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
254
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
259
255
  requestType: "json",
260
256
  body: serializers.conversationalAi.tests.BodyUpdateAgentTestFolderV1ConvaiAgentTestingFoldersFolderIdPatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
261
257
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -88,11 +88,7 @@ class InvocationsClient {
88
88
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/test-invocations"),
89
89
  method: "GET",
90
90
  headers: _headers,
91
- queryString: core.url
92
- .queryBuilder()
93
- .addMany(_queryParams)
94
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
95
- .build(),
91
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
96
92
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
97
93
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
98
94
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -147,7 +143,7 @@ class InvocationsClient {
147
143
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/test-invocations/${core.url.encodePathParam(test_invocation_id)}`),
148
144
  method: "GET",
149
145
  headers: _headers,
150
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
146
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
151
147
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
152
148
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
153
149
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -207,7 +203,7 @@ class InvocationsClient {
207
203
  method: "POST",
208
204
  headers: _headers,
209
205
  contentType: "application/json",
210
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
206
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
211
207
  requestType: "json",
212
208
  body: serializers.conversationalAi.tests.ResubmitTestsRequestModel.jsonOrThrow(request, {
213
209
  unrecognizedObjectKeys: "strip",
@@ -111,11 +111,7 @@ class ToolsClient {
111
111
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/tools"),
112
112
  method: "GET",
113
113
  headers: _headers,
114
- queryString: core.url
115
- .queryBuilder()
116
- .addMany(_queryParams)
117
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
118
- .build(),
114
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
119
115
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
120
116
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
121
117
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -178,7 +174,7 @@ class ToolsClient {
178
174
  method: "POST",
179
175
  headers: _headers,
180
176
  contentType: "application/json",
181
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
177
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
182
178
  requestType: "json",
183
179
  body: serializers.ToolRequestModel.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
184
180
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -235,7 +231,7 @@ class ToolsClient {
235
231
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/tools/${core.url.encodePathParam(tool_id)}`),
236
232
  method: "GET",
237
233
  headers: _headers,
238
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
234
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
239
235
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
240
236
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
241
237
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -297,11 +293,7 @@ class ToolsClient {
297
293
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/tools/${core.url.encodePathParam(tool_id)}`),
298
294
  method: "DELETE",
299
295
  headers: _headers,
300
- queryString: core.url
301
- .queryBuilder()
302
- .addMany(_queryParams)
303
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
304
- .build(),
296
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
305
297
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
306
298
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
307
299
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -357,7 +349,7 @@ class ToolsClient {
357
349
  method: "PATCH",
358
350
  headers: _headers,
359
351
  contentType: "application/json",
360
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
352
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
361
353
  requestType: "json",
362
354
  body: serializers.ToolRequestModel.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
363
355
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -423,11 +415,7 @@ class ToolsClient {
423
415
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/tools/${core.url.encodePathParam(tool_id)}/dependent-agents`),
424
416
  method: "GET",
425
417
  headers: _headers,
426
- queryString: core.url
427
- .queryBuilder()
428
- .addMany(_queryParams)
429
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
430
- .build(),
418
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
431
419
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
432
420
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
433
421
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -97,11 +97,7 @@ class ExecutionsClient {
97
97
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/tools/${core.url.encodePathParam(tool_id)}/executions`),
98
98
  method: "GET",
99
99
  headers: _headers,
100
- queryString: core.url
101
- .queryBuilder()
102
- .addMany(_queryParams)
103
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
104
- .build(),
100
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
105
101
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
106
102
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
107
103
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -83,7 +83,7 @@ class TwilioClient {
83
83
  method: "POST",
84
84
  headers: _headers,
85
85
  contentType: "application/json",
86
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
86
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
87
87
  requestType: "json",
88
88
  body: serializers.conversationalAi.BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
89
89
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -145,7 +145,7 @@ class TwilioClient {
145
145
  method: "POST",
146
146
  headers: _headers,
147
147
  contentType: "application/json",
148
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
148
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
149
149
  requestType: "json",
150
150
  body: serializers.conversationalAi.BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
151
151
  responseType: "text",
@@ -100,11 +100,7 @@ class UsersClient {
100
100
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/users"),
101
101
  method: "GET",
102
102
  headers: _headers,
103
- queryString: core.url
104
- .queryBuilder()
105
- .addMany(_queryParams)
106
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
107
- .build(),
103
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
108
104
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
109
105
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
110
106
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -85,7 +85,7 @@ class WhatsappClient {
85
85
  method: "POST",
86
86
  headers: _headers,
87
87
  contentType: "application/json",
88
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
88
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
89
89
  requestType: "json",
90
90
  body: serializers.conversationalAi.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
91
91
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -155,7 +155,7 @@ class WhatsappClient {
155
155
  method: "POST",
156
156
  headers: _headers,
157
157
  contentType: "application/json",
158
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
158
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
159
159
  requestType: "json",
160
160
  body: serializers.conversationalAi.BodySendAnOutboundMessageViaWhatsAppV1ConvaiWhatsappOutboundMessagePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
161
161
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -78,7 +78,7 @@ class WhatsappAccountsClient {
78
78
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/whatsapp-accounts/${core.url.encodePathParam(phone_number_id)}`),
79
79
  method: "GET",
80
80
  headers: _headers,
81
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
81
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
82
82
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
83
83
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
84
84
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -133,7 +133,7 @@ class WhatsappAccountsClient {
133
133
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/whatsapp-accounts/${core.url.encodePathParam(phone_number_id)}`),
134
134
  method: "DELETE",
135
135
  headers: _headers,
136
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
136
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
137
137
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
138
138
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
139
139
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -182,7 +182,7 @@ class WhatsappAccountsClient {
182
182
  method: "PATCH",
183
183
  headers: _headers,
184
184
  contentType: "application/json",
185
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
185
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
186
186
  requestType: "json",
187
187
  body: serializers.conversationalAi.UpdateWhatsAppAccountRequest.jsonOrThrow(request, {
188
188
  unrecognizedObjectKeys: "strip",
@@ -239,11 +239,7 @@ class WhatsappAccountsClient {
239
239
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/whatsapp-accounts"),
240
240
  method: "GET",
241
241
  headers: _headers,
242
- queryString: core.url
243
- .queryBuilder()
244
- .addMany(_queryParams)
245
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
246
- .build(),
242
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
247
243
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
248
244
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
249
245
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -35,6 +35,10 @@ export declare class DubbingClient {
35
35
  * cursor: "cursor",
36
36
  * pageSize: 1,
37
37
  * dubbingStatus: "dubbing",
38
+ * dubbingStatuses: ["queued"],
39
+ * dubbingModels: ["dubbing_v1"],
40
+ * targetLanguageCodes: ["target_language_codes"],
41
+ * creationSources: ["flow_node"],
38
42
  * filterByCreator: "personal",
39
43
  * orderBy: "created_at",
40
44
  * orderDirection: "DESCENDING"
@@ -89,6 +89,10 @@ class DubbingClient {
89
89
  * cursor: "cursor",
90
90
  * pageSize: 1,
91
91
  * dubbingStatus: "dubbing",
92
+ * dubbingStatuses: ["queued"],
93
+ * dubbingModels: ["dubbing_v1"],
94
+ * targetLanguageCodes: ["target_language_codes"],
95
+ * creationSources: ["flow_node"],
92
96
  * filterByCreator: "personal",
93
97
  * orderBy: "created_at",
94
98
  * orderDirection: "DESCENDING"
@@ -100,7 +104,7 @@ class DubbingClient {
100
104
  __list() {
101
105
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
102
106
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
103
- const { cursor, pageSize, dubbingStatus, filterByCreator, orderBy, orderDirection } = request;
107
+ const { cursor, pageSize, dubbingStatus, dubbingStatuses, dubbingModels, targetLanguageCodes, creationSources, filterByCreator, orderBy, orderDirection, } = request;
104
108
  const _queryParams = {
105
109
  cursor,
106
110
  page_size: pageSize,
@@ -109,12 +113,42 @@ class DubbingClient {
109
113
  unrecognizedObjectKeys: "strip",
110
114
  })
111
115
  : undefined,
116
+ dubbing_statuses: Array.isArray(dubbingStatuses)
117
+ ? dubbingStatuses.map((item) => serializers.DubbingListRequestDubbingStatusesItem.jsonOrThrow(item, {
118
+ unrecognizedObjectKeys: "strip",
119
+ }))
120
+ : dubbingStatuses != null
121
+ ? serializers.DubbingListRequestDubbingStatusesItem.jsonOrThrow(dubbingStatuses, {
122
+ unrecognizedObjectKeys: "strip",
123
+ })
124
+ : undefined,
125
+ dubbing_models: Array.isArray(dubbingModels)
126
+ ? dubbingModels.map((item) => serializers.DubbingListRequestDubbingModelsItem.jsonOrThrow(item, {
127
+ unrecognizedObjectKeys: "strip",
128
+ }))
129
+ : dubbingModels != null
130
+ ? serializers.DubbingListRequestDubbingModelsItem.jsonOrThrow(dubbingModels, {
131
+ unrecognizedObjectKeys: "strip",
132
+ })
133
+ : undefined,
134
+ target_language_codes: targetLanguageCodes,
135
+ creation_sources: Array.isArray(creationSources)
136
+ ? creationSources.map((item) => serializers.DubbingListRequestCreationSourcesItem.jsonOrThrow(item, {
137
+ unrecognizedObjectKeys: "strip",
138
+ }))
139
+ : creationSources != null
140
+ ? serializers.DubbingListRequestCreationSourcesItem.jsonOrThrow(creationSources, {
141
+ unrecognizedObjectKeys: "strip",
142
+ })
143
+ : undefined,
112
144
  filter_by_creator: filterByCreator != null
113
145
  ? serializers.DubbingListRequestFilterByCreator.jsonOrThrow(filterByCreator, {
114
146
  unrecognizedObjectKeys: "strip",
115
147
  })
116
148
  : undefined,
117
- order_by: orderBy != null ? orderBy : undefined,
149
+ order_by: orderBy != null
150
+ ? serializers.DubbingListRequestOrderBy.jsonOrThrow(orderBy, { unrecognizedObjectKeys: "strip" })
151
+ : undefined,
118
152
  order_direction: orderDirection != null
119
153
  ? serializers.DubbingListRequestOrderDirection.jsonOrThrow(orderDirection, {
120
154
  unrecognizedObjectKeys: "strip",
@@ -126,11 +160,7 @@ class DubbingClient {
126
160
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/dubbing"),
127
161
  method: "GET",
128
162
  headers: _headers,
129
- queryString: core.url
130
- .queryBuilder()
131
- .addMany(_queryParams)
132
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
133
- .build(),
163
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
134
164
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
135
165
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
136
166
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -248,7 +278,7 @@ class DubbingClient {
248
278
  url: core.url.join((_r = (_q = (yield core.Supplier.get(this._options.baseUrl))) !== null && _q !== void 0 ? _q : (yield core.Supplier.get(this._options.environment))) !== null && _r !== void 0 ? _r : environments.ElevenLabsEnvironment.Production, "v1/dubbing"),
249
279
  method: "POST",
250
280
  headers: _headers,
251
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
281
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
252
282
  requestType: "file",
253
283
  duplex: _maybeEncodedRequest.duplex,
254
284
  body: _maybeEncodedRequest.body,
@@ -306,7 +336,7 @@ class DubbingClient {
306
336
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/dubbing/${core.url.encodePathParam(dubbing_id)}`),
307
337
  method: "GET",
308
338
  headers: _headers,
309
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
339
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
310
340
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
311
341
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
312
342
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -361,7 +391,7 @@ class DubbingClient {
361
391
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/dubbing/${core.url.encodePathParam(dubbing_id)}`),
362
392
  method: "DELETE",
363
393
  headers: _headers,
364
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
394
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
365
395
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
366
396
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
367
397
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -5,6 +5,10 @@ import type * as ElevenLabs from "../../../../index";
5
5
  * cursor: "cursor",
6
6
  * pageSize: 1,
7
7
  * dubbingStatus: "dubbing",
8
+ * dubbingStatuses: ["queued"],
9
+ * dubbingModels: ["dubbing_v1"],
10
+ * targetLanguageCodes: ["target_language_codes"],
11
+ * creationSources: ["flow_node"],
8
12
  * filterByCreator: "personal",
9
13
  * orderBy: "created_at",
10
14
  * orderDirection: "DESCENDING"
@@ -17,10 +21,18 @@ export interface DubbingListRequest {
17
21
  pageSize?: number;
18
22
  /** What state the dub is currently in. */
19
23
  dubbingStatus?: ElevenLabs.DubbingListRequestDubbingStatus;
24
+ /** Filter by dubbing status. */
25
+ dubbingStatuses?: ElevenLabs.DubbingListRequestDubbingStatusesItem | ElevenLabs.DubbingListRequestDubbingStatusesItem[];
26
+ /** Filter by dubbing model generation. */
27
+ dubbingModels?: ElevenLabs.DubbingListRequestDubbingModelsItem | ElevenLabs.DubbingListRequestDubbingModelsItem[];
28
+ /** Filter by target language code. */
29
+ targetLanguageCodes?: string | string[];
30
+ /** Filter by dubbing creation source. */
31
+ creationSources?: ElevenLabs.DubbingListRequestCreationSourcesItem | ElevenLabs.DubbingListRequestCreationSourcesItem[];
20
32
  /** Filters who created the resources being listed, whether it was the user running the request or someone else that shared the resource with them. */
21
33
  filterByCreator?: ElevenLabs.DubbingListRequestFilterByCreator;
22
34
  /** The field to use for ordering results from this query. */
23
- orderBy?: "created_at";
35
+ orderBy?: ElevenLabs.DubbingListRequestOrderBy;
24
36
  /** The order direction to use for results from this query. */
25
37
  orderDirection?: ElevenLabs.DubbingListRequestOrderDirection;
26
38
  }
@@ -74,7 +74,7 @@ class AudioClient {
74
74
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/dubbing/${core.url.encodePathParam(dubbing_id)}/audio/${core.url.encodePathParam(language_code)}`),
75
75
  method: "GET",
76
76
  headers: _headers,
77
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
77
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
78
78
  responseType: "streaming",
79
79
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
80
80
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
@@ -95,7 +95,7 @@ class ResourceClient {
95
95
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/dubbing/resource/${core.url.encodePathParam(dubbing_id)}`),
96
96
  method: "GET",
97
97
  headers: _headers,
98
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
98
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
99
99
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
100
100
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
101
101
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -157,7 +157,7 @@ class ResourceClient {
157
157
  method: "POST",
158
158
  headers: _headers,
159
159
  contentType: "application/json",
160
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
160
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
161
161
  requestType: "json",
162
162
  body: serializers.dubbing.BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
163
163
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -220,7 +220,7 @@ class ResourceClient {
220
220
  method: "POST",
221
221
  headers: _headers,
222
222
  contentType: "application/json",
223
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
223
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
224
224
  requestType: "json",
225
225
  body: serializers.dubbing.BodyTranscribesSegmentsV1DubbingResourceDubbingIdTranscribePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
226
226
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -283,7 +283,7 @@ class ResourceClient {
283
283
  method: "POST",
284
284
  headers: _headers,
285
285
  contentType: "application/json",
286
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
286
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
287
287
  requestType: "json",
288
288
  body: serializers.dubbing.BodyTranslatesAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdTranslatePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
289
289
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -346,7 +346,7 @@ class ResourceClient {
346
346
  method: "POST",
347
347
  headers: _headers,
348
348
  contentType: "application/json",
349
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
349
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
350
350
  requestType: "json",
351
351
  body: serializers.dubbing.BodyDubsAllOrSomeSegmentsAndLanguagesV1DubbingResourceDubbingIdDubPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
352
352
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -410,7 +410,7 @@ class ResourceClient {
410
410
  method: "POST",
411
411
  headers: _headers,
412
412
  contentType: "application/json",
413
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
413
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
414
414
  requestType: "json",
415
415
  body: serializers.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
416
416
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -82,7 +82,7 @@ class LanguageClient {
82
82
  method: "POST",
83
83
  headers: _headers,
84
84
  contentType: "application/json",
85
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
85
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
86
86
  requestType: "json",
87
87
  body: serializers.dubbing.resource.BodyAddALanguageToTheResourceV1DubbingResourceDubbingIdLanguagePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
88
88
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -84,7 +84,7 @@ class SegmentClient {
84
84
  method: "PATCH",
85
85
  headers: _headers,
86
86
  contentType: "application/json",
87
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
87
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
88
88
  requestType: "json",
89
89
  body: serializers.dubbing.resource.SegmentUpdatePayload.jsonOrThrow(request, {
90
90
  unrecognizedObjectKeys: "strip",
@@ -146,7 +146,7 @@ class SegmentClient {
146
146
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/dubbing/resource/${core.url.encodePathParam(dubbing_id)}/segment/${core.url.encodePathParam(segment_id)}`),
147
147
  method: "DELETE",
148
148
  headers: _headers,
149
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
149
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
150
150
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
151
151
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
152
152
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -88,7 +88,7 @@ class SpeakerClient {
88
88
  method: "PATCH",
89
89
  headers: _headers,
90
90
  contentType: "application/json",
91
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
91
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
92
92
  requestType: "json",
93
93
  body: serializers.dubbing.resource.BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
94
94
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -147,7 +147,7 @@ class SpeakerClient {
147
147
  method: "POST",
148
148
  headers: _headers,
149
149
  contentType: "application/json",
150
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
150
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
151
151
  requestType: "json",
152
152
  body: serializers.dubbing.resource.BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
153
153
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
@@ -207,7 +207,7 @@ class SpeakerClient {
207
207
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/dubbing/resource/${core.url.encodePathParam(dubbing_id)}/speaker/${core.url.encodePathParam(speaker_id)}/similar-voices`),
208
208
  method: "GET",
209
209
  headers: _headers,
210
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
210
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
211
211
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
212
212
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
213
213
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -86,7 +86,7 @@ class SegmentClient {
86
86
  method: "POST",
87
87
  headers: _headers,
88
88
  contentType: "application/json",
89
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
89
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
90
90
  requestType: "json",
91
91
  body: serializers.dubbing.resource.speaker.SegmentCreatePayload.jsonOrThrow(request, {
92
92
  unrecognizedObjectKeys: "strip",
@@ -9,5 +9,5 @@ export interface SegmentCreatePayload {
9
9
  startTime: number;
10
10
  endTime: number;
11
11
  text?: string;
12
- translations?: Record<string, string>;
12
+ translations?: Record<string, string | undefined>;
13
13
  }
@@ -95,11 +95,7 @@ class TranscriptClient {
95
95
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/dubbing/${core.url.encodePathParam(dubbing_id)}/transcript/${core.url.encodePathParam(language_code)}`),
96
96
  method: "GET",
97
97
  headers: _headers,
98
- queryString: core.url
99
- .queryBuilder()
100
- .addMany(_queryParams)
101
- .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
102
- .build(),
98
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
103
99
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
104
100
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
105
101
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -80,7 +80,7 @@ class TranscriptsClient {
80
80
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/dubbing/${core.url.encodePathParam(dubbing_id)}/transcripts/${core.url.encodePathParam(language_code)}/format/${core.url.encodePathParam(serializers.dubbing.TranscriptsGetRequestFormatType.jsonOrThrow(format_type))}`),
81
81
  method: "GET",
82
82
  headers: _headers,
83
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
83
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
84
84
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
85
85
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
86
86
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -0,0 +1,6 @@
1
+ export declare const DubbingListRequestCreationSourcesItem: {
2
+ readonly FlowNode: "flow_node";
3
+ readonly DubbingUi: "dubbing_ui";
4
+ readonly DubbingApi: "dubbing_api";
5
+ };
6
+ export type DubbingListRequestCreationSourcesItem = (typeof DubbingListRequestCreationSourcesItem)[keyof typeof DubbingListRequestCreationSourcesItem];