@elevenlabs/elevenlabs-js 2.54.0 → 2.56.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 (621) hide show
  1. package/.fern/metadata.json +2 -2
  2. package/.fern/replay.lock +8 -2
  3. package/BaseClient.js +2 -2
  4. package/Client.d.ts +2 -2
  5. package/Client.js +4 -4
  6. package/README.md +17 -0
  7. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -2
  8. package/api/resources/conversationalAi/resources/agents/client/Client.js +6 -2
  9. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +32 -0
  10. package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +121 -0
  11. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.d.ts +13 -0
  12. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.js +3 -0
  13. package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +1 -0
  14. package/api/resources/index.d.ts +1 -0
  15. package/api/resources/index.js +1 -0
  16. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  17. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  18. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  19. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  20. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
  21. package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
  22. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  23. package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  24. package/api/resources/workspace/client/Client.d.ts +18 -1
  25. package/api/resources/workspace/client/Client.js +99 -0
  26. package/api/resources/workspace/client/index.d.ts +1 -1
  27. package/api/resources/workspace/client/index.js +15 -0
  28. package/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +8 -0
  29. package/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +3 -0
  30. package/api/resources/workspace/client/requests/index.d.ts +1 -0
  31. package/api/resources/workspace/client/requests/index.js +2 -0
  32. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +4 -1
  33. package/api/types/AgentBranchSummary.d.ts +2 -0
  34. package/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +3 -6
  35. package/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +3 -6
  36. package/api/types/AudioFilterId.d.ts +7 -0
  37. package/api/types/AudioFilterId.js +10 -0
  38. package/api/types/AuthConnectionStatus.d.ts +15 -0
  39. package/api/types/AuthConnectionStatus.js +18 -0
  40. package/api/types/BaseTurnConfig.d.ts +2 -0
  41. package/api/types/BasicAuthResponse.d.ts +3 -0
  42. package/api/types/BearerAuthResponse.d.ts +3 -0
  43. package/api/types/CaptionStyleModel.d.ts +4 -0
  44. package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
  45. package/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
  46. package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
  47. package/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
  48. package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
  49. package/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
  50. package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
  51. package/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
  52. package/api/types/CharacterAge.d.ts +6 -0
  53. package/api/types/CharacterAge.js +9 -0
  54. package/api/types/CharacterGender.d.ts +6 -0
  55. package/api/types/CharacterGender.js +9 -0
  56. package/api/types/CharacterMetadataResponseModel.d.ts +8 -0
  57. package/api/types/CharacterMetadataResponseModel.js +3 -0
  58. package/api/types/CharacterResponseModel.d.ts +6 -0
  59. package/api/types/CharacterResponseModel.js +3 -0
  60. package/api/types/ConvAiWebhooks.d.ts +1 -1
  61. package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  62. package/api/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +3 -0
  63. package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  64. package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  65. package/api/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
  66. package/api/types/ConversationReasoningModel.d.ts +4 -0
  67. package/api/types/ConversationReasoningModel.js +3 -0
  68. package/api/types/ConversationSummaryResponseModel.d.ts +2 -0
  69. package/api/types/ConversationUserResponseModel.d.ts +3 -0
  70. package/api/types/CreateAgentProcedureParams.d.ts +3 -0
  71. package/api/types/CreateAgentProcedureParams.js +3 -0
  72. package/api/types/CreateExotelPhoneNumberRequest.d.ts +2 -0
  73. package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  74. package/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  75. package/api/types/CriteriaScoringMode.d.ts +5 -0
  76. package/api/types/CriteriaScoringMode.js +8 -0
  77. package/api/types/CustomGuardrailConfig.d.ts +1 -1
  78. package/api/types/CustomHeaderAuthResponse.d.ts +3 -0
  79. package/api/types/DeleteAgentProcedureParams.d.ts +3 -0
  80. package/api/types/DeleteAgentProcedureParams.js +3 -0
  81. package/api/types/FrustratedConversationRef.d.ts +9 -0
  82. package/api/types/FrustratedConversationRef.js +3 -0
  83. package/api/types/FrustratedConversationRefOverallLabel.d.ts +6 -0
  84. package/api/types/FrustratedConversationRefOverallLabel.js +9 -0
  85. package/api/types/ListAgentProceduresParams.d.ts +3 -0
  86. package/api/types/ListAgentProceduresParams.js +3 -0
  87. package/api/types/ListAgentReferencesParams.d.ts +3 -0
  88. package/api/types/ListAgentReferencesParams.js +3 -0
  89. package/api/types/LiteralJsonSchemaPropertyType.d.ts +1 -7
  90. package/api/types/LiteralJsonSchemaPropertyType.js +0 -7
  91. package/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -7
  92. package/api/types/LlmLiteralJsonSchemaPropertyType.js +0 -7
  93. package/api/types/MergePreviewResponseModel.d.ts +33 -0
  94. package/api/types/MergePreviewResponseModel.js +3 -0
  95. package/api/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +13 -0
  96. package/api/types/MergePreviewResponseModelPhoneNumbersItem.js +3 -0
  97. package/api/types/MtlsAuthResponse.d.ts +3 -0
  98. package/api/types/OAuth2ClientCredsResponse.d.ts +3 -0
  99. package/api/types/OAuth2JwtResponse.d.ts +3 -0
  100. package/api/types/PermissionType.d.ts +2 -0
  101. package/api/types/PermissionType.js +2 -0
  102. package/api/types/PhoneNumberTransfer.d.ts +2 -0
  103. package/api/types/PrivateKeyJwtResponse.d.ts +3 -0
  104. package/api/types/ProcedureAtVersionInput.d.ts +1 -1
  105. package/api/types/ProcedureAtVersionOutput.d.ts +1 -1
  106. package/api/types/PromptAgentApiModelInput.d.ts +2 -0
  107. package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  108. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  109. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  110. package/api/types/PromptEvaluationCriteria.d.ts +6 -0
  111. package/api/types/ScimGroupResponseModel.d.ts +8 -0
  112. package/api/types/ScimGroupResponseModel.js +3 -0
  113. package/api/types/ScopedAnalysisResult.d.ts +1 -0
  114. package/api/types/SentimentAggregate.d.ts +8 -0
  115. package/api/types/SentimentAggregate.js +3 -0
  116. package/api/types/SlackBotAuthResponse.d.ts +3 -0
  117. package/api/types/TurnConfig.d.ts +2 -0
  118. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  119. package/api/types/UpdateAgentProcedureParams.d.ts +3 -0
  120. package/api/types/UpdateAgentProcedureParams.js +3 -0
  121. package/api/types/UpdateBearerAuthRequest.d.ts +4 -0
  122. package/api/types/UpdateBearerAuthRequest.js +3 -0
  123. package/api/types/UrlSecretAuthResponse.d.ts +3 -0
  124. package/api/types/UuiTransferConfig.d.ts +18 -0
  125. package/api/types/UuiTransferConfig.js +3 -0
  126. package/api/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +6 -0
  127. package/api/types/UuiTransferConfigProtocolDiscriminatorMode.js +9 -0
  128. package/api/types/WebhookEventType.d.ts +2 -0
  129. package/api/types/WebhookEventType.js +2 -0
  130. package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  131. package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  132. package/api/types/WhatsAppAuthResponse.d.ts +3 -0
  133. package/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +4 -4
  134. package/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +4 -4
  135. package/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  136. package/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  137. package/api/types/WorkspaceGroupPermission.d.ts +2 -0
  138. package/api/types/WorkspaceGroupPermission.js +2 -0
  139. package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  140. package/api/types/index.d.ts +22 -1
  141. package/api/types/index.js +22 -1
  142. package/dist/BaseClient.js +2 -2
  143. package/dist/Client.d.ts +2 -2
  144. package/dist/Client.js +4 -4
  145. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +6 -2
  146. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +6 -2
  147. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +32 -0
  148. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +121 -0
  149. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.d.ts +13 -0
  150. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BranchesPreviewMergeRequest.js +3 -0
  151. package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/index.d.ts +1 -0
  152. package/dist/api/resources/index.d.ts +1 -0
  153. package/dist/api/resources/index.js +1 -0
  154. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  155. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  156. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  157. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  158. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.d.ts +1 -1
  159. package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -1
  160. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
  161. package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
  162. package/dist/api/resources/workspace/client/Client.d.ts +18 -1
  163. package/dist/api/resources/workspace/client/Client.js +99 -0
  164. package/dist/api/resources/workspace/client/index.d.ts +1 -1
  165. package/dist/api/resources/workspace/client/index.js +15 -0
  166. package/dist/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +8 -0
  167. package/dist/api/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +3 -0
  168. package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
  169. package/dist/api/resources/workspace/client/requests/index.js +2 -0
  170. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +4 -1
  171. package/dist/api/types/AgentBranchSummary.d.ts +2 -0
  172. package/dist/api/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +3 -6
  173. package/dist/api/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +3 -6
  174. package/dist/api/types/AudioFilterId.d.ts +7 -0
  175. package/dist/api/types/AudioFilterId.js +10 -0
  176. package/dist/api/types/AuthConnectionStatus.d.ts +15 -0
  177. package/dist/api/types/AuthConnectionStatus.js +18 -0
  178. package/dist/api/types/BaseTurnConfig.d.ts +2 -0
  179. package/dist/api/types/BasicAuthResponse.d.ts +3 -0
  180. package/dist/api/types/BearerAuthResponse.d.ts +3 -0
  181. package/dist/api/types/CaptionStyleModel.d.ts +4 -0
  182. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +3 -0
  183. package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +3 -0
  184. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +3 -0
  185. package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +3 -0
  186. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +3 -0
  187. package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +3 -0
  188. package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +3 -0
  189. package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +3 -0
  190. package/dist/api/types/CharacterAge.d.ts +6 -0
  191. package/dist/api/types/CharacterAge.js +9 -0
  192. package/dist/api/types/CharacterGender.d.ts +6 -0
  193. package/dist/api/types/CharacterGender.js +9 -0
  194. package/dist/api/types/CharacterMetadataResponseModel.d.ts +8 -0
  195. package/dist/api/types/CharacterMetadataResponseModel.js +3 -0
  196. package/dist/api/types/CharacterResponseModel.d.ts +6 -0
  197. package/dist/api/types/CharacterResponseModel.js +3 -0
  198. package/dist/api/types/ConvAiWebhooks.d.ts +1 -1
  199. package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  200. package/dist/api/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +3 -0
  201. package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
  202. package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
  203. package/dist/api/types/ConversationHistoryTranscriptResponseModel.d.ts +2 -0
  204. package/dist/api/types/ConversationReasoningModel.d.ts +4 -0
  205. package/dist/api/types/ConversationReasoningModel.js +3 -0
  206. package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -0
  207. package/dist/api/types/ConversationUserResponseModel.d.ts +3 -0
  208. package/dist/api/types/CreateAgentProcedureParams.d.ts +3 -0
  209. package/dist/api/types/CreateAgentProcedureParams.js +3 -0
  210. package/dist/api/types/CreateExotelPhoneNumberRequest.d.ts +2 -0
  211. package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
  212. package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
  213. package/dist/api/types/CriteriaScoringMode.d.ts +5 -0
  214. package/dist/api/types/CriteriaScoringMode.js +8 -0
  215. package/dist/api/types/CustomGuardrailConfig.d.ts +1 -1
  216. package/dist/api/types/CustomHeaderAuthResponse.d.ts +3 -0
  217. package/dist/api/types/DeleteAgentProcedureParams.d.ts +3 -0
  218. package/dist/api/types/DeleteAgentProcedureParams.js +3 -0
  219. package/dist/api/types/FrustratedConversationRef.d.ts +9 -0
  220. package/dist/api/types/FrustratedConversationRef.js +3 -0
  221. package/dist/api/types/FrustratedConversationRefOverallLabel.d.ts +6 -0
  222. package/dist/api/types/FrustratedConversationRefOverallLabel.js +9 -0
  223. package/dist/api/types/ListAgentProceduresParams.d.ts +3 -0
  224. package/dist/api/types/ListAgentProceduresParams.js +3 -0
  225. package/dist/api/types/ListAgentReferencesParams.d.ts +3 -0
  226. package/dist/api/types/ListAgentReferencesParams.js +3 -0
  227. package/dist/api/types/LiteralJsonSchemaPropertyType.d.ts +1 -7
  228. package/dist/api/types/LiteralJsonSchemaPropertyType.js +0 -7
  229. package/dist/api/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -7
  230. package/dist/api/types/LlmLiteralJsonSchemaPropertyType.js +0 -7
  231. package/dist/api/types/MergePreviewResponseModel.d.ts +33 -0
  232. package/dist/api/types/MergePreviewResponseModel.js +3 -0
  233. package/dist/api/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +13 -0
  234. package/dist/api/types/MergePreviewResponseModelPhoneNumbersItem.js +3 -0
  235. package/dist/api/types/MtlsAuthResponse.d.ts +3 -0
  236. package/dist/api/types/OAuth2ClientCredsResponse.d.ts +3 -0
  237. package/dist/api/types/OAuth2JwtResponse.d.ts +3 -0
  238. package/dist/api/types/PermissionType.d.ts +2 -0
  239. package/dist/api/types/PermissionType.js +2 -0
  240. package/dist/api/types/PhoneNumberTransfer.d.ts +2 -0
  241. package/dist/api/types/PrivateKeyJwtResponse.d.ts +3 -0
  242. package/dist/api/types/ProcedureAtVersionInput.d.ts +1 -1
  243. package/dist/api/types/ProcedureAtVersionOutput.d.ts +1 -1
  244. package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
  245. package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
  246. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
  247. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
  248. package/dist/api/types/PromptEvaluationCriteria.d.ts +6 -0
  249. package/dist/api/types/ScimGroupResponseModel.d.ts +8 -0
  250. package/dist/api/types/ScimGroupResponseModel.js +3 -0
  251. package/dist/api/types/ScopedAnalysisResult.d.ts +1 -0
  252. package/dist/api/types/SentimentAggregate.d.ts +8 -0
  253. package/dist/api/types/SentimentAggregate.js +3 -0
  254. package/dist/api/types/SlackBotAuthResponse.d.ts +3 -0
  255. package/dist/api/types/TurnConfig.d.ts +2 -0
  256. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  257. package/dist/api/types/UpdateAgentProcedureParams.d.ts +3 -0
  258. package/dist/api/types/UpdateAgentProcedureParams.js +3 -0
  259. package/dist/api/types/UpdateBearerAuthRequest.d.ts +4 -0
  260. package/dist/api/types/UpdateBearerAuthRequest.js +3 -0
  261. package/dist/api/types/UrlSecretAuthResponse.d.ts +3 -0
  262. package/dist/api/types/UuiTransferConfig.d.ts +18 -0
  263. package/dist/api/types/UuiTransferConfig.js +3 -0
  264. package/dist/api/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +6 -0
  265. package/dist/api/types/UuiTransferConfigProtocolDiscriminatorMode.js +9 -0
  266. package/dist/api/types/WebhookEventType.d.ts +2 -0
  267. package/dist/api/types/WebhookEventType.js +2 -0
  268. package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  269. package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  270. package/dist/api/types/WhatsAppAuthResponse.d.ts +3 -0
  271. package/dist/api/types/WorkflowOverrideAgentNodeModelInput.d.ts +4 -4
  272. package/dist/api/types/WorkflowOverrideAgentNodeModelOutput.d.ts +4 -4
  273. package/dist/api/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  274. package/dist/api/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  275. package/dist/api/types/WorkspaceGroupPermission.d.ts +2 -0
  276. package/dist/api/types/WorkspaceGroupPermission.js +2 -0
  277. package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
  278. package/dist/api/types/index.d.ts +22 -1
  279. package/dist/api/types/index.js +22 -1
  280. package/dist/serialization/resources/index.d.ts +1 -0
  281. package/dist/serialization/resources/index.js +1 -0
  282. package/dist/serialization/resources/workspace/client/index.d.ts +1 -0
  283. package/dist/serialization/resources/workspace/client/index.js +17 -0
  284. package/dist/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +9 -0
  285. package/dist/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +41 -0
  286. package/dist/serialization/resources/workspace/client/requests/index.d.ts +1 -0
  287. package/dist/serialization/resources/workspace/client/requests/index.js +5 -0
  288. package/dist/serialization/resources/workspace/index.d.ts +1 -0
  289. package/dist/serialization/resources/workspace/index.js +1 -0
  290. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +5 -1
  291. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +2 -0
  292. package/dist/serialization/types/AgentBranchSummary.d.ts +1 -0
  293. package/dist/serialization/types/AgentBranchSummary.js +1 -0
  294. package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +4 -4
  295. package/dist/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +4 -4
  296. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +4 -4
  297. package/dist/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +4 -4
  298. package/dist/serialization/types/AudioFilterId.d.ts +7 -0
  299. package/dist/serialization/types/{OAuthConnectionStatus.js → AudioFilterId.js} +2 -2
  300. package/dist/serialization/types/AuthConnectionStatus.d.ts +7 -0
  301. package/dist/serialization/types/AuthConnectionStatus.js +39 -0
  302. package/dist/serialization/types/BaseTurnConfig.d.ts +1 -0
  303. package/dist/serialization/types/BaseTurnConfig.js +1 -0
  304. package/dist/serialization/types/BasicAuthResponse.d.ts +4 -0
  305. package/dist/serialization/types/BasicAuthResponse.js +4 -0
  306. package/dist/serialization/types/BearerAuthResponse.d.ts +4 -0
  307. package/dist/serialization/types/BearerAuthResponse.js +4 -0
  308. package/dist/serialization/types/CaptionStyleModel.d.ts +4 -0
  309. package/dist/serialization/types/CaptionStyleModel.js +4 -0
  310. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
  311. package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +11 -1
  312. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
  313. package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +11 -1
  314. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
  315. package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +11 -1
  316. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
  317. package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +11 -1
  318. package/dist/serialization/types/CharacterAge.d.ts +7 -0
  319. package/{serialization/types/OAuthConnectionStatus.js → dist/serialization/types/CharacterAge.js} +2 -2
  320. package/dist/serialization/types/CharacterGender.d.ts +7 -0
  321. package/dist/serialization/types/CharacterGender.js +39 -0
  322. package/dist/serialization/types/CharacterMetadataResponseModel.d.ts +15 -0
  323. package/dist/serialization/types/CharacterMetadataResponseModel.js +47 -0
  324. package/dist/serialization/types/CharacterResponseModel.d.ts +12 -0
  325. package/dist/serialization/types/CharacterResponseModel.js +44 -0
  326. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  327. package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
  328. package/dist/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +4 -0
  329. package/dist/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.js +4 -0
  330. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
  331. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
  332. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
  333. package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
  334. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +3 -0
  335. package/dist/serialization/types/ConversationHistoryTranscriptResponseModel.js +3 -0
  336. package/dist/serialization/types/ConversationReasoningModel.d.ts +10 -0
  337. package/dist/serialization/types/ConversationReasoningModel.js +42 -0
  338. package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +3 -0
  339. package/dist/serialization/types/ConversationSummaryResponseModel.js +3 -0
  340. package/dist/serialization/types/ConversationUserResponseModel.d.ts +4 -0
  341. package/dist/serialization/types/ConversationUserResponseModel.js +4 -0
  342. package/dist/serialization/types/CreateAgentProcedureParams.d.ts +9 -0
  343. package/dist/serialization/types/CreateAgentProcedureParams.js +41 -0
  344. package/dist/serialization/types/CreateExotelPhoneNumberRequest.d.ts +1 -0
  345. package/dist/serialization/types/CreateExotelPhoneNumberRequest.js +1 -0
  346. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  347. package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  348. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +1 -0
  349. package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +1 -0
  350. package/dist/serialization/types/CriteriaScoringMode.d.ts +7 -0
  351. package/dist/serialization/types/CriteriaScoringMode.js +39 -0
  352. package/dist/serialization/types/CustomHeaderAuthResponse.d.ts +4 -0
  353. package/dist/serialization/types/CustomHeaderAuthResponse.js +4 -0
  354. package/dist/serialization/types/DeleteAgentProcedureParams.d.ts +9 -0
  355. package/dist/serialization/types/DeleteAgentProcedureParams.js +41 -0
  356. package/dist/serialization/types/FrustratedConversationRef.d.ts +15 -0
  357. package/dist/serialization/types/FrustratedConversationRef.js +47 -0
  358. package/dist/serialization/types/FrustratedConversationRefOverallLabel.d.ts +7 -0
  359. package/dist/serialization/types/FrustratedConversationRefOverallLabel.js +39 -0
  360. package/dist/serialization/types/ListAgentProceduresParams.d.ts +9 -0
  361. package/dist/serialization/types/ListAgentProceduresParams.js +41 -0
  362. package/dist/serialization/types/ListAgentReferencesParams.d.ts +9 -0
  363. package/dist/serialization/types/ListAgentReferencesParams.js +41 -0
  364. package/dist/serialization/types/LiteralJsonSchemaPropertyType.d.ts +1 -1
  365. package/dist/serialization/types/LiteralJsonSchemaPropertyType.js +7 -1
  366. package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -1
  367. package/dist/serialization/types/LlmLiteralJsonSchemaPropertyType.js +7 -1
  368. package/dist/serialization/types/MergePreviewResponseModel.d.ts +30 -0
  369. package/dist/serialization/types/MergePreviewResponseModel.js +62 -0
  370. package/dist/serialization/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +19 -0
  371. package/dist/serialization/types/MergePreviewResponseModelPhoneNumbersItem.js +51 -0
  372. package/dist/serialization/types/MtlsAuthResponse.d.ts +4 -0
  373. package/dist/serialization/types/MtlsAuthResponse.js +4 -0
  374. package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +4 -0
  375. package/dist/serialization/types/OAuth2ClientCredsResponse.js +4 -0
  376. package/dist/serialization/types/OAuth2JwtResponse.d.ts +4 -0
  377. package/dist/serialization/types/OAuth2JwtResponse.js +4 -0
  378. package/dist/serialization/types/PermissionType.d.ts +1 -1
  379. package/dist/serialization/types/PermissionType.js +2 -0
  380. package/dist/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  381. package/dist/serialization/types/PhoneNumberTransfer.js +2 -0
  382. package/dist/serialization/types/PrivateKeyJwtResponse.d.ts +4 -0
  383. package/dist/serialization/types/PrivateKeyJwtResponse.js +4 -0
  384. package/dist/serialization/types/ProcedureAtVersionInput.d.ts +1 -1
  385. package/dist/serialization/types/ProcedureAtVersionInput.js +1 -1
  386. package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +1 -1
  387. package/dist/serialization/types/ProcedureAtVersionOutput.js +1 -1
  388. package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  389. package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
  390. package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  391. package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
  392. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  393. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  394. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  395. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  396. package/dist/serialization/types/PromptEvaluationCriteria.d.ts +4 -0
  397. package/dist/serialization/types/PromptEvaluationCriteria.js +4 -0
  398. package/dist/serialization/types/ScimGroupResponseModel.d.ts +14 -0
  399. package/dist/serialization/types/ScimGroupResponseModel.js +46 -0
  400. package/dist/serialization/types/ScopedAnalysisResult.d.ts +1 -0
  401. package/dist/serialization/types/ScopedAnalysisResult.js +1 -0
  402. package/dist/serialization/types/SentimentAggregate.d.ts +14 -0
  403. package/dist/serialization/types/SentimentAggregate.js +46 -0
  404. package/dist/serialization/types/SlackBotAuthResponse.d.ts +4 -0
  405. package/dist/serialization/types/SlackBotAuthResponse.js +4 -0
  406. package/dist/serialization/types/TurnConfig.d.ts +1 -0
  407. package/dist/serialization/types/TurnConfig.js +1 -0
  408. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  409. package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  410. package/dist/serialization/types/UpdateAgentProcedureParams.d.ts +9 -0
  411. package/dist/serialization/types/UpdateAgentProcedureParams.js +41 -0
  412. package/dist/serialization/types/UpdateBearerAuthRequest.d.ts +10 -0
  413. package/dist/serialization/types/UpdateBearerAuthRequest.js +42 -0
  414. package/dist/serialization/types/UrlSecretAuthResponse.d.ts +4 -0
  415. package/dist/serialization/types/UrlSecretAuthResponse.js +4 -0
  416. package/dist/serialization/types/UuiTransferConfig.d.ts +12 -0
  417. package/dist/serialization/types/UuiTransferConfig.js +44 -0
  418. package/dist/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +7 -0
  419. package/dist/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.js +39 -0
  420. package/dist/serialization/types/WebhookEventType.d.ts +1 -1
  421. package/dist/serialization/types/WebhookEventType.js +7 -1
  422. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  423. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
  424. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  425. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
  426. package/dist/serialization/types/WhatsAppAuthResponse.d.ts +4 -0
  427. package/dist/serialization/types/WhatsAppAuthResponse.js +4 -0
  428. package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -2
  429. package/dist/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -2
  430. package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -2
  431. package/dist/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -2
  432. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  433. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  434. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  435. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  436. package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  437. package/dist/serialization/types/WorkspaceGroupPermission.js +2 -0
  438. package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +2 -0
  439. package/dist/serialization/types/WorkspaceGroupResponseModel.js +2 -0
  440. package/dist/serialization/types/index.d.ts +22 -1
  441. package/dist/serialization/types/index.js +22 -1
  442. package/dist/version.d.ts +1 -1
  443. package/dist/version.js +1 -1
  444. package/dist/wrapper/speech-engine/SpeechEngineResource.js +13 -3
  445. package/dist/wrapper/speech-engine/SpeechEngineServer.js +34 -20
  446. package/dist/wrapper/speech-engine/types.d.ts +11 -0
  447. package/package.json +1 -1
  448. package/reference.md +219 -2
  449. package/serialization/resources/index.d.ts +1 -0
  450. package/serialization/resources/index.js +1 -0
  451. package/serialization/resources/workspace/client/index.d.ts +1 -0
  452. package/serialization/resources/workspace/client/index.js +17 -0
  453. package/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.d.ts +9 -0
  454. package/serialization/resources/workspace/client/requests/BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost.js +41 -0
  455. package/serialization/resources/workspace/client/requests/index.d.ts +1 -0
  456. package/serialization/resources/workspace/client/requests/index.js +5 -0
  457. package/serialization/resources/workspace/index.d.ts +1 -0
  458. package/serialization/resources/workspace/index.js +1 -0
  459. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +5 -1
  460. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +2 -0
  461. package/serialization/types/AgentBranchSummary.d.ts +1 -0
  462. package/serialization/types/AgentBranchSummary.js +1 -0
  463. package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.d.ts +4 -4
  464. package/serialization/types/ApiIntegrationOAuth2AuthCodeResponse.js +4 -4
  465. package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.d.ts +4 -4
  466. package/serialization/types/ApiIntegrationOAuth2CustomAppResponse.js +4 -4
  467. package/serialization/types/AudioFilterId.d.ts +7 -0
  468. package/serialization/types/AudioFilterId.js +39 -0
  469. package/serialization/types/AuthConnectionStatus.d.ts +7 -0
  470. package/serialization/types/AuthConnectionStatus.js +39 -0
  471. package/serialization/types/BaseTurnConfig.d.ts +1 -0
  472. package/serialization/types/BaseTurnConfig.js +1 -0
  473. package/serialization/types/BasicAuthResponse.d.ts +4 -0
  474. package/serialization/types/BasicAuthResponse.js +4 -0
  475. package/serialization/types/BearerAuthResponse.d.ts +4 -0
  476. package/serialization/types/BearerAuthResponse.js +4 -0
  477. package/serialization/types/CaptionStyleModel.d.ts +4 -0
  478. package/serialization/types/CaptionStyleModel.js +4 -0
  479. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +1 -1
  480. package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +11 -1
  481. package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +1 -1
  482. package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +11 -1
  483. package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +1 -1
  484. package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +11 -1
  485. package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +1 -1
  486. package/serialization/types/CaptionStyleWordAnimationModelExitType.js +11 -1
  487. package/serialization/types/CharacterAge.d.ts +7 -0
  488. package/serialization/types/CharacterAge.js +39 -0
  489. package/serialization/types/CharacterGender.d.ts +7 -0
  490. package/serialization/types/CharacterGender.js +39 -0
  491. package/serialization/types/CharacterMetadataResponseModel.d.ts +15 -0
  492. package/serialization/types/CharacterMetadataResponseModel.js +47 -0
  493. package/serialization/types/CharacterResponseModel.d.ts +12 -0
  494. package/serialization/types/CharacterResponseModel.js +44 -0
  495. package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
  496. package/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
  497. package/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.d.ts +4 -0
  498. package/serialization/types/ConversationHistoryEvaluationCriteriaResultCommonModel.js +4 -0
  499. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
  500. package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
  501. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
  502. package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
  503. package/serialization/types/ConversationHistoryTranscriptResponseModel.d.ts +3 -0
  504. package/serialization/types/ConversationHistoryTranscriptResponseModel.js +3 -0
  505. package/serialization/types/ConversationReasoningModel.d.ts +10 -0
  506. package/serialization/types/ConversationReasoningModel.js +42 -0
  507. package/serialization/types/ConversationSummaryResponseModel.d.ts +3 -0
  508. package/serialization/types/ConversationSummaryResponseModel.js +3 -0
  509. package/serialization/types/ConversationUserResponseModel.d.ts +4 -0
  510. package/serialization/types/ConversationUserResponseModel.js +4 -0
  511. package/serialization/types/CreateAgentProcedureParams.d.ts +9 -0
  512. package/serialization/types/CreateAgentProcedureParams.js +41 -0
  513. package/serialization/types/CreateExotelPhoneNumberRequest.d.ts +1 -0
  514. package/serialization/types/CreateExotelPhoneNumberRequest.js +1 -0
  515. package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
  516. package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
  517. package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +1 -0
  518. package/serialization/types/CreateTwilioPhoneNumberRequest.js +1 -0
  519. package/serialization/types/CriteriaScoringMode.d.ts +7 -0
  520. package/serialization/types/CriteriaScoringMode.js +39 -0
  521. package/serialization/types/CustomHeaderAuthResponse.d.ts +4 -0
  522. package/serialization/types/CustomHeaderAuthResponse.js +4 -0
  523. package/serialization/types/DeleteAgentProcedureParams.d.ts +9 -0
  524. package/serialization/types/DeleteAgentProcedureParams.js +41 -0
  525. package/serialization/types/FrustratedConversationRef.d.ts +15 -0
  526. package/serialization/types/FrustratedConversationRef.js +47 -0
  527. package/serialization/types/FrustratedConversationRefOverallLabel.d.ts +7 -0
  528. package/serialization/types/FrustratedConversationRefOverallLabel.js +39 -0
  529. package/serialization/types/ListAgentProceduresParams.d.ts +9 -0
  530. package/serialization/types/ListAgentProceduresParams.js +41 -0
  531. package/serialization/types/ListAgentReferencesParams.d.ts +9 -0
  532. package/serialization/types/ListAgentReferencesParams.js +41 -0
  533. package/serialization/types/LiteralJsonSchemaPropertyType.d.ts +1 -1
  534. package/serialization/types/LiteralJsonSchemaPropertyType.js +7 -1
  535. package/serialization/types/LlmLiteralJsonSchemaPropertyType.d.ts +1 -1
  536. package/serialization/types/LlmLiteralJsonSchemaPropertyType.js +7 -1
  537. package/serialization/types/MergePreviewResponseModel.d.ts +30 -0
  538. package/serialization/types/MergePreviewResponseModel.js +62 -0
  539. package/serialization/types/MergePreviewResponseModelPhoneNumbersItem.d.ts +19 -0
  540. package/serialization/types/MergePreviewResponseModelPhoneNumbersItem.js +51 -0
  541. package/serialization/types/MtlsAuthResponse.d.ts +4 -0
  542. package/serialization/types/MtlsAuthResponse.js +4 -0
  543. package/serialization/types/OAuth2ClientCredsResponse.d.ts +4 -0
  544. package/serialization/types/OAuth2ClientCredsResponse.js +4 -0
  545. package/serialization/types/OAuth2JwtResponse.d.ts +4 -0
  546. package/serialization/types/OAuth2JwtResponse.js +4 -0
  547. package/serialization/types/PermissionType.d.ts +1 -1
  548. package/serialization/types/PermissionType.js +2 -0
  549. package/serialization/types/PhoneNumberTransfer.d.ts +2 -0
  550. package/serialization/types/PhoneNumberTransfer.js +2 -0
  551. package/serialization/types/PrivateKeyJwtResponse.d.ts +4 -0
  552. package/serialization/types/PrivateKeyJwtResponse.js +4 -0
  553. package/serialization/types/ProcedureAtVersionInput.d.ts +1 -1
  554. package/serialization/types/ProcedureAtVersionInput.js +1 -1
  555. package/serialization/types/ProcedureAtVersionOutput.d.ts +1 -1
  556. package/serialization/types/ProcedureAtVersionOutput.js +1 -1
  557. package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
  558. package/serialization/types/PromptAgentApiModelInput.js +1 -0
  559. package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
  560. package/serialization/types/PromptAgentApiModelOutput.js +1 -0
  561. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
  562. package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
  563. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
  564. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
  565. package/serialization/types/PromptEvaluationCriteria.d.ts +4 -0
  566. package/serialization/types/PromptEvaluationCriteria.js +4 -0
  567. package/serialization/types/ScimGroupResponseModel.d.ts +14 -0
  568. package/serialization/types/ScimGroupResponseModel.js +46 -0
  569. package/serialization/types/ScopedAnalysisResult.d.ts +1 -0
  570. package/serialization/types/ScopedAnalysisResult.js +1 -0
  571. package/serialization/types/SentimentAggregate.d.ts +14 -0
  572. package/serialization/types/SentimentAggregate.js +46 -0
  573. package/serialization/types/SlackBotAuthResponse.d.ts +4 -0
  574. package/serialization/types/SlackBotAuthResponse.js +4 -0
  575. package/serialization/types/TurnConfig.d.ts +1 -0
  576. package/serialization/types/TurnConfig.js +1 -0
  577. package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
  578. package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
  579. package/serialization/types/UpdateAgentProcedureParams.d.ts +9 -0
  580. package/serialization/types/UpdateAgentProcedureParams.js +41 -0
  581. package/serialization/types/UpdateBearerAuthRequest.d.ts +10 -0
  582. package/serialization/types/UpdateBearerAuthRequest.js +42 -0
  583. package/serialization/types/UrlSecretAuthResponse.d.ts +4 -0
  584. package/serialization/types/UrlSecretAuthResponse.js +4 -0
  585. package/serialization/types/UuiTransferConfig.d.ts +12 -0
  586. package/serialization/types/UuiTransferConfig.js +44 -0
  587. package/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.d.ts +7 -0
  588. package/serialization/types/UuiTransferConfigProtocolDiscriminatorMode.js +39 -0
  589. package/serialization/types/WebhookEventType.d.ts +1 -1
  590. package/serialization/types/WebhookEventType.js +7 -1
  591. package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  592. package/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
  593. package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  594. package/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
  595. package/serialization/types/WhatsAppAuthResponse.d.ts +4 -0
  596. package/serialization/types/WhatsAppAuthResponse.js +4 -0
  597. package/serialization/types/WorkflowOverrideAgentNodeModelInput.d.ts +2 -2
  598. package/serialization/types/WorkflowOverrideAgentNodeModelInput.js +2 -2
  599. package/serialization/types/WorkflowOverrideAgentNodeModelOutput.d.ts +2 -2
  600. package/serialization/types/WorkflowOverrideAgentNodeModelOutput.js +2 -2
  601. package/serialization/types/WorkflowPhoneNumberNodeModelInput.d.ts +2 -0
  602. package/serialization/types/WorkflowPhoneNumberNodeModelInput.js +2 -0
  603. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.d.ts +2 -0
  604. package/serialization/types/WorkflowPhoneNumberNodeModelOutput.js +2 -0
  605. package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
  606. package/serialization/types/WorkspaceGroupPermission.js +2 -0
  607. package/serialization/types/WorkspaceGroupResponseModel.d.ts +2 -0
  608. package/serialization/types/WorkspaceGroupResponseModel.js +2 -0
  609. package/serialization/types/index.d.ts +22 -1
  610. package/serialization/types/index.js +22 -1
  611. package/version.d.ts +1 -1
  612. package/version.js +1 -1
  613. package/wrapper/speech-engine/SpeechEngineResource.js +13 -3
  614. package/wrapper/speech-engine/SpeechEngineServer.js +34 -20
  615. package/wrapper/speech-engine/types.d.ts +11 -0
  616. package/api/types/OAuthConnectionStatus.d.ts +0 -6
  617. package/api/types/OAuthConnectionStatus.js +0 -9
  618. package/dist/api/types/OAuthConnectionStatus.d.ts +0 -6
  619. package/dist/api/types/OAuthConnectionStatus.js +0 -9
  620. package/dist/serialization/types/OAuthConnectionStatus.d.ts +0 -7
  621. package/serialization/types/OAuthConnectionStatus.d.ts +0 -7
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.WorkspaceGroupResponseModel = void 0;
38
38
  const core = __importStar(require("../../core"));
39
+ const ScimGroupResponseModel_1 = require("./ScimGroupResponseModel");
39
40
  const WorkspaceGroupPermission_1 = require("./WorkspaceGroupPermission");
40
41
  const WorkspaceGroupResponseModelGroupPvcLimit_1 = require("./WorkspaceGroupResponseModelGroupPvcLimit");
41
42
  const WorkspaceGroupResponseModelGroupUsageLimit_1 = require("./WorkspaceGroupResponseModelGroupUsageLimit");
@@ -49,5 +50,6 @@ exports.WorkspaceGroupResponseModel = core.serialization.object({
49
50
  characterCount: core.serialization.property("character_count", core.serialization.number().optional()),
50
51
  scimExternalId: core.serialization.property("scim_external_id", core.serialization.string().optional()),
51
52
  isScimSynced: core.serialization.property("is_scim_synced", core.serialization.boolean().optional()),
53
+ scimGroup: core.serialization.property("scim_group", ScimGroupResponseModel_1.ScimGroupResponseModel.optional()),
52
54
  scimFrozen: core.serialization.property("scim_frozen", core.serialization.boolean().optional()),
53
55
  });
@@ -139,6 +139,7 @@ export * from "./AttachedTestModel";
139
139
  export * from "./AudioAnalysis";
140
140
  export * from "./AudioAnalysisResult";
141
141
  export * from "./AudioAnalysisStatus";
142
+ export * from "./AudioFilterId";
142
143
  export * from "./AudioFormatEnum";
143
144
  export * from "./AudioIsolationHistoryItemResponseModel";
144
145
  export * from "./AudioKeyMoment";
@@ -156,6 +157,7 @@ export * from "./AuthConnectionDependencies";
156
157
  export * from "./AuthConnectionDependenciesMcpServersItem";
157
158
  export * from "./AuthConnectionDependenciesToolsItem";
158
159
  export * from "./AuthConnectionLocator";
160
+ export * from "./AuthConnectionStatus";
159
161
  export * from "./AuthenticationActivityId";
160
162
  export * from "./AuthorizationMethod";
161
163
  export * from "./AuthSettings";
@@ -227,9 +229,13 @@ export * from "./ChapterState";
227
229
  export * from "./ChapterStatisticsResponse";
228
230
  export * from "./ChapterWithContentResponseModel";
229
231
  export * from "./ChapterWithContentResponseModelState";
232
+ export * from "./CharacterAge";
230
233
  export * from "./CharacterAlignmentModel";
231
234
  export * from "./CharacterAlignmentResponseModel";
235
+ export * from "./CharacterGender";
236
+ export * from "./CharacterMetadataResponseModel";
232
237
  export * from "./CharacterRefreshPeriod";
238
+ export * from "./CharacterResponseModel";
233
239
  export * from "./CharacterUsageResponse";
234
240
  export * from "./ChatSourceMedium";
235
241
  export * from "./CheckServiceAvailabilityParams";
@@ -346,6 +352,7 @@ export * from "./ConversationInitiationClientDataWebhookRequestHeadersValue";
346
352
  export * from "./ConversationInitiationSource";
347
353
  export * from "./ConversationInitiationSourceInfo";
348
354
  export * from "./ConversationProduct";
355
+ export * from "./ConversationReasoningModel";
349
356
  export * from "./ConversationSentimentAnalysis";
350
357
  export * from "./ConversationSentimentAnalysisOverallLabel";
351
358
  export * from "./ConversationSignedUrlResponseModel";
@@ -364,6 +371,7 @@ export * from "./ConversationVoiceUsageModel";
364
371
  export * from "./ConvertChapterResponseModel";
365
372
  export * from "./ConvertProjectResponseModel";
366
373
  export * from "./CreateAgentBranchResponseModel";
374
+ export * from "./CreateAgentProcedureParams";
367
375
  export * from "./CreateAgentResponseModel";
368
376
  export * from "./CreateAgentRuleParams";
369
377
  export * from "./CreateAgentTestFolderResponseModel";
@@ -403,6 +411,7 @@ export * from "./CreateStringEnvironmentVariableRequest";
403
411
  export * from "./CreateToolCallUnitTestRequest";
404
412
  export * from "./CreateTranscriptRequest";
405
413
  export * from "./CreateTwilioPhoneNumberRequest";
414
+ export * from "./CriteriaScoringMode";
406
415
  export * from "./CueOptionsRequest";
407
416
  export * from "./Currency";
408
417
  export * from "./CustomGuardrailConfig";
@@ -426,6 +435,7 @@ export * from "./DashboardDataCollectionChartModel";
426
435
  export * from "./DataCollectionResultCommonModel";
427
436
  export * from "./DefaultSharingGroupResponseModel";
428
437
  export * from "./DefaultSharingGroupResponseModelPermissionLevel";
438
+ export * from "./DeleteAgentProcedureParams";
429
439
  export * from "./DeleteAgentRuleParams";
430
440
  export * from "./DeleteAssetParams";
431
441
  export * from "./DeleteCalendarEventParams";
@@ -557,6 +567,8 @@ export * from "./FocusGuardrail";
557
567
  export * from "./ForcedAlignmentCharacterResponseModel";
558
568
  export * from "./ForcedAlignmentResponseModel";
559
569
  export * from "./ForcedAlignmentWordResponseModel";
570
+ export * from "./FrustratedConversationRef";
571
+ export * from "./FrustratedConversationRefOverallLabel";
560
572
  export * from "./Gender";
561
573
  export * from "./GenerateVoiceRequest";
562
574
  export * from "./GenerationChunkInput";
@@ -713,6 +725,8 @@ export * from "./LanguagesResponse";
713
725
  export * from "./LeaveMessageParams";
714
726
  export * from "./LibraryVoiceResponse";
715
727
  export * from "./LibraryVoiceResponseModelCategory";
728
+ export * from "./ListAgentProceduresParams";
729
+ export * from "./ListAgentReferencesParams";
716
730
  export * from "./ListAgentRulesParams";
717
731
  export * from "./ListAssetsParams";
718
732
  export * from "./ListAuthConnectionsResponse";
@@ -789,6 +803,8 @@ export * from "./MediaCodec";
789
803
  export * from "./MediaId";
790
804
  export * from "./MemoryEntrySearchResult";
791
805
  export * from "./MemoryEntrySearchResultSource";
806
+ export * from "./MergePreviewResponseModel";
807
+ export * from "./MergePreviewResponseModelPhoneNumbersItem";
792
808
  export * from "./MessageSearchSortBy";
793
809
  export * from "./MessagesSearchResponse";
794
810
  export * from "./MessagesSearchResult";
@@ -819,7 +835,6 @@ export * from "./OAuth2ClientCredsResponse";
819
835
  export * from "./OAuth2JwtResponse";
820
836
  export * from "./OAuth2JwtResponseAlgorithm";
821
837
  export * from "./OAuth2JwtResponseTokenResponseField";
822
- export * from "./OAuthConnectionStatus";
823
838
  export * from "./ObjectJsonSchemaPropertyInput";
824
839
  export * from "./ObjectJsonSchemaPropertyInputPropertiesValue";
825
840
  export * from "./ObjectJsonSchemaPropertyOutput";
@@ -1044,6 +1059,7 @@ export * from "./SayNodeLiteralMessageOutput";
1044
1059
  export * from "./SayNodePromptMessageInput";
1045
1060
  export * from "./SayNodePromptMessageOutput";
1046
1061
  export * from "./ScheduleGroupSessionParams";
1062
+ export * from "./ScimGroupResponseModel";
1047
1063
  export * from "./ScopedAnalysisResult";
1048
1064
  export * from "./ScribeAuthErrorPayload";
1049
1065
  export * from "./ScribeChunkSizeExceededErrorPayload";
@@ -1075,6 +1091,7 @@ export * from "./SegmentTranslationResponse";
1075
1091
  export * from "./SegmentUpdateResponse";
1076
1092
  export * from "./SendText";
1077
1093
  export * from "./SendTextMulti";
1094
+ export * from "./SentimentAggregate";
1078
1095
  export * from "./SessionStartedPayload";
1079
1096
  export * from "./SessionStartedPayloadConfig";
1080
1097
  export * from "./SessionStartedPayloadConfigCommitStrategy";
@@ -1271,10 +1288,12 @@ export * from "./UnitTestToolCallEvaluationModelOutput";
1271
1288
  export * from "./UnitTestToolCallParameter";
1272
1289
  export * from "./UnitTestToolCallParameterEval";
1273
1290
  export * from "./UnitTestWorkflowNodeTransitionEvaluationNodeId";
1291
+ export * from "./UpdateAgentProcedureParams";
1274
1292
  export * from "./UpdateAgentRuleParams";
1275
1293
  export * from "./UpdateAssetParams";
1276
1294
  export * from "./UpdateAudioNativeProjectRequest";
1277
1295
  export * from "./UpdateBasicAuthRequest";
1296
+ export * from "./UpdateBearerAuthRequest";
1278
1297
  export * from "./UpdateBookingPageAppearanceParams";
1279
1298
  export * from "./UpdateBookingPageSettingsParams";
1280
1299
  export * from "./UpdateBusinessInfoParams";
@@ -1316,6 +1335,8 @@ export * from "./UsersSortBy";
1316
1335
  export * from "./UserTranscriptPayload";
1317
1336
  export * from "./UserTypeId";
1318
1337
  export * from "./UtteranceResponseModel";
1338
+ export * from "./UuiTransferConfig";
1339
+ export * from "./UuiTransferConfigProtocolDiscriminatorMode";
1319
1340
  export * from "./VadConfig";
1320
1341
  export * from "./VadConfigWorkflowOverride";
1321
1342
  export * from "./ValidationError";
@@ -155,6 +155,7 @@ __exportStar(require("./AttachedTestModel"), exports);
155
155
  __exportStar(require("./AudioAnalysis"), exports);
156
156
  __exportStar(require("./AudioAnalysisResult"), exports);
157
157
  __exportStar(require("./AudioAnalysisStatus"), exports);
158
+ __exportStar(require("./AudioFilterId"), exports);
158
159
  __exportStar(require("./AudioFormatEnum"), exports);
159
160
  __exportStar(require("./AudioIsolationHistoryItemResponseModel"), exports);
160
161
  __exportStar(require("./AudioKeyMoment"), exports);
@@ -172,6 +173,7 @@ __exportStar(require("./AuthConnectionDependencies"), exports);
172
173
  __exportStar(require("./AuthConnectionDependenciesMcpServersItem"), exports);
173
174
  __exportStar(require("./AuthConnectionDependenciesToolsItem"), exports);
174
175
  __exportStar(require("./AuthConnectionLocator"), exports);
176
+ __exportStar(require("./AuthConnectionStatus"), exports);
175
177
  __exportStar(require("./AuthenticationActivityId"), exports);
176
178
  __exportStar(require("./AuthorizationMethod"), exports);
177
179
  __exportStar(require("./AuthSettings"), exports);
@@ -243,9 +245,13 @@ __exportStar(require("./ChapterState"), exports);
243
245
  __exportStar(require("./ChapterStatisticsResponse"), exports);
244
246
  __exportStar(require("./ChapterWithContentResponseModel"), exports);
245
247
  __exportStar(require("./ChapterWithContentResponseModelState"), exports);
248
+ __exportStar(require("./CharacterAge"), exports);
246
249
  __exportStar(require("./CharacterAlignmentModel"), exports);
247
250
  __exportStar(require("./CharacterAlignmentResponseModel"), exports);
251
+ __exportStar(require("./CharacterGender"), exports);
252
+ __exportStar(require("./CharacterMetadataResponseModel"), exports);
248
253
  __exportStar(require("./CharacterRefreshPeriod"), exports);
254
+ __exportStar(require("./CharacterResponseModel"), exports);
249
255
  __exportStar(require("./CharacterUsageResponse"), exports);
250
256
  __exportStar(require("./ChatSourceMedium"), exports);
251
257
  __exportStar(require("./CheckServiceAvailabilityParams"), exports);
@@ -362,6 +368,7 @@ __exportStar(require("./ConversationInitiationClientDataWebhookRequestHeadersVal
362
368
  __exportStar(require("./ConversationInitiationSource"), exports);
363
369
  __exportStar(require("./ConversationInitiationSourceInfo"), exports);
364
370
  __exportStar(require("./ConversationProduct"), exports);
371
+ __exportStar(require("./ConversationReasoningModel"), exports);
365
372
  __exportStar(require("./ConversationSentimentAnalysis"), exports);
366
373
  __exportStar(require("./ConversationSentimentAnalysisOverallLabel"), exports);
367
374
  __exportStar(require("./ConversationSignedUrlResponseModel"), exports);
@@ -380,6 +387,7 @@ __exportStar(require("./ConversationVoiceUsageModel"), exports);
380
387
  __exportStar(require("./ConvertChapterResponseModel"), exports);
381
388
  __exportStar(require("./ConvertProjectResponseModel"), exports);
382
389
  __exportStar(require("./CreateAgentBranchResponseModel"), exports);
390
+ __exportStar(require("./CreateAgentProcedureParams"), exports);
383
391
  __exportStar(require("./CreateAgentResponseModel"), exports);
384
392
  __exportStar(require("./CreateAgentRuleParams"), exports);
385
393
  __exportStar(require("./CreateAgentTestFolderResponseModel"), exports);
@@ -419,6 +427,7 @@ __exportStar(require("./CreateStringEnvironmentVariableRequest"), exports);
419
427
  __exportStar(require("./CreateToolCallUnitTestRequest"), exports);
420
428
  __exportStar(require("./CreateTranscriptRequest"), exports);
421
429
  __exportStar(require("./CreateTwilioPhoneNumberRequest"), exports);
430
+ __exportStar(require("./CriteriaScoringMode"), exports);
422
431
  __exportStar(require("./CueOptionsRequest"), exports);
423
432
  __exportStar(require("./Currency"), exports);
424
433
  __exportStar(require("./CustomGuardrailConfig"), exports);
@@ -442,6 +451,7 @@ __exportStar(require("./DashboardDataCollectionChartModel"), exports);
442
451
  __exportStar(require("./DataCollectionResultCommonModel"), exports);
443
452
  __exportStar(require("./DefaultSharingGroupResponseModel"), exports);
444
453
  __exportStar(require("./DefaultSharingGroupResponseModelPermissionLevel"), exports);
454
+ __exportStar(require("./DeleteAgentProcedureParams"), exports);
445
455
  __exportStar(require("./DeleteAgentRuleParams"), exports);
446
456
  __exportStar(require("./DeleteAssetParams"), exports);
447
457
  __exportStar(require("./DeleteCalendarEventParams"), exports);
@@ -573,6 +583,8 @@ __exportStar(require("./FocusGuardrail"), exports);
573
583
  __exportStar(require("./ForcedAlignmentCharacterResponseModel"), exports);
574
584
  __exportStar(require("./ForcedAlignmentResponseModel"), exports);
575
585
  __exportStar(require("./ForcedAlignmentWordResponseModel"), exports);
586
+ __exportStar(require("./FrustratedConversationRef"), exports);
587
+ __exportStar(require("./FrustratedConversationRefOverallLabel"), exports);
576
588
  __exportStar(require("./Gender"), exports);
577
589
  __exportStar(require("./GenerateVoiceRequest"), exports);
578
590
  __exportStar(require("./GenerationChunkInput"), exports);
@@ -729,6 +741,8 @@ __exportStar(require("./LanguagesResponse"), exports);
729
741
  __exportStar(require("./LeaveMessageParams"), exports);
730
742
  __exportStar(require("./LibraryVoiceResponse"), exports);
731
743
  __exportStar(require("./LibraryVoiceResponseModelCategory"), exports);
744
+ __exportStar(require("./ListAgentProceduresParams"), exports);
745
+ __exportStar(require("./ListAgentReferencesParams"), exports);
732
746
  __exportStar(require("./ListAgentRulesParams"), exports);
733
747
  __exportStar(require("./ListAssetsParams"), exports);
734
748
  __exportStar(require("./ListAuthConnectionsResponse"), exports);
@@ -805,6 +819,8 @@ __exportStar(require("./MediaCodec"), exports);
805
819
  __exportStar(require("./MediaId"), exports);
806
820
  __exportStar(require("./MemoryEntrySearchResult"), exports);
807
821
  __exportStar(require("./MemoryEntrySearchResultSource"), exports);
822
+ __exportStar(require("./MergePreviewResponseModel"), exports);
823
+ __exportStar(require("./MergePreviewResponseModelPhoneNumbersItem"), exports);
808
824
  __exportStar(require("./MessageSearchSortBy"), exports);
809
825
  __exportStar(require("./MessagesSearchResponse"), exports);
810
826
  __exportStar(require("./MessagesSearchResult"), exports);
@@ -835,7 +851,6 @@ __exportStar(require("./OAuth2ClientCredsResponse"), exports);
835
851
  __exportStar(require("./OAuth2JwtResponse"), exports);
836
852
  __exportStar(require("./OAuth2JwtResponseAlgorithm"), exports);
837
853
  __exportStar(require("./OAuth2JwtResponseTokenResponseField"), exports);
838
- __exportStar(require("./OAuthConnectionStatus"), exports);
839
854
  __exportStar(require("./ObjectJsonSchemaPropertyInput"), exports);
840
855
  __exportStar(require("./ObjectJsonSchemaPropertyInputPropertiesValue"), exports);
841
856
  __exportStar(require("./ObjectJsonSchemaPropertyOutput"), exports);
@@ -1060,6 +1075,7 @@ __exportStar(require("./SayNodeLiteralMessageOutput"), exports);
1060
1075
  __exportStar(require("./SayNodePromptMessageInput"), exports);
1061
1076
  __exportStar(require("./SayNodePromptMessageOutput"), exports);
1062
1077
  __exportStar(require("./ScheduleGroupSessionParams"), exports);
1078
+ __exportStar(require("./ScimGroupResponseModel"), exports);
1063
1079
  __exportStar(require("./ScopedAnalysisResult"), exports);
1064
1080
  __exportStar(require("./ScribeAuthErrorPayload"), exports);
1065
1081
  __exportStar(require("./ScribeChunkSizeExceededErrorPayload"), exports);
@@ -1091,6 +1107,7 @@ __exportStar(require("./SegmentTranslationResponse"), exports);
1091
1107
  __exportStar(require("./SegmentUpdateResponse"), exports);
1092
1108
  __exportStar(require("./SendText"), exports);
1093
1109
  __exportStar(require("./SendTextMulti"), exports);
1110
+ __exportStar(require("./SentimentAggregate"), exports);
1094
1111
  __exportStar(require("./SessionStartedPayload"), exports);
1095
1112
  __exportStar(require("./SessionStartedPayloadConfig"), exports);
1096
1113
  __exportStar(require("./SessionStartedPayloadConfigCommitStrategy"), exports);
@@ -1287,10 +1304,12 @@ __exportStar(require("./UnitTestToolCallEvaluationModelOutput"), exports);
1287
1304
  __exportStar(require("./UnitTestToolCallParameter"), exports);
1288
1305
  __exportStar(require("./UnitTestToolCallParameterEval"), exports);
1289
1306
  __exportStar(require("./UnitTestWorkflowNodeTransitionEvaluationNodeId"), exports);
1307
+ __exportStar(require("./UpdateAgentProcedureParams"), exports);
1290
1308
  __exportStar(require("./UpdateAgentRuleParams"), exports);
1291
1309
  __exportStar(require("./UpdateAssetParams"), exports);
1292
1310
  __exportStar(require("./UpdateAudioNativeProjectRequest"), exports);
1293
1311
  __exportStar(require("./UpdateBasicAuthRequest"), exports);
1312
+ __exportStar(require("./UpdateBearerAuthRequest"), exports);
1294
1313
  __exportStar(require("./UpdateBookingPageAppearanceParams"), exports);
1295
1314
  __exportStar(require("./UpdateBookingPageSettingsParams"), exports);
1296
1315
  __exportStar(require("./UpdateBusinessInfoParams"), exports);
@@ -1332,6 +1351,8 @@ __exportStar(require("./UsersSortBy"), exports);
1332
1351
  __exportStar(require("./UserTranscriptPayload"), exports);
1333
1352
  __exportStar(require("./UserTypeId"), exports);
1334
1353
  __exportStar(require("./UtteranceResponseModel"), exports);
1354
+ __exportStar(require("./UuiTransferConfig"), exports);
1355
+ __exportStar(require("./UuiTransferConfigProtocolDiscriminatorMode"), exports);
1335
1356
  __exportStar(require("./VadConfig"), exports);
1336
1357
  __exportStar(require("./VadConfigWorkflowOverride"), exports);
1337
1358
  __exportStar(require("./ValidationError"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.54.0";
1
+ export declare const SDK_VERSION = "2.55.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "2.54.0";
4
+ exports.SDK_VERSION = "2.55.0";
@@ -111,9 +111,14 @@ class SpeechEngineResource {
111
111
  * ```
112
112
  */
113
113
  attach(httpServer, path, handler) {
114
- var _a;
114
+ var _a, _b;
115
115
  const debug = (_a = handler.debug) !== null && _a !== void 0 ? _a : false;
116
+ const disableAuth = (_b = handler.disableAuth) !== null && _b !== void 0 ? _b : false;
116
117
  const log = debug ? (...args) => console.log("[SpeechEngine]", ...args) : () => { };
118
+ if (disableAuth) {
119
+ console.warn("[SpeechEngine] authentication is disabled on attach() — incoming connections will NOT be verified. " +
120
+ "Make sure the server is protected by either IP allowlist restricting traffic to ElevenLabs or using custom header values.");
121
+ }
117
122
  const wss = new ws_1.default.Server({ noServer: true });
118
123
  const upgradeListener = (req, socket, head) => __awaiter(this, void 0, void 0, function* () {
119
124
  var _a;
@@ -123,14 +128,19 @@ class SpeechEngineResource {
123
128
  log(`path mismatch: expected ${path}, got ${url.pathname} — skipping`);
124
129
  return;
125
130
  }
126
- if (!(yield this.verifyRequest(req))) {
131
+ if (disableAuth) {
132
+ log("auth disabled, upgrading connection without verification");
133
+ }
134
+ else if (!(yield this.verifyRequest(req))) {
127
135
  // verifyRequest returned false — get the detailed reason for debug logging
128
136
  const reason = yield this.getVerificationFailure(req);
129
137
  log(`rejected connection — ${reason}`);
130
138
  socket.destroy();
131
139
  return;
132
140
  }
133
- log("upgrading connection to WebSocket");
141
+ else {
142
+ log("upgrading connection to WebSocket");
143
+ }
134
144
  wss.handleUpgrade(req, socket, head, (ws) => {
135
145
  log("WebSocket connection established");
136
146
  wss.emit("connection", ws);
@@ -39,36 +39,50 @@ class SpeechEngineServer {
39
39
  * Start the standalone WebSocket server on the configured port.
40
40
  */
41
41
  start() {
42
- var _a, _b, _c;
42
+ var _a, _b, _c, _d;
43
43
  if (this.wss) {
44
44
  throw new Error("Server is already started");
45
45
  }
46
- const apiKey = (_a = this.options.apiKey) !== null && _a !== void 0 ? _a : process.env.ELEVENLABS_API_KEY;
47
- if (!apiKey) {
46
+ const disableAuth = (_a = this.options.disableAuth) !== null && _a !== void 0 ? _a : false;
47
+ const apiKey = (_b = this.options.apiKey) !== null && _b !== void 0 ? _b : process.env.ELEVENLABS_API_KEY;
48
+ if (!apiKey && !disableAuth) {
48
49
  throw new Error("SpeechEngine.Server requires an API key to verify incoming connections. " +
49
- "Pass { apiKey: \"...\" } or set the ELEVENLABS_API_KEY environment variable.");
50
+ "Pass { apiKey: \"...\" } or set the ELEVENLABS_API_KEY environment variable. " +
51
+ "To run without authentication, pass { disableAuth: true } — but only behind an IP allowlist.");
50
52
  }
51
- const debug = (_b = this.options.debug) !== null && _b !== void 0 ? _b : false;
53
+ const debug = (_c = this.options.debug) !== null && _c !== void 0 ? _c : false;
52
54
  const log = debug ? (...args) => console.log("[SpeechEngine]", ...args) : () => { };
55
+ if (disableAuth) {
56
+ console.warn("[SpeechEngine] authentication is disabled — incoming connections will NOT be verified. " +
57
+ "Make sure the server is protected by an IP allowlist restricting traffic to ElevenLabs.");
58
+ }
53
59
  const httpServer = (0, node_http_1.createServer)();
54
60
  const wss = new ws_1.default.Server({ noServer: true });
61
+ const verifyToken = disableAuth
62
+ ? null
63
+ : (token) => (0, SpeechEngineResource_1.verifySpeechEngineJwt)(token, apiKey);
55
64
  httpServer.on("upgrade", (req, socket, head) => {
56
- const headerValue = req.headers["x-elevenlabs-speech-engine-authorization"];
57
- const token = Array.isArray(headerValue) ? headerValue[0] : headerValue;
58
- if (!token) {
59
- log("rejected connection — missing X-Elevenlabs-Speech-Engine-Authorization header");
60
- socket.destroy();
61
- return;
62
- }
63
- try {
64
- (0, SpeechEngineResource_1.verifySpeechEngineJwt)(token, apiKey);
65
+ if (verifyToken) {
66
+ const headerValue = req.headers["x-elevenlabs-speech-engine-authorization"];
67
+ const token = Array.isArray(headerValue) ? headerValue[0] : headerValue;
68
+ if (!token) {
69
+ log("rejected connection — missing X-Elevenlabs-Speech-Engine-Authorization header");
70
+ socket.destroy();
71
+ return;
72
+ }
73
+ try {
74
+ verifyToken(token);
75
+ }
76
+ catch (err) {
77
+ log(`rejected connection — ${err instanceof Error ? err.message : String(err)}`);
78
+ socket.destroy();
79
+ return;
80
+ }
81
+ log("verified connection, upgrading to WebSocket");
65
82
  }
66
- catch (err) {
67
- log(`rejected connection ${err instanceof Error ? err.message : String(err)}`);
68
- socket.destroy();
69
- return;
83
+ else {
84
+ log("auth disabled, upgrading connection without verification");
70
85
  }
71
- log("verified connection, upgrading to WebSocket");
72
86
  wss.handleUpgrade(req, socket, head, (ws) => {
73
87
  wss.emit("connection", ws);
74
88
  });
@@ -76,7 +90,7 @@ class SpeechEngineServer {
76
90
  wss.on("connection", (ws) => {
77
91
  this.handleConnection(ws);
78
92
  });
79
- httpServer.listen((_c = this.options.port) !== null && _c !== void 0 ? _c : 3001);
93
+ httpServer.listen((_d = this.options.port) !== null && _d !== void 0 ? _d : 3001);
80
94
  this.wss = wss;
81
95
  this.httpServer = httpServer;
82
96
  }
@@ -45,6 +45,17 @@ export type SpeechEngineEventName = keyof SpeechEngineEventMap;
45
45
  export interface SpeechEngineCallbacks {
46
46
  /** Enable debug logging. */
47
47
  debug?: boolean;
48
+ /**
49
+ * Disable verification of the `X-Elevenlabs-Speech-Engine-Authorization`
50
+ * JWT on incoming connections. When `true`, any client that can reach the
51
+ * server will be accepted.
52
+ *
53
+ * **Insecure.** Only enable this if you are protecting the server through
54
+ * another layer — typically an IP allowlist restricting traffic to
55
+ * ElevenLabs' egress ranges. Without that, anyone on the internet can
56
+ * open a session and consume your compute and downstream LLM quota.
57
+ */
58
+ disableAuth?: boolean;
48
59
  /** Fired once when the session is initialized with a conversation ID. */
49
60
  onInit?(conversationId: string, session: SpeechEngineSession): void;
50
61
  /** Fired each time the Speech Engine API sends a user transcript. */
@@ -1,6 +0,0 @@
1
- export declare const OAuthConnectionStatus: {
2
- readonly Active: "active";
3
- readonly RefreshFailed: "refresh_failed";
4
- readonly Revoked: "revoked";
5
- };
6
- export type OAuthConnectionStatus = (typeof OAuthConnectionStatus)[keyof typeof OAuthConnectionStatus];
@@ -1,9 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.OAuthConnectionStatus = void 0;
5
- exports.OAuthConnectionStatus = {
6
- Active: "active",
7
- RefreshFailed: "refresh_failed",
8
- Revoked: "revoked",
9
- };
@@ -1,6 +0,0 @@
1
- export declare const OAuthConnectionStatus: {
2
- readonly Active: "active";
3
- readonly RefreshFailed: "refresh_failed";
4
- readonly Revoked: "revoked";
5
- };
6
- export type OAuthConnectionStatus = (typeof OAuthConnectionStatus)[keyof typeof OAuthConnectionStatus];
@@ -1,9 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.OAuthConnectionStatus = void 0;
5
- exports.OAuthConnectionStatus = {
6
- Active: "active",
7
- RefreshFailed: "refresh_failed",
8
- Revoked: "revoked",
9
- };
@@ -1,7 +0,0 @@
1
- import type * as ElevenLabs from "../../api/index";
2
- import * as core from "../../core";
3
- import type * as serializers from "../index";
4
- export declare const OAuthConnectionStatus: core.serialization.Schema<serializers.OAuthConnectionStatus.Raw, ElevenLabs.OAuthConnectionStatus>;
5
- export declare namespace OAuthConnectionStatus {
6
- type Raw = "active" | "refresh_failed" | "revoked";
7
- }
@@ -1,7 +0,0 @@
1
- import type * as ElevenLabs from "../../api/index";
2
- import * as core from "../../core";
3
- import type * as serializers from "../index";
4
- export declare const OAuthConnectionStatus: core.serialization.Schema<serializers.OAuthConnectionStatus.Raw, ElevenLabs.OAuthConnectionStatus>;
5
- export declare namespace OAuthConnectionStatus {
6
- type Raw = "active" | "refresh_failed" | "revoked";
7
- }