@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
@@ -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);
@@ -47,6 +47,7 @@ exports.VoicesClient = void 0;
47
47
  const BaseClient_1 = require("../../../../BaseClient");
48
48
  const core = __importStar(require("../../../../core"));
49
49
  const headers_1 = require("../../../../core/headers");
50
+ const json_1 = require("../../../../core/json");
50
51
  const environments = __importStar(require("../../../../environments"));
51
52
  const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
52
53
  const errors = __importStar(require("../../../../errors/index"));
@@ -420,7 +421,12 @@ class VoicesClient {
420
421
  _request.append("description", request.description);
421
422
  }
422
423
  if (request.labels != null) {
423
- _request.append("labels", request.labels);
424
+ _request.append("labels", (() => {
425
+ const mapped = serializers.VoicesUpdateRequestLabels.jsonOrThrow(request.labels, {
426
+ unrecognizedObjectKeys: "strip",
427
+ });
428
+ return typeof mapped === "string" ? mapped : (0, json_1.toJson)(mapped);
429
+ })());
424
430
  }
425
431
  const _maybeEncodedRequest = yield _request.getRequest();
426
432
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "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 }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -1,4 +1,5 @@
1
1
  import type * as core from "../../../../../core";
2
+ import type * as ElevenLabs from "../../../../index";
2
3
  /**
3
4
  * @example
4
5
  * {
@@ -14,6 +15,6 @@ export interface BodyEditVoiceV1VoicesVoiceIdEditPost {
14
15
  removeBackgroundNoise?: boolean;
15
16
  /** A description of the voice. */
16
17
  description?: string;
17
- /** Serialized labels dictionary for the voice. */
18
- labels?: string;
18
+ /** Labels for the voice. Keys can be language, accent, gender, or age. */
19
+ labels?: ElevenLabs.VoicesUpdateRequestLabels;
19
20
  }
@@ -1,5 +1,6 @@
1
1
  export * as ivc from "./ivc";
2
2
  export * from "./ivc/client/requests";
3
+ export * from "./ivc/types";
3
4
  export * as pvc from "./pvc";
4
5
  export * from "./pvc/client/requests";
5
6
  export * as samples from "./samples";
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.settings = exports.samples = exports.pvc = exports.ivc = void 0;
40
40
  exports.ivc = __importStar(require("./ivc"));
41
41
  __exportStar(require("./ivc/client/requests"), exports);
42
+ __exportStar(require("./ivc/types"), exports);
42
43
  exports.pvc = __importStar(require("./pvc"));
43
44
  __exportStar(require("./pvc/client/requests"), exports);
44
45
  exports.samples = __importStar(require("./samples"));
@@ -47,6 +47,7 @@ exports.IvcClient = void 0;
47
47
  const BaseClient_1 = require("../../../../../../BaseClient");
48
48
  const core = __importStar(require("../../../../../../core"));
49
49
  const headers_1 = require("../../../../../../core/headers");
50
+ const json_1 = require("../../../../../../core/json");
50
51
  const environments = __importStar(require("../../../../../../environments"));
51
52
  const handleNonStatusCodeError_1 = require("../../../../../../errors/handleNonStatusCodeError");
52
53
  const errors = __importStar(require("../../../../../../errors/index"));
@@ -89,7 +90,12 @@ class IvcClient {
89
90
  _request.append("description", request.description);
90
91
  }
91
92
  if (request.labels != null) {
92
- _request.append("labels", request.labels);
93
+ _request.append("labels", (() => {
94
+ const mapped = serializers.voices.IvcCreateRequestLabels.jsonOrThrow(request.labels, {
95
+ unrecognizedObjectKeys: "strip",
96
+ });
97
+ return typeof mapped === "string" ? mapped : (0, json_1.toJson)(mapped);
98
+ })());
93
99
  }
94
100
  const _maybeEncodedRequest = yield _request.getRequest();
95
101
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "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 }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -1,4 +1,5 @@
1
1
  import type * as core from "../../../../../../../core";
2
+ import type * as ElevenLabs from "../../../../../../index";
2
3
  /**
3
4
  * @example
4
5
  * {
@@ -15,6 +16,6 @@ export interface BodyAddVoiceV1VoicesAddPost {
15
16
  removeBackgroundNoise?: boolean;
16
17
  /** A description of the voice. */
17
18
  description?: string;
18
- /** Serialized labels dictionary for the voice. */
19
- labels?: string;
19
+ /** Labels for the voice. Keys can be language, accent, gender, or age. */
20
+ labels?: ElevenLabs.voices.IvcCreateRequestLabels;
20
21
  }
@@ -1 +1,2 @@
1
1
  export * from "./client";
2
+ export * from "./types";
@@ -15,3 +15,4 @@ 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);
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Labels for the voice. Keys can be language, accent, gender, or age.
3
+ */
4
+ export type IvcCreateRequestLabels = Record<string, string> | string;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./IvcCreateRequestLabels";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./IvcCreateRequestLabels"), exports);
@@ -9,6 +9,6 @@ export interface BodyEditPvcVoiceV1VoicesPvcVoiceIdPost {
9
9
  language?: string;
10
10
  /** Description to use for the created voice. */
11
11
  description?: string;
12
- /** Serialized labels dictionary for the voice. */
12
+ /** Labels for the voice. Keys can be language, accent, gender, or age. */
13
13
  labels?: Record<string, string | undefined>;
14
14
  }
@@ -12,6 +12,6 @@ export interface CreatePvcVoiceRequest {
12
12
  language: string;
13
13
  /** Description to use for the created voice. */
14
14
  description?: string;
15
- /** Serialized labels dictionary for the voice. */
15
+ /** Labels for the voice. Keys can be language, accent, gender, or age. */
16
16
  labels?: Record<string, string | undefined>;
17
17
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Labels for the voice. Keys can be language, accent, gender, or age.
3
+ */
4
+ export type VoicesUpdateRequestLabels = Record<string, string> | string;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
1
  export * from "./VoicesGetSharedRequestCategory";
2
+ export * from "./VoicesUpdateRequestLabels";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./VoicesGetSharedRequestCategory"), exports);
18
+ __exportStar(require("./VoicesUpdateRequestLabels"), exports);
@@ -1,4 +1,7 @@
1
+ import type * as ElevenLabs from "../index";
1
2
  export interface AddKnowledgeBaseResponseModel {
2
3
  id: string;
3
4
  name: string;
5
+ /** The folder path segments leading to this entity, from root to parent folder. */
6
+ folderPath?: ElevenLabs.KnowledgeBaseFolderPathSegmentSummaryResponseModel[];
4
7
  }
@@ -0,0 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface AgentSummaryBatchSuccessfulResponseModel {
3
+ data: ElevenLabs.AgentSummaryResponseModel;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,4 @@
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. */
2
- export declare const MusicStreamRequestOutputFormat: {
1
+ export declare const AllowedOutputFormats: {
3
2
  readonly Mp32205032: "mp3_22050_32";
4
3
  readonly Mp32400048: "mp3_24000_48";
5
4
  readonly Mp34410032: "mp3_44100_32";
@@ -22,4 +21,4 @@ export declare const MusicStreamRequestOutputFormat: {
22
21
  readonly Opus48000128: "opus_48000_128";
23
22
  readonly Opus48000192: "opus_48000_192";
24
23
  };
25
- export type MusicStreamRequestOutputFormat = (typeof MusicStreamRequestOutputFormat)[keyof typeof MusicStreamRequestOutputFormat];
24
+ export type AllowedOutputFormats = (typeof AllowedOutputFormats)[keyof typeof AllowedOutputFormats];
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.MusicStreamRequestOutputFormat = 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. */
6
- exports.MusicStreamRequestOutputFormat = {
4
+ exports.AllowedOutputFormats = void 0;
5
+ exports.AllowedOutputFormats = {
7
6
  Mp32205032: "mp3_22050_32",
8
7
  Mp32400048: "mp3_24000_48",
9
8
  Mp34410032: "mp3_44100_32",
@@ -11,6 +11,7 @@ export interface BatchCallDetailedResponse {
11
11
  agentId: string;
12
12
  createdAtUnix: number;
13
13
  scheduledTimeUnix: number;
14
+ timezone?: string;
14
15
  totalCallsDispatched: number;
15
16
  totalCallsScheduled: number;
16
17
  totalCallsFinished: number;
@@ -8,6 +8,7 @@ export interface BatchCallResponse {
8
8
  agentId: string;
9
9
  createdAtUnix: number;
10
10
  scheduledTimeUnix: number;
11
+ timezone?: string;
11
12
  totalCallsDispatched: number;
12
13
  totalCallsScheduled: number;
13
14
  totalCallsFinished: number;
@@ -0,0 +1,4 @@
1
+ export interface Contributor {
2
+ name: string;
3
+ role: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,6 +2,8 @@ import type * as ElevenLabs from "../index";
2
2
  export interface ConversationHistoryAnalysisCommonModel {
3
3
  evaluationCriteriaResults?: Record<string, ElevenLabs.ConversationHistoryEvaluationCriteriaResultCommonModel>;
4
4
  dataCollectionResults?: Record<string, ElevenLabs.DataCollectionResultCommonModel>;
5
+ evaluationCriteriaResultsList?: ElevenLabs.ConversationHistoryEvaluationCriteriaResultCommonModel[];
6
+ dataCollectionResultsList?: ElevenLabs.DataCollectionResultCommonModel[];
5
7
  callSuccessful: ElevenLabs.EvaluationSuccessResult;
6
8
  transcriptSummary: string;
7
9
  callSummaryTitle?: string;
@@ -22,7 +22,6 @@ export interface ConversationHistoryMetadataCommonModel {
22
22
  conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
23
23
  conversationInitiationSourceVersion?: string;
24
24
  timezone?: string;
25
- initiationTrigger?: ElevenLabs.ConversationHistoryMetadataCommonModelInitiationTrigger;
26
25
  asyncMetadata?: ElevenLabs.AsyncConversationMetadata;
27
26
  whatsapp?: ElevenLabs.WhatsAppConversationInfo;
28
27
  agentCreatedFrom?: ElevenLabs.AgentDefinitionSource;
@@ -14,5 +14,6 @@ export declare const ConversationInitiationSource: {
14
14
  readonly SwiftSdk: "swift_sdk";
15
15
  readonly Whatsapp: "whatsapp";
16
16
  readonly FlutterSdk: "flutter_sdk";
17
+ readonly ZendeskIntegration: "zendesk_integration";
17
18
  };
18
19
  export type ConversationInitiationSource = (typeof ConversationInitiationSource)[keyof typeof ConversationInitiationSource];
@@ -18,4 +18,5 @@ exports.ConversationInitiationSource = {
18
18
  SwiftSdk: "swift_sdk",
19
19
  Whatsapp: "whatsapp",
20
20
  FlutterSdk: "flutter_sdk",
21
+ ZendeskIntegration: "zendesk_integration",
21
22
  };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Custom SIP header for phone transfers with a static (validated) value.
3
+ */
4
+ export interface CustomSipHeader {
5
+ /** The SIP header name (e.g., 'X-Customer-ID') */
6
+ key: string;
7
+ /** The header value */
8
+ value: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Custom SIP header for phone transfers with a dynamic variable reference.
3
+ * The value is a variable name that will be resolved at runtime.
4
+ * Value is not validated here since it will be substituted with actual value later.
5
+ */
6
+ export interface CustomSipHeaderWithDynamicVariable {
7
+ /** The SIP header name (e.g., 'X-Customer-ID') */
8
+ key: string;
9
+ /** The dynamic variable name to resolve */
10
+ value: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,50 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface DirectPublishingReadResponseModel {
3
+ readId: string;
4
+ createdAtUnix: number;
5
+ updatedAtUnix: number;
6
+ wordCount: number;
7
+ charCount: number;
8
+ chapters: ElevenLabs.ReadMetadataChapterDbModel[];
9
+ title?: string;
10
+ author?: string;
11
+ description?: string;
12
+ articleImageUrl?: string;
13
+ language?: string;
14
+ displayMode?: ElevenLabs.DirectPublishingReadResponseModelDisplayMode;
15
+ genre?: ElevenLabs.DirectPublishingReadResponseModelGenreItem[];
16
+ fiction?: string;
17
+ contentType?: string;
18
+ originalFileType?: string;
19
+ targetAudience?: ElevenLabs.DirectPublishingReadResponseModelTargetAudience;
20
+ matureContent?: boolean;
21
+ origin?: string;
22
+ publicationDate?: string;
23
+ isbn?: string;
24
+ ean?: string;
25
+ legalTerms?: ElevenLabs.ReadLegalTerms;
26
+ contentGuidelinesTerms?: ElevenLabs.ReadLegalTerms;
27
+ publishingProjectId?: string;
28
+ publishingState?: string;
29
+ publisherProfileId?: string;
30
+ qualityScore?: number;
31
+ publisher?: string;
32
+ copyright?: string;
33
+ subtitle?: string;
34
+ distributionTerritories?: "worldwide"[];
35
+ edition?: string;
36
+ contributors?: ElevenLabs.Contributor[];
37
+ payoutType?: ElevenLabs.DirectPublishingReadResponseModelPayoutType;
38
+ listPrice?: number;
39
+ currency?: "usd";
40
+ originalAudioDocumentId?: string;
41
+ seriesId?: string;
42
+ volume?: number;
43
+ publishedAtUnix?: number;
44
+ readSlug?: string;
45
+ previewAudioObject?: ElevenLabs.PreviewAudioDbModel;
46
+ sampleConfig?: ElevenLabs.SampleConfigDbModel;
47
+ review?: ElevenLabs.ReviewResponseModel;
48
+ voiceId?: string;
49
+ canUseAssistant?: boolean;
50
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export declare const DirectPublishingReadResponseModelDisplayMode: {
2
+ readonly Text: "text";
3
+ readonly AudioOnly: "audio-only";
4
+ readonly TextWithAudio: "text-with-audio";
5
+ };
6
+ export type DirectPublishingReadResponseModelDisplayMode = (typeof DirectPublishingReadResponseModelDisplayMode)[keyof typeof DirectPublishingReadResponseModelDisplayMode];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DirectPublishingReadResponseModelDisplayMode = void 0;
5
+ exports.DirectPublishingReadResponseModelDisplayMode = {
6
+ Text: "text",
7
+ AudioOnly: "audio-only",
8
+ TextWithAudio: "text-with-audio",
9
+ };
@@ -0,0 +1,35 @@
1
+ export declare const DirectPublishingReadResponseModelGenreItem: {
2
+ readonly Fantasy: "Fantasy";
3
+ readonly Romance: "Romance";
4
+ readonly ScienceFiction: "Science Fiction";
5
+ readonly MysteryAndThriller: "Mystery and Thriller";
6
+ readonly ActionAndAdventure: "Action and Adventure";
7
+ readonly Dystopia: "Dystopia";
8
+ readonly BusinessAndEconomics: "Business and Economics";
9
+ readonly Technology: "Technology";
10
+ readonly DetectiveAndCrime: "Detective and Crime";
11
+ readonly Horror: "Horror";
12
+ readonly BiographyAndMemoir: "Biography and Memoir";
13
+ readonly EducationAndLearning: "Education and Learning";
14
+ readonly History: "History";
15
+ readonly ChildrensLiterature: "Children's Literature";
16
+ readonly FairyTalesAndFolklore: "Fairy Tales and Folklore";
17
+ readonly FanFiction: "Fan Fiction";
18
+ readonly GeneralFiction: "General Fiction";
19
+ readonly HealthAndWellness: "Health and Wellness";
20
+ readonly HistoricalFiction: "Historical Fiction";
21
+ readonly Humor: "Humor";
22
+ readonly LiteraryClassics: "Literary Classics";
23
+ readonly Philosophy: "Philosophy";
24
+ readonly Poetry: "Poetry";
25
+ readonly PoliticsAndGovernment: "Politics and Government";
26
+ readonly Psychology: "Psychology";
27
+ readonly ScienceAndNature: "Science and Nature";
28
+ readonly SelfHelp: "Self-Help";
29
+ readonly SpiritualityAndReligion: "Spirituality and Religion";
30
+ readonly Travel: "Travel";
31
+ readonly TrueCrime: "True Crime";
32
+ readonly Other: "Other";
33
+ readonly AdultRomance: "Adult Romance";
34
+ };
35
+ export type DirectPublishingReadResponseModelGenreItem = (typeof DirectPublishingReadResponseModelGenreItem)[keyof typeof DirectPublishingReadResponseModelGenreItem];