@elevenlabs/elevenlabs-js 2.47.0 → 2.49.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 (982) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/.fern/replay.lock +10 -0
  3. package/.gitattributes +1 -0
  4. package/BaseClient.js +2 -2
  5. package/Client.d.ts +3 -0
  6. package/Client.js +39 -34
  7. package/api/resources/conversationalAi/conversation/Conversation.js +1 -0
  8. package/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +2 -0
  9. package/api/resources/conversationalAi/conversation/events.d.ts +1 -0
  10. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
  11. package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
  12. package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +1 -0
  13. package/api/resources/conversationalAi/resources/agents/resources/index.js +2 -1
  14. package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts +27 -0
  15. package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +116 -0
  16. package/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts +1 -0
  17. package/api/resources/conversationalAi/resources/agents/resources/versions/client/index.js +2 -0
  18. package/api/resources/conversationalAi/resources/agents/resources/versions/index.d.ts +1 -0
  19. package/api/resources/conversationalAi/resources/agents/resources/versions/index.js +17 -0
  20. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  21. package/api/resources/conversationalAi/resources/conversations/client/Client.js +18 -6
  22. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetRequest.d.ts +9 -0
  23. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
  24. package/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
  25. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  26. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +5 -1
  27. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +2 -0
  28. package/api/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.d.ts +6 -0
  29. package/api/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.js +9 -0
  30. package/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  31. package/api/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  32. package/api/resources/index.d.ts +3 -0
  33. package/api/resources/index.js +4 -1
  34. package/api/resources/music/client/Client.js +3 -0
  35. package/api/resources/music/client/requests/BodyVideoToMusicV1MusicVideoToMusicPost.d.ts +2 -0
  36. package/api/resources/productions/client/Client.d.ts +12 -0
  37. package/api/resources/productions/client/Client.js +16 -0
  38. package/api/resources/productions/client/index.d.ts +1 -0
  39. package/api/resources/productions/client/index.js +2 -0
  40. package/api/resources/productions/index.d.ts +2 -0
  41. package/api/resources/productions/index.js +18 -0
  42. package/api/resources/productions/resources/index.d.ts +2 -0
  43. package/api/resources/productions/resources/index.js +41 -0
  44. package/api/resources/productions/resources/orders/client/Client.d.ts +104 -0
  45. package/api/resources/productions/resources/orders/client/Client.js +398 -0
  46. package/api/resources/productions/resources/orders/client/index.d.ts +1 -0
  47. package/api/resources/productions/resources/orders/client/index.js +17 -0
  48. package/api/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.d.ts +12 -0
  49. package/api/resources/productions/resources/orders/client/requests/OrdersListRequest.d.ts +23 -0
  50. package/api/resources/productions/resources/orders/client/requests/index.d.ts +2 -0
  51. package/api/resources/productions/resources/orders/client/requests/index.js +2 -0
  52. package/api/resources/productions/resources/orders/index.d.ts +2 -0
  53. package/api/resources/productions/resources/orders/index.js +18 -0
  54. package/api/resources/productions/resources/orders/resources/deliverables/client/Client.d.ts +26 -0
  55. package/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +115 -0
  56. package/api/resources/productions/resources/orders/resources/deliverables/client/index.d.ts +1 -0
  57. package/api/resources/productions/resources/orders/resources/deliverables/client/index.js +2 -0
  58. package/api/resources/productions/resources/orders/resources/deliverables/index.d.ts +1 -0
  59. package/api/resources/productions/resources/orders/resources/deliverables/index.js +17 -0
  60. package/api/resources/productions/resources/orders/resources/index.d.ts +6 -0
  61. package/api/resources/productions/resources/orders/resources/index.js +45 -0
  62. package/api/resources/productions/resources/orders/resources/items/client/Client.d.ts +54 -0
  63. package/api/resources/productions/resources/orders/resources/items/client/Client.js +188 -0
  64. package/api/resources/productions/resources/orders/resources/items/client/index.d.ts +1 -0
  65. package/api/resources/productions/resources/orders/resources/items/client/index.js +17 -0
  66. package/api/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.d.ts +21 -0
  67. package/api/resources/productions/resources/orders/resources/items/client/requests/index.d.ts +1 -0
  68. package/api/resources/productions/resources/orders/resources/items/client/requests/index.js +2 -0
  69. package/api/resources/productions/resources/orders/resources/items/index.d.ts +1 -0
  70. package/api/resources/productions/resources/orders/resources/items/index.js +17 -0
  71. package/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +26 -0
  72. package/api/resources/productions/resources/orders/resources/languages/client/Client.js +115 -0
  73. package/api/resources/productions/resources/orders/resources/languages/client/index.d.ts +1 -0
  74. package/api/resources/productions/resources/orders/resources/languages/client/index.js +2 -0
  75. package/api/resources/productions/resources/orders/resources/languages/index.d.ts +1 -0
  76. package/api/resources/productions/resources/orders/resources/languages/index.js +17 -0
  77. package/api/resources/productions/resources/orders/resources/media/client/Client.d.ts +44 -0
  78. package/api/resources/productions/resources/orders/resources/media/client/Client.js +193 -0
  79. package/api/resources/productions/resources/orders/resources/media/client/index.d.ts +1 -0
  80. package/api/resources/productions/resources/orders/resources/media/client/index.js +17 -0
  81. package/api/resources/productions/resources/orders/resources/media/client/requests/BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost.d.ts +19 -0
  82. package/api/resources/productions/resources/orders/resources/media/client/requests/index.d.ts +1 -0
  83. package/api/resources/productions/resources/orders/resources/media/client/requests/index.js +2 -0
  84. package/api/resources/productions/resources/orders/resources/media/index.d.ts +1 -0
  85. package/api/resources/productions/resources/orders/resources/media/index.js +17 -0
  86. package/api/resources/speechEngine/client/Client.d.ts +1 -1
  87. package/api/resources/speechEngine/client/Client.js +1 -1
  88. package/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +2 -0
  89. package/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +1 -0
  90. package/api/resources/usage/client/Client.d.ts +1 -1
  91. package/api/resources/usage/client/Client.js +1 -1
  92. package/api/resources/v1RealtimeTranslation/index.d.ts +1 -0
  93. package/api/resources/v1RealtimeTranslation/index.js +17 -0
  94. package/api/resources/v1RealtimeTranslation/types/ReceiveRttMessage.d.ts +5 -0
  95. package/api/resources/v1RealtimeTranslation/types/SendRttMessage.d.ts +5 -0
  96. package/api/resources/v1RealtimeTranslation/types/SendRttMessage.js +3 -0
  97. package/api/resources/v1RealtimeTranslation/types/index.d.ts +2 -0
  98. package/api/resources/v1RealtimeTranslation/types/index.js +18 -0
  99. package/api/resources/voices/client/Client.d.ts +0 -3
  100. package/api/resources/voices/client/Client.js +0 -3
  101. package/api/resources/workspace/resources/authConnections/client/Client.d.ts +16 -0
  102. package/api/resources/workspace/resources/authConnections/client/Client.js +63 -0
  103. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +4 -1
  104. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  105. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +16 -0
  106. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +3 -0
  107. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +40 -0
  108. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +3 -0
  109. package/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  110. package/api/resources/workspace/resources/authConnections/types/index.js +2 -0
  111. package/api/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +1 -0
  112. package/api/types/AgentAlertingMonitorConfig.d.ts +2 -0
  113. package/api/types/AgentAlertingSettings.d.ts +4 -0
  114. package/api/types/AgentAlertingWebhookNotifier.d.ts +7 -0
  115. package/api/types/AgentAlertingWebhookNotifier.js +3 -0
  116. package/api/types/AsrConversationalConfigOverride.d.ts +4 -0
  117. package/api/types/AsrConversationalConfigOverride.js +3 -0
  118. package/api/types/AsrConversationalConfigOverrideConfig.d.ts +4 -0
  119. package/api/types/AsrConversationalConfigOverrideConfig.js +3 -0
  120. package/api/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  121. package/api/types/ChapterStatisticsResponse.d.ts +2 -0
  122. package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  123. package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  124. package/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  125. package/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  126. package/api/types/ConversationInitiationSource.d.ts +1 -0
  127. package/api/types/ConversationInitiationSource.js +1 -0
  128. package/api/types/CreateBearerAuthRequest.d.ts +8 -0
  129. package/api/types/CreateBearerAuthRequest.js +3 -0
  130. package/api/types/CreateOrderResponse.d.ts +5 -0
  131. package/api/types/CreateOrderResponse.js +3 -0
  132. package/api/types/CueOptionsRequest.d.ts +14 -0
  133. package/api/types/CueOptionsRequest.js +3 -0
  134. package/api/types/DeliverableInfo.d.ts +10 -0
  135. package/api/types/DeliverableInfo.js +3 -0
  136. package/api/types/DubOrderItemRequest.d.ts +17 -0
  137. package/api/types/DubOrderItemRequest.js +3 -0
  138. package/api/types/GetConversationResponseModel.d.ts +2 -0
  139. package/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
  140. package/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
  141. package/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
  142. package/api/types/ItemId.d.ts +1 -0
  143. package/api/types/ItemId.js +3 -0
  144. package/api/types/LanguageInfo.d.ts +6 -0
  145. package/api/types/LanguageInfo.js +3 -0
  146. package/api/types/LanguagePairInfo.d.ts +7 -0
  147. package/api/types/LanguagePairInfo.js +3 -0
  148. package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  149. package/api/types/ListCustomerFacingAgentsParams.d.ts +11 -0
  150. package/api/types/ListCustomerFacingAgentsParams.js +3 -0
  151. package/api/types/ListOrdersResponse.d.ts +5 -0
  152. package/api/types/ListOrdersResponse.js +3 -0
  153. package/api/types/ListSpeechEnginesResponse.d.ts +1 -0
  154. package/api/types/Llm.d.ts +2 -0
  155. package/api/types/Llm.js +2 -0
  156. package/api/types/LoadProcedureToolConfig.d.ts +4 -0
  157. package/api/types/LoadProcedureToolConfig.js +3 -0
  158. package/api/types/LoadProcedureToolErrorStatus.d.ts +5 -0
  159. package/api/types/LoadProcedureToolErrorStatus.js +8 -0
  160. package/api/types/MediaId.d.ts +1 -0
  161. package/api/types/MediaId.js +3 -0
  162. package/api/types/OAuth2ClientCredsResponse.d.ts +2 -0
  163. package/api/types/OrderDeliverablesResponse.d.ts +5 -0
  164. package/api/types/OrderDeliverablesResponse.js +3 -0
  165. package/api/types/OrderId.d.ts +1 -0
  166. package/api/types/OrderId.js +3 -0
  167. package/api/types/OrderItemInfo.d.ts +9 -0
  168. package/api/types/OrderItemInfo.js +3 -0
  169. package/api/types/OrderItemKind.d.ts +5 -0
  170. package/api/types/OrderItemKind.js +8 -0
  171. package/api/types/OrderMediaResponse.d.ts +13 -0
  172. package/api/types/OrderMediaResponse.js +3 -0
  173. package/api/types/OrderRequestState.d.ts +9 -0
  174. package/api/types/OrderRequestState.js +12 -0
  175. package/api/types/OrderResponse.d.ts +23 -0
  176. package/api/types/OrderResponse.js +3 -0
  177. package/api/types/OrderState.d.ts +9 -0
  178. package/api/types/OrderState.js +12 -0
  179. package/api/types/OrderSummary.d.ts +15 -0
  180. package/api/types/OrderSummary.js +3 -0
  181. package/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
  182. package/api/types/PairedLanguagesResponse.d.ts +5 -0
  183. package/api/types/PairedLanguagesResponse.js +3 -0
  184. package/api/types/ProcedureAtVersion.d.ts +12 -0
  185. package/api/types/ProcedureAtVersion.js +3 -0
  186. package/api/types/ProcedureCompilerMode.d.ts +5 -1
  187. package/api/types/ProcedureCompilerMode.js +5 -0
  188. package/api/types/PromptAgentApiModelInput.d.ts +1 -1
  189. package/api/types/PromptAgentApiModelOutput.d.ts +1 -1
  190. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
  191. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
  192. package/api/types/QuoteInfo.d.ts +4 -0
  193. package/api/types/QuoteInfo.js +3 -0
  194. package/api/types/RegisterMediaResponse.d.ts +5 -0
  195. package/api/types/RegisterMediaResponse.js +3 -0
  196. package/api/types/RemoveOrderItemResponse.d.ts +4 -0
  197. package/api/types/RemoveOrderItemResponse.js +3 -0
  198. package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +10 -0
  199. package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js +3 -0
  200. package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +10 -0
  201. package/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js +3 -0
  202. package/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +10 -0
  203. package/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js +3 -0
  204. package/api/types/RttAudioPayload.d.ts +11 -0
  205. package/api/types/RttAudioPayload.js +3 -0
  206. package/api/types/RttEndOfStreamPayload.d.ts +7 -0
  207. package/api/types/RttEndOfStreamPayload.js +3 -0
  208. package/api/types/RttErrorPayload.d.ts +9 -0
  209. package/api/types/RttErrorPayload.js +3 -0
  210. package/api/types/RttFinalTranscriptPayload.d.ts +9 -0
  211. package/api/types/RttFinalTranscriptPayload.js +3 -0
  212. package/api/types/RttInputAudioChunkPayload.d.ts +9 -0
  213. package/api/types/RttInputAudioChunkPayload.js +3 -0
  214. package/api/types/RttInputFormatEnum.d.ts +11 -0
  215. package/api/types/RttInputFormatEnum.js +14 -0
  216. package/api/types/RttOutputFormatEnum.d.ts +15 -0
  217. package/api/types/RttOutputFormatEnum.js +18 -0
  218. package/api/types/RttPartialTranscriptPayload.d.ts +9 -0
  219. package/api/types/RttPartialTranscriptPayload.js +3 -0
  220. package/api/types/RttSessionStartedPayload.d.ts +11 -0
  221. package/api/types/RttSessionStartedPayload.js +3 -0
  222. package/api/types/RttStatusPayload.d.ts +9 -0
  223. package/api/types/RttStatusPayload.js +3 -0
  224. package/api/types/RttTranslationPayload.d.ts +9 -0
  225. package/api/types/RttTranslationPayload.js +3 -0
  226. package/api/types/SingleLanguagesResponse.d.ts +5 -0
  227. package/api/types/SingleLanguagesResponse.js +3 -0
  228. package/api/types/SlackBotAuthResponse.d.ts +10 -0
  229. package/api/types/SlackBotAuthResponse.js +3 -0
  230. package/api/types/SpeechEngineConversationInitiationClientDataConfig.d.ts +4 -0
  231. package/api/types/SpeechEngineConversationInitiationClientDataConfig.js +3 -0
  232. package/api/types/SpeechEngineResponse.d.ts +13 -0
  233. package/api/types/SpeechEngineSummaryResponse.d.ts +3 -1
  234. package/api/types/SubmitOrderResponse.d.ts +9 -0
  235. package/api/types/SubmitOrderResponse.js +3 -0
  236. package/api/types/SubtitleOrderItemRequest.d.ts +15 -0
  237. package/api/types/SubtitleOrderItemRequest.js +3 -0
  238. package/api/types/SystemToolConfigInputParams.d.ts +4 -1
  239. package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  240. package/api/types/UpdateBasicAuthRequest.d.ts +5 -0
  241. package/api/types/UpdateBasicAuthRequest.js +3 -0
  242. package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +9 -0
  243. package/api/types/UpdateOAuth2ClientCredsRequest.js +3 -0
  244. package/api/types/UpdateOAuth2JwtRequest.d.ts +14 -0
  245. package/api/types/UpdateOAuth2JwtRequest.js +3 -0
  246. package/api/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +9 -0
  247. package/api/types/UpdateOAuth2JwtRequestAlgorithm.js +12 -0
  248. package/api/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +5 -0
  249. package/api/types/UpdateOAuth2JwtRequestTokenResponseField.js +8 -0
  250. package/api/types/UpdateOrderRequest.d.ts +4 -0
  251. package/api/types/UpdateOrderRequest.js +3 -0
  252. package/api/types/UpdateOrderResponse.d.ts +4 -0
  253. package/api/types/UpdateOrderResponse.js +3 -0
  254. package/api/types/UpsertOrderItemRequest.d.ts +7 -0
  255. package/api/types/UpsertOrderItemRequest.js +3 -0
  256. package/api/types/UpsertOrderItemResponse.d.ts +7 -0
  257. package/api/types/UpsertOrderItemResponse.js +3 -0
  258. package/api/types/VoiceStatisticsResponseModel.d.ts +2 -0
  259. package/api/types/WorkspaceResourceType.d.ts +3 -0
  260. package/api/types/WorkspaceResourceType.js +3 -0
  261. package/api/types/index.d.ts +58 -3
  262. package/api/types/index.js +58 -3
  263. package/dist/BaseClient.js +2 -2
  264. package/dist/Client.d.ts +3 -0
  265. package/dist/Client.js +39 -34
  266. package/dist/api/resources/conversationalAi/conversation/Conversation.js +1 -0
  267. package/dist/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +2 -0
  268. package/dist/api/resources/conversationalAi/conversation/events.d.ts +1 -0
  269. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
  270. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
  271. package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +1 -0
  272. package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +2 -1
  273. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts +27 -0
  274. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +116 -0
  275. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts +1 -0
  276. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.js +2 -0
  277. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/index.d.ts +1 -0
  278. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/index.js +17 -0
  279. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
  280. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +18 -6
  281. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetRequest.d.ts +9 -0
  282. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetRequest.js +3 -0
  283. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
  284. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
  285. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  286. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +5 -1
  287. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +2 -0
  288. package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.d.ts +6 -0
  289. package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.js +9 -0
  290. package/dist/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  291. package/dist/api/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  292. package/dist/api/resources/index.d.ts +3 -0
  293. package/dist/api/resources/index.js +4 -1
  294. package/dist/api/resources/music/client/Client.js +3 -0
  295. package/dist/api/resources/music/client/requests/BodyVideoToMusicV1MusicVideoToMusicPost.d.ts +2 -0
  296. package/dist/api/resources/productions/client/Client.d.ts +12 -0
  297. package/dist/api/resources/productions/client/Client.js +16 -0
  298. package/dist/api/resources/productions/client/index.d.ts +1 -0
  299. package/dist/api/resources/productions/client/index.js +2 -0
  300. package/dist/api/resources/productions/index.d.ts +2 -0
  301. package/dist/api/resources/productions/index.js +18 -0
  302. package/dist/api/resources/productions/resources/index.d.ts +2 -0
  303. package/dist/api/resources/productions/resources/index.js +41 -0
  304. package/dist/api/resources/productions/resources/orders/client/Client.d.ts +104 -0
  305. package/dist/api/resources/productions/resources/orders/client/Client.js +398 -0
  306. package/dist/api/resources/productions/resources/orders/client/index.d.ts +1 -0
  307. package/dist/api/resources/productions/resources/orders/client/index.js +17 -0
  308. package/dist/api/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.d.ts +12 -0
  309. package/dist/api/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.js +3 -0
  310. package/dist/api/resources/productions/resources/orders/client/requests/OrdersListRequest.d.ts +23 -0
  311. package/dist/api/resources/productions/resources/orders/client/requests/OrdersListRequest.js +3 -0
  312. package/dist/api/resources/productions/resources/orders/client/requests/index.d.ts +2 -0
  313. package/dist/api/resources/productions/resources/orders/client/requests/index.js +2 -0
  314. package/dist/api/resources/productions/resources/orders/index.d.ts +2 -0
  315. package/dist/api/resources/productions/resources/orders/index.js +18 -0
  316. package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.d.ts +26 -0
  317. package/dist/api/resources/productions/resources/orders/resources/deliverables/client/Client.js +115 -0
  318. package/dist/api/resources/productions/resources/orders/resources/deliverables/client/index.d.ts +1 -0
  319. package/dist/api/resources/productions/resources/orders/resources/deliverables/client/index.js +2 -0
  320. package/dist/api/resources/productions/resources/orders/resources/deliverables/index.d.ts +1 -0
  321. package/dist/api/resources/productions/resources/orders/resources/deliverables/index.js +17 -0
  322. package/dist/api/resources/productions/resources/orders/resources/index.d.ts +6 -0
  323. package/dist/api/resources/productions/resources/orders/resources/index.js +45 -0
  324. package/dist/api/resources/productions/resources/orders/resources/items/client/Client.d.ts +54 -0
  325. package/dist/api/resources/productions/resources/orders/resources/items/client/Client.js +188 -0
  326. package/dist/api/resources/productions/resources/orders/resources/items/client/index.d.ts +1 -0
  327. package/dist/api/resources/productions/resources/orders/resources/items/client/index.js +17 -0
  328. package/dist/api/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.d.ts +21 -0
  329. package/dist/api/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.js +3 -0
  330. package/dist/api/resources/productions/resources/orders/resources/items/client/requests/index.d.ts +1 -0
  331. package/dist/api/resources/productions/resources/orders/resources/items/client/requests/index.js +2 -0
  332. package/dist/api/resources/productions/resources/orders/resources/items/index.d.ts +1 -0
  333. package/dist/api/resources/productions/resources/orders/resources/items/index.js +17 -0
  334. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.d.ts +26 -0
  335. package/dist/api/resources/productions/resources/orders/resources/languages/client/Client.js +115 -0
  336. package/dist/api/resources/productions/resources/orders/resources/languages/client/index.d.ts +1 -0
  337. package/dist/api/resources/productions/resources/orders/resources/languages/client/index.js +2 -0
  338. package/dist/api/resources/productions/resources/orders/resources/languages/index.d.ts +1 -0
  339. package/dist/api/resources/productions/resources/orders/resources/languages/index.js +17 -0
  340. package/dist/api/resources/productions/resources/orders/resources/media/client/Client.d.ts +44 -0
  341. package/dist/api/resources/productions/resources/orders/resources/media/client/Client.js +193 -0
  342. package/dist/api/resources/productions/resources/orders/resources/media/client/index.d.ts +1 -0
  343. package/dist/api/resources/productions/resources/orders/resources/media/client/index.js +17 -0
  344. package/dist/api/resources/productions/resources/orders/resources/media/client/requests/BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost.d.ts +19 -0
  345. package/dist/api/resources/productions/resources/orders/resources/media/client/requests/BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost.js +3 -0
  346. package/dist/api/resources/productions/resources/orders/resources/media/client/requests/index.d.ts +1 -0
  347. package/dist/api/resources/productions/resources/orders/resources/media/client/requests/index.js +2 -0
  348. package/dist/api/resources/productions/resources/orders/resources/media/index.d.ts +1 -0
  349. package/dist/api/resources/productions/resources/orders/resources/media/index.js +17 -0
  350. package/dist/api/resources/speechEngine/client/Client.d.ts +1 -1
  351. package/dist/api/resources/speechEngine/client/Client.js +1 -1
  352. package/dist/api/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +2 -0
  353. package/dist/api/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +1 -0
  354. package/dist/api/resources/usage/client/Client.d.ts +1 -1
  355. package/dist/api/resources/usage/client/Client.js +1 -1
  356. package/dist/api/resources/v1RealtimeTranslation/index.d.ts +1 -0
  357. package/dist/api/resources/v1RealtimeTranslation/index.js +17 -0
  358. package/dist/api/resources/v1RealtimeTranslation/types/ReceiveRttMessage.d.ts +5 -0
  359. package/dist/api/resources/v1RealtimeTranslation/types/ReceiveRttMessage.js +3 -0
  360. package/dist/api/resources/v1RealtimeTranslation/types/SendRttMessage.d.ts +5 -0
  361. package/dist/api/resources/v1RealtimeTranslation/types/SendRttMessage.js +3 -0
  362. package/dist/api/resources/v1RealtimeTranslation/types/index.d.ts +2 -0
  363. package/dist/api/resources/v1RealtimeTranslation/types/index.js +18 -0
  364. package/dist/api/resources/voices/client/Client.d.ts +0 -3
  365. package/dist/api/resources/voices/client/Client.js +0 -3
  366. package/dist/api/resources/workspace/resources/authConnections/client/Client.d.ts +16 -0
  367. package/dist/api/resources/workspace/resources/authConnections/client/Client.js +63 -0
  368. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +4 -1
  369. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  370. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +16 -0
  371. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +3 -0
  372. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +40 -0
  373. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +3 -0
  374. package/dist/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  375. package/dist/api/resources/workspace/resources/authConnections/types/index.js +2 -0
  376. package/dist/api/resources/workspace/resources/usage/client/requests/BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePost.d.ts +1 -0
  377. package/dist/api/types/AgentAlertingMonitorConfig.d.ts +2 -0
  378. package/dist/api/types/AgentAlertingSettings.d.ts +4 -0
  379. package/dist/api/types/AgentAlertingWebhookNotifier.d.ts +7 -0
  380. package/dist/api/types/AgentAlertingWebhookNotifier.js +3 -0
  381. package/dist/api/types/AsrConversationalConfigOverride.d.ts +4 -0
  382. package/dist/api/types/AsrConversationalConfigOverride.js +3 -0
  383. package/dist/api/types/AsrConversationalConfigOverrideConfig.d.ts +4 -0
  384. package/dist/api/types/AsrConversationalConfigOverrideConfig.js +3 -0
  385. package/dist/api/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  386. package/dist/api/types/ChapterStatisticsResponse.d.ts +2 -0
  387. package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  388. package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  389. package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  390. package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  391. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  392. package/dist/api/types/ConversationInitiationSource.js +1 -0
  393. package/dist/api/types/CreateBearerAuthRequest.d.ts +8 -0
  394. package/dist/api/types/CreateBearerAuthRequest.js +3 -0
  395. package/dist/api/types/CreateOrderResponse.d.ts +5 -0
  396. package/dist/api/types/CreateOrderResponse.js +3 -0
  397. package/dist/api/types/CueOptionsRequest.d.ts +14 -0
  398. package/dist/api/types/CueOptionsRequest.js +3 -0
  399. package/dist/api/types/DeliverableInfo.d.ts +10 -0
  400. package/dist/api/types/DeliverableInfo.js +3 -0
  401. package/dist/api/types/DubOrderItemRequest.d.ts +17 -0
  402. package/dist/api/types/DubOrderItemRequest.js +3 -0
  403. package/dist/api/types/GetConversationResponseModel.d.ts +2 -0
  404. package/dist/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
  405. package/dist/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
  406. package/dist/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
  407. package/dist/api/types/ItemId.d.ts +1 -0
  408. package/dist/api/types/ItemId.js +3 -0
  409. package/dist/api/types/LanguageInfo.d.ts +6 -0
  410. package/dist/api/types/LanguageInfo.js +3 -0
  411. package/dist/api/types/LanguagePairInfo.d.ts +7 -0
  412. package/dist/api/types/LanguagePairInfo.js +3 -0
  413. package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  414. package/dist/api/types/ListCustomerFacingAgentsParams.d.ts +11 -0
  415. package/dist/api/types/ListCustomerFacingAgentsParams.js +3 -0
  416. package/dist/api/types/ListOrdersResponse.d.ts +5 -0
  417. package/dist/api/types/ListOrdersResponse.js +3 -0
  418. package/dist/api/types/ListSpeechEnginesResponse.d.ts +1 -0
  419. package/dist/api/types/Llm.d.ts +2 -0
  420. package/dist/api/types/Llm.js +2 -0
  421. package/dist/api/types/LoadProcedureToolConfig.d.ts +4 -0
  422. package/dist/api/types/LoadProcedureToolConfig.js +3 -0
  423. package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +5 -0
  424. package/dist/api/types/LoadProcedureToolErrorStatus.js +8 -0
  425. package/dist/api/types/MediaId.d.ts +1 -0
  426. package/dist/api/types/MediaId.js +3 -0
  427. package/dist/api/types/OAuth2ClientCredsResponse.d.ts +2 -0
  428. package/dist/api/types/OrderDeliverablesResponse.d.ts +5 -0
  429. package/dist/api/types/OrderDeliverablesResponse.js +3 -0
  430. package/dist/api/types/OrderId.d.ts +1 -0
  431. package/dist/api/types/OrderId.js +3 -0
  432. package/dist/api/types/OrderItemInfo.d.ts +9 -0
  433. package/dist/api/types/OrderItemInfo.js +3 -0
  434. package/dist/api/types/OrderItemKind.d.ts +5 -0
  435. package/dist/api/types/OrderItemKind.js +8 -0
  436. package/dist/api/types/OrderMediaResponse.d.ts +13 -0
  437. package/dist/api/types/OrderMediaResponse.js +3 -0
  438. package/dist/api/types/OrderRequestState.d.ts +9 -0
  439. package/dist/api/types/OrderRequestState.js +12 -0
  440. package/dist/api/types/OrderResponse.d.ts +23 -0
  441. package/dist/api/types/OrderResponse.js +3 -0
  442. package/dist/api/types/OrderState.d.ts +9 -0
  443. package/dist/api/types/OrderState.js +12 -0
  444. package/dist/api/types/OrderSummary.d.ts +15 -0
  445. package/dist/api/types/OrderSummary.js +3 -0
  446. package/dist/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
  447. package/dist/api/types/PairedLanguagesResponse.d.ts +5 -0
  448. package/dist/api/types/PairedLanguagesResponse.js +3 -0
  449. package/dist/api/types/ProcedureAtVersion.d.ts +12 -0
  450. package/dist/api/types/ProcedureAtVersion.js +3 -0
  451. package/dist/api/types/ProcedureCompilerMode.d.ts +5 -1
  452. package/dist/api/types/ProcedureCompilerMode.js +5 -0
  453. package/dist/api/types/PromptAgentApiModelInput.d.ts +1 -1
  454. package/dist/api/types/PromptAgentApiModelOutput.d.ts +1 -1
  455. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
  456. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
  457. package/dist/api/types/QuoteInfo.d.ts +4 -0
  458. package/dist/api/types/QuoteInfo.js +3 -0
  459. package/dist/api/types/RegisterMediaResponse.d.ts +5 -0
  460. package/dist/api/types/RegisterMediaResponse.js +3 -0
  461. package/dist/api/types/RemoveOrderItemResponse.d.ts +4 -0
  462. package/dist/api/types/RemoveOrderItemResponse.js +3 -0
  463. package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +10 -0
  464. package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js +3 -0
  465. package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +10 -0
  466. package/dist/api/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js +3 -0
  467. package/dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +10 -0
  468. package/dist/api/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js +3 -0
  469. package/dist/api/types/RttAudioPayload.d.ts +11 -0
  470. package/dist/api/types/RttAudioPayload.js +3 -0
  471. package/dist/api/types/RttEndOfStreamPayload.d.ts +7 -0
  472. package/dist/api/types/RttEndOfStreamPayload.js +3 -0
  473. package/dist/api/types/RttErrorPayload.d.ts +9 -0
  474. package/dist/api/types/RttErrorPayload.js +3 -0
  475. package/dist/api/types/RttFinalTranscriptPayload.d.ts +9 -0
  476. package/dist/api/types/RttFinalTranscriptPayload.js +3 -0
  477. package/dist/api/types/RttInputAudioChunkPayload.d.ts +9 -0
  478. package/dist/api/types/RttInputAudioChunkPayload.js +3 -0
  479. package/dist/api/types/RttInputFormatEnum.d.ts +11 -0
  480. package/dist/api/types/RttInputFormatEnum.js +14 -0
  481. package/dist/api/types/RttOutputFormatEnum.d.ts +15 -0
  482. package/dist/api/types/RttOutputFormatEnum.js +18 -0
  483. package/dist/api/types/RttPartialTranscriptPayload.d.ts +9 -0
  484. package/dist/api/types/RttPartialTranscriptPayload.js +3 -0
  485. package/dist/api/types/RttSessionStartedPayload.d.ts +11 -0
  486. package/dist/api/types/RttSessionStartedPayload.js +3 -0
  487. package/dist/api/types/RttStatusPayload.d.ts +9 -0
  488. package/dist/api/types/RttStatusPayload.js +3 -0
  489. package/dist/api/types/RttTranslationPayload.d.ts +9 -0
  490. package/dist/api/types/RttTranslationPayload.js +3 -0
  491. package/dist/api/types/SingleLanguagesResponse.d.ts +5 -0
  492. package/dist/api/types/SingleLanguagesResponse.js +3 -0
  493. package/dist/api/types/SlackBotAuthResponse.d.ts +10 -0
  494. package/dist/api/types/SlackBotAuthResponse.js +3 -0
  495. package/dist/api/types/SpeechEngineConversationInitiationClientDataConfig.d.ts +4 -0
  496. package/dist/api/types/SpeechEngineConversationInitiationClientDataConfig.js +3 -0
  497. package/dist/api/types/SpeechEngineResponse.d.ts +13 -0
  498. package/dist/api/types/SpeechEngineSummaryResponse.d.ts +3 -1
  499. package/dist/api/types/SubmitOrderResponse.d.ts +9 -0
  500. package/dist/api/types/SubmitOrderResponse.js +3 -0
  501. package/dist/api/types/SubtitleOrderItemRequest.d.ts +15 -0
  502. package/dist/api/types/SubtitleOrderItemRequest.js +3 -0
  503. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
  504. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  505. package/dist/api/types/UpdateBasicAuthRequest.d.ts +5 -0
  506. package/dist/api/types/UpdateBasicAuthRequest.js +3 -0
  507. package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +9 -0
  508. package/dist/api/types/UpdateOAuth2ClientCredsRequest.js +3 -0
  509. package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +14 -0
  510. package/dist/api/types/UpdateOAuth2JwtRequest.js +3 -0
  511. package/dist/api/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +9 -0
  512. package/dist/api/types/UpdateOAuth2JwtRequestAlgorithm.js +12 -0
  513. package/dist/api/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +5 -0
  514. package/dist/api/types/UpdateOAuth2JwtRequestTokenResponseField.js +8 -0
  515. package/dist/api/types/UpdateOrderRequest.d.ts +4 -0
  516. package/dist/api/types/UpdateOrderRequest.js +3 -0
  517. package/dist/api/types/UpdateOrderResponse.d.ts +4 -0
  518. package/dist/api/types/UpdateOrderResponse.js +3 -0
  519. package/dist/api/types/UpsertOrderItemRequest.d.ts +7 -0
  520. package/dist/api/types/UpsertOrderItemRequest.js +3 -0
  521. package/dist/api/types/UpsertOrderItemResponse.d.ts +7 -0
  522. package/dist/api/types/UpsertOrderItemResponse.js +3 -0
  523. package/dist/api/types/VoiceStatisticsResponseModel.d.ts +2 -0
  524. package/dist/api/types/WorkspaceResourceType.d.ts +3 -0
  525. package/dist/api/types/WorkspaceResourceType.js +3 -0
  526. package/dist/api/types/index.d.ts +58 -3
  527. package/dist/api/types/index.js +58 -3
  528. package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.d.ts +7 -0
  529. package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.js +39 -0
  530. package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  531. package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  532. package/dist/serialization/resources/index.d.ts +3 -0
  533. package/dist/serialization/resources/index.js +4 -1
  534. package/dist/serialization/resources/productions/index.d.ts +1 -0
  535. package/dist/serialization/resources/productions/index.js +17 -0
  536. package/dist/serialization/resources/productions/resources/index.d.ts +2 -0
  537. package/dist/serialization/resources/productions/resources/index.js +41 -0
  538. package/dist/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
  539. package/dist/serialization/resources/productions/resources/orders/client/index.js +17 -0
  540. package/dist/serialization/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.d.ts +10 -0
  541. package/dist/serialization/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.js +42 -0
  542. package/dist/serialization/resources/productions/resources/orders/client/requests/index.d.ts +1 -0
  543. package/dist/serialization/resources/productions/resources/orders/client/requests/index.js +5 -0
  544. package/dist/serialization/resources/productions/resources/orders/index.d.ts +2 -0
  545. package/dist/serialization/resources/productions/resources/orders/index.js +18 -0
  546. package/dist/serialization/resources/productions/resources/orders/resources/index.d.ts +2 -0
  547. package/dist/serialization/resources/productions/resources/orders/resources/index.js +41 -0
  548. package/dist/serialization/resources/productions/resources/orders/resources/items/client/index.d.ts +1 -0
  549. package/dist/serialization/resources/productions/resources/orders/resources/items/client/index.js +17 -0
  550. package/dist/serialization/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.d.ts +10 -0
  551. package/dist/serialization/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.js +42 -0
  552. package/dist/serialization/resources/productions/resources/orders/resources/items/client/requests/index.d.ts +1 -0
  553. package/dist/serialization/resources/productions/resources/orders/resources/items/client/requests/index.js +5 -0
  554. package/dist/serialization/resources/productions/resources/orders/resources/items/index.d.ts +1 -0
  555. package/dist/serialization/resources/productions/resources/orders/resources/items/index.js +17 -0
  556. package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +2 -0
  557. package/dist/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +2 -0
  558. package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +2 -0
  559. package/dist/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +2 -0
  560. package/dist/serialization/resources/v1RealtimeTranslation/index.d.ts +1 -0
  561. package/dist/serialization/resources/v1RealtimeTranslation/index.js +17 -0
  562. package/dist/serialization/resources/v1RealtimeTranslation/types/ReceiveRttMessage.d.ts +14 -0
  563. package/dist/serialization/resources/v1RealtimeTranslation/types/ReceiveRttMessage.js +54 -0
  564. package/dist/serialization/resources/v1RealtimeTranslation/types/SendRttMessage.d.ts +9 -0
  565. package/dist/serialization/resources/v1RealtimeTranslation/types/SendRttMessage.js +41 -0
  566. package/dist/serialization/resources/v1RealtimeTranslation/types/index.d.ts +2 -0
  567. package/dist/serialization/resources/v1RealtimeTranslation/types/index.js +18 -0
  568. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +5 -1
  569. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +2 -0
  570. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  571. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  572. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +19 -0
  573. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +51 -0
  574. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +51 -0
  575. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +67 -0
  576. package/dist/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  577. package/dist/serialization/resources/workspace/resources/authConnections/types/index.js +2 -0
  578. package/dist/serialization/types/AgentAlertingMonitorConfig.d.ts +1 -0
  579. package/dist/serialization/types/AgentAlertingMonitorConfig.js +1 -0
  580. package/dist/serialization/types/AgentAlertingSettings.d.ts +3 -0
  581. package/dist/serialization/types/AgentAlertingSettings.js +3 -0
  582. package/dist/serialization/types/AgentAlertingWebhookNotifier.d.ts +11 -0
  583. package/dist/serialization/types/AgentAlertingWebhookNotifier.js +43 -0
  584. package/dist/serialization/types/AsrConversationalConfigOverride.d.ts +9 -0
  585. package/dist/serialization/types/{CreateSpeechEngineResponse.js → AsrConversationalConfigOverride.js} +3 -3
  586. package/dist/serialization/types/AsrConversationalConfigOverrideConfig.d.ts +9 -0
  587. package/{serialization/types/CreateSpeechEngineResponse.js → dist/serialization/types/AsrConversationalConfigOverrideConfig.js} +3 -3
  588. package/dist/serialization/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  589. package/dist/serialization/types/AudioIsolationHistoryItemResponseModel.js +1 -0
  590. package/dist/serialization/types/ChapterStatisticsResponse.d.ts +1 -0
  591. package/dist/serialization/types/ChapterStatisticsResponse.js +1 -0
  592. package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  593. package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
  594. package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  595. package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
  596. package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  597. package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
  598. package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  599. package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
  600. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  601. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  602. package/dist/serialization/types/CreateBearerAuthRequest.d.ts +11 -0
  603. package/dist/serialization/types/{ApiIntegrationDocResponse.js → CreateBearerAuthRequest.js} +4 -4
  604. package/dist/serialization/types/CreateOrderResponse.d.ts +10 -0
  605. package/dist/serialization/types/CreateOrderResponse.js +42 -0
  606. package/dist/serialization/types/CueOptionsRequest.d.ts +14 -0
  607. package/dist/serialization/types/CueOptionsRequest.js +46 -0
  608. package/dist/serialization/types/DeliverableInfo.d.ts +12 -0
  609. package/dist/serialization/types/DeliverableInfo.js +44 -0
  610. package/dist/serialization/types/DubOrderItemRequest.d.ts +16 -0
  611. package/dist/serialization/types/DubOrderItemRequest.js +48 -0
  612. package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
  613. package/dist/serialization/types/GetConversationResponseModel.js +1 -0
  614. package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
  615. package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
  616. package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +1 -0
  617. package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +1 -0
  618. package/dist/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
  619. package/dist/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
  620. package/dist/serialization/types/ItemId.d.ts +7 -0
  621. package/dist/serialization/types/ItemId.js +39 -0
  622. package/dist/serialization/types/LanguageInfo.d.ts +10 -0
  623. package/dist/serialization/types/LanguageInfo.js +42 -0
  624. package/dist/serialization/types/LanguagePairInfo.d.ts +11 -0
  625. package/dist/serialization/types/LanguagePairInfo.js +43 -0
  626. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  627. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  628. package/dist/serialization/types/ListCustomerFacingAgentsParams.d.ts +9 -0
  629. package/dist/serialization/types/ListCustomerFacingAgentsParams.js +41 -0
  630. package/dist/serialization/types/ListOrdersResponse.d.ts +10 -0
  631. package/dist/serialization/types/ListOrdersResponse.js +42 -0
  632. package/dist/serialization/types/Llm.d.ts +1 -1
  633. package/dist/serialization/types/Llm.js +2 -0
  634. package/dist/serialization/types/LoadProcedureToolConfig.d.ts +10 -0
  635. package/dist/serialization/types/LoadProcedureToolConfig.js +42 -0
  636. package/dist/serialization/types/LoadProcedureToolErrorStatus.d.ts +7 -0
  637. package/dist/serialization/types/LoadProcedureToolErrorStatus.js +39 -0
  638. package/dist/serialization/types/MediaId.d.ts +7 -0
  639. package/dist/serialization/types/MediaId.js +39 -0
  640. package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +1 -0
  641. package/dist/serialization/types/OAuth2ClientCredsResponse.js +1 -0
  642. package/dist/serialization/types/OrderDeliverablesResponse.d.ts +10 -0
  643. package/dist/serialization/types/OrderDeliverablesResponse.js +42 -0
  644. package/dist/serialization/types/OrderId.d.ts +7 -0
  645. package/dist/serialization/types/OrderId.js +39 -0
  646. package/dist/serialization/types/OrderItemInfo.d.ts +14 -0
  647. package/dist/serialization/types/OrderItemInfo.js +46 -0
  648. package/dist/serialization/types/OrderItemKind.d.ts +7 -0
  649. package/dist/serialization/types/OrderItemKind.js +39 -0
  650. package/dist/serialization/types/OrderMediaResponse.d.ts +14 -0
  651. package/dist/serialization/types/OrderMediaResponse.js +46 -0
  652. package/dist/serialization/types/OrderRequestState.d.ts +7 -0
  653. package/dist/serialization/types/OrderRequestState.js +39 -0
  654. package/dist/serialization/types/OrderResponse.d.ts +21 -0
  655. package/dist/serialization/types/OrderResponse.js +53 -0
  656. package/dist/serialization/types/OrderState.d.ts +7 -0
  657. package/dist/serialization/types/OrderState.js +39 -0
  658. package/dist/serialization/types/OrderSummary.d.ts +16 -0
  659. package/dist/serialization/types/OrderSummary.js +48 -0
  660. package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +1 -0
  661. package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.js +1 -0
  662. package/dist/serialization/types/PairedLanguagesResponse.d.ts +10 -0
  663. package/dist/serialization/types/PairedLanguagesResponse.js +42 -0
  664. package/dist/serialization/types/ProcedureAtVersion.d.ts +13 -0
  665. package/dist/serialization/types/ProcedureAtVersion.js +45 -0
  666. package/dist/serialization/types/ProcedureCompilerMode.d.ts +1 -1
  667. package/dist/serialization/types/ProcedureCompilerMode.js +1 -1
  668. package/dist/serialization/types/QuoteInfo.d.ts +9 -0
  669. package/dist/serialization/types/QuoteInfo.js +41 -0
  670. package/dist/serialization/types/RegisterMediaResponse.d.ts +10 -0
  671. package/dist/serialization/types/RegisterMediaResponse.js +42 -0
  672. package/dist/serialization/types/RemoveOrderItemResponse.d.ts +9 -0
  673. package/dist/serialization/types/RemoveOrderItemResponse.js +41 -0
  674. package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +15 -0
  675. package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js +49 -0
  676. package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +15 -0
  677. package/dist/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js +49 -0
  678. package/dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +15 -0
  679. package/dist/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js +49 -0
  680. package/dist/serialization/types/RttAudioPayload.d.ts +11 -0
  681. package/dist/serialization/types/RttAudioPayload.js +43 -0
  682. package/dist/serialization/types/RttEndOfStreamPayload.d.ts +9 -0
  683. package/dist/serialization/types/RttEndOfStreamPayload.js +41 -0
  684. package/dist/serialization/types/RttErrorPayload.d.ts +10 -0
  685. package/dist/serialization/types/RttErrorPayload.js +42 -0
  686. package/dist/serialization/types/RttFinalTranscriptPayload.d.ts +10 -0
  687. package/dist/serialization/types/RttFinalTranscriptPayload.js +42 -0
  688. package/dist/serialization/types/RttInputAudioChunkPayload.d.ts +10 -0
  689. package/dist/serialization/types/RttInputAudioChunkPayload.js +42 -0
  690. package/dist/serialization/types/RttInputFormatEnum.d.ts +7 -0
  691. package/dist/serialization/types/RttInputFormatEnum.js +47 -0
  692. package/dist/serialization/types/RttOutputFormatEnum.d.ts +7 -0
  693. package/dist/serialization/types/RttOutputFormatEnum.js +51 -0
  694. package/dist/serialization/types/RttPartialTranscriptPayload.d.ts +10 -0
  695. package/dist/serialization/types/RttPartialTranscriptPayload.js +42 -0
  696. package/dist/serialization/types/RttSessionStartedPayload.d.ts +11 -0
  697. package/dist/serialization/types/{ListResponseApiIntegrationDocResponse.js → RttSessionStartedPayload.js} +5 -6
  698. package/dist/serialization/types/RttStatusPayload.d.ts +10 -0
  699. package/dist/serialization/types/RttStatusPayload.js +42 -0
  700. package/dist/serialization/types/RttTranslationPayload.d.ts +10 -0
  701. package/dist/serialization/types/RttTranslationPayload.js +42 -0
  702. package/dist/serialization/types/SingleLanguagesResponse.d.ts +10 -0
  703. package/dist/serialization/types/SingleLanguagesResponse.js +42 -0
  704. package/dist/serialization/types/SlackBotAuthResponse.d.ts +13 -0
  705. package/dist/serialization/types/SlackBotAuthResponse.js +45 -0
  706. package/dist/serialization/types/SpeechEngineConversationInitiationClientDataConfig.d.ts +9 -0
  707. package/dist/serialization/types/SpeechEngineConversationInitiationClientDataConfig.js +41 -0
  708. package/dist/serialization/types/SpeechEngineResponse.d.ts +2 -0
  709. package/dist/serialization/types/SpeechEngineResponse.js +2 -0
  710. package/dist/serialization/types/SubmitOrderResponse.d.ts +13 -0
  711. package/dist/serialization/types/SubmitOrderResponse.js +45 -0
  712. package/dist/serialization/types/SubtitleOrderItemRequest.d.ts +16 -0
  713. package/dist/serialization/types/SubtitleOrderItemRequest.js +48 -0
  714. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  715. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
  716. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  717. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
  718. package/dist/serialization/types/UpdateBasicAuthRequest.d.ts +11 -0
  719. package/dist/serialization/types/UpdateBasicAuthRequest.js +43 -0
  720. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +15 -0
  721. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +47 -0
  722. package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +21 -0
  723. package/dist/serialization/types/UpdateOAuth2JwtRequest.js +53 -0
  724. package/dist/serialization/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +7 -0
  725. package/dist/serialization/types/UpdateOAuth2JwtRequestAlgorithm.js +39 -0
  726. package/dist/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
  727. package/dist/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.js +39 -0
  728. package/dist/serialization/types/UpdateOrderRequest.d.ts +9 -0
  729. package/{serialization/types/ApiIntegrationDocResponse.js → dist/serialization/types/UpdateOrderRequest.js} +2 -4
  730. package/dist/serialization/types/UpdateOrderResponse.d.ts +9 -0
  731. package/dist/serialization/types/UpdateOrderResponse.js +41 -0
  732. package/dist/serialization/types/UpsertOrderItemRequest.d.ts +12 -0
  733. package/dist/serialization/types/UpsertOrderItemRequest.js +44 -0
  734. package/dist/serialization/types/UpsertOrderItemResponse.d.ts +12 -0
  735. package/dist/serialization/types/UpsertOrderItemResponse.js +44 -0
  736. package/dist/serialization/types/VoiceStatisticsResponseModel.d.ts +1 -0
  737. package/dist/serialization/types/VoiceStatisticsResponseModel.js +1 -0
  738. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  739. package/dist/serialization/types/WorkspaceResourceType.js +3 -0
  740. package/dist/serialization/types/index.d.ts +58 -3
  741. package/dist/serialization/types/index.js +58 -3
  742. package/dist/version.d.ts +1 -1
  743. package/dist/version.js +1 -1
  744. package/dist/wrapper/speech-engine/SpeechEngineClientWrapper.js +1 -1
  745. package/package.json +1 -1
  746. package/reference.md +1021 -107
  747. package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.d.ts +7 -0
  748. package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsGetRequestFormat.js +39 -0
  749. package/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
  750. package/serialization/resources/conversationalAi/resources/conversations/types/index.js +1 -0
  751. package/serialization/resources/index.d.ts +3 -0
  752. package/serialization/resources/index.js +4 -1
  753. package/serialization/resources/productions/index.d.ts +1 -0
  754. package/serialization/resources/productions/index.js +17 -0
  755. package/serialization/resources/productions/resources/index.d.ts +2 -0
  756. package/serialization/resources/productions/resources/index.js +41 -0
  757. package/serialization/resources/productions/resources/orders/client/index.d.ts +1 -0
  758. package/serialization/resources/productions/resources/orders/client/index.js +17 -0
  759. package/serialization/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.d.ts +10 -0
  760. package/serialization/resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.js +42 -0
  761. package/serialization/resources/productions/resources/orders/client/requests/index.d.ts +1 -0
  762. package/serialization/resources/productions/resources/orders/client/requests/index.js +5 -0
  763. package/serialization/resources/productions/resources/orders/index.d.ts +2 -0
  764. package/serialization/resources/productions/resources/orders/index.js +18 -0
  765. package/serialization/resources/productions/resources/orders/resources/index.d.ts +2 -0
  766. package/serialization/resources/productions/resources/orders/resources/index.js +41 -0
  767. package/serialization/resources/productions/resources/orders/resources/items/client/index.d.ts +1 -0
  768. package/serialization/resources/productions/resources/orders/resources/items/client/index.js +17 -0
  769. package/serialization/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.d.ts +10 -0
  770. package/serialization/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.js +42 -0
  771. package/serialization/resources/productions/resources/orders/resources/items/client/requests/index.d.ts +1 -0
  772. package/serialization/resources/productions/resources/orders/resources/items/client/requests/index.js +5 -0
  773. package/serialization/resources/productions/resources/orders/resources/items/index.d.ts +1 -0
  774. package/serialization/resources/productions/resources/orders/resources/items/index.js +17 -0
  775. package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.d.ts +2 -0
  776. package/serialization/resources/speechEngine/client/requests/CreateSpeechEngineRequest.js +2 -0
  777. package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.d.ts +2 -0
  778. package/serialization/resources/speechEngine/client/requests/UpdateSpeechEngineRequest.js +2 -0
  779. package/serialization/resources/v1RealtimeTranslation/index.d.ts +1 -0
  780. package/serialization/resources/v1RealtimeTranslation/index.js +17 -0
  781. package/serialization/resources/v1RealtimeTranslation/types/ReceiveRttMessage.d.ts +14 -0
  782. package/serialization/resources/v1RealtimeTranslation/types/ReceiveRttMessage.js +54 -0
  783. package/serialization/resources/v1RealtimeTranslation/types/SendRttMessage.d.ts +9 -0
  784. package/serialization/resources/v1RealtimeTranslation/types/SendRttMessage.js +41 -0
  785. package/serialization/resources/v1RealtimeTranslation/types/index.d.ts +2 -0
  786. package/serialization/resources/v1RealtimeTranslation/types/index.js +18 -0
  787. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +5 -1
  788. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +2 -0
  789. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  790. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  791. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +19 -0
  792. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +51 -0
  793. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +51 -0
  794. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +67 -0
  795. package/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  796. package/serialization/resources/workspace/resources/authConnections/types/index.js +2 -0
  797. package/serialization/types/AgentAlertingMonitorConfig.d.ts +1 -0
  798. package/serialization/types/AgentAlertingMonitorConfig.js +1 -0
  799. package/serialization/types/AgentAlertingSettings.d.ts +3 -0
  800. package/serialization/types/AgentAlertingSettings.js +3 -0
  801. package/serialization/types/AgentAlertingWebhookNotifier.d.ts +11 -0
  802. package/serialization/types/AgentAlertingWebhookNotifier.js +43 -0
  803. package/serialization/types/AsrConversationalConfigOverride.d.ts +9 -0
  804. package/serialization/types/AsrConversationalConfigOverride.js +41 -0
  805. package/serialization/types/AsrConversationalConfigOverrideConfig.d.ts +9 -0
  806. package/serialization/types/AsrConversationalConfigOverrideConfig.js +41 -0
  807. package/serialization/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  808. package/serialization/types/AudioIsolationHistoryItemResponseModel.js +1 -0
  809. package/serialization/types/ChapterStatisticsResponse.d.ts +1 -0
  810. package/serialization/types/ChapterStatisticsResponse.js +1 -0
  811. package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -0
  812. package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -0
  813. package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -0
  814. package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -0
  815. package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -0
  816. package/serialization/types/ConversationConfigClientOverrideInput.js +2 -0
  817. package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -0
  818. package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -0
  819. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  820. package/serialization/types/ConversationInitiationSource.js +1 -0
  821. package/serialization/types/CreateBearerAuthRequest.d.ts +11 -0
  822. package/serialization/types/CreateBearerAuthRequest.js +43 -0
  823. package/serialization/types/CreateOrderResponse.d.ts +10 -0
  824. package/serialization/types/CreateOrderResponse.js +42 -0
  825. package/serialization/types/CueOptionsRequest.d.ts +14 -0
  826. package/serialization/types/CueOptionsRequest.js +46 -0
  827. package/serialization/types/DeliverableInfo.d.ts +12 -0
  828. package/serialization/types/DeliverableInfo.js +44 -0
  829. package/serialization/types/DubOrderItemRequest.d.ts +16 -0
  830. package/serialization/types/DubOrderItemRequest.js +48 -0
  831. package/serialization/types/GetConversationResponseModel.d.ts +1 -0
  832. package/serialization/types/GetConversationResponseModel.js +1 -0
  833. package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
  834. package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
  835. package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +1 -0
  836. package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +1 -0
  837. package/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
  838. package/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
  839. package/serialization/types/ItemId.d.ts +7 -0
  840. package/serialization/types/ItemId.js +39 -0
  841. package/serialization/types/LanguageInfo.d.ts +10 -0
  842. package/serialization/types/LanguageInfo.js +42 -0
  843. package/serialization/types/LanguagePairInfo.d.ts +11 -0
  844. package/serialization/types/LanguagePairInfo.js +43 -0
  845. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  846. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  847. package/serialization/types/ListCustomerFacingAgentsParams.d.ts +9 -0
  848. package/serialization/types/ListCustomerFacingAgentsParams.js +41 -0
  849. package/serialization/types/ListOrdersResponse.d.ts +10 -0
  850. package/serialization/types/ListOrdersResponse.js +42 -0
  851. package/serialization/types/Llm.d.ts +1 -1
  852. package/serialization/types/Llm.js +2 -0
  853. package/serialization/types/LoadProcedureToolConfig.d.ts +10 -0
  854. package/serialization/types/LoadProcedureToolConfig.js +42 -0
  855. package/serialization/types/LoadProcedureToolErrorStatus.d.ts +7 -0
  856. package/serialization/types/LoadProcedureToolErrorStatus.js +39 -0
  857. package/serialization/types/MediaId.d.ts +7 -0
  858. package/serialization/types/MediaId.js +39 -0
  859. package/serialization/types/OAuth2ClientCredsResponse.d.ts +1 -0
  860. package/serialization/types/OAuth2ClientCredsResponse.js +1 -0
  861. package/serialization/types/OrderDeliverablesResponse.d.ts +10 -0
  862. package/serialization/types/OrderDeliverablesResponse.js +42 -0
  863. package/serialization/types/OrderId.d.ts +7 -0
  864. package/serialization/types/OrderId.js +39 -0
  865. package/serialization/types/OrderItemInfo.d.ts +14 -0
  866. package/serialization/types/OrderItemInfo.js +46 -0
  867. package/serialization/types/OrderItemKind.d.ts +7 -0
  868. package/serialization/types/OrderItemKind.js +39 -0
  869. package/serialization/types/OrderMediaResponse.d.ts +14 -0
  870. package/serialization/types/OrderMediaResponse.js +46 -0
  871. package/serialization/types/OrderRequestState.d.ts +7 -0
  872. package/serialization/types/OrderRequestState.js +39 -0
  873. package/serialization/types/OrderResponse.d.ts +21 -0
  874. package/serialization/types/OrderResponse.js +53 -0
  875. package/serialization/types/OrderState.d.ts +7 -0
  876. package/serialization/types/OrderState.js +39 -0
  877. package/serialization/types/OrderSummary.d.ts +16 -0
  878. package/serialization/types/OrderSummary.js +48 -0
  879. package/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +1 -0
  880. package/serialization/types/OutboundSipTrunkConfigRequestModel.js +1 -0
  881. package/serialization/types/PairedLanguagesResponse.d.ts +10 -0
  882. package/serialization/types/PairedLanguagesResponse.js +42 -0
  883. package/serialization/types/ProcedureAtVersion.d.ts +13 -0
  884. package/serialization/types/ProcedureAtVersion.js +45 -0
  885. package/serialization/types/ProcedureCompilerMode.d.ts +1 -1
  886. package/serialization/types/ProcedureCompilerMode.js +1 -1
  887. package/serialization/types/QuoteInfo.d.ts +9 -0
  888. package/serialization/types/QuoteInfo.js +41 -0
  889. package/serialization/types/RegisterMediaResponse.d.ts +10 -0
  890. package/serialization/types/RegisterMediaResponse.js +42 -0
  891. package/serialization/types/RemoveOrderItemResponse.d.ts +9 -0
  892. package/serialization/types/RemoveOrderItemResponse.js +41 -0
  893. package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.d.ts +15 -0
  894. package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindInput.js +49 -0
  895. package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.d.ts +15 -0
  896. package/serialization/types/RootModelAnnotatedUnionDubOrderItemRequestSubtitleOrderItemRequestFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKindOutput.js +49 -0
  897. package/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.d.ts +15 -0
  898. package/serialization/types/RootModelAnnotatedUnionPairedLanguagesResponseSingleLanguagesResponseFieldInfoAnnotationNoneTypeRequiredTrueDiscriminatorKind.js +49 -0
  899. package/serialization/types/RttAudioPayload.d.ts +11 -0
  900. package/serialization/types/RttAudioPayload.js +43 -0
  901. package/serialization/types/RttEndOfStreamPayload.d.ts +9 -0
  902. package/serialization/types/RttEndOfStreamPayload.js +41 -0
  903. package/serialization/types/RttErrorPayload.d.ts +10 -0
  904. package/serialization/types/RttErrorPayload.js +42 -0
  905. package/serialization/types/RttFinalTranscriptPayload.d.ts +10 -0
  906. package/serialization/types/RttFinalTranscriptPayload.js +42 -0
  907. package/serialization/types/RttInputAudioChunkPayload.d.ts +10 -0
  908. package/serialization/types/RttInputAudioChunkPayload.js +42 -0
  909. package/serialization/types/RttInputFormatEnum.d.ts +7 -0
  910. package/serialization/types/RttInputFormatEnum.js +47 -0
  911. package/serialization/types/RttOutputFormatEnum.d.ts +7 -0
  912. package/serialization/types/RttOutputFormatEnum.js +51 -0
  913. package/serialization/types/RttPartialTranscriptPayload.d.ts +10 -0
  914. package/serialization/types/RttPartialTranscriptPayload.js +42 -0
  915. package/serialization/types/RttSessionStartedPayload.d.ts +11 -0
  916. package/serialization/types/RttSessionStartedPayload.js +43 -0
  917. package/serialization/types/RttStatusPayload.d.ts +10 -0
  918. package/serialization/types/RttStatusPayload.js +42 -0
  919. package/serialization/types/RttTranslationPayload.d.ts +10 -0
  920. package/serialization/types/RttTranslationPayload.js +42 -0
  921. package/serialization/types/SingleLanguagesResponse.d.ts +10 -0
  922. package/serialization/types/SingleLanguagesResponse.js +42 -0
  923. package/serialization/types/SlackBotAuthResponse.d.ts +13 -0
  924. package/serialization/types/SlackBotAuthResponse.js +45 -0
  925. package/serialization/types/SpeechEngineConversationInitiationClientDataConfig.d.ts +9 -0
  926. package/serialization/types/SpeechEngineConversationInitiationClientDataConfig.js +41 -0
  927. package/serialization/types/SpeechEngineResponse.d.ts +2 -0
  928. package/serialization/types/SpeechEngineResponse.js +2 -0
  929. package/serialization/types/SubmitOrderResponse.d.ts +13 -0
  930. package/serialization/types/SubmitOrderResponse.js +45 -0
  931. package/serialization/types/SubtitleOrderItemRequest.d.ts +16 -0
  932. package/serialization/types/SubtitleOrderItemRequest.js +48 -0
  933. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  934. package/serialization/types/SystemToolConfigInputParams.js +2 -0
  935. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  936. package/serialization/types/SystemToolConfigOutputParams.js +2 -0
  937. package/serialization/types/UpdateBasicAuthRequest.d.ts +11 -0
  938. package/serialization/types/UpdateBasicAuthRequest.js +43 -0
  939. package/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +15 -0
  940. package/serialization/types/UpdateOAuth2ClientCredsRequest.js +47 -0
  941. package/serialization/types/UpdateOAuth2JwtRequest.d.ts +21 -0
  942. package/serialization/types/UpdateOAuth2JwtRequest.js +53 -0
  943. package/serialization/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +7 -0
  944. package/serialization/types/UpdateOAuth2JwtRequestAlgorithm.js +39 -0
  945. package/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
  946. package/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.js +39 -0
  947. package/serialization/types/UpdateOrderRequest.d.ts +9 -0
  948. package/serialization/types/UpdateOrderRequest.js +41 -0
  949. package/serialization/types/UpdateOrderResponse.d.ts +9 -0
  950. package/serialization/types/UpdateOrderResponse.js +41 -0
  951. package/serialization/types/UpsertOrderItemRequest.d.ts +12 -0
  952. package/serialization/types/UpsertOrderItemRequest.js +44 -0
  953. package/serialization/types/UpsertOrderItemResponse.d.ts +12 -0
  954. package/serialization/types/UpsertOrderItemResponse.js +44 -0
  955. package/serialization/types/VoiceStatisticsResponseModel.d.ts +1 -0
  956. package/serialization/types/VoiceStatisticsResponseModel.js +1 -0
  957. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  958. package/serialization/types/WorkspaceResourceType.js +3 -0
  959. package/serialization/types/index.d.ts +58 -3
  960. package/serialization/types/index.js +58 -3
  961. package/version.d.ts +1 -1
  962. package/version.js +1 -1
  963. package/wrapper/speech-engine/SpeechEngineClientWrapper.js +1 -1
  964. package/api/types/ApiIntegrationDocResponse.d.ts +0 -8
  965. package/api/types/CreateSpeechEngineResponse.d.ts +0 -4
  966. package/api/types/ListResponseApiIntegrationDocResponse.d.ts +0 -5
  967. package/dist/api/types/ApiIntegrationDocResponse.d.ts +0 -8
  968. package/dist/api/types/CreateSpeechEngineResponse.d.ts +0 -4
  969. package/dist/api/types/ListResponseApiIntegrationDocResponse.d.ts +0 -5
  970. package/dist/serialization/types/ApiIntegrationDocResponse.d.ts +0 -11
  971. package/dist/serialization/types/CreateSpeechEngineResponse.d.ts +0 -9
  972. package/dist/serialization/types/ListResponseApiIntegrationDocResponse.d.ts +0 -12
  973. package/serialization/types/ApiIntegrationDocResponse.d.ts +0 -11
  974. package/serialization/types/CreateSpeechEngineResponse.d.ts +0 -9
  975. package/serialization/types/ListResponseApiIntegrationDocResponse.d.ts +0 -12
  976. package/serialization/types/ListResponseApiIntegrationDocResponse.js +0 -44
  977. /package/api/{types/ApiIntegrationDocResponse.js → resources/conversationalAi/resources/conversations/client/requests/ConversationsGetRequest.js} +0 -0
  978. /package/api/{types/CreateSpeechEngineResponse.js → resources/productions/resources/orders/client/requests/BodyUpdateOrderV1ProductionsOrdersOrderIdPatch.js} +0 -0
  979. /package/api/{types/ListResponseApiIntegrationDocResponse.js → resources/productions/resources/orders/client/requests/OrdersListRequest.js} +0 -0
  980. /package/{dist/api/types/ApiIntegrationDocResponse.js → api/resources/productions/resources/orders/resources/items/client/requests/BodyUpsertOrderItemV1ProductionsOrdersOrderIdItemsPost.js} +0 -0
  981. /package/{dist/api/types/CreateSpeechEngineResponse.js → api/resources/productions/resources/orders/resources/media/client/requests/BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost.js} +0 -0
  982. /package/{dist/api/types/ListResponseApiIntegrationDocResponse.js → api/resources/v1RealtimeTranslation/types/ReceiveRttMessage.js} +0 -0
@@ -0,0 +1,193 @@
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.MediaClient = void 0;
47
+ const BaseClient_1 = require("../../../../../../../../BaseClient");
48
+ const core = __importStar(require("../../../../../../../../core"));
49
+ const headers_1 = require("../../../../../../../../core/headers");
50
+ const environments = __importStar(require("../../../../../../../../environments"));
51
+ const handleNonStatusCodeError_1 = require("../../../../../../../../errors/handleNonStatusCodeError");
52
+ const errors = __importStar(require("../../../../../../../../errors/index"));
53
+ const serializers = __importStar(require("../../../../../../../../serialization/index"));
54
+ const ElevenLabs = __importStar(require("../../../../../../../index"));
55
+ class MediaClient {
56
+ constructor(options = {}) {
57
+ this._options = (0, BaseClient_1.normalizeClientOptions)(options);
58
+ }
59
+ /**
60
+ * Registers a media file with an order, either by uploading it directly or by providing a URL to fetch it from. Exactly one of `media` or `media_url` must be provided. The registered media can then be referenced when adding order items.
61
+ *
62
+ * @param {ElevenLabs.OrderId} order_id
63
+ * @param {ElevenLabs.productions.orders.BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost} request
64
+ * @param {MediaClient.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
66
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
67
+ *
68
+ * @example
69
+ * import { createReadStream } from "fs";
70
+ * await client.productions.orders.media.register("order_id", {
71
+ * declaredLanguage: "declared_language"
72
+ * })
73
+ */
74
+ register(order_id, request, requestOptions) {
75
+ return core.HttpResponsePromise.fromPromise(this.__register(order_id, request, requestOptions));
76
+ }
77
+ __register(order_id, request, requestOptions) {
78
+ return __awaiter(this, void 0, void 0, function* () {
79
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
80
+ const _request = yield core.newFormData();
81
+ _request.append("declared_language", request.declaredLanguage);
82
+ if (request.media != null) {
83
+ yield _request.appendFile("media", request.media);
84
+ }
85
+ if (request.mediaUrl != null) {
86
+ _request.append("media_url", request.mediaUrl);
87
+ }
88
+ if (request.mediaUrlFilename != null) {
89
+ _request.append("media_url_filename", request.mediaUrlFilename);
90
+ }
91
+ if (request.mediaUrlContentType != null) {
92
+ _request.append("media_url_content_type", request.mediaUrlContentType);
93
+ }
94
+ const _maybeEncodedRequest = yield _request.getRequest();
95
+ const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
96
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
97
+ 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/productions/orders/${core.url.encodePathParam(serializers.OrderId.jsonOrThrow(order_id))}/media`),
98
+ method: "POST",
99
+ headers: _headers,
100
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
101
+ requestType: "file",
102
+ duplex: _maybeEncodedRequest.duplex,
103
+ body: _maybeEncodedRequest.body,
104
+ 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,
105
+ 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,
106
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
107
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
108
+ logging: this._options.logging,
109
+ });
110
+ if (_response.ok) {
111
+ return {
112
+ data: serializers.RegisterMediaResponse.parseOrThrow(_response.body, {
113
+ unrecognizedObjectKeys: "passthrough",
114
+ allowUnrecognizedUnionMembers: true,
115
+ allowUnrecognizedEnumValues: true,
116
+ breadcrumbsPrefix: ["response"],
117
+ }),
118
+ rawResponse: _response.rawResponse,
119
+ };
120
+ }
121
+ if (_response.error.reason === "status-code") {
122
+ switch (_response.error.statusCode) {
123
+ case 422:
124
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
125
+ default:
126
+ throw new errors.ElevenLabsError({
127
+ statusCode: _response.error.statusCode,
128
+ body: _response.error.body,
129
+ rawResponse: _response.rawResponse,
130
+ });
131
+ }
132
+ }
133
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/productions/orders/{order_id}/media");
134
+ });
135
+ }
136
+ /**
137
+ * Retrieves metadata and a time-limited download URL for a previously uploaded media file.
138
+ *
139
+ * @param {ElevenLabs.OrderId} order_id - The ID of the order.
140
+ * @param {ElevenLabs.MediaId} media_id - The ID of the media file.
141
+ * @param {MediaClient.RequestOptions} requestOptions - Request-specific configuration.
142
+ *
143
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
144
+ *
145
+ * @example
146
+ * await client.productions.orders.media.get("order_id", "media_id")
147
+ */
148
+ get(order_id, media_id, requestOptions) {
149
+ return core.HttpResponsePromise.fromPromise(this.__get(order_id, media_id, requestOptions));
150
+ }
151
+ __get(order_id, media_id, requestOptions) {
152
+ return __awaiter(this, void 0, void 0, function* () {
153
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
154
+ 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);
155
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
156
+ 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/productions/orders/${core.url.encodePathParam(serializers.OrderId.jsonOrThrow(order_id))}/media/${core.url.encodePathParam(serializers.MediaId.jsonOrThrow(media_id))}`),
157
+ method: "GET",
158
+ headers: _headers,
159
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
160
+ 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,
161
+ 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,
162
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
163
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
164
+ logging: this._options.logging,
165
+ });
166
+ if (_response.ok) {
167
+ return {
168
+ data: serializers.OrderMediaResponse.parseOrThrow(_response.body, {
169
+ unrecognizedObjectKeys: "passthrough",
170
+ allowUnrecognizedUnionMembers: true,
171
+ allowUnrecognizedEnumValues: true,
172
+ breadcrumbsPrefix: ["response"],
173
+ }),
174
+ rawResponse: _response.rawResponse,
175
+ };
176
+ }
177
+ if (_response.error.reason === "status-code") {
178
+ switch (_response.error.statusCode) {
179
+ case 422:
180
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
181
+ default:
182
+ throw new errors.ElevenLabsError({
183
+ statusCode: _response.error.statusCode,
184
+ body: _response.error.body,
185
+ rawResponse: _response.rawResponse,
186
+ });
187
+ }
188
+ }
189
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/productions/orders/{order_id}/media/{media_id}");
190
+ });
191
+ }
192
+ }
193
+ exports.MediaClient = MediaClient;
@@ -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,19 @@
1
+ import type * as core from "../../../../../../../../../core";
2
+ /**
3
+ * @example
4
+ * {
5
+ * declaredLanguage: "declared_language"
6
+ * }
7
+ */
8
+ export interface BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost {
9
+ /** The language code of the media content (e.g. 'en', 'es-ES'). Must be a supported source language for some order item kind. */
10
+ declaredLanguage: string;
11
+ /** The media file to upload. Mutually exclusive with media_url. */
12
+ media?: core.file.Uploadable | undefined;
13
+ /** A URL to fetch the media file from. Mutually exclusive with media. */
14
+ mediaUrl?: string;
15
+ /** The filename for URL-sourced media (e.g. 'example.mp4'). Required when using media_url. */
16
+ mediaUrlFilename?: string;
17
+ /** The MIME type for URL-sourced media (e.g. 'video/mp4'). Required when using media_url. */
18
+ mediaUrlContentType?: string;
19
+ }
@@ -0,0 +1 @@
1
+ export type { BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost } from "./BodyRegisterMediaV1ProductionsOrdersOrderIdMediaPost";
@@ -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);
@@ -44,7 +44,7 @@ export declare class SpeechEngineClient {
44
44
  * }
45
45
  * })
46
46
  */
47
- create(request: ElevenLabs.CreateSpeechEngineRequest, requestOptions?: SpeechEngineClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.CreateSpeechEngineResponse>;
47
+ create(request: ElevenLabs.CreateSpeechEngineRequest, requestOptions?: SpeechEngineClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.SpeechEngineResponse>;
48
48
  private __create;
49
49
  /**
50
50
  * Retrieve a Speech Engine resource
@@ -174,7 +174,7 @@ class SpeechEngineClient {
174
174
  });
175
175
  if (_response.ok) {
176
176
  return {
177
- data: serializers.CreateSpeechEngineResponse.parseOrThrow(_response.body, {
177
+ data: serializers.SpeechEngineResponse.parseOrThrow(_response.body, {
178
178
  unrecognizedObjectKeys: "passthrough",
179
179
  allowUnrecognizedUnionMembers: true,
180
180
  allowUnrecognizedEnumValues: true,
@@ -28,4 +28,6 @@ export interface CreateSpeechEngineRequest {
28
28
  language?: string;
29
29
  /** Tags for categorization */
30
30
  tags?: string[];
31
+ /** Override settings the client may set during conversation initiation */
32
+ overrides?: ElevenLabs.SpeechEngineConversationInitiationClientDataConfig;
31
33
  }
@@ -14,4 +14,5 @@ export interface UpdateSpeechEngineRequest {
14
14
  callLimits?: ElevenLabs.AgentCallLimits;
15
15
  language?: string;
16
16
  tags?: string[];
17
+ overrides?: ElevenLabs.SpeechEngineConversationInitiationClientDataConfig;
17
18
  }
@@ -11,7 +11,7 @@ export declare class UsageClient {
11
11
  protected readonly _options: NormalizedClientOptions<UsageClient.Options>;
12
12
  constructor(options?: UsageClient.Options);
13
13
  /**
14
- * (Deprecated) This endpoint is deprecated. Use /v1/workspace/analytics/query/usage-by-product-over-time instead. Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown type "voice" will return the usage of each voice for each interval along the time axis.
14
+ * (Deprecated) This endpoint is deprecated. Use /v1/workspace/analytics/query/usage-by-product-over-time instead, which exposes the bucket size as `interval_seconds` (an integer in seconds) rather than `aggregation_interval`. Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown type "voice" will return the usage of each voice for each interval along the time axis.
15
15
  *
16
16
  * @param {ElevenLabs.UsageGetRequest} request
17
17
  * @param {UsageClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -57,7 +57,7 @@ class UsageClient {
57
57
  this._options = (0, BaseClient_1.normalizeClientOptions)(options);
58
58
  }
59
59
  /**
60
- * (Deprecated) This endpoint is deprecated. Use /v1/workspace/analytics/query/usage-by-product-over-time instead. Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown type "voice" will return the usage of each voice for each interval along the time axis.
60
+ * (Deprecated) This endpoint is deprecated. Use /v1/workspace/analytics/query/usage-by-product-over-time instead, which exposes the bucket size as `interval_seconds` (an integer in seconds) rather than `aggregation_interval`. Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown type "voice" will return the usage of each voice for each interval along the time axis.
61
61
  *
62
62
  * @param {ElevenLabs.UsageGetRequest} request
63
63
  * @param {UsageClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -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("./types"), exports);
@@ -0,0 +1,5 @@
1
+ import type * as ElevenLabs from "../../../index";
2
+ /**
3
+ * Receive translation results from the WebSocket
4
+ */
5
+ export type ReceiveRttMessage = ElevenLabs.RttSessionStartedPayload | ElevenLabs.RttStatusPayload | ElevenLabs.RttPartialTranscriptPayload | ElevenLabs.RttFinalTranscriptPayload | ElevenLabs.RttTranslationPayload | ElevenLabs.RttAudioPayload | ElevenLabs.RttErrorPayload;
@@ -0,0 +1,5 @@
1
+ import type * as ElevenLabs from "../../../index";
2
+ /**
3
+ * Send audio data to the WebSocket
4
+ */
5
+ export type SendRttMessage = ElevenLabs.RttInputAudioChunkPayload | ElevenLabs.RttEndOfStreamPayload;
@@ -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,2 @@
1
+ export * from "./ReceiveRttMessage";
2
+ export * from "./SendRttMessage";
@@ -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("./ReceiveRttMessage"), exports);
18
+ __exportStar(require("./SendRttMessage"), exports);
@@ -11,9 +11,6 @@ export declare namespace VoicesClient {
11
11
  interface RequestOptions extends BaseRequestOptions {
12
12
  }
13
13
  }
14
- /**
15
- * Access to voices created either by you or ElevenLabs.
16
- */
17
14
  export declare class VoicesClient {
18
15
  protected readonly _options: NormalizedClientOptions<VoicesClient.Options>;
19
16
  protected _settings: SettingsClient | undefined;
@@ -57,9 +57,6 @@ const Client_1 = require("../resources/ivc/client/Client");
57
57
  const Client_2 = require("../resources/pvc/client/Client");
58
58
  const Client_3 = require("../resources/samples/client/Client");
59
59
  const Client_4 = require("../resources/settings/client/Client");
60
- /**
61
- * Access to voices created either by you or ElevenLabs.
62
- */
63
60
  class VoicesClient {
64
61
  constructor(options = {}) {
65
62
  this._options = (0, BaseClient_1.normalizeClientOptions)(options);
@@ -55,4 +55,20 @@ export declare class AuthConnectionsClient {
55
55
  */
56
56
  delete(auth_connection_id: string, requestOptions?: AuthConnectionsClient.RequestOptions): core.HttpResponsePromise<unknown>;
57
57
  private __delete;
58
+ /**
59
+ * Update an auth connection
60
+ *
61
+ * @param {string} auth_connection_id
62
+ * @param {ElevenLabs.workspace.AuthConnectionsUpdateRequestBody} request
63
+ * @param {AuthConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
64
+ *
65
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
66
+ *
67
+ * @example
68
+ * await client.workspace.authConnections.update("auth_connection_id", {
69
+ * authType: "oauth2_client_credentials"
70
+ * })
71
+ */
72
+ update(auth_connection_id: string, request: ElevenLabs.workspace.AuthConnectionsUpdateRequestBody, requestOptions?: AuthConnectionsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.workspace.AuthConnectionsUpdateResponse>;
73
+ private __update;
58
74
  }
@@ -224,5 +224,68 @@ class AuthConnectionsClient {
224
224
  return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/workspace/auth-connections/{auth_connection_id}");
225
225
  });
226
226
  }
227
+ /**
228
+ * Update an auth connection
229
+ *
230
+ * @param {string} auth_connection_id
231
+ * @param {ElevenLabs.workspace.AuthConnectionsUpdateRequestBody} request
232
+ * @param {AuthConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
233
+ *
234
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
235
+ *
236
+ * @example
237
+ * await client.workspace.authConnections.update("auth_connection_id", {
238
+ * authType: "oauth2_client_credentials"
239
+ * })
240
+ */
241
+ update(auth_connection_id, request, requestOptions) {
242
+ return core.HttpResponsePromise.fromPromise(this.__update(auth_connection_id, request, requestOptions));
243
+ }
244
+ __update(auth_connection_id, request, requestOptions) {
245
+ return __awaiter(this, void 0, void 0, function* () {
246
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
247
+ 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);
248
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
249
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/workspace/auth-connections/${core.url.encodePathParam(auth_connection_id)}`),
250
+ method: "PATCH",
251
+ headers: _headers,
252
+ contentType: "application/json",
253
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
254
+ requestType: "json",
255
+ body: serializers.workspace.AuthConnectionsUpdateRequestBody.jsonOrThrow(request, {
256
+ unrecognizedObjectKeys: "strip",
257
+ }),
258
+ 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,
259
+ 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,
260
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
261
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
262
+ logging: this._options.logging,
263
+ });
264
+ if (_response.ok) {
265
+ return {
266
+ data: serializers.workspace.AuthConnectionsUpdateResponse.parseOrThrow(_response.body, {
267
+ unrecognizedObjectKeys: "passthrough",
268
+ allowUnrecognizedUnionMembers: true,
269
+ allowUnrecognizedEnumValues: true,
270
+ breadcrumbsPrefix: ["response"],
271
+ }),
272
+ rawResponse: _response.rawResponse,
273
+ };
274
+ }
275
+ if (_response.error.reason === "status-code") {
276
+ switch (_response.error.statusCode) {
277
+ case 422:
278
+ throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
279
+ default:
280
+ throw new errors.ElevenLabsError({
281
+ statusCode: _response.error.statusCode,
282
+ body: _response.error.body,
283
+ rawResponse: _response.rawResponse,
284
+ });
285
+ }
286
+ }
287
+ return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/v1/workspace/auth-connections/{auth_connection_id}");
288
+ });
289
+ }
227
290
  }
228
291
  exports.AuthConnectionsClient = AuthConnectionsClient;
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../../../../../index";
2
2
  /**
3
3
  * Auth connection to create
4
4
  */
5
- export type AuthConnectionsCreateRequestBody = ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.CustomHeaderAuth | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.BasicAuth | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Oauth2Jwt | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.PrivateKeyJwt | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Mtls;
5
+ export type AuthConnectionsCreateRequestBody = ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.CustomHeaderAuth | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.BasicAuth | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.BearerAuth | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Oauth2Jwt | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.PrivateKeyJwt | ElevenLabs.workspace.AuthConnectionsCreateRequestBody.Mtls;
6
6
  export declare namespace AuthConnectionsCreateRequestBody {
7
7
  interface Oauth2ClientCredentials extends ElevenLabs.CreateOAuth2ClientCredsRequest {
8
8
  authType: "oauth2_client_credentials";
@@ -13,6 +13,9 @@ export declare namespace AuthConnectionsCreateRequestBody {
13
13
  interface BasicAuth extends ElevenLabs.CreateBasicAuthRequest {
14
14
  authType: "basic_auth";
15
15
  }
16
+ interface BearerAuth extends ElevenLabs.CreateBearerAuthRequest {
17
+ authType: "bearer_auth";
18
+ }
16
19
  interface Oauth2Jwt extends ElevenLabs.CreateOAuth2JwtRequest {
17
20
  authType: "oauth2_jwt";
18
21
  }
@@ -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;
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;
6
6
  export declare namespace AuthConnectionsCreateResponse {
7
7
  interface Oauth2ClientCredentials extends ElevenLabs.OAuth2ClientCredsResponse {
8
8
  authType: "oauth2_client_credentials";
@@ -34,4 +34,7 @@ export declare namespace AuthConnectionsCreateResponse {
34
34
  interface WhatsappAuth extends ElevenLabs.WhatsAppAuthResponse {
35
35
  authType: "whatsapp_auth";
36
36
  }
37
+ interface SlackBotAuth extends ElevenLabs.SlackBotAuthResponse {
38
+ authType: "slack_bot_auth";
39
+ }
37
40
  }
@@ -0,0 +1,16 @@
1
+ import type * as ElevenLabs from "../../../../../index";
2
+ /**
3
+ * Updated auth connection fields
4
+ */
5
+ export type AuthConnectionsUpdateRequestBody = ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.Oauth2ClientCredentials | ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.BasicAuth | ElevenLabs.workspace.AuthConnectionsUpdateRequestBody.Oauth2Jwt;
6
+ export declare namespace AuthConnectionsUpdateRequestBody {
7
+ interface Oauth2ClientCredentials extends ElevenLabs.UpdateOAuth2ClientCredsRequest {
8
+ authType: "oauth2_client_credentials";
9
+ }
10
+ interface BasicAuth extends ElevenLabs.UpdateBasicAuthRequest {
11
+ authType: "basic_auth";
12
+ }
13
+ interface Oauth2Jwt extends ElevenLabs.UpdateOAuth2JwtRequest {
14
+ authType: "oauth2_jwt";
15
+ }
16
+ }
@@ -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,40 @@
1
+ import type * as ElevenLabs from "../../../../../index";
2
+ /**
3
+ * The type of auth connection config
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;
6
+ export declare namespace AuthConnectionsUpdateResponse {
7
+ interface Oauth2ClientCredentials extends ElevenLabs.OAuth2ClientCredsResponse {
8
+ authType: "oauth2_client_credentials";
9
+ }
10
+ interface BasicAuth extends ElevenLabs.BasicAuthResponse {
11
+ authType: "basic_auth";
12
+ }
13
+ interface BearerAuth extends ElevenLabs.BearerAuthResponse {
14
+ authType: "bearer_auth";
15
+ }
16
+ interface Oauth2Jwt extends ElevenLabs.OAuth2JwtResponse {
17
+ authType: "oauth2_jwt";
18
+ }
19
+ interface PrivateKeyJwt extends ElevenLabs.PrivateKeyJwtResponse {
20
+ authType: "private_key_jwt";
21
+ }
22
+ interface Mtls extends ElevenLabs.MtlsAuthResponse {
23
+ authType: "mtls";
24
+ }
25
+ interface CustomHeaderAuth extends ElevenLabs.CustomHeaderAuthResponse {
26
+ authType: "custom_header_auth";
27
+ }
28
+ interface ApiIntegrationOauth2AuthCode extends ElevenLabs.ApiIntegrationOAuth2AuthCodeResponse {
29
+ authType: "api_integration_oauth2_auth_code";
30
+ }
31
+ interface ApiIntegrationOauth2CustomApp extends ElevenLabs.ApiIntegrationOAuth2CustomAppResponse {
32
+ authType: "api_integration_oauth2_custom_app";
33
+ }
34
+ interface WhatsappAuth extends ElevenLabs.WhatsAppAuthResponse {
35
+ authType: "whatsapp_auth";
36
+ }
37
+ interface SlackBotAuth extends ElevenLabs.SlackBotAuthResponse {
38
+ authType: "slack_bot_auth";
39
+ }
40
+ }
@@ -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,2 +1,4 @@
1
1
  export * from "./AuthConnectionsCreateRequestBody";
2
2
  export * from "./AuthConnectionsCreateResponse";
3
+ export * from "./AuthConnectionsUpdateRequestBody";
4
+ export * from "./AuthConnectionsUpdateResponse";
@@ -16,3 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AuthConnectionsCreateRequestBody"), exports);
18
18
  __exportStar(require("./AuthConnectionsCreateResponse"), exports);
19
+ __exportStar(require("./AuthConnectionsUpdateRequestBody"), exports);
20
+ __exportStar(require("./AuthConnectionsUpdateResponse"), exports);