@elevenlabs/elevenlabs-js 2.11.0 → 2.12.1

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 (428) hide show
  1. package/Client.js +2 -2
  2. package/api/resources/conversationalAi/client/Client.d.ts +3 -0
  3. package/api/resources/conversationalAi/client/Client.js +25 -20
  4. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +18 -0
  5. package/api/resources/conversationalAi/resources/agents/client/Client.js +80 -0
  6. package/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +18 -0
  7. package/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +5 -0
  8. package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  9. package/api/resources/conversationalAi/resources/index.d.ts +3 -0
  10. package/api/resources/conversationalAi/resources/index.js +4 -1
  11. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
  12. package/api/resources/conversationalAi/resources/tools/client/Client.js +1 -1
  13. package/api/resources/pronunciationDictionaries/client/Client.d.ts +20 -6
  14. package/api/resources/pronunciationDictionaries/client/Client.js +90 -16
  15. package/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +13 -0
  16. package/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.js +5 -0
  17. package/api/resources/pronunciationDictionaries/client/requests/index.d.ts +1 -0
  18. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +4 -1
  19. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +3 -0
  20. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +4 -1
  21. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +3 -0
  22. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -1
  23. package/api/resources/textToDialogue/client/Client.d.ts +2 -2
  24. package/api/resources/textToDialogue/client/Client.js +2 -2
  25. package/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
  26. package/api/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +8 -0
  27. package/api/types/AdhocAgentConfigOverrideForTestRequestModel.js +5 -0
  28. package/api/types/AgentFailureResponseExample.d.ts +7 -0
  29. package/api/types/AgentFailureResponseExample.js +5 -0
  30. package/api/types/AgentSuccessfulResponseExample.d.ts +7 -0
  31. package/api/types/AgentSuccessfulResponseExample.js +5 -0
  32. package/api/types/AgentTestingSettings.d.ts +2 -1
  33. package/api/types/AttachedTestModel.d.ts +6 -0
  34. package/api/types/AttachedTestModel.js +5 -0
  35. package/api/types/ClientEvent.d.ts +2 -1
  36. package/api/types/ClientEvent.js +1 -0
  37. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +4 -1
  38. package/api/types/CreateUnitTestResponseModel.d.ts +6 -0
  39. package/api/types/CreateUnitTestResponseModel.js +5 -0
  40. package/api/types/DetailedMusicResponse.d.ts +13 -0
  41. package/api/types/DetailedMusicResponse.js +5 -0
  42. package/api/types/ExactParameterEvaluationStrategy.d.ts +7 -0
  43. package/api/types/ExactParameterEvaluationStrategy.js +5 -0
  44. package/api/types/ExtendedSubscriptionResponseModelPendingChange.d.ts +8 -0
  45. package/api/types/ExtendedSubscriptionResponseModelPendingChange.js +5 -0
  46. package/api/types/FeaturesUsageCommonModel.d.ts +2 -0
  47. package/api/types/GetTestSuiteInvocationResponseModel.d.ts +9 -0
  48. package/api/types/GetTestSuiteInvocationResponseModel.js +5 -0
  49. package/api/types/GetTestsPageResponseModel.d.ts +9 -0
  50. package/api/types/GetTestsPageResponseModel.js +5 -0
  51. package/api/types/GetTestsSummariesByIdsResponseModel.d.ts +8 -0
  52. package/api/types/GetTestsSummariesByIdsResponseModel.js +5 -0
  53. package/api/types/GetUnitTestResponseModel.d.ts +19 -0
  54. package/api/types/GetUnitTestResponseModel.js +5 -0
  55. package/api/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +4 -0
  56. package/api/types/GetUnitTestResponseModelDynamicVariablesValue.js +5 -0
  57. package/api/types/Llm.d.ts +3 -3
  58. package/api/types/Llm.js +2 -2
  59. package/api/types/LlmParameterEvaluationStrategy.d.ts +7 -0
  60. package/api/types/LlmParameterEvaluationStrategy.js +5 -0
  61. package/api/types/MultipartMusicResponse.d.ts +13 -0
  62. package/api/types/MultipartMusicResponse.js +5 -0
  63. package/api/types/PendingCancellationResponseModel.d.ts +8 -0
  64. package/api/types/PendingCancellationResponseModel.js +5 -0
  65. package/api/types/PendingSubscriptionSwitchResponseModel.d.ts +11 -0
  66. package/api/types/PendingSubscriptionSwitchResponseModel.js +5 -0
  67. package/api/types/PendingSubscriptionSwitchResponseModelNextTier.d.ts +19 -0
  68. package/api/types/PendingSubscriptionSwitchResponseModelNextTier.js +18 -0
  69. package/api/types/ReferencedToolCommonModel.d.ts +13 -0
  70. package/api/types/ReferencedToolCommonModel.js +5 -0
  71. package/api/types/RegexParameterEvaluationStrategy.d.ts +7 -0
  72. package/api/types/RegexParameterEvaluationStrategy.js +5 -0
  73. package/api/types/SingleTestRunRequestModel.d.ts +7 -0
  74. package/api/types/SingleTestRunRequestModel.js +5 -0
  75. package/api/types/SongMetadata.d.ts +15 -0
  76. package/api/types/SongMetadata.js +5 -0
  77. package/api/types/Subscription.d.ts +2 -0
  78. package/api/types/TestConditionRationaleCommonModel.d.ts +12 -0
  79. package/api/types/TestConditionRationaleCommonModel.js +5 -0
  80. package/api/types/TestConditionResultCommonModel.d.ts +8 -0
  81. package/api/types/TestConditionResultCommonModel.js +5 -0
  82. package/api/types/TestRunStatus.d.ts +9 -0
  83. package/api/types/TestRunStatus.js +11 -0
  84. package/api/types/TestToolResultModel.d.ts +7 -0
  85. package/api/types/TestToolResultModel.js +5 -0
  86. package/api/types/TestsFeatureUsageCommonModel.d.ts +8 -0
  87. package/api/types/TestsFeatureUsageCommonModel.js +5 -0
  88. package/api/types/UnitTestRunResponseModel.d.ts +14 -0
  89. package/api/types/UnitTestRunResponseModel.js +5 -0
  90. package/api/types/UnitTestSummaryResponseModel.d.ts +16 -0
  91. package/api/types/UnitTestSummaryResponseModel.js +5 -0
  92. package/api/types/UnitTestToolCallEvaluationModelInput.d.ts +10 -0
  93. package/api/types/UnitTestToolCallEvaluationModelInput.js +5 -0
  94. package/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +10 -0
  95. package/api/types/UnitTestToolCallEvaluationModelOutput.js +5 -0
  96. package/api/types/UnitTestToolCallParameter.d.ts +8 -0
  97. package/api/types/UnitTestToolCallParameter.js +5 -0
  98. package/api/types/UnitTestToolCallParameterEval.d.ts +16 -0
  99. package/api/types/UnitTestToolCallParameterEval.js +5 -0
  100. package/api/types/WebhookAuthMethodType.d.ts +2 -1
  101. package/api/types/WebhookAuthMethodType.js +1 -0
  102. package/api/types/WorkflowFeaturesUsageCommonModel.d.ts +8 -0
  103. package/api/types/WorkflowFeaturesUsageCommonModel.js +5 -0
  104. package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +4 -1
  105. package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +3 -0
  106. package/api/types/WorkspaceResourceType.d.ts +1 -2
  107. package/api/types/WorkspaceResourceType.js +0 -1
  108. package/api/types/index.d.ts +34 -0
  109. package/api/types/index.js +34 -0
  110. package/dist/Client.js +2 -2
  111. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
  112. package/dist/api/resources/conversationalAi/client/Client.js +25 -20
  113. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +18 -0
  114. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +80 -0
  115. package/dist/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +18 -0
  116. package/dist/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +5 -0
  117. package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  118. package/dist/api/resources/conversationalAi/resources/index.d.ts +3 -0
  119. package/dist/api/resources/conversationalAi/resources/index.js +4 -1
  120. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
  121. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +1 -1
  122. package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +20 -6
  123. package/dist/api/resources/pronunciationDictionaries/client/Client.js +90 -16
  124. package/dist/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +13 -0
  125. package/dist/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.js +5 -0
  126. package/dist/api/resources/pronunciationDictionaries/client/requests/index.d.ts +1 -0
  127. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +4 -1
  128. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +3 -0
  129. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +4 -1
  130. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +3 -0
  131. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -1
  132. package/dist/api/resources/textToDialogue/client/Client.d.ts +2 -2
  133. package/dist/api/resources/textToDialogue/client/Client.js +2 -2
  134. package/dist/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
  135. package/dist/api/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +8 -0
  136. package/dist/api/types/AdhocAgentConfigOverrideForTestRequestModel.js +5 -0
  137. package/dist/api/types/AgentFailureResponseExample.d.ts +7 -0
  138. package/dist/api/types/AgentFailureResponseExample.js +5 -0
  139. package/dist/api/types/AgentSuccessfulResponseExample.d.ts +7 -0
  140. package/dist/api/types/AgentSuccessfulResponseExample.js +5 -0
  141. package/dist/api/types/AgentTestingSettings.d.ts +2 -1
  142. package/dist/api/types/AttachedTestModel.d.ts +6 -0
  143. package/dist/api/types/AttachedTestModel.js +5 -0
  144. package/dist/api/types/ClientEvent.d.ts +2 -1
  145. package/dist/api/types/ClientEvent.js +1 -0
  146. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +4 -1
  147. package/dist/api/types/CreateUnitTestResponseModel.d.ts +6 -0
  148. package/dist/api/types/CreateUnitTestResponseModel.js +5 -0
  149. package/dist/api/types/DetailedMusicResponse.d.ts +13 -0
  150. package/dist/api/types/DetailedMusicResponse.js +5 -0
  151. package/dist/api/types/ExactParameterEvaluationStrategy.d.ts +7 -0
  152. package/dist/api/types/ExactParameterEvaluationStrategy.js +5 -0
  153. package/dist/api/types/ExtendedSubscriptionResponseModelPendingChange.d.ts +8 -0
  154. package/dist/api/types/ExtendedSubscriptionResponseModelPendingChange.js +5 -0
  155. package/dist/api/types/FeaturesUsageCommonModel.d.ts +2 -0
  156. package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +9 -0
  157. package/dist/api/types/GetTestSuiteInvocationResponseModel.js +5 -0
  158. package/dist/api/types/GetTestsPageResponseModel.d.ts +9 -0
  159. package/dist/api/types/GetTestsPageResponseModel.js +5 -0
  160. package/dist/api/types/GetTestsSummariesByIdsResponseModel.d.ts +8 -0
  161. package/dist/api/types/GetTestsSummariesByIdsResponseModel.js +5 -0
  162. package/dist/api/types/GetUnitTestResponseModel.d.ts +19 -0
  163. package/dist/api/types/GetUnitTestResponseModel.js +5 -0
  164. package/dist/api/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +4 -0
  165. package/dist/api/types/GetUnitTestResponseModelDynamicVariablesValue.js +5 -0
  166. package/dist/api/types/Llm.d.ts +3 -3
  167. package/dist/api/types/Llm.js +2 -2
  168. package/dist/api/types/LlmParameterEvaluationStrategy.d.ts +7 -0
  169. package/dist/api/types/LlmParameterEvaluationStrategy.js +5 -0
  170. package/dist/api/types/MultipartMusicResponse.d.ts +13 -0
  171. package/dist/api/types/MultipartMusicResponse.js +5 -0
  172. package/dist/api/types/PendingCancellationResponseModel.d.ts +8 -0
  173. package/dist/api/types/PendingCancellationResponseModel.js +5 -0
  174. package/dist/api/types/PendingSubscriptionSwitchResponseModel.d.ts +11 -0
  175. package/dist/api/types/PendingSubscriptionSwitchResponseModel.js +5 -0
  176. package/dist/api/types/PendingSubscriptionSwitchResponseModelNextTier.d.ts +19 -0
  177. package/dist/api/types/PendingSubscriptionSwitchResponseModelNextTier.js +18 -0
  178. package/dist/api/types/ReferencedToolCommonModel.d.ts +13 -0
  179. package/dist/api/types/ReferencedToolCommonModel.js +5 -0
  180. package/dist/api/types/RegexParameterEvaluationStrategy.d.ts +7 -0
  181. package/dist/api/types/RegexParameterEvaluationStrategy.js +5 -0
  182. package/dist/api/types/SingleTestRunRequestModel.d.ts +7 -0
  183. package/dist/api/types/SingleTestRunRequestModel.js +5 -0
  184. package/dist/api/types/SongMetadata.d.ts +15 -0
  185. package/dist/api/types/SongMetadata.js +5 -0
  186. package/dist/api/types/Subscription.d.ts +2 -0
  187. package/dist/api/types/TestConditionRationaleCommonModel.d.ts +12 -0
  188. package/dist/api/types/TestConditionRationaleCommonModel.js +5 -0
  189. package/dist/api/types/TestConditionResultCommonModel.d.ts +8 -0
  190. package/dist/api/types/TestConditionResultCommonModel.js +5 -0
  191. package/dist/api/types/TestRunStatus.d.ts +9 -0
  192. package/dist/api/types/TestRunStatus.js +11 -0
  193. package/dist/api/types/TestToolResultModel.d.ts +7 -0
  194. package/dist/api/types/TestToolResultModel.js +5 -0
  195. package/dist/api/types/TestsFeatureUsageCommonModel.d.ts +8 -0
  196. package/dist/api/types/TestsFeatureUsageCommonModel.js +5 -0
  197. package/dist/api/types/UnitTestRunResponseModel.d.ts +14 -0
  198. package/dist/api/types/UnitTestRunResponseModel.js +5 -0
  199. package/dist/api/types/UnitTestSummaryResponseModel.d.ts +16 -0
  200. package/dist/api/types/UnitTestSummaryResponseModel.js +5 -0
  201. package/dist/api/types/UnitTestToolCallEvaluationModelInput.d.ts +10 -0
  202. package/dist/api/types/UnitTestToolCallEvaluationModelInput.js +5 -0
  203. package/dist/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +10 -0
  204. package/dist/api/types/UnitTestToolCallEvaluationModelOutput.js +5 -0
  205. package/dist/api/types/UnitTestToolCallParameter.d.ts +8 -0
  206. package/dist/api/types/UnitTestToolCallParameter.js +5 -0
  207. package/dist/api/types/UnitTestToolCallParameterEval.d.ts +16 -0
  208. package/dist/api/types/UnitTestToolCallParameterEval.js +5 -0
  209. package/dist/api/types/WebhookAuthMethodType.d.ts +2 -1
  210. package/dist/api/types/WebhookAuthMethodType.js +1 -0
  211. package/dist/api/types/WorkflowFeaturesUsageCommonModel.d.ts +8 -0
  212. package/dist/api/types/WorkflowFeaturesUsageCommonModel.js +5 -0
  213. package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +4 -1
  214. package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +3 -0
  215. package/dist/api/types/WorkspaceResourceType.d.ts +1 -2
  216. package/dist/api/types/WorkspaceResourceType.js +0 -1
  217. package/dist/api/types/index.d.ts +34 -0
  218. package/dist/api/types/index.js +34 -0
  219. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +15 -0
  220. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +46 -0
  221. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  222. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
  223. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +3 -0
  224. package/dist/serialization/resources/conversationalAi/resources/index.js +4 -1
  225. package/dist/serialization/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +13 -0
  226. package/dist/serialization/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.js +44 -0
  227. package/dist/serialization/resources/pronunciationDictionaries/client/requests/index.d.ts +1 -0
  228. package/dist/serialization/resources/pronunciationDictionaries/client/requests/index.js +3 -1
  229. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +1 -1
  230. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +3 -0
  231. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +1 -1
  232. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +3 -0
  233. package/dist/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +15 -0
  234. package/dist/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.js +46 -0
  235. package/dist/serialization/types/AgentFailureResponseExample.d.ts +13 -0
  236. package/dist/serialization/types/AgentFailureResponseExample.js +44 -0
  237. package/dist/serialization/types/AgentSuccessfulResponseExample.d.ts +13 -0
  238. package/dist/serialization/types/AgentSuccessfulResponseExample.js +44 -0
  239. package/dist/serialization/types/AgentTestingSettings.d.ts +2 -1
  240. package/dist/serialization/types/AgentTestingSettings.js +2 -1
  241. package/dist/serialization/types/AttachedTestModel.d.ts +12 -0
  242. package/dist/serialization/types/AttachedTestModel.js +43 -0
  243. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  244. package/dist/serialization/types/ClientEvent.js +1 -0
  245. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +5 -1
  246. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +2 -0
  247. package/dist/serialization/types/CreateUnitTestResponseModel.d.ts +12 -0
  248. package/dist/serialization/types/CreateUnitTestResponseModel.js +43 -0
  249. package/dist/serialization/types/DetailedMusicResponse.d.ts +15 -0
  250. package/dist/serialization/types/DetailedMusicResponse.js +46 -0
  251. package/dist/serialization/types/ExactParameterEvaluationStrategy.d.ts +12 -0
  252. package/dist/serialization/types/ExactParameterEvaluationStrategy.js +43 -0
  253. package/dist/serialization/types/ExtendedSubscriptionResponseModelPendingChange.d.ts +12 -0
  254. package/dist/serialization/types/ExtendedSubscriptionResponseModelPendingChange.js +43 -0
  255. package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +4 -0
  256. package/dist/serialization/types/FeaturesUsageCommonModel.js +4 -0
  257. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +15 -0
  258. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +46 -0
  259. package/dist/serialization/types/GetTestsPageResponseModel.d.ts +15 -0
  260. package/dist/serialization/types/GetTestsPageResponseModel.js +46 -0
  261. package/dist/serialization/types/GetTestsSummariesByIdsResponseModel.d.ts +13 -0
  262. package/dist/serialization/types/GetTestsSummariesByIdsResponseModel.js +44 -0
  263. package/dist/serialization/types/GetUnitTestResponseModel.d.ts +24 -0
  264. package/dist/serialization/types/GetUnitTestResponseModel.js +57 -0
  265. package/dist/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +10 -0
  266. package/dist/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.js +46 -0
  267. package/dist/serialization/types/Llm.d.ts +1 -1
  268. package/dist/serialization/types/Llm.js +2 -2
  269. package/dist/serialization/types/LlmParameterEvaluationStrategy.d.ts +12 -0
  270. package/dist/serialization/types/LlmParameterEvaluationStrategy.js +43 -0
  271. package/dist/serialization/types/MultipartMusicResponse.d.ts +14 -0
  272. package/dist/serialization/types/MultipartMusicResponse.js +45 -0
  273. package/dist/serialization/types/PendingCancellationResponseModel.d.ts +13 -0
  274. package/dist/serialization/types/PendingCancellationResponseModel.js +44 -0
  275. package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +15 -0
  276. package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.js +46 -0
  277. package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextTier.d.ts +10 -0
  278. package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextTier.js +52 -0
  279. package/dist/serialization/types/ReferencedToolCommonModel.d.ts +14 -0
  280. package/dist/serialization/types/ReferencedToolCommonModel.js +45 -0
  281. package/dist/serialization/types/RegexParameterEvaluationStrategy.d.ts +12 -0
  282. package/dist/serialization/types/RegexParameterEvaluationStrategy.js +43 -0
  283. package/dist/serialization/types/SingleTestRunRequestModel.d.ts +12 -0
  284. package/dist/serialization/types/SingleTestRunRequestModel.js +43 -0
  285. package/dist/serialization/types/SongMetadata.d.ts +16 -0
  286. package/dist/serialization/types/SongMetadata.js +47 -0
  287. package/dist/serialization/types/Subscription.d.ts +2 -0
  288. package/dist/serialization/types/Subscription.js +2 -0
  289. package/dist/serialization/types/TestConditionRationaleCommonModel.d.ts +13 -0
  290. package/dist/serialization/types/TestConditionRationaleCommonModel.js +44 -0
  291. package/dist/serialization/types/TestConditionResultCommonModel.d.ts +15 -0
  292. package/dist/serialization/types/TestConditionResultCommonModel.js +46 -0
  293. package/dist/serialization/types/TestRunStatus.d.ts +10 -0
  294. package/dist/serialization/types/TestRunStatus.js +41 -0
  295. package/dist/serialization/types/TestToolResultModel.d.ts +13 -0
  296. package/dist/serialization/types/TestToolResultModel.js +44 -0
  297. package/dist/serialization/types/TestsFeatureUsageCommonModel.d.ts +14 -0
  298. package/dist/serialization/types/TestsFeatureUsageCommonModel.js +45 -0
  299. package/dist/serialization/types/UnitTestRunResponseModel.d.ts +22 -0
  300. package/dist/serialization/types/UnitTestRunResponseModel.js +53 -0
  301. package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +17 -0
  302. package/dist/serialization/types/UnitTestSummaryResponseModel.js +48 -0
  303. package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +15 -0
  304. package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.js +46 -0
  305. package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +15 -0
  306. package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.js +46 -0
  307. package/dist/serialization/types/UnitTestToolCallParameter.d.ts +14 -0
  308. package/dist/serialization/types/UnitTestToolCallParameter.js +45 -0
  309. package/dist/serialization/types/UnitTestToolCallParameterEval.d.ts +22 -0
  310. package/dist/serialization/types/UnitTestToolCallParameterEval.js +53 -0
  311. package/dist/serialization/types/WebhookAuthMethodType.d.ts +1 -1
  312. package/dist/serialization/types/WebhookAuthMethodType.js +1 -1
  313. package/dist/serialization/types/WorkflowFeaturesUsageCommonModel.d.ts +14 -0
  314. package/dist/serialization/types/WorkflowFeaturesUsageCommonModel.js +45 -0
  315. package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +1 -1
  316. package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +3 -0
  317. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  318. package/dist/serialization/types/WorkspaceResourceType.js +0 -1
  319. package/dist/serialization/types/index.d.ts +34 -0
  320. package/dist/serialization/types/index.js +34 -0
  321. package/dist/version.d.ts +1 -1
  322. package/dist/version.js +1 -1
  323. package/package.json +1 -1
  324. package/reference.md +801 -82
  325. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +15 -0
  326. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +46 -0
  327. package/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  328. package/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
  329. package/serialization/resources/conversationalAi/resources/index.d.ts +3 -0
  330. package/serialization/resources/conversationalAi/resources/index.js +4 -1
  331. package/serialization/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +13 -0
  332. package/serialization/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.js +44 -0
  333. package/serialization/resources/pronunciationDictionaries/client/requests/index.d.ts +1 -0
  334. package/serialization/resources/pronunciationDictionaries/client/requests/index.js +3 -1
  335. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +1 -1
  336. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +3 -0
  337. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +1 -1
  338. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +3 -0
  339. package/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +15 -0
  340. package/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.js +46 -0
  341. package/serialization/types/AgentFailureResponseExample.d.ts +13 -0
  342. package/serialization/types/AgentFailureResponseExample.js +44 -0
  343. package/serialization/types/AgentSuccessfulResponseExample.d.ts +13 -0
  344. package/serialization/types/AgentSuccessfulResponseExample.js +44 -0
  345. package/serialization/types/AgentTestingSettings.d.ts +2 -1
  346. package/serialization/types/AgentTestingSettings.js +2 -1
  347. package/serialization/types/AttachedTestModel.d.ts +12 -0
  348. package/serialization/types/AttachedTestModel.js +43 -0
  349. package/serialization/types/ClientEvent.d.ts +1 -1
  350. package/serialization/types/ClientEvent.js +1 -0
  351. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +5 -1
  352. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +2 -0
  353. package/serialization/types/CreateUnitTestResponseModel.d.ts +12 -0
  354. package/serialization/types/CreateUnitTestResponseModel.js +43 -0
  355. package/serialization/types/DetailedMusicResponse.d.ts +15 -0
  356. package/serialization/types/DetailedMusicResponse.js +46 -0
  357. package/serialization/types/ExactParameterEvaluationStrategy.d.ts +12 -0
  358. package/serialization/types/ExactParameterEvaluationStrategy.js +43 -0
  359. package/serialization/types/ExtendedSubscriptionResponseModelPendingChange.d.ts +12 -0
  360. package/serialization/types/ExtendedSubscriptionResponseModelPendingChange.js +43 -0
  361. package/serialization/types/FeaturesUsageCommonModel.d.ts +4 -0
  362. package/serialization/types/FeaturesUsageCommonModel.js +4 -0
  363. package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +15 -0
  364. package/serialization/types/GetTestSuiteInvocationResponseModel.js +46 -0
  365. package/serialization/types/GetTestsPageResponseModel.d.ts +15 -0
  366. package/serialization/types/GetTestsPageResponseModel.js +46 -0
  367. package/serialization/types/GetTestsSummariesByIdsResponseModel.d.ts +13 -0
  368. package/serialization/types/GetTestsSummariesByIdsResponseModel.js +44 -0
  369. package/serialization/types/GetUnitTestResponseModel.d.ts +24 -0
  370. package/serialization/types/GetUnitTestResponseModel.js +57 -0
  371. package/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +10 -0
  372. package/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.js +46 -0
  373. package/serialization/types/Llm.d.ts +1 -1
  374. package/serialization/types/Llm.js +2 -2
  375. package/serialization/types/LlmParameterEvaluationStrategy.d.ts +12 -0
  376. package/serialization/types/LlmParameterEvaluationStrategy.js +43 -0
  377. package/serialization/types/MultipartMusicResponse.d.ts +14 -0
  378. package/serialization/types/MultipartMusicResponse.js +45 -0
  379. package/serialization/types/PendingCancellationResponseModel.d.ts +13 -0
  380. package/serialization/types/PendingCancellationResponseModel.js +44 -0
  381. package/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +15 -0
  382. package/serialization/types/PendingSubscriptionSwitchResponseModel.js +46 -0
  383. package/serialization/types/PendingSubscriptionSwitchResponseModelNextTier.d.ts +10 -0
  384. package/serialization/types/PendingSubscriptionSwitchResponseModelNextTier.js +52 -0
  385. package/serialization/types/ReferencedToolCommonModel.d.ts +14 -0
  386. package/serialization/types/ReferencedToolCommonModel.js +45 -0
  387. package/serialization/types/RegexParameterEvaluationStrategy.d.ts +12 -0
  388. package/serialization/types/RegexParameterEvaluationStrategy.js +43 -0
  389. package/serialization/types/SingleTestRunRequestModel.d.ts +12 -0
  390. package/serialization/types/SingleTestRunRequestModel.js +43 -0
  391. package/serialization/types/SongMetadata.d.ts +16 -0
  392. package/serialization/types/SongMetadata.js +47 -0
  393. package/serialization/types/Subscription.d.ts +2 -0
  394. package/serialization/types/Subscription.js +2 -0
  395. package/serialization/types/TestConditionRationaleCommonModel.d.ts +13 -0
  396. package/serialization/types/TestConditionRationaleCommonModel.js +44 -0
  397. package/serialization/types/TestConditionResultCommonModel.d.ts +15 -0
  398. package/serialization/types/TestConditionResultCommonModel.js +46 -0
  399. package/serialization/types/TestRunStatus.d.ts +10 -0
  400. package/serialization/types/TestRunStatus.js +41 -0
  401. package/serialization/types/TestToolResultModel.d.ts +13 -0
  402. package/serialization/types/TestToolResultModel.js +44 -0
  403. package/serialization/types/TestsFeatureUsageCommonModel.d.ts +14 -0
  404. package/serialization/types/TestsFeatureUsageCommonModel.js +45 -0
  405. package/serialization/types/UnitTestRunResponseModel.d.ts +22 -0
  406. package/serialization/types/UnitTestRunResponseModel.js +53 -0
  407. package/serialization/types/UnitTestSummaryResponseModel.d.ts +17 -0
  408. package/serialization/types/UnitTestSummaryResponseModel.js +48 -0
  409. package/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +15 -0
  410. package/serialization/types/UnitTestToolCallEvaluationModelInput.js +46 -0
  411. package/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +15 -0
  412. package/serialization/types/UnitTestToolCallEvaluationModelOutput.js +46 -0
  413. package/serialization/types/UnitTestToolCallParameter.d.ts +14 -0
  414. package/serialization/types/UnitTestToolCallParameter.js +45 -0
  415. package/serialization/types/UnitTestToolCallParameterEval.d.ts +22 -0
  416. package/serialization/types/UnitTestToolCallParameterEval.js +53 -0
  417. package/serialization/types/WebhookAuthMethodType.d.ts +1 -1
  418. package/serialization/types/WebhookAuthMethodType.js +1 -1
  419. package/serialization/types/WorkflowFeaturesUsageCommonModel.d.ts +14 -0
  420. package/serialization/types/WorkflowFeaturesUsageCommonModel.js +45 -0
  421. package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +1 -1
  422. package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +3 -0
  423. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  424. package/serialization/types/WorkspaceResourceType.js +0 -1
  425. package/serialization/types/index.d.ts +34 -0
  426. package/serialization/types/index.js +34 -0
  427. package/version.d.ts +1 -1
  428. package/version.js +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost = exports.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost = exports.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost = exports.UpdateAgentRequest = exports.BodyCreateAgentV1ConvaiAgentsCreatePost = void 0;
3
+ exports.RunAgentTestsRequestModel = exports.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost = exports.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost = exports.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost = exports.UpdateAgentRequest = exports.BodyCreateAgentV1ConvaiAgentsCreatePost = void 0;
4
4
  var BodyCreateAgentV1ConvaiAgentsCreatePost_1 = require("./BodyCreateAgentV1ConvaiAgentsCreatePost");
5
5
  Object.defineProperty(exports, "BodyCreateAgentV1ConvaiAgentsCreatePost", { enumerable: true, get: function () { return BodyCreateAgentV1ConvaiAgentsCreatePost_1.BodyCreateAgentV1ConvaiAgentsCreatePost; } });
6
6
  var UpdateAgentRequest_1 = require("./UpdateAgentRequest");
@@ -11,3 +11,5 @@ var BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost_1 =
11
11
  Object.defineProperty(exports, "BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost", { enumerable: true, get: function () { return BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost_1.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost; } });
12
12
  var BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost_1 = require("./BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost");
13
13
  Object.defineProperty(exports, "BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost", { enumerable: true, get: function () { return BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost_1.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost; } });
14
+ var RunAgentTestsRequestModel_1 = require("./RunAgentTestsRequestModel");
15
+ Object.defineProperty(exports, "RunAgentTestsRequestModel", { enumerable: true, get: function () { return RunAgentTestsRequestModel_1.RunAgentTestsRequestModel; } });
@@ -1,5 +1,7 @@
1
1
  export * as conversations from "./conversations";
2
2
  export * from "./conversations/types";
3
+ export * as tests from "./tests";
4
+ export * from "./tests/types";
3
5
  export * as phoneNumbers from "./phoneNumbers";
4
6
  export * from "./phoneNumbers/types";
5
7
  export * as dashboard from "./dashboard";
@@ -8,6 +10,7 @@ export * as twilio from "./twilio";
8
10
  export * from "./twilio/client/requests";
9
11
  export * as agents from "./agents";
10
12
  export * from "./agents/client/requests";
13
+ export * from "./tests/client/requests";
11
14
  export * from "./phoneNumbers/client/requests";
12
15
  export * as llmUsage from "./llmUsage";
13
16
  export * from "./llmUsage/client/requests";
@@ -36,9 +36,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.mcpServers = exports.sipTrunk = exports.batchCalls = exports.secrets = exports.settings = exports.llmUsage = exports.agents = exports.twilio = exports.knowledgeBase = exports.dashboard = exports.phoneNumbers = exports.conversations = void 0;
39
+ exports.mcpServers = exports.sipTrunk = exports.batchCalls = exports.secrets = exports.settings = exports.llmUsage = exports.agents = exports.twilio = exports.knowledgeBase = exports.dashboard = exports.phoneNumbers = exports.tests = exports.conversations = void 0;
40
40
  exports.conversations = __importStar(require("./conversations"));
41
41
  __exportStar(require("./conversations/types"), exports);
42
+ exports.tests = __importStar(require("./tests"));
43
+ __exportStar(require("./tests/types"), exports);
42
44
  exports.phoneNumbers = __importStar(require("./phoneNumbers"));
43
45
  __exportStar(require("./phoneNumbers/types"), exports);
44
46
  exports.dashboard = __importStar(require("./dashboard"));
@@ -47,6 +49,7 @@ exports.twilio = __importStar(require("./twilio"));
47
49
  __exportStar(require("./twilio/client/requests"), exports);
48
50
  exports.agents = __importStar(require("./agents"));
49
51
  __exportStar(require("./agents/client/requests"), exports);
52
+ __exportStar(require("./tests/client/requests"), exports);
50
53
  __exportStar(require("./phoneNumbers/client/requests"), exports);
51
54
  exports.llmUsage = __importStar(require("./llmUsage"));
52
55
  __exportStar(require("./llmUsage/client/requests"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as ElevenLabs from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ export declare const BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch: core.serialization.Schema<serializers.BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.Raw, ElevenLabs.BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch>;
8
+ export declare namespace BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch {
9
+ interface Raw {
10
+ archived?: boolean | null;
11
+ name?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ exports.BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch = core.serialization.object({
42
+ archived: core.serialization.boolean().optional(),
43
+ name: core.serialization.string().optional(),
44
+ });
@@ -1 +1,2 @@
1
1
  export { BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost } from "./BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost";
2
+ export { BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch } from "./BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch";
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost = void 0;
3
+ exports.BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch = exports.BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost = void 0;
4
4
  var BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost_1 = require("./BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost");
5
5
  Object.defineProperty(exports, "BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost", { enumerable: true, get: function () { return BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost_1.BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost; } });
6
+ var BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch_1 = require("./BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch");
7
+ Object.defineProperty(exports, "BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch", { enumerable: true, get: function () { return BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch_1.BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch; } });
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem: core.serialization.Schema<serializers.serviceAccounts.BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.Raw, ElevenLabs.serviceAccounts.BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem>;
8
8
  export declare namespace BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem {
9
- type Raw = "text_to_speech" | "speech_to_speech" | "speech_to_text" | "models_read" | "models_write" | "voices_read" | "voices_write" | "speech_history_read" | "speech_history_write" | "sound_generation" | "audio_isolation" | "voice_generation" | "dubbing_read" | "dubbing_write" | "pronunciation_dictionaries_read" | "pronunciation_dictionaries_write" | "user_read" | "user_write" | "projects_read" | "projects_write" | "audio_native_read" | "audio_native_write" | "workspace_read" | "workspace_write" | "forced_alignment";
9
+ type Raw = "text_to_speech" | "speech_to_speech" | "speech_to_text" | "models_read" | "models_write" | "voices_read" | "voices_write" | "speech_history_read" | "speech_history_write" | "sound_generation" | "audio_isolation" | "voice_generation" | "dubbing_read" | "dubbing_write" | "pronunciation_dictionaries_read" | "pronunciation_dictionaries_write" | "user_read" | "user_write" | "projects_read" | "projects_write" | "audio_native_read" | "audio_native_write" | "workspace_read" | "workspace_write" | "forced_alignment" | "convai_read" | "convai_write" | "music_generation";
10
10
  }
@@ -64,4 +64,7 @@ exports.BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKe
64
64
  "workspace_read",
65
65
  "workspace_write",
66
66
  "forced_alignment",
67
+ "convai_read",
68
+ "convai_write",
69
+ "music_generation",
67
70
  ]);
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem: core.serialization.Schema<serializers.serviceAccounts.BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.Raw, ElevenLabs.serviceAccounts.BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem>;
8
8
  export declare namespace BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem {
9
- type Raw = "text_to_speech" | "speech_to_speech" | "speech_to_text" | "models_read" | "models_write" | "voices_read" | "voices_write" | "speech_history_read" | "speech_history_write" | "sound_generation" | "audio_isolation" | "voice_generation" | "dubbing_read" | "dubbing_write" | "pronunciation_dictionaries_read" | "pronunciation_dictionaries_write" | "user_read" | "user_write" | "projects_read" | "projects_write" | "audio_native_read" | "audio_native_write" | "workspace_read" | "workspace_write" | "forced_alignment";
9
+ type Raw = "text_to_speech" | "speech_to_speech" | "speech_to_text" | "models_read" | "models_write" | "voices_read" | "voices_write" | "speech_history_read" | "speech_history_write" | "sound_generation" | "audio_isolation" | "voice_generation" | "dubbing_read" | "dubbing_write" | "pronunciation_dictionaries_read" | "pronunciation_dictionaries_write" | "user_read" | "user_write" | "projects_read" | "projects_write" | "audio_native_read" | "audio_native_write" | "workspace_read" | "workspace_write" | "forced_alignment" | "convai_read" | "convai_write" | "music_generation";
10
10
  }
@@ -64,4 +64,7 @@ exports.BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeys
64
64
  "workspace_read",
65
65
  "workspace_write",
66
66
  "forced_alignment",
67
+ "convai_read",
68
+ "convai_write",
69
+ "music_generation",
67
70
  ]);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { ConversationalConfig } from "./ConversationalConfig";
8
+ import { AgentPlatformSettingsRequestModel } from "./AgentPlatformSettingsRequestModel";
9
+ export declare const AdhocAgentConfigOverrideForTestRequestModel: core.serialization.ObjectSchema<serializers.AdhocAgentConfigOverrideForTestRequestModel.Raw, ElevenLabs.AdhocAgentConfigOverrideForTestRequestModel>;
10
+ export declare namespace AdhocAgentConfigOverrideForTestRequestModel {
11
+ interface Raw {
12
+ conversation_config: ConversationalConfig.Raw;
13
+ platform_settings: AgentPlatformSettingsRequestModel.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AdhocAgentConfigOverrideForTestRequestModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const ConversationalConfig_1 = require("./ConversationalConfig");
42
+ const AgentPlatformSettingsRequestModel_1 = require("./AgentPlatformSettingsRequestModel");
43
+ exports.AdhocAgentConfigOverrideForTestRequestModel = core.serialization.object({
44
+ conversationConfig: core.serialization.property("conversation_config", ConversationalConfig_1.ConversationalConfig),
45
+ platformSettings: core.serialization.property("platform_settings", AgentPlatformSettingsRequestModel_1.AgentPlatformSettingsRequestModel),
46
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const AgentFailureResponseExample: core.serialization.ObjectSchema<serializers.AgentFailureResponseExample.Raw, ElevenLabs.AgentFailureResponseExample>;
8
+ export declare namespace AgentFailureResponseExample {
9
+ interface Raw {
10
+ response: string;
11
+ type: "failure";
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AgentFailureResponseExample = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.AgentFailureResponseExample = core.serialization.object({
42
+ response: core.serialization.string(),
43
+ type: core.serialization.stringLiteral("failure"),
44
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const AgentSuccessfulResponseExample: core.serialization.ObjectSchema<serializers.AgentSuccessfulResponseExample.Raw, ElevenLabs.AgentSuccessfulResponseExample>;
8
+ export declare namespace AgentSuccessfulResponseExample {
9
+ interface Raw {
10
+ response: string;
11
+ type: "success";
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AgentSuccessfulResponseExample = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.AgentSuccessfulResponseExample = core.serialization.object({
42
+ response: core.serialization.string(),
43
+ type: core.serialization.stringLiteral("success"),
44
+ });
@@ -4,9 +4,10 @@
4
4
  import * as serializers from "../index";
5
5
  import * as ElevenLabs from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { AttachedTestModel } from "./AttachedTestModel";
7
8
  export declare const AgentTestingSettings: core.serialization.ObjectSchema<serializers.AgentTestingSettings.Raw, ElevenLabs.AgentTestingSettings>;
8
9
  export declare namespace AgentTestingSettings {
9
10
  interface Raw {
10
- test_ids?: string[] | null;
11
+ attached_tests?: AttachedTestModel.Raw[] | null;
11
12
  }
12
13
  }
@@ -38,6 +38,7 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.AgentTestingSettings = void 0;
40
40
  const core = __importStar(require("../../core"));
41
+ const AttachedTestModel_1 = require("./AttachedTestModel");
41
42
  exports.AgentTestingSettings = core.serialization.object({
42
- testIds: core.serialization.property("test_ids", core.serialization.list(core.serialization.string()).optional()),
43
+ attachedTests: core.serialization.property("attached_tests", core.serialization.list(AttachedTestModel_1.AttachedTestModel).optional()),
43
44
  });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const AttachedTestModel: core.serialization.ObjectSchema<serializers.AttachedTestModel.Raw, ElevenLabs.AttachedTestModel>;
8
+ export declare namespace AttachedTestModel {
9
+ interface Raw {
10
+ test_id: string;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AttachedTestModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.AttachedTestModel = core.serialization.object({
42
+ testId: core.serialization.property("test_id", core.serialization.string()),
43
+ });
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const ClientEvent: core.serialization.Schema<serializers.ClientEvent.Raw, ElevenLabs.ClientEvent>;
8
8
  export declare namespace ClientEvent {
9
- type Raw = "conversation_initiation_metadata" | "asr_initiation_metadata" | "ping" | "audio" | "interruption" | "user_transcript" | "agent_response" | "agent_response_correction" | "client_tool_call" | "mcp_tool_call" | "mcp_connection_status" | "agent_tool_response" | "vad_score" | "internal_turn_probability" | "internal_tentative_agent_response";
9
+ type Raw = "conversation_initiation_metadata" | "asr_initiation_metadata" | "ping" | "audio" | "interruption" | "user_transcript" | "tentative_user_transcript" | "agent_response" | "agent_response_correction" | "client_tool_call" | "mcp_tool_call" | "mcp_connection_status" | "agent_tool_response" | "vad_score" | "internal_turn_probability" | "internal_tentative_agent_response";
10
10
  }
@@ -45,6 +45,7 @@ exports.ClientEvent = core.serialization.enum_([
45
45
  "audio",
46
46
  "interruption",
47
47
  "user_transcript",
48
+ "tentative_user_transcript",
48
49
  "agent_response",
49
50
  "agent_response_correction",
50
51
  "client_tool_call",
@@ -9,6 +9,7 @@ import { LanguageDetectionToolResultModel } from "./LanguageDetectionToolResultM
9
9
  import { PlayDtmfResultErrorModel } from "./PlayDtmfResultErrorModel";
10
10
  import { PlayDtmfResultSuccessModel } from "./PlayDtmfResultSuccessModel";
11
11
  import { SkipTurnToolResponseModel } from "./SkipTurnToolResponseModel";
12
+ import { TestToolResultModel } from "./TestToolResultModel";
12
13
  import { TransferToAgentToolResultErrorModel } from "./TransferToAgentToolResultErrorModel";
13
14
  import { TransferToAgentToolResultSuccessModel } from "./TransferToAgentToolResultSuccessModel";
14
15
  import { TransferToNumberResultErrorModel } from "./TransferToNumberResultErrorModel";
@@ -17,7 +18,7 @@ import { TransferToNumberResultTwilioSuccessModel } from "./TransferToNumberResu
17
18
  import { VoiceMailDetectionResultSuccessModel } from "./VoiceMailDetectionResultSuccessModel";
18
19
  export declare const ConversationHistoryTranscriptSystemToolResultCommonModelResult: core.serialization.Schema<serializers.ConversationHistoryTranscriptSystemToolResultCommonModelResult.Raw, ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult>;
19
20
  export declare namespace ConversationHistoryTranscriptSystemToolResultCommonModelResult {
20
- type Raw = ConversationHistoryTranscriptSystemToolResultCommonModelResult.EndCallSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.LanguageDetectionSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.PlayDtmfError | ConversationHistoryTranscriptSystemToolResultCommonModelResult.PlayDtmfSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.SkipTurnSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToAgentError | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToAgentSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberError | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberSipSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberTwilioSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.VoicemailDetectionSuccess;
21
+ type Raw = ConversationHistoryTranscriptSystemToolResultCommonModelResult.EndCallSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.LanguageDetectionSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.PlayDtmfError | ConversationHistoryTranscriptSystemToolResultCommonModelResult.PlayDtmfSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.SkipTurnSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TestingToolResult | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToAgentError | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToAgentSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberError | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberSipSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.TransferToNumberTwilioSuccess | ConversationHistoryTranscriptSystemToolResultCommonModelResult.VoicemailDetectionSuccess;
21
22
  interface EndCallSuccess extends EndCallToolResultModel.Raw {
22
23
  result_type: "end_call_success";
23
24
  }
@@ -33,6 +34,9 @@ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonMode
33
34
  interface SkipTurnSuccess extends SkipTurnToolResponseModel.Raw {
34
35
  result_type: "skip_turn_success";
35
36
  }
37
+ interface TestingToolResult extends TestToolResultModel.Raw {
38
+ result_type: "testing_tool_result";
39
+ }
36
40
  interface TransferToAgentError extends TransferToAgentToolResultErrorModel.Raw {
37
41
  result_type: "transfer_to_agent_error";
38
42
  }
@@ -43,6 +43,7 @@ const LanguageDetectionToolResultModel_1 = require("./LanguageDetectionToolResul
43
43
  const PlayDtmfResultErrorModel_1 = require("./PlayDtmfResultErrorModel");
44
44
  const PlayDtmfResultSuccessModel_1 = require("./PlayDtmfResultSuccessModel");
45
45
  const SkipTurnToolResponseModel_1 = require("./SkipTurnToolResponseModel");
46
+ const TestToolResultModel_1 = require("./TestToolResultModel");
46
47
  const TransferToAgentToolResultErrorModel_1 = require("./TransferToAgentToolResultErrorModel");
47
48
  const TransferToAgentToolResultSuccessModel_1 = require("./TransferToAgentToolResultSuccessModel");
48
49
  const TransferToNumberResultErrorModel_1 = require("./TransferToNumberResultErrorModel");
@@ -56,6 +57,7 @@ exports.ConversationHistoryTranscriptSystemToolResultCommonModelResult = core.se
56
57
  play_dtmf_error: PlayDtmfResultErrorModel_1.PlayDtmfResultErrorModel,
57
58
  play_dtmf_success: PlayDtmfResultSuccessModel_1.PlayDtmfResultSuccessModel,
58
59
  skip_turn_success: SkipTurnToolResponseModel_1.SkipTurnToolResponseModel,
60
+ testing_tool_result: TestToolResultModel_1.TestToolResultModel,
59
61
  transfer_to_agent_error: TransferToAgentToolResultErrorModel_1.TransferToAgentToolResultErrorModel,
60
62
  transfer_to_agent_success: TransferToAgentToolResultSuccessModel_1.TransferToAgentToolResultSuccessModel,
61
63
  transfer_to_number_error: TransferToNumberResultErrorModel_1.TransferToNumberResultErrorModel,
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const CreateUnitTestResponseModel: core.serialization.ObjectSchema<serializers.CreateUnitTestResponseModel.Raw, ElevenLabs.CreateUnitTestResponseModel>;
8
+ export declare namespace CreateUnitTestResponseModel {
9
+ interface Raw {
10
+ id: string;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.CreateUnitTestResponseModel = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.CreateUnitTestResponseModel = core.serialization.object({
42
+ id: core.serialization.string(),
43
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as ElevenLabs from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { MusicPrompt } from "./MusicPrompt";
8
+ import { SongMetadata } from "./SongMetadata";
9
+ export declare const DetailedMusicResponse: core.serialization.ObjectSchema<serializers.DetailedMusicResponse.Raw, ElevenLabs.DetailedMusicResponse>;
10
+ export declare namespace DetailedMusicResponse {
11
+ interface Raw {
12
+ composition_plan: MusicPrompt.Raw;
13
+ song_metadata: SongMetadata.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DetailedMusicResponse = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const MusicPrompt_1 = require("./MusicPrompt");
42
+ const SongMetadata_1 = require("./SongMetadata");
43
+ exports.DetailedMusicResponse = core.serialization.object({
44
+ compositionPlan: core.serialization.property("composition_plan", MusicPrompt_1.MusicPrompt),
45
+ songMetadata: core.serialization.property("song_metadata", SongMetadata_1.SongMetadata),
46
+ });