@elevenlabs/elevenlabs-js 2.49.1 → 2.52.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 (1126) hide show
  1. package/.fern/metadata.json +2 -2
  2. package/.fern/replay.lock +246 -2
  3. package/BaseClient.js +2 -2
  4. package/Client.d.ts +3 -0
  5. package/Client.js +5 -0
  6. package/api/resources/conversationalAi/client/Client.d.ts +3 -0
  7. package/api/resources/conversationalAi/client/Client.js +33 -28
  8. package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -1
  9. package/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
  10. package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
  11. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  12. package/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  13. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  14. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  15. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +10 -1
  16. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
  17. package/api/resources/conversationalAi/resources/exotel/client/Client.d.ts +30 -0
  18. package/api/resources/conversationalAi/resources/exotel/client/Client.js +122 -0
  19. package/api/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  20. package/api/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  21. package/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +16 -0
  22. package/api/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  23. package/api/resources/conversationalAi/resources/exotel/client/requests/index.js +2 -0
  24. package/api/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  25. package/api/resources/conversationalAi/resources/exotel/index.js +17 -0
  26. package/api/resources/conversationalAi/resources/index.d.ts +2 -0
  27. package/api/resources/conversationalAi/resources/index.js +3 -1
  28. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
  29. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
  30. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +5 -5
  31. package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
  32. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +4 -1
  33. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +4 -1
  34. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +4 -1
  35. package/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +4 -1
  36. package/api/resources/index.d.ts +3 -0
  37. package/api/resources/index.js +4 -1
  38. package/api/resources/productions/resources/orders/client/Client.d.ts +5 -2
  39. package/api/resources/productions/resources/orders/client/Client.js +14 -4
  40. package/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +1 -1
  41. package/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
  42. package/api/resources/speechEngineUpstream/index.d.ts +1 -0
  43. package/api/resources/speechEngineUpstream/index.js +17 -0
  44. package/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
  45. package/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
  46. package/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
  47. package/api/resources/speechEngineUpstream/types/index.js +18 -0
  48. package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
  49. package/api/resources/textToDialogue/client/Client.d.ts +1 -0
  50. package/api/resources/textToDialogue/client/Client.js +17 -4
  51. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
  52. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
  53. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
  54. package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
  55. package/api/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
  56. package/api/resources/voices/client/Client.d.ts +29 -29
  57. package/api/resources/voices/client/Client.js +105 -105
  58. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  59. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
  60. package/api/resources/workspace/resources/resources/client/Client.d.ts +2 -2
  61. package/api/resources/workspace/resources/resources/client/Client.js +2 -2
  62. package/api/resources/workspace/resources/resources/client/requests/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost.d.ts +3 -3
  63. package/api/resources/workspace/resources/resources/client/requests/BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost.d.ts +2 -2
  64. package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
  65. package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
  66. package/api/resources/workspaces/client/Client.d.ts +12 -0
  67. package/api/resources/workspaces/client/Client.js +16 -0
  68. package/api/resources/workspaces/client/index.d.ts +1 -0
  69. package/api/resources/workspaces/client/index.js +2 -0
  70. package/api/resources/workspaces/index.d.ts +2 -0
  71. package/api/resources/workspaces/index.js +18 -0
  72. package/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +28 -0
  73. package/api/resources/workspaces/resources/apiKeys/client/Client.js +111 -0
  74. package/api/resources/workspaces/resources/apiKeys/client/index.d.ts +1 -0
  75. package/api/resources/workspaces/resources/apiKeys/client/index.js +17 -0
  76. package/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +10 -0
  77. package/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -0
  78. package/api/resources/workspaces/resources/apiKeys/client/requests/index.js +2 -0
  79. package/api/resources/workspaces/resources/apiKeys/index.d.ts +1 -0
  80. package/api/resources/workspaces/resources/apiKeys/index.js +17 -0
  81. package/api/resources/workspaces/resources/index.d.ts +2 -0
  82. package/api/resources/workspaces/resources/index.js +41 -0
  83. package/api/types/AgentConfig.d.ts +2 -0
  84. package/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  85. package/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  86. package/api/types/AgentPlatformSettingsRequestModel.d.ts +0 -1
  87. package/api/types/AgentPlatformSettingsResponseModel.d.ts +0 -1
  88. package/api/types/AgentResponsePayload.d.ts +25 -0
  89. package/api/types/AgentTransfer.d.ts +2 -1
  90. package/api/types/AnalysisProperty.d.ts +6 -4
  91. package/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
  92. package/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
  93. package/api/types/AsrProvider.d.ts +2 -0
  94. package/api/types/AsrProvider.js +2 -0
  95. package/api/types/BaseTurnConfig.d.ts +1 -0
  96. package/api/types/BehaviorOverride.d.ts +9 -0
  97. package/api/types/BucketingStatus.d.ts +6 -0
  98. package/api/types/BucketingStatus.js +9 -0
  99. package/api/types/ClosePayload.d.ts +7 -0
  100. package/api/types/ConversationHistoryExotelPhoneCallModel.d.ts +9 -0
  101. package/api/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +4 -1
  102. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
  103. package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
  104. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
  105. package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
  106. package/api/types/ConversationInitiationSource.d.ts +4 -0
  107. package/api/types/ConversationInitiationSource.js +4 -0
  108. package/api/types/ConversationSentimentAnalysis.d.ts +9 -0
  109. package/api/types/ConversationSentimentAnalysisOverallLabel.d.ts +6 -0
  110. package/api/types/ConversationSentimentAnalysisOverallLabel.js +9 -0
  111. package/api/types/CreateExotelPhoneNumberRequest.d.ts +23 -0
  112. package/api/types/CreateOrderRequest.d.ts +4 -0
  113. package/api/types/CreateOrderResponse.d.ts +2 -0
  114. package/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
  115. package/api/types/CreateSimulationTestRequest.d.ts +2 -0
  116. package/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  117. package/api/types/CustomLlm.d.ts +2 -0
  118. package/api/types/CustomLlmAuthConnection.d.ts +5 -0
  119. package/api/types/DeleteClientParams.d.ts +1 -1
  120. package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  121. package/api/types/ErrorPayload.d.ts +9 -0
  122. package/api/types/ErrorPayload.js +3 -0
  123. package/api/types/ExotelApiSubdomain.d.ts +5 -0
  124. package/api/types/ExotelApiSubdomain.js +8 -0
  125. package/api/types/ExotelOutboundCallResponse.d.ts +7 -0
  126. package/api/types/ExotelOutboundCallResponse.js +3 -0
  127. package/api/types/ExternalFileSyncInfo.d.ts +20 -0
  128. package/api/types/ExternalFileSyncInfo.js +3 -0
  129. package/api/types/ExternalFolderSyncInfo.d.ts +18 -0
  130. package/api/types/ExternalFolderSyncInfo.js +3 -0
  131. package/api/types/ExternalSyncType.d.ts +1 -0
  132. package/api/types/ExternalSyncType.js +3 -0
  133. package/api/types/GetAgentResponseModelPhoneNumbersItem.d.ts +4 -1
  134. package/api/types/GetConversationResponseModel.d.ts +1 -0
  135. package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
  136. package/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
  137. package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  138. package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  139. package/api/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  140. package/api/types/GetPhoneNumberExotelResponseModel.js +3 -0
  141. package/api/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  142. package/api/types/GetSimulationTestResponseModel.d.ts +2 -0
  143. package/api/types/GetTestSuiteInvocationResponseModel.d.ts +4 -0
  144. package/api/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  145. package/api/types/InitPayload.d.ts +9 -0
  146. package/api/types/InitPayload.js +3 -0
  147. package/api/types/InteractionBudget.d.ts +5 -0
  148. package/api/types/InteractionBudget.js +8 -0
  149. package/api/types/LanguagesResponse.d.ts +10 -0
  150. package/api/types/LanguagesResponse.js +3 -0
  151. package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  152. package/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
  153. package/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
  154. package/api/types/Llm.d.ts +1 -0
  155. package/api/types/Llm.js +1 -0
  156. package/api/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
  157. package/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -1
  158. package/api/types/MessagesSearchResult.d.ts +4 -0
  159. package/api/types/Monitor.d.ts +1 -0
  160. package/api/types/Monitor.js +1 -0
  161. package/api/types/MusicGenerationMode.d.ts +7 -0
  162. package/api/types/MusicGenerationMode.js +10 -0
  163. package/api/types/OmitSchemaOverride.d.ts +1 -0
  164. package/api/types/OmitSchemaOverride.js +3 -0
  165. package/api/types/OptInSmsReminderParams.d.ts +3 -0
  166. package/api/types/OptInSmsReminderParams.js +3 -0
  167. package/api/types/OptOutSmsReminderParams.d.ts +3 -0
  168. package/api/types/OptOutSmsReminderParams.js +3 -0
  169. package/api/types/OrderItemInfo.d.ts +1 -1
  170. package/api/types/OrderItemRequestInput.d.ts +10 -0
  171. package/api/types/OrderItemRequestInput.js +3 -0
  172. package/api/types/OrderItemRequestOutput.d.ts +10 -0
  173. package/api/types/OrderItemRequestOutput.js +3 -0
  174. package/api/types/OrderResponse.d.ts +2 -0
  175. package/api/types/OrderSummary.d.ts +2 -0
  176. package/api/types/PingPayload.d.ts +7 -0
  177. package/api/types/PingPayload.js +3 -0
  178. package/api/types/PongPayload.d.ts +7 -0
  179. package/api/types/PongPayload.js +3 -0
  180. package/api/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +4 -1
  181. package/api/types/ProcedureAtVersionInput.js +3 -0
  182. package/api/types/ProcedureAtVersionOutput.d.ts +15 -0
  183. package/api/types/ProcedureAtVersionOutput.js +3 -0
  184. package/api/types/ProcedureRefResponseModel.d.ts +3 -0
  185. package/api/types/ProcedureType.d.ts +5 -0
  186. package/api/types/ProcedureType.js +8 -0
  187. package/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  188. package/api/types/ReferencedToolCommonModelType.js +1 -0
  189. package/api/types/RenderType.d.ts +1 -0
  190. package/api/types/RenderType.js +1 -0
  191. package/api/types/ResourceAccessInfo.d.ts +2 -0
  192. package/api/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  193. package/api/types/ResourceAccessInfoAccessSource.js +10 -0
  194. package/api/types/ResponseUnitTestModel.d.ts +2 -0
  195. package/api/types/RestoreCalendarEventParams.d.ts +3 -0
  196. package/api/types/RestoreCalendarEventParams.js +3 -0
  197. package/api/types/SimulationTestModel.d.ts +2 -0
  198. package/api/types/SoftTimeoutConfig.d.ts +7 -1
  199. package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  200. package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +7 -1
  201. package/api/types/SpeechEngineResponse.d.ts +2 -0
  202. package/api/types/SpeechEngineSummaryResponse.d.ts +3 -0
  203. package/api/types/StartProcedureToolConfigInput.d.ts +4 -0
  204. package/api/types/StartProcedureToolConfigInput.js +3 -0
  205. package/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
  206. package/api/types/StartProcedureToolConfigOutput.js +3 -0
  207. package/api/types/StartProcedureToolErrorStatus.d.ts +5 -0
  208. package/{dist/api/types/LoadProcedureToolErrorStatus.js → api/types/StartProcedureToolErrorStatus.js} +2 -2
  209. package/api/types/SystemEvaluationCriteria.d.ts +4 -0
  210. package/api/types/SystemEvaluationCriteria.js +3 -0
  211. package/api/types/SystemToolConfigInputParams.d.ts +4 -4
  212. package/api/types/SystemToolConfigOutputParams.d.ts +4 -4
  213. package/api/types/TelephonyProvider.d.ts +1 -0
  214. package/api/types/TelephonyProvider.js +1 -0
  215. package/api/types/TestInvocationSummaryResponseModel.d.ts +2 -0
  216. package/api/types/TestRunResultBucket.d.ts +9 -0
  217. package/api/types/TestRunResultBucket.js +3 -0
  218. package/api/types/TestRunResultSummary.d.ts +7 -0
  219. package/api/types/TestRunResultSummary.js +3 -0
  220. package/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
  221. package/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
  222. package/api/types/ToolCallUnitTestModel.d.ts +2 -0
  223. package/api/types/TranscriptMessage.d.ts +10 -0
  224. package/api/types/TranscriptMessage.js +3 -0
  225. package/api/types/TranscriptMessageRole.d.ts +6 -0
  226. package/api/types/TranscriptMessageRole.js +9 -0
  227. package/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  228. package/api/types/TransferToNumberResultExotelSuccessModel.d.ts +6 -0
  229. package/api/types/TransferToNumberResultExotelSuccessModel.js +3 -0
  230. package/api/types/TurnConfig.d.ts +1 -0
  231. package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  232. package/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
  233. package/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
  234. package/api/types/UpdateBookingPageAppearanceParams.js +3 -0
  235. package/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  236. package/api/types/UpdateSimulationTestRequest.d.ts +2 -0
  237. package/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  238. package/api/types/UpsertOrderItemRequest.d.ts +1 -1
  239. package/api/types/UrlSecretAuthResponse.d.ts +7 -0
  240. package/api/types/UrlSecretAuthResponse.js +3 -0
  241. package/api/types/UserTranscriptPayload.d.ts +20 -0
  242. package/api/types/UserTranscriptPayload.js +3 -0
  243. package/api/types/Verbosity.d.ts +6 -0
  244. package/{dist/api/types/ProcedureCompilerMode.js → api/types/Verbosity.js} +5 -4
  245. package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  246. package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  247. package/api/types/WebhookUsageType.d.ts +1 -0
  248. package/api/types/WebhookUsageType.js +1 -0
  249. package/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +4 -2
  250. package/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +4 -2
  251. package/api/types/index.d.ts +47 -8
  252. package/api/types/index.js +47 -8
  253. package/dist/BaseClient.js +2 -2
  254. package/dist/Client.d.ts +3 -0
  255. package/dist/Client.js +5 -0
  256. package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
  257. package/dist/api/resources/conversationalAi/client/Client.js +33 -28
  258. package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -1
  259. package/dist/api/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +2 -0
  260. package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -1
  261. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
  262. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
  263. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +4 -1
  264. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  265. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +10 -1
  266. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +3 -0
  267. package/dist/api/resources/conversationalAi/resources/exotel/client/Client.d.ts +30 -0
  268. package/dist/api/resources/conversationalAi/resources/exotel/client/Client.js +122 -0
  269. package/dist/api/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  270. package/dist/api/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  271. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +16 -0
  272. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +3 -0
  273. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  274. package/dist/api/resources/conversationalAi/resources/exotel/client/requests/index.js +2 -0
  275. package/dist/api/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  276. package/dist/api/resources/conversationalAi/resources/exotel/index.js +17 -0
  277. package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
  278. package/dist/api/resources/conversationalAi/resources/index.js +3 -1
  279. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
  280. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
  281. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +5 -5
  282. package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
  283. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +4 -1
  284. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +4 -1
  285. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +4 -1
  286. package/dist/api/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +4 -1
  287. package/dist/api/resources/index.d.ts +3 -0
  288. package/dist/api/resources/index.js +4 -1
  289. package/dist/api/resources/productions/resources/orders/client/Client.d.ts +5 -2
  290. package/dist/api/resources/productions/resources/orders/client/Client.js +14 -4
  291. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +1 -1
  292. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +1 -1
  293. package/dist/api/resources/speechEngineUpstream/index.d.ts +1 -0
  294. package/dist/api/resources/speechEngineUpstream/index.js +17 -0
  295. package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
  296. package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +3 -0
  297. package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
  298. package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.js +3 -0
  299. package/dist/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
  300. package/dist/api/resources/speechEngineUpstream/types/index.js +18 -0
  301. package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -2
  302. package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -0
  303. package/dist/api/resources/textToDialogue/client/Client.js +17 -4
  304. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
  305. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
  306. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
  307. package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
  308. package/dist/api/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
  309. package/dist/api/resources/voices/client/Client.d.ts +29 -29
  310. package/dist/api/resources/voices/client/Client.js +105 -105
  311. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  312. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
  313. package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +2 -2
  314. package/dist/api/resources/workspace/resources/resources/client/Client.js +2 -2
  315. package/dist/api/resources/workspace/resources/resources/client/requests/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost.d.ts +3 -3
  316. package/dist/api/resources/workspace/resources/resources/client/requests/BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost.d.ts +2 -2
  317. package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
  318. package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
  319. package/dist/api/resources/workspaces/client/Client.d.ts +12 -0
  320. package/dist/api/resources/workspaces/client/Client.js +16 -0
  321. package/dist/api/resources/workspaces/client/index.d.ts +1 -0
  322. package/dist/api/resources/workspaces/client/index.js +2 -0
  323. package/dist/api/resources/workspaces/index.d.ts +2 -0
  324. package/dist/api/resources/workspaces/index.js +18 -0
  325. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +28 -0
  326. package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +111 -0
  327. package/dist/api/resources/workspaces/resources/apiKeys/client/index.d.ts +1 -0
  328. package/dist/api/resources/workspaces/resources/apiKeys/client/index.js +17 -0
  329. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.d.ts +10 -0
  330. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js +3 -0
  331. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/index.d.ts +1 -0
  332. package/dist/api/resources/workspaces/resources/apiKeys/client/requests/index.js +2 -0
  333. package/dist/api/resources/workspaces/resources/apiKeys/index.d.ts +1 -0
  334. package/dist/api/resources/workspaces/resources/apiKeys/index.js +17 -0
  335. package/dist/api/resources/workspaces/resources/index.d.ts +2 -0
  336. package/dist/api/resources/workspaces/resources/index.js +41 -0
  337. package/dist/api/types/AgentConfig.d.ts +2 -0
  338. package/dist/api/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  339. package/dist/api/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  340. package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +0 -1
  341. package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +0 -1
  342. package/dist/api/types/AgentResponsePayload.d.ts +25 -0
  343. package/dist/api/types/AgentResponsePayload.js +3 -0
  344. package/dist/api/types/AgentTransfer.d.ts +2 -1
  345. package/dist/api/types/AnalysisProperty.d.ts +6 -4
  346. package/dist/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
  347. package/dist/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
  348. package/dist/api/types/AsrProvider.d.ts +2 -0
  349. package/dist/api/types/AsrProvider.js +2 -0
  350. package/dist/api/types/BaseTurnConfig.d.ts +1 -0
  351. package/dist/api/types/BehaviorOverride.d.ts +9 -0
  352. package/dist/api/types/BehaviorOverride.js +3 -0
  353. package/dist/api/types/BucketingStatus.d.ts +6 -0
  354. package/dist/api/types/BucketingStatus.js +9 -0
  355. package/dist/api/types/ClosePayload.d.ts +7 -0
  356. package/dist/api/types/ClosePayload.js +3 -0
  357. package/dist/api/types/ConversationHistoryExotelPhoneCallModel.d.ts +9 -0
  358. package/dist/api/types/ConversationHistoryExotelPhoneCallModel.js +3 -0
  359. package/dist/api/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +4 -1
  360. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -0
  361. package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -0
  362. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +4 -1
  363. package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +4 -1
  364. package/dist/api/types/ConversationInitiationSource.d.ts +4 -0
  365. package/dist/api/types/ConversationInitiationSource.js +4 -0
  366. package/dist/api/types/ConversationSentimentAnalysis.d.ts +9 -0
  367. package/dist/api/types/ConversationSentimentAnalysis.js +3 -0
  368. package/dist/api/types/ConversationSentimentAnalysisOverallLabel.d.ts +6 -0
  369. package/dist/api/types/ConversationSentimentAnalysisOverallLabel.js +9 -0
  370. package/dist/api/types/CreateExotelPhoneNumberRequest.d.ts +23 -0
  371. package/dist/api/types/CreateExotelPhoneNumberRequest.js +3 -0
  372. package/dist/api/types/CreateOrderRequest.d.ts +4 -0
  373. package/dist/api/types/CreateOrderRequest.js +3 -0
  374. package/dist/api/types/CreateOrderResponse.d.ts +2 -0
  375. package/dist/api/types/CreateResponseUnitTestRequest.d.ts +2 -0
  376. package/dist/api/types/CreateSimulationTestRequest.d.ts +2 -0
  377. package/dist/api/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  378. package/dist/api/types/CustomLlm.d.ts +2 -0
  379. package/dist/api/types/CustomLlmAuthConnection.d.ts +5 -0
  380. package/dist/api/types/CustomLlmAuthConnection.js +3 -0
  381. package/dist/api/types/DeleteClientParams.d.ts +1 -1
  382. package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
  383. package/dist/api/types/ErrorPayload.d.ts +9 -0
  384. package/dist/api/types/ErrorPayload.js +3 -0
  385. package/dist/api/types/ExotelApiSubdomain.d.ts +5 -0
  386. package/dist/api/types/ExotelApiSubdomain.js +8 -0
  387. package/dist/api/types/ExotelOutboundCallResponse.d.ts +7 -0
  388. package/dist/api/types/ExotelOutboundCallResponse.js +3 -0
  389. package/dist/api/types/ExternalFileSyncInfo.d.ts +20 -0
  390. package/dist/api/types/ExternalFileSyncInfo.js +3 -0
  391. package/dist/api/types/ExternalFolderSyncInfo.d.ts +18 -0
  392. package/dist/api/types/ExternalFolderSyncInfo.js +3 -0
  393. package/dist/api/types/ExternalSyncType.d.ts +1 -0
  394. package/dist/api/types/ExternalSyncType.js +3 -0
  395. package/dist/api/types/GetAgentResponseModelPhoneNumbersItem.d.ts +4 -1
  396. package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
  397. package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
  398. package/dist/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
  399. package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
  400. package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
  401. package/dist/api/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  402. package/dist/api/types/GetPhoneNumberExotelResponseModel.js +3 -0
  403. package/dist/api/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  404. package/dist/api/types/GetSimulationTestResponseModel.d.ts +2 -0
  405. package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +4 -0
  406. package/dist/api/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  407. package/dist/api/types/InitPayload.d.ts +9 -0
  408. package/dist/api/types/InitPayload.js +3 -0
  409. package/dist/api/types/InteractionBudget.d.ts +5 -0
  410. package/dist/api/types/InteractionBudget.js +8 -0
  411. package/dist/api/types/LanguagesResponse.d.ts +10 -0
  412. package/dist/api/types/LanguagesResponse.js +3 -0
  413. package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  414. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
  415. package/dist/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
  416. package/dist/api/types/Llm.d.ts +1 -0
  417. package/dist/api/types/Llm.js +1 -0
  418. package/dist/api/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
  419. package/dist/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -1
  420. package/dist/api/types/MessagesSearchResult.d.ts +4 -0
  421. package/dist/api/types/Monitor.d.ts +1 -0
  422. package/dist/api/types/Monitor.js +1 -0
  423. package/dist/api/types/MusicGenerationMode.d.ts +7 -0
  424. package/dist/api/types/MusicGenerationMode.js +10 -0
  425. package/dist/api/types/OmitSchemaOverride.d.ts +1 -0
  426. package/dist/api/types/OmitSchemaOverride.js +3 -0
  427. package/dist/api/types/OptInSmsReminderParams.d.ts +3 -0
  428. package/dist/api/types/OptInSmsReminderParams.js +3 -0
  429. package/dist/api/types/OptOutSmsReminderParams.d.ts +3 -0
  430. package/dist/api/types/OptOutSmsReminderParams.js +3 -0
  431. package/dist/api/types/OrderItemInfo.d.ts +1 -1
  432. package/dist/api/types/OrderItemRequestInput.d.ts +10 -0
  433. package/dist/api/types/OrderItemRequestInput.js +3 -0
  434. package/dist/api/types/OrderItemRequestOutput.d.ts +10 -0
  435. package/dist/api/types/OrderItemRequestOutput.js +3 -0
  436. package/dist/api/types/OrderResponse.d.ts +2 -0
  437. package/dist/api/types/OrderSummary.d.ts +2 -0
  438. package/dist/api/types/PingPayload.d.ts +7 -0
  439. package/dist/api/types/PingPayload.js +3 -0
  440. package/dist/api/types/PongPayload.d.ts +7 -0
  441. package/dist/api/types/PongPayload.js +3 -0
  442. package/dist/api/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +4 -1
  443. package/dist/api/types/ProcedureAtVersionInput.js +3 -0
  444. package/dist/api/types/ProcedureAtVersionOutput.d.ts +15 -0
  445. package/dist/api/types/ProcedureAtVersionOutput.js +3 -0
  446. package/dist/api/types/ProcedureRefResponseModel.d.ts +3 -0
  447. package/dist/api/types/ProcedureType.d.ts +5 -0
  448. package/dist/api/types/ProcedureType.js +8 -0
  449. package/dist/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  450. package/dist/api/types/ReferencedToolCommonModelType.js +1 -0
  451. package/dist/api/types/RenderType.d.ts +1 -0
  452. package/dist/api/types/RenderType.js +1 -0
  453. package/dist/api/types/ResourceAccessInfo.d.ts +2 -0
  454. package/dist/api/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  455. package/dist/api/types/ResourceAccessInfoAccessSource.js +10 -0
  456. package/dist/api/types/ResponseUnitTestModel.d.ts +2 -0
  457. package/dist/api/types/RestoreCalendarEventParams.d.ts +3 -0
  458. package/dist/api/types/RestoreCalendarEventParams.js +3 -0
  459. package/dist/api/types/SimulationTestModel.d.ts +2 -0
  460. package/dist/api/types/SoftTimeoutConfig.d.ts +7 -1
  461. package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
  462. package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +7 -1
  463. package/dist/api/types/SpeechEngineResponse.d.ts +2 -0
  464. package/dist/api/types/SpeechEngineSummaryResponse.d.ts +3 -0
  465. package/dist/api/types/StartProcedureToolConfigInput.d.ts +4 -0
  466. package/dist/api/types/StartProcedureToolConfigInput.js +3 -0
  467. package/dist/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
  468. package/dist/api/types/StartProcedureToolConfigOutput.js +3 -0
  469. package/dist/api/types/StartProcedureToolErrorStatus.d.ts +5 -0
  470. package/{api/types/LoadProcedureToolErrorStatus.js → dist/api/types/StartProcedureToolErrorStatus.js} +2 -2
  471. package/dist/api/types/SystemEvaluationCriteria.d.ts +4 -0
  472. package/dist/api/types/SystemEvaluationCriteria.js +3 -0
  473. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -4
  474. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -4
  475. package/dist/api/types/TelephonyProvider.d.ts +1 -0
  476. package/dist/api/types/TelephonyProvider.js +1 -0
  477. package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +2 -0
  478. package/dist/api/types/TestRunResultBucket.d.ts +9 -0
  479. package/dist/api/types/TestRunResultBucket.js +3 -0
  480. package/dist/api/types/TestRunResultSummary.d.ts +7 -0
  481. package/dist/api/types/TestRunResultSummary.js +3 -0
  482. package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
  483. package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
  484. package/dist/api/types/ToolCallUnitTestModel.d.ts +2 -0
  485. package/dist/api/types/TranscriptMessage.d.ts +10 -0
  486. package/dist/api/types/TranscriptMessage.js +3 -0
  487. package/dist/api/types/TranscriptMessageRole.d.ts +6 -0
  488. package/dist/api/types/TranscriptMessageRole.js +9 -0
  489. package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  490. package/dist/api/types/TransferToNumberResultExotelSuccessModel.d.ts +6 -0
  491. package/dist/api/types/TransferToNumberResultExotelSuccessModel.js +3 -0
  492. package/dist/api/types/TurnConfig.d.ts +1 -0
  493. package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
  494. package/dist/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
  495. package/dist/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
  496. package/dist/api/types/UpdateBookingPageAppearanceParams.js +3 -0
  497. package/dist/api/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  498. package/dist/api/types/UpdateSimulationTestRequest.d.ts +2 -0
  499. package/dist/api/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  500. package/dist/api/types/UpsertOrderItemRequest.d.ts +1 -1
  501. package/dist/api/types/UrlSecretAuthResponse.d.ts +7 -0
  502. package/dist/api/types/UrlSecretAuthResponse.js +3 -0
  503. package/dist/api/types/UserTranscriptPayload.d.ts +20 -0
  504. package/dist/api/types/UserTranscriptPayload.js +3 -0
  505. package/dist/api/types/Verbosity.d.ts +6 -0
  506. package/{api/types/ProcedureCompilerMode.js → dist/api/types/Verbosity.js} +5 -4
  507. package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
  508. package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
  509. package/dist/api/types/WebhookUsageType.d.ts +1 -0
  510. package/dist/api/types/WebhookUsageType.js +1 -0
  511. package/dist/api/types/WorkflowStandaloneAgentNodeModelInput.d.ts +4 -2
  512. package/dist/api/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +4 -2
  513. package/dist/api/types/index.d.ts +47 -8
  514. package/dist/api/types/index.js +47 -8
  515. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
  516. package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
  517. package/dist/serialization/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  518. package/dist/serialization/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  519. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +15 -0
  520. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +47 -0
  521. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  522. package/dist/serialization/resources/conversationalAi/resources/exotel/client/requests/index.js +5 -0
  523. package/dist/serialization/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  524. package/dist/serialization/resources/conversationalAi/resources/exotel/index.js +17 -0
  525. package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  526. package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
  527. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
  528. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
  529. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
  530. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
  531. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +5 -1
  532. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.js +2 -0
  533. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +5 -1
  534. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.js +2 -0
  535. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +5 -1
  536. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.js +2 -0
  537. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +5 -1
  538. package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.js +2 -0
  539. package/dist/serialization/resources/index.d.ts +2 -0
  540. package/dist/serialization/resources/index.js +3 -1
  541. package/dist/serialization/resources/productions/resources/orders/client/create.d.ts +8 -0
  542. package/dist/serialization/resources/productions/resources/orders/client/create.js +6 -0
  543. package/dist/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
  544. package/dist/serialization/resources/productions/resources/orders/client/index.js +24 -0
  545. package/dist/serialization/resources/speechEngineUpstream/index.d.ts +1 -0
  546. package/dist/serialization/resources/speechEngineUpstream/index.js +17 -0
  547. package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
  548. package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
  549. package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
  550. package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
  551. package/dist/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
  552. package/dist/serialization/resources/speechEngineUpstream/types/index.js +18 -0
  553. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  554. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  555. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  556. package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  557. package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
  558. package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.js +2 -0
  559. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  560. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  561. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +5 -1
  562. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
  563. package/dist/serialization/types/AgentConfig.d.ts +2 -0
  564. package/dist/serialization/types/AgentConfig.js +2 -0
  565. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  566. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +2 -0
  567. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  568. package/dist/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +2 -0
  569. package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +0 -2
  570. package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +0 -2
  571. package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +0 -2
  572. package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +0 -2
  573. package/dist/serialization/types/AgentResponsePayload.d.ts +12 -0
  574. package/dist/serialization/types/AgentResponsePayload.js +44 -0
  575. package/dist/serialization/types/AgentTransfer.d.ts +2 -1
  576. package/dist/serialization/types/AgentTransfer.js +2 -1
  577. package/dist/serialization/types/AnalysisProperty.d.ts +1 -0
  578. package/dist/serialization/types/AnalysisProperty.js +1 -0
  579. package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
  580. package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
  581. package/dist/serialization/types/BaseTurnConfig.d.ts +2 -0
  582. package/dist/serialization/types/BaseTurnConfig.js +2 -0
  583. package/dist/serialization/types/BehaviorOverride.d.ts +14 -0
  584. package/dist/serialization/types/BehaviorOverride.js +46 -0
  585. package/dist/serialization/types/BucketingStatus.d.ts +7 -0
  586. package/{serialization/types/LoadProcedureToolErrorStatus.js → dist/serialization/types/BucketingStatus.js} +2 -2
  587. package/dist/serialization/types/ClosePayload.d.ts +9 -0
  588. package/dist/serialization/types/{LoadProcedureToolErrorStatus.js → ClosePayload.js} +4 -2
  589. package/dist/serialization/types/ConversationHistoryExotelPhoneCallModel.d.ts +15 -0
  590. package/dist/serialization/types/ConversationHistoryExotelPhoneCallModel.js +47 -0
  591. package/dist/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +5 -1
  592. package/dist/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.js +2 -0
  593. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
  594. package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
  595. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
  596. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
  597. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
  598. package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
  599. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  600. package/dist/serialization/types/ConversationInitiationSource.js +4 -0
  601. package/dist/serialization/types/ConversationSentimentAnalysis.d.ts +15 -0
  602. package/dist/serialization/types/ConversationSentimentAnalysis.js +47 -0
  603. package/dist/serialization/types/ConversationSentimentAnalysisOverallLabel.d.ts +7 -0
  604. package/dist/serialization/types/ConversationSentimentAnalysisOverallLabel.js +39 -0
  605. package/dist/serialization/types/CreateExotelPhoneNumberRequest.d.ts +19 -0
  606. package/dist/serialization/types/CreateExotelPhoneNumberRequest.js +51 -0
  607. package/dist/serialization/types/CreateOrderRequest.d.ts +9 -0
  608. package/dist/serialization/types/CreateOrderRequest.js +41 -0
  609. package/dist/serialization/types/CreateOrderResponse.d.ts +1 -0
  610. package/dist/serialization/types/CreateOrderResponse.js +1 -0
  611. package/dist/serialization/types/CreateResponseUnitTestRequest.d.ts +2 -0
  612. package/dist/serialization/types/CreateResponseUnitTestRequest.js +2 -0
  613. package/dist/serialization/types/CreateSimulationTestRequest.d.ts +2 -0
  614. package/dist/serialization/types/CreateSimulationTestRequest.js +2 -0
  615. package/dist/serialization/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  616. package/dist/serialization/types/CreateToolCallUnitTestRequest.js +2 -0
  617. package/dist/serialization/types/CustomLlm.d.ts +2 -0
  618. package/dist/serialization/types/CustomLlm.js +2 -0
  619. package/dist/serialization/types/CustomLlmAuthConnection.d.ts +9 -0
  620. package/dist/serialization/types/CustomLlmAuthConnection.js +41 -0
  621. package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  622. package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  623. package/dist/serialization/types/ErrorPayload.d.ts +10 -0
  624. package/dist/serialization/types/ErrorPayload.js +42 -0
  625. package/dist/serialization/types/ExotelApiSubdomain.d.ts +7 -0
  626. package/dist/serialization/types/ExotelApiSubdomain.js +39 -0
  627. package/dist/serialization/types/ExotelOutboundCallResponse.d.ts +12 -0
  628. package/dist/serialization/types/ExotelOutboundCallResponse.js +44 -0
  629. package/dist/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
  630. package/dist/serialization/types/ExternalFileSyncInfo.js +48 -0
  631. package/dist/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
  632. package/dist/serialization/types/ExternalFolderSyncInfo.js +47 -0
  633. package/dist/serialization/types/ExternalSyncType.d.ts +7 -0
  634. package/{serialization/types/ProcedureCompilerMode.js → dist/serialization/types/ExternalSyncType.js} +2 -2
  635. package/dist/serialization/types/GetAgentResponseModelPhoneNumbersItem.d.ts +5 -1
  636. package/dist/serialization/types/GetAgentResponseModelPhoneNumbersItem.js +2 -0
  637. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  638. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  639. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
  640. package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
  641. package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
  642. package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
  643. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
  644. package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
  645. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
  646. package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
  647. package/dist/serialization/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  648. package/dist/serialization/types/GetPhoneNumberExotelResponseModel.js +47 -0
  649. package/dist/serialization/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  650. package/dist/serialization/types/GetResponseUnitTestResponseModel.js +2 -0
  651. package/dist/serialization/types/GetSimulationTestResponseModel.d.ts +2 -0
  652. package/dist/serialization/types/GetSimulationTestResponseModel.js +2 -0
  653. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +5 -0
  654. package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +5 -0
  655. package/dist/serialization/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  656. package/dist/serialization/types/GetToolCallUnitTestResponseModel.js +2 -0
  657. package/dist/serialization/types/InitPayload.d.ts +10 -0
  658. package/dist/serialization/types/InitPayload.js +42 -0
  659. package/dist/serialization/types/InteractionBudget.d.ts +7 -0
  660. package/dist/serialization/types/{ProcedureCompilerMode.js → InteractionBudget.js} +2 -2
  661. package/dist/serialization/types/LanguagesResponse.d.ts +15 -0
  662. package/{serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → dist/serialization/types/LanguagesResponse.js} +2 -2
  663. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  664. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  665. package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  666. package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  667. package/dist/serialization/types/Llm.d.ts +1 -1
  668. package/dist/serialization/types/Llm.js +1 -0
  669. package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
  670. package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
  671. package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
  672. package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
  673. package/dist/serialization/types/MessagesSearchResult.d.ts +2 -0
  674. package/dist/serialization/types/MessagesSearchResult.js +2 -0
  675. package/dist/serialization/types/Monitor.d.ts +1 -1
  676. package/dist/serialization/types/Monitor.js +1 -1
  677. package/dist/serialization/types/MusicGenerationMode.d.ts +7 -0
  678. package/dist/serialization/types/MusicGenerationMode.js +39 -0
  679. package/dist/serialization/types/OmitSchemaOverride.d.ts +7 -0
  680. package/dist/serialization/types/OmitSchemaOverride.js +39 -0
  681. package/dist/serialization/types/OptInSmsReminderParams.d.ts +9 -0
  682. package/dist/serialization/types/OptInSmsReminderParams.js +41 -0
  683. package/dist/serialization/types/OptOutSmsReminderParams.d.ts +9 -0
  684. package/dist/serialization/types/OptOutSmsReminderParams.js +41 -0
  685. package/dist/serialization/types/OrderItemInfo.d.ts +2 -2
  686. package/dist/serialization/types/OrderItemInfo.js +2 -2
  687. package/dist/serialization/types/OrderItemRequestInput.d.ts +15 -0
  688. package/{serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → dist/serialization/types/OrderItemRequestInput.js} +2 -2
  689. package/dist/serialization/types/OrderItemRequestOutput.d.ts +15 -0
  690. package/dist/serialization/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → OrderItemRequestOutput.js} +2 -2
  691. package/dist/serialization/types/OrderResponse.d.ts +1 -0
  692. package/dist/serialization/types/OrderResponse.js +1 -0
  693. package/dist/serialization/types/OrderSummary.d.ts +1 -0
  694. package/dist/serialization/types/OrderSummary.js +1 -0
  695. package/dist/serialization/types/PingPayload.d.ts +9 -0
  696. package/dist/serialization/types/PingPayload.js +41 -0
  697. package/dist/serialization/types/PongPayload.d.ts +9 -0
  698. package/dist/serialization/types/PongPayload.js +41 -0
  699. package/dist/serialization/types/ProcedureAtVersionInput.d.ts +17 -0
  700. package/{serialization/types/ProcedureAtVersion.js → dist/serialization/types/ProcedureAtVersionInput.js} +6 -2
  701. package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
  702. package/dist/serialization/types/ProcedureAtVersionOutput.js +49 -0
  703. package/dist/serialization/types/ProcedureRefResponseModel.d.ts +2 -0
  704. package/dist/serialization/types/ProcedureRefResponseModel.js +2 -0
  705. package/dist/serialization/types/ProcedureType.d.ts +7 -0
  706. package/dist/serialization/types/ProcedureType.js +39 -0
  707. package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  708. package/dist/serialization/types/ReferencedToolCommonModelType.js +1 -1
  709. package/dist/serialization/types/RenderType.d.ts +1 -1
  710. package/dist/serialization/types/RenderType.js +1 -1
  711. package/dist/serialization/types/ResourceAccessInfo.d.ts +2 -0
  712. package/dist/serialization/types/ResourceAccessInfo.js +2 -0
  713. package/dist/serialization/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  714. package/dist/serialization/types/ResourceAccessInfoAccessSource.js +39 -0
  715. package/dist/serialization/types/ResponseUnitTestModel.d.ts +2 -0
  716. package/dist/serialization/types/ResponseUnitTestModel.js +2 -0
  717. package/dist/serialization/types/RestoreCalendarEventParams.d.ts +9 -0
  718. package/dist/serialization/types/RestoreCalendarEventParams.js +41 -0
  719. package/dist/serialization/types/SimulationTestModel.d.ts +2 -0
  720. package/dist/serialization/types/SimulationTestModel.js +2 -0
  721. package/dist/serialization/types/SoftTimeoutConfig.d.ts +3 -0
  722. package/dist/serialization/types/SoftTimeoutConfig.js +3 -0
  723. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +3 -0
  724. package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
  725. package/dist/serialization/types/SpeechEngineResponse.d.ts +2 -0
  726. package/dist/serialization/types/SpeechEngineResponse.js +2 -0
  727. package/dist/serialization/types/SpeechEngineSummaryResponse.d.ts +2 -0
  728. package/dist/serialization/types/SpeechEngineSummaryResponse.js +2 -0
  729. package/dist/serialization/types/StartProcedureToolConfigInput.d.ts +10 -0
  730. package/dist/serialization/types/{LoadProcedureToolConfig.js → StartProcedureToolConfigInput.js} +4 -4
  731. package/dist/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
  732. package/dist/serialization/types/StartProcedureToolConfigOutput.js +42 -0
  733. package/dist/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
  734. package/dist/serialization/types/StartProcedureToolErrorStatus.js +39 -0
  735. package/dist/serialization/types/SystemEvaluationCriteria.d.ts +10 -0
  736. package/dist/serialization/types/{ProcedureSettings.js → SystemEvaluationCriteria.js} +4 -4
  737. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -5
  738. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -2
  739. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -5
  740. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -2
  741. package/dist/serialization/types/TelephonyProvider.d.ts +1 -1
  742. package/dist/serialization/types/TelephonyProvider.js +1 -1
  743. package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +1 -0
  744. package/dist/serialization/types/TestInvocationSummaryResponseModel.js +1 -0
  745. package/dist/serialization/types/TestRunResultBucket.d.ts +13 -0
  746. package/dist/serialization/types/TestRunResultBucket.js +45 -0
  747. package/dist/serialization/types/TestRunResultSummary.d.ts +13 -0
  748. package/dist/serialization/types/TestRunResultSummary.js +45 -0
  749. package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
  750. package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
  751. package/dist/serialization/types/ToolCallUnitTestModel.d.ts +2 -0
  752. package/dist/serialization/types/ToolCallUnitTestModel.js +2 -0
  753. package/dist/serialization/types/TranscriptMessage.d.ts +11 -0
  754. package/dist/serialization/types/TranscriptMessage.js +43 -0
  755. package/dist/serialization/types/TranscriptMessageRole.d.ts +7 -0
  756. package/dist/serialization/types/TranscriptMessageRole.js +39 -0
  757. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  758. package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
  759. package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +12 -0
  760. package/dist/serialization/types/TransferToNumberResultExotelSuccessModel.js +44 -0
  761. package/dist/serialization/types/TurnConfig.d.ts +2 -0
  762. package/dist/serialization/types/TurnConfig.js +2 -0
  763. package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  764. package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  765. package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
  766. package/dist/serialization/types/UnitTestSummaryResponseModel.js +2 -0
  767. package/dist/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
  768. package/dist/serialization/types/UpdateBookingPageAppearanceParams.js +41 -0
  769. package/dist/serialization/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  770. package/dist/serialization/types/UpdateResponseUnitTestRequest.js +2 -0
  771. package/dist/serialization/types/UpdateSimulationTestRequest.d.ts +2 -0
  772. package/dist/serialization/types/UpdateSimulationTestRequest.js +2 -0
  773. package/dist/serialization/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  774. package/dist/serialization/types/UpdateToolCallUnitTestRequest.js +2 -0
  775. package/dist/serialization/types/UpsertOrderItemRequest.d.ts +2 -2
  776. package/dist/serialization/types/UpsertOrderItemRequest.js +2 -2
  777. package/dist/serialization/types/UrlSecretAuthResponse.d.ts +13 -0
  778. package/dist/serialization/types/UrlSecretAuthResponse.js +45 -0
  779. package/dist/serialization/types/UserTranscriptPayload.d.ts +12 -0
  780. package/dist/serialization/types/UserTranscriptPayload.js +44 -0
  781. package/dist/serialization/types/Verbosity.d.ts +7 -0
  782. package/dist/serialization/types/Verbosity.js +39 -0
  783. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -0
  784. package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +1 -0
  785. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -0
  786. package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +1 -0
  787. package/dist/serialization/types/WebhookUsageType.d.ts +1 -1
  788. package/dist/serialization/types/WebhookUsageType.js +1 -0
  789. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -1
  790. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +2 -1
  791. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -1
  792. package/dist/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +2 -1
  793. package/dist/serialization/types/index.d.ts +47 -8
  794. package/dist/serialization/types/index.js +47 -8
  795. package/dist/version.d.ts +1 -1
  796. package/dist/version.js +1 -1
  797. package/dist/wrapper/music.d.ts +11 -0
  798. package/dist/wrapper/music.js +15 -0
  799. package/package.json +1 -1
  800. package/reference.md +197 -49
  801. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.d.ts +1 -0
  802. package/serialization/resources/conversationalAi/resources/agents/client/requests/RunAgentTestsRequestModel.js +1 -0
  803. package/serialization/resources/conversationalAi/resources/exotel/client/index.d.ts +1 -0
  804. package/serialization/resources/conversationalAi/resources/exotel/client/index.js +17 -0
  805. package/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.d.ts +15 -0
  806. package/serialization/resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js +47 -0
  807. package/serialization/resources/conversationalAi/resources/exotel/client/requests/index.d.ts +1 -0
  808. package/serialization/resources/conversationalAi/resources/exotel/client/requests/index.js +5 -0
  809. package/serialization/resources/conversationalAi/resources/exotel/index.d.ts +1 -0
  810. package/serialization/resources/conversationalAi/resources/exotel/index.js +17 -0
  811. package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
  812. package/serialization/resources/conversationalAi/resources/index.js +3 -1
  813. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
  814. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
  815. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
  816. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
  817. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.d.ts +5 -1
  818. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersCreateRequestBody.js +2 -0
  819. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +5 -1
  820. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersGetResponse.js +2 -0
  821. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.d.ts +5 -1
  822. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersListResponseItem.js +2 -0
  823. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.d.ts +5 -1
  824. package/serialization/resources/conversationalAi/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.js +2 -0
  825. package/serialization/resources/index.d.ts +2 -0
  826. package/serialization/resources/index.js +3 -1
  827. package/serialization/resources/productions/resources/orders/client/create.d.ts +8 -0
  828. package/serialization/resources/productions/resources/orders/client/create.js +6 -0
  829. package/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
  830. package/serialization/resources/productions/resources/orders/client/index.js +24 -0
  831. package/serialization/resources/speechEngineUpstream/index.d.ts +1 -0
  832. package/serialization/resources/speechEngineUpstream/index.js +17 -0
  833. package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
  834. package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
  835. package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
  836. package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
  837. package/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
  838. package/serialization/resources/speechEngineUpstream/types/index.js +18 -0
  839. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
  840. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
  841. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
  842. package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
  843. package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
  844. package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.js +2 -0
  845. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  846. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  847. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +5 -1
  848. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
  849. package/serialization/types/AgentConfig.d.ts +2 -0
  850. package/serialization/types/AgentConfig.js +2 -0
  851. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.d.ts +2 -0
  852. package/serialization/types/AgentConfigApiModelWorkflowOverrideInput.js +2 -0
  853. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.d.ts +2 -0
  854. package/serialization/types/AgentConfigApiModelWorkflowOverrideOutput.js +2 -0
  855. package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +0 -2
  856. package/serialization/types/AgentPlatformSettingsRequestModel.js +0 -2
  857. package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +0 -2
  858. package/serialization/types/AgentPlatformSettingsResponseModel.js +0 -2
  859. package/serialization/types/AgentResponsePayload.d.ts +12 -0
  860. package/serialization/types/AgentResponsePayload.js +44 -0
  861. package/serialization/types/AgentTransfer.d.ts +2 -1
  862. package/serialization/types/AgentTransfer.js +2 -1
  863. package/serialization/types/AnalysisProperty.d.ts +1 -0
  864. package/serialization/types/AnalysisProperty.js +1 -0
  865. package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
  866. package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
  867. package/serialization/types/BaseTurnConfig.d.ts +2 -0
  868. package/serialization/types/BaseTurnConfig.js +2 -0
  869. package/serialization/types/BehaviorOverride.d.ts +14 -0
  870. package/serialization/types/BehaviorOverride.js +46 -0
  871. package/serialization/types/BucketingStatus.d.ts +7 -0
  872. package/serialization/types/BucketingStatus.js +39 -0
  873. package/serialization/types/ClosePayload.d.ts +9 -0
  874. package/serialization/types/ClosePayload.js +41 -0
  875. package/serialization/types/ConversationHistoryExotelPhoneCallModel.d.ts +15 -0
  876. package/serialization/types/ConversationHistoryExotelPhoneCallModel.js +47 -0
  877. package/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.d.ts +5 -1
  878. package/serialization/types/ConversationHistoryMetadataCommonModelPhoneCall.js +2 -0
  879. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +1 -1
  880. package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +1 -1
  881. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.d.ts +5 -1
  882. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInputResult.js +2 -0
  883. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.d.ts +5 -1
  884. package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutputResult.js +2 -0
  885. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  886. package/serialization/types/ConversationInitiationSource.js +4 -0
  887. package/serialization/types/ConversationSentimentAnalysis.d.ts +15 -0
  888. package/serialization/types/ConversationSentimentAnalysis.js +47 -0
  889. package/serialization/types/ConversationSentimentAnalysisOverallLabel.d.ts +7 -0
  890. package/serialization/types/ConversationSentimentAnalysisOverallLabel.js +39 -0
  891. package/serialization/types/CreateExotelPhoneNumberRequest.d.ts +19 -0
  892. package/serialization/types/CreateExotelPhoneNumberRequest.js +51 -0
  893. package/serialization/types/CreateOrderRequest.d.ts +9 -0
  894. package/serialization/types/CreateOrderRequest.js +41 -0
  895. package/serialization/types/CreateOrderResponse.d.ts +1 -0
  896. package/serialization/types/CreateOrderResponse.js +1 -0
  897. package/serialization/types/CreateResponseUnitTestRequest.d.ts +2 -0
  898. package/serialization/types/CreateResponseUnitTestRequest.js +2 -0
  899. package/serialization/types/CreateSimulationTestRequest.d.ts +2 -0
  900. package/serialization/types/CreateSimulationTestRequest.js +2 -0
  901. package/serialization/types/CreateToolCallUnitTestRequest.d.ts +2 -0
  902. package/serialization/types/CreateToolCallUnitTestRequest.js +2 -0
  903. package/serialization/types/CustomLlm.d.ts +2 -0
  904. package/serialization/types/CustomLlm.js +2 -0
  905. package/serialization/types/CustomLlmAuthConnection.d.ts +9 -0
  906. package/serialization/types/CustomLlmAuthConnection.js +41 -0
  907. package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
  908. package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
  909. package/serialization/types/ErrorPayload.d.ts +10 -0
  910. package/serialization/types/ErrorPayload.js +42 -0
  911. package/serialization/types/ExotelApiSubdomain.d.ts +7 -0
  912. package/serialization/types/ExotelApiSubdomain.js +39 -0
  913. package/serialization/types/ExotelOutboundCallResponse.d.ts +12 -0
  914. package/serialization/types/ExotelOutboundCallResponse.js +44 -0
  915. package/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
  916. package/serialization/types/ExternalFileSyncInfo.js +48 -0
  917. package/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
  918. package/serialization/types/ExternalFolderSyncInfo.js +47 -0
  919. package/serialization/types/ExternalSyncType.d.ts +7 -0
  920. package/serialization/types/ExternalSyncType.js +39 -0
  921. package/serialization/types/GetAgentResponseModelPhoneNumbersItem.d.ts +5 -1
  922. package/serialization/types/GetAgentResponseModelPhoneNumbersItem.js +2 -0
  923. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  924. package/serialization/types/GetConversationResponseModel.js +1 -0
  925. package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
  926. package/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
  927. package/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
  928. package/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
  929. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
  930. package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
  931. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
  932. package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
  933. package/serialization/types/GetPhoneNumberExotelResponseModel.d.ts +15 -0
  934. package/serialization/types/GetPhoneNumberExotelResponseModel.js +47 -0
  935. package/serialization/types/GetResponseUnitTestResponseModel.d.ts +2 -0
  936. package/serialization/types/GetResponseUnitTestResponseModel.js +2 -0
  937. package/serialization/types/GetSimulationTestResponseModel.d.ts +2 -0
  938. package/serialization/types/GetSimulationTestResponseModel.js +2 -0
  939. package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +5 -0
  940. package/serialization/types/GetTestSuiteInvocationResponseModel.js +5 -0
  941. package/serialization/types/GetToolCallUnitTestResponseModel.d.ts +2 -0
  942. package/serialization/types/GetToolCallUnitTestResponseModel.js +2 -0
  943. package/serialization/types/InitPayload.d.ts +10 -0
  944. package/serialization/types/InitPayload.js +42 -0
  945. package/serialization/types/InteractionBudget.d.ts +7 -0
  946. package/serialization/types/InteractionBudget.js +39 -0
  947. package/serialization/types/LanguagesResponse.d.ts +15 -0
  948. package/{dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → serialization/types/LanguagesResponse.js} +2 -2
  949. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  950. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  951. package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  952. package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  953. package/serialization/types/Llm.d.ts +1 -1
  954. package/serialization/types/Llm.js +1 -0
  955. package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
  956. package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
  957. package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
  958. package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
  959. package/serialization/types/MessagesSearchResult.d.ts +2 -0
  960. package/serialization/types/MessagesSearchResult.js +2 -0
  961. package/serialization/types/Monitor.d.ts +1 -1
  962. package/serialization/types/Monitor.js +1 -1
  963. package/serialization/types/MusicGenerationMode.d.ts +7 -0
  964. package/serialization/types/MusicGenerationMode.js +39 -0
  965. package/serialization/types/OmitSchemaOverride.d.ts +7 -0
  966. package/serialization/types/OmitSchemaOverride.js +39 -0
  967. package/serialization/types/OptInSmsReminderParams.d.ts +9 -0
  968. package/serialization/types/OptInSmsReminderParams.js +41 -0
  969. package/serialization/types/OptOutSmsReminderParams.d.ts +9 -0
  970. package/serialization/types/OptOutSmsReminderParams.js +41 -0
  971. package/serialization/types/OrderItemInfo.d.ts +2 -2
  972. package/serialization/types/OrderItemInfo.js +2 -2
  973. package/serialization/types/OrderItemRequestInput.d.ts +15 -0
  974. package/{dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → serialization/types/OrderItemRequestInput.js} +2 -2
  975. package/serialization/types/OrderItemRequestOutput.d.ts +15 -0
  976. package/serialization/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → OrderItemRequestOutput.js} +2 -2
  977. package/serialization/types/OrderResponse.d.ts +1 -0
  978. package/serialization/types/OrderResponse.js +1 -0
  979. package/serialization/types/OrderSummary.d.ts +1 -0
  980. package/serialization/types/OrderSummary.js +1 -0
  981. package/serialization/types/PingPayload.d.ts +9 -0
  982. package/serialization/types/PingPayload.js +41 -0
  983. package/serialization/types/PongPayload.d.ts +9 -0
  984. package/serialization/types/PongPayload.js +41 -0
  985. package/serialization/types/ProcedureAtVersionInput.d.ts +17 -0
  986. package/{dist/serialization/types/ProcedureAtVersion.js → serialization/types/ProcedureAtVersionInput.js} +6 -2
  987. package/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
  988. package/serialization/types/ProcedureAtVersionOutput.js +49 -0
  989. package/serialization/types/ProcedureRefResponseModel.d.ts +2 -0
  990. package/serialization/types/ProcedureRefResponseModel.js +2 -0
  991. package/serialization/types/ProcedureType.d.ts +7 -0
  992. package/serialization/types/ProcedureType.js +39 -0
  993. package/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  994. package/serialization/types/ReferencedToolCommonModelType.js +1 -1
  995. package/serialization/types/RenderType.d.ts +1 -1
  996. package/serialization/types/RenderType.js +1 -1
  997. package/serialization/types/ResourceAccessInfo.d.ts +2 -0
  998. package/serialization/types/ResourceAccessInfo.js +2 -0
  999. package/serialization/types/ResourceAccessInfoAccessSource.d.ts +7 -0
  1000. package/serialization/types/ResourceAccessInfoAccessSource.js +39 -0
  1001. package/serialization/types/ResponseUnitTestModel.d.ts +2 -0
  1002. package/serialization/types/ResponseUnitTestModel.js +2 -0
  1003. package/serialization/types/RestoreCalendarEventParams.d.ts +9 -0
  1004. package/serialization/types/RestoreCalendarEventParams.js +41 -0
  1005. package/serialization/types/SimulationTestModel.d.ts +2 -0
  1006. package/serialization/types/SimulationTestModel.js +2 -0
  1007. package/serialization/types/SoftTimeoutConfig.d.ts +3 -0
  1008. package/serialization/types/SoftTimeoutConfig.js +3 -0
  1009. package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +3 -0
  1010. package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +3 -0
  1011. package/serialization/types/SpeechEngineResponse.d.ts +2 -0
  1012. package/serialization/types/SpeechEngineResponse.js +2 -0
  1013. package/serialization/types/SpeechEngineSummaryResponse.d.ts +2 -0
  1014. package/serialization/types/SpeechEngineSummaryResponse.js +2 -0
  1015. package/serialization/types/StartProcedureToolConfigInput.d.ts +10 -0
  1016. package/serialization/types/{LoadProcedureToolConfig.js → StartProcedureToolConfigInput.js} +4 -4
  1017. package/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
  1018. package/serialization/types/StartProcedureToolConfigOutput.js +42 -0
  1019. package/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
  1020. package/serialization/types/StartProcedureToolErrorStatus.js +39 -0
  1021. package/serialization/types/SystemEvaluationCriteria.d.ts +10 -0
  1022. package/serialization/types/{ProcedureSettings.js → SystemEvaluationCriteria.js} +4 -4
  1023. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -5
  1024. package/serialization/types/SystemToolConfigInputParams.js +2 -2
  1025. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -5
  1026. package/serialization/types/SystemToolConfigOutputParams.js +2 -2
  1027. package/serialization/types/TelephonyProvider.d.ts +1 -1
  1028. package/serialization/types/TelephonyProvider.js +1 -1
  1029. package/serialization/types/TestInvocationSummaryResponseModel.d.ts +1 -0
  1030. package/serialization/types/TestInvocationSummaryResponseModel.js +1 -0
  1031. package/serialization/types/TestRunResultBucket.d.ts +13 -0
  1032. package/serialization/types/TestRunResultBucket.js +45 -0
  1033. package/serialization/types/TestRunResultSummary.d.ts +13 -0
  1034. package/serialization/types/TestRunResultSummary.js +45 -0
  1035. package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
  1036. package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
  1037. package/serialization/types/ToolCallUnitTestModel.d.ts +2 -0
  1038. package/serialization/types/ToolCallUnitTestModel.js +2 -0
  1039. package/serialization/types/TranscriptMessage.d.ts +11 -0
  1040. package/serialization/types/TranscriptMessage.js +43 -0
  1041. package/serialization/types/TranscriptMessageRole.d.ts +7 -0
  1042. package/serialization/types/TranscriptMessageRole.js +39 -0
  1043. package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +1 -0
  1044. package/serialization/types/TransferToAgentToolResultSuccessModel.js +1 -0
  1045. package/serialization/types/TransferToNumberResultExotelSuccessModel.d.ts +12 -0
  1046. package/serialization/types/TransferToNumberResultExotelSuccessModel.js +44 -0
  1047. package/serialization/types/TurnConfig.d.ts +2 -0
  1048. package/serialization/types/TurnConfig.js +2 -0
  1049. package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
  1050. package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
  1051. package/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
  1052. package/serialization/types/UnitTestSummaryResponseModel.js +2 -0
  1053. package/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
  1054. package/serialization/types/UpdateBookingPageAppearanceParams.js +41 -0
  1055. package/serialization/types/UpdateResponseUnitTestRequest.d.ts +2 -0
  1056. package/serialization/types/UpdateResponseUnitTestRequest.js +2 -0
  1057. package/serialization/types/UpdateSimulationTestRequest.d.ts +2 -0
  1058. package/serialization/types/UpdateSimulationTestRequest.js +2 -0
  1059. package/serialization/types/UpdateToolCallUnitTestRequest.d.ts +2 -0
  1060. package/serialization/types/UpdateToolCallUnitTestRequest.js +2 -0
  1061. package/serialization/types/UpsertOrderItemRequest.d.ts +2 -2
  1062. package/serialization/types/UpsertOrderItemRequest.js +2 -2
  1063. package/serialization/types/UrlSecretAuthResponse.d.ts +13 -0
  1064. package/serialization/types/UrlSecretAuthResponse.js +45 -0
  1065. package/serialization/types/UserTranscriptPayload.d.ts +12 -0
  1066. package/serialization/types/UserTranscriptPayload.js +44 -0
  1067. package/serialization/types/Verbosity.d.ts +7 -0
  1068. package/serialization/types/Verbosity.js +39 -0
  1069. package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -0
  1070. package/serialization/types/WebhookToolApiSchemaConfigInput.js +1 -0
  1071. package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -0
  1072. package/serialization/types/WebhookToolApiSchemaConfigOutput.js +1 -0
  1073. package/serialization/types/WebhookUsageType.d.ts +1 -1
  1074. package/serialization/types/WebhookUsageType.js +1 -0
  1075. package/serialization/types/WorkflowStandaloneAgentNodeModelInput.d.ts +2 -1
  1076. package/serialization/types/WorkflowStandaloneAgentNodeModelInput.js +2 -1
  1077. package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.d.ts +2 -1
  1078. package/serialization/types/WorkflowStandaloneAgentNodeModelOutput.js +2 -1
  1079. package/serialization/types/index.d.ts +47 -8
  1080. package/serialization/types/index.js +47 -8
  1081. package/version.d.ts +1 -1
  1082. package/version.js +1 -1
  1083. package/wrapper/music.d.ts +11 -0
  1084. package/wrapper/music.js +15 -0
  1085. package/api/types/LoadProcedureToolConfig.d.ts +0 -4
  1086. package/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
  1087. package/api/types/ProcedureCompilerMode.d.ts +0 -5
  1088. package/api/types/ProcedureSettings.d.ts +0 -4
  1089. package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -10
  1090. package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -10
  1091. package/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -10
  1092. package/dist/api/types/LoadProcedureToolConfig.d.ts +0 -4
  1093. package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
  1094. package/dist/api/types/ProcedureCompilerMode.d.ts +0 -5
  1095. package/dist/api/types/ProcedureSettings.d.ts +0 -4
  1096. package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -10
  1097. package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -10
  1098. package/dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -10
  1099. package/dist/serialization/types/LoadProcedureToolConfig.d.ts +0 -10
  1100. package/dist/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
  1101. package/dist/serialization/types/ProcedureAtVersion.d.ts +0 -13
  1102. package/dist/serialization/types/ProcedureCompilerMode.d.ts +0 -7
  1103. package/dist/serialization/types/ProcedureSettings.d.ts +0 -10
  1104. package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -15
  1105. package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -15
  1106. package/dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -15
  1107. package/serialization/types/LoadProcedureToolConfig.d.ts +0 -10
  1108. package/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
  1109. package/serialization/types/ProcedureAtVersion.d.ts +0 -13
  1110. package/serialization/types/ProcedureCompilerMode.d.ts +0 -7
  1111. package/serialization/types/ProcedureSettings.d.ts +0 -10
  1112. package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +0 -15
  1113. package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +0 -15
  1114. package/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +0 -15
  1115. /package/api/{types/LoadProcedureToolConfig.js → resources/conversationalAi/resources/exotel/client/requests/BodyHandleAnOutboundCallViaExotelV1ConvaiExotelOutboundCallPost.js} +0 -0
  1116. /package/api/{types/ProcedureAtVersion.js → resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js} +0 -0
  1117. /package/api/{types/ProcedureSettings.js → resources/speechEngineUpstream/types/SendUpstreamMessage.js} +0 -0
  1118. /package/api/{types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → resources/workspaces/resources/apiKeys/client/requests/ApiKeysRevokeRequest.js} +0 -0
  1119. /package/api/types/{RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → AgentResponsePayload.js} +0 -0
  1120. /package/api/types/{RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → BehaviorOverride.js} +0 -0
  1121. /package/{dist/api/types/LoadProcedureToolConfig.js → api/types/ClosePayload.js} +0 -0
  1122. /package/{dist/api/types/ProcedureAtVersion.js → api/types/ConversationHistoryExotelPhoneCallModel.js} +0 -0
  1123. /package/{dist/api/types/ProcedureSettings.js → api/types/ConversationSentimentAnalysis.js} +0 -0
  1124. /package/{dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js → api/types/CreateExotelPhoneNumberRequest.js} +0 -0
  1125. /package/{dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js → api/types/CreateOrderRequest.js} +0 -0
  1126. /package/{dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js → api/types/CustomLlmAuthConnection.js} +0 -0
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../../../../../index";
2
2
  /**
3
3
  * The type of auth connection config
4
4
  */
5
- export type AuthConnectionsCreateResponse = ElevenLabs.workspace.AuthConnectionsCreateResponse.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsCreateResponse.BasicAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.BearerAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.Oauth2Jwt | ElevenLabs.workspace.AuthConnectionsCreateResponse.PrivateKeyJwt | ElevenLabs.workspace.AuthConnectionsCreateResponse.Mtls | ElevenLabs.workspace.AuthConnectionsCreateResponse.CustomHeaderAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.ApiIntegrationOauth2AuthCode | ElevenLabs.workspace.AuthConnectionsCreateResponse.ApiIntegrationOauth2CustomApp | ElevenLabs.workspace.AuthConnectionsCreateResponse.WhatsappAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.SlackBotAuth;
5
+ export type AuthConnectionsCreateResponse = ElevenLabs.workspace.AuthConnectionsCreateResponse.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsCreateResponse.BasicAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.BearerAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.Oauth2Jwt | ElevenLabs.workspace.AuthConnectionsCreateResponse.PrivateKeyJwt | ElevenLabs.workspace.AuthConnectionsCreateResponse.Mtls | ElevenLabs.workspace.AuthConnectionsCreateResponse.CustomHeaderAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.ApiIntegrationOauth2AuthCode | ElevenLabs.workspace.AuthConnectionsCreateResponse.ApiIntegrationOauth2CustomApp | ElevenLabs.workspace.AuthConnectionsCreateResponse.WhatsappAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.SlackBotAuth | ElevenLabs.workspace.AuthConnectionsCreateResponse.UrlSecret;
6
6
  export declare namespace AuthConnectionsCreateResponse {
7
7
  interface Oauth2ClientCredentials extends ElevenLabs.OAuth2ClientCredsResponse {
8
8
  authType: "oauth2_client_credentials";
@@ -37,4 +37,7 @@ export declare namespace AuthConnectionsCreateResponse {
37
37
  interface SlackBotAuth extends ElevenLabs.SlackBotAuthResponse {
38
38
  authType: "slack_bot_auth";
39
39
  }
40
+ interface UrlSecret extends ElevenLabs.UrlSecretAuthResponse {
41
+ authType: "url_secret";
42
+ }
40
43
  }
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../../../../../index";
2
2
  /**
3
3
  * The type of auth connection config
4
4
  */
5
- export type AuthConnectionsUpdateResponse = ElevenLabs.workspace.AuthConnectionsUpdateResponse.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsUpdateResponse.BasicAuth | ElevenLabs.workspace.AuthConnectionsUpdateResponse.BearerAuth | ElevenLabs.workspace.AuthConnectionsUpdateResponse.Oauth2Jwt | ElevenLabs.workspace.AuthConnectionsUpdateResponse.PrivateKeyJwt | ElevenLabs.workspace.AuthConnectionsUpdateResponse.Mtls | ElevenLabs.workspace.AuthConnectionsUpdateResponse.CustomHeaderAuth | ElevenLabs.workspace.AuthConnectionsUpdateResponse.ApiIntegrationOauth2AuthCode | ElevenLabs.workspace.AuthConnectionsUpdateResponse.ApiIntegrationOauth2CustomApp | ElevenLabs.workspace.AuthConnectionsUpdateResponse.WhatsappAuth | ElevenLabs.workspace.AuthConnectionsUpdateResponse.SlackBotAuth;
5
+ export type AuthConnectionsUpdateResponse = ElevenLabs.workspace.AuthConnectionsUpdateResponse.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsUpdateResponse.BasicAuth | ElevenLabs.workspace.AuthConnectionsUpdateResponse.BearerAuth | ElevenLabs.workspace.AuthConnectionsUpdateResponse.Oauth2Jwt | ElevenLabs.workspace.AuthConnectionsUpdateResponse.PrivateKeyJwt | ElevenLabs.workspace.AuthConnectionsUpdateResponse.Mtls | ElevenLabs.workspace.AuthConnectionsUpdateResponse.CustomHeaderAuth | ElevenLabs.workspace.AuthConnectionsUpdateResponse.ApiIntegrationOauth2AuthCode | ElevenLabs.workspace.AuthConnectionsUpdateResponse.ApiIntegrationOauth2CustomApp | ElevenLabs.workspace.AuthConnectionsUpdateResponse.WhatsappAuth | ElevenLabs.workspace.AuthConnectionsUpdateResponse.SlackBotAuth | ElevenLabs.workspace.AuthConnectionsUpdateResponse.UrlSecret;
6
6
  export declare namespace AuthConnectionsUpdateResponse {
7
7
  interface Oauth2ClientCredentials extends ElevenLabs.OAuth2ClientCredsResponse {
8
8
  authType: "oauth2_client_credentials";
@@ -37,4 +37,7 @@ export declare namespace AuthConnectionsUpdateResponse {
37
37
  interface SlackBotAuth extends ElevenLabs.SlackBotAuthResponse {
38
38
  authType: "slack_bot_auth";
39
39
  }
40
+ interface UrlSecret extends ElevenLabs.UrlSecretAuthResponse {
41
+ authType: "url_secret";
42
+ }
40
43
  }
@@ -27,7 +27,7 @@ export declare class ResourcesClient {
27
27
  get(resource_id: string, request: ElevenLabs.workspace.ResourcesGetRequest, requestOptions?: ResourcesClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.ResourceMetadataResponseModel>;
28
28
  private __get;
29
29
  /**
30
- * Grants a role on a workspace resource to a user or a group. It overrides any existing role this user/service account/group/workspace api key has on the resource. To target a user or service account, pass only the user email. The user must be in your workspace. To target a group, pass only the group id. To target a workspace api key, pass the api key id. The resource will be shared with the service account associated with the api key. You must have admin access to the resource to share it.
30
+ * Grants a role (one of 'admin', 'editor', 'commenter', or 'viewer') on a workspace resource to a user, group, or workspace (service account) API key. This overrides any existing role the target has on the resource. To target a user or service account, pass only the user email; the user must be in your workspace. To target a group, pass only the group id. To target a workspace (service account) API key, pass the api key id; the resource will be shared with the service account associated with that key. You must have admin access to the resource to share it.
31
31
  *
32
32
  * @param {string} resource_id - The ID of the target resource.
33
33
  * @param {ElevenLabs.workspace.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost} request
@@ -44,7 +44,7 @@ export declare class ResourcesClient {
44
44
  share(resource_id: string, request: ElevenLabs.workspace.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost, requestOptions?: ResourcesClient.RequestOptions): core.HttpResponsePromise<unknown>;
45
45
  private __share;
46
46
  /**
47
- * Removes any existing role on a workspace resource from a user, service account, group or workspace api key. To target a user or service account, pass only the user email. The user must be in your workspace. To target a group, pass only the group id. To target a workspace api key, pass the api key id. The resource will be unshared from the service account associated with the api key. You must have admin access to the resource to unshare it. You cannot remove permissions from the user who created the resource.
47
+ * Removes any existing role on a workspace resource from a user, group, or workspace (service account) API key. To target a user or service account, pass only the user email; the user must be in your workspace. To target a group, pass only the group id. To target a workspace (service account) API key, pass the api key id; the resource will be unshared from the service account associated with that key. You must have admin access to the resource to unshare it. You cannot remove permissions from the user who created the resource.
48
48
  *
49
49
  * @param {string} resource_id - The ID of the target resource.
50
50
  * @param {ElevenLabs.workspace.BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost} request
@@ -120,7 +120,7 @@ class ResourcesClient {
120
120
  });
121
121
  }
122
122
  /**
123
- * Grants a role on a workspace resource to a user or a group. It overrides any existing role this user/service account/group/workspace api key has on the resource. To target a user or service account, pass only the user email. The user must be in your workspace. To target a group, pass only the group id. To target a workspace api key, pass the api key id. The resource will be shared with the service account associated with the api key. You must have admin access to the resource to share it.
123
+ * Grants a role (one of 'admin', 'editor', 'commenter', or 'viewer') on a workspace resource to a user, group, or workspace (service account) API key. This overrides any existing role the target has on the resource. To target a user or service account, pass only the user email; the user must be in your workspace. To target a group, pass only the group id. To target a workspace (service account) API key, pass the api key id; the resource will be shared with the service account associated with that key. You must have admin access to the resource to share it.
124
124
  *
125
125
  * @param {string} resource_id - The ID of the target resource.
126
126
  * @param {ElevenLabs.workspace.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost} request
@@ -174,7 +174,7 @@ class ResourcesClient {
174
174
  });
175
175
  }
176
176
  /**
177
- * Removes any existing role on a workspace resource from a user, service account, group or workspace api key. To target a user or service account, pass only the user email. The user must be in your workspace. To target a group, pass only the group id. To target a workspace api key, pass the api key id. The resource will be unshared from the service account associated with the api key. You must have admin access to the resource to unshare it. You cannot remove permissions from the user who created the resource.
177
+ * Removes any existing role on a workspace resource from a user, group, or workspace (service account) API key. To target a user or service account, pass only the user email; the user must be in your workspace. To target a group, pass only the group id. To target a workspace (service account) API key, pass the api key id; the resource will be unshared from the service account associated with that key. You must have admin access to the resource to unshare it. You cannot remove permissions from the user who created the resource.
178
178
  *
179
179
  * @param {string} resource_id - The ID of the target resource.
180
180
  * @param {ElevenLabs.workspace.BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost} request
@@ -7,14 +7,14 @@ import type * as ElevenLabs from "../../../../../../index";
7
7
  * }
8
8
  */
9
9
  export interface BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost {
10
- /** Role to update the target principal with. */
10
+ /** Role to grant to the target: one of 'admin', 'editor', 'commenter', or 'viewer'. */
11
11
  role: ElevenLabs.workspace.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole;
12
12
  /** Resource type of the target resource. */
13
13
  resourceType: ElevenLabs.WorkspaceResourceType;
14
14
  /** The email of the user or service account. */
15
15
  userEmail?: string;
16
- /** The ID of the target group. To target the permissions principals have by default on this resource, use the value 'default'. */
16
+ /** The ID of the target group. Use 'default' to set the resource's baseline role every workspace member receives this role unless they hold a higher one through a direct user grant, group membership, or workspace (service account) API key. */
17
17
  groupId?: string;
18
- /** The ID of the target workspace API key. This isn't the same as the key itself that would you pass in the header for authentication. Workspace admins can find this in the workspace settings UI. */
18
+ /** The ID of the target workspace (service account) API key. This is not the API key string itself that you pass in the header for authentication it is the key's ID, which workspace admins can find under Developers Service Accounts. */
19
19
  workspaceApiKeyId?: string;
20
20
  }
@@ -10,8 +10,8 @@ export interface BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsha
10
10
  resourceType: ElevenLabs.WorkspaceResourceType;
11
11
  /** The email of the user or service account. */
12
12
  userEmail?: string;
13
- /** The ID of the target group. To target the permissions principals have by default on this resource, use the value 'default'. */
13
+ /** The ID of the target group. Use 'default' to set the resource's baseline role every workspace member receives this role unless they hold a higher one through a direct user grant, group membership, or workspace (service account) API key. */
14
14
  groupId?: string;
15
- /** The ID of the target workspace API key. This isn't the same as the key itself that would you pass in the header for authentication. Workspace admins can find this in the workspace settings UI. */
15
+ /** The ID of the target workspace (service account) API key. This is not the API key string itself that you pass in the header for authentication it is the key's ID, which workspace admins can find under Developers Service Accounts. */
16
16
  workspaceApiKeyId?: string;
17
17
  }
@@ -1,4 +1,4 @@
1
- /** Role to update the target principal with. */
1
+ /** Role to grant to the target: one of 'admin', 'editor', 'commenter', or 'viewer'. */
2
2
  export declare const BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole: {
3
3
  readonly Admin: "admin";
4
4
  readonly Editor: "editor";
@@ -2,7 +2,7 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole = void 0;
5
- /** Role to update the target principal with. */
5
+ /** Role to grant to the target: one of 'admin', 'editor', 'commenter', or 'viewer'. */
6
6
  exports.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole = {
7
7
  Admin: "admin",
8
8
  Editor: "editor",
@@ -0,0 +1,12 @@
1
+ import type { BaseClientOptions } from "../../../../BaseClient";
2
+ import { type NormalizedClientOptions } from "../../../../BaseClient";
3
+ import { ApiKeysClient } from "../resources/apiKeys/client/Client";
4
+ export declare namespace WorkspacesClient {
5
+ type Options = BaseClientOptions;
6
+ }
7
+ export declare class WorkspacesClient {
8
+ protected readonly _options: NormalizedClientOptions<WorkspacesClient.Options>;
9
+ protected _apiKeys: ApiKeysClient | undefined;
10
+ constructor(options?: WorkspacesClient.Options);
11
+ get apiKeys(): ApiKeysClient;
12
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.WorkspacesClient = void 0;
5
+ const BaseClient_1 = require("../../../../BaseClient");
6
+ const Client_1 = require("../resources/apiKeys/client/Client");
7
+ class WorkspacesClient {
8
+ constructor(options = {}) {
9
+ this._options = (0, BaseClient_1.normalizeClientOptions)(options);
10
+ }
11
+ get apiKeys() {
12
+ var _a;
13
+ return ((_a = this._apiKeys) !== null && _a !== void 0 ? _a : (this._apiKeys = new Client_1.ApiKeysClient(this._options)));
14
+ }
15
+ }
16
+ exports.WorkspacesClient = WorkspacesClient;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./client";
2
+ export * from "./resources";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
18
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1,28 @@
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 ApiKeysClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class ApiKeysClient {
11
+ protected readonly _options: NormalizedClientOptions<ApiKeysClient.Options>;
12
+ constructor(options?: ApiKeysClient.Options);
13
+ /**
14
+ * Revoke the API key used to authenticate this request. Requires the query parameter `api_key_name=self` as an explicit confirmation. This endpoint requires additional permissions and is not enabled by default. Reach out to your ElevenLabs contact to request access.
15
+ *
16
+ * @param {ElevenLabs.workspaces.ApiKeysRevokeRequest} request
17
+ * @param {ApiKeysClient.RequestOptions} requestOptions - Request-specific configuration.
18
+ *
19
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
20
+ *
21
+ * @example
22
+ * await client.workspaces.apiKeys.revoke({
23
+ * apiKeyName: "self"
24
+ * })
25
+ */
26
+ revoke(request: ElevenLabs.workspaces.ApiKeysRevokeRequest, requestOptions?: ApiKeysClient.RequestOptions): core.HttpResponsePromise<unknown>;
27
+ private __revoke;
28
+ }
@@ -0,0 +1,111 @@
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.ApiKeysClient = 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 ElevenLabs = __importStar(require("../../../../../index"));
54
+ class ApiKeysClient {
55
+ constructor(options = {}) {
56
+ this._options = (0, BaseClient_1.normalizeClientOptions)(options);
57
+ }
58
+ /**
59
+ * Revoke the API key used to authenticate this request. Requires the query parameter `api_key_name=self` as an explicit confirmation. This endpoint requires additional permissions and is not enabled by default. Reach out to your ElevenLabs contact to request access.
60
+ *
61
+ * @param {ElevenLabs.workspaces.ApiKeysRevokeRequest} request
62
+ * @param {ApiKeysClient.RequestOptions} requestOptions - Request-specific configuration.
63
+ *
64
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
65
+ *
66
+ * @example
67
+ * await client.workspaces.apiKeys.revoke({
68
+ * apiKeyName: "self"
69
+ * })
70
+ */
71
+ revoke(request, requestOptions) {
72
+ return core.HttpResponsePromise.fromPromise(this.__revoke(request, requestOptions));
73
+ }
74
+ __revoke(request, requestOptions) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
77
+ const { apiKeyName } = request;
78
+ const _queryParams = {};
79
+ _queryParams.api_key_name = apiKeyName;
80
+ 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);
81
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
82
+ 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/workspaces/api-keys/revoke"),
83
+ method: "DELETE",
84
+ headers: _headers,
85
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
86
+ 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,
87
+ 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,
88
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
89
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
90
+ logging: this._options.logging,
91
+ });
92
+ if (_response.ok) {
93
+ return { data: _response.body, rawResponse: _response.rawResponse };
94
+ }
95
+ if (_response.error.reason === "status-code") {
96
+ switch (_response.error.statusCode) {
97
+ case 422:
98
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
99
+ default:
100
+ throw new errors.ElevenLabsError({
101
+ statusCode: _response.error.statusCode,
102
+ body: _response.error.body,
103
+ rawResponse: _response.rawResponse,
104
+ });
105
+ }
106
+ }
107
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/workspaces/api-keys/revoke");
108
+ });
109
+ }
110
+ }
111
+ exports.ApiKeysClient = ApiKeysClient;
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * apiKeyName: "self"
5
+ * }
6
+ */
7
+ export interface ApiKeysRevokeRequest {
8
+ /** Must be set to `self` to revoke the API key used to authenticate this request. Required as an explicit confirmation to avoid accidental revocation. */
9
+ apiKeyName: string;
10
+ }
@@ -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 { ApiKeysRevokeRequest } from "./ApiKeysRevokeRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,2 @@
1
+ export * as apiKeys from "./apiKeys";
2
+ export * from "./apiKeys/client/requests";
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.apiKeys = void 0;
40
+ exports.apiKeys = __importStar(require("./apiKeys"));
41
+ __exportStar(require("./apiKeys/client/requests"), exports);
@@ -12,6 +12,8 @@ export interface AgentConfig {
12
12
  disableFirstMessageInterruptions?: boolean;
13
13
  /** If non-empty, the message the agent will send when max conversation duration is reached. */
14
14
  maxConversationDurationMessage?: string;
15
+ /** Per-channel response behavior overrides for text conversations. Built-in channel defaults apply when unset. */
16
+ textBehaviorOverrides?: Record<string, ElevenLabs.BehaviorOverride | undefined>;
15
17
  /** The prompt for the agent */
16
18
  prompt?: ElevenLabs.PromptAgentApiModelOutput;
17
19
  }
@@ -12,6 +12,8 @@ export interface AgentConfigApiModelWorkflowOverrideInput {
12
12
  disableFirstMessageInterruptions?: boolean;
13
13
  /** If non-empty, the message the agent will send when max conversation duration is reached. */
14
14
  maxConversationDurationMessage?: string;
15
+ /** Per-channel response behavior overrides for text conversations. Built-in channel defaults apply when unset. */
16
+ textBehaviorOverrides?: Record<string, ElevenLabs.BehaviorOverride | undefined>;
15
17
  /** The prompt for the agent */
16
18
  prompt?: ElevenLabs.PromptAgentApiModelWorkflowOverrideInput;
17
19
  }
@@ -12,6 +12,8 @@ export interface AgentConfigApiModelWorkflowOverrideOutput {
12
12
  disableFirstMessageInterruptions?: boolean;
13
13
  /** If non-empty, the message the agent will send when max conversation duration is reached. */
14
14
  maxConversationDurationMessage?: string;
15
+ /** Per-channel response behavior overrides for text conversations. Built-in channel defaults apply when unset. */
16
+ textBehaviorOverrides?: Record<string, ElevenLabs.BehaviorOverride | undefined>;
15
17
  /** The prompt for the agent */
16
18
  prompt?: ElevenLabs.PromptAgentApiModelWorkflowOverrideOutput;
17
19
  }
@@ -30,5 +30,4 @@ export interface AgentPlatformSettingsRequestModel {
30
30
  trustContext?: ElevenLabs.AgentTrustContext;
31
31
  /** Default LLM model for post-call analysis (evaluation and data collection) */
32
32
  analysisLlm?: ElevenLabs.Llm;
33
- alerting?: ElevenLabs.AgentAlertingSettings;
34
33
  }
@@ -30,6 +30,5 @@ export interface AgentPlatformSettingsResponseModel {
30
30
  trustContext?: ElevenLabs.AgentTrustContext;
31
31
  /** Default LLM model for post-call analysis (evaluation and data collection) */
32
32
  analysisLlm?: ElevenLabs.Llm;
33
- alerting?: ElevenLabs.AgentAlertingSettings;
34
33
  safety?: ElevenLabs.SafetyResponseModel;
35
34
  }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Text chunk sent from your server to ElevenLabs for speech synthesis.
3
+ * Stream LLM output by sending multiple messages with `is_final: false`, then
4
+ * terminate the response with a message where `is_final: true` and `content` is
5
+ * an empty string.
6
+ */
7
+ export interface AgentResponsePayload {
8
+ /** The message type identifier. */
9
+ type: "agent_response";
10
+ /**
11
+ * The text to synthesize. For streaming responses, send incremental chunks here.
12
+ * The final message in a response must have an empty string (`""`).
13
+ */
14
+ content: string;
15
+ /**
16
+ * The `event_id` from the `user_transcript` this response addresses. ElevenLabs
17
+ * uses this to discard responses that belong to an interrupted turn.
18
+ */
19
+ eventId?: number;
20
+ /**
21
+ * Set to `true` on the last message of a response (with an empty `content`).
22
+ * Set to `false` on all preceding chunks.
23
+ */
24
+ isFinal: boolean;
25
+ }
@@ -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 });
@@ -1,5 +1,6 @@
1
1
  export interface AgentTransfer {
2
- agentId: string;
2
+ agentId?: string;
3
+ nodeId?: string;
3
4
  condition: string;
4
5
  delayMs?: number;
5
6
  transferMessage?: string;
@@ -7,16 +7,18 @@ import type * as ElevenLabs from "../index";
7
7
  */
8
8
  export interface AnalysisProperty {
9
9
  type: ElevenLabs.AnalysisPropertyType;
10
- /** The description of the property. When set, the LLM will provide the value based on this description. Mutually exclusive with dynamic_variable, is_system_provided, and constant_value. */
10
+ /** The description of the property. When set, the LLM will provide the value based on this description. Mutually exclusive with dynamic_variable, is_system_provided, constant_value, and is_omitted. */
11
11
  description?: string;
12
12
  /** List of allowed string values for string type parameters */
13
13
  enum?: string[];
14
- /** If true, the value will be populated by the system at runtime. Used by API Integration Webhook tools for templating. Mutually exclusive with description, dynamic_variable, and constant_value. */
14
+ /** If true, the value will be populated by the system at runtime. Used by API Integration Webhook tools for templating. Mutually exclusive with description, dynamic_variable, constant_value, and is_omitted. */
15
15
  isSystemProvided?: boolean;
16
- /** The name of the dynamic variable to use for this property's value. Mutually exclusive with description, is_system_provided, and constant_value. */
16
+ /** The name of the dynamic variable to use for this property's value. Mutually exclusive with description, is_system_provided, constant_value, and is_omitted. */
17
17
  dynamicVariable?: string;
18
- /** A constant value to use for this property. Mutually exclusive with description, dynamic_variable, and is_system_provided. */
18
+ /** A constant value to use for this property. Mutually exclusive with description, dynamic_variable, is_system_provided, and is_omitted. */
19
19
  constantValue?: ElevenLabs.AnalysisPropertyConstantValue;
20
+ /** If true, this parameter will be completely omitted from the request. Only valid for optional parameters. Mutually exclusive with description, dynamic_variable, is_system_provided, and constant_value. */
21
+ isOmitted?: boolean;
20
22
  /** LLM model to use for this analysis item. If not set, uses agent's analysis_llm default. */
21
23
  llm?: ElevenLabs.Llm;
22
24
  }
@@ -1,4 +1,4 @@
1
1
  /**
2
- * A constant value to use for this property. Mutually exclusive with description, dynamic_variable, and is_system_provided.
2
+ * A constant value to use for this property. Mutually exclusive with description, dynamic_variable, is_system_provided, and is_omitted.
3
3
  */
4
4
  export type AnalysisPropertyConstantValue = string | number | number | boolean;
@@ -1,5 +1,5 @@
1
1
  import type * as ElevenLabs from "../index";
2
- export type ApiIntegrationWebhookOverridesSchemaOverridesValue = ElevenLabs.ApiIntegrationWebhookOverridesSchemaOverridesValue.Constant | ElevenLabs.ApiIntegrationWebhookOverridesSchemaOverridesValue.DynamicVariable | ElevenLabs.ApiIntegrationWebhookOverridesSchemaOverridesValue.Llm;
2
+ export type ApiIntegrationWebhookOverridesSchemaOverridesValue = ElevenLabs.ApiIntegrationWebhookOverridesSchemaOverridesValue.Constant | ElevenLabs.ApiIntegrationWebhookOverridesSchemaOverridesValue.DynamicVariable | ElevenLabs.ApiIntegrationWebhookOverridesSchemaOverridesValue.Llm | ElevenLabs.ApiIntegrationWebhookOverridesSchemaOverridesValue.Omit;
3
3
  export declare namespace ApiIntegrationWebhookOverridesSchemaOverridesValue {
4
4
  interface Constant extends ElevenLabs.ConstantSchemaOverride {
5
5
  source: "constant";
@@ -10,4 +10,7 @@ export declare namespace ApiIntegrationWebhookOverridesSchemaOverridesValue {
10
10
  interface Llm extends ElevenLabs.LlmSchemaOverride {
11
11
  source: "llm";
12
12
  }
13
+ interface Omit extends ElevenLabs.OmitSchemaOverride {
14
+ source: "omit";
15
+ }
13
16
  }
@@ -1,4 +1,6 @@
1
1
  export declare const AsrProvider: {
2
+ /**
3
+ * Deprecated: Use scribe_realtime instead. */
2
4
  readonly Elevenlabs: "elevenlabs";
3
5
  readonly ScribeRealtime: "scribe_realtime";
4
6
  };
@@ -3,6 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.AsrProvider = void 0;
5
5
  exports.AsrProvider = {
6
+ /**
7
+ * Deprecated: Use scribe_realtime instead. */
6
8
  Elevenlabs: "elevenlabs",
7
9
  ScribeRealtime: "scribe_realtime",
8
10
  };
@@ -14,4 +14,5 @@ export interface BaseTurnConfig {
14
14
  speculativeTurn?: boolean;
15
15
  /** When enabled, if VAD detects no speech, attempts to re-transcribe accumulated audio at turn timeout. Disables silence discount billing for affected turns. */
16
16
  retranscribeOnTurnTimeout?: boolean;
17
+ turnModel?: ElevenLabs.TurnModel;
17
18
  }