@elevenlabs/elevenlabs-js 2.31.0 → 2.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (965) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/BaseClient.js +2 -2
  3. package/Client.d.ts +10 -0
  4. package/Client.js +39 -0
  5. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +12 -0
  6. package/api/resources/conversationalAi/resources/agents/client/Client.js +28 -8
  7. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +94 -0
  8. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +399 -0
  9. package/api/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  10. package/{dist/serialization/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/branches/client}/index.js +1 -1
  11. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +23 -0
  12. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +12 -0
  13. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
  14. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +3 -0
  15. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.d.ts +13 -0
  16. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.js +3 -0
  17. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +4 -0
  18. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +2 -0
  19. package/api/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  20. package/{serialization/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/branches}/index.js +1 -1
  21. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.d.ts +37 -0
  22. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +134 -0
  23. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  24. package/{dist/api/resources/workspace/resources/members/types → api/resources/conversationalAi/resources/agents/resources/deployments/client}/index.js +1 -1
  25. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +19 -0
  26. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +3 -0
  27. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  28. package/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +2 -0
  29. package/api/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  30. package/api/resources/{workspace/resources/members/types → conversationalAi/resources/agents/resources/deployments}/index.js +1 -1
  31. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.d.ts +197 -0
  32. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +342 -0
  33. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  34. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  35. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +173 -0
  36. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +3 -0
  37. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.d.ts +10 -0
  38. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.js +3 -0
  39. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +2 -0
  40. package/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +2 -0
  41. package/api/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  42. package/api/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  43. package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +9 -0
  44. package/api/resources/conversationalAi/resources/agents/resources/index.js +10 -1
  45. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +26 -0
  46. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +130 -0
  47. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
  48. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +17 -0
  49. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +8 -0
  50. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.js +3 -0
  51. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.d.ts +1 -0
  52. package/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.js +2 -0
  53. package/api/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
  54. package/api/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
  55. package/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +10 -0
  56. package/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js +3 -0
  57. package/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
  58. package/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
  59. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +13 -0
  60. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +52 -0
  61. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +6 -3
  62. package/api/resources/conversationalAi/resources/conversations/client/Client.js +18 -6
  63. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -1
  64. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +4 -1
  65. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  66. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +44 -0
  67. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +178 -0
  68. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +12 -0
  69. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +3 -0
  70. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +12 -0
  71. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +3 -0
  72. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +8 -0
  73. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +3 -0
  74. package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  75. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +10 -2
  76. package/api/resources/conversationalAi/resources/tools/client/Client.js +44 -6
  77. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +28 -0
  78. package/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.js +3 -0
  79. package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  80. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
  81. package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +1 -1
  82. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +1 -1
  83. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
  84. package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
  85. package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
  86. package/api/resources/speechToText/client/Client.d.ts +1 -1
  87. package/api/resources/speechToText/client/Client.js +4 -2
  88. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -4
  89. package/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +6 -0
  90. package/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +9 -0
  91. package/api/resources/speechToText/types/index.d.ts +1 -0
  92. package/api/resources/speechToText/types/index.js +1 -0
  93. package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +4 -4
  94. package/api/resources/studio/resources/projects/client/Client.js +6 -1
  95. package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +7 -5
  96. package/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +14 -0
  97. package/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js +17 -0
  98. package/api/resources/studio/resources/projects/types/index.d.ts +1 -0
  99. package/api/resources/studio/resources/projects/types/index.js +1 -0
  100. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +4 -4
  101. package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +4 -4
  102. package/api/resources/textToSpeech/client/Client.d.ts +1 -1
  103. package/api/resources/textToSpeech/client/Client.js +1 -1
  104. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
  105. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +2 -2
  106. package/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +17 -10
  107. package/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +17 -10
  108. package/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +17 -10
  109. package/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +17 -10
  110. package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
  111. package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
  112. package/api/resources/voices/client/Client.js +7 -1
  113. package/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +3 -2
  114. package/api/resources/voices/resources/index.d.ts +1 -0
  115. package/api/resources/voices/resources/index.js +1 -0
  116. package/api/resources/voices/resources/ivc/client/Client.js +7 -1
  117. package/api/resources/voices/resources/ivc/client/requests/BodyAddVoiceV1VoicesAddPost.d.ts +3 -2
  118. package/api/resources/voices/resources/ivc/index.d.ts +1 -0
  119. package/api/resources/voices/resources/ivc/index.js +1 -0
  120. package/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +4 -0
  121. package/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js +3 -0
  122. package/api/resources/voices/resources/ivc/types/index.d.ts +1 -0
  123. package/api/resources/voices/resources/ivc/types/index.js +17 -0
  124. package/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  125. package/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  126. package/api/resources/voices/types/VoicesUpdateRequestLabels.d.ts +4 -0
  127. package/api/resources/voices/types/VoicesUpdateRequestLabels.js +3 -0
  128. package/api/resources/voices/types/index.d.ts +1 -0
  129. package/api/resources/voices/types/index.js +1 -0
  130. package/api/resources/workspace/resources/index.d.ts +0 -2
  131. package/api/resources/workspace/resources/index.js +0 -2
  132. package/api/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +4 -2
  133. package/api/resources/workspace/resources/invites/index.d.ts +0 -1
  134. package/api/resources/workspace/resources/invites/index.js +0 -1
  135. package/api/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +4 -2
  136. package/api/resources/workspace/resources/members/index.d.ts +0 -1
  137. package/api/resources/workspace/resources/members/index.js +0 -1
  138. package/api/resources/workspace/resources/resources/client/Client.d.ts +0 -17
  139. package/api/resources/workspace/resources/resources/client/Client.js +0 -59
  140. package/api/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  141. package/api/types/AddKnowledgeBaseResponseModel.d.ts +3 -0
  142. package/api/types/AgentBranchBasicInfo.d.ts +4 -0
  143. package/api/types/AgentBranchBasicInfo.js +3 -0
  144. package/api/types/AgentBranchResponse.d.ts +19 -0
  145. package/api/types/AgentBranchResponse.js +3 -0
  146. package/api/types/AgentBranchSummary.d.ts +17 -0
  147. package/api/types/AgentBranchSummary.js +3 -0
  148. package/api/types/AgentDeploymentPercentageStrategy.d.ts +5 -0
  149. package/api/types/AgentDeploymentPercentageStrategy.js +3 -0
  150. package/api/types/AgentDeploymentRequest.d.ts +5 -0
  151. package/api/types/AgentDeploymentRequest.js +3 -0
  152. package/api/types/AgentDeploymentRequestItem.d.ts +6 -0
  153. package/api/types/AgentDeploymentRequestItem.js +3 -0
  154. package/api/types/AgentDeploymentResponse.d.ts +4 -0
  155. package/api/types/AgentDeploymentResponse.js +3 -0
  156. package/api/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +4 -0
  157. package/api/types/AgentSummaryBatchSuccessfulResponseModel.js +3 -0
  158. package/api/types/AgentVersionMetadata.d.ts +11 -0
  159. package/api/types/AgentVersionMetadata.js +3 -0
  160. package/api/types/AgentVersionParents.d.ts +6 -0
  161. package/api/types/AgentVersionParents.js +3 -0
  162. package/api/types/BranchProtectionStatus.d.ts +5 -0
  163. package/api/types/BranchProtectionStatus.js +8 -0
  164. package/api/types/Contributor.d.ts +4 -0
  165. package/api/types/Contributor.js +3 -0
  166. package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
  167. package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  168. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  169. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  170. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  171. package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  172. package/api/types/CreateAgentBranchResponseModel.d.ts +6 -0
  173. package/api/types/CreateAgentBranchResponseModel.js +3 -0
  174. package/api/types/CustomSipHeader.d.ts +9 -0
  175. package/api/types/CustomSipHeader.js +3 -0
  176. package/api/types/CustomSipHeaderWithDynamicVariable.d.ts +11 -0
  177. package/api/types/CustomSipHeaderWithDynamicVariable.js +3 -0
  178. package/api/types/DirectPublishingReadResponseModel.d.ts +51 -0
  179. package/api/types/DirectPublishingReadResponseModel.js +3 -0
  180. package/api/types/DirectPublishingReadResponseModelDisplayMode.d.ts +6 -0
  181. package/api/types/DirectPublishingReadResponseModelDisplayMode.js +9 -0
  182. package/api/types/DirectPublishingReadResponseModelGenreItem.d.ts +35 -0
  183. package/api/types/DirectPublishingReadResponseModelGenreItem.js +38 -0
  184. package/api/types/DirectPublishingReadResponseModelPayoutType.d.ts +6 -0
  185. package/api/types/DirectPublishingReadResponseModelPayoutType.js +9 -0
  186. package/api/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
  187. package/api/types/DirectPublishingReadResponseModelTargetAudience.js +10 -0
  188. package/api/types/DubbingMetadataResponse.d.ts +6 -4
  189. package/api/types/DubbingModel.d.ts +1 -0
  190. package/api/types/DubbingModel.js +1 -0
  191. package/api/types/GetConversationResponseModel.d.ts +1 -0
  192. package/api/types/InvoiceResponse.d.ts +3 -1
  193. package/api/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +10 -0
  194. package/api/types/InvoiceResponseModelPaymentIntentStatussesItem.js +13 -0
  195. package/api/types/ListResponseAgentBranchSummary.d.ts +5 -0
  196. package/api/types/ListResponseAgentBranchSummary.js +3 -0
  197. package/api/types/LiteralJsonSchemaProperty.d.ts +7 -4
  198. package/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
  199. package/api/{resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts → types/PermissionType.d.ts} +9 -2
  200. package/{dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js → api/types/PermissionType.js} +9 -2
  201. package/api/types/PhoneNumberTransfer.d.ts +2 -0
  202. package/api/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +10 -0
  203. package/api/types/PhoneNumberTransferCustomSipHeadersItem.js +3 -0
  204. package/api/types/PreviewAudioDbModel.d.ts +7 -0
  205. package/api/types/PreviewAudioDbModel.js +3 -0
  206. package/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
  207. package/api/types/ProjectCreationMetaResponseModelType.js +1 -0
  208. package/api/types/ProjectExtendedResponse.d.ts +4 -0
  209. package/api/types/ProjectResponse.d.ts +2 -0
  210. package/api/types/ReadLegalTerms.d.ts +5 -0
  211. package/api/types/ReadLegalTerms.js +3 -0
  212. package/api/types/ReadMetadataChapterDbModel.d.ts +10 -0
  213. package/api/types/ReadMetadataChapterDbModel.js +3 -0
  214. package/api/types/ReviewResponseModel.d.ts +9 -0
  215. package/api/types/ReviewResponseModel.js +3 -0
  216. package/api/types/ReviewResponseModelRejectReasonsItem.d.ts +21 -0
  217. package/api/types/ReviewResponseModelRejectReasonsItem.js +24 -0
  218. package/api/types/ReviewResponseModelReviewStatus.d.ts +6 -0
  219. package/api/types/ReviewResponseModelReviewStatus.js +9 -0
  220. package/api/types/SampleConfigDbModel.d.ts +7 -0
  221. package/api/types/SampleConfigDbModel.js +3 -0
  222. package/api/types/SampleConfigDbModelParentType.d.ts +5 -0
  223. package/api/types/SampleConfigDbModelParentType.js +8 -0
  224. package/api/types/SeatType.d.ts +5 -0
  225. package/{dist/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → api/types/SeatType.js} +2 -2
  226. package/api/types/SongMetadata.d.ts +4 -0
  227. package/api/types/SpellingPatience.d.ts +6 -0
  228. package/api/types/SpellingPatience.js +9 -0
  229. package/api/types/ToolSortBy.d.ts +5 -0
  230. package/api/types/ToolSortBy.js +8 -0
  231. package/api/types/ToolTypeFilter.d.ts +6 -0
  232. package/api/types/ToolTypeFilter.js +9 -0
  233. package/api/types/ToolsResponseModel.d.ts +2 -0
  234. package/api/types/TurnConfig.d.ts +2 -0
  235. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  236. package/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  237. package/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +10 -0
  238. package/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +3 -0
  239. package/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  240. package/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +10 -0
  241. package/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +3 -0
  242. package/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -1
  243. package/api/types/index.d.ts +38 -1
  244. package/api/types/index.js +38 -1
  245. package/dist/BaseClient.js +2 -2
  246. package/dist/Client.d.ts +10 -0
  247. package/dist/Client.js +39 -0
  248. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +12 -0
  249. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +28 -8
  250. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +94 -0
  251. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +399 -0
  252. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  253. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
  254. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +23 -0
  255. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +3 -0
  256. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +12 -0
  257. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +3 -0
  258. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
  259. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +3 -0
  260. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.d.ts +13 -0
  261. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesListRequest.js +3 -0
  262. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +4 -0
  263. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +2 -0
  264. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  265. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
  266. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.d.ts +37 -0
  267. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/Client.js +134 -0
  268. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  269. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
  270. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +19 -0
  271. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +3 -0
  272. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  273. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +2 -0
  274. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  275. package/dist/api/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
  276. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.d.ts +197 -0
  277. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/Client.js +342 -0
  278. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  279. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  280. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +173 -0
  281. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +3 -0
  282. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.d.ts +10 -0
  283. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/DraftsDeleteRequest.js +3 -0
  284. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +2 -0
  285. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +2 -0
  286. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  287. package/dist/api/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  288. package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +9 -0
  289. package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +10 -1
  290. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.d.ts +26 -0
  291. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/Client.js +130 -0
  292. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
  293. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +17 -0
  294. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.d.ts +8 -0
  295. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/SummariesGetRequest.js +3 -0
  296. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.d.ts +1 -0
  297. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/client/requests/index.js +2 -0
  298. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
  299. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
  300. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +10 -0
  301. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js +3 -0
  302. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
  303. package/dist/api/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
  304. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +13 -0
  305. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +52 -0
  306. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +6 -3
  307. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +18 -6
  308. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -1
  309. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +4 -1
  310. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  311. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +44 -0
  312. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +178 -0
  313. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +12 -0
  314. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +3 -0
  315. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +12 -0
  316. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +3 -0
  317. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +8 -0
  318. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +3 -0
  319. package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  320. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +10 -2
  321. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +44 -6
  322. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.d.ts +28 -0
  323. package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsListRequest.js +3 -0
  324. package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
  325. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
  326. package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +1 -1
  327. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +1 -1
  328. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +1 -1
  329. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
  330. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
  331. package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
  332. package/dist/api/resources/speechToText/client/Client.js +4 -2
  333. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -4
  334. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +6 -0
  335. package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +9 -0
  336. package/dist/api/resources/speechToText/types/index.d.ts +1 -0
  337. package/dist/api/resources/speechToText/types/index.js +1 -0
  338. package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +4 -4
  339. package/dist/api/resources/studio/resources/projects/client/Client.js +6 -1
  340. package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +7 -5
  341. package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +14 -0
  342. package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js +17 -0
  343. package/dist/api/resources/studio/resources/projects/types/index.d.ts +1 -0
  344. package/dist/api/resources/studio/resources/projects/types/index.js +1 -0
  345. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +4 -4
  346. package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +4 -4
  347. package/dist/api/resources/textToSpeech/client/Client.d.ts +1 -1
  348. package/dist/api/resources/textToSpeech/client/Client.js +1 -1
  349. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
  350. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +2 -2
  351. package/dist/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +17 -10
  352. package/dist/api/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +17 -10
  353. package/dist/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +17 -10
  354. package/dist/api/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +17 -10
  355. package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
  356. package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
  357. package/dist/api/resources/voices/client/Client.js +7 -1
  358. package/dist/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +3 -2
  359. package/dist/api/resources/voices/resources/index.d.ts +1 -0
  360. package/dist/api/resources/voices/resources/index.js +1 -0
  361. package/dist/api/resources/voices/resources/ivc/client/Client.js +7 -1
  362. package/dist/api/resources/voices/resources/ivc/client/requests/BodyAddVoiceV1VoicesAddPost.d.ts +3 -2
  363. package/dist/api/resources/voices/resources/ivc/index.d.ts +1 -0
  364. package/dist/api/resources/voices/resources/ivc/index.js +1 -0
  365. package/dist/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +4 -0
  366. package/dist/api/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js +3 -0
  367. package/dist/api/resources/voices/resources/ivc/types/index.d.ts +1 -0
  368. package/dist/api/resources/voices/resources/ivc/types/index.js +17 -0
  369. package/dist/api/resources/voices/resources/pvc/client/requests/BodyEditPvcVoiceV1VoicesPvcVoiceIdPost.d.ts +1 -1
  370. package/dist/api/resources/voices/resources/pvc/client/requests/CreatePvcVoiceRequest.d.ts +1 -1
  371. package/dist/api/resources/voices/types/VoicesUpdateRequestLabels.d.ts +4 -0
  372. package/dist/api/resources/voices/types/VoicesUpdateRequestLabels.js +3 -0
  373. package/dist/api/resources/voices/types/index.d.ts +1 -0
  374. package/dist/api/resources/voices/types/index.js +1 -0
  375. package/dist/api/resources/workspace/resources/index.d.ts +0 -2
  376. package/dist/api/resources/workspace/resources/index.js +0 -2
  377. package/dist/api/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +4 -2
  378. package/dist/api/resources/workspace/resources/invites/index.d.ts +0 -1
  379. package/dist/api/resources/workspace/resources/invites/index.js +0 -1
  380. package/dist/api/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +4 -2
  381. package/dist/api/resources/workspace/resources/members/index.d.ts +0 -1
  382. package/dist/api/resources/workspace/resources/members/index.js +0 -1
  383. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +0 -17
  384. package/dist/api/resources/workspace/resources/resources/client/Client.js +0 -59
  385. package/dist/api/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  386. package/dist/api/types/AddKnowledgeBaseResponseModel.d.ts +3 -0
  387. package/dist/api/types/AgentBranchBasicInfo.d.ts +4 -0
  388. package/dist/api/types/AgentBranchBasicInfo.js +3 -0
  389. package/dist/api/types/AgentBranchResponse.d.ts +19 -0
  390. package/dist/api/types/AgentBranchResponse.js +3 -0
  391. package/dist/api/types/AgentBranchSummary.d.ts +17 -0
  392. package/dist/api/types/AgentBranchSummary.js +3 -0
  393. package/dist/api/types/AgentDeploymentPercentageStrategy.d.ts +5 -0
  394. package/dist/api/types/AgentDeploymentPercentageStrategy.js +3 -0
  395. package/dist/api/types/AgentDeploymentRequest.d.ts +5 -0
  396. package/dist/api/types/AgentDeploymentRequest.js +3 -0
  397. package/dist/api/types/AgentDeploymentRequestItem.d.ts +6 -0
  398. package/dist/api/types/AgentDeploymentRequestItem.js +3 -0
  399. package/dist/api/types/AgentDeploymentResponse.d.ts +4 -0
  400. package/dist/api/types/AgentDeploymentResponse.js +3 -0
  401. package/dist/api/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +4 -0
  402. package/dist/api/types/AgentSummaryBatchSuccessfulResponseModel.js +3 -0
  403. package/dist/api/types/AgentVersionMetadata.d.ts +11 -0
  404. package/dist/api/types/AgentVersionMetadata.js +3 -0
  405. package/dist/api/types/AgentVersionParents.d.ts +6 -0
  406. package/dist/api/types/AgentVersionParents.js +3 -0
  407. package/dist/api/types/BranchProtectionStatus.d.ts +5 -0
  408. package/dist/api/types/BranchProtectionStatus.js +8 -0
  409. package/dist/api/types/Contributor.d.ts +4 -0
  410. package/dist/api/types/Contributor.js +3 -0
  411. package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
  412. package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  413. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  414. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  415. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  416. package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  417. package/dist/api/types/CreateAgentBranchResponseModel.d.ts +6 -0
  418. package/dist/api/types/CreateAgentBranchResponseModel.js +3 -0
  419. package/dist/api/types/CustomSipHeader.d.ts +9 -0
  420. package/dist/api/types/CustomSipHeader.js +3 -0
  421. package/dist/api/types/CustomSipHeaderWithDynamicVariable.d.ts +11 -0
  422. package/dist/api/types/CustomSipHeaderWithDynamicVariable.js +3 -0
  423. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +51 -0
  424. package/dist/api/types/DirectPublishingReadResponseModel.js +3 -0
  425. package/dist/api/types/DirectPublishingReadResponseModelDisplayMode.d.ts +6 -0
  426. package/dist/api/types/DirectPublishingReadResponseModelDisplayMode.js +9 -0
  427. package/dist/api/types/DirectPublishingReadResponseModelGenreItem.d.ts +35 -0
  428. package/dist/api/types/DirectPublishingReadResponseModelGenreItem.js +38 -0
  429. package/dist/api/types/DirectPublishingReadResponseModelPayoutType.d.ts +6 -0
  430. package/dist/api/types/DirectPublishingReadResponseModelPayoutType.js +9 -0
  431. package/dist/api/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
  432. package/dist/api/types/DirectPublishingReadResponseModelTargetAudience.js +10 -0
  433. package/dist/api/types/DubbingMetadataResponse.d.ts +6 -4
  434. package/dist/api/types/DubbingModel.d.ts +1 -0
  435. package/dist/api/types/DubbingModel.js +1 -0
  436. package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
  437. package/dist/api/types/InvoiceResponse.d.ts +3 -1
  438. package/dist/api/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +10 -0
  439. package/dist/api/types/InvoiceResponseModelPaymentIntentStatussesItem.js +13 -0
  440. package/dist/api/types/ListResponseAgentBranchSummary.d.ts +5 -0
  441. package/dist/api/types/ListResponseAgentBranchSummary.js +3 -0
  442. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +7 -4
  443. package/dist/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
  444. package/dist/api/{resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts → types/PermissionType.d.ts} +9 -2
  445. package/{api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js → dist/api/types/PermissionType.js} +9 -2
  446. package/dist/api/types/PhoneNumberTransfer.d.ts +2 -0
  447. package/dist/api/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +10 -0
  448. package/dist/api/types/PhoneNumberTransferCustomSipHeadersItem.js +3 -0
  449. package/dist/api/types/PreviewAudioDbModel.d.ts +7 -0
  450. package/dist/api/types/PreviewAudioDbModel.js +3 -0
  451. package/dist/api/types/ProjectCreationMetaResponseModelType.d.ts +1 -0
  452. package/dist/api/types/ProjectCreationMetaResponseModelType.js +1 -0
  453. package/dist/api/types/ProjectExtendedResponse.d.ts +4 -0
  454. package/dist/api/types/ProjectResponse.d.ts +2 -0
  455. package/dist/api/types/ReadLegalTerms.d.ts +5 -0
  456. package/dist/api/types/ReadLegalTerms.js +3 -0
  457. package/dist/api/types/ReadMetadataChapterDbModel.d.ts +10 -0
  458. package/dist/api/types/ReadMetadataChapterDbModel.js +3 -0
  459. package/dist/api/types/ReviewResponseModel.d.ts +9 -0
  460. package/dist/api/types/ReviewResponseModel.js +3 -0
  461. package/dist/api/types/ReviewResponseModelRejectReasonsItem.d.ts +21 -0
  462. package/dist/api/types/ReviewResponseModelRejectReasonsItem.js +24 -0
  463. package/dist/api/types/ReviewResponseModelReviewStatus.d.ts +6 -0
  464. package/dist/api/types/ReviewResponseModelReviewStatus.js +9 -0
  465. package/dist/api/types/SampleConfigDbModel.d.ts +7 -0
  466. package/dist/api/types/SampleConfigDbModel.js +3 -0
  467. package/dist/api/types/SampleConfigDbModelParentType.d.ts +5 -0
  468. package/dist/api/types/SampleConfigDbModelParentType.js +8 -0
  469. package/dist/api/types/SeatType.d.ts +5 -0
  470. package/{api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → dist/api/types/SeatType.js} +2 -2
  471. package/dist/api/types/SongMetadata.d.ts +4 -0
  472. package/dist/api/types/SpellingPatience.d.ts +6 -0
  473. package/dist/api/types/SpellingPatience.js +9 -0
  474. package/dist/api/types/ToolSortBy.d.ts +5 -0
  475. package/dist/api/types/ToolSortBy.js +8 -0
  476. package/dist/api/types/ToolTypeFilter.d.ts +6 -0
  477. package/dist/api/types/ToolTypeFilter.js +9 -0
  478. package/dist/api/types/ToolsResponseModel.d.ts +2 -0
  479. package/dist/api/types/TurnConfig.d.ts +2 -0
  480. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  481. package/dist/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  482. package/dist/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +10 -0
  483. package/dist/api/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +3 -0
  484. package/dist/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  485. package/dist/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +10 -0
  486. package/dist/api/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +3 -0
  487. package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +2 -1
  488. package/dist/api/types/index.d.ts +38 -1
  489. package/dist/api/types/index.js +38 -1
  490. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  491. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
  492. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +15 -0
  493. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +47 -0
  494. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +9 -0
  495. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +41 -0
  496. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
  497. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +43 -0
  498. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +3 -0
  499. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +9 -0
  500. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  501. package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
  502. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  503. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
  504. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +10 -0
  505. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +42 -0
  506. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  507. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +5 -0
  508. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  509. package/dist/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
  510. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  511. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  512. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +14 -0
  513. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +46 -0
  514. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +1 -0
  515. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +5 -0
  516. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  517. package/dist/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  518. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +8 -0
  519. package/dist/serialization/resources/conversationalAi/resources/agents/resources/index.js +9 -1
  520. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.d.ts +8 -0
  521. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.js +40 -0
  522. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
  523. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +37 -0
  524. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
  525. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
  526. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +15 -0
  527. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js +49 -0
  528. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
  529. package/dist/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
  530. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +10 -0
  531. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +42 -0
  532. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +10 -0
  533. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +42 -0
  534. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +9 -0
  535. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +41 -0
  536. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  537. package/dist/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.js +7 -1
  538. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +2 -2
  539. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +2 -2
  540. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +2 -2
  541. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +2 -2
  542. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
  543. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
  544. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +7 -0
  545. package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +39 -0
  546. package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
  547. package/dist/serialization/resources/speechToText/types/index.js +1 -0
  548. package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +7 -0
  549. package/{serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js} +2 -2
  550. package/dist/serialization/resources/studio/resources/projects/types/index.d.ts +1 -0
  551. package/dist/serialization/resources/studio/resources/projects/types/index.js +1 -0
  552. package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +1 -1
  553. package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +16 -9
  554. package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +1 -1
  555. package/dist/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +16 -9
  556. package/dist/serialization/resources/voices/resources/index.d.ts +2 -0
  557. package/dist/serialization/resources/voices/resources/index.js +3 -1
  558. package/dist/serialization/resources/voices/resources/ivc/index.d.ts +1 -0
  559. package/dist/serialization/resources/voices/resources/ivc/index.js +17 -0
  560. package/dist/serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +7 -0
  561. package/{serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js → dist/serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js} +4 -20
  562. package/dist/serialization/resources/voices/resources/ivc/types/index.d.ts +1 -0
  563. package/dist/serialization/resources/voices/resources/ivc/types/index.js +17 -0
  564. package/dist/serialization/resources/voices/types/VoicesUpdateRequestLabels.d.ts +7 -0
  565. package/dist/serialization/resources/voices/types/VoicesUpdateRequestLabels.js +42 -0
  566. package/dist/serialization/resources/voices/types/index.d.ts +1 -0
  567. package/dist/serialization/resources/voices/types/index.js +1 -0
  568. package/dist/serialization/resources/workspace/resources/index.d.ts +0 -2
  569. package/dist/serialization/resources/workspace/resources/index.js +0 -2
  570. package/dist/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +3 -2
  571. package/dist/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js +3 -2
  572. package/dist/serialization/resources/workspace/resources/invites/index.d.ts +0 -1
  573. package/dist/serialization/resources/workspace/resources/invites/index.js +0 -1
  574. package/dist/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +3 -2
  575. package/dist/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.js +3 -2
  576. package/dist/serialization/resources/workspace/resources/members/index.d.ts +0 -1
  577. package/dist/serialization/resources/workspace/resources/members/index.js +0 -1
  578. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  579. package/dist/serialization/resources/workspace/resources/resources/client/requests/index.js +1 -3
  580. package/dist/serialization/types/AddKnowledgeBaseResponseModel.d.ts +2 -0
  581. package/dist/serialization/types/AddKnowledgeBaseResponseModel.js +2 -0
  582. package/dist/serialization/types/AgentBranchBasicInfo.d.ts +10 -0
  583. package/dist/serialization/types/AgentBranchBasicInfo.js +42 -0
  584. package/dist/serialization/types/AgentBranchResponse.d.ts +24 -0
  585. package/dist/serialization/types/AgentBranchResponse.js +56 -0
  586. package/dist/serialization/types/AgentBranchSummary.d.ts +21 -0
  587. package/dist/serialization/types/AgentBranchSummary.js +53 -0
  588. package/dist/serialization/types/AgentDeploymentPercentageStrategy.d.ts +10 -0
  589. package/dist/serialization/types/AgentDeploymentPercentageStrategy.js +42 -0
  590. package/dist/serialization/types/AgentDeploymentRequest.d.ts +10 -0
  591. package/dist/serialization/types/AgentDeploymentRequest.js +42 -0
  592. package/dist/serialization/types/AgentDeploymentRequestItem.d.ts +11 -0
  593. package/dist/serialization/{resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → types/AgentDeploymentRequestItem.js} +6 -6
  594. package/dist/serialization/types/AgentDeploymentResponse.d.ts +9 -0
  595. package/dist/serialization/types/AgentDeploymentResponse.js +41 -0
  596. package/dist/serialization/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +10 -0
  597. package/{serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → dist/serialization/types/AgentSummaryBatchSuccessfulResponseModel.js} +5 -6
  598. package/dist/serialization/types/AgentVersionMetadata.d.ts +18 -0
  599. package/dist/serialization/types/AgentVersionMetadata.js +50 -0
  600. package/dist/serialization/types/AgentVersionParents.d.ts +12 -0
  601. package/dist/serialization/types/AgentVersionParents.js +44 -0
  602. package/dist/serialization/types/BranchProtectionStatus.d.ts +7 -0
  603. package/dist/serialization/types/BranchProtectionStatus.js +39 -0
  604. package/dist/serialization/types/Contributor.d.ts +10 -0
  605. package/dist/serialization/types/Contributor.js +42 -0
  606. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
  607. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +2 -0
  608. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  609. package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
  610. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  611. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
  612. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  613. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
  614. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  615. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
  616. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  617. package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
  618. package/dist/serialization/types/CreateAgentBranchResponseModel.d.ts +10 -0
  619. package/dist/serialization/types/CreateAgentBranchResponseModel.js +42 -0
  620. package/dist/serialization/types/CustomSipHeader.d.ts +10 -0
  621. package/dist/serialization/types/CustomSipHeader.js +42 -0
  622. package/dist/serialization/types/CustomSipHeaderWithDynamicVariable.d.ts +10 -0
  623. package/dist/serialization/types/CustomSipHeaderWithDynamicVariable.js +42 -0
  624. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +66 -0
  625. package/dist/serialization/types/DirectPublishingReadResponseModel.js +98 -0
  626. package/dist/serialization/types/DirectPublishingReadResponseModelDisplayMode.d.ts +7 -0
  627. package/dist/serialization/types/DirectPublishingReadResponseModelDisplayMode.js +39 -0
  628. package/dist/serialization/types/DirectPublishingReadResponseModelGenreItem.d.ts +7 -0
  629. package/dist/serialization/types/DirectPublishingReadResponseModelGenreItem.js +72 -0
  630. package/dist/serialization/types/DirectPublishingReadResponseModelPayoutType.d.ts +7 -0
  631. package/dist/serialization/types/DirectPublishingReadResponseModelPayoutType.js +39 -0
  632. package/dist/serialization/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
  633. package/dist/serialization/types/DirectPublishingReadResponseModelTargetAudience.js +39 -0
  634. package/dist/serialization/types/DubbingMetadataResponse.d.ts +1 -0
  635. package/dist/serialization/types/DubbingMetadataResponse.js +1 -0
  636. package/dist/serialization/types/DubbingModel.d.ts +1 -1
  637. package/dist/serialization/types/DubbingModel.js +1 -1
  638. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  639. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  640. package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
  641. package/dist/serialization/types/InvoiceResponse.js +2 -0
  642. package/dist/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +7 -0
  643. package/dist/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.js +47 -0
  644. package/dist/serialization/types/ListResponseAgentBranchSummary.d.ts +12 -0
  645. package/dist/serialization/types/ListResponseAgentBranchSummary.js +44 -0
  646. package/{serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts → dist/serialization/types/PermissionType.d.ts} +3 -3
  647. package/{serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js → dist/serialization/types/PermissionType.js} +9 -2
  648. package/dist/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  649. package/dist/serialization/types/PhoneNumberTransfer.js +2 -0
  650. package/dist/serialization/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +15 -0
  651. package/dist/serialization/types/PhoneNumberTransferCustomSipHeadersItem.js +49 -0
  652. package/dist/serialization/types/PreviewAudioDbModel.d.ts +13 -0
  653. package/dist/serialization/types/PreviewAudioDbModel.js +45 -0
  654. package/dist/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
  655. package/dist/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
  656. package/dist/serialization/types/ProjectExtendedResponse.d.ts +3 -0
  657. package/dist/serialization/types/ProjectExtendedResponse.js +3 -0
  658. package/dist/serialization/types/ProjectResponse.d.ts +1 -0
  659. package/dist/serialization/types/ProjectResponse.js +1 -0
  660. package/dist/serialization/types/ReadLegalTerms.d.ts +11 -0
  661. package/dist/serialization/types/ReadLegalTerms.js +43 -0
  662. package/dist/serialization/types/ReadMetadataChapterDbModel.d.ts +16 -0
  663. package/dist/serialization/types/ReadMetadataChapterDbModel.js +48 -0
  664. package/dist/serialization/types/ReviewResponseModel.d.ts +16 -0
  665. package/dist/serialization/types/ReviewResponseModel.js +48 -0
  666. package/dist/serialization/types/ReviewResponseModelRejectReasonsItem.d.ts +7 -0
  667. package/dist/serialization/types/ReviewResponseModelRejectReasonsItem.js +58 -0
  668. package/dist/serialization/types/ReviewResponseModelReviewStatus.d.ts +7 -0
  669. package/dist/serialization/types/ReviewResponseModelReviewStatus.js +39 -0
  670. package/dist/serialization/types/SampleConfigDbModel.d.ts +13 -0
  671. package/dist/serialization/types/SampleConfigDbModel.js +45 -0
  672. package/dist/serialization/types/SampleConfigDbModelParentType.d.ts +7 -0
  673. package/dist/serialization/types/SampleConfigDbModelParentType.js +39 -0
  674. package/dist/serialization/types/SeatType.d.ts +7 -0
  675. package/dist/serialization/types/SeatType.js +39 -0
  676. package/dist/serialization/types/SongMetadata.d.ts +2 -0
  677. package/dist/serialization/types/SongMetadata.js +2 -0
  678. package/dist/serialization/types/SpellingPatience.d.ts +7 -0
  679. package/dist/serialization/types/SpellingPatience.js +39 -0
  680. package/dist/serialization/types/ToolSortBy.d.ts +7 -0
  681. package/dist/serialization/types/ToolSortBy.js +39 -0
  682. package/dist/serialization/types/ToolTypeFilter.d.ts +7 -0
  683. package/dist/serialization/types/ToolTypeFilter.js +39 -0
  684. package/dist/serialization/types/ToolsResponseModel.d.ts +2 -0
  685. package/dist/serialization/types/ToolsResponseModel.js +2 -0
  686. package/dist/serialization/types/TurnConfig.d.ts +2 -0
  687. package/dist/serialization/types/TurnConfig.js +2 -0
  688. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  689. package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  690. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  691. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  692. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +15 -0
  693. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +49 -0
  694. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  695. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  696. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +15 -0
  697. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +49 -0
  698. package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -2
  699. package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +3 -2
  700. package/dist/serialization/types/index.d.ts +38 -1
  701. package/dist/serialization/types/index.js +38 -1
  702. package/dist/version.d.ts +1 -1
  703. package/dist/version.js +1 -1
  704. package/dist/wrapper/realtime/scribe.js +3 -0
  705. package/package.json +1 -1
  706. package/reference.md +1166 -132
  707. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.d.ts +1 -0
  708. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/index.js +17 -0
  709. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.d.ts +15 -0
  710. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js +47 -0
  711. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +9 -0
  712. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +41 -0
  713. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.d.ts +11 -0
  714. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyUpdateAgentBranchV1ConvaiAgentsAgentIdBranchesBranchIdPatch.js +43 -0
  715. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +3 -0
  716. package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.js +9 -0
  717. package/serialization/resources/conversationalAi/resources/agents/resources/branches/index.d.ts +1 -0
  718. package/serialization/resources/conversationalAi/resources/agents/resources/branches/index.js +17 -0
  719. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.d.ts +1 -0
  720. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/index.js +17 -0
  721. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.d.ts +10 -0
  722. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.js +42 -0
  723. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.d.ts +1 -0
  724. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/client/requests/index.js +5 -0
  725. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.d.ts +1 -0
  726. package/serialization/resources/conversationalAi/resources/agents/resources/deployments/index.js +17 -0
  727. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.d.ts +1 -0
  728. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/index.js +17 -0
  729. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.d.ts +14 -0
  730. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost.js +46 -0
  731. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.d.ts +1 -0
  732. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/client/requests/index.js +5 -0
  733. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.d.ts +1 -0
  734. package/serialization/resources/conversationalAi/resources/agents/resources/drafts/index.js +17 -0
  735. package/serialization/resources/conversationalAi/resources/agents/resources/index.d.ts +8 -0
  736. package/serialization/resources/conversationalAi/resources/agents/resources/index.js +9 -1
  737. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.d.ts +8 -0
  738. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/get.js +40 -0
  739. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.d.ts +1 -0
  740. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/client/index.js +37 -0
  741. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.d.ts +2 -0
  742. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/index.js +18 -0
  743. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.d.ts +15 -0
  744. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/SummariesGetResponseValue.js +49 -0
  745. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.d.ts +1 -0
  746. package/serialization/resources/conversationalAi/resources/agents/resources/summaries/types/index.js +17 -0
  747. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.d.ts +10 -0
  748. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyBulkMoveEntitiesToFolderV1ConvaiKnowledgeBaseBulkMovePost.js +42 -0
  749. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.d.ts +10 -0
  750. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFolderV1ConvaiKnowledgeBaseFolderPost.js +42 -0
  751. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.d.ts +9 -0
  752. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyMoveEntityToFolderV1ConvaiKnowledgeBaseDocumentIdMovePost.js +41 -0
  753. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +3 -0
  754. package/serialization/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.js +7 -1
  755. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +2 -2
  756. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +2 -2
  757. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +2 -2
  758. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +2 -2
  759. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +0 -2
  760. package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +0 -2
  761. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.d.ts +7 -0
  762. package/serialization/resources/speechToText/types/SpeechToTextConvertRequestModelId.js +39 -0
  763. package/serialization/resources/speechToText/types/index.d.ts +1 -0
  764. package/serialization/resources/speechToText/types/index.js +1 -0
  765. package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.d.ts +7 -0
  766. package/{dist/serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.js → serialization/resources/studio/resources/projects/types/ProjectsCreateRequestQualityPreset.js} +2 -2
  767. package/serialization/resources/studio/resources/projects/types/index.d.ts +1 -0
  768. package/serialization/resources/studio/resources/projects/types/index.js +1 -0
  769. package/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.d.ts +1 -1
  770. package/serialization/resources/textToSpeech/types/TextToSpeechConvertRequestOutputFormat.js +16 -9
  771. package/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.d.ts +1 -1
  772. package/serialization/resources/textToSpeech/types/TextToSpeechConvertWithTimestampsRequestOutputFormat.js +16 -9
  773. package/serialization/resources/voices/resources/index.d.ts +2 -0
  774. package/serialization/resources/voices/resources/index.js +3 -1
  775. package/serialization/resources/voices/resources/ivc/index.d.ts +1 -0
  776. package/serialization/resources/voices/resources/ivc/index.js +17 -0
  777. package/serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.d.ts +7 -0
  778. package/{dist/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js → serialization/resources/voices/resources/ivc/types/IvcCreateRequestLabels.js} +4 -20
  779. package/serialization/resources/voices/resources/ivc/types/index.d.ts +1 -0
  780. package/serialization/resources/voices/resources/ivc/types/index.js +17 -0
  781. package/serialization/resources/voices/types/VoicesUpdateRequestLabels.d.ts +7 -0
  782. package/serialization/resources/voices/types/VoicesUpdateRequestLabels.js +42 -0
  783. package/serialization/resources/voices/types/index.d.ts +1 -0
  784. package/serialization/resources/voices/types/index.js +1 -0
  785. package/serialization/resources/workspace/resources/index.d.ts +0 -2
  786. package/serialization/resources/workspace/resources/index.js +0 -2
  787. package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.d.ts +3 -2
  788. package/serialization/resources/workspace/resources/invites/client/requests/InviteUserRequest.js +3 -2
  789. package/serialization/resources/workspace/resources/invites/index.d.ts +0 -1
  790. package/serialization/resources/workspace/resources/invites/index.js +0 -1
  791. package/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.d.ts +3 -2
  792. package/serialization/resources/workspace/resources/members/client/requests/UpdateMemberRequest.js +3 -2
  793. package/serialization/resources/workspace/resources/members/index.d.ts +0 -1
  794. package/serialization/resources/workspace/resources/members/index.js +0 -1
  795. package/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +0 -1
  796. package/serialization/resources/workspace/resources/resources/client/requests/index.js +1 -3
  797. package/serialization/types/AddKnowledgeBaseResponseModel.d.ts +2 -0
  798. package/serialization/types/AddKnowledgeBaseResponseModel.js +2 -0
  799. package/serialization/types/AgentBranchBasicInfo.d.ts +10 -0
  800. package/serialization/types/AgentBranchBasicInfo.js +42 -0
  801. package/serialization/types/AgentBranchResponse.d.ts +24 -0
  802. package/serialization/types/AgentBranchResponse.js +56 -0
  803. package/serialization/types/AgentBranchSummary.d.ts +21 -0
  804. package/serialization/types/AgentBranchSummary.js +53 -0
  805. package/serialization/types/AgentDeploymentPercentageStrategy.d.ts +10 -0
  806. package/serialization/types/AgentDeploymentPercentageStrategy.js +42 -0
  807. package/serialization/types/AgentDeploymentRequest.d.ts +10 -0
  808. package/serialization/types/AgentDeploymentRequest.js +42 -0
  809. package/serialization/types/AgentDeploymentRequestItem.d.ts +11 -0
  810. package/serialization/types/AgentDeploymentRequestItem.js +43 -0
  811. package/serialization/types/AgentDeploymentResponse.d.ts +9 -0
  812. package/serialization/types/AgentDeploymentResponse.js +41 -0
  813. package/serialization/types/AgentSummaryBatchSuccessfulResponseModel.d.ts +10 -0
  814. package/serialization/types/AgentSummaryBatchSuccessfulResponseModel.js +42 -0
  815. package/serialization/types/AgentVersionMetadata.d.ts +18 -0
  816. package/serialization/types/AgentVersionMetadata.js +50 -0
  817. package/serialization/types/AgentVersionParents.d.ts +12 -0
  818. package/serialization/types/AgentVersionParents.js +44 -0
  819. package/serialization/types/BranchProtectionStatus.d.ts +7 -0
  820. package/serialization/types/BranchProtectionStatus.js +39 -0
  821. package/serialization/types/Contributor.d.ts +10 -0
  822. package/serialization/types/Contributor.js +42 -0
  823. package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +2 -0
  824. package/serialization/types/ConversationHistoryAnalysisCommonModel.js +2 -0
  825. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.d.ts +1 -0
  826. package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.js +1 -0
  827. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
  828. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
  829. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +1 -0
  830. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +1 -0
  831. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
  832. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
  833. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
  834. package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
  835. package/serialization/types/CreateAgentBranchResponseModel.d.ts +10 -0
  836. package/serialization/types/CreateAgentBranchResponseModel.js +42 -0
  837. package/serialization/types/CustomSipHeader.d.ts +10 -0
  838. package/serialization/types/CustomSipHeader.js +42 -0
  839. package/serialization/types/CustomSipHeaderWithDynamicVariable.d.ts +10 -0
  840. package/serialization/types/CustomSipHeaderWithDynamicVariable.js +42 -0
  841. package/serialization/types/DirectPublishingReadResponseModel.d.ts +66 -0
  842. package/serialization/types/DirectPublishingReadResponseModel.js +98 -0
  843. package/serialization/types/DirectPublishingReadResponseModelDisplayMode.d.ts +7 -0
  844. package/serialization/types/DirectPublishingReadResponseModelDisplayMode.js +39 -0
  845. package/serialization/types/DirectPublishingReadResponseModelGenreItem.d.ts +7 -0
  846. package/serialization/types/DirectPublishingReadResponseModelGenreItem.js +72 -0
  847. package/serialization/types/DirectPublishingReadResponseModelPayoutType.d.ts +7 -0
  848. package/serialization/types/DirectPublishingReadResponseModelPayoutType.js +39 -0
  849. package/serialization/types/DirectPublishingReadResponseModelTargetAudience.d.ts +7 -0
  850. package/serialization/types/DirectPublishingReadResponseModelTargetAudience.js +39 -0
  851. package/serialization/types/DubbingMetadataResponse.d.ts +1 -0
  852. package/serialization/types/DubbingMetadataResponse.js +1 -0
  853. package/serialization/types/DubbingModel.d.ts +1 -1
  854. package/serialization/types/DubbingModel.js +1 -1
  855. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  856. package/serialization/types/GetConversationResponseModel.js +1 -0
  857. package/serialization/types/InvoiceResponse.d.ts +2 -0
  858. package/serialization/types/InvoiceResponse.js +2 -0
  859. package/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.d.ts +7 -0
  860. package/serialization/types/InvoiceResponseModelPaymentIntentStatussesItem.js +47 -0
  861. package/serialization/types/ListResponseAgentBranchSummary.d.ts +12 -0
  862. package/serialization/types/ListResponseAgentBranchSummary.js +44 -0
  863. package/{dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts → serialization/types/PermissionType.d.ts} +3 -3
  864. package/{dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js → serialization/types/PermissionType.js} +9 -2
  865. package/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  866. package/serialization/types/PhoneNumberTransfer.js +2 -0
  867. package/serialization/types/PhoneNumberTransferCustomSipHeadersItem.d.ts +15 -0
  868. package/serialization/types/PhoneNumberTransferCustomSipHeadersItem.js +49 -0
  869. package/serialization/types/PreviewAudioDbModel.d.ts +13 -0
  870. package/serialization/types/PreviewAudioDbModel.js +45 -0
  871. package/serialization/types/ProjectCreationMetaResponseModelType.d.ts +1 -1
  872. package/serialization/types/ProjectCreationMetaResponseModelType.js +1 -1
  873. package/serialization/types/ProjectExtendedResponse.d.ts +3 -0
  874. package/serialization/types/ProjectExtendedResponse.js +3 -0
  875. package/serialization/types/ProjectResponse.d.ts +1 -0
  876. package/serialization/types/ProjectResponse.js +1 -0
  877. package/serialization/types/ReadLegalTerms.d.ts +11 -0
  878. package/serialization/types/ReadLegalTerms.js +43 -0
  879. package/serialization/types/ReadMetadataChapterDbModel.d.ts +16 -0
  880. package/serialization/types/ReadMetadataChapterDbModel.js +48 -0
  881. package/serialization/types/ReviewResponseModel.d.ts +16 -0
  882. package/serialization/types/ReviewResponseModel.js +48 -0
  883. package/serialization/types/ReviewResponseModelRejectReasonsItem.d.ts +7 -0
  884. package/serialization/types/ReviewResponseModelRejectReasonsItem.js +58 -0
  885. package/serialization/types/ReviewResponseModelReviewStatus.d.ts +7 -0
  886. package/serialization/types/ReviewResponseModelReviewStatus.js +39 -0
  887. package/serialization/types/SampleConfigDbModel.d.ts +13 -0
  888. package/serialization/types/SampleConfigDbModel.js +45 -0
  889. package/serialization/types/SampleConfigDbModelParentType.d.ts +7 -0
  890. package/serialization/types/SampleConfigDbModelParentType.js +39 -0
  891. package/serialization/types/SeatType.d.ts +7 -0
  892. package/serialization/types/SeatType.js +39 -0
  893. package/serialization/types/SongMetadata.d.ts +2 -0
  894. package/serialization/types/SongMetadata.js +2 -0
  895. package/serialization/types/SpellingPatience.d.ts +7 -0
  896. package/serialization/types/SpellingPatience.js +39 -0
  897. package/serialization/types/ToolSortBy.d.ts +7 -0
  898. package/serialization/types/ToolSortBy.js +39 -0
  899. package/serialization/types/ToolTypeFilter.d.ts +7 -0
  900. package/serialization/types/ToolTypeFilter.js +39 -0
  901. package/serialization/types/ToolsResponseModel.d.ts +2 -0
  902. package/serialization/types/ToolsResponseModel.js +2 -0
  903. package/serialization/types/TurnConfig.d.ts +2 -0
  904. package/serialization/types/TurnConfig.js +2 -0
  905. package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  906. package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  907. package/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  908. package/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  909. package/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.d.ts +15 -0
  910. package/serialization/types/WorkflowPhoneNumberNodeModelInputCustomSipHeadersItem.js +49 -0
  911. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  912. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  913. package/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.d.ts +15 -0
  914. package/serialization/types/WorkflowPhoneNumberNodeModelOutputCustomSipHeadersItem.js +49 -0
  915. package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +3 -2
  916. package/serialization/types/WorkspaceApiKeyResponseModel.js +3 -2
  917. package/serialization/types/index.d.ts +38 -1
  918. package/serialization/types/index.js +38 -1
  919. package/version.d.ts +1 -1
  920. package/version.js +1 -1
  921. package/wrapper/realtime/scribe.js +3 -0
  922. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -31
  923. package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -34
  924. package/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -21
  925. package/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +0 -24
  926. package/api/resources/workspace/resources/invites/types/index.d.ts +0 -1
  927. package/api/resources/workspace/resources/invites/types/index.js +0 -17
  928. package/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -5
  929. package/api/resources/workspace/resources/members/types/index.d.ts +0 -1
  930. package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -14
  931. package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +0 -31
  932. package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +0 -34
  933. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -31
  934. package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -34
  935. package/dist/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -21
  936. package/dist/api/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.js +0 -24
  937. package/dist/api/resources/workspace/resources/invites/types/index.d.ts +0 -1
  938. package/dist/api/resources/workspace/resources/invites/types/index.js +0 -17
  939. package/dist/api/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -5
  940. package/dist/api/resources/workspace/resources/members/types/index.d.ts +0 -1
  941. package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -14
  942. package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +0 -31
  943. package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +0 -34
  944. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts +0 -7
  945. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js +0 -68
  946. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -7
  947. package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -68
  948. package/dist/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -7
  949. package/dist/serialization/resources/workspace/resources/invites/types/index.d.ts +0 -1
  950. package/dist/serialization/resources/workspace/resources/invites/types/index.js +0 -17
  951. package/dist/serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -7
  952. package/dist/serialization/resources/workspace/resources/members/types/index.d.ts +0 -1
  953. package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -11
  954. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.d.ts +0 -7
  955. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsZeroItem.js +0 -68
  956. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.d.ts +0 -7
  957. package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsZeroItem.js +0 -68
  958. package/serialization/resources/workspace/resources/invites/types/BodyInviteUserV1WorkspaceInvitesAddPostWorkspacePermission.d.ts +0 -7
  959. package/serialization/resources/workspace/resources/invites/types/index.d.ts +0 -1
  960. package/serialization/resources/workspace/resources/invites/types/index.js +0 -17
  961. package/serialization/resources/workspace/resources/members/types/BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole.d.ts +0 -7
  962. package/serialization/resources/workspace/resources/members/types/index.d.ts +0 -1
  963. package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +0 -11
  964. /package/api/resources/{workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → conversationalAi/resources/agents/resources/branches/client/requests/BodyCreateANewBranchV1ConvaiAgentsAgentIdBranchesPost.js} +0 -0
  965. /package/{dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js → api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js} +0 -0
@@ -0,0 +1,134 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.DeploymentsClient = void 0;
47
+ const BaseClient_1 = require("../../../../../../../../BaseClient");
48
+ const core = __importStar(require("../../../../../../../../core"));
49
+ const headers_1 = require("../../../../../../../../core/headers");
50
+ const environments = __importStar(require("../../../../../../../../environments"));
51
+ const handleNonStatusCodeError_1 = require("../../../../../../../../errors/handleNonStatusCodeError");
52
+ const errors = __importStar(require("../../../../../../../../errors/index"));
53
+ const serializers = __importStar(require("../../../../../../../../serialization/index"));
54
+ const ElevenLabs = __importStar(require("../../../../../../../index"));
55
+ class DeploymentsClient {
56
+ constructor(options = {}) {
57
+ this._options = (0, BaseClient_1.normalizeClientOptions)(options);
58
+ }
59
+ /**
60
+ * Create a new deployment for an agent
61
+ *
62
+ * @param {string} agent_id - The id of an agent. This is returned on agent creation.
63
+ * @param {ElevenLabs.conversationalAi.agents.BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost} request
64
+ * @param {DeploymentsClient.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
66
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
67
+ *
68
+ * @example
69
+ * await client.conversationalAi.agents.deployments.create("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
70
+ * deploymentRequest: {
71
+ * requests: [{
72
+ * branchId: "agtbrch_8901k4t9z5defmb8vh3e9361y7nj",
73
+ * deploymentStrategy: {
74
+ * type: "percentage",
75
+ * trafficPercentage: 0.5
76
+ * }
77
+ * }]
78
+ * }
79
+ * })
80
+ */
81
+ create(agent_id, request, requestOptions) {
82
+ return core.HttpResponsePromise.fromPromise(this.__create(agent_id, request, requestOptions));
83
+ }
84
+ __create(agent_id, request, requestOptions) {
85
+ return __awaiter(this, void 0, void 0, function* () {
86
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
87
+ 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
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
89
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/agents/${core.url.encodePathParam(agent_id)}/deployments`),
90
+ method: "POST",
91
+ headers: _headers,
92
+ contentType: "application/json",
93
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
94
+ requestType: "json",
95
+ body: serializers.conversationalAi.agents.BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
96
+ 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,
97
+ 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,
98
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
99
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
100
+ logging: this._options.logging,
101
+ });
102
+ if (_response.ok) {
103
+ return {
104
+ data: serializers.AgentDeploymentResponse.parseOrThrow(_response.body, {
105
+ unrecognizedObjectKeys: "passthrough",
106
+ allowUnrecognizedUnionMembers: true,
107
+ allowUnrecognizedEnumValues: true,
108
+ breadcrumbsPrefix: ["response"],
109
+ }),
110
+ rawResponse: _response.rawResponse,
111
+ };
112
+ }
113
+ if (_response.error.reason === "status-code") {
114
+ switch (_response.error.statusCode) {
115
+ case 422:
116
+ throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
117
+ unrecognizedObjectKeys: "passthrough",
118
+ allowUnrecognizedUnionMembers: true,
119
+ allowUnrecognizedEnumValues: true,
120
+ breadcrumbsPrefix: ["response"],
121
+ }), _response.rawResponse);
122
+ default:
123
+ throw new errors.ElevenLabsError({
124
+ statusCode: _response.error.statusCode,
125
+ body: _response.error.body,
126
+ rawResponse: _response.rawResponse,
127
+ });
128
+ }
129
+ }
130
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/convai/agents/{agent_id}/deployments");
131
+ });
132
+ }
133
+ }
134
+ exports.DeploymentsClient = DeploymentsClient;
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole"), exports);
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,19 @@
1
+ import type * as ElevenLabs from "../../../../../../../../index";
2
+ /**
3
+ * @example
4
+ * {
5
+ * deploymentRequest: {
6
+ * requests: [{
7
+ * branchId: "agtbrch_8901k4t9z5defmb8vh3e9361y7nj",
8
+ * deploymentStrategy: {
9
+ * type: "percentage",
10
+ * trafficPercentage: 0.5
11
+ * }
12
+ * }]
13
+ * }
14
+ * }
15
+ */
16
+ export interface BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost {
17
+ /** Request to create a new deployment */
18
+ deploymentRequest: ElevenLabs.AgentDeploymentRequest;
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export type { BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost } from "./BodyCreateOrUpdateDeploymentsV1ConvaiAgentsAgentIdDeploymentsPost";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./BodyUpdateMemberV1WorkspaceMembersPostWorkspaceRole"), exports);
17
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,197 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient";
2
+ import { type NormalizedClientOptions } from "../../../../../../../../BaseClient";
3
+ import * as core from "../../../../../../../../core";
4
+ import * as ElevenLabs from "../../../../../../../index";
5
+ export declare namespace DraftsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class DraftsClient {
11
+ protected readonly _options: NormalizedClientOptions<DraftsClient.Options>;
12
+ constructor(options?: DraftsClient.Options);
13
+ /**
14
+ * Create a new draft for an agent
15
+ *
16
+ * @param {string} agent_id - The id of an agent. This is returned on agent creation.
17
+ * @param {ElevenLabs.conversationalAi.agents.BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost} request
18
+ * @param {DraftsClient.RequestOptions} requestOptions - Request-specific configuration.
19
+ *
20
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
21
+ *
22
+ * @example
23
+ * await client.conversationalAi.agents.drafts.create("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
24
+ * branchId: "agtbrch_8901k4t9z5defmb8vh3e9361y7nj",
25
+ * conversationConfig: {
26
+ * "key": "value"
27
+ * },
28
+ * platformSettings: {
29
+ * "key": "value"
30
+ * },
31
+ * workflow: {
32
+ * edges: {
33
+ * "entry_to_tool_a": {
34
+ * source: "entry_node",
35
+ * target: "tool_node_a",
36
+ * forwardCondition: {
37
+ * type: "expression",
38
+ * expression: {
39
+ * type: "and_operator",
40
+ * children: [{
41
+ * type: "boolean_literal",
42
+ * value: true
43
+ * }]
44
+ * }
45
+ * }
46
+ * },
47
+ * "start_to_entry": {
48
+ * source: "start_node",
49
+ * target: "entry_node",
50
+ * forwardCondition: {
51
+ * type: "expression",
52
+ * expression: {
53
+ * type: "and_operator",
54
+ * children: [{
55
+ * type: "boolean_literal",
56
+ * value: true
57
+ * }]
58
+ * }
59
+ * }
60
+ * },
61
+ * "tool_a_to_failure": {
62
+ * source: "tool_node_a",
63
+ * target: "failure_node",
64
+ * forwardCondition: {
65
+ * type: "expression",
66
+ * expression: {
67
+ * type: "and_operator",
68
+ * children: [{
69
+ * type: "boolean_literal",
70
+ * value: true
71
+ * }]
72
+ * }
73
+ * }
74
+ * },
75
+ * "tool_a_to_tool_b": {
76
+ * source: "tool_node_a",
77
+ * target: "tool_node_b",
78
+ * forwardCondition: {
79
+ * type: "expression",
80
+ * expression: {
81
+ * type: "and_operator",
82
+ * children: [{
83
+ * type: "boolean_literal",
84
+ * value: true
85
+ * }]
86
+ * }
87
+ * }
88
+ * },
89
+ * "tool_b_to_agent_transfer": {
90
+ * source: "tool_node_b",
91
+ * target: "success_transfer",
92
+ * forwardCondition: {
93
+ * type: "expression",
94
+ * expression: {
95
+ * type: "and_operator",
96
+ * children: [{
97
+ * type: "boolean_literal",
98
+ * value: true
99
+ * }]
100
+ * }
101
+ * }
102
+ * },
103
+ * "tool_b_to_conversation": {
104
+ * source: "tool_node_b",
105
+ * target: "success_conversation",
106
+ * forwardCondition: {
107
+ * type: "expression",
108
+ * expression: {
109
+ * type: "and_operator",
110
+ * children: [{
111
+ * type: "boolean_literal",
112
+ * value: true
113
+ * }]
114
+ * }
115
+ * }
116
+ * },
117
+ * "tool_b_to_end": {
118
+ * source: "tool_node_b",
119
+ * target: "success_end",
120
+ * forwardCondition: {
121
+ * type: "expression",
122
+ * expression: {
123
+ * type: "and_operator",
124
+ * children: [{
125
+ * type: "boolean_literal",
126
+ * value: true
127
+ * }]
128
+ * }
129
+ * }
130
+ * },
131
+ * "tool_b_to_phone": {
132
+ * source: "tool_node_b",
133
+ * target: "success_phone",
134
+ * forwardCondition: {
135
+ * type: "expression",
136
+ * expression: {
137
+ * type: "and_operator",
138
+ * children: [{
139
+ * type: "boolean_literal",
140
+ * value: true
141
+ * }]
142
+ * }
143
+ * }
144
+ * }
145
+ * },
146
+ * nodes: {
147
+ * "entry_node": {
148
+ * type: "end"
149
+ * },
150
+ * "failure_node": {
151
+ * type: "end"
152
+ * },
153
+ * "start_node": {
154
+ * type: "end"
155
+ * },
156
+ * "success_conversation": {
157
+ * type: "end"
158
+ * },
159
+ * "success_end": {
160
+ * type: "end"
161
+ * },
162
+ * "success_phone": {
163
+ * type: "end"
164
+ * },
165
+ * "success_transfer": {
166
+ * type: "end"
167
+ * },
168
+ * "tool_node_a": {
169
+ * type: "end"
170
+ * },
171
+ * "tool_node_b": {
172
+ * type: "end"
173
+ * }
174
+ * }
175
+ * },
176
+ * name: "name"
177
+ * })
178
+ */
179
+ create(agent_id: string, request: ElevenLabs.conversationalAi.agents.BodyCreateAgentDraftV1ConvaiAgentsAgentIdDraftsPost, requestOptions?: DraftsClient.RequestOptions): core.HttpResponsePromise<unknown>;
180
+ private __create;
181
+ /**
182
+ * Delete a draft for an agent
183
+ *
184
+ * @param {string} agent_id - The id of an agent. This is returned on agent creation.
185
+ * @param {ElevenLabs.conversationalAi.agents.DraftsDeleteRequest} request
186
+ * @param {DraftsClient.RequestOptions} requestOptions - Request-specific configuration.
187
+ *
188
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
189
+ *
190
+ * @example
191
+ * await client.conversationalAi.agents.drafts.delete("agent_3701k3ttaq12ewp8b7qv5rfyszkz", {
192
+ * branchId: "agtbrch_8901k4t9z5defmb8vh3e9361y7nj"
193
+ * })
194
+ */
195
+ delete(agent_id: string, request: ElevenLabs.conversationalAi.agents.DraftsDeleteRequest, requestOptions?: DraftsClient.RequestOptions): core.HttpResponsePromise<unknown>;
196
+ private __delete;
197
+ }