@elevenlabs/elevenlabs-js 2.47.0 → 2.48.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 (295) hide show
  1. package/.fern/metadata.json +1 -1
  2. package/BaseClient.js +2 -2
  3. package/api/resources/conversationalAi/conversation/Conversation.js +1 -0
  4. package/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +2 -0
  5. package/api/resources/conversationalAi/conversation/events.d.ts +1 -0
  6. package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
  7. package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
  8. package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +1 -0
  9. package/api/resources/conversationalAi/resources/agents/resources/index.js +2 -1
  10. package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts +27 -0
  11. package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +116 -0
  12. package/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts +1 -0
  13. package/api/resources/conversationalAi/resources/agents/resources/versions/client/index.js +2 -0
  14. package/api/resources/conversationalAi/resources/agents/resources/versions/index.d.ts +1 -0
  15. package/api/resources/conversationalAi/resources/agents/resources/versions/index.js +17 -0
  16. package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +1 -0
  17. package/api/resources/conversationalAi/resources/conversations/client/Client.js +5 -1
  18. package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
  19. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  20. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +5 -1
  21. package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +2 -0
  22. package/api/resources/workspace/resources/authConnections/client/Client.d.ts +16 -0
  23. package/api/resources/workspace/resources/authConnections/client/Client.js +63 -0
  24. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +4 -1
  25. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  26. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +16 -0
  27. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +3 -0
  28. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +40 -0
  29. package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +3 -0
  30. package/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  31. package/api/resources/workspace/resources/authConnections/types/index.js +2 -0
  32. package/api/types/AgentAlertingMonitorConfig.d.ts +2 -0
  33. package/api/types/AgentAlertingSettings.d.ts +2 -0
  34. package/api/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  35. package/api/types/ConversationInitiationSource.d.ts +1 -0
  36. package/api/types/ConversationInitiationSource.js +1 -0
  37. package/api/types/CreateBearerAuthRequest.d.ts +8 -0
  38. package/api/types/CreateBearerAuthRequest.js +3 -0
  39. package/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
  40. package/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
  41. package/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
  42. package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  43. package/api/types/ListCustomerFacingAgentsParams.d.ts +11 -0
  44. package/api/types/ListCustomerFacingAgentsParams.js +3 -0
  45. package/api/types/ListSpeechEnginesResponse.d.ts +1 -0
  46. package/api/types/Llm.d.ts +2 -0
  47. package/api/types/Llm.js +2 -0
  48. package/api/types/LoadProcedureToolConfig.d.ts +4 -0
  49. package/api/types/LoadProcedureToolConfig.js +3 -0
  50. package/api/types/LoadProcedureToolErrorStatus.d.ts +5 -0
  51. package/api/types/LoadProcedureToolErrorStatus.js +8 -0
  52. package/api/types/OAuth2ClientCredsResponse.d.ts +2 -0
  53. package/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
  54. package/api/types/ProcedureAtVersion.d.ts +12 -0
  55. package/api/types/ProcedureAtVersion.js +3 -0
  56. package/api/types/ProcedureCompilerMode.d.ts +5 -1
  57. package/api/types/ProcedureCompilerMode.js +5 -0
  58. package/api/types/PromptAgentApiModelInput.d.ts +1 -1
  59. package/api/types/PromptAgentApiModelOutput.d.ts +1 -1
  60. package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
  61. package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
  62. package/api/types/SlackBotAuthResponse.d.ts +10 -0
  63. package/api/types/SlackBotAuthResponse.js +3 -0
  64. package/api/types/SpeechEngineResponse.d.ts +11 -0
  65. package/api/types/SpeechEngineSummaryResponse.d.ts +3 -1
  66. package/api/types/SystemToolConfigInputParams.d.ts +4 -1
  67. package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  68. package/api/types/UpdateBasicAuthRequest.d.ts +5 -0
  69. package/api/types/UpdateBasicAuthRequest.js +3 -0
  70. package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +9 -0
  71. package/api/types/UpdateOAuth2ClientCredsRequest.js +3 -0
  72. package/api/types/UpdateOAuth2JwtRequest.d.ts +14 -0
  73. package/api/types/UpdateOAuth2JwtRequest.js +3 -0
  74. package/api/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +9 -0
  75. package/api/types/UpdateOAuth2JwtRequestAlgorithm.js +12 -0
  76. package/api/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +5 -0
  77. package/api/types/UpdateOAuth2JwtRequestTokenResponseField.js +8 -0
  78. package/api/types/WorkspaceResourceType.d.ts +2 -0
  79. package/api/types/WorkspaceResourceType.js +2 -0
  80. package/api/types/index.d.ts +11 -0
  81. package/api/types/index.js +11 -0
  82. package/dist/BaseClient.js +2 -2
  83. package/dist/api/resources/conversationalAi/conversation/Conversation.js +1 -0
  84. package/dist/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +2 -0
  85. package/dist/api/resources/conversationalAi/conversation/events.d.ts +1 -0
  86. package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
  87. package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
  88. package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +1 -0
  89. package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +2 -1
  90. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts +27 -0
  91. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +116 -0
  92. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts +1 -0
  93. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.js +2 -0
  94. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/index.d.ts +1 -0
  95. package/dist/api/resources/conversationalAi/resources/agents/resources/versions/index.js +17 -0
  96. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +1 -0
  97. package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +5 -1
  98. package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
  99. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
  100. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +5 -1
  101. package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +2 -0
  102. package/dist/api/resources/workspace/resources/authConnections/client/Client.d.ts +16 -0
  103. package/dist/api/resources/workspace/resources/authConnections/client/Client.js +63 -0
  104. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +4 -1
  105. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
  106. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +16 -0
  107. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +3 -0
  108. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +40 -0
  109. package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +3 -0
  110. package/dist/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  111. package/dist/api/resources/workspace/resources/authConnections/types/index.js +2 -0
  112. package/dist/api/types/AgentAlertingMonitorConfig.d.ts +2 -0
  113. package/dist/api/types/AgentAlertingSettings.d.ts +2 -0
  114. package/dist/api/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  115. package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
  116. package/dist/api/types/ConversationInitiationSource.js +1 -0
  117. package/dist/api/types/CreateBearerAuthRequest.d.ts +8 -0
  118. package/dist/api/types/CreateBearerAuthRequest.js +3 -0
  119. package/dist/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
  120. package/dist/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
  121. package/dist/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
  122. package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
  123. package/dist/api/types/ListCustomerFacingAgentsParams.d.ts +11 -0
  124. package/dist/api/types/ListCustomerFacingAgentsParams.js +3 -0
  125. package/dist/api/types/ListSpeechEnginesResponse.d.ts +1 -0
  126. package/dist/api/types/Llm.d.ts +2 -0
  127. package/dist/api/types/Llm.js +2 -0
  128. package/dist/api/types/LoadProcedureToolConfig.d.ts +4 -0
  129. package/dist/api/types/LoadProcedureToolConfig.js +3 -0
  130. package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +5 -0
  131. package/dist/api/types/LoadProcedureToolErrorStatus.js +8 -0
  132. package/dist/api/types/OAuth2ClientCredsResponse.d.ts +2 -0
  133. package/dist/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
  134. package/dist/api/types/ProcedureAtVersion.d.ts +12 -0
  135. package/dist/api/types/ProcedureAtVersion.js +3 -0
  136. package/dist/api/types/ProcedureCompilerMode.d.ts +5 -1
  137. package/dist/api/types/ProcedureCompilerMode.js +5 -0
  138. package/dist/api/types/PromptAgentApiModelInput.d.ts +1 -1
  139. package/dist/api/types/PromptAgentApiModelOutput.d.ts +1 -1
  140. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
  141. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
  142. package/dist/api/types/SlackBotAuthResponse.d.ts +10 -0
  143. package/dist/api/types/SlackBotAuthResponse.js +3 -0
  144. package/dist/api/types/SpeechEngineResponse.d.ts +11 -0
  145. package/dist/api/types/SpeechEngineSummaryResponse.d.ts +3 -1
  146. package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
  147. package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
  148. package/dist/api/types/UpdateBasicAuthRequest.d.ts +5 -0
  149. package/dist/api/types/UpdateBasicAuthRequest.js +3 -0
  150. package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +9 -0
  151. package/dist/api/types/UpdateOAuth2ClientCredsRequest.js +3 -0
  152. package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +14 -0
  153. package/dist/api/types/UpdateOAuth2JwtRequest.js +3 -0
  154. package/dist/api/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +9 -0
  155. package/dist/api/types/UpdateOAuth2JwtRequestAlgorithm.js +12 -0
  156. package/dist/api/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +5 -0
  157. package/dist/api/types/UpdateOAuth2JwtRequestTokenResponseField.js +8 -0
  158. package/dist/api/types/WorkspaceResourceType.d.ts +2 -0
  159. package/dist/api/types/WorkspaceResourceType.js +2 -0
  160. package/dist/api/types/index.d.ts +11 -0
  161. package/dist/api/types/index.js +11 -0
  162. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +5 -1
  163. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +2 -0
  164. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  165. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  166. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +19 -0
  167. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +51 -0
  168. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +51 -0
  169. package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +67 -0
  170. package/dist/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  171. package/dist/serialization/resources/workspace/resources/authConnections/types/index.js +2 -0
  172. package/dist/serialization/types/AgentAlertingMonitorConfig.d.ts +1 -0
  173. package/dist/serialization/types/AgentAlertingMonitorConfig.js +1 -0
  174. package/dist/serialization/types/AgentAlertingSettings.d.ts +1 -0
  175. package/dist/serialization/types/AgentAlertingSettings.js +1 -0
  176. package/dist/serialization/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  177. package/dist/serialization/types/AudioIsolationHistoryItemResponseModel.js +1 -0
  178. package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
  179. package/dist/serialization/types/ConversationInitiationSource.js +1 -0
  180. package/dist/serialization/types/CreateBearerAuthRequest.d.ts +11 -0
  181. package/dist/serialization/types/CreateBearerAuthRequest.js +43 -0
  182. package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
  183. package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
  184. package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +1 -0
  185. package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +1 -0
  186. package/dist/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
  187. package/dist/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
  188. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  189. package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  190. package/dist/serialization/types/ListCustomerFacingAgentsParams.d.ts +9 -0
  191. package/dist/serialization/types/ListCustomerFacingAgentsParams.js +41 -0
  192. package/dist/serialization/types/Llm.d.ts +1 -1
  193. package/dist/serialization/types/Llm.js +2 -0
  194. package/dist/serialization/types/LoadProcedureToolConfig.d.ts +10 -0
  195. package/dist/serialization/types/LoadProcedureToolConfig.js +42 -0
  196. package/dist/serialization/types/LoadProcedureToolErrorStatus.d.ts +7 -0
  197. package/dist/serialization/types/LoadProcedureToolErrorStatus.js +39 -0
  198. package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +1 -0
  199. package/dist/serialization/types/OAuth2ClientCredsResponse.js +1 -0
  200. package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +1 -0
  201. package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.js +1 -0
  202. package/dist/serialization/types/ProcedureAtVersion.d.ts +13 -0
  203. package/dist/serialization/types/ProcedureAtVersion.js +45 -0
  204. package/dist/serialization/types/ProcedureCompilerMode.d.ts +1 -1
  205. package/dist/serialization/types/ProcedureCompilerMode.js +1 -1
  206. package/dist/serialization/types/SlackBotAuthResponse.d.ts +13 -0
  207. package/dist/serialization/types/SlackBotAuthResponse.js +45 -0
  208. package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  209. package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
  210. package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  211. package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
  212. package/dist/serialization/types/UpdateBasicAuthRequest.d.ts +11 -0
  213. package/dist/serialization/types/UpdateBasicAuthRequest.js +43 -0
  214. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +15 -0
  215. package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +47 -0
  216. package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +21 -0
  217. package/dist/serialization/types/UpdateOAuth2JwtRequest.js +53 -0
  218. package/dist/serialization/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +7 -0
  219. package/dist/serialization/types/UpdateOAuth2JwtRequestAlgorithm.js +39 -0
  220. package/dist/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
  221. package/dist/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.js +39 -0
  222. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  223. package/dist/serialization/types/WorkspaceResourceType.js +2 -0
  224. package/dist/serialization/types/index.d.ts +11 -0
  225. package/dist/serialization/types/index.js +11 -0
  226. package/dist/version.d.ts +1 -1
  227. package/dist/version.js +1 -1
  228. package/package.json +1 -1
  229. package/reference.md +147 -0
  230. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +5 -1
  231. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.js +2 -0
  232. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
  233. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
  234. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +19 -0
  235. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +51 -0
  236. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +51 -0
  237. package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +67 -0
  238. package/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
  239. package/serialization/resources/workspace/resources/authConnections/types/index.js +2 -0
  240. package/serialization/types/AgentAlertingMonitorConfig.d.ts +1 -0
  241. package/serialization/types/AgentAlertingMonitorConfig.js +1 -0
  242. package/serialization/types/AgentAlertingSettings.d.ts +1 -0
  243. package/serialization/types/AgentAlertingSettings.js +1 -0
  244. package/serialization/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
  245. package/serialization/types/AudioIsolationHistoryItemResponseModel.js +1 -0
  246. package/serialization/types/ConversationInitiationSource.d.ts +1 -1
  247. package/serialization/types/ConversationInitiationSource.js +1 -0
  248. package/serialization/types/CreateBearerAuthRequest.d.ts +11 -0
  249. package/serialization/types/CreateBearerAuthRequest.js +43 -0
  250. package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
  251. package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
  252. package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +1 -0
  253. package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +1 -0
  254. package/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
  255. package/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
  256. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
  257. package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
  258. package/serialization/types/ListCustomerFacingAgentsParams.d.ts +9 -0
  259. package/serialization/types/ListCustomerFacingAgentsParams.js +41 -0
  260. package/serialization/types/Llm.d.ts +1 -1
  261. package/serialization/types/Llm.js +2 -0
  262. package/serialization/types/LoadProcedureToolConfig.d.ts +10 -0
  263. package/serialization/types/LoadProcedureToolConfig.js +42 -0
  264. package/serialization/types/LoadProcedureToolErrorStatus.d.ts +7 -0
  265. package/serialization/types/LoadProcedureToolErrorStatus.js +39 -0
  266. package/serialization/types/OAuth2ClientCredsResponse.d.ts +1 -0
  267. package/serialization/types/OAuth2ClientCredsResponse.js +1 -0
  268. package/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +1 -0
  269. package/serialization/types/OutboundSipTrunkConfigRequestModel.js +1 -0
  270. package/serialization/types/ProcedureAtVersion.d.ts +13 -0
  271. package/serialization/types/ProcedureAtVersion.js +45 -0
  272. package/serialization/types/ProcedureCompilerMode.d.ts +1 -1
  273. package/serialization/types/ProcedureCompilerMode.js +1 -1
  274. package/serialization/types/SlackBotAuthResponse.d.ts +13 -0
  275. package/serialization/types/SlackBotAuthResponse.js +45 -0
  276. package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
  277. package/serialization/types/SystemToolConfigInputParams.js +2 -0
  278. package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
  279. package/serialization/types/SystemToolConfigOutputParams.js +2 -0
  280. package/serialization/types/UpdateBasicAuthRequest.d.ts +11 -0
  281. package/serialization/types/UpdateBasicAuthRequest.js +43 -0
  282. package/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +15 -0
  283. package/serialization/types/UpdateOAuth2ClientCredsRequest.js +47 -0
  284. package/serialization/types/UpdateOAuth2JwtRequest.d.ts +21 -0
  285. package/serialization/types/UpdateOAuth2JwtRequest.js +53 -0
  286. package/serialization/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +7 -0
  287. package/serialization/types/UpdateOAuth2JwtRequestAlgorithm.js +39 -0
  288. package/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
  289. package/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.js +39 -0
  290. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  291. package/serialization/types/WorkspaceResourceType.js +2 -0
  292. package/serialization/types/index.d.ts +11 -0
  293. package/serialization/types/index.js +11 -0
  294. package/version.d.ts +1 -1
  295. package/version.js +1 -1
@@ -0,0 +1,42 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.LoadProcedureToolConfig = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const ProcedureAtVersion_1 = require("./ProcedureAtVersion");
40
+ exports.LoadProcedureToolConfig = core.serialization.object({
41
+ procedures: core.serialization.record(core.serialization.string(), ProcedureAtVersion_1.ProcedureAtVersion).optional(),
42
+ });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const LoadProcedureToolErrorStatus: core.serialization.Schema<serializers.LoadProcedureToolErrorStatus.Raw, ElevenLabs.LoadProcedureToolErrorStatus>;
5
+ export declare namespace LoadProcedureToolErrorStatus {
6
+ type Raw = "not_found" | "invalid_name";
7
+ }
@@ -0,0 +1,39 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.LoadProcedureToolErrorStatus = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.LoadProcedureToolErrorStatus = core.serialization.enum_(["not_found", "invalid_name"]);
@@ -14,5 +14,6 @@ export declare namespace OAuth2ClientCredsResponse {
14
14
  basic_auth_in_header?: boolean | null;
15
15
  id: string;
16
16
  used_by?: AuthConnectionDependencies.Raw | null;
17
+ custom_headers?: Record<string, string> | null;
17
18
  }
18
19
  }
@@ -47,4 +47,5 @@ exports.OAuth2ClientCredsResponse = core.serialization.object({
47
47
  basicAuthInHeader: core.serialization.property("basic_auth_in_header", core.serialization.boolean().optional()),
48
48
  id: core.serialization.string(),
49
49
  usedBy: core.serialization.property("used_by", AuthConnectionDependencies_1.AuthConnectionDependencies.optional()),
50
+ customHeaders: core.serialization.property("custom_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
50
51
  });
@@ -11,6 +11,7 @@ export declare namespace OutboundSipTrunkConfigRequestModel {
11
11
  transport?: SipTrunkTransportEnum.Raw | null;
12
12
  media_encryption?: SipMediaEncryptionEnum.Raw | null;
13
13
  headers?: Record<string, string> | null;
14
+ attributes_to_headers?: Record<string, string> | null;
14
15
  credentials?: SipTrunkCredentialsRequestModel.Raw | null;
15
16
  }
16
17
  }
@@ -44,5 +44,6 @@ exports.OutboundSipTrunkConfigRequestModel = core.serialization.object({
44
44
  transport: SipTrunkTransportEnum_1.SipTrunkTransportEnum.optional(),
45
45
  mediaEncryption: core.serialization.property("media_encryption", SipMediaEncryptionEnum_1.SipMediaEncryptionEnum.optional()),
46
46
  headers: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
47
+ attributesToHeaders: core.serialization.property("attributes_to_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
47
48
  credentials: SipTrunkCredentialsRequestModel_1.SipTrunkCredentialsRequestModel.optional(),
48
49
  });
@@ -0,0 +1,13 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const ProcedureAtVersion: core.serialization.ObjectSchema<serializers.ProcedureAtVersion.Raw, ElevenLabs.ProcedureAtVersion>;
5
+ export declare namespace ProcedureAtVersion {
6
+ interface Raw {
7
+ procedure_id: string;
8
+ name: string;
9
+ content: string;
10
+ agent_id: string;
11
+ version_id?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,45 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ProcedureAtVersion = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.ProcedureAtVersion = core.serialization.object({
40
+ procedureId: core.serialization.property("procedure_id", core.serialization.string()),
41
+ name: core.serialization.string(),
42
+ content: core.serialization.string(),
43
+ agentId: core.serialization.property("agent_id", core.serialization.string()),
44
+ versionId: core.serialization.property("version_id", core.serialization.string().optional()),
45
+ });
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const ProcedureCompilerMode: core.serialization.Schema<serializers.ProcedureCompilerMode.Raw, ElevenLabs.ProcedureCompilerMode>;
5
5
  export declare namespace ProcedureCompilerMode {
6
- type Raw = "append";
6
+ type Raw = "append" | "skills";
7
7
  }
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ProcedureCompilerMode = void 0;
38
38
  const core = __importStar(require("../../core"));
39
- exports.ProcedureCompilerMode = core.serialization.stringLiteral("append");
39
+ exports.ProcedureCompilerMode = core.serialization.enum_(["append", "skills"]);
@@ -0,0 +1,13 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { AuthConnectionDependencies } from "./AuthConnectionDependencies";
5
+ export declare const SlackBotAuthResponse: core.serialization.ObjectSchema<serializers.SlackBotAuthResponse.Raw, ElevenLabs.SlackBotAuthResponse>;
6
+ export declare namespace SlackBotAuthResponse {
7
+ interface Raw {
8
+ name: string;
9
+ provider?: "Slack" | null;
10
+ id: string;
11
+ used_by?: AuthConnectionDependencies.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,45 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.SlackBotAuthResponse = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const AuthConnectionDependencies_1 = require("./AuthConnectionDependencies");
40
+ exports.SlackBotAuthResponse = core.serialization.object({
41
+ name: core.serialization.string(),
42
+ provider: core.serialization.stringLiteral("Slack").optional(),
43
+ id: core.serialization.string(),
44
+ usedBy: core.serialization.property("used_by", AuthConnectionDependencies_1.AuthConnectionDependencies.optional()),
45
+ });
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
4
4
  import { EndCallToolConfig } from "./EndCallToolConfig";
5
5
  import { KnowledgeBaseRagToolConfig } from "./KnowledgeBaseRagToolConfig";
6
6
  import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
7
+ import { LoadProcedureToolConfig } from "./LoadProcedureToolConfig";
7
8
  import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
8
9
  import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
9
10
  import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
@@ -11,7 +12,7 @@ import { TransferToNumberToolConfigInput } from "./TransferToNumberToolConfigInp
11
12
  import { VoicemailDetectionToolConfig } from "./VoicemailDetectionToolConfig";
12
13
  export declare const SystemToolConfigInputParams: core.serialization.Schema<serializers.SystemToolConfigInputParams.Raw, ElevenLabs.SystemToolConfigInputParams>;
13
14
  export declare namespace SystemToolConfigInputParams {
14
- type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.KnowledgeBaseRag | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.PlayKeypadTouchTone | SystemToolConfigInputParams.SkipTurn | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber | SystemToolConfigInputParams.VoicemailDetection;
15
+ type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.KnowledgeBaseRag | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.LoadProcedure | SystemToolConfigInputParams.PlayKeypadTouchTone | SystemToolConfigInputParams.SkipTurn | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber | SystemToolConfigInputParams.VoicemailDetection;
15
16
  interface EndCall extends EndCallToolConfig.Raw {
16
17
  system_tool_type: "end_call";
17
18
  }
@@ -21,6 +22,9 @@ export declare namespace SystemToolConfigInputParams {
21
22
  interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
22
23
  system_tool_type: "language_detection";
23
24
  }
25
+ interface LoadProcedure extends LoadProcedureToolConfig.Raw {
26
+ system_tool_type: "load_procedure";
27
+ }
24
28
  interface PlayKeypadTouchTone extends PlayDtmfToolConfig.Raw {
25
29
  system_tool_type: "play_keypad_touch_tone";
26
30
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../core"));
39
39
  const EndCallToolConfig_1 = require("./EndCallToolConfig");
40
40
  const KnowledgeBaseRagToolConfig_1 = require("./KnowledgeBaseRagToolConfig");
41
41
  const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
42
+ const LoadProcedureToolConfig_1 = require("./LoadProcedureToolConfig");
42
43
  const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
43
44
  const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
44
45
  const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
@@ -49,6 +50,7 @@ exports.SystemToolConfigInputParams = core.serialization
49
50
  end_call: EndCallToolConfig_1.EndCallToolConfig,
50
51
  knowledge_base_rag: KnowledgeBaseRagToolConfig_1.KnowledgeBaseRagToolConfig,
51
52
  language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
53
+ load_procedure: LoadProcedureToolConfig_1.LoadProcedureToolConfig,
52
54
  play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
53
55
  skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
54
56
  transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
4
4
  import { EndCallToolConfig } from "./EndCallToolConfig";
5
5
  import { KnowledgeBaseRagToolConfig } from "./KnowledgeBaseRagToolConfig";
6
6
  import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
7
+ import { LoadProcedureToolConfig } from "./LoadProcedureToolConfig";
7
8
  import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
8
9
  import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
9
10
  import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
@@ -11,7 +12,7 @@ import { TransferToNumberToolConfigOutput } from "./TransferToNumberToolConfigOu
11
12
  import { VoicemailDetectionToolConfig } from "./VoicemailDetectionToolConfig";
12
13
  export declare const SystemToolConfigOutputParams: core.serialization.Schema<serializers.SystemToolConfigOutputParams.Raw, ElevenLabs.SystemToolConfigOutputParams>;
13
14
  export declare namespace SystemToolConfigOutputParams {
14
- type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.KnowledgeBaseRag | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.PlayKeypadTouchTone | SystemToolConfigOutputParams.SkipTurn | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber | SystemToolConfigOutputParams.VoicemailDetection;
15
+ type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.KnowledgeBaseRag | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.LoadProcedure | SystemToolConfigOutputParams.PlayKeypadTouchTone | SystemToolConfigOutputParams.SkipTurn | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber | SystemToolConfigOutputParams.VoicemailDetection;
15
16
  interface EndCall extends EndCallToolConfig.Raw {
16
17
  system_tool_type: "end_call";
17
18
  }
@@ -21,6 +22,9 @@ export declare namespace SystemToolConfigOutputParams {
21
22
  interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
22
23
  system_tool_type: "language_detection";
23
24
  }
25
+ interface LoadProcedure extends LoadProcedureToolConfig.Raw {
26
+ system_tool_type: "load_procedure";
27
+ }
24
28
  interface PlayKeypadTouchTone extends PlayDtmfToolConfig.Raw {
25
29
  system_tool_type: "play_keypad_touch_tone";
26
30
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../core"));
39
39
  const EndCallToolConfig_1 = require("./EndCallToolConfig");
40
40
  const KnowledgeBaseRagToolConfig_1 = require("./KnowledgeBaseRagToolConfig");
41
41
  const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
42
+ const LoadProcedureToolConfig_1 = require("./LoadProcedureToolConfig");
42
43
  const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
43
44
  const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
44
45
  const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
@@ -49,6 +50,7 @@ exports.SystemToolConfigOutputParams = core.serialization
49
50
  end_call: EndCallToolConfig_1.EndCallToolConfig,
50
51
  knowledge_base_rag: KnowledgeBaseRagToolConfig_1.KnowledgeBaseRagToolConfig,
51
52
  language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
53
+ load_procedure: LoadProcedureToolConfig_1.LoadProcedureToolConfig,
52
54
  play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
53
55
  skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
54
56
  transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
@@ -0,0 +1,11 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const UpdateBasicAuthRequest: core.serialization.ObjectSchema<serializers.UpdateBasicAuthRequest.Raw, ElevenLabs.UpdateBasicAuthRequest>;
5
+ export declare namespace UpdateBasicAuthRequest {
6
+ interface Raw {
7
+ provider?: string | null;
8
+ username?: string | null;
9
+ password?: string | null;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UpdateBasicAuthRequest = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.UpdateBasicAuthRequest = core.serialization.object({
40
+ provider: core.serialization.string().optional(),
41
+ username: core.serialization.string().optional(),
42
+ password: core.serialization.string().optional(),
43
+ });
@@ -0,0 +1,15 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const UpdateOAuth2ClientCredsRequest: core.serialization.ObjectSchema<serializers.UpdateOAuth2ClientCredsRequest.Raw, ElevenLabs.UpdateOAuth2ClientCredsRequest>;
5
+ export declare namespace UpdateOAuth2ClientCredsRequest {
6
+ interface Raw {
7
+ provider?: string | null;
8
+ client_id?: string | null;
9
+ scopes?: string[] | null;
10
+ extra_params?: Record<string, string | null | undefined> | null;
11
+ basic_auth_in_header?: boolean | null;
12
+ client_secret?: string | null;
13
+ custom_headers?: Record<string, string | null | undefined> | null;
14
+ }
15
+ }
@@ -0,0 +1,47 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UpdateOAuth2ClientCredsRequest = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.UpdateOAuth2ClientCredsRequest = core.serialization.object({
40
+ provider: core.serialization.string().optional(),
41
+ clientId: core.serialization.property("client_id", core.serialization.string().optional()),
42
+ scopes: core.serialization.list(core.serialization.string()).optional(),
43
+ extraParams: core.serialization.property("extra_params", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
44
+ basicAuthInHeader: core.serialization.property("basic_auth_in_header", core.serialization.boolean().optional()),
45
+ clientSecret: core.serialization.property("client_secret", core.serialization.string().optional()),
46
+ customHeaders: core.serialization.property("custom_headers", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
47
+ });
@@ -0,0 +1,21 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { UpdateOAuth2JwtRequestAlgorithm } from "./UpdateOAuth2JwtRequestAlgorithm";
5
+ import { UpdateOAuth2JwtRequestTokenResponseField } from "./UpdateOAuth2JwtRequestTokenResponseField";
6
+ export declare const UpdateOAuth2JwtRequest: core.serialization.ObjectSchema<serializers.UpdateOAuth2JwtRequest.Raw, ElevenLabs.UpdateOAuth2JwtRequest>;
7
+ export declare namespace UpdateOAuth2JwtRequest {
8
+ interface Raw {
9
+ provider?: string | null;
10
+ algorithm?: UpdateOAuth2JwtRequestAlgorithm.Raw | null;
11
+ key_id?: string | null;
12
+ issuer?: string | null;
13
+ audience?: string | null;
14
+ subject?: string | null;
15
+ expiration_seconds?: number | null;
16
+ extra_params?: Record<string, string | null | undefined> | null;
17
+ scopes?: string[] | null;
18
+ token_response_field?: UpdateOAuth2JwtRequestTokenResponseField.Raw | null;
19
+ secret_key?: string | null;
20
+ }
21
+ }
@@ -0,0 +1,53 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UpdateOAuth2JwtRequest = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const UpdateOAuth2JwtRequestAlgorithm_1 = require("./UpdateOAuth2JwtRequestAlgorithm");
40
+ const UpdateOAuth2JwtRequestTokenResponseField_1 = require("./UpdateOAuth2JwtRequestTokenResponseField");
41
+ exports.UpdateOAuth2JwtRequest = core.serialization.object({
42
+ provider: core.serialization.string().optional(),
43
+ algorithm: UpdateOAuth2JwtRequestAlgorithm_1.UpdateOAuth2JwtRequestAlgorithm.optional(),
44
+ keyId: core.serialization.property("key_id", core.serialization.string().optional()),
45
+ issuer: core.serialization.string().optional(),
46
+ audience: core.serialization.string().optional(),
47
+ subject: core.serialization.string().optional(),
48
+ expirationSeconds: core.serialization.property("expiration_seconds", core.serialization.number().optional()),
49
+ extraParams: core.serialization.property("extra_params", core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional()),
50
+ scopes: core.serialization.list(core.serialization.string()).optional(),
51
+ tokenResponseField: core.serialization.property("token_response_field", UpdateOAuth2JwtRequestTokenResponseField_1.UpdateOAuth2JwtRequestTokenResponseField.optional()),
52
+ secretKey: core.serialization.property("secret_key", core.serialization.string().optional()),
53
+ });
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const UpdateOAuth2JwtRequestAlgorithm: core.serialization.Schema<serializers.UpdateOAuth2JwtRequestAlgorithm.Raw, ElevenLabs.UpdateOAuth2JwtRequestAlgorithm>;
5
+ export declare namespace UpdateOAuth2JwtRequestAlgorithm {
6
+ type Raw = "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512";
7
+ }
@@ -0,0 +1,39 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.UpdateOAuth2JwtRequestAlgorithm = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ exports.UpdateOAuth2JwtRequestAlgorithm = core.serialization.enum_(["HS256", "HS384", "HS512", "RS256", "RS384", "RS512"]);
@@ -0,0 +1,7 @@
1
+ import type * as ElevenLabs from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const UpdateOAuth2JwtRequestTokenResponseField: core.serialization.Schema<serializers.UpdateOAuth2JwtRequestTokenResponseField.Raw, ElevenLabs.UpdateOAuth2JwtRequestTokenResponseField>;
5
+ export declare namespace UpdateOAuth2JwtRequestTokenResponseField {
6
+ type Raw = "access_token" | "id_token";
7
+ }