@elevenlabs/elevenlabs-js 2.32.0 → 2.33.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 (495) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/BaseClient.js +2 -2
  3. package/Client.d.ts +10 -0
  4. package/Client.js +39 -0
  5. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +9 -0
  6. package/api/resources/conversationalAi/resources/agents/client/Client.js +25 -10
  7. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +94 -0
  8. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +399 -0
  9. package/api/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  10. package/{dist/serialization/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/branches/client}/index.js +1 -1
  11. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +23 -0
  12. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +12 -0
  13. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
  14. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +3 -0
  15. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.d.ts +13 -0
  16. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.js +3 -0
  17. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +4 -0
  18. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +2 -0
  19. package/api/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  20. package/{dist/api/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/branches}/index.js +1 -1
  21. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.d.ts +37 -0
  22. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +134 -0
  23. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  24. package/api/resources/{workspace/resources/members/types → conversationalAi/resources/agents/resources/deployments/client}/index.js +1 -1
  25. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +19 -0
  26. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +3 -0
  27. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  28. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +2 -0
  29. package/api/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  30. package/{serialization/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/deployments}/index.js +1 -1
  31. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.d.ts +197 -0
  32. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +342 -0
  33. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  34. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  35. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +173 -0
  36. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +3 -0
  37. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.d.ts +10 -0
  38. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.js +3 -0
  39. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +2 -0
  40. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +2 -0
  41. package/api/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  42. package/api/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  43. package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +6 -0
  44. package/api/resources/conversationalAi/resources/agents/resources/index.js +7 -1
  45. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +44 -0
  46. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +178 -0
  47. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +12 -0
  48. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +3 -0
  49. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +12 -0
  50. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +3 -0
  51. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +8 -0
  52. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +3 -0
  53. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  54. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +10 -2
  55. package/api/resources/conversationalAi/resources/tools/client/Client.js +44 -6
  56. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +28 -0
  57. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.js +3 -0
  58. package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  59. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
  60. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +1 -1
  61. package/api/resources/studio/resources/projects/client/Client.js +3 -0
  62. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
  63. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
  64. package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
  65. package/api/resources/workspace/resources/index.d.ts +0 -2
  66. package/api/resources/workspace/resources/index.js +0 -2
  67. package/api/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +4 -2
  68. package/api/resources/workspace/resources/invites/index.d.ts +0 -1
  69. package/api/resources/workspace/resources/invites/index.js +0 -1
  70. package/api/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +4 -2
  71. package/api/resources/workspace/resources/members/index.d.ts +0 -1
  72. package/api/resources/workspace/resources/members/index.js +0 -1
  73. package/api/resources/workspace/resources/resources/client/Client.d.ts +0 -17
  74. package/api/resources/workspace/resources/resources/client/Client.js +0 -59
  75. package/api/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  76. package/api/types/AgentBranchBasicInfo.d.ts +4 -0
  77. package/api/types/AgentBranchBasicInfo.js +3 -0
  78. package/api/types/AgentBranchResponse.d.ts +19 -0
  79. package/api/types/AgentBranchResponse.js +3 -0
  80. package/api/types/AgentBranchSummary.d.ts +17 -0
  81. package/api/types/AgentBranchSummary.js +3 -0
  82. package/api/types/AgentDeploymentPercentageStrategy.d.ts +5 -0
  83. package/api/types/AgentDeploymentPercentageStrategy.js +3 -0
  84. package/api/types/AgentDeploymentRequest.d.ts +5 -0
  85. package/api/types/AgentDeploymentRequest.js +3 -0
  86. package/api/types/AgentDeploymentRequestItem.d.ts +6 -0
  87. package/api/types/AgentDeploymentRequestItem.js +3 -0
  88. package/api/types/AgentDeploymentResponse.d.ts +4 -0
  89. package/api/types/AgentDeploymentResponse.js +3 -0
  90. package/api/types/AgentVersionMetadata.d.ts +11 -0
  91. package/api/types/AgentVersionMetadata.js +3 -0
  92. package/api/types/AgentVersionParents.d.ts +6 -0
  93. package/api/types/AgentVersionParents.js +3 -0
  94. package/api/types/BranchProtectionStatus.d.ts +5 -0
  95. package/api/types/BranchProtectionStatus.js +8 -0
  96. package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  97. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  98. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  99. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  100. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  101. package/api/types/CreateAgentBranchResponseModel.d.ts +6 -0
  102. package/api/types/CreateAgentBranchResponseModel.js +3 -0
  103. package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  104. package/api/types/GetConversationResponseModel.d.ts +1 -0
  105. package/api/types/ListResponseAgentBranchSummary.d.ts +5 -0
  106. package/api/types/ListResponseAgentBranchSummary.js +3 -0
  107. package/api/types/PermissionType.d.ts +1 -0
  108. package/api/types/PermissionType.js +1 -0
  109. package/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
  110. package/api/types/ProjectCreationMetaResponseModelType.js +1 -0
  111. package/api/types/ProjectExtendedResponse.d.ts +2 -0
  112. package/api/types/ProjectResponse.d.ts +2 -0
  113. package/api/types/SeatType.d.ts +5 -0
  114. package/{dist/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → api/types/SeatType.js} +2 -2
  115. package/api/types/SongMetadata.d.ts +4 -0
  116. package/api/types/ToolSortBy.d.ts +5 -0
  117. package/api/types/ToolSortBy.js +8 -0
  118. package/api/types/ToolTypeFilter.d.ts +6 -0
  119. package/api/types/ToolTypeFilter.js +9 -0
  120. package/api/types/ToolsResponseModel.d.ts +2 -0
  121. package/api/types/index.d.ts +15 -0
  122. package/api/types/index.js +15 -0
  123. package/dist/BaseClient.js +2 -2
  124. package/dist/Client.d.ts +10 -0
  125. package/dist/Client.js +39 -0
  126. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +9 -0
  127. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +25 -10
  128. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +94 -0
  129. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +399 -0
  130. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  131. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
  132. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +23 -0
  133. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +3 -0
  134. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +12 -0
  135. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +3 -0
  136. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
  137. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +3 -0
  138. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.d.ts +13 -0
  139. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.js +3 -0
  140. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +4 -0
  141. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +2 -0
  142. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  143. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
  144. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.d.ts +37 -0
  145. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +134 -0
  146. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  147. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
  148. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +19 -0
  149. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +3 -0
  150. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  151. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +2 -0
  152. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  153. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
  154. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.d.ts +197 -0
  155. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +342 -0
  156. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  157. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  158. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +173 -0
  159. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +3 -0
  160. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.d.ts +10 -0
  161. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.js +3 -0
  162. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +2 -0
  163. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +2 -0
  164. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  165. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  166. package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +6 -0
  167. package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +7 -1
  168. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +44 -0
  169. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +178 -0
  170. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +12 -0
  171. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +3 -0
  172. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +12 -0
  173. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +3 -0
  174. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +8 -0
  175. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +3 -0
  176. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  177. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +10 -2
  178. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +44 -6
  179. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +28 -0
  180. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.js +3 -0
  181. package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  182. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
  183. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +1 -1
  184. package/dist/api/resources/studio/resources/projects/client/Client.js +3 -0
  185. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
  186. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
  187. package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
  188. package/dist/api/resources/workspace/resources/index.d.ts +0 -2
  189. package/dist/api/resources/workspace/resources/index.js +0 -2
  190. package/dist/api/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +4 -2
  191. package/dist/api/resources/workspace/resources/invites/index.d.ts +0 -1
  192. package/dist/api/resources/workspace/resources/invites/index.js +0 -1
  193. package/dist/api/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +4 -2
  194. package/dist/api/resources/workspace/resources/members/index.d.ts +0 -1
  195. package/dist/api/resources/workspace/resources/members/index.js +0 -1
  196. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +0 -17
  197. package/dist/api/resources/workspace/resources/resources/client/Client.js +0 -59
  198. package/dist/api/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  199. package/dist/api/types/AgentBranchBasicInfo.d.ts +4 -0
  200. package/dist/api/types/AgentBranchBasicInfo.js +3 -0
  201. package/dist/api/types/AgentBranchResponse.d.ts +19 -0
  202. package/dist/api/types/AgentBranchResponse.js +3 -0
  203. package/dist/api/types/AgentBranchSummary.d.ts +17 -0
  204. package/dist/api/types/AgentBranchSummary.js +3 -0
  205. package/dist/api/types/AgentDeploymentPercentageStrategy.d.ts +5 -0
  206. package/dist/api/types/AgentDeploymentPercentageStrategy.js +3 -0
  207. package/dist/api/types/AgentDeploymentRequest.d.ts +5 -0
  208. package/dist/api/types/AgentDeploymentRequest.js +3 -0
  209. package/dist/api/types/AgentDeploymentRequestItem.d.ts +6 -0
  210. package/dist/api/types/AgentDeploymentRequestItem.js +3 -0
  211. package/dist/api/types/AgentDeploymentResponse.d.ts +4 -0
  212. package/dist/api/types/AgentDeploymentResponse.js +3 -0
  213. package/dist/api/types/AgentVersionMetadata.d.ts +11 -0
  214. package/dist/api/types/AgentVersionMetadata.js +3 -0
  215. package/dist/api/types/AgentVersionParents.d.ts +6 -0
  216. package/dist/api/types/AgentVersionParents.js +3 -0
  217. package/dist/api/types/BranchProtectionStatus.d.ts +5 -0
  218. package/dist/api/types/BranchProtectionStatus.js +8 -0
  219. package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  220. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  221. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  222. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  223. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  224. package/dist/api/types/CreateAgentBranchResponseModel.d.ts +6 -0
  225. package/dist/api/types/CreateAgentBranchResponseModel.js +3 -0
  226. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  227. package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
  228. package/dist/api/types/ListResponseAgentBranchSummary.d.ts +5 -0
  229. package/dist/api/types/ListResponseAgentBranchSummary.js +3 -0
  230. package/dist/api/types/PermissionType.d.ts +1 -0
  231. package/dist/api/types/PermissionType.js +1 -0
  232. package/dist/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
  233. package/dist/api/types/ProjectCreationMetaResponseModelType.js +1 -0
  234. package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
  235. package/dist/api/types/ProjectResponse.d.ts +2 -0
  236. package/dist/api/types/SeatType.d.ts +5 -0
  237. package/{api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → dist/api/types/SeatType.js} +2 -2
  238. package/dist/api/types/SongMetadata.d.ts +4 -0
  239. package/dist/api/types/ToolSortBy.d.ts +5 -0
  240. package/dist/api/types/ToolSortBy.js +8 -0
  241. package/dist/api/types/ToolTypeFilter.d.ts +6 -0
  242. package/dist/api/types/ToolTypeFilter.js +9 -0
  243. package/dist/api/types/ToolsResponseModel.d.ts +2 -0
  244. package/dist/api/types/index.d.ts +15 -0
  245. package/dist/api/types/index.js +15 -0
  246. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  247. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
  248. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +15 -0
  249. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +47 -0
  250. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +9 -0
  251. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +41 -0
  252. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
  253. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +43 -0
  254. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +3 -0
  255. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +9 -0
  256. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  257. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
  258. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  259. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
  260. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +10 -0
  261. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +42 -0
  262. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  263. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +5 -0
  264. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  265. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
  266. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  267. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  268. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +14 -0
  269. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +46 -0
  270. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +1 -0
  271. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +5 -0
  272. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  273. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  274. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +6 -0
  275. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +7 -1
  276. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +10 -0
  277. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +42 -0
  278. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +10 -0
  279. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +42 -0
  280. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +9 -0
  281. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +41 -0
  282. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  283. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.js +7 -1
  284. package/dist/serialization/resources/workspace/resources/index.d.ts +0 -2
  285. package/dist/serialization/resources/workspace/resources/index.js +0 -2
  286. package/dist/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +3 -2
  287. package/dist/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js +3 -2
  288. package/dist/serialization/resources/workspace/resources/invites/index.d.ts +0 -1
  289. package/dist/serialization/resources/workspace/resources/invites/index.js +0 -1
  290. package/dist/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +3 -2
  291. package/dist/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.js +3 -2
  292. package/dist/serialization/resources/workspace/resources/members/index.d.ts +0 -1
  293. package/dist/serialization/resources/workspace/resources/members/index.js +0 -1
  294. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  295. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.js +1 -3
  296. package/dist/serialization/types/AgentBranchBasicInfo.d.ts +10 -0
  297. package/{serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → dist/serialization/types/AgentBranchBasicInfo.js} +6 -3
  298. package/dist/serialization/types/AgentBranchResponse.d.ts +24 -0
  299. package/dist/serialization/types/AgentBranchResponse.js +56 -0
  300. package/dist/serialization/types/AgentBranchSummary.d.ts +21 -0
  301. package/dist/serialization/types/AgentBranchSummary.js +53 -0
  302. package/dist/serialization/types/AgentDeploymentPercentageStrategy.d.ts +10 -0
  303. package/dist/serialization/types/AgentDeploymentPercentageStrategy.js +42 -0
  304. package/dist/serialization/types/AgentDeploymentRequest.d.ts +10 -0
  305. package/dist/serialization/types/AgentDeploymentRequest.js +42 -0
  306. package/dist/serialization/types/AgentDeploymentRequestItem.d.ts +11 -0
  307. package/dist/serialization/{resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → types/AgentDeploymentRequestItem.js} +6 -6
  308. package/dist/serialization/types/AgentDeploymentResponse.d.ts +9 -0
  309. package/dist/serialization/types/AgentDeploymentResponse.js +41 -0
  310. package/dist/serialization/types/AgentVersionMetadata.d.ts +18 -0
  311. package/dist/serialization/types/AgentVersionMetadata.js +50 -0
  312. package/dist/serialization/types/AgentVersionParents.d.ts +12 -0
  313. package/dist/serialization/types/AgentVersionParents.js +44 -0
  314. package/dist/serialization/types/BranchProtectionStatus.d.ts +7 -0
  315. package/dist/serialization/{resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → types/BranchProtectionStatus.js} +3 -3
  316. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  317. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
  318. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  319. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
  320. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  321. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
  322. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  323. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
  324. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  325. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
  326. package/dist/serialization/types/CreateAgentBranchResponseModel.d.ts +10 -0
  327. package/dist/serialization/types/CreateAgentBranchResponseModel.js +42 -0
  328. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  329. package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  330. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  331. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  332. package/dist/serialization/types/ListResponseAgentBranchSummary.d.ts +12 -0
  333. package/dist/serialization/types/ListResponseAgentBranchSummary.js +44 -0
  334. package/dist/serialization/types/PermissionType.d.ts +1 -1
  335. package/dist/serialization/types/PermissionType.js +1 -0
  336. package/dist/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
  337. package/dist/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
  338. package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -0
  339. package/dist/serialization/types/ProjectExtendedResponse.js +1 -0
  340. package/dist/serialization/types/ProjectResponse.d.ts +1 -0
  341. package/dist/serialization/types/ProjectResponse.js +1 -0
  342. package/dist/serialization/types/SeatType.d.ts +7 -0
  343. package/dist/serialization/{resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js → types/SeatType.js} +3 -22
  344. package/dist/serialization/types/SongMetadata.d.ts +2 -0
  345. package/dist/serialization/types/SongMetadata.js +2 -0
  346. package/dist/serialization/types/ToolSortBy.d.ts +7 -0
  347. package/{serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js → dist/serialization/types/ToolSortBy.js} +3 -22
  348. package/dist/serialization/types/ToolTypeFilter.d.ts +7 -0
  349. package/dist/serialization/types/ToolTypeFilter.js +39 -0
  350. package/dist/serialization/types/ToolsResponseModel.d.ts +2 -0
  351. package/dist/serialization/types/ToolsResponseModel.js +2 -0
  352. package/dist/serialization/types/index.d.ts +15 -0
  353. package/dist/serialization/types/index.js +15 -0
  354. package/dist/version.d.ts +1 -1
  355. package/dist/version.js +1 -1
  356. package/package.json +1 -1
  357. package/reference.md +982 -78
  358. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  359. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
  360. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +15 -0
  361. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +47 -0
  362. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +9 -0
  363. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +41 -0
  364. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
  365. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +43 -0
  366. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +3 -0
  367. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +9 -0
  368. package/serialization/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  369. package/serialization/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
  370. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  371. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
  372. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +10 -0
  373. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +42 -0
  374. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  375. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +5 -0
  376. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  377. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
  378. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  379. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  380. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +14 -0
  381. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +46 -0
  382. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +1 -0
  383. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +5 -0
  384. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  385. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  386. package/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +6 -0
  387. package/serialization/resources/conversationalAi/resources/agents/resources/index.js +7 -1
  388. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +10 -0
  389. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +42 -0
  390. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +10 -0
  391. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +42 -0
  392. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +9 -0
  393. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +41 -0
  394. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  395. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.js +7 -1
  396. package/serialization/resources/workspace/resources/index.d.ts +0 -2
  397. package/serialization/resources/workspace/resources/index.js +0 -2
  398. package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +3 -2
  399. package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js +3 -2
  400. package/serialization/resources/workspace/resources/invites/index.d.ts +0 -1
  401. package/serialization/resources/workspace/resources/invites/index.js +0 -1
  402. package/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +3 -2
  403. package/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.js +3 -2
  404. package/serialization/resources/workspace/resources/members/index.d.ts +0 -1
  405. package/serialization/resources/workspace/resources/members/index.js +0 -1
  406. package/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  407. package/serialization/resources/workspace/resources/resources/client/requests/index.js +1 -3
  408. package/serialization/types/AgentBranchBasicInfo.d.ts +10 -0
  409. package/serialization/types/AgentBranchBasicInfo.js +42 -0
  410. package/serialization/types/AgentBranchResponse.d.ts +24 -0
  411. package/serialization/types/AgentBranchResponse.js +56 -0
  412. package/serialization/types/AgentBranchSummary.d.ts +21 -0
  413. package/serialization/types/AgentBranchSummary.js +53 -0
  414. package/serialization/types/AgentDeploymentPercentageStrategy.d.ts +10 -0
  415. package/serialization/types/AgentDeploymentPercentageStrategy.js +42 -0
  416. package/serialization/types/AgentDeploymentRequest.d.ts +10 -0
  417. package/serialization/types/AgentDeploymentRequest.js +42 -0
  418. package/serialization/types/AgentDeploymentRequestItem.d.ts +11 -0
  419. package/serialization/{resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → types/AgentDeploymentRequestItem.js} +6 -6
  420. package/serialization/types/AgentDeploymentResponse.d.ts +9 -0
  421. package/serialization/types/AgentDeploymentResponse.js +41 -0
  422. package/serialization/types/AgentVersionMetadata.d.ts +18 -0
  423. package/serialization/types/AgentVersionMetadata.js +50 -0
  424. package/serialization/types/AgentVersionParents.d.ts +12 -0
  425. package/serialization/types/AgentVersionParents.js +44 -0
  426. package/serialization/types/BranchProtectionStatus.d.ts +7 -0
  427. package/serialization/types/BranchProtectionStatus.js +39 -0
  428. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  429. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
  430. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  431. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
  432. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  433. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
  434. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  435. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
  436. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  437. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
  438. package/serialization/types/CreateAgentBranchResponseModel.d.ts +10 -0
  439. package/serialization/types/CreateAgentBranchResponseModel.js +42 -0
  440. package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  441. package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  442. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  443. package/serialization/types/GetConversationResponseModel.js +1 -0
  444. package/serialization/types/ListResponseAgentBranchSummary.d.ts +12 -0
  445. package/serialization/types/ListResponseAgentBranchSummary.js +44 -0
  446. package/serialization/types/PermissionType.d.ts +1 -1
  447. package/serialization/types/PermissionType.js +1 -0
  448. package/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
  449. package/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
  450. package/serialization/types/ProjectExtendedResponse.d.ts +1 -0
  451. package/serialization/types/ProjectExtendedResponse.js +1 -0
  452. package/serialization/types/ProjectResponse.d.ts +1 -0
  453. package/serialization/types/ProjectResponse.js +1 -0
  454. package/serialization/types/SeatType.d.ts +7 -0
  455. package/serialization/types/SeatType.js +39 -0
  456. package/serialization/types/SongMetadata.d.ts +2 -0
  457. package/serialization/types/SongMetadata.js +2 -0
  458. package/serialization/types/ToolSortBy.d.ts +7 -0
  459. package/serialization/types/ToolSortBy.js +39 -0
  460. package/serialization/types/ToolTypeFilter.d.ts +7 -0
  461. package/serialization/types/ToolTypeFilter.js +39 -0
  462. package/serialization/types/ToolsResponseModel.d.ts +2 -0
  463. package/serialization/types/ToolsResponseModel.js +2 -0
  464. package/serialization/types/index.d.ts +15 -0
  465. package/serialization/types/index.js +15 -0
  466. package/version.d.ts +1 -1
  467. package/version.js +1 -1
  468. package/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -21
  469. package/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +0 -24
  470. package/api/resources/workspace/resources/invites/types/index.d.ts +0 -1
  471. package/api/resources/workspace/resources/invites/types/index.js +0 -17
  472. package/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -5
  473. package/api/resources/workspace/resources/members/types/index.d.ts +0 -1
  474. package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -14
  475. package/dist/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -21
  476. package/dist/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +0 -24
  477. package/dist/api/resources/workspace/resources/invites/types/index.d.ts +0 -1
  478. package/dist/api/resources/workspace/resources/invites/types/index.js +0 -17
  479. package/dist/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -5
  480. package/dist/api/resources/workspace/resources/members/types/index.d.ts +0 -1
  481. package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -14
  482. package/dist/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -7
  483. package/dist/serialization/resources/workspace/resources/invites/types/index.d.ts +0 -1
  484. package/dist/serialization/resources/workspace/resources/invites/types/index.js +0 -17
  485. package/dist/serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -7
  486. package/dist/serialization/resources/workspace/resources/members/types/index.d.ts +0 -1
  487. package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -11
  488. package/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -7
  489. package/serialization/resources/workspace/resources/invites/types/index.d.ts +0 -1
  490. package/serialization/resources/workspace/resources/invites/types/index.js +0 -17
  491. package/serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -7
  492. package/serialization/resources/workspace/resources/members/types/index.d.ts +0 -1
  493. package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -11
  494. /package/api/resources/{workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js} +0 -0
  495. /package/{dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js} +0 -0
@@ -241,64 +241,5 @@ class ResourcesClient {
241
241
  return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/workspace/resources/{resource_id}/unshare");
242
242
  });
243
243
  }
244
- /**
245
- * Copies a workspace resource to another workspace.
246
- *
247
- * @param {string} resource_id - The ID of the target resource.
248
- * @param {ElevenLabs.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost} request
249
- * @param {ResourcesClient.RequestOptions} requestOptions - Request-specific configuration.
250
- *
251
- * @throws {@link ElevenLabs.UnprocessableEntityError}
252
- *
253
- * @example
254
- * await client.workspace.resources.copyToWorkspace("resource_id", {
255
- * resourceType: "voice",
256
- * targetUserId: "target_user_id"
257
- * })
258
- */
259
- copyToWorkspace(resource_id, request, requestOptions) {
260
- return core.HttpResponsePromise.fromPromise(this.__copyToWorkspace(resource_id, request, requestOptions));
261
- }
262
- __copyToWorkspace(resource_id, request, requestOptions) {
263
- return __awaiter(this, void 0, void 0, function* () {
264
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
265
- 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);
266
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
267
- 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/workspace/resources/${core.url.encodePathParam(resource_id)}/copy-to-workspace`),
268
- method: "POST",
269
- headers: _headers,
270
- contentType: "application/json",
271
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
272
- requestType: "json",
273
- body: serializers.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
274
- 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,
275
- 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,
276
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
277
- fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
278
- logging: this._options.logging,
279
- });
280
- if (_response.ok) {
281
- return { data: _response.body, rawResponse: _response.rawResponse };
282
- }
283
- if (_response.error.reason === "status-code") {
284
- switch (_response.error.statusCode) {
285
- case 422:
286
- throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
287
- unrecognizedObjectKeys: "passthrough",
288
- allowUnrecognizedUnionMembers: true,
289
- allowUnrecognizedEnumValues: true,
290
- breadcrumbsPrefix: ["response"],
291
- }), _response.rawResponse);
292
- default:
293
- throw new errors.ElevenLabsError({
294
- statusCode: _response.error.statusCode,
295
- body: _response.error.body,
296
- rawResponse: _response.rawResponse,
297
- });
298
- }
299
- }
300
- return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/workspace/resources/{resource_id}/copy-to-workspace");
301
- });
302
- }
303
244
  }
304
245
  exports.ResourcesClient = ResourcesClient;
@@ -1,4 +1,3 @@
1
- export type { BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost } from "./BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost";
2
1
  export type { BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost } from "./BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost";
3
2
  export type { BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost } from "./BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost";
4
3
  export type { ResourcesGetRequest } from "./ResourcesGetRequest";
@@ -0,0 +1,4 @@
1
+ export interface AgentBranchBasicInfo {
2
+ id: string;
3
+ name: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface AgentBranchResponse {
3
+ id: string;
4
+ name: string;
5
+ agentId: string;
6
+ description: string;
7
+ createdAt: number;
8
+ lastCommittedAt: number;
9
+ isArchived: boolean;
10
+ protectionStatus?: ElevenLabs.BranchProtectionStatus;
11
+ /** Access information for the branch */
12
+ accessInfo?: ElevenLabs.ResourceAccessInfo;
13
+ /** Percentage of traffic live on the branch */
14
+ currentLivePercentage?: number;
15
+ /** Parent branch of the branch */
16
+ parentBranch?: ElevenLabs.AgentBranchBasicInfo;
17
+ /** Most recent versions on the branch */
18
+ mostRecentVersions?: ElevenLabs.AgentVersionMetadata[];
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface AgentBranchSummary {
3
+ id: string;
4
+ name: string;
5
+ agentId: string;
6
+ description: string;
7
+ createdAt: number;
8
+ lastCommittedAt: number;
9
+ isArchived: boolean;
10
+ protectionStatus?: ElevenLabs.BranchProtectionStatus;
11
+ /** Access information for the branch */
12
+ accessInfo?: ElevenLabs.ResourceAccessInfo;
13
+ /** Percentage of traffic live on the branch */
14
+ currentLivePercentage?: number;
15
+ /** Whether a draft exists for the branch */
16
+ draftExists?: boolean;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface AgentDeploymentPercentageStrategy {
2
+ type?: "percentage";
3
+ /** Traffic percentage to deploy */
4
+ trafficPercentage: number;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface AgentDeploymentRequest {
3
+ /** List of deployment requests */
4
+ requests: ElevenLabs.AgentDeploymentRequestItem[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface AgentDeploymentRequestItem {
3
+ /** ID of the branch to deploy */
4
+ branchId: string;
5
+ deploymentStrategy: ElevenLabs.AgentDeploymentPercentageStrategy;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface AgentDeploymentResponse {
2
+ /** Map of branch IDs to traffic percentages */
3
+ trafficPercentageBranchIdMap?: Record<string, number>;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface AgentVersionMetadata {
3
+ id: string;
4
+ agentId: string;
5
+ branchId: string;
6
+ versionDescription: string;
7
+ seqNoInBranch: number;
8
+ timeCommittedSecs: number;
9
+ parents: ElevenLabs.AgentVersionParents;
10
+ accessInfo?: ElevenLabs.ResourceAccessInfo;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface AgentVersionParents {
2
+ inBranchParentId?: string;
3
+ outOfBranchParentId?: string;
4
+ mergedIntoBranchId?: string;
5
+ mergedFromBranchId?: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export declare const BranchProtectionStatus: {
2
+ readonly WriterPermsRequired: "writer_perms_required";
3
+ readonly AdminPermsRequired: "admin_perms_required";
4
+ };
5
+ export type BranchProtectionStatus = (typeof BranchProtectionStatus)[keyof typeof BranchProtectionStatus];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.BranchProtectionStatus = void 0;
5
+ exports.BranchProtectionStatus = {
6
+ WriterPermsRequired: "writer_perms_required",
7
+ AdminPermsRequired: "admin_perms_required",
8
+ };
@@ -6,6 +6,7 @@ export interface ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCo
6
6
  isError: boolean;
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
+ errorType?: string;
9
10
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
10
11
  type: "api_integration_webhook";
11
12
  integrationId: string;
@@ -6,6 +6,7 @@ export interface ConversationHistoryTranscriptOtherToolsResultCommonModel {
6
6
  isError: boolean;
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
+ errorType?: string;
9
10
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
10
11
  type?: ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModelType;
11
12
  }
@@ -6,6 +6,7 @@ export interface ConversationHistoryTranscriptSystemToolResultCommonModel {
6
6
  isError: boolean;
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
+ errorType?: string;
9
10
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
10
11
  type: "system";
11
12
  result?: ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelResult;
@@ -6,6 +6,7 @@ export interface ConversationHistoryTranscriptWorkflowToolsResultCommonModelInpu
6
6
  isError: boolean;
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
+ errorType?: string;
9
10
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
10
11
  type: "workflow";
11
12
  result?: ElevenLabs.WorkflowToolResponseModelInput;
@@ -6,6 +6,7 @@ export interface ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutp
6
6
  isError: boolean;
7
7
  toolHasBeenCalled: boolean;
8
8
  toolLatencySecs?: number;
9
+ errorType?: string;
9
10
  dynamicVariableUpdates?: ElevenLabs.DynamicVariableUpdateCommonModel[];
10
11
  type: "workflow";
11
12
  result?: ElevenLabs.WorkflowToolResponseModelOutput;
@@ -0,0 +1,6 @@
1
+ export interface CreateAgentBranchResponseModel {
2
+ /** ID of the created branch */
3
+ createdBranchId: string;
4
+ /** ID of the first version on the created branch */
5
+ createdVersionId: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -24,6 +24,7 @@ export interface DirectPublishingReadResponseModel {
24
24
  ean?: string;
25
25
  legalTerms?: ElevenLabs.ReadLegalTerms;
26
26
  contentGuidelinesTerms?: ElevenLabs.ReadLegalTerms;
27
+ lastUpdatedFromProjectUnix?: number;
27
28
  publishingProjectId?: string;
28
29
  publishingState?: string;
29
30
  publisherProfileId?: string;
@@ -1,6 +1,7 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface GetConversationResponseModel {
3
3
  agentId: string;
4
+ agentName?: string;
4
5
  conversationId: string;
5
6
  status: ElevenLabs.GetConversationResponseModelStatus;
6
7
  userId?: string;
@@ -0,0 +1,5 @@
1
+ import type * as ElevenLabs from "../index";
2
+ export interface ListResponseAgentBranchSummary {
3
+ meta?: ElevenLabs.ListResponseMeta;
4
+ results: ElevenLabs.AgentBranchSummary[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -33,5 +33,6 @@ export declare const PermissionType: {
33
33
  readonly PublishVoiceToVoiceLibrary: "publish_voice_to_voice_library";
34
34
  readonly ShareVoiceExternally: "share_voice_externally";
35
35
  readonly CreateUserApiKey: "create_user_api_key";
36
+ readonly WorkspaceAnalyticsFullRead: "workspace_analytics_full_read";
36
37
  };
37
38
  export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
@@ -37,4 +37,5 @@ exports.PermissionType = {
37
37
  PublishVoiceToVoiceLibrary: "publish_voice_to_voice_library",
38
38
  ShareVoiceExternally: "share_voice_externally",
39
39
  CreateUserApiKey: "create_user_api_key",
40
+ WorkspaceAnalyticsFullRead: "workspace_analytics_full_read",
40
41
  };
@@ -3,5 +3,6 @@ export declare const ProjectCreationMetaResponseModelType: {
3
3
  readonly Blank: "blank";
4
4
  readonly GeneratePodcast: "generate_podcast";
5
5
  readonly AutoAssignVoices: "auto_assign_voices";
6
+ readonly DubVideo: "dub_video";
6
7
  };
7
8
  export type ProjectCreationMetaResponseModelType = (typeof ProjectCreationMetaResponseModelType)[keyof typeof ProjectCreationMetaResponseModelType];
@@ -7,4 +7,5 @@ exports.ProjectCreationMetaResponseModelType = {
7
7
  Blank: "blank",
8
8
  GeneratePodcast: "generate_podcast",
9
9
  AutoAssignVoices: "auto_assign_voices",
10
+ DubVideo: "dub_video",
10
11
  };
@@ -62,6 +62,8 @@ export interface ProjectExtendedResponse {
62
62
  captionsEnabled?: boolean;
63
63
  /** Global styling to be applied to all captions */
64
64
  captionStyle?: ElevenLabs.CaptionStyleModel;
65
+ /** Styling changes that have been made to the provided templates */
66
+ captionStyleTemplateOverrides?: Record<string, ElevenLabs.CaptionStyleModel | undefined>;
65
67
  /** The public share ID of the project. */
66
68
  publicShareId?: string;
67
69
  /** The aspect ratio of the project. */
@@ -62,6 +62,8 @@ export interface ProjectResponse {
62
62
  captionsEnabled?: boolean;
63
63
  /** Global styling to be applied to all captions */
64
64
  captionStyle?: ElevenLabs.CaptionStyleModel;
65
+ /** Styling changes that have been made to the provided templates */
66
+ captionStyleTemplateOverrides?: Record<string, ElevenLabs.CaptionStyleModel | undefined>;
65
67
  /** The public share ID of the project. */
66
68
  publicShareId?: string;
67
69
  /** The aspect ratio of the project. */
@@ -0,0 +1,5 @@
1
+ export declare const SeatType: {
2
+ readonly WorkspaceAdmin: "workspace_admin";
3
+ readonly WorkspaceMember: "workspace_member";
4
+ };
5
+ export type SeatType = (typeof SeatType)[keyof typeof SeatType];
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole = void 0;
5
- exports.BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole = {
4
+ exports.SeatType = void 0;
5
+ exports.SeatType = {
6
6
  WorkspaceAdmin: "workspace_admin",
7
7
  WorkspaceMember: "workspace_member",
8
8
  };
@@ -9,4 +9,8 @@ export interface SongMetadata {
9
9
  languages: string[];
10
10
  /** Whether the song is explicit */
11
11
  isExplicit?: boolean;
12
+ /** The BPM of the song */
13
+ bpm?: number;
14
+ /** The time signature of the song */
15
+ timeSignature?: string;
12
16
  }
@@ -0,0 +1,5 @@
1
+ export declare const ToolSortBy: {
2
+ readonly Name: "name";
3
+ readonly CreatedAt: "created_at";
4
+ };
5
+ export type ToolSortBy = (typeof ToolSortBy)[keyof typeof ToolSortBy];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ToolSortBy = void 0;
5
+ exports.ToolSortBy = {
6
+ Name: "name",
7
+ CreatedAt: "created_at",
8
+ };
@@ -0,0 +1,6 @@
1
+ export declare const ToolTypeFilter: {
2
+ readonly Webhook: "webhook";
3
+ readonly Client: "client";
4
+ readonly ApiIntegrationWebhook: "api_integration_webhook";
5
+ };
6
+ export type ToolTypeFilter = (typeof ToolTypeFilter)[keyof typeof ToolTypeFilter];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ToolTypeFilter = void 0;
5
+ exports.ToolTypeFilter = {
6
+ Webhook: "webhook",
7
+ Client: "client",
8
+ ApiIntegrationWebhook: "api_integration_webhook",
9
+ };
@@ -1,4 +1,6 @@
1
1
  import type * as ElevenLabs from "../index";
2
2
  export interface ToolsResponseModel {
3
3
  tools: ElevenLabs.ToolResponseModel[];
4
+ nextCursor?: string;
5
+ hasMore: boolean;
4
6
  }
@@ -13,6 +13,9 @@ export * from "./AddWorkspaceGroupMemberResponseModel";
13
13
  export * from "./AddWorkspaceInviteResponseModel";
14
14
  export * from "./AdhocAgentConfigOverrideForTestRequestModel";
15
15
  export * from "./Age";
16
+ export * from "./AgentBranchBasicInfo";
17
+ export * from "./AgentBranchResponse";
18
+ export * from "./AgentBranchSummary";
16
19
  export * from "./AgentCallLimits";
17
20
  export * from "./AgentConfig";
18
21
  export * from "./AgentConfigApiModelWorkflowOverrideInput";
@@ -21,6 +24,10 @@ export * from "./AgentConfigOverrideConfig";
21
24
  export * from "./AgentConfigOverrideInput";
22
25
  export * from "./AgentConfigOverrideOutput";
23
26
  export * from "./AgentDefinitionSource";
27
+ export * from "./AgentDeploymentPercentageStrategy";
28
+ export * from "./AgentDeploymentRequest";
29
+ export * from "./AgentDeploymentRequestItem";
30
+ export * from "./AgentDeploymentResponse";
24
31
  export * from "./AgentFailureResponseExample";
25
32
  export * from "./AgentMetadata";
26
33
  export * from "./AgentMetadataResponseModel";
@@ -33,6 +40,8 @@ export * from "./AgentSummaryBatchSuccessfulResponseModel";
33
40
  export * from "./AgentSummaryResponseModel";
34
41
  export * from "./AgentTestingSettings";
35
42
  export * from "./AgentTransfer";
43
+ export * from "./AgentVersionMetadata";
44
+ export * from "./AgentVersionParents";
36
45
  export * from "./AgentWorkflowRequestModel";
37
46
  export * from "./AgentWorkflowRequestModelNodesValue";
38
47
  export * from "./AgentWorkflowResponseModel";
@@ -136,6 +145,7 @@ export * from "./BatchFailureResponseModel";
136
145
  export * from "./BillingPeriod";
137
146
  export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge";
138
147
  export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender";
148
+ export * from "./BranchProtectionStatus";
139
149
  export * from "./BreakdownTypes";
140
150
  export * from "./BuiltInToolsInput";
141
151
  export * from "./BuiltInToolsOutput";
@@ -268,6 +278,7 @@ export * from "./ConversationTokenPurpose";
268
278
  export * from "./ConversationTurnMetrics";
269
279
  export * from "./ConvertChapterResponseModel";
270
280
  export * from "./ConvertProjectResponseModel";
281
+ export * from "./CreateAgentBranchResponseModel";
271
282
  export * from "./CreateAgentResponseModel";
272
283
  export * from "./CreateAudioNativeProjectRequest";
273
284
  export * from "./CreatePhoneNumberResponseModel";
@@ -462,6 +473,7 @@ export * from "./LanguageResponse";
462
473
  export * from "./LibraryVoiceResponse";
463
474
  export * from "./LibraryVoiceResponseModelCategory";
464
475
  export * from "./ListMcpToolsResponseModel";
476
+ export * from "./ListResponseAgentBranchSummary";
465
477
  export * from "./ListResponseMeta";
466
478
  export * from "./ListWhatsAppAccountsResponse";
467
479
  export * from "./LiteralJsonSchemaProperty";
@@ -646,6 +658,7 @@ export * from "./SafetyRule";
646
658
  export * from "./SampleConfigDbModel";
647
659
  export * from "./SampleConfigDbModelParentType";
648
660
  export * from "./SaveVoicePreviewRequest";
661
+ export * from "./SeatType";
649
662
  export * from "./SecretDependencyType";
650
663
  export * from "./SectionSource";
651
664
  export * from "./SegmentCreateResponse";
@@ -741,8 +754,10 @@ export * from "./ToolRequestModel";
741
754
  export * from "./ToolRequestModelToolConfig";
742
755
  export * from "./ToolResponseModel";
743
756
  export * from "./ToolResponseModelToolConfig";
757
+ export * from "./ToolSortBy";
744
758
  export * from "./ToolsResponseModel";
745
759
  export * from "./ToolType";
760
+ export * from "./ToolTypeFilter";
746
761
  export * from "./ToolUsageStatsResponseModel";
747
762
  export * from "./TransferToAgentToolConfig";
748
763
  export * from "./TransferToAgentToolResultErrorModel";
@@ -29,6 +29,9 @@ __exportStar(require("./AddWorkspaceGroupMemberResponseModel"), exports);
29
29
  __exportStar(require("./AddWorkspaceInviteResponseModel"), exports);
30
30
  __exportStar(require("./AdhocAgentConfigOverrideForTestRequestModel"), exports);
31
31
  __exportStar(require("./Age"), exports);
32
+ __exportStar(require("./AgentBranchBasicInfo"), exports);
33
+ __exportStar(require("./AgentBranchResponse"), exports);
34
+ __exportStar(require("./AgentBranchSummary"), exports);
32
35
  __exportStar(require("./AgentCallLimits"), exports);
33
36
  __exportStar(require("./AgentConfig"), exports);
34
37
  __exportStar(require("./AgentConfigApiModelWorkflowOverrideInput"), exports);
@@ -37,6 +40,10 @@ __exportStar(require("./AgentConfigOverrideConfig"), exports);
37
40
  __exportStar(require("./AgentConfigOverrideInput"), exports);
38
41
  __exportStar(require("./AgentConfigOverrideOutput"), exports);
39
42
  __exportStar(require("./AgentDefinitionSource"), exports);
43
+ __exportStar(require("./AgentDeploymentPercentageStrategy"), exports);
44
+ __exportStar(require("./AgentDeploymentRequest"), exports);
45
+ __exportStar(require("./AgentDeploymentRequestItem"), exports);
46
+ __exportStar(require("./AgentDeploymentResponse"), exports);
40
47
  __exportStar(require("./AgentFailureResponseExample"), exports);
41
48
  __exportStar(require("./AgentMetadata"), exports);
42
49
  __exportStar(require("./AgentMetadataResponseModel"), exports);
@@ -49,6 +56,8 @@ __exportStar(require("./AgentSummaryBatchSuccessfulResponseModel"), exports);
49
56
  __exportStar(require("./AgentSummaryResponseModel"), exports);
50
57
  __exportStar(require("./AgentTestingSettings"), exports);
51
58
  __exportStar(require("./AgentTransfer"), exports);
59
+ __exportStar(require("./AgentVersionMetadata"), exports);
60
+ __exportStar(require("./AgentVersionParents"), exports);
52
61
  __exportStar(require("./AgentWorkflowRequestModel"), exports);
53
62
  __exportStar(require("./AgentWorkflowRequestModelNodesValue"), exports);
54
63
  __exportStar(require("./AgentWorkflowResponseModel"), exports);
@@ -152,6 +161,7 @@ __exportStar(require("./BatchFailureResponseModel"), exports);
152
161
  __exportStar(require("./BillingPeriod"), exports);
153
162
  __exportStar(require("./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge"), exports);
154
163
  __exportStar(require("./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender"), exports);
164
+ __exportStar(require("./BranchProtectionStatus"), exports);
155
165
  __exportStar(require("./BreakdownTypes"), exports);
156
166
  __exportStar(require("./BuiltInToolsInput"), exports);
157
167
  __exportStar(require("./BuiltInToolsOutput"), exports);
@@ -284,6 +294,7 @@ __exportStar(require("./ConversationTokenPurpose"), exports);
284
294
  __exportStar(require("./ConversationTurnMetrics"), exports);
285
295
  __exportStar(require("./ConvertChapterResponseModel"), exports);
286
296
  __exportStar(require("./ConvertProjectResponseModel"), exports);
297
+ __exportStar(require("./CreateAgentBranchResponseModel"), exports);
287
298
  __exportStar(require("./CreateAgentResponseModel"), exports);
288
299
  __exportStar(require("./CreateAudioNativeProjectRequest"), exports);
289
300
  __exportStar(require("./CreatePhoneNumberResponseModel"), exports);
@@ -478,6 +489,7 @@ __exportStar(require("./LanguageResponse"), exports);
478
489
  __exportStar(require("./LibraryVoiceResponse"), exports);
479
490
  __exportStar(require("./LibraryVoiceResponseModelCategory"), exports);
480
491
  __exportStar(require("./ListMcpToolsResponseModel"), exports);
492
+ __exportStar(require("./ListResponseAgentBranchSummary"), exports);
481
493
  __exportStar(require("./ListResponseMeta"), exports);
482
494
  __exportStar(require("./ListWhatsAppAccountsResponse"), exports);
483
495
  __exportStar(require("./LiteralJsonSchemaProperty"), exports);
@@ -662,6 +674,7 @@ __exportStar(require("./SafetyRule"), exports);
662
674
  __exportStar(require("./SampleConfigDbModel"), exports);
663
675
  __exportStar(require("./SampleConfigDbModelParentType"), exports);
664
676
  __exportStar(require("./SaveVoicePreviewRequest"), exports);
677
+ __exportStar(require("./SeatType"), exports);
665
678
  __exportStar(require("./SecretDependencyType"), exports);
666
679
  __exportStar(require("./SectionSource"), exports);
667
680
  __exportStar(require("./SegmentCreateResponse"), exports);
@@ -757,8 +770,10 @@ __exportStar(require("./ToolRequestModel"), exports);
757
770
  __exportStar(require("./ToolRequestModelToolConfig"), exports);
758
771
  __exportStar(require("./ToolResponseModel"), exports);
759
772
  __exportStar(require("./ToolResponseModelToolConfig"), exports);
773
+ __exportStar(require("./ToolSortBy"), exports);
760
774
  __exportStar(require("./ToolsResponseModel"), exports);
761
775
  __exportStar(require("./ToolType"), exports);
776
+ __exportStar(require("./ToolTypeFilter"), exports);
762
777
  __exportStar(require("./ToolUsageStatsResponseModel"), exports);
763
778
  __exportStar(require("./TransferToAgentToolConfig"), exports);
764
779
  __exportStar(require("./TransferToAgentToolResultErrorModel"), exports);
@@ -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.32.0",
45
- "User-Agent": "@elevenlabs/elevenlabs-js/v2.32.0",
44
+ "X-Fern-SDK-Version": "v2.33.0",
45
+ "User-Agent": "@elevenlabs/elevenlabs-js/v2.33.0",
46
46
  "X-Fern-Runtime": core.RUNTIME.type,
47
47
  "X-Fern-Runtime-Version": core.RUNTIME.version,
48
48
  "xi-api-key": options === null || options === void 0 ? void 0 : options.apiKey,
package/dist/Client.d.ts CHANGED
@@ -81,6 +81,16 @@ export declare class ElevenLabsClient {
81
81
  get music(): MusicClient;
82
82
  get tokens(): TokensClient;
83
83
  get workspace(): WorkspaceClient;
84
+ /**
85
+ * @param {string} agent_id
86
+ * @param {string} branch_id
87
+ * @param {ElevenLabsClient.RequestOptions} requestOptions - Request-specific configuration.
88
+ *
89
+ * @example
90
+ * await client.deleteV1ConvaiAgentsAgentIdBranchesBranchId("agent_id", "branch_id")
91
+ */
92
+ deleteV1ConvaiAgentsAgentIdBranchesBranchId(agent_id: string, branch_id: string, requestOptions?: ElevenLabsClient.RequestOptions): core.HttpResponsePromise<void>;
93
+ private __deleteV1ConvaiAgentsAgentIdBranchesBranchId;
84
94
  /**
85
95
  * Add a generated voice to the voice library.
86
96
  *