telnyx 7.30.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 (357) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/client.d.mts +22 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +22 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +18 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +18 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agent-gateways/agent-gateways.d.mts +360 -0
  12. package/resources/agent-gateways/agent-gateways.d.mts.map +1 -0
  13. package/resources/agent-gateways/agent-gateways.d.ts +360 -0
  14. package/resources/agent-gateways/agent-gateways.d.ts.map +1 -0
  15. package/resources/agent-gateways/agent-gateways.js +140 -0
  16. package/resources/agent-gateways/agent-gateways.js.map +1 -0
  17. package/resources/agent-gateways/agent-gateways.mjs +135 -0
  18. package/resources/agent-gateways/agent-gateways.mjs.map +1 -0
  19. package/resources/agent-gateways/apis.d.mts +300 -0
  20. package/resources/agent-gateways/apis.d.mts.map +1 -0
  21. package/resources/agent-gateways/apis.d.ts +300 -0
  22. package/resources/agent-gateways/apis.d.ts.map +1 -0
  23. package/resources/agent-gateways/apis.js +89 -0
  24. package/resources/agent-gateways/apis.js.map +1 -0
  25. package/resources/agent-gateways/apis.mjs +85 -0
  26. package/resources/agent-gateways/apis.mjs.map +1 -0
  27. package/resources/agent-gateways/guardrails.d.mts +210 -0
  28. package/resources/agent-gateways/guardrails.d.mts.map +1 -0
  29. package/resources/agent-gateways/guardrails.d.ts +210 -0
  30. package/resources/agent-gateways/guardrails.d.ts.map +1 -0
  31. package/resources/agent-gateways/guardrails.js +96 -0
  32. package/resources/agent-gateways/guardrails.js.map +1 -0
  33. package/resources/agent-gateways/guardrails.mjs +92 -0
  34. package/resources/agent-gateways/guardrails.mjs.map +1 -0
  35. package/resources/agent-gateways/index.d.mts +9 -0
  36. package/resources/agent-gateways/index.d.mts.map +1 -0
  37. package/resources/agent-gateways/index.d.ts +9 -0
  38. package/resources/agent-gateways/index.d.ts.map +1 -0
  39. package/resources/agent-gateways/index.js +21 -0
  40. package/resources/agent-gateways/index.js.map +1 -0
  41. package/resources/agent-gateways/index.mjs +10 -0
  42. package/resources/agent-gateways/index.mjs.map +1 -0
  43. package/resources/agent-gateways/keys/index.d.mts +3 -0
  44. package/resources/agent-gateways/keys/index.d.mts.map +1 -0
  45. package/resources/agent-gateways/keys/index.d.ts +3 -0
  46. package/resources/agent-gateways/keys/index.d.ts.map +1 -0
  47. package/resources/agent-gateways/keys/index.js +9 -0
  48. package/resources/agent-gateways/keys/index.js.map +1 -0
  49. package/resources/agent-gateways/keys/index.mjs +4 -0
  50. package/resources/agent-gateways/keys/index.mjs.map +1 -0
  51. package/resources/agent-gateways/keys/keys.d.mts +329 -0
  52. package/resources/agent-gateways/keys/keys.d.mts.map +1 -0
  53. package/resources/agent-gateways/keys/keys.d.ts +329 -0
  54. package/resources/agent-gateways/keys/keys.d.ts.map +1 -0
  55. package/resources/agent-gateways/keys/keys.js +99 -0
  56. package/resources/agent-gateways/keys/keys.js.map +1 -0
  57. package/resources/agent-gateways/keys/keys.mjs +94 -0
  58. package/resources/agent-gateways/keys/keys.mjs.map +1 -0
  59. package/resources/agent-gateways/keys/tool-permissions.d.mts +103 -0
  60. package/resources/agent-gateways/keys/tool-permissions.d.mts.map +1 -0
  61. package/resources/agent-gateways/keys/tool-permissions.d.ts +103 -0
  62. package/resources/agent-gateways/keys/tool-permissions.d.ts.map +1 -0
  63. package/resources/agent-gateways/keys/tool-permissions.js +62 -0
  64. package/resources/agent-gateways/keys/tool-permissions.js.map +1 -0
  65. package/resources/agent-gateways/keys/tool-permissions.mjs +58 -0
  66. package/resources/agent-gateways/keys/tool-permissions.mjs.map +1 -0
  67. package/resources/agent-gateways/keys.d.mts +2 -0
  68. package/resources/agent-gateways/keys.d.mts.map +1 -0
  69. package/resources/agent-gateways/keys.d.ts +2 -0
  70. package/resources/agent-gateways/keys.d.ts.map +1 -0
  71. package/resources/agent-gateways/keys.js +6 -0
  72. package/resources/agent-gateways/keys.js.map +1 -0
  73. package/resources/agent-gateways/keys.mjs +3 -0
  74. package/resources/agent-gateways/keys.mjs.map +1 -0
  75. package/resources/agent-gateways/mcp-servers.d.mts +246 -0
  76. package/resources/agent-gateways/mcp-servers.d.mts.map +1 -0
  77. package/resources/agent-gateways/mcp-servers.d.ts +246 -0
  78. package/resources/agent-gateways/mcp-servers.d.ts.map +1 -0
  79. package/resources/agent-gateways/mcp-servers.js +97 -0
  80. package/resources/agent-gateways/mcp-servers.js.map +1 -0
  81. package/resources/agent-gateways/mcp-servers.mjs +93 -0
  82. package/resources/agent-gateways/mcp-servers.mjs.map +1 -0
  83. package/resources/agent-gateways/policies.d.mts +266 -0
  84. package/resources/agent-gateways/policies.d.mts.map +1 -0
  85. package/resources/agent-gateways/policies.d.ts +266 -0
  86. package/resources/agent-gateways/policies.d.ts.map +1 -0
  87. package/resources/agent-gateways/policies.js +97 -0
  88. package/resources/agent-gateways/policies.js.map +1 -0
  89. package/resources/agent-gateways/policies.mjs +93 -0
  90. package/resources/agent-gateways/policies.mjs.map +1 -0
  91. package/resources/agent-gateways/policy-attachments.d.mts +123 -0
  92. package/resources/agent-gateways/policy-attachments.d.mts.map +1 -0
  93. package/resources/agent-gateways/policy-attachments.d.ts +123 -0
  94. package/resources/agent-gateways/policy-attachments.d.ts.map +1 -0
  95. package/resources/agent-gateways/policy-attachments.js +63 -0
  96. package/resources/agent-gateways/policy-attachments.js.map +1 -0
  97. package/resources/agent-gateways/policy-attachments.mjs +59 -0
  98. package/resources/agent-gateways/policy-attachments.mjs.map +1 -0
  99. package/resources/agent-gateways/teams/index.d.mts +3 -0
  100. package/resources/agent-gateways/teams/index.d.mts.map +1 -0
  101. package/resources/agent-gateways/teams/index.d.ts +3 -0
  102. package/resources/agent-gateways/teams/index.d.ts.map +1 -0
  103. package/resources/agent-gateways/teams/index.js +9 -0
  104. package/resources/agent-gateways/teams/index.js.map +1 -0
  105. package/resources/agent-gateways/teams/index.mjs +4 -0
  106. package/resources/agent-gateways/teams/index.mjs.map +1 -0
  107. package/resources/agent-gateways/teams/teams.d.mts +210 -0
  108. package/resources/agent-gateways/teams/teams.d.mts.map +1 -0
  109. package/resources/agent-gateways/teams/teams.d.ts +210 -0
  110. package/resources/agent-gateways/teams/teams.d.ts.map +1 -0
  111. package/resources/agent-gateways/teams/teams.js +98 -0
  112. package/resources/agent-gateways/teams/teams.js.map +1 -0
  113. package/resources/agent-gateways/teams/teams.mjs +93 -0
  114. package/resources/agent-gateways/teams/teams.mjs.map +1 -0
  115. package/resources/agent-gateways/teams/tool-permissions.d.mts +82 -0
  116. package/resources/agent-gateways/teams/tool-permissions.d.mts.map +1 -0
  117. package/resources/agent-gateways/teams/tool-permissions.d.ts +82 -0
  118. package/resources/agent-gateways/teams/tool-permissions.d.ts.map +1 -0
  119. package/resources/agent-gateways/teams/tool-permissions.js +62 -0
  120. package/resources/agent-gateways/teams/tool-permissions.js.map +1 -0
  121. package/resources/agent-gateways/teams/tool-permissions.mjs +58 -0
  122. package/resources/agent-gateways/teams/tool-permissions.mjs.map +1 -0
  123. package/resources/agent-gateways/teams.d.mts +2 -0
  124. package/resources/agent-gateways/teams.d.mts.map +1 -0
  125. package/resources/agent-gateways/teams.d.ts +2 -0
  126. package/resources/agent-gateways/teams.d.ts.map +1 -0
  127. package/resources/agent-gateways/teams.js +6 -0
  128. package/resources/agent-gateways/teams.js.map +1 -0
  129. package/resources/agent-gateways/teams.mjs +3 -0
  130. package/resources/agent-gateways/teams.mjs.map +1 -0
  131. package/resources/agent-gateways.d.mts +2 -0
  132. package/resources/agent-gateways.d.mts.map +1 -0
  133. package/resources/agent-gateways.d.ts +2 -0
  134. package/resources/agent-gateways.d.ts.map +1 -0
  135. package/resources/agent-gateways.js +6 -0
  136. package/resources/agent-gateways.js.map +1 -0
  137. package/resources/agent-gateways.mjs +3 -0
  138. package/resources/agent-gateways.mjs.map +1 -0
  139. package/resources/ai/assistants/assistants.d.mts +23 -9
  140. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  141. package/resources/ai/assistants/assistants.d.ts +23 -9
  142. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  143. package/resources/ai/assistants/assistants.js.map +1 -1
  144. package/resources/ai/assistants/assistants.mjs.map +1 -1
  145. package/resources/ai/memory/namespaces/index.d.mts +1 -1
  146. package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
  147. package/resources/ai/memory/namespaces/index.d.ts +1 -1
  148. package/resources/ai/memory/namespaces/index.d.ts.map +1 -1
  149. package/resources/ai/memory/namespaces/index.js.map +1 -1
  150. package/resources/ai/memory/namespaces/index.mjs.map +1 -1
  151. package/resources/ai/memory/namespaces/namespaces.d.mts +2 -2
  152. package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
  153. package/resources/ai/memory/namespaces/namespaces.d.ts +2 -2
  154. package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
  155. package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
  156. package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
  157. package/resources/ai/memory/namespaces/profiles/index.d.mts +1 -1
  158. package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -1
  159. package/resources/ai/memory/namespaces/profiles/index.d.ts +1 -1
  160. package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -1
  161. package/resources/ai/memory/namespaces/profiles/index.js.map +1 -1
  162. package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -1
  163. package/resources/ai/memory/namespaces/profiles/profiles.d.mts +20 -2
  164. package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
  165. package/resources/ai/memory/namespaces/profiles/profiles.d.ts +20 -2
  166. package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -1
  167. package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -1
  168. package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -1
  169. package/resources/calendar-connections/calendar-connections.d.mts +380 -0
  170. package/resources/calendar-connections/calendar-connections.d.mts.map +1 -0
  171. package/resources/calendar-connections/calendar-connections.d.ts +380 -0
  172. package/resources/calendar-connections/calendar-connections.d.ts.map +1 -0
  173. package/resources/calendar-connections/calendar-connections.js +102 -0
  174. package/resources/calendar-connections/calendar-connections.js.map +1 -0
  175. package/resources/calendar-connections/calendar-connections.mjs +97 -0
  176. package/resources/calendar-connections/calendar-connections.mjs.map +1 -0
  177. package/resources/calendar-connections/index.d.mts +3 -0
  178. package/resources/calendar-connections/index.d.mts.map +1 -0
  179. package/resources/calendar-connections/index.d.ts +3 -0
  180. package/resources/calendar-connections/index.d.ts.map +1 -0
  181. package/resources/calendar-connections/index.js +9 -0
  182. package/resources/calendar-connections/index.js.map +1 -0
  183. package/resources/calendar-connections/index.mjs +4 -0
  184. package/resources/calendar-connections/index.mjs.map +1 -0
  185. package/resources/calendar-connections/meetings.d.mts +149 -0
  186. package/resources/calendar-connections/meetings.d.mts.map +1 -0
  187. package/resources/calendar-connections/meetings.d.ts +149 -0
  188. package/resources/calendar-connections/meetings.d.ts.map +1 -0
  189. package/resources/calendar-connections/meetings.js +47 -0
  190. package/resources/calendar-connections/meetings.js.map +1 -0
  191. package/resources/calendar-connections/meetings.mjs +43 -0
  192. package/resources/calendar-connections/meetings.mjs.map +1 -0
  193. package/resources/calendar-connections.d.mts +2 -0
  194. package/resources/calendar-connections.d.mts.map +1 -0
  195. package/resources/calendar-connections.d.ts +2 -0
  196. package/resources/calendar-connections.d.ts.map +1 -0
  197. package/resources/calendar-connections.js +6 -0
  198. package/resources/calendar-connections.js.map +1 -0
  199. package/resources/calendar-connections.mjs +3 -0
  200. package/resources/calendar-connections.mjs.map +1 -0
  201. package/resources/calls/actions.d.mts +11 -5
  202. package/resources/calls/actions.d.mts.map +1 -1
  203. package/resources/calls/actions.d.ts +11 -5
  204. package/resources/calls/actions.d.ts.map +1 -1
  205. package/resources/calls/calls.d.mts +4 -4
  206. package/resources/calls/calls.d.mts.map +1 -1
  207. package/resources/calls/calls.d.ts +4 -4
  208. package/resources/calls/calls.d.ts.map +1 -1
  209. package/resources/calls/calls.js.map +1 -1
  210. package/resources/calls/calls.mjs.map +1 -1
  211. package/resources/calls/index.d.mts +1 -1
  212. package/resources/calls/index.d.mts.map +1 -1
  213. package/resources/calls/index.d.ts +1 -1
  214. package/resources/calls/index.d.ts.map +1 -1
  215. package/resources/calls/index.js.map +1 -1
  216. package/resources/calls/index.mjs.map +1 -1
  217. package/resources/conferences/actions.d.mts +1 -1
  218. package/resources/conferences/actions.d.mts.map +1 -1
  219. package/resources/conferences/actions.d.ts +1 -1
  220. package/resources/conferences/actions.d.ts.map +1 -1
  221. package/resources/index.d.mts +6 -2
  222. package/resources/index.d.mts.map +1 -1
  223. package/resources/index.d.ts +6 -2
  224. package/resources/index.d.ts.map +1 -1
  225. package/resources/index.js +13 -4
  226. package/resources/index.js.map +1 -1
  227. package/resources/index.mjs +4 -0
  228. package/resources/index.mjs.map +1 -1
  229. package/resources/meeting-bot/calendar.d.mts +34 -0
  230. package/resources/meeting-bot/calendar.d.mts.map +1 -0
  231. package/resources/meeting-bot/calendar.d.ts +34 -0
  232. package/resources/meeting-bot/calendar.d.ts.map +1 -0
  233. package/resources/meeting-bot/calendar.js +26 -0
  234. package/resources/meeting-bot/calendar.js.map +1 -0
  235. package/resources/meeting-bot/calendar.mjs +22 -0
  236. package/resources/meeting-bot/calendar.mjs.map +1 -0
  237. package/resources/meeting-bot/index.d.mts +3 -0
  238. package/resources/meeting-bot/index.d.mts.map +1 -0
  239. package/resources/meeting-bot/index.d.ts +3 -0
  240. package/resources/meeting-bot/index.d.ts.map +1 -0
  241. package/resources/meeting-bot/index.js +9 -0
  242. package/resources/meeting-bot/index.js.map +1 -0
  243. package/resources/meeting-bot/index.mjs +4 -0
  244. package/resources/meeting-bot/index.mjs.map +1 -0
  245. package/resources/meeting-bot/meeting-bot.d.mts +10 -0
  246. package/resources/meeting-bot/meeting-bot.d.mts.map +1 -0
  247. package/resources/meeting-bot/meeting-bot.d.ts +10 -0
  248. package/resources/meeting-bot/meeting-bot.d.ts.map +1 -0
  249. package/resources/meeting-bot/meeting-bot.js +17 -0
  250. package/resources/meeting-bot/meeting-bot.js.map +1 -0
  251. package/resources/meeting-bot/meeting-bot.mjs +12 -0
  252. package/resources/meeting-bot/meeting-bot.mjs.map +1 -0
  253. package/resources/meeting-bot.d.mts +2 -0
  254. package/resources/meeting-bot.d.mts.map +1 -0
  255. package/resources/meeting-bot.d.ts +2 -0
  256. package/resources/meeting-bot.d.ts.map +1 -0
  257. package/resources/meeting-bot.js +6 -0
  258. package/resources/meeting-bot.js.map +1 -0
  259. package/resources/meeting-bot.mjs +3 -0
  260. package/resources/meeting-bot.mjs.map +1 -0
  261. package/resources/meeting-sessions/actions.d.mts +17 -11
  262. package/resources/meeting-sessions/actions.d.mts.map +1 -1
  263. package/resources/meeting-sessions/actions.d.ts +17 -11
  264. package/resources/meeting-sessions/actions.d.ts.map +1 -1
  265. package/resources/meeting-sessions/actions.js +14 -10
  266. package/resources/meeting-sessions/actions.js.map +1 -1
  267. package/resources/meeting-sessions/actions.mjs +14 -10
  268. package/resources/meeting-sessions/actions.mjs.map +1 -1
  269. package/resources/meeting-sessions/artifacts.d.mts +8 -7
  270. package/resources/meeting-sessions/artifacts.d.mts.map +1 -1
  271. package/resources/meeting-sessions/artifacts.d.ts +8 -7
  272. package/resources/meeting-sessions/artifacts.d.ts.map +1 -1
  273. package/resources/meeting-sessions/artifacts.js +8 -7
  274. package/resources/meeting-sessions/artifacts.js.map +1 -1
  275. package/resources/meeting-sessions/artifacts.mjs +8 -7
  276. package/resources/meeting-sessions/artifacts.mjs.map +1 -1
  277. package/resources/meeting-sessions/index.d.mts +1 -1
  278. package/resources/meeting-sessions/index.d.mts.map +1 -1
  279. package/resources/meeting-sessions/index.d.ts +1 -1
  280. package/resources/meeting-sessions/index.d.ts.map +1 -1
  281. package/resources/meeting-sessions/index.js.map +1 -1
  282. package/resources/meeting-sessions/index.mjs.map +1 -1
  283. package/resources/meeting-sessions/meeting-sessions.d.mts +281 -103
  284. package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
  285. package/resources/meeting-sessions/meeting-sessions.d.ts +281 -103
  286. package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
  287. package/resources/meeting-sessions/meeting-sessions.js +53 -21
  288. package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
  289. package/resources/meeting-sessions/meeting-sessions.mjs +53 -21
  290. package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
  291. package/resources/text-to-speech/text-to-speech.d.mts +45 -5
  292. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  293. package/resources/text-to-speech/text-to-speech.d.ts +45 -5
  294. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  295. package/resources/text-to-speech/text-to-speech.js +8 -2
  296. package/resources/text-to-speech/text-to-speech.js.map +1 -1
  297. package/resources/text-to-speech/text-to-speech.mjs +8 -2
  298. package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
  299. package/resources/user-profile.d.mts +284 -0
  300. package/resources/user-profile.d.mts.map +1 -0
  301. package/resources/user-profile.d.ts +284 -0
  302. package/resources/user-profile.d.ts.map +1 -0
  303. package/resources/user-profile.js +42 -0
  304. package/resources/user-profile.js.map +1 -0
  305. package/resources/user-profile.mjs +38 -0
  306. package/resources/user-profile.mjs.map +1 -0
  307. package/resources/webhooks.d.mts +129 -3
  308. package/resources/webhooks.d.mts.map +1 -1
  309. package/resources/webhooks.d.ts +129 -3
  310. package/resources/webhooks.d.ts.map +1 -1
  311. package/src/client.ts +90 -0
  312. package/src/resources/agent-gateways/agent-gateways.ts +605 -0
  313. package/src/resources/agent-gateways/apis.ts +388 -0
  314. package/src/resources/agent-gateways/guardrails.ts +304 -0
  315. package/src/resources/agent-gateways/index.ts +87 -0
  316. package/src/resources/agent-gateways/keys/index.ts +20 -0
  317. package/src/resources/agent-gateways/keys/keys.ts +437 -0
  318. package/src/resources/agent-gateways/keys/tool-permissions.ts +139 -0
  319. package/src/resources/agent-gateways/keys.ts +3 -0
  320. package/src/resources/agent-gateways/mcp-servers.ts +328 -0
  321. package/src/resources/agent-gateways/policies.ts +348 -0
  322. package/src/resources/agent-gateways/policy-attachments.ts +167 -0
  323. package/src/resources/agent-gateways/teams/index.ts +16 -0
  324. package/src/resources/agent-gateways/teams/teams.ts +282 -0
  325. package/src/resources/agent-gateways/teams/tool-permissions.ts +112 -0
  326. package/src/resources/agent-gateways/teams.ts +3 -0
  327. package/src/resources/agent-gateways.ts +3 -0
  328. package/src/resources/ai/assistants/assistants.ts +24 -9
  329. package/src/resources/ai/memory/namespaces/index.ts +1 -0
  330. package/src/resources/ai/memory/namespaces/namespaces.ts +2 -0
  331. package/src/resources/ai/memory/namespaces/profiles/index.ts +1 -0
  332. package/src/resources/ai/memory/namespaces/profiles/profiles.ts +24 -1
  333. package/src/resources/calendar-connections/calendar-connections.ts +486 -0
  334. package/src/resources/calendar-connections/index.ts +21 -0
  335. package/src/resources/calendar-connections/meetings.ts +205 -0
  336. package/src/resources/calendar-connections.ts +3 -0
  337. package/src/resources/calls/actions.ts +16 -4
  338. package/src/resources/calls/calls.ts +6 -2
  339. package/src/resources/calls/index.ts +1 -0
  340. package/src/resources/conferences/actions.ts +2 -1
  341. package/src/resources/index.ts +36 -0
  342. package/src/resources/meeting-bot/calendar.ts +54 -0
  343. package/src/resources/meeting-bot/index.ts +8 -0
  344. package/src/resources/meeting-bot/meeting-bot.ts +23 -0
  345. package/src/resources/meeting-bot.ts +3 -0
  346. package/src/resources/meeting-sessions/actions.ts +17 -11
  347. package/src/resources/meeting-sessions/artifacts.ts +8 -7
  348. package/src/resources/meeting-sessions/index.ts +4 -0
  349. package/src/resources/meeting-sessions/meeting-sessions.ts +321 -102
  350. package/src/resources/text-to-speech/text-to-speech.ts +81 -5
  351. package/src/resources/user-profile.ts +357 -0
  352. package/src/resources/webhooks.ts +216 -0
  353. package/src/version.ts +1 -1
  354. package/version.d.mts +1 -1
  355. package/version.d.ts +1 -1
  356. package/version.js +1 -1
  357. package/version.mjs +1 -1
@@ -0,0 +1,360 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import * as APIsAPI from "./apis.mjs";
3
+ import { APICreateParams, APIDeleteParams, APIListResponse, APIUpdateParams, APIs, AgentGatewayAPI, AgentGatewayAPIResponse, AgentGatewayNoAuth, AgentGatewayOAuthClientCredentials, AgentGatewayPassthroughAuth, AgentGatewayShownAuth, AgentGatewayStaticAuth } from "./apis.mjs";
4
+ import * as GuardrailsAPI from "./guardrails.mjs";
5
+ import { AgentGatewayGuardrail, AgentGatewayGuardrailResponse, GuardrailCreateParams, GuardrailDeleteParams, GuardrailListResponse, GuardrailUpdateParams, Guardrails } from "./guardrails.mjs";
6
+ import * as McpServersAPI from "./mcp-servers.mjs";
7
+ import { AgentGatewayAwsSigV4Auth, AgentGatewayMcpServer, AgentGatewayMcpServerResponse, McpServerCreateParams, McpServerDeleteParams, McpServerListResponse, McpServerUpdateParams, McpServers } from "./mcp-servers.mjs";
8
+ import * as PoliciesAPI from "./policies.mjs";
9
+ import { AgentGatewayPolicy, AgentGatewayPolicyGuardrails, AgentGatewayPolicyPipeline, AgentGatewayPolicyResponse, AgentGatewayPolicyStep, Policies, PolicyCreateParams, PolicyDeleteParams, PolicyListResponse, PolicyRetrieveParams, PolicyUpdateParams } from "./policies.mjs";
10
+ import * as PolicyAttachmentsAPI from "./policy-attachments.mjs";
11
+ import { AgentGatewayPolicyAttachment, AgentGatewayPolicyAttachmentResponse, PolicyAttachmentCreateParams, PolicyAttachmentDeleteParams, PolicyAttachmentListResponse, PolicyAttachments } from "./policy-attachments.mjs";
12
+ import * as KeysAPI from "./keys/keys.mjs";
13
+ import { AgentGatewayKey, AgentGatewayKeyResponse, KeyCreateParams, KeyCreateResponse, KeyDeleteParams, KeyListParams, KeyListResponse, KeyUpdateParams, Keys } from "./keys/keys.mjs";
14
+ import * as TeamsAPI from "./teams/teams.mjs";
15
+ import { AgentGatewayTeam, AgentGatewayTeamResponse, TeamCreateParams, TeamDeleteParams, TeamListResponse, TeamUpdateParams, Teams } from "./teams/teams.mjs";
16
+ import { APIPromise } from "../../core/api-promise.mjs";
17
+ import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../../core/pagination.mjs";
18
+ import { RequestOptions } from "../../internal/request-options.mjs";
19
+ export declare class AgentGateways extends APIResource {
20
+ apis: APIsAPI.APIs;
21
+ guardrails: GuardrailsAPI.Guardrails;
22
+ keys: KeysAPI.Keys;
23
+ mcpServers: McpServersAPI.McpServers;
24
+ policies: PoliciesAPI.Policies;
25
+ policyAttachments: PolicyAttachmentsAPI.PolicyAttachments;
26
+ teams: TeamsAPI.Teams;
27
+ /**
28
+ * Lists the account's Agent Gateway instances, newest first, one page at a time.
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * // Automatically fetches more pages as needed.
33
+ * for await (const agentGateway of client.agentGateways.list()) {
34
+ * // ...
35
+ * }
36
+ * ```
37
+ */
38
+ list(query?: AgentGatewayListParams | null | undefined, options?: RequestOptions): PagePromise<AgentGatewaysDefaultFlatPagination, AgentGateway>;
39
+ /**
40
+ * Creates an Agent Gateway instance on one of the account's WireGuard Interfaces.
41
+ * The instance starts `pending`, moves to `provisioning`, and then to `ready` or
42
+ * `failed`. It joins the WireGuard Interface as a peer named `agw-<instance id>`,
43
+ * and its `gateway_url` is set when it is `ready`.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * const agentGatewayResponse =
48
+ * await client.agentGateways.create({
49
+ * wireguard_interface_id:
50
+ * 'c788eb40-a4c0-4bf5-8f84-976027960f8e',
51
+ * name: 'support-gw',
52
+ * });
53
+ * ```
54
+ */
55
+ create(body: AgentGatewayCreateParams, options?: RequestOptions): APIPromise<AgentGatewayResponse>;
56
+ /**
57
+ * Deletes an Agent Gateway instance in any status. The response shows it
58
+ * `deleting`; repeating the request answers the same until the instance is gone,
59
+ * and then `404`. The instance's engine and everything stored on it are removed.
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * const agentGatewayResponse =
64
+ * await client.agentGateways.delete(
65
+ * 'ecffdf4b-93ea-4a7b-8295-51dfd2077996',
66
+ * );
67
+ * ```
68
+ */
69
+ delete(instanceID: string, options?: RequestOptions): APIPromise<AgentGatewayResponse>;
70
+ /**
71
+ * Returns one of the account's Agent Gateway instances.
72
+ *
73
+ * @example
74
+ * ```ts
75
+ * const agentGatewayResponse =
76
+ * await client.agentGateways.retrieve(
77
+ * 'ecffdf4b-93ea-4a7b-8295-51dfd2077996',
78
+ * );
79
+ * ```
80
+ */
81
+ retrieve(instanceID: string, options?: RequestOptions): APIPromise<AgentGatewayResponse>;
82
+ /**
83
+ * Lists the models the instance serves. Each has the name a request uses, the
84
+ * Telnyx Inference model behind it, and its price per million tokens.
85
+ *
86
+ * @example
87
+ * ```ts
88
+ * const response = await client.agentGateways.retrieveModels(
89
+ * '32ce035d-3165-4031-b1a7-a7c0c259590a',
90
+ * );
91
+ * ```
92
+ */
93
+ retrieveModels(instanceID: string, options?: RequestOptions): APIPromise<AgentGatewayRetrieveModelsResponse>;
94
+ /**
95
+ * Lists the requests the instance served with its keys, newest first, one page at
96
+ * a time. The window defaults to the last 24 hours and spans at most 31 days. A
97
+ * row appears a few seconds after its request. The instance must be `ready`;
98
+ * otherwise the request answers `409`.
99
+ *
100
+ * @example
101
+ * ```ts
102
+ * const response =
103
+ * await client.agentGateways.retrieveSpendLogs(
104
+ * 'ecffdf4b-93ea-4a7b-8295-51dfd2077996',
105
+ * );
106
+ * ```
107
+ */
108
+ retrieveSpendLogs(instanceID: string, query?: AgentGatewayRetrieveSpendLogsParams | null | undefined, options?: RequestOptions): APIPromise<AgentGatewayRetrieveSpendLogsResponse>;
109
+ }
110
+ export type AgentGatewaysDefaultFlatPagination = DefaultFlatPagination<AgentGateway>;
111
+ /**
112
+ * An Agent Gateway instance on a WireGuard Interface.
113
+ */
114
+ export interface AgentGateway {
115
+ /**
116
+ * Identifies the instance.
117
+ */
118
+ id: string;
119
+ /**
120
+ * When the instance was created.
121
+ */
122
+ created_at: string;
123
+ /**
124
+ * The gateway engine.
125
+ */
126
+ engine: 'litellm';
127
+ /**
128
+ * The engine version the instance runs.
129
+ */
130
+ engine_version: string;
131
+ /**
132
+ * The base URL of the instance's API, `http://<address>:4000`, where the address
133
+ * is the instance's peer address on the WireGuard Interface. Reachable only from
134
+ * hosts on the instance's _Network_, and every request to it carries a key from
135
+ * this API. `null` until the instance is `ready`.
136
+ */
137
+ gateway_url: string | null;
138
+ /**
139
+ * A label for people; `null` when none was given.
140
+ */
141
+ name: string | null;
142
+ /**
143
+ * The [_Network_](https://developers.telnyx.com/docs/network/overview) the
144
+ * WireGuard Interface belongs to.
145
+ */
146
+ network_id: string | null;
147
+ /**
148
+ * Where the instance is in its lifecycle. `pending`: created and waiting to start.
149
+ * `provisioning`: starting. `ready`: running, with its `gateway_url` set.
150
+ * `failed`: did not start in time; delete it. `deleting`: being removed.
151
+ */
152
+ status: 'pending' | 'provisioning' | 'ready' | 'failed' | 'deleting';
153
+ /**
154
+ * The WireGuard Interface the instance joins as a peer.
155
+ */
156
+ wireguard_interface_id: string | null;
157
+ }
158
+ export interface AgentGatewayResponse {
159
+ /**
160
+ * An Agent Gateway instance on a WireGuard Interface.
161
+ */
162
+ data: AgentGateway;
163
+ }
164
+ export interface AgentGatewayRetrieveModelsResponse {
165
+ data: Array<AgentGatewayRetrieveModelsResponse.Data>;
166
+ }
167
+ export declare namespace AgentGatewayRetrieveModelsResponse {
168
+ /**
169
+ * A model an instance serves.
170
+ */
171
+ interface Data {
172
+ /**
173
+ * The model's ID on the instance.
174
+ */
175
+ id: string;
176
+ /**
177
+ * The Telnyx Inference model behind it, such as `zai-org/GLM-5.3-Flash`.
178
+ */
179
+ model: string;
180
+ /**
181
+ * The name a request uses, such as `GLM-5.3-Flash`.
182
+ */
183
+ name: string;
184
+ /**
185
+ * When the price was last set.
186
+ */
187
+ priced_at: string | null;
188
+ /**
189
+ * A model's price in USD per million tokens.
190
+ */
191
+ pricing: Data.Pricing;
192
+ }
193
+ namespace Data {
194
+ /**
195
+ * A model's price in USD per million tokens.
196
+ */
197
+ interface Pricing {
198
+ /**
199
+ * USD per million cached input tokens.
200
+ */
201
+ cached_input: number | null;
202
+ /**
203
+ * Always `USD`.
204
+ */
205
+ currency: string;
206
+ /**
207
+ * USD per million input tokens.
208
+ */
209
+ input: number;
210
+ /**
211
+ * USD per million output tokens.
212
+ */
213
+ output: number;
214
+ /**
215
+ * Always `1M_tokens`.
216
+ */
217
+ unit: string;
218
+ }
219
+ }
220
+ }
221
+ export interface AgentGatewayRetrieveSpendLogsResponse {
222
+ data: Array<AgentGatewayRetrieveSpendLogsResponse.Data>;
223
+ meta: AgentGatewayRetrieveSpendLogsResponse.Meta;
224
+ }
225
+ export declare namespace AgentGatewayRetrieveSpendLogsResponse {
226
+ /**
227
+ * One request the instance served.
228
+ */
229
+ interface Data {
230
+ /**
231
+ * The request's ID.
232
+ */
233
+ id: string;
234
+ /**
235
+ * Output tokens, reasoning included.
236
+ */
237
+ completion_tokens: number;
238
+ /**
239
+ * How long the request took, in milliseconds.
240
+ */
241
+ duration_ms: number | null;
242
+ /**
243
+ * When the request ended.
244
+ */
245
+ ended_at: string | null;
246
+ /**
247
+ * The key the request used.
248
+ */
249
+ key_id: string | null;
250
+ /**
251
+ * The Telnyx Inference model that answered, such as `zai-org/GLM-5.3-Flash`. For
252
+ * an MCP tool request, `MCP: ` and the tool's name.
253
+ */
254
+ model: string | null;
255
+ /**
256
+ * The request type. `acompletion` is a chat completion, `aresponses` a response,
257
+ * `anthropic_messages` a message, `call_mcp_tool` an MCP tool request, and
258
+ * `list_mcp_tools` an MCP tool list.
259
+ */
260
+ operation: string;
261
+ /**
262
+ * Input tokens.
263
+ */
264
+ prompt_tokens: number;
265
+ /**
266
+ * What the request cost, in USD, with its tokens at Telnyx Inference prices.
267
+ */
268
+ spend: number;
269
+ /**
270
+ * When the request started.
271
+ */
272
+ started_at: string;
273
+ /**
274
+ * `success` or `failure`.
275
+ */
276
+ status: string | null;
277
+ /**
278
+ * The key's team.
279
+ */
280
+ team_id: string | null;
281
+ /**
282
+ * Input and output tokens.
283
+ */
284
+ total_tokens: number;
285
+ }
286
+ interface Meta {
287
+ /**
288
+ * The page returned, counting from 1.
289
+ */
290
+ page_number: number;
291
+ /**
292
+ * Results per page.
293
+ */
294
+ page_size: number;
295
+ /**
296
+ * Pages that can be requested; 0 when nothing matched.
297
+ */
298
+ total_pages: number;
299
+ /**
300
+ * Results across every page.
301
+ */
302
+ total_results: number;
303
+ /**
304
+ * `true` when the window holds more than 10,000 rows. The two totals are then
305
+ * lower bounds: narrow the window, or page until a page comes back empty.
306
+ */
307
+ total_results_capped: boolean;
308
+ }
309
+ }
310
+ export interface AgentGatewayListParams extends DefaultFlatPaginationParams {
311
+ }
312
+ export interface AgentGatewayCreateParams {
313
+ /**
314
+ * One of the account's WireGuard Interfaces. The instance joins it as a peer, and
315
+ * the interface's other peers reach the instance.
316
+ */
317
+ wireguard_interface_id: string;
318
+ /**
319
+ * A label for people.
320
+ */
321
+ name?: string | null;
322
+ }
323
+ export interface AgentGatewayRetrieveSpendLogsParams {
324
+ /**
325
+ * The window's end, an RFC 3339 timestamp with an offset. Defaults to now.
326
+ */
327
+ end?: string;
328
+ /**
329
+ * Only the requests made with this key.
330
+ */
331
+ key_id?: string;
332
+ /**
333
+ * The page to return, counting from 1.
334
+ */
335
+ 'page[number]'?: number;
336
+ /**
337
+ * Results per page.
338
+ */
339
+ 'page[size]'?: number;
340
+ /**
341
+ * The window's start, an RFC 3339 timestamp with an offset. Defaults to 24 hours
342
+ * before `end`.
343
+ */
344
+ start?: string;
345
+ /**
346
+ * Only the requests made with this team's keys.
347
+ */
348
+ team_id?: string;
349
+ }
350
+ export declare namespace AgentGateways {
351
+ export { type AgentGateway as AgentGateway, type AgentGatewayResponse as AgentGatewayResponse, type AgentGatewayRetrieveModelsResponse as AgentGatewayRetrieveModelsResponse, type AgentGatewayRetrieveSpendLogsResponse as AgentGatewayRetrieveSpendLogsResponse, type AgentGatewaysDefaultFlatPagination as AgentGatewaysDefaultFlatPagination, type AgentGatewayListParams as AgentGatewayListParams, type AgentGatewayCreateParams as AgentGatewayCreateParams, type AgentGatewayRetrieveSpendLogsParams as AgentGatewayRetrieveSpendLogsParams, };
352
+ export { APIs as APIs, type AgentGatewayAPI as AgentGatewayAPI, type AgentGatewayAPIResponse as AgentGatewayAPIResponse, type AgentGatewayNoAuth as AgentGatewayNoAuth, type AgentGatewayOAuthClientCredentials as AgentGatewayOAuthClientCredentials, type AgentGatewayPassthroughAuth as AgentGatewayPassthroughAuth, type AgentGatewayShownAuth as AgentGatewayShownAuth, type AgentGatewayStaticAuth as AgentGatewayStaticAuth, type APIListResponse as APIListResponse, type APICreateParams as APICreateParams, type APIDeleteParams as APIDeleteParams, type APIUpdateParams as APIUpdateParams, };
353
+ export { Guardrails as Guardrails, type AgentGatewayGuardrail as AgentGatewayGuardrail, type AgentGatewayGuardrailResponse as AgentGatewayGuardrailResponse, type GuardrailListResponse as GuardrailListResponse, type GuardrailCreateParams as GuardrailCreateParams, type GuardrailDeleteParams as GuardrailDeleteParams, type GuardrailUpdateParams as GuardrailUpdateParams, };
354
+ export { Keys as Keys, type AgentGatewayKey as AgentGatewayKey, type AgentGatewayKeyResponse as AgentGatewayKeyResponse, type KeyCreateResponse as KeyCreateResponse, type KeyListResponse as KeyListResponse, type KeyListParams as KeyListParams, type KeyCreateParams as KeyCreateParams, type KeyDeleteParams as KeyDeleteParams, type KeyUpdateParams as KeyUpdateParams, };
355
+ export { McpServers as McpServers, type AgentGatewayAwsSigV4Auth as AgentGatewayAwsSigV4Auth, type AgentGatewayMcpServer as AgentGatewayMcpServer, type AgentGatewayMcpServerResponse as AgentGatewayMcpServerResponse, type McpServerListResponse as McpServerListResponse, type McpServerCreateParams as McpServerCreateParams, type McpServerDeleteParams as McpServerDeleteParams, type McpServerUpdateParams as McpServerUpdateParams, };
356
+ export { Policies as Policies, type AgentGatewayPolicy as AgentGatewayPolicy, type AgentGatewayPolicyGuardrails as AgentGatewayPolicyGuardrails, type AgentGatewayPolicyPipeline as AgentGatewayPolicyPipeline, type AgentGatewayPolicyResponse as AgentGatewayPolicyResponse, type AgentGatewayPolicyStep as AgentGatewayPolicyStep, type PolicyListResponse as PolicyListResponse, type PolicyCreateParams as PolicyCreateParams, type PolicyDeleteParams as PolicyDeleteParams, type PolicyRetrieveParams as PolicyRetrieveParams, type PolicyUpdateParams as PolicyUpdateParams, };
357
+ export { PolicyAttachments as PolicyAttachments, type AgentGatewayPolicyAttachment as AgentGatewayPolicyAttachment, type AgentGatewayPolicyAttachmentResponse as AgentGatewayPolicyAttachmentResponse, type PolicyAttachmentListResponse as PolicyAttachmentListResponse, type PolicyAttachmentCreateParams as PolicyAttachmentCreateParams, type PolicyAttachmentDeleteParams as PolicyAttachmentDeleteParams, };
358
+ export { Teams as Teams, type AgentGatewayTeam as AgentGatewayTeam, type AgentGatewayTeamResponse as AgentGatewayTeamResponse, type TeamListResponse as TeamListResponse, type TeamCreateParams as TeamCreateParams, type TeamDeleteParams as TeamDeleteParams, type TeamUpdateParams as TeamUpdateParams, };
359
+ }
360
+ //# sourceMappingURL=agent-gateways.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-gateways.d.mts","sourceRoot":"","sources":["../../src/resources/agent-gateways/agent-gateways.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,EACL,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,kBAAkB,EAClB,kCAAkC,EAClC,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACvB,mBAAe;AAChB,OAAO,KAAK,aAAa,yBAAq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