telnyx 7.25.0 → 7.27.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 (708) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +25 -10
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +25 -10
  5. package/client.d.ts.map +1 -1
  6. package/client.js +15 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +15 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/addresses/addresses.d.mts +22 -2
  12. package/resources/addresses/addresses.d.mts.map +1 -1
  13. package/resources/addresses/addresses.d.ts +22 -2
  14. package/resources/addresses/addresses.d.ts.map +1 -1
  15. package/resources/addresses/addresses.js +12 -0
  16. package/resources/addresses/addresses.js.map +1 -1
  17. package/resources/addresses/addresses.mjs +12 -0
  18. package/resources/addresses/addresses.mjs.map +1 -1
  19. package/resources/ai/ai.d.mts +16 -7
  20. package/resources/ai/ai.d.mts.map +1 -1
  21. package/resources/ai/ai.d.ts +16 -7
  22. package/resources/ai/ai.d.ts.map +1 -1
  23. package/resources/ai/ai.js +4 -0
  24. package/resources/ai/ai.js.map +1 -1
  25. package/resources/ai/ai.mjs +4 -0
  26. package/resources/ai/ai.mjs.map +1 -1
  27. package/resources/ai/assistants/assistants.d.mts +383 -22
  28. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  29. package/resources/ai/assistants/assistants.d.ts +383 -22
  30. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  31. package/resources/ai/assistants/assistants.js +4 -1
  32. package/resources/ai/assistants/assistants.js.map +1 -1
  33. package/resources/ai/assistants/assistants.mjs +4 -1
  34. package/resources/ai/assistants/assistants.mjs.map +1 -1
  35. package/resources/ai/assistants/index.d.mts +1 -1
  36. package/resources/ai/assistants/index.d.mts.map +1 -1
  37. package/resources/ai/assistants/index.d.ts +1 -1
  38. package/resources/ai/assistants/index.d.ts.map +1 -1
  39. package/resources/ai/assistants/index.js.map +1 -1
  40. package/resources/ai/assistants/index.mjs.map +1 -1
  41. package/resources/ai/assistants/versions.d.mts +18 -1
  42. package/resources/ai/assistants/versions.d.mts.map +1 -1
  43. package/resources/ai/assistants/versions.d.ts +18 -1
  44. package/resources/ai/assistants/versions.d.ts.map +1 -1
  45. package/resources/ai/assistants/versions.js +4 -1
  46. package/resources/ai/assistants/versions.js.map +1 -1
  47. package/resources/ai/assistants/versions.mjs +4 -1
  48. package/resources/ai/assistants/versions.mjs.map +1 -1
  49. package/resources/ai/audio.d.mts +17 -5
  50. package/resources/ai/audio.d.mts.map +1 -1
  51. package/resources/ai/audio.d.ts +17 -5
  52. package/resources/ai/audio.d.ts.map +1 -1
  53. package/resources/ai/avatars.d.mts +200 -0
  54. package/resources/ai/avatars.d.mts.map +1 -0
  55. package/resources/ai/avatars.d.ts +200 -0
  56. package/resources/ai/avatars.d.ts.map +1 -0
  57. package/resources/ai/avatars.js +95 -0
  58. package/resources/ai/avatars.js.map +1 -0
  59. package/resources/ai/avatars.mjs +91 -0
  60. package/resources/ai/avatars.mjs.map +1 -0
  61. package/resources/ai/chat.d.mts +20 -6
  62. package/resources/ai/chat.d.mts.map +1 -1
  63. package/resources/ai/chat.d.ts +20 -6
  64. package/resources/ai/chat.d.ts.map +1 -1
  65. package/resources/ai/conversations/conversations.d.mts +8 -0
  66. package/resources/ai/conversations/conversations.d.mts.map +1 -1
  67. package/resources/ai/conversations/conversations.d.ts +8 -0
  68. package/resources/ai/conversations/conversations.d.ts.map +1 -1
  69. package/resources/ai/conversations/conversations.js.map +1 -1
  70. package/resources/ai/conversations/conversations.mjs.map +1 -1
  71. package/resources/ai/index.d.mts +3 -2
  72. package/resources/ai/index.d.mts.map +1 -1
  73. package/resources/ai/index.d.ts +3 -2
  74. package/resources/ai/index.d.ts.map +1 -1
  75. package/resources/ai/index.js +3 -1
  76. package/resources/ai/index.js.map +1 -1
  77. package/resources/ai/index.mjs +1 -0
  78. package/resources/ai/index.mjs.map +1 -1
  79. package/resources/ai/memory/namespaces/index.d.mts +1 -1
  80. package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
  81. package/resources/ai/memory/namespaces/index.d.ts +1 -1
  82. package/resources/ai/memory/namespaces/index.d.ts.map +1 -1
  83. package/resources/ai/memory/namespaces/index.js.map +1 -1
  84. package/resources/ai/memory/namespaces/index.mjs.map +1 -1
  85. package/resources/ai/memory/namespaces/namespaces.d.mts +2 -2
  86. package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
  87. package/resources/ai/memory/namespaces/namespaces.d.ts +2 -2
  88. package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
  89. package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
  90. package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
  91. package/resources/ai/memory/namespaces/profiles/index.d.mts +1 -1
  92. package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -1
  93. package/resources/ai/memory/namespaces/profiles/index.d.ts +1 -1
  94. package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -1
  95. package/resources/ai/memory/namespaces/profiles/index.js.map +1 -1
  96. package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -1
  97. package/resources/ai/memory/namespaces/profiles/profiles.d.mts +54 -1
  98. package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
  99. package/resources/ai/memory/namespaces/profiles/profiles.d.ts +54 -1
  100. package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -1
  101. package/resources/ai/memory/namespaces/profiles/profiles.js +31 -0
  102. package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -1
  103. package/resources/ai/memory/namespaces/profiles/profiles.mjs +31 -0
  104. package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -1
  105. package/resources/ai/openai/chat.d.mts +20 -6
  106. package/resources/ai/openai/chat.d.mts.map +1 -1
  107. package/resources/ai/openai/chat.d.ts +20 -6
  108. package/resources/ai/openai/chat.d.ts.map +1 -1
  109. package/resources/ai/tools.d.mts +30 -2
  110. package/resources/ai/tools.d.mts.map +1 -1
  111. package/resources/ai/tools.d.ts +30 -2
  112. package/resources/ai/tools.d.ts.map +1 -1
  113. package/resources/calls/actions.d.mts +260 -25
  114. package/resources/calls/actions.d.mts.map +1 -1
  115. package/resources/calls/actions.d.ts +260 -25
  116. package/resources/calls/actions.d.ts.map +1 -1
  117. package/resources/calls/calls.d.mts +24 -14
  118. package/resources/calls/calls.d.mts.map +1 -1
  119. package/resources/calls/calls.d.ts +24 -14
  120. package/resources/calls/calls.d.ts.map +1 -1
  121. package/resources/calls/calls.js +8 -0
  122. package/resources/calls/calls.js.map +1 -1
  123. package/resources/calls/calls.mjs +8 -0
  124. package/resources/calls/calls.mjs.map +1 -1
  125. package/resources/calls/index.d.mts +1 -1
  126. package/resources/calls/index.d.mts.map +1 -1
  127. package/resources/calls/index.d.ts +1 -1
  128. package/resources/calls/index.d.ts.map +1 -1
  129. package/resources/calls/index.js.map +1 -1
  130. package/resources/calls/index.mjs.map +1 -1
  131. package/resources/credential-connections/credential-connections.d.mts +38 -8
  132. package/resources/credential-connections/credential-connections.d.mts.map +1 -1
  133. package/resources/credential-connections/credential-connections.d.ts +38 -8
  134. package/resources/credential-connections/credential-connections.d.ts.map +1 -1
  135. package/resources/credential-connections/credential-connections.js.map +1 -1
  136. package/resources/credential-connections/credential-connections.mjs.map +1 -1
  137. package/resources/dial-metrics.d.mts +151 -0
  138. package/resources/dial-metrics.d.mts.map +1 -0
  139. package/resources/dial-metrics.d.ts +151 -0
  140. package/resources/dial-metrics.d.ts.map +1 -0
  141. package/resources/dial-metrics.js +44 -0
  142. package/resources/dial-metrics.js.map +1 -0
  143. package/resources/dial-metrics.mjs +40 -0
  144. package/resources/dial-metrics.mjs.map +1 -0
  145. package/resources/dir/dir.d.mts +11 -9
  146. package/resources/dir/dir.d.mts.map +1 -1
  147. package/resources/dir/dir.d.ts +11 -9
  148. package/resources/dir/dir.d.ts.map +1 -1
  149. package/resources/dir/dir.js +1 -2
  150. package/resources/dir/dir.js.map +1 -1
  151. package/resources/dir/dir.mjs +1 -2
  152. package/resources/dir/dir.mjs.map +1 -1
  153. package/resources/dir/phone-numbers.d.mts +0 -4
  154. package/resources/dir/phone-numbers.d.mts.map +1 -1
  155. package/resources/dir/phone-numbers.d.ts +0 -4
  156. package/resources/dir/phone-numbers.d.ts.map +1 -1
  157. package/resources/dir/references.d.mts +15 -9
  158. package/resources/dir/references.d.mts.map +1 -1
  159. package/resources/dir/references.d.ts +15 -9
  160. package/resources/dir/references.d.ts.map +1 -1
  161. package/resources/dir/references.js +15 -9
  162. package/resources/dir/references.js.map +1 -1
  163. package/resources/dir/references.mjs +15 -9
  164. package/resources/dir/references.mjs.map +1 -1
  165. package/resources/dir/verify-email.d.mts +17 -5
  166. package/resources/dir/verify-email.d.mts.map +1 -1
  167. package/resources/dir/verify-email.d.ts +17 -5
  168. package/resources/dir/verify-email.d.ts.map +1 -1
  169. package/resources/dir/verify-email.js +17 -5
  170. package/resources/dir/verify-email.js.map +1 -1
  171. package/resources/dir/verify-email.mjs +17 -5
  172. package/resources/dir/verify-email.mjs.map +1 -1
  173. package/resources/email-domains/email-domains.d.mts +1 -1
  174. package/resources/email-domains/email-domains.d.mts.map +1 -1
  175. package/resources/email-domains/email-domains.d.ts +1 -1
  176. package/resources/email-domains/email-domains.d.ts.map +1 -1
  177. package/resources/email-templates.d.mts +109 -18
  178. package/resources/email-templates.d.mts.map +1 -1
  179. package/resources/email-templates.d.ts +109 -18
  180. package/resources/email-templates.d.ts.map +1 -1
  181. package/resources/email-templates.js +5 -1
  182. package/resources/email-templates.js.map +1 -1
  183. package/resources/email-templates.mjs +5 -1
  184. package/resources/email-templates.mjs.map +1 -1
  185. package/resources/enterprises/dir.d.mts +8 -2
  186. package/resources/enterprises/dir.d.mts.map +1 -1
  187. package/resources/enterprises/dir.d.ts +8 -2
  188. package/resources/enterprises/dir.d.ts.map +1 -1
  189. package/resources/enterprises/dir.js +8 -2
  190. package/resources/enterprises/dir.js.map +1 -1
  191. package/resources/enterprises/dir.mjs +8 -2
  192. package/resources/enterprises/dir.mjs.map +1 -1
  193. package/resources/enterprises/enterprises.d.mts +7 -5
  194. package/resources/enterprises/enterprises.d.mts.map +1 -1
  195. package/resources/enterprises/enterprises.d.ts +7 -5
  196. package/resources/enterprises/enterprises.d.ts.map +1 -1
  197. package/resources/enterprises/enterprises.js +5 -3
  198. package/resources/enterprises/enterprises.js.map +1 -1
  199. package/resources/enterprises/enterprises.mjs +5 -3
  200. package/resources/enterprises/enterprises.mjs.map +1 -1
  201. package/resources/enterprises/index.d.mts +1 -1
  202. package/resources/enterprises/index.d.mts.map +1 -1
  203. package/resources/enterprises/index.d.ts +1 -1
  204. package/resources/enterprises/index.d.ts.map +1 -1
  205. package/resources/enterprises/index.js.map +1 -1
  206. package/resources/enterprises/index.mjs.map +1 -1
  207. package/resources/enterprises/reputation/external-verification.d.mts +94 -0
  208. package/resources/enterprises/reputation/external-verification.d.mts.map +1 -0
  209. package/resources/enterprises/reputation/external-verification.d.ts +94 -0
  210. package/resources/enterprises/reputation/external-verification.d.ts.map +1 -0
  211. package/resources/enterprises/reputation/external-verification.js +54 -0
  212. package/resources/enterprises/reputation/external-verification.js.map +1 -0
  213. package/resources/enterprises/reputation/external-verification.mjs +50 -0
  214. package/resources/enterprises/reputation/external-verification.mjs.map +1 -0
  215. package/resources/enterprises/reputation/index.d.mts +3 -2
  216. package/resources/enterprises/reputation/index.d.mts.map +1 -1
  217. package/resources/enterprises/reputation/index.d.ts +3 -2
  218. package/resources/enterprises/reputation/index.d.ts.map +1 -1
  219. package/resources/enterprises/reputation/index.js +3 -1
  220. package/resources/enterprises/reputation/index.js.map +1 -1
  221. package/resources/enterprises/reputation/index.mjs +1 -0
  222. package/resources/enterprises/reputation/index.mjs.map +1 -1
  223. package/resources/enterprises/reputation/loa.d.mts +3 -2
  224. package/resources/enterprises/reputation/loa.d.mts.map +1 -1
  225. package/resources/enterprises/reputation/loa.d.ts +3 -2
  226. package/resources/enterprises/reputation/loa.d.ts.map +1 -1
  227. package/resources/enterprises/reputation/numbers.d.mts +197 -4
  228. package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
  229. package/resources/enterprises/reputation/numbers.d.ts +197 -4
  230. package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
  231. package/resources/enterprises/reputation/numbers.js +58 -2
  232. package/resources/enterprises/reputation/numbers.js.map +1 -1
  233. package/resources/enterprises/reputation/numbers.mjs +58 -2
  234. package/resources/enterprises/reputation/numbers.mjs.map +1 -1
  235. package/resources/enterprises/reputation/remediation.d.mts +3 -2
  236. package/resources/enterprises/reputation/remediation.d.mts.map +1 -1
  237. package/resources/enterprises/reputation/remediation.d.ts +3 -2
  238. package/resources/enterprises/reputation/remediation.d.ts.map +1 -1
  239. package/resources/enterprises/reputation/reputation.d.mts +39 -3
  240. package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
  241. package/resources/enterprises/reputation/reputation.d.ts +39 -3
  242. package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
  243. package/resources/enterprises/reputation/reputation.js +22 -0
  244. package/resources/enterprises/reputation/reputation.js.map +1 -1
  245. package/resources/enterprises/reputation/reputation.mjs +22 -0
  246. package/resources/enterprises/reputation/reputation.mjs.map +1 -1
  247. package/resources/enterprises/verify-email.d.mts +1 -1
  248. package/resources/enterprises/verify-email.d.ts +1 -1
  249. package/resources/enterprises/verify-email.js +1 -1
  250. package/resources/enterprises/verify-email.mjs +1 -1
  251. package/resources/fqdn-connections/fqdn-connections.d.mts +38 -8
  252. package/resources/fqdn-connections/fqdn-connections.d.mts.map +1 -1
  253. package/resources/fqdn-connections/fqdn-connections.d.ts +38 -8
  254. package/resources/fqdn-connections/fqdn-connections.d.ts.map +1 -1
  255. package/resources/fqdn-connections/fqdn-connections.js.map +1 -1
  256. package/resources/fqdn-connections/fqdn-connections.mjs.map +1 -1
  257. package/resources/global-ip-assignment-health.d.mts +4 -4
  258. package/resources/global-ip-assignment-health.d.mts.map +1 -1
  259. package/resources/global-ip-assignment-health.d.ts +4 -4
  260. package/resources/global-ip-assignment-health.d.ts.map +1 -1
  261. package/resources/global-ip-assignments-usage.d.mts +4 -4
  262. package/resources/global-ip-assignments-usage.d.mts.map +1 -1
  263. package/resources/global-ip-assignments-usage.d.ts +4 -4
  264. package/resources/global-ip-assignments-usage.d.ts.map +1 -1
  265. package/resources/index.d.mts +8 -5
  266. package/resources/index.d.mts.map +1 -1
  267. package/resources/index.d.ts +8 -5
  268. package/resources/index.d.ts.map +1 -1
  269. package/resources/index.js +10 -4
  270. package/resources/index.js.map +1 -1
  271. package/resources/index.mjs +3 -0
  272. package/resources/index.mjs.map +1 -1
  273. package/resources/ip-connections.d.mts +36 -6
  274. package/resources/ip-connections.d.mts.map +1 -1
  275. package/resources/ip-connections.d.ts +36 -6
  276. package/resources/ip-connections.d.ts.map +1 -1
  277. package/resources/llm-token-gateway/index.d.mts +4 -1
  278. package/resources/llm-token-gateway/index.d.mts.map +1 -1
  279. package/resources/llm-token-gateway/index.d.ts +4 -1
  280. package/resources/llm-token-gateway/index.d.ts.map +1 -1
  281. package/resources/llm-token-gateway/index.js +7 -1
  282. package/resources/llm-token-gateway/index.js.map +1 -1
  283. package/resources/llm-token-gateway/index.mjs +4 -1
  284. package/resources/llm-token-gateway/index.mjs.map +1 -1
  285. package/resources/llm-token-gateway/llm-token-gateway.d.mts +14 -2
  286. package/resources/llm-token-gateway/llm-token-gateway.d.mts.map +1 -1
  287. package/resources/llm-token-gateway/llm-token-gateway.d.ts +14 -2
  288. package/resources/llm-token-gateway/llm-token-gateway.d.ts.map +1 -1
  289. package/resources/llm-token-gateway/llm-token-gateway.js +12 -0
  290. package/resources/llm-token-gateway/llm-token-gateway.js.map +1 -1
  291. package/resources/llm-token-gateway/llm-token-gateway.mjs +13 -1
  292. package/resources/llm-token-gateway/llm-token-gateway.mjs.map +1 -1
  293. package/resources/llm-token-gateway/spend.d.mts +223 -0
  294. package/resources/llm-token-gateway/spend.d.mts.map +1 -0
  295. package/resources/llm-token-gateway/spend.d.ts +223 -0
  296. package/resources/llm-token-gateway/spend.d.ts.map +1 -0
  297. package/resources/llm-token-gateway/spend.js +56 -0
  298. package/resources/llm-token-gateway/spend.js.map +1 -0
  299. package/resources/llm-token-gateway/spend.mjs +52 -0
  300. package/resources/llm-token-gateway/spend.mjs.map +1 -0
  301. package/resources/llm-token-gateway/token-groups.d.mts +577 -0
  302. package/resources/llm-token-gateway/token-groups.d.mts.map +1 -0
  303. package/resources/llm-token-gateway/token-groups.d.ts +577 -0
  304. package/resources/llm-token-gateway/token-groups.d.ts.map +1 -0
  305. package/resources/llm-token-gateway/token-groups.js +139 -0
  306. package/resources/llm-token-gateway/token-groups.js.map +1 -0
  307. package/resources/llm-token-gateway/token-groups.mjs +135 -0
  308. package/resources/llm-token-gateway/token-groups.mjs.map +1 -0
  309. package/resources/llm-token-gateway/token-keys.d.mts +318 -0
  310. package/resources/llm-token-gateway/token-keys.d.mts.map +1 -0
  311. package/resources/llm-token-gateway/token-keys.d.ts +318 -0
  312. package/resources/llm-token-gateway/token-keys.d.ts.map +1 -0
  313. package/resources/llm-token-gateway/token-keys.js +127 -0
  314. package/resources/llm-token-gateway/token-keys.js.map +1 -0
  315. package/resources/llm-token-gateway/token-keys.mjs +123 -0
  316. package/resources/llm-token-gateway/token-keys.mjs.map +1 -0
  317. package/resources/llm-token-gateway/usage.d.mts +205 -146
  318. package/resources/llm-token-gateway/usage.d.mts.map +1 -1
  319. package/resources/llm-token-gateway/usage.d.ts +205 -146
  320. package/resources/llm-token-gateway/usage.d.ts.map +1 -1
  321. package/resources/llm-token-gateway/usage.js +47 -15
  322. package/resources/llm-token-gateway/usage.js.map +1 -1
  323. package/resources/llm-token-gateway/usage.mjs +47 -15
  324. package/resources/llm-token-gateway/usage.mjs.map +1 -1
  325. package/resources/meeting-sessions/actions.d.mts +13 -7
  326. package/resources/meeting-sessions/actions.d.mts.map +1 -1
  327. package/resources/meeting-sessions/actions.d.ts +13 -7
  328. package/resources/meeting-sessions/actions.d.ts.map +1 -1
  329. package/resources/meeting-sessions/actions.js +13 -7
  330. package/resources/meeting-sessions/actions.js.map +1 -1
  331. package/resources/meeting-sessions/actions.mjs +13 -7
  332. package/resources/meeting-sessions/actions.mjs.map +1 -1
  333. package/resources/meeting-sessions/index.d.mts +1 -1
  334. package/resources/meeting-sessions/index.d.mts.map +1 -1
  335. package/resources/meeting-sessions/index.d.ts +1 -1
  336. package/resources/meeting-sessions/index.d.ts.map +1 -1
  337. package/resources/meeting-sessions/index.js.map +1 -1
  338. package/resources/meeting-sessions/index.mjs.map +1 -1
  339. package/resources/meeting-sessions/meeting-sessions.d.mts +46 -65
  340. package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
  341. package/resources/meeting-sessions/meeting-sessions.d.ts +46 -65
  342. package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
  343. package/resources/meeting-sessions/meeting-sessions.js +14 -23
  344. package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
  345. package/resources/meeting-sessions/meeting-sessions.mjs +14 -23
  346. package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
  347. package/resources/messages/messages.d.mts +581 -118
  348. package/resources/messages/messages.d.mts.map +1 -1
  349. package/resources/messages/messages.d.ts +581 -118
  350. package/resources/messages/messages.d.ts.map +1 -1
  351. package/resources/messages/messages.js +71 -14
  352. package/resources/messages/messages.js.map +1 -1
  353. package/resources/messages/messages.mjs +71 -14
  354. package/resources/messages/messages.mjs.map +1 -1
  355. package/resources/messages/rcs.d.mts +26 -6
  356. package/resources/messages/rcs.d.mts.map +1 -1
  357. package/resources/messages/rcs.d.ts +26 -6
  358. package/resources/messages/rcs.d.ts.map +1 -1
  359. package/resources/messages/rcs.js +11 -2
  360. package/resources/messages/rcs.js.map +1 -1
  361. package/resources/messages/rcs.mjs +11 -2
  362. package/resources/messages/rcs.mjs.map +1 -1
  363. package/resources/phone-numbers/csv-downloads.d.mts +9 -0
  364. package/resources/phone-numbers/csv-downloads.d.mts.map +1 -1
  365. package/resources/phone-numbers/csv-downloads.d.ts +9 -0
  366. package/resources/phone-numbers/csv-downloads.d.ts.map +1 -1
  367. package/resources/phone-numbers/csv-downloads.js +5 -2
  368. package/resources/phone-numbers/csv-downloads.js.map +1 -1
  369. package/resources/phone-numbers/csv-downloads.mjs +5 -2
  370. package/resources/phone-numbers/csv-downloads.mjs.map +1 -1
  371. package/resources/phone-numbers/index.d.mts +2 -2
  372. package/resources/phone-numbers/index.d.mts.map +1 -1
  373. package/resources/phone-numbers/index.d.ts +2 -2
  374. package/resources/phone-numbers/index.d.ts.map +1 -1
  375. package/resources/phone-numbers/index.js.map +1 -1
  376. package/resources/phone-numbers/index.mjs.map +1 -1
  377. package/resources/phone-numbers/jobs.d.mts +277 -14
  378. package/resources/phone-numbers/jobs.d.mts.map +1 -1
  379. package/resources/phone-numbers/jobs.d.ts +277 -14
  380. package/resources/phone-numbers/jobs.d.ts.map +1 -1
  381. package/resources/phone-numbers/jobs.js +5 -4
  382. package/resources/phone-numbers/jobs.js.map +1 -1
  383. package/resources/phone-numbers/jobs.mjs +5 -4
  384. package/resources/phone-numbers/jobs.mjs.map +1 -1
  385. package/resources/phone-numbers/phone-numbers.d.mts +28 -3
  386. package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
  387. package/resources/phone-numbers/phone-numbers.d.ts +28 -3
  388. package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
  389. package/resources/phone-numbers/phone-numbers.js.map +1 -1
  390. package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
  391. package/resources/porting-orders/phone-number-blocks.d.mts +1 -1
  392. package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
  393. package/resources/porting-orders/phone-number-blocks.d.ts +1 -1
  394. package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
  395. package/resources/porting-orders/porting-orders.d.mts +1 -1
  396. package/resources/porting-orders/porting-orders.d.mts.map +1 -1
  397. package/resources/porting-orders/porting-orders.d.ts +1 -1
  398. package/resources/porting-orders/porting-orders.d.ts.map +1 -1
  399. package/resources/porting-orders/porting-orders.js.map +1 -1
  400. package/resources/porting-orders/porting-orders.mjs.map +1 -1
  401. package/resources/porting-phone-numbers.d.mts +1 -1
  402. package/resources/porting-phone-numbers.d.mts.map +1 -1
  403. package/resources/porting-phone-numbers.d.ts +1 -1
  404. package/resources/porting-phone-numbers.d.ts.map +1 -1
  405. package/resources/reputation/numbers.d.mts +10 -0
  406. package/resources/reputation/numbers.d.mts.map +1 -1
  407. package/resources/reputation/numbers.d.ts +10 -0
  408. package/resources/reputation/numbers.d.ts.map +1 -1
  409. package/resources/shared.d.mts +4 -0
  410. package/resources/shared.d.mts.map +1 -1
  411. package/resources/shared.d.ts +4 -0
  412. package/resources/shared.d.ts.map +1 -1
  413. package/resources/sip-registration-status.d.mts +149 -0
  414. package/resources/sip-registration-status.d.mts.map +1 -0
  415. package/resources/sip-registration-status.d.ts +149 -0
  416. package/resources/sip-registration-status.d.ts.map +1 -0
  417. package/resources/sip-registration-status.js +32 -0
  418. package/resources/sip-registration-status.js.map +1 -0
  419. package/resources/sip-registration-status.mjs +28 -0
  420. package/resources/sip-registration-status.mjs.map +1 -0
  421. package/resources/speech-to-text/speech-to-text.d.mts +12 -5
  422. package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
  423. package/resources/speech-to-text/speech-to-text.d.ts +12 -5
  424. package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
  425. package/resources/telephony-credentials.d.mts +11 -2
  426. package/resources/telephony-credentials.d.mts.map +1 -1
  427. package/resources/telephony-credentials.d.ts +11 -2
  428. package/resources/telephony-credentials.d.ts.map +1 -1
  429. package/resources/telephony-credentials.js +9 -2
  430. package/resources/telephony-credentials.js.map +1 -1
  431. package/resources/telephony-credentials.mjs +9 -2
  432. package/resources/telephony-credentials.mjs.map +1 -1
  433. package/resources/texml/accounts/accounts.d.mts +2 -2
  434. package/resources/texml/accounts/accounts.d.ts +2 -2
  435. package/resources/texml/accounts/accounts.js +2 -2
  436. package/resources/texml/accounts/accounts.mjs +2 -2
  437. package/resources/texml/accounts/calls/calls.d.mts +49 -14
  438. package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
  439. package/resources/texml/accounts/calls/calls.d.ts +49 -14
  440. package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
  441. package/resources/texml/accounts/calls/calls.js +7 -7
  442. package/resources/texml/accounts/calls/calls.js.map +1 -1
  443. package/resources/texml/accounts/calls/calls.mjs +7 -7
  444. package/resources/texml/accounts/calls/calls.mjs.map +1 -1
  445. package/resources/texml/accounts/calls/recordings-json.d.mts +14 -4
  446. package/resources/texml/accounts/calls/recordings-json.d.mts.map +1 -1
  447. package/resources/texml/accounts/calls/recordings-json.d.ts +14 -4
  448. package/resources/texml/accounts/calls/recordings-json.d.ts.map +1 -1
  449. package/resources/texml/accounts/calls/recordings-json.js +2 -2
  450. package/resources/texml/accounts/calls/recordings-json.mjs +2 -2
  451. package/resources/texml/accounts/calls/recordings.d.mts +10 -2
  452. package/resources/texml/accounts/calls/recordings.d.mts.map +1 -1
  453. package/resources/texml/accounts/calls/recordings.d.ts +10 -2
  454. package/resources/texml/accounts/calls/recordings.d.ts.map +1 -1
  455. package/resources/texml/accounts/calls/recordings.js +4 -1
  456. package/resources/texml/accounts/calls/recordings.js.map +1 -1
  457. package/resources/texml/accounts/calls/recordings.mjs +4 -1
  458. package/resources/texml/accounts/calls/recordings.mjs.map +1 -1
  459. package/resources/texml/accounts/calls/siprec.d.mts +10 -2
  460. package/resources/texml/accounts/calls/siprec.d.mts.map +1 -1
  461. package/resources/texml/accounts/calls/siprec.d.ts +10 -2
  462. package/resources/texml/accounts/calls/siprec.d.ts.map +1 -1
  463. package/resources/texml/accounts/calls/siprec.js +4 -1
  464. package/resources/texml/accounts/calls/siprec.js.map +1 -1
  465. package/resources/texml/accounts/calls/siprec.mjs +4 -1
  466. package/resources/texml/accounts/calls/siprec.mjs.map +1 -1
  467. package/resources/texml/accounts/calls/streams.d.mts +10 -2
  468. package/resources/texml/accounts/calls/streams.d.mts.map +1 -1
  469. package/resources/texml/accounts/calls/streams.d.ts +10 -2
  470. package/resources/texml/accounts/calls/streams.d.ts.map +1 -1
  471. package/resources/texml/accounts/calls/streams.js +4 -1
  472. package/resources/texml/accounts/calls/streams.js.map +1 -1
  473. package/resources/texml/accounts/calls/streams.mjs +4 -1
  474. package/resources/texml/accounts/calls/streams.mjs.map +1 -1
  475. package/resources/texml/accounts/conferences/conferences.d.mts +29 -9
  476. package/resources/texml/accounts/conferences/conferences.d.mts.map +1 -1
  477. package/resources/texml/accounts/conferences/conferences.d.ts +29 -9
  478. package/resources/texml/accounts/conferences/conferences.d.ts.map +1 -1
  479. package/resources/texml/accounts/conferences/conferences.js +5 -5
  480. package/resources/texml/accounts/conferences/conferences.js.map +1 -1
  481. package/resources/texml/accounts/conferences/conferences.mjs +5 -5
  482. package/resources/texml/accounts/conferences/conferences.mjs.map +1 -1
  483. package/resources/texml/accounts/conferences/participants.d.mts +35 -10
  484. package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
  485. package/resources/texml/accounts/conferences/participants.d.ts +35 -10
  486. package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
  487. package/resources/texml/accounts/conferences/participants.js +5 -5
  488. package/resources/texml/accounts/conferences/participants.mjs +5 -5
  489. package/resources/texml/accounts/queues.d.mts +25 -8
  490. package/resources/texml/accounts/queues.d.mts.map +1 -1
  491. package/resources/texml/accounts/queues.d.ts +25 -8
  492. package/resources/texml/accounts/queues.d.ts.map +1 -1
  493. package/resources/texml/accounts/queues.js +7 -5
  494. package/resources/texml/accounts/queues.js.map +1 -1
  495. package/resources/texml/accounts/queues.mjs +7 -5
  496. package/resources/texml/accounts/queues.mjs.map +1 -1
  497. package/resources/texml/accounts/recordings/json.d.mts +14 -4
  498. package/resources/texml/accounts/recordings/json.d.mts.map +1 -1
  499. package/resources/texml/accounts/recordings/json.d.ts +14 -4
  500. package/resources/texml/accounts/recordings/json.d.ts.map +1 -1
  501. package/resources/texml/accounts/recordings/json.js +2 -2
  502. package/resources/texml/accounts/recordings/json.mjs +2 -2
  503. package/resources/texml/accounts/transcriptions/json.d.mts +14 -4
  504. package/resources/texml/accounts/transcriptions/json.d.mts.map +1 -1
  505. package/resources/texml/accounts/transcriptions/json.d.ts +14 -4
  506. package/resources/texml/accounts/transcriptions/json.d.ts.map +1 -1
  507. package/resources/texml/accounts/transcriptions/json.js +2 -2
  508. package/resources/texml/accounts/transcriptions/json.mjs +2 -2
  509. package/resources/texml/texml.d.mts +7 -3
  510. package/resources/texml/texml.d.mts.map +1 -1
  511. package/resources/texml/texml.d.ts +7 -3
  512. package/resources/texml/texml.d.ts.map +1 -1
  513. package/resources/texml/texml.js +4 -2
  514. package/resources/texml/texml.js.map +1 -1
  515. package/resources/texml/texml.mjs +4 -2
  516. package/resources/texml/texml.mjs.map +1 -1
  517. package/resources/text-to-speech/text-to-speech.d.mts +15 -6
  518. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  519. package/resources/text-to-speech/text-to-speech.d.ts +15 -6
  520. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  521. package/resources/tts-integrations/actions.d.mts +4 -0
  522. package/resources/tts-integrations/actions.d.mts.map +1 -0
  523. package/resources/tts-integrations/actions.d.ts +4 -0
  524. package/resources/tts-integrations/actions.d.ts.map +1 -0
  525. package/resources/tts-integrations/actions.js +9 -0
  526. package/resources/tts-integrations/actions.js.map +1 -0
  527. package/resources/tts-integrations/actions.mjs +5 -0
  528. package/resources/tts-integrations/actions.mjs.map +1 -0
  529. package/resources/tts-integrations/index.d.mts +3 -0
  530. package/resources/tts-integrations/index.d.mts.map +1 -0
  531. package/resources/tts-integrations/index.d.ts +3 -0
  532. package/resources/tts-integrations/index.d.ts.map +1 -0
  533. package/resources/tts-integrations/index.js +9 -0
  534. package/resources/tts-integrations/index.js.map +1 -0
  535. package/resources/tts-integrations/index.mjs +4 -0
  536. package/resources/tts-integrations/index.mjs.map +1 -0
  537. package/resources/tts-integrations/tts-integrations.d.mts +10 -0
  538. package/resources/tts-integrations/tts-integrations.d.mts.map +1 -0
  539. package/resources/tts-integrations/tts-integrations.d.ts +10 -0
  540. package/resources/tts-integrations/tts-integrations.d.ts.map +1 -0
  541. package/resources/tts-integrations/tts-integrations.js +17 -0
  542. package/resources/tts-integrations/tts-integrations.js.map +1 -0
  543. package/resources/tts-integrations/tts-integrations.mjs +12 -0
  544. package/resources/tts-integrations/tts-integrations.mjs.map +1 -0
  545. package/resources/tts-integrations.d.mts +2 -0
  546. package/resources/tts-integrations.d.mts.map +1 -0
  547. package/resources/tts-integrations.d.ts +2 -0
  548. package/resources/tts-integrations.d.ts.map +1 -0
  549. package/resources/tts-integrations.js +6 -0
  550. package/resources/tts-integrations.js.map +1 -0
  551. package/resources/tts-integrations.mjs +3 -0
  552. package/resources/tts-integrations.mjs.map +1 -0
  553. package/resources/uac-connections/uac-connections.d.mts +36 -6
  554. package/resources/uac-connections/uac-connections.d.mts.map +1 -1
  555. package/resources/uac-connections/uac-connections.d.ts +36 -6
  556. package/resources/uac-connections/uac-connections.d.ts.map +1 -1
  557. package/resources/uac-connections/uac-connections.js.map +1 -1
  558. package/resources/uac-connections/uac-connections.mjs.map +1 -1
  559. package/resources/voice-clones.d.mts +57 -10
  560. package/resources/voice-clones.d.mts.map +1 -1
  561. package/resources/voice-clones.d.ts +57 -10
  562. package/resources/voice-clones.d.ts.map +1 -1
  563. package/resources/voice-clones.js +6 -4
  564. package/resources/voice-clones.js.map +1 -1
  565. package/resources/voice-clones.mjs +6 -4
  566. package/resources/voice-clones.mjs.map +1 -1
  567. package/resources/webhooks.d.mts +986 -71
  568. package/resources/webhooks.d.mts.map +1 -1
  569. package/resources/webhooks.d.ts +986 -71
  570. package/resources/webhooks.d.ts.map +1 -1
  571. package/resources/webhooks.js.map +1 -1
  572. package/resources/webhooks.mjs.map +1 -1
  573. package/resources/whatsapp/hosted-signups.d.mts +165 -0
  574. package/resources/whatsapp/hosted-signups.d.mts.map +1 -0
  575. package/resources/whatsapp/hosted-signups.d.ts +165 -0
  576. package/resources/whatsapp/hosted-signups.d.ts.map +1 -0
  577. package/resources/whatsapp/hosted-signups.js +56 -0
  578. package/resources/whatsapp/hosted-signups.js.map +1 -0
  579. package/resources/whatsapp/hosted-signups.mjs +52 -0
  580. package/resources/whatsapp/hosted-signups.mjs.map +1 -0
  581. package/resources/whatsapp/index.d.mts +2 -0
  582. package/resources/whatsapp/index.d.mts.map +1 -1
  583. package/resources/whatsapp/index.d.ts +2 -0
  584. package/resources/whatsapp/index.d.ts.map +1 -1
  585. package/resources/whatsapp/index.js +5 -1
  586. package/resources/whatsapp/index.js.map +1 -1
  587. package/resources/whatsapp/index.mjs +2 -0
  588. package/resources/whatsapp/index.mjs.map +1 -1
  589. package/resources/whatsapp/phone-numbers/calling-routing.d.mts +6 -5
  590. package/resources/whatsapp/phone-numbers/calling-routing.d.mts.map +1 -1
  591. package/resources/whatsapp/phone-numbers/calling-routing.d.ts +6 -5
  592. package/resources/whatsapp/phone-numbers/calling-routing.d.ts.map +1 -1
  593. package/resources/whatsapp/phone-numbers/calling-routing.js +6 -5
  594. package/resources/whatsapp/phone-numbers/calling-routing.js.map +1 -1
  595. package/resources/whatsapp/phone-numbers/calling-routing.mjs +6 -5
  596. package/resources/whatsapp/phone-numbers/calling-routing.mjs.map +1 -1
  597. package/resources/whatsapp/signup.d.mts +128 -0
  598. package/resources/whatsapp/signup.d.mts.map +1 -0
  599. package/resources/whatsapp/signup.d.ts +128 -0
  600. package/resources/whatsapp/signup.d.ts.map +1 -0
  601. package/resources/whatsapp/signup.js +42 -0
  602. package/resources/whatsapp/signup.js.map +1 -0
  603. package/resources/whatsapp/signup.mjs +38 -0
  604. package/resources/whatsapp/signup.mjs.map +1 -0
  605. package/resources/whatsapp/whatsapp.d.mts +8 -0
  606. package/resources/whatsapp/whatsapp.d.mts.map +1 -1
  607. package/resources/whatsapp/whatsapp.d.ts +8 -0
  608. package/resources/whatsapp/whatsapp.d.ts.map +1 -1
  609. package/resources/whatsapp/whatsapp.js +8 -0
  610. package/resources/whatsapp/whatsapp.js.map +1 -1
  611. package/resources/whatsapp/whatsapp.mjs +8 -0
  612. package/resources/whatsapp/whatsapp.mjs.map +1 -1
  613. package/src/client.ts +57 -4
  614. package/src/resources/addresses/addresses.ts +22 -2
  615. package/src/resources/ai/ai.ts +40 -3
  616. package/src/resources/ai/assistants/assistants.ts +455 -20
  617. package/src/resources/ai/assistants/index.ts +2 -0
  618. package/src/resources/ai/assistants/versions.ts +20 -1
  619. package/src/resources/ai/audio.ts +18 -5
  620. package/src/resources/ai/avatars.ts +252 -0
  621. package/src/resources/ai/chat.ts +20 -6
  622. package/src/resources/ai/conversations/conversations.ts +9 -0
  623. package/src/resources/ai/index.ts +14 -0
  624. package/src/resources/ai/memory/namespaces/index.ts +2 -0
  625. package/src/resources/ai/memory/namespaces/namespaces.ts +4 -0
  626. package/src/resources/ai/memory/namespaces/profiles/index.ts +2 -0
  627. package/src/resources/ai/memory/namespaces/profiles/profiles.ts +71 -0
  628. package/src/resources/ai/openai/chat.ts +20 -6
  629. package/src/resources/ai/tools.ts +35 -1
  630. package/src/resources/calls/actions.ts +346 -20
  631. package/src/resources/calls/calls.ts +26 -8
  632. package/src/resources/calls/index.ts +2 -0
  633. package/src/resources/credential-connections/credential-connections.ts +41 -8
  634. package/src/resources/dial-metrics.ts +185 -0
  635. package/src/resources/dir/dir.ts +13 -8
  636. package/src/resources/dir/phone-numbers.ts +1 -6
  637. package/src/resources/dir/references.ts +15 -9
  638. package/src/resources/dir/verify-email.ts +17 -5
  639. package/src/resources/email-domains/email-domains.ts +1 -1
  640. package/src/resources/email-templates.ts +121 -19
  641. package/src/resources/enterprises/dir.ts +8 -2
  642. package/src/resources/enterprises/enterprises.ts +7 -3
  643. package/src/resources/enterprises/index.ts +1 -0
  644. package/src/resources/enterprises/reputation/external-verification.ts +125 -0
  645. package/src/resources/enterprises/reputation/index.ts +12 -0
  646. package/src/resources/enterprises/reputation/loa.ts +3 -2
  647. package/src/resources/enterprises/reputation/numbers.ts +256 -3
  648. package/src/resources/enterprises/reputation/remediation.ts +3 -2
  649. package/src/resources/enterprises/reputation/reputation.ts +70 -0
  650. package/src/resources/enterprises/verify-email.ts +1 -1
  651. package/src/resources/fqdn-connections/fqdn-connections.ts +41 -8
  652. package/src/resources/global-ip-assignment-health.ts +4 -4
  653. package/src/resources/global-ip-assignments-usage.ts +4 -4
  654. package/src/resources/index.ts +21 -2
  655. package/src/resources/ip-connections.ts +39 -6
  656. package/src/resources/llm-token-gateway/index.ts +38 -1
  657. package/src/resources/llm-token-gateway/llm-token-gateway.ts +83 -1
  658. package/src/resources/llm-token-gateway/spend.ts +309 -0
  659. package/src/resources/llm-token-gateway/token-groups.ts +724 -0
  660. package/src/resources/llm-token-gateway/token-keys.ts +422 -0
  661. package/src/resources/llm-token-gateway/usage.ts +273 -149
  662. package/src/resources/meeting-sessions/actions.ts +13 -7
  663. package/src/resources/meeting-sessions/index.ts +0 -1
  664. package/src/resources/meeting-sessions/meeting-sessions.ts +48 -79
  665. package/src/resources/messages/messages.ts +786 -125
  666. package/src/resources/messages/rcs.ts +37 -7
  667. package/src/resources/phone-numbers/csv-downloads.ts +15 -2
  668. package/src/resources/phone-numbers/index.ts +3 -1
  669. package/src/resources/phone-numbers/jobs.ts +332 -15
  670. package/src/resources/phone-numbers/phone-numbers.ts +38 -2
  671. package/src/resources/porting-orders/phone-number-blocks.ts +1 -0
  672. package/src/resources/porting-orders/porting-orders.ts +1 -0
  673. package/src/resources/porting-phone-numbers.ts +1 -0
  674. package/src/resources/reputation/numbers.ts +12 -0
  675. package/src/resources/shared.ts +5 -0
  676. package/src/resources/sip-registration-status.ts +188 -0
  677. package/src/resources/speech-to-text/speech-to-text.ts +12 -4
  678. package/src/resources/telephony-credentials.ts +24 -2
  679. package/src/resources/texml/accounts/accounts.ts +2 -2
  680. package/src/resources/texml/accounts/calls/calls.ts +49 -14
  681. package/src/resources/texml/accounts/calls/recordings-json.ts +14 -4
  682. package/src/resources/texml/accounts/calls/recordings.ts +10 -2
  683. package/src/resources/texml/accounts/calls/siprec.ts +10 -2
  684. package/src/resources/texml/accounts/calls/streams.ts +10 -2
  685. package/src/resources/texml/accounts/conferences/conferences.ts +29 -9
  686. package/src/resources/texml/accounts/conferences/participants.ts +35 -10
  687. package/src/resources/texml/accounts/queues.ts +25 -8
  688. package/src/resources/texml/accounts/recordings/json.ts +14 -4
  689. package/src/resources/texml/accounts/transcriptions/json.ts +14 -4
  690. package/src/resources/texml/texml.ts +7 -3
  691. package/src/resources/text-to-speech/text-to-speech.ts +15 -6
  692. package/src/resources/tts-integrations/actions.ts +5 -0
  693. package/src/resources/tts-integrations/index.ts +4 -0
  694. package/src/resources/tts-integrations/tts-integrations.ts +15 -0
  695. package/src/resources/tts-integrations.ts +3 -0
  696. package/src/resources/uac-connections/uac-connections.ts +39 -6
  697. package/src/resources/voice-clones.ts +65 -9
  698. package/src/resources/webhooks.ts +1257 -96
  699. package/src/resources/whatsapp/hosted-signups.ts +221 -0
  700. package/src/resources/whatsapp/index.ts +16 -0
  701. package/src/resources/whatsapp/phone-numbers/calling-routing.ts +6 -5
  702. package/src/resources/whatsapp/signup.ts +188 -0
  703. package/src/resources/whatsapp/whatsapp.ts +40 -0
  704. package/src/version.ts +1 -1
  705. package/version.d.mts +1 -1
  706. package/version.d.ts +1 -1
  707. package/version.js +1 -1
  708. package/version.mjs +1 -1
@@ -6,6 +6,7 @@ import * as NumberOrdersAPI from './number-orders';
6
6
  import * as CallsAPI from './calls/calls';
7
7
  import * as MessagesAPI from './messages/messages';
8
8
  import * as ThreadsAPI from './email-inboxes/threads/threads';
9
+ import * as NumbersAPI from './enterprises/reputation/numbers';
9
10
  import { EmailBracketCursorPagination } from '../core/pagination';
10
11
  import { unsafeUnwrapWebhook, unwrapWebhook } from '../lib/webhooks';
11
12
 
@@ -534,6 +535,16 @@ export namespace CallConversationEnded {
534
535
  */
535
536
  llm_model?: string;
536
537
 
538
+ /**
539
+ * The conversation transcript, in order. By default it contains only `user` and
540
+ * `assistant` text turns. When the assistant's
541
+ * `telephony_settings.conversation_ended_full_history` is `true`, it contains the
542
+ * full conversation history, including assistant tool calls, tool results, and
543
+ * `system` and `developer` entries. Redacted when data retention is disabled for
544
+ * the account.
545
+ */
546
+ messages?: Array<Payload.Message>;
547
+
537
548
  /**
538
549
  * Reason the conversation ended. For Conversation Relay, `customer_disconnect`
539
550
  * indicates that the customer WebSocket disconnected.
@@ -565,6 +576,73 @@ export namespace CallConversationEnded {
565
576
  */
566
577
  tts_voice_id?: string;
567
578
  }
579
+
580
+ export namespace Payload {
581
+ export interface Message {
582
+ /**
583
+ * The text of the message. For a tool result, the tool output. May be absent on an
584
+ * assistant message that only contains `tool_calls`.
585
+ */
586
+ content?: string;
587
+
588
+ /**
589
+ * The author of the message. `tool`, `system`, and `developer` only appear when
590
+ * `conversation_ended_full_history` is enabled. `system` and `developer` entries
591
+ * are informational (for example idle check-ins, voicemail prompts,
592
+ * participant-left notices, or messages added through the API); their wording is
593
+ * not a stable contract.
594
+ */
595
+ role?: 'user' | 'assistant' | 'tool' | 'system' | 'developer';
596
+
597
+ /**
598
+ * ISO 8601 datetime of when the message was added to the conversation.
599
+ */
600
+ timestamp?: string;
601
+
602
+ /**
603
+ * The `id` of the tool call this message answers. Only present on `tool` messages
604
+ * when `conversation_ended_full_history` is enabled.
605
+ */
606
+ tool_call_id?: string;
607
+
608
+ /**
609
+ * Tools the assistant called in this turn. Only present on `assistant` messages
610
+ * when `conversation_ended_full_history` is enabled.
611
+ */
612
+ tool_calls?: Array<Message.ToolCall>;
613
+ }
614
+
615
+ export namespace Message {
616
+ export interface ToolCall {
617
+ /**
618
+ * Identifier of the tool call, referenced by the matching tool result's
619
+ * `tool_call_id`.
620
+ */
621
+ id?: string;
622
+
623
+ function?: ToolCall.Function;
624
+
625
+ /**
626
+ * The type of tool call.
627
+ */
628
+ type?: 'function';
629
+ }
630
+
631
+ export namespace ToolCall {
632
+ export interface Function {
633
+ /**
634
+ * The arguments passed to the tool, as a JSON-encoded string.
635
+ */
636
+ arguments?: string;
637
+
638
+ /**
639
+ * The name of the tool that was called.
640
+ */
641
+ name?: string;
642
+ }
643
+ }
644
+ }
645
+ }
568
646
  }
569
647
 
570
648
  export interface CallConversationInsightsGenerated {
@@ -4842,6 +4920,262 @@ export namespace ArtifactFailedWebhookEvent {
4842
4920
  }
4843
4921
  }
4844
4922
 
4923
+ export interface CallAnalyzedWebhookEvent {
4924
+ data?: CallAnalyzedWebhookEvent.Data;
4925
+ }
4926
+
4927
+ export namespace CallAnalyzedWebhookEvent {
4928
+ export interface Data {
4929
+ /**
4930
+ * Unique identifier for the event.
4931
+ */
4932
+ id?: string;
4933
+
4934
+ /**
4935
+ * The type of event being delivered.
4936
+ */
4937
+ event_type?: 'call.analyzed';
4938
+
4939
+ /**
4940
+ * ISO 8601 datetime of when the event occurred.
4941
+ */
4942
+ occurred_at?: string;
4943
+
4944
+ payload?: Data.Payload;
4945
+
4946
+ /**
4947
+ * Identifies the type of the resource.
4948
+ */
4949
+ record_type?: 'event';
4950
+ }
4951
+
4952
+ export namespace Data {
4953
+ export interface Payload {
4954
+ /**
4955
+ * Unique identifier of the assistant involved in the call.
4956
+ */
4957
+ assistant_id?: string;
4958
+
4959
+ /**
4960
+ * Call ID used to issue commands via Call Control API.
4961
+ */
4962
+ call_control_id?: string;
4963
+
4964
+ /**
4965
+ * ID that is unique to the call leg.
4966
+ */
4967
+ call_leg_id?: string;
4968
+
4969
+ /**
4970
+ * ID that is unique to the call session (group of related call legs).
4971
+ */
4972
+ call_session_id?: string;
4973
+
4974
+ /**
4975
+ * Base64-encoded state received from a command.
4976
+ */
4977
+ client_state?: string;
4978
+
4979
+ /**
4980
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
4981
+ */
4982
+ connection_id?: string;
4983
+
4984
+ /**
4985
+ * ID unique to the conversation generated for the call.
4986
+ */
4987
+ conversation_id?: string;
4988
+
4989
+ /**
4990
+ * The conversation's generated insights, when insight generation was enabled for
4991
+ * the assistant and has completed. Each entry carries a `status` and the generated
4992
+ * `conversation_insights` results. An empty array when the conversation has no
4993
+ * generated insights; null when insight data could not be retrieved.
4994
+ */
4995
+ conversation_insights?: Array<Payload.ConversationInsight> | null;
4996
+
4997
+ /**
4998
+ * The session's cost breakdown from Session Analysis, covering every product
4999
+ * billed on the call: the AI Voice Assistant engine minutes
5000
+ * (`ai-voice-assistant`), LLM inference tokens (`inference`), and call-control,
5001
+ * SIP trunking, and recording lines. If cost data could not be retrieved after
5002
+ * retries, this field carries the placeholder string `No cost data available.`
5003
+ * instead of an object.
5004
+ */
5005
+ cost?: Payload.UnionMember0 | string;
5006
+
5007
+ /**
5008
+ * Duration of the conversation in seconds.
5009
+ */
5010
+ duration_sec?: number;
5011
+
5012
+ /**
5013
+ * The caller's number or identifier.
5014
+ */
5015
+ from?: string;
5016
+
5017
+ /**
5018
+ * The large language model used during the conversation.
5019
+ */
5020
+ llm_model?: string;
5021
+
5022
+ /**
5023
+ * Reason the conversation ended.
5024
+ */
5025
+ reason?: string | null;
5026
+
5027
+ /**
5028
+ * Recordings created for the call. An empty array when the call had no recordings;
5029
+ * null when recording data could not be retrieved.
5030
+ */
5031
+ recordings?: Array<Payload.Recording> | null;
5032
+
5033
+ /**
5034
+ * The speech-to-text model used in the conversation.
5035
+ */
5036
+ stt_model?: string;
5037
+
5038
+ /**
5039
+ * The callee's number or SIP address.
5040
+ */
5041
+ to?: string;
5042
+
5043
+ /**
5044
+ * The model ID used for text-to-speech synthesis.
5045
+ */
5046
+ tts_model_id?: string;
5047
+
5048
+ /**
5049
+ * The text-to-speech provider used in the call.
5050
+ */
5051
+ tts_provider?: string;
5052
+
5053
+ /**
5054
+ * Voice ID used for TTS.
5055
+ */
5056
+ tts_voice_id?: string;
5057
+ }
5058
+
5059
+ export namespace Payload {
5060
+ export interface ConversationInsight {
5061
+ /**
5062
+ * Generated insight results.
5063
+ */
5064
+ conversation_insights?: Array<ConversationInsight.ConversationInsight> | null;
5065
+
5066
+ /**
5067
+ * Status of insight generation for this entry.
5068
+ */
5069
+ status?: string;
5070
+ }
5071
+
5072
+ export namespace ConversationInsight {
5073
+ export interface ConversationInsight {
5074
+ /**
5075
+ * Identifier of the insight template the result was generated from.
5076
+ */
5077
+ insight_id?: string;
5078
+
5079
+ /**
5080
+ * The generated insight result.
5081
+ */
5082
+ result?: string;
5083
+ }
5084
+ }
5085
+
5086
+ /**
5087
+ * The session's cost breakdown from Session Analysis, covering every product
5088
+ * billed on the call: the AI Voice Assistant engine minutes
5089
+ * (`ai-voice-assistant`), LLM inference tokens (`inference`), and call-control,
5090
+ * SIP trunking, and recording lines. If cost data could not be retrieved after
5091
+ * retries, this field carries the placeholder string `No cost data available.`
5092
+ * instead of an object.
5093
+ */
5094
+ export interface UnionMember0 {
5095
+ /**
5096
+ * Cost lines grouped by product.
5097
+ */
5098
+ breakdown?: Array<UnionMember0.Breakdown>;
5099
+
5100
+ /**
5101
+ * The currency of the cost amounts.
5102
+ */
5103
+ currency?: string;
5104
+
5105
+ /**
5106
+ * The total cost of the call, summed across every product in the breakdown.
5107
+ */
5108
+ total?: string;
5109
+ }
5110
+
5111
+ export namespace UnionMember0 {
5112
+ export interface Breakdown {
5113
+ /**
5114
+ * Total cost for this product across the call, in the currency given by
5115
+ * `cost.currency`.
5116
+ */
5117
+ cost?: string;
5118
+
5119
+ /**
5120
+ * The Telnyx product the cost line belongs to (for example `ai-voice-assistant`,
5121
+ * `inference`, `callcontrol-cdrs`, `siptrunking-cdrs`, `recording-cdrs`).
5122
+ */
5123
+ product?: string;
5124
+ }
5125
+ }
5126
+
5127
+ export interface Recording {
5128
+ /**
5129
+ * Unique identifier of the recording.
5130
+ */
5131
+ id?: string;
5132
+
5133
+ /**
5134
+ * The recording channel configuration.
5135
+ */
5136
+ channels?: string;
5137
+
5138
+ /**
5139
+ * Download URL per format. URLs are pre-signed and expire.
5140
+ */
5141
+ download_urls?: Recording.DownloadURLs;
5142
+
5143
+ /**
5144
+ * ISO 8601 datetime of when the recording ended.
5145
+ */
5146
+ end_time?: string;
5147
+
5148
+ /**
5149
+ * The recording file format.
5150
+ */
5151
+ format?: string;
5152
+
5153
+ /**
5154
+ * ISO 8601 datetime of when the recording started.
5155
+ */
5156
+ start_time?: string;
5157
+ }
5158
+
5159
+ export namespace Recording {
5160
+ /**
5161
+ * Download URL per format. URLs are pre-signed and expire.
5162
+ */
5163
+ export interface DownloadURLs {
5164
+ /**
5165
+ * Pre-signed URL for the mp3 recording file.
5166
+ */
5167
+ mp3?: string;
5168
+
5169
+ /**
5170
+ * Pre-signed URL for the wav recording file.
5171
+ */
5172
+ wav?: string;
5173
+ }
5174
+ }
5175
+ }
5176
+ }
5177
+ }
5178
+
4845
5179
  export interface CallAnsweredWebhookEvent {
4846
5180
  data?: CallAnswered;
4847
5181
  }
@@ -4950,21 +5284,36 @@ export interface CallConversationInsightsGeneratedWebhookEvent {
4950
5284
  data?: CallConversationInsightsGenerated;
4951
5285
  }
4952
5286
 
4953
- export interface CallCostWebhookEvent {
4954
- data?: CallCostWebhookEvent.Data;
5287
+ export interface CallConversationStartFailedWebhookEvent {
5288
+ /**
5289
+ * The AI assistant requested for the call could not be started, so no conversation
5290
+ * was created. No `call.conversation.created` or `call.conversation.ended` is sent
5291
+ * for this attempt.
5292
+ */
5293
+ data?: CallConversationStartFailedWebhookEvent.Data;
4955
5294
  }
4956
5295
 
4957
- export namespace CallCostWebhookEvent {
5296
+ export namespace CallConversationStartFailedWebhookEvent {
5297
+ /**
5298
+ * The AI assistant requested for the call could not be started, so no conversation
5299
+ * was created. No `call.conversation.created` or `call.conversation.ended` is sent
5300
+ * for this attempt.
5301
+ */
4958
5302
  export interface Data {
4959
5303
  /**
4960
- * Unique identifier of the event.
5304
+ * Unique identifier for the event.
4961
5305
  */
4962
5306
  id?: string;
4963
5307
 
5308
+ /**
5309
+ * Timestamp when the event was created in the system.
5310
+ */
5311
+ created_at?: string;
5312
+
4964
5313
  /**
4965
5314
  * The type of event being delivered.
4966
5315
  */
4967
- event_type?: 'call.cost';
5316
+ event_type?: 'call.conversation.start_failed';
4968
5317
 
4969
5318
  /**
4970
5319
  * ISO 8601 datetime of when the event occurred.
@@ -4982,14 +5331,9 @@ export namespace CallCostWebhookEvent {
4982
5331
  export namespace Data {
4983
5332
  export interface Payload {
4984
5333
  /**
4985
- * The longest billed duration across all cost parts, in seconds.
4986
- */
4987
- billed_duration_secs?: number | null;
4988
-
4989
- /**
4990
- * Identifies the billing group associated with the call.
5334
+ * Identifier of the AI assistant that failed to start.
4991
5335
  */
4992
- billing_group_id?: string | null;
5336
+ assistant_id?: string;
4993
5337
 
4994
5338
  /**
4995
5339
  * Call ID used to issue commands via Call Control API.
@@ -4997,19 +5341,22 @@ export namespace CallCostWebhookEvent {
4997
5341
  call_control_id?: string;
4998
5342
 
4999
5343
  /**
5000
- * ID that is unique to the call and can be used to correlate webhook events.
5344
+ * ID that is unique to the call leg.
5001
5345
  */
5002
5346
  call_leg_id?: string;
5003
5347
 
5004
5348
  /**
5005
- * ID that is unique to the call session and can be used to correlate webhook
5006
- * events. Call session is a group of related call legs that logically belong to
5007
- * the same phone call, e.g. an inbound and outbound leg of a transferred call.
5349
+ * ID that is unique to the call session (group of related call legs).
5008
5350
  */
5009
5351
  call_session_id?: string;
5010
5352
 
5011
5353
  /**
5012
- * State received from a command. Base64-encoded.
5354
+ * The type of calling party connection.
5355
+ */
5356
+ calling_party_type?: 'pstn' | 'sip';
5357
+
5358
+ /**
5359
+ * Base64-encoded state received from a command.
5013
5360
  */
5014
5361
  client_state?: string;
5015
5362
 
@@ -5019,21 +5366,110 @@ export namespace CallCostWebhookEvent {
5019
5366
  connection_id?: string;
5020
5367
 
5021
5368
  /**
5022
- * Breakdown of costs by call part.
5369
+ * The caller's number or identifier.
5023
5370
  */
5024
- cost_parts?: Array<Payload.CostPart>;
5371
+ from?: string;
5025
5372
 
5026
5373
  /**
5027
- * ISO 8601 datetime of when the event occurred.
5374
+ * Why the conversation could not be started. `invalid_request`: the assistant
5375
+ * request was rejected, for example because the assistant ID does not exist.
5376
+ * `service_error`: the assistant could not be started because of an error on the
5377
+ * Telnyx side.
5028
5378
  */
5029
- occurred_at?: string;
5379
+ reason?: 'invalid_request' | 'service_error';
5030
5380
 
5031
5381
  /**
5032
- * The status of the cost calculation (`success` or `error`).
5382
+ * The callee's number or SIP address.
5033
5383
  */
5034
- status?: 'success' | 'error';
5035
-
5036
- /**
5384
+ to?: string;
5385
+ }
5386
+ }
5387
+ }
5388
+
5389
+ export interface CallCostWebhookEvent {
5390
+ data?: CallCostWebhookEvent.Data;
5391
+ }
5392
+
5393
+ export namespace CallCostWebhookEvent {
5394
+ export interface Data {
5395
+ /**
5396
+ * Unique identifier of the event.
5397
+ */
5398
+ id?: string;
5399
+
5400
+ /**
5401
+ * The type of event being delivered.
5402
+ */
5403
+ event_type?: 'call.cost';
5404
+
5405
+ /**
5406
+ * ISO 8601 datetime of when the event occurred.
5407
+ */
5408
+ occurred_at?: string;
5409
+
5410
+ payload?: Data.Payload;
5411
+
5412
+ /**
5413
+ * Identifies the type of the resource.
5414
+ */
5415
+ record_type?: 'event';
5416
+ }
5417
+
5418
+ export namespace Data {
5419
+ export interface Payload {
5420
+ /**
5421
+ * The longest billed duration across all cost parts, in seconds.
5422
+ */
5423
+ billed_duration_secs?: number | null;
5424
+
5425
+ /**
5426
+ * Identifies the billing group associated with the call.
5427
+ */
5428
+ billing_group_id?: string | null;
5429
+
5430
+ /**
5431
+ * Call ID used to issue commands via Call Control API.
5432
+ */
5433
+ call_control_id?: string;
5434
+
5435
+ /**
5436
+ * ID that is unique to the call and can be used to correlate webhook events.
5437
+ */
5438
+ call_leg_id?: string;
5439
+
5440
+ /**
5441
+ * ID that is unique to the call session and can be used to correlate webhook
5442
+ * events. Call session is a group of related call legs that logically belong to
5443
+ * the same phone call, e.g. an inbound and outbound leg of a transferred call.
5444
+ */
5445
+ call_session_id?: string;
5446
+
5447
+ /**
5448
+ * State received from a command. Base64-encoded.
5449
+ */
5450
+ client_state?: string;
5451
+
5452
+ /**
5453
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
5454
+ */
5455
+ connection_id?: string;
5456
+
5457
+ /**
5458
+ * Breakdown of costs by call part.
5459
+ */
5460
+ cost_parts?: Array<Payload.CostPart>;
5461
+
5462
+ /**
5463
+ * ISO 8601 datetime of when the event occurred.
5464
+ */
5465
+ occurred_at?: string;
5466
+
5467
+ /**
5468
+ * The status of the cost calculation (`success` or `error`).
5469
+ */
5470
+ status?: 'success' | 'error';
5471
+
5472
+ /**
5037
5473
  * The total cost of the call.
5038
5474
  */
5039
5475
  total_cost?: string | null;
@@ -6344,47 +6780,174 @@ export namespace NumberOrderStatusUpdateWebhookEvent {
6344
6780
  }
6345
6781
  }
6346
6782
 
6347
- export interface RecordingAvailableWebhookEvent {
6348
- /**
6349
- * Unique event id; deduplicate deliveries on it.
6350
- */
6351
- id: string;
6783
+ export interface NumberReputationExternalVerificationStatusChangedWebhookEvent {
6784
+ data: NumberReputationExternalVerificationStatusChangedWebhookEvent.Data;
6352
6785
 
6353
- /**
6354
- * Available recording types.
6355
- */
6356
- data: RecordingAvailableWebhookEvent.Data;
6786
+ meta: NumberReputationExternalVerificationStatusChangedWebhookEvent.Meta;
6787
+ }
6357
6788
 
6358
- /**
6359
- * Event type.
6360
- */
6361
- event: 'recording.available';
6789
+ export namespace NumberReputationExternalVerificationStatusChangedWebhookEvent {
6790
+ export interface Data {
6791
+ /**
6792
+ * Identifies the event; the same id is reused if the event is redelivered.
6793
+ */
6794
+ id: string;
6362
6795
 
6363
- /**
6364
- * When the event occurred.
6365
- */
6366
- occurred_at: string;
6796
+ event_type: 'number_reputation.external_verification.status_changed';
6367
6797
 
6368
- /**
6369
- * Envelope version.
6370
- */
6371
- version: string;
6798
+ occurred_at: string;
6799
+
6800
+ payload: Data.Payload;
6801
+
6802
+ record_type: 'event';
6803
+ }
6804
+
6805
+ export namespace Data {
6806
+ export interface Payload {
6807
+ enterprise_id: string;
6808
+
6809
+ record_type: 'reputation_external_verification';
6810
+
6811
+ /**
6812
+ * When the review decision was made. Always set: this event is only sent after a
6813
+ * review.
6814
+ */
6815
+ reviewed_at: string;
6816
+
6817
+ /**
6818
+ * The review outcome. `pending` is never delivered: the event is sent only once
6819
+ * the proof is reviewed.
6820
+ */
6821
+ status: 'approved' | 'rejected';
6822
+
6823
+ /**
6824
+ * Set only when `status` is `rejected`.
6825
+ */
6826
+ rejection_reason?: string | null;
6827
+ }
6828
+ }
6829
+
6830
+ export interface Meta {
6831
+ attempt: number;
6832
+
6833
+ delivered_to: string;
6834
+ }
6372
6835
  }
6373
6836
 
6374
- export namespace RecordingAvailableWebhookEvent {
6375
- /**
6376
- * Available recording types.
6377
- */
6837
+ export interface NumberReputationNumberFlaggedWebhookEvent {
6838
+ data: NumberReputationNumberFlaggedWebhookEvent.Data;
6839
+
6840
+ meta: NumberReputationNumberFlaggedWebhookEvent.Meta;
6841
+ }
6842
+
6843
+ export namespace NumberReputationNumberFlaggedWebhookEvent {
6378
6844
  export interface Data {
6379
6845
  /**
6380
- * Available recording types.
6846
+ * Identifies the event; the same id is reused if the event is redelivered.
6381
6847
  */
6382
- recording_types: Array<string>;
6848
+ id: string;
6849
+
6850
+ event_type: 'number_reputation.number.flagged';
6851
+
6852
+ occurred_at: string;
6853
+
6854
+ payload: Data.Payload;
6383
6855
 
6856
+ record_type: 'event';
6857
+ }
6858
+
6859
+ export namespace Data {
6860
+ export interface Payload {
6861
+ /**
6862
+ * Confirm ownership before this time or the number is removed (carrier change) or
6863
+ * flagged (re-verification).
6864
+ */
6865
+ confirm_by: string;
6866
+
6867
+ enterprise_id: string;
6868
+
6869
+ /**
6870
+ * `carrier_changed`: the number moved to a different carrier.
6871
+ * `reverification_due`: the periodic ownership re-verification is due.
6872
+ */
6873
+ flag_reason: 'carrier_changed' | 'reverification_due';
6874
+
6875
+ ownership_status: 'pending_confirmation';
6876
+
6877
+ phone_number: string;
6878
+
6879
+ record_type: 'reputation_phone_number';
6880
+
6881
+ /**
6882
+ * Where the phone number is hosted. `telnyx`: in your Telnyx inventory.
6883
+ * `external`: a number you own that is hosted with another provider.
6884
+ */
6885
+ source: NumbersAPI.ReputationNumberSource;
6886
+ }
6887
+ }
6888
+
6889
+ export interface Meta {
6890
+ attempt: number;
6891
+
6892
+ delivered_to: string;
6893
+ }
6894
+ }
6895
+
6896
+ export interface NumberReputationNumberRemovedWebhookEvent {
6897
+ data: NumberReputationNumberRemovedWebhookEvent.Data;
6898
+
6899
+ meta: NumberReputationNumberRemovedWebhookEvent.Meta;
6900
+ }
6901
+
6902
+ export namespace NumberReputationNumberRemovedWebhookEvent {
6903
+ export interface Data {
6384
6904
  /**
6385
- * The meeting session this event belongs to.
6905
+ * Identifies the event; the same id is reused if the event is redelivered.
6386
6906
  */
6387
- session_id: string;
6907
+ id: string;
6908
+
6909
+ event_type: 'number_reputation.number.removed';
6910
+
6911
+ occurred_at: string;
6912
+
6913
+ payload: Data.Payload;
6914
+
6915
+ record_type: 'event';
6916
+ }
6917
+
6918
+ export namespace Data {
6919
+ export interface Payload {
6920
+ enterprise_id: string;
6921
+
6922
+ ownership_status: 'removed';
6923
+
6924
+ phone_number: string;
6925
+
6926
+ record_type: 'reputation_phone_number';
6927
+
6928
+ /**
6929
+ * `ported_away`: you confirmed you no longer own it after a carrier change.
6930
+ * `unconfirmed_ownership`: the confirmation deadline passed. `reassigned`: the
6931
+ * number was reported as permanently disconnected. `customer_reported`: you
6932
+ * reported that you no longer own it. Removing a number yourself with `DELETE`
6933
+ * sends no event.
6934
+ */
6935
+ removal_reason: 'ported_away' | 'unconfirmed_ownership' | 'reassigned' | 'customer_reported';
6936
+
6937
+ removed_at: string;
6938
+
6939
+ /**
6940
+ * Where the phone number is hosted. `telnyx`: in your Telnyx inventory.
6941
+ * `external`: a number you own that is hosted with another provider.
6942
+ */
6943
+ source: NumbersAPI.ReputationNumberSource;
6944
+ }
6945
+ }
6946
+
6947
+ export interface Meta {
6948
+ attempt: number;
6949
+
6950
+ delivered_to: string;
6388
6951
  }
6389
6952
  }
6390
6953
 
@@ -6440,8 +7003,7 @@ export namespace SessionStatusChangedWebhookEvent {
6440
7003
  status: string;
6441
7004
 
6442
7005
  /**
6443
- * Additional detail about the status (for example `timeout_exceeded_everyone_left`
6444
- * or `cancelled`), or null.
7006
+ * Additional detail about the status (for example `cancelled`), or null.
6445
7007
  */
6446
7008
  status_detail: string | null;
6447
7009
  }
@@ -6505,6 +7067,56 @@ export interface TranscriptionWebhookEvent {
6505
7067
  data?: Transcription;
6506
7068
  }
6507
7069
 
7070
+ export interface WhatsappWabaAddedWebhookEvent {
7071
+ data: WhatsappWabaAddedWebhookEvent.Data;
7072
+ }
7073
+
7074
+ export namespace WhatsappWabaAddedWebhookEvent {
7075
+ export interface Data {
7076
+ id: string;
7077
+
7078
+ event_type: 'whatsapp.waba_added';
7079
+
7080
+ occurred_at: string;
7081
+
7082
+ payload: Data.Payload;
7083
+
7084
+ record_type: 'event';
7085
+ }
7086
+
7087
+ export namespace Data {
7088
+ export interface Payload {
7089
+ /**
7090
+ * Signup session ID.
7091
+ */
7092
+ event_id: string;
7093
+
7094
+ record_type: 'waba_account_added';
7095
+
7096
+ /**
7097
+ * Signup session outcome.
7098
+ */
7099
+ status: 'SUCCESS' | 'FAILURE';
7100
+
7101
+ /**
7102
+ * Meta WhatsApp Business Account identifier.
7103
+ */
7104
+ waba_id: string;
7105
+
7106
+ /**
7107
+ * Errors recorded during provisioning.
7108
+ */
7109
+ errors?: Array<string>;
7110
+
7111
+ /**
7112
+ * Phone numbers found on the WABA. Omitted for standard sessions started with a
7113
+ * phone_number_id, and for sessions that fail before Telnyx fetches the numbers.
7114
+ */
7115
+ phone_numbers?: Array<string>;
7116
+ }
7117
+ }
7118
+ }
7119
+
6508
7120
  export interface CallAIGatherEndedWebhookEvent {
6509
7121
  data?: CallAIGatherEnded;
6510
7122
  }
@@ -6645,10 +7257,266 @@ export namespace ArtifactFailedWebhookEvent {
6645
7257
  */
6646
7258
  session_id: string;
6647
7259
 
6648
- /**
6649
- * Type of the failed artifact.
6650
- */
6651
- type: 'summary' | 'action_items' | 'decisions' | 'topics' | 'open_questions' | 'custom';
7260
+ /**
7261
+ * Type of the failed artifact.
7262
+ */
7263
+ type: 'summary' | 'action_items' | 'decisions' | 'topics' | 'open_questions' | 'custom';
7264
+ }
7265
+ }
7266
+
7267
+ export interface CallAnalyzedWebhookEvent {
7268
+ data?: CallAnalyzedWebhookEvent.Data;
7269
+ }
7270
+
7271
+ export namespace CallAnalyzedWebhookEvent {
7272
+ export interface Data {
7273
+ /**
7274
+ * Unique identifier for the event.
7275
+ */
7276
+ id?: string;
7277
+
7278
+ /**
7279
+ * The type of event being delivered.
7280
+ */
7281
+ event_type?: 'call.analyzed';
7282
+
7283
+ /**
7284
+ * ISO 8601 datetime of when the event occurred.
7285
+ */
7286
+ occurred_at?: string;
7287
+
7288
+ payload?: Data.Payload;
7289
+
7290
+ /**
7291
+ * Identifies the type of the resource.
7292
+ */
7293
+ record_type?: 'event';
7294
+ }
7295
+
7296
+ export namespace Data {
7297
+ export interface Payload {
7298
+ /**
7299
+ * Unique identifier of the assistant involved in the call.
7300
+ */
7301
+ assistant_id?: string;
7302
+
7303
+ /**
7304
+ * Call ID used to issue commands via Call Control API.
7305
+ */
7306
+ call_control_id?: string;
7307
+
7308
+ /**
7309
+ * ID that is unique to the call leg.
7310
+ */
7311
+ call_leg_id?: string;
7312
+
7313
+ /**
7314
+ * ID that is unique to the call session (group of related call legs).
7315
+ */
7316
+ call_session_id?: string;
7317
+
7318
+ /**
7319
+ * Base64-encoded state received from a command.
7320
+ */
7321
+ client_state?: string;
7322
+
7323
+ /**
7324
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
7325
+ */
7326
+ connection_id?: string;
7327
+
7328
+ /**
7329
+ * ID unique to the conversation generated for the call.
7330
+ */
7331
+ conversation_id?: string;
7332
+
7333
+ /**
7334
+ * The conversation's generated insights, when insight generation was enabled for
7335
+ * the assistant and has completed. Each entry carries a `status` and the generated
7336
+ * `conversation_insights` results. An empty array when the conversation has no
7337
+ * generated insights; null when insight data could not be retrieved.
7338
+ */
7339
+ conversation_insights?: Array<Payload.ConversationInsight> | null;
7340
+
7341
+ /**
7342
+ * The session's cost breakdown from Session Analysis, covering every product
7343
+ * billed on the call: the AI Voice Assistant engine minutes
7344
+ * (`ai-voice-assistant`), LLM inference tokens (`inference`), and call-control,
7345
+ * SIP trunking, and recording lines. If cost data could not be retrieved after
7346
+ * retries, this field carries the placeholder string `No cost data available.`
7347
+ * instead of an object.
7348
+ */
7349
+ cost?: Payload.UnionMember0 | string;
7350
+
7351
+ /**
7352
+ * Duration of the conversation in seconds.
7353
+ */
7354
+ duration_sec?: number;
7355
+
7356
+ /**
7357
+ * The caller's number or identifier.
7358
+ */
7359
+ from?: string;
7360
+
7361
+ /**
7362
+ * The large language model used during the conversation.
7363
+ */
7364
+ llm_model?: string;
7365
+
7366
+ /**
7367
+ * Reason the conversation ended.
7368
+ */
7369
+ reason?: string | null;
7370
+
7371
+ /**
7372
+ * Recordings created for the call. An empty array when the call had no recordings;
7373
+ * null when recording data could not be retrieved.
7374
+ */
7375
+ recordings?: Array<Payload.Recording> | null;
7376
+
7377
+ /**
7378
+ * The speech-to-text model used in the conversation.
7379
+ */
7380
+ stt_model?: string;
7381
+
7382
+ /**
7383
+ * The callee's number or SIP address.
7384
+ */
7385
+ to?: string;
7386
+
7387
+ /**
7388
+ * The model ID used for text-to-speech synthesis.
7389
+ */
7390
+ tts_model_id?: string;
7391
+
7392
+ /**
7393
+ * The text-to-speech provider used in the call.
7394
+ */
7395
+ tts_provider?: string;
7396
+
7397
+ /**
7398
+ * Voice ID used for TTS.
7399
+ */
7400
+ tts_voice_id?: string;
7401
+ }
7402
+
7403
+ export namespace Payload {
7404
+ export interface ConversationInsight {
7405
+ /**
7406
+ * Generated insight results.
7407
+ */
7408
+ conversation_insights?: Array<ConversationInsight.ConversationInsight> | null;
7409
+
7410
+ /**
7411
+ * Status of insight generation for this entry.
7412
+ */
7413
+ status?: string;
7414
+ }
7415
+
7416
+ export namespace ConversationInsight {
7417
+ export interface ConversationInsight {
7418
+ /**
7419
+ * Identifier of the insight template the result was generated from.
7420
+ */
7421
+ insight_id?: string;
7422
+
7423
+ /**
7424
+ * The generated insight result.
7425
+ */
7426
+ result?: string;
7427
+ }
7428
+ }
7429
+
7430
+ /**
7431
+ * The session's cost breakdown from Session Analysis, covering every product
7432
+ * billed on the call: the AI Voice Assistant engine minutes
7433
+ * (`ai-voice-assistant`), LLM inference tokens (`inference`), and call-control,
7434
+ * SIP trunking, and recording lines. If cost data could not be retrieved after
7435
+ * retries, this field carries the placeholder string `No cost data available.`
7436
+ * instead of an object.
7437
+ */
7438
+ export interface UnionMember0 {
7439
+ /**
7440
+ * Cost lines grouped by product.
7441
+ */
7442
+ breakdown?: Array<UnionMember0.Breakdown>;
7443
+
7444
+ /**
7445
+ * The currency of the cost amounts.
7446
+ */
7447
+ currency?: string;
7448
+
7449
+ /**
7450
+ * The total cost of the call, summed across every product in the breakdown.
7451
+ */
7452
+ total?: string;
7453
+ }
7454
+
7455
+ export namespace UnionMember0 {
7456
+ export interface Breakdown {
7457
+ /**
7458
+ * Total cost for this product across the call, in the currency given by
7459
+ * `cost.currency`.
7460
+ */
7461
+ cost?: string;
7462
+
7463
+ /**
7464
+ * The Telnyx product the cost line belongs to (for example `ai-voice-assistant`,
7465
+ * `inference`, `callcontrol-cdrs`, `siptrunking-cdrs`, `recording-cdrs`).
7466
+ */
7467
+ product?: string;
7468
+ }
7469
+ }
7470
+
7471
+ export interface Recording {
7472
+ /**
7473
+ * Unique identifier of the recording.
7474
+ */
7475
+ id?: string;
7476
+
7477
+ /**
7478
+ * The recording channel configuration.
7479
+ */
7480
+ channels?: string;
7481
+
7482
+ /**
7483
+ * Download URL per format. URLs are pre-signed and expire.
7484
+ */
7485
+ download_urls?: Recording.DownloadURLs;
7486
+
7487
+ /**
7488
+ * ISO 8601 datetime of when the recording ended.
7489
+ */
7490
+ end_time?: string;
7491
+
7492
+ /**
7493
+ * The recording file format.
7494
+ */
7495
+ format?: string;
7496
+
7497
+ /**
7498
+ * ISO 8601 datetime of when the recording started.
7499
+ */
7500
+ start_time?: string;
7501
+ }
7502
+
7503
+ export namespace Recording {
7504
+ /**
7505
+ * Download URL per format. URLs are pre-signed and expire.
7506
+ */
7507
+ export interface DownloadURLs {
7508
+ /**
7509
+ * Pre-signed URL for the mp3 recording file.
7510
+ */
7511
+ mp3?: string;
7512
+
7513
+ /**
7514
+ * Pre-signed URL for the wav recording file.
7515
+ */
7516
+ wav?: string;
7517
+ }
7518
+ }
7519
+ }
6652
7520
  }
6653
7521
  }
6654
7522
 
@@ -6760,6 +7628,108 @@ export interface CallConversationInsightsGeneratedWebhookEvent {
6760
7628
  data?: CallConversationInsightsGenerated;
6761
7629
  }
6762
7630
 
7631
+ export interface CallConversationStartFailedWebhookEvent {
7632
+ /**
7633
+ * The AI assistant requested for the call could not be started, so no conversation
7634
+ * was created. No `call.conversation.created` or `call.conversation.ended` is sent
7635
+ * for this attempt.
7636
+ */
7637
+ data?: CallConversationStartFailedWebhookEvent.Data;
7638
+ }
7639
+
7640
+ export namespace CallConversationStartFailedWebhookEvent {
7641
+ /**
7642
+ * The AI assistant requested for the call could not be started, so no conversation
7643
+ * was created. No `call.conversation.created` or `call.conversation.ended` is sent
7644
+ * for this attempt.
7645
+ */
7646
+ export interface Data {
7647
+ /**
7648
+ * Unique identifier for the event.
7649
+ */
7650
+ id?: string;
7651
+
7652
+ /**
7653
+ * Timestamp when the event was created in the system.
7654
+ */
7655
+ created_at?: string;
7656
+
7657
+ /**
7658
+ * The type of event being delivered.
7659
+ */
7660
+ event_type?: 'call.conversation.start_failed';
7661
+
7662
+ /**
7663
+ * ISO 8601 datetime of when the event occurred.
7664
+ */
7665
+ occurred_at?: string;
7666
+
7667
+ payload?: Data.Payload;
7668
+
7669
+ /**
7670
+ * Identifies the type of the resource.
7671
+ */
7672
+ record_type?: 'event';
7673
+ }
7674
+
7675
+ export namespace Data {
7676
+ export interface Payload {
7677
+ /**
7678
+ * Identifier of the AI assistant that failed to start.
7679
+ */
7680
+ assistant_id?: string;
7681
+
7682
+ /**
7683
+ * Call ID used to issue commands via Call Control API.
7684
+ */
7685
+ call_control_id?: string;
7686
+
7687
+ /**
7688
+ * ID that is unique to the call leg.
7689
+ */
7690
+ call_leg_id?: string;
7691
+
7692
+ /**
7693
+ * ID that is unique to the call session (group of related call legs).
7694
+ */
7695
+ call_session_id?: string;
7696
+
7697
+ /**
7698
+ * The type of calling party connection.
7699
+ */
7700
+ calling_party_type?: 'pstn' | 'sip';
7701
+
7702
+ /**
7703
+ * Base64-encoded state received from a command.
7704
+ */
7705
+ client_state?: string;
7706
+
7707
+ /**
7708
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
7709
+ */
7710
+ connection_id?: string;
7711
+
7712
+ /**
7713
+ * The caller's number or identifier.
7714
+ */
7715
+ from?: string;
7716
+
7717
+ /**
7718
+ * Why the conversation could not be started. `invalid_request`: the assistant
7719
+ * request was rejected, for example because the assistant ID does not exist.
7720
+ * `service_error`: the assistant could not be started because of an error on the
7721
+ * Telnyx side.
7722
+ */
7723
+ reason?: 'invalid_request' | 'service_error';
7724
+
7725
+ /**
7726
+ * The callee's number or SIP address.
7727
+ */
7728
+ to?: string;
7729
+ }
7730
+ }
7731
+ }
7732
+
6763
7733
  export interface CallCostWebhookEvent {
6764
7734
  data?: CallCostWebhookEvent.Data;
6765
7735
  }
@@ -8154,47 +9124,174 @@ export namespace NumberOrderStatusUpdateWebhookEvent {
8154
9124
  }
8155
9125
  }
8156
9126
 
8157
- export interface RecordingAvailableWebhookEvent {
8158
- /**
8159
- * Unique event id; deduplicate deliveries on it.
8160
- */
8161
- id: string;
9127
+ export interface NumberReputationExternalVerificationStatusChangedWebhookEvent {
9128
+ data: NumberReputationExternalVerificationStatusChangedWebhookEvent.Data;
8162
9129
 
8163
- /**
8164
- * Available recording types.
8165
- */
8166
- data: RecordingAvailableWebhookEvent.Data;
9130
+ meta: NumberReputationExternalVerificationStatusChangedWebhookEvent.Meta;
9131
+ }
8167
9132
 
8168
- /**
8169
- * Event type.
8170
- */
8171
- event: 'recording.available';
9133
+ export namespace NumberReputationExternalVerificationStatusChangedWebhookEvent {
9134
+ export interface Data {
9135
+ /**
9136
+ * Identifies the event; the same id is reused if the event is redelivered.
9137
+ */
9138
+ id: string;
8172
9139
 
8173
- /**
8174
- * When the event occurred.
8175
- */
8176
- occurred_at: string;
9140
+ event_type: 'number_reputation.external_verification.status_changed';
8177
9141
 
8178
- /**
8179
- * Envelope version.
8180
- */
8181
- version: string;
9142
+ occurred_at: string;
9143
+
9144
+ payload: Data.Payload;
9145
+
9146
+ record_type: 'event';
9147
+ }
9148
+
9149
+ export namespace Data {
9150
+ export interface Payload {
9151
+ enterprise_id: string;
9152
+
9153
+ record_type: 'reputation_external_verification';
9154
+
9155
+ /**
9156
+ * When the review decision was made. Always set: this event is only sent after a
9157
+ * review.
9158
+ */
9159
+ reviewed_at: string;
9160
+
9161
+ /**
9162
+ * The review outcome. `pending` is never delivered: the event is sent only once
9163
+ * the proof is reviewed.
9164
+ */
9165
+ status: 'approved' | 'rejected';
9166
+
9167
+ /**
9168
+ * Set only when `status` is `rejected`.
9169
+ */
9170
+ rejection_reason?: string | null;
9171
+ }
9172
+ }
9173
+
9174
+ export interface Meta {
9175
+ attempt: number;
9176
+
9177
+ delivered_to: string;
9178
+ }
8182
9179
  }
8183
9180
 
8184
- export namespace RecordingAvailableWebhookEvent {
8185
- /**
8186
- * Available recording types.
8187
- */
9181
+ export interface NumberReputationNumberFlaggedWebhookEvent {
9182
+ data: NumberReputationNumberFlaggedWebhookEvent.Data;
9183
+
9184
+ meta: NumberReputationNumberFlaggedWebhookEvent.Meta;
9185
+ }
9186
+
9187
+ export namespace NumberReputationNumberFlaggedWebhookEvent {
8188
9188
  export interface Data {
8189
9189
  /**
8190
- * Available recording types.
9190
+ * Identifies the event; the same id is reused if the event is redelivered.
8191
9191
  */
8192
- recording_types: Array<string>;
9192
+ id: string;
9193
+
9194
+ event_type: 'number_reputation.number.flagged';
9195
+
9196
+ occurred_at: string;
9197
+
9198
+ payload: Data.Payload;
9199
+
9200
+ record_type: 'event';
9201
+ }
9202
+
9203
+ export namespace Data {
9204
+ export interface Payload {
9205
+ /**
9206
+ * Confirm ownership before this time or the number is removed (carrier change) or
9207
+ * flagged (re-verification).
9208
+ */
9209
+ confirm_by: string;
9210
+
9211
+ enterprise_id: string;
9212
+
9213
+ /**
9214
+ * `carrier_changed`: the number moved to a different carrier.
9215
+ * `reverification_due`: the periodic ownership re-verification is due.
9216
+ */
9217
+ flag_reason: 'carrier_changed' | 'reverification_due';
9218
+
9219
+ ownership_status: 'pending_confirmation';
9220
+
9221
+ phone_number: string;
9222
+
9223
+ record_type: 'reputation_phone_number';
9224
+
9225
+ /**
9226
+ * Where the phone number is hosted. `telnyx`: in your Telnyx inventory.
9227
+ * `external`: a number you own that is hosted with another provider.
9228
+ */
9229
+ source: NumbersAPI.ReputationNumberSource;
9230
+ }
9231
+ }
9232
+
9233
+ export interface Meta {
9234
+ attempt: number;
9235
+
9236
+ delivered_to: string;
9237
+ }
9238
+ }
9239
+
9240
+ export interface NumberReputationNumberRemovedWebhookEvent {
9241
+ data: NumberReputationNumberRemovedWebhookEvent.Data;
9242
+
9243
+ meta: NumberReputationNumberRemovedWebhookEvent.Meta;
9244
+ }
8193
9245
 
9246
+ export namespace NumberReputationNumberRemovedWebhookEvent {
9247
+ export interface Data {
8194
9248
  /**
8195
- * The meeting session this event belongs to.
9249
+ * Identifies the event; the same id is reused if the event is redelivered.
8196
9250
  */
8197
- session_id: string;
9251
+ id: string;
9252
+
9253
+ event_type: 'number_reputation.number.removed';
9254
+
9255
+ occurred_at: string;
9256
+
9257
+ payload: Data.Payload;
9258
+
9259
+ record_type: 'event';
9260
+ }
9261
+
9262
+ export namespace Data {
9263
+ export interface Payload {
9264
+ enterprise_id: string;
9265
+
9266
+ ownership_status: 'removed';
9267
+
9268
+ phone_number: string;
9269
+
9270
+ record_type: 'reputation_phone_number';
9271
+
9272
+ /**
9273
+ * `ported_away`: you confirmed you no longer own it after a carrier change.
9274
+ * `unconfirmed_ownership`: the confirmation deadline passed. `reassigned`: the
9275
+ * number was reported as permanently disconnected. `customer_reported`: you
9276
+ * reported that you no longer own it. Removing a number yourself with `DELETE`
9277
+ * sends no event.
9278
+ */
9279
+ removal_reason: 'ported_away' | 'unconfirmed_ownership' | 'reassigned' | 'customer_reported';
9280
+
9281
+ removed_at: string;
9282
+
9283
+ /**
9284
+ * Where the phone number is hosted. `telnyx`: in your Telnyx inventory.
9285
+ * `external`: a number you own that is hosted with another provider.
9286
+ */
9287
+ source: NumbersAPI.ReputationNumberSource;
9288
+ }
9289
+ }
9290
+
9291
+ export interface Meta {
9292
+ attempt: number;
9293
+
9294
+ delivered_to: string;
8198
9295
  }
8199
9296
  }
8200
9297
 
@@ -8250,8 +9347,7 @@ export namespace SessionStatusChangedWebhookEvent {
8250
9347
  status: string;
8251
9348
 
8252
9349
  /**
8253
- * Additional detail about the status (for example `timeout_exceeded_everyone_left`
8254
- * or `cancelled`), or null.
9350
+ * Additional detail about the status (for example `cancelled`), or null.
8255
9351
  */
8256
9352
  status_detail: string | null;
8257
9353
  }
@@ -8315,17 +9411,69 @@ export interface TranscriptionWebhookEvent {
8315
9411
  data?: Transcription;
8316
9412
  }
8317
9413
 
9414
+ export interface WhatsappWabaAddedWebhookEvent {
9415
+ data: WhatsappWabaAddedWebhookEvent.Data;
9416
+ }
9417
+
9418
+ export namespace WhatsappWabaAddedWebhookEvent {
9419
+ export interface Data {
9420
+ id: string;
9421
+
9422
+ event_type: 'whatsapp.waba_added';
9423
+
9424
+ occurred_at: string;
9425
+
9426
+ payload: Data.Payload;
9427
+
9428
+ record_type: 'event';
9429
+ }
9430
+
9431
+ export namespace Data {
9432
+ export interface Payload {
9433
+ /**
9434
+ * Signup session ID.
9435
+ */
9436
+ event_id: string;
9437
+
9438
+ record_type: 'waba_account_added';
9439
+
9440
+ /**
9441
+ * Signup session outcome.
9442
+ */
9443
+ status: 'SUCCESS' | 'FAILURE';
9444
+
9445
+ /**
9446
+ * Meta WhatsApp Business Account identifier.
9447
+ */
9448
+ waba_id: string;
9449
+
9450
+ /**
9451
+ * Errors recorded during provisioning.
9452
+ */
9453
+ errors?: Array<string>;
9454
+
9455
+ /**
9456
+ * Phone numbers found on the WABA. Omitted for standard sessions started with a
9457
+ * phone_number_id, and for sessions that fail before Telnyx fetches the numbers.
9458
+ */
9459
+ phone_numbers?: Array<string>;
9460
+ }
9461
+ }
9462
+ }
9463
+
8318
9464
  export type UnsafeUnwrapWebhookEvent =
8319
9465
  | CallAIGatherEndedWebhookEvent
8320
9466
  | CallAIGatherMessageHistoryUpdatedWebhookEvent
8321
9467
  | CallAIGatherPartialResultsWebhookEvent
8322
9468
  | ArtifactCompletedWebhookEvent
8323
9469
  | ArtifactFailedWebhookEvent
9470
+ | CallAnalyzedWebhookEvent
8324
9471
  | CallAnsweredWebhookEvent
8325
9472
  | CallBridgedWebhookEvent
8326
9473
  | CallConversationCreatedWebhookEvent
8327
9474
  | CallConversationEndedWebhookEvent
8328
9475
  | CallConversationInsightsGeneratedWebhookEvent
9476
+ | CallConversationStartFailedWebhookEvent
8329
9477
  | CallCostWebhookEvent
8330
9478
  | CallDeepfakeDetectionErrorWebhookEvent
8331
9479
  | CallDeepfakeDetectionResultWebhookEvent
@@ -8387,13 +9535,16 @@ export type UnsafeUnwrapWebhookEvent =
8387
9535
  | HostedNumberOrderEventWebhookEvent
8388
9536
  | InboundMessageWebhookEvent
8389
9537
  | NumberOrderStatusUpdateWebhookEvent
8390
- | RecordingAvailableWebhookEvent
9538
+ | NumberReputationExternalVerificationStatusChangedWebhookEvent
9539
+ | NumberReputationNumberFlaggedWebhookEvent
9540
+ | NumberReputationNumberRemovedWebhookEvent
8391
9541
  | ReplacedLinkClickWebhookEvent
8392
9542
  | SessionStatusChangedWebhookEvent
8393
9543
  | TranscriptCompletedWebhookEvent
8394
9544
  | TranscriptionWebhookEvent
8395
9545
  | WhatsappAccountUpdate
8396
- | WhatsappMessageEcho;
9546
+ | WhatsappMessageEcho
9547
+ | WhatsappWabaAddedWebhookEvent;
8397
9548
 
8398
9549
  export type UnwrapWebhookEvent =
8399
9550
  | CallAIGatherEndedWebhookEvent
@@ -8401,11 +9552,13 @@ export type UnwrapWebhookEvent =
8401
9552
  | CallAIGatherPartialResultsWebhookEvent
8402
9553
  | ArtifactCompletedWebhookEvent
8403
9554
  | ArtifactFailedWebhookEvent
9555
+ | CallAnalyzedWebhookEvent
8404
9556
  | CallAnsweredWebhookEvent
8405
9557
  | CallBridgedWebhookEvent
8406
9558
  | CallConversationCreatedWebhookEvent
8407
9559
  | CallConversationEndedWebhookEvent
8408
9560
  | CallConversationInsightsGeneratedWebhookEvent
9561
+ | CallConversationStartFailedWebhookEvent
8409
9562
  | CallCostWebhookEvent
8410
9563
  | CallDeepfakeDetectionErrorWebhookEvent
8411
9564
  | CallDeepfakeDetectionResultWebhookEvent
@@ -8467,13 +9620,16 @@ export type UnwrapWebhookEvent =
8467
9620
  | HostedNumberOrderEventWebhookEvent
8468
9621
  | InboundMessageWebhookEvent
8469
9622
  | NumberOrderStatusUpdateWebhookEvent
8470
- | RecordingAvailableWebhookEvent
9623
+ | NumberReputationExternalVerificationStatusChangedWebhookEvent
9624
+ | NumberReputationNumberFlaggedWebhookEvent
9625
+ | NumberReputationNumberRemovedWebhookEvent
8471
9626
  | ReplacedLinkClickWebhookEvent
8472
9627
  | SessionStatusChangedWebhookEvent
8473
9628
  | TranscriptCompletedWebhookEvent
8474
9629
  | TranscriptionWebhookEvent
8475
9630
  | WhatsappAccountUpdate
8476
- | WhatsappMessageEcho;
9631
+ | WhatsappMessageEcho
9632
+ | WhatsappWabaAddedWebhookEvent;
8477
9633
 
8478
9634
  export declare namespace Webhooks {
8479
9635
  export {
@@ -8546,11 +9702,13 @@ export declare namespace Webhooks {
8546
9702
  type CallAIGatherPartialResultsWebhookEvent as CallAIGatherPartialResultsWebhookEvent,
8547
9703
  type ArtifactCompletedWebhookEvent as ArtifactCompletedWebhookEvent,
8548
9704
  type ArtifactFailedWebhookEvent as ArtifactFailedWebhookEvent,
9705
+ type CallAnalyzedWebhookEvent as CallAnalyzedWebhookEvent,
8549
9706
  type CallAnsweredWebhookEvent as CallAnsweredWebhookEvent,
8550
9707
  type CallBridgedWebhookEvent as CallBridgedWebhookEvent,
8551
9708
  type CallConversationCreatedWebhookEvent as CallConversationCreatedWebhookEvent,
8552
9709
  type CallConversationEndedWebhookEvent as CallConversationEndedWebhookEvent,
8553
9710
  type CallConversationInsightsGeneratedWebhookEvent as CallConversationInsightsGeneratedWebhookEvent,
9711
+ type CallConversationStartFailedWebhookEvent as CallConversationStartFailedWebhookEvent,
8554
9712
  type CallCostWebhookEvent as CallCostWebhookEvent,
8555
9713
  type CallDeepfakeDetectionErrorWebhookEvent as CallDeepfakeDetectionErrorWebhookEvent,
8556
9714
  type CallDeepfakeDetectionResultWebhookEvent as CallDeepfakeDetectionResultWebhookEvent,
@@ -8605,11 +9763,14 @@ export declare namespace Webhooks {
8605
9763
  type HostedNumberOrderEventWebhookEvent as HostedNumberOrderEventWebhookEvent,
8606
9764
  type InboundMessageWebhookEvent as InboundMessageWebhookEvent,
8607
9765
  type NumberOrderStatusUpdateWebhookEvent as NumberOrderStatusUpdateWebhookEvent,
8608
- type RecordingAvailableWebhookEvent as RecordingAvailableWebhookEvent,
9766
+ type NumberReputationExternalVerificationStatusChangedWebhookEvent as NumberReputationExternalVerificationStatusChangedWebhookEvent,
9767
+ type NumberReputationNumberFlaggedWebhookEvent as NumberReputationNumberFlaggedWebhookEvent,
9768
+ type NumberReputationNumberRemovedWebhookEvent as NumberReputationNumberRemovedWebhookEvent,
8609
9769
  type ReplacedLinkClickWebhookEvent as ReplacedLinkClickWebhookEvent,
8610
9770
  type SessionStatusChangedWebhookEvent as SessionStatusChangedWebhookEvent,
8611
9771
  type TranscriptCompletedWebhookEvent as TranscriptCompletedWebhookEvent,
8612
9772
  type TranscriptionWebhookEvent as TranscriptionWebhookEvent,
9773
+ type WhatsappWabaAddedWebhookEvent as WhatsappWabaAddedWebhookEvent,
8613
9774
  type UnsafeUnwrapWebhookEvent as UnsafeUnwrapWebhookEvent,
8614
9775
  type UnwrapWebhookEvent as UnwrapWebhookEvent,
8615
9776
  };