@elevenlabs/elevenlabs-js 2.49.0 → 2.51.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 (782) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/.fern/replay.lock +240 -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/phoneNumbers/client/Client.d.ts +1 -1
  29. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +1 -1
  30. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +4 -1
  31. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +4 -1
  32. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +4 -1
  33. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +4 -1
  34. package/api/resources/dubbing/client/Client.js +3 -0
  35. package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  36. package/api/resources/index.d.ts +1 -0
  37. package/api/resources/index.js +2 -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/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
  43. package/api/resources/workspace/resources/resources/client/Client.d.ts +2 -2
  44. package/api/resources/workspace/resources/resources/client/Client.js +2 -2
  45. package/api/resources/workspace/resources/resources/client/requests/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost.d.ts +3 -3
  46. package/api/resources/workspace/resources/resources/client/requests/BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost.d.ts +2 -2
  47. package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
  48. package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
  49. package/api/resources/workspaces/client/Client.d.ts +12 -0
  50. package/api/resources/workspaces/client/Client.js +16 -0
  51. package/api/resources/workspaces/client/index.d.ts +1 -0
  52. package/api/resources/workspaces/client/index.js +2 -0
  53. package/api/resources/workspaces/index.d.ts +2 -0
  54. package/api/resources/workspaces/index.js +18 -0
  55. package/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +28 -0
  56. package/api/resources/workspaces/resources/apiKeys/client/Client.js +111 -0
  57. package/api/resources/workspaces/resources/apiKeys/client/index.d.ts +1 -0
  58. package/api/resources/workspaces/resources/apiKeys/client/index.js +17 -0
  59. package/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +10 -0
  60. package/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -0
  61. package/api/resources/workspaces/resources/apiKeys/client/requests/index.js +2 -0
  62. package/api/resources/workspaces/resources/apiKeys/index.d.ts +1 -0
  63. package/api/resources/workspaces/resources/apiKeys/index.js +17 -0
  64. package/api/resources/workspaces/resources/index.d.ts +2 -0
  65. package/api/resources/workspaces/resources/index.js +41 -0
  66. package/api/types/AgentConfig.d.ts +2 -0
  67. package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  68. package/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  69. package/api/types/AgentPlatformSettingsRequestModel.d.ts +0 -1
  70. package/api/types/AgentPlatformSettingsResponseModel.d.ts +0 -1
  71. package/api/types/AgentTransfer.d.ts +2 -1
  72. package/api/types/BehaviorOverride.d.ts +9 -0
  73. package/api/types/BucketingStatus.d.ts +6 -0
  74. package/api/types/BucketingStatus.js +9 -0
  75. package/api/types/ConversationHistoryExotelPhoneCallModel.d.ts +9 -0
  76. package/api/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +4 -1
  77. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
  78. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
  79. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
  80. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
  81. package/api/types/ConversationInitiationSource.d.ts +4 -0
  82. package/api/types/ConversationInitiationSource.js +4 -0
  83. package/api/types/ConversationSentimentAnalysis.d.ts +9 -0
  84. package/api/types/ConversationSentimentAnalysisOverallLabel.d.ts +6 -0
  85. package/api/types/ConversationSentimentAnalysisOverallLabel.js +9 -0
  86. package/api/types/CreateExotelPhoneNumberRequest.d.ts +23 -0
  87. package/api/types/CreateOrderRequest.d.ts +4 -0
  88. package/api/types/CreateOrderResponse.d.ts +2 -0
  89. package/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
  90. package/api/types/CreateSimulationTestRequest.d.ts +2 -0
  91. package/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  92. package/api/types/CustomLlm.d.ts +2 -0
  93. package/api/types/CustomLlmAuthConnection.d.ts +5 -0
  94. package/api/types/DeleteClientParams.d.ts +1 -1
  95. package/api/types/ExotelApiSubdomain.d.ts +5 -0
  96. package/api/types/ExotelApiSubdomain.js +8 -0
  97. package/api/types/ExotelOutboundCallResponse.d.ts +7 -0
  98. package/api/types/GetAgentResponseModelPhoneNumbersItem.d.ts +4 -1
  99. package/api/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  100. package/api/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  101. package/api/types/GetSimulationTestResponseModel.d.ts +2 -0
  102. package/api/types/GetTestSuiteInvocationResponseModel.d.ts +4 -0
  103. package/api/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  104. package/api/types/InteractionBudget.d.ts +5 -0
  105. package/api/types/InteractionBudget.js +8 -0
  106. package/api/types/LanguagesResponse.d.ts +10 -0
  107. package/api/types/LanguagesResponse.js +3 -0
  108. package/api/types/Llm.d.ts +1 -0
  109. package/api/types/Llm.js +1 -0
  110. package/api/types/{LoadProcedureToolConfig.d.ts → LoadProcedureToolConfigInput.d.ts} +1 -1
  111. package/api/types/LoadProcedureToolConfigInput.js +3 -0
  112. package/api/types/LoadProcedureToolConfigOutput.d.ts +4 -0
  113. package/api/types/LoadProcedureToolConfigOutput.js +3 -0
  114. package/api/types/MessagesSearchResult.d.ts +4 -0
  115. package/api/types/Monitor.d.ts +1 -0
  116. package/api/types/Monitor.js +1 -0
  117. package/api/types/MusicGenerationMode.d.ts +7 -0
  118. package/api/types/MusicGenerationMode.js +10 -0
  119. package/api/types/OptInSmsReminderParams.d.ts +3 -0
  120. package/api/types/OptInSmsReminderParams.js +3 -0
  121. package/api/types/OptOutSmsReminderParams.d.ts +3 -0
  122. package/api/types/OptOutSmsReminderParams.js +3 -0
  123. package/api/types/OrderItemInfo.d.ts +1 -1
  124. package/api/types/OrderItemRequestInput.d.ts +10 -0
  125. package/api/types/OrderItemRequestInput.js +3 -0
  126. package/api/types/OrderItemRequestOutput.d.ts +10 -0
  127. package/api/types/OrderItemRequestOutput.js +3 -0
  128. package/api/types/OrderResponse.d.ts +2 -0
  129. package/api/types/OrderSummary.d.ts +2 -0
  130. package/api/types/ProcedureAtVersion.d.ts +2 -0
  131. package/api/types/ProcedureRefResponseModel.d.ts +3 -0
  132. package/api/types/ProcedureType.d.ts +5 -0
  133. package/api/types/ProcedureType.js +8 -0
  134. package/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  135. package/api/types/ReferencedToolCommonModelType.js +1 -0
  136. package/api/types/RenderType.d.ts +1 -0
  137. package/api/types/RenderType.js +1 -0
  138. package/api/types/ResourceAccessInfo.d.ts +2 -0
  139. package/api/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  140. package/api/types/ResourceAccessInfoAccessSource.js +10 -0
  141. package/api/types/ResponseUnitTestModel.d.ts +2 -0
  142. package/api/types/RestoreCalendarEventParams.d.ts +3 -0
  143. package/api/types/RestoreCalendarEventParams.js +3 -0
  144. package/api/types/SimulationTestModel.d.ts +2 -0
  145. package/api/types/SoftTimeoutConfig.d.ts +2 -0
  146. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
  147. package/api/types/SpeechEngineResponse.d.ts +2 -0
  148. package/api/types/SpeechEngineSummaryResponse.d.ts +3 -0
  149. package/api/types/SystemEvaluationCriteria.d.ts +4 -0
  150. package/api/types/SystemEvaluationCriteria.js +3 -0
  151. package/api/types/SystemToolConfigInputParams.d.ts +1 -1
  152. package/api/types/SystemToolConfigOutputParams.d.ts +1 -1
  153. package/api/types/TelephonyProvider.d.ts +1 -0
  154. package/api/types/TelephonyProvider.js +1 -0
  155. package/api/types/TestInvocationSummaryResponseModel.d.ts +2 -0
  156. package/api/types/TestRunResultBucket.d.ts +9 -0
  157. package/api/types/TestRunResultBucket.js +3 -0
  158. package/api/types/TestRunResultSummary.d.ts +7 -0
  159. package/api/types/TestRunResultSummary.js +3 -0
  160. package/api/types/ToolCallUnitTestModel.d.ts +2 -0
  161. package/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  162. package/api/types/TransferToNumberResultExotelSuccessModel.d.ts +6 -0
  163. package/api/types/TransferToNumberResultExotelSuccessModel.js +3 -0
  164. package/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
  165. package/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  166. package/api/types/UpdateSimulationTestRequest.d.ts +2 -0
  167. package/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  168. package/api/types/UpsertOrderItemRequest.d.ts +1 -1
  169. package/api/types/Verbosity.d.ts +6 -0
  170. package/{dist/api/types/ProcedureCompilerMode.js → api/types/Verbosity.js} +5 -4
  171. package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  172. package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  173. package/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +4 -2
  174. package/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +4 -2
  175. package/api/types/index.d.ts +28 -6
  176. package/api/types/index.js +28 -6
  177. package/dist/BaseClient.js +2 -2
  178. package/dist/Client.d.ts +3 -0
  179. package/dist/Client.js +5 -0
  180. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
  181. package/dist/api/resources/conversationalAi/client/Client.js +33 -28
  182. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -1
  183. package/dist/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
  184. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
  185. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  186. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  187. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  188. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  189. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +10 -1
  190. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
  191. package/dist/api/resources/conversationalAi/resources/exotel/client/Client.d.ts +30 -0
  192. package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +122 -0
  193. package/dist/api/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  194. package/dist/api/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  195. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +16 -0
  196. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +3 -0
  197. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  198. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/index.js +2 -0
  199. package/dist/api/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  200. package/dist/api/resources/conversationalAi/resources/exotel/index.js +17 -0
  201. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
  202. package/dist/api/resources/conversationalAi/resources/index.js +3 -1
  203. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
  204. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +1 -1
  205. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +4 -1
  206. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +4 -1
  207. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +4 -1
  208. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +4 -1
  209. package/dist/api/resources/dubbing/client/Client.js +3 -0
  210. package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
  211. package/dist/api/resources/index.d.ts +1 -0
  212. package/dist/api/resources/index.js +2 -1
  213. package/dist/api/resources/productions/resources/orders/client/Client.d.ts +5 -2
  214. package/dist/api/resources/productions/resources/orders/client/Client.js +14 -4
  215. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +1 -1
  216. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
  217. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
  218. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +2 -2
  219. package/dist/api/resources/workspace/resources/resources/client/Client.js +2 -2
  220. package/dist/api/resources/workspace/resources/resources/client/requests/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost.d.ts +3 -3
  221. package/dist/api/resources/workspace/resources/resources/client/requests/BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost.d.ts +2 -2
  222. package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
  223. package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
  224. package/dist/api/resources/workspaces/client/Client.d.ts +12 -0
  225. package/dist/api/resources/workspaces/client/Client.js +16 -0
  226. package/dist/api/resources/workspaces/client/index.d.ts +1 -0
  227. package/dist/api/resources/workspaces/client/index.js +2 -0
  228. package/dist/api/resources/workspaces/index.d.ts +2 -0
  229. package/dist/api/resources/workspaces/index.js +18 -0
  230. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +28 -0
  231. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +111 -0
  232. package/dist/api/resources/workspaces/resources/apiKeys/client/index.d.ts +1 -0
  233. package/dist/api/resources/workspaces/resources/apiKeys/client/index.js +17 -0
  234. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +10 -0
  235. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js +3 -0
  236. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -0
  237. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/index.js +2 -0
  238. package/dist/api/resources/workspaces/resources/apiKeys/index.d.ts +1 -0
  239. package/dist/api/resources/workspaces/resources/apiKeys/index.js +17 -0
  240. package/dist/api/resources/workspaces/resources/index.d.ts +2 -0
  241. package/dist/api/resources/workspaces/resources/index.js +41 -0
  242. package/dist/api/types/AgentConfig.d.ts +2 -0
  243. package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  244. package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  245. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +0 -1
  246. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +0 -1
  247. package/dist/api/types/AgentTransfer.d.ts +2 -1
  248. package/dist/api/types/BehaviorOverride.d.ts +9 -0
  249. package/dist/api/types/BehaviorOverride.js +3 -0
  250. package/dist/api/types/BucketingStatus.d.ts +6 -0
  251. package/dist/api/types/BucketingStatus.js +9 -0
  252. package/dist/api/types/ConversationHistoryExotelPhoneCallModel.d.ts +9 -0
  253. package/dist/api/types/ConversationHistoryExotelPhoneCallModel.js +3 -0
  254. package/dist/api/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +4 -1
  255. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
  256. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
  257. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
  258. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
  259. package/dist/api/types/ConversationInitiationSource.d.ts +4 -0
  260. package/dist/api/types/ConversationInitiationSource.js +4 -0
  261. package/dist/api/types/ConversationSentimentAnalysis.d.ts +9 -0
  262. package/dist/api/types/ConversationSentimentAnalysis.js +3 -0
  263. package/dist/api/types/ConversationSentimentAnalysisOverallLabel.d.ts +6 -0
  264. package/dist/api/types/ConversationSentimentAnalysisOverallLabel.js +9 -0
  265. package/dist/api/types/CreateExotelPhoneNumberRequest.d.ts +23 -0
  266. package/dist/api/types/CreateExotelPhoneNumberRequest.js +3 -0
  267. package/dist/api/types/CreateOrderRequest.d.ts +4 -0
  268. package/dist/api/types/CreateOrderRequest.js +3 -0
  269. package/dist/api/types/CreateOrderResponse.d.ts +2 -0
  270. package/dist/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
  271. package/dist/api/types/CreateSimulationTestRequest.d.ts +2 -0
  272. package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  273. package/dist/api/types/CustomLlm.d.ts +2 -0
  274. package/dist/api/types/CustomLlmAuthConnection.d.ts +5 -0
  275. package/dist/api/types/CustomLlmAuthConnection.js +3 -0
  276. package/dist/api/types/DeleteClientParams.d.ts +1 -1
  277. package/dist/api/types/ExotelApiSubdomain.d.ts +5 -0
  278. package/dist/api/types/ExotelApiSubdomain.js +8 -0
  279. package/dist/api/types/ExotelOutboundCallResponse.d.ts +7 -0
  280. package/dist/api/types/ExotelOutboundCallResponse.js +3 -0
  281. package/dist/api/types/GetAgentResponseModelPhoneNumbersItem.d.ts +4 -1
  282. package/dist/api/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  283. package/dist/api/types/GetPhoneNumberExotelResponseModel.js +3 -0
  284. package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  285. package/dist/api/types/GetSimulationTestResponseModel.d.ts +2 -0
  286. package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +4 -0
  287. package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  288. package/dist/api/types/InteractionBudget.d.ts +5 -0
  289. package/dist/api/types/InteractionBudget.js +8 -0
  290. package/dist/api/types/LanguagesResponse.d.ts +10 -0
  291. package/dist/api/types/LanguagesResponse.js +3 -0
  292. package/dist/api/types/Llm.d.ts +1 -0
  293. package/dist/api/types/Llm.js +1 -0
  294. package/dist/api/types/{LoadProcedureToolConfig.d.ts → LoadProcedureToolConfigInput.d.ts} +1 -1
  295. package/dist/api/types/LoadProcedureToolConfigInput.js +3 -0
  296. package/dist/api/types/LoadProcedureToolConfigOutput.d.ts +4 -0
  297. package/dist/api/types/LoadProcedureToolConfigOutput.js +3 -0
  298. package/dist/api/types/MessagesSearchResult.d.ts +4 -0
  299. package/dist/api/types/Monitor.d.ts +1 -0
  300. package/dist/api/types/Monitor.js +1 -0
  301. package/dist/api/types/MusicGenerationMode.d.ts +7 -0
  302. package/dist/api/types/MusicGenerationMode.js +10 -0
  303. package/dist/api/types/OptInSmsReminderParams.d.ts +3 -0
  304. package/dist/api/types/OptInSmsReminderParams.js +3 -0
  305. package/dist/api/types/OptOutSmsReminderParams.d.ts +3 -0
  306. package/dist/api/types/OptOutSmsReminderParams.js +3 -0
  307. package/dist/api/types/OrderItemInfo.d.ts +1 -1
  308. package/dist/api/types/OrderItemRequestInput.d.ts +10 -0
  309. package/dist/api/types/OrderItemRequestInput.js +3 -0
  310. package/dist/api/types/OrderItemRequestOutput.d.ts +10 -0
  311. package/dist/api/types/OrderItemRequestOutput.js +3 -0
  312. package/dist/api/types/OrderResponse.d.ts +2 -0
  313. package/dist/api/types/OrderSummary.d.ts +2 -0
  314. package/dist/api/types/ProcedureAtVersion.d.ts +2 -0
  315. package/dist/api/types/ProcedureRefResponseModel.d.ts +3 -0
  316. package/dist/api/types/ProcedureType.d.ts +5 -0
  317. package/dist/api/types/ProcedureType.js +8 -0
  318. package/dist/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  319. package/dist/api/types/ReferencedToolCommonModelType.js +1 -0
  320. package/dist/api/types/RenderType.d.ts +1 -0
  321. package/dist/api/types/RenderType.js +1 -0
  322. package/dist/api/types/ResourceAccessInfo.d.ts +2 -0
  323. package/dist/api/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  324. package/dist/api/types/ResourceAccessInfoAccessSource.js +10 -0
  325. package/dist/api/types/ResponseUnitTestModel.d.ts +2 -0
  326. package/dist/api/types/RestoreCalendarEventParams.d.ts +3 -0
  327. package/dist/api/types/RestoreCalendarEventParams.js +3 -0
  328. package/dist/api/types/SimulationTestModel.d.ts +2 -0
  329. package/dist/api/types/SoftTimeoutConfig.d.ts +2 -0
  330. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
  331. package/dist/api/types/SpeechEngineResponse.d.ts +2 -0
  332. package/dist/api/types/SpeechEngineSummaryResponse.d.ts +3 -0
  333. package/dist/api/types/SystemEvaluationCriteria.d.ts +4 -0
  334. package/dist/api/types/SystemEvaluationCriteria.js +3 -0
  335. package/dist/api/types/SystemToolConfigInputParams.d.ts +1 -1
  336. package/dist/api/types/SystemToolConfigOutputParams.d.ts +1 -1
  337. package/dist/api/types/TelephonyProvider.d.ts +1 -0
  338. package/dist/api/types/TelephonyProvider.js +1 -0
  339. package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +2 -0
  340. package/dist/api/types/TestRunResultBucket.d.ts +9 -0
  341. package/dist/api/types/TestRunResultBucket.js +3 -0
  342. package/dist/api/types/TestRunResultSummary.d.ts +7 -0
  343. package/dist/api/types/TestRunResultSummary.js +3 -0
  344. package/dist/api/types/ToolCallUnitTestModel.d.ts +2 -0
  345. package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  346. package/dist/api/types/TransferToNumberResultExotelSuccessModel.d.ts +6 -0
  347. package/dist/api/types/TransferToNumberResultExotelSuccessModel.js +3 -0
  348. package/dist/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
  349. package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  350. package/dist/api/types/UpdateSimulationTestRequest.d.ts +2 -0
  351. package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  352. package/dist/api/types/UpsertOrderItemRequest.d.ts +1 -1
  353. package/dist/api/types/Verbosity.d.ts +6 -0
  354. package/{api/types/ProcedureCompilerMode.js → dist/api/types/Verbosity.js} +5 -4
  355. package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  356. package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  357. package/dist/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +4 -2
  358. package/dist/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +4 -2
  359. package/dist/api/types/index.d.ts +28 -6
  360. package/dist/api/types/index.js +28 -6
  361. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
  362. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
  363. package/dist/serialization/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  364. package/dist/serialization/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  365. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +15 -0
  366. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +47 -0
  367. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  368. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/index.js +5 -0
  369. package/dist/serialization/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  370. package/dist/serialization/resources/conversationalAi/resources/exotel/index.js +17 -0
  371. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  372. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
  373. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +5 -1
  374. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.js +2 -0
  375. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +5 -1
  376. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.js +2 -0
  377. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +5 -1
  378. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.js +2 -0
  379. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +5 -1
  380. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.js +2 -0
  381. package/dist/serialization/resources/productions/resources/orders/client/create.d.ts +8 -0
  382. package/dist/serialization/resources/productions/resources/orders/client/create.js +6 -0
  383. package/dist/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
  384. package/dist/serialization/resources/productions/resources/orders/client/index.js +24 -0
  385. package/dist/serialization/types/AgentConfig.d.ts +2 -0
  386. package/dist/serialization/types/AgentConfig.js +2 -0
  387. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  388. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +2 -0
  389. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  390. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +2 -0
  391. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +0 -2
  392. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +0 -2
  393. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +0 -2
  394. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +0 -2
  395. package/dist/serialization/types/AgentTransfer.d.ts +2 -1
  396. package/dist/serialization/types/AgentTransfer.js +2 -1
  397. package/dist/serialization/types/BehaviorOverride.d.ts +14 -0
  398. package/dist/serialization/types/BehaviorOverride.js +46 -0
  399. package/dist/serialization/types/BucketingStatus.d.ts +7 -0
  400. package/dist/serialization/types/BucketingStatus.js +39 -0
  401. package/dist/serialization/types/ConversationHistoryExotelPhoneCallModel.d.ts +15 -0
  402. package/dist/serialization/types/ConversationHistoryExotelPhoneCallModel.js +47 -0
  403. package/dist/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +5 -1
  404. package/dist/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.js +2 -0
  405. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
  406. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
  407. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
  408. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
  409. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
  410. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
  411. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  412. package/dist/serialization/types/ConversationInitiationSource.js +4 -0
  413. package/dist/serialization/types/ConversationSentimentAnalysis.d.ts +15 -0
  414. package/dist/serialization/types/ConversationSentimentAnalysis.js +47 -0
  415. package/dist/serialization/types/ConversationSentimentAnalysisOverallLabel.d.ts +7 -0
  416. package/dist/serialization/types/ConversationSentimentAnalysisOverallLabel.js +39 -0
  417. package/dist/serialization/types/CreateExotelPhoneNumberRequest.d.ts +19 -0
  418. package/dist/serialization/types/CreateExotelPhoneNumberRequest.js +51 -0
  419. package/dist/serialization/types/CreateOrderRequest.d.ts +9 -0
  420. package/dist/serialization/types/{ProcedureSettings.js → CreateOrderRequest.js} +3 -4
  421. package/dist/serialization/types/CreateOrderResponse.d.ts +1 -0
  422. package/dist/serialization/types/CreateOrderResponse.js +1 -0
  423. package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +2 -0
  424. package/dist/serialization/types/CreateResponseUnitTestRequest.js +2 -0
  425. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +2 -0
  426. package/dist/serialization/types/CreateSimulationTestRequest.js +2 -0
  427. package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  428. package/dist/serialization/types/CreateToolCallUnitTestRequest.js +2 -0
  429. package/dist/serialization/types/CustomLlm.d.ts +2 -0
  430. package/dist/serialization/types/CustomLlm.js +2 -0
  431. package/dist/serialization/types/CustomLlmAuthConnection.d.ts +9 -0
  432. package/dist/serialization/types/CustomLlmAuthConnection.js +41 -0
  433. package/dist/serialization/types/ExotelApiSubdomain.d.ts +7 -0
  434. package/dist/serialization/types/ExotelApiSubdomain.js +39 -0
  435. package/dist/serialization/types/ExotelOutboundCallResponse.d.ts +12 -0
  436. package/dist/serialization/types/ExotelOutboundCallResponse.js +44 -0
  437. package/dist/serialization/types/GetAgentResponseModelPhoneNumbersItem.d.ts +5 -1
  438. package/dist/serialization/types/GetAgentResponseModelPhoneNumbersItem.js +2 -0
  439. package/dist/serialization/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  440. package/dist/serialization/types/GetPhoneNumberExotelResponseModel.js +47 -0
  441. package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  442. package/dist/serialization/types/GetResponseUnitTestResponseModel.js +2 -0
  443. package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +2 -0
  444. package/dist/serialization/types/GetSimulationTestResponseModel.js +2 -0
  445. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +5 -0
  446. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +5 -0
  447. package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  448. package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +2 -0
  449. package/dist/serialization/types/InteractionBudget.d.ts +7 -0
  450. package/{serialization/types/ProcedureCompilerMode.js → dist/serialization/types/InteractionBudget.js} +2 -2
  451. package/dist/serialization/types/LanguagesResponse.d.ts +15 -0
  452. package/{serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → dist/serialization/types/LanguagesResponse.js} +2 -2
  453. package/dist/serialization/types/Llm.d.ts +1 -1
  454. package/dist/serialization/types/Llm.js +1 -0
  455. package/dist/serialization/types/{LoadProcedureToolConfig.d.ts → LoadProcedureToolConfigInput.d.ts} +2 -2
  456. package/dist/serialization/types/{LoadProcedureToolConfig.js → LoadProcedureToolConfigInput.js} +2 -2
  457. package/dist/serialization/types/LoadProcedureToolConfigOutput.d.ts +10 -0
  458. package/dist/serialization/types/LoadProcedureToolConfigOutput.js +42 -0
  459. package/dist/serialization/types/MessagesSearchResult.d.ts +2 -0
  460. package/dist/serialization/types/MessagesSearchResult.js +2 -0
  461. package/dist/serialization/types/Monitor.d.ts +1 -1
  462. package/dist/serialization/types/Monitor.js +1 -1
  463. package/dist/serialization/types/MusicGenerationMode.d.ts +7 -0
  464. package/dist/serialization/types/MusicGenerationMode.js +39 -0
  465. package/dist/serialization/types/OptInSmsReminderParams.d.ts +9 -0
  466. package/{serialization/types/ProcedureSettings.js → dist/serialization/types/OptInSmsReminderParams.js} +3 -4
  467. package/dist/serialization/types/OptOutSmsReminderParams.d.ts +9 -0
  468. package/dist/serialization/types/OptOutSmsReminderParams.js +41 -0
  469. package/dist/serialization/types/OrderItemInfo.d.ts +2 -2
  470. package/dist/serialization/types/OrderItemInfo.js +2 -2
  471. package/dist/serialization/types/OrderItemRequestInput.d.ts +15 -0
  472. package/{serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → dist/serialization/types/OrderItemRequestInput.js} +2 -2
  473. package/dist/serialization/types/OrderItemRequestOutput.d.ts +15 -0
  474. package/dist/serialization/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → OrderItemRequestOutput.js} +2 -2
  475. package/dist/serialization/types/OrderResponse.d.ts +1 -0
  476. package/dist/serialization/types/OrderResponse.js +1 -0
  477. package/dist/serialization/types/OrderSummary.d.ts +1 -0
  478. package/dist/serialization/types/OrderSummary.js +1 -0
  479. package/dist/serialization/types/ProcedureAtVersion.d.ts +2 -0
  480. package/dist/serialization/types/ProcedureAtVersion.js +2 -0
  481. package/dist/serialization/types/ProcedureRefResponseModel.d.ts +2 -0
  482. package/dist/serialization/types/ProcedureRefResponseModel.js +2 -0
  483. package/dist/serialization/types/ProcedureType.d.ts +7 -0
  484. package/dist/serialization/types/{ProcedureCompilerMode.js → ProcedureType.js} +2 -2
  485. package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  486. package/dist/serialization/types/ReferencedToolCommonModelType.js +1 -1
  487. package/dist/serialization/types/RenderType.d.ts +1 -1
  488. package/dist/serialization/types/RenderType.js +1 -1
  489. package/dist/serialization/types/ResourceAccessInfo.d.ts +2 -0
  490. package/dist/serialization/types/ResourceAccessInfo.js +2 -0
  491. package/dist/serialization/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  492. package/dist/serialization/types/ResourceAccessInfoAccessSource.js +39 -0
  493. package/dist/serialization/types/ResponseUnitTestModel.d.ts +2 -0
  494. package/dist/serialization/types/ResponseUnitTestModel.js +2 -0
  495. package/dist/serialization/types/RestoreCalendarEventParams.d.ts +9 -0
  496. package/dist/serialization/types/RestoreCalendarEventParams.js +41 -0
  497. package/dist/serialization/types/SimulationTestModel.d.ts +2 -0
  498. package/dist/serialization/types/SimulationTestModel.js +2 -0
  499. package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  500. package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
  501. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  502. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  503. package/dist/serialization/types/SpeechEngineResponse.d.ts +2 -0
  504. package/dist/serialization/types/SpeechEngineResponse.js +2 -0
  505. package/dist/serialization/types/SpeechEngineSummaryResponse.d.ts +2 -0
  506. package/dist/serialization/types/SpeechEngineSummaryResponse.js +2 -0
  507. package/dist/serialization/types/SystemEvaluationCriteria.d.ts +10 -0
  508. package/dist/serialization/types/SystemEvaluationCriteria.js +42 -0
  509. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +2 -2
  510. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -2
  511. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +2 -2
  512. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -2
  513. package/dist/serialization/types/TelephonyProvider.d.ts +1 -1
  514. package/dist/serialization/types/TelephonyProvider.js +1 -1
  515. package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +1 -0
  516. package/dist/serialization/types/TestInvocationSummaryResponseModel.js +1 -0
  517. package/dist/serialization/types/TestRunResultBucket.d.ts +13 -0
  518. package/dist/serialization/types/TestRunResultBucket.js +45 -0
  519. package/dist/serialization/types/TestRunResultSummary.d.ts +13 -0
  520. package/dist/serialization/types/TestRunResultSummary.js +45 -0
  521. package/dist/serialization/types/ToolCallUnitTestModel.d.ts +2 -0
  522. package/dist/serialization/types/ToolCallUnitTestModel.js +2 -0
  523. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  524. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
  525. package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +12 -0
  526. package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.js +44 -0
  527. package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
  528. package/dist/serialization/types/UnitTestSummaryResponseModel.js +2 -0
  529. package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  530. package/dist/serialization/types/UpdateResponseUnitTestRequest.js +2 -0
  531. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +2 -0
  532. package/dist/serialization/types/UpdateSimulationTestRequest.js +2 -0
  533. package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  534. package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +2 -0
  535. package/dist/serialization/types/UpsertOrderItemRequest.d.ts +2 -2
  536. package/dist/serialization/types/UpsertOrderItemRequest.js +2 -2
  537. package/dist/serialization/types/Verbosity.d.ts +7 -0
  538. package/dist/serialization/types/Verbosity.js +39 -0
  539. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -0
  540. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +1 -0
  541. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -0
  542. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +1 -0
  543. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -1
  544. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +2 -1
  545. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -1
  546. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +2 -1
  547. package/dist/serialization/types/index.d.ts +28 -6
  548. package/dist/serialization/types/index.js +28 -6
  549. package/dist/version.d.ts +1 -1
  550. package/dist/version.js +1 -1
  551. package/dist/wrapper/music.d.ts +11 -0
  552. package/dist/wrapper/music.js +15 -0
  553. package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.js +5 -5
  554. package/dist/wrapper/speech-engine/SpeechEngineResource.d.ts +10 -1
  555. package/dist/wrapper/speech-engine/SpeechEngineResource.js +16 -1
  556. package/package.json +1 -1
  557. package/reference.md +153 -7
  558. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
  559. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
  560. package/serialization/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  561. package/serialization/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  562. package/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +15 -0
  563. package/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +47 -0
  564. package/serialization/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  565. package/serialization/resources/conversationalAi/resources/exotel/client/requests/index.js +5 -0
  566. package/serialization/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  567. package/serialization/resources/conversationalAi/resources/exotel/index.js +17 -0
  568. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  569. package/serialization/resources/conversationalAi/resources/index.js +3 -1
  570. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +5 -1
  571. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.js +2 -0
  572. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +5 -1
  573. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.js +2 -0
  574. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +5 -1
  575. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.js +2 -0
  576. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +5 -1
  577. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.js +2 -0
  578. package/serialization/resources/productions/resources/orders/client/create.d.ts +8 -0
  579. package/serialization/resources/productions/resources/orders/client/create.js +6 -0
  580. package/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
  581. package/serialization/resources/productions/resources/orders/client/index.js +24 -0
  582. package/serialization/types/AgentConfig.d.ts +2 -0
  583. package/serialization/types/AgentConfig.js +2 -0
  584. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  585. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +2 -0
  586. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  587. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +2 -0
  588. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +0 -2
  589. package/serialization/types/AgentPlatformSettingsRequestModel.js +0 -2
  590. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +0 -2
  591. package/serialization/types/AgentPlatformSettingsResponseModel.js +0 -2
  592. package/serialization/types/AgentTransfer.d.ts +2 -1
  593. package/serialization/types/AgentTransfer.js +2 -1
  594. package/serialization/types/BehaviorOverride.d.ts +14 -0
  595. package/serialization/types/BehaviorOverride.js +46 -0
  596. package/serialization/types/BucketingStatus.d.ts +7 -0
  597. package/serialization/types/BucketingStatus.js +39 -0
  598. package/serialization/types/ConversationHistoryExotelPhoneCallModel.d.ts +15 -0
  599. package/serialization/types/ConversationHistoryExotelPhoneCallModel.js +47 -0
  600. package/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +5 -1
  601. package/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.js +2 -0
  602. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
  603. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
  604. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
  605. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
  606. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
  607. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
  608. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  609. package/serialization/types/ConversationInitiationSource.js +4 -0
  610. package/serialization/types/ConversationSentimentAnalysis.d.ts +15 -0
  611. package/serialization/types/ConversationSentimentAnalysis.js +47 -0
  612. package/serialization/types/ConversationSentimentAnalysisOverallLabel.d.ts +7 -0
  613. package/serialization/types/ConversationSentimentAnalysisOverallLabel.js +39 -0
  614. package/serialization/types/CreateExotelPhoneNumberRequest.d.ts +19 -0
  615. package/serialization/types/CreateExotelPhoneNumberRequest.js +51 -0
  616. package/serialization/types/CreateOrderRequest.d.ts +9 -0
  617. package/serialization/types/CreateOrderRequest.js +41 -0
  618. package/serialization/types/CreateOrderResponse.d.ts +1 -0
  619. package/serialization/types/CreateOrderResponse.js +1 -0
  620. package/serialization/types/CreateResponseUnitTestRequest.d.ts +2 -0
  621. package/serialization/types/CreateResponseUnitTestRequest.js +2 -0
  622. package/serialization/types/CreateSimulationTestRequest.d.ts +2 -0
  623. package/serialization/types/CreateSimulationTestRequest.js +2 -0
  624. package/serialization/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  625. package/serialization/types/CreateToolCallUnitTestRequest.js +2 -0
  626. package/serialization/types/CustomLlm.d.ts +2 -0
  627. package/serialization/types/CustomLlm.js +2 -0
  628. package/serialization/types/CustomLlmAuthConnection.d.ts +9 -0
  629. package/serialization/types/CustomLlmAuthConnection.js +41 -0
  630. package/serialization/types/ExotelApiSubdomain.d.ts +7 -0
  631. package/serialization/types/ExotelApiSubdomain.js +39 -0
  632. package/serialization/types/ExotelOutboundCallResponse.d.ts +12 -0
  633. package/serialization/types/ExotelOutboundCallResponse.js +44 -0
  634. package/serialization/types/GetAgentResponseModelPhoneNumbersItem.d.ts +5 -1
  635. package/serialization/types/GetAgentResponseModelPhoneNumbersItem.js +2 -0
  636. package/serialization/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  637. package/serialization/types/GetPhoneNumberExotelResponseModel.js +47 -0
  638. package/serialization/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  639. package/serialization/types/GetResponseUnitTestResponseModel.js +2 -0
  640. package/serialization/types/GetSimulationTestResponseModel.d.ts +2 -0
  641. package/serialization/types/GetSimulationTestResponseModel.js +2 -0
  642. package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +5 -0
  643. package/serialization/types/GetTestSuiteInvocationResponseModel.js +5 -0
  644. package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  645. package/serialization/types/GetToolCallUnitTestResponseModel.js +2 -0
  646. package/serialization/types/InteractionBudget.d.ts +7 -0
  647. package/serialization/types/InteractionBudget.js +39 -0
  648. package/serialization/types/LanguagesResponse.d.ts +15 -0
  649. package/{dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → serialization/types/LanguagesResponse.js} +2 -2
  650. package/serialization/types/Llm.d.ts +1 -1
  651. package/serialization/types/Llm.js +1 -0
  652. package/serialization/types/{LoadProcedureToolConfig.d.ts → LoadProcedureToolConfigInput.d.ts} +2 -2
  653. package/serialization/types/{LoadProcedureToolConfig.js → LoadProcedureToolConfigInput.js} +2 -2
  654. package/serialization/types/LoadProcedureToolConfigOutput.d.ts +10 -0
  655. package/serialization/types/LoadProcedureToolConfigOutput.js +42 -0
  656. package/serialization/types/MessagesSearchResult.d.ts +2 -0
  657. package/serialization/types/MessagesSearchResult.js +2 -0
  658. package/serialization/types/Monitor.d.ts +1 -1
  659. package/serialization/types/Monitor.js +1 -1
  660. package/serialization/types/MusicGenerationMode.d.ts +7 -0
  661. package/serialization/types/MusicGenerationMode.js +39 -0
  662. package/serialization/types/OptInSmsReminderParams.d.ts +9 -0
  663. package/serialization/types/OptInSmsReminderParams.js +41 -0
  664. package/serialization/types/OptOutSmsReminderParams.d.ts +9 -0
  665. package/serialization/types/OptOutSmsReminderParams.js +41 -0
  666. package/serialization/types/OrderItemInfo.d.ts +2 -2
  667. package/serialization/types/OrderItemInfo.js +2 -2
  668. package/serialization/types/OrderItemRequestInput.d.ts +15 -0
  669. package/{dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → serialization/types/OrderItemRequestInput.js} +2 -2
  670. package/serialization/types/OrderItemRequestOutput.d.ts +15 -0
  671. package/serialization/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → OrderItemRequestOutput.js} +2 -2
  672. package/serialization/types/OrderResponse.d.ts +1 -0
  673. package/serialization/types/OrderResponse.js +1 -0
  674. package/serialization/types/OrderSummary.d.ts +1 -0
  675. package/serialization/types/OrderSummary.js +1 -0
  676. package/serialization/types/ProcedureAtVersion.d.ts +2 -0
  677. package/serialization/types/ProcedureAtVersion.js +2 -0
  678. package/serialization/types/ProcedureRefResponseModel.d.ts +2 -0
  679. package/serialization/types/ProcedureRefResponseModel.js +2 -0
  680. package/serialization/types/ProcedureType.d.ts +7 -0
  681. package/serialization/types/ProcedureType.js +39 -0
  682. package/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  683. package/serialization/types/ReferencedToolCommonModelType.js +1 -1
  684. package/serialization/types/RenderType.d.ts +1 -1
  685. package/serialization/types/RenderType.js +1 -1
  686. package/serialization/types/ResourceAccessInfo.d.ts +2 -0
  687. package/serialization/types/ResourceAccessInfo.js +2 -0
  688. package/serialization/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  689. package/serialization/types/ResourceAccessInfoAccessSource.js +39 -0
  690. package/serialization/types/ResponseUnitTestModel.d.ts +2 -0
  691. package/serialization/types/ResponseUnitTestModel.js +2 -0
  692. package/serialization/types/RestoreCalendarEventParams.d.ts +9 -0
  693. package/serialization/types/RestoreCalendarEventParams.js +41 -0
  694. package/serialization/types/SimulationTestModel.d.ts +2 -0
  695. package/serialization/types/SimulationTestModel.js +2 -0
  696. package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
  697. package/serialization/types/SoftTimeoutConfig.js +1 -0
  698. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
  699. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
  700. package/serialization/types/SpeechEngineResponse.d.ts +2 -0
  701. package/serialization/types/SpeechEngineResponse.js +2 -0
  702. package/serialization/types/SpeechEngineSummaryResponse.d.ts +2 -0
  703. package/serialization/types/SpeechEngineSummaryResponse.js +2 -0
  704. package/serialization/types/SystemEvaluationCriteria.d.ts +10 -0
  705. package/serialization/types/SystemEvaluationCriteria.js +42 -0
  706. package/serialization/types/SystemToolConfigInputParams.d.ts +2 -2
  707. package/serialization/types/SystemToolConfigInputParams.js +2 -2
  708. package/serialization/types/SystemToolConfigOutputParams.d.ts +2 -2
  709. package/serialization/types/SystemToolConfigOutputParams.js +2 -2
  710. package/serialization/types/TelephonyProvider.d.ts +1 -1
  711. package/serialization/types/TelephonyProvider.js +1 -1
  712. package/serialization/types/TestInvocationSummaryResponseModel.d.ts +1 -0
  713. package/serialization/types/TestInvocationSummaryResponseModel.js +1 -0
  714. package/serialization/types/TestRunResultBucket.d.ts +13 -0
  715. package/serialization/types/TestRunResultBucket.js +45 -0
  716. package/serialization/types/TestRunResultSummary.d.ts +13 -0
  717. package/serialization/types/TestRunResultSummary.js +45 -0
  718. package/serialization/types/ToolCallUnitTestModel.d.ts +2 -0
  719. package/serialization/types/ToolCallUnitTestModel.js +2 -0
  720. package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  721. package/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
  722. package/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +12 -0
  723. package/serialization/types/TransferToNumberResultExotelSuccessModel.js +44 -0
  724. package/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
  725. package/serialization/types/UnitTestSummaryResponseModel.js +2 -0
  726. package/serialization/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  727. package/serialization/types/UpdateResponseUnitTestRequest.js +2 -0
  728. package/serialization/types/UpdateSimulationTestRequest.d.ts +2 -0
  729. package/serialization/types/UpdateSimulationTestRequest.js +2 -0
  730. package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  731. package/serialization/types/UpdateToolCallUnitTestRequest.js +2 -0
  732. package/serialization/types/UpsertOrderItemRequest.d.ts +2 -2
  733. package/serialization/types/UpsertOrderItemRequest.js +2 -2
  734. package/serialization/types/Verbosity.d.ts +7 -0
  735. package/serialization/types/Verbosity.js +39 -0
  736. package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -0
  737. package/serialization/types/WebhookToolApiSchemaConfigInput.js +1 -0
  738. package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -0
  739. package/serialization/types/WebhookToolApiSchemaConfigOutput.js +1 -0
  740. package/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -1
  741. package/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +2 -1
  742. package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -1
  743. package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +2 -1
  744. package/serialization/types/index.d.ts +28 -6
  745. package/serialization/types/index.js +28 -6
  746. package/version.d.ts +1 -1
  747. package/version.js +1 -1
  748. package/wrapper/music.d.ts +11 -0
  749. package/wrapper/music.js +15 -0
  750. package/wrapper/speech-engine/SpeechEngineClientWrapper.js +5 -5
  751. package/wrapper/speech-engine/SpeechEngineResource.d.ts +10 -1
  752. package/wrapper/speech-engine/SpeechEngineResource.js +16 -1
  753. package/api/types/ProcedureCompilerMode.d.ts +0 -5
  754. package/api/types/ProcedureSettings.d.ts +0 -4
  755. package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -10
  756. package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -10
  757. package/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -10
  758. package/dist/api/types/ProcedureCompilerMode.d.ts +0 -5
  759. package/dist/api/types/ProcedureSettings.d.ts +0 -4
  760. package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -10
  761. package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -10
  762. package/dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -10
  763. package/dist/serialization/types/ProcedureCompilerMode.d.ts +0 -7
  764. package/dist/serialization/types/ProcedureSettings.d.ts +0 -10
  765. package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -15
  766. package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -15
  767. package/dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -15
  768. package/serialization/types/ProcedureCompilerMode.d.ts +0 -7
  769. package/serialization/types/ProcedureSettings.d.ts +0 -10
  770. package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -15
  771. package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -15
  772. package/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -15
  773. /package/api/{types/LoadProcedureToolConfig.js → resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js} +0 -0
  774. /package/api/{types/ProcedureSettings.js → resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js} +0 -0
  775. /package/api/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → BehaviorOverride.js} +0 -0
  776. /package/api/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → ConversationHistoryExotelPhoneCallModel.js} +0 -0
  777. /package/api/types/{RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → ConversationSentimentAnalysis.js} +0 -0
  778. /package/{dist/api/types/LoadProcedureToolConfig.js → api/types/CreateExotelPhoneNumberRequest.js} +0 -0
  779. /package/{dist/api/types/ProcedureSettings.js → api/types/CreateOrderRequest.js} +0 -0
  780. /package/{dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → api/types/CustomLlmAuthConnection.js} +0 -0
  781. /package/{dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → api/types/ExotelOutboundCallResponse.js} +0 -0
  782. /package/{dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → api/types/GetPhoneNumberExotelResponseModel.js} +0 -0
@@ -36,5 +36,5 @@
36
36
  }
37
37
  }
38
38
  },
39
- "originGitCommit": "d70d58e8e6cdede07532d2bc772e5363b0647f48"
39
+ "originGitCommit": "51be31bd935ae6baf559f650d291410a98e23a03"
40
40
  }
package/.fern/replay.lock CHANGED
@@ -6,5 +6,243 @@ generations:
6
6
  timestamp: 2026-05-20T07:39:27.879Z
7
7
  cli_version: unknown
8
8
  generator_versions: {}
9
- current_generation: c316672d7fc9d3bf902b633226969929adad0dca
10
- patches: []
9
+ - commit_sha: c3a35abc58cb2069932026a430af4dacd1a77375
10
+ tree_hash: 2650cfcd8cacddeea3bfc801dcd4122976446e87
11
+ timestamp: 2026-05-26T13:58:18.906Z
12
+ cli_version: unknown
13
+ generator_versions:
14
+ fernapi/fern-typescript-sdk: 3.36.0
15
+ - commit_sha: d93a154a0453a9207a0a9f62d22b67f914897d4f
16
+ tree_hash: e07fc750f93805fbe67ee57942fc2ddc75e21dbc
17
+ timestamp: 2026-06-01T12:01:15.436Z
18
+ cli_version: unknown
19
+ generator_versions:
20
+ fernapi/fern-typescript-sdk: 3.36.0
21
+ current_generation: d93a154a0453a9207a0a9f62d22b67f914897d4f
22
+ patches:
23
+ - id: patch-de61f83d
24
+ content_hash: sha256:68befbb918546e173f9cace2b64df407a8af413e8c49f6e8d2ffca07f350cc85
25
+ original_commit: de61f83d12c24caaeddbe5127e980d623a146219
26
+ original_message: "[Speech Engine] Add full response to Speech Engine API calls (#396)"
27
+ original_author: Paul Asjes <paul.asjes@elevenlabs.io>
28
+ base_generation: ce5e816b02d6ee652e144660cde533225a31d56f
29
+ files:
30
+ - package.json
31
+ - src/BaseClient.ts
32
+ - src/version.ts
33
+ patch_content: |
34
+ diff --git a/package.json b/package.json
35
+ index c3c7f64f..d798dac6 100644
36
+ --- a/package.json
37
+ +++ b/package.json
38
+ @@ -1,6 +1,6 @@
39
+ {
40
+ "name": "@elevenlabs/elevenlabs-js",
41
+ - "version": "2.49.0",
42
+ + "version": "2.49.1",
43
+ "private": false,
44
+ "repository": "github:elevenlabs/elevenlabs-js",
45
+ "license": "MIT",
46
+ diff --git a/src/BaseClient.ts b/src/BaseClient.ts
47
+ index 86d613de..f6907e8e 100644
48
+ --- a/src/BaseClient.ts
49
+ +++ b/src/BaseClient.ts
50
+ @@ -47,8 +47,8 @@ export function normalizeClientOptions<T extends BaseClientOptions>(options: T):
51
+ {
52
+ "X-Fern-Language": "JavaScript",
53
+ "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
54
+ - "X-Fern-SDK-Version": "2.49.0",
55
+ - "User-Agent": "@elevenlabs/elevenlabs-js/2.49.0",
56
+ + "X-Fern-SDK-Version": "2.49.1",
57
+ + "User-Agent": "@elevenlabs/elevenlabs-js/2.49.1",
58
+ "X-Fern-Runtime": core.RUNTIME.type,
59
+ "X-Fern-Runtime-Version": core.RUNTIME.version,
60
+ "xi-api-key": options?.apiKey,
61
+ diff --git a/src/version.ts b/src/version.ts
62
+ index 6f569928..c3abf658 100644
63
+ --- a/src/version.ts
64
+ +++ b/src/version.ts
65
+ @@ -1 +1 @@
66
+ -export const SDK_VERSION = "2.49.0";
67
+ +export const SDK_VERSION = "2.49.1";
68
+ theirs_snapshot:
69
+ package.json: |
70
+ {
71
+ "name": "@elevenlabs/elevenlabs-js",
72
+ "version": "2.49.1",
73
+ "private": false,
74
+ "repository": "github:elevenlabs/elevenlabs-js",
75
+ "license": "MIT",
76
+ "main": "./index.js",
77
+ "types": "./index.d.ts",
78
+ "scripts": {
79
+ "format": "biome format --write --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
80
+ "format:check": "biome format --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
81
+ "lint": "biome lint --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
82
+ "lint:fix": "biome lint --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
83
+ "check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
84
+ "check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
85
+ "build": "tsc",
86
+ "prepack": "cp -rv dist/. .",
87
+ "test": "jest --config jest.config.mjs",
88
+ "test:unit": "jest --selectProjects unit",
89
+ "test:wire": "jest --selectProjects wire"
90
+ },
91
+ "dependencies": {
92
+ "node-fetch": "^2.7.0",
93
+ "command-exists": "^1.2.9",
94
+ "ws": "^8.18.3"
95
+ },
96
+ "devDependencies": {
97
+ "@types/node-fetch": "^2.6.12",
98
+ "webpack": "^5.97.1",
99
+ "ts-loader": "^9.5.1",
100
+ "jest": "^29.7.0",
101
+ "@jest/globals": "^29.7.0",
102
+ "@types/jest": "^29.5.5",
103
+ "ts-jest": "^29.1.1",
104
+ "jest-environment-jsdom": "^29.7.0",
105
+ "msw": "2.11.2",
106
+ "@types/node": "^18.19.70",
107
+ "typescript": "~5.7.2",
108
+ "@biomejs/biome": "2.3.1",
109
+ "@types/command-exists": "^1.2.3",
110
+ "@types/ws": "^8.18.1"
111
+ },
112
+ "browser": {
113
+ "fs": false,
114
+ "os": false,
115
+ "path": false,
116
+ "stream": false,
117
+ "command-exists": false
118
+ },
119
+ "packageManager": "yarn@1.22.22",
120
+ "engines": {
121
+ "node": ">=18.0.0"
122
+ },
123
+ "sideEffects": false
124
+ }
125
+ src/BaseClient.ts: |
126
+ // This file was auto-generated by Fern from our API Definition.
127
+
128
+ import * as core from "./core";
129
+ import { mergeHeaders } from "./core/headers";
130
+ import type * as environments from "./environments";
131
+
132
+ export interface BaseClientOptions {
133
+ environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
134
+ /** Specify a custom URL to connect the client to. */
135
+ baseUrl?: core.Supplier<string>;
136
+ /** Override the xi-api-key header */
137
+ apiKey?: core.Supplier<string | undefined>;
138
+ /** Additional headers to include in requests. */
139
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
140
+ /** The default maximum time to wait for a response in seconds. */
141
+ timeoutInSeconds?: number;
142
+ /** The default number of times to retry the request. Defaults to 2. */
143
+ maxRetries?: number;
144
+ /** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */
145
+ fetch?: typeof fetch;
146
+ fetcher?: core.FetchFunction;
147
+ /** Configure logging for the client. */
148
+ logging?: core.logging.LogConfig | core.logging.Logger;
149
+ }
150
+
151
+ export interface BaseRequestOptions {
152
+ /** The maximum time to wait for a response in seconds. */
153
+ timeoutInSeconds?: number;
154
+ /** The number of times to retry the request. Defaults to 2. */
155
+ maxRetries?: number;
156
+ /** A hook to abort the request. */
157
+ abortSignal?: AbortSignal;
158
+ /** Override the xi-api-key header */
159
+ apiKey?: string | undefined;
160
+ /** Additional query string parameters to include in the request. */
161
+ queryParams?: Record<string, unknown>;
162
+ /** Additional headers to include in the request. */
163
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
164
+ }
165
+
166
+ export type NormalizedClientOptions<T extends BaseClientOptions> = T & {
167
+ logging: core.logging.Logger;
168
+ };
169
+
170
+ export function normalizeClientOptions<T extends BaseClientOptions>(options: T): NormalizedClientOptions<T> {
171
+ const headers = mergeHeaders(
172
+ {
173
+ "X-Fern-Language": "JavaScript",
174
+ "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
175
+ "X-Fern-SDK-Version": "2.49.1",
176
+ "User-Agent": "@elevenlabs/elevenlabs-js/2.49.1",
177
+ "X-Fern-Runtime": core.RUNTIME.type,
178
+ "X-Fern-Runtime-Version": core.RUNTIME.version,
179
+ "xi-api-key": options?.apiKey,
180
+ },
181
+ options?.headers,
182
+ );
183
+
184
+ return {
185
+ ...options,
186
+ logging: core.logging.createLogger(options?.logging),
187
+ headers,
188
+ } as NormalizedClientOptions<T>;
189
+ }
190
+ src/version.ts: |
191
+ export const SDK_VERSION = "2.49.1";
192
+ status: unresolved
193
+ - id: patch-f50f1558
194
+ content_hash: sha256:5a09c3db02b795ab544221e13bf2681e7f9bb43c07e8cd96ac063a405dc3a2c6
195
+ original_commit: f50f1558f741e331dd3949ded57771c012ef27ab
196
+ original_message: Add missing methods and test (#399)
197
+ original_author: Paul Asjes <paul.asjes@elevenlabs.io>
198
+ base_generation: d93a154a0453a9207a0a9f62d22b67f914897d4f
199
+ files:
200
+ - tests/unit/wrapper/music.test.ts
201
+ patch_content: |
202
+ diff --git a/tests/unit/wrapper/music.test.ts b/tests/unit/wrapper/music.test.ts
203
+ new file mode 100644
204
+ index 00000000..733d6344
205
+ --- /dev/null
206
+ +++ b/tests/unit/wrapper/music.test.ts
207
+ @@ -0,0 +1,19 @@
208
+ +import { describe, it, expect } from "@jest/globals";
209
+ +import { MusicClient } from "../../../src/api/resources/music/client/Client";
210
+ +import { Music } from "../../../src/wrapper/music";
211
+ +
212
+ +function getPublicMethods(proto: object): string[] {
213
+ + return Object.getOwnPropertyNames(proto).filter(
214
+ + (name) => name !== "constructor" && !name.startsWith("_"),
215
+ + );
216
+ +}
217
+ +
218
+ +describe("Music wrapper", () => {
219
+ + it("exposes all public methods of the generated MusicClient", () => {
220
+ + const clientMethods = getPublicMethods(MusicClient.prototype);
221
+ + const wrapperMethods = getPublicMethods(Music.prototype);
222
+ +
223
+ + const missing = clientMethods.filter((m) => !wrapperMethods.includes(m));
224
+ + expect(missing).toEqual([]);
225
+ + });
226
+ +});
227
+ theirs_snapshot:
228
+ tests/unit/wrapper/music.test.ts: |
229
+ import { describe, it, expect } from "@jest/globals";
230
+ import { MusicClient } from "../../../src/api/resources/music/client/Client";
231
+ import { Music } from "../../../src/wrapper/music";
232
+
233
+ function getPublicMethods(proto: object): string[] {
234
+ return Object.getOwnPropertyNames(proto).filter(
235
+ (name) => name !== "constructor" && !name.startsWith("_"),
236
+ );
237
+ }
238
+
239
+ describe("Music wrapper", () => {
240
+ it("exposes all public methods of the generated MusicClient", () => {
241
+ const clientMethods = getPublicMethods(MusicClient.prototype);
242
+ const wrapperMethods = getPublicMethods(Music.prototype);
243
+
244
+ const missing = clientMethods.filter((m) => !wrapperMethods.includes(m));
245
+ expect(missing).toEqual([]);
246
+ });
247
+ });
248
+ user_owned: true
package/BaseClient.js CHANGED
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
41
41
  const headers = (0, headers_1.mergeHeaders)({
42
42
  "X-Fern-Language": "JavaScript",
43
43
  "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
44
- "X-Fern-SDK-Version": "2.49.0",
45
- "User-Agent": "@elevenlabs/elevenlabs-js/2.49.0",
44
+ "X-Fern-SDK-Version": "2.51.0",
45
+ "User-Agent": "@elevenlabs/elevenlabs-js/2.51.0",
46
46
  "X-Fern-Runtime": core.RUNTIME.type,
47
47
  "X-Fern-Runtime-Version": core.RUNTIME.version,
48
48
  "xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
package/Client.d.ts CHANGED
@@ -25,6 +25,7 @@ import { UserClient } from "./api/resources/user/client/Client";
25
25
  import { VoicesClient } from "./api/resources/voices/client/Client";
26
26
  import { WebhooksClient } from "./api/resources/webhooks/client/Client";
27
27
  import { WorkspaceClient } from "./api/resources/workspace/client/Client";
28
+ import { WorkspacesClient } from "./api/resources/workspaces/client/Client";
28
29
  import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient";
29
30
  import { type NormalizedClientOptions } from "./BaseClient";
30
31
  import * as core from "./core";
@@ -62,6 +63,7 @@ export declare class ElevenLabsClient {
62
63
  protected _productions: ProductionsClient | undefined;
63
64
  protected _tokens: TokensClient | undefined;
64
65
  protected _workspace: WorkspaceClient | undefined;
66
+ protected _workspaces: WorkspacesClient | undefined;
65
67
  constructor(options?: ElevenLabsClient.Options);
66
68
  get history(): HistoryClient;
67
69
  get textToSoundEffects(): TextToSoundEffectsClient;
@@ -90,6 +92,7 @@ export declare class ElevenLabsClient {
90
92
  get productions(): ProductionsClient;
91
93
  get tokens(): TokensClient;
92
94
  get workspace(): WorkspaceClient;
95
+ get workspaces(): WorkspacesClient;
93
96
  /**
94
97
  * Add a generated voice to the voice library.
95
98
  *
package/Client.js CHANGED
@@ -71,6 +71,7 @@ const Client_24 = require("./api/resources/user/client/Client");
71
71
  const Client_25 = require("./api/resources/voices/client/Client");
72
72
  const Client_26 = require("./api/resources/webhooks/client/Client");
73
73
  const Client_27 = require("./api/resources/workspace/client/Client");
74
+ const Client_28 = require("./api/resources/workspaces/client/Client");
74
75
  const BaseClient_1 = require("./BaseClient");
75
76
  const core = __importStar(require("./core"));
76
77
  const headers_1 = require("./core/headers");
@@ -189,6 +190,10 @@ class ElevenLabsClient {
189
190
  var _a;
190
191
  return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new Client_27.WorkspaceClient(this._options)));
191
192
  }
193
+ get workspaces() {
194
+ var _a;
195
+ return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Client_28.WorkspacesClient(this._options)));
196
+ }
192
197
  /**
193
198
  * Add a generated voice to the voice library.
194
199
  *
@@ -7,6 +7,7 @@ import { AnalyticsClient } from "../resources/analytics/client/Client";
7
7
  import { BatchCallsClient } from "../resources/batchCalls/client/Client";
8
8
  import { ConversationsClient } from "../resources/conversations/client/Client";
9
9
  import { DashboardClient } from "../resources/dashboard/client/Client";
10
+ import { ExotelClient } from "../resources/exotel/client/Client";
10
11
  import { KnowledgeBaseClient } from "../resources/knowledgeBase/client/Client";
11
12
  import { LlmClient } from "../resources/llm/client/Client";
12
13
  import { LlmUsageClient } from "../resources/llmUsage/client/Client";
@@ -30,6 +31,7 @@ export declare class ConversationalAiClient {
30
31
  protected readonly _options: NormalizedClientOptions<ConversationalAiClient.Options>;
31
32
  protected _conversations: ConversationsClient | undefined;
32
33
  protected _twilio: TwilioClient | undefined;
34
+ protected _exotel: ExotelClient | undefined;
33
35
  protected _whatsapp: WhatsappClient | undefined;
34
36
  protected _agents: AgentsClient | undefined;
35
37
  protected _tests: TestsClient | undefined;
@@ -50,6 +52,7 @@ export declare class ConversationalAiClient {
50
52
  constructor(options?: ConversationalAiClient.Options);
51
53
  get conversations(): ConversationsClient;
52
54
  get twilio(): TwilioClient;
55
+ get exotel(): ExotelClient;
53
56
  get whatsapp(): WhatsappClient;
54
57
  get agents(): AgentsClient;
55
58
  get tests(): TestsClient;
@@ -57,20 +57,21 @@ const Client_2 = require("../resources/analytics/client/Client");
57
57
  const Client_3 = require("../resources/batchCalls/client/Client");
58
58
  const Client_4 = require("../resources/conversations/client/Client");
59
59
  const Client_5 = require("../resources/dashboard/client/Client");
60
- const Client_6 = require("../resources/knowledgeBase/client/Client");
61
- const Client_7 = require("../resources/llm/client/Client");
62
- const Client_8 = require("../resources/llmUsage/client/Client");
63
- const Client_9 = require("../resources/mcpServers/client/Client");
64
- const Client_10 = require("../resources/phoneNumbers/client/Client");
65
- const Client_11 = require("../resources/secrets/client/Client");
66
- const Client_12 = require("../resources/settings/client/Client");
67
- const Client_13 = require("../resources/sipTrunk/client/Client");
68
- const Client_14 = require("../resources/tests/client/Client");
69
- const Client_15 = require("../resources/tools/client/Client");
70
- const Client_16 = require("../resources/twilio/client/Client");
71
- const Client_17 = require("../resources/users/client/Client");
72
- const Client_18 = require("../resources/whatsapp/client/Client");
73
- const Client_19 = require("../resources/whatsappAccounts/client/Client");
60
+ const Client_6 = require("../resources/exotel/client/Client");
61
+ const Client_7 = require("../resources/knowledgeBase/client/Client");
62
+ const Client_8 = require("../resources/llm/client/Client");
63
+ const Client_9 = require("../resources/llmUsage/client/Client");
64
+ const Client_10 = require("../resources/mcpServers/client/Client");
65
+ const Client_11 = require("../resources/phoneNumbers/client/Client");
66
+ const Client_12 = require("../resources/secrets/client/Client");
67
+ const Client_13 = require("../resources/settings/client/Client");
68
+ const Client_14 = require("../resources/sipTrunk/client/Client");
69
+ const Client_15 = require("../resources/tests/client/Client");
70
+ const Client_16 = require("../resources/tools/client/Client");
71
+ const Client_17 = require("../resources/twilio/client/Client");
72
+ const Client_18 = require("../resources/users/client/Client");
73
+ const Client_19 = require("../resources/whatsapp/client/Client");
74
+ const Client_20 = require("../resources/whatsappAccounts/client/Client");
74
75
  class ConversationalAiClient {
75
76
  constructor(options = {}) {
76
77
  this._options = (0, BaseClient_1.normalizeClientOptions)(options);
@@ -81,11 +82,15 @@ class ConversationalAiClient {
81
82
  }
82
83
  get twilio() {
83
84
  var _a;
84
- return ((_a = this._twilio) !== null && _a !== void 0 ? _a : (this._twilio = new Client_16.TwilioClient(this._options)));
85
+ return ((_a = this._twilio) !== null && _a !== void 0 ? _a : (this._twilio = new Client_17.TwilioClient(this._options)));
86
+ }
87
+ get exotel() {
88
+ var _a;
89
+ return ((_a = this._exotel) !== null && _a !== void 0 ? _a : (this._exotel = new Client_6.ExotelClient(this._options)));
85
90
  }
86
91
  get whatsapp() {
87
92
  var _a;
88
- return ((_a = this._whatsapp) !== null && _a !== void 0 ? _a : (this._whatsapp = new Client_18.WhatsappClient(this._options)));
93
+ return ((_a = this._whatsapp) !== null && _a !== void 0 ? _a : (this._whatsapp = new Client_19.WhatsappClient(this._options)));
89
94
  }
90
95
  get agents() {
91
96
  var _a;
@@ -93,39 +98,39 @@ class ConversationalAiClient {
93
98
  }
94
99
  get tests() {
95
100
  var _a;
96
- return ((_a = this._tests) !== null && _a !== void 0 ? _a : (this._tests = new Client_14.TestsClient(this._options)));
101
+ return ((_a = this._tests) !== null && _a !== void 0 ? _a : (this._tests = new Client_15.TestsClient(this._options)));
97
102
  }
98
103
  get users() {
99
104
  var _a;
100
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_17.UsersClient(this._options)));
105
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_18.UsersClient(this._options)));
101
106
  }
102
107
  get phoneNumbers() {
103
108
  var _a;
104
- return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_10.PhoneNumbersClient(this._options)));
109
+ return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_11.PhoneNumbersClient(this._options)));
105
110
  }
106
111
  get llmUsage() {
107
112
  var _a;
108
- return ((_a = this._llmUsage) !== null && _a !== void 0 ? _a : (this._llmUsage = new Client_8.LlmUsageClient(this._options)));
113
+ return ((_a = this._llmUsage) !== null && _a !== void 0 ? _a : (this._llmUsage = new Client_9.LlmUsageClient(this._options)));
109
114
  }
110
115
  get llm() {
111
116
  var _a;
112
- return ((_a = this._llm) !== null && _a !== void 0 ? _a : (this._llm = new Client_7.LlmClient(this._options)));
117
+ return ((_a = this._llm) !== null && _a !== void 0 ? _a : (this._llm = new Client_8.LlmClient(this._options)));
113
118
  }
114
119
  get knowledgeBase() {
115
120
  var _a;
116
- return ((_a = this._knowledgeBase) !== null && _a !== void 0 ? _a : (this._knowledgeBase = new Client_6.KnowledgeBaseClient(this._options)));
121
+ return ((_a = this._knowledgeBase) !== null && _a !== void 0 ? _a : (this._knowledgeBase = new Client_7.KnowledgeBaseClient(this._options)));
117
122
  }
118
123
  get tools() {
119
124
  var _a;
120
- return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new Client_15.ToolsClient(this._options)));
125
+ return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new Client_16.ToolsClient(this._options)));
121
126
  }
122
127
  get settings() {
123
128
  var _a;
124
- return ((_a = this._settings) !== null && _a !== void 0 ? _a : (this._settings = new Client_12.SettingsClient(this._options)));
129
+ return ((_a = this._settings) !== null && _a !== void 0 ? _a : (this._settings = new Client_13.SettingsClient(this._options)));
125
130
  }
126
131
  get secrets() {
127
132
  var _a;
128
- return ((_a = this._secrets) !== null && _a !== void 0 ? _a : (this._secrets = new Client_11.SecretsClient(this._options)));
133
+ return ((_a = this._secrets) !== null && _a !== void 0 ? _a : (this._secrets = new Client_12.SecretsClient(this._options)));
129
134
  }
130
135
  get batchCalls() {
131
136
  var _a;
@@ -133,15 +138,15 @@ class ConversationalAiClient {
133
138
  }
134
139
  get sipTrunk() {
135
140
  var _a;
136
- return ((_a = this._sipTrunk) !== null && _a !== void 0 ? _a : (this._sipTrunk = new Client_13.SipTrunkClient(this._options)));
141
+ return ((_a = this._sipTrunk) !== null && _a !== void 0 ? _a : (this._sipTrunk = new Client_14.SipTrunkClient(this._options)));
137
142
  }
138
143
  get mcpServers() {
139
144
  var _a;
140
- return ((_a = this._mcpServers) !== null && _a !== void 0 ? _a : (this._mcpServers = new Client_9.McpServersClient(this._options)));
145
+ return ((_a = this._mcpServers) !== null && _a !== void 0 ? _a : (this._mcpServers = new Client_10.McpServersClient(this._options)));
141
146
  }
142
147
  get whatsappAccounts() {
143
148
  var _a;
144
- return ((_a = this._whatsappAccounts) !== null && _a !== void 0 ? _a : (this._whatsappAccounts = new Client_19.WhatsappAccountsClient(this._options)));
149
+ return ((_a = this._whatsappAccounts) !== null && _a !== void 0 ? _a : (this._whatsappAccounts = new Client_20.WhatsappAccountsClient(this._options)));
145
150
  }
146
151
  get analytics() {
147
152
  var _a;
@@ -7,7 +7,7 @@ import type * as ElevenLabs from "../../../../../../index";
7
7
  * }
8
8
  */
9
9
  export interface BodyCreateAgentV1ConvaiAgentsCreatePost {
10
- /** Enable versioning for the agent */
10
+ /** Deprecated: all agents are versioned. This parameter is ignored. */
11
11
  enableVersioning?: boolean;
12
12
  /** Conversation configuration for an agent */
13
13
  conversationConfig: ElevenLabs.ConversationalConfig;
@@ -14,4 +14,6 @@ export interface RunAgentTestsRequestModel {
14
14
  agentConfigOverride?: ElevenLabs.AdhocAgentConfigOverrideForTestRequestModel;
15
15
  /** ID of the branch to run the tests on. If not provided, the tests will be run on the agent default configuration. */
16
16
  branchId?: string;
17
+ /** Number of times to run each test. When greater than 1, results are grouped and summarized. */
18
+ repeatCount?: number;
17
19
  }
@@ -7,7 +7,7 @@ import type * as ElevenLabs from "../../../../../../index";
7
7
  * }
8
8
  */
9
9
  export interface UpdateAgentRequest {
10
- /** Enable versioning for the agent, if not already enabled */
10
+ /** Deprecated: all agents are versioned. This parameter is ignored. */
11
11
  enableVersioningIfNotEnabled?: boolean;
12
12
  /** The ID of the branch to use */
13
13
  branchId?: string;
@@ -102,7 +102,8 @@ export declare class ConversationsClient {
102
102
  * branchId: "branch_id",
103
103
  * topicIds: ["topic_ids"],
104
104
  * excludeStatuses: ["initiated"],
105
- * tagIds: ["tag_ids"]
105
+ * tagIds: ["tag_ids"],
106
+ * workflowNodeEnteredId: "workflow_node_entered_id"
106
107
  * })
107
108
  */
108
109
  list(request?: ElevenLabs.conversationalAi.ConversationsListRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetConversationsPageResponseModel>;
@@ -270,7 +270,8 @@ class ConversationsClient {
270
270
  * branchId: "branch_id",
271
271
  * topicIds: ["topic_ids"],
272
272
  * excludeStatuses: ["initiated"],
273
- * tagIds: ["tag_ids"]
273
+ * tagIds: ["tag_ids"],
274
+ * workflowNodeEnteredId: "workflow_node_entered_id"
274
275
  * })
275
276
  */
276
277
  list(request = {}, requestOptions) {
@@ -279,7 +280,7 @@ class ConversationsClient {
279
280
  __list() {
280
281
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
281
282
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
282
- const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, textOnly, branchId, topicIds, excludeStatuses, tagIds, } = request;
283
+ const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, textOnly, branchId, topicIds, excludeStatuses, tagIds, workflowNodeEnteredId, } = request;
283
284
  const _queryParams = {};
284
285
  if (cursor != null) {
285
286
  _queryParams.cursor = cursor;
@@ -409,6 +410,9 @@ class ConversationsClient {
409
410
  _queryParams.tag_ids = tagIds;
410
411
  }
411
412
  }
413
+ if (workflowNodeEnteredId != null) {
414
+ _queryParams.workflow_node_entered_id = workflowNodeEnteredId;
415
+ }
412
416
  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);
413
417
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
414
418
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/convai/conversations"),
@@ -27,7 +27,8 @@ import type * as ElevenLabs from "../../../../../../index";
27
27
  * branchId: "branch_id",
28
28
  * topicIds: ["topic_ids"],
29
29
  * excludeStatuses: ["initiated"],
30
- * tagIds: ["tag_ids"]
30
+ * tagIds: ["tag_ids"],
31
+ * workflowNodeEnteredId: "workflow_node_entered_id"
31
32
  * }
32
33
  */
33
34
  export interface ConversationsListRequest {
@@ -81,4 +82,6 @@ export interface ConversationsListRequest {
81
82
  excludeStatuses?: ElevenLabs.conversationalAi.ConversationsListRequestExcludeStatusesItem | ElevenLabs.conversationalAi.ConversationsListRequestExcludeStatusesItem[];
82
83
  /** Filter conversations by conversation tag IDs assigned via the conversation-tags endpoints. */
83
84
  tagIds?: string | string[];
85
+ /** Filter conversations to only those that entered the given node. */
86
+ workflowNodeEnteredId?: string;
84
87
  }
@@ -42,6 +42,7 @@ export declare class MessagesClient {
42
42
  * conversationInitiationSource: "unknown",
43
43
  * textOnly: true,
44
44
  * branchId: "branch_id",
45
+ * topicIds: ["topic_ids"],
45
46
  * sortBy: "search_score",
46
47
  * cursor: "cursor"
47
48
  * })
@@ -88,6 +88,7 @@ class MessagesClient {
88
88
  * conversationInitiationSource: "unknown",
89
89
  * textOnly: true,
90
90
  * branchId: "branch_id",
91
+ * topicIds: ["topic_ids"],
91
92
  * sortBy: "search_score",
92
93
  * cursor: "cursor"
93
94
  * })
@@ -98,7 +99,7 @@ class MessagesClient {
98
99
  __textSearch(request, requestOptions) {
99
100
  return __awaiter(this, void 0, void 0, function* () {
100
101
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
101
- const { textQuery, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, conversationInitiationSource, textOnly, branchId, sortBy, cursor, } = request;
102
+ const { textQuery, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, conversationInitiationSource, textOnly, branchId, topicIds, sortBy, cursor, } = request;
102
103
  const _queryParams = {};
103
104
  _queryParams.text_query = textQuery;
104
105
  if (agentId != null) {
@@ -197,6 +198,14 @@ class MessagesClient {
197
198
  if (branchId != null) {
198
199
  _queryParams.branch_id = branchId;
199
200
  }
201
+ if (topicIds != null) {
202
+ if (Array.isArray(topicIds)) {
203
+ _queryParams.topic_ids = topicIds.map((item) => item);
204
+ }
205
+ else {
206
+ _queryParams.topic_ids = topicIds;
207
+ }
208
+ }
200
209
  if (sortBy != null) {
201
210
  _queryParams.sort_by = serializers.MessageSearchSortBy.jsonOrThrow(sortBy, {
202
211
  unrecognizedObjectKeys: "strip",
@@ -24,6 +24,7 @@ import type * as ElevenLabs from "../../../../../../../../index";
24
24
  * conversationInitiationSource: "unknown",
25
25
  * textOnly: true,
26
26
  * branchId: "branch_id",
27
+ * topicIds: ["topic_ids"],
27
28
  * sortBy: "search_score",
28
29
  * cursor: "cursor"
29
30
  * }
@@ -71,6 +72,8 @@ export interface MessagesTextSearchRequest {
71
72
  textOnly?: boolean;
72
73
  /** Filter conversations by branch ID. */
73
74
  branchId?: string;
75
+ /** Filter conversations by topic IDs assigned during topic discovery. */
76
+ topicIds?: string | string[];
74
77
  /** Sort order for search results. 'search_score' sorts by search score, 'created_at' sorts by conversation start time. */
75
78
  sortBy?: ElevenLabs.MessageSearchSortBy;
76
79
  /** Used for fetching next page. Cursor is returned in the response. */
@@ -0,0 +1,30 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
2
+ import { type NormalizedClientOptions } from "../../../../../../BaseClient";
3
+ import * as core from "../../../../../../core";
4
+ import * as ElevenLabs from "../../../../../index";
5
+ export declare namespace ExotelClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class ExotelClient {
11
+ protected readonly _options: NormalizedClientOptions<ExotelClient.Options>;
12
+ constructor(options?: ExotelClient.Options);
13
+ /**
14
+ * Handle an outbound call via Exotel Connect API
15
+ *
16
+ * @param {ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost} request
17
+ * @param {ExotelClient.RequestOptions} requestOptions - Request-specific configuration.
18
+ *
19
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
20
+ *
21
+ * @example
22
+ * await client.conversationalAi.exotel.outboundCall({
23
+ * agentId: "agent_id",
24
+ * agentPhoneNumberId: "agent_phone_number_id",
25
+ * toNumber: "to_number"
26
+ * })
27
+ */
28
+ outboundCall(request: ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost, requestOptions?: ExotelClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ExotelOutboundCallResponse>;
29
+ private __outboundCall;
30
+ }