@elevenlabs/elevenlabs-js 2.35.0 → 2.36.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 (853) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/conversationalAi/client/Client.d.ts +3 -0
  3. package/api/resources/conversationalAi/client/Client.js +9 -4
  4. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +9 -3
  5. package/api/resources/conversationalAi/resources/agents/client/Client.js +39 -9
  6. package/api/resources/conversationalAi/resources/agents/client/requests/AgentsGetRequest.d.ts +13 -0
  7. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -1
  8. package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  9. package/api/resources/conversationalAi/resources/index.d.ts +2 -0
  10. package/api/resources/conversationalAi/resources/index.js +3 -1
  11. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
  12. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +1 -1
  13. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +1 -1
  14. package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +7 -31
  15. package/api/resources/conversationalAi/resources/tests/client/Client.js +9 -33
  16. package/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +0 -2
  17. package/api/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.d.ts +16 -0
  18. package/api/resources/conversationalAi/resources/tests/types/TestsGetResponse.d.ts +13 -0
  19. package/api/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.d.ts +16 -0
  20. package/api/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.d.ts +13 -0
  21. package/api/resources/conversationalAi/resources/tests/types/index.d.ts +4 -2
  22. package/api/resources/conversationalAi/resources/tests/types/index.js +4 -2
  23. package/api/resources/conversationalAi/resources/users/client/Client.d.ts +33 -0
  24. package/api/resources/conversationalAi/resources/users/client/Client.js +147 -0
  25. package/api/resources/conversationalAi/resources/users/client/index.d.ts +1 -0
  26. package/api/resources/conversationalAi/resources/users/client/index.js +17 -0
  27. package/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +25 -0
  28. package/api/resources/conversationalAi/resources/users/client/requests/index.d.ts +1 -0
  29. package/api/resources/conversationalAi/resources/users/client/requests/index.js +2 -0
  30. package/api/resources/conversationalAi/resources/users/index.d.ts +1 -0
  31. package/api/resources/conversationalAi/resources/users/index.js +17 -0
  32. package/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
  33. package/api/resources/pronunciationDictionaries/client/Client.js +1 -1
  34. package/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +1 -1
  35. package/api/types/BuiltInToolsInput.d.ts +2 -0
  36. package/api/types/BuiltInToolsOutput.d.ts +2 -0
  37. package/api/types/BuiltInToolsWorkflowOverrideInput.d.ts +2 -0
  38. package/api/types/BuiltInToolsWorkflowOverrideOutput.d.ts +2 -0
  39. package/api/types/ContentConfig.d.ts +10 -0
  40. package/api/types/ContentGuardrailInput.d.ts +4 -0
  41. package/api/types/ContentGuardrailOutput.d.ts +4 -0
  42. package/api/types/ConversationSummaryResponseModel.d.ts +3 -0
  43. package/api/types/ConversationUserResponseModel.d.ts +8 -0
  44. package/api/types/CreateAgentTestResponseModel.d.ts +3 -0
  45. package/api/types/CreateResponseUnitTestRequest.d.ts +15 -0
  46. package/api/types/CreateResponseUnitTestRequestDynamicVariablesValue.d.ts +1 -0
  47. package/api/types/CreateSimulationTestRequest.d.ts +15 -0
  48. package/api/types/CreateSimulationTestRequestDynamicVariablesValue.d.ts +1 -0
  49. package/api/types/CreateToolCallUnitTestRequest.d.ts +13 -0
  50. package/api/types/CreateToolCallUnitTestRequestDynamicVariablesValue.d.ts +1 -0
  51. package/api/types/CustomGuardrailConfig.d.ts +13 -0
  52. package/api/types/CustomGuardrailConfigModel.d.ts +6 -0
  53. package/api/types/CustomGuardrailConfigModel.js +9 -0
  54. package/api/types/CustomGuardrailInput.d.ts +7 -0
  55. package/api/types/CustomGuardrailInput.js +3 -0
  56. package/api/types/CustomGuardrailOutput.d.ts +7 -0
  57. package/api/types/CustomGuardrailOutput.js +3 -0
  58. package/api/types/CustomGuardrailsConfig.d.ts +7 -0
  59. package/api/types/CustomGuardrailsConfig.js +3 -0
  60. package/api/types/DefaultSharingGroupResponseModel.d.ts +7 -0
  61. package/api/types/DefaultSharingGroupResponseModel.js +3 -0
  62. package/api/types/DefaultSharingGroupResponseModelPermissionLevel.d.ts +7 -0
  63. package/api/types/DefaultSharingGroupResponseModelPermissionLevel.js +10 -0
  64. package/api/types/DirectPublishingReadResponseModel.d.ts +1 -1
  65. package/api/types/GetConversationResponseModel.d.ts +1 -1
  66. package/api/types/GetConversationUsersPageResponseModel.d.ts +6 -0
  67. package/api/types/GetConversationUsersPageResponseModel.js +3 -0
  68. package/api/types/GetPronunciationDictionaryWithRulesResponseModel.d.ts +23 -0
  69. package/api/types/GetPronunciationDictionaryWithRulesResponseModel.js +3 -0
  70. package/api/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.d.ts +7 -0
  71. package/api/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.js +10 -0
  72. package/api/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.d.ts +10 -0
  73. package/api/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.js +3 -0
  74. package/api/types/GetResponseUnitTestResponseModel.d.ts +16 -0
  75. package/api/types/GetResponseUnitTestResponseModel.js +3 -0
  76. package/api/types/GetResponseUnitTestResponseModelDynamicVariablesValue.d.ts +1 -0
  77. package/api/types/GetResponseUnitTestResponseModelDynamicVariablesValue.js +3 -0
  78. package/api/types/GetSimulationTestResponseModel.d.ts +16 -0
  79. package/api/types/GetSimulationTestResponseModel.js +3 -0
  80. package/api/types/GetSimulationTestResponseModelDynamicVariablesValue.d.ts +1 -0
  81. package/api/types/GetSimulationTestResponseModelDynamicVariablesValue.js +3 -0
  82. package/api/types/GetToolCallUnitTestResponseModel.d.ts +14 -0
  83. package/api/types/GetToolCallUnitTestResponseModel.js +3 -0
  84. package/api/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.d.ts +1 -0
  85. package/api/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.js +3 -0
  86. package/api/types/GuardrailsV1Input.d.ts +2 -0
  87. package/api/types/GuardrailsV1Output.d.ts +2 -0
  88. package/api/types/MergingStrategy.d.ts +7 -0
  89. package/api/types/MergingStrategy.js +10 -0
  90. package/api/types/MultiSourceConfigJson.d.ts +22 -0
  91. package/api/types/MultiSourceConfigJson.js +3 -0
  92. package/api/types/PendingClipTask.d.ts +8 -0
  93. package/api/types/PendingClipTask.js +3 -0
  94. package/api/types/PendingClipTaskType.d.ts +6 -0
  95. package/api/types/PendingClipTaskType.js +9 -0
  96. package/api/types/PermissionType.d.ts +1 -0
  97. package/api/types/PermissionType.js +1 -0
  98. package/api/types/PhoneNumberTransfer.d.ts +2 -0
  99. package/api/types/PhoneNumberTransferPostDialDigits.d.ts +10 -0
  100. package/api/types/PhoneNumberTransferPostDialDigits.js +3 -0
  101. package/api/types/PostDialDigitsDynamicVariable.d.ts +4 -0
  102. package/api/types/PostDialDigitsDynamicVariable.js +3 -0
  103. package/api/types/PostDialDigitsStatic.d.ts +4 -0
  104. package/api/types/PostDialDigitsStatic.js +3 -0
  105. package/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
  106. package/api/types/ProjectCreationMetaResponseModelType.js +1 -0
  107. package/api/types/ProjectExternalAudioResponseModel.d.ts +2 -0
  108. package/api/types/ProjectVideoResponseModel.d.ts +2 -0
  109. package/api/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +4 -0
  110. package/api/types/PronunciationDictionaryAliasRuleResponseModel.js +3 -0
  111. package/api/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +5 -0
  112. package/api/types/PronunciationDictionaryPhonemeRuleResponseModel.js +3 -0
  113. package/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  114. package/api/types/ReferencedToolCommonModelType.js +1 -0
  115. package/api/types/ResourceMetadataResponseModel.d.ts +2 -0
  116. package/api/types/ResponseUnitTestModel.d.ts +14 -0
  117. package/api/types/ResponseUnitTestModel.js +3 -0
  118. package/api/types/ResponseUnitTestModelDynamicVariablesValue.d.ts +1 -0
  119. package/api/types/ResponseUnitTestModelDynamicVariablesValue.js +3 -0
  120. package/api/types/SearchDocumentationToolConfigInput.d.ts +39 -0
  121. package/api/types/SearchDocumentationToolConfigInput.js +3 -0
  122. package/api/types/SearchDocumentationToolConfigOutput.d.ts +37 -0
  123. package/api/types/SearchDocumentationToolConfigOutput.js +3 -0
  124. package/api/types/SimilarVoice.d.ts +1 -1
  125. package/api/types/SimulationTestModel.d.ts +14 -0
  126. package/api/types/SimulationTestModel.js +3 -0
  127. package/api/types/SimulationTestModelDynamicVariablesValue.d.ts +1 -0
  128. package/api/types/SimulationTestModelDynamicVariablesValue.js +3 -0
  129. package/api/types/SourceConfigJson.d.ts +32 -0
  130. package/api/types/SourceConfigJson.js +3 -0
  131. package/api/types/SourceRetrievalConfig.d.ts +17 -0
  132. package/api/types/SourceRetrievalConfig.js +3 -0
  133. package/api/types/SystemToolConfigInputParams.d.ts +4 -1
  134. package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  135. package/api/types/TestRunMetadataTestType.d.ts +1 -0
  136. package/api/types/TestRunMetadataTestType.js +1 -0
  137. package/api/types/TestType.d.ts +6 -0
  138. package/api/types/{UnitTestCommonModelType.js → TestType.js} +3 -2
  139. package/api/types/ToolCallUnitTestModel.d.ts +12 -0
  140. package/api/types/ToolCallUnitTestModel.js +3 -0
  141. package/api/types/ToolCallUnitTestModelDynamicVariablesValue.d.ts +1 -0
  142. package/api/types/ToolCallUnitTestModelDynamicVariablesValue.js +3 -0
  143. package/api/types/ToolRequestModelToolConfig.d.ts +5 -1
  144. package/api/types/ToolResponseModelToolConfig.d.ts +5 -1
  145. package/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +1 -0
  146. package/api/types/TtsConversationalConfigInput.d.ts +2 -0
  147. package/api/types/TtsConversationalConfigOutput.d.ts +2 -0
  148. package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
  149. package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
  150. package/api/types/UnitTestRunResponseModel.d.ts +1 -1
  151. package/api/types/UnitTestRunResponseModelTestInfo.d.ts +13 -0
  152. package/api/types/UnitTestRunResponseModelTestInfo.js +3 -0
  153. package/api/types/UnitTestSummaryResponseModel.d.ts +1 -1
  154. package/api/types/UpdateResponseUnitTestRequest.d.ts +15 -0
  155. package/api/types/UpdateResponseUnitTestRequest.js +3 -0
  156. package/api/types/UpdateResponseUnitTestRequestDynamicVariablesValue.d.ts +1 -0
  157. package/api/types/UpdateResponseUnitTestRequestDynamicVariablesValue.js +3 -0
  158. package/api/types/UpdateSimulationTestRequest.d.ts +15 -0
  159. package/api/types/UpdateSimulationTestRequest.js +3 -0
  160. package/api/types/UpdateSimulationTestRequestDynamicVariablesValue.d.ts +1 -0
  161. package/api/types/UpdateSimulationTestRequestDynamicVariablesValue.js +3 -0
  162. package/api/types/UpdateToolCallUnitTestRequest.d.ts +13 -0
  163. package/api/types/UpdateToolCallUnitTestRequest.js +3 -0
  164. package/api/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.d.ts +1 -0
  165. package/api/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.js +3 -0
  166. package/api/types/{SimilarVoiceCategory.d.ts → VoiceCategory.d.ts} +2 -2
  167. package/{dist/api/types/SimilarVoiceCategory.js → api/types/VoiceCategory.js} +2 -2
  168. package/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  169. package/api/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.d.ts +10 -0
  170. package/api/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.js +3 -0
  171. package/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  172. package/api/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.d.ts +10 -0
  173. package/api/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.js +3 -0
  174. package/api/types/WorkspaceGroupPermission.d.ts +31 -0
  175. package/api/types/WorkspaceGroupPermission.js +34 -0
  176. package/api/types/WorkspaceGroupResponseModel.d.ts +9 -0
  177. package/api/types/WorkspaceGroupResponseModel.js +3 -0
  178. package/api/types/WorkspaceGroupResponseModelGroupUsageLimit.d.ts +1 -0
  179. package/api/types/WorkspaceGroupResponseModelGroupUsageLimit.js +3 -0
  180. package/api/types/WorkspaceServiceAccountResponseModel.d.ts +1 -0
  181. package/api/types/index.d.ts +61 -7
  182. package/api/types/index.js +61 -7
  183. package/dist/BaseClient.js +2 -2
  184. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
  185. package/dist/api/resources/conversationalAi/client/Client.js +9 -4
  186. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +9 -3
  187. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +39 -9
  188. package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsGetRequest.d.ts +13 -0
  189. package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsGetRequest.js +3 -0
  190. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -1
  191. package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
  192. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
  193. package/dist/api/resources/conversationalAi/resources/index.js +3 -1
  194. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
  195. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +1 -1
  196. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +1 -1
  197. package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +7 -31
  198. package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +9 -33
  199. package/dist/api/resources/conversationalAi/resources/tests/client/requests/index.d.ts +0 -2
  200. package/dist/api/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.d.ts +16 -0
  201. package/dist/api/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.js +3 -0
  202. package/dist/api/resources/conversationalAi/resources/tests/types/TestsGetResponse.d.ts +13 -0
  203. package/dist/api/resources/conversationalAi/resources/tests/types/TestsGetResponse.js +3 -0
  204. package/dist/api/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.d.ts +16 -0
  205. package/dist/api/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.js +3 -0
  206. package/dist/api/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.d.ts +13 -0
  207. package/dist/api/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.js +3 -0
  208. package/dist/api/resources/conversationalAi/resources/tests/types/index.d.ts +4 -2
  209. package/dist/api/resources/conversationalAi/resources/tests/types/index.js +4 -2
  210. package/dist/api/resources/conversationalAi/resources/users/client/Client.d.ts +33 -0
  211. package/dist/api/resources/conversationalAi/resources/users/client/Client.js +147 -0
  212. package/dist/api/resources/conversationalAi/resources/users/client/index.d.ts +1 -0
  213. package/dist/api/resources/conversationalAi/resources/users/client/index.js +17 -0
  214. package/dist/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.d.ts +25 -0
  215. package/dist/api/resources/conversationalAi/resources/users/client/requests/UsersListRequest.js +3 -0
  216. package/dist/api/resources/conversationalAi/resources/users/client/requests/index.d.ts +1 -0
  217. package/dist/api/resources/conversationalAi/resources/users/client/requests/index.js +2 -0
  218. package/dist/api/resources/conversationalAi/resources/users/index.d.ts +1 -0
  219. package/dist/api/resources/conversationalAi/resources/users/index.js +17 -0
  220. package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
  221. package/dist/api/resources/pronunciationDictionaries/client/Client.js +1 -1
  222. package/dist/api/resources/pronunciationDictionaries/client/requests/BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch.d.ts +1 -1
  223. package/dist/api/types/BuiltInToolsInput.d.ts +2 -0
  224. package/dist/api/types/BuiltInToolsOutput.d.ts +2 -0
  225. package/dist/api/types/BuiltInToolsWorkflowOverrideInput.d.ts +2 -0
  226. package/dist/api/types/BuiltInToolsWorkflowOverrideOutput.d.ts +2 -0
  227. package/dist/api/types/ContentConfig.d.ts +10 -0
  228. package/dist/api/types/ContentConfig.js +3 -0
  229. package/dist/api/types/ContentGuardrailInput.d.ts +4 -0
  230. package/dist/api/types/ContentGuardrailInput.js +3 -0
  231. package/dist/api/types/ContentGuardrailOutput.d.ts +4 -0
  232. package/dist/api/types/ContentGuardrailOutput.js +3 -0
  233. package/dist/api/types/ConversationSummaryResponseModel.d.ts +3 -0
  234. package/dist/api/types/ConversationUserResponseModel.d.ts +8 -0
  235. package/dist/api/types/ConversationUserResponseModel.js +3 -0
  236. package/dist/api/types/CreateAgentTestResponseModel.d.ts +3 -0
  237. package/dist/api/types/CreateAgentTestResponseModel.js +3 -0
  238. package/dist/api/types/CreateResponseUnitTestRequest.d.ts +15 -0
  239. package/dist/api/types/CreateResponseUnitTestRequest.js +3 -0
  240. package/dist/api/types/CreateResponseUnitTestRequestDynamicVariablesValue.d.ts +1 -0
  241. package/dist/api/types/CreateResponseUnitTestRequestDynamicVariablesValue.js +3 -0
  242. package/dist/api/types/CreateSimulationTestRequest.d.ts +15 -0
  243. package/dist/api/types/CreateSimulationTestRequest.js +3 -0
  244. package/dist/api/types/CreateSimulationTestRequestDynamicVariablesValue.d.ts +1 -0
  245. package/dist/api/types/CreateSimulationTestRequestDynamicVariablesValue.js +3 -0
  246. package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +13 -0
  247. package/dist/api/types/CreateToolCallUnitTestRequest.js +3 -0
  248. package/dist/api/types/CreateToolCallUnitTestRequestDynamicVariablesValue.d.ts +1 -0
  249. package/dist/api/types/CreateToolCallUnitTestRequestDynamicVariablesValue.js +3 -0
  250. package/dist/api/types/CustomGuardrailConfig.d.ts +13 -0
  251. package/dist/api/types/CustomGuardrailConfig.js +3 -0
  252. package/dist/api/types/CustomGuardrailConfigModel.d.ts +6 -0
  253. package/dist/api/types/CustomGuardrailConfigModel.js +9 -0
  254. package/dist/api/types/CustomGuardrailInput.d.ts +7 -0
  255. package/dist/api/types/CustomGuardrailInput.js +3 -0
  256. package/dist/api/types/CustomGuardrailOutput.d.ts +7 -0
  257. package/dist/api/types/CustomGuardrailOutput.js +3 -0
  258. package/dist/api/types/CustomGuardrailsConfig.d.ts +7 -0
  259. package/dist/api/types/CustomGuardrailsConfig.js +3 -0
  260. package/dist/api/types/DefaultSharingGroupResponseModel.d.ts +7 -0
  261. package/dist/api/types/DefaultSharingGroupResponseModel.js +3 -0
  262. package/dist/api/types/DefaultSharingGroupResponseModelPermissionLevel.d.ts +7 -0
  263. package/dist/api/types/DefaultSharingGroupResponseModelPermissionLevel.js +10 -0
  264. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -1
  265. package/dist/api/types/GetConversationResponseModel.d.ts +1 -1
  266. package/dist/api/types/GetConversationUsersPageResponseModel.d.ts +6 -0
  267. package/dist/api/types/GetConversationUsersPageResponseModel.js +3 -0
  268. package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModel.d.ts +23 -0
  269. package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModel.js +3 -0
  270. package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.d.ts +7 -0
  271. package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.js +10 -0
  272. package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.d.ts +10 -0
  273. package/dist/api/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.js +3 -0
  274. package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +16 -0
  275. package/dist/api/types/GetResponseUnitTestResponseModel.js +3 -0
  276. package/dist/api/types/GetResponseUnitTestResponseModelDynamicVariablesValue.d.ts +1 -0
  277. package/dist/api/types/GetResponseUnitTestResponseModelDynamicVariablesValue.js +3 -0
  278. package/dist/api/types/GetSimulationTestResponseModel.d.ts +16 -0
  279. package/dist/api/types/GetSimulationTestResponseModel.js +3 -0
  280. package/dist/api/types/GetSimulationTestResponseModelDynamicVariablesValue.d.ts +1 -0
  281. package/dist/api/types/GetSimulationTestResponseModelDynamicVariablesValue.js +3 -0
  282. package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +14 -0
  283. package/dist/api/types/GetToolCallUnitTestResponseModel.js +3 -0
  284. package/dist/api/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.d.ts +1 -0
  285. package/dist/api/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.js +3 -0
  286. package/dist/api/types/GuardrailsV1Input.d.ts +2 -0
  287. package/dist/api/types/GuardrailsV1Output.d.ts +2 -0
  288. package/dist/api/types/MergingStrategy.d.ts +7 -0
  289. package/dist/api/types/MergingStrategy.js +10 -0
  290. package/dist/api/types/MultiSourceConfigJson.d.ts +22 -0
  291. package/dist/api/types/MultiSourceConfigJson.js +3 -0
  292. package/dist/api/types/PendingClipTask.d.ts +8 -0
  293. package/dist/api/types/PendingClipTask.js +3 -0
  294. package/dist/api/types/PendingClipTaskType.d.ts +6 -0
  295. package/dist/api/types/PendingClipTaskType.js +9 -0
  296. package/dist/api/types/PermissionType.d.ts +1 -0
  297. package/dist/api/types/PermissionType.js +1 -0
  298. package/dist/api/types/PhoneNumberTransfer.d.ts +2 -0
  299. package/dist/api/types/PhoneNumberTransferPostDialDigits.d.ts +10 -0
  300. package/dist/api/types/PhoneNumberTransferPostDialDigits.js +3 -0
  301. package/dist/api/types/PostDialDigitsDynamicVariable.d.ts +4 -0
  302. package/dist/api/types/PostDialDigitsDynamicVariable.js +3 -0
  303. package/dist/api/types/PostDialDigitsStatic.d.ts +4 -0
  304. package/dist/api/types/PostDialDigitsStatic.js +3 -0
  305. package/dist/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
  306. package/dist/api/types/ProjectCreationMetaResponseModelType.js +1 -0
  307. package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +2 -0
  308. package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -0
  309. package/dist/api/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +4 -0
  310. package/dist/api/types/PronunciationDictionaryAliasRuleResponseModel.js +3 -0
  311. package/dist/api/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +5 -0
  312. package/dist/api/types/PronunciationDictionaryPhonemeRuleResponseModel.js +3 -0
  313. package/dist/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  314. package/dist/api/types/ReferencedToolCommonModelType.js +1 -0
  315. package/dist/api/types/ResourceMetadataResponseModel.d.ts +2 -0
  316. package/dist/api/types/ResponseUnitTestModel.d.ts +14 -0
  317. package/dist/api/types/ResponseUnitTestModel.js +3 -0
  318. package/dist/api/types/ResponseUnitTestModelDynamicVariablesValue.d.ts +1 -0
  319. package/dist/api/types/ResponseUnitTestModelDynamicVariablesValue.js +3 -0
  320. package/dist/api/types/SearchDocumentationToolConfigInput.d.ts +39 -0
  321. package/dist/api/types/SearchDocumentationToolConfigInput.js +3 -0
  322. package/dist/api/types/SearchDocumentationToolConfigOutput.d.ts +37 -0
  323. package/dist/api/types/SearchDocumentationToolConfigOutput.js +3 -0
  324. package/dist/api/types/SimilarVoice.d.ts +1 -1
  325. package/dist/api/types/SimulationTestModel.d.ts +14 -0
  326. package/dist/api/types/SimulationTestModel.js +3 -0
  327. package/dist/api/types/SimulationTestModelDynamicVariablesValue.d.ts +1 -0
  328. package/dist/api/types/SimulationTestModelDynamicVariablesValue.js +3 -0
  329. package/dist/api/types/SourceConfigJson.d.ts +32 -0
  330. package/dist/api/types/SourceConfigJson.js +3 -0
  331. package/dist/api/types/SourceRetrievalConfig.d.ts +17 -0
  332. package/dist/api/types/SourceRetrievalConfig.js +3 -0
  333. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
  334. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  335. package/dist/api/types/TestRunMetadataTestType.d.ts +1 -0
  336. package/dist/api/types/TestRunMetadataTestType.js +1 -0
  337. package/dist/api/types/TestType.d.ts +6 -0
  338. package/dist/api/types/{UnitTestCommonModelType.js → TestType.js} +3 -2
  339. package/dist/api/types/ToolCallUnitTestModel.d.ts +12 -0
  340. package/dist/api/types/ToolCallUnitTestModel.js +3 -0
  341. package/dist/api/types/ToolCallUnitTestModelDynamicVariablesValue.d.ts +1 -0
  342. package/dist/api/types/ToolCallUnitTestModelDynamicVariablesValue.js +3 -0
  343. package/dist/api/types/ToolRequestModelToolConfig.d.ts +5 -1
  344. package/dist/api/types/ToolResponseModelToolConfig.d.ts +5 -1
  345. package/dist/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +1 -0
  346. package/dist/api/types/TtsConversationalConfigInput.d.ts +2 -0
  347. package/dist/api/types/TtsConversationalConfigOutput.d.ts +2 -0
  348. package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +2 -0
  349. package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +2 -0
  350. package/dist/api/types/UnitTestRunResponseModel.d.ts +1 -1
  351. package/dist/api/types/UnitTestRunResponseModelTestInfo.d.ts +13 -0
  352. package/dist/api/types/UnitTestRunResponseModelTestInfo.js +3 -0
  353. package/dist/api/types/UnitTestSummaryResponseModel.d.ts +1 -1
  354. package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +15 -0
  355. package/dist/api/types/UpdateResponseUnitTestRequest.js +3 -0
  356. package/dist/api/types/UpdateResponseUnitTestRequestDynamicVariablesValue.d.ts +1 -0
  357. package/dist/api/types/UpdateResponseUnitTestRequestDynamicVariablesValue.js +3 -0
  358. package/dist/api/types/UpdateSimulationTestRequest.d.ts +15 -0
  359. package/dist/api/types/UpdateSimulationTestRequest.js +3 -0
  360. package/dist/api/types/UpdateSimulationTestRequestDynamicVariablesValue.d.ts +1 -0
  361. package/dist/api/types/UpdateSimulationTestRequestDynamicVariablesValue.js +3 -0
  362. package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +13 -0
  363. package/dist/api/types/UpdateToolCallUnitTestRequest.js +3 -0
  364. package/dist/api/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.d.ts +1 -0
  365. package/dist/api/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.js +3 -0
  366. package/dist/api/types/{SimilarVoiceCategory.d.ts → VoiceCategory.d.ts} +2 -2
  367. package/{api/types/SimilarVoiceCategory.js → dist/api/types/VoiceCategory.js} +2 -2
  368. package/dist/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  369. package/dist/api/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.d.ts +10 -0
  370. package/dist/api/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.js +3 -0
  371. package/dist/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  372. package/dist/api/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.d.ts +10 -0
  373. package/dist/api/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.js +3 -0
  374. package/dist/api/types/WorkspaceGroupPermission.d.ts +31 -0
  375. package/dist/api/types/WorkspaceGroupPermission.js +34 -0
  376. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +9 -0
  377. package/dist/api/types/WorkspaceGroupResponseModel.js +3 -0
  378. package/dist/api/types/WorkspaceGroupResponseModelGroupUsageLimit.d.ts +1 -0
  379. package/dist/api/types/WorkspaceGroupResponseModelGroupUsageLimit.js +3 -0
  380. package/dist/api/types/WorkspaceServiceAccountResponseModel.d.ts +1 -0
  381. package/dist/api/types/index.d.ts +61 -7
  382. package/dist/api/types/index.js +61 -7
  383. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
  384. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/index.d.ts +0 -2
  385. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/index.js +1 -5
  386. package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.d.ts +19 -0
  387. package/dist/serialization/resources/conversationalAi/resources/tests/types/{CreateUnitTestRequestDynamicVariablesValue.js → TestsCreateRequestBody.js} +14 -7
  388. package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsGetResponse.d.ts +19 -0
  389. package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsGetResponse.js +51 -0
  390. package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.d.ts +19 -0
  391. package/{serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js → dist/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.js} +14 -7
  392. package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.d.ts +19 -0
  393. package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.js +51 -0
  394. package/dist/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +4 -2
  395. package/dist/serialization/resources/conversationalAi/resources/tests/types/index.js +4 -2
  396. package/dist/serialization/types/BuiltInToolsInput.d.ts +1 -0
  397. package/dist/serialization/types/BuiltInToolsInput.js +1 -0
  398. package/dist/serialization/types/BuiltInToolsOutput.d.ts +1 -0
  399. package/dist/serialization/types/BuiltInToolsOutput.js +1 -0
  400. package/dist/serialization/types/BuiltInToolsWorkflowOverrideInput.d.ts +1 -0
  401. package/dist/serialization/types/BuiltInToolsWorkflowOverrideInput.js +1 -0
  402. package/dist/serialization/types/BuiltInToolsWorkflowOverrideOutput.d.ts +1 -0
  403. package/dist/serialization/types/BuiltInToolsWorkflowOverrideOutput.js +1 -0
  404. package/dist/serialization/types/ContentConfig.d.ts +16 -0
  405. package/dist/serialization/types/ContentConfig.js +48 -0
  406. package/dist/serialization/types/ContentGuardrailInput.d.ts +10 -0
  407. package/dist/serialization/types/ContentGuardrailInput.js +42 -0
  408. package/dist/serialization/types/ContentGuardrailOutput.d.ts +10 -0
  409. package/dist/serialization/types/ContentGuardrailOutput.js +42 -0
  410. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +4 -0
  411. package/dist/serialization/types/ConversationSummaryResponseModel.js +4 -0
  412. package/dist/serialization/types/ConversationUserResponseModel.d.ts +14 -0
  413. package/dist/serialization/types/ConversationUserResponseModel.js +46 -0
  414. package/dist/serialization/types/CreateAgentTestResponseModel.d.ts +9 -0
  415. package/dist/serialization/types/{CreateUnitTestResponseModel.js → CreateAgentTestResponseModel.js} +2 -2
  416. package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +20 -0
  417. package/dist/serialization/types/CreateResponseUnitTestRequest.js +54 -0
  418. package/dist/serialization/types/CreateResponseUnitTestRequestDynamicVariablesValue.d.ts +7 -0
  419. package/dist/serialization/types/CreateResponseUnitTestRequestDynamicVariablesValue.js +44 -0
  420. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +18 -0
  421. package/dist/serialization/types/CreateSimulationTestRequest.js +52 -0
  422. package/dist/serialization/types/CreateSimulationTestRequestDynamicVariablesValue.d.ts +7 -0
  423. package/dist/serialization/types/CreateSimulationTestRequestDynamicVariablesValue.js +44 -0
  424. package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +18 -0
  425. package/{serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js → dist/serialization/types/CreateToolCallUnitTestRequest.js} +12 -19
  426. package/dist/serialization/types/CreateToolCallUnitTestRequestDynamicVariablesValue.d.ts +7 -0
  427. package/dist/serialization/types/CreateToolCallUnitTestRequestDynamicVariablesValue.js +44 -0
  428. package/dist/serialization/types/CustomGuardrailConfig.d.ts +13 -0
  429. package/dist/serialization/types/CustomGuardrailConfig.js +45 -0
  430. package/dist/serialization/types/CustomGuardrailConfigModel.d.ts +7 -0
  431. package/dist/serialization/types/CustomGuardrailConfigModel.js +39 -0
  432. package/dist/serialization/types/CustomGuardrailInput.d.ts +10 -0
  433. package/dist/serialization/types/CustomGuardrailInput.js +42 -0
  434. package/dist/serialization/types/CustomGuardrailOutput.d.ts +10 -0
  435. package/dist/serialization/types/CustomGuardrailOutput.js +42 -0
  436. package/dist/serialization/types/CustomGuardrailsConfig.d.ts +10 -0
  437. package/dist/serialization/types/CustomGuardrailsConfig.js +42 -0
  438. package/dist/serialization/types/DefaultSharingGroupResponseModel.d.ts +12 -0
  439. package/dist/serialization/types/DefaultSharingGroupResponseModel.js +44 -0
  440. package/dist/serialization/types/DefaultSharingGroupResponseModelPermissionLevel.d.ts +7 -0
  441. package/dist/serialization/types/DefaultSharingGroupResponseModelPermissionLevel.js +39 -0
  442. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -1
  443. package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -1
  444. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -1
  445. package/dist/serialization/types/GetConversationResponseModel.js +1 -1
  446. package/dist/serialization/types/GetConversationUsersPageResponseModel.d.ts +12 -0
  447. package/dist/serialization/types/GetConversationUsersPageResponseModel.js +44 -0
  448. package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModel.d.ts +20 -0
  449. package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModel.js +52 -0
  450. package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.d.ts +7 -0
  451. package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.js +39 -0
  452. package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.d.ts +15 -0
  453. package/dist/serialization/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.js +49 -0
  454. package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +21 -0
  455. package/dist/serialization/types/{UnitTestCommonModel.js → GetResponseUnitTestResponseModel.js} +11 -14
  456. package/dist/serialization/types/GetResponseUnitTestResponseModelDynamicVariablesValue.d.ts +7 -0
  457. package/dist/serialization/types/GetResponseUnitTestResponseModelDynamicVariablesValue.js +44 -0
  458. package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +19 -0
  459. package/dist/serialization/types/GetSimulationTestResponseModel.js +53 -0
  460. package/dist/serialization/types/GetSimulationTestResponseModelDynamicVariablesValue.d.ts +7 -0
  461. package/dist/serialization/types/GetSimulationTestResponseModelDynamicVariablesValue.js +44 -0
  462. package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +19 -0
  463. package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +53 -0
  464. package/dist/serialization/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.d.ts +7 -0
  465. package/dist/serialization/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.js +44 -0
  466. package/dist/serialization/types/GuardrailsV1Input.d.ts +4 -0
  467. package/dist/serialization/types/GuardrailsV1Input.js +4 -0
  468. package/dist/serialization/types/GuardrailsV1Output.d.ts +4 -0
  469. package/dist/serialization/types/GuardrailsV1Output.js +4 -0
  470. package/dist/serialization/types/MergingStrategy.d.ts +7 -0
  471. package/dist/serialization/types/MergingStrategy.js +39 -0
  472. package/dist/serialization/types/MultiSourceConfigJson.d.ts +17 -0
  473. package/dist/serialization/types/MultiSourceConfigJson.js +49 -0
  474. package/dist/serialization/types/PendingClipTask.d.ts +14 -0
  475. package/dist/serialization/types/PendingClipTask.js +46 -0
  476. package/dist/serialization/types/PendingClipTaskType.d.ts +7 -0
  477. package/dist/serialization/types/PendingClipTaskType.js +39 -0
  478. package/dist/serialization/types/PermissionType.d.ts +1 -1
  479. package/dist/serialization/types/PermissionType.js +1 -0
  480. package/dist/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  481. package/dist/serialization/types/PhoneNumberTransfer.js +2 -0
  482. package/dist/serialization/types/PhoneNumberTransferPostDialDigits.d.ts +15 -0
  483. package/dist/serialization/types/PhoneNumberTransferPostDialDigits.js +49 -0
  484. package/dist/serialization/types/PostDialDigitsDynamicVariable.d.ts +9 -0
  485. package/dist/serialization/types/{SimilarVoiceCategory.js → PostDialDigitsDynamicVariable.js} +4 -2
  486. package/dist/serialization/types/PostDialDigitsStatic.d.ts +9 -0
  487. package/dist/serialization/types/PostDialDigitsStatic.js +41 -0
  488. package/dist/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
  489. package/dist/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
  490. package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -0
  491. package/dist/serialization/types/ProjectExternalAudioResponseModel.js +2 -0
  492. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +3 -0
  493. package/dist/serialization/types/ProjectVideoResponseModel.js +3 -0
  494. package/dist/serialization/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +10 -0
  495. package/dist/serialization/types/PronunciationDictionaryAliasRuleResponseModel.js +42 -0
  496. package/dist/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +11 -0
  497. package/dist/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.js +43 -0
  498. package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  499. package/dist/serialization/types/ReferencedToolCommonModelType.js +1 -1
  500. package/dist/serialization/types/ResourceMetadataResponseModel.d.ts +1 -0
  501. package/dist/serialization/types/ResourceMetadataResponseModel.js +1 -0
  502. package/dist/serialization/types/ResponseUnitTestModel.d.ts +19 -0
  503. package/{serialization/types/UnitTestCommonModel.js → dist/serialization/types/ResponseUnitTestModel.js} +9 -14
  504. package/dist/serialization/types/ResponseUnitTestModelDynamicVariablesValue.d.ts +7 -0
  505. package/dist/serialization/types/{GetUnitTestResponseModelDynamicVariablesValue.js → ResponseUnitTestModelDynamicVariablesValue.js} +2 -2
  506. package/dist/serialization/types/SearchDocumentationToolConfigInput.d.ts +22 -0
  507. package/dist/serialization/types/SearchDocumentationToolConfigInput.js +54 -0
  508. package/dist/serialization/types/SearchDocumentationToolConfigOutput.d.ts +20 -0
  509. package/dist/serialization/types/SearchDocumentationToolConfigOutput.js +52 -0
  510. package/dist/serialization/types/SimilarVoice.d.ts +2 -2
  511. package/dist/serialization/types/SimilarVoice.js +2 -2
  512. package/dist/serialization/types/SimulationTestModel.d.ts +17 -0
  513. package/dist/serialization/types/SimulationTestModel.js +51 -0
  514. package/dist/serialization/types/SimulationTestModelDynamicVariablesValue.d.ts +7 -0
  515. package/dist/serialization/types/{UnitTestCommonModelDynamicVariablesValue.js → SimulationTestModelDynamicVariablesValue.js} +2 -2
  516. package/dist/serialization/types/SourceConfigJson.d.ts +20 -0
  517. package/dist/serialization/types/SourceConfigJson.js +52 -0
  518. package/dist/serialization/types/SourceRetrievalConfig.d.ts +23 -0
  519. package/dist/serialization/types/SourceRetrievalConfig.js +57 -0
  520. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  521. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
  522. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  523. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
  524. package/dist/serialization/types/TestRunMetadataTestType.d.ts +1 -1
  525. package/dist/serialization/types/TestRunMetadataTestType.js +1 -1
  526. package/dist/serialization/types/TestType.d.ts +7 -0
  527. package/dist/serialization/types/{UnitTestCommonModelType.js → TestType.js} +2 -2
  528. package/dist/serialization/types/ToolCallUnitTestModel.d.ts +17 -0
  529. package/dist/serialization/types/ToolCallUnitTestModel.js +51 -0
  530. package/dist/serialization/types/ToolCallUnitTestModelDynamicVariablesValue.d.ts +7 -0
  531. package/{serialization/types/GetUnitTestResponseModelDynamicVariablesValue.js → dist/serialization/types/ToolCallUnitTestModelDynamicVariablesValue.js} +2 -2
  532. package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
  533. package/dist/serialization/types/ToolRequestModelToolConfig.js +3 -0
  534. package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
  535. package/dist/serialization/types/ToolResponseModelToolConfig.js +3 -0
  536. package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +1 -0
  537. package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.js +1 -0
  538. package/dist/serialization/types/TtsConversationalConfigInput.d.ts +1 -0
  539. package/dist/serialization/types/TtsConversationalConfigInput.js +1 -0
  540. package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +1 -0
  541. package/dist/serialization/types/TtsConversationalConfigOutput.js +1 -0
  542. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +1 -0
  543. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +1 -0
  544. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +1 -0
  545. package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +1 -0
  546. package/dist/serialization/types/UnitTestRunResponseModel.d.ts +2 -2
  547. package/dist/serialization/types/UnitTestRunResponseModel.js +2 -2
  548. package/dist/serialization/types/UnitTestRunResponseModelTestInfo.d.ts +19 -0
  549. package/dist/serialization/types/UnitTestRunResponseModelTestInfo.js +51 -0
  550. package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -2
  551. package/dist/serialization/types/UnitTestSummaryResponseModel.js +2 -2
  552. package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +20 -0
  553. package/dist/serialization/types/UpdateResponseUnitTestRequest.js +54 -0
  554. package/dist/serialization/types/UpdateResponseUnitTestRequestDynamicVariablesValue.d.ts +7 -0
  555. package/dist/serialization/types/UpdateResponseUnitTestRequestDynamicVariablesValue.js +44 -0
  556. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +18 -0
  557. package/dist/serialization/types/UpdateSimulationTestRequest.js +52 -0
  558. package/dist/serialization/types/UpdateSimulationTestRequestDynamicVariablesValue.d.ts +7 -0
  559. package/dist/serialization/types/UpdateSimulationTestRequestDynamicVariablesValue.js +44 -0
  560. package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +18 -0
  561. package/dist/serialization/{resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js → types/UpdateToolCallUnitTestRequest.js} +12 -19
  562. package/dist/serialization/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.d.ts +7 -0
  563. package/dist/serialization/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.js +44 -0
  564. package/dist/serialization/types/{SimilarVoiceCategory.d.ts → VoiceCategory.d.ts} +2 -2
  565. package/dist/serialization/types/VoiceCategory.js +39 -0
  566. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  567. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  568. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.d.ts +15 -0
  569. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.js +49 -0
  570. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  571. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  572. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.d.ts +15 -0
  573. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.js +49 -0
  574. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +7 -0
  575. package/dist/serialization/types/WorkspaceGroupPermission.js +68 -0
  576. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
  577. package/dist/serialization/types/WorkspaceGroupResponseModel.js +48 -0
  578. package/dist/serialization/types/WorkspaceGroupResponseModelGroupUsageLimit.d.ts +7 -0
  579. package/dist/serialization/types/WorkspaceGroupResponseModelGroupUsageLimit.js +42 -0
  580. package/dist/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +2 -0
  581. package/dist/serialization/types/WorkspaceServiceAccountResponseModel.js +2 -0
  582. package/dist/serialization/types/index.d.ts +61 -7
  583. package/dist/serialization/types/index.js +61 -7
  584. package/dist/version.d.ts +1 -1
  585. package/dist/version.js +1 -1
  586. package/dist/wrapper/speechToText.d.ts +10 -0
  587. package/dist/wrapper/speechToText.js +3 -0
  588. package/package.json +1 -1
  589. package/reference.md +98 -38
  590. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
  591. package/serialization/resources/conversationalAi/resources/tests/client/requests/index.d.ts +0 -2
  592. package/serialization/resources/conversationalAi/resources/tests/client/requests/index.js +1 -5
  593. package/serialization/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.d.ts +19 -0
  594. package/{dist/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js → serialization/resources/conversationalAi/resources/tests/types/TestsCreateRequestBody.js} +14 -7
  595. package/serialization/resources/conversationalAi/resources/tests/types/TestsGetResponse.d.ts +19 -0
  596. package/serialization/resources/conversationalAi/resources/tests/types/TestsGetResponse.js +51 -0
  597. package/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateRequestBody.d.ts +19 -0
  598. package/serialization/resources/conversationalAi/resources/tests/types/{CreateUnitTestRequestDynamicVariablesValue.js → TestsUpdateRequestBody.js} +14 -7
  599. package/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.d.ts +19 -0
  600. package/serialization/resources/conversationalAi/resources/tests/types/TestsUpdateResponse.js +51 -0
  601. package/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +4 -2
  602. package/serialization/resources/conversationalAi/resources/tests/types/index.js +4 -2
  603. package/serialization/types/BuiltInToolsInput.d.ts +1 -0
  604. package/serialization/types/BuiltInToolsInput.js +1 -0
  605. package/serialization/types/BuiltInToolsOutput.d.ts +1 -0
  606. package/serialization/types/BuiltInToolsOutput.js +1 -0
  607. package/serialization/types/BuiltInToolsWorkflowOverrideInput.d.ts +1 -0
  608. package/serialization/types/BuiltInToolsWorkflowOverrideInput.js +1 -0
  609. package/serialization/types/BuiltInToolsWorkflowOverrideOutput.d.ts +1 -0
  610. package/serialization/types/BuiltInToolsWorkflowOverrideOutput.js +1 -0
  611. package/serialization/types/ContentConfig.d.ts +16 -0
  612. package/serialization/types/ContentConfig.js +48 -0
  613. package/serialization/types/ContentGuardrailInput.d.ts +10 -0
  614. package/serialization/types/ContentGuardrailInput.js +42 -0
  615. package/serialization/types/ContentGuardrailOutput.d.ts +10 -0
  616. package/serialization/types/ContentGuardrailOutput.js +42 -0
  617. package/serialization/types/ConversationSummaryResponseModel.d.ts +4 -0
  618. package/serialization/types/ConversationSummaryResponseModel.js +4 -0
  619. package/serialization/types/ConversationUserResponseModel.d.ts +14 -0
  620. package/serialization/types/ConversationUserResponseModel.js +46 -0
  621. package/serialization/types/CreateAgentTestResponseModel.d.ts +9 -0
  622. package/serialization/types/{CreateUnitTestResponseModel.js → CreateAgentTestResponseModel.js} +2 -2
  623. package/serialization/types/CreateResponseUnitTestRequest.d.ts +20 -0
  624. package/serialization/types/CreateResponseUnitTestRequest.js +54 -0
  625. package/serialization/types/CreateResponseUnitTestRequestDynamicVariablesValue.d.ts +7 -0
  626. package/serialization/types/CreateResponseUnitTestRequestDynamicVariablesValue.js +44 -0
  627. package/serialization/types/CreateSimulationTestRequest.d.ts +18 -0
  628. package/serialization/types/CreateSimulationTestRequest.js +52 -0
  629. package/serialization/types/CreateSimulationTestRequestDynamicVariablesValue.d.ts +7 -0
  630. package/serialization/types/CreateSimulationTestRequestDynamicVariablesValue.js +44 -0
  631. package/serialization/types/CreateToolCallUnitTestRequest.d.ts +18 -0
  632. package/serialization/{resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js → types/CreateToolCallUnitTestRequest.js} +12 -19
  633. package/serialization/types/CreateToolCallUnitTestRequestDynamicVariablesValue.d.ts +7 -0
  634. package/serialization/types/CreateToolCallUnitTestRequestDynamicVariablesValue.js +44 -0
  635. package/serialization/types/CustomGuardrailConfig.d.ts +13 -0
  636. package/serialization/types/CustomGuardrailConfig.js +45 -0
  637. package/serialization/types/CustomGuardrailConfigModel.d.ts +7 -0
  638. package/serialization/types/CustomGuardrailConfigModel.js +39 -0
  639. package/serialization/types/CustomGuardrailInput.d.ts +10 -0
  640. package/serialization/types/CustomGuardrailInput.js +42 -0
  641. package/serialization/types/CustomGuardrailOutput.d.ts +10 -0
  642. package/serialization/types/CustomGuardrailOutput.js +42 -0
  643. package/serialization/types/CustomGuardrailsConfig.d.ts +10 -0
  644. package/serialization/types/CustomGuardrailsConfig.js +42 -0
  645. package/serialization/types/DefaultSharingGroupResponseModel.d.ts +12 -0
  646. package/serialization/types/DefaultSharingGroupResponseModel.js +44 -0
  647. package/serialization/types/DefaultSharingGroupResponseModelPermissionLevel.d.ts +7 -0
  648. package/serialization/types/DefaultSharingGroupResponseModelPermissionLevel.js +39 -0
  649. package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -1
  650. package/serialization/types/DirectPublishingReadResponseModel.js +1 -1
  651. package/serialization/types/GetConversationResponseModel.d.ts +1 -1
  652. package/serialization/types/GetConversationResponseModel.js +1 -1
  653. package/serialization/types/GetConversationUsersPageResponseModel.d.ts +12 -0
  654. package/serialization/types/GetConversationUsersPageResponseModel.js +44 -0
  655. package/serialization/types/GetPronunciationDictionaryWithRulesResponseModel.d.ts +20 -0
  656. package/serialization/types/GetPronunciationDictionaryWithRulesResponseModel.js +52 -0
  657. package/serialization/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.d.ts +7 -0
  658. package/serialization/types/GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource.js +39 -0
  659. package/serialization/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.d.ts +15 -0
  660. package/serialization/types/GetPronunciationDictionaryWithRulesResponseModelRulesItem.js +49 -0
  661. package/serialization/types/GetResponseUnitTestResponseModel.d.ts +21 -0
  662. package/serialization/types/{GetUnitTestResponseModel.js → GetResponseUnitTestResponseModel.js} +9 -14
  663. package/serialization/types/GetResponseUnitTestResponseModelDynamicVariablesValue.d.ts +7 -0
  664. package/serialization/types/GetResponseUnitTestResponseModelDynamicVariablesValue.js +44 -0
  665. package/serialization/types/GetSimulationTestResponseModel.d.ts +19 -0
  666. package/serialization/types/GetSimulationTestResponseModel.js +53 -0
  667. package/serialization/types/GetSimulationTestResponseModelDynamicVariablesValue.d.ts +7 -0
  668. package/serialization/types/GetSimulationTestResponseModelDynamicVariablesValue.js +44 -0
  669. package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +19 -0
  670. package/serialization/types/GetToolCallUnitTestResponseModel.js +53 -0
  671. package/serialization/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.d.ts +7 -0
  672. package/serialization/types/GetToolCallUnitTestResponseModelDynamicVariablesValue.js +44 -0
  673. package/serialization/types/GuardrailsV1Input.d.ts +4 -0
  674. package/serialization/types/GuardrailsV1Input.js +4 -0
  675. package/serialization/types/GuardrailsV1Output.d.ts +4 -0
  676. package/serialization/types/GuardrailsV1Output.js +4 -0
  677. package/serialization/types/MergingStrategy.d.ts +7 -0
  678. package/serialization/types/MergingStrategy.js +39 -0
  679. package/serialization/types/MultiSourceConfigJson.d.ts +17 -0
  680. package/serialization/types/MultiSourceConfigJson.js +49 -0
  681. package/serialization/types/PendingClipTask.d.ts +14 -0
  682. package/serialization/types/PendingClipTask.js +46 -0
  683. package/serialization/types/PendingClipTaskType.d.ts +7 -0
  684. package/serialization/types/PendingClipTaskType.js +39 -0
  685. package/serialization/types/PermissionType.d.ts +1 -1
  686. package/serialization/types/PermissionType.js +1 -0
  687. package/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  688. package/serialization/types/PhoneNumberTransfer.js +2 -0
  689. package/serialization/types/PhoneNumberTransferPostDialDigits.d.ts +15 -0
  690. package/serialization/types/PhoneNumberTransferPostDialDigits.js +49 -0
  691. package/serialization/types/PostDialDigitsDynamicVariable.d.ts +9 -0
  692. package/serialization/types/PostDialDigitsDynamicVariable.js +41 -0
  693. package/serialization/types/PostDialDigitsStatic.d.ts +9 -0
  694. package/serialization/types/PostDialDigitsStatic.js +41 -0
  695. package/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
  696. package/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
  697. package/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -0
  698. package/serialization/types/ProjectExternalAudioResponseModel.js +2 -0
  699. package/serialization/types/ProjectVideoResponseModel.d.ts +3 -0
  700. package/serialization/types/ProjectVideoResponseModel.js +3 -0
  701. package/serialization/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +10 -0
  702. package/serialization/types/PronunciationDictionaryAliasRuleResponseModel.js +42 -0
  703. package/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +11 -0
  704. package/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.js +43 -0
  705. package/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  706. package/serialization/types/ReferencedToolCommonModelType.js +1 -1
  707. package/serialization/types/ResourceMetadataResponseModel.d.ts +1 -0
  708. package/serialization/types/ResourceMetadataResponseModel.js +1 -0
  709. package/serialization/types/ResponseUnitTestModel.d.ts +19 -0
  710. package/{dist/serialization/types/GetUnitTestResponseModel.js → serialization/types/ResponseUnitTestModel.js} +9 -16
  711. package/serialization/types/ResponseUnitTestModelDynamicVariablesValue.d.ts +7 -0
  712. package/serialization/types/ResponseUnitTestModelDynamicVariablesValue.js +44 -0
  713. package/serialization/types/SearchDocumentationToolConfigInput.d.ts +22 -0
  714. package/serialization/types/SearchDocumentationToolConfigInput.js +54 -0
  715. package/serialization/types/SearchDocumentationToolConfigOutput.d.ts +20 -0
  716. package/serialization/types/SearchDocumentationToolConfigOutput.js +52 -0
  717. package/serialization/types/SimilarVoice.d.ts +2 -2
  718. package/serialization/types/SimilarVoice.js +2 -2
  719. package/serialization/types/SimulationTestModel.d.ts +17 -0
  720. package/serialization/types/SimulationTestModel.js +51 -0
  721. package/serialization/types/SimulationTestModelDynamicVariablesValue.d.ts +7 -0
  722. package/serialization/types/{UnitTestCommonModelDynamicVariablesValue.js → SimulationTestModelDynamicVariablesValue.js} +2 -2
  723. package/serialization/types/SourceConfigJson.d.ts +20 -0
  724. package/serialization/types/SourceConfigJson.js +52 -0
  725. package/serialization/types/SourceRetrievalConfig.d.ts +23 -0
  726. package/serialization/types/SourceRetrievalConfig.js +57 -0
  727. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  728. package/serialization/types/SystemToolConfigInputParams.js +2 -0
  729. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  730. package/serialization/types/SystemToolConfigOutputParams.js +2 -0
  731. package/serialization/types/TestRunMetadataTestType.d.ts +1 -1
  732. package/serialization/types/TestRunMetadataTestType.js +1 -1
  733. package/serialization/types/TestType.d.ts +7 -0
  734. package/serialization/types/{UnitTestCommonModelType.js → TestType.js} +2 -2
  735. package/serialization/types/ToolCallUnitTestModel.d.ts +17 -0
  736. package/serialization/types/ToolCallUnitTestModel.js +51 -0
  737. package/serialization/types/ToolCallUnitTestModelDynamicVariablesValue.d.ts +7 -0
  738. package/serialization/types/ToolCallUnitTestModelDynamicVariablesValue.js +44 -0
  739. package/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
  740. package/serialization/types/ToolRequestModelToolConfig.js +3 -0
  741. package/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
  742. package/serialization/types/ToolResponseModelToolConfig.js +3 -0
  743. package/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +1 -0
  744. package/serialization/types/TransferToNumberResultTwilioSuccessModel.js +1 -0
  745. package/serialization/types/TtsConversationalConfigInput.d.ts +1 -0
  746. package/serialization/types/TtsConversationalConfigInput.js +1 -0
  747. package/serialization/types/TtsConversationalConfigOutput.d.ts +1 -0
  748. package/serialization/types/TtsConversationalConfigOutput.js +1 -0
  749. package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +1 -0
  750. package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +1 -0
  751. package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +1 -0
  752. package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +1 -0
  753. package/serialization/types/UnitTestRunResponseModel.d.ts +2 -2
  754. package/serialization/types/UnitTestRunResponseModel.js +2 -2
  755. package/serialization/types/UnitTestRunResponseModelTestInfo.d.ts +19 -0
  756. package/serialization/types/UnitTestRunResponseModelTestInfo.js +51 -0
  757. package/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -2
  758. package/serialization/types/UnitTestSummaryResponseModel.js +2 -2
  759. package/serialization/types/UpdateResponseUnitTestRequest.d.ts +20 -0
  760. package/serialization/types/UpdateResponseUnitTestRequest.js +54 -0
  761. package/serialization/types/UpdateResponseUnitTestRequestDynamicVariablesValue.d.ts +7 -0
  762. package/serialization/types/UpdateResponseUnitTestRequestDynamicVariablesValue.js +44 -0
  763. package/serialization/types/UpdateSimulationTestRequest.d.ts +18 -0
  764. package/serialization/types/UpdateSimulationTestRequest.js +52 -0
  765. package/serialization/types/UpdateSimulationTestRequestDynamicVariablesValue.d.ts +7 -0
  766. package/serialization/types/UpdateSimulationTestRequestDynamicVariablesValue.js +44 -0
  767. package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +18 -0
  768. package/{dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js → serialization/types/UpdateToolCallUnitTestRequest.js} +12 -19
  769. package/serialization/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.d.ts +7 -0
  770. package/serialization/types/UpdateToolCallUnitTestRequestDynamicVariablesValue.js +44 -0
  771. package/serialization/types/{SimilarVoiceCategory.d.ts → VoiceCategory.d.ts} +2 -2
  772. package/serialization/types/VoiceCategory.js +39 -0
  773. package/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  774. package/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  775. package/serialization/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.d.ts +15 -0
  776. package/serialization/types/WorkflowPhoneNumberNodeModelInputPostDialDigits.js +49 -0
  777. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  778. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  779. package/serialization/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.d.ts +15 -0
  780. package/serialization/types/WorkflowPhoneNumberNodeModelOutputPostDialDigits.js +49 -0
  781. package/serialization/types/WorkspaceGroupPermission.d.ts +7 -0
  782. package/serialization/types/WorkspaceGroupPermission.js +68 -0
  783. package/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
  784. package/serialization/types/WorkspaceGroupResponseModel.js +48 -0
  785. package/serialization/types/WorkspaceGroupResponseModelGroupUsageLimit.d.ts +7 -0
  786. package/serialization/types/WorkspaceGroupResponseModelGroupUsageLimit.js +42 -0
  787. package/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +2 -0
  788. package/serialization/types/WorkspaceServiceAccountResponseModel.js +2 -0
  789. package/serialization/types/index.d.ts +61 -7
  790. package/serialization/types/index.js +61 -7
  791. package/version.d.ts +1 -1
  792. package/version.js +1 -1
  793. package/wrapper/speechToText.d.ts +10 -0
  794. package/wrapper/speechToText.js +3 -0
  795. package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +0 -39
  796. package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +0 -39
  797. package/api/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -1
  798. package/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -1
  799. package/api/types/CreateUnitTestResponseModel.d.ts +0 -3
  800. package/api/types/GetUnitTestResponseModel.d.ts +0 -21
  801. package/api/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +0 -1
  802. package/api/types/UnitTestCommonModel.d.ts +0 -22
  803. package/api/types/UnitTestCommonModelDynamicVariablesValue.d.ts +0 -1
  804. package/api/types/UnitTestCommonModelType.d.ts +0 -5
  805. package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +0 -39
  806. package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +0 -39
  807. package/dist/api/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -1
  808. package/dist/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -1
  809. package/dist/api/types/CreateUnitTestResponseModel.d.ts +0 -3
  810. package/dist/api/types/GetUnitTestResponseModel.d.ts +0 -21
  811. package/dist/api/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +0 -1
  812. package/dist/api/types/UnitTestCommonModel.d.ts +0 -22
  813. package/dist/api/types/UnitTestCommonModelDynamicVariablesValue.d.ts +0 -1
  814. package/dist/api/types/UnitTestCommonModelType.d.ts +0 -5
  815. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +0 -25
  816. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +0 -25
  817. package/dist/serialization/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -7
  818. package/dist/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -7
  819. package/dist/serialization/types/CreateUnitTestResponseModel.d.ts +0 -9
  820. package/dist/serialization/types/GetUnitTestResponseModel.d.ts +0 -26
  821. package/dist/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +0 -7
  822. package/dist/serialization/types/UnitTestCommonModel.d.ts +0 -24
  823. package/dist/serialization/types/UnitTestCommonModelDynamicVariablesValue.d.ts +0 -7
  824. package/dist/serialization/types/UnitTestCommonModelType.d.ts +0 -7
  825. package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +0 -25
  826. package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +0 -25
  827. package/serialization/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.d.ts +0 -7
  828. package/serialization/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.d.ts +0 -7
  829. package/serialization/types/CreateUnitTestResponseModel.d.ts +0 -9
  830. package/serialization/types/GetUnitTestResponseModel.d.ts +0 -26
  831. package/serialization/types/GetUnitTestResponseModelDynamicVariablesValue.d.ts +0 -7
  832. package/serialization/types/SimilarVoiceCategory.js +0 -39
  833. package/serialization/types/UnitTestCommonModel.d.ts +0 -24
  834. package/serialization/types/UnitTestCommonModelDynamicVariablesValue.d.ts +0 -7
  835. package/serialization/types/UnitTestCommonModelType.d.ts +0 -7
  836. /package/api/resources/conversationalAi/resources/{tests/client/requests/CreateUnitTestRequest.js → agents/client/requests/AgentsGetRequest.js} +0 -0
  837. /package/api/resources/conversationalAi/resources/tests/{client/requests/UpdateUnitTestRequest.js → types/TestsCreateRequestBody.js} +0 -0
  838. /package/api/resources/conversationalAi/resources/tests/types/{CreateUnitTestRequestDynamicVariablesValue.js → TestsGetResponse.js} +0 -0
  839. /package/api/resources/conversationalAi/resources/tests/types/{UpdateUnitTestRequestDynamicVariablesValue.js → TestsUpdateRequestBody.js} +0 -0
  840. /package/api/{types/CreateUnitTestResponseModel.js → resources/conversationalAi/resources/tests/types/TestsUpdateResponse.js} +0 -0
  841. /package/api/{types/GetUnitTestResponseModel.js → resources/conversationalAi/resources/users/client/requests/UsersListRequest.js} +0 -0
  842. /package/api/types/{GetUnitTestResponseModelDynamicVariablesValue.js → ContentConfig.js} +0 -0
  843. /package/api/types/{UnitTestCommonModel.js → ContentGuardrailInput.js} +0 -0
  844. /package/api/types/{UnitTestCommonModelDynamicVariablesValue.js → ContentGuardrailOutput.js} +0 -0
  845. /package/{dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js → api/types/ConversationUserResponseModel.js} +0 -0
  846. /package/{dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js → api/types/CreateAgentTestResponseModel.js} +0 -0
  847. /package/{dist/api/resources/conversationalAi/resources/tests/types/CreateUnitTestRequestDynamicVariablesValue.js → api/types/CreateResponseUnitTestRequest.js} +0 -0
  848. /package/{dist/api/resources/conversationalAi/resources/tests/types/UpdateUnitTestRequestDynamicVariablesValue.js → api/types/CreateResponseUnitTestRequestDynamicVariablesValue.js} +0 -0
  849. /package/{dist/api/types/CreateUnitTestResponseModel.js → api/types/CreateSimulationTestRequest.js} +0 -0
  850. /package/{dist/api/types/GetUnitTestResponseModel.js → api/types/CreateSimulationTestRequestDynamicVariablesValue.js} +0 -0
  851. /package/{dist/api/types/GetUnitTestResponseModelDynamicVariablesValue.js → api/types/CreateToolCallUnitTestRequest.js} +0 -0
  852. /package/{dist/api/types/UnitTestCommonModel.js → api/types/CreateToolCallUnitTestRequestDynamicVariablesValue.js} +0 -0
  853. /package/{dist/api/types/UnitTestCommonModelDynamicVariablesValue.js → api/types/CustomGuardrailConfig.js} +0 -0
@@ -0,0 +1,147 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.UsersClient = void 0;
47
+ const BaseClient_1 = require("../../../../../../BaseClient");
48
+ const core = __importStar(require("../../../../../../core"));
49
+ const headers_1 = require("../../../../../../core/headers");
50
+ const environments = __importStar(require("../../../../../../environments"));
51
+ const handleNonStatusCodeError_1 = require("../../../../../../errors/handleNonStatusCodeError");
52
+ const errors = __importStar(require("../../../../../../errors/index"));
53
+ const serializers = __importStar(require("../../../../../../serialization/index"));
54
+ const ElevenLabs = __importStar(require("../../../../../index"));
55
+ class UsersClient {
56
+ constructor(options = {}) {
57
+ this._options = (0, BaseClient_1.normalizeClientOptions)(options);
58
+ }
59
+ /**
60
+ * Get distinct users from conversations with pagination.
61
+ *
62
+ * @param {ElevenLabs.conversationalAi.UsersListRequest} request
63
+ * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
64
+ *
65
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
66
+ *
67
+ * @example
68
+ * await client.conversationalAi.users.list({
69
+ * agentId: "agent_id",
70
+ * callStartBeforeUnix: 1,
71
+ * callStartAfterUnix: 1,
72
+ * search: "search",
73
+ * pageSize: 1,
74
+ * cursor: "cursor"
75
+ * })
76
+ */
77
+ list(request = {}, requestOptions) {
78
+ return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
79
+ }
80
+ __list() {
81
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
82
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
83
+ const { agentId, callStartBeforeUnix, callStartAfterUnix, search, pageSize, cursor } = request;
84
+ const _queryParams = {};
85
+ if (agentId != null) {
86
+ _queryParams.agent_id = agentId;
87
+ }
88
+ if (callStartBeforeUnix != null) {
89
+ _queryParams.call_start_before_unix = callStartBeforeUnix.toString();
90
+ }
91
+ if (callStartAfterUnix != null) {
92
+ _queryParams.call_start_after_unix = callStartAfterUnix.toString();
93
+ }
94
+ if (search != null) {
95
+ _queryParams.search = search;
96
+ }
97
+ if (pageSize != null) {
98
+ _queryParams.page_size = pageSize.toString();
99
+ }
100
+ if (cursor != null) {
101
+ _queryParams.cursor = cursor;
102
+ }
103
+ 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);
104
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
105
+ 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/users"),
106
+ method: "GET",
107
+ headers: _headers,
108
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
109
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
110
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
111
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
112
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
113
+ logging: this._options.logging,
114
+ });
115
+ if (_response.ok) {
116
+ return {
117
+ data: serializers.GetConversationUsersPageResponseModel.parseOrThrow(_response.body, {
118
+ unrecognizedObjectKeys: "passthrough",
119
+ allowUnrecognizedUnionMembers: true,
120
+ allowUnrecognizedEnumValues: true,
121
+ breadcrumbsPrefix: ["response"],
122
+ }),
123
+ rawResponse: _response.rawResponse,
124
+ };
125
+ }
126
+ if (_response.error.reason === "status-code") {
127
+ switch (_response.error.statusCode) {
128
+ case 422:
129
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
130
+ unrecognizedObjectKeys: "passthrough",
131
+ allowUnrecognizedUnionMembers: true,
132
+ allowUnrecognizedEnumValues: true,
133
+ breadcrumbsPrefix: ["response"],
134
+ }), _response.rawResponse);
135
+ default:
136
+ throw new errors.ElevenLabsError({
137
+ statusCode: _response.error.statusCode,
138
+ body: _response.error.body,
139
+ rawResponse: _response.rawResponse,
140
+ });
141
+ }
142
+ }
143
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/users");
144
+ });
145
+ }
146
+ }
147
+ exports.UsersClient = UsersClient;
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * agentId: "agent_id",
5
+ * callStartBeforeUnix: 1,
6
+ * callStartAfterUnix: 1,
7
+ * search: "search",
8
+ * pageSize: 1,
9
+ * cursor: "cursor"
10
+ * }
11
+ */
12
+ export interface UsersListRequest {
13
+ /** The id of the agent you're taking the action on. */
14
+ agentId?: string;
15
+ /** Unix timestamp (in seconds) to filter conversations up to this start date. */
16
+ callStartBeforeUnix?: number;
17
+ /** Unix timestamp (in seconds) to filter conversations after to this start date. */
18
+ callStartAfterUnix?: number;
19
+ /** Search/filter by user ID (exact match). */
20
+ search?: string;
21
+ /** How many users to return at maximum. Defaults to 30. */
22
+ pageSize?: number;
23
+ /** Used for fetching next page. Cursor is returned in the response. */
24
+ cursor?: string;
25
+ }
@@ -0,0 +1 @@
1
+ export type { UsersListRequest } from "./UsersListRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -60,7 +60,7 @@ export declare class PronunciationDictionariesClient {
60
60
  * @example
61
61
  * await client.pronunciationDictionaries.get("21m00Tcm4TlvDq8ikWAM")
62
62
  */
63
- get(pronunciation_dictionary_id: string, requestOptions?: PronunciationDictionariesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetPronunciationDictionaryMetadataResponse>;
63
+ get(pronunciation_dictionary_id: string, requestOptions?: PronunciationDictionariesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetPronunciationDictionaryWithRulesResponseModel>;
64
64
  private __get;
65
65
  /**
66
66
  * Partially update the pronunciation dictionary without changing the version
@@ -240,7 +240,7 @@ class PronunciationDictionariesClient {
240
240
  });
241
241
  if (_response.ok) {
242
242
  return {
243
- data: serializers.GetPronunciationDictionaryMetadataResponse.parseOrThrow(_response.body, {
243
+ data: serializers.GetPronunciationDictionaryWithRulesResponseModel.parseOrThrow(_response.body, {
244
244
  unrecognizedObjectKeys: "passthrough",
245
245
  allowUnrecognizedUnionMembers: true,
246
246
  allowUnrecognizedEnumValues: true,
@@ -3,7 +3,7 @@
3
3
  * {}
4
4
  */
5
5
  export interface BodyUpdatePronunciationDictionaryV1PronunciationDictionariesPronunciationDictionaryIdPatch {
6
- /** The name of the pronunciation dictionary, used for identification only. */
6
+ /** Whether to archive the pronunciation dictionary. */
7
7
  archived?: boolean;
8
8
  /** The name of the pronunciation dictionary, used for identification only. */
9
9
  name?: string;
@@ -14,4 +14,6 @@ export interface BuiltInToolsInput {
14
14
  playKeypadTouchTone?: ElevenLabs.SystemToolConfigInput;
15
15
  /** The voicemail detection tool */
16
16
  voicemailDetection?: ElevenLabs.SystemToolConfigInput;
17
+ /** The search documentation tool for RAG */
18
+ searchDocumentation?: ElevenLabs.SystemToolConfigInput;
17
19
  }
@@ -14,4 +14,6 @@ export interface BuiltInToolsOutput {
14
14
  playKeypadTouchTone?: ElevenLabs.SystemToolConfigOutput;
15
15
  /** The voicemail detection tool */
16
16
  voicemailDetection?: ElevenLabs.SystemToolConfigOutput;
17
+ /** The search documentation tool for RAG */
18
+ searchDocumentation?: ElevenLabs.SystemToolConfigOutput;
17
19
  }
@@ -14,4 +14,6 @@ export interface BuiltInToolsWorkflowOverrideInput {
14
14
  playKeypadTouchTone?: ElevenLabs.SystemToolConfigInput;
15
15
  /** The voicemail detection tool */
16
16
  voicemailDetection?: ElevenLabs.SystemToolConfigInput;
17
+ /** The search documentation tool for RAG */
18
+ searchDocumentation?: ElevenLabs.SystemToolConfigInput;
17
19
  }
@@ -14,4 +14,6 @@ export interface BuiltInToolsWorkflowOverrideOutput {
14
14
  playKeypadTouchTone?: ElevenLabs.SystemToolConfigOutput;
15
15
  /** The voicemail detection tool */
16
16
  voicemailDetection?: ElevenLabs.SystemToolConfigOutput;
17
+ /** The search documentation tool for RAG */
18
+ searchDocumentation?: ElevenLabs.SystemToolConfigOutput;
17
19
  }
@@ -0,0 +1,10 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface ContentConfig {
3
+ sexual?: ElevenLabs.ThresholdGuardrail;
4
+ violence?: ElevenLabs.ThresholdGuardrail;
5
+ harassment?: ElevenLabs.ThresholdGuardrail;
6
+ selfHarm?: ElevenLabs.ThresholdGuardrail;
7
+ profanity?: ElevenLabs.ThresholdGuardrail;
8
+ religionAndPolitics?: ElevenLabs.ThresholdGuardrail;
9
+ medicalAndLegalInformation?: ElevenLabs.ThresholdGuardrail;
10
+ }
@@ -0,0 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface ContentGuardrailInput {
3
+ config?: ElevenLabs.ContentConfig;
4
+ }
@@ -0,0 +1,4 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface ContentGuardrailOutput {
3
+ config?: ElevenLabs.ContentConfig;
4
+ }
@@ -12,6 +12,9 @@ export interface ConversationSummaryResponseModel {
12
12
  callSuccessful: ElevenLabs.EvaluationSuccessResult;
13
13
  transcriptSummary?: string;
14
14
  callSummaryTitle?: string;
15
+ mainLanguage?: string;
16
+ conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
17
+ toolNames?: string[];
15
18
  direction?: ElevenLabs.ConversationSummaryResponseModelDirection;
16
19
  rating?: number;
17
20
  }
@@ -0,0 +1,8 @@
1
+ export interface ConversationUserResponseModel {
2
+ userId: string;
3
+ lastContactUnixSecs: number;
4
+ firstContactUnixSecs: number;
5
+ conversationCount: number;
6
+ lastAgentId?: string;
7
+ lastAgentName?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ export interface CreateAgentTestResponseModel {
2
+ id: string;
3
+ }
@@ -0,0 +1,15 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface CreateResponseUnitTestRequest {
3
+ /** Metadata of a conversation this test was created from (if applicable). */
4
+ fromConversationMetadata?: ElevenLabs.TestFromConversationMetadataInput;
5
+ /** Dynamic variables to replace in the agent config during testing */
6
+ dynamicVariables?: Record<string, ElevenLabs.CreateResponseUnitTestRequestDynamicVariablesValue | undefined>;
7
+ chatHistory?: ElevenLabs.ConversationHistoryTranscriptCommonModelInput[];
8
+ /** A prompt that evaluates whether the agent's response is successful. Should return True or False. */
9
+ successCondition?: string;
10
+ /** Non-empty list of example responses that should be considered successful */
11
+ successExamples?: ElevenLabs.AgentSuccessfulResponseExample[];
12
+ /** Non-empty list of example responses that should be considered failures */
13
+ failureExamples?: ElevenLabs.AgentFailureResponseExample[];
14
+ name: string;
15
+ }
@@ -0,0 +1 @@
1
+ export type CreateResponseUnitTestRequestDynamicVariablesValue = string | number | number | boolean;
@@ -0,0 +1,15 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface CreateSimulationTestRequest {
3
+ /** Metadata of a conversation this test was created from (if applicable). */
4
+ fromConversationMetadata?: ElevenLabs.TestFromConversationMetadataInput;
5
+ /** Dynamic variables to replace in the agent config during testing */
6
+ dynamicVariables?: Record<string, ElevenLabs.CreateSimulationTestRequestDynamicVariablesValue | undefined>;
7
+ chatHistory?: ElevenLabs.ConversationHistoryTranscriptCommonModelInput[];
8
+ /** A prompt that evaluates whether the agent's response is successful. Should return True or False. */
9
+ successCondition?: string;
10
+ /** Description of the simulation scenario and user persona for simulation tests. */
11
+ simulationScenario?: string;
12
+ /** Maximum number of conversation turns for simulation tests. */
13
+ simulationMaxTurns?: number;
14
+ name: string;
15
+ }
@@ -0,0 +1 @@
1
+ export type CreateSimulationTestRequestDynamicVariablesValue = string | number | number | boolean;
@@ -0,0 +1,13 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface CreateToolCallUnitTestRequest {
3
+ /** Metadata of a conversation this test was created from (if applicable). */
4
+ fromConversationMetadata?: ElevenLabs.TestFromConversationMetadataInput;
5
+ /** Dynamic variables to replace in the agent config during testing */
6
+ dynamicVariables?: Record<string, ElevenLabs.CreateToolCallUnitTestRequestDynamicVariablesValue | undefined>;
7
+ chatHistory?: ElevenLabs.ConversationHistoryTranscriptCommonModelInput[];
8
+ /** How to evaluate the agent's tool call (if any). If empty, the tool call is not evaluated. */
9
+ toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelInput;
10
+ /** If set to True this test will pass if any tool call returned by the LLM matches the criteria. Otherwise it will fail if more than one tool is returned by the agent. */
11
+ checkAnyToolMatches?: boolean;
12
+ name: string;
13
+ }
@@ -0,0 +1 @@
1
+ export type CreateToolCallUnitTestRequestDynamicVariablesValue = string | number | number | boolean;
@@ -0,0 +1,13 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Single custom guardrail configuration
4
+ */
5
+ export interface CustomGuardrailConfig {
6
+ isEnabled?: boolean;
7
+ /** User-facing name for this guardrail */
8
+ name: string;
9
+ /** Instruction describing what to block, e.g. 'don't talk about politics' */
10
+ prompt: string;
11
+ /** LLM model to use for custom guardrail evaluation */
12
+ model: ElevenLabs.CustomGuardrailConfigModel;
13
+ }
@@ -0,0 +1,6 @@
1
+ /** LLM model to use for custom guardrail evaluation */
2
+ export declare const CustomGuardrailConfigModel: {
3
+ readonly Gemini25FlashLite: "gemini-2.5-flash-lite";
4
+ readonly Gemini20Flash: "gemini-2.0-flash";
5
+ };
6
+ export type CustomGuardrailConfigModel = (typeof CustomGuardrailConfigModel)[keyof typeof CustomGuardrailConfigModel];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CustomGuardrailConfigModel = void 0;
5
+ /** LLM model to use for custom guardrail evaluation */
6
+ exports.CustomGuardrailConfigModel = {
7
+ Gemini25FlashLite: "gemini-2.5-flash-lite",
8
+ Gemini20Flash: "gemini-2.0-flash",
9
+ };
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Container for custom guardrails, matching ModerationGuardrail pattern
4
+ */
5
+ export interface CustomGuardrailInput {
6
+ config?: ElevenLabs.CustomGuardrailsConfig;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Container for custom guardrails, matching ModerationGuardrail pattern
4
+ */
5
+ export interface CustomGuardrailOutput {
6
+ config?: ElevenLabs.CustomGuardrailsConfig;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../index";
2
+ /**
3
+ * Config container for custom guardrails list
4
+ */
5
+ export interface CustomGuardrailsConfig {
6
+ configs?: ElevenLabs.CustomGuardrailConfig[];
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface DefaultSharingGroupResponseModel {
3
+ /** The group to share with by default */
4
+ group: ElevenLabs.WorkspaceGroupResponseModel;
5
+ /** The permission level to grant to the group */
6
+ permissionLevel: ElevenLabs.DefaultSharingGroupResponseModelPermissionLevel;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /** The permission level to grant to the group */
2
+ export declare const DefaultSharingGroupResponseModelPermissionLevel: {
3
+ readonly Admin: "admin";
4
+ readonly Editor: "editor";
5
+ readonly Viewer: "viewer";
6
+ };
7
+ export type DefaultSharingGroupResponseModelPermissionLevel = (typeof DefaultSharingGroupResponseModelPermissionLevel)[keyof typeof DefaultSharingGroupResponseModelPermissionLevel];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DefaultSharingGroupResponseModelPermissionLevel = void 0;
5
+ /** The permission level to grant to the group */
6
+ exports.DefaultSharingGroupResponseModelPermissionLevel = {
7
+ Admin: "admin",
8
+ Editor: "editor",
9
+ Viewer: "viewer",
10
+ };
@@ -32,7 +32,7 @@ export interface DirectPublishingReadResponseModel {
32
32
  publisher?: string;
33
33
  copyright?: string;
34
34
  subtitle?: string;
35
- distributionTerritories?: "worldwide"[];
35
+ distributionTerritories?: string[];
36
36
  edition?: string;
37
37
  contributors?: ElevenLabs.Contributor[];
38
38
  payoutType?: ElevenLabs.DirectPublishingReadResponseModelPayoutType;
@@ -2,7 +2,6 @@ import type * as ElevenLabs from "../index";
2
2
  export interface GetConversationResponseModel {
3
3
  agentId: string;
4
4
  agentName?: string;
5
- conversationId: string;
6
5
  status: ElevenLabs.GetConversationResponseModelStatus;
7
6
  userId?: string;
8
7
  branchId?: string;
@@ -12,6 +11,7 @@ export interface GetConversationResponseModel {
12
11
  metadata: ElevenLabs.ConversationHistoryMetadataCommonModel;
13
12
  analysis?: ElevenLabs.ConversationHistoryAnalysisCommonModel;
14
13
  conversationInitiationClientData?: ElevenLabs.ConversationInitiationClientDataRequestOutput;
14
+ conversationId: string;
15
15
  hasAudio: boolean;
16
16
  hasUserAudio: boolean;
17
17
  hasResponseAudio: boolean;
@@ -0,0 +1,6 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface GetConversationUsersPageResponseModel {
3
+ users: ElevenLabs.ConversationUserResponseModel[];
4
+ nextCursor?: string;
5
+ hasMore: boolean;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface GetPronunciationDictionaryWithRulesResponseModel {
3
+ /** The ID of the pronunciation dictionary. */
4
+ id: string;
5
+ /** The ID of the latest version of the pronunciation dictionary. */
6
+ latestVersionId: string;
7
+ /** The number of rules in the latest version of the pronunciation dictionary. */
8
+ latestVersionRulesNum: number;
9
+ /** The name of the pronunciation dictionary. */
10
+ name: string;
11
+ /** The permission on the resource of the pronunciation dictionary. */
12
+ permissionOnResource?: ElevenLabs.GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource;
13
+ /** The user ID of the creator of the pronunciation dictionary. */
14
+ createdBy: string;
15
+ /** The creation time of the pronunciation dictionary in Unix timestamp. */
16
+ creationTimeUnix: number;
17
+ /** The archive time of the pronunciation dictionary in Unix timestamp. */
18
+ archivedTimeUnix?: number;
19
+ /** The description of the pronunciation dictionary. */
20
+ description?: string;
21
+ /** The rules in the latest version of the pronunciation dictionary. */
22
+ rules: ElevenLabs.GetPronunciationDictionaryWithRulesResponseModelRulesItem[];
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export declare const GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource: {
2
+ readonly Admin: "admin";
3
+ readonly Editor: "editor";
4
+ readonly Commenter: "commenter";
5
+ readonly Viewer: "viewer";
6
+ };
7
+ export type GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource = (typeof GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource)[keyof typeof GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource = void 0;
5
+ exports.GetPronunciationDictionaryWithRulesResponseModelPermissionOnResource = {
6
+ Admin: "admin",
7
+ Editor: "editor",
8
+ Commenter: "commenter",
9
+ Viewer: "viewer",
10
+ };
@@ -0,0 +1,10 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export type GetPronunciationDictionaryWithRulesResponseModelRulesItem = ElevenLabs.GetPronunciationDictionaryWithRulesResponseModelRulesItem.Alias | ElevenLabs.GetPronunciationDictionaryWithRulesResponseModelRulesItem.Phoneme;
3
+ export declare namespace GetPronunciationDictionaryWithRulesResponseModelRulesItem {
4
+ interface Alias extends ElevenLabs.PronunciationDictionaryAliasRuleResponseModel {
5
+ type: "alias";
6
+ }
7
+ interface Phoneme extends ElevenLabs.PronunciationDictionaryPhonemeRuleResponseModel {
8
+ type: "phoneme";
9
+ }
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });