@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
package/BaseClient.js CHANGED
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
41
41
  const headers = (0, headers_1.mergeHeaders)({
42
42
  "X-Fern-Language": "JavaScript",
43
43
  "X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
44
- "X-Fern-SDK-Version": "v2.35.0",
45
- "User-Agent": "@elevenlabs/elevenlabs-js/v2.35.0",
44
+ "X-Fern-SDK-Version": "v2.36.0",
45
+ "User-Agent": "@elevenlabs/elevenlabs-js/v2.36.0",
46
46
  "X-Fern-Runtime": core.RUNTIME.type,
47
47
  "X-Fern-Runtime-Version": core.RUNTIME.version,
48
48
  "xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
@@ -17,6 +17,7 @@ import { SipTrunkClient } from "../resources/sipTrunk/client/Client";
17
17
  import { TestsClient } from "../resources/tests/client/Client";
18
18
  import { ToolsClient } from "../resources/tools/client/Client";
19
19
  import { TwilioClient } from "../resources/twilio/client/Client";
20
+ import { UsersClient } from "../resources/users/client/Client";
20
21
  import { WhatsappClient } from "../resources/whatsapp/client/Client";
21
22
  import { WhatsappAccountsClient } from "../resources/whatsappAccounts/client/Client";
22
23
  export declare namespace ConversationalAiClient {
@@ -31,6 +32,7 @@ export declare class ConversationalAiClient {
31
32
  protected _whatsapp: WhatsappClient | undefined;
32
33
  protected _agents: AgentsClient | undefined;
33
34
  protected _tests: TestsClient | undefined;
35
+ protected _users: UsersClient | undefined;
34
36
  protected _phoneNumbers: PhoneNumbersClient | undefined;
35
37
  protected _llmUsage: LlmUsageClient | undefined;
36
38
  protected _knowledgeBase: KnowledgeBaseClient | undefined;
@@ -49,6 +51,7 @@ export declare class ConversationalAiClient {
49
51
  get whatsapp(): WhatsappClient;
50
52
  get agents(): AgentsClient;
51
53
  get tests(): TestsClient;
54
+ get users(): UsersClient;
52
55
  get phoneNumbers(): PhoneNumbersClient;
53
56
  get llmUsage(): LlmUsageClient;
54
57
  get knowledgeBase(): KnowledgeBaseClient;
@@ -67,8 +67,9 @@ const Client_12 = require("../resources/sipTrunk/client/Client");
67
67
  const Client_13 = require("../resources/tests/client/Client");
68
68
  const Client_14 = require("../resources/tools/client/Client");
69
69
  const Client_15 = require("../resources/twilio/client/Client");
70
- const Client_16 = require("../resources/whatsapp/client/Client");
71
- const Client_17 = require("../resources/whatsappAccounts/client/Client");
70
+ const Client_16 = require("../resources/users/client/Client");
71
+ const Client_17 = require("../resources/whatsapp/client/Client");
72
+ const Client_18 = require("../resources/whatsappAccounts/client/Client");
72
73
  class ConversationalAiClient {
73
74
  constructor(options = {}) {
74
75
  this._options = (0, BaseClient_1.normalizeClientOptions)(options);
@@ -83,7 +84,7 @@ class ConversationalAiClient {
83
84
  }
84
85
  get whatsapp() {
85
86
  var _a;
86
- return ((_a = this._whatsapp) !== null && _a !== void 0 ? _a : (this._whatsapp = new Client_16.WhatsappClient(this._options)));
87
+ return ((_a = this._whatsapp) !== null && _a !== void 0 ? _a : (this._whatsapp = new Client_17.WhatsappClient(this._options)));
87
88
  }
88
89
  get agents() {
89
90
  var _a;
@@ -93,6 +94,10 @@ class ConversationalAiClient {
93
94
  var _a;
94
95
  return ((_a = this._tests) !== null && _a !== void 0 ? _a : (this._tests = new Client_13.TestsClient(this._options)));
95
96
  }
97
+ get users() {
98
+ var _a;
99
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_16.UsersClient(this._options)));
100
+ }
96
101
  get phoneNumbers() {
97
102
  var _a;
98
103
  return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_9.PhoneNumbersClient(this._options)));
@@ -131,7 +136,7 @@ class ConversationalAiClient {
131
136
  }
132
137
  get whatsappAccounts() {
133
138
  var _a;
134
- return ((_a = this._whatsappAccounts) !== null && _a !== void 0 ? _a : (this._whatsappAccounts = new Client_17.WhatsappAccountsClient(this._options)));
139
+ return ((_a = this._whatsappAccounts) !== null && _a !== void 0 ? _a : (this._whatsappAccounts = new Client_18.WhatsappAccountsClient(this._options)));
135
140
  }
136
141
  get analytics() {
137
142
  var _a;
@@ -53,14 +53,18 @@ export declare class AgentsClient {
53
53
  * Retrieve config for an agent
54
54
  *
55
55
  * @param {string} agent_id - The id of an agent. This is returned on agent creation.
56
+ * @param {ElevenLabs.conversationalAi.AgentsGetRequest} request
56
57
  * @param {AgentsClient.RequestOptions} requestOptions - Request-specific configuration.
57
58
  *
58
59
  * @throws {@link ElevenLabs.UnprocessableEntityError}
59
60
  *
60
61
  * @example
61
- * await client.conversationalAi.agents.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz")
62
+ * await client.conversationalAi.agents.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
63
+ * versionId: "version_id",
64
+ * branchId: "branch_id"
65
+ * })
62
66
  */
63
- get(agent_id: string, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetAgentResponseModel>;
67
+ get(agent_id: string, request?: ElevenLabs.conversationalAi.AgentsGetRequest, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetAgentResponseModel>;
64
68
  private __get;
65
69
  /**
66
70
  * Delete an agent
@@ -85,7 +89,9 @@ export declare class AgentsClient {
85
89
  * @throws {@link ElevenLabs.UnprocessableEntityError}
86
90
  *
87
91
  * @example
88
- * await client.conversationalAi.agents.update("agent_3701k3ttaq12ewp8b7qv5rfyszkz")
92
+ * await client.conversationalAi.agents.update("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
93
+ * branchId: "branch_id"
94
+ * })
89
95
  */
90
96
  update(agent_id: string, request?: ElevenLabs.conversationalAi.UpdateAgentRequest, requestOptions?: AgentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetAgentResponseModel>;
91
97
  private __update;
@@ -42,6 +42,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
42
42
  step((generator = generator.apply(thisArg, _arguments || [])).next());
43
43
  });
44
44
  };
45
+ var __rest = (this && this.__rest) || function (s, e) {
46
+ var t = {};
47
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
+ t[p] = s[p];
49
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
+ t[p[i]] = s[p[i]];
53
+ }
54
+ return t;
55
+ };
45
56
  Object.defineProperty(exports, "__esModule", { value: true });
46
57
  exports.AgentsClient = void 0;
47
58
  const BaseClient_1 = require("../../../../../../BaseClient");
@@ -167,25 +178,37 @@ class AgentsClient {
167
178
  * Retrieve config for an agent
168
179
  *
169
180
  * @param {string} agent_id - The id of an agent. This is returned on agent creation.
181
+ * @param {ElevenLabs.conversationalAi.AgentsGetRequest} request
170
182
  * @param {AgentsClient.RequestOptions} requestOptions - Request-specific configuration.
171
183
  *
172
184
  * @throws {@link ElevenLabs.UnprocessableEntityError}
173
185
  *
174
186
  * @example
175
- * await client.conversationalAi.agents.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz")
187
+ * await client.conversationalAi.agents.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
188
+ * versionId: "version_id",
189
+ * branchId: "branch_id"
190
+ * })
176
191
  */
177
- get(agent_id, requestOptions) {
178
- return core.HttpResponsePromise.fromPromise(this.__get(agent_id, requestOptions));
192
+ get(agent_id, request = {}, requestOptions) {
193
+ return core.HttpResponsePromise.fromPromise(this.__get(agent_id, request, requestOptions));
179
194
  }
180
- __get(agent_id, requestOptions) {
181
- return __awaiter(this, void 0, void 0, function* () {
195
+ __get(agent_id_1) {
196
+ return __awaiter(this, arguments, void 0, function* (agent_id, request = {}, requestOptions) {
182
197
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
198
+ const { versionId, branchId } = request;
199
+ const _queryParams = {};
200
+ if (versionId != null) {
201
+ _queryParams.version_id = versionId;
202
+ }
203
+ if (branchId != null) {
204
+ _queryParams.branch_id = branchId;
205
+ }
183
206
  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);
184
207
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
185
208
  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/agents/${core.url.encodePathParam(agent_id)}`),
186
209
  method: "GET",
187
210
  headers: _headers,
188
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
211
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
189
212
  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,
190
213
  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,
191
214
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -285,7 +308,9 @@ class AgentsClient {
285
308
  * @throws {@link ElevenLabs.UnprocessableEntityError}
286
309
  *
287
310
  * @example
288
- * await client.conversationalAi.agents.update("agent_3701k3ttaq12ewp8b7qv5rfyszkz")
311
+ * await client.conversationalAi.agents.update("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
312
+ * branchId: "branch_id"
313
+ * })
289
314
  */
290
315
  update(agent_id, request = {}, requestOptions) {
291
316
  return core.HttpResponsePromise.fromPromise(this.__update(agent_id, request, requestOptions));
@@ -293,15 +318,20 @@ class AgentsClient {
293
318
  __update(agent_id_1) {
294
319
  return __awaiter(this, arguments, void 0, function* (agent_id, request = {}, requestOptions) {
295
320
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
321
+ const { branchId } = request, _body = __rest(request, ["branchId"]);
322
+ const _queryParams = {};
323
+ if (branchId != null) {
324
+ _queryParams.branch_id = branchId;
325
+ }
296
326
  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);
297
327
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
298
328
  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/agents/${core.url.encodePathParam(agent_id)}`),
299
329
  method: "PATCH",
300
330
  headers: _headers,
301
331
  contentType: "application/json",
302
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
332
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
303
333
  requestType: "json",
304
- body: serializers.conversationalAi.UpdateAgentRequest.jsonOrThrow(request, {
334
+ body: serializers.conversationalAi.UpdateAgentRequest.jsonOrThrow(_body, {
305
335
  unrecognizedObjectKeys: "strip",
306
336
  }),
307
337
  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,
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * versionId: "version_id",
5
+ * branchId: "branch_id"
6
+ * }
7
+ */
8
+ export interface AgentsGetRequest {
9
+ /** The ID of the agent version to use */
10
+ versionId?: string;
11
+ /** The ID of the branch to use */
12
+ branchId?: string;
13
+ }
@@ -1,9 +1,13 @@
1
1
  import type * as ElevenLabs from "../../../../../../index";
2
2
  /**
3
3
  * @example
4
- * {}
4
+ * {
5
+ * branchId: "branch_id"
6
+ * }
5
7
  */
6
8
  export interface UpdateAgentRequest {
9
+ /** The ID of the branch to use */
10
+ branchId?: string;
7
11
  /** Conversation configuration for an agent */
8
12
  conversationConfig?: ElevenLabs.ConversationalConfig;
9
13
  /** Platform settings for the agent are all settings that aren't related to the conversation orchestration and content. */
@@ -1,3 +1,4 @@
1
+ export type { AgentsGetRequest } from "./AgentsGetRequest";
1
2
  export type { AgentsListRequest } from "./AgentsListRequest";
2
3
  export type { BodyCreateAgentV1ConvaiAgentsCreatePost } from "./BodyCreateAgentV1ConvaiAgentsCreatePost";
3
4
  export type { BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost } from "./BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost";
@@ -33,6 +33,8 @@ export * from "./tools/client/requests";
33
33
  export * as twilio from "./twilio";
34
34
  export * from "./twilio/client/requests";
35
35
  export * from "./twilio/types";
36
+ export * as users from "./users";
37
+ export * from "./users/client/requests";
36
38
  export * as whatsapp from "./whatsapp";
37
39
  export * from "./whatsapp/client/requests";
38
40
  export * from "./whatsapp/types";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.whatsappAccounts = exports.whatsapp = exports.twilio = exports.tools = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.analytics = exports.agents = void 0;
39
+ exports.whatsappAccounts = exports.whatsapp = exports.users = exports.twilio = exports.tools = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.analytics = exports.agents = void 0;
40
40
  exports.agents = __importStar(require("./agents"));
41
41
  __exportStar(require("./agents/client/requests"), exports);
42
42
  __exportStar(require("./agents/types"), exports);
@@ -72,6 +72,8 @@ __exportStar(require("./tools/client/requests"), exports);
72
72
  exports.twilio = __importStar(require("./twilio"));
73
73
  __exportStar(require("./twilio/client/requests"), exports);
74
74
  __exportStar(require("./twilio/types"), exports);
75
+ exports.users = __importStar(require("./users"));
76
+ __exportStar(require("./users/client/requests"), exports);
75
77
  exports.whatsapp = __importStar(require("./whatsapp"));
76
78
  __exportStar(require("./whatsapp/client/requests"), exports);
77
79
  __exportStar(require("./whatsapp/types"), exports);
@@ -94,7 +94,7 @@ export declare class DocumentsClient {
94
94
  get(documentation_id: string, request?: ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetRequest, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetResponse>;
95
95
  private __get;
96
96
  /**
97
- * Delete a document from the knowledge base
97
+ * Delete a document or folder from the knowledge base.
98
98
  *
99
99
  * @param {string} documentation_id - The id of a document from the knowledge base. This is returned on document addition.
100
100
  * @param {ElevenLabs.conversationalAi.knowledgeBase.DocumentsDeleteRequest} request
@@ -405,7 +405,7 @@ class DocumentsClient {
405
405
  });
406
406
  }
407
407
  /**
408
- * Delete a document from the knowledge base
408
+ * Delete a document or folder from the knowledge base.
409
409
  *
410
410
  * @param {string} documentation_id - The id of a document from the knowledge base. This is returned on document addition.
411
411
  * @param {ElevenLabs.conversationalAi.knowledgeBase.DocumentsDeleteRequest} request
@@ -5,6 +5,6 @@
5
5
  * }
6
6
  */
7
7
  export interface DocumentsDeleteRequest {
8
- /** If set to true, the document will be deleted regardless of whether it is used by any agents and it will be deleted from the dependent agents. */
8
+ /** If set to true, the document or folder will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents. For non-empty folders, this will also delete all child documents and folders. */
9
9
  force?: boolean;
10
10
  }
@@ -16,30 +16,18 @@ export declare class TestsClient {
16
16
  /**
17
17
  * Creates a new agent response test.
18
18
  *
19
- * @param {ElevenLabs.conversationalAi.CreateUnitTestRequest} request
19
+ * @param {ElevenLabs.conversationalAi.TestsCreateRequestBody} request
20
20
  * @param {TestsClient.RequestOptions} requestOptions - Request-specific configuration.
21
21
  *
22
22
  * @throws {@link ElevenLabs.UnprocessableEntityError}
23
23
  *
24
24
  * @example
25
25
  * await client.conversationalAi.tests.create({
26
- * chatHistory: [{
27
- * role: "user",
28
- * timeInCallSecs: 1
29
- * }],
30
- * successCondition: "success_condition",
31
- * successExamples: [{
32
- * response: "response",
33
- * type: "success"
34
- * }],
35
- * failureExamples: [{
36
- * response: "response",
37
- * type: "failure"
38
- * }],
26
+ * type: "llm",
39
27
  * name: "name"
40
28
  * })
41
29
  */
42
- create(request: ElevenLabs.conversationalAi.CreateUnitTestRequest, requestOptions?: TestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.CreateUnitTestResponseModel>;
30
+ create(request: ElevenLabs.conversationalAi.TestsCreateRequestBody, requestOptions?: TestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.CreateAgentTestResponseModel>;
43
31
  private __create;
44
32
  /**
45
33
  * Gets an agent response test by ID.
@@ -52,36 +40,24 @@ export declare class TestsClient {
52
40
  * @example
53
41
  * await client.conversationalAi.tests.get("TeaqRRdTcIfIu2i7BYfT")
54
42
  */
55
- get(test_id: string, requestOptions?: TestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetUnitTestResponseModel>;
43
+ get(test_id: string, requestOptions?: TestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.conversationalAi.TestsGetResponse>;
56
44
  private __get;
57
45
  /**
58
46
  * Updates an agent response test by ID.
59
47
  *
60
48
  * @param {string} test_id - The id of a chat response test. This is returned on test creation.
61
- * @param {ElevenLabs.conversationalAi.UpdateUnitTestRequest} request
49
+ * @param {ElevenLabs.conversationalAi.TestsUpdateRequestBody} request
62
50
  * @param {TestsClient.RequestOptions} requestOptions - Request-specific configuration.
63
51
  *
64
52
  * @throws {@link ElevenLabs.UnprocessableEntityError}
65
53
  *
66
54
  * @example
67
55
  * await client.conversationalAi.tests.update("TeaqRRdTcIfIu2i7BYfT", {
68
- * chatHistory: [{
69
- * role: "user",
70
- * timeInCallSecs: 1
71
- * }],
72
- * successCondition: "success_condition",
73
- * successExamples: [{
74
- * response: "response",
75
- * type: "success"
76
- * }],
77
- * failureExamples: [{
78
- * response: "response",
79
- * type: "failure"
80
- * }],
56
+ * type: "llm",
81
57
  * name: "name"
82
58
  * })
83
59
  */
84
- update(test_id: string, request: ElevenLabs.conversationalAi.UpdateUnitTestRequest, requestOptions?: TestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetUnitTestResponseModel>;
60
+ update(test_id: string, request: ElevenLabs.conversationalAi.TestsUpdateRequestBody, requestOptions?: TestsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.conversationalAi.TestsUpdateResponse>;
85
61
  private __update;
86
62
  /**
87
63
  * Deletes an agent response test by ID.
@@ -64,26 +64,14 @@ class TestsClient {
64
64
  /**
65
65
  * Creates a new agent response test.
66
66
  *
67
- * @param {ElevenLabs.conversationalAi.CreateUnitTestRequest} request
67
+ * @param {ElevenLabs.conversationalAi.TestsCreateRequestBody} request
68
68
  * @param {TestsClient.RequestOptions} requestOptions - Request-specific configuration.
69
69
  *
70
70
  * @throws {@link ElevenLabs.UnprocessableEntityError}
71
71
  *
72
72
  * @example
73
73
  * await client.conversationalAi.tests.create({
74
- * chatHistory: [{
75
- * role: "user",
76
- * timeInCallSecs: 1
77
- * }],
78
- * successCondition: "success_condition",
79
- * successExamples: [{
80
- * response: "response",
81
- * type: "success"
82
- * }],
83
- * failureExamples: [{
84
- * response: "response",
85
- * type: "failure"
86
- * }],
74
+ * type: "llm",
87
75
  * name: "name"
88
76
  * })
89
77
  */
@@ -101,7 +89,7 @@ class TestsClient {
101
89
  contentType: "application/json",
102
90
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
103
91
  requestType: "json",
104
- body: serializers.conversationalAi.CreateUnitTestRequest.jsonOrThrow(request, {
92
+ body: serializers.conversationalAi.TestsCreateRequestBody.jsonOrThrow(request, {
105
93
  unrecognizedObjectKeys: "strip",
106
94
  }),
107
95
  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,
@@ -112,7 +100,7 @@ class TestsClient {
112
100
  });
113
101
  if (_response.ok) {
114
102
  return {
115
- data: serializers.CreateUnitTestResponseModel.parseOrThrow(_response.body, {
103
+ data: serializers.CreateAgentTestResponseModel.parseOrThrow(_response.body, {
116
104
  unrecognizedObjectKeys: "passthrough",
117
105
  allowUnrecognizedUnionMembers: true,
118
106
  allowUnrecognizedEnumValues: true,
@@ -172,7 +160,7 @@ class TestsClient {
172
160
  });
173
161
  if (_response.ok) {
174
162
  return {
175
- data: serializers.GetUnitTestResponseModel.parseOrThrow(_response.body, {
163
+ data: serializers.conversationalAi.TestsGetResponse.parseOrThrow(_response.body, {
176
164
  unrecognizedObjectKeys: "passthrough",
177
165
  allowUnrecognizedUnionMembers: true,
178
166
  allowUnrecognizedEnumValues: true,
@@ -205,26 +193,14 @@ class TestsClient {
205
193
  * Updates an agent response test by ID.
206
194
  *
207
195
  * @param {string} test_id - The id of a chat response test. This is returned on test creation.
208
- * @param {ElevenLabs.conversationalAi.UpdateUnitTestRequest} request
196
+ * @param {ElevenLabs.conversationalAi.TestsUpdateRequestBody} request
209
197
  * @param {TestsClient.RequestOptions} requestOptions - Request-specific configuration.
210
198
  *
211
199
  * @throws {@link ElevenLabs.UnprocessableEntityError}
212
200
  *
213
201
  * @example
214
202
  * await client.conversationalAi.tests.update("TeaqRRdTcIfIu2i7BYfT", {
215
- * chatHistory: [{
216
- * role: "user",
217
- * timeInCallSecs: 1
218
- * }],
219
- * successCondition: "success_condition",
220
- * successExamples: [{
221
- * response: "response",
222
- * type: "success"
223
- * }],
224
- * failureExamples: [{
225
- * response: "response",
226
- * type: "failure"
227
- * }],
203
+ * type: "llm",
228
204
  * name: "name"
229
205
  * })
230
206
  */
@@ -242,7 +218,7 @@ class TestsClient {
242
218
  contentType: "application/json",
243
219
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
244
220
  requestType: "json",
245
- body: serializers.conversationalAi.UpdateUnitTestRequest.jsonOrThrow(request, {
221
+ body: serializers.conversationalAi.TestsUpdateRequestBody.jsonOrThrow(request, {
246
222
  unrecognizedObjectKeys: "strip",
247
223
  }),
248
224
  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,
@@ -253,7 +229,7 @@ class TestsClient {
253
229
  });
254
230
  if (_response.ok) {
255
231
  return {
256
- data: serializers.GetUnitTestResponseModel.parseOrThrow(_response.body, {
232
+ data: serializers.conversationalAi.TestsUpdateResponse.parseOrThrow(_response.body, {
257
233
  unrecognizedObjectKeys: "passthrough",
258
234
  allowUnrecognizedUnionMembers: true,
259
235
  allowUnrecognizedEnumValues: true,
@@ -1,4 +1,2 @@
1
- export type { CreateUnitTestRequest } from "./CreateUnitTestRequest";
2
1
  export type { ListTestsByIdsRequestModel } from "./ListTestsByIdsRequestModel";
3
2
  export type { TestsListRequest } from "./TestsListRequest";
4
- export type { UpdateUnitTestRequest } from "./UpdateUnitTestRequest";
@@ -0,0 +1,16 @@
1
+ import type * as ElevenLabs from "../../../../../index";
2
+ /**
3
+ * Create Chat Response Test Request Information
4
+ */
5
+ export type TestsCreateRequestBody = ElevenLabs.conversationalAi.TestsCreateRequestBody.Llm | ElevenLabs.conversationalAi.TestsCreateRequestBody.Tool | ElevenLabs.conversationalAi.TestsCreateRequestBody.Simulation;
6
+ export declare namespace TestsCreateRequestBody {
7
+ interface Llm extends ElevenLabs.CreateResponseUnitTestRequest {
8
+ type: "llm";
9
+ }
10
+ interface Tool extends ElevenLabs.CreateToolCallUnitTestRequest {
11
+ type: "tool";
12
+ }
13
+ interface Simulation extends ElevenLabs.CreateSimulationTestRequest {
14
+ type: "simulation";
15
+ }
16
+ }
@@ -0,0 +1,13 @@
1
+ import type * as ElevenLabs from "../../../../../index";
2
+ export type TestsGetResponse = ElevenLabs.conversationalAi.TestsGetResponse.Llm | ElevenLabs.conversationalAi.TestsGetResponse.Tool | ElevenLabs.conversationalAi.TestsGetResponse.Simulation;
3
+ export declare namespace TestsGetResponse {
4
+ interface Llm extends ElevenLabs.GetResponseUnitTestResponseModel {
5
+ type: "llm";
6
+ }
7
+ interface Tool extends ElevenLabs.GetToolCallUnitTestResponseModel {
8
+ type: "tool";
9
+ }
10
+ interface Simulation extends ElevenLabs.GetSimulationTestResponseModel {
11
+ type: "simulation";
12
+ }
13
+ }
@@ -0,0 +1,16 @@
1
+ import type * as ElevenLabs from "../../../../../index";
2
+ /**
3
+ * Agent test to update
4
+ */
5
+ export type TestsUpdateRequestBody = ElevenLabs.conversationalAi.TestsUpdateRequestBody.Llm | ElevenLabs.conversationalAi.TestsUpdateRequestBody.Tool | ElevenLabs.conversationalAi.TestsUpdateRequestBody.Simulation;
6
+ export declare namespace TestsUpdateRequestBody {
7
+ interface Llm extends ElevenLabs.UpdateResponseUnitTestRequest {
8
+ type: "llm";
9
+ }
10
+ interface Tool extends ElevenLabs.UpdateToolCallUnitTestRequest {
11
+ type: "tool";
12
+ }
13
+ interface Simulation extends ElevenLabs.UpdateSimulationTestRequest {
14
+ type: "simulation";
15
+ }
16
+ }
@@ -0,0 +1,13 @@
1
+ import type * as ElevenLabs from "../../../../../index";
2
+ export type TestsUpdateResponse = ElevenLabs.conversationalAi.TestsUpdateResponse.Llm | ElevenLabs.conversationalAi.TestsUpdateResponse.Tool | ElevenLabs.conversationalAi.TestsUpdateResponse.Simulation;
3
+ export declare namespace TestsUpdateResponse {
4
+ interface Llm extends ElevenLabs.GetResponseUnitTestResponseModel {
5
+ type: "llm";
6
+ }
7
+ interface Tool extends ElevenLabs.GetToolCallUnitTestResponseModel {
8
+ type: "tool";
9
+ }
10
+ interface Simulation extends ElevenLabs.GetSimulationTestResponseModel {
11
+ type: "simulation";
12
+ }
13
+ }
@@ -1,2 +1,4 @@
1
- export * from "./CreateUnitTestRequestDynamicVariablesValue";
2
- export * from "./UpdateUnitTestRequestDynamicVariablesValue";
1
+ export * from "./TestsCreateRequestBody";
2
+ export * from "./TestsGetResponse";
3
+ export * from "./TestsUpdateRequestBody";
4
+ export * from "./TestsUpdateResponse";
@@ -14,5 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./CreateUnitTestRequestDynamicVariablesValue"), exports);
18
- __exportStar(require("./UpdateUnitTestRequestDynamicVariablesValue"), exports);
17
+ __exportStar(require("./TestsCreateRequestBody"), exports);
18
+ __exportStar(require("./TestsGetResponse"), exports);
19
+ __exportStar(require("./TestsUpdateRequestBody"), exports);
20
+ __exportStar(require("./TestsUpdateResponse"), exports);
@@ -0,0 +1,33 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
2
+ import { type NormalizedClientOptions } from "../../../../../../BaseClient";
3
+ import * as core from "../../../../../../core";
4
+ import * as ElevenLabs from "../../../../../index";
5
+ export declare namespace UsersClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class UsersClient {
11
+ protected readonly _options: NormalizedClientOptions<UsersClient.Options>;
12
+ constructor(options?: UsersClient.Options);
13
+ /**
14
+ * Get distinct users from conversations with pagination.
15
+ *
16
+ * @param {ElevenLabs.conversationalAi.UsersListRequest} request
17
+ * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
18
+ *
19
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
20
+ *
21
+ * @example
22
+ * await client.conversationalAi.users.list({
23
+ * agentId: "agent_id",
24
+ * callStartBeforeUnix: 1,
25
+ * callStartAfterUnix: 1,
26
+ * search: "search",
27
+ * pageSize: 1,
28
+ * cursor: "cursor"
29
+ * })
30
+ */
31
+ list(request?: ElevenLabs.conversationalAi.UsersListRequest, requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetConversationUsersPageResponseModel>;
32
+ private __list;
33
+ }