telnyx 7.30.0-beta.0 → 7.31.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 (702) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +30 -13
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +30 -13
  5. package/client.d.ts.map +1 -1
  6. package/client.js +18 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +18 -3
  9. package/client.mjs.map +1 -1
  10. package/core/pagination.d.mts +20 -0
  11. package/core/pagination.d.mts.map +1 -1
  12. package/core/pagination.d.ts +20 -0
  13. package/core/pagination.d.ts.map +1 -1
  14. package/core/pagination.js +25 -1
  15. package/core/pagination.js.map +1 -1
  16. package/core/pagination.mjs +23 -0
  17. package/core/pagination.mjs.map +1 -1
  18. package/lib/login-token.d.mts +7 -3
  19. package/lib/login-token.d.mts.map +1 -1
  20. package/lib/login-token.d.ts +7 -3
  21. package/lib/login-token.d.ts.map +1 -1
  22. package/lib/login-token.js.map +1 -1
  23. package/lib/login-token.mjs.map +1 -1
  24. package/package.json +1 -1
  25. package/resources/agent-gateways/agent-gateways.d.mts +360 -0
  26. package/resources/agent-gateways/agent-gateways.d.mts.map +1 -0
  27. package/resources/agent-gateways/agent-gateways.d.ts +360 -0
  28. package/resources/agent-gateways/agent-gateways.d.ts.map +1 -0
  29. package/resources/agent-gateways/agent-gateways.js +140 -0
  30. package/resources/agent-gateways/agent-gateways.js.map +1 -0
  31. package/resources/agent-gateways/agent-gateways.mjs +135 -0
  32. package/resources/agent-gateways/agent-gateways.mjs.map +1 -0
  33. package/resources/agent-gateways/apis.d.mts +300 -0
  34. package/resources/agent-gateways/apis.d.mts.map +1 -0
  35. package/resources/agent-gateways/apis.d.ts +300 -0
  36. package/resources/agent-gateways/apis.d.ts.map +1 -0
  37. package/resources/agent-gateways/apis.js +89 -0
  38. package/resources/agent-gateways/apis.js.map +1 -0
  39. package/resources/agent-gateways/apis.mjs +85 -0
  40. package/resources/agent-gateways/apis.mjs.map +1 -0
  41. package/resources/agent-gateways/guardrails.d.mts +210 -0
  42. package/resources/agent-gateways/guardrails.d.mts.map +1 -0
  43. package/resources/agent-gateways/guardrails.d.ts +210 -0
  44. package/resources/agent-gateways/guardrails.d.ts.map +1 -0
  45. package/resources/agent-gateways/guardrails.js +96 -0
  46. package/resources/agent-gateways/guardrails.js.map +1 -0
  47. package/resources/agent-gateways/guardrails.mjs +92 -0
  48. package/resources/agent-gateways/guardrails.mjs.map +1 -0
  49. package/resources/agent-gateways/index.d.mts +9 -0
  50. package/resources/agent-gateways/index.d.mts.map +1 -0
  51. package/resources/agent-gateways/index.d.ts +9 -0
  52. package/resources/agent-gateways/index.d.ts.map +1 -0
  53. package/resources/agent-gateways/index.js +21 -0
  54. package/resources/agent-gateways/index.js.map +1 -0
  55. package/resources/agent-gateways/index.mjs +10 -0
  56. package/resources/agent-gateways/index.mjs.map +1 -0
  57. package/resources/agent-gateways/keys/index.d.mts +3 -0
  58. package/resources/agent-gateways/keys/index.d.mts.map +1 -0
  59. package/resources/agent-gateways/keys/index.d.ts +3 -0
  60. package/resources/agent-gateways/keys/index.d.ts.map +1 -0
  61. package/resources/agent-gateways/keys/index.js +9 -0
  62. package/resources/agent-gateways/keys/index.js.map +1 -0
  63. package/resources/agent-gateways/keys/index.mjs +4 -0
  64. package/resources/agent-gateways/keys/index.mjs.map +1 -0
  65. package/resources/agent-gateways/keys/keys.d.mts +329 -0
  66. package/resources/agent-gateways/keys/keys.d.mts.map +1 -0
  67. package/resources/agent-gateways/keys/keys.d.ts +329 -0
  68. package/resources/agent-gateways/keys/keys.d.ts.map +1 -0
  69. package/resources/agent-gateways/keys/keys.js +99 -0
  70. package/resources/agent-gateways/keys/keys.js.map +1 -0
  71. package/resources/agent-gateways/keys/keys.mjs +94 -0
  72. package/resources/agent-gateways/keys/keys.mjs.map +1 -0
  73. package/resources/agent-gateways/keys/tool-permissions.d.mts +103 -0
  74. package/resources/agent-gateways/keys/tool-permissions.d.mts.map +1 -0
  75. package/resources/agent-gateways/keys/tool-permissions.d.ts +103 -0
  76. package/resources/agent-gateways/keys/tool-permissions.d.ts.map +1 -0
  77. package/resources/agent-gateways/keys/tool-permissions.js +62 -0
  78. package/resources/agent-gateways/keys/tool-permissions.js.map +1 -0
  79. package/resources/agent-gateways/keys/tool-permissions.mjs +58 -0
  80. package/resources/agent-gateways/keys/tool-permissions.mjs.map +1 -0
  81. package/resources/agent-gateways/keys.d.mts +2 -0
  82. package/resources/agent-gateways/keys.d.mts.map +1 -0
  83. package/resources/agent-gateways/keys.d.ts +2 -0
  84. package/resources/agent-gateways/keys.d.ts.map +1 -0
  85. package/resources/agent-gateways/keys.js +6 -0
  86. package/resources/agent-gateways/keys.js.map +1 -0
  87. package/resources/agent-gateways/keys.mjs +3 -0
  88. package/resources/agent-gateways/keys.mjs.map +1 -0
  89. package/resources/agent-gateways/mcp-servers.d.mts +246 -0
  90. package/resources/agent-gateways/mcp-servers.d.mts.map +1 -0
  91. package/resources/agent-gateways/mcp-servers.d.ts +246 -0
  92. package/resources/agent-gateways/mcp-servers.d.ts.map +1 -0
  93. package/resources/agent-gateways/mcp-servers.js +97 -0
  94. package/resources/agent-gateways/mcp-servers.js.map +1 -0
  95. package/resources/agent-gateways/mcp-servers.mjs +93 -0
  96. package/resources/agent-gateways/mcp-servers.mjs.map +1 -0
  97. package/resources/agent-gateways/policies.d.mts +266 -0
  98. package/resources/agent-gateways/policies.d.mts.map +1 -0
  99. package/resources/agent-gateways/policies.d.ts +266 -0
  100. package/resources/agent-gateways/policies.d.ts.map +1 -0
  101. package/resources/agent-gateways/policies.js +97 -0
  102. package/resources/agent-gateways/policies.js.map +1 -0
  103. package/resources/agent-gateways/policies.mjs +93 -0
  104. package/resources/agent-gateways/policies.mjs.map +1 -0
  105. package/resources/agent-gateways/policy-attachments.d.mts +123 -0
  106. package/resources/agent-gateways/policy-attachments.d.mts.map +1 -0
  107. package/resources/agent-gateways/policy-attachments.d.ts +123 -0
  108. package/resources/agent-gateways/policy-attachments.d.ts.map +1 -0
  109. package/resources/agent-gateways/policy-attachments.js +63 -0
  110. package/resources/agent-gateways/policy-attachments.js.map +1 -0
  111. package/resources/agent-gateways/policy-attachments.mjs +59 -0
  112. package/resources/agent-gateways/policy-attachments.mjs.map +1 -0
  113. package/resources/agent-gateways/teams/index.d.mts +3 -0
  114. package/resources/agent-gateways/teams/index.d.mts.map +1 -0
  115. package/resources/agent-gateways/teams/index.d.ts +3 -0
  116. package/resources/agent-gateways/teams/index.d.ts.map +1 -0
  117. package/resources/agent-gateways/teams/index.js +9 -0
  118. package/resources/agent-gateways/teams/index.js.map +1 -0
  119. package/resources/agent-gateways/teams/index.mjs +4 -0
  120. package/resources/agent-gateways/teams/index.mjs.map +1 -0
  121. package/resources/agent-gateways/teams/teams.d.mts +210 -0
  122. package/resources/agent-gateways/teams/teams.d.mts.map +1 -0
  123. package/resources/agent-gateways/teams/teams.d.ts +210 -0
  124. package/resources/agent-gateways/teams/teams.d.ts.map +1 -0
  125. package/resources/agent-gateways/teams/teams.js +98 -0
  126. package/resources/agent-gateways/teams/teams.js.map +1 -0
  127. package/resources/agent-gateways/teams/teams.mjs +93 -0
  128. package/resources/agent-gateways/teams/teams.mjs.map +1 -0
  129. package/resources/agent-gateways/teams/tool-permissions.d.mts +82 -0
  130. package/resources/agent-gateways/teams/tool-permissions.d.mts.map +1 -0
  131. package/resources/agent-gateways/teams/tool-permissions.d.ts +82 -0
  132. package/resources/agent-gateways/teams/tool-permissions.d.ts.map +1 -0
  133. package/resources/agent-gateways/teams/tool-permissions.js +62 -0
  134. package/resources/agent-gateways/teams/tool-permissions.js.map +1 -0
  135. package/resources/agent-gateways/teams/tool-permissions.mjs +58 -0
  136. package/resources/agent-gateways/teams/tool-permissions.mjs.map +1 -0
  137. package/resources/agent-gateways/teams.d.mts +2 -0
  138. package/resources/agent-gateways/teams.d.mts.map +1 -0
  139. package/resources/agent-gateways/teams.d.ts +2 -0
  140. package/resources/agent-gateways/teams.d.ts.map +1 -0
  141. package/resources/agent-gateways/teams.js +6 -0
  142. package/resources/agent-gateways/teams.js.map +1 -0
  143. package/resources/agent-gateways/teams.mjs +3 -0
  144. package/resources/agent-gateways/teams.mjs.map +1 -0
  145. package/resources/agent-gateways.d.mts +2 -0
  146. package/resources/agent-gateways.d.mts.map +1 -0
  147. package/resources/agent-gateways.d.ts +2 -0
  148. package/resources/agent-gateways.d.ts.map +1 -0
  149. package/resources/{tts-integrations.js → agent-gateways.js} +2 -2
  150. package/resources/agent-gateways.js.map +1 -0
  151. package/resources/agent-gateways.mjs +3 -0
  152. package/resources/agent-gateways.mjs.map +1 -0
  153. package/resources/ai/ai.d.mts +9 -4
  154. package/resources/ai/ai.d.mts.map +1 -1
  155. package/resources/ai/ai.d.ts +9 -4
  156. package/resources/ai/ai.d.ts.map +1 -1
  157. package/resources/ai/ai.js.map +1 -1
  158. package/resources/ai/ai.mjs.map +1 -1
  159. package/resources/ai/assistants/assistants.d.mts +204 -108
  160. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  161. package/resources/ai/assistants/assistants.d.ts +204 -108
  162. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  163. package/resources/ai/assistants/assistants.js.map +1 -1
  164. package/resources/ai/assistants/assistants.mjs.map +1 -1
  165. package/resources/ai/assistants/index.d.mts +1 -1
  166. package/resources/ai/assistants/index.d.mts.map +1 -1
  167. package/resources/ai/assistants/index.d.ts +1 -1
  168. package/resources/ai/assistants/index.d.ts.map +1 -1
  169. package/resources/ai/assistants/index.js.map +1 -1
  170. package/resources/ai/assistants/index.mjs.map +1 -1
  171. package/resources/ai/chat.d.mts +3 -5
  172. package/resources/ai/chat.d.mts.map +1 -1
  173. package/resources/ai/chat.d.ts +3 -5
  174. package/resources/ai/chat.d.ts.map +1 -1
  175. package/resources/ai/conversations/conversations.d.mts +27 -2
  176. package/resources/ai/conversations/conversations.d.mts.map +1 -1
  177. package/resources/ai/conversations/conversations.d.ts +27 -2
  178. package/resources/ai/conversations/conversations.d.ts.map +1 -1
  179. package/resources/ai/conversations/conversations.js +23 -1
  180. package/resources/ai/conversations/conversations.js.map +1 -1
  181. package/resources/ai/conversations/conversations.mjs +23 -1
  182. package/resources/ai/conversations/conversations.mjs.map +1 -1
  183. package/resources/ai/conversations/index.d.mts +1 -1
  184. package/resources/ai/conversations/index.d.mts.map +1 -1
  185. package/resources/ai/conversations/index.d.ts +1 -1
  186. package/resources/ai/conversations/index.d.ts.map +1 -1
  187. package/resources/ai/conversations/index.js.map +1 -1
  188. package/resources/ai/conversations/index.mjs.map +1 -1
  189. package/resources/ai/index.d.mts +2 -2
  190. package/resources/ai/index.d.mts.map +1 -1
  191. package/resources/ai/index.d.ts +2 -2
  192. package/resources/ai/index.d.ts.map +1 -1
  193. package/resources/ai/index.js.map +1 -1
  194. package/resources/ai/index.mjs.map +1 -1
  195. package/resources/ai/memory/namespaces/index.d.mts +2 -2
  196. package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
  197. package/resources/ai/memory/namespaces/index.d.ts +2 -2
  198. package/resources/ai/memory/namespaces/index.d.ts.map +1 -1
  199. package/resources/ai/memory/namespaces/index.js.map +1 -1
  200. package/resources/ai/memory/namespaces/index.mjs +1 -1
  201. package/resources/ai/memory/namespaces/index.mjs.map +1 -1
  202. package/resources/ai/memory/namespaces/namespaces.d.mts +4 -4
  203. package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
  204. package/resources/ai/memory/namespaces/namespaces.d.ts +4 -4
  205. package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
  206. package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
  207. package/resources/ai/memory/namespaces/namespaces.mjs +1 -1
  208. package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
  209. package/resources/ai/memory/namespaces/profiles/index.d.mts +1 -1
  210. package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -1
  211. package/resources/ai/memory/namespaces/profiles/index.d.ts +1 -1
  212. package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -1
  213. package/resources/ai/memory/namespaces/profiles/index.js.map +1 -1
  214. package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -1
  215. package/resources/ai/memory/namespaces/profiles/profiles.d.mts +23 -5
  216. package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
  217. package/resources/ai/memory/namespaces/profiles/profiles.d.ts +23 -5
  218. package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -1
  219. package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -1
  220. package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -1
  221. package/resources/ai/memory/namespaces/settings.d.mts +23 -27
  222. package/resources/ai/memory/namespaces/settings.d.mts.map +1 -1
  223. package/resources/ai/memory/namespaces/settings.d.ts +23 -27
  224. package/resources/ai/memory/namespaces/settings.d.ts.map +1 -1
  225. package/resources/ai/openai/chat.d.mts +3 -5
  226. package/resources/ai/openai/chat.d.mts.map +1 -1
  227. package/resources/ai/openai/chat.d.ts +3 -5
  228. package/resources/ai/openai/chat.d.ts.map +1 -1
  229. package/resources/ai/tests/test-framework/v1/v1.d.mts +15 -5
  230. package/resources/ai/tests/test-framework/v1/v1.d.mts.map +1 -1
  231. package/resources/ai/tests/test-framework/v1/v1.d.ts +15 -5
  232. package/resources/ai/tests/test-framework/v1/v1.d.ts.map +1 -1
  233. package/resources/ai/tools.d.mts +222 -0
  234. package/resources/ai/tools.d.mts.map +1 -1
  235. package/resources/ai/tools.d.ts +222 -0
  236. package/resources/ai/tools.d.ts.map +1 -1
  237. package/resources/browser-sessions/actions.d.mts +13 -7
  238. package/resources/browser-sessions/actions.d.mts.map +1 -1
  239. package/resources/browser-sessions/actions.d.ts +13 -7
  240. package/resources/browser-sessions/actions.d.ts.map +1 -1
  241. package/resources/browser-sessions/browser-sessions.d.mts +6 -2
  242. package/resources/browser-sessions/browser-sessions.d.mts.map +1 -1
  243. package/resources/browser-sessions/browser-sessions.d.ts +6 -2
  244. package/resources/browser-sessions/browser-sessions.d.ts.map +1 -1
  245. package/resources/calendar-connections/calendar-connections.d.mts +380 -0
  246. package/resources/calendar-connections/calendar-connections.d.mts.map +1 -0
  247. package/resources/calendar-connections/calendar-connections.d.ts +380 -0
  248. package/resources/calendar-connections/calendar-connections.d.ts.map +1 -0
  249. package/resources/calendar-connections/calendar-connections.js +102 -0
  250. package/resources/calendar-connections/calendar-connections.js.map +1 -0
  251. package/resources/calendar-connections/calendar-connections.mjs +97 -0
  252. package/resources/calendar-connections/calendar-connections.mjs.map +1 -0
  253. package/resources/calendar-connections/index.d.mts +3 -0
  254. package/resources/calendar-connections/index.d.mts.map +1 -0
  255. package/resources/calendar-connections/index.d.ts +3 -0
  256. package/resources/calendar-connections/index.d.ts.map +1 -0
  257. package/resources/calendar-connections/index.js +9 -0
  258. package/resources/calendar-connections/index.js.map +1 -0
  259. package/resources/calendar-connections/index.mjs +4 -0
  260. package/resources/calendar-connections/index.mjs.map +1 -0
  261. package/resources/calendar-connections/meetings.d.mts +149 -0
  262. package/resources/calendar-connections/meetings.d.mts.map +1 -0
  263. package/resources/calendar-connections/meetings.d.ts +149 -0
  264. package/resources/calendar-connections/meetings.d.ts.map +1 -0
  265. package/resources/calendar-connections/meetings.js +47 -0
  266. package/resources/calendar-connections/meetings.js.map +1 -0
  267. package/resources/calendar-connections/meetings.mjs +43 -0
  268. package/resources/calendar-connections/meetings.mjs.map +1 -0
  269. package/resources/calendar-connections.d.mts +2 -0
  270. package/resources/calendar-connections.d.mts.map +1 -0
  271. package/resources/calendar-connections.d.ts +2 -0
  272. package/resources/calendar-connections.d.ts.map +1 -0
  273. package/resources/calendar-connections.js +6 -0
  274. package/resources/calendar-connections.js.map +1 -0
  275. package/resources/calendar-connections.mjs +3 -0
  276. package/resources/calendar-connections.mjs.map +1 -0
  277. package/resources/calls/actions.d.mts +11 -5
  278. package/resources/calls/actions.d.mts.map +1 -1
  279. package/resources/calls/actions.d.ts +11 -5
  280. package/resources/calls/actions.d.ts.map +1 -1
  281. package/resources/calls/calls.d.mts +4 -4
  282. package/resources/calls/calls.d.mts.map +1 -1
  283. package/resources/calls/calls.d.ts +4 -4
  284. package/resources/calls/calls.d.ts.map +1 -1
  285. package/resources/calls/calls.js.map +1 -1
  286. package/resources/calls/calls.mjs.map +1 -1
  287. package/resources/calls/index.d.mts +1 -1
  288. package/resources/calls/index.d.mts.map +1 -1
  289. package/resources/calls/index.d.ts +1 -1
  290. package/resources/calls/index.d.ts.map +1 -1
  291. package/resources/calls/index.js.map +1 -1
  292. package/resources/calls/index.mjs.map +1 -1
  293. package/resources/compute/funcs/export.d.mts +33 -35
  294. package/resources/compute/funcs/export.d.mts.map +1 -1
  295. package/resources/compute/funcs/export.d.ts +33 -35
  296. package/resources/compute/funcs/export.d.ts.map +1 -1
  297. package/resources/compute/funcs/funcs.d.mts +2 -2
  298. package/resources/compute/funcs/funcs.d.mts.map +1 -1
  299. package/resources/compute/funcs/funcs.d.ts +2 -2
  300. package/resources/compute/funcs/funcs.d.ts.map +1 -1
  301. package/resources/compute/funcs/funcs.js.map +1 -1
  302. package/resources/compute/funcs/funcs.mjs.map +1 -1
  303. package/resources/compute/funcs/index.d.mts +1 -1
  304. package/resources/compute/funcs/index.d.mts.map +1 -1
  305. package/resources/compute/funcs/index.d.ts +1 -1
  306. package/resources/compute/funcs/index.d.ts.map +1 -1
  307. package/resources/compute/funcs/index.js.map +1 -1
  308. package/resources/compute/funcs/index.mjs +1 -1
  309. package/resources/compute/funcs/index.mjs.map +1 -1
  310. package/resources/conferences/actions.d.mts +1 -1
  311. package/resources/conferences/actions.d.mts.map +1 -1
  312. package/resources/conferences/actions.d.ts +1 -1
  313. package/resources/conferences/actions.d.ts.map +1 -1
  314. package/resources/email/dedicated-ips/dedicated-ips.d.mts.map +1 -1
  315. package/resources/email/dedicated-ips/dedicated-ips.d.ts.map +1 -1
  316. package/resources/email/dedicated-ips/dedicated-ips.js +2 -2
  317. package/resources/email/dedicated-ips/dedicated-ips.js.map +1 -1
  318. package/resources/email/dedicated-ips/dedicated-ips.mjs +2 -2
  319. package/resources/email/dedicated-ips/dedicated-ips.mjs.map +1 -1
  320. package/resources/email-events.d.mts +84 -106
  321. package/resources/email-events.d.mts.map +1 -1
  322. package/resources/email-events.d.ts +84 -106
  323. package/resources/email-events.d.ts.map +1 -1
  324. package/resources/email-events.js +5 -1
  325. package/resources/email-events.js.map +1 -1
  326. package/resources/email-events.mjs +5 -1
  327. package/resources/email-events.mjs.map +1 -1
  328. package/resources/email-messages/email-messages.d.mts +1 -7
  329. package/resources/email-messages/email-messages.d.mts.map +1 -1
  330. package/resources/email-messages/email-messages.d.ts +1 -7
  331. package/resources/email-messages/email-messages.d.ts.map +1 -1
  332. package/resources/email-messages/email-messages.js.map +1 -1
  333. package/resources/email-messages/email-messages.mjs.map +1 -1
  334. package/resources/email-templates.d.mts +16 -70
  335. package/resources/email-templates.d.mts.map +1 -1
  336. package/resources/email-templates.d.ts +16 -70
  337. package/resources/email-templates.d.ts.map +1 -1
  338. package/resources/enterprises/enterprises.d.mts +2 -2
  339. package/resources/enterprises/enterprises.d.mts.map +1 -1
  340. package/resources/enterprises/enterprises.d.ts +2 -2
  341. package/resources/enterprises/enterprises.d.ts.map +1 -1
  342. package/resources/enterprises/enterprises.js.map +1 -1
  343. package/resources/enterprises/enterprises.mjs.map +1 -1
  344. package/resources/enterprises/index.d.mts +1 -1
  345. package/resources/enterprises/index.d.mts.map +1 -1
  346. package/resources/enterprises/index.d.ts +1 -1
  347. package/resources/enterprises/index.d.ts.map +1 -1
  348. package/resources/enterprises/index.js.map +1 -1
  349. package/resources/enterprises/index.mjs.map +1 -1
  350. package/resources/enterprises/reputation/external-verification.d.mts +26 -29
  351. package/resources/enterprises/reputation/external-verification.d.mts.map +1 -1
  352. package/resources/enterprises/reputation/external-verification.d.ts +26 -29
  353. package/resources/enterprises/reputation/external-verification.d.ts.map +1 -1
  354. package/resources/enterprises/reputation/external-verification.js +3 -3
  355. package/resources/enterprises/reputation/external-verification.js.map +1 -1
  356. package/resources/enterprises/reputation/external-verification.mjs +1 -1
  357. package/resources/enterprises/reputation/external-verification.mjs.map +1 -1
  358. package/resources/enterprises/reputation/index.d.mts +1 -1
  359. package/resources/enterprises/reputation/index.d.mts.map +1 -1
  360. package/resources/enterprises/reputation/index.d.ts +1 -1
  361. package/resources/enterprises/reputation/index.d.ts.map +1 -1
  362. package/resources/enterprises/reputation/index.js +2 -2
  363. package/resources/enterprises/reputation/index.js.map +1 -1
  364. package/resources/enterprises/reputation/index.mjs +1 -1
  365. package/resources/enterprises/reputation/index.mjs.map +1 -1
  366. package/resources/enterprises/reputation/reputation.d.mts +3 -3
  367. package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
  368. package/resources/enterprises/reputation/reputation.d.ts +3 -3
  369. package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
  370. package/resources/enterprises/reputation/reputation.js +2 -2
  371. package/resources/enterprises/reputation/reputation.js.map +1 -1
  372. package/resources/enterprises/reputation/reputation.mjs +3 -3
  373. package/resources/enterprises/reputation/reputation.mjs.map +1 -1
  374. package/resources/enterprises/verify-email.d.mts +27 -29
  375. package/resources/enterprises/verify-email.d.mts.map +1 -1
  376. package/resources/enterprises/verify-email.d.ts +27 -29
  377. package/resources/enterprises/verify-email.d.ts.map +1 -1
  378. package/resources/index.d.mts +9 -6
  379. package/resources/index.d.mts.map +1 -1
  380. package/resources/index.d.ts +9 -6
  381. package/resources/index.d.ts.map +1 -1
  382. package/resources/index.js +13 -6
  383. package/resources/index.js.map +1 -1
  384. package/resources/index.mjs +4 -1
  385. package/resources/index.mjs.map +1 -1
  386. package/resources/meeting-bot/calendar.d.mts +34 -0
  387. package/resources/meeting-bot/calendar.d.mts.map +1 -0
  388. package/resources/meeting-bot/calendar.d.ts +34 -0
  389. package/resources/meeting-bot/calendar.d.ts.map +1 -0
  390. package/resources/meeting-bot/calendar.js +26 -0
  391. package/resources/meeting-bot/calendar.js.map +1 -0
  392. package/resources/meeting-bot/calendar.mjs +22 -0
  393. package/resources/meeting-bot/calendar.mjs.map +1 -0
  394. package/resources/meeting-bot/index.d.mts +3 -0
  395. package/resources/meeting-bot/index.d.mts.map +1 -0
  396. package/resources/meeting-bot/index.d.ts +3 -0
  397. package/resources/meeting-bot/index.d.ts.map +1 -0
  398. package/resources/meeting-bot/index.js +9 -0
  399. package/resources/meeting-bot/index.js.map +1 -0
  400. package/resources/meeting-bot/index.mjs +4 -0
  401. package/resources/meeting-bot/index.mjs.map +1 -0
  402. package/resources/meeting-bot/meeting-bot.d.mts +10 -0
  403. package/resources/meeting-bot/meeting-bot.d.mts.map +1 -0
  404. package/resources/meeting-bot/meeting-bot.d.ts +10 -0
  405. package/resources/meeting-bot/meeting-bot.d.ts.map +1 -0
  406. package/resources/meeting-bot/meeting-bot.js +17 -0
  407. package/resources/meeting-bot/meeting-bot.js.map +1 -0
  408. package/resources/meeting-bot/meeting-bot.mjs +12 -0
  409. package/resources/meeting-bot/meeting-bot.mjs.map +1 -0
  410. package/resources/meeting-bot.d.mts +2 -0
  411. package/resources/meeting-bot.d.mts.map +1 -0
  412. package/resources/meeting-bot.d.ts +2 -0
  413. package/resources/meeting-bot.d.ts.map +1 -0
  414. package/resources/meeting-bot.js +6 -0
  415. package/resources/meeting-bot.js.map +1 -0
  416. package/resources/meeting-bot.mjs +3 -0
  417. package/resources/meeting-bot.mjs.map +1 -0
  418. package/resources/meeting-sessions/actions.d.mts +17 -11
  419. package/resources/meeting-sessions/actions.d.mts.map +1 -1
  420. package/resources/meeting-sessions/actions.d.ts +17 -11
  421. package/resources/meeting-sessions/actions.d.ts.map +1 -1
  422. package/resources/meeting-sessions/actions.js +14 -10
  423. package/resources/meeting-sessions/actions.js.map +1 -1
  424. package/resources/meeting-sessions/actions.mjs +14 -10
  425. package/resources/meeting-sessions/actions.mjs.map +1 -1
  426. package/resources/meeting-sessions/artifacts.d.mts +8 -7
  427. package/resources/meeting-sessions/artifacts.d.mts.map +1 -1
  428. package/resources/meeting-sessions/artifacts.d.ts +8 -7
  429. package/resources/meeting-sessions/artifacts.d.ts.map +1 -1
  430. package/resources/meeting-sessions/artifacts.js +8 -7
  431. package/resources/meeting-sessions/artifacts.js.map +1 -1
  432. package/resources/meeting-sessions/artifacts.mjs +8 -7
  433. package/resources/meeting-sessions/artifacts.mjs.map +1 -1
  434. package/resources/meeting-sessions/index.d.mts +1 -1
  435. package/resources/meeting-sessions/index.d.mts.map +1 -1
  436. package/resources/meeting-sessions/index.d.ts +1 -1
  437. package/resources/meeting-sessions/index.d.ts.map +1 -1
  438. package/resources/meeting-sessions/index.js.map +1 -1
  439. package/resources/meeting-sessions/index.mjs.map +1 -1
  440. package/resources/meeting-sessions/meeting-sessions.d.mts +281 -103
  441. package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
  442. package/resources/meeting-sessions/meeting-sessions.d.ts +281 -103
  443. package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
  444. package/resources/meeting-sessions/meeting-sessions.js +53 -21
  445. package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
  446. package/resources/meeting-sessions/meeting-sessions.mjs +53 -21
  447. package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
  448. package/resources/messages/messages.d.mts +32 -2
  449. package/resources/messages/messages.d.mts.map +1 -1
  450. package/resources/messages/messages.d.ts +32 -2
  451. package/resources/messages/messages.d.ts.map +1 -1
  452. package/resources/messages/messages.js.map +1 -1
  453. package/resources/messages/messages.mjs.map +1 -1
  454. package/resources/messaging-profiles/messaging-profiles.d.mts +11 -0
  455. package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
  456. package/resources/messaging-profiles/messaging-profiles.d.ts +11 -0
  457. package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
  458. package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
  459. package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
  460. package/resources/number-lookup.d.mts +5 -0
  461. package/resources/number-lookup.d.mts.map +1 -1
  462. package/resources/number-lookup.d.ts +5 -0
  463. package/resources/number-lookup.d.ts.map +1 -1
  464. package/resources/pay-connectors.d.mts +7 -7
  465. package/resources/pay-connectors.d.mts.map +1 -1
  466. package/resources/pay-connectors.d.ts +7 -7
  467. package/resources/pay-connectors.d.ts.map +1 -1
  468. package/resources/phone-numbers/index.d.mts +1 -1
  469. package/resources/phone-numbers/index.d.mts.map +1 -1
  470. package/resources/phone-numbers/index.d.ts +1 -1
  471. package/resources/phone-numbers/index.d.ts.map +1 -1
  472. package/resources/phone-numbers/index.js.map +1 -1
  473. package/resources/phone-numbers/index.mjs.map +1 -1
  474. package/resources/phone-numbers/jobs.d.mts +21 -57
  475. package/resources/phone-numbers/jobs.d.mts.map +1 -1
  476. package/resources/phone-numbers/jobs.d.ts +21 -57
  477. package/resources/phone-numbers/jobs.d.ts.map +1 -1
  478. package/resources/phone-numbers/phone-numbers.d.mts +2 -2
  479. package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
  480. package/resources/phone-numbers/phone-numbers.d.ts +2 -2
  481. package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
  482. package/resources/phone-numbers/phone-numbers.js.map +1 -1
  483. package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
  484. package/resources/portouts/portouts.d.mts +2 -1
  485. package/resources/portouts/portouts.d.mts.map +1 -1
  486. package/resources/portouts/portouts.d.ts +2 -1
  487. package/resources/portouts/portouts.d.ts.map +1 -1
  488. package/resources/portouts/portouts.js +2 -1
  489. package/resources/portouts/portouts.js.map +1 -1
  490. package/resources/portouts/portouts.mjs +2 -1
  491. package/resources/portouts/portouts.mjs.map +1 -1
  492. package/resources/telephony-credentials.d.mts +54 -24
  493. package/resources/telephony-credentials.d.mts.map +1 -1
  494. package/resources/telephony-credentials.d.ts +54 -24
  495. package/resources/telephony-credentials.d.ts.map +1 -1
  496. package/resources/telephony-credentials.js +31 -27
  497. package/resources/telephony-credentials.js.map +1 -1
  498. package/resources/telephony-credentials.mjs +31 -27
  499. package/resources/telephony-credentials.mjs.map +1 -1
  500. package/resources/text-to-speech/text-to-speech.d.mts +45 -5
  501. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  502. package/resources/text-to-speech/text-to-speech.d.ts +45 -5
  503. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  504. package/resources/text-to-speech/text-to-speech.js +8 -2
  505. package/resources/text-to-speech/text-to-speech.js.map +1 -1
  506. package/resources/text-to-speech/text-to-speech.mjs +8 -2
  507. package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
  508. package/resources/user-profile.d.mts +284 -0
  509. package/resources/user-profile.d.mts.map +1 -0
  510. package/resources/user-profile.d.ts +284 -0
  511. package/resources/user-profile.d.ts.map +1 -0
  512. package/resources/user-profile.js +42 -0
  513. package/resources/user-profile.js.map +1 -0
  514. package/resources/user-profile.mjs +38 -0
  515. package/resources/user-profile.mjs.map +1 -0
  516. package/resources/voice-clones.d.mts +4 -4
  517. package/resources/voice-clones.d.mts.map +1 -1
  518. package/resources/voice-clones.d.ts +4 -4
  519. package/resources/voice-clones.d.ts.map +1 -1
  520. package/resources/webhooks.d.mts +139 -23
  521. package/resources/webhooks.d.mts.map +1 -1
  522. package/resources/webhooks.d.ts +139 -23
  523. package/resources/webhooks.d.ts.map +1 -1
  524. package/resources/whatsapp/business-accounts/business-accounts.d.mts +2 -2
  525. package/resources/whatsapp/business-accounts/business-accounts.d.mts.map +1 -1
  526. package/resources/whatsapp/business-accounts/business-accounts.d.ts +2 -2
  527. package/resources/whatsapp/business-accounts/business-accounts.d.ts.map +1 -1
  528. package/resources/whatsapp/business-accounts/business-accounts.js.map +1 -1
  529. package/resources/whatsapp/business-accounts/business-accounts.mjs.map +1 -1
  530. package/resources/whatsapp/business-accounts/index.d.mts +1 -1
  531. package/resources/whatsapp/business-accounts/index.d.mts.map +1 -1
  532. package/resources/whatsapp/business-accounts/index.d.ts +1 -1
  533. package/resources/whatsapp/business-accounts/index.d.ts.map +1 -1
  534. package/resources/whatsapp/business-accounts/index.js.map +1 -1
  535. package/resources/whatsapp/business-accounts/index.mjs.map +1 -1
  536. package/resources/whatsapp/business-accounts/phone-numbers.d.mts +7 -66
  537. package/resources/whatsapp/business-accounts/phone-numbers.d.mts.map +1 -1
  538. package/resources/whatsapp/business-accounts/phone-numbers.d.ts +7 -66
  539. package/resources/whatsapp/business-accounts/phone-numbers.d.ts.map +1 -1
  540. package/resources/whatsapp/business-accounts/phone-numbers.js +1 -1
  541. package/resources/whatsapp/business-accounts/phone-numbers.js.map +1 -1
  542. package/resources/whatsapp/business-accounts/phone-numbers.mjs +1 -1
  543. package/resources/whatsapp/business-accounts/phone-numbers.mjs.map +1 -1
  544. package/resources/whatsapp/hosted-signups.d.mts +11 -73
  545. package/resources/whatsapp/hosted-signups.d.mts.map +1 -1
  546. package/resources/whatsapp/hosted-signups.d.ts +11 -73
  547. package/resources/whatsapp/hosted-signups.d.ts.map +1 -1
  548. package/resources/whatsapp/hosted-signups.js +5 -2
  549. package/resources/whatsapp/hosted-signups.js.map +1 -1
  550. package/resources/whatsapp/hosted-signups.mjs +5 -2
  551. package/resources/whatsapp/hosted-signups.mjs.map +1 -1
  552. package/resources/whatsapp/index.d.mts +2 -2
  553. package/resources/whatsapp/index.d.mts.map +1 -1
  554. package/resources/whatsapp/index.d.ts +2 -2
  555. package/resources/whatsapp/index.d.ts.map +1 -1
  556. package/resources/whatsapp/phone-numbers/index.d.mts +1 -1
  557. package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
  558. package/resources/whatsapp/phone-numbers/index.d.ts +1 -1
  559. package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
  560. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +9 -135
  561. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
  562. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +9 -135
  563. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
  564. package/resources/whatsapp/phone-numbers/phone-numbers.js +1 -1
  565. package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
  566. package/resources/whatsapp/phone-numbers/phone-numbers.mjs +1 -1
  567. package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
  568. package/resources/whatsapp/whatsapp.d.mts +4 -4
  569. package/resources/whatsapp/whatsapp.d.mts.map +1 -1
  570. package/resources/whatsapp/whatsapp.d.ts +4 -4
  571. package/resources/whatsapp/whatsapp.d.ts.map +1 -1
  572. package/resources/whatsapp/whatsapp.mjs.map +1 -1
  573. package/src/client.ts +103 -6
  574. package/src/core/pagination.ts +58 -0
  575. package/src/lib/login-token.ts +8 -4
  576. package/src/resources/agent-gateways/agent-gateways.ts +605 -0
  577. package/src/resources/agent-gateways/apis.ts +388 -0
  578. package/src/resources/agent-gateways/guardrails.ts +304 -0
  579. package/src/resources/agent-gateways/index.ts +87 -0
  580. package/src/resources/agent-gateways/keys/index.ts +20 -0
  581. package/src/resources/agent-gateways/keys/keys.ts +437 -0
  582. package/src/resources/agent-gateways/keys/tool-permissions.ts +139 -0
  583. package/src/resources/agent-gateways/keys.ts +3 -0
  584. package/src/resources/agent-gateways/mcp-servers.ts +328 -0
  585. package/src/resources/agent-gateways/policies.ts +348 -0
  586. package/src/resources/agent-gateways/policy-attachments.ts +167 -0
  587. package/src/resources/agent-gateways/teams/index.ts +16 -0
  588. package/src/resources/agent-gateways/teams/teams.ts +282 -0
  589. package/src/resources/agent-gateways/teams/tool-permissions.ts +112 -0
  590. package/src/resources/agent-gateways/teams.ts +3 -0
  591. package/src/resources/{tts-integrations.ts → agent-gateways.ts} +1 -1
  592. package/src/resources/ai/ai.ts +12 -0
  593. package/src/resources/ai/assistants/assistants.ts +241 -143
  594. package/src/resources/ai/assistants/index.ts +2 -0
  595. package/src/resources/ai/chat.ts +3 -5
  596. package/src/resources/ai/conversations/conversations.ts +39 -1
  597. package/src/resources/ai/conversations/index.ts +1 -0
  598. package/src/resources/ai/index.ts +3 -0
  599. package/src/resources/ai/memory/namespaces/index.ts +8 -1
  600. package/src/resources/ai/memory/namespaces/namespaces.ts +11 -1
  601. package/src/resources/ai/memory/namespaces/profiles/index.ts +1 -0
  602. package/src/resources/ai/memory/namespaces/profiles/profiles.ts +29 -4
  603. package/src/resources/ai/memory/namespaces/settings.ts +25 -27
  604. package/src/resources/ai/openai/chat.ts +3 -5
  605. package/src/resources/ai/tests/test-framework/v1/v1.ts +5 -5
  606. package/src/resources/ai/tools.ts +366 -0
  607. package/src/resources/browser-sessions/actions.ts +7 -7
  608. package/src/resources/browser-sessions/browser-sessions.ts +2 -2
  609. package/src/resources/calendar-connections/calendar-connections.ts +486 -0
  610. package/src/resources/calendar-connections/index.ts +21 -0
  611. package/src/resources/calendar-connections/meetings.ts +205 -0
  612. package/src/resources/calendar-connections.ts +3 -0
  613. package/src/resources/calls/actions.ts +16 -4
  614. package/src/resources/calls/calls.ts +6 -2
  615. package/src/resources/calls/index.ts +1 -0
  616. package/src/resources/compute/funcs/export.ts +41 -42
  617. package/src/resources/compute/funcs/funcs.ts +2 -1
  618. package/src/resources/compute/funcs/index.ts +6 -1
  619. package/src/resources/conferences/actions.ts +2 -1
  620. package/src/resources/email/dedicated-ips/dedicated-ips.ts +3 -2
  621. package/src/resources/email-events.ts +128 -147
  622. package/src/resources/email-messages/email-messages.ts +1 -7
  623. package/src/resources/email-templates.ts +17 -78
  624. package/src/resources/enterprises/enterprises.ts +2 -0
  625. package/src/resources/enterprises/index.ts +1 -0
  626. package/src/resources/enterprises/reputation/external-verification.ts +32 -34
  627. package/src/resources/enterprises/reputation/index.ts +2 -1
  628. package/src/resources/enterprises/reputation/reputation.ts +6 -4
  629. package/src/resources/enterprises/verify-email.ts +29 -30
  630. package/src/resources/index.ts +40 -1
  631. package/src/resources/meeting-bot/calendar.ts +54 -0
  632. package/src/resources/meeting-bot/index.ts +8 -0
  633. package/src/resources/meeting-bot/meeting-bot.ts +23 -0
  634. package/src/resources/meeting-bot.ts +3 -0
  635. package/src/resources/meeting-sessions/actions.ts +17 -11
  636. package/src/resources/meeting-sessions/artifacts.ts +8 -7
  637. package/src/resources/meeting-sessions/index.ts +4 -0
  638. package/src/resources/meeting-sessions/meeting-sessions.ts +321 -102
  639. package/src/resources/messages/messages.ts +32 -2
  640. package/src/resources/messaging-profiles/messaging-profiles.ts +12 -0
  641. package/src/resources/number-lookup.ts +6 -0
  642. package/src/resources/pay-connectors.ts +7 -7
  643. package/src/resources/phone-numbers/index.ts +2 -0
  644. package/src/resources/phone-numbers/jobs.ts +22 -60
  645. package/src/resources/phone-numbers/phone-numbers.ts +4 -0
  646. package/src/resources/portouts/portouts.ts +2 -1
  647. package/src/resources/telephony-credentials.ts +74 -41
  648. package/src/resources/text-to-speech/text-to-speech.ts +81 -5
  649. package/src/resources/user-profile.ts +357 -0
  650. package/src/resources/voice-clones.ts +4 -4
  651. package/src/resources/webhooks.ts +226 -20
  652. package/src/resources/whatsapp/business-accounts/business-accounts.ts +0 -4
  653. package/src/resources/whatsapp/business-accounts/index.ts +0 -2
  654. package/src/resources/whatsapp/business-accounts/phone-numbers.ts +7 -98
  655. package/src/resources/whatsapp/hosted-signups.ts +18 -97
  656. package/src/resources/whatsapp/index.ts +4 -4
  657. package/src/resources/whatsapp/phone-numbers/index.ts +2 -2
  658. package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +11 -197
  659. package/src/resources/whatsapp/whatsapp.ts +8 -8
  660. package/src/version.ts +1 -1
  661. package/version.d.mts +1 -1
  662. package/version.d.mts.map +1 -1
  663. package/version.d.ts +1 -1
  664. package/version.d.ts.map +1 -1
  665. package/version.js +1 -1
  666. package/version.js.map +1 -1
  667. package/version.mjs +1 -1
  668. package/version.mjs.map +1 -1
  669. package/resources/tts-integrations/actions.d.mts +0 -4
  670. package/resources/tts-integrations/actions.d.mts.map +0 -1
  671. package/resources/tts-integrations/actions.d.ts +0 -4
  672. package/resources/tts-integrations/actions.d.ts.map +0 -1
  673. package/resources/tts-integrations/actions.js +0 -9
  674. package/resources/tts-integrations/actions.js.map +0 -1
  675. package/resources/tts-integrations/actions.mjs +0 -5
  676. package/resources/tts-integrations/actions.mjs.map +0 -1
  677. package/resources/tts-integrations/index.d.mts +0 -3
  678. package/resources/tts-integrations/index.d.mts.map +0 -1
  679. package/resources/tts-integrations/index.d.ts +0 -3
  680. package/resources/tts-integrations/index.d.ts.map +0 -1
  681. package/resources/tts-integrations/index.js +0 -9
  682. package/resources/tts-integrations/index.js.map +0 -1
  683. package/resources/tts-integrations/index.mjs +0 -4
  684. package/resources/tts-integrations/index.mjs.map +0 -1
  685. package/resources/tts-integrations/tts-integrations.d.mts +0 -10
  686. package/resources/tts-integrations/tts-integrations.d.mts.map +0 -1
  687. package/resources/tts-integrations/tts-integrations.d.ts +0 -10
  688. package/resources/tts-integrations/tts-integrations.d.ts.map +0 -1
  689. package/resources/tts-integrations/tts-integrations.js +0 -17
  690. package/resources/tts-integrations/tts-integrations.js.map +0 -1
  691. package/resources/tts-integrations/tts-integrations.mjs +0 -12
  692. package/resources/tts-integrations/tts-integrations.mjs.map +0 -1
  693. package/resources/tts-integrations.d.mts +0 -2
  694. package/resources/tts-integrations.d.mts.map +0 -1
  695. package/resources/tts-integrations.d.ts +0 -2
  696. package/resources/tts-integrations.d.ts.map +0 -1
  697. package/resources/tts-integrations.js.map +0 -1
  698. package/resources/tts-integrations.mjs +0 -3
  699. package/resources/tts-integrations.mjs.map +0 -1
  700. package/src/resources/tts-integrations/actions.ts +0 -5
  701. package/src/resources/tts-integrations/index.ts +0 -4
  702. package/src/resources/tts-integrations/tts-integrations.ts +0 -15
@@ -1813,6 +1813,22 @@ export interface ExternalLlm {
1813
1813
  */
1814
1814
  certificate_ref?: string;
1815
1815
 
1816
+ /**
1817
+ * Custom HTTP headers Telnyx sets on every request to the external LLM endpoint,
1818
+ * in addition to the authentication header. Keys are header names, values are
1819
+ * static strings. At most 32 headers. Reserved names are rejected:
1820
+ * accept-encoding, authorization, connection, content-encoding, content-length,
1821
+ * content-type, cookie, expect, host, keep-alive, proxy-authenticate,
1822
+ * proxy-authorization, proxy-connection, set-cookie, te, trailer,
1823
+ * transfer-encoding, upgrade, x-host-rewrite, x-request-id, x-trace-id, and any
1824
+ * x-telnyx-_ or x-stainless-_ header; '\_' counts as '-' when names are compared.
1825
+ * Names must be valid HTTP header names (RFC 7230 token, at most 128 characters)
1826
+ * and must not repeat (case-insensitive). Values must be printable ASCII, at most
1827
+ * 4096 characters, with no leading or trailing whitespace. Values are stored as
1828
+ * plain text and returned when the assistant is retrieved.
1829
+ */
1830
+ extra_headers?: { [key: string]: string } | null;
1831
+
1816
1832
  /**
1817
1833
  * When `true`, Telnyx forwards the assistant's dynamic variables to the external
1818
1834
  * LLM endpoint as a top-level `extra_metadata` object on the chat completion
@@ -1857,6 +1873,22 @@ export interface ExternalLlmReq {
1857
1873
  */
1858
1874
  certificate_ref?: string;
1859
1875
 
1876
+ /**
1877
+ * Custom HTTP headers Telnyx sets on every request to the external LLM endpoint,
1878
+ * in addition to the authentication header. Keys are header names, values are
1879
+ * static strings. At most 32 headers. Reserved names are rejected:
1880
+ * accept-encoding, authorization, connection, content-encoding, content-length,
1881
+ * content-type, cookie, expect, host, keep-alive, proxy-authenticate,
1882
+ * proxy-authorization, proxy-connection, set-cookie, te, trailer,
1883
+ * transfer-encoding, upgrade, x-host-rewrite, x-request-id, x-trace-id, and any
1884
+ * x-telnyx-_ or x-stainless-_ header; '\_' counts as '-' when names are compared.
1885
+ * Names must be valid HTTP header names (RFC 7230 token, at most 128 characters)
1886
+ * and must not repeat (case-insensitive). Values must be printable ASCII, at most
1887
+ * 4096 characters, with no leading or trailing whitespace. Values are stored as
1888
+ * plain text and returned when the assistant is retrieved.
1889
+ */
1890
+ extra_headers?: { [key: string]: string } | null;
1891
+
1860
1892
  /**
1861
1893
  * When `true`, Telnyx forwards the assistant's dynamic variables to the external
1862
1894
  * LLM endpoint as a top-level `extra_metadata` object on the chat completion
@@ -2513,8 +2545,20 @@ export interface InferenceEmbeddingInterruptionSettings {
2513
2545
  * thresholds primarily apply to non turn-taking transcription models. For
2514
2546
  * turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
2515
2547
  * transcription end-of-turn settings under `transcription.settings` instead.
2516
- */
2517
- start_speaking_plan?: StartSpeakingPlan;
2548
+ *
2549
+ * Sending any `start_speaking_plan` object — an empty `{}` included (the stored
2550
+ * config fills in field defaults) — engages per-turn transcript matching: on each
2551
+ * turn the transcript tail is evaluated against the configured
2552
+ * `transcription_endpointing_plan` tiers, and the wait is set to the matching
2553
+ * tier's seconds. When the transcript ends without terminal punctuation or a
2554
+ * number and `transcription_endpointing_plan` is set, its
2555
+ * `on_no_punctuation_seconds` tier applies. Only when no tier matches
2556
+ * (`transcription_endpointing_plan` unset or null) does the wait stay on
2557
+ * `wait_seconds`. Setting `start_speaking_plan` to `null` (or omitting it) turns
2558
+ * per-turn matching off entirely, and the assistant starts speaking as soon as
2559
+ * silence is detected.
2560
+ */
2561
+ start_speaking_plan?: StartSpeakingPlan | null;
2518
2562
  }
2519
2563
 
2520
2564
  export interface InferenceEmbeddingVoiceSettings {
@@ -2560,6 +2604,15 @@ export interface InferenceEmbeddingVoiceSettings {
2560
2604
  */
2561
2605
  expressive_mode?: boolean;
2562
2606
 
2607
+ /**
2608
+ * Two-letter ISO 639-1 code of the language the voice speaks, for example `es`.
2609
+ * Only applicable to Soniox and AssemblyAI voices, which speak every language of
2610
+ * their model. AssemblyAI accepts `en`, `es`, `de`, `fr`, `it`, and `pt`, as a
2611
+ * literal code: a dynamic variable is rejected. When unset, the voice speaks
2612
+ * English.
2613
+ */
2614
+ language?: string | null;
2615
+
2563
2616
  /**
2564
2617
  * Enhances recognition for specific languages and dialects during MiniMax TTS
2565
2618
  * synthesis. Default is null (no boost). Set to 'auto' for automatic language
@@ -3157,18 +3210,32 @@ export interface PrivacySettings {
3157
3210
  data_retention?: boolean;
3158
3211
 
3159
3212
  /**
3160
- * Requires every model call made for a web chat turn to be received and served
3161
- * inside your organization's data-locality region, rather than only stored there.
3162
- * Applies to web chat only — voice and messaging assistants are unaffected.
3163
- * Enabling it requires a data-locality region with in-region inference (USA, EU,
3164
- * AUS, UAE; see
3165
- * [Inference regions](https://developers.telnyx.com/docs/inference/models/regions))
3166
- * and Telnyx-hosted models for the assistant, its fallback, and any
3167
- * conversation-flow node that overrides the model; the request is rejected
3168
- * otherwise. Once enabled, send chat requests to your region's API hostname: a
3169
- * request entering the platform in another region is rejected rather than
3213
+ * Requires this assistant's conversations to be processed inside your
3214
+ * organization's data-locality region, rather than only stored there, on every
3215
+ * channel: for web chat, every model call of a turn; for voice, the call's model
3216
+ * calls and the Telnyx-hosted speech services it uses; for SMS and WhatsApp, the
3217
+ * model calls of each turn (how messages travel through carriers is not covered).
3218
+ * Covered processing that cannot be handled in region fails rather than being
3219
+ * served elsewhere. Enabling it requires a data-locality region with in-region
3220
+ * inference (USA, EU, AUS, UAE; see
3221
+ * [Inference regions](https://developers.telnyx.com/docs/inference/models/regions)),
3222
+ * models for the assistant, its fallback, and any conversation-flow node that
3223
+ * overrides the model that are either Telnyx-hosted or a customer-provided
3224
+ * `external_llm` endpoint (third-party model providers are refused), and, when
3225
+ * `insight_settings.model` is set, an insight model available in that region; the
3226
+ * request is rejected otherwise. A voice call fails when it starts if its STT
3227
+ * model or TTS voice is not self-hosted by Telnyx, if the assistant uses a
3228
+ * speech-to-speech model, or if the call's media is anchored outside the region.
3229
+ * URLs Telnyx is configured to call — an `external_llm` endpoint, webhook tools,
3230
+ * Voice API callbacks, or a recording storage destination — are followed as-is:
3231
+ * Telnyx cannot verify where a customer-supplied URL processes requests, and
3232
+ * keeping those steps in your region is your responsibility. Once enabled, send
3233
+ * web chat requests and WebSocket or WebRTC conversations to your region's API
3234
+ * hostname: one entering the platform in another region is refused rather than
3170
3235
  * forwarded, because forwarding it would already have moved the content across the
3171
- * border. Defaults to false.
3236
+ * border. See
3237
+ * [Data residency](https://developers.telnyx.com/docs/inference/data-residency#in-region-processing-for-ai-assistants).
3238
+ * Defaults to false.
3172
3239
  */
3173
3240
  in_transit_data_locality?: boolean;
3174
3241
 
@@ -3311,18 +3378,37 @@ export interface SpeakNodeReq {
3311
3378
  * thresholds primarily apply to non turn-taking transcription models. For
3312
3379
  * turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
3313
3380
  * transcription end-of-turn settings under `transcription.settings` instead.
3381
+ *
3382
+ * Sending any `start_speaking_plan` object — an empty `{}` included (the stored
3383
+ * config fills in field defaults) — engages per-turn transcript matching: on each
3384
+ * turn the transcript tail is evaluated against the configured
3385
+ * `transcription_endpointing_plan` tiers, and the wait is set to the matching
3386
+ * tier's seconds. When the transcript ends without terminal punctuation or a
3387
+ * number and `transcription_endpointing_plan` is set, its
3388
+ * `on_no_punctuation_seconds` tier applies. Only when no tier matches
3389
+ * (`transcription_endpointing_plan` unset or null) does the wait stay on
3390
+ * `wait_seconds`. Setting `start_speaking_plan` to `null` (or omitting it) turns
3391
+ * per-turn matching off entirely, and the assistant starts speaking as soon as
3392
+ * silence is detected.
3314
3393
  */
3315
3394
  export interface StartSpeakingPlan {
3316
3395
  /**
3317
3396
  * Endpointing thresholds used to decide when the user has finished speaking.
3318
3397
  * Applies to non turn-taking transcription models. For `deepgram/flux`, use
3319
3398
  * `transcription.settings.eot_threshold` / `eot_timeout_ms` /
3320
- * `eager_eot_threshold`.
3399
+ * `eager_eot_threshold`. Evaluated per turn, on each caller transcript, only while
3400
+ * `start_speaking_plan` is present: the tier whose suffix matches the transcript
3401
+ * tail is applied (a transcript with no terminal punctuation or number falls
3402
+ * through to `on_no_punctuation_seconds`); with no tiers configured (or a null
3403
+ * nested plan), the per-turn wait stays on `start_speaking_plan.wait_seconds`.
3321
3404
  */
3322
- transcription_endpointing_plan?: TranscriptionEndpointingPlan;
3405
+ transcription_endpointing_plan?: TranscriptionEndpointingPlan | null;
3323
3406
 
3324
3407
  /**
3325
- * Minimum seconds to wait before the assistant starts speaking.
3408
+ * Wait used when per-turn endpointing does not select a tier. While the plan is
3409
+ * present this applies on every turn without a matching tier (including when
3410
+ * `transcription_endpointing_plan` is unset); a matching tier replaces it for that
3411
+ * turn, and a tier may be shorter or longer than this value.
3326
3412
  */
3327
3413
  wait_seconds?: number;
3328
3414
  }
@@ -3362,6 +3448,15 @@ export interface TelephonySettings {
3362
3448
  */
3363
3449
  fallback_destination?: string;
3364
3450
 
3451
+ /**
3452
+ * Milliseconds to wait after an inbound call is answered before the assistant
3453
+ * starts and speaks its greeting. Increase it if the beginning of the greeting is
3454
+ * cut off on some connections (for example, WebRTC calls). When unset (`null`),
3455
+ * the platform default of 250 ms is used. Set to `0` to start without a delay.
3456
+ * Maximum 2000.
3457
+ */
3458
+ greeting_delay_ms?: number | null;
3459
+
3365
3460
  /**
3366
3461
  * The noise suppression engine to use. 'aicoustics' is STT-optimized and
3367
3462
  * recommended for AI assistants (configure through noise_suppression_config). Use
@@ -3716,11 +3811,91 @@ export interface ToolNodeReq {
3716
3811
  type?: 'tool';
3717
3812
  }
3718
3813
 
3814
+ /**
3815
+ * A second speech-to-text model that transcribes alongside `transcription.model`,
3816
+ * and the rule that decides which transcript the assistant uses.
3817
+ */
3818
+ export interface TranscriptionChallenger {
3819
+ /**
3820
+ * The language booster's model. It must be the same kind of model as
3821
+ * `transcription.model`: both streaming (`deepgram/flux`, `deepgram/nova-3`,
3822
+ * `deepgram/nova-2`, `assemblyai/universal-3-6-pro` or its legacy aliases
3823
+ * `assemblyai/universal-3-5-pro` and `assemblyai/universal-streaming`,
3824
+ * `xai/grok-stt`, `soniox/stt-rt-v4`, `soniox/stt-rt-v5`, `humain/realtime`,
3825
+ * `reson8/turns`) or both non-streaming (`azure/fast`, `nvidia/parakeet-v3`,
3826
+ * `omi-health/omi-med-stt-v1`, `cohere/ar-stt`, `distil-whisper/distil-large-v2`,
3827
+ * `openai/whisper-large-v3-turbo`, `telnyx/basira`). It can be the same model as
3828
+ * `transcription.model` on a different `language`.
3829
+ */
3830
+ model:
3831
+ | 'deepgram/flux'
3832
+ | 'deepgram/nova-3'
3833
+ | 'deepgram/nova-2'
3834
+ | 'azure/fast'
3835
+ | 'assemblyai/universal-3-6-pro'
3836
+ | 'assemblyai/universal-3-5-pro'
3837
+ | 'assemblyai/universal-streaming'
3838
+ | 'xai/grok-stt'
3839
+ | 'soniox/stt-rt-v4'
3840
+ | 'soniox/stt-rt-v5'
3841
+ | 'nvidia/parakeet-v3'
3842
+ | 'omi-health/omi-med-stt-v1'
3843
+ | 'humain/realtime'
3844
+ | 'reson8/turns'
3845
+ | 'cohere/ar-stt'
3846
+ | 'telnyx/basira'
3847
+ | 'distil-whisper/distil-large-v2'
3848
+ | 'openai/whisper-large-v3-turbo';
3849
+
3850
+ /**
3851
+ * The language this model transcribes. Omit it or set it to `null` to use the
3852
+ * language of `transcription.model`. The request is rejected when this model
3853
+ * doesn't support the language it would run. It is also rejected when it would run
3854
+ * the same model on the same language as `transcription.model`.
3855
+ */
3856
+ language?: string | null;
3857
+
3858
+ /**
3859
+ * How the assistant picks the transcript it uses. The models are compared on how
3860
+ * complete and confident their transcripts are, not on language, so the rules work
3861
+ * best when both models understand the callers' language.
3862
+ *
3863
+ * - `best_turn` (default): both models transcribe the whole call. Each turn uses
3864
+ * the language booster's transcript only when it scores higher than the
3865
+ * transcript of `transcription.model` (clearly higher with non-streaming
3866
+ * models). With streaming models, `transcription.model` also decides when each
3867
+ * turn ends. Available for every pair.
3868
+ * - `best_engine`: both models transcribe the first turns, then the call continues
3869
+ * alone on the model whose transcripts scored higher. If neither clearly leads,
3870
+ * `transcription.model` continues. Streaming models only.
3871
+ * - `merge_words`: both models transcribe each utterance and their words are
3872
+ * merged, keeping Arabic and English spoken in the same sentence. Available only
3873
+ * for `telnyx/basira` with `cohere/ar-stt`, in either order. The pair runs on
3874
+ * the language that applies to `telnyx/basira` (its own, or that of
3875
+ * `transcription.model`), which must be Arabic (`ar` or an `ar-` locale),
3876
+ * `multi`, or `auto`.
3877
+ */
3878
+ rule?: 'best_turn' | 'best_engine' | 'merge_words';
3879
+
3880
+ /**
3881
+ * Settings for the language booster, with the same fields and limits as
3882
+ * `transcription.settings`. Fields that don't apply to this model's provider are
3883
+ * dropped, and the provider's defaults fill in the rest. Omit it or set it to
3884
+ * `null` to use the settings of `transcription.model` where they apply to this
3885
+ * model.
3886
+ */
3887
+ settings?: TranscriptionSettingsConfig | null;
3888
+ }
3889
+
3719
3890
  /**
3720
3891
  * Endpointing thresholds used to decide when the user has finished speaking.
3721
3892
  * Applies to non turn-taking transcription models. For `deepgram/flux`, use
3722
3893
  * `transcription.settings.eot_threshold` / `eot_timeout_ms` /
3723
- * `eager_eot_threshold`.
3894
+ * `eager_eot_threshold`. Evaluated per turn, on each caller transcript, only while
3895
+ * `start_speaking_plan` is present: the tier whose suffix matches the transcript
3896
+ * tail is applied (a transcript with no terminal punctuation or number falls
3897
+ * through to `on_no_punctuation_seconds`); with no tiers configured (or a null
3898
+ * nested plan), the per-turn wait stays on `start_speaking_plan.wait_seconds`.
3724
3899
  */
3725
3900
  export interface TranscriptionEndpointingPlan {
3726
3901
  /**
@@ -3739,6 +3914,49 @@ export interface TranscriptionEndpointingPlan {
3739
3914
  on_punctuation_seconds?: number;
3740
3915
  }
3741
3916
 
3917
+ /**
3918
+ * A streaming speech-to-text model that takes over transcription when the model in
3919
+ * use fails.
3920
+ */
3921
+ export interface TranscriptionFallbackModel {
3922
+ /**
3923
+ * The fallback model. It must be a streaming model other than
3924
+ * `transcription.model` and the other fallbacks: `deepgram/flux`,
3925
+ * `deepgram/nova-3`, `deepgram/nova-2`, `assemblyai/universal-3-6-pro` (or its
3926
+ * legacy aliases `assemblyai/universal-3-5-pro` and
3927
+ * `assemblyai/universal-streaming`), `xai/grok-stt`, `soniox/stt-rt-v4`,
3928
+ * `soniox/stt-rt-v5`, `humain/realtime`, or `reson8/turns`.
3929
+ */
3930
+ model:
3931
+ | 'deepgram/flux'
3932
+ | 'deepgram/nova-3'
3933
+ | 'deepgram/nova-2'
3934
+ | 'assemblyai/universal-3-6-pro'
3935
+ | 'assemblyai/universal-3-5-pro'
3936
+ | 'assemblyai/universal-streaming'
3937
+ | 'xai/grok-stt'
3938
+ | 'soniox/stt-rt-v4'
3939
+ | 'soniox/stt-rt-v5'
3940
+ | 'humain/realtime'
3941
+ | 'reson8/turns';
3942
+
3943
+ /**
3944
+ * The language the fallback transcribes. Omit it or set it to `null` to use the
3945
+ * language of `transcription.model`. The request is rejected when the fallback
3946
+ * model doesn't support the language it would run.
3947
+ */
3948
+ language?: string | null;
3949
+
3950
+ /**
3951
+ * Settings for the fallback, with the same fields and limits as
3952
+ * `transcription.settings`. Fields that don't apply to this model's provider are
3953
+ * dropped, and the provider's defaults fill in the rest. Omit it or set it to
3954
+ * `null` to use the settings of `transcription.model` where they apply to this
3955
+ * model.
3956
+ */
3957
+ settings?: TranscriptionSettingsConfig | null;
3958
+ }
3959
+
3742
3960
  export interface TranscriptionSettings {
3743
3961
  /**
3744
3962
  * Integration secret identifier for the transcription provider API key. Currently
@@ -3750,7 +3968,7 @@ export interface TranscriptionSettings {
3750
3968
  * A second speech-to-text model that transcribes alongside `transcription.model`,
3751
3969
  * and the rule that decides which transcript the assistant uses.
3752
3970
  */
3753
- challenger?: TranscriptionSettings.Challenger | null;
3971
+ challenger?: TranscriptionChallenger | null;
3754
3972
 
3755
3973
  /**
3756
3974
  * Up to 3 streaming models that take over transcription, in this order, when the
@@ -3762,7 +3980,7 @@ export interface TranscriptionSettings {
3762
3980
  * Can't be combined with `challenger`, the language booster; to replace a stored
3763
3981
  * language booster, send `challenger: null` in the same request.
3764
3982
  */
3765
- fallback_models?: Array<TranscriptionSettings.FallbackModel> | null;
3983
+ fallback_models?: Array<TranscriptionFallbackModel> | null;
3766
3984
 
3767
3985
  /**
3768
3986
  * The language of the audio to be transcribed. If not set, or if set to `auto`,
@@ -3854,127 +4072,6 @@ export interface TranscriptionSettings {
3854
4072
  settings?: TranscriptionSettingsConfig;
3855
4073
  }
3856
4074
 
3857
- export namespace TranscriptionSettings {
3858
- /**
3859
- * A second speech-to-text model that transcribes alongside `transcription.model`,
3860
- * and the rule that decides which transcript the assistant uses.
3861
- */
3862
- export interface Challenger {
3863
- /**
3864
- * The language booster's model. It must be the same kind of model as
3865
- * `transcription.model`: both streaming (`deepgram/flux`, `deepgram/nova-3`,
3866
- * `deepgram/nova-2`, `assemblyai/universal-3-6-pro` or its legacy aliases
3867
- * `assemblyai/universal-3-5-pro` and `assemblyai/universal-streaming`,
3868
- * `xai/grok-stt`, `soniox/stt-rt-v4`, `soniox/stt-rt-v5`, `humain/realtime`,
3869
- * `reson8/turns`) or both non-streaming (`azure/fast`, `nvidia/parakeet-v3`,
3870
- * `omi-health/omi-med-stt-v1`, `cohere/ar-stt`, `distil-whisper/distil-large-v2`,
3871
- * `openai/whisper-large-v3-turbo`, `telnyx/basira`). It can be the same model as
3872
- * `transcription.model` on a different `language`.
3873
- */
3874
- model:
3875
- | 'deepgram/flux'
3876
- | 'deepgram/nova-3'
3877
- | 'deepgram/nova-2'
3878
- | 'azure/fast'
3879
- | 'assemblyai/universal-3-6-pro'
3880
- | 'assemblyai/universal-3-5-pro'
3881
- | 'assemblyai/universal-streaming'
3882
- | 'xai/grok-stt'
3883
- | 'soniox/stt-rt-v4'
3884
- | 'soniox/stt-rt-v5'
3885
- | 'nvidia/parakeet-v3'
3886
- | 'omi-health/omi-med-stt-v1'
3887
- | 'humain/realtime'
3888
- | 'reson8/turns'
3889
- | 'cohere/ar-stt'
3890
- | 'telnyx/basira'
3891
- | 'distil-whisper/distil-large-v2'
3892
- | 'openai/whisper-large-v3-turbo';
3893
-
3894
- /**
3895
- * The language this model transcribes. Omit it or set it to `null` to use the
3896
- * language of `transcription.model`. The request is rejected when this model
3897
- * doesn't support the language it would run. It is also rejected when it would run
3898
- * the same model on the same language as `transcription.model`.
3899
- */
3900
- language?: string | null;
3901
-
3902
- /**
3903
- * How the assistant picks the transcript it uses. The models are compared on how
3904
- * complete and confident their transcripts are, not on language, so the rules work
3905
- * best when both models understand the callers' language.
3906
- *
3907
- * - `best_turn` (default): both models transcribe the whole call. Each turn uses
3908
- * the language booster's transcript only when it scores higher than the
3909
- * transcript of `transcription.model` (clearly higher with non-streaming
3910
- * models). With streaming models, `transcription.model` also decides when each
3911
- * turn ends. Available for every pair.
3912
- * - `best_engine`: both models transcribe the first turns, then the call continues
3913
- * alone on the model whose transcripts scored higher. If neither clearly leads,
3914
- * `transcription.model` continues. Streaming models only.
3915
- * - `merge_words`: both models transcribe each utterance and their words are
3916
- * merged, keeping Arabic and English spoken in the same sentence. Available only
3917
- * for `telnyx/basira` with `cohere/ar-stt`, in either order. The pair runs on
3918
- * the language that applies to `telnyx/basira` (its own, or that of
3919
- * `transcription.model`), which must be Arabic (`ar` or an `ar-` locale),
3920
- * `multi`, or `auto`.
3921
- */
3922
- rule?: 'best_turn' | 'best_engine' | 'merge_words';
3923
-
3924
- /**
3925
- * Settings for the language booster, with the same fields and limits as
3926
- * `transcription.settings`. Fields that don't apply to this model's provider are
3927
- * dropped, and the provider's defaults fill in the rest. Omit it or set it to
3928
- * `null` to use the settings of `transcription.model` where they apply to this
3929
- * model.
3930
- */
3931
- settings?: AssistantsAPI.TranscriptionSettingsConfig | null;
3932
- }
3933
-
3934
- /**
3935
- * A streaming speech-to-text model that takes over transcription when the model in
3936
- * use fails.
3937
- */
3938
- export interface FallbackModel {
3939
- /**
3940
- * The fallback model. It must be a streaming model other than
3941
- * `transcription.model` and the other fallbacks: `deepgram/flux`,
3942
- * `deepgram/nova-3`, `deepgram/nova-2`, `assemblyai/universal-3-6-pro` (or its
3943
- * legacy aliases `assemblyai/universal-3-5-pro` and
3944
- * `assemblyai/universal-streaming`), `xai/grok-stt`, `soniox/stt-rt-v4`,
3945
- * `soniox/stt-rt-v5`, `humain/realtime`, or `reson8/turns`.
3946
- */
3947
- model:
3948
- | 'deepgram/flux'
3949
- | 'deepgram/nova-3'
3950
- | 'deepgram/nova-2'
3951
- | 'assemblyai/universal-3-6-pro'
3952
- | 'assemblyai/universal-3-5-pro'
3953
- | 'assemblyai/universal-streaming'
3954
- | 'xai/grok-stt'
3955
- | 'soniox/stt-rt-v4'
3956
- | 'soniox/stt-rt-v5'
3957
- | 'humain/realtime'
3958
- | 'reson8/turns';
3959
-
3960
- /**
3961
- * The language the fallback transcribes. Omit it or set it to `null` to use the
3962
- * language of `transcription.model`. The request is rejected when the fallback
3963
- * model doesn't support the language it would run.
3964
- */
3965
- language?: string | null;
3966
-
3967
- /**
3968
- * Settings for the fallback, with the same fields and limits as
3969
- * `transcription.settings`. Fields that don't apply to this model's provider are
3970
- * dropped, and the provider's defaults fill in the rest. Omit it or set it to
3971
- * `null` to use the settings of `transcription.model` where they apply to this
3972
- * model.
3973
- */
3974
- settings?: AssistantsAPI.TranscriptionSettingsConfig | null;
3975
- }
3976
- }
3977
-
3978
4075
  export interface TranscriptionSettingsConfig {
3979
4076
  /**
3980
4077
  * Available only for soniox/stt-rt-v4 and soniox/stt-rt-v5. A comma-separated list
@@ -4002,9 +4099,8 @@ export interface TranscriptionSettingsConfig {
4002
4099
  enable_endpoint_detection?: boolean;
4003
4100
 
4004
4101
  /**
4005
- * @deprecated Deprecated and ignored. Accepted for backwards compatibility.
4006
- * AssemblyAI turn detection is configured with min_turn_silence and
4007
- * max_turn_silence.
4102
+ * @deprecated Ignored. Configure AssemblyAI turn detection with min_turn_silence
4103
+ * and max_turn_silence instead.
4008
4104
  */
4009
4105
  end_of_turn_confidence_threshold?: number;
4010
4106
 
@@ -5271,7 +5367,9 @@ export declare namespace Assistants {
5271
5367
  type TelnyxAvatarSettings as TelnyxAvatarSettings,
5272
5368
  type ToolNode as ToolNode,
5273
5369
  type ToolNodeReq as ToolNodeReq,
5370
+ type TranscriptionChallenger as TranscriptionChallenger,
5274
5371
  type TranscriptionEndpointingPlan as TranscriptionEndpointingPlan,
5372
+ type TranscriptionFallbackModel as TranscriptionFallbackModel,
5275
5373
  type TranscriptionSettings as TranscriptionSettings,
5276
5374
  type TranscriptionSettingsConfig as TranscriptionSettingsConfig,
5277
5375
  type TransferTool as TransferTool,
@@ -51,7 +51,9 @@ export {
51
51
  type TelnyxAvatarSettings,
52
52
  type ToolNode,
53
53
  type ToolNodeReq,
54
+ type TranscriptionChallenger,
54
55
  type TranscriptionEndpointingPlan,
56
+ type TranscriptionFallbackModel,
55
57
  type TranscriptionSettings,
56
58
  type TranscriptionSettingsConfig,
57
59
  type TransferTool,
@@ -80,14 +80,12 @@ export interface ChatCompletionRequest {
80
80
  * /v2/ai/openai/models). An omitted limit on an excluded model remains unset even
81
81
  * when metadata declares a ceiling. Input and output together must fit the model's
82
82
  * context window. Set an explicit limit when a bounded generation budget is
83
- * required. For current Telnyx-hosted models, omitted or null limits default to
84
- * 8192 for `zai-org/GLM-5.3`, `zai-org/GLM-5.3-Flash` and
85
- * `deepseek-ai/DeepSeek-V4.1-Flash`. The hosted exclusions are
83
+ * required. For example, omitted or null limits default to 8192 for
84
+ * `zai-org/GLM-5.3` and `zai-org/GLM-5.3-Flash`. Hosted exclusions include
86
85
  * `moonshotai/Kimi-K3`, `moonshotai/Kimi-K2.6`, `moonshotai/Kimi-K2.5`,
87
86
  * `zai-org/GLM-5.2`, `zai-org/GLM-5.1-FP8`, `MiniMaxAI/MiniMax-M3-MXFP8`,
88
87
  * `MiniMaxAI/MiniMax-M2.7`, `Qwen/Qwen3.8-27B`, `Qwen/Qwen3-235B-A22B`,
89
- * `deepseek-ai/DeepSeek-V4-Flash-0731`, `meta-llama/Llama-3.3-70B-Instruct`,
90
- * `meta-llama/Meta-Llama-3.1-70B-Instruct`,
88
+ * `meta-llama/Llama-3.3-70B-Instruct`, `meta-llama/Meta-Llama-3.1-70B-Instruct`,
91
89
  * `meta-llama/Meta-Llama-3.1-8B-Instruct` and `google/gemma-2b-it`. Legacy
92
90
  * external and fine-tuned model IDs can also bypass the default; model discovery
93
91
  * reports completion ceilings, not whether this default applies. Set an explicit
@@ -93,7 +93,11 @@ export class Conversations extends APIResource {
93
93
  }
94
94
 
95
95
  /**
96
- * Delete a specific conversation by its ID.
96
+ * Delete a specific conversation by its ID. Permanently deletes the conversation
97
+ * and its associated data: the conversation's messages, its insight generation
98
+ * results, any conversation memories, and its webhook request logs. Recordings are
99
+ * not deleted — recordings are managed separately through the /v2/recordings
100
+ * endpoints. This action cannot be undone.
97
101
  *
98
102
  * @example
99
103
  * ```ts
@@ -192,6 +196,32 @@ export class Conversations extends APIResource {
192
196
  ]),
193
197
  });
194
198
  }
199
+
200
+ /**
201
+ * Delete one insight generation request for a conversation. Generation results are
202
+ * stored per conversation and per insight template; deleting a request permanently
203
+ * removes the stored result but does not stop insight generation from running
204
+ * again. To remove every insight result for the conversation, delete the
205
+ * conversation itself. A successful delete returns an empty response.
206
+ *
207
+ * @example
208
+ * ```ts
209
+ * await client.ai.conversations.deleteDelete('insight_id', {
210
+ * conversation_id: 'conversation_id',
211
+ * });
212
+ * ```
213
+ */
214
+ deleteDelete(
215
+ insightID: string,
216
+ params: ConversationDeleteDeleteParams,
217
+ options?: RequestOptions,
218
+ ): APIPromise<void> {
219
+ const { conversation_id } = params;
220
+ return this._client.delete(
221
+ path`/ai/conversations/${conversation_id}/conversations-insights/${insightID}`,
222
+ { ...options, headers: buildHeaders([{ Accept: '*/*' }, options?.headers]) },
223
+ );
224
+ }
195
225
  }
196
226
 
197
227
  export interface Conversation {
@@ -442,6 +472,13 @@ export interface ConversationAddMessageParams {
442
472
  'Idempotency-Key'?: string;
443
473
  }
444
474
 
475
+ export interface ConversationDeleteDeleteParams {
476
+ /**
477
+ * Unique identifier of the conversation.
478
+ */
479
+ conversation_id: string;
480
+ }
481
+
445
482
  Conversations.InsightGroups = InsightGroups;
446
483
  Conversations.Insights = Insights;
447
484
  Conversations.Messages = Messages;
@@ -458,6 +495,7 @@ export declare namespace Conversations {
458
495
  type ConversationCreateParams as ConversationCreateParams,
459
496
  type ConversationUpdateParams as ConversationUpdateParams,
460
497
  type ConversationAddMessageParams as ConversationAddMessageParams,
498
+ type ConversationDeleteDeleteParams as ConversationDeleteDeleteParams,
461
499
  };
462
500
 
463
501
  export {
@@ -16,6 +16,7 @@ export {
16
16
  type ConversationCreateParams,
17
17
  type ConversationUpdateParams,
18
18
  type ConversationAddMessageParams,
19
+ type ConversationDeleteDeleteParams,
19
20
  } from './conversations';
20
21
  export {
21
22
  InsightGroups,
@@ -62,7 +62,9 @@ export {
62
62
  type TelnyxAvatarSettings,
63
63
  type ToolNode,
64
64
  type ToolNodeReq,
65
+ type TranscriptionChallenger,
65
66
  type TranscriptionEndpointingPlan,
67
+ type TranscriptionFallbackModel,
66
68
  type TranscriptionSettings,
67
69
  type TranscriptionSettingsConfig,
68
70
  type TransferTool,
@@ -135,6 +137,7 @@ export {
135
137
  type ConversationCreateParams,
136
138
  type ConversationUpdateParams,
137
139
  type ConversationAddMessageParams,
140
+ type ConversationDeleteDeleteParams,
138
141
  } from './conversations/index';
139
142
  export {
140
143
  Embeddings,
@@ -11,6 +11,7 @@ export {
11
11
  } from './namespaces';
12
12
  export {
13
13
  Profiles,
14
+ type AgentMemoryPageMeta,
14
15
  type PageMeta,
15
16
  type ProfileListResponse,
16
17
  type ProfileDeleteResponse,
@@ -28,4 +29,10 @@ export {
28
29
  type ProfilePreviewParams,
29
30
  type ProfileListResponsesDefaultFlatPagination,
30
31
  } from './profiles/index';
31
- export { Settings, type NamespaceSettingsResponse, type SettingPatchAllParams } from './settings';
32
+ export {
33
+ Settings,
34
+ type NamespaceSettings,
35
+ type NamespaceSettingsResponse,
36
+ type SummarySettings,
37
+ type SettingPatchAllParams,
38
+ } from './settings';