@elevenlabs/elevenlabs-js 2.39.0 → 2.40.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 (1472) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +3 -0
  3. package/Client.js +45 -40
  4. package/api/errors/BadRequestError.d.ts +1 -2
  5. package/api/resources/conversationalAi/conversation/Conversation.d.ts +12 -0
  6. package/api/resources/conversationalAi/conversation/Conversation.js +18 -0
  7. package/api/resources/conversationalAi/conversation/__tests__/Conversation.test.js +25 -0
  8. package/api/resources/conversationalAi/conversation/events.d.ts +19 -2
  9. package/api/resources/conversationalAi/conversation/events.js +2 -0
  10. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
  11. package/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
  12. package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +4 -1
  13. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +4 -2
  14. package/api/resources/conversationalAi/resources/conversations/client/Client.js +29 -5
  15. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -1
  16. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +4 -1
  17. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -0
  18. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +17 -1
  19. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +4 -0
  20. package/api/resources/conversationalAi/resources/index.d.ts +0 -1
  21. package/api/resources/conversationalAi/resources/index.js +0 -1
  22. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -0
  23. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +5 -1
  24. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +4 -1
  25. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +13 -0
  26. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +60 -0
  27. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/index.d.ts +1 -0
  28. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/index.js +1 -0
  29. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +16 -0
  30. package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  31. package/{dist/serialization/resources/conversationalAi/resources/twilio → api/resources/conversationalAi/resources/knowledgeBase/resources/document}/types/index.js +1 -1
  32. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +4 -0
  33. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +4 -0
  34. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +5 -2
  35. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +16 -6
  36. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/index.d.ts +1 -1
  37. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/index.js +15 -0
  38. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/ChunkGetRequest.d.ts +11 -0
  39. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/index.d.ts +1 -0
  40. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/index.js +2 -0
  41. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +1 -0
  42. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +1 -0
  43. package/api/resources/conversationalAi/resources/knowledgeBase/resources/index.d.ts +1 -0
  44. package/api/resources/conversationalAi/resources/knowledgeBase/resources/index.js +1 -0
  45. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  46. package/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.d.ts +5 -0
  47. package/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +1 -1
  48. package/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  49. package/api/resources/conversationalAi/resources/mcpServers/types/index.js +1 -0
  50. package/api/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +2 -0
  51. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -2
  52. package/api/resources/conversationalAi/resources/tools/client/Client.js +19 -7
  53. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsDeleteRequest.d.ts +10 -0
  54. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +4 -1
  55. package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  56. package/api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +1 -1
  57. package/api/resources/conversationalAi/resources/twilio/index.d.ts +0 -1
  58. package/api/resources/conversationalAi/resources/twilio/index.js +0 -1
  59. package/api/resources/environmentVariables/client/Client.d.ts +86 -0
  60. package/api/resources/environmentVariables/client/Client.js +362 -0
  61. package/api/resources/environmentVariables/client/index.d.ts +1 -0
  62. package/{serialization/resources/conversationalAi/resources/twilio/types → api/resources/environmentVariables/client}/index.js +1 -1
  63. package/api/resources/environmentVariables/client/requests/EnvironmentVariablesListRequest.d.ts +23 -0
  64. package/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +11 -0
  65. package/api/resources/environmentVariables/client/requests/index.d.ts +2 -0
  66. package/api/resources/environmentVariables/client/requests/index.js +2 -0
  67. package/api/resources/environmentVariables/index.d.ts +2 -0
  68. package/{dist/api/resources/conversationalAi/resources/twilio/types → api/resources/environmentVariables}/index.js +2 -1
  69. package/api/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.d.ts +13 -0
  70. package/api/resources/environmentVariables/types/EnvironmentVariablesListRequestType.d.ts +6 -0
  71. package/api/resources/environmentVariables/types/EnvironmentVariablesListRequestType.js +9 -0
  72. package/api/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.d.ts +2 -0
  73. package/api/resources/environmentVariables/types/index.d.ts +3 -0
  74. package/api/resources/environmentVariables/types/index.js +19 -0
  75. package/api/resources/history/client/Client.js +1 -6
  76. package/api/resources/index.d.ts +3 -0
  77. package/api/resources/index.js +4 -1
  78. package/api/resources/speechToText/client/Client.js +9 -0
  79. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +5 -1
  80. package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +4 -0
  81. package/api/resources/speechToText/types/index.d.ts +1 -0
  82. package/api/resources/speechToText/types/index.js +1 -0
  83. package/api/resources/workspace/client/Client.d.ts +3 -0
  84. package/api/resources/workspace/client/Client.js +13 -8
  85. package/api/resources/workspace/resources/authConnections/client/Client.d.ts +58 -0
  86. package/api/resources/workspace/resources/authConnections/client/Client.js +243 -0
  87. package/api/resources/workspace/resources/authConnections/client/index.d.ts +1 -0
  88. package/api/resources/workspace/resources/authConnections/client/index.js +2 -0
  89. package/api/resources/workspace/resources/authConnections/index.d.ts +2 -0
  90. package/api/resources/{conversationalAi/resources/twilio/types → workspace/resources/authConnections}/index.js +2 -1
  91. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +22 -0
  92. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +31 -0
  93. package/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  94. package/api/resources/workspace/resources/authConnections/types/index.js +18 -0
  95. package/api/resources/workspace/resources/index.d.ts +2 -0
  96. package/api/resources/workspace/resources/index.js +3 -1
  97. package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  98. package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  99. package/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +18 -0
  100. package/api/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.d.ts +6 -0
  101. package/api/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.js +9 -0
  102. package/api/types/AstAndOperatorNodeInputChildrenItem.d.ts +6 -2
  103. package/api/types/AstAndOperatorNodeOutputChildrenItem.d.ts +4 -1
  104. package/api/types/AstConditionalOperatorNodeInput.d.ts +9 -0
  105. package/api/types/AstConditionalOperatorNodeInputCondition.d.ts +50 -0
  106. package/api/types/AstConditionalOperatorNodeInputFalseExpression.d.ts +50 -0
  107. package/api/types/AstConditionalOperatorNodeInputFalseExpression.js +3 -0
  108. package/api/types/AstConditionalOperatorNodeInputTrueExpression.d.ts +50 -0
  109. package/api/types/AstConditionalOperatorNodeInputTrueExpression.js +3 -0
  110. package/api/types/AstConditionalOperatorNodeOutput.d.ts +9 -0
  111. package/api/types/AstConditionalOperatorNodeOutput.js +3 -0
  112. package/api/types/AstConditionalOperatorNodeOutputCondition.d.ts +49 -0
  113. package/api/types/AstConditionalOperatorNodeOutputCondition.js +3 -0
  114. package/api/types/AstConditionalOperatorNodeOutputFalseExpression.d.ts +49 -0
  115. package/api/types/AstConditionalOperatorNodeOutputFalseExpression.js +3 -0
  116. package/api/types/AstConditionalOperatorNodeOutputTrueExpression.d.ts +49 -0
  117. package/api/types/AstConditionalOperatorNodeOutputTrueExpression.js +3 -0
  118. package/api/types/AstEqualsOperatorNodeInputLeft.d.ts +6 -2
  119. package/api/types/AstEqualsOperatorNodeInputRight.d.ts +6 -2
  120. package/api/types/AstEqualsOperatorNodeOutputLeft.d.ts +4 -1
  121. package/api/types/AstEqualsOperatorNodeOutputRight.d.ts +4 -1
  122. package/api/types/AstGreaterThanOperatorNodeInputLeft.d.ts +6 -2
  123. package/api/types/AstGreaterThanOperatorNodeInputRight.d.ts +6 -2
  124. package/api/types/AstGreaterThanOperatorNodeOutputLeft.d.ts +4 -1
  125. package/api/types/AstGreaterThanOperatorNodeOutputRight.d.ts +4 -1
  126. package/api/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
  127. package/api/types/AstGreaterThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
  128. package/api/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
  129. package/api/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
  130. package/api/types/AstLessThanOperatorNodeInputLeft.d.ts +6 -2
  131. package/api/types/AstLessThanOperatorNodeInputRight.d.ts +6 -2
  132. package/api/types/AstLessThanOperatorNodeOutputLeft.d.ts +4 -1
  133. package/api/types/AstLessThanOperatorNodeOutputRight.d.ts +4 -1
  134. package/api/types/AstLessThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
  135. package/api/types/AstLessThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
  136. package/api/types/AstLessThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
  137. package/api/types/AstLessThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
  138. package/api/types/AstNotEqualsOperatorNodeInputLeft.d.ts +6 -2
  139. package/api/types/AstNotEqualsOperatorNodeInputRight.d.ts +6 -2
  140. package/api/types/AstNotEqualsOperatorNodeOutputLeft.d.ts +4 -1
  141. package/api/types/AstNotEqualsOperatorNodeOutputRight.d.ts +4 -1
  142. package/api/types/AstOrOperatorNodeInputChildrenItem.d.ts +6 -2
  143. package/api/types/AstOrOperatorNodeOutputChildrenItem.d.ts +4 -1
  144. package/api/types/AstllmNodeInput.d.ts +2 -4
  145. package/api/types/AstllmNodeInputPrompt.d.ts +5 -0
  146. package/api/types/AstllmNodeInputPrompt.js +3 -0
  147. package/api/types/AstllmNodeInputValueSchema.d.ts +6 -0
  148. package/api/types/AstllmNodeInputValueSchema.js +3 -0
  149. package/api/types/AstllmNodeOutput.d.ts +4 -1
  150. package/api/types/AuthConnectionDependencies.d.ts +9 -0
  151. package/api/types/AuthConnectionDependencies.js +3 -0
  152. package/api/types/AuthConnectionDependenciesMcpServersItem.d.ts +10 -0
  153. package/api/types/AuthConnectionDependenciesMcpServersItem.js +3 -0
  154. package/api/types/AuthConnectionDependenciesToolsItem.d.ts +10 -0
  155. package/api/types/AuthConnectionDependenciesToolsItem.js +3 -0
  156. package/api/types/AutoSyncInfo.d.ts +10 -0
  157. package/api/types/AutoSyncInfo.js +3 -0
  158. package/api/types/BasicAuthResponse.d.ts +11 -0
  159. package/api/types/BasicAuthResponse.js +3 -0
  160. package/api/types/BearerAuthResponse.d.ts +10 -0
  161. package/api/types/BearerAuthResponse.js +3 -0
  162. package/api/types/CaptionStyleModel.d.ts +2 -0
  163. package/api/types/CaptionStyleModelTextBlendMode.d.ts +6 -0
  164. package/api/types/CaptionStyleModelTextBlendMode.js +9 -0
  165. package/api/types/CaptionStyleModelTextTransform.d.ts +5 -0
  166. package/api/types/CaptionStyleModelTextTransform.js +8 -0
  167. package/api/types/CaptionStyleModelTextWeight.d.ts +1 -0
  168. package/api/types/CaptionStyleModelTextWeight.js +1 -0
  169. package/api/types/ContentConfig.d.ts +7 -7
  170. package/api/types/ContentGuardrailInput.d.ts +1 -0
  171. package/api/types/ContentGuardrailInputTriggerAction.d.ts +10 -0
  172. package/api/types/ContentGuardrailInputTriggerAction.js +3 -0
  173. package/api/types/ContentGuardrailOutput.d.ts +1 -0
  174. package/api/types/ContentGuardrailOutputTriggerAction.d.ts +10 -0
  175. package/api/types/ContentGuardrailOutputTriggerAction.js +3 -0
  176. package/api/types/ContentThresholdGuardrail.d.ts +5 -0
  177. package/api/types/ContentThresholdGuardrail.js +3 -0
  178. package/api/types/ContentThresholdGuardrailThreshold.d.ts +1 -0
  179. package/api/types/ContentThresholdGuardrailThreshold.js +3 -0
  180. package/api/types/Contributor.d.ts +2 -0
  181. package/api/types/ConvAiEnvVarLocator.d.ts +6 -0
  182. package/api/types/ConvAiEnvVarLocator.js +3 -0
  183. package/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -1
  184. package/api/types/{ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts → ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts} +4 -4
  185. package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js +3 -0
  186. package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +16 -0
  187. package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +3 -0
  188. package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
  189. package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
  190. package/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +1 -1
  191. package/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.d.ts +7 -0
  192. package/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.js +3 -0
  193. package/api/types/{ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts → ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.d.ts} +1 -1
  194. package/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.js +3 -0
  195. package/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +1 -1
  196. package/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +1 -1
  197. package/api/types/ConversationHistoryTwilioPhoneCallModel.d.ts +1 -1
  198. package/api/types/ConversationSummaryResponseModel.d.ts +2 -1
  199. package/api/types/CreateAuthConnectionEnvironmentVariableRequest.d.ts +7 -0
  200. package/api/types/CreateAuthConnectionEnvironmentVariableRequest.js +3 -0
  201. package/api/types/CreateBasicAuthRequest.d.ts +9 -0
  202. package/api/types/CreateBasicAuthRequest.js +3 -0
  203. package/api/types/CreateCustomHeaderAuthRequest.d.ts +7 -0
  204. package/api/types/CreateCustomHeaderAuthRequest.js +3 -0
  205. package/api/types/CreateOAuth2ClientCredsRequest.d.ts +15 -0
  206. package/api/types/CreateOAuth2ClientCredsRequest.js +3 -0
  207. package/api/types/CreateOAuth2JwtRequest.d.ts +27 -0
  208. package/api/types/CreateOAuth2JwtRequest.js +3 -0
  209. package/api/types/CreateOAuth2JwtRequestAlgorithm.d.ts +10 -0
  210. package/api/types/CreateOAuth2JwtRequestAlgorithm.js +13 -0
  211. package/api/types/CreatePrivateKeyJwtRequest.d.ts +23 -0
  212. package/api/types/CreatePrivateKeyJwtRequest.js +3 -0
  213. package/api/types/CreatePrivateKeyJwtRequestAlgorithm.d.ts +10 -0
  214. package/api/types/CreatePrivateKeyJwtRequestAlgorithm.js +13 -0
  215. package/api/types/CreateSecretEnvironmentVariableRequest.d.ts +7 -0
  216. package/api/types/CreateSecretEnvironmentVariableRequest.js +3 -0
  217. package/api/types/CreateSimulationTestRequest.d.ts +2 -0
  218. package/api/types/CreateStringEnvironmentVariableRequest.d.ts +6 -0
  219. package/api/types/CreateStringEnvironmentVariableRequest.js +3 -0
  220. package/api/types/CustomGuardrailConfig.d.ts +1 -0
  221. package/api/types/CustomGuardrailConfigTriggerAction.d.ts +10 -0
  222. package/api/types/CustomGuardrailConfigTriggerAction.js +3 -0
  223. package/api/types/CustomHeaderAuthResponse.d.ts +12 -0
  224. package/api/types/CustomHeaderAuthResponse.js +3 -0
  225. package/api/types/CustomLlm.d.ts +1 -1
  226. package/api/types/CustomLlmApiKey.d.ts +5 -0
  227. package/api/types/CustomLlmApiKey.js +3 -0
  228. package/api/types/CustomLlmRequestHeadersValue.d.ts +1 -1
  229. package/api/types/DependentAvailableMcpServerIdentifier.d.ts +7 -0
  230. package/api/types/DependentAvailableMcpServerIdentifier.js +3 -0
  231. package/api/types/DependentAvailableMcpServerIdentifierAccessLevel.d.ts +7 -0
  232. package/api/types/DependentAvailableMcpServerIdentifierAccessLevel.js +10 -0
  233. package/api/types/DependentIntegrationConnectionIdentifier.d.ts +7 -0
  234. package/api/types/DependentIntegrationConnectionIdentifier.js +3 -0
  235. package/api/types/DependentUnknownMcpServerIdentifier.d.ts +3 -0
  236. package/api/types/DependentUnknownMcpServerIdentifier.js +3 -0
  237. package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  238. package/api/types/EndCallTriggerAction.d.ts +1 -0
  239. package/api/types/EndCallTriggerAction.js +3 -0
  240. package/api/types/EnvironmentAuthConnectionLocator.d.ts +8 -0
  241. package/api/types/EnvironmentAuthConnectionLocator.js +3 -0
  242. package/api/types/EnvironmentVariableAuthConnectionValue.d.ts +3 -0
  243. package/api/types/EnvironmentVariableAuthConnectionValue.js +3 -0
  244. package/api/types/EnvironmentVariableAuthConnectionValueRequest.d.ts +3 -0
  245. package/api/types/EnvironmentVariableAuthConnectionValueRequest.js +3 -0
  246. package/api/types/EnvironmentVariableResponse.d.ts +11 -0
  247. package/api/types/EnvironmentVariableResponse.js +3 -0
  248. package/api/types/EnvironmentVariableResponseType.d.ts +6 -0
  249. package/api/types/EnvironmentVariableResponseType.js +9 -0
  250. package/api/types/EnvironmentVariableResponseValues.d.ts +2 -0
  251. package/api/types/EnvironmentVariableResponseValues.js +3 -0
  252. package/api/types/EnvironmentVariableSecretValue.d.ts +3 -0
  253. package/api/types/EnvironmentVariableSecretValue.js +3 -0
  254. package/api/types/EnvironmentVariableSecretValueRequest.d.ts +3 -0
  255. package/api/types/EnvironmentVariableSecretValueRequest.js +3 -0
  256. package/api/types/EnvironmentVariablesListResponse.d.ts +6 -0
  257. package/api/types/EnvironmentVariablesListResponse.js +3 -0
  258. package/api/types/GetConvAiSettingsResponseModel.d.ts +2 -0
  259. package/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +1 -0
  260. package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +1 -0
  261. package/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -0
  262. package/api/types/GetSimulationTestResponseModel.d.ts +2 -0
  263. package/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  264. package/api/types/GuardrailsV1Input.d.ts +0 -1
  265. package/api/types/GuardrailsV1Output.d.ts +0 -1
  266. package/api/types/ListAuthConnectionsResponse.d.ts +4 -0
  267. package/api/types/ListAuthConnectionsResponse.js +3 -0
  268. package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +31 -0
  269. package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.js +3 -0
  270. package/api/types/LlmLiteralJsonSchemaProperty.d.ts +7 -0
  271. package/api/types/LlmLiteralJsonSchemaProperty.js +3 -0
  272. package/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +7 -0
  273. package/api/types/LlmLiteralJsonSchemaPropertyType.js +10 -0
  274. package/api/types/McpServerConfigInput.d.ts +1 -1
  275. package/api/types/McpServerConfigInputAuthConnection.d.ts +5 -0
  276. package/api/types/McpServerConfigInputAuthConnection.js +3 -0
  277. package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
  278. package/api/types/McpServerConfigOutput.d.ts +1 -1
  279. package/api/types/McpServerConfigOutputAuthConnection.d.ts +5 -0
  280. package/api/types/McpServerConfigOutputAuthConnection.js +3 -0
  281. package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
  282. package/api/types/OAuth2ClientCredsResponse.d.ts +16 -0
  283. package/api/types/OAuth2ClientCredsResponse.js +3 -0
  284. package/api/types/OAuth2JwtResponse.d.ts +28 -0
  285. package/api/types/OAuth2JwtResponse.js +3 -0
  286. package/api/types/OAuth2JwtResponseAlgorithm.d.ts +10 -0
  287. package/api/types/OAuth2JwtResponseAlgorithm.js +13 -0
  288. package/api/types/PlayDtmfToolConfig.d.ts +3 -1
  289. package/api/types/PreviewAudioDbModel.d.ts +2 -0
  290. package/api/types/PrivateKeyJwtResponse.d.ts +24 -0
  291. package/api/types/PrivateKeyJwtResponse.js +3 -0
  292. package/api/types/PrivateKeyJwtResponseAlgorithm.d.ts +10 -0
  293. package/api/types/PrivateKeyJwtResponseAlgorithm.js +13 -0
  294. package/api/types/ProjectExternalAudioResponseModel.d.ts +2 -1
  295. package/api/types/RetryTriggerAction.d.ts +4 -0
  296. package/api/types/RetryTriggerAction.js +3 -0
  297. package/api/types/SimulationTestModel.d.ts +2 -0
  298. package/api/types/SingleTestRunRequestModel.d.ts +4 -0
  299. package/api/types/SpeechHistoryItemResponse.d.ts +2 -0
  300. package/api/types/Subscription.d.ts +4 -0
  301. package/api/types/SystemToolConfigInputParams.d.ts +1 -16
  302. package/api/types/SystemToolConfigOutputParams.d.ts +1 -16
  303. package/api/types/TelephonyDirection.d.ts +5 -0
  304. package/api/types/{ConversationSummaryResponseModelDirection.js → TelephonyDirection.js} +2 -2
  305. package/api/types/UnitTestRunResponseModel.d.ts +3 -0
  306. package/api/types/UpdateSimulationTestRequest.d.ts +2 -0
  307. package/api/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
  308. package/api/types/WebhookToolApiSchemaConfigInputAuthConnection.d.ts +5 -0
  309. package/api/types/WebhookToolApiSchemaConfigInputAuthConnection.js +3 -0
  310. package/api/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.d.ts +1 -1
  311. package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
  312. package/api/types/WebhookToolApiSchemaConfigOutputAuthConnection.d.ts +5 -0
  313. package/api/types/WebhookToolApiSchemaConfigOutputAuthConnection.js +3 -0
  314. package/api/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.d.ts +1 -1
  315. package/api/types/WhatsAppAuthResponse.d.ts +8 -0
  316. package/api/types/WhatsAppAuthResponse.js +3 -0
  317. package/api/types/WorkflowExpressionConditionModelInputExpression.d.ts +6 -2
  318. package/api/types/WorkflowExpressionConditionModelOutputExpression.d.ts +4 -1
  319. package/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
  320. package/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
  321. package/api/types/index.d.ts +72 -10
  322. package/api/types/index.js +72 -10
  323. package/dist/BaseClient.js +2 -2
  324. package/dist/Client.d.ts +3 -0
  325. package/dist/Client.js +45 -40
  326. package/dist/api/errors/BadRequestError.d.ts +1 -2
  327. package/dist/api/resources/conversationalAi/conversation/Conversation.d.ts +12 -0
  328. package/dist/api/resources/conversationalAi/conversation/Conversation.js +18 -0
  329. package/dist/api/resources/conversationalAi/conversation/__tests__/Conversation.test.js +25 -0
  330. package/dist/api/resources/conversationalAi/conversation/events.d.ts +19 -2
  331. package/dist/api/resources/conversationalAi/conversation/events.js +2 -0
  332. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
  333. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
  334. package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +4 -1
  335. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +4 -2
  336. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +29 -5
  337. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -1
  338. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +4 -1
  339. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -0
  340. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +17 -1
  341. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +4 -0
  342. package/dist/api/resources/conversationalAi/resources/index.d.ts +0 -1
  343. package/dist/api/resources/conversationalAi/resources/index.js +0 -1
  344. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -0
  345. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +5 -1
  346. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +4 -1
  347. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +13 -0
  348. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +60 -0
  349. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/index.d.ts +1 -0
  350. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/index.js +1 -0
  351. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +16 -0
  352. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.js +3 -0
  353. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  354. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +17 -0
  355. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +4 -0
  356. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +4 -0
  357. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +5 -2
  358. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +16 -6
  359. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/index.d.ts +1 -1
  360. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/index.js +15 -0
  361. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/ChunkGetRequest.d.ts +11 -0
  362. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/ChunkGetRequest.js +3 -0
  363. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/index.d.ts +1 -0
  364. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/index.js +2 -0
  365. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.d.ts +1 -0
  366. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/index.js +1 -0
  367. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/index.d.ts +1 -0
  368. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/index.js +1 -0
  369. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -1
  370. package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.d.ts +5 -0
  371. package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.js +3 -0
  372. package/dist/api/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +1 -1
  373. package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  374. package/dist/api/resources/conversationalAi/resources/mcpServers/types/index.js +1 -0
  375. package/dist/api/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +2 -0
  376. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -2
  377. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +19 -7
  378. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsDeleteRequest.d.ts +10 -0
  379. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsDeleteRequest.js +3 -0
  380. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +4 -1
  381. package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  382. package/dist/api/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +1 -1
  383. package/dist/api/resources/conversationalAi/resources/twilio/index.d.ts +0 -1
  384. package/dist/api/resources/conversationalAi/resources/twilio/index.js +0 -1
  385. package/dist/api/resources/environmentVariables/client/Client.d.ts +86 -0
  386. package/dist/api/resources/environmentVariables/client/Client.js +362 -0
  387. package/dist/api/resources/environmentVariables/client/index.d.ts +1 -0
  388. package/dist/api/resources/environmentVariables/client/index.js +17 -0
  389. package/dist/api/resources/environmentVariables/client/requests/EnvironmentVariablesListRequest.d.ts +23 -0
  390. package/dist/api/resources/environmentVariables/client/requests/EnvironmentVariablesListRequest.js +3 -0
  391. package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +11 -0
  392. package/dist/api/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +3 -0
  393. package/dist/api/resources/environmentVariables/client/requests/index.d.ts +2 -0
  394. package/dist/api/resources/environmentVariables/client/requests/index.js +2 -0
  395. package/dist/api/resources/environmentVariables/index.d.ts +2 -0
  396. package/dist/api/resources/environmentVariables/index.js +18 -0
  397. package/dist/api/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.d.ts +13 -0
  398. package/dist/api/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.js +3 -0
  399. package/dist/api/resources/environmentVariables/types/EnvironmentVariablesListRequestType.d.ts +6 -0
  400. package/dist/api/resources/environmentVariables/types/EnvironmentVariablesListRequestType.js +9 -0
  401. package/dist/api/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.d.ts +2 -0
  402. package/dist/api/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.js +3 -0
  403. package/dist/api/resources/environmentVariables/types/index.d.ts +3 -0
  404. package/dist/api/resources/environmentVariables/types/index.js +19 -0
  405. package/dist/api/resources/history/client/Client.js +1 -6
  406. package/dist/api/resources/index.d.ts +3 -0
  407. package/dist/api/resources/index.js +4 -1
  408. package/dist/api/resources/speechToText/client/Client.js +9 -0
  409. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +5 -1
  410. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +4 -0
  411. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.js +3 -0
  412. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  413. package/dist/api/resources/speechToText/types/index.js +1 -0
  414. package/dist/api/resources/workspace/client/Client.d.ts +3 -0
  415. package/dist/api/resources/workspace/client/Client.js +13 -8
  416. package/dist/api/resources/workspace/resources/authConnections/client/Client.d.ts +58 -0
  417. package/dist/api/resources/workspace/resources/authConnections/client/Client.js +243 -0
  418. package/dist/api/resources/workspace/resources/authConnections/client/index.d.ts +1 -0
  419. package/dist/api/resources/workspace/resources/authConnections/client/index.js +2 -0
  420. package/dist/api/resources/workspace/resources/authConnections/index.d.ts +2 -0
  421. package/dist/api/resources/workspace/resources/authConnections/index.js +18 -0
  422. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +22 -0
  423. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +3 -0
  424. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +31 -0
  425. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +3 -0
  426. package/dist/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  427. package/dist/api/resources/workspace/resources/authConnections/types/index.js +18 -0
  428. package/dist/api/resources/workspace/resources/index.d.ts +2 -0
  429. package/dist/api/resources/workspace/resources/index.js +3 -1
  430. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  431. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  432. package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +18 -0
  433. package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponse.js +3 -0
  434. package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.d.ts +6 -0
  435. package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.js +9 -0
  436. package/dist/api/types/AstAndOperatorNodeInputChildrenItem.d.ts +6 -2
  437. package/dist/api/types/AstAndOperatorNodeOutputChildrenItem.d.ts +4 -1
  438. package/dist/api/types/AstConditionalOperatorNodeInput.d.ts +9 -0
  439. package/dist/api/types/AstConditionalOperatorNodeInput.js +3 -0
  440. package/dist/api/types/AstConditionalOperatorNodeInputCondition.d.ts +50 -0
  441. package/dist/api/types/AstConditionalOperatorNodeInputCondition.js +3 -0
  442. package/dist/api/types/AstConditionalOperatorNodeInputFalseExpression.d.ts +50 -0
  443. package/dist/api/types/AstConditionalOperatorNodeInputFalseExpression.js +3 -0
  444. package/dist/api/types/AstConditionalOperatorNodeInputTrueExpression.d.ts +50 -0
  445. package/dist/api/types/AstConditionalOperatorNodeInputTrueExpression.js +3 -0
  446. package/dist/api/types/AstConditionalOperatorNodeOutput.d.ts +9 -0
  447. package/dist/api/types/AstConditionalOperatorNodeOutput.js +3 -0
  448. package/dist/api/types/AstConditionalOperatorNodeOutputCondition.d.ts +49 -0
  449. package/dist/api/types/AstConditionalOperatorNodeOutputCondition.js +3 -0
  450. package/dist/api/types/AstConditionalOperatorNodeOutputFalseExpression.d.ts +49 -0
  451. package/dist/api/types/AstConditionalOperatorNodeOutputFalseExpression.js +3 -0
  452. package/dist/api/types/AstConditionalOperatorNodeOutputTrueExpression.d.ts +49 -0
  453. package/dist/api/types/AstConditionalOperatorNodeOutputTrueExpression.js +3 -0
  454. package/dist/api/types/AstEqualsOperatorNodeInputLeft.d.ts +6 -2
  455. package/dist/api/types/AstEqualsOperatorNodeInputRight.d.ts +6 -2
  456. package/dist/api/types/AstEqualsOperatorNodeOutputLeft.d.ts +4 -1
  457. package/dist/api/types/AstEqualsOperatorNodeOutputRight.d.ts +4 -1
  458. package/dist/api/types/AstGreaterThanOperatorNodeInputLeft.d.ts +6 -2
  459. package/dist/api/types/AstGreaterThanOperatorNodeInputRight.d.ts +6 -2
  460. package/dist/api/types/AstGreaterThanOperatorNodeOutputLeft.d.ts +4 -1
  461. package/dist/api/types/AstGreaterThanOperatorNodeOutputRight.d.ts +4 -1
  462. package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
  463. package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
  464. package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
  465. package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
  466. package/dist/api/types/AstLessThanOperatorNodeInputLeft.d.ts +6 -2
  467. package/dist/api/types/AstLessThanOperatorNodeInputRight.d.ts +6 -2
  468. package/dist/api/types/AstLessThanOperatorNodeOutputLeft.d.ts +4 -1
  469. package/dist/api/types/AstLessThanOperatorNodeOutputRight.d.ts +4 -1
  470. package/dist/api/types/AstLessThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
  471. package/dist/api/types/AstLessThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
  472. package/dist/api/types/AstLessThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
  473. package/dist/api/types/AstLessThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
  474. package/dist/api/types/AstNotEqualsOperatorNodeInputLeft.d.ts +6 -2
  475. package/dist/api/types/AstNotEqualsOperatorNodeInputRight.d.ts +6 -2
  476. package/dist/api/types/AstNotEqualsOperatorNodeOutputLeft.d.ts +4 -1
  477. package/dist/api/types/AstNotEqualsOperatorNodeOutputRight.d.ts +4 -1
  478. package/dist/api/types/AstOrOperatorNodeInputChildrenItem.d.ts +6 -2
  479. package/dist/api/types/AstOrOperatorNodeOutputChildrenItem.d.ts +4 -1
  480. package/dist/api/types/AstllmNodeInput.d.ts +2 -4
  481. package/dist/api/types/AstllmNodeInputPrompt.d.ts +5 -0
  482. package/dist/api/types/AstllmNodeInputPrompt.js +3 -0
  483. package/dist/api/types/AstllmNodeInputValueSchema.d.ts +6 -0
  484. package/dist/api/types/AstllmNodeInputValueSchema.js +3 -0
  485. package/dist/api/types/AstllmNodeOutput.d.ts +4 -1
  486. package/dist/api/types/AuthConnectionDependencies.d.ts +9 -0
  487. package/dist/api/types/AuthConnectionDependencies.js +3 -0
  488. package/dist/api/types/AuthConnectionDependenciesMcpServersItem.d.ts +10 -0
  489. package/dist/api/types/AuthConnectionDependenciesMcpServersItem.js +3 -0
  490. package/dist/api/types/AuthConnectionDependenciesToolsItem.d.ts +10 -0
  491. package/dist/api/types/AuthConnectionDependenciesToolsItem.js +3 -0
  492. package/dist/api/types/AutoSyncInfo.d.ts +10 -0
  493. package/dist/api/types/AutoSyncInfo.js +3 -0
  494. package/dist/api/types/BasicAuthResponse.d.ts +11 -0
  495. package/dist/api/types/BasicAuthResponse.js +3 -0
  496. package/dist/api/types/BearerAuthResponse.d.ts +10 -0
  497. package/dist/api/types/BearerAuthResponse.js +3 -0
  498. package/dist/api/types/CaptionStyleModel.d.ts +2 -0
  499. package/dist/api/types/CaptionStyleModelTextBlendMode.d.ts +6 -0
  500. package/dist/api/types/CaptionStyleModelTextBlendMode.js +9 -0
  501. package/dist/api/types/CaptionStyleModelTextTransform.d.ts +5 -0
  502. package/dist/api/types/CaptionStyleModelTextTransform.js +8 -0
  503. package/dist/api/types/CaptionStyleModelTextWeight.d.ts +1 -0
  504. package/dist/api/types/CaptionStyleModelTextWeight.js +1 -0
  505. package/dist/api/types/ContentConfig.d.ts +7 -7
  506. package/dist/api/types/ContentGuardrailInput.d.ts +1 -0
  507. package/dist/api/types/ContentGuardrailInputTriggerAction.d.ts +10 -0
  508. package/dist/api/types/ContentGuardrailInputTriggerAction.js +3 -0
  509. package/dist/api/types/ContentGuardrailOutput.d.ts +1 -0
  510. package/dist/api/types/ContentGuardrailOutputTriggerAction.d.ts +10 -0
  511. package/dist/api/types/ContentGuardrailOutputTriggerAction.js +3 -0
  512. package/dist/api/types/ContentThresholdGuardrail.d.ts +5 -0
  513. package/dist/api/types/ContentThresholdGuardrail.js +3 -0
  514. package/dist/api/types/ContentThresholdGuardrailThreshold.d.ts +1 -0
  515. package/dist/api/types/ContentThresholdGuardrailThreshold.js +3 -0
  516. package/dist/api/types/Contributor.d.ts +2 -0
  517. package/dist/api/types/ConvAiEnvVarLocator.d.ts +6 -0
  518. package/dist/api/types/ConvAiEnvVarLocator.js +3 -0
  519. package/dist/api/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +1 -1
  520. package/dist/api/types/{ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts → ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts} +4 -4
  521. package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js +3 -0
  522. package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +16 -0
  523. package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +3 -0
  524. package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
  525. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
  526. package/dist/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +1 -1
  527. package/dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.d.ts +7 -0
  528. package/dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.js +3 -0
  529. package/dist/api/types/{ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts → ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.d.ts} +1 -1
  530. package/dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.js +3 -0
  531. package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +1 -1
  532. package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +1 -1
  533. package/dist/api/types/ConversationHistoryTwilioPhoneCallModel.d.ts +1 -1
  534. package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -1
  535. package/dist/api/types/CreateAuthConnectionEnvironmentVariableRequest.d.ts +7 -0
  536. package/dist/api/types/CreateAuthConnectionEnvironmentVariableRequest.js +3 -0
  537. package/dist/api/types/CreateBasicAuthRequest.d.ts +9 -0
  538. package/dist/api/types/CreateBasicAuthRequest.js +3 -0
  539. package/dist/api/types/CreateCustomHeaderAuthRequest.d.ts +7 -0
  540. package/dist/api/types/CreateCustomHeaderAuthRequest.js +3 -0
  541. package/dist/api/types/CreateOAuth2ClientCredsRequest.d.ts +15 -0
  542. package/dist/api/types/CreateOAuth2ClientCredsRequest.js +3 -0
  543. package/dist/api/types/CreateOAuth2JwtRequest.d.ts +27 -0
  544. package/dist/api/types/CreateOAuth2JwtRequest.js +3 -0
  545. package/dist/api/types/CreateOAuth2JwtRequestAlgorithm.d.ts +10 -0
  546. package/dist/api/types/CreateOAuth2JwtRequestAlgorithm.js +13 -0
  547. package/dist/api/types/CreatePrivateKeyJwtRequest.d.ts +23 -0
  548. package/dist/api/types/CreatePrivateKeyJwtRequest.js +3 -0
  549. package/dist/api/types/CreatePrivateKeyJwtRequestAlgorithm.d.ts +10 -0
  550. package/dist/api/types/CreatePrivateKeyJwtRequestAlgorithm.js +13 -0
  551. package/dist/api/types/CreateSecretEnvironmentVariableRequest.d.ts +7 -0
  552. package/dist/api/types/CreateSecretEnvironmentVariableRequest.js +3 -0
  553. package/dist/api/types/CreateSimulationTestRequest.d.ts +2 -0
  554. package/dist/api/types/CreateStringEnvironmentVariableRequest.d.ts +6 -0
  555. package/dist/api/types/CreateStringEnvironmentVariableRequest.js +3 -0
  556. package/dist/api/types/CustomGuardrailConfig.d.ts +1 -0
  557. package/dist/api/types/CustomGuardrailConfigTriggerAction.d.ts +10 -0
  558. package/dist/api/types/CustomGuardrailConfigTriggerAction.js +3 -0
  559. package/dist/api/types/CustomHeaderAuthResponse.d.ts +12 -0
  560. package/dist/api/types/CustomHeaderAuthResponse.js +3 -0
  561. package/dist/api/types/CustomLlm.d.ts +1 -1
  562. package/dist/api/types/CustomLlmApiKey.d.ts +5 -0
  563. package/dist/api/types/CustomLlmApiKey.js +3 -0
  564. package/dist/api/types/CustomLlmRequestHeadersValue.d.ts +1 -1
  565. package/dist/api/types/DependentAvailableMcpServerIdentifier.d.ts +7 -0
  566. package/dist/api/types/DependentAvailableMcpServerIdentifier.js +3 -0
  567. package/dist/api/types/DependentAvailableMcpServerIdentifierAccessLevel.d.ts +7 -0
  568. package/dist/api/types/DependentAvailableMcpServerIdentifierAccessLevel.js +10 -0
  569. package/dist/api/types/DependentIntegrationConnectionIdentifier.d.ts +7 -0
  570. package/dist/api/types/DependentIntegrationConnectionIdentifier.js +3 -0
  571. package/dist/api/types/DependentUnknownMcpServerIdentifier.d.ts +3 -0
  572. package/dist/api/types/DependentUnknownMcpServerIdentifier.js +3 -0
  573. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  574. package/dist/api/types/EndCallTriggerAction.d.ts +1 -0
  575. package/dist/api/types/EndCallTriggerAction.js +3 -0
  576. package/dist/api/types/EnvironmentAuthConnectionLocator.d.ts +8 -0
  577. package/dist/api/types/EnvironmentAuthConnectionLocator.js +3 -0
  578. package/dist/api/types/EnvironmentVariableAuthConnectionValue.d.ts +3 -0
  579. package/dist/api/types/EnvironmentVariableAuthConnectionValue.js +3 -0
  580. package/dist/api/types/EnvironmentVariableAuthConnectionValueRequest.d.ts +3 -0
  581. package/dist/api/types/EnvironmentVariableAuthConnectionValueRequest.js +3 -0
  582. package/dist/api/types/EnvironmentVariableResponse.d.ts +11 -0
  583. package/dist/api/types/EnvironmentVariableResponse.js +3 -0
  584. package/dist/api/types/EnvironmentVariableResponseType.d.ts +6 -0
  585. package/dist/api/types/EnvironmentVariableResponseType.js +9 -0
  586. package/dist/api/types/EnvironmentVariableResponseValues.d.ts +2 -0
  587. package/dist/api/types/EnvironmentVariableResponseValues.js +3 -0
  588. package/dist/api/types/EnvironmentVariableSecretValue.d.ts +3 -0
  589. package/dist/api/types/EnvironmentVariableSecretValue.js +3 -0
  590. package/dist/api/types/EnvironmentVariableSecretValueRequest.d.ts +3 -0
  591. package/dist/api/types/EnvironmentVariableSecretValueRequest.js +3 -0
  592. package/dist/api/types/EnvironmentVariablesListResponse.d.ts +6 -0
  593. package/dist/api/types/EnvironmentVariablesListResponse.js +3 -0
  594. package/dist/api/types/GetConvAiSettingsResponseModel.d.ts +2 -0
  595. package/dist/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +1 -0
  596. package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +1 -0
  597. package/dist/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -0
  598. package/dist/api/types/GetSimulationTestResponseModel.d.ts +2 -0
  599. package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  600. package/dist/api/types/GuardrailsV1Input.d.ts +0 -1
  601. package/dist/api/types/GuardrailsV1Output.d.ts +0 -1
  602. package/dist/api/types/ListAuthConnectionsResponse.d.ts +4 -0
  603. package/dist/api/types/ListAuthConnectionsResponse.js +3 -0
  604. package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +31 -0
  605. package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.js +3 -0
  606. package/dist/api/types/LlmLiteralJsonSchemaProperty.d.ts +7 -0
  607. package/dist/api/types/LlmLiteralJsonSchemaProperty.js +3 -0
  608. package/dist/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +7 -0
  609. package/dist/api/types/LlmLiteralJsonSchemaPropertyType.js +10 -0
  610. package/dist/api/types/McpServerConfigInput.d.ts +1 -1
  611. package/dist/api/types/McpServerConfigInputAuthConnection.d.ts +5 -0
  612. package/dist/api/types/McpServerConfigInputAuthConnection.js +3 -0
  613. package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +1 -1
  614. package/dist/api/types/McpServerConfigOutput.d.ts +1 -1
  615. package/dist/api/types/McpServerConfigOutputAuthConnection.d.ts +5 -0
  616. package/dist/api/types/McpServerConfigOutputAuthConnection.js +3 -0
  617. package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +1 -1
  618. package/dist/api/types/OAuth2ClientCredsResponse.d.ts +16 -0
  619. package/dist/api/types/OAuth2ClientCredsResponse.js +3 -0
  620. package/dist/api/types/OAuth2JwtResponse.d.ts +28 -0
  621. package/dist/api/types/OAuth2JwtResponse.js +3 -0
  622. package/dist/api/types/OAuth2JwtResponseAlgorithm.d.ts +10 -0
  623. package/dist/api/types/OAuth2JwtResponseAlgorithm.js +13 -0
  624. package/dist/api/types/PlayDtmfToolConfig.d.ts +3 -1
  625. package/dist/api/types/PreviewAudioDbModel.d.ts +2 -0
  626. package/dist/api/types/PrivateKeyJwtResponse.d.ts +24 -0
  627. package/dist/api/types/PrivateKeyJwtResponse.js +3 -0
  628. package/dist/api/types/PrivateKeyJwtResponseAlgorithm.d.ts +10 -0
  629. package/dist/api/types/PrivateKeyJwtResponseAlgorithm.js +13 -0
  630. package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +2 -1
  631. package/dist/api/types/RetryTriggerAction.d.ts +4 -0
  632. package/dist/api/types/RetryTriggerAction.js +3 -0
  633. package/dist/api/types/SimulationTestModel.d.ts +2 -0
  634. package/dist/api/types/SingleTestRunRequestModel.d.ts +4 -0
  635. package/dist/api/types/SpeechHistoryItemResponse.d.ts +2 -0
  636. package/dist/api/types/Subscription.d.ts +4 -0
  637. package/dist/api/types/SystemToolConfigInputParams.d.ts +1 -16
  638. package/dist/api/types/SystemToolConfigOutputParams.d.ts +1 -16
  639. package/dist/api/types/TelephonyDirection.d.ts +5 -0
  640. package/dist/api/types/{ConversationSummaryResponseModelDirection.js → TelephonyDirection.js} +2 -2
  641. package/dist/api/types/UnitTestRunResponseModel.d.ts +3 -0
  642. package/dist/api/types/UpdateSimulationTestRequest.d.ts +2 -0
  643. package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
  644. package/dist/api/types/WebhookToolApiSchemaConfigInputAuthConnection.d.ts +5 -0
  645. package/dist/api/types/WebhookToolApiSchemaConfigInputAuthConnection.js +3 -0
  646. package/dist/api/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.d.ts +1 -1
  647. package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
  648. package/dist/api/types/WebhookToolApiSchemaConfigOutputAuthConnection.d.ts +5 -0
  649. package/dist/api/types/WebhookToolApiSchemaConfigOutputAuthConnection.js +3 -0
  650. package/dist/api/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.d.ts +1 -1
  651. package/dist/api/types/WhatsAppAuthResponse.d.ts +8 -0
  652. package/dist/api/types/WhatsAppAuthResponse.js +3 -0
  653. package/dist/api/types/WorkflowExpressionConditionModelInputExpression.d.ts +6 -2
  654. package/dist/api/types/WorkflowExpressionConditionModelOutputExpression.d.ts +4 -1
  655. package/dist/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +1 -1
  656. package/dist/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +1 -1
  657. package/dist/api/types/index.d.ts +72 -10
  658. package/dist/api/types/index.js +72 -10
  659. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +0 -1
  660. package/dist/serialization/resources/conversationalAi/resources/index.js +0 -1
  661. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/index.d.ts +1 -0
  662. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/index.js +1 -0
  663. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +23 -0
  664. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.js +53 -0
  665. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  666. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +17 -0
  667. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +2 -0
  668. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +2 -0
  669. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +2 -0
  670. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.js +2 -0
  671. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/index.d.ts +1 -0
  672. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/index.js +1 -0
  673. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -2
  674. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +2 -2
  675. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.d.ts +9 -0
  676. package/{serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js → dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.js} +4 -2
  677. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -1
  678. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +7 -1
  679. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  680. package/dist/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +1 -0
  681. package/dist/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +1 -0
  682. package/dist/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.js +1 -0
  683. package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +2 -2
  684. package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js +2 -2
  685. package/dist/serialization/resources/conversationalAi/resources/twilio/index.d.ts +0 -1
  686. package/dist/serialization/resources/conversationalAi/resources/twilio/index.js +0 -1
  687. package/dist/serialization/resources/environmentVariables/client/index.d.ts +1 -0
  688. package/dist/serialization/resources/environmentVariables/client/index.js +17 -0
  689. package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +10 -0
  690. package/dist/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +42 -0
  691. package/dist/serialization/resources/environmentVariables/client/requests/index.d.ts +1 -0
  692. package/dist/serialization/resources/environmentVariables/client/requests/index.js +5 -0
  693. package/dist/serialization/resources/environmentVariables/index.d.ts +2 -0
  694. package/dist/serialization/resources/environmentVariables/index.js +18 -0
  695. package/dist/serialization/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.d.ts +19 -0
  696. package/dist/serialization/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.js +51 -0
  697. package/dist/serialization/resources/environmentVariables/types/EnvironmentVariablesListRequestType.d.ts +7 -0
  698. package/dist/serialization/resources/environmentVariables/types/EnvironmentVariablesListRequestType.js +39 -0
  699. package/dist/serialization/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.d.ts +9 -0
  700. package/dist/serialization/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.js +45 -0
  701. package/dist/serialization/resources/environmentVariables/types/index.d.ts +3 -0
  702. package/dist/serialization/resources/environmentVariables/types/index.js +19 -0
  703. package/dist/serialization/resources/index.d.ts +3 -0
  704. package/dist/serialization/resources/index.js +4 -1
  705. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +7 -0
  706. package/dist/serialization/resources/{conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js → speechToText/types/SpeechToTextConvertRequestEntityRedaction.js} +6 -3
  707. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  708. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  709. package/dist/serialization/resources/workspace/resources/authConnections/index.d.ts +1 -0
  710. package/dist/serialization/resources/workspace/resources/authConnections/index.js +17 -0
  711. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +27 -0
  712. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +55 -0
  713. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +39 -0
  714. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +61 -0
  715. package/dist/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  716. package/dist/serialization/resources/workspace/resources/authConnections/types/index.js +18 -0
  717. package/dist/serialization/resources/workspace/resources/index.d.ts +2 -0
  718. package/dist/serialization/resources/workspace/resources/index.js +3 -1
  719. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  720. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  721. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  722. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  723. package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +20 -0
  724. package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +52 -0
  725. package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.d.ts +7 -0
  726. package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.js +39 -0
  727. package/dist/serialization/types/AstAndOperatorNodeInputChildrenItem.d.ts +6 -2
  728. package/dist/serialization/types/AstAndOperatorNodeInputChildrenItem.js +4 -1
  729. package/dist/serialization/types/AstAndOperatorNodeOutputChildrenItem.d.ts +4 -1
  730. package/dist/serialization/types/AstAndOperatorNodeOutputChildrenItem.js +1 -0
  731. package/dist/serialization/types/AstConditionalOperatorNodeInput.d.ts +11 -0
  732. package/dist/serialization/types/AstConditionalOperatorNodeInput.js +44 -0
  733. package/dist/serialization/types/AstConditionalOperatorNodeInputCondition.d.ts +55 -0
  734. package/dist/serialization/types/AstConditionalOperatorNodeInputCondition.js +67 -0
  735. package/dist/serialization/types/AstConditionalOperatorNodeInputFalseExpression.d.ts +55 -0
  736. package/dist/serialization/types/AstConditionalOperatorNodeInputFalseExpression.js +67 -0
  737. package/dist/serialization/types/AstConditionalOperatorNodeInputTrueExpression.d.ts +55 -0
  738. package/dist/serialization/types/AstConditionalOperatorNodeInputTrueExpression.js +67 -0
  739. package/dist/serialization/types/AstConditionalOperatorNodeOutput.d.ts +11 -0
  740. package/dist/serialization/types/AstConditionalOperatorNodeOutput.js +44 -0
  741. package/dist/serialization/types/AstConditionalOperatorNodeOutputCondition.d.ts +54 -0
  742. package/dist/serialization/types/AstConditionalOperatorNodeOutputCondition.js +65 -0
  743. package/dist/serialization/types/AstConditionalOperatorNodeOutputFalseExpression.d.ts +54 -0
  744. package/dist/serialization/types/AstConditionalOperatorNodeOutputFalseExpression.js +65 -0
  745. package/dist/serialization/types/AstConditionalOperatorNodeOutputTrueExpression.d.ts +54 -0
  746. package/dist/serialization/types/AstConditionalOperatorNodeOutputTrueExpression.js +65 -0
  747. package/dist/serialization/types/AstEqualsOperatorNodeInputLeft.d.ts +6 -2
  748. package/dist/serialization/types/AstEqualsOperatorNodeInputLeft.js +4 -1
  749. package/dist/serialization/types/AstEqualsOperatorNodeInputRight.d.ts +6 -2
  750. package/dist/serialization/types/AstEqualsOperatorNodeInputRight.js +4 -1
  751. package/dist/serialization/types/AstEqualsOperatorNodeOutputLeft.d.ts +4 -1
  752. package/dist/serialization/types/AstEqualsOperatorNodeOutputLeft.js +1 -0
  753. package/dist/serialization/types/AstEqualsOperatorNodeOutputRight.d.ts +4 -1
  754. package/dist/serialization/types/AstEqualsOperatorNodeOutputRight.js +1 -0
  755. package/dist/serialization/types/AstGreaterThanOperatorNodeInputLeft.d.ts +6 -2
  756. package/dist/serialization/types/AstGreaterThanOperatorNodeInputLeft.js +4 -1
  757. package/dist/serialization/types/AstGreaterThanOperatorNodeInputRight.d.ts +6 -2
  758. package/dist/serialization/types/AstGreaterThanOperatorNodeInputRight.js +4 -1
  759. package/dist/serialization/types/AstGreaterThanOperatorNodeOutputLeft.d.ts +4 -1
  760. package/dist/serialization/types/AstGreaterThanOperatorNodeOutputLeft.js +1 -0
  761. package/dist/serialization/types/AstGreaterThanOperatorNodeOutputRight.d.ts +4 -1
  762. package/dist/serialization/types/AstGreaterThanOperatorNodeOutputRight.js +1 -0
  763. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
  764. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.js +4 -1
  765. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
  766. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputRight.js +4 -1
  767. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
  768. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.js +1 -0
  769. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
  770. package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.js +1 -0
  771. package/dist/serialization/types/AstLessThanOperatorNodeInputLeft.d.ts +6 -2
  772. package/dist/serialization/types/AstLessThanOperatorNodeInputLeft.js +4 -1
  773. package/dist/serialization/types/AstLessThanOperatorNodeInputRight.d.ts +6 -2
  774. package/dist/serialization/types/AstLessThanOperatorNodeInputRight.js +4 -1
  775. package/dist/serialization/types/AstLessThanOperatorNodeOutputLeft.d.ts +4 -1
  776. package/dist/serialization/types/AstLessThanOperatorNodeOutputLeft.js +1 -0
  777. package/dist/serialization/types/AstLessThanOperatorNodeOutputRight.d.ts +4 -1
  778. package/dist/serialization/types/AstLessThanOperatorNodeOutputRight.js +1 -0
  779. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
  780. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeInputLeft.js +4 -1
  781. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
  782. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeInputRight.js +4 -1
  783. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
  784. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeOutputLeft.js +1 -0
  785. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
  786. package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeOutputRight.js +1 -0
  787. package/dist/serialization/types/AstNotEqualsOperatorNodeInputLeft.d.ts +6 -2
  788. package/dist/serialization/types/AstNotEqualsOperatorNodeInputLeft.js +4 -1
  789. package/dist/serialization/types/AstNotEqualsOperatorNodeInputRight.d.ts +6 -2
  790. package/dist/serialization/types/AstNotEqualsOperatorNodeInputRight.js +4 -1
  791. package/dist/serialization/types/AstNotEqualsOperatorNodeOutputLeft.d.ts +4 -1
  792. package/dist/serialization/types/AstNotEqualsOperatorNodeOutputLeft.js +1 -0
  793. package/dist/serialization/types/AstNotEqualsOperatorNodeOutputRight.d.ts +4 -1
  794. package/dist/serialization/types/AstNotEqualsOperatorNodeOutputRight.js +1 -0
  795. package/dist/serialization/types/AstOrOperatorNodeInputChildrenItem.d.ts +6 -2
  796. package/dist/serialization/types/AstOrOperatorNodeInputChildrenItem.js +4 -1
  797. package/dist/serialization/types/AstOrOperatorNodeOutputChildrenItem.d.ts +4 -1
  798. package/dist/serialization/types/AstOrOperatorNodeOutputChildrenItem.js +1 -0
  799. package/dist/serialization/types/AstllmNodeInput.d.ts +4 -4
  800. package/dist/serialization/types/AstllmNodeInput.js +3 -3
  801. package/dist/serialization/types/AstllmNodeInputPrompt.d.ts +10 -0
  802. package/dist/serialization/types/AstllmNodeInputPrompt.js +42 -0
  803. package/dist/serialization/types/AstllmNodeInputValueSchema.d.ts +11 -0
  804. package/dist/serialization/types/AstllmNodeInputValueSchema.js +43 -0
  805. package/dist/serialization/types/AstllmNodeOutput.d.ts +2 -0
  806. package/dist/serialization/types/AstllmNodeOutput.js +2 -0
  807. package/dist/serialization/types/AuthConnectionDependencies.d.ts +14 -0
  808. package/dist/serialization/types/AuthConnectionDependencies.js +46 -0
  809. package/dist/serialization/types/AuthConnectionDependenciesMcpServersItem.d.ts +15 -0
  810. package/dist/serialization/types/AuthConnectionDependenciesMcpServersItem.js +49 -0
  811. package/dist/serialization/types/AuthConnectionDependenciesToolsItem.d.ts +15 -0
  812. package/dist/serialization/types/AuthConnectionDependenciesToolsItem.js +49 -0
  813. package/dist/serialization/types/AutoSyncInfo.d.ts +12 -0
  814. package/dist/serialization/types/AutoSyncInfo.js +44 -0
  815. package/dist/serialization/types/BasicAuthResponse.d.ts +14 -0
  816. package/dist/serialization/types/BasicAuthResponse.js +46 -0
  817. package/dist/serialization/types/BearerAuthResponse.d.ts +13 -0
  818. package/dist/serialization/types/BearerAuthResponse.js +45 -0
  819. package/dist/serialization/types/CaptionStyleModel.d.ts +4 -0
  820. package/dist/serialization/types/CaptionStyleModel.js +4 -0
  821. package/dist/serialization/types/CaptionStyleModelTextBlendMode.d.ts +7 -0
  822. package/dist/serialization/types/CaptionStyleModelTextBlendMode.js +39 -0
  823. package/dist/serialization/types/CaptionStyleModelTextTransform.d.ts +7 -0
  824. package/dist/serialization/types/CaptionStyleModelTextTransform.js +39 -0
  825. package/dist/serialization/types/CaptionStyleModelTextWeight.d.ts +1 -1
  826. package/dist/serialization/types/CaptionStyleModelTextWeight.js +1 -1
  827. package/dist/serialization/types/ContentConfig.d.ts +8 -8
  828. package/dist/serialization/types/ContentConfig.js +8 -8
  829. package/dist/serialization/types/ContentGuardrailInput.d.ts +2 -0
  830. package/dist/serialization/types/ContentGuardrailInput.js +2 -0
  831. package/dist/serialization/types/ContentGuardrailInputTriggerAction.d.ts +15 -0
  832. package/dist/serialization/types/ContentGuardrailInputTriggerAction.js +49 -0
  833. package/dist/serialization/types/ContentGuardrailOutput.d.ts +2 -0
  834. package/dist/serialization/types/ContentGuardrailOutput.js +2 -0
  835. package/dist/serialization/types/ContentGuardrailOutputTriggerAction.d.ts +15 -0
  836. package/dist/serialization/types/ContentGuardrailOutputTriggerAction.js +49 -0
  837. package/dist/serialization/types/ContentThresholdGuardrail.d.ts +11 -0
  838. package/dist/serialization/types/ContentThresholdGuardrail.js +43 -0
  839. package/dist/serialization/types/ContentThresholdGuardrailThreshold.d.ts +7 -0
  840. package/dist/serialization/types/ContentThresholdGuardrailThreshold.js +44 -0
  841. package/dist/serialization/types/Contributor.d.ts +2 -0
  842. package/dist/serialization/types/Contributor.js +2 -0
  843. package/dist/serialization/types/ConvAiEnvVarLocator.d.ts +9 -0
  844. package/dist/serialization/types/{ConversationHistorySipTrunkingPhoneCallModelDirection.js → ConvAiEnvVarLocator.js} +4 -2
  845. package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +2 -2
  846. package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +2 -2
  847. package/{serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts → dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts} +5 -5
  848. package/{serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js → dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js} +5 -5
  849. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +22 -0
  850. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +54 -0
  851. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -2
  852. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -2
  853. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -2
  854. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -2
  855. package/dist/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +2 -2
  856. package/dist/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +2 -2
  857. package/dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.d.ts +13 -0
  858. package/dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.js +45 -0
  859. package/dist/serialization/types/{ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts → ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.d.ts} +2 -2
  860. package/{serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js → dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.js} +2 -2
  861. package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +2 -2
  862. package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js +2 -2
  863. package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +2 -2
  864. package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +2 -2
  865. package/dist/serialization/types/ConversationHistoryTwilioPhoneCallModel.d.ts +2 -2
  866. package/dist/serialization/types/ConversationHistoryTwilioPhoneCallModel.js +2 -2
  867. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +3 -2
  868. package/dist/serialization/types/ConversationSummaryResponseModel.js +3 -2
  869. package/dist/serialization/types/CreateAuthConnectionEnvironmentVariableRequest.d.ts +11 -0
  870. package/dist/serialization/types/CreateAuthConnectionEnvironmentVariableRequest.js +43 -0
  871. package/dist/serialization/types/CreateBasicAuthRequest.d.ts +12 -0
  872. package/dist/serialization/types/CreateBasicAuthRequest.js +44 -0
  873. package/dist/serialization/types/CreateCustomHeaderAuthRequest.d.ts +12 -0
  874. package/dist/serialization/types/CreateCustomHeaderAuthRequest.js +44 -0
  875. package/dist/serialization/types/CreateOAuth2ClientCredsRequest.d.ts +17 -0
  876. package/dist/serialization/types/CreateOAuth2ClientCredsRequest.js +49 -0
  877. package/dist/serialization/types/CreateOAuth2JwtRequest.d.ts +21 -0
  878. package/dist/serialization/types/CreateOAuth2JwtRequest.js +53 -0
  879. package/dist/serialization/types/CreateOAuth2JwtRequestAlgorithm.d.ts +7 -0
  880. package/dist/serialization/types/CreateOAuth2JwtRequestAlgorithm.js +39 -0
  881. package/dist/serialization/types/CreatePrivateKeyJwtRequest.d.ts +19 -0
  882. package/dist/serialization/types/CreatePrivateKeyJwtRequest.js +51 -0
  883. package/dist/serialization/types/CreatePrivateKeyJwtRequestAlgorithm.d.ts +7 -0
  884. package/dist/serialization/types/{ConversationHistoryTwilioPhoneCallModelDirection.js → CreatePrivateKeyJwtRequestAlgorithm.js} +2 -2
  885. package/dist/serialization/types/CreateSecretEnvironmentVariableRequest.d.ts +11 -0
  886. package/dist/serialization/types/CreateSecretEnvironmentVariableRequest.js +43 -0
  887. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +1 -0
  888. package/dist/serialization/types/CreateSimulationTestRequest.js +1 -0
  889. package/dist/serialization/types/CreateStringEnvironmentVariableRequest.d.ts +10 -0
  890. package/dist/serialization/types/CreateStringEnvironmentVariableRequest.js +42 -0
  891. package/dist/serialization/types/CustomGuardrailConfig.d.ts +2 -0
  892. package/dist/serialization/types/CustomGuardrailConfig.js +2 -0
  893. package/dist/serialization/types/CustomGuardrailConfigTriggerAction.d.ts +15 -0
  894. package/dist/serialization/types/CustomGuardrailConfigTriggerAction.js +49 -0
  895. package/dist/serialization/types/CustomHeaderAuthResponse.d.ts +14 -0
  896. package/dist/serialization/types/CustomHeaderAuthResponse.js +46 -0
  897. package/dist/serialization/types/CustomLlm.d.ts +2 -2
  898. package/dist/serialization/types/CustomLlm.js +2 -2
  899. package/dist/serialization/types/CustomLlmApiKey.d.ts +9 -0
  900. package/dist/serialization/types/CustomLlmApiKey.js +41 -0
  901. package/dist/serialization/types/CustomLlmRequestHeadersValue.d.ts +2 -1
  902. package/dist/serialization/types/CustomLlmRequestHeadersValue.js +7 -1
  903. package/dist/serialization/types/DependentAvailableMcpServerIdentifier.d.ts +13 -0
  904. package/dist/serialization/types/DependentAvailableMcpServerIdentifier.js +45 -0
  905. package/dist/serialization/types/DependentAvailableMcpServerIdentifierAccessLevel.d.ts +7 -0
  906. package/{serialization/types/ConversationHistoryTwilioPhoneCallModelDirection.js → dist/serialization/types/DependentAvailableMcpServerIdentifierAccessLevel.js} +2 -2
  907. package/dist/serialization/types/DependentIntegrationConnectionIdentifier.d.ts +10 -0
  908. package/dist/serialization/types/DependentIntegrationConnectionIdentifier.js +42 -0
  909. package/dist/serialization/types/DependentUnknownMcpServerIdentifier.d.ts +9 -0
  910. package/dist/serialization/types/DependentUnknownMcpServerIdentifier.js +41 -0
  911. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  912. package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  913. package/dist/serialization/types/EndCallTriggerAction.d.ts +7 -0
  914. package/dist/serialization/types/{AgentPromptChangeToolConfig.js → EndCallTriggerAction.js} +2 -2
  915. package/dist/serialization/types/EnvironmentAuthConnectionLocator.d.ts +9 -0
  916. package/dist/serialization/types/EnvironmentAuthConnectionLocator.js +41 -0
  917. package/dist/serialization/types/EnvironmentVariableAuthConnectionValue.d.ts +9 -0
  918. package/dist/serialization/types/EnvironmentVariableAuthConnectionValue.js +41 -0
  919. package/dist/serialization/types/EnvironmentVariableAuthConnectionValueRequest.d.ts +9 -0
  920. package/dist/serialization/types/EnvironmentVariableAuthConnectionValueRequest.js +41 -0
  921. package/dist/serialization/types/EnvironmentVariableResponse.d.ts +18 -0
  922. package/dist/serialization/types/EnvironmentVariableResponse.js +50 -0
  923. package/dist/serialization/types/EnvironmentVariableResponseType.d.ts +7 -0
  924. package/dist/serialization/types/EnvironmentVariableResponseType.js +39 -0
  925. package/dist/serialization/types/EnvironmentVariableResponseValues.d.ts +9 -0
  926. package/dist/serialization/types/EnvironmentVariableResponseValues.js +45 -0
  927. package/dist/serialization/types/EnvironmentVariableSecretValue.d.ts +9 -0
  928. package/dist/serialization/types/EnvironmentVariableSecretValue.js +41 -0
  929. package/dist/serialization/types/EnvironmentVariableSecretValueRequest.d.ts +9 -0
  930. package/dist/serialization/types/EnvironmentVariableSecretValueRequest.js +41 -0
  931. package/dist/serialization/types/EnvironmentVariablesListResponse.d.ts +12 -0
  932. package/dist/serialization/types/EnvironmentVariablesListResponse.js +44 -0
  933. package/dist/serialization/types/GetConvAiSettingsResponseModel.d.ts +1 -0
  934. package/dist/serialization/types/GetConvAiSettingsResponseModel.js +1 -0
  935. package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
  936. package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.js +2 -0
  937. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  938. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
  939. package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -0
  940. package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -0
  941. package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +1 -0
  942. package/dist/serialization/types/GetSimulationTestResponseModel.js +1 -0
  943. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  944. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
  945. package/dist/serialization/types/GuardrailsV1Input.d.ts +0 -2
  946. package/dist/serialization/types/GuardrailsV1Input.js +0 -2
  947. package/dist/serialization/types/GuardrailsV1Output.d.ts +0 -2
  948. package/dist/serialization/types/GuardrailsV1Output.js +0 -2
  949. package/dist/serialization/types/ListAuthConnectionsResponse.d.ts +10 -0
  950. package/dist/serialization/types/ListAuthConnectionsResponse.js +42 -0
  951. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +39 -0
  952. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +61 -0
  953. package/dist/serialization/types/LlmLiteralJsonSchemaProperty.d.ts +12 -0
  954. package/dist/serialization/types/LlmLiteralJsonSchemaProperty.js +44 -0
  955. package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +7 -0
  956. package/dist/serialization/types/{ConversationSummaryResponseModelDirection.js → LlmLiteralJsonSchemaPropertyType.js} +2 -2
  957. package/dist/serialization/types/McpServerConfigInput.d.ts +2 -2
  958. package/dist/serialization/types/McpServerConfigInput.js +2 -2
  959. package/dist/serialization/types/McpServerConfigInputAuthConnection.d.ts +9 -0
  960. package/dist/serialization/types/McpServerConfigInputAuthConnection.js +41 -0
  961. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
  962. package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +7 -1
  963. package/dist/serialization/types/McpServerConfigOutput.d.ts +2 -2
  964. package/dist/serialization/types/McpServerConfigOutput.js +2 -2
  965. package/dist/serialization/types/McpServerConfigOutputAuthConnection.d.ts +9 -0
  966. package/dist/serialization/types/McpServerConfigOutputAuthConnection.js +41 -0
  967. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
  968. package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +7 -1
  969. package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +18 -0
  970. package/dist/serialization/types/OAuth2ClientCredsResponse.js +50 -0
  971. package/dist/serialization/types/OAuth2JwtResponse.d.ts +23 -0
  972. package/dist/serialization/types/OAuth2JwtResponse.js +55 -0
  973. package/dist/serialization/types/OAuth2JwtResponseAlgorithm.d.ts +7 -0
  974. package/dist/serialization/types/OAuth2JwtResponseAlgorithm.js +39 -0
  975. package/dist/serialization/types/PlayDtmfToolConfig.d.ts +1 -0
  976. package/dist/serialization/types/PlayDtmfToolConfig.js +1 -0
  977. package/dist/serialization/types/PreviewAudioDbModel.d.ts +2 -0
  978. package/dist/serialization/types/PreviewAudioDbModel.js +2 -0
  979. package/dist/serialization/types/PrivateKeyJwtResponse.d.ts +21 -0
  980. package/dist/serialization/types/PrivateKeyJwtResponse.js +53 -0
  981. package/dist/serialization/types/PrivateKeyJwtResponseAlgorithm.d.ts +7 -0
  982. package/dist/serialization/types/PrivateKeyJwtResponseAlgorithm.js +39 -0
  983. package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -1
  984. package/dist/serialization/types/ProjectExternalAudioResponseModel.js +2 -1
  985. package/dist/serialization/types/RetryTriggerAction.d.ts +9 -0
  986. package/dist/serialization/types/RetryTriggerAction.js +41 -0
  987. package/dist/serialization/types/SimulationTestModel.d.ts +1 -0
  988. package/dist/serialization/types/SimulationTestModel.js +1 -0
  989. package/dist/serialization/types/SingleTestRunRequestModel.d.ts +2 -0
  990. package/dist/serialization/types/SingleTestRunRequestModel.js +2 -0
  991. package/dist/serialization/types/SpeechHistoryItemResponse.d.ts +1 -0
  992. package/dist/serialization/types/SpeechHistoryItemResponse.js +1 -0
  993. package/dist/serialization/types/Subscription.d.ts +2 -0
  994. package/dist/serialization/types/Subscription.js +2 -0
  995. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +1 -21
  996. package/dist/serialization/types/SystemToolConfigInputParams.js +0 -10
  997. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +1 -21
  998. package/dist/serialization/types/SystemToolConfigOutputParams.js +0 -10
  999. package/dist/serialization/types/TelephonyDirection.d.ts +7 -0
  1000. package/dist/serialization/types/{MemoryEntryCreateToolConfig.js → TelephonyDirection.js} +2 -2
  1001. package/dist/serialization/types/UnitTestRunResponseModel.d.ts +3 -0
  1002. package/dist/serialization/types/UnitTestRunResponseModel.js +3 -0
  1003. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +1 -0
  1004. package/dist/serialization/types/UpdateSimulationTestRequest.js +1 -0
  1005. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -2
  1006. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -2
  1007. package/dist/serialization/types/WebhookToolApiSchemaConfigInputAuthConnection.d.ts +9 -0
  1008. package/dist/serialization/types/WebhookToolApiSchemaConfigInputAuthConnection.js +41 -0
  1009. package/dist/serialization/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.d.ts +2 -1
  1010. package/dist/serialization/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.js +7 -1
  1011. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -2
  1012. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -2
  1013. package/dist/serialization/types/WebhookToolApiSchemaConfigOutputAuthConnection.d.ts +9 -0
  1014. package/dist/serialization/types/WebhookToolApiSchemaConfigOutputAuthConnection.js +41 -0
  1015. package/dist/serialization/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.d.ts +2 -1
  1016. package/dist/serialization/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.js +7 -1
  1017. package/dist/serialization/types/WhatsAppAuthResponse.d.ts +14 -0
  1018. package/dist/serialization/types/WhatsAppAuthResponse.js +46 -0
  1019. package/dist/serialization/types/WorkflowExpressionConditionModelInputExpression.d.ts +6 -2
  1020. package/dist/serialization/types/WorkflowExpressionConditionModelInputExpression.js +4 -1
  1021. package/dist/serialization/types/WorkflowExpressionConditionModelOutputExpression.d.ts +4 -1
  1022. package/dist/serialization/types/WorkflowExpressionConditionModelOutputExpression.js +1 -0
  1023. package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -2
  1024. package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -2
  1025. package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -2
  1026. package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -2
  1027. package/dist/serialization/types/index.d.ts +72 -10
  1028. package/dist/serialization/types/index.js +72 -10
  1029. package/dist/version.d.ts +1 -1
  1030. package/dist/version.js +1 -1
  1031. package/package.json +1 -1
  1032. package/reference.md +558 -6
  1033. package/serialization/resources/conversationalAi/resources/index.d.ts +0 -1
  1034. package/serialization/resources/conversationalAi/resources/index.js +0 -1
  1035. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/index.d.ts +1 -0
  1036. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/index.js +1 -0
  1037. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.d.ts +23 -0
  1038. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.js +53 -0
  1039. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.d.ts +1 -0
  1040. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/document/types/index.js +17 -0
  1041. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +2 -0
  1042. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +2 -0
  1043. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.d.ts +2 -0
  1044. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost.js +2 -0
  1045. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/index.d.ts +1 -0
  1046. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/index.js +1 -0
  1047. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -2
  1048. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +2 -2
  1049. package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.d.ts +9 -0
  1050. package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.js +41 -0
  1051. package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.d.ts +2 -1
  1052. package/serialization/resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelRequestHeadersValue.js +7 -1
  1053. package/serialization/resources/conversationalAi/resources/mcpServers/types/index.d.ts +1 -0
  1054. package/serialization/resources/conversationalAi/resources/mcpServers/types/index.js +1 -0
  1055. package/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +1 -0
  1056. package/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.js +1 -0
  1057. package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.d.ts +2 -2
  1058. package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.js +2 -2
  1059. package/serialization/resources/conversationalAi/resources/twilio/index.d.ts +0 -1
  1060. package/serialization/resources/conversationalAi/resources/twilio/index.js +0 -1
  1061. package/serialization/resources/environmentVariables/client/index.d.ts +1 -0
  1062. package/serialization/resources/environmentVariables/client/index.js +17 -0
  1063. package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.d.ts +10 -0
  1064. package/serialization/resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js +42 -0
  1065. package/serialization/resources/environmentVariables/client/requests/index.d.ts +1 -0
  1066. package/serialization/resources/environmentVariables/client/requests/index.js +5 -0
  1067. package/serialization/resources/environmentVariables/index.d.ts +2 -0
  1068. package/serialization/resources/environmentVariables/index.js +18 -0
  1069. package/serialization/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.d.ts +19 -0
  1070. package/serialization/resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.js +51 -0
  1071. package/serialization/resources/environmentVariables/types/EnvironmentVariablesListRequestType.d.ts +7 -0
  1072. package/serialization/resources/environmentVariables/types/EnvironmentVariablesListRequestType.js +39 -0
  1073. package/serialization/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.d.ts +9 -0
  1074. package/serialization/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.js +45 -0
  1075. package/serialization/resources/environmentVariables/types/index.d.ts +3 -0
  1076. package/serialization/resources/environmentVariables/types/index.js +19 -0
  1077. package/serialization/resources/index.d.ts +3 -0
  1078. package/serialization/resources/index.js +4 -1
  1079. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +7 -0
  1080. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.js +42 -0
  1081. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  1082. package/serialization/resources/speechToText/types/index.js +1 -0
  1083. package/serialization/resources/workspace/resources/authConnections/index.d.ts +1 -0
  1084. package/serialization/resources/workspace/resources/authConnections/index.js +17 -0
  1085. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +27 -0
  1086. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +55 -0
  1087. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +39 -0
  1088. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +61 -0
  1089. package/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  1090. package/serialization/resources/workspace/resources/authConnections/types/index.js +18 -0
  1091. package/serialization/resources/workspace/resources/index.d.ts +2 -0
  1092. package/serialization/resources/workspace/resources/index.js +3 -1
  1093. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
  1094. package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
  1095. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
  1096. package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
  1097. package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +20 -0
  1098. package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +52 -0
  1099. package/serialization/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.d.ts +7 -0
  1100. package/serialization/types/ApiIntegrationOAuth2AuthCodeResponseScopeSeparator.js +39 -0
  1101. package/serialization/types/AstAndOperatorNodeInputChildrenItem.d.ts +6 -2
  1102. package/serialization/types/AstAndOperatorNodeInputChildrenItem.js +4 -1
  1103. package/serialization/types/AstAndOperatorNodeOutputChildrenItem.d.ts +4 -1
  1104. package/serialization/types/AstAndOperatorNodeOutputChildrenItem.js +1 -0
  1105. package/serialization/types/AstConditionalOperatorNodeInput.d.ts +11 -0
  1106. package/serialization/types/AstConditionalOperatorNodeInput.js +44 -0
  1107. package/serialization/types/AstConditionalOperatorNodeInputCondition.d.ts +55 -0
  1108. package/serialization/types/AstConditionalOperatorNodeInputCondition.js +67 -0
  1109. package/serialization/types/AstConditionalOperatorNodeInputFalseExpression.d.ts +55 -0
  1110. package/serialization/types/AstConditionalOperatorNodeInputFalseExpression.js +67 -0
  1111. package/serialization/types/AstConditionalOperatorNodeInputTrueExpression.d.ts +55 -0
  1112. package/serialization/types/AstConditionalOperatorNodeInputTrueExpression.js +67 -0
  1113. package/serialization/types/AstConditionalOperatorNodeOutput.d.ts +11 -0
  1114. package/serialization/types/AstConditionalOperatorNodeOutput.js +44 -0
  1115. package/serialization/types/AstConditionalOperatorNodeOutputCondition.d.ts +54 -0
  1116. package/serialization/types/AstConditionalOperatorNodeOutputCondition.js +65 -0
  1117. package/serialization/types/AstConditionalOperatorNodeOutputFalseExpression.d.ts +54 -0
  1118. package/serialization/types/AstConditionalOperatorNodeOutputFalseExpression.js +65 -0
  1119. package/serialization/types/AstConditionalOperatorNodeOutputTrueExpression.d.ts +54 -0
  1120. package/serialization/types/AstConditionalOperatorNodeOutputTrueExpression.js +65 -0
  1121. package/serialization/types/AstEqualsOperatorNodeInputLeft.d.ts +6 -2
  1122. package/serialization/types/AstEqualsOperatorNodeInputLeft.js +4 -1
  1123. package/serialization/types/AstEqualsOperatorNodeInputRight.d.ts +6 -2
  1124. package/serialization/types/AstEqualsOperatorNodeInputRight.js +4 -1
  1125. package/serialization/types/AstEqualsOperatorNodeOutputLeft.d.ts +4 -1
  1126. package/serialization/types/AstEqualsOperatorNodeOutputLeft.js +1 -0
  1127. package/serialization/types/AstEqualsOperatorNodeOutputRight.d.ts +4 -1
  1128. package/serialization/types/AstEqualsOperatorNodeOutputRight.js +1 -0
  1129. package/serialization/types/AstGreaterThanOperatorNodeInputLeft.d.ts +6 -2
  1130. package/serialization/types/AstGreaterThanOperatorNodeInputLeft.js +4 -1
  1131. package/serialization/types/AstGreaterThanOperatorNodeInputRight.d.ts +6 -2
  1132. package/serialization/types/AstGreaterThanOperatorNodeInputRight.js +4 -1
  1133. package/serialization/types/AstGreaterThanOperatorNodeOutputLeft.d.ts +4 -1
  1134. package/serialization/types/AstGreaterThanOperatorNodeOutputLeft.js +1 -0
  1135. package/serialization/types/AstGreaterThanOperatorNodeOutputRight.d.ts +4 -1
  1136. package/serialization/types/AstGreaterThanOperatorNodeOutputRight.js +1 -0
  1137. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
  1138. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputLeft.js +4 -1
  1139. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
  1140. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeInputRight.js +4 -1
  1141. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
  1142. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputLeft.js +1 -0
  1143. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
  1144. package/serialization/types/AstGreaterThanOrEqualsOperatorNodeOutputRight.js +1 -0
  1145. package/serialization/types/AstLessThanOperatorNodeInputLeft.d.ts +6 -2
  1146. package/serialization/types/AstLessThanOperatorNodeInputLeft.js +4 -1
  1147. package/serialization/types/AstLessThanOperatorNodeInputRight.d.ts +6 -2
  1148. package/serialization/types/AstLessThanOperatorNodeInputRight.js +4 -1
  1149. package/serialization/types/AstLessThanOperatorNodeOutputLeft.d.ts +4 -1
  1150. package/serialization/types/AstLessThanOperatorNodeOutputLeft.js +1 -0
  1151. package/serialization/types/AstLessThanOperatorNodeOutputRight.d.ts +4 -1
  1152. package/serialization/types/AstLessThanOperatorNodeOutputRight.js +1 -0
  1153. package/serialization/types/AstLessThanOrEqualsOperatorNodeInputLeft.d.ts +6 -2
  1154. package/serialization/types/AstLessThanOrEqualsOperatorNodeInputLeft.js +4 -1
  1155. package/serialization/types/AstLessThanOrEqualsOperatorNodeInputRight.d.ts +6 -2
  1156. package/serialization/types/AstLessThanOrEqualsOperatorNodeInputRight.js +4 -1
  1157. package/serialization/types/AstLessThanOrEqualsOperatorNodeOutputLeft.d.ts +4 -1
  1158. package/serialization/types/AstLessThanOrEqualsOperatorNodeOutputLeft.js +1 -0
  1159. package/serialization/types/AstLessThanOrEqualsOperatorNodeOutputRight.d.ts +4 -1
  1160. package/serialization/types/AstLessThanOrEqualsOperatorNodeOutputRight.js +1 -0
  1161. package/serialization/types/AstNotEqualsOperatorNodeInputLeft.d.ts +6 -2
  1162. package/serialization/types/AstNotEqualsOperatorNodeInputLeft.js +4 -1
  1163. package/serialization/types/AstNotEqualsOperatorNodeInputRight.d.ts +6 -2
  1164. package/serialization/types/AstNotEqualsOperatorNodeInputRight.js +4 -1
  1165. package/serialization/types/AstNotEqualsOperatorNodeOutputLeft.d.ts +4 -1
  1166. package/serialization/types/AstNotEqualsOperatorNodeOutputLeft.js +1 -0
  1167. package/serialization/types/AstNotEqualsOperatorNodeOutputRight.d.ts +4 -1
  1168. package/serialization/types/AstNotEqualsOperatorNodeOutputRight.js +1 -0
  1169. package/serialization/types/AstOrOperatorNodeInputChildrenItem.d.ts +6 -2
  1170. package/serialization/types/AstOrOperatorNodeInputChildrenItem.js +4 -1
  1171. package/serialization/types/AstOrOperatorNodeOutputChildrenItem.d.ts +4 -1
  1172. package/serialization/types/AstOrOperatorNodeOutputChildrenItem.js +1 -0
  1173. package/serialization/types/AstllmNodeInput.d.ts +4 -4
  1174. package/serialization/types/AstllmNodeInput.js +3 -3
  1175. package/serialization/types/AstllmNodeInputPrompt.d.ts +10 -0
  1176. package/serialization/types/AstllmNodeInputPrompt.js +42 -0
  1177. package/serialization/types/AstllmNodeInputValueSchema.d.ts +11 -0
  1178. package/serialization/types/AstllmNodeInputValueSchema.js +43 -0
  1179. package/serialization/types/AstllmNodeOutput.d.ts +2 -0
  1180. package/serialization/types/AstllmNodeOutput.js +2 -0
  1181. package/serialization/types/AuthConnectionDependencies.d.ts +14 -0
  1182. package/serialization/types/AuthConnectionDependencies.js +46 -0
  1183. package/serialization/types/AuthConnectionDependenciesMcpServersItem.d.ts +15 -0
  1184. package/serialization/types/AuthConnectionDependenciesMcpServersItem.js +49 -0
  1185. package/serialization/types/AuthConnectionDependenciesToolsItem.d.ts +15 -0
  1186. package/serialization/types/AuthConnectionDependenciesToolsItem.js +49 -0
  1187. package/serialization/types/AutoSyncInfo.d.ts +12 -0
  1188. package/serialization/types/AutoSyncInfo.js +44 -0
  1189. package/serialization/types/BasicAuthResponse.d.ts +14 -0
  1190. package/serialization/types/BasicAuthResponse.js +46 -0
  1191. package/serialization/types/BearerAuthResponse.d.ts +13 -0
  1192. package/serialization/types/BearerAuthResponse.js +45 -0
  1193. package/serialization/types/CaptionStyleModel.d.ts +4 -0
  1194. package/serialization/types/CaptionStyleModel.js +4 -0
  1195. package/serialization/types/CaptionStyleModelTextBlendMode.d.ts +7 -0
  1196. package/serialization/types/CaptionStyleModelTextBlendMode.js +39 -0
  1197. package/serialization/types/CaptionStyleModelTextTransform.d.ts +7 -0
  1198. package/serialization/types/CaptionStyleModelTextTransform.js +39 -0
  1199. package/serialization/types/CaptionStyleModelTextWeight.d.ts +1 -1
  1200. package/serialization/types/CaptionStyleModelTextWeight.js +1 -1
  1201. package/serialization/types/ContentConfig.d.ts +8 -8
  1202. package/serialization/types/ContentConfig.js +8 -8
  1203. package/serialization/types/ContentGuardrailInput.d.ts +2 -0
  1204. package/serialization/types/ContentGuardrailInput.js +2 -0
  1205. package/serialization/types/ContentGuardrailInputTriggerAction.d.ts +15 -0
  1206. package/serialization/types/ContentGuardrailInputTriggerAction.js +49 -0
  1207. package/serialization/types/ContentGuardrailOutput.d.ts +2 -0
  1208. package/serialization/types/ContentGuardrailOutput.js +2 -0
  1209. package/serialization/types/ContentGuardrailOutputTriggerAction.d.ts +15 -0
  1210. package/serialization/types/ContentGuardrailOutputTriggerAction.js +49 -0
  1211. package/serialization/types/ContentThresholdGuardrail.d.ts +11 -0
  1212. package/serialization/types/ContentThresholdGuardrail.js +43 -0
  1213. package/serialization/types/ContentThresholdGuardrailThreshold.d.ts +7 -0
  1214. package/serialization/types/ContentThresholdGuardrailThreshold.js +44 -0
  1215. package/serialization/types/Contributor.d.ts +2 -0
  1216. package/serialization/types/Contributor.js +2 -0
  1217. package/serialization/types/ConvAiEnvVarLocator.d.ts +9 -0
  1218. package/serialization/types/ConvAiEnvVarLocator.js +41 -0
  1219. package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.d.ts +2 -2
  1220. package/serialization/types/ConversationHistorySipTrunkingPhoneCallModel.js +2 -2
  1221. package/{dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts → serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts} +5 -5
  1222. package/{dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js → serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js} +5 -5
  1223. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +22 -0
  1224. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +54 -0
  1225. package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +2 -2
  1226. package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -2
  1227. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +2 -2
  1228. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -2
  1229. package/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +2 -2
  1230. package/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +2 -2
  1231. package/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.d.ts +13 -0
  1232. package/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsInput.js +45 -0
  1233. package/serialization/types/{ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.d.ts → ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.d.ts} +2 -2
  1234. package/{dist/serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js → serialization/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetailsOutput.js} +2 -2
  1235. package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.d.ts +2 -2
  1236. package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelInputToolDetails.js +2 -2
  1237. package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.d.ts +2 -2
  1238. package/serialization/types/ConversationHistoryTranscriptToolCallCommonModelOutputToolDetails.js +2 -2
  1239. package/serialization/types/ConversationHistoryTwilioPhoneCallModel.d.ts +2 -2
  1240. package/serialization/types/ConversationHistoryTwilioPhoneCallModel.js +2 -2
  1241. package/serialization/types/ConversationSummaryResponseModel.d.ts +3 -2
  1242. package/serialization/types/ConversationSummaryResponseModel.js +3 -2
  1243. package/serialization/types/CreateAuthConnectionEnvironmentVariableRequest.d.ts +11 -0
  1244. package/serialization/types/CreateAuthConnectionEnvironmentVariableRequest.js +43 -0
  1245. package/serialization/types/CreateBasicAuthRequest.d.ts +12 -0
  1246. package/serialization/types/CreateBasicAuthRequest.js +44 -0
  1247. package/serialization/types/CreateCustomHeaderAuthRequest.d.ts +12 -0
  1248. package/serialization/types/CreateCustomHeaderAuthRequest.js +44 -0
  1249. package/serialization/types/CreateOAuth2ClientCredsRequest.d.ts +17 -0
  1250. package/serialization/types/CreateOAuth2ClientCredsRequest.js +49 -0
  1251. package/serialization/types/CreateOAuth2JwtRequest.d.ts +21 -0
  1252. package/serialization/types/CreateOAuth2JwtRequest.js +53 -0
  1253. package/serialization/types/CreateOAuth2JwtRequestAlgorithm.d.ts +7 -0
  1254. package/serialization/types/CreateOAuth2JwtRequestAlgorithm.js +39 -0
  1255. package/serialization/types/CreatePrivateKeyJwtRequest.d.ts +19 -0
  1256. package/serialization/types/CreatePrivateKeyJwtRequest.js +51 -0
  1257. package/serialization/types/CreatePrivateKeyJwtRequestAlgorithm.d.ts +7 -0
  1258. package/serialization/types/CreatePrivateKeyJwtRequestAlgorithm.js +39 -0
  1259. package/serialization/types/CreateSecretEnvironmentVariableRequest.d.ts +11 -0
  1260. package/serialization/types/CreateSecretEnvironmentVariableRequest.js +43 -0
  1261. package/serialization/types/CreateSimulationTestRequest.d.ts +1 -0
  1262. package/serialization/types/CreateSimulationTestRequest.js +1 -0
  1263. package/serialization/types/CreateStringEnvironmentVariableRequest.d.ts +10 -0
  1264. package/serialization/types/CreateStringEnvironmentVariableRequest.js +42 -0
  1265. package/serialization/types/CustomGuardrailConfig.d.ts +2 -0
  1266. package/serialization/types/CustomGuardrailConfig.js +2 -0
  1267. package/serialization/types/CustomGuardrailConfigTriggerAction.d.ts +15 -0
  1268. package/serialization/types/CustomGuardrailConfigTriggerAction.js +49 -0
  1269. package/serialization/types/CustomHeaderAuthResponse.d.ts +14 -0
  1270. package/serialization/types/CustomHeaderAuthResponse.js +46 -0
  1271. package/serialization/types/CustomLlm.d.ts +2 -2
  1272. package/serialization/types/CustomLlm.js +2 -2
  1273. package/serialization/types/CustomLlmApiKey.d.ts +9 -0
  1274. package/serialization/types/CustomLlmApiKey.js +41 -0
  1275. package/serialization/types/CustomLlmRequestHeadersValue.d.ts +2 -1
  1276. package/serialization/types/CustomLlmRequestHeadersValue.js +7 -1
  1277. package/serialization/types/DependentAvailableMcpServerIdentifier.d.ts +13 -0
  1278. package/serialization/types/DependentAvailableMcpServerIdentifier.js +45 -0
  1279. package/serialization/types/DependentAvailableMcpServerIdentifierAccessLevel.d.ts +7 -0
  1280. package/serialization/types/DependentAvailableMcpServerIdentifierAccessLevel.js +39 -0
  1281. package/serialization/types/DependentIntegrationConnectionIdentifier.d.ts +10 -0
  1282. package/serialization/types/DependentIntegrationConnectionIdentifier.js +42 -0
  1283. package/serialization/types/DependentUnknownMcpServerIdentifier.d.ts +9 -0
  1284. package/serialization/types/DependentUnknownMcpServerIdentifier.js +41 -0
  1285. package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  1286. package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  1287. package/serialization/types/EndCallTriggerAction.d.ts +7 -0
  1288. package/{dist/serialization/types/MemoryEntrySearchToolConfig.js → serialization/types/EndCallTriggerAction.js} +2 -2
  1289. package/serialization/types/EnvironmentAuthConnectionLocator.d.ts +9 -0
  1290. package/serialization/types/EnvironmentAuthConnectionLocator.js +41 -0
  1291. package/serialization/types/EnvironmentVariableAuthConnectionValue.d.ts +9 -0
  1292. package/serialization/types/EnvironmentVariableAuthConnectionValue.js +41 -0
  1293. package/serialization/types/EnvironmentVariableAuthConnectionValueRequest.d.ts +9 -0
  1294. package/serialization/types/EnvironmentVariableAuthConnectionValueRequest.js +41 -0
  1295. package/serialization/types/EnvironmentVariableResponse.d.ts +18 -0
  1296. package/serialization/types/EnvironmentVariableResponse.js +50 -0
  1297. package/serialization/types/EnvironmentVariableResponseType.d.ts +7 -0
  1298. package/serialization/types/EnvironmentVariableResponseType.js +39 -0
  1299. package/serialization/types/EnvironmentVariableResponseValues.d.ts +9 -0
  1300. package/serialization/types/EnvironmentVariableResponseValues.js +45 -0
  1301. package/serialization/types/EnvironmentVariableSecretValue.d.ts +9 -0
  1302. package/serialization/types/EnvironmentVariableSecretValue.js +41 -0
  1303. package/serialization/types/EnvironmentVariableSecretValueRequest.d.ts +9 -0
  1304. package/serialization/types/EnvironmentVariableSecretValueRequest.js +41 -0
  1305. package/serialization/types/EnvironmentVariablesListResponse.d.ts +12 -0
  1306. package/serialization/types/EnvironmentVariablesListResponse.js +44 -0
  1307. package/serialization/types/GetConvAiSettingsResponseModel.d.ts +1 -0
  1308. package/serialization/types/GetConvAiSettingsResponseModel.js +1 -0
  1309. package/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
  1310. package/serialization/types/GetKnowledgeBaseFolderResponseModel.js +2 -0
  1311. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  1312. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
  1313. package/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -0
  1314. package/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -0
  1315. package/serialization/types/GetSimulationTestResponseModel.d.ts +1 -0
  1316. package/serialization/types/GetSimulationTestResponseModel.js +1 -0
  1317. package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
  1318. package/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
  1319. package/serialization/types/GuardrailsV1Input.d.ts +0 -2
  1320. package/serialization/types/GuardrailsV1Input.js +0 -2
  1321. package/serialization/types/GuardrailsV1Output.d.ts +0 -2
  1322. package/serialization/types/GuardrailsV1Output.js +0 -2
  1323. package/serialization/types/ListAuthConnectionsResponse.d.ts +10 -0
  1324. package/serialization/types/ListAuthConnectionsResponse.js +42 -0
  1325. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +39 -0
  1326. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +61 -0
  1327. package/serialization/types/LlmLiteralJsonSchemaProperty.d.ts +12 -0
  1328. package/serialization/types/LlmLiteralJsonSchemaProperty.js +44 -0
  1329. package/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +7 -0
  1330. package/serialization/types/LlmLiteralJsonSchemaPropertyType.js +39 -0
  1331. package/serialization/types/McpServerConfigInput.d.ts +2 -2
  1332. package/serialization/types/McpServerConfigInput.js +2 -2
  1333. package/serialization/types/McpServerConfigInputAuthConnection.d.ts +9 -0
  1334. package/serialization/types/McpServerConfigInputAuthConnection.js +41 -0
  1335. package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +2 -1
  1336. package/serialization/types/McpServerConfigInputRequestHeadersValue.js +7 -1
  1337. package/serialization/types/McpServerConfigOutput.d.ts +2 -2
  1338. package/serialization/types/McpServerConfigOutput.js +2 -2
  1339. package/serialization/types/McpServerConfigOutputAuthConnection.d.ts +9 -0
  1340. package/serialization/types/McpServerConfigOutputAuthConnection.js +41 -0
  1341. package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +2 -1
  1342. package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +7 -1
  1343. package/serialization/types/OAuth2ClientCredsResponse.d.ts +18 -0
  1344. package/serialization/types/OAuth2ClientCredsResponse.js +50 -0
  1345. package/serialization/types/OAuth2JwtResponse.d.ts +23 -0
  1346. package/serialization/types/OAuth2JwtResponse.js +55 -0
  1347. package/serialization/types/OAuth2JwtResponseAlgorithm.d.ts +7 -0
  1348. package/serialization/types/OAuth2JwtResponseAlgorithm.js +39 -0
  1349. package/serialization/types/PlayDtmfToolConfig.d.ts +1 -0
  1350. package/serialization/types/PlayDtmfToolConfig.js +1 -0
  1351. package/serialization/types/PreviewAudioDbModel.d.ts +2 -0
  1352. package/serialization/types/PreviewAudioDbModel.js +2 -0
  1353. package/serialization/types/PrivateKeyJwtResponse.d.ts +21 -0
  1354. package/serialization/types/PrivateKeyJwtResponse.js +53 -0
  1355. package/serialization/types/PrivateKeyJwtResponseAlgorithm.d.ts +7 -0
  1356. package/serialization/types/PrivateKeyJwtResponseAlgorithm.js +39 -0
  1357. package/serialization/types/ProjectExternalAudioResponseModel.d.ts +2 -1
  1358. package/serialization/types/ProjectExternalAudioResponseModel.js +2 -1
  1359. package/serialization/types/RetryTriggerAction.d.ts +9 -0
  1360. package/serialization/types/RetryTriggerAction.js +41 -0
  1361. package/serialization/types/SimulationTestModel.d.ts +1 -0
  1362. package/serialization/types/SimulationTestModel.js +1 -0
  1363. package/serialization/types/SingleTestRunRequestModel.d.ts +2 -0
  1364. package/serialization/types/SingleTestRunRequestModel.js +2 -0
  1365. package/serialization/types/SpeechHistoryItemResponse.d.ts +1 -0
  1366. package/serialization/types/SpeechHistoryItemResponse.js +1 -0
  1367. package/serialization/types/Subscription.d.ts +2 -0
  1368. package/serialization/types/Subscription.js +2 -0
  1369. package/serialization/types/SystemToolConfigInputParams.d.ts +1 -21
  1370. package/serialization/types/SystemToolConfigInputParams.js +0 -10
  1371. package/serialization/types/SystemToolConfigOutputParams.d.ts +1 -21
  1372. package/serialization/types/SystemToolConfigOutputParams.js +0 -10
  1373. package/serialization/types/TelephonyDirection.d.ts +7 -0
  1374. package/{dist/serialization/types/MemoryEntryDeleteToolConfig.js → serialization/types/TelephonyDirection.js} +2 -2
  1375. package/serialization/types/UnitTestRunResponseModel.d.ts +3 -0
  1376. package/serialization/types/UnitTestRunResponseModel.js +3 -0
  1377. package/serialization/types/UpdateSimulationTestRequest.d.ts +1 -0
  1378. package/serialization/types/UpdateSimulationTestRequest.js +1 -0
  1379. package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -2
  1380. package/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -2
  1381. package/serialization/types/WebhookToolApiSchemaConfigInputAuthConnection.d.ts +9 -0
  1382. package/serialization/types/WebhookToolApiSchemaConfigInputAuthConnection.js +41 -0
  1383. package/serialization/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.d.ts +2 -1
  1384. package/serialization/types/WebhookToolApiSchemaConfigInputRequestHeadersValue.js +7 -1
  1385. package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -2
  1386. package/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -2
  1387. package/serialization/types/WebhookToolApiSchemaConfigOutputAuthConnection.d.ts +9 -0
  1388. package/serialization/types/WebhookToolApiSchemaConfigOutputAuthConnection.js +41 -0
  1389. package/serialization/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.d.ts +2 -1
  1390. package/serialization/types/WebhookToolApiSchemaConfigOutputRequestHeadersValue.js +7 -1
  1391. package/serialization/types/WhatsAppAuthResponse.d.ts +14 -0
  1392. package/serialization/types/WhatsAppAuthResponse.js +46 -0
  1393. package/serialization/types/WorkflowExpressionConditionModelInputExpression.d.ts +6 -2
  1394. package/serialization/types/WorkflowExpressionConditionModelInputExpression.js +4 -1
  1395. package/serialization/types/WorkflowExpressionConditionModelOutputExpression.d.ts +4 -1
  1396. package/serialization/types/WorkflowExpressionConditionModelOutputExpression.js +1 -0
  1397. package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +2 -2
  1398. package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +2 -2
  1399. package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +2 -2
  1400. package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +2 -2
  1401. package/serialization/types/index.d.ts +72 -10
  1402. package/serialization/types/index.js +72 -10
  1403. package/version.d.ts +1 -1
  1404. package/version.js +1 -1
  1405. package/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +0 -5
  1406. package/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +0 -8
  1407. package/api/resources/conversationalAi/resources/twilio/types/index.d.ts +0 -1
  1408. package/api/types/AgentPromptChangeToolConfig.d.ts +0 -1
  1409. package/api/types/ConversationHistorySipTrunkingPhoneCallModelDirection.d.ts +0 -5
  1410. package/api/types/ConversationHistorySipTrunkingPhoneCallModelDirection.js +0 -8
  1411. package/api/types/ConversationHistoryTwilioPhoneCallModelDirection.d.ts +0 -5
  1412. package/api/types/ConversationHistoryTwilioPhoneCallModelDirection.js +0 -8
  1413. package/api/types/ConversationSummaryResponseModelDirection.d.ts +0 -5
  1414. package/api/types/MemoryEntryCreateToolConfig.d.ts +0 -1
  1415. package/api/types/MemoryEntryDeleteToolConfig.d.ts +0 -1
  1416. package/api/types/MemoryEntrySearchToolConfig.d.ts +0 -1
  1417. package/api/types/MemoryEntryUpdateToolConfig.d.ts +0 -1
  1418. package/dist/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +0 -5
  1419. package/dist/api/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.js +0 -8
  1420. package/dist/api/resources/conversationalAi/resources/twilio/types/index.d.ts +0 -1
  1421. package/dist/api/types/AgentPromptChangeToolConfig.d.ts +0 -1
  1422. package/dist/api/types/ConversationHistorySipTrunkingPhoneCallModelDirection.d.ts +0 -5
  1423. package/dist/api/types/ConversationHistorySipTrunkingPhoneCallModelDirection.js +0 -8
  1424. package/dist/api/types/ConversationHistoryTwilioPhoneCallModelDirection.d.ts +0 -5
  1425. package/dist/api/types/ConversationHistoryTwilioPhoneCallModelDirection.js +0 -8
  1426. package/dist/api/types/ConversationSummaryResponseModelDirection.d.ts +0 -5
  1427. package/dist/api/types/MemoryEntryCreateToolConfig.d.ts +0 -1
  1428. package/dist/api/types/MemoryEntryDeleteToolConfig.d.ts +0 -1
  1429. package/dist/api/types/MemoryEntrySearchToolConfig.d.ts +0 -1
  1430. package/dist/api/types/MemoryEntryUpdateToolConfig.d.ts +0 -1
  1431. package/dist/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +0 -7
  1432. package/dist/serialization/resources/conversationalAi/resources/twilio/types/index.d.ts +0 -1
  1433. package/dist/serialization/types/AgentPromptChangeToolConfig.d.ts +0 -7
  1434. package/dist/serialization/types/ConversationHistorySipTrunkingPhoneCallModelDirection.d.ts +0 -7
  1435. package/dist/serialization/types/ConversationHistoryTwilioPhoneCallModelDirection.d.ts +0 -7
  1436. package/dist/serialization/types/ConversationSummaryResponseModelDirection.d.ts +0 -7
  1437. package/dist/serialization/types/MemoryEntryCreateToolConfig.d.ts +0 -7
  1438. package/dist/serialization/types/MemoryEntryDeleteToolConfig.d.ts +0 -7
  1439. package/dist/serialization/types/MemoryEntrySearchToolConfig.d.ts +0 -7
  1440. package/dist/serialization/types/MemoryEntryUpdateToolConfig.d.ts +0 -7
  1441. package/dist/serialization/types/MemoryEntryUpdateToolConfig.js +0 -39
  1442. package/serialization/resources/conversationalAi/resources/twilio/types/BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPostDirection.d.ts +0 -7
  1443. package/serialization/resources/conversationalAi/resources/twilio/types/index.d.ts +0 -1
  1444. package/serialization/types/AgentPromptChangeToolConfig.d.ts +0 -7
  1445. package/serialization/types/AgentPromptChangeToolConfig.js +0 -39
  1446. package/serialization/types/ConversationHistorySipTrunkingPhoneCallModelDirection.d.ts +0 -7
  1447. package/serialization/types/ConversationHistorySipTrunkingPhoneCallModelDirection.js +0 -39
  1448. package/serialization/types/ConversationHistoryTwilioPhoneCallModelDirection.d.ts +0 -7
  1449. package/serialization/types/ConversationSummaryResponseModelDirection.d.ts +0 -7
  1450. package/serialization/types/ConversationSummaryResponseModelDirection.js +0 -39
  1451. package/serialization/types/MemoryEntryCreateToolConfig.d.ts +0 -7
  1452. package/serialization/types/MemoryEntryCreateToolConfig.js +0 -39
  1453. package/serialization/types/MemoryEntryDeleteToolConfig.d.ts +0 -7
  1454. package/serialization/types/MemoryEntryDeleteToolConfig.js +0 -39
  1455. package/serialization/types/MemoryEntrySearchToolConfig.d.ts +0 -7
  1456. package/serialization/types/MemoryEntrySearchToolConfig.js +0 -39
  1457. package/serialization/types/MemoryEntryUpdateToolConfig.d.ts +0 -7
  1458. package/serialization/types/MemoryEntryUpdateToolConfig.js +0 -39
  1459. /package/api/{types/AgentPromptChangeToolConfig.js → resources/conversationalAi/resources/knowledgeBase/resources/document/types/DocumentRefreshResponse.js} +0 -0
  1460. /package/api/{types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js → resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/requests/ChunkGetRequest.js} +0 -0
  1461. /package/api/{types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js → resources/conversationalAi/resources/mcpServers/types/McpServerConfigUpdateRequestModelAuthConnection.js} +0 -0
  1462. /package/api/{types/MemoryEntryCreateToolConfig.js → resources/conversationalAi/resources/tools/client/requests/ToolsDeleteRequest.js} +0 -0
  1463. /package/api/{types/MemoryEntryDeleteToolConfig.js → resources/environmentVariables/client/requests/EnvironmentVariablesListRequest.js} +0 -0
  1464. /package/api/{types/MemoryEntrySearchToolConfig.js → resources/environmentVariables/client/requests/UpdateEnvironmentVariableRequest.js} +0 -0
  1465. /package/api/{types/MemoryEntryUpdateToolConfig.js → resources/environmentVariables/types/EnvironmentVariablesCreateRequestBody.js} +0 -0
  1466. /package/{dist/api/types/AgentPromptChangeToolConfig.js → api/resources/environmentVariables/types/UpdateEnvironmentVariableRequestValuesValue.js} +0 -0
  1467. /package/{dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js → api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.js} +0 -0
  1468. /package/{dist/api/types/ConversationHistoryTranscriptToolCallApiIntegrationWebhookDetails.js → api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js} +0 -0
  1469. /package/{dist/api/types/MemoryEntryCreateToolConfig.js → api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js} +0 -0
  1470. /package/{dist/api/types/MemoryEntryDeleteToolConfig.js → api/types/ApiIntegrationOAuth2AuthCodeResponse.js} +0 -0
  1471. /package/{dist/api/types/MemoryEntrySearchToolConfig.js → api/types/AstConditionalOperatorNodeInput.js} +0 -0
  1472. /package/{dist/api/types/MemoryEntryUpdateToolConfig.js → api/types/AstConditionalOperatorNodeInputCondition.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.39.0",
45
- "User-Agent": "@elevenlabs/elevenlabs-js/v2.39.0",
44
+ "X-Fern-SDK-Version": "v2.40.0",
45
+ "User-Agent": "@elevenlabs/elevenlabs-js/v2.40.0",
46
46
  "X-Fern-Runtime": core.RUNTIME.type,
47
47
  "X-Fern-Runtime-Version": core.RUNTIME.version,
48
48
  "xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
package/Client.d.ts CHANGED
@@ -2,6 +2,7 @@ import { AudioIsolationClient } from "./api/resources/audioIsolation/client/Clie
2
2
  import { AudioNativeClient } from "./api/resources/audioNative/client/Client";
3
3
  import { ConversationalAiClient } from "./api/resources/conversationalAi/client/Client";
4
4
  import { DubbingClient } from "./api/resources/dubbing/client/Client";
5
+ import { EnvironmentVariablesClient } from "./api/resources/environmentVariables/client/Client";
5
6
  import { ForcedAlignmentClient } from "./api/resources/forcedAlignment/client/Client";
6
7
  import { HistoryClient } from "./api/resources/history/client/Client";
7
8
  import { ModelsClient } from "./api/resources/models/client/Client";
@@ -53,6 +54,7 @@ export declare class ElevenLabsClient {
53
54
  protected _speechToText: SpeechToTextClient | undefined;
54
55
  protected _forcedAlignment: ForcedAlignmentClient | undefined;
55
56
  protected _conversationalAi: ConversationalAiClient | undefined;
57
+ protected _environmentVariables: EnvironmentVariablesClient | undefined;
56
58
  protected _music: MusicClient | undefined;
57
59
  protected _tokens: TokensClient | undefined;
58
60
  protected _workspace: WorkspaceClient | undefined;
@@ -78,6 +80,7 @@ export declare class ElevenLabsClient {
78
80
  get speechToText(): SpeechToTextClient;
79
81
  get forcedAlignment(): ForcedAlignmentClient;
80
82
  get conversationalAi(): ConversationalAiClient;
83
+ get environmentVariables(): EnvironmentVariablesClient;
81
84
  get music(): MusicClient;
82
85
  get tokens(): TokensClient;
83
86
  get workspace(): WorkspaceClient;
package/Client.js CHANGED
@@ -48,26 +48,27 @@ const Client_1 = require("./api/resources/audioIsolation/client/Client");
48
48
  const Client_2 = require("./api/resources/audioNative/client/Client");
49
49
  const Client_3 = require("./api/resources/conversationalAi/client/Client");
50
50
  const Client_4 = require("./api/resources/dubbing/client/Client");
51
- const Client_5 = require("./api/resources/forcedAlignment/client/Client");
52
- const Client_6 = require("./api/resources/history/client/Client");
53
- const Client_7 = require("./api/resources/models/client/Client");
54
- const Client_8 = require("./api/resources/music/client/Client");
55
- const Client_9 = require("./api/resources/pronunciationDictionaries/client/Client");
56
- const Client_10 = require("./api/resources/samples/client/Client");
57
- const Client_11 = require("./api/resources/serviceAccounts/client/Client");
58
- const Client_12 = require("./api/resources/speechToSpeech/client/Client");
59
- const Client_13 = require("./api/resources/speechToText/client/Client");
60
- const Client_14 = require("./api/resources/studio/client/Client");
61
- const Client_15 = require("./api/resources/textToDialogue/client/Client");
62
- const Client_16 = require("./api/resources/textToSoundEffects/client/Client");
63
- const Client_17 = require("./api/resources/textToSpeech/client/Client");
64
- const Client_18 = require("./api/resources/textToVoice/client/Client");
65
- const Client_19 = require("./api/resources/tokens/client/Client");
66
- const Client_20 = require("./api/resources/usage/client/Client");
67
- const Client_21 = require("./api/resources/user/client/Client");
68
- const Client_22 = require("./api/resources/voices/client/Client");
69
- const Client_23 = require("./api/resources/webhooks/client/Client");
70
- const Client_24 = require("./api/resources/workspace/client/Client");
51
+ const Client_5 = require("./api/resources/environmentVariables/client/Client");
52
+ const Client_6 = require("./api/resources/forcedAlignment/client/Client");
53
+ const Client_7 = require("./api/resources/history/client/Client");
54
+ const Client_8 = require("./api/resources/models/client/Client");
55
+ const Client_9 = require("./api/resources/music/client/Client");
56
+ const Client_10 = require("./api/resources/pronunciationDictionaries/client/Client");
57
+ const Client_11 = require("./api/resources/samples/client/Client");
58
+ const Client_12 = require("./api/resources/serviceAccounts/client/Client");
59
+ const Client_13 = require("./api/resources/speechToSpeech/client/Client");
60
+ const Client_14 = require("./api/resources/speechToText/client/Client");
61
+ const Client_15 = require("./api/resources/studio/client/Client");
62
+ const Client_16 = require("./api/resources/textToDialogue/client/Client");
63
+ const Client_17 = require("./api/resources/textToSoundEffects/client/Client");
64
+ const Client_18 = require("./api/resources/textToSpeech/client/Client");
65
+ const Client_19 = require("./api/resources/textToVoice/client/Client");
66
+ const Client_20 = require("./api/resources/tokens/client/Client");
67
+ const Client_21 = require("./api/resources/usage/client/Client");
68
+ const Client_22 = require("./api/resources/user/client/Client");
69
+ const Client_23 = require("./api/resources/voices/client/Client");
70
+ const Client_24 = require("./api/resources/webhooks/client/Client");
71
+ const Client_25 = require("./api/resources/workspace/client/Client");
71
72
  const BaseClient_1 = require("./BaseClient");
72
73
  const core = __importStar(require("./core"));
73
74
  const headers_1 = require("./core/headers");
@@ -80,11 +81,11 @@ class ElevenLabsClient {
80
81
  }
81
82
  get history() {
82
83
  var _a;
83
- return ((_a = this._history) !== null && _a !== void 0 ? _a : (this._history = new Client_6.HistoryClient(this._options)));
84
+ return ((_a = this._history) !== null && _a !== void 0 ? _a : (this._history = new Client_7.HistoryClient(this._options)));
84
85
  }
85
86
  get textToSoundEffects() {
86
87
  var _a;
87
- return ((_a = this._textToSoundEffects) !== null && _a !== void 0 ? _a : (this._textToSoundEffects = new Client_16.TextToSoundEffectsClient(this._options)));
88
+ return ((_a = this._textToSoundEffects) !== null && _a !== void 0 ? _a : (this._textToSoundEffects = new Client_17.TextToSoundEffectsClient(this._options)));
88
89
  }
89
90
  get audioIsolation() {
90
91
  var _a;
@@ -92,35 +93,35 @@ class ElevenLabsClient {
92
93
  }
93
94
  get samples() {
94
95
  var _a;
95
- return ((_a = this._samples) !== null && _a !== void 0 ? _a : (this._samples = new Client_10.SamplesClient(this._options)));
96
+ return ((_a = this._samples) !== null && _a !== void 0 ? _a : (this._samples = new Client_11.SamplesClient(this._options)));
96
97
  }
97
98
  get textToSpeech() {
98
99
  var _a;
99
- return ((_a = this._textToSpeech) !== null && _a !== void 0 ? _a : (this._textToSpeech = new Client_17.TextToSpeechClient(this._options)));
100
+ return ((_a = this._textToSpeech) !== null && _a !== void 0 ? _a : (this._textToSpeech = new Client_18.TextToSpeechClient(this._options)));
100
101
  }
101
102
  get textToDialogue() {
102
103
  var _a;
103
- return ((_a = this._textToDialogue) !== null && _a !== void 0 ? _a : (this._textToDialogue = new Client_15.TextToDialogueClient(this._options)));
104
+ return ((_a = this._textToDialogue) !== null && _a !== void 0 ? _a : (this._textToDialogue = new Client_16.TextToDialogueClient(this._options)));
104
105
  }
105
106
  get speechToSpeech() {
106
107
  var _a;
107
- return ((_a = this._speechToSpeech) !== null && _a !== void 0 ? _a : (this._speechToSpeech = new Client_12.SpeechToSpeechClient(this._options)));
108
+ return ((_a = this._speechToSpeech) !== null && _a !== void 0 ? _a : (this._speechToSpeech = new Client_13.SpeechToSpeechClient(this._options)));
108
109
  }
109
110
  get textToVoice() {
110
111
  var _a;
111
- return ((_a = this._textToVoice) !== null && _a !== void 0 ? _a : (this._textToVoice = new Client_18.TextToVoiceClient(this._options)));
112
+ return ((_a = this._textToVoice) !== null && _a !== void 0 ? _a : (this._textToVoice = new Client_19.TextToVoiceClient(this._options)));
112
113
  }
113
114
  get user() {
114
115
  var _a;
115
- return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_21.UserClient(this._options)));
116
+ return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_22.UserClient(this._options)));
116
117
  }
117
118
  get voices() {
118
119
  var _a;
119
- return ((_a = this._voices) !== null && _a !== void 0 ? _a : (this._voices = new Client_22.VoicesClient(this._options)));
120
+ return ((_a = this._voices) !== null && _a !== void 0 ? _a : (this._voices = new Client_23.VoicesClient(this._options)));
120
121
  }
121
122
  get studio() {
122
123
  var _a;
123
- return ((_a = this._studio) !== null && _a !== void 0 ? _a : (this._studio = new Client_14.StudioClient(this._options)));
124
+ return ((_a = this._studio) !== null && _a !== void 0 ? _a : (this._studio = new Client_15.StudioClient(this._options)));
124
125
  }
125
126
  get dubbing() {
126
127
  var _a;
@@ -128,7 +129,7 @@ class ElevenLabsClient {
128
129
  }
129
130
  get models() {
130
131
  var _a;
131
- return ((_a = this._models) !== null && _a !== void 0 ? _a : (this._models = new Client_7.ModelsClient(this._options)));
132
+ return ((_a = this._models) !== null && _a !== void 0 ? _a : (this._models = new Client_8.ModelsClient(this._options)));
132
133
  }
133
134
  get audioNative() {
134
135
  var _a;
@@ -136,43 +137,47 @@ class ElevenLabsClient {
136
137
  }
137
138
  get usage() {
138
139
  var _a;
139
- return ((_a = this._usage) !== null && _a !== void 0 ? _a : (this._usage = new Client_20.UsageClient(this._options)));
140
+ return ((_a = this._usage) !== null && _a !== void 0 ? _a : (this._usage = new Client_21.UsageClient(this._options)));
140
141
  }
141
142
  get pronunciationDictionaries() {
142
143
  var _a;
143
- return ((_a = this._pronunciationDictionaries) !== null && _a !== void 0 ? _a : (this._pronunciationDictionaries = new Client_9.PronunciationDictionariesClient(this._options)));
144
+ return ((_a = this._pronunciationDictionaries) !== null && _a !== void 0 ? _a : (this._pronunciationDictionaries = new Client_10.PronunciationDictionariesClient(this._options)));
144
145
  }
145
146
  get serviceAccounts() {
146
147
  var _a;
147
- return ((_a = this._serviceAccounts) !== null && _a !== void 0 ? _a : (this._serviceAccounts = new Client_11.ServiceAccountsClient(this._options)));
148
+ return ((_a = this._serviceAccounts) !== null && _a !== void 0 ? _a : (this._serviceAccounts = new Client_12.ServiceAccountsClient(this._options)));
148
149
  }
149
150
  get webhooks() {
150
151
  var _a;
151
- return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_23.WebhooksClient(this._options)));
152
+ return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_24.WebhooksClient(this._options)));
152
153
  }
153
154
  get speechToText() {
154
155
  var _a;
155
- return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new Client_13.SpeechToTextClient(this._options)));
156
+ return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new Client_14.SpeechToTextClient(this._options)));
156
157
  }
157
158
  get forcedAlignment() {
158
159
  var _a;
159
- return ((_a = this._forcedAlignment) !== null && _a !== void 0 ? _a : (this._forcedAlignment = new Client_5.ForcedAlignmentClient(this._options)));
160
+ return ((_a = this._forcedAlignment) !== null && _a !== void 0 ? _a : (this._forcedAlignment = new Client_6.ForcedAlignmentClient(this._options)));
160
161
  }
161
162
  get conversationalAi() {
162
163
  var _a;
163
164
  return ((_a = this._conversationalAi) !== null && _a !== void 0 ? _a : (this._conversationalAi = new Client_3.ConversationalAiClient(this._options)));
164
165
  }
166
+ get environmentVariables() {
167
+ var _a;
168
+ return ((_a = this._environmentVariables) !== null && _a !== void 0 ? _a : (this._environmentVariables = new Client_5.EnvironmentVariablesClient(this._options)));
169
+ }
165
170
  get music() {
166
171
  var _a;
167
- return ((_a = this._music) !== null && _a !== void 0 ? _a : (this._music = new Client_8.MusicClient(this._options)));
172
+ return ((_a = this._music) !== null && _a !== void 0 ? _a : (this._music = new Client_9.MusicClient(this._options)));
168
173
  }
169
174
  get tokens() {
170
175
  var _a;
171
- return ((_a = this._tokens) !== null && _a !== void 0 ? _a : (this._tokens = new Client_19.TokensClient(this._options)));
176
+ return ((_a = this._tokens) !== null && _a !== void 0 ? _a : (this._tokens = new Client_20.TokensClient(this._options)));
172
177
  }
173
178
  get workspace() {
174
179
  var _a;
175
- return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new Client_24.WorkspaceClient(this._options)));
180
+ return ((_a = this._workspace) !== null && _a !== void 0 ? _a : (this._workspace = new Client_25.WorkspaceClient(this._options)));
176
181
  }
177
182
  /**
178
183
  * @param {string} agent_id
@@ -1,6 +1,5 @@
1
1
  import type * as core from "../../core";
2
2
  import * as errors from "../../errors/index";
3
- import type * as ElevenLabs from "../index";
4
3
  export declare class BadRequestError extends errors.ElevenLabsError {
5
- constructor(body: ElevenLabs.BadRequestErrorBody, rawResponse?: core.RawResponse);
4
+ constructor(body?: unknown, rawResponse?: core.RawResponse);
6
5
  }
@@ -66,6 +66,18 @@ export declare class Conversation extends EventEmitter {
66
66
  * This sends a ping to the orchestrator to reset the timeout timer.
67
67
  */
68
68
  registerUserActivity(): void;
69
+ /**
70
+ * Send a multimodal message combining text and a file reference to the agent.
71
+ *
72
+ * At least one of `text` or `fileId` must be provided.
73
+ *
74
+ * @param options.text Optional text message to include
75
+ * @param options.fileId Optional ElevenLabs file ID to include
76
+ */
77
+ sendMultimodalMessage(options: {
78
+ text?: string;
79
+ fileId?: string;
80
+ }): void;
69
81
  /**
70
82
  * Send a contextual update to the conversation.
71
83
  *
@@ -120,6 +120,24 @@ class Conversation extends events_1.EventEmitter {
120
120
  };
121
121
  this.ws.send(JSON.stringify(event));
122
122
  }
123
+ /**
124
+ * Send a multimodal message combining text and a file reference to the agent.
125
+ *
126
+ * At least one of `text` or `fileId` must be provided.
127
+ *
128
+ * @param options.text Optional text message to include
129
+ * @param options.fileId Optional ElevenLabs file ID to include
130
+ */
131
+ sendMultimodalMessage(options) {
132
+ if (!this.ws || this.ws.readyState !== ws_1.default.OPEN) {
133
+ throw new Error("Session not started or websocket not connected");
134
+ }
135
+ if (!options.text && !options.fileId) {
136
+ throw new Error("At least one of text or fileId must be provided");
137
+ }
138
+ const event = Object.assign(Object.assign({ type: events_2.ClientToOrchestratorEvent.MULTIMODAL_MESSAGE }, (options.text && { text: { type: events_2.ClientToOrchestratorEvent.USER_MESSAGE, text: options.text } })), (options.fileId && { file: { type: "file_input", file_id: options.fileId } }));
139
+ this.ws.send(JSON.stringify(event));
140
+ }
123
141
  /**
124
142
  * Send a contextual update to the conversation.
125
143
  *
@@ -172,6 +172,31 @@ describe("Conversation", () => {
172
172
  text: "User is looking at product page",
173
173
  }));
174
174
  });
175
+ it("should send multimodal message with text and file", () => {
176
+ conversation.sendMultimodalMessage({ text: "What is in this file?", fileId: "file_abc123" });
177
+ expect(mockWebSocket.send).toHaveBeenCalledWith(JSON.stringify({
178
+ type: "multimodal_message",
179
+ text: { type: "user_message", text: "What is in this file?" },
180
+ file: { type: "file_input", file_id: "file_abc123" },
181
+ }));
182
+ });
183
+ it("should send multimodal message with text only", () => {
184
+ conversation.sendMultimodalMessage({ text: "Hello" });
185
+ expect(mockWebSocket.send).toHaveBeenCalledWith(JSON.stringify({
186
+ type: "multimodal_message",
187
+ text: { type: "user_message", text: "Hello" },
188
+ }));
189
+ });
190
+ it("should send multimodal message with file only", () => {
191
+ conversation.sendMultimodalMessage({ fileId: "file_abc123" });
192
+ expect(mockWebSocket.send).toHaveBeenCalledWith(JSON.stringify({
193
+ type: "multimodal_message",
194
+ file: { type: "file_input", file_id: "file_abc123" },
195
+ }));
196
+ });
197
+ it("should throw error when sending multimodal message without text or fileId", () => {
198
+ expect(() => conversation.sendMultimodalMessage({})).toThrow("At least one of text or fileId must be provided");
199
+ });
175
200
  it("should throw error when sending message without active session", () => {
176
201
  conversation.endSession();
177
202
  expect(() => conversation.sendUserMessage("test")).toThrow("Session not started or websocket not connected");
@@ -11,7 +11,9 @@ export declare enum ClientToOrchestratorEvent {
11
11
  CONTEXTUAL_UPDATE = "contextual_update",
12
12
  /** User text message. */
13
13
  USER_MESSAGE = "user_message",
14
- USER_ACTIVITY = "user_activity"
14
+ USER_ACTIVITY = "user_activity",
15
+ /** Multimodal message combining text and a file reference. */
16
+ MULTIMODAL_MESSAGE = "multimodal_message"
15
17
  }
16
18
  /**
17
19
  * Base interface for all client-to-orchestrator events.
@@ -72,6 +74,21 @@ export interface FeedbackEvent extends BaseClientToOrchestratorEvent {
72
74
  feedback: string;
73
75
  rating?: number;
74
76
  }
77
+ /**
78
+ * File component of a multimodal message.
79
+ */
80
+ export interface MultimodalMessageFile {
81
+ type: "file_input";
82
+ file_id: string;
83
+ }
84
+ /**
85
+ * Event for sending multimodal messages combining text and a file reference.
86
+ */
87
+ export interface MultimodalMessageClientToOrchestratorEvent extends BaseClientToOrchestratorEvent {
88
+ type: ClientToOrchestratorEvent.MULTIMODAL_MESSAGE;
89
+ text?: UserMessageClientToOrchestratorEvent;
90
+ file?: MultimodalMessageFile;
91
+ }
75
92
  /**
76
93
  * Event for sending user audio chunks.
77
94
  */
@@ -81,4 +98,4 @@ export interface UserAudioChunkEvent {
81
98
  /**
82
99
  * Union type for all client-to-orchestrator events.
83
100
  */
84
- export type ClientToOrchestratorEventUnion = UserMessageClientToOrchestratorEvent | UserActivityClientToOrchestratorEvent | ContextualUpdateClientToOrchestratorEvent | ConversationInitiationClientDataEvent | ClientToolResultEvent | PongEvent | FeedbackEvent;
101
+ export type ClientToOrchestratorEventUnion = UserMessageClientToOrchestratorEvent | UserActivityClientToOrchestratorEvent | ContextualUpdateClientToOrchestratorEvent | ConversationInitiationClientDataEvent | ClientToolResultEvent | PongEvent | FeedbackEvent | MultimodalMessageClientToOrchestratorEvent;
@@ -16,4 +16,6 @@ var ClientToOrchestratorEvent;
16
16
  /** User text message. */
17
17
  ClientToOrchestratorEvent["USER_MESSAGE"] = "user_message";
18
18
  ClientToOrchestratorEvent["USER_ACTIVITY"] = "user_activity";
19
+ /** Multimodal message combining text and a file reference. */
20
+ ClientToOrchestratorEvent["MULTIMODAL_MESSAGE"] = "multimodal_message";
19
21
  })(ClientToOrchestratorEvent || (exports.ClientToOrchestratorEvent = ClientToOrchestratorEvent = {}));
@@ -111,6 +111,7 @@ export declare class AgentsClient {
111
111
  * search: "search",
112
112
  * archived: true,
113
113
  * showOnlyOwnedAgents: true,
114
+ * createdByUserId: "created_by_user_id",
114
115
  * sortDirection: "asc",
115
116
  * sortBy: "name",
116
117
  * cursor: "cursor"
@@ -395,6 +395,7 @@ class AgentsClient {
395
395
  * search: "search",
396
396
  * archived: true,
397
397
  * showOnlyOwnedAgents: true,
398
+ * createdByUserId: "created_by_user_id",
398
399
  * sortDirection: "asc",
399
400
  * sortBy: "name",
400
401
  * cursor: "cursor"
@@ -406,7 +407,7 @@ class AgentsClient {
406
407
  __list() {
407
408
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
408
409
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
409
- const { pageSize, search, archived, showOnlyOwnedAgents, sortDirection, sortBy, cursor } = request;
410
+ const { pageSize, search, archived, showOnlyOwnedAgents, createdByUserId, sortDirection, sortBy, cursor } = request;
410
411
  const _queryParams = {};
411
412
  if (pageSize != null) {
412
413
  _queryParams.page_size = pageSize.toString();
@@ -420,6 +421,9 @@ class AgentsClient {
420
421
  if (showOnlyOwnedAgents != null) {
421
422
  _queryParams.show_only_owned_agents = showOnlyOwnedAgents.toString();
422
423
  }
424
+ if (createdByUserId != null) {
425
+ _queryParams.created_by_user_id = createdByUserId;
426
+ }
423
427
  if (sortDirection != null) {
424
428
  _queryParams.sort_direction = serializers.SortDirection.jsonOrThrow(sortDirection, {
425
429
  unrecognizedObjectKeys: "strip",
@@ -6,6 +6,7 @@ import type * as ElevenLabs from "../../../../../../index";
6
6
  * search: "search",
7
7
  * archived: true,
8
8
  * showOnlyOwnedAgents: true,
9
+ * createdByUserId: "created_by_user_id",
9
10
  * sortDirection: "asc",
10
11
  * sortBy: "name",
11
12
  * cursor: "cursor"
@@ -18,8 +19,10 @@ export interface AgentsListRequest {
18
19
  search?: string;
19
20
  /** Filter agents by archived status */
20
21
  archived?: boolean;
21
- /** If set to true, the endpoint will omit any agents that were shared with you by someone else and include only the ones you own */
22
+ /** If set to true, the endpoint will omit any agents that were shared with you by someone else and include only the ones you own. Deprecated: use created_by_user_id instead. */
22
23
  showOnlyOwnedAgents?: boolean;
24
+ /** Filter agents by creator user ID. When set, only agents created by this user are returned. Takes precedence over show_only_owned_agents. Use '@me' to refer to the authenticated user. */
25
+ createdByUserId?: string;
23
26
  /** The direction to sort the results */
24
27
  sortDirection?: ElevenLabs.SortDirection;
25
28
  /** The field to sort the results by */
@@ -34,7 +34,8 @@ export declare class ConversationsClient {
34
34
  * await client.conversationalAi.conversations.getSignedUrl({
35
35
  * agentId: "21m00Tcm4TlvDq8ikWAM",
36
36
  * includeConversationId: true,
37
- * branchId: "branch_id"
37
+ * branchId: "branch_id",
38
+ * environment: "environment"
38
39
  * })
39
40
  */
40
41
  getSignedUrl(request: ElevenLabs.conversationalAi.ConversationsGetSignedUrlRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ConversationSignedUrlResponseModel>;
@@ -51,7 +52,8 @@ export declare class ConversationsClient {
51
52
  * await client.conversationalAi.conversations.getWebrtcToken({
52
53
  * agentId: "21m00Tcm4TlvDq8ikWAM",
53
54
  * participantName: "participant_name",
54
- * branchId: "branch_id"
55
+ * branchId: "branch_id",
56
+ * environment: "environment"
55
57
  * })
56
58
  */
57
59
  getWebrtcToken(request: ElevenLabs.conversationalAi.ConversationsGetWebrtcTokenRequest, requestOptions?: ConversationsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.TokenResponseModel>;
@@ -88,7 +88,8 @@ class ConversationsClient {
88
88
  * await client.conversationalAi.conversations.getSignedUrl({
89
89
  * agentId: "21m00Tcm4TlvDq8ikWAM",
90
90
  * includeConversationId: true,
91
- * branchId: "branch_id"
91
+ * branchId: "branch_id",
92
+ * environment: "environment"
92
93
  * })
93
94
  */
94
95
  getSignedUrl(request, requestOptions) {
@@ -97,7 +98,7 @@ class ConversationsClient {
97
98
  __getSignedUrl(request, requestOptions) {
98
99
  return __awaiter(this, void 0, void 0, function* () {
99
100
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
100
- const { agentId, includeConversationId, branchId } = request;
101
+ const { agentId, includeConversationId, branchId, environment } = request;
101
102
  const _queryParams = {};
102
103
  _queryParams.agent_id = agentId;
103
104
  if (includeConversationId != null) {
@@ -106,6 +107,9 @@ class ConversationsClient {
106
107
  if (branchId != null) {
107
108
  _queryParams.branch_id = branchId;
108
109
  }
110
+ if (environment != null) {
111
+ _queryParams.environment = environment;
112
+ }
109
113
  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);
110
114
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
111
115
  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/conversation/get-signed-url"),
@@ -161,7 +165,8 @@ class ConversationsClient {
161
165
  * await client.conversationalAi.conversations.getWebrtcToken({
162
166
  * agentId: "21m00Tcm4TlvDq8ikWAM",
163
167
  * participantName: "participant_name",
164
- * branchId: "branch_id"
168
+ * branchId: "branch_id",
169
+ * environment: "environment"
165
170
  * })
166
171
  */
167
172
  getWebrtcToken(request, requestOptions) {
@@ -170,7 +175,7 @@ class ConversationsClient {
170
175
  __getWebrtcToken(request, requestOptions) {
171
176
  return __awaiter(this, void 0, void 0, function* () {
172
177
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
173
- const { agentId, participantName, branchId } = request;
178
+ const { agentId, participantName, branchId, environment } = request;
174
179
  const _queryParams = {};
175
180
  _queryParams.agent_id = agentId;
176
181
  if (participantName != null) {
@@ -179,6 +184,9 @@ class ConversationsClient {
179
184
  if (branchId != null) {
180
185
  _queryParams.branch_id = branchId;
181
186
  }
187
+ if (environment != null) {
188
+ _queryParams.environment = environment;
189
+ }
182
190
  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);
183
191
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
184
192
  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/conversation/token"),
@@ -256,7 +264,7 @@ class ConversationsClient {
256
264
  __list() {
257
265
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
258
266
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
259
- const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, branchId, } = request;
267
+ const { cursor, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, search, conversationInitiationSource, branchId, } = request;
260
268
  const _queryParams = {};
261
269
  if (cursor != null) {
262
270
  _queryParams.cursor = cursor;
@@ -317,6 +325,22 @@ class ConversationsClient {
317
325
  _queryParams.tool_names = toolNames;
318
326
  }
319
327
  }
328
+ if (toolNamesSuccessful != null) {
329
+ if (Array.isArray(toolNamesSuccessful)) {
330
+ _queryParams.tool_names_successful = toolNamesSuccessful.map((item) => item);
331
+ }
332
+ else {
333
+ _queryParams.tool_names_successful = toolNamesSuccessful;
334
+ }
335
+ }
336
+ if (toolNamesErrored != null) {
337
+ if (Array.isArray(toolNamesErrored)) {
338
+ _queryParams.tool_names_errored = toolNamesErrored.map((item) => item);
339
+ }
340
+ else {
341
+ _queryParams.tool_names_errored = toolNamesErrored;
342
+ }
343
+ }
320
344
  if (mainLanguages != null) {
321
345
  if (Array.isArray(mainLanguages)) {
322
346
  _queryParams.main_languages = mainLanguages.map((item) => item);
@@ -3,7 +3,8 @@
3
3
  * {
4
4
  * agentId: "21m00Tcm4TlvDq8ikWAM",
5
5
  * includeConversationId: true,
6
- * branchId: "branch_id"
6
+ * branchId: "branch_id",
7
+ * environment: "environment"
7
8
  * }
8
9
  */
9
10
  export interface ConversationsGetSignedUrlRequest {
@@ -13,4 +14,6 @@ export interface ConversationsGetSignedUrlRequest {
13
14
  includeConversationId?: boolean;
14
15
  /** The ID of the branch to use */
15
16
  branchId?: string;
17
+ /** The environment to use for resolving environment variables (e.g. 'production', 'staging'). Defaults to 'production'. */
18
+ environment?: string;
16
19
  }
@@ -3,7 +3,8 @@
3
3
  * {
4
4
  * agentId: "21m00Tcm4TlvDq8ikWAM",
5
5
  * participantName: "participant_name",
6
- * branchId: "branch_id"
6
+ * branchId: "branch_id",
7
+ * environment: "environment"
7
8
  * }
8
9
  */
9
10
  export interface ConversationsGetWebrtcTokenRequest {
@@ -13,4 +14,6 @@ export interface ConversationsGetWebrtcTokenRequest {
13
14
  participantName?: string;
14
15
  /** The ID of the branch to use */
15
16
  branchId?: string;
17
+ /** The environment to use for resolving environment variables (e.g. 'production', 'staging'). Defaults to 'production'. */
18
+ environment?: string;
16
19
  }
@@ -49,6 +49,10 @@ export interface ConversationsListRequest {
49
49
  dataCollectionParams?: string | string[];
50
50
  /** Filter conversations by tool names used during the call. */
51
51
  toolNames?: string | string[];
52
+ /** Filter conversations by tool names that had successful calls. */
53
+ toolNamesSuccessful?: string | string[];
54
+ /** Filter conversations by tool names that had errored calls. */
55
+ toolNamesErrored?: string | string[];
52
56
  /** Filter conversations by detected main language (language code). */
53
57
  mainLanguages?: string | string[];
54
58
  /** How many conversations to return at maximum. Can not exceed 100, defaults to 30. */
@@ -90,7 +90,7 @@ class MessagesClient {
90
90
  __textSearch(request, requestOptions) {
91
91
  return __awaiter(this, void 0, void 0, function* () {
92
92
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
93
- const { textQuery, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, mainLanguages, pageSize, summaryMode, conversationInitiationSource, branchId, cursor, } = request;
93
+ const { textQuery, agentId, callSuccessful, callStartBeforeUnix, callStartAfterUnix, callDurationMinSecs, callDurationMaxSecs, ratingMax, ratingMin, hasFeedbackComment, userId, evaluationParams, dataCollectionParams, toolNames, toolNamesSuccessful, toolNamesErrored, mainLanguages, pageSize, summaryMode, conversationInitiationSource, branchId, cursor, } = request;
94
94
  const _queryParams = {};
95
95
  _queryParams.text_query = textQuery;
96
96
  if (agentId != null) {
@@ -149,6 +149,22 @@ class MessagesClient {
149
149
  _queryParams.tool_names = toolNames;
150
150
  }
151
151
  }
152
+ if (toolNamesSuccessful != null) {
153
+ if (Array.isArray(toolNamesSuccessful)) {
154
+ _queryParams.tool_names_successful = toolNamesSuccessful.map((item) => item);
155
+ }
156
+ else {
157
+ _queryParams.tool_names_successful = toolNamesSuccessful;
158
+ }
159
+ }
160
+ if (toolNamesErrored != null) {
161
+ if (Array.isArray(toolNamesErrored)) {
162
+ _queryParams.tool_names_errored = toolNamesErrored.map((item) => item);
163
+ }
164
+ else {
165
+ _queryParams.tool_names_errored = toolNamesErrored;
166
+ }
167
+ }
152
168
  if (mainLanguages != null) {
153
169
  if (Array.isArray(mainLanguages)) {
154
170
  _queryParams.main_languages = mainLanguages.map((item) => item);
@@ -49,6 +49,10 @@ export interface MessagesTextSearchRequest {
49
49
  dataCollectionParams?: string | string[];
50
50
  /** Filter conversations by tool names used during the call. */
51
51
  toolNames?: string | string[];
52
+ /** Filter conversations by tool names that had successful calls. */
53
+ toolNamesSuccessful?: string | string[];
54
+ /** Filter conversations by tool names that had errored calls. */
55
+ toolNamesErrored?: string | string[];
52
56
  /** Filter conversations by detected main language (language code). */
53
57
  mainLanguages?: string | string[];
54
58
  /** Number of results per page. Max 50. */
@@ -32,7 +32,6 @@ export * as tools from "./tools";
32
32
  export * from "./tools/client/requests";
33
33
  export * as twilio from "./twilio";
34
34
  export * from "./twilio/client/requests";
35
- export * from "./twilio/types";
36
35
  export * as users from "./users";
37
36
  export * from "./users/client/requests";
38
37
  export * as whatsapp from "./whatsapp";
@@ -71,7 +71,6 @@ exports.tools = __importStar(require("./tools"));
71
71
  __exportStar(require("./tools/client/requests"), exports);
72
72
  exports.twilio = __importStar(require("./twilio"));
73
73
  __exportStar(require("./twilio/client/requests"), exports);
74
- __exportStar(require("./twilio/types"), exports);
75
74
  exports.users = __importStar(require("./users"));
76
75
  __exportStar(require("./users/client/requests"), exports);
77
76
  exports.whatsapp = __importStar(require("./whatsapp"));
@@ -29,6 +29,7 @@ export declare class KnowledgeBaseClient {
29
29
  * pageSize: 1,
30
30
  * search: "search",
31
31
  * showOnlyOwnedDocuments: true,
32
+ * createdByUserId: "created_by_user_id",
32
33
  * parentFolderId: "parent_folder_id",
33
34
  * ancestorFolderId: "ancestor_folder_id",
34
35
  * foldersFirst: true,