@elevenlabs/elevenlabs-js 2.36.0 → 2.37.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 (1312) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/audioNative/client/Client.d.ts +15 -0
  3. package/api/resources/audioNative/client/Client.js +67 -0
  4. package/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +10 -0
  5. package/api/resources/audioNative/client/requests/index.d.ts +1 -0
  6. package/api/resources/conversationalAi/client/Client.d.ts +3 -0
  7. package/api/resources/conversationalAi/client/Client.js +29 -24
  8. package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
  9. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -2
  10. package/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +10 -0
  11. package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +10 -0
  12. package/api/resources/conversationalAi/resources/agents/types/index.d.ts +2 -1
  13. package/api/resources/conversationalAi/resources/agents/types/index.js +2 -1
  14. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +6 -0
  15. package/api/resources/conversationalAi/resources/conversations/client/Client.js +10 -0
  16. package/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.d.ts +44 -0
  17. package/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +191 -0
  18. package/api/resources/conversationalAi/resources/conversations/resources/files/client/index.d.ts +1 -0
  19. package/api/resources/conversationalAi/resources/conversations/resources/files/client/index.js +17 -0
  20. package/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.d.ts +11 -0
  21. package/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.d.ts +1 -0
  22. package/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.js +2 -0
  23. package/api/resources/conversationalAi/resources/conversations/resources/files/index.d.ts +1 -0
  24. package/api/resources/conversationalAi/resources/conversations/resources/files/index.js +17 -0
  25. package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +5 -0
  26. package/api/resources/conversationalAi/resources/conversations/resources/index.js +6 -1
  27. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +61 -0
  28. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +297 -0
  29. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.d.ts +1 -0
  30. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.js +17 -0
  31. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +19 -0
  32. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +63 -0
  33. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.d.ts +2 -0
  34. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.js +2 -0
  35. package/api/resources/conversationalAi/resources/conversations/resources/messages/index.d.ts +2 -0
  36. package/api/resources/conversationalAi/resources/conversations/resources/messages/index.js +18 -0
  37. package/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.d.ts +6 -0
  38. package/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.js +9 -0
  39. package/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.d.ts +1 -0
  40. package/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.js +17 -0
  41. package/api/resources/conversationalAi/resources/index.d.ts +1 -0
  42. package/api/resources/conversationalAi/resources/index.js +2 -1
  43. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
  44. package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
  45. package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +1 -1
  46. package/api/resources/conversationalAi/resources/llm/client/Client.d.ts +25 -0
  47. package/api/resources/conversationalAi/resources/llm/client/Client.js +119 -0
  48. package/api/resources/conversationalAi/resources/llm/client/index.d.ts +1 -0
  49. package/api/resources/conversationalAi/resources/llm/client/index.js +2 -0
  50. package/api/resources/conversationalAi/resources/llm/index.d.ts +1 -0
  51. package/api/resources/conversationalAi/resources/llm/index.js +17 -0
  52. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  53. package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +1 -0
  54. package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +1 -0
  55. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +2 -0
  56. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +2 -0
  57. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  58. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +1 -0
  59. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +13 -0
  60. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +13 -0
  61. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.d.ts +2 -0
  62. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.js +18 -0
  63. package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +4 -1
  64. package/api/resources/conversationalAi/resources/tests/client/Client.js +16 -2
  65. package/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +11 -1
  66. package/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.d.ts +6 -0
  67. package/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.js +9 -0
  68. package/api/resources/conversationalAi/resources/tests/types/index.d.ts +1 -0
  69. package/api/resources/conversationalAi/resources/tests/types/index.js +1 -0
  70. package/api/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +2 -0
  71. package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -0
  72. package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
  73. package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +2 -0
  74. package/api/resources/pronunciationDictionaries/client/Client.d.ts +2 -0
  75. package/api/resources/pronunciationDictionaries/client/Client.js +2 -0
  76. package/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost.d.ts +2 -0
  77. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +2 -0
  78. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -0
  79. package/api/resources/pronunciationDictionaries/resources/rules/client/requests/PronunciationDictionary.d.ts +2 -0
  80. package/api/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.d.ts +1 -0
  81. package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
  82. package/api/types/AgentPlatformSettingsRequestModel.d.ts +3 -1
  83. package/api/types/AgentPlatformSettingsResponseModel.d.ts +3 -1
  84. package/api/types/AgentSimulatedChatTestResponseModel.d.ts +1 -1
  85. package/api/types/AgentTestEntityType.d.ts +5 -0
  86. package/api/types/AgentTestEntityType.js +8 -0
  87. package/api/types/AgentTestFolderPathSegmentResponseModel.d.ts +4 -0
  88. package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +1 -0
  89. package/api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.d.ts +13 -0
  90. package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +1 -0
  91. package/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.d.ts +13 -0
  92. package/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.js +3 -0
  93. package/api/types/ChatSourceMedium.d.ts +7 -0
  94. package/{dist/api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.js → api/types/ChatSourceMedium.js} +4 -2
  95. package/api/types/ClientEvent.d.ts +1 -0
  96. package/api/types/ClientEvent.js +1 -0
  97. package/api/types/ClipAnimation.d.ts +7 -0
  98. package/api/types/ClipAnimation.js +3 -0
  99. package/api/types/ClipAnimationEnterEffect.d.ts +17 -0
  100. package/api/types/ClipAnimationEnterEffect.js +20 -0
  101. package/api/types/ClipAnimationExitEffect.d.ts +17 -0
  102. package/api/types/ClipAnimationExitEffect.js +20 -0
  103. package/api/types/CoachedAgentSettings.d.ts +3 -0
  104. package/api/types/CoachedAgentSettings.js +3 -0
  105. package/api/types/CoachingAgentSettings.d.ts +7 -0
  106. package/api/types/CoachingAgentSettings.js +3 -0
  107. package/api/types/ConfigEntityType.d.ts +68 -0
  108. package/api/types/ConfigEntityType.js +71 -0
  109. package/api/types/ConstantSchemaOverride.d.ts +5 -0
  110. package/api/types/ConstantSchemaOverride.js +3 -0
  111. package/api/types/ConstantSchemaOverrideConstantValue.d.ts +4 -0
  112. package/api/types/ConstantSchemaOverrideConstantValue.js +3 -0
  113. package/api/types/ContentConfig.d.ts +1 -1
  114. package/api/types/ConvAiFileUploadResponseModel.d.ts +3 -0
  115. package/api/types/ConvAiFileUploadResponseModel.js +3 -0
  116. package/api/types/ConversationHistoryRedactionConfig.d.ts +7 -0
  117. package/api/types/ConversationHistoryRedactionConfig.js +3 -0
  118. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
  119. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
  120. package/api/types/ConversationHistoryTranscriptFileInputResponseModel.d.ts +6 -0
  121. package/api/types/ConversationHistoryTranscriptFileInputResponseModel.js +3 -0
  122. package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +19 -0
  123. package/api/types/ConversationHistoryTranscriptResponseModel.js +3 -0
  124. package/api/types/ConversationHistoryTranscriptResponseModelRole.d.ts +5 -0
  125. package/api/types/ConversationHistoryTranscriptResponseModelRole.js +8 -0
  126. package/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +2 -0
  127. package/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +3 -0
  128. package/api/types/ConversationUserResponseModel.d.ts +3 -2
  129. package/api/types/CreateClientParams.d.ts +6 -0
  130. package/api/types/CreateClientParams.js +3 -0
  131. package/api/types/CreatePreviouslyGeneratedVoiceRequest.d.ts +1 -12
  132. package/api/types/CreateProductParams.d.ts +3 -0
  133. package/api/types/CreateProductParams.js +3 -0
  134. package/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
  135. package/api/types/CreateServiceParams.d.ts +6 -0
  136. package/api/types/CreateServiceParams.js +3 -0
  137. package/api/types/CreateSimulationTestRequest.d.ts +2 -0
  138. package/api/types/CreateStaffParams.d.ts +6 -0
  139. package/api/types/CreateStaffParams.js +3 -0
  140. package/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  141. package/api/types/DeleteClientParams.d.ts +6 -0
  142. package/api/types/DeleteClientParams.js +3 -0
  143. package/api/types/DeleteProductParams.d.ts +3 -0
  144. package/api/types/DeleteProductParams.js +3 -0
  145. package/api/types/DeleteServiceParams.d.ts +6 -0
  146. package/api/types/DeleteServiceParams.js +3 -0
  147. package/api/types/DeleteStaffParams.d.ts +6 -0
  148. package/api/types/DeleteStaffParams.js +3 -0
  149. package/api/types/DependentBranchInfo.d.ts +7 -0
  150. package/api/types/DependentBranchInfo.js +3 -0
  151. package/api/types/DynamicVariableSchemaOverride.d.ts +4 -0
  152. package/api/types/DynamicVariableSchemaOverride.js +3 -0
  153. package/api/types/EmbeddingModelEnum.d.ts +1 -0
  154. package/api/types/EmbeddingModelEnum.js +1 -0
  155. package/api/types/FocusGuardrail.d.ts +3 -0
  156. package/api/types/FocusGuardrail.js +3 -0
  157. package/api/types/GenerateVoiceRequest.d.ts +1 -13
  158. package/api/types/GenerationSourceContext.d.ts +14 -0
  159. package/api/types/GenerationSourceContext.js +3 -0
  160. package/api/types/GetAgentResponseModel.d.ts +2 -0
  161. package/api/types/GetAgentResponseModelCoachingSettings.d.ts +13 -0
  162. package/api/types/GetAgentResponseModelCoachingSettings.js +3 -0
  163. package/api/types/GetClientByPhoneParams.d.ts +6 -0
  164. package/api/types/GetClientByPhoneParams.js +3 -0
  165. package/api/types/GetConversationResponseModel.d.ts +1 -1
  166. package/api/types/GetKnowledgeBaseDependentAgentsResponseModel.d.ts +1 -0
  167. package/api/types/GetToolDependentAgentsResponseModel.d.ts +1 -0
  168. package/api/types/GuardrailsV1Input.d.ts +2 -1
  169. package/api/types/GuardrailsV1Output.d.ts +2 -1
  170. package/api/types/LibraryVoiceResponse.d.ts +2 -0
  171. package/api/types/ListAssetsParams.d.ts +3 -0
  172. package/api/types/ListAssetsParams.js +3 -0
  173. package/api/types/ListClientsParams.d.ts +6 -0
  174. package/api/types/ListClientsParams.js +3 -0
  175. package/api/types/ListProductsParams.d.ts +3 -0
  176. package/api/types/ListProductsParams.js +3 -0
  177. package/api/types/ListServicesParams.d.ts +3 -0
  178. package/api/types/ListServicesParams.js +3 -0
  179. package/api/types/ListStaffParams.d.ts +3 -0
  180. package/api/types/ListStaffParams.js +3 -0
  181. package/api/types/LlmDeprecationConfigModel.d.ts +12 -0
  182. package/api/types/LlmDeprecationConfigModel.js +3 -0
  183. package/api/types/LlmDeprecationInfoModel.d.ts +19 -0
  184. package/api/types/LlmDeprecationInfoModel.js +3 -0
  185. package/api/types/LlmInfoModelInput.d.ts +21 -0
  186. package/api/types/LlmInfoModelInput.js +3 -0
  187. package/api/types/LlmInfoModelOutput.d.ts +21 -0
  188. package/api/types/LlmInfoModelOutput.js +3 -0
  189. package/api/types/LlmListResponseModelInput.d.ts +7 -0
  190. package/api/types/LlmListResponseModelInput.js +3 -0
  191. package/api/types/LlmListResponseModelOutput.d.ts +7 -0
  192. package/api/types/LlmListResponseModelOutput.js +3 -0
  193. package/api/types/LlmSchemaOverride.d.ts +4 -0
  194. package/api/types/LlmSchemaOverride.js +3 -0
  195. package/api/types/McpServerConfigInput.d.ts +2 -0
  196. package/api/types/McpServerConfigOutput.d.ts +2 -0
  197. package/api/types/McpToolConfigOverride.d.ts +2 -0
  198. package/api/types/McpToolConfigOverrideInputOverridesValue.d.ts +13 -0
  199. package/api/types/McpToolConfigOverrideInputOverridesValue.js +3 -0
  200. package/api/types/MessagesSearchResponse.d.ts +9 -0
  201. package/api/types/MessagesSearchResponse.js +3 -0
  202. package/api/types/MessagesSearchResult.d.ts +14 -0
  203. package/api/types/MessagesSearchResult.js +3 -0
  204. package/api/types/MusicExploreSongSourceContext.d.ts +8 -0
  205. package/api/types/MusicExploreSongSourceContext.js +3 -0
  206. package/api/types/NoCoachingSettings.d.ts +3 -0
  207. package/api/types/NoCoachingSettings.js +3 -0
  208. package/api/types/PendingClipTaskType.d.ts +1 -0
  209. package/api/types/PendingClipTaskType.js +1 -0
  210. package/api/types/PermissionType.d.ts +1 -0
  211. package/api/types/PermissionType.js +1 -0
  212. package/api/types/{PrivacyConfig.d.ts → PrivacyConfigInput.d.ts} +4 -1
  213. package/api/types/PrivacyConfigInput.js +3 -0
  214. package/api/types/PrivacyConfigOutput.d.ts +17 -0
  215. package/api/types/PrivacyConfigOutput.js +3 -0
  216. package/api/types/ProcedureRefResponseModel.d.ts +8 -0
  217. package/api/types/ProcedureRefResponseModel.js +3 -0
  218. package/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +1 -0
  219. package/api/types/ProjectExternalAudioResponseModel.d.ts +3 -2
  220. package/api/types/ProjectExternalAudioResponseModelSourceContext.d.ts +13 -0
  221. package/api/types/ProjectExternalAudioResponseModelSourceContext.js +3 -0
  222. package/api/types/ProjectImageResponseModel.d.ts +1 -0
  223. package/api/types/ProjectVideoResponseModel.d.ts +7 -3
  224. package/api/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
  225. package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
  226. package/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
  227. package/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
  228. package/api/types/PromptInjectionGuardrail.d.ts +3 -0
  229. package/api/types/PromptInjectionGuardrail.js +3 -0
  230. package/api/types/PronunciationDictionaryAliasRuleRequestModel.d.ts +4 -0
  231. package/api/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +4 -0
  232. package/api/types/PronunciationDictionaryPhonemeRuleRequestModel.d.ts +4 -0
  233. package/api/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +4 -0
  234. package/api/types/RagConfig.d.ts +2 -0
  235. package/api/types/RagConfigWorkflowOverride.d.ts +2 -0
  236. package/api/types/RagIndexStatus.d.ts +1 -0
  237. package/api/types/RagIndexStatus.js +1 -0
  238. package/api/types/ReferenceVideo.d.ts +7 -0
  239. package/api/types/ReferenceVideo.js +3 -0
  240. package/api/types/ResponseFilter.d.ts +12 -0
  241. package/api/types/ResponseFilter.js +3 -0
  242. package/api/types/SayNodeLiteralMessageInput.d.ts +5 -0
  243. package/api/types/SayNodeLiteralMessageInput.js +3 -0
  244. package/api/types/SayNodeLiteralMessageOutput.d.ts +5 -0
  245. package/api/types/SayNodeLiteralMessageOutput.js +3 -0
  246. package/api/types/SayNodePromptMessageInput.d.ts +5 -0
  247. package/api/types/SayNodePromptMessageInput.js +3 -0
  248. package/api/types/SayNodePromptMessageOutput.d.ts +5 -0
  249. package/api/types/SayNodePromptMessageOutput.js +3 -0
  250. package/api/types/SearchClientsParams.d.ts +6 -0
  251. package/api/types/SearchClientsParams.js +3 -0
  252. package/api/types/SeatType.d.ts +5 -0
  253. package/api/types/SeatType.js +5 -0
  254. package/api/types/SfxSourceContext.d.ts +8 -0
  255. package/api/types/SfxSourceContext.js +3 -0
  256. package/api/types/SongSourceContext.d.ts +10 -0
  257. package/api/types/SongSourceContext.js +3 -0
  258. package/api/types/StudioClipReference.d.ts +9 -0
  259. package/api/types/StudioClipReference.js +3 -0
  260. package/api/types/StudioClipReferenceClipType.d.ts +7 -0
  261. package/api/types/StudioClipReferenceClipType.js +10 -0
  262. package/api/types/TestType.d.ts +1 -0
  263. package/api/types/TestType.js +1 -0
  264. package/api/types/ToolType.d.ts +1 -0
  265. package/api/types/ToolType.js +1 -0
  266. package/api/types/UnitTestSummaryResponseModel.d.ts +9 -1
  267. package/api/types/UpdateClientParams.d.ts +6 -0
  268. package/api/types/UpdateClientParams.js +3 -0
  269. package/api/types/UpdateProductParams.d.ts +3 -0
  270. package/api/types/UpdateProductParams.js +3 -0
  271. package/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  272. package/api/types/UpdateServiceParams.d.ts +6 -0
  273. package/api/types/UpdateServiceParams.js +3 -0
  274. package/api/types/UpdateSimulationTestRequest.d.ts +2 -0
  275. package/api/types/UpdateStaffParams.d.ts +6 -0
  276. package/api/types/UpdateStaffParams.js +3 -0
  277. package/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  278. package/api/types/User.d.ts +2 -0
  279. package/api/types/Voice.d.ts +2 -0
  280. package/api/types/VoiceGenerationParameterOptionResponse.d.ts +1 -4
  281. package/api/types/VoiceGenerationParameterResponse.d.ts +1 -10
  282. package/api/types/WidgetConfig.d.ts +10 -0
  283. package/api/types/WidgetConfigInputSyntaxHighlightTheme.d.ts +5 -0
  284. package/api/types/WidgetConfigInputSyntaxHighlightTheme.js +8 -0
  285. package/api/types/WidgetConfigOutputSyntaxHighlightTheme.d.ts +5 -0
  286. package/api/types/WidgetConfigOutputSyntaxHighlightTheme.js +8 -0
  287. package/api/types/WidgetConfigResponse.d.ts +10 -0
  288. package/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.d.ts +5 -0
  289. package/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.js +8 -0
  290. package/api/types/WidgetTextContents.d.ts +22 -0
  291. package/api/types/WorkspaceGroupPermission.d.ts +1 -0
  292. package/api/types/WorkspaceGroupPermission.js +1 -0
  293. package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  294. package/api/types/WorkspaceResourceType.d.ts +3 -0
  295. package/api/types/WorkspaceResourceType.js +3 -0
  296. package/api/types/index.d.ts +73 -8
  297. package/api/types/index.js +73 -8
  298. package/dist/BaseClient.js +2 -2
  299. package/dist/api/resources/audioNative/client/Client.d.ts +15 -0
  300. package/dist/api/resources/audioNative/client/Client.js +67 -0
  301. package/dist/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +10 -0
  302. package/dist/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js +3 -0
  303. package/dist/api/resources/audioNative/client/requests/index.d.ts +1 -0
  304. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
  305. package/dist/api/resources/conversationalAi/client/Client.js +29 -24
  306. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
  307. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -2
  308. package/dist/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +10 -0
  309. package/dist/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js +3 -0
  310. package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +10 -0
  311. package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js +3 -0
  312. package/dist/api/resources/conversationalAi/resources/agents/types/index.d.ts +2 -1
  313. package/dist/api/resources/conversationalAi/resources/agents/types/index.js +2 -1
  314. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +6 -0
  315. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +10 -0
  316. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.d.ts +44 -0
  317. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.js +191 -0
  318. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/index.d.ts +1 -0
  319. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/index.js +17 -0
  320. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.d.ts +11 -0
  321. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.js +3 -0
  322. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.d.ts +1 -0
  323. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.js +2 -0
  324. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/index.d.ts +1 -0
  325. package/dist/api/resources/conversationalAi/resources/conversations/resources/files/index.js +17 -0
  326. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +5 -0
  327. package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +6 -1
  328. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +61 -0
  329. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +297 -0
  330. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.d.ts +1 -0
  331. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.js +17 -0
  332. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.d.ts +19 -0
  333. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.js +3 -0
  334. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +63 -0
  335. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.js +3 -0
  336. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.d.ts +2 -0
  337. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.js +2 -0
  338. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/index.d.ts +2 -0
  339. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/index.js +18 -0
  340. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.d.ts +6 -0
  341. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.js +9 -0
  342. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.d.ts +1 -0
  343. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.js +17 -0
  344. package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
  345. package/dist/api/resources/conversationalAi/resources/index.js +2 -1
  346. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
  347. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
  348. package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.d.ts +1 -1
  349. package/dist/api/resources/conversationalAi/resources/llm/client/Client.d.ts +25 -0
  350. package/dist/api/resources/conversationalAi/resources/llm/client/Client.js +119 -0
  351. package/dist/api/resources/conversationalAi/resources/llm/client/index.d.ts +1 -0
  352. package/dist/api/resources/conversationalAi/resources/llm/client/index.js +2 -0
  353. package/dist/api/resources/conversationalAi/resources/llm/index.d.ts +1 -0
  354. package/dist/api/resources/conversationalAi/resources/llm/index.js +17 -0
  355. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  356. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +1 -0
  357. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +1 -0
  358. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +2 -0
  359. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +2 -0
  360. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  361. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +1 -0
  362. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +13 -0
  363. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +3 -0
  364. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +13 -0
  365. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +3 -0
  366. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.d.ts +2 -0
  367. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.js +18 -0
  368. package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +4 -1
  369. package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +16 -2
  370. package/dist/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +11 -1
  371. package/dist/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.d.ts +6 -0
  372. package/dist/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.js +9 -0
  373. package/dist/api/resources/conversationalAi/resources/tests/types/index.d.ts +1 -0
  374. package/dist/api/resources/conversationalAi/resources/tests/types/index.js +1 -0
  375. package/dist/api/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +2 -0
  376. package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -0
  377. package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
  378. package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +2 -0
  379. package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +2 -0
  380. package/dist/api/resources/pronunciationDictionaries/client/Client.js +2 -0
  381. package/dist/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost.d.ts +2 -0
  382. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +2 -0
  383. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -0
  384. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/requests/PronunciationDictionary.d.ts +2 -0
  385. package/dist/api/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.d.ts +1 -0
  386. package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +2 -0
  387. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +3 -1
  388. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +3 -1
  389. package/dist/api/types/AgentSimulatedChatTestResponseModel.d.ts +1 -1
  390. package/dist/api/types/AgentTestEntityType.d.ts +5 -0
  391. package/dist/api/types/AgentTestEntityType.js +8 -0
  392. package/dist/api/types/AgentTestFolderPathSegmentResponseModel.d.ts +4 -0
  393. package/dist/api/types/AgentTestFolderPathSegmentResponseModel.js +3 -0
  394. package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +1 -0
  395. package/dist/api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.d.ts +13 -0
  396. package/dist/api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.js +3 -0
  397. package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +1 -0
  398. package/dist/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.d.ts +13 -0
  399. package/dist/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.js +3 -0
  400. package/dist/api/types/ChatSourceMedium.d.ts +7 -0
  401. package/{api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.js → dist/api/types/ChatSourceMedium.js} +4 -2
  402. package/dist/api/types/ClientEvent.d.ts +1 -0
  403. package/dist/api/types/ClientEvent.js +1 -0
  404. package/dist/api/types/ClipAnimation.d.ts +7 -0
  405. package/dist/api/types/ClipAnimation.js +3 -0
  406. package/dist/api/types/ClipAnimationEnterEffect.d.ts +17 -0
  407. package/dist/api/types/ClipAnimationEnterEffect.js +20 -0
  408. package/dist/api/types/ClipAnimationExitEffect.d.ts +17 -0
  409. package/dist/api/types/ClipAnimationExitEffect.js +20 -0
  410. package/dist/api/types/CoachedAgentSettings.d.ts +3 -0
  411. package/dist/api/types/CoachedAgentSettings.js +3 -0
  412. package/dist/api/types/CoachingAgentSettings.d.ts +7 -0
  413. package/dist/api/types/CoachingAgentSettings.js +3 -0
  414. package/dist/api/types/ConfigEntityType.d.ts +68 -0
  415. package/dist/api/types/ConfigEntityType.js +71 -0
  416. package/dist/api/types/ConstantSchemaOverride.d.ts +5 -0
  417. package/dist/api/types/ConstantSchemaOverride.js +3 -0
  418. package/dist/api/types/ConstantSchemaOverrideConstantValue.d.ts +4 -0
  419. package/dist/api/types/ConstantSchemaOverrideConstantValue.js +3 -0
  420. package/dist/api/types/ContentConfig.d.ts +1 -1
  421. package/dist/api/types/ConvAiFileUploadResponseModel.d.ts +3 -0
  422. package/dist/api/types/ConvAiFileUploadResponseModel.js +3 -0
  423. package/dist/api/types/ConversationHistoryRedactionConfig.d.ts +7 -0
  424. package/dist/api/types/ConversationHistoryRedactionConfig.js +3 -0
  425. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
  426. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
  427. package/dist/api/types/ConversationHistoryTranscriptFileInputResponseModel.d.ts +6 -0
  428. package/dist/api/types/ConversationHistoryTranscriptFileInputResponseModel.js +3 -0
  429. package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +19 -0
  430. package/dist/api/types/ConversationHistoryTranscriptResponseModel.js +3 -0
  431. package/dist/api/types/ConversationHistoryTranscriptResponseModelRole.d.ts +5 -0
  432. package/dist/api/types/ConversationHistoryTranscriptResponseModelRole.js +8 -0
  433. package/dist/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +2 -0
  434. package/dist/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +3 -0
  435. package/dist/api/types/ConversationUserResponseModel.d.ts +3 -2
  436. package/dist/api/types/CreateClientParams.d.ts +6 -0
  437. package/dist/api/types/CreateClientParams.js +3 -0
  438. package/dist/api/types/CreatePreviouslyGeneratedVoiceRequest.d.ts +1 -12
  439. package/dist/api/types/CreateProductParams.d.ts +3 -0
  440. package/dist/api/types/CreateProductParams.js +3 -0
  441. package/dist/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
  442. package/dist/api/types/CreateServiceParams.d.ts +6 -0
  443. package/dist/api/types/CreateServiceParams.js +3 -0
  444. package/dist/api/types/CreateSimulationTestRequest.d.ts +2 -0
  445. package/dist/api/types/CreateStaffParams.d.ts +6 -0
  446. package/dist/api/types/CreateStaffParams.js +3 -0
  447. package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  448. package/dist/api/types/DeleteClientParams.d.ts +6 -0
  449. package/dist/api/types/DeleteClientParams.js +3 -0
  450. package/dist/api/types/DeleteProductParams.d.ts +3 -0
  451. package/dist/api/types/DeleteProductParams.js +3 -0
  452. package/dist/api/types/DeleteServiceParams.d.ts +6 -0
  453. package/dist/api/types/DeleteServiceParams.js +3 -0
  454. package/dist/api/types/DeleteStaffParams.d.ts +6 -0
  455. package/dist/api/types/DeleteStaffParams.js +3 -0
  456. package/dist/api/types/DependentBranchInfo.d.ts +7 -0
  457. package/dist/api/types/DependentBranchInfo.js +3 -0
  458. package/dist/api/types/DynamicVariableSchemaOverride.d.ts +4 -0
  459. package/dist/api/types/DynamicVariableSchemaOverride.js +3 -0
  460. package/dist/api/types/EmbeddingModelEnum.d.ts +1 -0
  461. package/dist/api/types/EmbeddingModelEnum.js +1 -0
  462. package/dist/api/types/FocusGuardrail.d.ts +3 -0
  463. package/dist/api/types/FocusGuardrail.js +3 -0
  464. package/dist/api/types/GenerateVoiceRequest.d.ts +1 -13
  465. package/dist/api/types/GenerationSourceContext.d.ts +14 -0
  466. package/dist/api/types/GenerationSourceContext.js +3 -0
  467. package/dist/api/types/GetAgentResponseModel.d.ts +2 -0
  468. package/dist/api/types/GetAgentResponseModelCoachingSettings.d.ts +13 -0
  469. package/dist/api/types/GetAgentResponseModelCoachingSettings.js +3 -0
  470. package/dist/api/types/GetClientByPhoneParams.d.ts +6 -0
  471. package/dist/api/types/GetClientByPhoneParams.js +3 -0
  472. package/dist/api/types/GetConversationResponseModel.d.ts +1 -1
  473. package/dist/api/types/GetKnowledgeBaseDependentAgentsResponseModel.d.ts +1 -0
  474. package/dist/api/types/GetToolDependentAgentsResponseModel.d.ts +1 -0
  475. package/dist/api/types/GuardrailsV1Input.d.ts +2 -1
  476. package/dist/api/types/GuardrailsV1Output.d.ts +2 -1
  477. package/dist/api/types/LibraryVoiceResponse.d.ts +2 -0
  478. package/dist/api/types/ListAssetsParams.d.ts +3 -0
  479. package/dist/api/types/ListAssetsParams.js +3 -0
  480. package/dist/api/types/ListClientsParams.d.ts +6 -0
  481. package/dist/api/types/ListClientsParams.js +3 -0
  482. package/dist/api/types/ListProductsParams.d.ts +3 -0
  483. package/dist/api/types/ListProductsParams.js +3 -0
  484. package/dist/api/types/ListServicesParams.d.ts +3 -0
  485. package/dist/api/types/ListServicesParams.js +3 -0
  486. package/dist/api/types/ListStaffParams.d.ts +3 -0
  487. package/dist/api/types/ListStaffParams.js +3 -0
  488. package/dist/api/types/LlmDeprecationConfigModel.d.ts +12 -0
  489. package/dist/api/types/LlmDeprecationConfigModel.js +3 -0
  490. package/dist/api/types/LlmDeprecationInfoModel.d.ts +19 -0
  491. package/dist/api/types/LlmDeprecationInfoModel.js +3 -0
  492. package/dist/api/types/LlmInfoModelInput.d.ts +21 -0
  493. package/dist/api/types/LlmInfoModelInput.js +3 -0
  494. package/dist/api/types/LlmInfoModelOutput.d.ts +21 -0
  495. package/dist/api/types/LlmInfoModelOutput.js +3 -0
  496. package/dist/api/types/LlmListResponseModelInput.d.ts +7 -0
  497. package/dist/api/types/LlmListResponseModelInput.js +3 -0
  498. package/dist/api/types/LlmListResponseModelOutput.d.ts +7 -0
  499. package/dist/api/types/LlmListResponseModelOutput.js +3 -0
  500. package/dist/api/types/LlmSchemaOverride.d.ts +4 -0
  501. package/dist/api/types/LlmSchemaOverride.js +3 -0
  502. package/dist/api/types/McpServerConfigInput.d.ts +2 -0
  503. package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
  504. package/dist/api/types/McpToolConfigOverride.d.ts +2 -0
  505. package/dist/api/types/McpToolConfigOverrideInputOverridesValue.d.ts +13 -0
  506. package/dist/api/types/McpToolConfigOverrideInputOverridesValue.js +3 -0
  507. package/dist/api/types/MessagesSearchResponse.d.ts +9 -0
  508. package/dist/api/types/MessagesSearchResponse.js +3 -0
  509. package/dist/api/types/MessagesSearchResult.d.ts +14 -0
  510. package/dist/api/types/MessagesSearchResult.js +3 -0
  511. package/dist/api/types/MusicExploreSongSourceContext.d.ts +8 -0
  512. package/dist/api/types/MusicExploreSongSourceContext.js +3 -0
  513. package/dist/api/types/NoCoachingSettings.d.ts +3 -0
  514. package/dist/api/types/NoCoachingSettings.js +3 -0
  515. package/dist/api/types/PendingClipTaskType.d.ts +1 -0
  516. package/dist/api/types/PendingClipTaskType.js +1 -0
  517. package/dist/api/types/PermissionType.d.ts +1 -0
  518. package/dist/api/types/PermissionType.js +1 -0
  519. package/dist/api/types/{PrivacyConfig.d.ts → PrivacyConfigInput.d.ts} +4 -1
  520. package/dist/api/types/PrivacyConfigInput.js +3 -0
  521. package/dist/api/types/PrivacyConfigOutput.d.ts +17 -0
  522. package/dist/api/types/PrivacyConfigOutput.js +3 -0
  523. package/dist/api/types/ProcedureRefResponseModel.d.ts +8 -0
  524. package/dist/api/types/ProcedureRefResponseModel.js +3 -0
  525. package/dist/api/types/ProjectExtendedResponseModelAssetsItem.d.ts +1 -0
  526. package/dist/api/types/ProjectExternalAudioResponseModel.d.ts +3 -2
  527. package/dist/api/types/ProjectExternalAudioResponseModelSourceContext.d.ts +13 -0
  528. package/dist/api/types/ProjectExternalAudioResponseModelSourceContext.js +3 -0
  529. package/dist/api/types/ProjectImageResponseModel.d.ts +1 -0
  530. package/dist/api/types/ProjectVideoResponseModel.d.ts +7 -3
  531. package/dist/api/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
  532. package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
  533. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
  534. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
  535. package/dist/api/types/PromptInjectionGuardrail.d.ts +3 -0
  536. package/dist/api/types/PromptInjectionGuardrail.js +3 -0
  537. package/dist/api/types/PronunciationDictionaryAliasRuleRequestModel.d.ts +4 -0
  538. package/dist/api/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +4 -0
  539. package/dist/api/types/PronunciationDictionaryPhonemeRuleRequestModel.d.ts +4 -0
  540. package/dist/api/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +4 -0
  541. package/dist/api/types/RagConfig.d.ts +2 -0
  542. package/dist/api/types/RagConfigWorkflowOverride.d.ts +2 -0
  543. package/dist/api/types/RagIndexStatus.d.ts +1 -0
  544. package/dist/api/types/RagIndexStatus.js +1 -0
  545. package/dist/api/types/ReferenceVideo.d.ts +7 -0
  546. package/dist/api/types/ReferenceVideo.js +3 -0
  547. package/dist/api/types/ResponseFilter.d.ts +12 -0
  548. package/dist/api/types/ResponseFilter.js +3 -0
  549. package/dist/api/types/SayNodeLiteralMessageInput.d.ts +5 -0
  550. package/dist/api/types/SayNodeLiteralMessageInput.js +3 -0
  551. package/dist/api/types/SayNodeLiteralMessageOutput.d.ts +5 -0
  552. package/dist/api/types/SayNodeLiteralMessageOutput.js +3 -0
  553. package/dist/api/types/SayNodePromptMessageInput.d.ts +5 -0
  554. package/dist/api/types/SayNodePromptMessageInput.js +3 -0
  555. package/dist/api/types/SayNodePromptMessageOutput.d.ts +5 -0
  556. package/dist/api/types/SayNodePromptMessageOutput.js +3 -0
  557. package/dist/api/types/SearchClientsParams.d.ts +6 -0
  558. package/dist/api/types/SearchClientsParams.js +3 -0
  559. package/dist/api/types/SeatType.d.ts +5 -0
  560. package/dist/api/types/SeatType.js +5 -0
  561. package/dist/api/types/SfxSourceContext.d.ts +8 -0
  562. package/dist/api/types/SfxSourceContext.js +3 -0
  563. package/dist/api/types/SongSourceContext.d.ts +10 -0
  564. package/dist/api/types/SongSourceContext.js +3 -0
  565. package/dist/api/types/StudioClipReference.d.ts +9 -0
  566. package/dist/api/types/StudioClipReference.js +3 -0
  567. package/dist/api/types/StudioClipReferenceClipType.d.ts +7 -0
  568. package/dist/api/types/StudioClipReferenceClipType.js +10 -0
  569. package/dist/api/types/TestType.d.ts +1 -0
  570. package/dist/api/types/TestType.js +1 -0
  571. package/dist/api/types/ToolType.d.ts +1 -0
  572. package/dist/api/types/ToolType.js +1 -0
  573. package/dist/api/types/UnitTestSummaryResponseModel.d.ts +9 -1
  574. package/dist/api/types/UpdateClientParams.d.ts +6 -0
  575. package/dist/api/types/UpdateClientParams.js +3 -0
  576. package/dist/api/types/UpdateProductParams.d.ts +3 -0
  577. package/dist/api/types/UpdateProductParams.js +3 -0
  578. package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  579. package/dist/api/types/UpdateServiceParams.d.ts +6 -0
  580. package/dist/api/types/UpdateServiceParams.js +3 -0
  581. package/dist/api/types/UpdateSimulationTestRequest.d.ts +2 -0
  582. package/dist/api/types/UpdateStaffParams.d.ts +6 -0
  583. package/dist/api/types/UpdateStaffParams.js +3 -0
  584. package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  585. package/dist/api/types/User.d.ts +2 -0
  586. package/dist/api/types/Voice.d.ts +2 -0
  587. package/dist/api/types/VoiceGenerationParameterOptionResponse.d.ts +1 -4
  588. package/dist/api/types/VoiceGenerationParameterResponse.d.ts +1 -10
  589. package/dist/api/types/WidgetConfig.d.ts +10 -0
  590. package/dist/api/types/WidgetConfigInputSyntaxHighlightTheme.d.ts +5 -0
  591. package/dist/api/types/WidgetConfigInputSyntaxHighlightTheme.js +8 -0
  592. package/dist/api/types/WidgetConfigOutputSyntaxHighlightTheme.d.ts +5 -0
  593. package/dist/api/types/WidgetConfigOutputSyntaxHighlightTheme.js +8 -0
  594. package/dist/api/types/WidgetConfigResponse.d.ts +10 -0
  595. package/dist/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.d.ts +5 -0
  596. package/dist/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.js +8 -0
  597. package/dist/api/types/WidgetTextContents.d.ts +22 -0
  598. package/dist/api/types/WorkspaceGroupPermission.d.ts +1 -0
  599. package/dist/api/types/WorkspaceGroupPermission.js +1 -0
  600. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  601. package/dist/api/types/WorkspaceResourceType.d.ts +3 -0
  602. package/dist/api/types/WorkspaceResourceType.js +3 -0
  603. package/dist/api/types/index.d.ts +73 -8
  604. package/dist/api/types/index.js +73 -8
  605. package/dist/serialization/resources/audioNative/client/index.d.ts +1 -0
  606. package/dist/serialization/resources/audioNative/client/index.js +17 -0
  607. package/dist/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +9 -0
  608. package/dist/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js +41 -0
  609. package/dist/serialization/resources/audioNative/client/requests/index.d.ts +1 -0
  610. package/dist/serialization/resources/audioNative/client/requests/index.js +5 -0
  611. package/dist/serialization/resources/audioNative/index.d.ts +1 -0
  612. package/dist/serialization/resources/audioNative/index.js +1 -0
  613. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +2 -0
  614. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +2 -0
  615. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -2
  616. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -2
  617. package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +15 -0
  618. package/dist/serialization/resources/conversationalAi/resources/agents/types/{BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js → BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js} +12 -4
  619. package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +15 -0
  620. package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js +49 -0
  621. package/dist/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +2 -1
  622. package/dist/serialization/resources/conversationalAi/resources/agents/types/index.js +2 -1
  623. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
  624. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
  625. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.d.ts +1 -0
  626. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.js +17 -0
  627. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.d.ts +7 -0
  628. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.js +39 -0
  629. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.d.ts +1 -0
  630. package/dist/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.js +17 -0
  631. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  632. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -0
  633. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +1 -0
  634. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +1 -0
  635. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +2 -0
  636. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +4 -0
  637. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +2 -0
  638. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +4 -0
  639. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  640. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +1 -0
  641. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +19 -0
  642. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +51 -0
  643. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +19 -0
  644. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +51 -0
  645. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.d.ts +2 -0
  646. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.js +18 -0
  647. package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.d.ts +7 -0
  648. package/dist/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.js +39 -0
  649. package/dist/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +1 -0
  650. package/dist/serialization/resources/conversationalAi/resources/tests/types/index.js +1 -0
  651. package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +1 -0
  652. package/dist/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.js +1 -0
  653. package/dist/serialization/resources/index.d.ts +1 -0
  654. package/dist/serialization/resources/index.js +1 -0
  655. package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -0
  656. package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +1 -0
  657. package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
  658. package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
  659. package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
  660. package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
  661. package/dist/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.d.ts +1 -0
  662. package/dist/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.js +1 -0
  663. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
  664. package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
  665. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +3 -2
  666. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +3 -2
  667. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +3 -2
  668. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +3 -2
  669. package/dist/serialization/types/AgentSimulatedChatTestResponseModel.d.ts +2 -2
  670. package/dist/serialization/types/AgentSimulatedChatTestResponseModel.js +2 -2
  671. package/dist/serialization/types/AgentTestEntityType.d.ts +7 -0
  672. package/dist/serialization/types/{ConversationHistoryTranscriptCommonModelInputSourceMedium.js → AgentTestEntityType.js} +2 -2
  673. package/dist/serialization/types/AgentTestFolderPathSegmentResponseModel.d.ts +10 -0
  674. package/dist/serialization/types/AgentTestFolderPathSegmentResponseModel.js +42 -0
  675. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
  676. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +4 -0
  677. package/dist/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.d.ts +19 -0
  678. package/dist/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.js +51 -0
  679. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
  680. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +4 -0
  681. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.d.ts +19 -0
  682. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.js +51 -0
  683. package/dist/serialization/types/ChatSourceMedium.d.ts +7 -0
  684. package/{serialization/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.js → dist/serialization/types/ChatSourceMedium.js} +2 -2
  685. package/dist/serialization/types/ClientEvent.d.ts +1 -1
  686. package/dist/serialization/types/ClientEvent.js +1 -0
  687. package/dist/serialization/types/ClipAnimation.d.ts +14 -0
  688. package/dist/serialization/types/ClipAnimation.js +46 -0
  689. package/dist/serialization/types/ClipAnimationEnterEffect.d.ts +7 -0
  690. package/dist/serialization/types/ClipAnimationEnterEffect.js +54 -0
  691. package/dist/serialization/types/ClipAnimationExitEffect.d.ts +7 -0
  692. package/dist/serialization/types/ClipAnimationExitEffect.js +54 -0
  693. package/dist/serialization/types/CoachedAgentSettings.d.ts +9 -0
  694. package/dist/serialization/types/CoachedAgentSettings.js +41 -0
  695. package/dist/serialization/types/CoachingAgentSettings.d.ts +10 -0
  696. package/dist/serialization/types/CoachingAgentSettings.js +42 -0
  697. package/dist/serialization/types/ConfigEntityType.d.ts +7 -0
  698. package/dist/serialization/types/ConfigEntityType.js +95 -0
  699. package/dist/serialization/types/ConstantSchemaOverride.d.ts +10 -0
  700. package/dist/serialization/types/ConstantSchemaOverride.js +42 -0
  701. package/dist/serialization/types/ConstantSchemaOverrideConstantValue.d.ts +7 -0
  702. package/dist/serialization/types/{BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.js → ConstantSchemaOverrideConstantValue.js} +7 -2
  703. package/dist/serialization/types/ContentConfig.d.ts +1 -1
  704. package/dist/serialization/types/ContentConfig.js +1 -1
  705. package/dist/serialization/types/ConvAiFileUploadResponseModel.d.ts +9 -0
  706. package/dist/serialization/types/ConvAiFileUploadResponseModel.js +41 -0
  707. package/dist/serialization/types/ConversationHistoryRedactionConfig.d.ts +11 -0
  708. package/dist/serialization/types/ConversationHistoryRedactionConfig.js +43 -0
  709. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
  710. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
  711. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
  712. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
  713. package/dist/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.d.ts +12 -0
  714. package/dist/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.js +44 -0
  715. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +35 -0
  716. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +67 -0
  717. package/dist/serialization/types/ConversationHistoryTranscriptResponseModelRole.d.ts +7 -0
  718. package/dist/serialization/types/ConversationHistoryTranscriptResponseModelRole.js +39 -0
  719. package/dist/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +10 -0
  720. package/dist/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +48 -0
  721. package/dist/serialization/types/ConversationUserResponseModel.d.ts +3 -2
  722. package/dist/serialization/types/ConversationUserResponseModel.js +3 -2
  723. package/dist/serialization/types/CreateClientParams.d.ts +9 -0
  724. package/dist/serialization/types/CreateClientParams.js +41 -0
  725. package/dist/serialization/types/CreatePreviouslyGeneratedVoiceRequest.d.ts +2 -8
  726. package/dist/serialization/types/CreatePreviouslyGeneratedVoiceRequest.js +1 -7
  727. package/dist/serialization/types/CreateProductParams.d.ts +9 -0
  728. package/dist/serialization/types/CreateProductParams.js +41 -0
  729. package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -0
  730. package/dist/serialization/types/CreateResponseUnitTestRequest.js +1 -0
  731. package/dist/serialization/types/CreateServiceParams.d.ts +9 -0
  732. package/dist/serialization/types/CreateServiceParams.js +41 -0
  733. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +1 -0
  734. package/dist/serialization/types/CreateSimulationTestRequest.js +1 -0
  735. package/dist/serialization/types/CreateStaffParams.d.ts +9 -0
  736. package/dist/serialization/types/CreateStaffParams.js +41 -0
  737. package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -0
  738. package/dist/serialization/types/CreateToolCallUnitTestRequest.js +1 -0
  739. package/dist/serialization/types/DeleteClientParams.d.ts +9 -0
  740. package/dist/serialization/types/DeleteClientParams.js +41 -0
  741. package/dist/serialization/types/DeleteProductParams.d.ts +9 -0
  742. package/dist/serialization/types/DeleteProductParams.js +41 -0
  743. package/dist/serialization/types/DeleteServiceParams.d.ts +9 -0
  744. package/dist/serialization/types/DeleteServiceParams.js +41 -0
  745. package/dist/serialization/types/DeleteStaffParams.d.ts +9 -0
  746. package/dist/serialization/types/DeleteStaffParams.js +41 -0
  747. package/dist/serialization/types/DependentBranchInfo.d.ts +13 -0
  748. package/dist/serialization/types/DependentBranchInfo.js +45 -0
  749. package/dist/serialization/types/DynamicVariableSchemaOverride.d.ts +9 -0
  750. package/dist/serialization/types/DynamicVariableSchemaOverride.js +41 -0
  751. package/dist/serialization/types/EmbeddingModelEnum.d.ts +1 -1
  752. package/dist/serialization/types/EmbeddingModelEnum.js +1 -1
  753. package/{serialization/types/AlignmentGuardrail.d.ts → dist/serialization/types/FocusGuardrail.d.ts} +2 -2
  754. package/dist/serialization/types/{AlignmentGuardrail.js → FocusGuardrail.js} +2 -2
  755. package/dist/serialization/types/GenerateVoiceRequest.d.ts +2 -10
  756. package/dist/serialization/types/GenerateVoiceRequest.js +1 -9
  757. package/dist/serialization/types/GenerationSourceContext.d.ts +19 -0
  758. package/dist/serialization/types/GenerationSourceContext.js +51 -0
  759. package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
  760. package/dist/serialization/types/GetAgentResponseModel.js +2 -0
  761. package/dist/serialization/types/GetAgentResponseModelCoachingSettings.d.ts +19 -0
  762. package/dist/serialization/types/GetAgentResponseModelCoachingSettings.js +51 -0
  763. package/dist/serialization/types/GetClientByPhoneParams.d.ts +9 -0
  764. package/dist/serialization/types/GetClientByPhoneParams.js +41 -0
  765. package/dist/serialization/types/GetConversationResponseModel.d.ts +2 -2
  766. package/dist/serialization/types/GetConversationResponseModel.js +2 -2
  767. package/dist/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.d.ts +2 -0
  768. package/dist/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.js +2 -0
  769. package/dist/serialization/types/GetToolDependentAgentsResponseModel.d.ts +2 -0
  770. package/dist/serialization/types/GetToolDependentAgentsResponseModel.js +2 -0
  771. package/dist/serialization/types/GuardrailsV1Input.d.ts +4 -2
  772. package/dist/serialization/types/GuardrailsV1Input.js +4 -2
  773. package/dist/serialization/types/GuardrailsV1Output.d.ts +4 -2
  774. package/dist/serialization/types/GuardrailsV1Output.js +4 -2
  775. package/dist/serialization/types/LibraryVoiceResponse.d.ts +1 -0
  776. package/dist/serialization/types/LibraryVoiceResponse.js +1 -0
  777. package/dist/serialization/types/ListAssetsParams.d.ts +9 -0
  778. package/dist/serialization/types/ListAssetsParams.js +41 -0
  779. package/dist/serialization/types/ListClientsParams.d.ts +9 -0
  780. package/dist/serialization/types/ListClientsParams.js +41 -0
  781. package/dist/serialization/types/ListProductsParams.d.ts +9 -0
  782. package/dist/serialization/types/ListProductsParams.js +41 -0
  783. package/dist/serialization/types/ListServicesParams.d.ts +9 -0
  784. package/dist/serialization/types/ListServicesParams.js +41 -0
  785. package/dist/serialization/types/ListStaffParams.d.ts +9 -0
  786. package/dist/serialization/types/ListStaffParams.js +41 -0
  787. package/dist/serialization/types/LlmDeprecationConfigModel.d.ts +13 -0
  788. package/dist/serialization/types/LlmDeprecationConfigModel.js +45 -0
  789. package/dist/serialization/types/LlmDeprecationInfoModel.d.ts +18 -0
  790. package/dist/serialization/types/LlmDeprecationInfoModel.js +50 -0
  791. package/dist/serialization/types/LlmInfoModelInput.d.ts +20 -0
  792. package/dist/serialization/types/LlmInfoModelInput.js +52 -0
  793. package/dist/serialization/types/LlmInfoModelOutput.d.ts +20 -0
  794. package/dist/serialization/types/LlmInfoModelOutput.js +52 -0
  795. package/dist/serialization/types/LlmListResponseModelInput.d.ts +12 -0
  796. package/dist/serialization/types/LlmListResponseModelInput.js +44 -0
  797. package/dist/serialization/types/LlmListResponseModelOutput.d.ts +12 -0
  798. package/dist/serialization/types/LlmListResponseModelOutput.js +44 -0
  799. package/dist/serialization/types/LlmSchemaOverride.d.ts +9 -0
  800. package/{serialization/types/ProcedureDraftRef.js → dist/serialization/types/LlmSchemaOverride.js} +3 -3
  801. package/dist/serialization/types/McpServerConfigInput.d.ts +2 -0
  802. package/dist/serialization/types/McpServerConfigInput.js +2 -0
  803. package/dist/serialization/types/McpServerConfigOutput.d.ts +2 -0
  804. package/dist/serialization/types/McpServerConfigOutput.js +2 -0
  805. package/dist/serialization/types/McpToolConfigOverride.d.ts +2 -0
  806. package/dist/serialization/types/McpToolConfigOverride.js +4 -0
  807. package/dist/serialization/types/McpToolConfigOverrideInputOverridesValue.d.ts +19 -0
  808. package/dist/serialization/types/McpToolConfigOverrideInputOverridesValue.js +51 -0
  809. package/dist/serialization/types/MessagesSearchResponse.d.ts +14 -0
  810. package/dist/serialization/types/MessagesSearchResponse.js +46 -0
  811. package/dist/serialization/types/MessagesSearchResult.d.ts +15 -0
  812. package/dist/serialization/types/MessagesSearchResult.js +47 -0
  813. package/dist/serialization/types/MusicExploreSongSourceContext.d.ts +14 -0
  814. package/dist/serialization/types/MusicExploreSongSourceContext.js +46 -0
  815. package/dist/serialization/types/NoCoachingSettings.d.ts +9 -0
  816. package/dist/serialization/types/NoCoachingSettings.js +41 -0
  817. package/dist/serialization/types/PendingClipTaskType.d.ts +1 -1
  818. package/dist/serialization/types/PendingClipTaskType.js +1 -1
  819. package/dist/serialization/types/PermissionType.d.ts +1 -1
  820. package/dist/serialization/types/PermissionType.js +1 -0
  821. package/dist/serialization/types/{PrivacyConfig.d.ts → PrivacyConfigInput.d.ts} +4 -2
  822. package/dist/serialization/types/{PrivacyConfig.js → PrivacyConfigInput.js} +4 -2
  823. package/dist/serialization/types/PrivacyConfigOutput.d.ts +16 -0
  824. package/dist/serialization/types/PrivacyConfigOutput.js +48 -0
  825. package/dist/serialization/types/ProcedureRefResponseModel.d.ts +11 -0
  826. package/dist/serialization/types/{ProcedureVersionRef.js → ProcedureRefResponseModel.js} +4 -3
  827. package/dist/serialization/types/ProjectExternalAudioResponseModel.d.ts +4 -2
  828. package/dist/serialization/types/ProjectExternalAudioResponseModel.js +4 -2
  829. package/dist/serialization/types/ProjectExternalAudioResponseModelSourceContext.d.ts +19 -0
  830. package/dist/serialization/types/ProjectExternalAudioResponseModelSourceContext.js +51 -0
  831. package/dist/serialization/types/ProjectImageResponseModel.d.ts +2 -0
  832. package/dist/serialization/types/ProjectImageResponseModel.js +2 -0
  833. package/dist/serialization/types/ProjectVideoResponseModel.d.ts +9 -3
  834. package/dist/serialization/types/ProjectVideoResponseModel.js +9 -3
  835. package/dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
  836. package/dist/serialization/types/PromptAgentApiModelInputToolsItem.js +3 -0
  837. package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
  838. package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +3 -0
  839. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
  840. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +3 -0
  841. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
  842. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +3 -0
  843. package/dist/serialization/types/PromptInjectionGuardrail.d.ts +9 -0
  844. package/dist/serialization/types/PromptInjectionGuardrail.js +41 -0
  845. package/dist/serialization/types/PronunciationDictionaryAliasRuleRequestModel.d.ts +2 -0
  846. package/dist/serialization/types/PronunciationDictionaryAliasRuleRequestModel.js +2 -0
  847. package/dist/serialization/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +2 -0
  848. package/dist/serialization/types/PronunciationDictionaryAliasRuleResponseModel.js +2 -0
  849. package/dist/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.d.ts +2 -0
  850. package/dist/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.js +2 -0
  851. package/dist/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +2 -0
  852. package/dist/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.js +2 -0
  853. package/dist/serialization/types/RagConfig.d.ts +1 -0
  854. package/dist/serialization/types/RagConfig.js +1 -0
  855. package/dist/serialization/types/RagConfigWorkflowOverride.d.ts +1 -0
  856. package/dist/serialization/types/RagConfigWorkflowOverride.js +1 -0
  857. package/dist/serialization/types/RagIndexStatus.d.ts +1 -1
  858. package/dist/serialization/types/RagIndexStatus.js +1 -0
  859. package/dist/serialization/types/ReferenceVideo.d.ts +13 -0
  860. package/dist/serialization/types/ReferenceVideo.js +45 -0
  861. package/dist/serialization/types/ResponseFilter.d.ts +12 -0
  862. package/dist/serialization/types/ResponseFilter.js +44 -0
  863. package/dist/serialization/types/SayNodeLiteralMessageInput.d.ts +10 -0
  864. package/dist/serialization/types/SayNodeLiteralMessageInput.js +42 -0
  865. package/dist/serialization/types/SayNodeLiteralMessageOutput.d.ts +10 -0
  866. package/dist/serialization/types/SayNodeLiteralMessageOutput.js +42 -0
  867. package/dist/serialization/types/SayNodePromptMessageInput.d.ts +10 -0
  868. package/dist/serialization/types/SayNodePromptMessageInput.js +42 -0
  869. package/dist/serialization/types/SayNodePromptMessageOutput.d.ts +10 -0
  870. package/dist/serialization/types/SayNodePromptMessageOutput.js +42 -0
  871. package/dist/serialization/types/SearchClientsParams.d.ts +9 -0
  872. package/dist/serialization/types/SearchClientsParams.js +41 -0
  873. package/dist/serialization/types/SfxSourceContext.d.ts +11 -0
  874. package/dist/serialization/types/SfxSourceContext.js +43 -0
  875. package/dist/serialization/types/SongSourceContext.d.ts +16 -0
  876. package/dist/serialization/types/SongSourceContext.js +48 -0
  877. package/dist/serialization/types/StudioClipReference.d.ts +15 -0
  878. package/dist/serialization/types/StudioClipReference.js +47 -0
  879. package/dist/serialization/types/StudioClipReferenceClipType.d.ts +7 -0
  880. package/dist/serialization/types/StudioClipReferenceClipType.js +39 -0
  881. package/dist/serialization/types/TestType.d.ts +1 -1
  882. package/dist/serialization/types/TestType.js +1 -1
  883. package/dist/serialization/types/ToolType.d.ts +1 -1
  884. package/dist/serialization/types/ToolType.js +1 -0
  885. package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +6 -0
  886. package/dist/serialization/types/UnitTestSummaryResponseModel.js +6 -0
  887. package/dist/serialization/types/UpdateClientParams.d.ts +9 -0
  888. package/dist/serialization/types/UpdateClientParams.js +41 -0
  889. package/dist/serialization/types/UpdateProductParams.d.ts +9 -0
  890. package/dist/serialization/types/UpdateProductParams.js +41 -0
  891. package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -0
  892. package/dist/serialization/types/UpdateResponseUnitTestRequest.js +1 -0
  893. package/dist/serialization/types/UpdateServiceParams.d.ts +9 -0
  894. package/dist/serialization/types/UpdateServiceParams.js +41 -0
  895. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +1 -0
  896. package/dist/serialization/types/UpdateSimulationTestRequest.js +1 -0
  897. package/dist/serialization/types/UpdateStaffParams.d.ts +9 -0
  898. package/dist/serialization/types/UpdateStaffParams.js +41 -0
  899. package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -0
  900. package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +1 -0
  901. package/dist/serialization/types/User.d.ts +2 -0
  902. package/dist/serialization/types/User.js +2 -0
  903. package/dist/serialization/types/Voice.d.ts +1 -0
  904. package/dist/serialization/types/Voice.js +1 -0
  905. package/dist/serialization/types/VoiceGenerationParameterOptionResponse.d.ts +2 -5
  906. package/dist/serialization/types/VoiceGenerationParameterOptionResponse.js +1 -4
  907. package/dist/serialization/types/VoiceGenerationParameterResponse.d.ts +2 -11
  908. package/dist/serialization/types/VoiceGenerationParameterResponse.js +1 -10
  909. package/dist/serialization/types/WidgetConfig.d.ts +6 -0
  910. package/dist/serialization/types/WidgetConfig.js +6 -0
  911. package/dist/serialization/types/WidgetConfigInputSyntaxHighlightTheme.d.ts +7 -0
  912. package/dist/serialization/types/WidgetConfigInputSyntaxHighlightTheme.js +39 -0
  913. package/dist/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.d.ts +7 -0
  914. package/dist/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.js +39 -0
  915. package/dist/serialization/types/WidgetConfigResponse.d.ts +6 -0
  916. package/dist/serialization/types/WidgetConfigResponse.js +6 -0
  917. package/dist/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.d.ts +7 -0
  918. package/dist/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.js +39 -0
  919. package/dist/serialization/types/WidgetTextContents.d.ts +11 -0
  920. package/dist/serialization/types/WidgetTextContents.js +11 -0
  921. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  922. package/dist/serialization/types/WorkspaceGroupPermission.js +1 -0
  923. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
  924. package/dist/serialization/types/WorkspaceGroupResponseModel.js +1 -0
  925. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  926. package/dist/serialization/types/WorkspaceResourceType.js +3 -0
  927. package/dist/serialization/types/index.d.ts +73 -8
  928. package/dist/serialization/types/index.js +73 -8
  929. package/dist/version.d.ts +1 -1
  930. package/dist/version.js +1 -1
  931. package/dist/wrapper/music.d.ts +1 -0
  932. package/dist/wrapper/music.js +4 -1
  933. package/package.json +1 -1
  934. package/reference.md +424 -2
  935. package/serialization/resources/audioNative/client/index.d.ts +1 -0
  936. package/serialization/resources/audioNative/client/index.js +17 -0
  937. package/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.d.ts +9 -0
  938. package/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js +41 -0
  939. package/serialization/resources/audioNative/client/requests/index.d.ts +1 -0
  940. package/serialization/resources/audioNative/client/requests/index.js +5 -0
  941. package/serialization/resources/audioNative/index.d.ts +1 -0
  942. package/serialization/resources/audioNative/index.js +1 -0
  943. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +2 -0
  944. package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +2 -0
  945. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -2
  946. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -2
  947. package/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.d.ts +15 -0
  948. package/serialization/resources/conversationalAi/resources/agents/types/{BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js → BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js} +12 -4
  949. package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.d.ts +15 -0
  950. package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js +49 -0
  951. package/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +2 -1
  952. package/serialization/resources/conversationalAi/resources/agents/types/index.js +2 -1
  953. package/serialization/resources/conversationalAi/resources/conversations/resources/index.d.ts +2 -0
  954. package/serialization/resources/conversationalAi/resources/conversations/resources/index.js +3 -1
  955. package/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.d.ts +1 -0
  956. package/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.js +17 -0
  957. package/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.d.ts +7 -0
  958. package/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.js +39 -0
  959. package/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.d.ts +1 -0
  960. package/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.js +17 -0
  961. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  962. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -0
  963. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +1 -0
  964. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +1 -0
  965. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +2 -0
  966. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +4 -0
  967. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +2 -0
  968. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +4 -0
  969. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  970. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +1 -0
  971. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +19 -0
  972. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +51 -0
  973. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +19 -0
  974. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +51 -0
  975. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.d.ts +2 -0
  976. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.js +18 -0
  977. package/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.d.ts +7 -0
  978. package/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.js +39 -0
  979. package/serialization/resources/conversationalAi/resources/tests/types/index.d.ts +1 -0
  980. package/serialization/resources/conversationalAi/resources/tests/types/index.js +1 -0
  981. package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.d.ts +1 -0
  982. package/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.js +1 -0
  983. package/serialization/resources/index.d.ts +1 -0
  984. package/serialization/resources/index.js +1 -0
  985. package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -0
  986. package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +1 -0
  987. package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
  988. package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
  989. package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
  990. package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
  991. package/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.d.ts +1 -0
  992. package/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.js +1 -0
  993. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +1 -0
  994. package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +1 -0
  995. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +3 -2
  996. package/serialization/types/AgentPlatformSettingsRequestModel.js +3 -2
  997. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +3 -2
  998. package/serialization/types/AgentPlatformSettingsResponseModel.js +3 -2
  999. package/serialization/types/AgentSimulatedChatTestResponseModel.d.ts +2 -2
  1000. package/serialization/types/AgentSimulatedChatTestResponseModel.js +2 -2
  1001. package/serialization/types/AgentTestEntityType.d.ts +7 -0
  1002. package/serialization/types/AgentTestEntityType.js +39 -0
  1003. package/serialization/types/AgentTestFolderPathSegmentResponseModel.d.ts +10 -0
  1004. package/serialization/types/AgentTestFolderPathSegmentResponseModel.js +42 -0
  1005. package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
  1006. package/serialization/types/ApiIntegrationWebhookOverridesInput.js +4 -0
  1007. package/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.d.ts +19 -0
  1008. package/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.js +51 -0
  1009. package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
  1010. package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +4 -0
  1011. package/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.d.ts +19 -0
  1012. package/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.js +51 -0
  1013. package/serialization/types/ChatSourceMedium.d.ts +7 -0
  1014. package/serialization/types/ChatSourceMedium.js +39 -0
  1015. package/serialization/types/ClientEvent.d.ts +1 -1
  1016. package/serialization/types/ClientEvent.js +1 -0
  1017. package/serialization/types/ClipAnimation.d.ts +14 -0
  1018. package/serialization/types/ClipAnimation.js +46 -0
  1019. package/serialization/types/ClipAnimationEnterEffect.d.ts +7 -0
  1020. package/serialization/types/ClipAnimationEnterEffect.js +54 -0
  1021. package/serialization/types/ClipAnimationExitEffect.d.ts +7 -0
  1022. package/serialization/types/ClipAnimationExitEffect.js +54 -0
  1023. package/serialization/types/CoachedAgentSettings.d.ts +9 -0
  1024. package/serialization/types/CoachedAgentSettings.js +41 -0
  1025. package/serialization/types/CoachingAgentSettings.d.ts +10 -0
  1026. package/serialization/types/CoachingAgentSettings.js +42 -0
  1027. package/serialization/types/ConfigEntityType.d.ts +7 -0
  1028. package/serialization/types/ConfigEntityType.js +95 -0
  1029. package/serialization/types/ConstantSchemaOverride.d.ts +10 -0
  1030. package/serialization/types/ConstantSchemaOverride.js +42 -0
  1031. package/serialization/types/ConstantSchemaOverrideConstantValue.d.ts +7 -0
  1032. package/{dist/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.js → serialization/types/ConstantSchemaOverrideConstantValue.js} +7 -2
  1033. package/serialization/types/ContentConfig.d.ts +1 -1
  1034. package/serialization/types/ContentConfig.js +1 -1
  1035. package/serialization/types/ConvAiFileUploadResponseModel.d.ts +9 -0
  1036. package/serialization/types/ConvAiFileUploadResponseModel.js +41 -0
  1037. package/serialization/types/ConversationHistoryRedactionConfig.d.ts +11 -0
  1038. package/serialization/types/ConversationHistoryRedactionConfig.js +43 -0
  1039. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
  1040. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
  1041. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
  1042. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
  1043. package/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.d.ts +12 -0
  1044. package/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.js +44 -0
  1045. package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +35 -0
  1046. package/serialization/types/ConversationHistoryTranscriptResponseModel.js +67 -0
  1047. package/serialization/types/ConversationHistoryTranscriptResponseModelRole.d.ts +7 -0
  1048. package/serialization/types/ConversationHistoryTranscriptResponseModelRole.js +39 -0
  1049. package/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.d.ts +10 -0
  1050. package/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.js +48 -0
  1051. package/serialization/types/ConversationUserResponseModel.d.ts +3 -2
  1052. package/serialization/types/ConversationUserResponseModel.js +3 -2
  1053. package/serialization/types/CreateClientParams.d.ts +9 -0
  1054. package/serialization/types/CreateClientParams.js +41 -0
  1055. package/serialization/types/CreatePreviouslyGeneratedVoiceRequest.d.ts +2 -8
  1056. package/serialization/types/CreatePreviouslyGeneratedVoiceRequest.js +1 -7
  1057. package/serialization/types/CreateProductParams.d.ts +9 -0
  1058. package/serialization/types/CreateProductParams.js +41 -0
  1059. package/serialization/types/CreateResponseUnitTestRequest.d.ts +1 -0
  1060. package/serialization/types/CreateResponseUnitTestRequest.js +1 -0
  1061. package/serialization/types/CreateServiceParams.d.ts +9 -0
  1062. package/serialization/types/CreateServiceParams.js +41 -0
  1063. package/serialization/types/CreateSimulationTestRequest.d.ts +1 -0
  1064. package/serialization/types/CreateSimulationTestRequest.js +1 -0
  1065. package/serialization/types/CreateStaffParams.d.ts +9 -0
  1066. package/serialization/types/CreateStaffParams.js +41 -0
  1067. package/serialization/types/CreateToolCallUnitTestRequest.d.ts +1 -0
  1068. package/serialization/types/CreateToolCallUnitTestRequest.js +1 -0
  1069. package/serialization/types/DeleteClientParams.d.ts +9 -0
  1070. package/serialization/types/DeleteClientParams.js +41 -0
  1071. package/serialization/types/DeleteProductParams.d.ts +9 -0
  1072. package/serialization/types/DeleteProductParams.js +41 -0
  1073. package/serialization/types/DeleteServiceParams.d.ts +9 -0
  1074. package/serialization/types/DeleteServiceParams.js +41 -0
  1075. package/serialization/types/DeleteStaffParams.d.ts +9 -0
  1076. package/serialization/types/DeleteStaffParams.js +41 -0
  1077. package/serialization/types/DependentBranchInfo.d.ts +13 -0
  1078. package/serialization/types/DependentBranchInfo.js +45 -0
  1079. package/serialization/types/DynamicVariableSchemaOverride.d.ts +9 -0
  1080. package/serialization/types/DynamicVariableSchemaOverride.js +41 -0
  1081. package/serialization/types/EmbeddingModelEnum.d.ts +1 -1
  1082. package/serialization/types/EmbeddingModelEnum.js +1 -1
  1083. package/{dist/serialization/types/AlignmentGuardrail.d.ts → serialization/types/FocusGuardrail.d.ts} +2 -2
  1084. package/serialization/types/{AlignmentGuardrail.js → FocusGuardrail.js} +2 -2
  1085. package/serialization/types/GenerateVoiceRequest.d.ts +2 -10
  1086. package/serialization/types/GenerateVoiceRequest.js +1 -9
  1087. package/serialization/types/GenerationSourceContext.d.ts +19 -0
  1088. package/serialization/types/GenerationSourceContext.js +51 -0
  1089. package/serialization/types/GetAgentResponseModel.d.ts +2 -0
  1090. package/serialization/types/GetAgentResponseModel.js +2 -0
  1091. package/serialization/types/GetAgentResponseModelCoachingSettings.d.ts +19 -0
  1092. package/serialization/types/GetAgentResponseModelCoachingSettings.js +51 -0
  1093. package/serialization/types/GetClientByPhoneParams.d.ts +9 -0
  1094. package/serialization/types/GetClientByPhoneParams.js +41 -0
  1095. package/serialization/types/GetConversationResponseModel.d.ts +2 -2
  1096. package/serialization/types/GetConversationResponseModel.js +2 -2
  1097. package/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.d.ts +2 -0
  1098. package/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.js +2 -0
  1099. package/serialization/types/GetToolDependentAgentsResponseModel.d.ts +2 -0
  1100. package/serialization/types/GetToolDependentAgentsResponseModel.js +2 -0
  1101. package/serialization/types/GuardrailsV1Input.d.ts +4 -2
  1102. package/serialization/types/GuardrailsV1Input.js +4 -2
  1103. package/serialization/types/GuardrailsV1Output.d.ts +4 -2
  1104. package/serialization/types/GuardrailsV1Output.js +4 -2
  1105. package/serialization/types/LibraryVoiceResponse.d.ts +1 -0
  1106. package/serialization/types/LibraryVoiceResponse.js +1 -0
  1107. package/serialization/types/ListAssetsParams.d.ts +9 -0
  1108. package/serialization/types/ListAssetsParams.js +41 -0
  1109. package/serialization/types/ListClientsParams.d.ts +9 -0
  1110. package/serialization/types/ListClientsParams.js +41 -0
  1111. package/serialization/types/ListProductsParams.d.ts +9 -0
  1112. package/serialization/types/ListProductsParams.js +41 -0
  1113. package/serialization/types/ListServicesParams.d.ts +9 -0
  1114. package/serialization/types/ListServicesParams.js +41 -0
  1115. package/serialization/types/ListStaffParams.d.ts +9 -0
  1116. package/serialization/types/ListStaffParams.js +41 -0
  1117. package/serialization/types/LlmDeprecationConfigModel.d.ts +13 -0
  1118. package/serialization/types/LlmDeprecationConfigModel.js +45 -0
  1119. package/serialization/types/LlmDeprecationInfoModel.d.ts +18 -0
  1120. package/serialization/types/LlmDeprecationInfoModel.js +50 -0
  1121. package/serialization/types/LlmInfoModelInput.d.ts +20 -0
  1122. package/serialization/types/LlmInfoModelInput.js +52 -0
  1123. package/serialization/types/LlmInfoModelOutput.d.ts +20 -0
  1124. package/serialization/types/LlmInfoModelOutput.js +52 -0
  1125. package/serialization/types/LlmListResponseModelInput.d.ts +12 -0
  1126. package/serialization/types/LlmListResponseModelInput.js +44 -0
  1127. package/serialization/types/LlmListResponseModelOutput.d.ts +12 -0
  1128. package/serialization/types/LlmListResponseModelOutput.js +44 -0
  1129. package/serialization/types/LlmSchemaOverride.d.ts +9 -0
  1130. package/{dist/serialization/types/ProcedureDraftRef.js → serialization/types/LlmSchemaOverride.js} +3 -3
  1131. package/serialization/types/McpServerConfigInput.d.ts +2 -0
  1132. package/serialization/types/McpServerConfigInput.js +2 -0
  1133. package/serialization/types/McpServerConfigOutput.d.ts +2 -0
  1134. package/serialization/types/McpServerConfigOutput.js +2 -0
  1135. package/serialization/types/McpToolConfigOverride.d.ts +2 -0
  1136. package/serialization/types/McpToolConfigOverride.js +4 -0
  1137. package/serialization/types/McpToolConfigOverrideInputOverridesValue.d.ts +19 -0
  1138. package/serialization/types/McpToolConfigOverrideInputOverridesValue.js +51 -0
  1139. package/serialization/types/MessagesSearchResponse.d.ts +14 -0
  1140. package/serialization/types/MessagesSearchResponse.js +46 -0
  1141. package/serialization/types/MessagesSearchResult.d.ts +15 -0
  1142. package/serialization/types/MessagesSearchResult.js +47 -0
  1143. package/serialization/types/MusicExploreSongSourceContext.d.ts +14 -0
  1144. package/serialization/types/MusicExploreSongSourceContext.js +46 -0
  1145. package/serialization/types/NoCoachingSettings.d.ts +9 -0
  1146. package/serialization/types/NoCoachingSettings.js +41 -0
  1147. package/serialization/types/PendingClipTaskType.d.ts +1 -1
  1148. package/serialization/types/PendingClipTaskType.js +1 -1
  1149. package/serialization/types/PermissionType.d.ts +1 -1
  1150. package/serialization/types/PermissionType.js +1 -0
  1151. package/serialization/types/{PrivacyConfig.d.ts → PrivacyConfigInput.d.ts} +4 -2
  1152. package/serialization/types/{PrivacyConfig.js → PrivacyConfigInput.js} +4 -2
  1153. package/serialization/types/PrivacyConfigOutput.d.ts +16 -0
  1154. package/serialization/types/PrivacyConfigOutput.js +48 -0
  1155. package/serialization/types/ProcedureRefResponseModel.d.ts +11 -0
  1156. package/serialization/types/{ProcedureVersionRef.js → ProcedureRefResponseModel.js} +4 -3
  1157. package/serialization/types/ProjectExternalAudioResponseModel.d.ts +4 -2
  1158. package/serialization/types/ProjectExternalAudioResponseModel.js +4 -2
  1159. package/serialization/types/ProjectExternalAudioResponseModelSourceContext.d.ts +19 -0
  1160. package/serialization/types/ProjectExternalAudioResponseModelSourceContext.js +51 -0
  1161. package/serialization/types/ProjectImageResponseModel.d.ts +2 -0
  1162. package/serialization/types/ProjectImageResponseModel.js +2 -0
  1163. package/serialization/types/ProjectVideoResponseModel.d.ts +9 -3
  1164. package/serialization/types/ProjectVideoResponseModel.js +9 -3
  1165. package/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
  1166. package/serialization/types/PromptAgentApiModelInputToolsItem.js +3 -0
  1167. package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
  1168. package/serialization/types/PromptAgentApiModelOutputToolsItem.js +3 -0
  1169. package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
  1170. package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +3 -0
  1171. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
  1172. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +3 -0
  1173. package/serialization/types/PromptInjectionGuardrail.d.ts +9 -0
  1174. package/serialization/types/PromptInjectionGuardrail.js +41 -0
  1175. package/serialization/types/PronunciationDictionaryAliasRuleRequestModel.d.ts +2 -0
  1176. package/serialization/types/PronunciationDictionaryAliasRuleRequestModel.js +2 -0
  1177. package/serialization/types/PronunciationDictionaryAliasRuleResponseModel.d.ts +2 -0
  1178. package/serialization/types/PronunciationDictionaryAliasRuleResponseModel.js +2 -0
  1179. package/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.d.ts +2 -0
  1180. package/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.js +2 -0
  1181. package/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.d.ts +2 -0
  1182. package/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.js +2 -0
  1183. package/serialization/types/RagConfig.d.ts +1 -0
  1184. package/serialization/types/RagConfig.js +1 -0
  1185. package/serialization/types/RagConfigWorkflowOverride.d.ts +1 -0
  1186. package/serialization/types/RagConfigWorkflowOverride.js +1 -0
  1187. package/serialization/types/RagIndexStatus.d.ts +1 -1
  1188. package/serialization/types/RagIndexStatus.js +1 -0
  1189. package/serialization/types/ReferenceVideo.d.ts +13 -0
  1190. package/serialization/types/ReferenceVideo.js +45 -0
  1191. package/serialization/types/ResponseFilter.d.ts +12 -0
  1192. package/serialization/types/ResponseFilter.js +44 -0
  1193. package/serialization/types/SayNodeLiteralMessageInput.d.ts +10 -0
  1194. package/serialization/types/SayNodeLiteralMessageInput.js +42 -0
  1195. package/serialization/types/SayNodeLiteralMessageOutput.d.ts +10 -0
  1196. package/serialization/types/SayNodeLiteralMessageOutput.js +42 -0
  1197. package/serialization/types/SayNodePromptMessageInput.d.ts +10 -0
  1198. package/serialization/types/SayNodePromptMessageInput.js +42 -0
  1199. package/serialization/types/SayNodePromptMessageOutput.d.ts +10 -0
  1200. package/serialization/types/SayNodePromptMessageOutput.js +42 -0
  1201. package/serialization/types/SearchClientsParams.d.ts +9 -0
  1202. package/serialization/types/SearchClientsParams.js +41 -0
  1203. package/serialization/types/SfxSourceContext.d.ts +11 -0
  1204. package/serialization/types/SfxSourceContext.js +43 -0
  1205. package/serialization/types/SongSourceContext.d.ts +16 -0
  1206. package/serialization/types/SongSourceContext.js +48 -0
  1207. package/serialization/types/StudioClipReference.d.ts +15 -0
  1208. package/serialization/types/StudioClipReference.js +47 -0
  1209. package/serialization/types/StudioClipReferenceClipType.d.ts +7 -0
  1210. package/serialization/types/StudioClipReferenceClipType.js +39 -0
  1211. package/serialization/types/TestType.d.ts +1 -1
  1212. package/serialization/types/TestType.js +1 -1
  1213. package/serialization/types/ToolType.d.ts +1 -1
  1214. package/serialization/types/ToolType.js +1 -0
  1215. package/serialization/types/UnitTestSummaryResponseModel.d.ts +6 -0
  1216. package/serialization/types/UnitTestSummaryResponseModel.js +6 -0
  1217. package/serialization/types/UpdateClientParams.d.ts +9 -0
  1218. package/serialization/types/UpdateClientParams.js +41 -0
  1219. package/serialization/types/UpdateProductParams.d.ts +9 -0
  1220. package/serialization/types/UpdateProductParams.js +41 -0
  1221. package/serialization/types/UpdateResponseUnitTestRequest.d.ts +1 -0
  1222. package/serialization/types/UpdateResponseUnitTestRequest.js +1 -0
  1223. package/serialization/types/UpdateServiceParams.d.ts +9 -0
  1224. package/serialization/types/UpdateServiceParams.js +41 -0
  1225. package/serialization/types/UpdateSimulationTestRequest.d.ts +1 -0
  1226. package/serialization/types/UpdateSimulationTestRequest.js +1 -0
  1227. package/serialization/types/UpdateStaffParams.d.ts +9 -0
  1228. package/serialization/types/UpdateStaffParams.js +41 -0
  1229. package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +1 -0
  1230. package/serialization/types/UpdateToolCallUnitTestRequest.js +1 -0
  1231. package/serialization/types/User.d.ts +2 -0
  1232. package/serialization/types/User.js +2 -0
  1233. package/serialization/types/Voice.d.ts +1 -0
  1234. package/serialization/types/Voice.js +1 -0
  1235. package/serialization/types/VoiceGenerationParameterOptionResponse.d.ts +2 -5
  1236. package/serialization/types/VoiceGenerationParameterOptionResponse.js +1 -4
  1237. package/serialization/types/VoiceGenerationParameterResponse.d.ts +2 -11
  1238. package/serialization/types/VoiceGenerationParameterResponse.js +1 -10
  1239. package/serialization/types/WidgetConfig.d.ts +6 -0
  1240. package/serialization/types/WidgetConfig.js +6 -0
  1241. package/serialization/types/WidgetConfigInputSyntaxHighlightTheme.d.ts +7 -0
  1242. package/serialization/types/WidgetConfigInputSyntaxHighlightTheme.js +39 -0
  1243. package/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.d.ts +7 -0
  1244. package/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.js +39 -0
  1245. package/serialization/types/WidgetConfigResponse.d.ts +6 -0
  1246. package/serialization/types/WidgetConfigResponse.js +6 -0
  1247. package/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.d.ts +7 -0
  1248. package/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.js +39 -0
  1249. package/serialization/types/WidgetTextContents.d.ts +11 -0
  1250. package/serialization/types/WidgetTextContents.js +11 -0
  1251. package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  1252. package/serialization/types/WorkspaceGroupPermission.js +1 -0
  1253. package/serialization/types/WorkspaceGroupResponseModel.d.ts +1 -0
  1254. package/serialization/types/WorkspaceGroupResponseModel.js +1 -0
  1255. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  1256. package/serialization/types/WorkspaceResourceType.js +3 -0
  1257. package/serialization/types/index.d.ts +73 -8
  1258. package/serialization/types/index.js +73 -8
  1259. package/version.d.ts +1 -1
  1260. package/version.js +1 -1
  1261. package/wrapper/music.d.ts +1 -0
  1262. package/wrapper/music.js +4 -1
  1263. package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +0 -2
  1264. package/api/types/AlignmentGuardrail.d.ts +0 -3
  1265. package/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.d.ts +0 -7
  1266. package/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.js +0 -10
  1267. package/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.d.ts +0 -6
  1268. package/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.js +0 -9
  1269. package/api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.d.ts +0 -5
  1270. package/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.d.ts +0 -5
  1271. package/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.js +0 -8
  1272. package/api/types/ProcedureDraftRef.d.ts +0 -4
  1273. package/api/types/ProcedureVersionRef.d.ts +0 -6
  1274. package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +0 -2
  1275. package/dist/api/types/AlignmentGuardrail.d.ts +0 -3
  1276. package/dist/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.d.ts +0 -7
  1277. package/dist/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.js +0 -10
  1278. package/dist/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.d.ts +0 -6
  1279. package/dist/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.js +0 -9
  1280. package/dist/api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.d.ts +0 -5
  1281. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.d.ts +0 -5
  1282. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.js +0 -8
  1283. package/dist/api/types/ProcedureDraftRef.d.ts +0 -4
  1284. package/dist/api/types/ProcedureVersionRef.d.ts +0 -6
  1285. package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +0 -9
  1286. package/dist/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.d.ts +0 -7
  1287. package/dist/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.d.ts +0 -7
  1288. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.d.ts +0 -7
  1289. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.d.ts +0 -7
  1290. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.js +0 -39
  1291. package/dist/serialization/types/ProcedureDraftRef.d.ts +0 -9
  1292. package/dist/serialization/types/ProcedureVersionRef.d.ts +0 -10
  1293. package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +0 -9
  1294. package/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.d.ts +0 -7
  1295. package/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.js +0 -39
  1296. package/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.d.ts +0 -7
  1297. package/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.js +0 -39
  1298. package/serialization/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.d.ts +0 -7
  1299. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.d.ts +0 -7
  1300. package/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.js +0 -39
  1301. package/serialization/types/ProcedureDraftRef.d.ts +0 -9
  1302. package/serialization/types/ProcedureVersionRef.d.ts +0 -10
  1303. /package/api/resources/{conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js → audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.js} +0 -0
  1304. /package/api/{types/AlignmentGuardrail.js → resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.js} +0 -0
  1305. /package/api/{types/PrivacyConfig.js → resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.js} +0 -0
  1306. /package/api/{types/ProcedureDraftRef.js → resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.js} +0 -0
  1307. /package/api/{types/ProcedureVersionRef.js → resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.js} +0 -0
  1308. /package/{dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js → api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.js} +0 -0
  1309. /package/{dist/api/types/AlignmentGuardrail.js → api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js} +0 -0
  1310. /package/{dist/api/types/PrivacyConfig.js → api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js} +0 -0
  1311. /package/{dist/api/types/ProcedureDraftRef.js → api/types/AgentTestFolderPathSegmentResponseModel.js} +0 -0
  1312. /package/{dist/api/types/ProcedureVersionRef.js → api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.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.36.0",
45
- "User-Agent": "@elevenlabs/elevenlabs-js/v2.36.0",
44
+ "X-Fern-SDK-Version": "v2.37.0",
45
+ "User-Agent": "@elevenlabs/elevenlabs-js/v2.37.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,
@@ -54,4 +54,19 @@ export declare class AudioNativeClient {
54
54
  */
55
55
  update(project_id: string, request: ElevenLabs.BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIdContentPost, requestOptions?: AudioNativeClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AudioNativeEditContentResponseModel>;
56
56
  private __update;
57
+ /**
58
+ * Finds an AudioNative project matching the provided URL, extracts content from the URL, updates the project content, and queues it for conversion and auto-publishing.
59
+ *
60
+ * @param {ElevenLabs.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost} request
61
+ * @param {AudioNativeClient.RequestOptions} requestOptions - Request-specific configuration.
62
+ *
63
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
64
+ *
65
+ * @example
66
+ * await client.audioNative.updateContentFromUrl({
67
+ * url: "https://elevenlabs.io/blog/the_first_ai_that_can_laugh/"
68
+ * })
69
+ */
70
+ updateContentFromUrl(request: ElevenLabs.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost, requestOptions?: AudioNativeClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.AudioNativeEditContentResponseModel>;
71
+ private __updateContentFromUrl;
57
72
  }
@@ -304,5 +304,72 @@ class AudioNativeClient {
304
304
  return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/audio-native/{project_id}/content");
305
305
  });
306
306
  }
307
+ /**
308
+ * Finds an AudioNative project matching the provided URL, extracts content from the URL, updates the project content, and queues it for conversion and auto-publishing.
309
+ *
310
+ * @param {ElevenLabs.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost} request
311
+ * @param {AudioNativeClient.RequestOptions} requestOptions - Request-specific configuration.
312
+ *
313
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
314
+ *
315
+ * @example
316
+ * await client.audioNative.updateContentFromUrl({
317
+ * url: "https://elevenlabs.io/blog/the_first_ai_that_can_laugh/"
318
+ * })
319
+ */
320
+ updateContentFromUrl(request, requestOptions) {
321
+ return core.HttpResponsePromise.fromPromise(this.__updateContentFromUrl(request, requestOptions));
322
+ }
323
+ __updateContentFromUrl(request, requestOptions) {
324
+ return __awaiter(this, void 0, void 0, function* () {
325
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
326
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
327
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
328
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, "v1/audio-native/content"),
329
+ method: "POST",
330
+ headers: _headers,
331
+ contentType: "application/json",
332
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
333
+ requestType: "json",
334
+ body: serializers.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.jsonOrThrow(request, {
335
+ unrecognizedObjectKeys: "strip",
336
+ }),
337
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
338
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
339
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
340
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
341
+ logging: this._options.logging,
342
+ });
343
+ if (_response.ok) {
344
+ return {
345
+ data: serializers.AudioNativeEditContentResponseModel.parseOrThrow(_response.body, {
346
+ unrecognizedObjectKeys: "passthrough",
347
+ allowUnrecognizedUnionMembers: true,
348
+ allowUnrecognizedEnumValues: true,
349
+ breadcrumbsPrefix: ["response"],
350
+ }),
351
+ rawResponse: _response.rawResponse,
352
+ };
353
+ }
354
+ if (_response.error.reason === "status-code") {
355
+ switch (_response.error.statusCode) {
356
+ case 422:
357
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
358
+ unrecognizedObjectKeys: "passthrough",
359
+ allowUnrecognizedUnionMembers: true,
360
+ allowUnrecognizedEnumValues: true,
361
+ breadcrumbsPrefix: ["response"],
362
+ }), _response.rawResponse);
363
+ default:
364
+ throw new errors.ElevenLabsError({
365
+ statusCode: _response.error.statusCode,
366
+ body: _response.error.body,
367
+ rawResponse: _response.rawResponse,
368
+ });
369
+ }
370
+ }
371
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/audio-native/content");
372
+ });
373
+ }
307
374
  }
308
375
  exports.AudioNativeClient = AudioNativeClient;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * url: "https://elevenlabs.io/blog/the_first_ai_that_can_laugh/"
5
+ * }
6
+ */
7
+ export interface BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost {
8
+ /** URL of the page to extract content from. */
9
+ url: string;
10
+ }
@@ -1,2 +1,3 @@
1
1
  export type { BodyCreatesAudioNativeEnabledProjectV1AudioNativePost } from "./BodyCreatesAudioNativeEnabledProjectV1AudioNativePost";
2
+ export type { BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost } from "./BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost";
2
3
  export type { BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIdContentPost } from "./BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIdContentPost";
@@ -8,6 +8,7 @@ import { BatchCallsClient } from "../resources/batchCalls/client/Client";
8
8
  import { ConversationsClient } from "../resources/conversations/client/Client";
9
9
  import { DashboardClient } from "../resources/dashboard/client/Client";
10
10
  import { KnowledgeBaseClient } from "../resources/knowledgeBase/client/Client";
11
+ import { LlmClient } from "../resources/llm/client/Client";
11
12
  import { LlmUsageClient } from "../resources/llmUsage/client/Client";
12
13
  import { McpServersClient } from "../resources/mcpServers/client/Client";
13
14
  import { PhoneNumbersClient } from "../resources/phoneNumbers/client/Client";
@@ -35,6 +36,7 @@ export declare class ConversationalAiClient {
35
36
  protected _users: UsersClient | undefined;
36
37
  protected _phoneNumbers: PhoneNumbersClient | undefined;
37
38
  protected _llmUsage: LlmUsageClient | undefined;
39
+ protected _llm: LlmClient | undefined;
38
40
  protected _knowledgeBase: KnowledgeBaseClient | undefined;
39
41
  protected _tools: ToolsClient | undefined;
40
42
  protected _settings: SettingsClient | undefined;
@@ -54,6 +56,7 @@ export declare class ConversationalAiClient {
54
56
  get users(): UsersClient;
55
57
  get phoneNumbers(): PhoneNumbersClient;
56
58
  get llmUsage(): LlmUsageClient;
59
+ get llm(): LlmClient;
57
60
  get knowledgeBase(): KnowledgeBaseClient;
58
61
  get tools(): ToolsClient;
59
62
  get settings(): SettingsClient;
@@ -58,18 +58,19 @@ const Client_3 = require("../resources/batchCalls/client/Client");
58
58
  const Client_4 = require("../resources/conversations/client/Client");
59
59
  const Client_5 = require("../resources/dashboard/client/Client");
60
60
  const Client_6 = require("../resources/knowledgeBase/client/Client");
61
- const Client_7 = require("../resources/llmUsage/client/Client");
62
- const Client_8 = require("../resources/mcpServers/client/Client");
63
- const Client_9 = require("../resources/phoneNumbers/client/Client");
64
- const Client_10 = require("../resources/secrets/client/Client");
65
- const Client_11 = require("../resources/settings/client/Client");
66
- const Client_12 = require("../resources/sipTrunk/client/Client");
67
- const Client_13 = require("../resources/tests/client/Client");
68
- const Client_14 = require("../resources/tools/client/Client");
69
- const Client_15 = require("../resources/twilio/client/Client");
70
- const Client_16 = require("../resources/users/client/Client");
71
- const Client_17 = require("../resources/whatsapp/client/Client");
72
- const Client_18 = require("../resources/whatsappAccounts/client/Client");
61
+ const Client_7 = require("../resources/llm/client/Client");
62
+ const Client_8 = require("../resources/llmUsage/client/Client");
63
+ const Client_9 = require("../resources/mcpServers/client/Client");
64
+ const Client_10 = require("../resources/phoneNumbers/client/Client");
65
+ const Client_11 = require("../resources/secrets/client/Client");
66
+ const Client_12 = require("../resources/settings/client/Client");
67
+ const Client_13 = require("../resources/sipTrunk/client/Client");
68
+ const Client_14 = require("../resources/tests/client/Client");
69
+ const Client_15 = require("../resources/tools/client/Client");
70
+ const Client_16 = require("../resources/twilio/client/Client");
71
+ const Client_17 = require("../resources/users/client/Client");
72
+ const Client_18 = require("../resources/whatsapp/client/Client");
73
+ const Client_19 = require("../resources/whatsappAccounts/client/Client");
73
74
  class ConversationalAiClient {
74
75
  constructor(options = {}) {
75
76
  this._options = (0, BaseClient_1.normalizeClientOptions)(options);
@@ -80,11 +81,11 @@ class ConversationalAiClient {
80
81
  }
81
82
  get twilio() {
82
83
  var _a;
83
- return ((_a = this._twilio) !== null && _a !== void 0 ? _a : (this._twilio = new Client_15.TwilioClient(this._options)));
84
+ return ((_a = this._twilio) !== null && _a !== void 0 ? _a : (this._twilio = new Client_16.TwilioClient(this._options)));
84
85
  }
85
86
  get whatsapp() {
86
87
  var _a;
87
- return ((_a = this._whatsapp) !== null && _a !== void 0 ? _a : (this._whatsapp = new Client_17.WhatsappClient(this._options)));
88
+ return ((_a = this._whatsapp) !== null && _a !== void 0 ? _a : (this._whatsapp = new Client_18.WhatsappClient(this._options)));
88
89
  }
89
90
  get agents() {
90
91
  var _a;
@@ -92,19 +93,23 @@ class ConversationalAiClient {
92
93
  }
93
94
  get tests() {
94
95
  var _a;
95
- return ((_a = this._tests) !== null && _a !== void 0 ? _a : (this._tests = new Client_13.TestsClient(this._options)));
96
+ return ((_a = this._tests) !== null && _a !== void 0 ? _a : (this._tests = new Client_14.TestsClient(this._options)));
96
97
  }
97
98
  get users() {
98
99
  var _a;
99
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_16.UsersClient(this._options)));
100
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_17.UsersClient(this._options)));
100
101
  }
101
102
  get phoneNumbers() {
102
103
  var _a;
103
- return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_9.PhoneNumbersClient(this._options)));
104
+ return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_10.PhoneNumbersClient(this._options)));
104
105
  }
105
106
  get llmUsage() {
106
107
  var _a;
107
- return ((_a = this._llmUsage) !== null && _a !== void 0 ? _a : (this._llmUsage = new Client_7.LlmUsageClient(this._options)));
108
+ return ((_a = this._llmUsage) !== null && _a !== void 0 ? _a : (this._llmUsage = new Client_8.LlmUsageClient(this._options)));
109
+ }
110
+ get llm() {
111
+ var _a;
112
+ return ((_a = this._llm) !== null && _a !== void 0 ? _a : (this._llm = new Client_7.LlmClient(this._options)));
108
113
  }
109
114
  get knowledgeBase() {
110
115
  var _a;
@@ -112,15 +117,15 @@ class ConversationalAiClient {
112
117
  }
113
118
  get tools() {
114
119
  var _a;
115
- return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new Client_14.ToolsClient(this._options)));
120
+ return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new Client_15.ToolsClient(this._options)));
116
121
  }
117
122
  get settings() {
118
123
  var _a;
119
- return ((_a = this._settings) !== null && _a !== void 0 ? _a : (this._settings = new Client_11.SettingsClient(this._options)));
124
+ return ((_a = this._settings) !== null && _a !== void 0 ? _a : (this._settings = new Client_12.SettingsClient(this._options)));
120
125
  }
121
126
  get secrets() {
122
127
  var _a;
123
- return ((_a = this._secrets) !== null && _a !== void 0 ? _a : (this._secrets = new Client_10.SecretsClient(this._options)));
128
+ return ((_a = this._secrets) !== null && _a !== void 0 ? _a : (this._secrets = new Client_11.SecretsClient(this._options)));
124
129
  }
125
130
  get batchCalls() {
126
131
  var _a;
@@ -128,15 +133,15 @@ class ConversationalAiClient {
128
133
  }
129
134
  get sipTrunk() {
130
135
  var _a;
131
- return ((_a = this._sipTrunk) !== null && _a !== void 0 ? _a : (this._sipTrunk = new Client_12.SipTrunkClient(this._options)));
136
+ return ((_a = this._sipTrunk) !== null && _a !== void 0 ? _a : (this._sipTrunk = new Client_13.SipTrunkClient(this._options)));
132
137
  }
133
138
  get mcpServers() {
134
139
  var _a;
135
- return ((_a = this._mcpServers) !== null && _a !== void 0 ? _a : (this._mcpServers = new Client_8.McpServersClient(this._options)));
140
+ return ((_a = this._mcpServers) !== null && _a !== void 0 ? _a : (this._mcpServers = new Client_9.McpServersClient(this._options)));
136
141
  }
137
142
  get whatsappAccounts() {
138
143
  var _a;
139
- return ((_a = this._whatsappAccounts) !== null && _a !== void 0 ? _a : (this._whatsappAccounts = new Client_18.WhatsappAccountsClient(this._options)));
144
+ return ((_a = this._whatsappAccounts) !== null && _a !== void 0 ? _a : (this._whatsappAccounts = new Client_19.WhatsappAccountsClient(this._options)));
140
145
  }
141
146
  get analytics() {
142
147
  var _a;
@@ -16,4 +16,5 @@ export interface BodyCreateAgentV1ConvaiAgentsCreatePost {
16
16
  name?: string;
17
17
  /** Tags to help classify and filter the agent */
18
18
  tags?: string[];
19
+ coachingSettings?: ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings;
19
20
  }
@@ -18,8 +18,7 @@ export interface UpdateAgentRequest {
18
18
  name?: string;
19
19
  /** Tags to help classify and filter the agent */
20
20
  tags?: string[];
21
+ coachingSettings?: ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings;
21
22
  /** Description for this version when publishing changes (only applicable for versioned agents) */
22
23
  versionDescription?: string;
23
- /** List of procedure refs used for this agent version. */
24
- procedureRefs?: ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem[];
25
24
  }
@@ -0,0 +1,10 @@
1
+ import type * as ElevenLabs from "../../../../../index";
2
+ export type BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings = ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.Coached | ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.None;
3
+ export declare namespace BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings {
4
+ interface Coached extends ElevenLabs.CoachedAgentSettings {
5
+ type: "coached";
6
+ }
7
+ interface None extends ElevenLabs.NoCoachingSettings {
8
+ type: "none";
9
+ }
10
+ }
@@ -0,0 +1,10 @@
1
+ import type * as ElevenLabs from "../../../../../index";
2
+ export type BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings = ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.Coached | ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.None;
3
+ export declare namespace BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings {
4
+ interface Coached extends ElevenLabs.CoachedAgentSettings {
5
+ type: "coached";
6
+ }
7
+ interface None extends ElevenLabs.NoCoachingSettings {
8
+ type: "none";
9
+ }
10
+ }
@@ -1 +1,2 @@
1
- export * from "./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem";
1
+ export * from "./BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings";
2
+ export * from "./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem"), exports);
17
+ __exportStar(require("./BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings"), exports);
18
+ __exportStar(require("./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings"), exports);
@@ -4,6 +4,8 @@ import * as core from "../../../../../../core";
4
4
  import * as ElevenLabs from "../../../../../index";
5
5
  import { AudioClient } from "../resources/audio/client/Client";
6
6
  import { FeedbackClient } from "../resources/feedback/client/Client";
7
+ import { FilesClient } from "../resources/files/client/Client";
8
+ import { MessagesClient } from "../resources/messages/client/Client";
7
9
  export declare namespace ConversationsClient {
8
10
  type Options = BaseClientOptions;
9
11
  interface RequestOptions extends BaseRequestOptions {
@@ -13,9 +15,13 @@ export declare class ConversationsClient {
13
15
  protected readonly _options: NormalizedClientOptions<ConversationsClient.Options>;
14
16
  protected _audio: AudioClient | undefined;
15
17
  protected _feedback: FeedbackClient | undefined;
18
+ protected _messages: MessagesClient | undefined;
19
+ protected _files: FilesClient | undefined;
16
20
  constructor(options?: ConversationsClient.Options);
17
21
  get audio(): AudioClient;
18
22
  get feedback(): FeedbackClient;
23
+ get messages(): MessagesClient;
24
+ get files(): FilesClient;
19
25
  /**
20
26
  * Get a signed url to start a conversation with an agent with an agent that requires authorization
21
27
  *
@@ -54,6 +54,8 @@ const serializers = __importStar(require("../../../../../../serialization/index"
54
54
  const ElevenLabs = __importStar(require("../../../../../index"));
55
55
  const Client_1 = require("../resources/audio/client/Client");
56
56
  const Client_2 = require("../resources/feedback/client/Client");
57
+ const Client_3 = require("../resources/files/client/Client");
58
+ const Client_4 = require("../resources/messages/client/Client");
57
59
  class ConversationsClient {
58
60
  constructor(options = {}) {
59
61
  this._options = (0, BaseClient_1.normalizeClientOptions)(options);
@@ -66,6 +68,14 @@ class ConversationsClient {
66
68
  var _a;
67
69
  return ((_a = this._feedback) !== null && _a !== void 0 ? _a : (this._feedback = new Client_2.FeedbackClient(this._options)));
68
70
  }
71
+ get messages() {
72
+ var _a;
73
+ return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_4.MessagesClient(this._options)));
74
+ }
75
+ get files() {
76
+ var _a;
77
+ return ((_a = this._files) !== null && _a !== void 0 ? _a : (this._files = new Client_3.FilesClient(this._options)));
78
+ }
69
79
  /**
70
80
  * Get a signed url to start a conversation with an agent with an agent that requires authorization
71
81
  *
@@ -0,0 +1,44 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient";
2
+ import { type NormalizedClientOptions } from "../../../../../../../../BaseClient";
3
+ import * as core from "../../../../../../../../core";
4
+ import * as ElevenLabs from "../../../../../../../index";
5
+ export declare namespace FilesClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class FilesClient {
11
+ protected readonly _options: NormalizedClientOptions<FilesClient.Options>;
12
+ constructor(options?: FilesClient.Options);
13
+ /**
14
+ * Upload an image or PDF file for a conversation. Returns a unique file ID that can be used to reference the file in the conversation.
15
+ *
16
+ * @param {string} conversation_id
17
+ * @param {ElevenLabs.conversationalAi.conversations.BodyUploadFileV1ConvaiConversationsConversationIdFilesPost} request
18
+ * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration.
19
+ *
20
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
21
+ *
22
+ * @example
23
+ * import { createReadStream } from "fs";
24
+ * await client.conversationalAi.conversations.files.create("conversation_id", {
25
+ * file: fs.createReadStream("/path/to/your/file")
26
+ * })
27
+ */
28
+ create(conversation_id: string, request: ElevenLabs.conversationalAi.conversations.BodyUploadFileV1ConvaiConversationsConversationIdFilesPost, requestOptions?: FilesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ConvAiFileUploadResponseModel>;
29
+ private __create;
30
+ /**
31
+ * Remove a file upload from a conversation. Only possible if the file hasn't already been used in the conversation.
32
+ *
33
+ * @param {string} conversation_id
34
+ * @param {string} file_id
35
+ * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration.
36
+ *
37
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
38
+ *
39
+ * @example
40
+ * await client.conversationalAi.conversations.files.delete("conversation_id", "file_id")
41
+ */
42
+ delete(conversation_id: string, file_id: string, requestOptions?: FilesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ConvAiFileUploadResponseModel>;
43
+ private __delete;
44
+ }
@@ -0,0 +1,191 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.FilesClient = void 0;
47
+ const BaseClient_1 = require("../../../../../../../../BaseClient");
48
+ const core = __importStar(require("../../../../../../../../core"));
49
+ const headers_1 = require("../../../../../../../../core/headers");
50
+ const environments = __importStar(require("../../../../../../../../environments"));
51
+ const handleNonStatusCodeError_1 = require("../../../../../../../../errors/handleNonStatusCodeError");
52
+ const errors = __importStar(require("../../../../../../../../errors/index"));
53
+ const serializers = __importStar(require("../../../../../../../../serialization/index"));
54
+ const ElevenLabs = __importStar(require("../../../../../../../index"));
55
+ class FilesClient {
56
+ constructor(options = {}) {
57
+ this._options = (0, BaseClient_1.normalizeClientOptions)(options);
58
+ }
59
+ /**
60
+ * Upload an image or PDF file for a conversation. Returns a unique file ID that can be used to reference the file in the conversation.
61
+ *
62
+ * @param {string} conversation_id
63
+ * @param {ElevenLabs.conversationalAi.conversations.BodyUploadFileV1ConvaiConversationsConversationIdFilesPost} request
64
+ * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
66
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
67
+ *
68
+ * @example
69
+ * import { createReadStream } from "fs";
70
+ * await client.conversationalAi.conversations.files.create("conversation_id", {
71
+ * file: fs.createReadStream("/path/to/your/file")
72
+ * })
73
+ */
74
+ create(conversation_id, request, requestOptions) {
75
+ return core.HttpResponsePromise.fromPromise(this.__create(conversation_id, request, requestOptions));
76
+ }
77
+ __create(conversation_id, request, requestOptions) {
78
+ return __awaiter(this, void 0, void 0, function* () {
79
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
80
+ const _request = yield core.newFormData();
81
+ yield _request.appendFile("file", request.file);
82
+ const _maybeEncodedRequest = yield _request.getRequest();
83
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "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 }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
84
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
85
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/conversations/${core.url.encodePathParam(conversation_id)}/files`),
86
+ method: "POST",
87
+ headers: _headers,
88
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
89
+ requestType: "file",
90
+ duplex: _maybeEncodedRequest.duplex,
91
+ body: _maybeEncodedRequest.body,
92
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
93
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
94
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
95
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
96
+ logging: this._options.logging,
97
+ });
98
+ if (_response.ok) {
99
+ return {
100
+ data: serializers.ConvAiFileUploadResponseModel.parseOrThrow(_response.body, {
101
+ unrecognizedObjectKeys: "passthrough",
102
+ allowUnrecognizedUnionMembers: true,
103
+ allowUnrecognizedEnumValues: true,
104
+ breadcrumbsPrefix: ["response"],
105
+ }),
106
+ rawResponse: _response.rawResponse,
107
+ };
108
+ }
109
+ if (_response.error.reason === "status-code") {
110
+ switch (_response.error.statusCode) {
111
+ case 422:
112
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
113
+ unrecognizedObjectKeys: "passthrough",
114
+ allowUnrecognizedUnionMembers: true,
115
+ allowUnrecognizedEnumValues: true,
116
+ breadcrumbsPrefix: ["response"],
117
+ }), _response.rawResponse);
118
+ default:
119
+ throw new errors.ElevenLabsError({
120
+ statusCode: _response.error.statusCode,
121
+ body: _response.error.body,
122
+ rawResponse: _response.rawResponse,
123
+ });
124
+ }
125
+ }
126
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/conversations/{conversation_id}/files");
127
+ });
128
+ }
129
+ /**
130
+ * Remove a file upload from a conversation. Only possible if the file hasn't already been used in the conversation.
131
+ *
132
+ * @param {string} conversation_id
133
+ * @param {string} file_id
134
+ * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration.
135
+ *
136
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
137
+ *
138
+ * @example
139
+ * await client.conversationalAi.conversations.files.delete("conversation_id", "file_id")
140
+ */
141
+ delete(conversation_id, file_id, requestOptions) {
142
+ return core.HttpResponsePromise.fromPromise(this.__delete(conversation_id, file_id, requestOptions));
143
+ }
144
+ __delete(conversation_id, file_id, requestOptions) {
145
+ return __awaiter(this, void 0, void 0, function* () {
146
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
147
+ 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);
148
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
149
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/conversations/${core.url.encodePathParam(conversation_id)}/files/${core.url.encodePathParam(file_id)}`),
150
+ method: "DELETE",
151
+ headers: _headers,
152
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
153
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
154
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
155
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
156
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
157
+ logging: this._options.logging,
158
+ });
159
+ if (_response.ok) {
160
+ return {
161
+ data: serializers.ConvAiFileUploadResponseModel.parseOrThrow(_response.body, {
162
+ unrecognizedObjectKeys: "passthrough",
163
+ allowUnrecognizedUnionMembers: true,
164
+ allowUnrecognizedEnumValues: true,
165
+ breadcrumbsPrefix: ["response"],
166
+ }),
167
+ rawResponse: _response.rawResponse,
168
+ };
169
+ }
170
+ if (_response.error.reason === "status-code") {
171
+ switch (_response.error.statusCode) {
172
+ case 422:
173
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
174
+ unrecognizedObjectKeys: "passthrough",
175
+ allowUnrecognizedUnionMembers: true,
176
+ allowUnrecognizedEnumValues: true,
177
+ breadcrumbsPrefix: ["response"],
178
+ }), _response.rawResponse);
179
+ default:
180
+ throw new errors.ElevenLabsError({
181
+ statusCode: _response.error.statusCode,
182
+ body: _response.error.body,
183
+ rawResponse: _response.rawResponse,
184
+ });
185
+ }
186
+ }
187
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/convai/conversations/{conversation_id}/files/{file_id}");
188
+ });
189
+ }
190
+ }
191
+ exports.FilesClient = FilesClient;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,11 @@
1
+ import type * as core from "../../../../../../../../../core";
2
+ /**
3
+ * @example
4
+ * {
5
+ * file: fs.createReadStream("/path/to/your/file")
6
+ * }
7
+ */
8
+ export interface BodyUploadFileV1ConvaiConversationsConversationIdFilesPost {
9
+ /** Image or PDF file to upload */
10
+ file: core.file.Uploadable;
11
+ }