@elevenlabs/elevenlabs-js 2.49.1 → 2.52.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 (1126) hide show
  1. package/.fern/metadata.json +2 -2
  2. package/.fern/replay.lock +246 -2
  3. package/BaseClient.js +2 -2
  4. package/Client.d.ts +3 -0
  5. package/Client.js +5 -0
  6. package/api/resources/conversationalAi/client/Client.d.ts +3 -0
  7. package/api/resources/conversationalAi/client/Client.js +33 -28
  8. package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -1
  9. package/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
  10. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
  11. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  12. package/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  13. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  14. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  15. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +10 -1
  16. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
  17. package/api/resources/conversationalAi/resources/exotel/client/Client.d.ts +30 -0
  18. package/api/resources/conversationalAi/resources/exotel/client/Client.js +122 -0
  19. package/api/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  20. package/api/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  21. package/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +16 -0
  22. package/api/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  23. package/api/resources/conversationalAi/resources/exotel/client/requests/index.js +2 -0
  24. package/api/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  25. package/api/resources/conversationalAi/resources/exotel/index.js +17 -0
  26. package/api/resources/conversationalAi/resources/index.d.ts +2 -0
  27. package/api/resources/conversationalAi/resources/index.js +3 -1
  28. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
  29. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
  30. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +5 -5
  31. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
  32. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +4 -1
  33. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +4 -1
  34. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +4 -1
  35. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +4 -1
  36. package/api/resources/index.d.ts +3 -0
  37. package/api/resources/index.js +4 -1
  38. package/api/resources/productions/resources/orders/client/Client.d.ts +5 -2
  39. package/api/resources/productions/resources/orders/client/Client.js +14 -4
  40. package/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +1 -1
  41. package/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
  42. package/api/resources/speechEngineUpstream/index.d.ts +1 -0
  43. package/api/resources/speechEngineUpstream/index.js +17 -0
  44. package/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
  45. package/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
  46. package/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
  47. package/api/resources/speechEngineUpstream/types/index.js +18 -0
  48. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
  49. package/api/resources/textToDialogue/client/Client.d.ts +1 -0
  50. package/api/resources/textToDialogue/client/Client.js +17 -4
  51. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
  52. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
  53. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
  54. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
  55. package/api/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
  56. package/api/resources/voices/client/Client.d.ts +29 -29
  57. package/api/resources/voices/client/Client.js +105 -105
  58. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  59. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
  60. package/api/resources/workspace/resources/resources/client/Client.d.ts +2 -2
  61. package/api/resources/workspace/resources/resources/client/Client.js +2 -2
  62. package/api/resources/workspace/resources/resources/client/requests/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost.d.ts +3 -3
  63. package/api/resources/workspace/resources/resources/client/requests/BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost.d.ts +2 -2
  64. package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
  65. package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
  66. package/api/resources/workspaces/client/Client.d.ts +12 -0
  67. package/api/resources/workspaces/client/Client.js +16 -0
  68. package/api/resources/workspaces/client/index.d.ts +1 -0
  69. package/api/resources/workspaces/client/index.js +2 -0
  70. package/api/resources/workspaces/index.d.ts +2 -0
  71. package/api/resources/workspaces/index.js +18 -0
  72. package/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +28 -0
  73. package/api/resources/workspaces/resources/apiKeys/client/Client.js +111 -0
  74. package/api/resources/workspaces/resources/apiKeys/client/index.d.ts +1 -0
  75. package/api/resources/workspaces/resources/apiKeys/client/index.js +17 -0
  76. package/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +10 -0
  77. package/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -0
  78. package/api/resources/workspaces/resources/apiKeys/client/requests/index.js +2 -0
  79. package/api/resources/workspaces/resources/apiKeys/index.d.ts +1 -0
  80. package/api/resources/workspaces/resources/apiKeys/index.js +17 -0
  81. package/api/resources/workspaces/resources/index.d.ts +2 -0
  82. package/api/resources/workspaces/resources/index.js +41 -0
  83. package/api/types/AgentConfig.d.ts +2 -0
  84. package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  85. package/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  86. package/api/types/AgentPlatformSettingsRequestModel.d.ts +0 -1
  87. package/api/types/AgentPlatformSettingsResponseModel.d.ts +0 -1
  88. package/api/types/AgentResponsePayload.d.ts +25 -0
  89. package/api/types/AgentTransfer.d.ts +2 -1
  90. package/api/types/AnalysisProperty.d.ts +6 -4
  91. package/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
  92. package/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
  93. package/api/types/AsrProvider.d.ts +2 -0
  94. package/api/types/AsrProvider.js +2 -0
  95. package/api/types/BaseTurnConfig.d.ts +1 -0
  96. package/api/types/BehaviorOverride.d.ts +9 -0
  97. package/api/types/BucketingStatus.d.ts +6 -0
  98. package/api/types/BucketingStatus.js +9 -0
  99. package/api/types/ClosePayload.d.ts +7 -0
  100. package/api/types/ConversationHistoryExotelPhoneCallModel.d.ts +9 -0
  101. package/api/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +4 -1
  102. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
  103. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
  104. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
  105. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
  106. package/api/types/ConversationInitiationSource.d.ts +4 -0
  107. package/api/types/ConversationInitiationSource.js +4 -0
  108. package/api/types/ConversationSentimentAnalysis.d.ts +9 -0
  109. package/api/types/ConversationSentimentAnalysisOverallLabel.d.ts +6 -0
  110. package/api/types/ConversationSentimentAnalysisOverallLabel.js +9 -0
  111. package/api/types/CreateExotelPhoneNumberRequest.d.ts +23 -0
  112. package/api/types/CreateOrderRequest.d.ts +4 -0
  113. package/api/types/CreateOrderResponse.d.ts +2 -0
  114. package/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
  115. package/api/types/CreateSimulationTestRequest.d.ts +2 -0
  116. package/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  117. package/api/types/CustomLlm.d.ts +2 -0
  118. package/api/types/CustomLlmAuthConnection.d.ts +5 -0
  119. package/api/types/DeleteClientParams.d.ts +1 -1
  120. package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  121. package/api/types/ErrorPayload.d.ts +9 -0
  122. package/api/types/ErrorPayload.js +3 -0
  123. package/api/types/ExotelApiSubdomain.d.ts +5 -0
  124. package/api/types/ExotelApiSubdomain.js +8 -0
  125. package/api/types/ExotelOutboundCallResponse.d.ts +7 -0
  126. package/api/types/ExotelOutboundCallResponse.js +3 -0
  127. package/api/types/ExternalFileSyncInfo.d.ts +20 -0
  128. package/api/types/ExternalFileSyncInfo.js +3 -0
  129. package/api/types/ExternalFolderSyncInfo.d.ts +18 -0
  130. package/api/types/ExternalFolderSyncInfo.js +3 -0
  131. package/api/types/ExternalSyncType.d.ts +1 -0
  132. package/api/types/ExternalSyncType.js +3 -0
  133. package/api/types/GetAgentResponseModelPhoneNumbersItem.d.ts +4 -1
  134. package/api/types/GetConversationResponseModel.d.ts +1 -0
  135. package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
  136. package/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
  137. package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  138. package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  139. package/api/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  140. package/api/types/GetPhoneNumberExotelResponseModel.js +3 -0
  141. package/api/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  142. package/api/types/GetSimulationTestResponseModel.d.ts +2 -0
  143. package/api/types/GetTestSuiteInvocationResponseModel.d.ts +4 -0
  144. package/api/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  145. package/api/types/InitPayload.d.ts +9 -0
  146. package/api/types/InitPayload.js +3 -0
  147. package/api/types/InteractionBudget.d.ts +5 -0
  148. package/api/types/InteractionBudget.js +8 -0
  149. package/api/types/LanguagesResponse.d.ts +10 -0
  150. package/api/types/LanguagesResponse.js +3 -0
  151. package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  152. package/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
  153. package/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
  154. package/api/types/Llm.d.ts +1 -0
  155. package/api/types/Llm.js +1 -0
  156. package/api/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
  157. package/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -1
  158. package/api/types/MessagesSearchResult.d.ts +4 -0
  159. package/api/types/Monitor.d.ts +1 -0
  160. package/api/types/Monitor.js +1 -0
  161. package/api/types/MusicGenerationMode.d.ts +7 -0
  162. package/api/types/MusicGenerationMode.js +10 -0
  163. package/api/types/OmitSchemaOverride.d.ts +1 -0
  164. package/api/types/OmitSchemaOverride.js +3 -0
  165. package/api/types/OptInSmsReminderParams.d.ts +3 -0
  166. package/api/types/OptInSmsReminderParams.js +3 -0
  167. package/api/types/OptOutSmsReminderParams.d.ts +3 -0
  168. package/api/types/OptOutSmsReminderParams.js +3 -0
  169. package/api/types/OrderItemInfo.d.ts +1 -1
  170. package/api/types/OrderItemRequestInput.d.ts +10 -0
  171. package/api/types/OrderItemRequestInput.js +3 -0
  172. package/api/types/OrderItemRequestOutput.d.ts +10 -0
  173. package/api/types/OrderItemRequestOutput.js +3 -0
  174. package/api/types/OrderResponse.d.ts +2 -0
  175. package/api/types/OrderSummary.d.ts +2 -0
  176. package/api/types/PingPayload.d.ts +7 -0
  177. package/api/types/PingPayload.js +3 -0
  178. package/api/types/PongPayload.d.ts +7 -0
  179. package/api/types/PongPayload.js +3 -0
  180. package/api/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +4 -1
  181. package/api/types/ProcedureAtVersionInput.js +3 -0
  182. package/api/types/ProcedureAtVersionOutput.d.ts +15 -0
  183. package/api/types/ProcedureAtVersionOutput.js +3 -0
  184. package/api/types/ProcedureRefResponseModel.d.ts +3 -0
  185. package/api/types/ProcedureType.d.ts +5 -0
  186. package/api/types/ProcedureType.js +8 -0
  187. package/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  188. package/api/types/ReferencedToolCommonModelType.js +1 -0
  189. package/api/types/RenderType.d.ts +1 -0
  190. package/api/types/RenderType.js +1 -0
  191. package/api/types/ResourceAccessInfo.d.ts +2 -0
  192. package/api/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  193. package/api/types/ResourceAccessInfoAccessSource.js +10 -0
  194. package/api/types/ResponseUnitTestModel.d.ts +2 -0
  195. package/api/types/RestoreCalendarEventParams.d.ts +3 -0
  196. package/api/types/RestoreCalendarEventParams.js +3 -0
  197. package/api/types/SimulationTestModel.d.ts +2 -0
  198. package/api/types/SoftTimeoutConfig.d.ts +7 -1
  199. package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  200. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +7 -1
  201. package/api/types/SpeechEngineResponse.d.ts +2 -0
  202. package/api/types/SpeechEngineSummaryResponse.d.ts +3 -0
  203. package/api/types/StartProcedureToolConfigInput.d.ts +4 -0
  204. package/api/types/StartProcedureToolConfigInput.js +3 -0
  205. package/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
  206. package/api/types/StartProcedureToolConfigOutput.js +3 -0
  207. package/api/types/StartProcedureToolErrorStatus.d.ts +5 -0
  208. package/{dist/api/types/LoadProcedureToolErrorStatus.js → api/types/StartProcedureToolErrorStatus.js} +2 -2
  209. package/api/types/SystemEvaluationCriteria.d.ts +4 -0
  210. package/api/types/SystemEvaluationCriteria.js +3 -0
  211. package/api/types/SystemToolConfigInputParams.d.ts +4 -4
  212. package/api/types/SystemToolConfigOutputParams.d.ts +4 -4
  213. package/api/types/TelephonyProvider.d.ts +1 -0
  214. package/api/types/TelephonyProvider.js +1 -0
  215. package/api/types/TestInvocationSummaryResponseModel.d.ts +2 -0
  216. package/api/types/TestRunResultBucket.d.ts +9 -0
  217. package/api/types/TestRunResultBucket.js +3 -0
  218. package/api/types/TestRunResultSummary.d.ts +7 -0
  219. package/api/types/TestRunResultSummary.js +3 -0
  220. package/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
  221. package/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
  222. package/api/types/ToolCallUnitTestModel.d.ts +2 -0
  223. package/api/types/TranscriptMessage.d.ts +10 -0
  224. package/api/types/TranscriptMessage.js +3 -0
  225. package/api/types/TranscriptMessageRole.d.ts +6 -0
  226. package/api/types/TranscriptMessageRole.js +9 -0
  227. package/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  228. package/api/types/TransferToNumberResultExotelSuccessModel.d.ts +6 -0
  229. package/api/types/TransferToNumberResultExotelSuccessModel.js +3 -0
  230. package/api/types/TurnConfig.d.ts +1 -0
  231. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  232. package/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
  233. package/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
  234. package/api/types/UpdateBookingPageAppearanceParams.js +3 -0
  235. package/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  236. package/api/types/UpdateSimulationTestRequest.d.ts +2 -0
  237. package/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  238. package/api/types/UpsertOrderItemRequest.d.ts +1 -1
  239. package/api/types/UrlSecretAuthResponse.d.ts +7 -0
  240. package/api/types/UrlSecretAuthResponse.js +3 -0
  241. package/api/types/UserTranscriptPayload.d.ts +20 -0
  242. package/api/types/UserTranscriptPayload.js +3 -0
  243. package/api/types/Verbosity.d.ts +6 -0
  244. package/{dist/api/types/ProcedureCompilerMode.js → api/types/Verbosity.js} +5 -4
  245. package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  246. package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  247. package/api/types/WebhookUsageType.d.ts +1 -0
  248. package/api/types/WebhookUsageType.js +1 -0
  249. package/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +4 -2
  250. package/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +4 -2
  251. package/api/types/index.d.ts +47 -8
  252. package/api/types/index.js +47 -8
  253. package/dist/BaseClient.js +2 -2
  254. package/dist/Client.d.ts +3 -0
  255. package/dist/Client.js +5 -0
  256. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
  257. package/dist/api/resources/conversationalAi/client/Client.js +33 -28
  258. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -1
  259. package/dist/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
  260. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
  261. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  262. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  263. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  264. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  265. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +10 -1
  266. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
  267. package/dist/api/resources/conversationalAi/resources/exotel/client/Client.d.ts +30 -0
  268. package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +122 -0
  269. package/dist/api/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  270. package/dist/api/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  271. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +16 -0
  272. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +3 -0
  273. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  274. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/index.js +2 -0
  275. package/dist/api/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  276. package/dist/api/resources/conversationalAi/resources/exotel/index.js +17 -0
  277. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
  278. package/dist/api/resources/conversationalAi/resources/index.js +3 -1
  279. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
  280. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
  281. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +5 -5
  282. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
  283. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +4 -1
  284. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +4 -1
  285. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +4 -1
  286. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +4 -1
  287. package/dist/api/resources/index.d.ts +3 -0
  288. package/dist/api/resources/index.js +4 -1
  289. package/dist/api/resources/productions/resources/orders/client/Client.d.ts +5 -2
  290. package/dist/api/resources/productions/resources/orders/client/Client.js +14 -4
  291. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +1 -1
  292. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
  293. package/dist/api/resources/speechEngineUpstream/index.d.ts +1 -0
  294. package/dist/api/resources/speechEngineUpstream/index.js +17 -0
  295. package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
  296. package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +3 -0
  297. package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
  298. package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.js +3 -0
  299. package/dist/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
  300. package/dist/api/resources/speechEngineUpstream/types/index.js +18 -0
  301. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
  302. package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -0
  303. package/dist/api/resources/textToDialogue/client/Client.js +17 -4
  304. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
  305. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
  306. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
  307. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
  308. package/dist/api/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
  309. package/dist/api/resources/voices/client/Client.d.ts +29 -29
  310. package/dist/api/resources/voices/client/Client.js +105 -105
  311. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  312. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
  313. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +2 -2
  314. package/dist/api/resources/workspace/resources/resources/client/Client.js +2 -2
  315. package/dist/api/resources/workspace/resources/resources/client/requests/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost.d.ts +3 -3
  316. package/dist/api/resources/workspace/resources/resources/client/requests/BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost.d.ts +2 -2
  317. package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
  318. package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
  319. package/dist/api/resources/workspaces/client/Client.d.ts +12 -0
  320. package/dist/api/resources/workspaces/client/Client.js +16 -0
  321. package/dist/api/resources/workspaces/client/index.d.ts +1 -0
  322. package/dist/api/resources/workspaces/client/index.js +2 -0
  323. package/dist/api/resources/workspaces/index.d.ts +2 -0
  324. package/dist/api/resources/workspaces/index.js +18 -0
  325. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +28 -0
  326. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +111 -0
  327. package/dist/api/resources/workspaces/resources/apiKeys/client/index.d.ts +1 -0
  328. package/dist/api/resources/workspaces/resources/apiKeys/client/index.js +17 -0
  329. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +10 -0
  330. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js +3 -0
  331. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -0
  332. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/index.js +2 -0
  333. package/dist/api/resources/workspaces/resources/apiKeys/index.d.ts +1 -0
  334. package/dist/api/resources/workspaces/resources/apiKeys/index.js +17 -0
  335. package/dist/api/resources/workspaces/resources/index.d.ts +2 -0
  336. package/dist/api/resources/workspaces/resources/index.js +41 -0
  337. package/dist/api/types/AgentConfig.d.ts +2 -0
  338. package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  339. package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  340. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +0 -1
  341. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +0 -1
  342. package/dist/api/types/AgentResponsePayload.d.ts +25 -0
  343. package/dist/api/types/AgentResponsePayload.js +3 -0
  344. package/dist/api/types/AgentTransfer.d.ts +2 -1
  345. package/dist/api/types/AnalysisProperty.d.ts +6 -4
  346. package/dist/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
  347. package/dist/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
  348. package/dist/api/types/AsrProvider.d.ts +2 -0
  349. package/dist/api/types/AsrProvider.js +2 -0
  350. package/dist/api/types/BaseTurnConfig.d.ts +1 -0
  351. package/dist/api/types/BehaviorOverride.d.ts +9 -0
  352. package/dist/api/types/BehaviorOverride.js +3 -0
  353. package/dist/api/types/BucketingStatus.d.ts +6 -0
  354. package/dist/api/types/BucketingStatus.js +9 -0
  355. package/dist/api/types/ClosePayload.d.ts +7 -0
  356. package/dist/api/types/ClosePayload.js +3 -0
  357. package/dist/api/types/ConversationHistoryExotelPhoneCallModel.d.ts +9 -0
  358. package/dist/api/types/ConversationHistoryExotelPhoneCallModel.js +3 -0
  359. package/dist/api/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +4 -1
  360. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
  361. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
  362. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
  363. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
  364. package/dist/api/types/ConversationInitiationSource.d.ts +4 -0
  365. package/dist/api/types/ConversationInitiationSource.js +4 -0
  366. package/dist/api/types/ConversationSentimentAnalysis.d.ts +9 -0
  367. package/dist/api/types/ConversationSentimentAnalysis.js +3 -0
  368. package/dist/api/types/ConversationSentimentAnalysisOverallLabel.d.ts +6 -0
  369. package/dist/api/types/ConversationSentimentAnalysisOverallLabel.js +9 -0
  370. package/dist/api/types/CreateExotelPhoneNumberRequest.d.ts +23 -0
  371. package/dist/api/types/CreateExotelPhoneNumberRequest.js +3 -0
  372. package/dist/api/types/CreateOrderRequest.d.ts +4 -0
  373. package/dist/api/types/CreateOrderRequest.js +3 -0
  374. package/dist/api/types/CreateOrderResponse.d.ts +2 -0
  375. package/dist/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
  376. package/dist/api/types/CreateSimulationTestRequest.d.ts +2 -0
  377. package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  378. package/dist/api/types/CustomLlm.d.ts +2 -0
  379. package/dist/api/types/CustomLlmAuthConnection.d.ts +5 -0
  380. package/dist/api/types/CustomLlmAuthConnection.js +3 -0
  381. package/dist/api/types/DeleteClientParams.d.ts +1 -1
  382. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  383. package/dist/api/types/ErrorPayload.d.ts +9 -0
  384. package/dist/api/types/ErrorPayload.js +3 -0
  385. package/dist/api/types/ExotelApiSubdomain.d.ts +5 -0
  386. package/dist/api/types/ExotelApiSubdomain.js +8 -0
  387. package/dist/api/types/ExotelOutboundCallResponse.d.ts +7 -0
  388. package/dist/api/types/ExotelOutboundCallResponse.js +3 -0
  389. package/dist/api/types/ExternalFileSyncInfo.d.ts +20 -0
  390. package/dist/api/types/ExternalFileSyncInfo.js +3 -0
  391. package/dist/api/types/ExternalFolderSyncInfo.d.ts +18 -0
  392. package/dist/api/types/ExternalFolderSyncInfo.js +3 -0
  393. package/dist/api/types/ExternalSyncType.d.ts +1 -0
  394. package/dist/api/types/ExternalSyncType.js +3 -0
  395. package/dist/api/types/GetAgentResponseModelPhoneNumbersItem.d.ts +4 -1
  396. package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
  397. package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
  398. package/dist/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
  399. package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  400. package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  401. package/dist/api/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  402. package/dist/api/types/GetPhoneNumberExotelResponseModel.js +3 -0
  403. package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  404. package/dist/api/types/GetSimulationTestResponseModel.d.ts +2 -0
  405. package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +4 -0
  406. package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  407. package/dist/api/types/InitPayload.d.ts +9 -0
  408. package/dist/api/types/InitPayload.js +3 -0
  409. package/dist/api/types/InteractionBudget.d.ts +5 -0
  410. package/dist/api/types/InteractionBudget.js +8 -0
  411. package/dist/api/types/LanguagesResponse.d.ts +10 -0
  412. package/dist/api/types/LanguagesResponse.js +3 -0
  413. package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  414. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
  415. package/dist/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
  416. package/dist/api/types/Llm.d.ts +1 -0
  417. package/dist/api/types/Llm.js +1 -0
  418. package/dist/api/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
  419. package/dist/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -1
  420. package/dist/api/types/MessagesSearchResult.d.ts +4 -0
  421. package/dist/api/types/Monitor.d.ts +1 -0
  422. package/dist/api/types/Monitor.js +1 -0
  423. package/dist/api/types/MusicGenerationMode.d.ts +7 -0
  424. package/dist/api/types/MusicGenerationMode.js +10 -0
  425. package/dist/api/types/OmitSchemaOverride.d.ts +1 -0
  426. package/dist/api/types/OmitSchemaOverride.js +3 -0
  427. package/dist/api/types/OptInSmsReminderParams.d.ts +3 -0
  428. package/dist/api/types/OptInSmsReminderParams.js +3 -0
  429. package/dist/api/types/OptOutSmsReminderParams.d.ts +3 -0
  430. package/dist/api/types/OptOutSmsReminderParams.js +3 -0
  431. package/dist/api/types/OrderItemInfo.d.ts +1 -1
  432. package/dist/api/types/OrderItemRequestInput.d.ts +10 -0
  433. package/dist/api/types/OrderItemRequestInput.js +3 -0
  434. package/dist/api/types/OrderItemRequestOutput.d.ts +10 -0
  435. package/dist/api/types/OrderItemRequestOutput.js +3 -0
  436. package/dist/api/types/OrderResponse.d.ts +2 -0
  437. package/dist/api/types/OrderSummary.d.ts +2 -0
  438. package/dist/api/types/PingPayload.d.ts +7 -0
  439. package/dist/api/types/PingPayload.js +3 -0
  440. package/dist/api/types/PongPayload.d.ts +7 -0
  441. package/dist/api/types/PongPayload.js +3 -0
  442. package/dist/api/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +4 -1
  443. package/dist/api/types/ProcedureAtVersionInput.js +3 -0
  444. package/dist/api/types/ProcedureAtVersionOutput.d.ts +15 -0
  445. package/dist/api/types/ProcedureAtVersionOutput.js +3 -0
  446. package/dist/api/types/ProcedureRefResponseModel.d.ts +3 -0
  447. package/dist/api/types/ProcedureType.d.ts +5 -0
  448. package/dist/api/types/ProcedureType.js +8 -0
  449. package/dist/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  450. package/dist/api/types/ReferencedToolCommonModelType.js +1 -0
  451. package/dist/api/types/RenderType.d.ts +1 -0
  452. package/dist/api/types/RenderType.js +1 -0
  453. package/dist/api/types/ResourceAccessInfo.d.ts +2 -0
  454. package/dist/api/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  455. package/dist/api/types/ResourceAccessInfoAccessSource.js +10 -0
  456. package/dist/api/types/ResponseUnitTestModel.d.ts +2 -0
  457. package/dist/api/types/RestoreCalendarEventParams.d.ts +3 -0
  458. package/dist/api/types/RestoreCalendarEventParams.js +3 -0
  459. package/dist/api/types/SimulationTestModel.d.ts +2 -0
  460. package/dist/api/types/SoftTimeoutConfig.d.ts +7 -1
  461. package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  462. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +7 -1
  463. package/dist/api/types/SpeechEngineResponse.d.ts +2 -0
  464. package/dist/api/types/SpeechEngineSummaryResponse.d.ts +3 -0
  465. package/dist/api/types/StartProcedureToolConfigInput.d.ts +4 -0
  466. package/dist/api/types/StartProcedureToolConfigInput.js +3 -0
  467. package/dist/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
  468. package/dist/api/types/StartProcedureToolConfigOutput.js +3 -0
  469. package/dist/api/types/StartProcedureToolErrorStatus.d.ts +5 -0
  470. package/{api/types/LoadProcedureToolErrorStatus.js → dist/api/types/StartProcedureToolErrorStatus.js} +2 -2
  471. package/dist/api/types/SystemEvaluationCriteria.d.ts +4 -0
  472. package/dist/api/types/SystemEvaluationCriteria.js +3 -0
  473. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -4
  474. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -4
  475. package/dist/api/types/TelephonyProvider.d.ts +1 -0
  476. package/dist/api/types/TelephonyProvider.js +1 -0
  477. package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +2 -0
  478. package/dist/api/types/TestRunResultBucket.d.ts +9 -0
  479. package/dist/api/types/TestRunResultBucket.js +3 -0
  480. package/dist/api/types/TestRunResultSummary.d.ts +7 -0
  481. package/dist/api/types/TestRunResultSummary.js +3 -0
  482. package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
  483. package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
  484. package/dist/api/types/ToolCallUnitTestModel.d.ts +2 -0
  485. package/dist/api/types/TranscriptMessage.d.ts +10 -0
  486. package/dist/api/types/TranscriptMessage.js +3 -0
  487. package/dist/api/types/TranscriptMessageRole.d.ts +6 -0
  488. package/dist/api/types/TranscriptMessageRole.js +9 -0
  489. package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  490. package/dist/api/types/TransferToNumberResultExotelSuccessModel.d.ts +6 -0
  491. package/dist/api/types/TransferToNumberResultExotelSuccessModel.js +3 -0
  492. package/dist/api/types/TurnConfig.d.ts +1 -0
  493. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  494. package/dist/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
  495. package/dist/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
  496. package/dist/api/types/UpdateBookingPageAppearanceParams.js +3 -0
  497. package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  498. package/dist/api/types/UpdateSimulationTestRequest.d.ts +2 -0
  499. package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  500. package/dist/api/types/UpsertOrderItemRequest.d.ts +1 -1
  501. package/dist/api/types/UrlSecretAuthResponse.d.ts +7 -0
  502. package/dist/api/types/UrlSecretAuthResponse.js +3 -0
  503. package/dist/api/types/UserTranscriptPayload.d.ts +20 -0
  504. package/dist/api/types/UserTranscriptPayload.js +3 -0
  505. package/dist/api/types/Verbosity.d.ts +6 -0
  506. package/{api/types/ProcedureCompilerMode.js → dist/api/types/Verbosity.js} +5 -4
  507. package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  508. package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  509. package/dist/api/types/WebhookUsageType.d.ts +1 -0
  510. package/dist/api/types/WebhookUsageType.js +1 -0
  511. package/dist/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +4 -2
  512. package/dist/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +4 -2
  513. package/dist/api/types/index.d.ts +47 -8
  514. package/dist/api/types/index.js +47 -8
  515. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
  516. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
  517. package/dist/serialization/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  518. package/dist/serialization/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  519. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +15 -0
  520. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +47 -0
  521. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  522. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/index.js +5 -0
  523. package/dist/serialization/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  524. package/dist/serialization/resources/conversationalAi/resources/exotel/index.js +17 -0
  525. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  526. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
  527. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
  528. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
  529. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
  530. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
  531. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +5 -1
  532. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.js +2 -0
  533. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +5 -1
  534. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.js +2 -0
  535. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +5 -1
  536. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.js +2 -0
  537. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +5 -1
  538. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.js +2 -0
  539. package/dist/serialization/resources/index.d.ts +2 -0
  540. package/dist/serialization/resources/index.js +3 -1
  541. package/dist/serialization/resources/productions/resources/orders/client/create.d.ts +8 -0
  542. package/dist/serialization/resources/productions/resources/orders/client/create.js +6 -0
  543. package/dist/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
  544. package/dist/serialization/resources/productions/resources/orders/client/index.js +24 -0
  545. package/dist/serialization/resources/speechEngineUpstream/index.d.ts +1 -0
  546. package/dist/serialization/resources/speechEngineUpstream/index.js +17 -0
  547. package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
  548. package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
  549. package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
  550. package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
  551. package/dist/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
  552. package/dist/serialization/resources/speechEngineUpstream/types/index.js +18 -0
  553. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  554. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  555. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  556. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  557. package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
  558. package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.js +2 -0
  559. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  560. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  561. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +5 -1
  562. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
  563. package/dist/serialization/types/AgentConfig.d.ts +2 -0
  564. package/dist/serialization/types/AgentConfig.js +2 -0
  565. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  566. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +2 -0
  567. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  568. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +2 -0
  569. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +0 -2
  570. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +0 -2
  571. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +0 -2
  572. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +0 -2
  573. package/dist/serialization/types/AgentResponsePayload.d.ts +12 -0
  574. package/dist/serialization/types/AgentResponsePayload.js +44 -0
  575. package/dist/serialization/types/AgentTransfer.d.ts +2 -1
  576. package/dist/serialization/types/AgentTransfer.js +2 -1
  577. package/dist/serialization/types/AnalysisProperty.d.ts +1 -0
  578. package/dist/serialization/types/AnalysisProperty.js +1 -0
  579. package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
  580. package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
  581. package/dist/serialization/types/BaseTurnConfig.d.ts +2 -0
  582. package/dist/serialization/types/BaseTurnConfig.js +2 -0
  583. package/dist/serialization/types/BehaviorOverride.d.ts +14 -0
  584. package/dist/serialization/types/BehaviorOverride.js +46 -0
  585. package/dist/serialization/types/BucketingStatus.d.ts +7 -0
  586. package/{serialization/types/LoadProcedureToolErrorStatus.js → dist/serialization/types/BucketingStatus.js} +2 -2
  587. package/dist/serialization/types/ClosePayload.d.ts +9 -0
  588. package/dist/serialization/types/{LoadProcedureToolErrorStatus.js → ClosePayload.js} +4 -2
  589. package/dist/serialization/types/ConversationHistoryExotelPhoneCallModel.d.ts +15 -0
  590. package/dist/serialization/types/ConversationHistoryExotelPhoneCallModel.js +47 -0
  591. package/dist/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +5 -1
  592. package/dist/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.js +2 -0
  593. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
  594. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
  595. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
  596. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
  597. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
  598. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
  599. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  600. package/dist/serialization/types/ConversationInitiationSource.js +4 -0
  601. package/dist/serialization/types/ConversationSentimentAnalysis.d.ts +15 -0
  602. package/dist/serialization/types/ConversationSentimentAnalysis.js +47 -0
  603. package/dist/serialization/types/ConversationSentimentAnalysisOverallLabel.d.ts +7 -0
  604. package/dist/serialization/types/ConversationSentimentAnalysisOverallLabel.js +39 -0
  605. package/dist/serialization/types/CreateExotelPhoneNumberRequest.d.ts +19 -0
  606. package/dist/serialization/types/CreateExotelPhoneNumberRequest.js +51 -0
  607. package/dist/serialization/types/CreateOrderRequest.d.ts +9 -0
  608. package/dist/serialization/types/CreateOrderRequest.js +41 -0
  609. package/dist/serialization/types/CreateOrderResponse.d.ts +1 -0
  610. package/dist/serialization/types/CreateOrderResponse.js +1 -0
  611. package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +2 -0
  612. package/dist/serialization/types/CreateResponseUnitTestRequest.js +2 -0
  613. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +2 -0
  614. package/dist/serialization/types/CreateSimulationTestRequest.js +2 -0
  615. package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  616. package/dist/serialization/types/CreateToolCallUnitTestRequest.js +2 -0
  617. package/dist/serialization/types/CustomLlm.d.ts +2 -0
  618. package/dist/serialization/types/CustomLlm.js +2 -0
  619. package/dist/serialization/types/CustomLlmAuthConnection.d.ts +9 -0
  620. package/dist/serialization/types/CustomLlmAuthConnection.js +41 -0
  621. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  622. package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  623. package/dist/serialization/types/ErrorPayload.d.ts +10 -0
  624. package/dist/serialization/types/ErrorPayload.js +42 -0
  625. package/dist/serialization/types/ExotelApiSubdomain.d.ts +7 -0
  626. package/dist/serialization/types/ExotelApiSubdomain.js +39 -0
  627. package/dist/serialization/types/ExotelOutboundCallResponse.d.ts +12 -0
  628. package/dist/serialization/types/ExotelOutboundCallResponse.js +44 -0
  629. package/dist/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
  630. package/dist/serialization/types/ExternalFileSyncInfo.js +48 -0
  631. package/dist/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
  632. package/dist/serialization/types/ExternalFolderSyncInfo.js +47 -0
  633. package/dist/serialization/types/ExternalSyncType.d.ts +7 -0
  634. package/{serialization/types/ProcedureCompilerMode.js → dist/serialization/types/ExternalSyncType.js} +2 -2
  635. package/dist/serialization/types/GetAgentResponseModelPhoneNumbersItem.d.ts +5 -1
  636. package/dist/serialization/types/GetAgentResponseModelPhoneNumbersItem.js +2 -0
  637. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  638. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  639. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
  640. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
  641. package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
  642. package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
  643. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
  644. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
  645. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
  646. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
  647. package/dist/serialization/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  648. package/dist/serialization/types/GetPhoneNumberExotelResponseModel.js +47 -0
  649. package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  650. package/dist/serialization/types/GetResponseUnitTestResponseModel.js +2 -0
  651. package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +2 -0
  652. package/dist/serialization/types/GetSimulationTestResponseModel.js +2 -0
  653. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +5 -0
  654. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +5 -0
  655. package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  656. package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +2 -0
  657. package/dist/serialization/types/InitPayload.d.ts +10 -0
  658. package/dist/serialization/types/InitPayload.js +42 -0
  659. package/dist/serialization/types/InteractionBudget.d.ts +7 -0
  660. package/dist/serialization/types/{ProcedureCompilerMode.js → InteractionBudget.js} +2 -2
  661. package/dist/serialization/types/LanguagesResponse.d.ts +15 -0
  662. package/{serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → dist/serialization/types/LanguagesResponse.js} +2 -2
  663. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  664. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  665. package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  666. package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  667. package/dist/serialization/types/Llm.d.ts +1 -1
  668. package/dist/serialization/types/Llm.js +1 -0
  669. package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
  670. package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
  671. package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
  672. package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
  673. package/dist/serialization/types/MessagesSearchResult.d.ts +2 -0
  674. package/dist/serialization/types/MessagesSearchResult.js +2 -0
  675. package/dist/serialization/types/Monitor.d.ts +1 -1
  676. package/dist/serialization/types/Monitor.js +1 -1
  677. package/dist/serialization/types/MusicGenerationMode.d.ts +7 -0
  678. package/dist/serialization/types/MusicGenerationMode.js +39 -0
  679. package/dist/serialization/types/OmitSchemaOverride.d.ts +7 -0
  680. package/dist/serialization/types/OmitSchemaOverride.js +39 -0
  681. package/dist/serialization/types/OptInSmsReminderParams.d.ts +9 -0
  682. package/dist/serialization/types/OptInSmsReminderParams.js +41 -0
  683. package/dist/serialization/types/OptOutSmsReminderParams.d.ts +9 -0
  684. package/dist/serialization/types/OptOutSmsReminderParams.js +41 -0
  685. package/dist/serialization/types/OrderItemInfo.d.ts +2 -2
  686. package/dist/serialization/types/OrderItemInfo.js +2 -2
  687. package/dist/serialization/types/OrderItemRequestInput.d.ts +15 -0
  688. package/{serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → dist/serialization/types/OrderItemRequestInput.js} +2 -2
  689. package/dist/serialization/types/OrderItemRequestOutput.d.ts +15 -0
  690. package/dist/serialization/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → OrderItemRequestOutput.js} +2 -2
  691. package/dist/serialization/types/OrderResponse.d.ts +1 -0
  692. package/dist/serialization/types/OrderResponse.js +1 -0
  693. package/dist/serialization/types/OrderSummary.d.ts +1 -0
  694. package/dist/serialization/types/OrderSummary.js +1 -0
  695. package/dist/serialization/types/PingPayload.d.ts +9 -0
  696. package/dist/serialization/types/PingPayload.js +41 -0
  697. package/dist/serialization/types/PongPayload.d.ts +9 -0
  698. package/dist/serialization/types/PongPayload.js +41 -0
  699. package/dist/serialization/types/ProcedureAtVersionInput.d.ts +17 -0
  700. package/{serialization/types/ProcedureAtVersion.js → dist/serialization/types/ProcedureAtVersionInput.js} +6 -2
  701. package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
  702. package/dist/serialization/types/ProcedureAtVersionOutput.js +49 -0
  703. package/dist/serialization/types/ProcedureRefResponseModel.d.ts +2 -0
  704. package/dist/serialization/types/ProcedureRefResponseModel.js +2 -0
  705. package/dist/serialization/types/ProcedureType.d.ts +7 -0
  706. package/dist/serialization/types/ProcedureType.js +39 -0
  707. package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  708. package/dist/serialization/types/ReferencedToolCommonModelType.js +1 -1
  709. package/dist/serialization/types/RenderType.d.ts +1 -1
  710. package/dist/serialization/types/RenderType.js +1 -1
  711. package/dist/serialization/types/ResourceAccessInfo.d.ts +2 -0
  712. package/dist/serialization/types/ResourceAccessInfo.js +2 -0
  713. package/dist/serialization/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  714. package/dist/serialization/types/ResourceAccessInfoAccessSource.js +39 -0
  715. package/dist/serialization/types/ResponseUnitTestModel.d.ts +2 -0
  716. package/dist/serialization/types/ResponseUnitTestModel.js +2 -0
  717. package/dist/serialization/types/RestoreCalendarEventParams.d.ts +9 -0
  718. package/dist/serialization/types/RestoreCalendarEventParams.js +41 -0
  719. package/dist/serialization/types/SimulationTestModel.d.ts +2 -0
  720. package/dist/serialization/types/SimulationTestModel.js +2 -0
  721. package/dist/serialization/types/SoftTimeoutConfig.d.ts +3 -0
  722. package/dist/serialization/types/SoftTimeoutConfig.js +3 -0
  723. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +3 -0
  724. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
  725. package/dist/serialization/types/SpeechEngineResponse.d.ts +2 -0
  726. package/dist/serialization/types/SpeechEngineResponse.js +2 -0
  727. package/dist/serialization/types/SpeechEngineSummaryResponse.d.ts +2 -0
  728. package/dist/serialization/types/SpeechEngineSummaryResponse.js +2 -0
  729. package/dist/serialization/types/StartProcedureToolConfigInput.d.ts +10 -0
  730. package/dist/serialization/types/{LoadProcedureToolConfig.js → StartProcedureToolConfigInput.js} +4 -4
  731. package/dist/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
  732. package/dist/serialization/types/StartProcedureToolConfigOutput.js +42 -0
  733. package/dist/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
  734. package/dist/serialization/types/StartProcedureToolErrorStatus.js +39 -0
  735. package/dist/serialization/types/SystemEvaluationCriteria.d.ts +10 -0
  736. package/dist/serialization/types/{ProcedureSettings.js → SystemEvaluationCriteria.js} +4 -4
  737. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -5
  738. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -2
  739. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -5
  740. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -2
  741. package/dist/serialization/types/TelephonyProvider.d.ts +1 -1
  742. package/dist/serialization/types/TelephonyProvider.js +1 -1
  743. package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +1 -0
  744. package/dist/serialization/types/TestInvocationSummaryResponseModel.js +1 -0
  745. package/dist/serialization/types/TestRunResultBucket.d.ts +13 -0
  746. package/dist/serialization/types/TestRunResultBucket.js +45 -0
  747. package/dist/serialization/types/TestRunResultSummary.d.ts +13 -0
  748. package/dist/serialization/types/TestRunResultSummary.js +45 -0
  749. package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
  750. package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
  751. package/dist/serialization/types/ToolCallUnitTestModel.d.ts +2 -0
  752. package/dist/serialization/types/ToolCallUnitTestModel.js +2 -0
  753. package/dist/serialization/types/TranscriptMessage.d.ts +11 -0
  754. package/dist/serialization/types/TranscriptMessage.js +43 -0
  755. package/dist/serialization/types/TranscriptMessageRole.d.ts +7 -0
  756. package/dist/serialization/types/TranscriptMessageRole.js +39 -0
  757. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  758. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
  759. package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +12 -0
  760. package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.js +44 -0
  761. package/dist/serialization/types/TurnConfig.d.ts +2 -0
  762. package/dist/serialization/types/TurnConfig.js +2 -0
  763. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  764. package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  765. package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
  766. package/dist/serialization/types/UnitTestSummaryResponseModel.js +2 -0
  767. package/dist/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
  768. package/dist/serialization/types/UpdateBookingPageAppearanceParams.js +41 -0
  769. package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  770. package/dist/serialization/types/UpdateResponseUnitTestRequest.js +2 -0
  771. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +2 -0
  772. package/dist/serialization/types/UpdateSimulationTestRequest.js +2 -0
  773. package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  774. package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +2 -0
  775. package/dist/serialization/types/UpsertOrderItemRequest.d.ts +2 -2
  776. package/dist/serialization/types/UpsertOrderItemRequest.js +2 -2
  777. package/dist/serialization/types/UrlSecretAuthResponse.d.ts +13 -0
  778. package/dist/serialization/types/UrlSecretAuthResponse.js +45 -0
  779. package/dist/serialization/types/UserTranscriptPayload.d.ts +12 -0
  780. package/dist/serialization/types/UserTranscriptPayload.js +44 -0
  781. package/dist/serialization/types/Verbosity.d.ts +7 -0
  782. package/dist/serialization/types/Verbosity.js +39 -0
  783. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -0
  784. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +1 -0
  785. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -0
  786. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +1 -0
  787. package/dist/serialization/types/WebhookUsageType.d.ts +1 -1
  788. package/dist/serialization/types/WebhookUsageType.js +1 -0
  789. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -1
  790. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +2 -1
  791. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -1
  792. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +2 -1
  793. package/dist/serialization/types/index.d.ts +47 -8
  794. package/dist/serialization/types/index.js +47 -8
  795. package/dist/version.d.ts +1 -1
  796. package/dist/version.js +1 -1
  797. package/dist/wrapper/music.d.ts +11 -0
  798. package/dist/wrapper/music.js +15 -0
  799. package/package.json +1 -1
  800. package/reference.md +197 -49
  801. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
  802. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
  803. package/serialization/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  804. package/serialization/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  805. package/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +15 -0
  806. package/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +47 -0
  807. package/serialization/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  808. package/serialization/resources/conversationalAi/resources/exotel/client/requests/index.js +5 -0
  809. package/serialization/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  810. package/serialization/resources/conversationalAi/resources/exotel/index.js +17 -0
  811. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  812. package/serialization/resources/conversationalAi/resources/index.js +3 -1
  813. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
  814. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
  815. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
  816. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
  817. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +5 -1
  818. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.js +2 -0
  819. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +5 -1
  820. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.js +2 -0
  821. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +5 -1
  822. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.js +2 -0
  823. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +5 -1
  824. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.js +2 -0
  825. package/serialization/resources/index.d.ts +2 -0
  826. package/serialization/resources/index.js +3 -1
  827. package/serialization/resources/productions/resources/orders/client/create.d.ts +8 -0
  828. package/serialization/resources/productions/resources/orders/client/create.js +6 -0
  829. package/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
  830. package/serialization/resources/productions/resources/orders/client/index.js +24 -0
  831. package/serialization/resources/speechEngineUpstream/index.d.ts +1 -0
  832. package/serialization/resources/speechEngineUpstream/index.js +17 -0
  833. package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
  834. package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
  835. package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
  836. package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
  837. package/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
  838. package/serialization/resources/speechEngineUpstream/types/index.js +18 -0
  839. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  840. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  841. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  842. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  843. package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
  844. package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.js +2 -0
  845. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  846. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  847. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +5 -1
  848. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
  849. package/serialization/types/AgentConfig.d.ts +2 -0
  850. package/serialization/types/AgentConfig.js +2 -0
  851. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  852. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +2 -0
  853. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  854. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +2 -0
  855. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +0 -2
  856. package/serialization/types/AgentPlatformSettingsRequestModel.js +0 -2
  857. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +0 -2
  858. package/serialization/types/AgentPlatformSettingsResponseModel.js +0 -2
  859. package/serialization/types/AgentResponsePayload.d.ts +12 -0
  860. package/serialization/types/AgentResponsePayload.js +44 -0
  861. package/serialization/types/AgentTransfer.d.ts +2 -1
  862. package/serialization/types/AgentTransfer.js +2 -1
  863. package/serialization/types/AnalysisProperty.d.ts +1 -0
  864. package/serialization/types/AnalysisProperty.js +1 -0
  865. package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
  866. package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
  867. package/serialization/types/BaseTurnConfig.d.ts +2 -0
  868. package/serialization/types/BaseTurnConfig.js +2 -0
  869. package/serialization/types/BehaviorOverride.d.ts +14 -0
  870. package/serialization/types/BehaviorOverride.js +46 -0
  871. package/serialization/types/BucketingStatus.d.ts +7 -0
  872. package/serialization/types/BucketingStatus.js +39 -0
  873. package/serialization/types/ClosePayload.d.ts +9 -0
  874. package/serialization/types/ClosePayload.js +41 -0
  875. package/serialization/types/ConversationHistoryExotelPhoneCallModel.d.ts +15 -0
  876. package/serialization/types/ConversationHistoryExotelPhoneCallModel.js +47 -0
  877. package/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +5 -1
  878. package/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.js +2 -0
  879. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
  880. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
  881. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
  882. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
  883. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
  884. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
  885. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  886. package/serialization/types/ConversationInitiationSource.js +4 -0
  887. package/serialization/types/ConversationSentimentAnalysis.d.ts +15 -0
  888. package/serialization/types/ConversationSentimentAnalysis.js +47 -0
  889. package/serialization/types/ConversationSentimentAnalysisOverallLabel.d.ts +7 -0
  890. package/serialization/types/ConversationSentimentAnalysisOverallLabel.js +39 -0
  891. package/serialization/types/CreateExotelPhoneNumberRequest.d.ts +19 -0
  892. package/serialization/types/CreateExotelPhoneNumberRequest.js +51 -0
  893. package/serialization/types/CreateOrderRequest.d.ts +9 -0
  894. package/serialization/types/CreateOrderRequest.js +41 -0
  895. package/serialization/types/CreateOrderResponse.d.ts +1 -0
  896. package/serialization/types/CreateOrderResponse.js +1 -0
  897. package/serialization/types/CreateResponseUnitTestRequest.d.ts +2 -0
  898. package/serialization/types/CreateResponseUnitTestRequest.js +2 -0
  899. package/serialization/types/CreateSimulationTestRequest.d.ts +2 -0
  900. package/serialization/types/CreateSimulationTestRequest.js +2 -0
  901. package/serialization/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  902. package/serialization/types/CreateToolCallUnitTestRequest.js +2 -0
  903. package/serialization/types/CustomLlm.d.ts +2 -0
  904. package/serialization/types/CustomLlm.js +2 -0
  905. package/serialization/types/CustomLlmAuthConnection.d.ts +9 -0
  906. package/serialization/types/CustomLlmAuthConnection.js +41 -0
  907. package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  908. package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  909. package/serialization/types/ErrorPayload.d.ts +10 -0
  910. package/serialization/types/ErrorPayload.js +42 -0
  911. package/serialization/types/ExotelApiSubdomain.d.ts +7 -0
  912. package/serialization/types/ExotelApiSubdomain.js +39 -0
  913. package/serialization/types/ExotelOutboundCallResponse.d.ts +12 -0
  914. package/serialization/types/ExotelOutboundCallResponse.js +44 -0
  915. package/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
  916. package/serialization/types/ExternalFileSyncInfo.js +48 -0
  917. package/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
  918. package/serialization/types/ExternalFolderSyncInfo.js +47 -0
  919. package/serialization/types/ExternalSyncType.d.ts +7 -0
  920. package/serialization/types/ExternalSyncType.js +39 -0
  921. package/serialization/types/GetAgentResponseModelPhoneNumbersItem.d.ts +5 -1
  922. package/serialization/types/GetAgentResponseModelPhoneNumbersItem.js +2 -0
  923. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  924. package/serialization/types/GetConversationResponseModel.js +1 -0
  925. package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
  926. package/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
  927. package/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
  928. package/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
  929. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
  930. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
  931. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
  932. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
  933. package/serialization/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  934. package/serialization/types/GetPhoneNumberExotelResponseModel.js +47 -0
  935. package/serialization/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  936. package/serialization/types/GetResponseUnitTestResponseModel.js +2 -0
  937. package/serialization/types/GetSimulationTestResponseModel.d.ts +2 -0
  938. package/serialization/types/GetSimulationTestResponseModel.js +2 -0
  939. package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +5 -0
  940. package/serialization/types/GetTestSuiteInvocationResponseModel.js +5 -0
  941. package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  942. package/serialization/types/GetToolCallUnitTestResponseModel.js +2 -0
  943. package/serialization/types/InitPayload.d.ts +10 -0
  944. package/serialization/types/InitPayload.js +42 -0
  945. package/serialization/types/InteractionBudget.d.ts +7 -0
  946. package/serialization/types/InteractionBudget.js +39 -0
  947. package/serialization/types/LanguagesResponse.d.ts +15 -0
  948. package/{dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → serialization/types/LanguagesResponse.js} +2 -2
  949. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  950. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  951. package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  952. package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  953. package/serialization/types/Llm.d.ts +1 -1
  954. package/serialization/types/Llm.js +1 -0
  955. package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
  956. package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
  957. package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
  958. package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
  959. package/serialization/types/MessagesSearchResult.d.ts +2 -0
  960. package/serialization/types/MessagesSearchResult.js +2 -0
  961. package/serialization/types/Monitor.d.ts +1 -1
  962. package/serialization/types/Monitor.js +1 -1
  963. package/serialization/types/MusicGenerationMode.d.ts +7 -0
  964. package/serialization/types/MusicGenerationMode.js +39 -0
  965. package/serialization/types/OmitSchemaOverride.d.ts +7 -0
  966. package/serialization/types/OmitSchemaOverride.js +39 -0
  967. package/serialization/types/OptInSmsReminderParams.d.ts +9 -0
  968. package/serialization/types/OptInSmsReminderParams.js +41 -0
  969. package/serialization/types/OptOutSmsReminderParams.d.ts +9 -0
  970. package/serialization/types/OptOutSmsReminderParams.js +41 -0
  971. package/serialization/types/OrderItemInfo.d.ts +2 -2
  972. package/serialization/types/OrderItemInfo.js +2 -2
  973. package/serialization/types/OrderItemRequestInput.d.ts +15 -0
  974. package/{dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → serialization/types/OrderItemRequestInput.js} +2 -2
  975. package/serialization/types/OrderItemRequestOutput.d.ts +15 -0
  976. package/serialization/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → OrderItemRequestOutput.js} +2 -2
  977. package/serialization/types/OrderResponse.d.ts +1 -0
  978. package/serialization/types/OrderResponse.js +1 -0
  979. package/serialization/types/OrderSummary.d.ts +1 -0
  980. package/serialization/types/OrderSummary.js +1 -0
  981. package/serialization/types/PingPayload.d.ts +9 -0
  982. package/serialization/types/PingPayload.js +41 -0
  983. package/serialization/types/PongPayload.d.ts +9 -0
  984. package/serialization/types/PongPayload.js +41 -0
  985. package/serialization/types/ProcedureAtVersionInput.d.ts +17 -0
  986. package/{dist/serialization/types/ProcedureAtVersion.js → serialization/types/ProcedureAtVersionInput.js} +6 -2
  987. package/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
  988. package/serialization/types/ProcedureAtVersionOutput.js +49 -0
  989. package/serialization/types/ProcedureRefResponseModel.d.ts +2 -0
  990. package/serialization/types/ProcedureRefResponseModel.js +2 -0
  991. package/serialization/types/ProcedureType.d.ts +7 -0
  992. package/serialization/types/ProcedureType.js +39 -0
  993. package/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  994. package/serialization/types/ReferencedToolCommonModelType.js +1 -1
  995. package/serialization/types/RenderType.d.ts +1 -1
  996. package/serialization/types/RenderType.js +1 -1
  997. package/serialization/types/ResourceAccessInfo.d.ts +2 -0
  998. package/serialization/types/ResourceAccessInfo.js +2 -0
  999. package/serialization/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  1000. package/serialization/types/ResourceAccessInfoAccessSource.js +39 -0
  1001. package/serialization/types/ResponseUnitTestModel.d.ts +2 -0
  1002. package/serialization/types/ResponseUnitTestModel.js +2 -0
  1003. package/serialization/types/RestoreCalendarEventParams.d.ts +9 -0
  1004. package/serialization/types/RestoreCalendarEventParams.js +41 -0
  1005. package/serialization/types/SimulationTestModel.d.ts +2 -0
  1006. package/serialization/types/SimulationTestModel.js +2 -0
  1007. package/serialization/types/SoftTimeoutConfig.d.ts +3 -0
  1008. package/serialization/types/SoftTimeoutConfig.js +3 -0
  1009. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +3 -0
  1010. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
  1011. package/serialization/types/SpeechEngineResponse.d.ts +2 -0
  1012. package/serialization/types/SpeechEngineResponse.js +2 -0
  1013. package/serialization/types/SpeechEngineSummaryResponse.d.ts +2 -0
  1014. package/serialization/types/SpeechEngineSummaryResponse.js +2 -0
  1015. package/serialization/types/StartProcedureToolConfigInput.d.ts +10 -0
  1016. package/serialization/types/{LoadProcedureToolConfig.js → StartProcedureToolConfigInput.js} +4 -4
  1017. package/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
  1018. package/serialization/types/StartProcedureToolConfigOutput.js +42 -0
  1019. package/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
  1020. package/serialization/types/StartProcedureToolErrorStatus.js +39 -0
  1021. package/serialization/types/SystemEvaluationCriteria.d.ts +10 -0
  1022. package/serialization/types/{ProcedureSettings.js → SystemEvaluationCriteria.js} +4 -4
  1023. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -5
  1024. package/serialization/types/SystemToolConfigInputParams.js +2 -2
  1025. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -5
  1026. package/serialization/types/SystemToolConfigOutputParams.js +2 -2
  1027. package/serialization/types/TelephonyProvider.d.ts +1 -1
  1028. package/serialization/types/TelephonyProvider.js +1 -1
  1029. package/serialization/types/TestInvocationSummaryResponseModel.d.ts +1 -0
  1030. package/serialization/types/TestInvocationSummaryResponseModel.js +1 -0
  1031. package/serialization/types/TestRunResultBucket.d.ts +13 -0
  1032. package/serialization/types/TestRunResultBucket.js +45 -0
  1033. package/serialization/types/TestRunResultSummary.d.ts +13 -0
  1034. package/serialization/types/TestRunResultSummary.js +45 -0
  1035. package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
  1036. package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
  1037. package/serialization/types/ToolCallUnitTestModel.d.ts +2 -0
  1038. package/serialization/types/ToolCallUnitTestModel.js +2 -0
  1039. package/serialization/types/TranscriptMessage.d.ts +11 -0
  1040. package/serialization/types/TranscriptMessage.js +43 -0
  1041. package/serialization/types/TranscriptMessageRole.d.ts +7 -0
  1042. package/serialization/types/TranscriptMessageRole.js +39 -0
  1043. package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  1044. package/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
  1045. package/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +12 -0
  1046. package/serialization/types/TransferToNumberResultExotelSuccessModel.js +44 -0
  1047. package/serialization/types/TurnConfig.d.ts +2 -0
  1048. package/serialization/types/TurnConfig.js +2 -0
  1049. package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  1050. package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  1051. package/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
  1052. package/serialization/types/UnitTestSummaryResponseModel.js +2 -0
  1053. package/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
  1054. package/serialization/types/UpdateBookingPageAppearanceParams.js +41 -0
  1055. package/serialization/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  1056. package/serialization/types/UpdateResponseUnitTestRequest.js +2 -0
  1057. package/serialization/types/UpdateSimulationTestRequest.d.ts +2 -0
  1058. package/serialization/types/UpdateSimulationTestRequest.js +2 -0
  1059. package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  1060. package/serialization/types/UpdateToolCallUnitTestRequest.js +2 -0
  1061. package/serialization/types/UpsertOrderItemRequest.d.ts +2 -2
  1062. package/serialization/types/UpsertOrderItemRequest.js +2 -2
  1063. package/serialization/types/UrlSecretAuthResponse.d.ts +13 -0
  1064. package/serialization/types/UrlSecretAuthResponse.js +45 -0
  1065. package/serialization/types/UserTranscriptPayload.d.ts +12 -0
  1066. package/serialization/types/UserTranscriptPayload.js +44 -0
  1067. package/serialization/types/Verbosity.d.ts +7 -0
  1068. package/serialization/types/Verbosity.js +39 -0
  1069. package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -0
  1070. package/serialization/types/WebhookToolApiSchemaConfigInput.js +1 -0
  1071. package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -0
  1072. package/serialization/types/WebhookToolApiSchemaConfigOutput.js +1 -0
  1073. package/serialization/types/WebhookUsageType.d.ts +1 -1
  1074. package/serialization/types/WebhookUsageType.js +1 -0
  1075. package/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -1
  1076. package/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +2 -1
  1077. package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -1
  1078. package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +2 -1
  1079. package/serialization/types/index.d.ts +47 -8
  1080. package/serialization/types/index.js +47 -8
  1081. package/version.d.ts +1 -1
  1082. package/version.js +1 -1
  1083. package/wrapper/music.d.ts +11 -0
  1084. package/wrapper/music.js +15 -0
  1085. package/api/types/LoadProcedureToolConfig.d.ts +0 -4
  1086. package/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
  1087. package/api/types/ProcedureCompilerMode.d.ts +0 -5
  1088. package/api/types/ProcedureSettings.d.ts +0 -4
  1089. package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -10
  1090. package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -10
  1091. package/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -10
  1092. package/dist/api/types/LoadProcedureToolConfig.d.ts +0 -4
  1093. package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
  1094. package/dist/api/types/ProcedureCompilerMode.d.ts +0 -5
  1095. package/dist/api/types/ProcedureSettings.d.ts +0 -4
  1096. package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -10
  1097. package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -10
  1098. package/dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -10
  1099. package/dist/serialization/types/LoadProcedureToolConfig.d.ts +0 -10
  1100. package/dist/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
  1101. package/dist/serialization/types/ProcedureAtVersion.d.ts +0 -13
  1102. package/dist/serialization/types/ProcedureCompilerMode.d.ts +0 -7
  1103. package/dist/serialization/types/ProcedureSettings.d.ts +0 -10
  1104. package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -15
  1105. package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -15
  1106. package/dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -15
  1107. package/serialization/types/LoadProcedureToolConfig.d.ts +0 -10
  1108. package/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
  1109. package/serialization/types/ProcedureAtVersion.d.ts +0 -13
  1110. package/serialization/types/ProcedureCompilerMode.d.ts +0 -7
  1111. package/serialization/types/ProcedureSettings.d.ts +0 -10
  1112. package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -15
  1113. package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -15
  1114. package/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -15
  1115. /package/api/{types/LoadProcedureToolConfig.js → resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js} +0 -0
  1116. /package/api/{types/ProcedureAtVersion.js → resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js} +0 -0
  1117. /package/api/{types/ProcedureSettings.js → resources/speechEngineUpstream/types/SendUpstreamMessage.js} +0 -0
  1118. /package/api/{types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js} +0 -0
  1119. /package/api/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → AgentResponsePayload.js} +0 -0
  1120. /package/api/types/{RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → BehaviorOverride.js} +0 -0
  1121. /package/{dist/api/types/LoadProcedureToolConfig.js → api/types/ClosePayload.js} +0 -0
  1122. /package/{dist/api/types/ProcedureAtVersion.js → api/types/ConversationHistoryExotelPhoneCallModel.js} +0 -0
  1123. /package/{dist/api/types/ProcedureSettings.js → api/types/ConversationSentimentAnalysis.js} +0 -0
  1124. /package/{dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → api/types/CreateExotelPhoneNumberRequest.js} +0 -0
  1125. /package/{dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → api/types/CreateOrderRequest.js} +0 -0
  1126. /package/{dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → api/types/CustomLlmAuthConnection.js} +0 -0
@@ -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,2 @@
1
+ export * from "./ReceiveUpstreamMessage";
2
+ export * from "./SendUpstreamMessage";
@@ -0,0 +1,18 @@
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("./ReceiveUpstreamMessage"), exports);
18
+ __exportStar(require("./SendUpstreamMessage"), exports);
@@ -18,7 +18,7 @@ export interface BodySpeechToTextV1SpeechToTextPost {
18
18
  enableLogging?: boolean;
19
19
  /** The ID of the model to use for transcription. */
20
20
  modelId: ElevenLabs.SpeechToTextConvertRequestModelId;
21
- /** The file to transcribe (100ms minimum audio length). All major audio and video formats are supported. Exactly one of the file or cloud_storage_url parameters must be provided. The file size must be less than 3.0GB. */
21
+ /** The file to transcribe (100ms minimum audio length). All major audio and video formats are supported. Exactly one of the file or cloud_storage_url parameters must be provided. The file size must be less than 5.0GB. */
22
22
  file?: core.file.Uploadable | undefined;
23
23
  /** An ISO-639-1 or ISO-639-3 language_code corresponding to the language of the audio file. Can sometimes improve transcription performance if known beforehand. Defaults to null, in this case the language is predicted automatically. */
24
24
  languageCode?: string;
@@ -36,7 +36,7 @@ export interface BodySpeechToTextV1SpeechToTextPost {
36
36
  additionalFormats?: ElevenLabs.AdditionalFormats;
37
37
  /** The format of input audio. Options are 'pcm_s16le_16' or 'other' For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. Latency will be lower than with passing an encoded waveform. */
38
38
  fileFormat?: ElevenLabs.SpeechToTextConvertRequestFileFormat;
39
- /** The HTTPS URL of the file to transcribe. Exactly one of the file or cloud_storage_url parameters must be provided. The file must be accessible via HTTPS and the file size must be less than 2GB. Any valid HTTPS URL is accepted, including URLs from cloud storage providers (AWS S3, Google Cloud Storage, Cloudflare R2, etc.), CDNs, or any other HTTPS source. URLs can be pre-signed or include authentication tokens in query parameters. */
39
+ /** [Deprecated] This parameter is deprecated and will be removed in the future. Use 'source_url' instead.The HTTPS URL of the file to transcribe. Exactly one of the file or cloud_storage_url parameters must be provided. The file must be accessible via HTTPS and the file size must be less than 2GB. Any valid HTTPS URL is accepted, including URLs from cloud storage providers (AWS S3, Google Cloud Storage, Cloudflare R2, etc.), CDNs, or any other HTTPS source. URLs can be pre-signed or include authentication tokens in query parameters. */
40
40
  cloudStorageUrl?: string;
41
41
  /** The URL of an audio or video file to transcribe. Supports hosted video or audio files, YouTube video URLs, TikTok video URLs, and other video hosting services. */
42
42
  sourceUrl?: string;
@@ -38,6 +38,7 @@ export declare class TextToDialogueClient {
38
38
  * @example
39
39
  * await client.textToDialogue.convertWithTimestamps({
40
40
  * outputFormat: "alaw_8000",
41
+ * enableLogging: true,
41
42
  * inputs: [{
42
43
  * text: "Hello, how are you?",
43
44
  * voiceId: "bYTqZQo3Jz7LQtmGTgwi"
@@ -77,11 +77,14 @@ class TextToDialogueClient {
77
77
  __convert(request, requestOptions) {
78
78
  return __awaiter(this, void 0, void 0, function* () {
79
79
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
80
- const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
80
+ const { outputFormat, enableLogging } = request, _body = __rest(request, ["outputFormat", "enableLogging"]);
81
81
  const _queryParams = {};
82
82
  if (outputFormat != null) {
83
83
  _queryParams.output_format = serializers.TextToDialogueConvertRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
84
84
  }
85
+ if (enableLogging != null) {
86
+ _queryParams.enable_logging = enableLogging.toString();
87
+ }
85
88
  const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
86
89
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
87
90
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/text-to-dialogue"),
@@ -128,13 +131,16 @@ class TextToDialogueClient {
128
131
  __stream(request, requestOptions) {
129
132
  return __awaiter(this, void 0, void 0, function* () {
130
133
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
131
- const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
134
+ const { outputFormat, enableLogging } = request, _body = __rest(request, ["outputFormat", "enableLogging"]);
132
135
  const _queryParams = {};
133
136
  if (outputFormat != null) {
134
137
  _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
135
138
  unrecognizedObjectKeys: "strip",
136
139
  });
137
140
  }
141
+ if (enableLogging != null) {
142
+ _queryParams.enable_logging = enableLogging.toString();
143
+ }
138
144
  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);
139
145
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
140
146
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/text-to-dialogue/stream"),
@@ -180,13 +186,16 @@ class TextToDialogueClient {
180
186
  __streamWithTimestamps(request, requestOptions) {
181
187
  return __awaiter(this, void 0, void 0, function* () {
182
188
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
183
- const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
189
+ const { outputFormat, enableLogging } = request, _body = __rest(request, ["outputFormat", "enableLogging"]);
184
190
  const _queryParams = {};
185
191
  if (outputFormat != null) {
186
192
  _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
187
193
  unrecognizedObjectKeys: "strip",
188
194
  });
189
195
  }
196
+ if (enableLogging != null) {
197
+ _queryParams.enable_logging = enableLogging.toString();
198
+ }
190
199
  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);
191
200
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
192
201
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/text-to-dialogue/stream/with-timestamps"),
@@ -252,6 +261,7 @@ class TextToDialogueClient {
252
261
  * @example
253
262
  * await client.textToDialogue.convertWithTimestamps({
254
263
  * outputFormat: "alaw_8000",
264
+ * enableLogging: true,
255
265
  * inputs: [{
256
266
  * text: "Hello, how are you?",
257
267
  * voiceId: "bYTqZQo3Jz7LQtmGTgwi"
@@ -267,11 +277,14 @@ class TextToDialogueClient {
267
277
  __convertWithTimestamps(request, requestOptions) {
268
278
  return __awaiter(this, void 0, void 0, function* () {
269
279
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
270
- const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
280
+ const { outputFormat, enableLogging } = request, _body = __rest(request, ["outputFormat", "enableLogging"]);
271
281
  const _queryParams = {};
272
282
  if (outputFormat != null) {
273
283
  _queryParams.output_format = serializers.TextToDialogueConvertWithTimestampsRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
274
284
  }
285
+ if (enableLogging != null) {
286
+ _queryParams.enable_logging = enableLogging.toString();
287
+ }
275
288
  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);
276
289
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
277
290
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/text-to-dialogue/with-timestamps"),
@@ -3,6 +3,7 @@ import type * as ElevenLabs from "../../../../index";
3
3
  * @example
4
4
  * {
5
5
  * outputFormat: "alaw_8000",
6
+ * enableLogging: true,
6
7
  * inputs: [{
7
8
  * text: "Hello, how are you?",
8
9
  * voiceId: "bYTqZQo3Jz7LQtmGTgwi"
@@ -15,6 +16,8 @@ import type * as ElevenLabs from "../../../../index";
15
16
  export interface BodyTextToDialogueFullWithTimestamps {
16
17
  /** 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. */
17
18
  outputFormat?: ElevenLabs.TextToDialogueConvertWithTimestampsRequestOutputFormat;
19
+ /** When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers. */
20
+ enableLogging?: boolean;
18
21
  /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 characters per request. Longer requests can terminate early in streaming responses or return a validation error. */
19
22
  inputs: ElevenLabs.DialogueInput[];
20
23
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
@@ -14,6 +14,8 @@ import type * as ElevenLabs from "../../../../index";
14
14
  export interface BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost {
15
15
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
16
16
  outputFormat?: ElevenLabs.AllowedOutputFormats;
17
+ /** When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers. */
18
+ enableLogging?: boolean;
17
19
  /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 characters per request. Longer requests can terminate early in streaming responses or return a validation error. */
18
20
  inputs: ElevenLabs.DialogueInput[];
19
21
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
@@ -14,6 +14,8 @@ import type * as ElevenLabs from "../../../../index";
14
14
  export interface BodyTextToDialogueMultiVoiceV1TextToDialoguePost {
15
15
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM 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. */
16
16
  outputFormat?: ElevenLabs.TextToDialogueConvertRequestOutputFormat;
17
+ /** When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers. */
18
+ enableLogging?: boolean;
17
19
  /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 characters per request. Longer requests can terminate early in streaming responses or return a validation error. */
18
20
  inputs: ElevenLabs.DialogueInput[];
19
21
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
@@ -3,6 +3,7 @@ import type * as ElevenLabs from "../../../../index";
3
3
  * @example
4
4
  * {
5
5
  * outputFormat: "mp3_22050_32",
6
+ * enableLogging: true,
6
7
  * inputs: [{
7
8
  * text: "Hello, how are you?",
8
9
  * voiceId: "bYTqZQo3Jz7LQtmGTgwi"
@@ -15,6 +16,8 @@ import type * as ElevenLabs from "../../../../index";
15
16
  export interface BodyTextToDialogueStreamWithTimestamps {
16
17
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
17
18
  outputFormat?: ElevenLabs.AllowedOutputFormats;
19
+ /** When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers. */
20
+ enableLogging?: boolean;
18
21
  /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. For reliable generation, keep the total character count across all `inputs[].text` values at or below 2,000 characters per request. Longer requests can terminate early in streaming responses or return a validation error. */
19
22
  inputs: ElevenLabs.DialogueInput[];
20
23
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
@@ -2,4 +2,4 @@ import type * as ElevenLabs from "../../../index";
2
2
  /**
3
3
  * Receive JSON audio chunks, a final marker, or an error payload from the Text to Dialogue WebSocket.
4
4
  */
5
- export type ReceiveTextToDialogueWebsocketMessage = ElevenLabs.TextToDialogueWebsocketAudioChunk | ElevenLabs.TextToDialogueWebsocketFinal | ElevenLabs.TextToDialogueWebsocketError;
5
+ export type ReceiveTextToDialogueWebsocketMessage = ElevenLabs.TextToDialogueWebsocketAudioChunk | ElevenLabs.TextToDialogueWebsocketFinalAudioForTurn | ElevenLabs.TextToDialogueWebsocketFinal | ElevenLabs.TextToDialogueWebsocketError;
@@ -22,6 +22,35 @@ export declare class VoicesClient {
22
22
  get ivc(): IvcClient;
23
23
  get pvc(): PvcClient;
24
24
  get samples(): SamplesClient;
25
+ /**
26
+ * Returns metadata about a specific voice.
27
+ *
28
+ * @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
29
+ * @param {ElevenLabs.VoicesGetRequest} request
30
+ * @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
31
+ *
32
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
33
+ *
34
+ * @example
35
+ * await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
36
+ * withSettings: true
37
+ * })
38
+ */
39
+ get(voice_id: string, request?: ElevenLabs.VoicesGetRequest, requestOptions?: VoicesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.Voice>;
40
+ private __get;
41
+ /**
42
+ * Deletes a voice by its ID.
43
+ *
44
+ * @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
45
+ * @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
46
+ *
47
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
48
+ *
49
+ * @example
50
+ * await client.voices.delete("21m00Tcm4TlvDq8ikWAM")
51
+ */
52
+ delete(voice_id: string, requestOptions?: VoicesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.DeleteVoiceResponseModel>;
53
+ private __delete;
25
54
  /**
26
55
  * Returns a list of all available voices for a user. Stops working once the user's workspace exceeds 500 voices.
27
56
  *
@@ -62,35 +91,6 @@ export declare class VoicesClient {
62
91
  */
63
92
  search(request?: ElevenLabs.VoicesSearchRequest, requestOptions?: VoicesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetVoicesV2Response>;
64
93
  private __search;
65
- /**
66
- * Returns metadata about a specific voice.
67
- *
68
- * @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
69
- * @param {ElevenLabs.VoicesGetRequest} request
70
- * @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
71
- *
72
- * @throws {@link ElevenLabs.UnprocessableEntityError}
73
- *
74
- * @example
75
- * await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
76
- * withSettings: true
77
- * })
78
- */
79
- get(voice_id: string, request?: ElevenLabs.VoicesGetRequest, requestOptions?: VoicesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.Voice>;
80
- private __get;
81
- /**
82
- * Deletes a voice by its ID.
83
- *
84
- * @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
85
- * @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
86
- *
87
- * @throws {@link ElevenLabs.UnprocessableEntityError}
88
- *
89
- * @example
90
- * await client.voices.delete("21m00Tcm4TlvDq8ikWAM")
91
- */
92
- delete(voice_id: string, requestOptions?: VoicesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.DeleteVoiceResponseModel>;
93
- private __delete;
94
94
  /**
95
95
  * Edit a voice created by you.
96
96
  *
@@ -78,32 +78,33 @@ class VoicesClient {
78
78
  return ((_a = this._samples) !== null && _a !== void 0 ? _a : (this._samples = new Client_3.SamplesClient(this._options)));
79
79
  }
80
80
  /**
81
- * Returns a list of all available voices for a user. Stops working once the user's workspace exceeds 500 voices.
81
+ * Returns metadata about a specific voice.
82
82
  *
83
- * @param {ElevenLabs.VoicesGetAllRequest} request
83
+ * @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
84
+ * @param {ElevenLabs.VoicesGetRequest} request
84
85
  * @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
85
86
  *
86
87
  * @throws {@link ElevenLabs.UnprocessableEntityError}
87
88
  *
88
89
  * @example
89
- * await client.voices.getAll({
90
- * showLegacy: true
90
+ * await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
91
+ * withSettings: true
91
92
  * })
92
93
  */
93
- getAll(request = {}, requestOptions) {
94
- return core.HttpResponsePromise.fromPromise(this.__getAll(request, requestOptions));
94
+ get(voice_id, request = {}, requestOptions) {
95
+ return core.HttpResponsePromise.fromPromise(this.__get(voice_id, request, requestOptions));
95
96
  }
96
- __getAll() {
97
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
97
+ __get(voice_id_1) {
98
+ return __awaiter(this, arguments, void 0, function* (voice_id, request = {}, requestOptions) {
98
99
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
99
- const { showLegacy } = request;
100
+ const { withSettings } = request;
100
101
  const _queryParams = {};
101
- if (showLegacy != null) {
102
- _queryParams.show_legacy = showLegacy.toString();
102
+ if (withSettings != null) {
103
+ _queryParams.with_settings = withSettings.toString();
103
104
  }
104
105
  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);
105
106
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
106
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/voices"),
107
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/voices/${core.url.encodePathParam(voice_id)}`),
107
108
  method: "GET",
108
109
  headers: _headers,
109
110
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -115,7 +116,7 @@ class VoicesClient {
115
116
  });
116
117
  if (_response.ok) {
117
118
  return {
118
- data: serializers.GetVoicesResponse.parseOrThrow(_response.body, {
119
+ data: serializers.Voice.parseOrThrow(_response.body, {
119
120
  unrecognizedObjectKeys: "passthrough",
120
121
  allowUnrecognizedUnionMembers: true,
121
122
  allowUnrecognizedEnumValues: true,
@@ -136,84 +137,32 @@ class VoicesClient {
136
137
  });
137
138
  }
138
139
  }
139
- return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/voices");
140
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/voices/{voice_id}");
140
141
  });
141
142
  }
142
143
  /**
143
- * Gets a list of all available voices for a user with search, filtering and pagination.
144
+ * Deletes a voice by its ID.
144
145
  *
145
- * @param {ElevenLabs.VoicesSearchRequest} request
146
+ * @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
146
147
  * @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
147
148
  *
148
149
  * @throws {@link ElevenLabs.UnprocessableEntityError}
149
150
  *
150
151
  * @example
151
- * await client.voices.search({
152
- * nextPageToken: "next_page_token",
153
- * pageSize: 1,
154
- * search: "search",
155
- * sort: "sort",
156
- * sortDirection: "sort_direction",
157
- * voiceType: "voice_type",
158
- * category: "category",
159
- * fineTuningState: "fine_tuning_state",
160
- * collectionId: "collection_id",
161
- * includeTotalCount: true,
162
- * voiceIds: ["voice_ids"]
163
- * })
152
+ * await client.voices.delete("21m00Tcm4TlvDq8ikWAM")
164
153
  */
165
- search(request = {}, requestOptions) {
166
- return core.HttpResponsePromise.fromPromise(this.__search(request, requestOptions));
154
+ delete(voice_id, requestOptions) {
155
+ return core.HttpResponsePromise.fromPromise(this.__delete(voice_id, requestOptions));
167
156
  }
168
- __search() {
169
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
157
+ __delete(voice_id, requestOptions) {
158
+ return __awaiter(this, void 0, void 0, function* () {
170
159
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
171
- const { nextPageToken, pageSize, search, sort, sortDirection, voiceType, category, fineTuningState, collectionId, includeTotalCount, voiceIds, } = request;
172
- const _queryParams = {};
173
- if (nextPageToken != null) {
174
- _queryParams.next_page_token = nextPageToken;
175
- }
176
- if (pageSize != null) {
177
- _queryParams.page_size = pageSize.toString();
178
- }
179
- if (search != null) {
180
- _queryParams.search = search;
181
- }
182
- if (sort != null) {
183
- _queryParams.sort = sort;
184
- }
185
- if (sortDirection != null) {
186
- _queryParams.sort_direction = sortDirection;
187
- }
188
- if (voiceType != null) {
189
- _queryParams.voice_type = voiceType;
190
- }
191
- if (category != null) {
192
- _queryParams.category = category;
193
- }
194
- if (fineTuningState != null) {
195
- _queryParams.fine_tuning_state = fineTuningState;
196
- }
197
- if (collectionId != null) {
198
- _queryParams.collection_id = collectionId;
199
- }
200
- if (includeTotalCount != null) {
201
- _queryParams.include_total_count = includeTotalCount.toString();
202
- }
203
- if (voiceIds != null) {
204
- if (Array.isArray(voiceIds)) {
205
- _queryParams.voice_ids = voiceIds.map((item) => item);
206
- }
207
- else {
208
- _queryParams.voice_ids = voiceIds;
209
- }
210
- }
211
160
  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);
212
161
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
213
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v2/voices"),
214
- method: "GET",
162
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/voices/${core.url.encodePathParam(voice_id)}`),
163
+ method: "DELETE",
215
164
  headers: _headers,
216
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
165
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
217
166
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
218
167
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
219
168
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -222,7 +171,7 @@ class VoicesClient {
222
171
  });
223
172
  if (_response.ok) {
224
173
  return {
225
- data: serializers.GetVoicesV2Response.parseOrThrow(_response.body, {
174
+ data: serializers.DeleteVoiceResponseModel.parseOrThrow(_response.body, {
226
175
  unrecognizedObjectKeys: "passthrough",
227
176
  allowUnrecognizedUnionMembers: true,
228
177
  allowUnrecognizedEnumValues: true,
@@ -243,37 +192,36 @@ class VoicesClient {
243
192
  });
244
193
  }
245
194
  }
246
- return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v2/voices");
195
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/voices/{voice_id}");
247
196
  });
248
197
  }
249
198
  /**
250
- * Returns metadata about a specific voice.
199
+ * Returns a list of all available voices for a user. Stops working once the user's workspace exceeds 500 voices.
251
200
  *
252
- * @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
253
- * @param {ElevenLabs.VoicesGetRequest} request
201
+ * @param {ElevenLabs.VoicesGetAllRequest} request
254
202
  * @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
255
203
  *
256
204
  * @throws {@link ElevenLabs.UnprocessableEntityError}
257
205
  *
258
206
  * @example
259
- * await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
260
- * withSettings: true
207
+ * await client.voices.getAll({
208
+ * showLegacy: true
261
209
  * })
262
210
  */
263
- get(voice_id, request = {}, requestOptions) {
264
- return core.HttpResponsePromise.fromPromise(this.__get(voice_id, request, requestOptions));
211
+ getAll(request = {}, requestOptions) {
212
+ return core.HttpResponsePromise.fromPromise(this.__getAll(request, requestOptions));
265
213
  }
266
- __get(voice_id_1) {
267
- return __awaiter(this, arguments, void 0, function* (voice_id, request = {}, requestOptions) {
214
+ __getAll() {
215
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
268
216
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
269
- const { withSettings } = request;
217
+ const { showLegacy } = request;
270
218
  const _queryParams = {};
271
- if (withSettings != null) {
272
- _queryParams.with_settings = withSettings.toString();
219
+ if (showLegacy != null) {
220
+ _queryParams.show_legacy = showLegacy.toString();
273
221
  }
274
222
  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);
275
223
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
276
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/voices/${core.url.encodePathParam(voice_id)}`),
224
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/voices"),
277
225
  method: "GET",
278
226
  headers: _headers,
279
227
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -285,7 +233,7 @@ class VoicesClient {
285
233
  });
286
234
  if (_response.ok) {
287
235
  return {
288
- data: serializers.Voice.parseOrThrow(_response.body, {
236
+ data: serializers.GetVoicesResponse.parseOrThrow(_response.body, {
289
237
  unrecognizedObjectKeys: "passthrough",
290
238
  allowUnrecognizedUnionMembers: true,
291
239
  allowUnrecognizedEnumValues: true,
@@ -306,32 +254,84 @@ class VoicesClient {
306
254
  });
307
255
  }
308
256
  }
309
- return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/voices/{voice_id}");
257
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/voices");
310
258
  });
311
259
  }
312
260
  /**
313
- * Deletes a voice by its ID.
261
+ * Gets a list of all available voices for a user with search, filtering and pagination.
314
262
  *
315
- * @param {string} voice_id - ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
263
+ * @param {ElevenLabs.VoicesSearchRequest} request
316
264
  * @param {VoicesClient.RequestOptions} requestOptions - Request-specific configuration.
317
265
  *
318
266
  * @throws {@link ElevenLabs.UnprocessableEntityError}
319
267
  *
320
268
  * @example
321
- * await client.voices.delete("21m00Tcm4TlvDq8ikWAM")
269
+ * await client.voices.search({
270
+ * nextPageToken: "next_page_token",
271
+ * pageSize: 1,
272
+ * search: "search",
273
+ * sort: "sort",
274
+ * sortDirection: "sort_direction",
275
+ * voiceType: "voice_type",
276
+ * category: "category",
277
+ * fineTuningState: "fine_tuning_state",
278
+ * collectionId: "collection_id",
279
+ * includeTotalCount: true,
280
+ * voiceIds: ["voice_ids"]
281
+ * })
322
282
  */
323
- delete(voice_id, requestOptions) {
324
- return core.HttpResponsePromise.fromPromise(this.__delete(voice_id, requestOptions));
283
+ search(request = {}, requestOptions) {
284
+ return core.HttpResponsePromise.fromPromise(this.__search(request, requestOptions));
325
285
  }
326
- __delete(voice_id, requestOptions) {
327
- return __awaiter(this, void 0, void 0, function* () {
286
+ __search() {
287
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
328
288
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
289
+ const { nextPageToken, pageSize, search, sort, sortDirection, voiceType, category, fineTuningState, collectionId, includeTotalCount, voiceIds, } = request;
290
+ const _queryParams = {};
291
+ if (nextPageToken != null) {
292
+ _queryParams.next_page_token = nextPageToken;
293
+ }
294
+ if (pageSize != null) {
295
+ _queryParams.page_size = pageSize.toString();
296
+ }
297
+ if (search != null) {
298
+ _queryParams.search = search;
299
+ }
300
+ if (sort != null) {
301
+ _queryParams.sort = sort;
302
+ }
303
+ if (sortDirection != null) {
304
+ _queryParams.sort_direction = sortDirection;
305
+ }
306
+ if (voiceType != null) {
307
+ _queryParams.voice_type = voiceType;
308
+ }
309
+ if (category != null) {
310
+ _queryParams.category = category;
311
+ }
312
+ if (fineTuningState != null) {
313
+ _queryParams.fine_tuning_state = fineTuningState;
314
+ }
315
+ if (collectionId != null) {
316
+ _queryParams.collection_id = collectionId;
317
+ }
318
+ if (includeTotalCount != null) {
319
+ _queryParams.include_total_count = includeTotalCount.toString();
320
+ }
321
+ if (voiceIds != null) {
322
+ if (Array.isArray(voiceIds)) {
323
+ _queryParams.voice_ids = voiceIds.map((item) => item);
324
+ }
325
+ else {
326
+ _queryParams.voice_ids = voiceIds;
327
+ }
328
+ }
329
329
  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);
330
330
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
331
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/voices/${core.url.encodePathParam(voice_id)}`),
332
- method: "DELETE",
331
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v2/voices"),
332
+ method: "GET",
333
333
  headers: _headers,
334
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
334
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
335
335
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
336
336
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
337
337
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -340,7 +340,7 @@ class VoicesClient {
340
340
  });
341
341
  if (_response.ok) {
342
342
  return {
343
- data: serializers.DeleteVoiceResponseModel.parseOrThrow(_response.body, {
343
+ data: serializers.GetVoicesV2Response.parseOrThrow(_response.body, {
344
344
  unrecognizedObjectKeys: "passthrough",
345
345
  allowUnrecognizedUnionMembers: true,
346
346
  allowUnrecognizedEnumValues: true,
@@ -361,7 +361,7 @@ class VoicesClient {
361
361
  });
362
362
  }
363
363
  }
364
- return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/voices/{voice_id}");
364
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v2/voices");
365
365
  });
366
366
  }
367
367
  /**