@elevenlabs/elevenlabs-js 2.21.0 → 2.22.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 (420) hide show
  1. package/Client.js +2 -2
  2. package/api/errors/ConflictError.d.ts +5 -0
  3. package/api/errors/ConflictError.js +50 -0
  4. package/api/errors/index.d.ts +1 -0
  5. package/api/errors/index.js +1 -0
  6. package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -4
  7. package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +1 -4
  8. package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +3 -5
  9. package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +3 -0
  10. package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -0
  11. package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +7 -3
  12. package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  13. package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  14. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +94 -0
  15. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +372 -0
  16. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +2 -0
  17. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  18. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +23 -0
  19. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +3 -0
  20. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +19 -0
  21. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +3 -0
  22. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  23. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +2 -0
  24. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  25. package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  26. package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -4
  27. package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -4
  28. package/api/resources/music/client/Client.d.ts +6 -0
  29. package/api/resources/music/client/Client.js +73 -0
  30. package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
  31. package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js +3 -0
  32. package/api/resources/music/client/requests/index.d.ts +1 -0
  33. package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +25 -0
  34. package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +28 -0
  35. package/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +6 -0
  36. package/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +9 -0
  37. package/api/resources/music/types/index.d.ts +2 -0
  38. package/api/resources/music/types/index.js +2 -0
  39. package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
  40. package/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  41. package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
  42. package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
  43. package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
  44. package/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  45. package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
  46. package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
  47. package/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  48. package/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
  49. package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  50. package/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
  51. package/api/types/BatchCallDetailedResponse.d.ts +2 -1
  52. package/api/types/BatchCallResponse.d.ts +2 -1
  53. package/api/types/InvoiceResponse.d.ts +4 -0
  54. package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  55. package/api/types/LiteralOverride.d.ts +6 -0
  56. package/api/types/LiteralOverride.js +3 -0
  57. package/api/types/LiteralOverrideConstantValue.d.ts +1 -0
  58. package/api/types/LiteralOverrideConstantValue.js +3 -0
  59. package/api/types/McpServerConfigInput.d.ts +8 -2
  60. package/api/types/McpServerConfigOutput.d.ts +8 -2
  61. package/api/types/McpToolConfigOverride.d.ts +17 -0
  62. package/api/types/McpToolConfigOverride.js +3 -0
  63. package/api/types/ObjectOverrideInput.d.ts +6 -0
  64. package/api/types/ObjectOverrideInput.js +3 -0
  65. package/api/types/ObjectOverrideInputPropertiesValue.d.ts +2 -0
  66. package/api/types/ObjectOverrideInputPropertiesValue.js +3 -0
  67. package/api/types/ObjectOverrideOutput.d.ts +6 -0
  68. package/api/types/ObjectOverrideOutput.js +3 -0
  69. package/api/types/ObjectOverrideOutputPropertiesValue.d.ts +2 -0
  70. package/api/types/ObjectOverrideOutputPropertiesValue.js +3 -0
  71. package/api/types/OutboundCallRecipient.d.ts +2 -1
  72. package/api/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  73. package/api/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  74. package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +6 -0
  75. package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +9 -0
  76. package/api/types/PhoneNumberDynamicVariableTransferDestination.d.ts +3 -0
  77. package/api/types/PhoneNumberDynamicVariableTransferDestination.js +3 -0
  78. package/api/types/PhoneNumberTransferTransferDestination.d.ts +7 -1
  79. package/api/types/PromptAgentApiModelInputToolsItem.d.ts +4 -1
  80. package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +4 -1
  81. package/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +4 -1
  82. package/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +4 -1
  83. package/api/types/QueryOverride.d.ts +5 -0
  84. package/api/types/QueryOverride.js +3 -0
  85. package/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  86. package/api/types/ReferencedToolCommonModelType.js +1 -0
  87. package/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
  88. package/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
  89. package/api/types/ToolRequestModelToolConfig.d.ts +4 -1
  90. package/api/types/ToolResponseModelToolConfig.d.ts +4 -1
  91. package/api/types/ToolType.d.ts +2 -0
  92. package/api/types/ToolType.js +2 -0
  93. package/api/types/VoiceSegment.d.ts +2 -0
  94. package/api/types/WebhookToolConfigInput.d.ts +2 -2
  95. package/api/types/WebhookToolConfigOutput.d.ts +2 -2
  96. package/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
  97. package/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
  98. package/api/types/WorkspaceResourceType.d.ts +2 -0
  99. package/api/types/WorkspaceResourceType.js +2 -0
  100. package/api/types/index.d.ts +17 -0
  101. package/api/types/index.js +17 -0
  102. package/dist/Client.js +2 -2
  103. package/dist/api/errors/ConflictError.d.ts +5 -0
  104. package/dist/api/errors/ConflictError.js +50 -0
  105. package/dist/api/errors/index.d.ts +1 -0
  106. package/dist/api/errors/index.js +1 -0
  107. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -4
  108. package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +1 -4
  109. package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +3 -5
  110. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +3 -0
  111. package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -0
  112. package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +7 -3
  113. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  114. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  115. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +94 -0
  116. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +372 -0
  117. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +2 -0
  118. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  119. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +23 -0
  120. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +3 -0
  121. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +19 -0
  122. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +3 -0
  123. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  124. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +2 -0
  125. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  126. package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  127. package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -4
  128. package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -4
  129. package/dist/api/resources/music/client/Client.d.ts +6 -0
  130. package/dist/api/resources/music/client/Client.js +73 -0
  131. package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
  132. package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js +3 -0
  133. package/dist/api/resources/music/client/requests/index.d.ts +1 -0
  134. package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +25 -0
  135. package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +28 -0
  136. package/dist/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +6 -0
  137. package/dist/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +9 -0
  138. package/dist/api/resources/music/types/index.d.ts +2 -0
  139. package/dist/api/resources/music/types/index.js +2 -0
  140. package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
  141. package/dist/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
  142. package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
  143. package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
  144. package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
  145. package/dist/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
  146. package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
  147. package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
  148. package/dist/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  149. package/dist/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
  150. package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  151. package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
  152. package/dist/api/types/BatchCallDetailedResponse.d.ts +2 -1
  153. package/dist/api/types/BatchCallResponse.d.ts +2 -1
  154. package/dist/api/types/InvoiceResponse.d.ts +4 -0
  155. package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
  156. package/dist/api/types/LiteralOverride.d.ts +6 -0
  157. package/dist/api/types/LiteralOverride.js +3 -0
  158. package/dist/api/types/LiteralOverrideConstantValue.d.ts +1 -0
  159. package/dist/api/types/LiteralOverrideConstantValue.js +3 -0
  160. package/dist/api/types/McpServerConfigInput.d.ts +8 -2
  161. package/dist/api/types/McpServerConfigOutput.d.ts +8 -2
  162. package/dist/api/types/McpToolConfigOverride.d.ts +17 -0
  163. package/dist/api/types/McpToolConfigOverride.js +3 -0
  164. package/dist/api/types/ObjectOverrideInput.d.ts +6 -0
  165. package/dist/api/types/ObjectOverrideInput.js +3 -0
  166. package/dist/api/types/ObjectOverrideInputPropertiesValue.d.ts +2 -0
  167. package/dist/api/types/ObjectOverrideInputPropertiesValue.js +3 -0
  168. package/dist/api/types/ObjectOverrideOutput.d.ts +6 -0
  169. package/dist/api/types/ObjectOverrideOutput.js +3 -0
  170. package/dist/api/types/ObjectOverrideOutputPropertiesValue.d.ts +2 -0
  171. package/dist/api/types/ObjectOverrideOutputPropertiesValue.js +3 -0
  172. package/dist/api/types/OutboundCallRecipient.d.ts +2 -1
  173. package/dist/api/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  174. package/dist/api/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  175. package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +6 -0
  176. package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +9 -0
  177. package/dist/api/types/PhoneNumberDynamicVariableTransferDestination.d.ts +3 -0
  178. package/dist/api/types/PhoneNumberDynamicVariableTransferDestination.js +3 -0
  179. package/dist/api/types/PhoneNumberTransferTransferDestination.d.ts +7 -1
  180. package/dist/api/types/PromptAgentApiModelInputToolsItem.d.ts +4 -1
  181. package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +4 -1
  182. package/dist/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +4 -1
  183. package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +4 -1
  184. package/dist/api/types/QueryOverride.d.ts +5 -0
  185. package/dist/api/types/QueryOverride.js +3 -0
  186. package/dist/api/types/ReferencedToolCommonModelType.d.ts +1 -0
  187. package/dist/api/types/ReferencedToolCommonModelType.js +1 -0
  188. package/dist/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
  189. package/dist/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
  190. package/dist/api/types/ToolRequestModelToolConfig.d.ts +4 -1
  191. package/dist/api/types/ToolResponseModelToolConfig.d.ts +4 -1
  192. package/dist/api/types/ToolType.d.ts +2 -0
  193. package/dist/api/types/ToolType.js +2 -0
  194. package/dist/api/types/VoiceSegment.d.ts +2 -0
  195. package/dist/api/types/WebhookToolConfigInput.d.ts +2 -2
  196. package/dist/api/types/WebhookToolConfigOutput.d.ts +2 -2
  197. package/dist/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
  198. package/dist/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
  199. package/dist/api/types/WorkspaceResourceType.d.ts +2 -0
  200. package/dist/api/types/WorkspaceResourceType.js +2 -0
  201. package/dist/api/types/index.d.ts +17 -0
  202. package/dist/api/types/index.js +17 -0
  203. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -1
  204. package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -1
  205. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  206. package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -0
  207. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  208. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  209. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +1 -0
  210. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  211. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +19 -0
  212. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +51 -0
  213. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +18 -0
  214. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +50 -0
  215. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  216. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +7 -0
  217. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  218. package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  219. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +7 -0
  220. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +61 -0
  221. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +7 -0
  222. package/dist/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +39 -0
  223. package/dist/serialization/resources/music/types/index.d.ts +2 -0
  224. package/dist/serialization/resources/music/types/index.js +2 -0
  225. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
  226. package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +50 -0
  227. package/dist/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +8 -0
  228. package/dist/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +40 -0
  229. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +15 -0
  230. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +50 -0
  231. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +8 -0
  232. package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +40 -0
  233. package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  234. package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.js +60 -0
  235. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  236. package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +60 -0
  237. package/dist/serialization/types/BatchCallDetailedResponse.d.ts +2 -1
  238. package/dist/serialization/types/BatchCallDetailedResponse.js +2 -1
  239. package/dist/serialization/types/BatchCallResponse.d.ts +2 -1
  240. package/dist/serialization/types/BatchCallResponse.js +2 -1
  241. package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
  242. package/dist/serialization/types/InvoiceResponse.js +2 -0
  243. package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  244. package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  245. package/dist/serialization/types/LiteralOverride.d.ts +12 -0
  246. package/dist/serialization/types/LiteralOverride.js +44 -0
  247. package/dist/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
  248. package/dist/serialization/types/LiteralOverrideConstantValue.js +44 -0
  249. package/dist/serialization/types/McpServerConfigInput.d.ts +6 -0
  250. package/dist/serialization/types/McpServerConfigInput.js +6 -0
  251. package/dist/serialization/types/McpServerConfigOutput.d.ts +6 -0
  252. package/dist/serialization/types/McpServerConfigOutput.js +6 -0
  253. package/dist/serialization/types/McpToolConfigOverride.d.ts +19 -0
  254. package/dist/serialization/types/McpToolConfigOverride.js +51 -0
  255. package/dist/serialization/types/ObjectOverrideInput.d.ts +11 -0
  256. package/dist/serialization/types/ObjectOverrideInput.js +46 -0
  257. package/dist/serialization/types/ObjectOverrideInputPropertiesValue.d.ts +8 -0
  258. package/dist/serialization/types/ObjectOverrideInputPropertiesValue.js +44 -0
  259. package/dist/serialization/types/ObjectOverrideOutput.d.ts +11 -0
  260. package/dist/serialization/types/ObjectOverrideOutput.js +46 -0
  261. package/dist/serialization/types/ObjectOverrideOutputPropertiesValue.d.ts +8 -0
  262. package/dist/serialization/types/ObjectOverrideOutputPropertiesValue.js +44 -0
  263. package/dist/serialization/types/OutboundCallRecipient.d.ts +2 -1
  264. package/dist/serialization/types/OutboundCallRecipient.js +2 -1
  265. package/dist/serialization/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  266. package/dist/serialization/types/OutboundCallRecipientResponseModel.js +2 -1
  267. package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  268. package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -0
  269. package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +7 -0
  270. package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +39 -0
  271. package/dist/serialization/types/PhoneNumberDynamicVariableTransferDestination.d.ts +9 -0
  272. package/dist/serialization/types/PhoneNumberDynamicVariableTransferDestination.js +41 -0
  273. package/dist/serialization/types/PhoneNumberTransferTransferDestination.d.ts +9 -1
  274. package/dist/serialization/types/PhoneNumberTransferTransferDestination.js +4 -0
  275. package/dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
  276. package/dist/serialization/types/PromptAgentApiModelInputToolsItem.js +2 -0
  277. package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
  278. package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +2 -0
  279. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
  280. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +2 -0
  281. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
  282. package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +2 -0
  283. package/dist/serialization/types/QueryOverride.d.ts +11 -0
  284. package/dist/serialization/types/QueryOverride.js +43 -0
  285. package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  286. package/dist/serialization/types/ReferencedToolCommonModelType.js +1 -1
  287. package/dist/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
  288. package/dist/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
  289. package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
  290. package/dist/serialization/types/ToolRequestModelToolConfig.js +2 -0
  291. package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
  292. package/dist/serialization/types/ToolResponseModelToolConfig.js +2 -0
  293. package/dist/serialization/types/ToolType.d.ts +1 -1
  294. package/dist/serialization/types/ToolType.js +9 -1
  295. package/dist/serialization/types/VoiceSegment.d.ts +1 -0
  296. package/dist/serialization/types/VoiceSegment.js +1 -0
  297. package/dist/serialization/types/WebhookToolConfigInput.d.ts +2 -2
  298. package/dist/serialization/types/WebhookToolConfigInput.js +2 -2
  299. package/dist/serialization/types/WebhookToolConfigOutput.d.ts +2 -2
  300. package/dist/serialization/types/WebhookToolConfigOutput.js +2 -2
  301. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +9 -1
  302. package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.js +4 -0
  303. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +9 -1
  304. package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.js +4 -0
  305. package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
  306. package/dist/serialization/types/WorkspaceResourceType.js +2 -0
  307. package/dist/serialization/types/index.d.ts +17 -0
  308. package/dist/serialization/types/index.js +17 -0
  309. package/dist/version.d.ts +1 -1
  310. package/dist/version.js +1 -1
  311. package/package.json +1 -1
  312. package/reference.md +303 -10
  313. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -1
  314. package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -1
  315. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
  316. package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -0
  317. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
  318. package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
  319. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +1 -0
  320. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
  321. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +19 -0
  322. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +51 -0
  323. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +18 -0
  324. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +50 -0
  325. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
  326. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +7 -0
  327. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
  328. package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
  329. package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +7 -0
  330. package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +61 -0
  331. package/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +7 -0
  332. package/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +39 -0
  333. package/serialization/resources/music/types/index.d.ts +2 -0
  334. package/serialization/resources/music/types/index.js +2 -0
  335. package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
  336. package/serialization/types/ApiIntegrationWebhookOverridesInput.js +50 -0
  337. package/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +8 -0
  338. package/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +40 -0
  339. package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +15 -0
  340. package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +50 -0
  341. package/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +8 -0
  342. package/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +40 -0
  343. package/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
  344. package/serialization/types/ApiIntegrationWebhookToolConfigInput.js +60 -0
  345. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
  346. package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +60 -0
  347. package/serialization/types/BatchCallDetailedResponse.d.ts +2 -1
  348. package/serialization/types/BatchCallDetailedResponse.js +2 -1
  349. package/serialization/types/BatchCallResponse.d.ts +2 -1
  350. package/serialization/types/BatchCallResponse.js +2 -1
  351. package/serialization/types/InvoiceResponse.d.ts +2 -0
  352. package/serialization/types/InvoiceResponse.js +2 -0
  353. package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
  354. package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
  355. package/serialization/types/LiteralOverride.d.ts +12 -0
  356. package/serialization/types/LiteralOverride.js +44 -0
  357. package/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
  358. package/serialization/types/LiteralOverrideConstantValue.js +44 -0
  359. package/serialization/types/McpServerConfigInput.d.ts +6 -0
  360. package/serialization/types/McpServerConfigInput.js +6 -0
  361. package/serialization/types/McpServerConfigOutput.d.ts +6 -0
  362. package/serialization/types/McpServerConfigOutput.js +6 -0
  363. package/serialization/types/McpToolConfigOverride.d.ts +19 -0
  364. package/serialization/types/McpToolConfigOverride.js +51 -0
  365. package/serialization/types/ObjectOverrideInput.d.ts +11 -0
  366. package/serialization/types/ObjectOverrideInput.js +46 -0
  367. package/serialization/types/ObjectOverrideInputPropertiesValue.d.ts +8 -0
  368. package/serialization/types/ObjectOverrideInputPropertiesValue.js +44 -0
  369. package/serialization/types/ObjectOverrideOutput.d.ts +11 -0
  370. package/serialization/types/ObjectOverrideOutput.js +46 -0
  371. package/serialization/types/ObjectOverrideOutputPropertiesValue.d.ts +8 -0
  372. package/serialization/types/ObjectOverrideOutputPropertiesValue.js +44 -0
  373. package/serialization/types/OutboundCallRecipient.d.ts +2 -1
  374. package/serialization/types/OutboundCallRecipient.js +2 -1
  375. package/serialization/types/OutboundCallRecipientResponseModel.d.ts +2 -1
  376. package/serialization/types/OutboundCallRecipientResponseModel.js +2 -1
  377. package/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
  378. package/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -0
  379. package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +7 -0
  380. package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +39 -0
  381. package/serialization/types/PhoneNumberDynamicVariableTransferDestination.d.ts +9 -0
  382. package/serialization/types/PhoneNumberDynamicVariableTransferDestination.js +41 -0
  383. package/serialization/types/PhoneNumberTransferTransferDestination.d.ts +9 -1
  384. package/serialization/types/PhoneNumberTransferTransferDestination.js +4 -0
  385. package/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
  386. package/serialization/types/PromptAgentApiModelInputToolsItem.js +2 -0
  387. package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
  388. package/serialization/types/PromptAgentApiModelOutputToolsItem.js +2 -0
  389. package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
  390. package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +2 -0
  391. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
  392. package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +2 -0
  393. package/serialization/types/QueryOverride.d.ts +11 -0
  394. package/serialization/types/QueryOverride.js +43 -0
  395. package/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
  396. package/serialization/types/ReferencedToolCommonModelType.js +1 -1
  397. package/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
  398. package/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
  399. package/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
  400. package/serialization/types/ToolRequestModelToolConfig.js +2 -0
  401. package/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
  402. package/serialization/types/ToolResponseModelToolConfig.js +2 -0
  403. package/serialization/types/ToolType.d.ts +1 -1
  404. package/serialization/types/ToolType.js +9 -1
  405. package/serialization/types/VoiceSegment.d.ts +1 -0
  406. package/serialization/types/VoiceSegment.js +1 -0
  407. package/serialization/types/WebhookToolConfigInput.d.ts +2 -2
  408. package/serialization/types/WebhookToolConfigInput.js +2 -2
  409. package/serialization/types/WebhookToolConfigOutput.d.ts +2 -2
  410. package/serialization/types/WebhookToolConfigOutput.js +2 -2
  411. package/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +9 -1
  412. package/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.js +4 -0
  413. package/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +9 -1
  414. package/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.js +4 -0
  415. package/serialization/types/WorkspaceResourceType.d.ts +1 -1
  416. package/serialization/types/WorkspaceResourceType.js +2 -0
  417. package/serialization/types/index.d.ts +17 -0
  418. package/serialization/types/index.js +17 -0
  419. package/version.d.ts +1 -1
  420. package/version.js +1 -1
@@ -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.MusicSeparateStemsRequestStemVariationId = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.MusicSeparateStemsRequestStemVariationId = core.serialization.enum_(["two_stems_v1", "six_stems_v1"]);
@@ -1,3 +1,5 @@
1
1
  export * from "./MusicComposeRequestOutputFormat";
2
2
  export * from "./MusicComposeDetailedRequestOutputFormat";
3
3
  export * from "./MusicStreamRequestOutputFormat";
4
+ export * from "./MusicSeparateStemsRequestOutputFormat";
5
+ export * from "./MusicSeparateStemsRequestStemVariationId";
@@ -17,3 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./MusicComposeRequestOutputFormat"), exports);
18
18
  __exportStar(require("./MusicComposeDetailedRequestOutputFormat"), exports);
19
19
  __exportStar(require("./MusicStreamRequestOutputFormat"), exports);
20
+ __exportStar(require("./MusicSeparateStemsRequestOutputFormat"), exports);
21
+ __exportStar(require("./MusicSeparateStemsRequestStemVariationId"), exports);
@@ -0,0 +1,15 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { LiteralOverride } from "./LiteralOverride";
5
+ import { QueryOverride } from "./QueryOverride";
6
+ import { ApiIntegrationWebhookOverridesInputRequestHeadersValue } from "./ApiIntegrationWebhookOverridesInputRequestHeadersValue";
7
+ export declare const ApiIntegrationWebhookOverridesInput: core.serialization.ObjectSchema<serializers.ApiIntegrationWebhookOverridesInput.Raw, ElevenLabs.ApiIntegrationWebhookOverridesInput>;
8
+ export declare namespace ApiIntegrationWebhookOverridesInput {
9
+ interface Raw {
10
+ path_params_schema?: Record<string, LiteralOverride.Raw | null | undefined> | null;
11
+ query_params_schema?: QueryOverride.Raw | null;
12
+ request_body_schema?: serializers.ObjectOverrideInput.Raw | null;
13
+ request_headers?: Record<string, ApiIntegrationWebhookOverridesInputRequestHeadersValue.Raw | null | undefined> | null;
14
+ }
15
+ }
@@ -0,0 +1,50 @@
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.ApiIntegrationWebhookOverridesInput = void 0;
38
+ const serializers = __importStar(require("../index"));
39
+ const core = __importStar(require("../../core"));
40
+ const LiteralOverride_1 = require("./LiteralOverride");
41
+ const QueryOverride_1 = require("./QueryOverride");
42
+ const ApiIntegrationWebhookOverridesInputRequestHeadersValue_1 = require("./ApiIntegrationWebhookOverridesInputRequestHeadersValue");
43
+ exports.ApiIntegrationWebhookOverridesInput = core.serialization.object({
44
+ pathParamsSchema: core.serialization.property("path_params_schema", core.serialization.record(core.serialization.string(), LiteralOverride_1.LiteralOverride.optional()).optional()),
45
+ queryParamsSchema: core.serialization.property("query_params_schema", QueryOverride_1.QueryOverride.optional()),
46
+ requestBodySchema: core.serialization.property("request_body_schema", core.serialization.lazyObject(() => serializers.ObjectOverrideInput).optional()),
47
+ requestHeaders: core.serialization.property("request_headers", core.serialization
48
+ .record(core.serialization.string(), ApiIntegrationWebhookOverridesInputRequestHeadersValue_1.ApiIntegrationWebhookOverridesInputRequestHeadersValue.optional())
49
+ .optional()),
50
+ });
@@ -0,0 +1,8 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { ConvAiDynamicVariable } from "./ConvAiDynamicVariable";
5
+ export declare const ApiIntegrationWebhookOverridesInputRequestHeadersValue: core.serialization.Schema<serializers.ApiIntegrationWebhookOverridesInputRequestHeadersValue.Raw, ElevenLabs.ApiIntegrationWebhookOverridesInputRequestHeadersValue>;
6
+ export declare namespace ApiIntegrationWebhookOverridesInputRequestHeadersValue {
7
+ type Raw = string | ConvAiDynamicVariable.Raw;
8
+ }
@@ -0,0 +1,40 @@
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.ApiIntegrationWebhookOverridesInputRequestHeadersValue = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const ConvAiDynamicVariable_1 = require("./ConvAiDynamicVariable");
40
+ exports.ApiIntegrationWebhookOverridesInputRequestHeadersValue = core.serialization.undiscriminatedUnion([core.serialization.string(), ConvAiDynamicVariable_1.ConvAiDynamicVariable]);
@@ -0,0 +1,15 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { LiteralOverride } from "./LiteralOverride";
5
+ import { QueryOverride } from "./QueryOverride";
6
+ import { ApiIntegrationWebhookOverridesOutputRequestHeadersValue } from "./ApiIntegrationWebhookOverridesOutputRequestHeadersValue";
7
+ export declare const ApiIntegrationWebhookOverridesOutput: core.serialization.ObjectSchema<serializers.ApiIntegrationWebhookOverridesOutput.Raw, ElevenLabs.ApiIntegrationWebhookOverridesOutput>;
8
+ export declare namespace ApiIntegrationWebhookOverridesOutput {
9
+ interface Raw {
10
+ path_params_schema?: Record<string, LiteralOverride.Raw | null | undefined> | null;
11
+ query_params_schema?: QueryOverride.Raw | null;
12
+ request_body_schema?: serializers.ObjectOverrideOutput.Raw | null;
13
+ request_headers?: Record<string, ApiIntegrationWebhookOverridesOutputRequestHeadersValue.Raw | null | undefined> | null;
14
+ }
15
+ }
@@ -0,0 +1,50 @@
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.ApiIntegrationWebhookOverridesOutput = void 0;
38
+ const serializers = __importStar(require("../index"));
39
+ const core = __importStar(require("../../core"));
40
+ const LiteralOverride_1 = require("./LiteralOverride");
41
+ const QueryOverride_1 = require("./QueryOverride");
42
+ const ApiIntegrationWebhookOverridesOutputRequestHeadersValue_1 = require("./ApiIntegrationWebhookOverridesOutputRequestHeadersValue");
43
+ exports.ApiIntegrationWebhookOverridesOutput = core.serialization.object({
44
+ pathParamsSchema: core.serialization.property("path_params_schema", core.serialization.record(core.serialization.string(), LiteralOverride_1.LiteralOverride.optional()).optional()),
45
+ queryParamsSchema: core.serialization.property("query_params_schema", QueryOverride_1.QueryOverride.optional()),
46
+ requestBodySchema: core.serialization.property("request_body_schema", core.serialization.lazyObject(() => serializers.ObjectOverrideOutput).optional()),
47
+ requestHeaders: core.serialization.property("request_headers", core.serialization
48
+ .record(core.serialization.string(), ApiIntegrationWebhookOverridesOutputRequestHeadersValue_1.ApiIntegrationWebhookOverridesOutputRequestHeadersValue.optional())
49
+ .optional()),
50
+ });
@@ -0,0 +1,8 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { ConvAiDynamicVariable } from "./ConvAiDynamicVariable";
5
+ export declare const ApiIntegrationWebhookOverridesOutputRequestHeadersValue: core.serialization.Schema<serializers.ApiIntegrationWebhookOverridesOutputRequestHeadersValue.Raw, ElevenLabs.ApiIntegrationWebhookOverridesOutputRequestHeadersValue>;
6
+ export declare namespace ApiIntegrationWebhookOverridesOutputRequestHeadersValue {
7
+ type Raw = string | ConvAiDynamicVariable.Raw;
8
+ }
@@ -0,0 +1,40 @@
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.ApiIntegrationWebhookOverridesOutputRequestHeadersValue = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const ConvAiDynamicVariable_1 = require("./ConvAiDynamicVariable");
40
+ exports.ApiIntegrationWebhookOverridesOutputRequestHeadersValue = core.serialization.undiscriminatedUnion([core.serialization.string(), ConvAiDynamicVariable_1.ConvAiDynamicVariable]);
@@ -0,0 +1,28 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { DynamicVariableAssignment } from "./DynamicVariableAssignment";
5
+ import { ToolCallSoundType } from "./ToolCallSoundType";
6
+ import { ToolCallSoundBehavior } from "./ToolCallSoundBehavior";
7
+ import { DynamicVariablesConfig } from "./DynamicVariablesConfig";
8
+ import { ToolExecutionMode } from "./ToolExecutionMode";
9
+ import { ApiIntegrationWebhookOverridesInput } from "./ApiIntegrationWebhookOverridesInput";
10
+ export declare const ApiIntegrationWebhookToolConfigInput: core.serialization.ObjectSchema<serializers.ApiIntegrationWebhookToolConfigInput.Raw, ElevenLabs.ApiIntegrationWebhookToolConfigInput>;
11
+ export declare namespace ApiIntegrationWebhookToolConfigInput {
12
+ interface Raw {
13
+ name: string;
14
+ description: string;
15
+ response_timeout_secs?: number | null;
16
+ disable_interruptions?: boolean | null;
17
+ force_pre_tool_speech?: boolean | null;
18
+ assignments?: DynamicVariableAssignment.Raw[] | null;
19
+ tool_call_sound?: ToolCallSoundType.Raw | null;
20
+ tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
21
+ dynamic_variables?: DynamicVariablesConfig.Raw | null;
22
+ execution_mode?: ToolExecutionMode.Raw | null;
23
+ tool_version?: string | null;
24
+ api_integration_id: string;
25
+ api_integration_connection_id: string;
26
+ api_schema_overrides?: ApiIntegrationWebhookOverridesInput.Raw | null;
27
+ }
28
+ }
@@ -0,0 +1,60 @@
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.ApiIntegrationWebhookToolConfigInput = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const DynamicVariableAssignment_1 = require("./DynamicVariableAssignment");
40
+ const ToolCallSoundType_1 = require("./ToolCallSoundType");
41
+ const ToolCallSoundBehavior_1 = require("./ToolCallSoundBehavior");
42
+ const DynamicVariablesConfig_1 = require("./DynamicVariablesConfig");
43
+ const ToolExecutionMode_1 = require("./ToolExecutionMode");
44
+ const ApiIntegrationWebhookOverridesInput_1 = require("./ApiIntegrationWebhookOverridesInput");
45
+ exports.ApiIntegrationWebhookToolConfigInput = core.serialization.object({
46
+ name: core.serialization.string(),
47
+ description: core.serialization.string(),
48
+ responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
49
+ disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
50
+ forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
51
+ assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment).optional(),
52
+ toolCallSound: core.serialization.property("tool_call_sound", ToolCallSoundType_1.ToolCallSoundType.optional()),
53
+ toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior.optional()),
54
+ dynamicVariables: core.serialization.property("dynamic_variables", DynamicVariablesConfig_1.DynamicVariablesConfig.optional()),
55
+ executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode.optional()),
56
+ toolVersion: core.serialization.property("tool_version", core.serialization.string().optional()),
57
+ apiIntegrationId: core.serialization.property("api_integration_id", core.serialization.string()),
58
+ apiIntegrationConnectionId: core.serialization.property("api_integration_connection_id", core.serialization.string()),
59
+ apiSchemaOverrides: core.serialization.property("api_schema_overrides", ApiIntegrationWebhookOverridesInput_1.ApiIntegrationWebhookOverridesInput.optional()),
60
+ });
@@ -0,0 +1,28 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { DynamicVariableAssignment } from "./DynamicVariableAssignment";
5
+ import { ToolCallSoundType } from "./ToolCallSoundType";
6
+ import { ToolCallSoundBehavior } from "./ToolCallSoundBehavior";
7
+ import { DynamicVariablesConfig } from "./DynamicVariablesConfig";
8
+ import { ToolExecutionMode } from "./ToolExecutionMode";
9
+ import { ApiIntegrationWebhookOverridesOutput } from "./ApiIntegrationWebhookOverridesOutput";
10
+ export declare const ApiIntegrationWebhookToolConfigOutput: core.serialization.ObjectSchema<serializers.ApiIntegrationWebhookToolConfigOutput.Raw, ElevenLabs.ApiIntegrationWebhookToolConfigOutput>;
11
+ export declare namespace ApiIntegrationWebhookToolConfigOutput {
12
+ interface Raw {
13
+ name: string;
14
+ description: string;
15
+ response_timeout_secs?: number | null;
16
+ disable_interruptions?: boolean | null;
17
+ force_pre_tool_speech?: boolean | null;
18
+ assignments?: DynamicVariableAssignment.Raw[] | null;
19
+ tool_call_sound?: ToolCallSoundType.Raw | null;
20
+ tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
21
+ dynamic_variables?: DynamicVariablesConfig.Raw | null;
22
+ execution_mode?: ToolExecutionMode.Raw | null;
23
+ tool_version?: string | null;
24
+ api_integration_id: string;
25
+ api_integration_connection_id: string;
26
+ api_schema_overrides?: ApiIntegrationWebhookOverridesOutput.Raw | null;
27
+ }
28
+ }
@@ -0,0 +1,60 @@
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.ApiIntegrationWebhookToolConfigOutput = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const DynamicVariableAssignment_1 = require("./DynamicVariableAssignment");
40
+ const ToolCallSoundType_1 = require("./ToolCallSoundType");
41
+ const ToolCallSoundBehavior_1 = require("./ToolCallSoundBehavior");
42
+ const DynamicVariablesConfig_1 = require("./DynamicVariablesConfig");
43
+ const ToolExecutionMode_1 = require("./ToolExecutionMode");
44
+ const ApiIntegrationWebhookOverridesOutput_1 = require("./ApiIntegrationWebhookOverridesOutput");
45
+ exports.ApiIntegrationWebhookToolConfigOutput = core.serialization.object({
46
+ name: core.serialization.string(),
47
+ description: core.serialization.string(),
48
+ responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
49
+ disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
50
+ forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
51
+ assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment).optional(),
52
+ toolCallSound: core.serialization.property("tool_call_sound", ToolCallSoundType_1.ToolCallSoundType.optional()),
53
+ toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior.optional()),
54
+ dynamicVariables: core.serialization.property("dynamic_variables", DynamicVariablesConfig_1.DynamicVariablesConfig.optional()),
55
+ executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode.optional()),
56
+ toolVersion: core.serialization.property("tool_version", core.serialization.string().optional()),
57
+ apiIntegrationId: core.serialization.property("api_integration_id", core.serialization.string()),
58
+ apiIntegrationConnectionId: core.serialization.property("api_integration_connection_id", core.serialization.string()),
59
+ apiSchemaOverrides: core.serialization.property("api_schema_overrides", ApiIntegrationWebhookOverridesOutput_1.ApiIntegrationWebhookOverridesOutput.optional()),
60
+ });
@@ -8,8 +8,9 @@ export declare const BatchCallDetailedResponse: core.serialization.ObjectSchema<
8
8
  export declare namespace BatchCallDetailedResponse {
9
9
  interface Raw {
10
10
  id: string;
11
- phone_number_id: string;
11
+ phone_number_id?: string | null;
12
12
  phone_provider?: TelephonyProvider.Raw | null;
13
+ whatsapp_business_account_id?: string | null;
13
14
  name: string;
14
15
  agent_id: string;
15
16
  created_at_unix: number;
@@ -41,8 +41,9 @@ const BatchCallStatus_1 = require("./BatchCallStatus");
41
41
  const OutboundCallRecipientResponseModel_1 = require("./OutboundCallRecipientResponseModel");
42
42
  exports.BatchCallDetailedResponse = core.serialization.object({
43
43
  id: core.serialization.string(),
44
- phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string()),
44
+ phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string().optional()),
45
45
  phoneProvider: core.serialization.property("phone_provider", TelephonyProvider_1.TelephonyProvider.optional()),
46
+ whatsappBusinessAccountId: core.serialization.property("whatsapp_business_account_id", core.serialization.string().optional()),
46
47
  name: core.serialization.string(),
47
48
  agentId: core.serialization.property("agent_id", core.serialization.string()),
48
49
  createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
@@ -7,8 +7,9 @@ export declare const BatchCallResponse: core.serialization.ObjectSchema<serializ
7
7
  export declare namespace BatchCallResponse {
8
8
  interface Raw {
9
9
  id: string;
10
- phone_number_id: string;
10
+ phone_number_id?: string | null;
11
11
  phone_provider?: TelephonyProvider.Raw | null;
12
+ whatsapp_business_account_id?: string | null;
12
13
  name: string;
13
14
  agent_id: string;
14
15
  created_at_unix: number;
@@ -40,8 +40,9 @@ const TelephonyProvider_1 = require("./TelephonyProvider");
40
40
  const BatchCallStatus_1 = require("./BatchCallStatus");
41
41
  exports.BatchCallResponse = core.serialization.object({
42
42
  id: core.serialization.string(),
43
- phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string()),
43
+ phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string().optional()),
44
44
  phoneProvider: core.serialization.property("phone_provider", TelephonyProvider_1.TelephonyProvider.optional()),
45
+ whatsappBusinessAccountId: core.serialization.property("whatsapp_business_account_id", core.serialization.string().optional()),
45
46
  name: core.serialization.string(),
46
47
  agentId: core.serialization.property("agent_id", core.serialization.string()),
47
48
  createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
@@ -6,6 +6,8 @@ export declare const InvoiceResponse: core.serialization.ObjectSchema<serializer
6
6
  export declare namespace InvoiceResponse {
7
7
  interface Raw {
8
8
  amount_due_cents: number;
9
+ subtotal_cents?: number | null;
10
+ tax_cents?: number | null;
9
11
  discount_percent_off?: number | null;
10
12
  discount_amount_off?: number | null;
11
13
  next_payment_attempt_unix: number;
@@ -39,6 +39,8 @@ const core = __importStar(require("../../core"));
39
39
  const InvoiceResponseModelPaymentIntentStatus_1 = require("./InvoiceResponseModelPaymentIntentStatus");
40
40
  exports.InvoiceResponse = core.serialization.object({
41
41
  amountDueCents: core.serialization.property("amount_due_cents", core.serialization.number()),
42
+ subtotalCents: core.serialization.property("subtotal_cents", core.serialization.number().optional()),
43
+ taxCents: core.serialization.property("tax_cents", core.serialization.number().optional()),
42
44
  discountPercentOff: core.serialization.property("discount_percent_off", core.serialization.number().optional()),
43
45
  discountAmountOff: core.serialization.property("discount_amount_off", core.serialization.number().optional()),
44
46
  nextPaymentAttemptUnix: core.serialization.property("next_payment_attempt_unix", core.serialization.number()),
@@ -9,6 +9,7 @@ export declare namespace LiteralJsonSchemaProperty {
9
9
  type: LiteralJsonSchemaPropertyType.Raw;
10
10
  description?: string | null;
11
11
  enum?: string[] | null;
12
+ is_system_provided?: boolean | null;
12
13
  dynamic_variable?: string | null;
13
14
  constant_value?: LiteralJsonSchemaPropertyConstantValue.Raw | null;
14
15
  }
@@ -42,6 +42,7 @@ exports.LiteralJsonSchemaProperty = core.serialization.object({
42
42
  type: LiteralJsonSchemaPropertyType_1.LiteralJsonSchemaPropertyType,
43
43
  description: core.serialization.string().optional(),
44
44
  enum: core.serialization.list(core.serialization.string()).optional(),
45
+ isSystemProvided: core.serialization.property("is_system_provided", core.serialization.boolean().optional()),
45
46
  dynamicVariable: core.serialization.property("dynamic_variable", core.serialization.string().optional()),
46
47
  constantValue: core.serialization.property("constant_value", LiteralJsonSchemaPropertyConstantValue_1.LiteralJsonSchemaPropertyConstantValue.optional()),
47
48
  });
@@ -0,0 +1,12 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ import { LiteralOverrideConstantValue } from "./LiteralOverrideConstantValue";
5
+ export declare const LiteralOverride: core.serialization.ObjectSchema<serializers.LiteralOverride.Raw, ElevenLabs.LiteralOverride>;
6
+ export declare namespace LiteralOverride {
7
+ interface Raw {
8
+ description?: string | null;
9
+ dynamic_variable?: string | null;
10
+ constant_value?: LiteralOverrideConstantValue.Raw | null;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
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.LiteralOverride = void 0;
38
+ const core = __importStar(require("../../core"));
39
+ const LiteralOverrideConstantValue_1 = require("./LiteralOverrideConstantValue");
40
+ exports.LiteralOverride = core.serialization.object({
41
+ description: core.serialization.string().optional(),
42
+ dynamicVariable: core.serialization.property("dynamic_variable", core.serialization.string().optional()),
43
+ constantValue: core.serialization.property("constant_value", LiteralOverrideConstantValue_1.LiteralOverrideConstantValue.optional()),
44
+ });
@@ -0,0 +1,7 @@
1
+ import * as serializers from "../index";
2
+ import * as ElevenLabs from "../../api/index";
3
+ import * as core from "../../core";
4
+ export declare const LiteralOverrideConstantValue: core.serialization.Schema<serializers.LiteralOverrideConstantValue.Raw, ElevenLabs.LiteralOverrideConstantValue>;
5
+ export declare namespace LiteralOverrideConstantValue {
6
+ type Raw = string | number | number | boolean;
7
+ }