@elevenlabs/elevenlabs-js 2.30.0 → 2.32.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 (842) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
  3. package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
  4. package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
  5. package/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
  6. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +26 -0
  7. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +130 -0
  8. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
  9. package/{dist/serialization/resources/textToSoundEffects/types → api/resources/conversationalAi/resources/agents/resources/summaries/client}/index.js +1 -1
  10. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +8 -0
  11. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.d.ts +1 -0
  12. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.js +2 -0
  13. package/api/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
  14. package/api/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
  15. package/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +10 -0
  16. package/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
  17. package/api/resources/{textToSoundEffects → conversationalAi/resources/agents/resources/summaries}/types/index.js +1 -1
  18. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +13 -0
  19. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +52 -0
  20. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  21. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +7 -3
  22. package/api/resources/conversationalAi/resources/conversations/client/Client.js +22 -6
  23. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -1
  24. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +4 -1
  25. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +6 -1
  26. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +13 -0
  27. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +60 -0
  28. package/api/resources/dubbing/client/Client.d.ts +3 -0
  29. package/api/resources/dubbing/client/Client.js +5 -0
  30. package/api/resources/dubbing/resources/index.d.ts +2 -0
  31. package/api/resources/dubbing/resources/index.js +3 -1
  32. package/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -2
  33. package/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
  34. package/api/resources/dubbing/resources/transcripts/client/Client.d.ts +28 -0
  35. package/api/resources/dubbing/resources/transcripts/client/Client.js +122 -0
  36. package/api/resources/dubbing/resources/transcripts/client/index.d.ts +1 -0
  37. package/api/resources/dubbing/resources/transcripts/client/index.js +2 -0
  38. package/api/resources/dubbing/resources/transcripts/index.d.ts +2 -0
  39. package/api/resources/dubbing/resources/transcripts/index.js +18 -0
  40. package/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
  41. package/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +10 -0
  42. package/api/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
  43. package/{serialization/resources/textToSoundEffects → api/resources/dubbing/resources/transcripts}/types/index.js +1 -1
  44. package/api/resources/index.d.ts +0 -1
  45. package/api/resources/index.js +0 -1
  46. package/api/resources/music/client/Client.js +6 -4
  47. package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
  48. package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
  49. package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +1 -1
  50. package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
  51. package/api/resources/music/types/index.d.ts +0 -4
  52. package/api/resources/music/types/index.js +0 -4
  53. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +1 -1
  54. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
  55. package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
  56. package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
  57. package/api/resources/speechToText/client/Client.d.ts +1 -1
  58. package/api/resources/speechToText/client/Client.js +4 -2
  59. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -4
  60. package/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +6 -0
  61. package/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +9 -0
  62. package/api/resources/speechToText/types/index.d.ts +1 -0
  63. package/api/resources/speechToText/types/index.js +1 -0
  64. package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +4 -4
  65. package/api/resources/studio/resources/projects/client/Client.js +3 -1
  66. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +5 -5
  67. package/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +14 -0
  68. package/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js +17 -0
  69. package/api/resources/studio/resources/projects/types/index.d.ts +1 -0
  70. package/api/resources/studio/resources/projects/types/index.js +1 -0
  71. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +4 -4
  72. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +4 -4
  73. package/api/resources/textToDialogue/client/Client.js +10 -4
  74. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  75. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  76. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  77. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  78. package/api/resources/textToDialogue/types/index.d.ts +0 -4
  79. package/api/resources/textToDialogue/types/index.js +0 -4
  80. package/api/resources/textToSoundEffects/client/Client.js +3 -1
  81. package/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
  82. package/api/resources/textToSoundEffects/index.d.ts +0 -1
  83. package/api/resources/textToSoundEffects/index.js +0 -1
  84. package/api/resources/textToSpeech/client/Client.d.ts +1 -1
  85. package/api/resources/textToSpeech/client/Client.js +1 -1
  86. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
  87. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +2 -2
  88. package/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +17 -10
  89. package/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +17 -10
  90. package/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +17 -10
  91. package/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +17 -10
  92. package/api/resources/textToVoice/client/Client.js +5 -3
  93. package/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -1
  94. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
  95. package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
  96. package/api/resources/textToVoice/types/index.d.ts +0 -3
  97. package/api/resources/textToVoice/types/index.js +0 -3
  98. package/api/resources/voices/client/Client.js +7 -1
  99. package/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +3 -2
  100. package/api/resources/voices/resources/index.d.ts +1 -0
  101. package/api/resources/voices/resources/index.js +1 -0
  102. package/api/resources/voices/resources/ivc/client/Client.js +7 -1
  103. package/api/resources/voices/resources/ivc/client/requests/BodyAddVoiceV1VoicesAddPost.d.ts +3 -2
  104. package/api/resources/voices/resources/ivc/index.d.ts +1 -0
  105. package/api/resources/voices/resources/ivc/index.js +1 -0
  106. package/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +4 -0
  107. package/api/resources/voices/resources/ivc/types/index.d.ts +1 -0
  108. package/{dist/api/resources/textToSoundEffects → api/resources/voices/resources/ivc}/types/index.js +1 -1
  109. package/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  110. package/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  111. package/api/resources/voices/types/VoicesUpdateRequestLabels.d.ts +4 -0
  112. package/api/resources/voices/types/index.d.ts +1 -0
  113. package/api/resources/voices/types/index.js +1 -0
  114. package/api/types/AddKnowledgeBaseResponseModel.d.ts +3 -0
  115. package/api/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +4 -0
  116. package/{dist/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts → api/types/AllowedOutputFormats.d.ts} +2 -3
  117. package/{dist/api/resources/music/types/MusicStreamRequestOutputFormat.js → api/types/AllowedOutputFormats.js} +2 -3
  118. package/api/types/BatchCallDetailedResponse.d.ts +1 -0
  119. package/api/types/BatchCallResponse.d.ts +1 -0
  120. package/api/types/Contributor.d.ts +4 -0
  121. package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
  122. package/api/types/ConversationHistoryMetadataCommonModel.d.ts +0 -1
  123. package/api/types/ConversationInitiationSource.d.ts +1 -0
  124. package/api/types/ConversationInitiationSource.js +1 -0
  125. package/api/types/CustomSipHeader.d.ts +9 -0
  126. package/api/types/CustomSipHeader.js +3 -0
  127. package/api/types/CustomSipHeaderWithDynamicVariable.d.ts +11 -0
  128. package/api/types/CustomSipHeaderWithDynamicVariable.js +3 -0
  129. package/api/types/DirectPublishingReadResponseModel.d.ts +50 -0
  130. package/api/types/DirectPublishingReadResponseModel.js +3 -0
  131. package/api/types/DirectPublishingReadResponseModelDisplayMode.d.ts +6 -0
  132. package/api/types/DirectPublishingReadResponseModelDisplayMode.js +9 -0
  133. package/api/types/DirectPublishingReadResponseModelGenreItem.d.ts +35 -0
  134. package/api/types/DirectPublishingReadResponseModelGenreItem.js +38 -0
  135. package/api/types/DirectPublishingReadResponseModelPayoutType.d.ts +6 -0
  136. package/api/types/DirectPublishingReadResponseModelPayoutType.js +9 -0
  137. package/api/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
  138. package/api/types/DirectPublishingReadResponseModelTargetAudience.js +10 -0
  139. package/api/types/DubbingMetadataResponse.d.ts +6 -4
  140. package/api/types/DubbingModel.d.ts +1 -0
  141. package/api/types/DubbingModel.js +1 -0
  142. package/api/types/DubbingTranscript.d.ts +5 -0
  143. package/api/types/DubbingTranscript.js +3 -0
  144. package/api/types/DubbingTranscriptsResponseModel.d.ts +7 -0
  145. package/api/types/DubbingTranscriptsResponseModel.js +3 -0
  146. package/api/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +6 -0
  147. package/api/types/DubbingTranscriptsResponseModelTranscriptFormat.js +9 -0
  148. package/api/types/GetAgentResponseModel.d.ts +2 -0
  149. package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
  150. package/api/types/InvoiceResponse.d.ts +3 -1
  151. package/api/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +10 -0
  152. package/api/types/InvoiceResponseModelPaymentIntentStatussesItem.js +13 -0
  153. package/api/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +4 -0
  154. package/api/types/KnowledgeBaseSourceFileUrlResponseModel.js +3 -0
  155. package/api/types/LiteralJsonSchemaProperty.d.ts +7 -4
  156. package/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
  157. package/api/{resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts → types/PermissionType.d.ts} +8 -2
  158. package/api/{resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js → types/PermissionType.js} +8 -2
  159. package/api/types/PhoneNumberTransfer.d.ts +2 -0
  160. package/api/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +10 -0
  161. package/api/types/PhoneNumberTransferCustomSipHeadersItem.js +3 -0
  162. package/api/types/PreviewAudioDbModel.d.ts +7 -0
  163. package/api/types/PreviewAudioDbModel.js +3 -0
  164. package/api/types/ProjectExtendedResponse.d.ts +2 -0
  165. package/api/types/ProjectVideoResponseModel.d.ts +1 -0
  166. package/api/types/ReadLegalTerms.d.ts +5 -0
  167. package/api/types/ReadLegalTerms.js +3 -0
  168. package/api/types/ReadMetadataChapterDbModel.d.ts +10 -0
  169. package/api/types/ReadMetadataChapterDbModel.js +3 -0
  170. package/api/types/ReviewResponseModel.d.ts +9 -0
  171. package/api/types/ReviewResponseModel.js +3 -0
  172. package/api/types/ReviewResponseModelRejectReasonsItem.d.ts +21 -0
  173. package/api/types/ReviewResponseModelRejectReasonsItem.js +24 -0
  174. package/api/types/ReviewResponseModelReviewStatus.d.ts +6 -0
  175. package/api/types/ReviewResponseModelReviewStatus.js +9 -0
  176. package/api/types/SampleConfigDbModel.d.ts +7 -0
  177. package/api/types/SampleConfigDbModel.js +3 -0
  178. package/api/types/SampleConfigDbModelParentType.d.ts +5 -0
  179. package/api/types/SampleConfigDbModelParentType.js +8 -0
  180. package/api/types/SpellingPatience.d.ts +6 -0
  181. package/api/types/SpellingPatience.js +9 -0
  182. package/api/types/TurnConfig.d.ts +2 -0
  183. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  184. package/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  185. package/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +10 -0
  186. package/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +3 -0
  187. package/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  188. package/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +10 -0
  189. package/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +3 -0
  190. package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -1
  191. package/api/types/index.d.ts +28 -4
  192. package/api/types/index.js +28 -4
  193. package/dist/BaseClient.js +2 -2
  194. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
  195. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
  196. package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +3 -0
  197. package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +4 -1
  198. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +26 -0
  199. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +130 -0
  200. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
  201. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +17 -0
  202. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +8 -0
  203. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.js +3 -0
  204. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.d.ts +1 -0
  205. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.js +2 -0
  206. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
  207. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
  208. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +10 -0
  209. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js +3 -0
  210. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
  211. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
  212. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +13 -0
  213. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +52 -0
  214. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  215. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +7 -3
  216. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +22 -6
  217. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -1
  218. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +4 -1
  219. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +6 -1
  220. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +13 -0
  221. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +60 -0
  222. package/dist/api/resources/dubbing/client/Client.d.ts +3 -0
  223. package/dist/api/resources/dubbing/client/Client.js +5 -0
  224. package/dist/api/resources/dubbing/resources/index.d.ts +2 -0
  225. package/dist/api/resources/dubbing/resources/index.js +3 -1
  226. package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -2
  227. package/dist/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
  228. package/dist/api/resources/dubbing/resources/transcripts/client/Client.d.ts +28 -0
  229. package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +122 -0
  230. package/dist/api/resources/dubbing/resources/transcripts/client/index.d.ts +1 -0
  231. package/dist/api/resources/dubbing/resources/transcripts/client/index.js +2 -0
  232. package/dist/api/resources/dubbing/resources/transcripts/index.d.ts +2 -0
  233. package/dist/api/resources/dubbing/resources/transcripts/index.js +18 -0
  234. package/dist/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
  235. package/dist/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +10 -0
  236. package/dist/api/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
  237. package/dist/api/resources/dubbing/resources/transcripts/types/index.js +17 -0
  238. package/dist/api/resources/index.d.ts +0 -1
  239. package/dist/api/resources/index.js +0 -1
  240. package/dist/api/resources/music/client/Client.js +6 -4
  241. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
  242. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
  243. package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +1 -1
  244. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
  245. package/dist/api/resources/music/types/index.d.ts +0 -4
  246. package/dist/api/resources/music/types/index.js +0 -4
  247. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +1 -1
  248. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
  249. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
  250. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
  251. package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
  252. package/dist/api/resources/speechToText/client/Client.js +4 -2
  253. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -4
  254. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +6 -0
  255. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +9 -0
  256. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  257. package/dist/api/resources/speechToText/types/index.js +1 -0
  258. package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +4 -4
  259. package/dist/api/resources/studio/resources/projects/client/Client.js +3 -1
  260. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +5 -5
  261. package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +14 -0
  262. package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js +17 -0
  263. package/dist/api/resources/studio/resources/projects/types/index.d.ts +1 -0
  264. package/dist/api/resources/studio/resources/projects/types/index.js +1 -0
  265. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +4 -4
  266. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +4 -4
  267. package/dist/api/resources/textToDialogue/client/Client.js +10 -4
  268. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  269. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  270. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  271. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  272. package/dist/api/resources/textToDialogue/types/index.d.ts +0 -4
  273. package/dist/api/resources/textToDialogue/types/index.js +0 -4
  274. package/dist/api/resources/textToSoundEffects/client/Client.js +3 -1
  275. package/dist/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
  276. package/dist/api/resources/textToSoundEffects/index.d.ts +0 -1
  277. package/dist/api/resources/textToSoundEffects/index.js +0 -1
  278. package/dist/api/resources/textToSpeech/client/Client.d.ts +1 -1
  279. package/dist/api/resources/textToSpeech/client/Client.js +1 -1
  280. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
  281. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +2 -2
  282. package/dist/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +17 -10
  283. package/dist/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +17 -10
  284. package/dist/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +17 -10
  285. package/dist/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +17 -10
  286. package/dist/api/resources/textToVoice/client/Client.js +5 -3
  287. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -1
  288. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
  289. package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
  290. package/dist/api/resources/textToVoice/types/index.d.ts +0 -3
  291. package/dist/api/resources/textToVoice/types/index.js +0 -3
  292. package/dist/api/resources/voices/client/Client.js +7 -1
  293. package/dist/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +3 -2
  294. package/dist/api/resources/voices/resources/index.d.ts +1 -0
  295. package/dist/api/resources/voices/resources/index.js +1 -0
  296. package/dist/api/resources/voices/resources/ivc/client/Client.js +7 -1
  297. package/dist/api/resources/voices/resources/ivc/client/requests/BodyAddVoiceV1VoicesAddPost.d.ts +3 -2
  298. package/dist/api/resources/voices/resources/ivc/index.d.ts +1 -0
  299. package/dist/api/resources/voices/resources/ivc/index.js +1 -0
  300. package/dist/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +4 -0
  301. package/dist/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js +3 -0
  302. package/dist/api/resources/voices/resources/ivc/types/index.d.ts +1 -0
  303. package/dist/api/resources/voices/resources/ivc/types/index.js +17 -0
  304. package/dist/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  305. package/dist/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  306. package/dist/api/resources/voices/types/VoicesUpdateRequestLabels.d.ts +4 -0
  307. package/dist/api/resources/voices/types/VoicesUpdateRequestLabels.js +3 -0
  308. package/dist/api/resources/voices/types/index.d.ts +1 -0
  309. package/dist/api/resources/voices/types/index.js +1 -0
  310. package/dist/api/types/AddKnowledgeBaseResponseModel.d.ts +3 -0
  311. package/dist/api/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +4 -0
  312. package/dist/api/types/AgentSummaryBatchSuccessfulResponseModel.js +3 -0
  313. package/{api/resources/music/types/MusicStreamRequestOutputFormat.d.ts → dist/api/types/AllowedOutputFormats.d.ts} +2 -3
  314. package/{api/resources/music/types/MusicStreamRequestOutputFormat.js → dist/api/types/AllowedOutputFormats.js} +2 -3
  315. package/dist/api/types/BatchCallDetailedResponse.d.ts +1 -0
  316. package/dist/api/types/BatchCallResponse.d.ts +1 -0
  317. package/dist/api/types/Contributor.d.ts +4 -0
  318. package/dist/api/types/Contributor.js +3 -0
  319. package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
  320. package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +0 -1
  321. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  322. package/dist/api/types/ConversationInitiationSource.js +1 -0
  323. package/dist/api/types/CustomSipHeader.d.ts +9 -0
  324. package/dist/api/types/CustomSipHeader.js +3 -0
  325. package/dist/api/types/CustomSipHeaderWithDynamicVariable.d.ts +11 -0
  326. package/dist/api/types/CustomSipHeaderWithDynamicVariable.js +3 -0
  327. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +50 -0
  328. package/dist/api/types/DirectPublishingReadResponseModel.js +3 -0
  329. package/dist/api/types/DirectPublishingReadResponseModelDisplayMode.d.ts +6 -0
  330. package/dist/api/types/DirectPublishingReadResponseModelDisplayMode.js +9 -0
  331. package/dist/api/types/DirectPublishingReadResponseModelGenreItem.d.ts +35 -0
  332. package/dist/api/types/DirectPublishingReadResponseModelGenreItem.js +38 -0
  333. package/dist/api/types/DirectPublishingReadResponseModelPayoutType.d.ts +6 -0
  334. package/dist/api/types/DirectPublishingReadResponseModelPayoutType.js +9 -0
  335. package/dist/api/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
  336. package/dist/api/types/DirectPublishingReadResponseModelTargetAudience.js +10 -0
  337. package/dist/api/types/DubbingMetadataResponse.d.ts +6 -4
  338. package/dist/api/types/DubbingModel.d.ts +1 -0
  339. package/dist/api/types/DubbingModel.js +1 -0
  340. package/dist/api/types/DubbingTranscript.d.ts +5 -0
  341. package/dist/api/types/DubbingTranscript.js +3 -0
  342. package/dist/api/types/DubbingTranscriptsResponseModel.d.ts +7 -0
  343. package/dist/api/types/DubbingTranscriptsResponseModel.js +3 -0
  344. package/dist/api/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +6 -0
  345. package/dist/api/types/DubbingTranscriptsResponseModelTranscriptFormat.js +9 -0
  346. package/dist/api/types/GetAgentResponseModel.d.ts +2 -0
  347. package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
  348. package/dist/api/types/InvoiceResponse.d.ts +3 -1
  349. package/dist/api/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +10 -0
  350. package/dist/api/types/InvoiceResponseModelPaymentIntentStatussesItem.js +13 -0
  351. package/dist/api/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +4 -0
  352. package/dist/api/types/KnowledgeBaseSourceFileUrlResponseModel.js +3 -0
  353. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +7 -4
  354. package/dist/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
  355. package/{api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts → dist/api/types/PermissionType.d.ts} +8 -2
  356. package/{api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js → dist/api/types/PermissionType.js} +8 -2
  357. package/dist/api/types/PhoneNumberTransfer.d.ts +2 -0
  358. package/dist/api/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +10 -0
  359. package/dist/api/types/PhoneNumberTransferCustomSipHeadersItem.js +3 -0
  360. package/dist/api/types/PreviewAudioDbModel.d.ts +7 -0
  361. package/dist/api/types/PreviewAudioDbModel.js +3 -0
  362. package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
  363. package/dist/api/types/ProjectVideoResponseModel.d.ts +1 -0
  364. package/dist/api/types/ReadLegalTerms.d.ts +5 -0
  365. package/dist/api/types/ReadLegalTerms.js +3 -0
  366. package/dist/api/types/ReadMetadataChapterDbModel.d.ts +10 -0
  367. package/dist/api/types/ReadMetadataChapterDbModel.js +3 -0
  368. package/dist/api/types/ReviewResponseModel.d.ts +9 -0
  369. package/dist/api/types/ReviewResponseModel.js +3 -0
  370. package/dist/api/types/ReviewResponseModelRejectReasonsItem.d.ts +21 -0
  371. package/dist/api/types/ReviewResponseModelRejectReasonsItem.js +24 -0
  372. package/dist/api/types/ReviewResponseModelReviewStatus.d.ts +6 -0
  373. package/dist/api/types/ReviewResponseModelReviewStatus.js +9 -0
  374. package/dist/api/types/SampleConfigDbModel.d.ts +7 -0
  375. package/dist/api/types/SampleConfigDbModel.js +3 -0
  376. package/dist/api/types/SampleConfigDbModelParentType.d.ts +5 -0
  377. package/dist/api/types/SampleConfigDbModelParentType.js +8 -0
  378. package/dist/api/types/SpellingPatience.d.ts +6 -0
  379. package/dist/api/types/SpellingPatience.js +9 -0
  380. package/dist/api/types/TurnConfig.d.ts +2 -0
  381. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  382. package/dist/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  383. package/dist/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +10 -0
  384. package/dist/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +3 -0
  385. package/dist/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  386. package/dist/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +10 -0
  387. package/dist/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +3 -0
  388. package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -1
  389. package/dist/api/types/index.d.ts +28 -4
  390. package/dist/api/types/index.js +28 -4
  391. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
  392. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +3 -1
  393. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.d.ts +8 -0
  394. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.js +40 -0
  395. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
  396. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +37 -0
  397. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
  398. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
  399. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +15 -0
  400. package/dist/serialization/{types/ConversationHistoryMetadataCommonModelInitiationTrigger.js → resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js} +8 -8
  401. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
  402. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
  403. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  404. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
  405. package/dist/serialization/resources/dubbing/resources/index.d.ts +2 -0
  406. package/dist/serialization/resources/dubbing/resources/index.js +3 -1
  407. package/dist/serialization/resources/dubbing/resources/transcripts/index.d.ts +1 -0
  408. package/dist/serialization/resources/dubbing/resources/transcripts/index.js +17 -0
  409. package/dist/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
  410. package/dist/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +39 -0
  411. package/dist/serialization/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
  412. package/dist/serialization/resources/dubbing/resources/transcripts/types/index.js +17 -0
  413. package/dist/serialization/resources/index.d.ts +0 -1
  414. package/dist/serialization/resources/index.js +0 -1
  415. package/dist/serialization/resources/music/types/index.d.ts +0 -4
  416. package/dist/serialization/resources/music/types/index.js +0 -4
  417. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +2 -2
  418. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +2 -2
  419. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +2 -2
  420. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +2 -2
  421. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
  422. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
  423. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +7 -0
  424. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +39 -0
  425. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  426. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  427. package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +7 -0
  428. package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js +39 -0
  429. package/dist/serialization/resources/studio/resources/projects/types/index.d.ts +1 -0
  430. package/dist/serialization/resources/studio/resources/projects/types/index.js +1 -0
  431. package/dist/serialization/resources/textToDialogue/types/index.d.ts +0 -4
  432. package/dist/serialization/resources/textToDialogue/types/index.js +0 -4
  433. package/dist/serialization/resources/textToSoundEffects/index.d.ts +0 -1
  434. package/dist/serialization/resources/textToSoundEffects/index.js +0 -1
  435. package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +1 -1
  436. package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +16 -9
  437. package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +1 -1
  438. package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +16 -9
  439. package/dist/serialization/resources/textToVoice/types/index.d.ts +0 -3
  440. package/dist/serialization/resources/textToVoice/types/index.js +0 -3
  441. package/dist/serialization/resources/voices/resources/index.d.ts +2 -0
  442. package/dist/serialization/resources/voices/resources/index.js +3 -1
  443. package/dist/serialization/resources/voices/resources/ivc/index.d.ts +1 -0
  444. package/dist/serialization/resources/voices/resources/ivc/index.js +17 -0
  445. package/dist/serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +7 -0
  446. package/dist/serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js +42 -0
  447. package/dist/serialization/resources/voices/resources/ivc/types/index.d.ts +1 -0
  448. package/dist/serialization/resources/voices/resources/ivc/types/index.js +17 -0
  449. package/dist/serialization/resources/voices/types/VoicesUpdateRequestLabels.d.ts +7 -0
  450. package/dist/serialization/resources/voices/types/VoicesUpdateRequestLabels.js +42 -0
  451. package/dist/serialization/resources/voices/types/index.d.ts +1 -0
  452. package/dist/serialization/resources/voices/types/index.js +1 -0
  453. package/dist/serialization/types/AddKnowledgeBaseResponseModel.d.ts +2 -0
  454. package/dist/serialization/types/AddKnowledgeBaseResponseModel.js +2 -0
  455. package/dist/serialization/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +10 -0
  456. package/dist/serialization/types/AgentSummaryBatchSuccessfulResponseModel.js +42 -0
  457. package/dist/serialization/types/AllowedOutputFormats.d.ts +7 -0
  458. package/{serialization/resources/music/types/MusicStreamRequestOutputFormat.js → dist/serialization/types/AllowedOutputFormats.js} +3 -3
  459. package/dist/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
  460. package/dist/serialization/types/BatchCallDetailedResponse.js +1 -0
  461. package/dist/serialization/types/BatchCallResponse.d.ts +1 -0
  462. package/dist/serialization/types/BatchCallResponse.js +1 -0
  463. package/dist/serialization/types/Contributor.d.ts +10 -0
  464. package/dist/serialization/types/{ZendeskConversationInitiationTrigger.js → Contributor.js} +4 -3
  465. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
  466. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +2 -0
  467. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +0 -2
  468. package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +0 -2
  469. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  470. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  471. package/dist/serialization/types/CustomSipHeader.d.ts +10 -0
  472. package/{serialization/types/ZendeskConversationInitiationTrigger.js → dist/serialization/types/CustomSipHeader.js} +4 -3
  473. package/dist/serialization/types/CustomSipHeaderWithDynamicVariable.d.ts +10 -0
  474. package/dist/serialization/types/CustomSipHeaderWithDynamicVariable.js +42 -0
  475. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +65 -0
  476. package/dist/serialization/types/DirectPublishingReadResponseModel.js +97 -0
  477. package/dist/serialization/types/DirectPublishingReadResponseModelDisplayMode.d.ts +7 -0
  478. package/dist/serialization/types/DirectPublishingReadResponseModelDisplayMode.js +39 -0
  479. package/dist/serialization/types/DirectPublishingReadResponseModelGenreItem.d.ts +7 -0
  480. package/dist/serialization/types/DirectPublishingReadResponseModelGenreItem.js +72 -0
  481. package/dist/serialization/types/DirectPublishingReadResponseModelPayoutType.d.ts +7 -0
  482. package/dist/serialization/types/DirectPublishingReadResponseModelPayoutType.js +39 -0
  483. package/dist/serialization/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
  484. package/dist/serialization/types/DirectPublishingReadResponseModelTargetAudience.js +39 -0
  485. package/dist/serialization/types/DubbingMetadataResponse.d.ts +1 -0
  486. package/dist/serialization/types/DubbingMetadataResponse.js +1 -0
  487. package/dist/serialization/types/DubbingModel.d.ts +1 -1
  488. package/dist/serialization/types/DubbingModel.js +1 -1
  489. package/dist/serialization/types/DubbingTranscript.d.ts +11 -0
  490. package/dist/serialization/types/DubbingTranscript.js +43 -0
  491. package/dist/serialization/types/DubbingTranscriptsResponseModel.d.ts +14 -0
  492. package/dist/serialization/types/DubbingTranscriptsResponseModel.js +46 -0
  493. package/dist/serialization/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +7 -0
  494. package/dist/serialization/types/DubbingTranscriptsResponseModelTranscriptFormat.js +39 -0
  495. package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
  496. package/dist/serialization/types/GetAgentResponseModel.js +2 -0
  497. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
  498. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +1 -0
  499. package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
  500. package/dist/serialization/types/InvoiceResponse.js +2 -0
  501. package/dist/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +7 -0
  502. package/dist/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.js +47 -0
  503. package/dist/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +9 -0
  504. package/dist/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.js +41 -0
  505. package/dist/serialization/types/{WorkspaceApiKeyResponseModelPermissionsItem.d.ts → PermissionType.d.ts} +3 -3
  506. package/{serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js → dist/serialization/types/PermissionType.js} +8 -2
  507. package/dist/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  508. package/dist/serialization/types/PhoneNumberTransfer.js +2 -0
  509. package/dist/serialization/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +15 -0
  510. package/dist/serialization/types/PhoneNumberTransferCustomSipHeadersItem.js +49 -0
  511. package/dist/serialization/types/PreviewAudioDbModel.d.ts +13 -0
  512. package/dist/serialization/types/PreviewAudioDbModel.js +45 -0
  513. package/dist/serialization/types/ProjectExtendedResponse.d.ts +2 -0
  514. package/dist/serialization/types/ProjectExtendedResponse.js +2 -0
  515. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
  516. package/dist/serialization/types/ProjectVideoResponseModel.js +1 -0
  517. package/dist/serialization/types/ReadLegalTerms.d.ts +11 -0
  518. package/dist/serialization/types/ReadLegalTerms.js +43 -0
  519. package/dist/serialization/types/ReadMetadataChapterDbModel.d.ts +16 -0
  520. package/dist/serialization/types/ReadMetadataChapterDbModel.js +48 -0
  521. package/dist/serialization/types/ReviewResponseModel.d.ts +16 -0
  522. package/dist/serialization/types/ReviewResponseModel.js +48 -0
  523. package/dist/serialization/types/ReviewResponseModelRejectReasonsItem.d.ts +7 -0
  524. package/dist/serialization/types/ReviewResponseModelRejectReasonsItem.js +58 -0
  525. package/dist/serialization/types/ReviewResponseModelReviewStatus.d.ts +7 -0
  526. package/dist/serialization/types/ReviewResponseModelReviewStatus.js +39 -0
  527. package/dist/serialization/types/SampleConfigDbModel.d.ts +13 -0
  528. package/dist/serialization/types/SampleConfigDbModel.js +45 -0
  529. package/dist/serialization/types/SampleConfigDbModelParentType.d.ts +7 -0
  530. package/dist/serialization/types/SampleConfigDbModelParentType.js +39 -0
  531. package/dist/serialization/types/SpellingPatience.d.ts +7 -0
  532. package/{serialization/types/DefaultConversationInitiationTrigger.js → dist/serialization/types/SpellingPatience.js} +2 -2
  533. package/dist/serialization/types/TurnConfig.d.ts +2 -0
  534. package/dist/serialization/types/TurnConfig.js +2 -0
  535. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  536. package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  537. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  538. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  539. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +15 -0
  540. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +49 -0
  541. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  542. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  543. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +15 -0
  544. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +49 -0
  545. package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -2
  546. package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +3 -2
  547. package/dist/serialization/types/index.d.ts +28 -4
  548. package/dist/serialization/types/index.js +28 -4
  549. package/dist/version.d.ts +1 -1
  550. package/dist/version.js +1 -1
  551. package/dist/wrapper/realtime/scribe.js +3 -0
  552. package/package.json +1 -1
  553. package/reference.md +281 -7
  554. package/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +2 -0
  555. package/serialization/resources/conversationalAi/resources/agents/resources/index.js +3 -1
  556. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.d.ts +8 -0
  557. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.js +40 -0
  558. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
  559. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +37 -0
  560. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
  561. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
  562. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +15 -0
  563. package/serialization/{types/ConversationHistoryMetadataCommonModelInitiationTrigger.js → resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js} +8 -8
  564. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
  565. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
  566. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
  567. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
  568. package/serialization/resources/dubbing/resources/index.d.ts +2 -0
  569. package/serialization/resources/dubbing/resources/index.js +3 -1
  570. package/serialization/resources/dubbing/resources/transcripts/index.d.ts +1 -0
  571. package/serialization/resources/dubbing/resources/transcripts/index.js +17 -0
  572. package/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
  573. package/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +39 -0
  574. package/serialization/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
  575. package/serialization/resources/dubbing/resources/transcripts/types/index.js +17 -0
  576. package/serialization/resources/index.d.ts +0 -1
  577. package/serialization/resources/index.js +0 -1
  578. package/serialization/resources/music/types/index.d.ts +0 -4
  579. package/serialization/resources/music/types/index.js +0 -4
  580. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +2 -2
  581. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +2 -2
  582. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +2 -2
  583. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +2 -2
  584. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
  585. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
  586. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +7 -0
  587. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +39 -0
  588. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  589. package/serialization/resources/speechToText/types/index.js +1 -0
  590. package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +7 -0
  591. package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js +39 -0
  592. package/serialization/resources/studio/resources/projects/types/index.d.ts +1 -0
  593. package/serialization/resources/studio/resources/projects/types/index.js +1 -0
  594. package/serialization/resources/textToDialogue/types/index.d.ts +0 -4
  595. package/serialization/resources/textToDialogue/types/index.js +0 -4
  596. package/serialization/resources/textToSoundEffects/index.d.ts +0 -1
  597. package/serialization/resources/textToSoundEffects/index.js +0 -1
  598. package/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +1 -1
  599. package/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +16 -9
  600. package/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +1 -1
  601. package/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +16 -9
  602. package/serialization/resources/textToVoice/types/index.d.ts +0 -3
  603. package/serialization/resources/textToVoice/types/index.js +0 -3
  604. package/serialization/resources/voices/resources/index.d.ts +2 -0
  605. package/serialization/resources/voices/resources/index.js +3 -1
  606. package/serialization/resources/voices/resources/ivc/index.d.ts +1 -0
  607. package/serialization/resources/voices/resources/ivc/index.js +17 -0
  608. package/serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +7 -0
  609. package/serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js +42 -0
  610. package/serialization/resources/voices/resources/ivc/types/index.d.ts +1 -0
  611. package/serialization/resources/voices/resources/ivc/types/index.js +17 -0
  612. package/serialization/resources/voices/types/VoicesUpdateRequestLabels.d.ts +7 -0
  613. package/serialization/resources/voices/types/VoicesUpdateRequestLabels.js +42 -0
  614. package/serialization/resources/voices/types/index.d.ts +1 -0
  615. package/serialization/resources/voices/types/index.js +1 -0
  616. package/serialization/types/AddKnowledgeBaseResponseModel.d.ts +2 -0
  617. package/serialization/types/AddKnowledgeBaseResponseModel.js +2 -0
  618. package/serialization/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +10 -0
  619. package/serialization/types/AgentSummaryBatchSuccessfulResponseModel.js +42 -0
  620. package/serialization/types/AllowedOutputFormats.d.ts +7 -0
  621. package/{dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.js → serialization/types/AllowedOutputFormats.js} +3 -3
  622. package/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
  623. package/serialization/types/BatchCallDetailedResponse.js +1 -0
  624. package/serialization/types/BatchCallResponse.d.ts +1 -0
  625. package/serialization/types/BatchCallResponse.js +1 -0
  626. package/serialization/types/Contributor.d.ts +10 -0
  627. package/serialization/types/Contributor.js +42 -0
  628. package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
  629. package/serialization/types/ConversationHistoryAnalysisCommonModel.js +2 -0
  630. package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +0 -2
  631. package/serialization/types/ConversationHistoryMetadataCommonModel.js +0 -2
  632. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  633. package/serialization/types/ConversationInitiationSource.js +1 -0
  634. package/serialization/types/CustomSipHeader.d.ts +10 -0
  635. package/serialization/types/CustomSipHeader.js +42 -0
  636. package/serialization/types/CustomSipHeaderWithDynamicVariable.d.ts +10 -0
  637. package/serialization/types/CustomSipHeaderWithDynamicVariable.js +42 -0
  638. package/serialization/types/DirectPublishingReadResponseModel.d.ts +65 -0
  639. package/serialization/types/DirectPublishingReadResponseModel.js +97 -0
  640. package/serialization/types/DirectPublishingReadResponseModelDisplayMode.d.ts +7 -0
  641. package/serialization/types/DirectPublishingReadResponseModelDisplayMode.js +39 -0
  642. package/serialization/types/DirectPublishingReadResponseModelGenreItem.d.ts +7 -0
  643. package/serialization/types/DirectPublishingReadResponseModelGenreItem.js +72 -0
  644. package/serialization/types/DirectPublishingReadResponseModelPayoutType.d.ts +7 -0
  645. package/serialization/types/DirectPublishingReadResponseModelPayoutType.js +39 -0
  646. package/serialization/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
  647. package/serialization/types/DirectPublishingReadResponseModelTargetAudience.js +39 -0
  648. package/serialization/types/DubbingMetadataResponse.d.ts +1 -0
  649. package/serialization/types/DubbingMetadataResponse.js +1 -0
  650. package/serialization/types/DubbingModel.d.ts +1 -1
  651. package/serialization/types/DubbingModel.js +1 -1
  652. package/serialization/types/DubbingTranscript.d.ts +11 -0
  653. package/serialization/types/DubbingTranscript.js +43 -0
  654. package/serialization/types/DubbingTranscriptsResponseModel.d.ts +14 -0
  655. package/serialization/types/DubbingTranscriptsResponseModel.js +46 -0
  656. package/serialization/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +7 -0
  657. package/serialization/types/DubbingTranscriptsResponseModelTranscriptFormat.js +39 -0
  658. package/serialization/types/GetAgentResponseModel.d.ts +2 -0
  659. package/serialization/types/GetAgentResponseModel.js +2 -0
  660. package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
  661. package/serialization/types/GetKnowledgeBaseFileResponseModel.js +1 -0
  662. package/serialization/types/InvoiceResponse.d.ts +2 -0
  663. package/serialization/types/InvoiceResponse.js +2 -0
  664. package/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +7 -0
  665. package/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.js +47 -0
  666. package/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +9 -0
  667. package/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.js +41 -0
  668. package/serialization/types/{WorkspaceApiKeyResponseModelPermissionsItem.d.ts → PermissionType.d.ts} +3 -3
  669. package/{dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js → serialization/types/PermissionType.js} +8 -2
  670. package/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  671. package/serialization/types/PhoneNumberTransfer.js +2 -0
  672. package/serialization/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +15 -0
  673. package/serialization/types/PhoneNumberTransferCustomSipHeadersItem.js +49 -0
  674. package/serialization/types/PreviewAudioDbModel.d.ts +13 -0
  675. package/serialization/types/PreviewAudioDbModel.js +45 -0
  676. package/serialization/types/ProjectExtendedResponse.d.ts +2 -0
  677. package/serialization/types/ProjectExtendedResponse.js +2 -0
  678. package/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
  679. package/serialization/types/ProjectVideoResponseModel.js +1 -0
  680. package/serialization/types/ReadLegalTerms.d.ts +11 -0
  681. package/serialization/types/ReadLegalTerms.js +43 -0
  682. package/serialization/types/ReadMetadataChapterDbModel.d.ts +16 -0
  683. package/serialization/types/ReadMetadataChapterDbModel.js +48 -0
  684. package/serialization/types/ReviewResponseModel.d.ts +16 -0
  685. package/serialization/types/ReviewResponseModel.js +48 -0
  686. package/serialization/types/ReviewResponseModelRejectReasonsItem.d.ts +7 -0
  687. package/serialization/types/ReviewResponseModelRejectReasonsItem.js +58 -0
  688. package/serialization/types/ReviewResponseModelReviewStatus.d.ts +7 -0
  689. package/serialization/types/ReviewResponseModelReviewStatus.js +39 -0
  690. package/serialization/types/SampleConfigDbModel.d.ts +13 -0
  691. package/serialization/types/SampleConfigDbModel.js +45 -0
  692. package/serialization/types/SampleConfigDbModelParentType.d.ts +7 -0
  693. package/serialization/types/SampleConfigDbModelParentType.js +39 -0
  694. package/serialization/types/SpellingPatience.d.ts +7 -0
  695. package/{dist/serialization/types/DefaultConversationInitiationTrigger.js → serialization/types/SpellingPatience.js} +2 -2
  696. package/serialization/types/TurnConfig.d.ts +2 -0
  697. package/serialization/types/TurnConfig.js +2 -0
  698. package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  699. package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  700. package/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  701. package/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  702. package/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +15 -0
  703. package/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +49 -0
  704. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  705. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  706. package/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +15 -0
  707. package/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +49 -0
  708. package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -2
  709. package/serialization/types/WorkspaceApiKeyResponseModel.js +3 -2
  710. package/serialization/types/index.d.ts +28 -4
  711. package/serialization/types/index.js +28 -4
  712. package/version.d.ts +1 -1
  713. package/version.js +1 -1
  714. package/wrapper/realtime/scribe.js +3 -0
  715. package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -25
  716. package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -28
  717. package/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -25
  718. package/api/resources/music/types/MusicComposeRequestOutputFormat.js +0 -28
  719. package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -25
  720. package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -28
  721. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -25
  722. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -28
  723. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -25
  724. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -28
  725. package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -25
  726. package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -28
  727. package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -25
  728. package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -28
  729. package/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -25
  730. package/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -28
  731. package/api/resources/textToSoundEffects/types/index.d.ts +0 -1
  732. package/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -25
  733. package/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -28
  734. package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -25
  735. package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -28
  736. package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -25
  737. package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -28
  738. package/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -10
  739. package/api/types/DefaultConversationInitiationTrigger.d.ts +0 -4
  740. package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +0 -31
  741. package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +0 -34
  742. package/api/types/ZendeskConversationInitiationTrigger.d.ts +0 -6
  743. package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -25
  744. package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -28
  745. package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -25
  746. package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.js +0 -28
  747. package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -25
  748. package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -28
  749. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts +0 -31
  750. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js +0 -34
  751. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -31
  752. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -34
  753. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -25
  754. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -28
  755. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -25
  756. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -28
  757. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -25
  758. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -28
  759. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -25
  760. package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -28
  761. package/dist/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -25
  762. package/dist/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -28
  763. package/dist/api/resources/textToSoundEffects/types/index.d.ts +0 -1
  764. package/dist/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -25
  765. package/dist/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -28
  766. package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -25
  767. package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -28
  768. package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -25
  769. package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -28
  770. package/dist/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -10
  771. package/dist/api/types/DefaultConversationInitiationTrigger.d.ts +0 -4
  772. package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +0 -31
  773. package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +0 -34
  774. package/dist/api/types/ZendeskConversationInitiationTrigger.d.ts +0 -6
  775. package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -7
  776. package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -61
  777. package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -7
  778. package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +0 -61
  779. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -7
  780. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -61
  781. package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +0 -7
  782. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts +0 -7
  783. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js +0 -68
  784. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -7
  785. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -68
  786. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -7
  787. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -61
  788. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -7
  789. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -61
  790. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -7
  791. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -61
  792. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -7
  793. package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -61
  794. package/dist/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -7
  795. package/dist/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -61
  796. package/dist/serialization/resources/textToSoundEffects/types/index.d.ts +0 -1
  797. package/dist/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -7
  798. package/dist/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -61
  799. package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -7
  800. package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -61
  801. package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -7
  802. package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -61
  803. package/dist/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -15
  804. package/dist/serialization/types/DefaultConversationInitiationTrigger.d.ts +0 -7
  805. package/dist/serialization/types/ZendeskConversationInitiationTrigger.d.ts +0 -9
  806. package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -7
  807. package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -61
  808. package/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -7
  809. package/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +0 -61
  810. package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -7
  811. package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -61
  812. package/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +0 -7
  813. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts +0 -7
  814. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js +0 -68
  815. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -7
  816. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -68
  817. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -7
  818. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -61
  819. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -7
  820. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -61
  821. package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -7
  822. package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -61
  823. package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -7
  824. package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -61
  825. package/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -7
  826. package/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -61
  827. package/serialization/resources/textToSoundEffects/types/index.d.ts +0 -1
  828. package/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -7
  829. package/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -61
  830. package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -7
  831. package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -61
  832. package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -7
  833. package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -61
  834. package/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -15
  835. package/serialization/types/DefaultConversationInitiationTrigger.d.ts +0 -7
  836. package/serialization/types/ZendeskConversationInitiationTrigger.d.ts +0 -9
  837. /package/api/{types/ConversationHistoryMetadataCommonModelInitiationTrigger.js → resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.js} +0 -0
  838. /package/api/{types/DefaultConversationInitiationTrigger.js → resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js} +0 -0
  839. /package/api/{types/ZendeskConversationInitiationTrigger.js → resources/voices/resources/ivc/types/IvcCreateRequestLabels.js} +0 -0
  840. /package/{dist/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.js → api/resources/voices/types/VoicesUpdateRequestLabels.js} +0 -0
  841. /package/{dist/api/types/DefaultConversationInitiationTrigger.js → api/types/AgentSummaryBatchSuccessfulResponseModel.js} +0 -0
  842. /package/{dist/api/types/ZendeskConversationInitiationTrigger.js → api/types/Contributor.js} +0 -0
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./SpeechToTextConvertRequestEntityDetection"), exports);
18
18
  __exportStar(require("./SpeechToTextConvertRequestFileFormat"), exports);
19
+ __exportStar(require("./SpeechToTextConvertRequestModelId"), exports);
19
20
  __exportStar(require("./SpeechToTextConvertRequestTimestampsGranularity"), exports);
20
21
  __exportStar(require("./SpeechToTextConvertRequestWebhookMetadata"), exports);
21
22
  __exportStar(require("./SpeechToTextConvertResponse"), exports);
@@ -28,10 +28,10 @@ export interface BodyCreatePodcastV1StudioPodcastsPost {
28
28
  source: ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostSource;
29
29
  /**
30
30
  * Output quality of the generated audio. Must be one of:
31
- * standard - standard output format, 128kbps with 44.1kHz sample rate.
32
- * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
33
- * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
34
- * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
31
+ * 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
32
+ * 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
33
+ * 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
34
+ * 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
35
35
  */
36
36
  qualityPreset?: ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostQualityPreset;
37
37
  /**
@@ -176,7 +176,9 @@ class ProjectsClient {
176
176
  _request.append("from_content_json", request.fromContentJson);
177
177
  }
178
178
  if (request.qualityPreset != null) {
179
- _request.append("quality_preset", request.qualityPreset);
179
+ _request.append("quality_preset", serializers.studio.ProjectsCreateRequestQualityPreset.jsonOrThrow(request.qualityPreset, {
180
+ unrecognizedObjectKeys: "strip",
181
+ }));
180
182
  }
181
183
  if (request.title != null) {
182
184
  _request.append("title", request.title);
@@ -29,12 +29,12 @@ export interface BodyCreateStudioProjectV1StudioProjectsPost {
29
29
  fromContentJson?: string;
30
30
  /**
31
31
  * Output quality of the generated audio. Must be one of:
32
- * standard - standard output format, 128kbps with 44.1kHz sample rate.
33
- * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
34
- * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
35
- * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
32
+ * 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
33
+ * 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
34
+ * 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
35
+ * 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
36
36
  */
37
- qualityPreset?: string;
37
+ qualityPreset?: ElevenLabs.studio.ProjectsCreateRequestQualityPreset;
38
38
  /** An optional name of the author of the Studio project, this will be added as metadata to the mp3 file on Studio project or chapter download. */
39
39
  title?: string;
40
40
  /** An optional name of the author of the Studio project, this will be added as metadata to the mp3 file on Studio project or chapter download. */
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Output quality of the generated audio. Must be one of:
3
+ * 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
4
+ * 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
5
+ * 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
6
+ * 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
7
+ */
8
+ export declare const ProjectsCreateRequestQualityPreset: {
9
+ readonly Standard: "standard";
10
+ readonly High: "high";
11
+ readonly Ultra: "ultra";
12
+ readonly UltraLossless: "ultra_lossless";
13
+ };
14
+ export type ProjectsCreateRequestQualityPreset = (typeof ProjectsCreateRequestQualityPreset)[keyof typeof ProjectsCreateRequestQualityPreset];
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ProjectsCreateRequestQualityPreset = void 0;
5
+ /**
6
+ * Output quality of the generated audio. Must be one of:
7
+ * 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
8
+ * 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
9
+ * 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
10
+ * 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
11
+ */
12
+ exports.ProjectsCreateRequestQualityPreset = {
13
+ Standard: "standard",
14
+ High: "high",
15
+ Ultra: "ultra",
16
+ UltraLossless: "ultra_lossless",
17
+ };
@@ -1,4 +1,5 @@
1
1
  export * from "./ProjectsCreateRequestApplyTextNormalization";
2
2
  export * from "./ProjectsCreateRequestFiction";
3
+ export * from "./ProjectsCreateRequestQualityPreset";
3
4
  export * from "./ProjectsCreateRequestSourceType";
4
5
  export * from "./ProjectsCreateRequestTargetAudience";
@@ -16,5 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ProjectsCreateRequestApplyTextNormalization"), exports);
18
18
  __exportStar(require("./ProjectsCreateRequestFiction"), exports);
19
+ __exportStar(require("./ProjectsCreateRequestQualityPreset"), exports);
19
20
  __exportStar(require("./ProjectsCreateRequestSourceType"), exports);
20
21
  __exportStar(require("./ProjectsCreateRequestTargetAudience"), exports);
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * Output quality of the generated audio. Must be one of:
3
- * standard - standard output format, 128kbps with 44.1kHz sample rate.
4
- * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
5
- * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
6
- * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
3
+ * 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
4
+ * 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
5
+ * 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
6
+ * 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
7
7
  */
8
8
  export declare const BodyCreatePodcastV1StudioPodcastsPostQualityPreset: {
9
9
  readonly Standard: "standard";
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.BodyCreatePodcastV1StudioPodcastsPostQualityPreset = void 0;
5
5
  /**
6
6
  * Output quality of the generated audio. Must be one of:
7
- * standard - standard output format, 128kbps with 44.1kHz sample rate.
8
- * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
9
- * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
10
- * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
7
+ * 'standard' - standard output format, 128kbps with 44.1kHz sample rate.
8
+ * 'high' - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side.
9
+ * 'ultra' - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side.
10
+ * 'ultra_lossless' - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format.
11
11
  */
12
12
  exports.BodyCreatePodcastV1StudioPodcastsPostQualityPreset = {
13
13
  Standard: "standard",
@@ -80,7 +80,9 @@ class TextToDialogueClient {
80
80
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
81
81
  const _queryParams = {};
82
82
  if (outputFormat != null) {
83
- _queryParams.output_format = serializers.TextToDialogueConvertRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
83
+ _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
84
+ unrecognizedObjectKeys: "strip",
85
+ });
84
86
  }
85
87
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
86
88
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
@@ -136,7 +138,7 @@ class TextToDialogueClient {
136
138
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
137
139
  const _queryParams = {};
138
140
  if (outputFormat != null) {
139
- _queryParams.output_format = serializers.TextToDialogueStreamRequestOutputFormat.jsonOrThrow(outputFormat, {
141
+ _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
140
142
  unrecognizedObjectKeys: "strip",
141
143
  });
142
144
  }
@@ -193,7 +195,9 @@ class TextToDialogueClient {
193
195
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
194
196
  const _queryParams = {};
195
197
  if (outputFormat != null) {
196
- _queryParams.output_format = serializers.TextToDialogueStreamWithTimestampsRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
198
+ _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
199
+ unrecognizedObjectKeys: "strip",
200
+ });
197
201
  }
198
202
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
199
203
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
@@ -283,7 +287,9 @@ class TextToDialogueClient {
283
287
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
284
288
  const _queryParams = {};
285
289
  if (outputFormat != null) {
286
- _queryParams.output_format = serializers.TextToDialogueConvertWithTimestampsRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
290
+ _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
291
+ unrecognizedObjectKeys: "strip",
292
+ });
287
293
  }
288
294
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
289
295
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
@@ -14,7 +14,7 @@ import type * as ElevenLabs from "../../../../index";
14
14
  */
15
15
  export interface BodyTextToDialogueFullWithTimestamps {
16
16
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
17
- outputFormat?: ElevenLabs.TextToDialogueConvertWithTimestampsRequestOutputFormat;
17
+ outputFormat?: ElevenLabs.AllowedOutputFormats;
18
18
  /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
19
19
  inputs: ElevenLabs.DialogueInput[];
20
20
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
@@ -13,7 +13,7 @@ import type * as ElevenLabs from "../../../../index";
13
13
  */
14
14
  export interface BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost {
15
15
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
16
- outputFormat?: ElevenLabs.TextToDialogueStreamRequestOutputFormat;
16
+ outputFormat?: ElevenLabs.AllowedOutputFormats;
17
17
  /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
18
18
  inputs: ElevenLabs.DialogueInput[];
19
19
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
@@ -13,7 +13,7 @@ import type * as ElevenLabs from "../../../../index";
13
13
  */
14
14
  export interface BodyTextToDialogueMultiVoiceV1TextToDialoguePost {
15
15
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
16
- outputFormat?: ElevenLabs.TextToDialogueConvertRequestOutputFormat;
16
+ outputFormat?: ElevenLabs.AllowedOutputFormats;
17
17
  /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
18
18
  inputs: ElevenLabs.DialogueInput[];
19
19
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
@@ -14,7 +14,7 @@ import type * as ElevenLabs from "../../../../index";
14
14
  */
15
15
  export interface BodyTextToDialogueStreamWithTimestamps {
16
16
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
17
- outputFormat?: ElevenLabs.TextToDialogueStreamWithTimestampsRequestOutputFormat;
17
+ outputFormat?: ElevenLabs.AllowedOutputFormats;
18
18
  /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
19
19
  inputs: ElevenLabs.DialogueInput[];
20
20
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
@@ -2,7 +2,3 @@ export * from "./BodyTextToDialogueFullWithTimestampsApplyTextNormalization";
2
2
  export * from "./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
3
3
  export * from "./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
4
4
  export * from "./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization";
5
- export * from "./TextToDialogueConvertRequestOutputFormat";
6
- export * from "./TextToDialogueConvertWithTimestampsRequestOutputFormat";
7
- export * from "./TextToDialogueStreamRequestOutputFormat";
8
- export * from "./TextToDialogueStreamWithTimestampsRequestOutputFormat";
@@ -18,7 +18,3 @@ __exportStar(require("./BodyTextToDialogueFullWithTimestampsApplyTextNormalizati
18
18
  __exportStar(require("./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization"), exports);
19
19
  __exportStar(require("./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization"), exports);
20
20
  __exportStar(require("./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization"), exports);
21
- __exportStar(require("./TextToDialogueConvertRequestOutputFormat"), exports);
22
- __exportStar(require("./TextToDialogueConvertWithTimestampsRequestOutputFormat"), exports);
23
- __exportStar(require("./TextToDialogueStreamRequestOutputFormat"), exports);
24
- __exportStar(require("./TextToDialogueStreamWithTimestampsRequestOutputFormat"), exports);
@@ -80,7 +80,9 @@ class TextToSoundEffectsClient {
80
80
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
81
81
  const _queryParams = {};
82
82
  if (outputFormat != null) {
83
- _queryParams.output_format = serializers.TextToSoundEffectsConvertRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
83
+ _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
84
+ unrecognizedObjectKeys: "strip",
85
+ });
84
86
  }
85
87
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
86
88
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
@@ -7,7 +7,7 @@ import type * as ElevenLabs from "../../../../index";
7
7
  */
8
8
  export interface CreateSoundEffectRequest {
9
9
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
10
- outputFormat?: ElevenLabs.TextToSoundEffectsConvertRequestOutputFormat;
10
+ outputFormat?: ElevenLabs.AllowedOutputFormats;
11
11
  /** The text that will get converted into a sound effect. */
12
12
  text: string;
13
13
  /** Whether to create a sound effect that loops smoothly. Only available for the 'eleven_text_to_sound_v2 model'. */
@@ -1,2 +1 @@
1
1
  export * from "./client";
2
- export * from "./types";
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client"), exports);
18
- __exportStar(require("./types"), exports);
@@ -29,7 +29,7 @@ export declare class TextToSpeechClient {
29
29
  * await client.textToSpeech.convertWithTimestamps("21m00Tcm4TlvDq8ikWAM", {
30
30
  * enableLogging: true,
31
31
  * optimizeStreamingLatency: 1,
32
- * outputFormat: "mp3_22050_32",
32
+ * outputFormat: "alaw_8000",
33
33
  * text: "This is a test for the API of ElevenLabs."
34
34
  * })
35
35
  */
@@ -142,7 +142,7 @@ class TextToSpeechClient {
142
142
  * await client.textToSpeech.convertWithTimestamps("21m00Tcm4TlvDq8ikWAM", {
143
143
  * enableLogging: true,
144
144
  * optimizeStreamingLatency: 1,
145
- * outputFormat: "mp3_22050_32",
145
+ * outputFormat: "alaw_8000",
146
146
  * text: "This is a test for the API of ElevenLabs."
147
147
  * })
148
148
  */
@@ -21,7 +21,7 @@ export interface BodyTextToSpeechFull {
21
21
  * Defaults to None.
22
22
  */
23
23
  optimizeStreamingLatency?: number;
24
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
24
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
25
25
  outputFormat?: ElevenLabs.TextToSpeechConvertRequestOutputFormat;
26
26
  /** The text that will get converted into speech. */
27
27
  text: string;
@@ -4,7 +4,7 @@ import type * as ElevenLabs from "../../../../index";
4
4
  * {
5
5
  * enableLogging: true,
6
6
  * optimizeStreamingLatency: 1,
7
- * outputFormat: "mp3_22050_32",
7
+ * outputFormat: "alaw_8000",
8
8
  * text: "This is a test for the API of ElevenLabs."
9
9
  * }
10
10
  */
@@ -22,7 +22,7 @@ export interface BodyTextToSpeechFullWithTimestamps {
22
22
  * Defaults to None.
23
23
  */
24
24
  optimizeStreamingLatency?: number;
25
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
25
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
26
26
  outputFormat?: ElevenLabs.TextToSpeechConvertWithTimestampsRequestOutputFormat;
27
27
  /** The text that will get converted into speech. */
28
28
  text: string;
@@ -1,25 +1,32 @@
1
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
1
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
2
2
  export declare const TextToSpeechConvertRequestOutputFormat: {
3
+ readonly Alaw8000: "alaw_8000";
3
4
  readonly Mp32205032: "mp3_22050_32";
4
5
  readonly Mp32400048: "mp3_24000_48";
6
+ readonly Mp344100128: "mp3_44100_128";
7
+ readonly Mp344100192: "mp3_44100_192";
5
8
  readonly Mp34410032: "mp3_44100_32";
6
9
  readonly Mp34410064: "mp3_44100_64";
7
10
  readonly Mp34410096: "mp3_44100_96";
8
- readonly Mp344100128: "mp3_44100_128";
9
- readonly Mp344100192: "mp3_44100_192";
10
- readonly Pcm8000: "pcm_8000";
11
+ readonly Opus48000128: "opus_48000_128";
12
+ readonly Opus48000192: "opus_48000_192";
13
+ readonly Opus4800032: "opus_48000_32";
14
+ readonly Opus4800064: "opus_48000_64";
15
+ readonly Opus4800096: "opus_48000_96";
11
16
  readonly Pcm16000: "pcm_16000";
12
17
  readonly Pcm22050: "pcm_22050";
13
18
  readonly Pcm24000: "pcm_24000";
14
19
  readonly Pcm32000: "pcm_32000";
15
20
  readonly Pcm44100: "pcm_44100";
16
21
  readonly Pcm48000: "pcm_48000";
22
+ readonly Pcm8000: "pcm_8000";
17
23
  readonly Ulaw8000: "ulaw_8000";
18
- readonly Alaw8000: "alaw_8000";
19
- readonly Opus4800032: "opus_48000_32";
20
- readonly Opus4800064: "opus_48000_64";
21
- readonly Opus4800096: "opus_48000_96";
22
- readonly Opus48000128: "opus_48000_128";
23
- readonly Opus48000192: "opus_48000_192";
24
+ readonly Wav16000: "wav_16000";
25
+ readonly Wav22050: "wav_22050";
26
+ readonly Wav24000: "wav_24000";
27
+ readonly Wav32000: "wav_32000";
28
+ readonly Wav44100: "wav_44100";
29
+ readonly Wav48000: "wav_48000";
30
+ readonly Wav8000: "wav_8000";
24
31
  };
25
32
  export type TextToSpeechConvertRequestOutputFormat = (typeof TextToSpeechConvertRequestOutputFormat)[keyof typeof TextToSpeechConvertRequestOutputFormat];
@@ -2,27 +2,34 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.TextToSpeechConvertRequestOutputFormat = void 0;
5
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
5
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
6
6
  exports.TextToSpeechConvertRequestOutputFormat = {
7
+ Alaw8000: "alaw_8000",
7
8
  Mp32205032: "mp3_22050_32",
8
9
  Mp32400048: "mp3_24000_48",
10
+ Mp344100128: "mp3_44100_128",
11
+ Mp344100192: "mp3_44100_192",
9
12
  Mp34410032: "mp3_44100_32",
10
13
  Mp34410064: "mp3_44100_64",
11
14
  Mp34410096: "mp3_44100_96",
12
- Mp344100128: "mp3_44100_128",
13
- Mp344100192: "mp3_44100_192",
14
- Pcm8000: "pcm_8000",
15
+ Opus48000128: "opus_48000_128",
16
+ Opus48000192: "opus_48000_192",
17
+ Opus4800032: "opus_48000_32",
18
+ Opus4800064: "opus_48000_64",
19
+ Opus4800096: "opus_48000_96",
15
20
  Pcm16000: "pcm_16000",
16
21
  Pcm22050: "pcm_22050",
17
22
  Pcm24000: "pcm_24000",
18
23
  Pcm32000: "pcm_32000",
19
24
  Pcm44100: "pcm_44100",
20
25
  Pcm48000: "pcm_48000",
26
+ Pcm8000: "pcm_8000",
21
27
  Ulaw8000: "ulaw_8000",
22
- Alaw8000: "alaw_8000",
23
- Opus4800032: "opus_48000_32",
24
- Opus4800064: "opus_48000_64",
25
- Opus4800096: "opus_48000_96",
26
- Opus48000128: "opus_48000_128",
27
- Opus48000192: "opus_48000_192",
28
+ Wav16000: "wav_16000",
29
+ Wav22050: "wav_22050",
30
+ Wav24000: "wav_24000",
31
+ Wav32000: "wav_32000",
32
+ Wav44100: "wav_44100",
33
+ Wav48000: "wav_48000",
34
+ Wav8000: "wav_8000",
28
35
  };
@@ -1,25 +1,32 @@
1
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
1
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
2
2
  export declare const TextToSpeechConvertWithTimestampsRequestOutputFormat: {
3
+ readonly Alaw8000: "alaw_8000";
3
4
  readonly Mp32205032: "mp3_22050_32";
4
5
  readonly Mp32400048: "mp3_24000_48";
6
+ readonly Mp344100128: "mp3_44100_128";
7
+ readonly Mp344100192: "mp3_44100_192";
5
8
  readonly Mp34410032: "mp3_44100_32";
6
9
  readonly Mp34410064: "mp3_44100_64";
7
10
  readonly Mp34410096: "mp3_44100_96";
8
- readonly Mp344100128: "mp3_44100_128";
9
- readonly Mp344100192: "mp3_44100_192";
10
- readonly Pcm8000: "pcm_8000";
11
+ readonly Opus48000128: "opus_48000_128";
12
+ readonly Opus48000192: "opus_48000_192";
13
+ readonly Opus4800032: "opus_48000_32";
14
+ readonly Opus4800064: "opus_48000_64";
15
+ readonly Opus4800096: "opus_48000_96";
11
16
  readonly Pcm16000: "pcm_16000";
12
17
  readonly Pcm22050: "pcm_22050";
13
18
  readonly Pcm24000: "pcm_24000";
14
19
  readonly Pcm32000: "pcm_32000";
15
20
  readonly Pcm44100: "pcm_44100";
16
21
  readonly Pcm48000: "pcm_48000";
22
+ readonly Pcm8000: "pcm_8000";
17
23
  readonly Ulaw8000: "ulaw_8000";
18
- readonly Alaw8000: "alaw_8000";
19
- readonly Opus4800032: "opus_48000_32";
20
- readonly Opus4800064: "opus_48000_64";
21
- readonly Opus4800096: "opus_48000_96";
22
- readonly Opus48000128: "opus_48000_128";
23
- readonly Opus48000192: "opus_48000_192";
24
+ readonly Wav16000: "wav_16000";
25
+ readonly Wav22050: "wav_22050";
26
+ readonly Wav24000: "wav_24000";
27
+ readonly Wav32000: "wav_32000";
28
+ readonly Wav44100: "wav_44100";
29
+ readonly Wav48000: "wav_48000";
30
+ readonly Wav8000: "wav_8000";
24
31
  };
25
32
  export type TextToSpeechConvertWithTimestampsRequestOutputFormat = (typeof TextToSpeechConvertWithTimestampsRequestOutputFormat)[keyof typeof TextToSpeechConvertWithTimestampsRequestOutputFormat];
@@ -2,27 +2,34 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.TextToSpeechConvertWithTimestampsRequestOutputFormat = void 0;
5
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
5
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
6
6
  exports.TextToSpeechConvertWithTimestampsRequestOutputFormat = {
7
+ Alaw8000: "alaw_8000",
7
8
  Mp32205032: "mp3_22050_32",
8
9
  Mp32400048: "mp3_24000_48",
10
+ Mp344100128: "mp3_44100_128",
11
+ Mp344100192: "mp3_44100_192",
9
12
  Mp34410032: "mp3_44100_32",
10
13
  Mp34410064: "mp3_44100_64",
11
14
  Mp34410096: "mp3_44100_96",
12
- Mp344100128: "mp3_44100_128",
13
- Mp344100192: "mp3_44100_192",
14
- Pcm8000: "pcm_8000",
15
+ Opus48000128: "opus_48000_128",
16
+ Opus48000192: "opus_48000_192",
17
+ Opus4800032: "opus_48000_32",
18
+ Opus4800064: "opus_48000_64",
19
+ Opus4800096: "opus_48000_96",
15
20
  Pcm16000: "pcm_16000",
16
21
  Pcm22050: "pcm_22050",
17
22
  Pcm24000: "pcm_24000",
18
23
  Pcm32000: "pcm_32000",
19
24
  Pcm44100: "pcm_44100",
20
25
  Pcm48000: "pcm_48000",
26
+ Pcm8000: "pcm_8000",
21
27
  Ulaw8000: "ulaw_8000",
22
- Alaw8000: "alaw_8000",
23
- Opus4800032: "opus_48000_32",
24
- Opus4800064: "opus_48000_64",
25
- Opus4800096: "opus_48000_96",
26
- Opus48000128: "opus_48000_128",
27
- Opus48000192: "opus_48000_192",
28
+ Wav16000: "wav_16000",
29
+ Wav22050: "wav_22050",
30
+ Wav24000: "wav_24000",
31
+ Wav32000: "wav_32000",
32
+ Wav44100: "wav_44100",
33
+ Wav48000: "wav_48000",
34
+ Wav8000: "wav_8000",
28
35
  };
@@ -95,7 +95,9 @@ class TextToVoiceClient {
95
95
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
96
96
  const _queryParams = {};
97
97
  if (outputFormat != null) {
98
- _queryParams.output_format = serializers.TextToVoiceCreatePreviewsRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
98
+ _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
99
+ unrecognizedObjectKeys: "strip",
100
+ });
99
101
  }
100
102
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
101
103
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
@@ -235,7 +237,7 @@ class TextToVoiceClient {
235
237
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
236
238
  const _queryParams = {};
237
239
  if (outputFormat != null) {
238
- _queryParams.output_format = serializers.TextToVoiceDesignRequestOutputFormat.jsonOrThrow(outputFormat, {
240
+ _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
239
241
  unrecognizedObjectKeys: "strip",
240
242
  });
241
243
  }
@@ -309,7 +311,7 @@ class TextToVoiceClient {
309
311
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
310
312
  const _queryParams = {};
311
313
  if (outputFormat != null) {
312
- _queryParams.output_format = serializers.TextToVoiceRemixRequestOutputFormat.jsonOrThrow(outputFormat, {
314
+ _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
313
315
  unrecognizedObjectKeys: "strip",
314
316
  });
315
317
  }
@@ -8,7 +8,7 @@ import type * as ElevenLabs from "../../../../index";
8
8
  */
9
9
  export interface VoiceDesignRequest {
10
10
  /** The output format of the generated audio. */
11
- outputFormat?: ElevenLabs.TextToVoiceCreatePreviewsRequestOutputFormat;
11
+ outputFormat?: ElevenLabs.AllowedOutputFormats;
12
12
  /** Description to use for the created voice. */
13
13
  voiceDescription: string;
14
14
  /** Text to generate, text length has to be between 100 and 1000. */
@@ -8,7 +8,7 @@ import type * as ElevenLabs from "../../../../index";
8
8
  */
9
9
  export interface VoiceDesignRequestModel {
10
10
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
11
- outputFormat?: ElevenLabs.TextToVoiceDesignRequestOutputFormat;
11
+ outputFormat?: ElevenLabs.AllowedOutputFormats;
12
12
  /** Description to use for the created voice. */
13
13
  voiceDescription: string;
14
14
  /** Model to use for the voice generation. Possible values: eleven_multilingual_ttv_v2, eleven_ttv_v3. */
@@ -8,7 +8,7 @@ import type * as ElevenLabs from "../../../../index";
8
8
  */
9
9
  export interface VoiceRemixRequestModel {
10
10
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
11
- outputFormat?: ElevenLabs.TextToVoiceRemixRequestOutputFormat;
11
+ outputFormat?: ElevenLabs.AllowedOutputFormats;
12
12
  /** Description of the changes to make to the voice. */
13
13
  voiceDescription: string;
14
14
  /** Text to generate, text length has to be between 100 and 1000. */
@@ -1,4 +1 @@
1
- export * from "./TextToVoiceCreatePreviewsRequestOutputFormat";
2
- export * from "./TextToVoiceDesignRequestOutputFormat";
3
- export * from "./TextToVoiceRemixRequestOutputFormat";
4
1
  export * from "./VoiceDesignRequestModelModelId";
@@ -14,7 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./TextToVoiceCreatePreviewsRequestOutputFormat"), exports);
18
- __exportStar(require("./TextToVoiceDesignRequestOutputFormat"), exports);
19
- __exportStar(require("./TextToVoiceRemixRequestOutputFormat"), exports);
20
17
  __exportStar(require("./VoiceDesignRequestModelModelId"), exports);