@elevenlabs/elevenlabs-js 2.32.0 → 2.34.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 (718) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/BaseClient.js +2 -2
  3. package/Client.d.ts +18 -0
  4. package/Client.js +76 -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/client/requests/UpdateAgentRequest.d.ts +2 -0
  8. package/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  9. package/api/resources/conversationalAi/resources/agents/index.js +1 -0
  10. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +94 -0
  11. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +399 -0
  12. package/api/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  13. package/{dist/serialization/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/branches/client}/index.js +1 -1
  14. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +23 -0
  15. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +12 -0
  16. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +13 -0
  17. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.d.ts +13 -0
  18. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +4 -0
  19. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +2 -0
  20. package/api/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  21. package/api/resources/{workspace/resources/members/types → conversationalAi/resources/agents/resources/branches}/index.js +1 -1
  22. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.d.ts +37 -0
  23. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +134 -0
  24. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  25. package/{serialization/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/deployments/client}/index.js +1 -1
  26. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +19 -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/{dist/api/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/DraftsDeleteRequest.d.ts +10 -0
  37. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.js +3 -0
  38. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +2 -0
  39. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +2 -0
  40. package/api/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  41. package/api/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  42. package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +6 -0
  43. package/api/resources/conversationalAi/resources/agents/resources/index.js +7 -1
  44. package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
  45. package/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +3 -0
  46. package/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  47. package/api/resources/{workspace/resources/invites → conversationalAi/resources/agents}/types/index.js +1 -1
  48. package/api/resources/conversationalAi/resources/index.d.ts +1 -0
  49. package/api/resources/conversationalAi/resources/index.js +1 -0
  50. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +44 -0
  51. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +178 -0
  52. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +12 -0
  53. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +3 -0
  54. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +12 -0
  55. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +3 -0
  56. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +8 -0
  57. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +3 -0
  58. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  59. package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +6 -2
  60. package/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
  61. package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
  62. package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js +3 -0
  63. package/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
  64. package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
  65. package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
  66. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +10 -2
  67. package/api/resources/conversationalAi/resources/tools/client/Client.js +44 -6
  68. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +28 -0
  69. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.js +3 -0
  70. package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  71. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
  72. package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
  73. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  74. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
  75. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +1 -1
  76. package/api/resources/studio/resources/projects/client/Client.js +3 -0
  77. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
  78. package/api/resources/textToDialogue/client/Client.d.ts +1 -1
  79. package/api/resources/textToDialogue/client/Client.js +3 -7
  80. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
  81. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  82. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
  83. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  84. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
  85. package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
  86. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
  87. package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
  88. package/api/resources/textToDialogue/types/index.d.ts +2 -0
  89. package/api/resources/textToDialogue/types/index.js +2 -0
  90. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
  91. package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
  92. package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
  93. package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  94. package/api/resources/workspace/resources/index.d.ts +0 -2
  95. package/api/resources/workspace/resources/index.js +0 -2
  96. package/api/resources/workspace/resources/invites/client/Client.d.ts +3 -3
  97. package/api/resources/workspace/resources/invites/client/Client.js +3 -3
  98. package/api/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +4 -2
  99. package/api/resources/workspace/resources/invites/index.d.ts +0 -1
  100. package/api/resources/workspace/resources/invites/index.js +0 -1
  101. package/api/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +4 -2
  102. package/api/resources/workspace/resources/members/index.d.ts +0 -1
  103. package/api/resources/workspace/resources/members/index.js +0 -1
  104. package/api/resources/workspace/resources/resources/client/Client.d.ts +0 -17
  105. package/api/resources/workspace/resources/resources/client/Client.js +0 -59
  106. package/api/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  107. package/api/types/AgentBranchBasicInfo.d.ts +4 -0
  108. package/api/types/AgentBranchBasicInfo.js +3 -0
  109. package/api/types/AgentBranchResponse.d.ts +19 -0
  110. package/api/types/AgentBranchResponse.js +3 -0
  111. package/api/types/AgentBranchSummary.d.ts +17 -0
  112. package/api/types/AgentBranchSummary.js +3 -0
  113. package/api/types/AgentDeploymentPercentageStrategy.d.ts +5 -0
  114. package/api/types/AgentDeploymentPercentageStrategy.js +3 -0
  115. package/api/types/AgentDeploymentRequest.d.ts +5 -0
  116. package/api/types/AgentDeploymentRequest.js +3 -0
  117. package/api/types/AgentDeploymentRequestItem.d.ts +6 -0
  118. package/api/types/AgentDeploymentRequestItem.js +3 -0
  119. package/api/types/AgentDeploymentResponse.d.ts +4 -0
  120. package/api/types/AgentDeploymentResponse.js +3 -0
  121. package/api/types/AgentVersionMetadata.d.ts +11 -0
  122. package/api/types/AgentVersionMetadata.js +3 -0
  123. package/api/types/AgentVersionParents.d.ts +6 -0
  124. package/api/types/AgentVersionParents.js +3 -0
  125. package/api/types/AlignmentGuardrail.d.ts +3 -0
  126. package/api/types/AlignmentGuardrail.js +3 -0
  127. package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
  128. package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
  129. package/api/types/BranchProtectionStatus.d.ts +5 -0
  130. package/api/types/BranchProtectionStatus.js +8 -0
  131. package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +2 -0
  132. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +2 -0
  133. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +2 -0
  134. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +2 -0
  135. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +2 -0
  136. package/api/types/ConversationTurnMetrics.d.ts +1 -0
  137. package/api/types/CreateAgentBranchResponseModel.d.ts +6 -0
  138. package/api/types/CreateAgentBranchResponseModel.js +3 -0
  139. package/api/types/DirectPublishingReadResponseModel.d.ts +2 -0
  140. package/api/types/GetConversationResponseModel.d.ts +1 -0
  141. package/api/types/GetUnitTestResponseModel.d.ts +2 -0
  142. package/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
  143. package/api/types/GuardrailsV1Input.d.ts +1 -0
  144. package/api/types/GuardrailsV1Output.d.ts +1 -0
  145. package/api/types/InvoiceResponse.d.ts +1 -1
  146. package/api/types/ListResponseAgentBranchSummary.d.ts +5 -0
  147. package/api/types/ListResponseAgentBranchSummary.js +3 -0
  148. package/api/types/NonStreamingOutputFormats.d.ts +10 -0
  149. package/api/types/NonStreamingOutputFormats.js +13 -0
  150. package/api/types/PermissionType.d.ts +7 -0
  151. package/api/types/PermissionType.js +7 -0
  152. package/api/types/ProcedureDraftRef.d.ts +4 -0
  153. package/api/types/ProcedureDraftRef.js +3 -0
  154. package/api/types/ProcedureVersionRef.d.ts +6 -0
  155. package/api/types/ProcedureVersionRef.js +3 -0
  156. package/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
  157. package/api/types/ProjectCreationMetaResponseModelType.js +1 -0
  158. package/api/types/ProjectExtendedResponse.d.ts +2 -0
  159. package/api/types/ProjectResponse.d.ts +2 -0
  160. package/api/types/ResponseFilterMode.d.ts +6 -0
  161. package/api/types/ResponseFilterMode.js +9 -0
  162. package/api/types/SeatType.d.ts +5 -0
  163. package/{dist/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → api/types/SeatType.js} +2 -2
  164. package/api/types/ToolSortBy.d.ts +5 -0
  165. package/api/types/ToolSortBy.js +8 -0
  166. package/api/types/ToolTypeFilter.d.ts +6 -0
  167. package/api/types/ToolTypeFilter.js +9 -0
  168. package/api/types/ToolsResponseModel.d.ts +2 -0
  169. package/api/types/TurnConfig.d.ts +2 -0
  170. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  171. package/api/types/UnitTestCommonModel.d.ts +2 -0
  172. package/api/types/User.d.ts +2 -0
  173. package/api/types/index.d.ts +20 -1
  174. package/api/types/index.js +20 -1
  175. package/dist/BaseClient.js +2 -2
  176. package/dist/Client.d.ts +18 -0
  177. package/dist/Client.js +76 -0
  178. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +9 -0
  179. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +25 -10
  180. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  181. package/dist/api/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  182. package/dist/api/resources/conversationalAi/resources/agents/index.js +1 -0
  183. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +94 -0
  184. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +399 -0
  185. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  186. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
  187. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +23 -0
  188. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +3 -0
  189. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +12 -0
  190. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +3 -0
  191. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +13 -0
  192. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +3 -0
  193. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.d.ts +13 -0
  194. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.js +3 -0
  195. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +4 -0
  196. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +2 -0
  197. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  198. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
  199. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.d.ts +37 -0
  200. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +134 -0
  201. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  202. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
  203. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +19 -0
  204. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +3 -0
  205. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  206. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +2 -0
  207. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  208. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
  209. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.d.ts +197 -0
  210. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +342 -0
  211. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  212. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  213. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +173 -0
  214. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +3 -0
  215. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.d.ts +10 -0
  216. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.js +3 -0
  217. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +2 -0
  218. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +2 -0
  219. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  220. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  221. package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +6 -0
  222. package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +7 -1
  223. package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +2 -0
  224. package/dist/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +3 -0
  225. package/dist/api/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  226. package/dist/api/resources/{workspace/resources/invites → conversationalAi/resources/agents}/types/index.js +1 -1
  227. package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
  228. package/dist/api/resources/conversationalAi/resources/index.js +1 -0
  229. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +44 -0
  230. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +178 -0
  231. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +12 -0
  232. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +3 -0
  233. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +12 -0
  234. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +3 -0
  235. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +8 -0
  236. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +3 -0
  237. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  238. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +6 -2
  239. package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +18 -6
  240. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +13 -0
  241. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.js +3 -0
  242. package/dist/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
  243. package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
  244. package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
  245. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +10 -2
  246. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +44 -6
  247. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +28 -0
  248. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.js +3 -0
  249. package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  250. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +12 -29
  251. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +49 -118
  252. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  253. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
  254. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +1 -1
  255. package/dist/api/resources/studio/resources/projects/client/Client.js +3 -0
  256. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
  257. package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -1
  258. package/dist/api/resources/textToDialogue/client/Client.js +3 -7
  259. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +4 -4
  260. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  261. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -3
  262. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  263. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +32 -0
  264. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +35 -0
  265. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +32 -0
  266. package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +35 -0
  267. package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
  268. package/dist/api/resources/textToDialogue/types/index.js +2 -0
  269. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
  270. package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
  271. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +2 -2
  272. package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
  273. package/dist/api/resources/workspace/resources/index.d.ts +0 -2
  274. package/dist/api/resources/workspace/resources/index.js +0 -2
  275. package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +3 -3
  276. package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
  277. package/dist/api/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +4 -2
  278. package/dist/api/resources/workspace/resources/invites/index.d.ts +0 -1
  279. package/dist/api/resources/workspace/resources/invites/index.js +0 -1
  280. package/dist/api/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +4 -2
  281. package/dist/api/resources/workspace/resources/members/index.d.ts +0 -1
  282. package/dist/api/resources/workspace/resources/members/index.js +0 -1
  283. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +0 -17
  284. package/dist/api/resources/workspace/resources/resources/client/Client.js +0 -59
  285. package/dist/api/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  286. package/dist/api/types/AgentBranchBasicInfo.d.ts +4 -0
  287. package/dist/api/types/AgentBranchBasicInfo.js +3 -0
  288. package/dist/api/types/AgentBranchResponse.d.ts +19 -0
  289. package/dist/api/types/AgentBranchResponse.js +3 -0
  290. package/dist/api/types/AgentBranchSummary.d.ts +17 -0
  291. package/dist/api/types/AgentBranchSummary.js +3 -0
  292. package/dist/api/types/AgentDeploymentPercentageStrategy.d.ts +5 -0
  293. package/dist/api/types/AgentDeploymentPercentageStrategy.js +3 -0
  294. package/dist/api/types/AgentDeploymentRequest.d.ts +5 -0
  295. package/dist/api/types/AgentDeploymentRequest.js +3 -0
  296. package/dist/api/types/AgentDeploymentRequestItem.d.ts +6 -0
  297. package/dist/api/types/AgentDeploymentRequestItem.js +3 -0
  298. package/dist/api/types/AgentDeploymentResponse.d.ts +4 -0
  299. package/dist/api/types/AgentDeploymentResponse.js +3 -0
  300. package/dist/api/types/AgentVersionMetadata.d.ts +11 -0
  301. package/dist/api/types/AgentVersionMetadata.js +3 -0
  302. package/dist/api/types/AgentVersionParents.d.ts +6 -0
  303. package/dist/api/types/AgentVersionParents.js +3 -0
  304. package/dist/api/types/AlignmentGuardrail.d.ts +3 -0
  305. package/dist/api/types/AlignmentGuardrail.js +3 -0
  306. package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +2 -0
  307. package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +2 -0
  308. package/dist/api/types/BranchProtectionStatus.d.ts +5 -0
  309. package/dist/api/types/BranchProtectionStatus.js +8 -0
  310. package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +2 -0
  311. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +2 -0
  312. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +2 -0
  313. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +2 -0
  314. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +2 -0
  315. package/dist/api/types/ConversationTurnMetrics.d.ts +1 -0
  316. package/dist/api/types/CreateAgentBranchResponseModel.d.ts +6 -0
  317. package/dist/api/types/CreateAgentBranchResponseModel.js +3 -0
  318. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +2 -0
  319. package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
  320. package/dist/api/types/GetUnitTestResponseModel.d.ts +2 -0
  321. package/dist/api/types/GetWorkspaceSecretsResponseModel.d.ts +4 -0
  322. package/dist/api/types/GuardrailsV1Input.d.ts +1 -0
  323. package/dist/api/types/GuardrailsV1Output.d.ts +1 -0
  324. package/dist/api/types/InvoiceResponse.d.ts +1 -1
  325. package/dist/api/types/ListResponseAgentBranchSummary.d.ts +5 -0
  326. package/dist/api/types/ListResponseAgentBranchSummary.js +3 -0
  327. package/dist/api/types/NonStreamingOutputFormats.d.ts +10 -0
  328. package/dist/api/types/NonStreamingOutputFormats.js +13 -0
  329. package/dist/api/types/PermissionType.d.ts +7 -0
  330. package/dist/api/types/PermissionType.js +7 -0
  331. package/dist/api/types/ProcedureDraftRef.d.ts +4 -0
  332. package/dist/api/types/ProcedureDraftRef.js +3 -0
  333. package/dist/api/types/ProcedureVersionRef.d.ts +6 -0
  334. package/dist/api/types/ProcedureVersionRef.js +3 -0
  335. package/dist/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
  336. package/dist/api/types/ProjectCreationMetaResponseModelType.js +1 -0
  337. package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
  338. package/dist/api/types/ProjectResponse.d.ts +2 -0
  339. package/dist/api/types/ResponseFilterMode.d.ts +6 -0
  340. package/dist/api/types/ResponseFilterMode.js +9 -0
  341. package/dist/api/types/SeatType.d.ts +5 -0
  342. package/{api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → dist/api/types/SeatType.js} +2 -2
  343. package/dist/api/types/ToolSortBy.d.ts +5 -0
  344. package/dist/api/types/ToolSortBy.js +8 -0
  345. package/dist/api/types/ToolTypeFilter.d.ts +6 -0
  346. package/dist/api/types/ToolTypeFilter.js +9 -0
  347. package/dist/api/types/ToolsResponseModel.d.ts +2 -0
  348. package/dist/api/types/TurnConfig.d.ts +2 -0
  349. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  350. package/dist/api/types/UnitTestCommonModel.d.ts +2 -0
  351. package/dist/api/types/User.d.ts +2 -0
  352. package/dist/api/types/index.d.ts +20 -1
  353. package/dist/api/types/index.js +20 -1
  354. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  355. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
  356. package/dist/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  357. package/dist/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
  358. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  359. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
  360. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +15 -0
  361. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +47 -0
  362. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +9 -0
  363. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +41 -0
  364. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +12 -0
  365. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +44 -0
  366. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +3 -0
  367. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +9 -0
  368. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  369. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
  370. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  371. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
  372. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +10 -0
  373. package/dist/serialization/resources/conversationalAi/resources/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js} +5 -6
  374. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  375. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +5 -0
  376. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  377. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
  378. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  379. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  380. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +14 -0
  381. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +46 -0
  382. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +1 -0
  383. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +5 -0
  384. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  385. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  386. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +6 -0
  387. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +7 -1
  388. package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
  389. package/dist/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
  390. package/dist/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  391. package/dist/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
  392. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
  393. package/dist/serialization/resources/conversationalAi/resources/index.js +1 -0
  394. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +10 -0
  395. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +42 -0
  396. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +10 -0
  397. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +42 -0
  398. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +9 -0
  399. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +41 -0
  400. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  401. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.js +7 -1
  402. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
  403. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
  404. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
  405. package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
  406. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  407. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
  408. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
  409. package/{serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js → dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js} +31 -21
  410. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
  411. package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
  412. package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  413. package/dist/serialization/resources/textToDialogue/types/index.js +2 -0
  414. package/dist/serialization/resources/workspace/resources/index.d.ts +0 -2
  415. package/dist/serialization/resources/workspace/resources/index.js +0 -2
  416. package/dist/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +3 -2
  417. package/dist/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js +3 -2
  418. package/dist/serialization/resources/workspace/resources/invites/index.d.ts +0 -1
  419. package/dist/serialization/resources/workspace/resources/invites/index.js +0 -1
  420. package/dist/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +3 -2
  421. package/dist/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.js +3 -2
  422. package/dist/serialization/resources/workspace/resources/members/index.d.ts +0 -1
  423. package/dist/serialization/resources/workspace/resources/members/index.js +0 -1
  424. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  425. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.js +1 -3
  426. package/dist/serialization/types/AgentBranchBasicInfo.d.ts +10 -0
  427. package/dist/serialization/types/{ImportWhatsAppAccountResponse.js → AgentBranchBasicInfo.js} +4 -3
  428. package/dist/serialization/types/AgentBranchResponse.d.ts +24 -0
  429. package/dist/serialization/types/AgentBranchResponse.js +56 -0
  430. package/dist/serialization/types/AgentBranchSummary.d.ts +21 -0
  431. package/dist/serialization/types/AgentBranchSummary.js +53 -0
  432. package/dist/serialization/types/AgentDeploymentPercentageStrategy.d.ts +10 -0
  433. package/dist/serialization/types/AgentDeploymentPercentageStrategy.js +42 -0
  434. package/dist/serialization/types/AgentDeploymentRequest.d.ts +10 -0
  435. package/dist/serialization/types/AgentDeploymentRequest.js +42 -0
  436. package/dist/serialization/types/AgentDeploymentRequestItem.d.ts +11 -0
  437. package/dist/serialization/types/AgentDeploymentRequestItem.js +43 -0
  438. package/dist/serialization/types/AgentDeploymentResponse.d.ts +9 -0
  439. package/dist/serialization/types/AgentDeploymentResponse.js +41 -0
  440. package/dist/serialization/types/AgentVersionMetadata.d.ts +18 -0
  441. package/dist/serialization/types/AgentVersionMetadata.js +50 -0
  442. package/dist/serialization/types/AgentVersionParents.d.ts +12 -0
  443. package/dist/serialization/{resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → types/AgentVersionParents.js} +7 -6
  444. package/dist/serialization/types/AlignmentGuardrail.d.ts +9 -0
  445. package/{serialization/types/ImportWhatsAppAccountResponse.js → dist/serialization/types/AlignmentGuardrail.js} +3 -3
  446. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
  447. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  448. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
  449. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  450. package/dist/serialization/types/BranchProtectionStatus.d.ts +7 -0
  451. package/dist/serialization/{resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → types/BranchProtectionStatus.js} +3 -3
  452. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +2 -0
  453. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +2 -0
  454. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +2 -0
  455. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +2 -0
  456. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +2 -0
  457. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +2 -0
  458. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +2 -0
  459. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +2 -0
  460. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +2 -0
  461. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +2 -0
  462. package/dist/serialization/types/ConversationTurnMetrics.d.ts +1 -0
  463. package/dist/serialization/types/ConversationTurnMetrics.js +1 -0
  464. package/dist/serialization/types/CreateAgentBranchResponseModel.d.ts +10 -0
  465. package/dist/serialization/types/CreateAgentBranchResponseModel.js +42 -0
  466. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +2 -0
  467. package/dist/serialization/types/DirectPublishingReadResponseModel.js +2 -0
  468. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  469. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  470. package/dist/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
  471. package/dist/serialization/types/GetUnitTestResponseModel.js +1 -0
  472. package/dist/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
  473. package/dist/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
  474. package/dist/serialization/types/GuardrailsV1Input.d.ts +2 -0
  475. package/dist/serialization/types/GuardrailsV1Input.js +2 -0
  476. package/dist/serialization/types/GuardrailsV1Output.d.ts +2 -0
  477. package/dist/serialization/types/GuardrailsV1Output.js +2 -0
  478. package/dist/serialization/types/ListResponseAgentBranchSummary.d.ts +12 -0
  479. package/dist/serialization/types/ListResponseAgentBranchSummary.js +44 -0
  480. package/dist/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
  481. package/dist/serialization/types/NonStreamingOutputFormats.js +47 -0
  482. package/dist/serialization/types/PermissionType.d.ts +1 -1
  483. package/dist/serialization/types/PermissionType.js +7 -0
  484. package/dist/serialization/types/ProcedureDraftRef.d.ts +9 -0
  485. package/{serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → dist/serialization/types/ProcedureDraftRef.js} +5 -3
  486. package/dist/serialization/types/ProcedureVersionRef.d.ts +10 -0
  487. package/dist/serialization/types/ProcedureVersionRef.js +42 -0
  488. package/dist/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
  489. package/dist/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
  490. package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -0
  491. package/dist/serialization/types/ProjectExtendedResponse.js +1 -0
  492. package/dist/serialization/types/ProjectResponse.d.ts +1 -0
  493. package/dist/serialization/types/ProjectResponse.js +1 -0
  494. package/dist/serialization/types/ResponseFilterMode.d.ts +7 -0
  495. package/dist/serialization/types/ResponseFilterMode.js +39 -0
  496. package/dist/serialization/types/SeatType.d.ts +7 -0
  497. package/dist/serialization/types/SeatType.js +39 -0
  498. package/dist/serialization/types/ToolSortBy.d.ts +7 -0
  499. package/dist/serialization/types/ToolSortBy.js +39 -0
  500. package/dist/serialization/types/ToolTypeFilter.d.ts +7 -0
  501. package/dist/serialization/types/ToolTypeFilter.js +39 -0
  502. package/dist/serialization/types/ToolsResponseModel.d.ts +2 -0
  503. package/dist/serialization/types/ToolsResponseModel.js +2 -0
  504. package/dist/serialization/types/TurnConfig.d.ts +1 -0
  505. package/dist/serialization/types/TurnConfig.js +1 -0
  506. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  507. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  508. package/dist/serialization/types/UnitTestCommonModel.d.ts +1 -0
  509. package/dist/serialization/types/UnitTestCommonModel.js +1 -0
  510. package/dist/serialization/types/User.d.ts +1 -0
  511. package/dist/serialization/types/User.js +1 -0
  512. package/dist/serialization/types/index.d.ts +20 -1
  513. package/dist/serialization/types/index.js +20 -1
  514. package/dist/version.d.ts +1 -1
  515. package/dist/version.js +1 -1
  516. package/package.json +1 -1
  517. package/reference.md +1076 -228
  518. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
  519. package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +2 -0
  520. package/serialization/resources/conversationalAi/resources/agents/index.d.ts +1 -0
  521. package/serialization/resources/conversationalAi/resources/agents/index.js +1 -0
  522. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  523. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
  524. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +15 -0
  525. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +47 -0
  526. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +9 -0
  527. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +41 -0
  528. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +12 -0
  529. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +44 -0
  530. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +3 -0
  531. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +9 -0
  532. package/serialization/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  533. package/serialization/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
  534. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  535. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
  536. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +10 -0
  537. package/serialization/resources/conversationalAi/resources/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js} +5 -6
  538. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  539. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +5 -0
  540. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  541. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
  542. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  543. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  544. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +14 -0
  545. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +46 -0
  546. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +1 -0
  547. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +5 -0
  548. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  549. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  550. package/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +6 -0
  551. package/serialization/resources/conversationalAi/resources/agents/resources/index.js +7 -1
  552. package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.d.ts +9 -0
  553. package/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.js +41 -0
  554. package/serialization/resources/conversationalAi/resources/agents/types/index.d.ts +1 -0
  555. package/serialization/resources/conversationalAi/resources/agents/types/index.js +17 -0
  556. package/serialization/resources/conversationalAi/resources/index.d.ts +1 -0
  557. package/serialization/resources/conversationalAi/resources/index.js +1 -0
  558. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +10 -0
  559. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +42 -0
  560. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +10 -0
  561. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +42 -0
  562. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +9 -0
  563. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +41 -0
  564. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  565. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.js +7 -1
  566. package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +1 -0
  567. package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +1 -0
  568. package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
  569. package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +1 -0
  570. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +0 -1
  571. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +1 -3
  572. package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +7 -0
  573. package/{dist/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js → serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js} +31 -21
  574. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +7 -0
  575. package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +68 -0
  576. package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
  577. package/serialization/resources/textToDialogue/types/index.js +2 -0
  578. package/serialization/resources/workspace/resources/index.d.ts +0 -2
  579. package/serialization/resources/workspace/resources/index.js +0 -2
  580. package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +3 -2
  581. package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js +3 -2
  582. package/serialization/resources/workspace/resources/invites/index.d.ts +0 -1
  583. package/serialization/resources/workspace/resources/invites/index.js +0 -1
  584. package/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +3 -2
  585. package/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.js +3 -2
  586. package/serialization/resources/workspace/resources/members/index.d.ts +0 -1
  587. package/serialization/resources/workspace/resources/members/index.js +0 -1
  588. package/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  589. package/serialization/resources/workspace/resources/resources/client/requests/index.js +1 -3
  590. package/serialization/types/AgentBranchBasicInfo.d.ts +10 -0
  591. package/serialization/types/AgentBranchBasicInfo.js +42 -0
  592. package/serialization/types/AgentBranchResponse.d.ts +24 -0
  593. package/serialization/types/AgentBranchResponse.js +56 -0
  594. package/serialization/types/AgentBranchSummary.d.ts +21 -0
  595. package/serialization/types/AgentBranchSummary.js +53 -0
  596. package/serialization/types/AgentDeploymentPercentageStrategy.d.ts +10 -0
  597. package/serialization/types/AgentDeploymentPercentageStrategy.js +42 -0
  598. package/serialization/types/AgentDeploymentRequest.d.ts +10 -0
  599. package/serialization/types/AgentDeploymentRequest.js +42 -0
  600. package/serialization/types/AgentDeploymentRequestItem.d.ts +11 -0
  601. package/serialization/types/AgentDeploymentRequestItem.js +43 -0
  602. package/serialization/types/AgentDeploymentResponse.d.ts +9 -0
  603. package/serialization/types/AgentDeploymentResponse.js +41 -0
  604. package/serialization/types/AgentVersionMetadata.d.ts +18 -0
  605. package/serialization/types/AgentVersionMetadata.js +50 -0
  606. package/serialization/types/AgentVersionParents.d.ts +12 -0
  607. package/serialization/types/AgentVersionParents.js +44 -0
  608. package/serialization/types/AlignmentGuardrail.d.ts +9 -0
  609. package/serialization/types/AlignmentGuardrail.js +41 -0
  610. package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +3 -0
  611. package/serialization/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  612. package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +3 -0
  613. package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  614. package/serialization/types/BranchProtectionStatus.d.ts +7 -0
  615. package/serialization/types/BranchProtectionStatus.js +39 -0
  616. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +2 -0
  617. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +2 -0
  618. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +2 -0
  619. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +2 -0
  620. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +2 -0
  621. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +2 -0
  622. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +2 -0
  623. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +2 -0
  624. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +2 -0
  625. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +2 -0
  626. package/serialization/types/ConversationTurnMetrics.d.ts +1 -0
  627. package/serialization/types/ConversationTurnMetrics.js +1 -0
  628. package/serialization/types/CreateAgentBranchResponseModel.d.ts +10 -0
  629. package/serialization/types/CreateAgentBranchResponseModel.js +42 -0
  630. package/serialization/types/DirectPublishingReadResponseModel.d.ts +2 -0
  631. package/serialization/types/DirectPublishingReadResponseModel.js +2 -0
  632. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  633. package/serialization/types/GetConversationResponseModel.js +1 -0
  634. package/serialization/types/GetUnitTestResponseModel.d.ts +1 -0
  635. package/serialization/types/GetUnitTestResponseModel.js +1 -0
  636. package/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +2 -0
  637. package/serialization/types/GetWorkspaceSecretsResponseModel.js +2 -0
  638. package/serialization/types/GuardrailsV1Input.d.ts +2 -0
  639. package/serialization/types/GuardrailsV1Input.js +2 -0
  640. package/serialization/types/GuardrailsV1Output.d.ts +2 -0
  641. package/serialization/types/GuardrailsV1Output.js +2 -0
  642. package/serialization/types/ListResponseAgentBranchSummary.d.ts +12 -0
  643. package/serialization/types/ListResponseAgentBranchSummary.js +44 -0
  644. package/serialization/types/NonStreamingOutputFormats.d.ts +7 -0
  645. package/serialization/types/NonStreamingOutputFormats.js +47 -0
  646. package/serialization/types/PermissionType.d.ts +1 -1
  647. package/serialization/types/PermissionType.js +7 -0
  648. package/serialization/types/ProcedureDraftRef.d.ts +9 -0
  649. package/serialization/types/ProcedureDraftRef.js +41 -0
  650. package/serialization/types/ProcedureVersionRef.d.ts +10 -0
  651. package/serialization/types/ProcedureVersionRef.js +42 -0
  652. package/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
  653. package/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
  654. package/serialization/types/ProjectExtendedResponse.d.ts +1 -0
  655. package/serialization/types/ProjectExtendedResponse.js +1 -0
  656. package/serialization/types/ProjectResponse.d.ts +1 -0
  657. package/serialization/types/ProjectResponse.js +1 -0
  658. package/serialization/types/ResponseFilterMode.d.ts +7 -0
  659. package/serialization/types/ResponseFilterMode.js +39 -0
  660. package/serialization/types/SeatType.d.ts +7 -0
  661. package/serialization/types/SeatType.js +39 -0
  662. package/serialization/types/ToolSortBy.d.ts +7 -0
  663. package/serialization/types/ToolSortBy.js +39 -0
  664. package/serialization/types/ToolTypeFilter.d.ts +7 -0
  665. package/serialization/types/ToolTypeFilter.js +39 -0
  666. package/serialization/types/ToolsResponseModel.d.ts +2 -0
  667. package/serialization/types/ToolsResponseModel.js +2 -0
  668. package/serialization/types/TurnConfig.d.ts +1 -0
  669. package/serialization/types/TurnConfig.js +1 -0
  670. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  671. package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  672. package/serialization/types/UnitTestCommonModel.d.ts +1 -0
  673. package/serialization/types/UnitTestCommonModel.js +1 -0
  674. package/serialization/types/User.d.ts +1 -0
  675. package/serialization/types/User.js +1 -0
  676. package/serialization/types/index.d.ts +20 -1
  677. package/serialization/types/index.js +20 -1
  678. package/version.d.ts +1 -1
  679. package/version.js +1 -1
  680. package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
  681. package/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -21
  682. package/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +0 -24
  683. package/api/resources/workspace/resources/invites/types/index.d.ts +0 -1
  684. package/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -5
  685. package/api/resources/workspace/resources/members/types/index.d.ts +0 -1
  686. package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -14
  687. package/api/types/ImportWhatsAppAccountResponse.d.ts +0 -3
  688. package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -13
  689. package/dist/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -21
  690. package/dist/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +0 -24
  691. package/dist/api/resources/workspace/resources/invites/types/index.d.ts +0 -1
  692. package/dist/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -5
  693. package/dist/api/resources/workspace/resources/members/types/index.d.ts +0 -1
  694. package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -14
  695. package/dist/api/types/ImportWhatsAppAccountResponse.d.ts +0 -3
  696. package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
  697. package/dist/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -7
  698. package/dist/serialization/resources/workspace/resources/invites/types/index.d.ts +0 -1
  699. package/dist/serialization/resources/workspace/resources/invites/types/index.js +0 -17
  700. package/dist/serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -7
  701. package/dist/serialization/resources/workspace/resources/members/types/index.d.ts +0 -1
  702. package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -11
  703. package/dist/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
  704. package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +0 -11
  705. package/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -7
  706. package/serialization/resources/workspace/resources/invites/types/index.d.ts +0 -1
  707. package/serialization/resources/workspace/resources/invites/types/index.js +0 -17
  708. package/serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -7
  709. package/serialization/resources/workspace/resources/members/types/index.d.ts +0 -1
  710. package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -11
  711. package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +0 -43
  712. package/serialization/types/ImportWhatsAppAccountResponse.d.ts +0 -9
  713. /package/api/resources/conversationalAi/resources/{whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js} +0 -0
  714. /package/api/resources/{workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js} +0 -0
  715. /package/api/{types/ImportWhatsAppAccountResponse.js → resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js} +0 -0
  716. /package/{dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js → api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.js} +0 -0
  717. /package/{dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js} +0 -0
  718. /package/{dist/api/types/ImportWhatsAppAccountResponse.js → api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js} +0 -0
@@ -57,24 +57,25 @@ class WhatsappAccountsClient {
57
57
  this._options = (0, BaseClient_1.normalizeClientOptions)(options);
58
58
  }
59
59
  /**
60
- * List all WhatsApp accounts
60
+ * Get a WhatsApp account
61
61
  *
62
+ * @param {string} phone_number_id
62
63
  * @param {WhatsappAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
63
64
  *
64
65
  * @throws {@link ElevenLabs.UnprocessableEntityError}
65
66
  *
66
67
  * @example
67
- * await client.conversationalAi.whatsappAccounts.list()
68
+ * await client.conversationalAi.whatsappAccounts.get("phone_number_id")
68
69
  */
69
- list(requestOptions) {
70
- return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
70
+ get(phone_number_id, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__get(phone_number_id, requestOptions));
71
72
  }
72
- __list(requestOptions) {
73
+ __get(phone_number_id, requestOptions) {
73
74
  return __awaiter(this, void 0, void 0, function* () {
74
75
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
75
76
  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);
76
77
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
77
- 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/whatsapp-accounts"),
78
+ 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/whatsapp-accounts/${core.url.encodePathParam(phone_number_id)}`),
78
79
  method: "GET",
79
80
  headers: _headers,
80
81
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -86,76 +87,7 @@ class WhatsappAccountsClient {
86
87
  });
87
88
  if (_response.ok) {
88
89
  return {
89
- data: serializers.ListWhatsAppAccountsResponse.parseOrThrow(_response.body, {
90
- unrecognizedObjectKeys: "passthrough",
91
- allowUnrecognizedUnionMembers: true,
92
- allowUnrecognizedEnumValues: true,
93
- breadcrumbsPrefix: ["response"],
94
- }),
95
- rawResponse: _response.rawResponse,
96
- };
97
- }
98
- if (_response.error.reason === "status-code") {
99
- switch (_response.error.statusCode) {
100
- case 422:
101
- throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
102
- unrecognizedObjectKeys: "passthrough",
103
- allowUnrecognizedUnionMembers: true,
104
- allowUnrecognizedEnumValues: true,
105
- breadcrumbsPrefix: ["response"],
106
- }), _response.rawResponse);
107
- default:
108
- throw new errors.ElevenLabsError({
109
- statusCode: _response.error.statusCode,
110
- body: _response.error.body,
111
- rawResponse: _response.rawResponse,
112
- });
113
- }
114
- }
115
- return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/whatsapp-accounts");
116
- });
117
- }
118
- /**
119
- * Import a WhatsApp account
120
- *
121
- * @param {ElevenLabs.conversationalAi.ImportWhatsAppAccountRequest} request
122
- * @param {WhatsappAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
123
- *
124
- * @throws {@link ElevenLabs.UnprocessableEntityError}
125
- *
126
- * @example
127
- * await client.conversationalAi.whatsappAccounts.import({
128
- * businessAccountId: "business_account_id",
129
- * phoneNumberId: "phone_number_id",
130
- * tokenCode: "token_code"
131
- * })
132
- */
133
- import(request, requestOptions) {
134
- return core.HttpResponsePromise.fromPromise(this.__import(request, requestOptions));
135
- }
136
- __import(request, requestOptions) {
137
- return __awaiter(this, void 0, void 0, function* () {
138
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
139
- 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);
140
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
141
- 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/whatsapp-accounts"),
142
- method: "POST",
143
- headers: _headers,
144
- contentType: "application/json",
145
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
146
- requestType: "json",
147
- body: serializers.conversationalAi.ImportWhatsAppAccountRequest.jsonOrThrow(request, {
148
- unrecognizedObjectKeys: "strip",
149
- }),
150
- 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,
151
- 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,
152
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
153
- fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
154
- logging: this._options.logging,
155
- });
156
- if (_response.ok) {
157
- return {
158
- data: serializers.ImportWhatsAppAccountResponse.parseOrThrow(_response.body, {
90
+ data: serializers.GetWhatsAppAccountResponse.parseOrThrow(_response.body, {
159
91
  unrecognizedObjectKeys: "passthrough",
160
92
  allowUnrecognizedUnionMembers: true,
161
93
  allowUnrecognizedEnumValues: true,
@@ -181,11 +113,11 @@ class WhatsappAccountsClient {
181
113
  });
182
114
  }
183
115
  }
184
- return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/whatsapp-accounts");
116
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/whatsapp-accounts/{phone_number_id}");
185
117
  });
186
118
  }
187
119
  /**
188
- * Get a WhatsApp account
120
+ * Delete a WhatsApp account
189
121
  *
190
122
  * @param {string} phone_number_id
191
123
  * @param {WhatsappAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -193,18 +125,18 @@ class WhatsappAccountsClient {
193
125
  * @throws {@link ElevenLabs.UnprocessableEntityError}
194
126
  *
195
127
  * @example
196
- * await client.conversationalAi.whatsappAccounts.get("phone_number_id")
128
+ * await client.conversationalAi.whatsappAccounts.delete("phone_number_id")
197
129
  */
198
- get(phone_number_id, requestOptions) {
199
- return core.HttpResponsePromise.fromPromise(this.__get(phone_number_id, requestOptions));
130
+ delete(phone_number_id, requestOptions) {
131
+ return core.HttpResponsePromise.fromPromise(this.__delete(phone_number_id, requestOptions));
200
132
  }
201
- __get(phone_number_id, requestOptions) {
133
+ __delete(phone_number_id, requestOptions) {
202
134
  return __awaiter(this, void 0, void 0, function* () {
203
135
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
204
136
  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);
205
137
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
206
138
  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/whatsapp-accounts/${core.url.encodePathParam(phone_number_id)}`),
207
- method: "GET",
139
+ method: "DELETE",
208
140
  headers: _headers,
209
141
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
210
142
  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,
@@ -214,15 +146,7 @@ class WhatsappAccountsClient {
214
146
  logging: this._options.logging,
215
147
  });
216
148
  if (_response.ok) {
217
- return {
218
- data: serializers.GetWhatsAppAccountResponse.parseOrThrow(_response.body, {
219
- unrecognizedObjectKeys: "passthrough",
220
- allowUnrecognizedUnionMembers: true,
221
- allowUnrecognizedEnumValues: true,
222
- breadcrumbsPrefix: ["response"],
223
- }),
224
- rawResponse: _response.rawResponse,
225
- };
149
+ return { data: _response.body, rawResponse: _response.rawResponse };
226
150
  }
227
151
  if (_response.error.reason === "status-code") {
228
152
  switch (_response.error.statusCode) {
@@ -241,32 +165,38 @@ class WhatsappAccountsClient {
241
165
  });
242
166
  }
243
167
  }
244
- return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/whatsapp-accounts/{phone_number_id}");
168
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/convai/whatsapp-accounts/{phone_number_id}");
245
169
  });
246
170
  }
247
171
  /**
248
- * Delete a WhatsApp account
172
+ * Update a WhatsApp account
249
173
  *
250
174
  * @param {string} phone_number_id
175
+ * @param {ElevenLabs.conversationalAi.UpdateWhatsAppAccountRequest} request
251
176
  * @param {WhatsappAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
252
177
  *
253
178
  * @throws {@link ElevenLabs.UnprocessableEntityError}
254
179
  *
255
180
  * @example
256
- * await client.conversationalAi.whatsappAccounts.delete("phone_number_id")
181
+ * await client.conversationalAi.whatsappAccounts.update("phone_number_id")
257
182
  */
258
- delete(phone_number_id, requestOptions) {
259
- return core.HttpResponsePromise.fromPromise(this.__delete(phone_number_id, requestOptions));
183
+ update(phone_number_id, request = {}, requestOptions) {
184
+ return core.HttpResponsePromise.fromPromise(this.__update(phone_number_id, request, requestOptions));
260
185
  }
261
- __delete(phone_number_id, requestOptions) {
262
- return __awaiter(this, void 0, void 0, function* () {
186
+ __update(phone_number_id_1) {
187
+ return __awaiter(this, arguments, void 0, function* (phone_number_id, request = {}, requestOptions) {
263
188
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
264
189
  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);
265
190
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
266
191
  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/whatsapp-accounts/${core.url.encodePathParam(phone_number_id)}`),
267
- method: "DELETE",
192
+ method: "PATCH",
268
193
  headers: _headers,
194
+ contentType: "application/json",
269
195
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
196
+ requestType: "json",
197
+ body: serializers.conversationalAi.UpdateWhatsAppAccountRequest.jsonOrThrow(request, {
198
+ unrecognizedObjectKeys: "strip",
199
+ }),
270
200
  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,
271
201
  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,
272
202
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -293,38 +223,31 @@ class WhatsappAccountsClient {
293
223
  });
294
224
  }
295
225
  }
296
- return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/convai/whatsapp-accounts/{phone_number_id}");
226
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/v1/convai/whatsapp-accounts/{phone_number_id}");
297
227
  });
298
228
  }
299
229
  /**
300
- * Update a WhatsApp account
230
+ * List all WhatsApp accounts
301
231
  *
302
- * @param {string} phone_number_id
303
- * @param {ElevenLabs.conversationalAi.UpdateWhatsAppAccountRequest} request
304
232
  * @param {WhatsappAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
305
233
  *
306
234
  * @throws {@link ElevenLabs.UnprocessableEntityError}
307
235
  *
308
236
  * @example
309
- * await client.conversationalAi.whatsappAccounts.update("phone_number_id")
237
+ * await client.conversationalAi.whatsappAccounts.list()
310
238
  */
311
- update(phone_number_id, request = {}, requestOptions) {
312
- return core.HttpResponsePromise.fromPromise(this.__update(phone_number_id, request, requestOptions));
239
+ list(requestOptions) {
240
+ return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
313
241
  }
314
- __update(phone_number_id_1) {
315
- return __awaiter(this, arguments, void 0, function* (phone_number_id, request = {}, requestOptions) {
242
+ __list(requestOptions) {
243
+ return __awaiter(this, void 0, void 0, function* () {
316
244
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
317
245
  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);
318
246
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
319
- 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/whatsapp-accounts/${core.url.encodePathParam(phone_number_id)}`),
320
- method: "PATCH",
247
+ 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/whatsapp-accounts"),
248
+ method: "GET",
321
249
  headers: _headers,
322
- contentType: "application/json",
323
250
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
324
- requestType: "json",
325
- body: serializers.conversationalAi.UpdateWhatsAppAccountRequest.jsonOrThrow(request, {
326
- unrecognizedObjectKeys: "strip",
327
- }),
328
251
  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,
329
252
  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,
330
253
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -332,7 +255,15 @@ class WhatsappAccountsClient {
332
255
  logging: this._options.logging,
333
256
  });
334
257
  if (_response.ok) {
335
- return { data: _response.body, rawResponse: _response.rawResponse };
258
+ return {
259
+ data: serializers.ListWhatsAppAccountsResponse.parseOrThrow(_response.body, {
260
+ unrecognizedObjectKeys: "passthrough",
261
+ allowUnrecognizedUnionMembers: true,
262
+ allowUnrecognizedEnumValues: true,
263
+ breadcrumbsPrefix: ["response"],
264
+ }),
265
+ rawResponse: _response.rawResponse,
266
+ };
336
267
  }
337
268
  if (_response.error.reason === "status-code") {
338
269
  switch (_response.error.statusCode) {
@@ -351,7 +282,7 @@ class WhatsappAccountsClient {
351
282
  });
352
283
  }
353
284
  }
354
- return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/v1/convai/whatsapp-accounts/{phone_number_id}");
285
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/whatsapp-accounts");
355
286
  });
356
287
  }
357
288
  }
@@ -1,2 +1 @@
1
- export type { ImportWhatsAppAccountRequest } from "./ImportWhatsAppAccountRequest";
2
1
  export type { UpdateWhatsAppAccountRequest } from "./UpdateWhatsAppAccountRequest";
@@ -11,7 +11,7 @@ export declare class RulesClient {
11
11
  protected readonly _options: NormalizedClientOptions<RulesClient.Options>;
12
12
  constructor(options?: RulesClient.Options);
13
13
  /**
14
- * Add rules to the pronunciation dictionary
14
+ * Add rules to the pronunciation dictionary. If a rule with the same string_to_replace already exists, it will be replaced.
15
15
  *
16
16
  * @param {string} pronunciation_dictionary_id - The id of the pronunciation dictionary
17
17
  * @param {ElevenLabs.pronunciationDictionaries.PronunciationDictionary} request
@@ -57,7 +57,7 @@ class RulesClient {
57
57
  this._options = (0, BaseClient_1.normalizeClientOptions)(options);
58
58
  }
59
59
  /**
60
- * Add rules to the pronunciation dictionary
60
+ * Add rules to the pronunciation dictionary. If a rule with the same string_to_replace already exists, it will be replaced.
61
61
  *
62
62
  * @param {string} pronunciation_dictionary_id - The id of the pronunciation dictionary
63
63
  * @param {ElevenLabs.pronunciationDictionaries.PronunciationDictionary} request
@@ -252,6 +252,9 @@ class ProjectsClient {
252
252
  _request.append("voice_settings", _item);
253
253
  }
254
254
  }
255
+ if (request.createPublishingRead != null) {
256
+ _request.append("create_publishing_read", request.createPublishingRead.toString());
257
+ }
255
258
  const _maybeEncodedRequest = yield _request.getRequest();
256
259
  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);
257
260
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
@@ -142,4 +142,6 @@ export interface BodyCreateStudioProjectV1StudioProjectsPost {
142
142
  *
143
143
  */
144
144
  voiceSettings?: string[];
145
+ /** If true, creates a corresponding read for direct publishing in draft state */
146
+ createPublishingRead?: boolean;
145
147
  }
@@ -37,7 +37,7 @@ export declare class TextToDialogueClient {
37
37
  *
38
38
  * @example
39
39
  * await client.textToDialogue.convertWithTimestamps({
40
- * outputFormat: "mp3_22050_32",
40
+ * outputFormat: "alaw_8000",
41
41
  * inputs: [{
42
42
  * text: "Hello, how are you?",
43
43
  * voiceId: "bYTqZQo3Jz7LQtmGTgwi"
@@ -80,9 +80,7 @@ class TextToDialogueClient {
80
80
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
81
81
  const _queryParams = {};
82
82
  if (outputFormat != null) {
83
- _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
84
- unrecognizedObjectKeys: "strip",
85
- });
83
+ _queryParams.output_format = serializers.TextToDialogueConvertRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
86
84
  }
87
85
  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);
88
86
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
@@ -268,7 +266,7 @@ class TextToDialogueClient {
268
266
  *
269
267
  * @example
270
268
  * await client.textToDialogue.convertWithTimestamps({
271
- * outputFormat: "mp3_22050_32",
269
+ * outputFormat: "alaw_8000",
272
270
  * inputs: [{
273
271
  * text: "Hello, how are you?",
274
272
  * voiceId: "bYTqZQo3Jz7LQtmGTgwi"
@@ -287,9 +285,7 @@ class TextToDialogueClient {
287
285
  const { outputFormat } = request, _body = __rest(request, ["outputFormat"]);
288
286
  const _queryParams = {};
289
287
  if (outputFormat != null) {
290
- _queryParams.output_format = serializers.AllowedOutputFormats.jsonOrThrow(outputFormat, {
291
- unrecognizedObjectKeys: "strip",
292
- });
288
+ _queryParams.output_format = serializers.TextToDialogueConvertWithTimestampsRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
293
289
  }
294
290
  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);
295
291
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../../../../index";
2
2
  /**
3
3
  * @example
4
4
  * {
5
- * outputFormat: "mp3_22050_32",
5
+ * outputFormat: "alaw_8000",
6
6
  * inputs: [{
7
7
  * text: "Hello, how are you?",
8
8
  * voiceId: "bYTqZQo3Jz7LQtmGTgwi"
@@ -13,9 +13,9 @@ import type * as ElevenLabs from "../../../../index";
13
13
  * }
14
14
  */
15
15
  export interface BodyTextToDialogueFullWithTimestamps {
16
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
17
- outputFormat?: ElevenLabs.AllowedOutputFormats;
18
- /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
16
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
17
+ outputFormat?: ElevenLabs.TextToDialogueConvertWithTimestampsRequestOutputFormat;
18
+ /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. */
19
19
  inputs: ElevenLabs.DialogueInput[];
20
20
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
21
21
  modelId?: string;
@@ -14,7 +14,7 @@ import type * as ElevenLabs from "../../../../index";
14
14
  export interface BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost {
15
15
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
16
16
  outputFormat?: ElevenLabs.AllowedOutputFormats;
17
- /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
17
+ /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. */
18
18
  inputs: ElevenLabs.DialogueInput[];
19
19
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
20
20
  modelId?: string;
@@ -12,9 +12,9 @@ import type * as ElevenLabs from "../../../../index";
12
12
  * }
13
13
  */
14
14
  export interface BodyTextToDialogueMultiVoiceV1TextToDialoguePost {
15
- /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
16
- outputFormat?: ElevenLabs.AllowedOutputFormats;
17
- /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
15
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
16
+ outputFormat?: ElevenLabs.TextToDialogueConvertRequestOutputFormat;
17
+ /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. */
18
18
  inputs: ElevenLabs.DialogueInput[];
19
19
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
20
20
  modelId?: string;
@@ -15,7 +15,7 @@ import type * as ElevenLabs from "../../../../index";
15
15
  export interface BodyTextToDialogueStreamWithTimestamps {
16
16
  /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
17
17
  outputFormat?: ElevenLabs.AllowedOutputFormats;
18
- /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. */
18
+ /** A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. The maximum number of unique voice IDs is 10. */
19
19
  inputs: ElevenLabs.DialogueInput[];
20
20
  /** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
21
21
  modelId?: string;
@@ -0,0 +1,32 @@
1
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
2
+ export declare const TextToDialogueConvertRequestOutputFormat: {
3
+ readonly Alaw8000: "alaw_8000";
4
+ readonly Mp32205032: "mp3_22050_32";
5
+ readonly Mp32400048: "mp3_24000_48";
6
+ readonly Mp344100128: "mp3_44100_128";
7
+ readonly Mp344100192: "mp3_44100_192";
8
+ readonly Mp34410032: "mp3_44100_32";
9
+ readonly Mp34410064: "mp3_44100_64";
10
+ readonly Mp34410096: "mp3_44100_96";
11
+ readonly Opus48000128: "opus_48000_128";
12
+ readonly Opus48000192: "opus_48000_192";
13
+ readonly Opus4800032: "opus_48000_32";
14
+ readonly Opus4800064: "opus_48000_64";
15
+ readonly Opus4800096: "opus_48000_96";
16
+ readonly Pcm16000: "pcm_16000";
17
+ readonly Pcm22050: "pcm_22050";
18
+ readonly Pcm24000: "pcm_24000";
19
+ readonly Pcm32000: "pcm_32000";
20
+ readonly Pcm44100: "pcm_44100";
21
+ readonly Pcm48000: "pcm_48000";
22
+ readonly Pcm8000: "pcm_8000";
23
+ readonly Ulaw8000: "ulaw_8000";
24
+ readonly Wav16000: "wav_16000";
25
+ readonly Wav22050: "wav_22050";
26
+ readonly Wav24000: "wav_24000";
27
+ readonly Wav32000: "wav_32000";
28
+ readonly Wav44100: "wav_44100";
29
+ readonly Wav48000: "wav_48000";
30
+ readonly Wav8000: "wav_8000";
31
+ };
32
+ export type TextToDialogueConvertRequestOutputFormat = (typeof TextToDialogueConvertRequestOutputFormat)[keyof typeof TextToDialogueConvertRequestOutputFormat];
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.TextToDialogueConvertRequestOutputFormat = void 0;
5
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
6
+ exports.TextToDialogueConvertRequestOutputFormat = {
7
+ Alaw8000: "alaw_8000",
8
+ Mp32205032: "mp3_22050_32",
9
+ Mp32400048: "mp3_24000_48",
10
+ Mp344100128: "mp3_44100_128",
11
+ Mp344100192: "mp3_44100_192",
12
+ Mp34410032: "mp3_44100_32",
13
+ Mp34410064: "mp3_44100_64",
14
+ Mp34410096: "mp3_44100_96",
15
+ Opus48000128: "opus_48000_128",
16
+ Opus48000192: "opus_48000_192",
17
+ Opus4800032: "opus_48000_32",
18
+ Opus4800064: "opus_48000_64",
19
+ Opus4800096: "opus_48000_96",
20
+ Pcm16000: "pcm_16000",
21
+ Pcm22050: "pcm_22050",
22
+ Pcm24000: "pcm_24000",
23
+ Pcm32000: "pcm_32000",
24
+ Pcm44100: "pcm_44100",
25
+ Pcm48000: "pcm_48000",
26
+ Pcm8000: "pcm_8000",
27
+ Ulaw8000: "ulaw_8000",
28
+ Wav16000: "wav_16000",
29
+ Wav22050: "wav_22050",
30
+ Wav24000: "wav_24000",
31
+ Wav32000: "wav_32000",
32
+ Wav44100: "wav_44100",
33
+ Wav48000: "wav_48000",
34
+ Wav8000: "wav_8000",
35
+ };
@@ -0,0 +1,32 @@
1
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
2
+ export declare const TextToDialogueConvertWithTimestampsRequestOutputFormat: {
3
+ readonly Alaw8000: "alaw_8000";
4
+ readonly Mp32205032: "mp3_22050_32";
5
+ readonly Mp32400048: "mp3_24000_48";
6
+ readonly Mp344100128: "mp3_44100_128";
7
+ readonly Mp344100192: "mp3_44100_192";
8
+ readonly Mp34410032: "mp3_44100_32";
9
+ readonly Mp34410064: "mp3_44100_64";
10
+ readonly Mp34410096: "mp3_44100_96";
11
+ readonly Opus48000128: "opus_48000_128";
12
+ readonly Opus48000192: "opus_48000_192";
13
+ readonly Opus4800032: "opus_48000_32";
14
+ readonly Opus4800064: "opus_48000_64";
15
+ readonly Opus4800096: "opus_48000_96";
16
+ readonly Pcm16000: "pcm_16000";
17
+ readonly Pcm22050: "pcm_22050";
18
+ readonly Pcm24000: "pcm_24000";
19
+ readonly Pcm32000: "pcm_32000";
20
+ readonly Pcm44100: "pcm_44100";
21
+ readonly Pcm48000: "pcm_48000";
22
+ readonly Pcm8000: "pcm_8000";
23
+ readonly Ulaw8000: "ulaw_8000";
24
+ readonly Wav16000: "wav_16000";
25
+ readonly Wav22050: "wav_22050";
26
+ readonly Wav24000: "wav_24000";
27
+ readonly Wav32000: "wav_32000";
28
+ readonly Wav44100: "wav_44100";
29
+ readonly Wav48000: "wav_48000";
30
+ readonly Wav8000: "wav_8000";
31
+ };
32
+ export type TextToDialogueConvertWithTimestampsRequestOutputFormat = (typeof TextToDialogueConvertWithTimestampsRequestOutputFormat)[keyof typeof TextToDialogueConvertWithTimestampsRequestOutputFormat];
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.TextToDialogueConvertWithTimestampsRequestOutputFormat = void 0;
5
+ /** Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM and WAV formats with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs. */
6
+ exports.TextToDialogueConvertWithTimestampsRequestOutputFormat = {
7
+ Alaw8000: "alaw_8000",
8
+ Mp32205032: "mp3_22050_32",
9
+ Mp32400048: "mp3_24000_48",
10
+ Mp344100128: "mp3_44100_128",
11
+ Mp344100192: "mp3_44100_192",
12
+ Mp34410032: "mp3_44100_32",
13
+ Mp34410064: "mp3_44100_64",
14
+ Mp34410096: "mp3_44100_96",
15
+ Opus48000128: "opus_48000_128",
16
+ Opus48000192: "opus_48000_192",
17
+ Opus4800032: "opus_48000_32",
18
+ Opus4800064: "opus_48000_64",
19
+ Opus4800096: "opus_48000_96",
20
+ Pcm16000: "pcm_16000",
21
+ Pcm22050: "pcm_22050",
22
+ Pcm24000: "pcm_24000",
23
+ Pcm32000: "pcm_32000",
24
+ Pcm44100: "pcm_44100",
25
+ Pcm48000: "pcm_48000",
26
+ Pcm8000: "pcm_8000",
27
+ Ulaw8000: "ulaw_8000",
28
+ Wav16000: "wav_16000",
29
+ Wav22050: "wav_22050",
30
+ Wav24000: "wav_24000",
31
+ Wav32000: "wav_32000",
32
+ Wav44100: "wav_44100",
33
+ Wav48000: "wav_48000",
34
+ Wav8000: "wav_8000",
35
+ };
@@ -2,3 +2,5 @@ export * from "./BodyTextToDialogueFullWithTimestampsApplyTextNormalization";
2
2
  export * from "./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
3
3
  export * from "./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
4
4
  export * from "./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization";
5
+ export * from "./TextToDialogueConvertRequestOutputFormat";
6
+ export * from "./TextToDialogueConvertWithTimestampsRequestOutputFormat";
@@ -18,3 +18,5 @@ __exportStar(require("./BodyTextToDialogueFullWithTimestampsApplyTextNormalizati
18
18
  __exportStar(require("./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization"), exports);
19
19
  __exportStar(require("./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization"), exports);
20
20
  __exportStar(require("./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization"), exports);
21
+ __exportStar(require("./TextToDialogueConvertRequestOutputFormat"), exports);
22
+ __exportStar(require("./TextToDialogueConvertWithTimestampsRequestOutputFormat"), exports);
@@ -35,6 +35,6 @@ export interface VoiceDesignRequestModel {
35
35
  quality?: number;
36
36
  /** Reference audio to use for the voice generation. The audio should be base64 encoded. Only supported when using the eleven_ttv_v3 model. */
37
37
  referenceAudioBase64?: string;
38
- /** Controls the balance of prompt versus reference audio when generating voice samples. 0 means almost no prompt influence, 1 means almost no reference audio influence. Only supported when using the eleven_ttv_v3 model and providing reference audio. */
38
+ /** Controls the balance of prompt versus reference audio when generating voice samples. 0 means almost no prompt influence, 1 means almost no reference audio influence. Only supported when using the eleven_ttv_v3 model. */
39
39
  promptStrength?: number;
40
40
  }
@@ -27,6 +27,6 @@ export interface VoiceRemixRequestModel {
27
27
  remixingSessionId?: string;
28
28
  /** The id of the remixing session iteration where these generations should be attached to. If not provided, a new iteration will be created. */
29
29
  remixingSessionIterationId?: string;
30
- /** Controls the balance of prompt versus reference audio when generating voice samples. 0 means almost no prompt influence, 1 means almost no reference audio influence. Only supported when using the eleven_ttv_v3 model and providing reference audio. */
30
+ /** Controls the balance of prompt versus reference audio when generating voice samples. 0 means almost no prompt influence, 1 means almost no reference audio influence. Only supported when using the eleven_ttv_v3 model. */
31
31
  promptStrength?: number;
32
32
  }