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
@@ -1,4 +1,6 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
+ import * as MeetingSessionsAPI from "./meeting-sessions.js";
3
+ import * as CalendarConnectionsAPI from "../calendar-connections/calendar-connections.js";
2
4
  import * as ActionsAPI from "./actions.js";
3
5
  import { ActionAcceptedResponse, ActionSendChatParams, ActionSpeakParams, Actions } from "./actions.js";
4
6
  import * as ArtifactsAPI from "./artifacts.js";
@@ -9,7 +11,9 @@ export declare class MeetingSessions extends APIResource {
9
11
  actions: ActionsAPI.Actions;
10
12
  artifacts: ArtifactsAPI.Artifacts;
11
13
  /**
12
- * Returns a list of meeting sessions, optionally filtered by status.
14
+ * Returns a list of meeting sessions, optionally filtered by status. List items
15
+ * omit assistant.dynamic_variables and recording_export. Some items include
16
+ * remote_state_observed_at; retrieve the individual session for current state.
13
17
  *
14
18
  * @example
15
19
  * ```ts
@@ -18,19 +22,18 @@ export declare class MeetingSessions extends APIResource {
18
22
  */
19
23
  list(query?: MeetingSessionListParams | null | undefined, options?: RequestOptions): APIPromise<MeetingSessionListResponse>;
20
24
  /**
21
- * Creates a new meeting session. When an idempotency_key is supplied in the
22
- * request body, replay lookup is scoped to the authenticated account and compares
23
- * only the key; the request payload is not fingerprinted or compared. If a session
24
- * with that key already exists for the account, the existing session is replayed
25
- * (200); otherwise a new session is created (201). The session may enter
26
- * asynchronous states (e.g. joining, waiting_for_admission) before becoming
27
- * active. Optional `camera_image` input is write-only and applies only when no
28
- * avatar or Assistant webpage output takes precedence. An ignored URL is not
29
- * fetched. An effective URL source is resolved before bot creation; neither the
30
- * source URL nor image bytes are persisted, returned, or logged. Treat signed URLs
31
- * as credentials. With `assistant.avatar: true`, the assistant is read before the
32
- * bot is created: an assistant without a Telnyx avatar configured is rejected with
33
- * 400 `invalid_request` (message prefix `assistant_avatar_not_configured:`), an
25
+ * Creates a meeting session and returns 201, or 200 for a replay. Use a unique
26
+ * `idempotency_key` per intended join and reuse the same key and request on
27
+ * retries. Reusing a key with a different join configuration or meeting URL can
28
+ * return 409 invalid_state. Always retry with the original request. The session
29
+ * can pass through joining and waiting_for_admission before active. Optional
30
+ * `camera_image` input is write-only and applies when no assistant avatar takes
31
+ * precedence. An ignored URL is not fetched. An effective URL source is resolved
32
+ * before bot creation; the source URL and image bytes are not returned in the
33
+ * session response. Treat signed URLs as credentials. With
34
+ * `assistant.avatar: true`, the assistant is read before the bot is created: an
35
+ * assistant without a Telnyx avatar configured is rejected with 400
36
+ * `invalid_request` (message prefix `assistant_avatar_not_configured:`), an
34
37
  * unknown assistant with 400 `invalid_request` (prefix `assistant_not_found:`),
35
38
  * and a failed lookup with 503 `assistant_lookup_unavailable`; no bot is created
36
39
  * in any of these cases.
@@ -47,7 +50,9 @@ export declare class MeetingSessions extends APIResource {
47
50
  /**
48
51
  * Stops a meeting session without deleting its persisted record. Scheduled bots
49
52
  * are cancelled, while bots that are joining or active are asked to leave. The
50
- * persisted meeting session record remains available.
53
+ * persisted meeting session record remains available. A successful response can
54
+ * report leaving while departure is pending. Poll until ended, failed, or
55
+ * admission_denied. Exported Storage objects are unaffected.
51
56
  *
52
57
  * @example
53
58
  * ```ts
@@ -75,7 +80,10 @@ export declare class MeetingSessions extends APIResource {
75
80
  * Updates mutable properties of a meeting session. Only sessions in the scheduled
76
81
  * state can be updated; any other state returns 409 with the invalid_state error
77
82
  * code. All request fields are optional, and an empty object is a valid no-op
78
- * update.
83
+ * update. Calendar-controlled Google Meet and Teams sessions return 409
84
+ * calendar_managed; change the event instead. A conflicting pending edit returns
85
+ * 409 edit_in_progress. On a timeout or 503, read the session and retry the same
86
+ * changes.
79
87
  *
80
88
  * @example
81
89
  * ```ts
@@ -108,7 +116,10 @@ export declare class MeetingSessions extends APIResource {
108
116
  * events, artifacts, and usage records. It is separate from
109
117
  * `DELETE /meeting_sessions/{id}`, which stops or cancels participation without
110
118
  * deleting the persisted session. A missing/foreign session returns 404; a
111
- * deletion request whose outcome is unknown returns 502.
119
+ * deletion request whose outcome is unknown returns 502. Customer Storage exports
120
+ * do not support this operation (422 unsupported_capability); delete the exported
121
+ * object through Storage instead. Stopping a session does not delete an exported
122
+ * object.
112
123
  *
113
124
  * @example
114
125
  * ```ts
@@ -120,10 +131,11 @@ export declare class MeetingSessions extends APIResource {
120
131
  */
121
132
  deleteRecordingMedia(id: string, options?: RequestOptions): APIPromise<MeetingSessionDeleteRecordingMediaResponse>;
122
133
  /**
123
- * Returns transcript segments ordered by ascending `seq`. Default `limit` is 100
124
- * and maximum is 1,000. Continue with `after=meta.next_after`. A long-poll timeout
125
- * returns 200 with empty `data` and `meta.next_after: null`; retain the cursor
126
- * supplied to that request because null is not a replacement cursor.
134
+ * Returns transcript segments ordered by ascending seq. Default limit is 100,
135
+ * maximum 1000. Continue with after=meta.next_after. On an empty page,
136
+ * meta.next_after preserves a positive supplied after cursor, or is null when no
137
+ * positive cursor was supplied. wait_seconds holds an empty read for up to 25
138
+ * seconds; a timeout still returns 200.
127
139
  *
128
140
  * @example
129
141
  * ```ts
@@ -134,11 +146,31 @@ export declare class MeetingSessions extends APIResource {
134
146
  * ```
135
147
  */
136
148
  retrieveTranscript(id: string, query?: MeetingSessionRetrieveTranscriptParams | null | undefined, options?: RequestOptions): APIPromise<MeetingSessionRetrieveTranscriptResponse>;
149
+ /**
150
+ * Retrieve recording export status. Customer Storage exports include
151
+ * recording_export with the bucket, region, key and pending/exported/failed
152
+ * status, or null when no reference is available. The data array is empty for
153
+ * these exports. Download or share the object using the Storage API once its
154
+ * status is exported. Zoom recordings and existing Google Meet or Teams recordings
155
+ * held by the Meeting service continue returning temporary download links in data
156
+ * through this same endpoint and session ID. Those recordings do not require
157
+ * Storage setup or migration. Refresh this endpoint when a link expires. Select
158
+ * the download method from the returned fields, not the platform alone.
159
+ *
160
+ * @example
161
+ * ```ts
162
+ * const response =
163
+ * await client.meetingSessions.retrieveRecordings(
164
+ * 'mtgsess_a1b2c3d4-e5f6-7890-abcd-ef1234567890',
165
+ * );
166
+ * ```
167
+ */
168
+ retrieveRecordings(id: string, options?: RequestOptions): APIPromise<MeetingSessionRetrieveRecordingsResponse>;
137
169
  }
138
170
  /**
139
- * Represents a meeting session. All serializer fields are present and required;
140
- * nullable fields use null when absent. No actor, provider-bot, idempotency,
141
- * routing, key, or internal fields are exposed.
171
+ * Represents a meeting session. Core serializer fields are required;
172
+ * platform-specific fields are optional. Nullable fields use null when absent. No
173
+ * actor, provider-bot, idempotency, routing, key, or internal fields are exposed.
142
174
  */
143
175
  export interface MeetingSession {
144
176
  /**
@@ -152,7 +184,7 @@ export interface MeetingSession {
152
184
  /**
153
185
  * Assistant configuration if an assistant is attached, otherwise null.
154
186
  */
155
- assistant: MeetingSession.Assistant | null;
187
+ assistant: CalendarConnectionsAPI.MeetingSessionAssistant | null;
156
188
  /**
157
189
  * Current state of the assistant, or null if no assistant is attached.
158
190
  */
@@ -191,7 +223,14 @@ export interface MeetingSession {
191
223
  */
192
224
  ended_at: string | null;
193
225
  /**
194
- * Human-readable failure reason if the session failed, or null.
226
+ * A machine-readable lifecycle reason, or null. Values include left_on_request,
227
+ * meeting_ended, everyone_left, no_one_joined, silence_timeout,
228
+ * max_duration_reached, admission_timeout, admission_denied, removed_from_meeting,
229
+ * recording_permission_denied, meeting_not_found, meeting_not_started,
230
+ * meeting_access_denied, meeting_full, cancelled, cancelled_calendar_disconnected,
231
+ * cancelled_calendar_event_deleted, cancelled_calendar_superseded,
232
+ * cancelled_policy, internal_error, and other. Treat this vocabulary as
233
+ * extensible.
195
234
  */
196
235
  failure_reason: string | null;
197
236
  /**
@@ -218,9 +257,9 @@ export interface MeetingSession {
218
257
  */
219
258
  platform: 'zoom' | 'google_meet' | 'teams' | 'webex' | 'unknown';
220
259
  /**
221
- * Provider handling the meeting session.
260
+ * Always telnyx.
222
261
  */
223
- provider: string;
262
+ provider: 'telnyx';
224
263
  /**
225
264
  * Whether the session is being recorded.
226
265
  */
@@ -235,7 +274,14 @@ export interface MeetingSession {
235
274
  */
236
275
  status: 'scheduled' | 'joining' | 'waiting_for_admission' | 'active' | 'leaving' | 'ended' | 'failed' | 'admission_denied';
237
276
  /**
238
- * Additional human-readable detail about the status, or null.
277
+ * A machine-readable lifecycle reason, or null. Values include left_on_request,
278
+ * meeting_ended, everyone_left, no_one_joined, silence_timeout,
279
+ * max_duration_reached, admission_timeout, admission_denied, removed_from_meeting,
280
+ * recording_permission_denied, meeting_not_found, meeting_not_started,
281
+ * meeting_access_denied, meeting_full, cancelled, cancelled_calendar_disconnected,
282
+ * cancelled_calendar_event_deleted, cancelled_calendar_superseded,
283
+ * cancelled_policy, internal_error, and other. Treat this vocabulary as
284
+ * extensible.
239
285
  */
240
286
  status_detail: string | null;
241
287
  /**
@@ -246,32 +292,19 @@ export interface MeetingSession {
246
292
  * Webhook endpoint for session lifecycle callbacks, or null if not configured.
247
293
  */
248
294
  webhook_url: string | null;
249
- }
250
- export declare namespace MeetingSession {
251
295
  /**
252
- * Assistant configuration if an assistant is attached, otherwise null.
296
+ * Customer Storage recording reference. Pending is not downloadable; exported
297
+ * means upload was verified; failed is terminal. Download with ordinary Storage
298
+ * authorization. No presigned URL is returned.
253
299
  */
254
- interface Assistant {
255
- /**
256
- * Identifier of the assistant.
257
- */
258
- id: string;
259
- /**
260
- * Audio gating strategy in force for the assistant call leg.
261
- */
262
- audio_gate: 'half_duplex' | 'full_duplex';
263
- /**
264
- * The dynamic variables in force for this session, or null when none were
265
- * supplied.
266
- */
267
- dynamic_variables: {
268
- [key: string]: string;
269
- } | null;
270
- /**
271
- * Whether the bot leaves when the Assistant's conversation ends or fails.
272
- */
273
- leave_on_end: boolean;
274
- }
300
+ recording_export?: MeetingSessionRecordingExport | null;
301
+ /**
302
+ * Optional observation time on session list items. Retrieve the individual session
303
+ * when current state is required.
304
+ */
305
+ remote_state_observed_at?: string;
306
+ }
307
+ export declare namespace MeetingSession {
275
308
  /**
276
309
  * The assistant's avatar, captured from its `avatar_settings` when the session was
277
310
  * created. For display only; later changes to the assistant do not update it.
@@ -305,6 +338,10 @@ export declare namespace MeetingSession {
305
338
  * The message posted to chat on join, or null when unset.
306
339
  */
307
340
  chat_on_enter: string | null;
341
+ /**
342
+ * Detection settings. Enabling audio or video detection is currently unsupported.
343
+ */
344
+ deepfake_detection: Config.DeepfakeDetection;
308
345
  /**
309
346
  * Text spoken on meeting entry, or null if not set.
310
347
  */
@@ -317,13 +354,107 @@ export declare namespace MeetingSession {
317
354
  * Configured voice identifier, or null if not set.
318
355
  */
319
356
  voice: string | null;
357
+ /**
358
+ * Automatic departure settings for Google Meet and Teams. Omitted fields use the
359
+ * default behavior. Set at creation; cannot be changed later. Zoom ignores this
360
+ * policy.
361
+ */
362
+ leave_policy?: MeetingSessionsAPI.MeetingSessionLeavePolicy;
363
+ /**
364
+ * Recording intent set at creation for Google Meet and Teams. Distinct from the
365
+ * top-level recording field, which reports current activity.
366
+ */
367
+ recording?: boolean;
368
+ /**
369
+ * Non-default recording layout. Omitted for the default speaker_view layout.
370
+ */
371
+ recording_view?: 'gallery_view' | 'speaker_view_no_sidebar';
372
+ }
373
+ namespace Config {
374
+ /**
375
+ * Detection settings. Enabling audio or video detection is currently unsupported.
376
+ */
377
+ interface DeepfakeDetection {
378
+ audio: boolean;
379
+ video: boolean;
380
+ }
320
381
  }
321
382
  }
383
+ /**
384
+ * Automatic departure settings for Google Meet and Teams. Omitted fields use the
385
+ * default behavior. Set at creation; cannot be changed later. Zoom ignores this
386
+ * policy.
387
+ */
388
+ export interface MeetingSessionLeavePolicy {
389
+ /**
390
+ * Seconds alone after another participant has attended and left. Does not start
391
+ * just because the bot arrives first.
392
+ */
393
+ alone_seconds?: number;
394
+ /**
395
+ * Case-insensitive names or phrases identifying other bots to exclude when
396
+ * deciding whether this bot is alone. Matching splits names on spaces, hyphens and
397
+ * underscores. Null or an empty array disables filtering.
398
+ */
399
+ bot_name_keywords?: Array<string> | null;
400
+ /**
401
+ * Seconds to wait for the host to start the meeting.
402
+ */
403
+ host_wait_seconds?: number;
404
+ /**
405
+ * Seconds to wait for lobby admission.
406
+ */
407
+ lobby_wait_seconds?: number;
408
+ /**
409
+ * Maximum seconds after joining. Null means no per-join duration limit; service
410
+ * safety limits still apply.
411
+ */
412
+ max_duration_seconds?: number | null;
413
+ /**
414
+ * Seconds after joining before silence detection starts a fresh inactivity timer.
415
+ */
416
+ silence_grace_seconds?: number;
417
+ /**
418
+ * Continuous audio inactivity before departure after the silence grace period.
419
+ */
420
+ silence_seconds?: number;
421
+ }
422
+ /**
423
+ * Customer-owned Telnyx Storage destination for recording exports. Uses the
424
+ * authenticated organization and user; do not supply credentials, region,
425
+ * organization ID or object key.
426
+ */
427
+ export interface MeetingSessionRecordingDestination {
428
+ /**
429
+ * Existing accessible bucket. Consecutive dots and IPv4-address names are
430
+ * rejected.
431
+ */
432
+ bucket: string;
433
+ /**
434
+ * Optional object-key prefix. One trailing slash is normalized. Empty path
435
+ * segments, . and .. segments are rejected.
436
+ */
437
+ prefix?: string;
438
+ }
439
+ /**
440
+ * Customer Storage recording reference. Pending is not downloadable; exported
441
+ * means upload was verified; failed is terminal. Download with ordinary Storage
442
+ * authorization. No presigned URL is returned.
443
+ */
444
+ export interface MeetingSessionRecordingExport {
445
+ bucket: string;
446
+ bytes: number | null;
447
+ exported_at: string | null;
448
+ key: string;
449
+ region: string;
450
+ status: 'pending' | 'exported' | 'failed';
451
+ type: 'video';
452
+ }
322
453
  export interface MeetingSessionResponse {
323
454
  /**
324
- * Represents a meeting session. All serializer fields are present and required;
325
- * nullable fields use null when absent. No actor, provider-bot, idempotency,
326
- * routing, key, or internal fields are exposed.
455
+ * Represents a meeting session. Core serializer fields are required;
456
+ * platform-specific fields are optional. Nullable fields use null when absent. No
457
+ * actor, provider-bot, idempotency, routing, key, or internal fields are exposed.
327
458
  */
328
459
  data: MeetingSession;
329
460
  }
@@ -357,6 +488,28 @@ export declare namespace MeetingSessionRetrieveEventsResponse {
357
488
  type: string;
358
489
  }
359
490
  }
491
+ export interface MeetingSessionRetrieveRecordingsResponse {
492
+ /**
493
+ * Temporary download URLs for recordings held by the Meeting service, including
494
+ * Zoom and existing Google Meet and Teams recordings. Empty for customer Storage
495
+ * exports; use recording_export instead. Choose the download method from these
496
+ * fields rather than the platform alone.
497
+ */
498
+ data: Array<MeetingSessionRetrieveRecordingsResponse.Data>;
499
+ /**
500
+ * Customer Storage recording reference. Pending is not downloadable; exported
501
+ * means upload was verified; failed is terminal. Download with ordinary Storage
502
+ * authorization. No presigned URL is returned.
503
+ */
504
+ recording_export?: MeetingSessionRecordingExport | null;
505
+ }
506
+ export declare namespace MeetingSessionRetrieveRecordingsResponse {
507
+ interface Data {
508
+ expires_at: string | null;
509
+ type: string;
510
+ url: string;
511
+ }
512
+ }
360
513
  export interface MeetingSessionRetrieveTranscriptResponse {
361
514
  data: Array<MeetingSessionRetrieveTranscriptResponse.Data>;
362
515
  meta: MeetingSessionRetrieveTranscriptResponse.Meta;
@@ -366,7 +519,16 @@ export declare namespace MeetingSessionRetrieveTranscriptResponse {
366
519
  confidence: number | null;
367
520
  occurred_at: string;
368
521
  relative_ts: number | null;
522
+ /**
523
+ * Monotonic transcript append cursor. This is separate from the event-history
524
+ * cursor and does not establish conversational turn order.
525
+ */
369
526
  seq: number;
527
+ /**
528
+ * Recorded participant or bot label, or null when unavailable. Labels are
529
+ * attribution, not verified identity. Segments from concurrent speakers can
530
+ * finalize in a different order from the conversation.
531
+ */
370
532
  speaker_label: string | null;
371
533
  text: string;
372
534
  }
@@ -390,10 +552,8 @@ export interface MeetingSessionCreateParams {
390
552
  */
391
553
  meeting_url: string;
392
554
  /**
393
- * Attach a Telnyx AI Assistant to the session. Supply the Assistant's ID; the
394
- * Meeting service connects it to the meeting directly. The Call Control
395
- * connection, caller ID and loopback SIP URI previously required here have been
396
- * removed and are now rejected as unknown fields.
555
+ * Attach a Telnyx AI Assistant owned by the authenticated account. Supply its ID
556
+ * and optional conversation settings. Unknown fields are rejected.
397
557
  */
398
558
  assistant?: MeetingSessionCreateParams.Assistant;
399
559
  /**
@@ -407,12 +567,13 @@ export interface MeetingSessionCreateParams {
407
567
  */
408
568
  bot_name?: string;
409
569
  /**
410
- * Write-only static camera-tile image for this session, not a native account or
570
+ * Not supported for Google Meet and Teams joins (422 unsupported_capability).
571
+ * Write-only static camera-tile image for this session, not an account or
411
572
  * participant profile photo. Supply exactly one JPEG source. When effective, the
412
573
  * image is used as the bot's static camera/video output; presentation varies by
413
574
  * meeting platform and recording configuration and is not guaranteed in
414
- * recordings. An effective Avatar or Assistant webpage output takes precedence, so
415
- * this input is ignored and a URL source is not fetched.
575
+ * recordings. An attached assistant or avatar takes precedence, so this input is
576
+ * ignored and a URL source is not fetched.
416
577
  */
417
578
  camera_image?: MeetingSessionCreateParams.MeetingSessionCameraImageBase64Source | MeetingSessionCreateParams.MeetingSessionCameraImageURLSource;
418
579
  /**
@@ -420,20 +581,30 @@ export interface MeetingSessionCreateParams {
420
581
  * typically a recording disclosure. Delivered at most once. Independent of
421
582
  * `speak_on_enter`: both may be set, and the chat message posts first because it
422
583
  * does not wait for text-to-speech or avatar startup. Rejected with 422
423
- * `unsupported_capability` on platforms without meeting chat.
584
+ * `unsupported_capability` on platforms without meeting chat. For Google Meet and
585
+ * Teams, text must be nonblank, at most 4096 UTF-8 bytes, with no control
586
+ * characters except tabs and line breaks. Counts toward the 1000-chat-request
587
+ * session limit.
424
588
  */
425
589
  chat_on_enter?: string;
426
590
  /**
427
- * Client-supplied idempotency key to safely retry creation requests without
428
- * duplicating sessions. Lookup is scoped to the authenticated account and compares
429
- * the key only; the request payload is not fingerprinted or compared.
591
+ * Use a unique key per intended join and reuse the same key and request on
592
+ * retries. Reusing a key with a different join configuration or meeting URL can
593
+ * return 409 invalid_state. Always retry with the original request.
430
594
  */
431
595
  idempotency_key?: string;
432
596
  /**
433
- * ISO-8601 timestamp in the future at which the bot should join. If omitted, the
434
- * bot joins immediately.
597
+ * Future ISO-8601 join timestamp including timezone. Google Meet and Teams accept
598
+ * dates at most three years ahead. Omit for an immediate join. Assistant sessions
599
+ * created through this endpoint must join immediately.
435
600
  */
436
601
  join_at?: string;
602
+ /**
603
+ * Automatic departure settings for Google Meet and Teams. Omitted fields use the
604
+ * default behavior. Set at creation; cannot be changed later. Zoom ignores this
605
+ * policy.
606
+ */
607
+ leave_policy?: MeetingSessionLeavePolicy;
437
608
  /**
438
609
  * Arbitrary key-value metadata attached to the session. The serialized JSON
439
610
  * representation must not exceed 16384 characters at runtime.
@@ -442,11 +613,28 @@ export interface MeetingSessionCreateParams {
442
613
  [key: string]: unknown;
443
614
  };
444
615
  /**
445
- * Text the bot speaks when it enters the meeting. **Not spoken when an `assistant`
446
- * is attached**: the value is accepted and echoed back on the session, but the
447
- * assistant owns the voice and the line is never delivered, with no event
448
- * reporting the omission. Use `chat_on_enter` to announce an assistant-backed bot.
449
- * Rejected with 400 `invalid_request` when `assistant.avatar` is `true`.
616
+ * Google Meet and Teams only. Defaults to true when recording_export is supplied
617
+ * and false otherwise. True requires recording_export.bucket; false cannot be
618
+ * combined with recording_export. Fixed at creation, with no pause/resume action.
619
+ * Zoom rejects recording, recording_view, and recording_export with 422
620
+ * unsupported_capability; omit these fields for Zoom.
621
+ */
622
+ recording?: boolean;
623
+ /**
624
+ * Customer-owned Telnyx Storage destination for recording exports. Uses the
625
+ * authenticated organization and user; do not supply credentials, region,
626
+ * organization ID or object key.
627
+ */
628
+ recording_export?: MeetingSessionRecordingDestination;
629
+ /**
630
+ * Recording layout for Google Meet and Teams. Defaults to speaker_view. Accepted
631
+ * at creation only; does not enable recording by itself.
632
+ */
633
+ recording_view?: 'speaker_view' | 'gallery_view' | 'speaker_view_no_sidebar';
634
+ /**
635
+ * Text the bot speaks after joining. Available for sessions without a digital
636
+ * avatar. With an AI Assistant, the greeting waits until the assistant is
637
+ * connected. Rejected with 400 invalid_request when assistant.avatar is true.
450
638
  */
451
639
  speak_on_enter?: string;
452
640
  /**
@@ -456,7 +644,8 @@ export interface MeetingSessionCreateParams {
456
644
  /**
457
645
  * Session-default voice identifier used for `speak_on_enter` and ordinary speak
458
646
  * actions. A voice supplied on an individual speak action overrides this default
459
- * for that utterance.
647
+ * for that utterance. With an assistant attached, its conversational voice remains
648
+ * configured on the assistant.
460
649
  */
461
650
  voice?: string;
462
651
  /**
@@ -468,10 +657,8 @@ export interface MeetingSessionCreateParams {
468
657
  }
469
658
  export declare namespace MeetingSessionCreateParams {
470
659
  /**
471
- * Attach a Telnyx AI Assistant to the session. Supply the Assistant's ID; the
472
- * Meeting service connects it to the meeting directly. The Call Control
473
- * connection, caller ID and loopback SIP URI previously required here have been
474
- * removed and are now rejected as unknown fields.
660
+ * Attach a Telnyx AI Assistant owned by the authenticated account. Supply its ID
661
+ * and optional conversation settings. Unknown fields are rejected.
475
662
  */
476
663
  interface Assistant {
477
664
  /**
@@ -479,12 +666,9 @@ export declare namespace MeetingSessionCreateParams {
479
666
  */
480
667
  id: string;
481
668
  /**
482
- * Audio gating strategy for the assistant call leg. `half_duplex` (default) sends
483
- * the assistant a single mixed meeting stream and mutes it while the assistant
484
- * speaks, so the assistant cannot hear itself and cannot be interrupted.
485
- * `full_duplex` sends a separate stream per participant, which allows barge-in and
486
- * removes self-hearing, and COSTS SIGNIFICANTLY MORE: per-participant streams
487
- * multiply the per-minute cost by the number of participants.
669
+ * Use half_duplex (default) to pause listening while the assistant speaks, or
670
+ * full_duplex to allow participants to interrupt. Full-duplex pricing depends on
671
+ * participant audio usage; see the Meeting pricing guide.
488
672
  */
489
673
  audio_gate?: 'half_duplex' | 'full_duplex';
490
674
  /**
@@ -492,12 +676,11 @@ export declare namespace MeetingSessionCreateParams {
492
676
  * [AI Assistant avatars](/docs/inference/ai-assistants/avatars)) as the bot's
493
677
  * camera, lip-synced to the assistant's own speech. The request carries no avatar
494
678
  * ID or key: the assistant is read at creation and the request is rejected with
495
- * 400 `invalid_request` if it has no Telnyx avatar configured. Supported on Google
496
- * Meet, Zoom, Microsoft Teams and Webex; other platforms return 422
497
- * `unsupported_capability`. REST-only. Not echoed back on `assistant`; the
498
- * session's top-level `avatar` and `avatar_state` fields report it instead. If the
499
- * avatar fails, the session continues voice-only and `avatar_state` becomes
500
- * `degraded`.
679
+ * 400 `invalid_request` if it has no Telnyx avatar configured. Available for
680
+ * Google Meet, Zoom, and Teams sessions. REST-only. Not echoed back on
681
+ * `assistant`; the session's top-level `avatar` and `avatar_state` fields report
682
+ * it instead. If the avatar fails, the session continues voice-only and
683
+ * `avatar_state` becomes `degraded`.
501
684
  */
502
685
  avatar?: boolean;
503
686
  /**
@@ -508,19 +691,14 @@ export declare namespace MeetingSessionCreateParams {
508
691
  * conversation. At most 63 entries; keys 1-128 characters; values must be strings.
509
692
  * The map is budgeted in aggregate at 1,047,552 bytes (1023 KiB) rather than
510
693
  * capped per value. `streaming_audio`, `ai_assistant_streaming_audio` and
511
- * `meeting_session_id` are reserved and rejected with `400 invalid_request` --
512
- * they toggle provider infrastructure or are set by the service rather than fill a
513
- * prompt template.
694
+ * `meeting_session_id` are reserved and rejected with `400 invalid_request`.
514
695
  */
515
696
  dynamic_variables?: {
516
697
  [key: string]: string;
517
698
  };
518
699
  /**
519
- * Leave the meeting when the Assistant's conversation reaches a terminal state --
520
- * `ended` **or** `failed`. Off by default, which leaves the bot in the meeting
521
- * after the Assistant stops. Fires once: a second terminal transition does not
522
- * leave twice, and a leave the provider refuses is logged without changing how the
523
- * session settles.
700
+ * Leave when the assistant conversation ends or fails. Defaults to false. Other
701
+ * leave-policy rules and explicit leave requests still apply.
524
702
  */
525
703
  leave_on_end?: boolean;
526
704
  }
@@ -530,7 +708,7 @@ export declare namespace MeetingSessionCreateParams {
530
708
  * and the URL-safe alphabet are rejected. The encoded value is limited to
531
709
  * 1,835,008 characters and the decoded JPEG to 1,363,148 bytes. The JPEG is
532
710
  * limited to 4,096 pixels per dimension, 4 megapixels, and 128 MB of decoder
533
- * memory. The image bytes are not persisted, returned, or logged.
711
+ * memory. The image bytes are not returned in the session response.
534
712
  */
535
713
  base64_data: string;
536
714
  /**
@@ -550,8 +728,8 @@ export declare namespace MeetingSessionCreateParams {
550
728
  * Fetching is limited to public network destinations, a five-second timeout, no
551
729
  * redirects, a 2xx image/jpeg response with identity or no content encoding, and a
552
730
  * 1,363,148-byte limit enforced against both declared and streamed content. The
553
- * service resolves the URL before bot creation and does not persist, return, or
554
- * log the URL or image bytes.
731
+ * service resolves the URL before bot creation and does not return the URL or
732
+ * image bytes in the session response.
555
733
  */
556
734
  url: string;
557
735
  }
@@ -593,7 +771,7 @@ export interface MeetingSessionRetrieveTranscriptParams {
593
771
  wait_seconds?: number;
594
772
  }
595
773
  export declare namespace MeetingSessions {
596
- export { type MeetingSession as MeetingSession, type MeetingSessionResponse as MeetingSessionResponse, type MeetingSessionListResponse as MeetingSessionListResponse, type MeetingSessionDeleteRecordingMediaResponse as MeetingSessionDeleteRecordingMediaResponse, type MeetingSessionRetrieveEventsResponse as MeetingSessionRetrieveEventsResponse, type MeetingSessionRetrieveTranscriptResponse as MeetingSessionRetrieveTranscriptResponse, type MeetingSessionListParams as MeetingSessionListParams, type MeetingSessionCreateParams as MeetingSessionCreateParams, type MeetingSessionUpdateParams as MeetingSessionUpdateParams, type MeetingSessionRetrieveEventsParams as MeetingSessionRetrieveEventsParams, type MeetingSessionRetrieveTranscriptParams as MeetingSessionRetrieveTranscriptParams, };
774
+ export { type MeetingSession as MeetingSession, type MeetingSessionLeavePolicy as MeetingSessionLeavePolicy, type MeetingSessionRecordingDestination as MeetingSessionRecordingDestination, type MeetingSessionRecordingExport as MeetingSessionRecordingExport, type MeetingSessionResponse as MeetingSessionResponse, type MeetingSessionListResponse as MeetingSessionListResponse, type MeetingSessionDeleteRecordingMediaResponse as MeetingSessionDeleteRecordingMediaResponse, type MeetingSessionRetrieveEventsResponse as MeetingSessionRetrieveEventsResponse, type MeetingSessionRetrieveRecordingsResponse as MeetingSessionRetrieveRecordingsResponse, type MeetingSessionRetrieveTranscriptResponse as MeetingSessionRetrieveTranscriptResponse, type MeetingSessionListParams as MeetingSessionListParams, type MeetingSessionCreateParams as MeetingSessionCreateParams, type MeetingSessionUpdateParams as MeetingSessionUpdateParams, type MeetingSessionRetrieveEventsParams as MeetingSessionRetrieveEventsParams, type MeetingSessionRetrieveTranscriptParams as MeetingSessionRetrieveTranscriptParams, };
597
775
  export { Actions as Actions, type ActionAcceptedResponse as ActionAcceptedResponse, type ActionSendChatParams as ActionSendChatParams, type ActionSpeakParams as ActionSpeakParams, };
598
776
  export { Artifacts as Artifacts, type MeetingSessionArtifact as MeetingSessionArtifact, type MeetingSessionArtifactResponse as MeetingSessionArtifactResponse, type ArtifactListResponse as ArtifactListResponse, type ArtifactCreateParams as ArtifactCreateParams, type ArtifactRetrieveParams as ArtifactRetrieveParams, };
599
777
  }