telnyx 7.24.0 → 7.26.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 (536) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +27 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +27 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js +21 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +21 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/ai/ai.d.mts +16 -6
  12. package/resources/ai/ai.d.mts.map +1 -1
  13. package/resources/ai/ai.d.ts +16 -6
  14. package/resources/ai/ai.d.ts.map +1 -1
  15. package/resources/ai/ai.js +4 -0
  16. package/resources/ai/ai.js.map +1 -1
  17. package/resources/ai/ai.mjs +4 -0
  18. package/resources/ai/ai.mjs.map +1 -1
  19. package/resources/ai/assistants/assistants.d.mts +551 -33
  20. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  21. package/resources/ai/assistants/assistants.d.ts +551 -33
  22. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  23. package/resources/ai/assistants/assistants.js +79 -2
  24. package/resources/ai/assistants/assistants.js.map +1 -1
  25. package/resources/ai/assistants/assistants.mjs +79 -2
  26. package/resources/ai/assistants/assistants.mjs.map +1 -1
  27. package/resources/ai/assistants/deleted.d.mts +60 -0
  28. package/resources/ai/assistants/deleted.d.mts.map +1 -0
  29. package/resources/ai/assistants/deleted.d.ts +60 -0
  30. package/resources/ai/assistants/deleted.d.ts.map +1 -0
  31. package/resources/ai/assistants/deleted.js +49 -0
  32. package/resources/ai/assistants/deleted.js.map +1 -0
  33. package/resources/ai/assistants/deleted.mjs +45 -0
  34. package/resources/ai/assistants/deleted.mjs.map +1 -0
  35. package/resources/ai/assistants/index.d.mts +2 -1
  36. package/resources/ai/assistants/index.d.mts.map +1 -1
  37. package/resources/ai/assistants/index.d.ts +2 -1
  38. package/resources/ai/assistants/index.d.ts.map +1 -1
  39. package/resources/ai/assistants/index.js +3 -1
  40. package/resources/ai/assistants/index.js.map +1 -1
  41. package/resources/ai/assistants/index.mjs +1 -0
  42. package/resources/ai/assistants/index.mjs.map +1 -1
  43. package/resources/ai/assistants/versions.d.mts +48 -0
  44. package/resources/ai/assistants/versions.d.mts.map +1 -1
  45. package/resources/ai/assistants/versions.d.ts +48 -0
  46. package/resources/ai/assistants/versions.d.ts.map +1 -1
  47. package/resources/ai/avatars.d.mts +187 -0
  48. package/resources/ai/avatars.d.mts.map +1 -0
  49. package/resources/ai/avatars.d.ts +187 -0
  50. package/resources/ai/avatars.d.ts.map +1 -0
  51. package/resources/ai/avatars.js +93 -0
  52. package/resources/ai/avatars.js.map +1 -0
  53. package/resources/ai/avatars.mjs +89 -0
  54. package/resources/ai/avatars.mjs.map +1 -0
  55. package/resources/ai/chat.d.mts +21 -2
  56. package/resources/ai/chat.d.mts.map +1 -1
  57. package/resources/ai/chat.d.ts +21 -2
  58. package/resources/ai/chat.d.ts.map +1 -1
  59. package/resources/ai/conversations/conversations.d.mts +8 -0
  60. package/resources/ai/conversations/conversations.d.mts.map +1 -1
  61. package/resources/ai/conversations/conversations.d.ts +8 -0
  62. package/resources/ai/conversations/conversations.d.ts.map +1 -1
  63. package/resources/ai/conversations/conversations.js.map +1 -1
  64. package/resources/ai/conversations/conversations.mjs.map +1 -1
  65. package/resources/ai/embeddings/embeddings.d.mts +1 -1
  66. package/resources/ai/embeddings/embeddings.d.ts +1 -1
  67. package/resources/ai/embeddings/embeddings.js +1 -1
  68. package/resources/ai/embeddings/embeddings.mjs +1 -1
  69. package/resources/ai/index.d.mts +3 -2
  70. package/resources/ai/index.d.mts.map +1 -1
  71. package/resources/ai/index.d.ts +3 -2
  72. package/resources/ai/index.d.ts.map +1 -1
  73. package/resources/ai/index.js +3 -1
  74. package/resources/ai/index.js.map +1 -1
  75. package/resources/ai/index.mjs +1 -0
  76. package/resources/ai/index.mjs.map +1 -1
  77. package/resources/ai/memory/index.d.mts +1 -1
  78. package/resources/ai/memory/index.d.mts.map +1 -1
  79. package/resources/ai/memory/index.d.ts +1 -1
  80. package/resources/ai/memory/index.d.ts.map +1 -1
  81. package/resources/ai/memory/index.js.map +1 -1
  82. package/resources/ai/memory/index.mjs +1 -1
  83. package/resources/ai/memory/index.mjs.map +1 -1
  84. package/resources/ai/memory/memory.d.mts +2 -2
  85. package/resources/ai/memory/memory.d.mts.map +1 -1
  86. package/resources/ai/memory/memory.d.ts +2 -2
  87. package/resources/ai/memory/memory.d.ts.map +1 -1
  88. package/resources/ai/memory/memory.js.map +1 -1
  89. package/resources/ai/memory/memory.mjs +1 -1
  90. package/resources/ai/memory/memory.mjs.map +1 -1
  91. package/resources/ai/memory/namespaces/index.d.mts +2 -2
  92. package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
  93. package/resources/ai/memory/namespaces/index.d.ts +2 -2
  94. package/resources/ai/memory/namespaces/index.d.ts.map +1 -1
  95. package/resources/ai/memory/namespaces/index.js.map +1 -1
  96. package/resources/ai/memory/namespaces/index.mjs +1 -1
  97. package/resources/ai/memory/namespaces/index.mjs.map +1 -1
  98. package/resources/ai/memory/namespaces/namespaces.d.mts +62 -6
  99. package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
  100. package/resources/ai/memory/namespaces/namespaces.d.ts +62 -6
  101. package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
  102. package/resources/ai/memory/namespaces/namespaces.js +41 -3
  103. package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
  104. package/resources/ai/memory/namespaces/namespaces.mjs +41 -3
  105. package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
  106. package/resources/ai/memory/namespaces/profiles/index.d.mts +1 -1
  107. package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -1
  108. package/resources/ai/memory/namespaces/profiles/index.d.ts +1 -1
  109. package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -1
  110. package/resources/ai/memory/namespaces/profiles/index.js.map +1 -1
  111. package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -1
  112. package/resources/ai/memory/namespaces/profiles/profiles.d.mts +54 -1
  113. package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
  114. package/resources/ai/memory/namespaces/profiles/profiles.d.ts +54 -1
  115. package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -1
  116. package/resources/ai/memory/namespaces/profiles/profiles.js +31 -0
  117. package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -1
  118. package/resources/ai/memory/namespaces/profiles/profiles.mjs +31 -0
  119. package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -1
  120. package/resources/ai/openai/chat.d.mts +21 -2
  121. package/resources/ai/openai/chat.d.mts.map +1 -1
  122. package/resources/ai/openai/chat.d.ts +21 -2
  123. package/resources/ai/openai/chat.d.ts.map +1 -1
  124. package/resources/ai/tools.d.mts +20 -5
  125. package/resources/ai/tools.d.mts.map +1 -1
  126. package/resources/ai/tools.d.ts +20 -5
  127. package/resources/ai/tools.d.ts.map +1 -1
  128. package/resources/ai/tools.js +5 -2
  129. package/resources/ai/tools.js.map +1 -1
  130. package/resources/ai/tools.mjs +5 -2
  131. package/resources/ai/tools.mjs.map +1 -1
  132. package/resources/calls/actions.d.mts +135 -30
  133. package/resources/calls/actions.d.mts.map +1 -1
  134. package/resources/calls/actions.d.ts +135 -30
  135. package/resources/calls/actions.d.ts.map +1 -1
  136. package/resources/calls/actions.js +31 -0
  137. package/resources/calls/actions.js.map +1 -1
  138. package/resources/calls/actions.mjs +31 -0
  139. package/resources/calls/actions.mjs.map +1 -1
  140. package/resources/calls/calls.d.mts +72 -25
  141. package/resources/calls/calls.d.mts.map +1 -1
  142. package/resources/calls/calls.d.ts +72 -25
  143. package/resources/calls/calls.d.ts.map +1 -1
  144. package/resources/calls/calls.js +11 -0
  145. package/resources/calls/calls.js.map +1 -1
  146. package/resources/calls/calls.mjs +11 -0
  147. package/resources/calls/calls.mjs.map +1 -1
  148. package/resources/calls/index.d.mts +1 -1
  149. package/resources/calls/index.d.mts.map +1 -1
  150. package/resources/calls/index.d.ts +1 -1
  151. package/resources/calls/index.d.ts.map +1 -1
  152. package/resources/calls/index.js.map +1 -1
  153. package/resources/calls/index.mjs.map +1 -1
  154. package/resources/dir/dir.d.mts +226 -31
  155. package/resources/dir/dir.d.mts.map +1 -1
  156. package/resources/dir/dir.d.ts +226 -31
  157. package/resources/dir/dir.d.ts.map +1 -1
  158. package/resources/dir/dir.js +78 -14
  159. package/resources/dir/dir.js.map +1 -1
  160. package/resources/dir/dir.mjs +78 -14
  161. package/resources/dir/dir.mjs.map +1 -1
  162. package/resources/dir/index.d.mts +1 -1
  163. package/resources/dir/index.d.mts.map +1 -1
  164. package/resources/dir/index.d.ts +1 -1
  165. package/resources/dir/index.d.ts.map +1 -1
  166. package/resources/dir/index.js.map +1 -1
  167. package/resources/dir/index.mjs.map +1 -1
  168. package/resources/dir/phone-numbers.d.mts +8 -8
  169. package/resources/dir/phone-numbers.d.mts.map +1 -1
  170. package/resources/dir/phone-numbers.d.ts +8 -8
  171. package/resources/dir/phone-numbers.d.ts.map +1 -1
  172. package/resources/dir/phone-numbers.js +4 -4
  173. package/resources/dir/phone-numbers.mjs +4 -4
  174. package/resources/dir/references.d.mts +9 -6
  175. package/resources/dir/references.d.mts.map +1 -1
  176. package/resources/dir/references.d.ts +9 -6
  177. package/resources/dir/references.d.ts.map +1 -1
  178. package/resources/email-templates.d.mts +109 -18
  179. package/resources/email-templates.d.mts.map +1 -1
  180. package/resources/email-templates.d.ts +109 -18
  181. package/resources/email-templates.d.ts.map +1 -1
  182. package/resources/email-templates.js +5 -1
  183. package/resources/email-templates.js.map +1 -1
  184. package/resources/email-templates.mjs +5 -1
  185. package/resources/email-templates.mjs.map +1 -1
  186. package/resources/enterprises/dir.d.mts +25 -3
  187. package/resources/enterprises/dir.d.mts.map +1 -1
  188. package/resources/enterprises/dir.d.ts +25 -3
  189. package/resources/enterprises/dir.d.ts.map +1 -1
  190. package/resources/enterprises/dir.js +8 -2
  191. package/resources/enterprises/dir.js.map +1 -1
  192. package/resources/enterprises/dir.mjs +8 -2
  193. package/resources/enterprises/dir.mjs.map +1 -1
  194. package/resources/enterprises/enterprises.d.mts +244 -28
  195. package/resources/enterprises/enterprises.d.mts.map +1 -1
  196. package/resources/enterprises/enterprises.d.ts +244 -28
  197. package/resources/enterprises/enterprises.d.ts.map +1 -1
  198. package/resources/enterprises/enterprises.js +31 -7
  199. package/resources/enterprises/enterprises.js.map +1 -1
  200. package/resources/enterprises/enterprises.mjs +31 -7
  201. package/resources/enterprises/enterprises.mjs.map +1 -1
  202. package/resources/enterprises/index.d.mts +2 -1
  203. package/resources/enterprises/index.d.mts.map +1 -1
  204. package/resources/enterprises/index.d.ts +2 -1
  205. package/resources/enterprises/index.d.ts.map +1 -1
  206. package/resources/enterprises/index.js +3 -1
  207. package/resources/enterprises/index.js.map +1 -1
  208. package/resources/enterprises/index.mjs +1 -0
  209. package/resources/enterprises/index.mjs.map +1 -1
  210. package/resources/enterprises/reputation/external-verification.d.mts +94 -0
  211. package/resources/enterprises/reputation/external-verification.d.mts.map +1 -0
  212. package/resources/enterprises/reputation/external-verification.d.ts +94 -0
  213. package/resources/enterprises/reputation/external-verification.d.ts.map +1 -0
  214. package/resources/enterprises/reputation/external-verification.js +54 -0
  215. package/resources/enterprises/reputation/external-verification.js.map +1 -0
  216. package/resources/enterprises/reputation/external-verification.mjs +50 -0
  217. package/resources/enterprises/reputation/external-verification.mjs.map +1 -0
  218. package/resources/enterprises/reputation/index.d.mts +3 -2
  219. package/resources/enterprises/reputation/index.d.mts.map +1 -1
  220. package/resources/enterprises/reputation/index.d.ts +3 -2
  221. package/resources/enterprises/reputation/index.d.ts.map +1 -1
  222. package/resources/enterprises/reputation/index.js +3 -1
  223. package/resources/enterprises/reputation/index.js.map +1 -1
  224. package/resources/enterprises/reputation/index.mjs +1 -0
  225. package/resources/enterprises/reputation/index.mjs.map +1 -1
  226. package/resources/enterprises/reputation/loa.d.mts +64 -3
  227. package/resources/enterprises/reputation/loa.d.mts.map +1 -1
  228. package/resources/enterprises/reputation/loa.d.ts +64 -3
  229. package/resources/enterprises/reputation/loa.d.ts.map +1 -1
  230. package/resources/enterprises/reputation/numbers.d.mts +197 -4
  231. package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
  232. package/resources/enterprises/reputation/numbers.d.ts +197 -4
  233. package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
  234. package/resources/enterprises/reputation/numbers.js +58 -2
  235. package/resources/enterprises/reputation/numbers.js.map +1 -1
  236. package/resources/enterprises/reputation/numbers.mjs +58 -2
  237. package/resources/enterprises/reputation/numbers.mjs.map +1 -1
  238. package/resources/enterprises/reputation/remediation.d.mts +3 -2
  239. package/resources/enterprises/reputation/remediation.d.mts.map +1 -1
  240. package/resources/enterprises/reputation/remediation.d.ts +3 -2
  241. package/resources/enterprises/reputation/remediation.d.ts.map +1 -1
  242. package/resources/enterprises/reputation/reputation.d.mts +39 -3
  243. package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
  244. package/resources/enterprises/reputation/reputation.d.ts +39 -3
  245. package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
  246. package/resources/enterprises/reputation/reputation.js +22 -0
  247. package/resources/enterprises/reputation/reputation.js.map +1 -1
  248. package/resources/enterprises/reputation/reputation.mjs +22 -0
  249. package/resources/enterprises/reputation/reputation.mjs.map +1 -1
  250. package/resources/enterprises/verify-email.d.mts +91 -0
  251. package/resources/enterprises/verify-email.d.mts.map +1 -0
  252. package/resources/enterprises/verify-email.d.ts +91 -0
  253. package/resources/enterprises/verify-email.d.ts.map +1 -0
  254. package/resources/enterprises/verify-email.js +55 -0
  255. package/resources/enterprises/verify-email.js.map +1 -0
  256. package/resources/enterprises/verify-email.mjs +51 -0
  257. package/resources/enterprises/verify-email.mjs.map +1 -0
  258. package/resources/global-ip-assignment-health.d.mts +4 -4
  259. package/resources/global-ip-assignment-health.d.mts.map +1 -1
  260. package/resources/global-ip-assignment-health.d.ts +4 -4
  261. package/resources/global-ip-assignment-health.d.ts.map +1 -1
  262. package/resources/global-ip-assignments-usage.d.mts +4 -4
  263. package/resources/global-ip-assignments-usage.d.mts.map +1 -1
  264. package/resources/global-ip-assignments-usage.d.ts +4 -4
  265. package/resources/global-ip-assignments-usage.d.ts.map +1 -1
  266. package/resources/index.d.mts +6 -3
  267. package/resources/index.d.mts.map +1 -1
  268. package/resources/index.d.ts +6 -3
  269. package/resources/index.d.ts.map +1 -1
  270. package/resources/index.js +9 -3
  271. package/resources/index.js.map +1 -1
  272. package/resources/index.mjs +3 -0
  273. package/resources/index.mjs.map +1 -1
  274. package/resources/infringement-claims.d.mts +4 -0
  275. package/resources/infringement-claims.d.mts.map +1 -1
  276. package/resources/infringement-claims.d.ts +4 -0
  277. package/resources/infringement-claims.d.ts.map +1 -1
  278. package/resources/llm-token-gateway/index.d.mts +6 -0
  279. package/resources/llm-token-gateway/index.d.mts.map +1 -0
  280. package/resources/llm-token-gateway/index.d.ts +6 -0
  281. package/resources/llm-token-gateway/index.d.ts.map +1 -0
  282. package/resources/llm-token-gateway/index.js +15 -0
  283. package/resources/llm-token-gateway/index.js.map +1 -0
  284. package/resources/llm-token-gateway/index.mjs +7 -0
  285. package/resources/llm-token-gateway/index.mjs.map +1 -0
  286. package/resources/llm-token-gateway/llm-token-gateway.d.mts +22 -0
  287. package/resources/llm-token-gateway/llm-token-gateway.d.mts.map +1 -0
  288. package/resources/llm-token-gateway/llm-token-gateway.d.ts +22 -0
  289. package/resources/llm-token-gateway/llm-token-gateway.d.ts.map +1 -0
  290. package/resources/llm-token-gateway/llm-token-gateway.js +29 -0
  291. package/resources/llm-token-gateway/llm-token-gateway.js.map +1 -0
  292. package/resources/llm-token-gateway/llm-token-gateway.mjs +24 -0
  293. package/resources/llm-token-gateway/llm-token-gateway.mjs.map +1 -0
  294. package/resources/llm-token-gateway/spend.d.mts +223 -0
  295. package/resources/llm-token-gateway/spend.d.mts.map +1 -0
  296. package/resources/llm-token-gateway/spend.d.ts +223 -0
  297. package/resources/llm-token-gateway/spend.d.ts.map +1 -0
  298. package/resources/llm-token-gateway/spend.js +56 -0
  299. package/resources/llm-token-gateway/spend.js.map +1 -0
  300. package/resources/llm-token-gateway/spend.mjs +52 -0
  301. package/resources/llm-token-gateway/spend.mjs.map +1 -0
  302. package/resources/llm-token-gateway/token-groups.d.mts +577 -0
  303. package/resources/llm-token-gateway/token-groups.d.mts.map +1 -0
  304. package/resources/llm-token-gateway/token-groups.d.ts +577 -0
  305. package/resources/llm-token-gateway/token-groups.d.ts.map +1 -0
  306. package/resources/llm-token-gateway/token-groups.js +139 -0
  307. package/resources/llm-token-gateway/token-groups.js.map +1 -0
  308. package/resources/llm-token-gateway/token-groups.mjs +135 -0
  309. package/resources/llm-token-gateway/token-groups.mjs.map +1 -0
  310. package/resources/llm-token-gateway/token-keys.d.mts +318 -0
  311. package/resources/llm-token-gateway/token-keys.d.mts.map +1 -0
  312. package/resources/llm-token-gateway/token-keys.d.ts +318 -0
  313. package/resources/llm-token-gateway/token-keys.d.ts.map +1 -0
  314. package/resources/llm-token-gateway/token-keys.js +127 -0
  315. package/resources/llm-token-gateway/token-keys.js.map +1 -0
  316. package/resources/llm-token-gateway/token-keys.mjs +123 -0
  317. package/resources/llm-token-gateway/token-keys.mjs.map +1 -0
  318. package/resources/llm-token-gateway/usage.d.mts +319 -0
  319. package/resources/llm-token-gateway/usage.d.mts.map +1 -0
  320. package/resources/llm-token-gateway/usage.d.ts +319 -0
  321. package/resources/llm-token-gateway/usage.d.ts.map +1 -0
  322. package/resources/llm-token-gateway/usage.js +63 -0
  323. package/resources/llm-token-gateway/usage.js.map +1 -0
  324. package/resources/llm-token-gateway/usage.mjs +59 -0
  325. package/resources/llm-token-gateway/usage.mjs.map +1 -0
  326. package/resources/llm-token-gateway.d.mts +2 -0
  327. package/resources/llm-token-gateway.d.mts.map +1 -0
  328. package/resources/llm-token-gateway.d.ts +2 -0
  329. package/resources/llm-token-gateway.d.ts.map +1 -0
  330. package/resources/llm-token-gateway.js +6 -0
  331. package/resources/llm-token-gateway.js.map +1 -0
  332. package/resources/llm-token-gateway.mjs +3 -0
  333. package/resources/llm-token-gateway.mjs.map +1 -0
  334. package/resources/meeting-sessions/meeting-sessions.d.mts +8 -9
  335. package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
  336. package/resources/meeting-sessions/meeting-sessions.d.ts +8 -9
  337. package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
  338. package/resources/meeting-sessions/meeting-sessions.js +6 -6
  339. package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
  340. package/resources/meeting-sessions/meeting-sessions.mjs +6 -6
  341. package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
  342. package/resources/phone-numbers/jobs.d.mts +17 -5
  343. package/resources/phone-numbers/jobs.d.mts.map +1 -1
  344. package/resources/phone-numbers/jobs.d.ts +17 -5
  345. package/resources/phone-numbers/jobs.d.ts.map +1 -1
  346. package/resources/phone-numbers/jobs.js +4 -3
  347. package/resources/phone-numbers/jobs.js.map +1 -1
  348. package/resources/phone-numbers/jobs.mjs +4 -3
  349. package/resources/phone-numbers/jobs.mjs.map +1 -1
  350. package/resources/porting-orders/phone-number-blocks.d.mts +1 -1
  351. package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
  352. package/resources/porting-orders/phone-number-blocks.d.ts +1 -1
  353. package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
  354. package/resources/porting-orders/porting-orders.d.mts +1 -1
  355. package/resources/porting-orders/porting-orders.d.mts.map +1 -1
  356. package/resources/porting-orders/porting-orders.d.ts +1 -1
  357. package/resources/porting-orders/porting-orders.d.ts.map +1 -1
  358. package/resources/porting-orders/porting-orders.js.map +1 -1
  359. package/resources/porting-orders/porting-orders.mjs.map +1 -1
  360. package/resources/porting-phone-numbers.d.mts +1 -1
  361. package/resources/porting-phone-numbers.d.mts.map +1 -1
  362. package/resources/porting-phone-numbers.d.ts +1 -1
  363. package/resources/porting-phone-numbers.d.ts.map +1 -1
  364. package/resources/reputation/numbers.d.mts +10 -0
  365. package/resources/reputation/numbers.d.mts.map +1 -1
  366. package/resources/reputation/numbers.d.ts +10 -0
  367. package/resources/reputation/numbers.d.ts.map +1 -1
  368. package/resources/requirements.d.mts +2 -2
  369. package/resources/requirements.d.mts.map +1 -1
  370. package/resources/requirements.d.ts +2 -2
  371. package/resources/requirements.d.ts.map +1 -1
  372. package/resources/sip-registration-status.d.mts +149 -0
  373. package/resources/sip-registration-status.d.mts.map +1 -0
  374. package/resources/sip-registration-status.d.ts +149 -0
  375. package/resources/sip-registration-status.d.ts.map +1 -0
  376. package/resources/sip-registration-status.js +32 -0
  377. package/resources/sip-registration-status.js.map +1 -0
  378. package/resources/sip-registration-status.mjs +28 -0
  379. package/resources/sip-registration-status.mjs.map +1 -0
  380. package/resources/spend-limits.d.mts +335 -0
  381. package/resources/spend-limits.d.mts.map +1 -0
  382. package/resources/spend-limits.d.ts +335 -0
  383. package/resources/spend-limits.d.ts.map +1 -0
  384. package/resources/spend-limits.js +91 -0
  385. package/resources/spend-limits.js.map +1 -0
  386. package/resources/spend-limits.mjs +87 -0
  387. package/resources/spend-limits.mjs.map +1 -0
  388. package/resources/terms-of-service/agreements.d.mts +12 -0
  389. package/resources/terms-of-service/agreements.d.mts.map +1 -1
  390. package/resources/terms-of-service/agreements.d.ts +12 -0
  391. package/resources/terms-of-service/agreements.d.ts.map +1 -1
  392. package/resources/terms-of-service/terms-of-service.d.mts +15 -0
  393. package/resources/terms-of-service/terms-of-service.d.mts.map +1 -1
  394. package/resources/terms-of-service/terms-of-service.d.ts +15 -0
  395. package/resources/terms-of-service/terms-of-service.d.ts.map +1 -1
  396. package/resources/terms-of-service/terms-of-service.js.map +1 -1
  397. package/resources/terms-of-service/terms-of-service.mjs.map +1 -1
  398. package/resources/texml/texml.d.mts +7 -3
  399. package/resources/texml/texml.d.mts.map +1 -1
  400. package/resources/texml/texml.d.ts +7 -3
  401. package/resources/texml/texml.d.ts.map +1 -1
  402. package/resources/texml/texml.js +4 -2
  403. package/resources/texml/texml.js.map +1 -1
  404. package/resources/texml/texml.mjs +4 -2
  405. package/resources/texml/texml.mjs.map +1 -1
  406. package/resources/text-to-speech/text-to-speech.d.mts +4 -2
  407. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  408. package/resources/text-to-speech/text-to-speech.d.ts +4 -2
  409. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  410. package/resources/webhooks.d.mts +967 -6
  411. package/resources/webhooks.d.mts.map +1 -1
  412. package/resources/webhooks.d.ts +967 -6
  413. package/resources/webhooks.d.ts.map +1 -1
  414. package/resources/webhooks.js.map +1 -1
  415. package/resources/webhooks.mjs.map +1 -1
  416. package/resources/whatsapp/index.d.mts +1 -0
  417. package/resources/whatsapp/index.d.mts.map +1 -1
  418. package/resources/whatsapp/index.d.ts +1 -0
  419. package/resources/whatsapp/index.d.ts.map +1 -1
  420. package/resources/whatsapp/index.js +3 -1
  421. package/resources/whatsapp/index.js.map +1 -1
  422. package/resources/whatsapp/index.mjs +1 -0
  423. package/resources/whatsapp/index.mjs.map +1 -1
  424. package/resources/whatsapp/phone-numbers/calling-routing.d.mts +90 -0
  425. package/resources/whatsapp/phone-numbers/calling-routing.d.mts.map +1 -0
  426. package/resources/whatsapp/phone-numbers/calling-routing.d.ts +90 -0
  427. package/resources/whatsapp/phone-numbers/calling-routing.d.ts.map +1 -0
  428. package/resources/whatsapp/phone-numbers/calling-routing.js +66 -0
  429. package/resources/whatsapp/phone-numbers/calling-routing.js.map +1 -0
  430. package/resources/whatsapp/phone-numbers/calling-routing.mjs +62 -0
  431. package/resources/whatsapp/phone-numbers/calling-routing.mjs.map +1 -0
  432. package/resources/whatsapp/phone-numbers/index.d.mts +1 -0
  433. package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
  434. package/resources/whatsapp/phone-numbers/index.d.ts +1 -0
  435. package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
  436. package/resources/whatsapp/phone-numbers/index.js +3 -1
  437. package/resources/whatsapp/phone-numbers/index.js.map +1 -1
  438. package/resources/whatsapp/phone-numbers/index.mjs +1 -0
  439. package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
  440. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +4 -0
  441. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
  442. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +4 -0
  443. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
  444. package/resources/whatsapp/phone-numbers/phone-numbers.js +4 -0
  445. package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
  446. package/resources/whatsapp/phone-numbers/phone-numbers.mjs +4 -0
  447. package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
  448. package/resources/whatsapp/signup.d.mts +128 -0
  449. package/resources/whatsapp/signup.d.mts.map +1 -0
  450. package/resources/whatsapp/signup.d.ts +128 -0
  451. package/resources/whatsapp/signup.d.ts.map +1 -0
  452. package/resources/whatsapp/signup.js +42 -0
  453. package/resources/whatsapp/signup.js.map +1 -0
  454. package/resources/whatsapp/signup.mjs +38 -0
  455. package/resources/whatsapp/signup.mjs.map +1 -0
  456. package/resources/whatsapp/whatsapp.d.mts +4 -0
  457. package/resources/whatsapp/whatsapp.d.mts.map +1 -1
  458. package/resources/whatsapp/whatsapp.d.ts +4 -0
  459. package/resources/whatsapp/whatsapp.d.ts.map +1 -1
  460. package/resources/whatsapp/whatsapp.js +4 -0
  461. package/resources/whatsapp/whatsapp.js.map +1 -1
  462. package/resources/whatsapp/whatsapp.mjs +4 -0
  463. package/resources/whatsapp/whatsapp.mjs.map +1 -1
  464. package/src/client.ts +83 -0
  465. package/src/resources/ai/ai.ts +48 -4
  466. package/src/resources/ai/assistants/assistants.ts +676 -33
  467. package/src/resources/ai/assistants/deleted.ts +86 -0
  468. package/src/resources/ai/assistants/index.ts +13 -0
  469. package/src/resources/ai/assistants/versions.ts +54 -0
  470. package/src/resources/ai/avatars.ts +238 -0
  471. package/src/resources/ai/chat.ts +21 -2
  472. package/src/resources/ai/conversations/conversations.ts +9 -0
  473. package/src/resources/ai/embeddings/embeddings.ts +1 -1
  474. package/src/resources/ai/index.ts +18 -1
  475. package/src/resources/ai/memory/index.ts +9 -1
  476. package/src/resources/ai/memory/memory.ts +13 -1
  477. package/src/resources/ai/memory/namespaces/index.ts +11 -1
  478. package/src/resources/ai/memory/namespaces/namespaces.ts +85 -3
  479. package/src/resources/ai/memory/namespaces/profiles/index.ts +2 -0
  480. package/src/resources/ai/memory/namespaces/profiles/profiles.ts +71 -0
  481. package/src/resources/ai/openai/chat.ts +21 -2
  482. package/src/resources/ai/tools.ts +25 -7
  483. package/src/resources/calls/actions.ts +141 -25
  484. package/src/resources/calls/calls.ts +73 -17
  485. package/src/resources/calls/index.ts +1 -0
  486. package/src/resources/dir/dir.ts +269 -35
  487. package/src/resources/dir/index.ts +6 -0
  488. package/src/resources/dir/phone-numbers.ts +9 -10
  489. package/src/resources/dir/references.ts +9 -6
  490. package/src/resources/email-templates.ts +121 -19
  491. package/src/resources/enterprises/dir.ts +27 -3
  492. package/src/resources/enterprises/enterprises.ts +257 -26
  493. package/src/resources/enterprises/index.ts +6 -0
  494. package/src/resources/enterprises/reputation/external-verification.ts +125 -0
  495. package/src/resources/enterprises/reputation/index.ts +12 -0
  496. package/src/resources/enterprises/reputation/loa.ts +76 -3
  497. package/src/resources/enterprises/reputation/numbers.ts +256 -3
  498. package/src/resources/enterprises/reputation/remediation.ts +3 -2
  499. package/src/resources/enterprises/reputation/reputation.ts +70 -0
  500. package/src/resources/enterprises/verify-email.ts +117 -0
  501. package/src/resources/global-ip-assignment-health.ts +4 -4
  502. package/src/resources/global-ip-assignments-usage.ts +4 -4
  503. package/src/resources/index.ts +31 -0
  504. package/src/resources/infringement-claims.ts +4 -0
  505. package/src/resources/llm-token-gateway/index.ts +41 -0
  506. package/src/resources/llm-token-gateway/llm-token-gateway.ts +101 -0
  507. package/src/resources/llm-token-gateway/spend.ts +309 -0
  508. package/src/resources/llm-token-gateway/token-groups.ts +724 -0
  509. package/src/resources/llm-token-gateway/token-keys.ts +422 -0
  510. package/src/resources/llm-token-gateway/usage.ts +460 -0
  511. package/src/resources/llm-token-gateway.ts +3 -0
  512. package/src/resources/meeting-sessions/meeting-sessions.ts +8 -9
  513. package/src/resources/phone-numbers/jobs.ts +18 -5
  514. package/src/resources/porting-orders/phone-number-blocks.ts +9 -1
  515. package/src/resources/porting-orders/porting-orders.ts +9 -1
  516. package/src/resources/porting-phone-numbers.ts +9 -1
  517. package/src/resources/reputation/numbers.ts +12 -0
  518. package/src/resources/requirements.ts +2 -2
  519. package/src/resources/sip-registration-status.ts +188 -0
  520. package/src/resources/spend-limits.ts +428 -0
  521. package/src/resources/terms-of-service/agreements.ts +12 -0
  522. package/src/resources/terms-of-service/terms-of-service.ts +15 -0
  523. package/src/resources/texml/texml.ts +7 -3
  524. package/src/resources/text-to-speech/text-to-speech.ts +4 -2
  525. package/src/resources/webhooks.ts +1460 -228
  526. package/src/resources/whatsapp/index.ts +7 -0
  527. package/src/resources/whatsapp/phone-numbers/calling-routing.ts +114 -0
  528. package/src/resources/whatsapp/phone-numbers/index.ts +7 -0
  529. package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +18 -0
  530. package/src/resources/whatsapp/signup.ts +188 -0
  531. package/src/resources/whatsapp/whatsapp.ts +18 -0
  532. package/src/version.ts +1 -1
  533. package/version.d.mts +1 -1
  534. package/version.d.ts +1 -1
  535. package/version.js +1 -1
  536. package/version.mjs +1 -1
@@ -4,6 +4,7 @@ import * as NumberOrdersAPI from "./number-orders.mjs";
4
4
  import * as CallsAPI from "./calls/calls.mjs";
5
5
  import * as MessagesAPI from "./messages/messages.mjs";
6
6
  import * as ThreadsAPI from "./email-inboxes/threads/threads.mjs";
7
+ import * as NumbersAPI from "./enterprises/reputation/numbers.mjs";
7
8
  import { EmailBracketCursorPagination } from "../core/pagination.mjs";
8
9
  export declare class Webhooks extends APIResource {
9
10
  unwrap(body: string, { headers, key }: {
@@ -433,6 +434,15 @@ export declare namespace CallConversationEnded {
433
434
  * The large language model used during the conversation.
434
435
  */
435
436
  llm_model?: string;
437
+ /**
438
+ * The conversation transcript, in order. By default it contains only `user` and
439
+ * `assistant` text turns. When the assistant's
440
+ * `telephony_settings.conversation_ended_full_history` is `true`, it contains the
441
+ * full conversation history, including assistant tool calls, tool results, and
442
+ * `system` and `developer` entries. Redacted when data retention is disabled for
443
+ * the account.
444
+ */
445
+ messages?: Array<Payload.Message>;
436
446
  /**
437
447
  * Reason the conversation ended. For Conversation Relay, `customer_disconnect`
438
448
  * indicates that the customer WebSocket disconnected.
@@ -459,6 +469,63 @@ export declare namespace CallConversationEnded {
459
469
  */
460
470
  tts_voice_id?: string;
461
471
  }
472
+ namespace Payload {
473
+ interface Message {
474
+ /**
475
+ * The text of the message. For a tool result, the tool output. May be absent on an
476
+ * assistant message that only contains `tool_calls`.
477
+ */
478
+ content?: string;
479
+ /**
480
+ * The author of the message. `tool`, `system`, and `developer` only appear when
481
+ * `conversation_ended_full_history` is enabled. `system` and `developer` entries
482
+ * are informational (for example idle check-ins, voicemail prompts,
483
+ * participant-left notices, or messages added through the API); their wording is
484
+ * not a stable contract.
485
+ */
486
+ role?: 'user' | 'assistant' | 'tool' | 'system' | 'developer';
487
+ /**
488
+ * ISO 8601 datetime of when the message was added to the conversation.
489
+ */
490
+ timestamp?: string;
491
+ /**
492
+ * The `id` of the tool call this message answers. Only present on `tool` messages
493
+ * when `conversation_ended_full_history` is enabled.
494
+ */
495
+ tool_call_id?: string;
496
+ /**
497
+ * Tools the assistant called in this turn. Only present on `assistant` messages
498
+ * when `conversation_ended_full_history` is enabled.
499
+ */
500
+ tool_calls?: Array<Message.ToolCall>;
501
+ }
502
+ namespace Message {
503
+ interface ToolCall {
504
+ /**
505
+ * Identifier of the tool call, referenced by the matching tool result's
506
+ * `tool_call_id`.
507
+ */
508
+ id?: string;
509
+ function?: ToolCall.Function;
510
+ /**
511
+ * The type of tool call.
512
+ */
513
+ type?: 'function';
514
+ }
515
+ namespace ToolCall {
516
+ interface Function {
517
+ /**
518
+ * The arguments passed to the tool, as a JSON-encoded string.
519
+ */
520
+ arguments?: string;
521
+ /**
522
+ * The name of the tool that was called.
523
+ */
524
+ name?: string;
525
+ }
526
+ }
527
+ }
528
+ }
462
529
  }
463
530
  export interface CallConversationInsightsGenerated {
464
531
  /**
@@ -1336,9 +1403,11 @@ export declare namespace CallMachinePremiumGreetingEnded {
1336
1403
  */
1337
1404
  from?: string;
1338
1405
  /**
1339
- * Premium Answering Machine Greeting Ended result.
1406
+ * Premium Answering Machine Greeting Ended result. `prompt_ended` is only sent
1407
+ * when `answering_machine_detection` is `premium_ios_call_screening_detection` and
1408
+ * the iOS call-screening prompt ends without a beep.
1340
1409
  */
1341
- result?: 'beep_detected' | 'no_beep_detected';
1410
+ result?: 'beep_detected' | 'no_beep_detected' | 'prompt_ended';
1342
1411
  /**
1343
1412
  * Destination number or SIP URI of the call.
1344
1413
  */
@@ -3932,12 +4001,173 @@ export interface CallAnsweredWebhookEvent {
3932
4001
  export interface CallBridgedWebhookEvent {
3933
4002
  data?: CallBridged;
3934
4003
  }
4004
+ export interface CallConversationCreatedWebhookEvent {
4005
+ /**
4006
+ * A conversation has been created for the call. Use the conversation ID to
4007
+ * correlate subsequent conversation events.
4008
+ */
4009
+ data?: CallConversationCreatedWebhookEvent.Data;
4010
+ }
4011
+ export declare namespace CallConversationCreatedWebhookEvent {
4012
+ /**
4013
+ * A conversation has been created for the call. Use the conversation ID to
4014
+ * correlate subsequent conversation events.
4015
+ */
4016
+ interface Data {
4017
+ /**
4018
+ * Unique identifier for the event.
4019
+ */
4020
+ id?: string;
4021
+ /**
4022
+ * Timestamp when the event was created in the system.
4023
+ */
4024
+ created_at?: string;
4025
+ /**
4026
+ * The type of event being delivered.
4027
+ */
4028
+ event_type?: 'call.conversation.created';
4029
+ /**
4030
+ * ISO 8601 datetime of when the event occurred.
4031
+ */
4032
+ occurred_at?: string;
4033
+ payload?: Data.Payload;
4034
+ /**
4035
+ * Identifies the type of the resource.
4036
+ */
4037
+ record_type?: 'event';
4038
+ }
4039
+ namespace Data {
4040
+ interface Payload {
4041
+ /**
4042
+ * Call ID used to issue commands via Call Control API.
4043
+ */
4044
+ call_control_id?: string;
4045
+ /**
4046
+ * ID that is unique to the call leg.
4047
+ */
4048
+ call_leg_id?: string;
4049
+ /**
4050
+ * ID that is unique to the call session (group of related call legs).
4051
+ */
4052
+ call_session_id?: string;
4053
+ /**
4054
+ * The type of calling party connection.
4055
+ */
4056
+ calling_party_type?: 'pstn' | 'sip';
4057
+ /**
4058
+ * Base64-encoded state received from a command.
4059
+ */
4060
+ client_state?: string;
4061
+ /**
4062
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
4063
+ */
4064
+ connection_id?: string;
4065
+ /**
4066
+ * Unique identifier of the conversation created for this call.
4067
+ */
4068
+ conversation_id?: string;
4069
+ /**
4070
+ * The caller's number or identifier.
4071
+ */
4072
+ from?: string;
4073
+ /**
4074
+ * The callee's number or SIP address.
4075
+ */
4076
+ to?: string;
4077
+ }
4078
+ }
4079
+ }
3935
4080
  export interface CallConversationEndedWebhookEvent {
3936
4081
  data?: CallConversationEnded;
3937
4082
  }
3938
4083
  export interface CallConversationInsightsGeneratedWebhookEvent {
3939
4084
  data?: CallConversationInsightsGenerated;
3940
4085
  }
4086
+ export interface CallConversationStartFailedWebhookEvent {
4087
+ /**
4088
+ * The AI assistant requested for the call could not be started, so no conversation
4089
+ * was created. No `call.conversation.created` or `call.conversation.ended` is sent
4090
+ * for this attempt.
4091
+ */
4092
+ data?: CallConversationStartFailedWebhookEvent.Data;
4093
+ }
4094
+ export declare namespace CallConversationStartFailedWebhookEvent {
4095
+ /**
4096
+ * The AI assistant requested for the call could not be started, so no conversation
4097
+ * was created. No `call.conversation.created` or `call.conversation.ended` is sent
4098
+ * for this attempt.
4099
+ */
4100
+ interface Data {
4101
+ /**
4102
+ * Unique identifier for the event.
4103
+ */
4104
+ id?: string;
4105
+ /**
4106
+ * Timestamp when the event was created in the system.
4107
+ */
4108
+ created_at?: string;
4109
+ /**
4110
+ * The type of event being delivered.
4111
+ */
4112
+ event_type?: 'call.conversation.start_failed';
4113
+ /**
4114
+ * ISO 8601 datetime of when the event occurred.
4115
+ */
4116
+ occurred_at?: string;
4117
+ payload?: Data.Payload;
4118
+ /**
4119
+ * Identifies the type of the resource.
4120
+ */
4121
+ record_type?: 'event';
4122
+ }
4123
+ namespace Data {
4124
+ interface Payload {
4125
+ /**
4126
+ * Identifier of the AI assistant that failed to start.
4127
+ */
4128
+ assistant_id?: string;
4129
+ /**
4130
+ * Call ID used to issue commands via Call Control API.
4131
+ */
4132
+ call_control_id?: string;
4133
+ /**
4134
+ * ID that is unique to the call leg.
4135
+ */
4136
+ call_leg_id?: string;
4137
+ /**
4138
+ * ID that is unique to the call session (group of related call legs).
4139
+ */
4140
+ call_session_id?: string;
4141
+ /**
4142
+ * The type of calling party connection.
4143
+ */
4144
+ calling_party_type?: 'pstn' | 'sip';
4145
+ /**
4146
+ * Base64-encoded state received from a command.
4147
+ */
4148
+ client_state?: string;
4149
+ /**
4150
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
4151
+ */
4152
+ connection_id?: string;
4153
+ /**
4154
+ * The caller's number or identifier.
4155
+ */
4156
+ from?: string;
4157
+ /**
4158
+ * Why the conversation could not be started. `invalid_request`: the assistant
4159
+ * request was rejected, for example because the assistant ID does not exist.
4160
+ * `service_error`: the assistant could not be started because of an error on the
4161
+ * Telnyx side.
4162
+ */
4163
+ reason?: 'invalid_request' | 'service_error';
4164
+ /**
4165
+ * The callee's number or SIP address.
4166
+ */
4167
+ to?: string;
4168
+ }
4169
+ }
4170
+ }
3941
4171
  export interface CallCostWebhookEvent {
3942
4172
  data?: CallCostWebhookEvent.Data;
3943
4173
  }
@@ -4249,9 +4479,131 @@ export interface CallMachineDetectionEndedWebhookEvent {
4249
4479
  export interface CallMachineGreetingEndedWebhookEvent {
4250
4480
  data?: CallMachineGreetingEnded;
4251
4481
  }
4482
+ export interface CallMachinePremiumCallScreeningDetectedWebhookEvent {
4483
+ data?: CallMachinePremiumCallScreeningDetectedWebhookEvent.Data;
4484
+ }
4485
+ export declare namespace CallMachinePremiumCallScreeningDetectedWebhookEvent {
4486
+ interface Data {
4487
+ /**
4488
+ * Identifies the type of resource.
4489
+ */
4490
+ id?: string;
4491
+ /**
4492
+ * The type of event being delivered.
4493
+ */
4494
+ event_type?: 'call.machine.premium.call_screening.detected';
4495
+ /**
4496
+ * ISO 8601 datetime of when the event occurred.
4497
+ */
4498
+ occurred_at?: string;
4499
+ payload?: Data.Payload;
4500
+ /**
4501
+ * Identifies the type of the resource.
4502
+ */
4503
+ record_type?: 'event';
4504
+ }
4505
+ namespace Data {
4506
+ interface Payload {
4507
+ /**
4508
+ * Call ID used to issue commands via Call Control API.
4509
+ */
4510
+ call_control_id?: string;
4511
+ /**
4512
+ * ID that is unique to the call and can be used to correlate webhook events.
4513
+ */
4514
+ call_leg_id?: string;
4515
+ /**
4516
+ * ID that is unique to the call session and can be used to correlate webhook
4517
+ * events. Call session is a group of related call legs that logically belong to
4518
+ * the same phone call, e.g. an inbound and outbound leg of a transferred call.
4519
+ */
4520
+ call_session_id?: string;
4521
+ /**
4522
+ * State received from a command.
4523
+ */
4524
+ client_state?: string;
4525
+ /**
4526
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
4527
+ */
4528
+ connection_id?: string;
4529
+ /**
4530
+ * Number or SIP URI placing the call.
4531
+ */
4532
+ from?: string;
4533
+ /**
4534
+ * Apple Call Screening detection result. Sent when an Apple Call Screening tone is
4535
+ * detected; Premium Answering Machine Detection is restarted on the screened call
4536
+ * afterwards.
4537
+ */
4538
+ result?: 'screening';
4539
+ /**
4540
+ * Destination number or SIP URI of the call.
4541
+ */
4542
+ to?: string;
4543
+ }
4544
+ }
4545
+ }
4252
4546
  export interface CallMachinePremiumDetectionEndedWebhookEvent {
4253
4547
  data?: CallMachinePremiumDetectionEnded;
4254
4548
  }
4549
+ export interface CallMachinePremiumDetectionStartedWebhookEvent {
4550
+ data?: CallMachinePremiumDetectionStartedWebhookEvent.Data;
4551
+ }
4552
+ export declare namespace CallMachinePremiumDetectionStartedWebhookEvent {
4553
+ interface Data {
4554
+ /**
4555
+ * Identifies the type of resource.
4556
+ */
4557
+ id?: string;
4558
+ /**
4559
+ * The type of event being delivered.
4560
+ */
4561
+ event_type?: 'call.machine.premium.detection.started';
4562
+ /**
4563
+ * ISO 8601 datetime of when the event occurred.
4564
+ */
4565
+ occurred_at?: string;
4566
+ payload?: Data.Payload;
4567
+ /**
4568
+ * Identifies the type of the resource.
4569
+ */
4570
+ record_type?: 'event';
4571
+ }
4572
+ namespace Data {
4573
+ interface Payload {
4574
+ /**
4575
+ * Call ID used to issue commands via Call Control API.
4576
+ */
4577
+ call_control_id?: string;
4578
+ /**
4579
+ * ID that is unique to the call and can be used to correlate webhook events.
4580
+ */
4581
+ call_leg_id?: string;
4582
+ /**
4583
+ * ID that is unique to the call session and can be used to correlate webhook
4584
+ * events. Call session is a group of related call legs that logically belong to
4585
+ * the same phone call, e.g. an inbound and outbound leg of a transferred call.
4586
+ */
4587
+ call_session_id?: string;
4588
+ /**
4589
+ * State received from a command.
4590
+ */
4591
+ client_state?: string;
4592
+ /**
4593
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
4594
+ */
4595
+ connection_id?: string;
4596
+ /**
4597
+ * Number or SIP URI placing the call.
4598
+ */
4599
+ from?: string;
4600
+ /**
4601
+ * Destination number or SIP URI of the call.
4602
+ */
4603
+ to?: string;
4604
+ }
4605
+ }
4606
+ }
4255
4607
  export interface CallMachinePremiumGreetingEndedWebhookEvent {
4256
4608
  data?: CallMachinePremiumGreetingEnded;
4257
4609
  }
@@ -4877,7 +5229,132 @@ export declare namespace NumberOrderStatusUpdateWebhookEvent {
4877
5229
  delivered_to: string;
4878
5230
  }
4879
5231
  }
4880
- export interface RecordingAvailableWebhookEvent {
5232
+ export interface NumberReputationExternalVerificationStatusChangedWebhookEvent {
5233
+ data: NumberReputationExternalVerificationStatusChangedWebhookEvent.Data;
5234
+ meta: NumberReputationExternalVerificationStatusChangedWebhookEvent.Meta;
5235
+ }
5236
+ export declare namespace NumberReputationExternalVerificationStatusChangedWebhookEvent {
5237
+ interface Data {
5238
+ /**
5239
+ * Identifies the event; the same id is reused if the event is redelivered.
5240
+ */
5241
+ id: string;
5242
+ event_type: 'number_reputation.external_verification.status_changed';
5243
+ occurred_at: string;
5244
+ payload: Data.Payload;
5245
+ record_type: 'event';
5246
+ }
5247
+ namespace Data {
5248
+ interface Payload {
5249
+ enterprise_id: string;
5250
+ record_type: 'reputation_external_verification';
5251
+ /**
5252
+ * When the review decision was made. Always set: this event is only sent after a
5253
+ * review.
5254
+ */
5255
+ reviewed_at: string;
5256
+ /**
5257
+ * The review outcome. `pending` is never delivered: the event is sent only once
5258
+ * the proof is reviewed.
5259
+ */
5260
+ status: 'approved' | 'rejected';
5261
+ /**
5262
+ * Set only when `status` is `rejected`.
5263
+ */
5264
+ rejection_reason?: string | null;
5265
+ }
5266
+ }
5267
+ interface Meta {
5268
+ attempt: number;
5269
+ delivered_to: string;
5270
+ }
5271
+ }
5272
+ export interface NumberReputationNumberFlaggedWebhookEvent {
5273
+ data: NumberReputationNumberFlaggedWebhookEvent.Data;
5274
+ meta: NumberReputationNumberFlaggedWebhookEvent.Meta;
5275
+ }
5276
+ export declare namespace NumberReputationNumberFlaggedWebhookEvent {
5277
+ interface Data {
5278
+ /**
5279
+ * Identifies the event; the same id is reused if the event is redelivered.
5280
+ */
5281
+ id: string;
5282
+ event_type: 'number_reputation.number.flagged';
5283
+ occurred_at: string;
5284
+ payload: Data.Payload;
5285
+ record_type: 'event';
5286
+ }
5287
+ namespace Data {
5288
+ interface Payload {
5289
+ /**
5290
+ * Confirm ownership before this time or the number is removed (carrier change) or
5291
+ * flagged (re-verification).
5292
+ */
5293
+ confirm_by: string;
5294
+ enterprise_id: string;
5295
+ /**
5296
+ * `carrier_changed`: the number moved to a different carrier.
5297
+ * `reverification_due`: the periodic ownership re-verification is due.
5298
+ */
5299
+ flag_reason: 'carrier_changed' | 'reverification_due';
5300
+ ownership_status: 'pending_confirmation';
5301
+ phone_number: string;
5302
+ record_type: 'reputation_phone_number';
5303
+ /**
5304
+ * Where the phone number is hosted. `telnyx`: in your Telnyx inventory.
5305
+ * `external`: a number you own that is hosted with another provider.
5306
+ */
5307
+ source: NumbersAPI.ReputationNumberSource;
5308
+ }
5309
+ }
5310
+ interface Meta {
5311
+ attempt: number;
5312
+ delivered_to: string;
5313
+ }
5314
+ }
5315
+ export interface NumberReputationNumberRemovedWebhookEvent {
5316
+ data: NumberReputationNumberRemovedWebhookEvent.Data;
5317
+ meta: NumberReputationNumberRemovedWebhookEvent.Meta;
5318
+ }
5319
+ export declare namespace NumberReputationNumberRemovedWebhookEvent {
5320
+ interface Data {
5321
+ /**
5322
+ * Identifies the event; the same id is reused if the event is redelivered.
5323
+ */
5324
+ id: string;
5325
+ event_type: 'number_reputation.number.removed';
5326
+ occurred_at: string;
5327
+ payload: Data.Payload;
5328
+ record_type: 'event';
5329
+ }
5330
+ namespace Data {
5331
+ interface Payload {
5332
+ enterprise_id: string;
5333
+ ownership_status: 'removed';
5334
+ phone_number: string;
5335
+ record_type: 'reputation_phone_number';
5336
+ /**
5337
+ * `ported_away`: you confirmed you no longer own it after a carrier change.
5338
+ * `unconfirmed_ownership`: the confirmation deadline passed. `reassigned`: the
5339
+ * number was reported as permanently disconnected. `customer_reported`: you
5340
+ * reported that you no longer own it. Removing a number yourself with `DELETE`
5341
+ * sends no event.
5342
+ */
5343
+ removal_reason: 'ported_away' | 'unconfirmed_ownership' | 'reassigned' | 'customer_reported';
5344
+ removed_at: string;
5345
+ /**
5346
+ * Where the phone number is hosted. `telnyx`: in your Telnyx inventory.
5347
+ * `external`: a number you own that is hosted with another provider.
5348
+ */
5349
+ source: NumbersAPI.ReputationNumberSource;
5350
+ }
5351
+ }
5352
+ interface Meta {
5353
+ attempt: number;
5354
+ delivered_to: string;
5355
+ }
5356
+ }
5357
+ export interface RecordingAvailableWebhookEvent {
4881
5358
  /**
4882
5359
  * Unique event id; deduplicate deliveries on it.
4883
5360
  */
@@ -5011,6 +5488,44 @@ export declare namespace TranscriptCompletedWebhookEvent {
5011
5488
  export interface TranscriptionWebhookEvent {
5012
5489
  data?: Transcription;
5013
5490
  }
5491
+ export interface WhatsappWabaAddedWebhookEvent {
5492
+ data: WhatsappWabaAddedWebhookEvent.Data;
5493
+ }
5494
+ export declare namespace WhatsappWabaAddedWebhookEvent {
5495
+ interface Data {
5496
+ id: string;
5497
+ event_type: 'whatsapp.waba_added';
5498
+ occurred_at: string;
5499
+ payload: Data.Payload;
5500
+ record_type: 'event';
5501
+ }
5502
+ namespace Data {
5503
+ interface Payload {
5504
+ /**
5505
+ * Signup session ID.
5506
+ */
5507
+ event_id: string;
5508
+ record_type: 'waba_account_added';
5509
+ /**
5510
+ * Signup session outcome.
5511
+ */
5512
+ status: 'SUCCESS' | 'FAILURE';
5513
+ /**
5514
+ * Meta WhatsApp Business Account identifier.
5515
+ */
5516
+ waba_id: string;
5517
+ /**
5518
+ * Errors recorded during provisioning.
5519
+ */
5520
+ errors?: Array<string>;
5521
+ /**
5522
+ * Phone numbers found on the WABA. Omitted for standard sessions started with a
5523
+ * phone_number_id, and for sessions that fail before Telnyx fetches the numbers.
5524
+ */
5525
+ phone_numbers?: Array<string>;
5526
+ }
5527
+ }
5528
+ }
5014
5529
  export interface CallAIGatherEndedWebhookEvent {
5015
5530
  data?: CallAIGatherEnded;
5016
5531
  }
@@ -5139,12 +5654,173 @@ export interface CallAnsweredWebhookEvent {
5139
5654
  export interface CallBridgedWebhookEvent {
5140
5655
  data?: CallBridged;
5141
5656
  }
5657
+ export interface CallConversationCreatedWebhookEvent {
5658
+ /**
5659
+ * A conversation has been created for the call. Use the conversation ID to
5660
+ * correlate subsequent conversation events.
5661
+ */
5662
+ data?: CallConversationCreatedWebhookEvent.Data;
5663
+ }
5664
+ export declare namespace CallConversationCreatedWebhookEvent {
5665
+ /**
5666
+ * A conversation has been created for the call. Use the conversation ID to
5667
+ * correlate subsequent conversation events.
5668
+ */
5669
+ interface Data {
5670
+ /**
5671
+ * Unique identifier for the event.
5672
+ */
5673
+ id?: string;
5674
+ /**
5675
+ * Timestamp when the event was created in the system.
5676
+ */
5677
+ created_at?: string;
5678
+ /**
5679
+ * The type of event being delivered.
5680
+ */
5681
+ event_type?: 'call.conversation.created';
5682
+ /**
5683
+ * ISO 8601 datetime of when the event occurred.
5684
+ */
5685
+ occurred_at?: string;
5686
+ payload?: Data.Payload;
5687
+ /**
5688
+ * Identifies the type of the resource.
5689
+ */
5690
+ record_type?: 'event';
5691
+ }
5692
+ namespace Data {
5693
+ interface Payload {
5694
+ /**
5695
+ * Call ID used to issue commands via Call Control API.
5696
+ */
5697
+ call_control_id?: string;
5698
+ /**
5699
+ * ID that is unique to the call leg.
5700
+ */
5701
+ call_leg_id?: string;
5702
+ /**
5703
+ * ID that is unique to the call session (group of related call legs).
5704
+ */
5705
+ call_session_id?: string;
5706
+ /**
5707
+ * The type of calling party connection.
5708
+ */
5709
+ calling_party_type?: 'pstn' | 'sip';
5710
+ /**
5711
+ * Base64-encoded state received from a command.
5712
+ */
5713
+ client_state?: string;
5714
+ /**
5715
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
5716
+ */
5717
+ connection_id?: string;
5718
+ /**
5719
+ * Unique identifier of the conversation created for this call.
5720
+ */
5721
+ conversation_id?: string;
5722
+ /**
5723
+ * The caller's number or identifier.
5724
+ */
5725
+ from?: string;
5726
+ /**
5727
+ * The callee's number or SIP address.
5728
+ */
5729
+ to?: string;
5730
+ }
5731
+ }
5732
+ }
5142
5733
  export interface CallConversationEndedWebhookEvent {
5143
5734
  data?: CallConversationEnded;
5144
5735
  }
5145
5736
  export interface CallConversationInsightsGeneratedWebhookEvent {
5146
5737
  data?: CallConversationInsightsGenerated;
5147
5738
  }
5739
+ export interface CallConversationStartFailedWebhookEvent {
5740
+ /**
5741
+ * The AI assistant requested for the call could not be started, so no conversation
5742
+ * was created. No `call.conversation.created` or `call.conversation.ended` is sent
5743
+ * for this attempt.
5744
+ */
5745
+ data?: CallConversationStartFailedWebhookEvent.Data;
5746
+ }
5747
+ export declare namespace CallConversationStartFailedWebhookEvent {
5748
+ /**
5749
+ * The AI assistant requested for the call could not be started, so no conversation
5750
+ * was created. No `call.conversation.created` or `call.conversation.ended` is sent
5751
+ * for this attempt.
5752
+ */
5753
+ interface Data {
5754
+ /**
5755
+ * Unique identifier for the event.
5756
+ */
5757
+ id?: string;
5758
+ /**
5759
+ * Timestamp when the event was created in the system.
5760
+ */
5761
+ created_at?: string;
5762
+ /**
5763
+ * The type of event being delivered.
5764
+ */
5765
+ event_type?: 'call.conversation.start_failed';
5766
+ /**
5767
+ * ISO 8601 datetime of when the event occurred.
5768
+ */
5769
+ occurred_at?: string;
5770
+ payload?: Data.Payload;
5771
+ /**
5772
+ * Identifies the type of the resource.
5773
+ */
5774
+ record_type?: 'event';
5775
+ }
5776
+ namespace Data {
5777
+ interface Payload {
5778
+ /**
5779
+ * Identifier of the AI assistant that failed to start.
5780
+ */
5781
+ assistant_id?: string;
5782
+ /**
5783
+ * Call ID used to issue commands via Call Control API.
5784
+ */
5785
+ call_control_id?: string;
5786
+ /**
5787
+ * ID that is unique to the call leg.
5788
+ */
5789
+ call_leg_id?: string;
5790
+ /**
5791
+ * ID that is unique to the call session (group of related call legs).
5792
+ */
5793
+ call_session_id?: string;
5794
+ /**
5795
+ * The type of calling party connection.
5796
+ */
5797
+ calling_party_type?: 'pstn' | 'sip';
5798
+ /**
5799
+ * Base64-encoded state received from a command.
5800
+ */
5801
+ client_state?: string;
5802
+ /**
5803
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
5804
+ */
5805
+ connection_id?: string;
5806
+ /**
5807
+ * The caller's number or identifier.
5808
+ */
5809
+ from?: string;
5810
+ /**
5811
+ * Why the conversation could not be started. `invalid_request`: the assistant
5812
+ * request was rejected, for example because the assistant ID does not exist.
5813
+ * `service_error`: the assistant could not be started because of an error on the
5814
+ * Telnyx side.
5815
+ */
5816
+ reason?: 'invalid_request' | 'service_error';
5817
+ /**
5818
+ * The callee's number or SIP address.
5819
+ */
5820
+ to?: string;
5821
+ }
5822
+ }
5823
+ }
5148
5824
  export interface CallCostWebhookEvent {
5149
5825
  data?: CallCostWebhookEvent.Data;
5150
5826
  }
@@ -5456,9 +6132,131 @@ export interface CallMachineDetectionEndedWebhookEvent {
5456
6132
  export interface CallMachineGreetingEndedWebhookEvent {
5457
6133
  data?: CallMachineGreetingEnded;
5458
6134
  }
6135
+ export interface CallMachinePremiumCallScreeningDetectedWebhookEvent {
6136
+ data?: CallMachinePremiumCallScreeningDetectedWebhookEvent.Data;
6137
+ }
6138
+ export declare namespace CallMachinePremiumCallScreeningDetectedWebhookEvent {
6139
+ interface Data {
6140
+ /**
6141
+ * Identifies the type of resource.
6142
+ */
6143
+ id?: string;
6144
+ /**
6145
+ * The type of event being delivered.
6146
+ */
6147
+ event_type?: 'call.machine.premium.call_screening.detected';
6148
+ /**
6149
+ * ISO 8601 datetime of when the event occurred.
6150
+ */
6151
+ occurred_at?: string;
6152
+ payload?: Data.Payload;
6153
+ /**
6154
+ * Identifies the type of the resource.
6155
+ */
6156
+ record_type?: 'event';
6157
+ }
6158
+ namespace Data {
6159
+ interface Payload {
6160
+ /**
6161
+ * Call ID used to issue commands via Call Control API.
6162
+ */
6163
+ call_control_id?: string;
6164
+ /**
6165
+ * ID that is unique to the call and can be used to correlate webhook events.
6166
+ */
6167
+ call_leg_id?: string;
6168
+ /**
6169
+ * ID that is unique to the call session and can be used to correlate webhook
6170
+ * events. Call session is a group of related call legs that logically belong to
6171
+ * the same phone call, e.g. an inbound and outbound leg of a transferred call.
6172
+ */
6173
+ call_session_id?: string;
6174
+ /**
6175
+ * State received from a command.
6176
+ */
6177
+ client_state?: string;
6178
+ /**
6179
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
6180
+ */
6181
+ connection_id?: string;
6182
+ /**
6183
+ * Number or SIP URI placing the call.
6184
+ */
6185
+ from?: string;
6186
+ /**
6187
+ * Apple Call Screening detection result. Sent when an Apple Call Screening tone is
6188
+ * detected; Premium Answering Machine Detection is restarted on the screened call
6189
+ * afterwards.
6190
+ */
6191
+ result?: 'screening';
6192
+ /**
6193
+ * Destination number or SIP URI of the call.
6194
+ */
6195
+ to?: string;
6196
+ }
6197
+ }
6198
+ }
5459
6199
  export interface CallMachinePremiumDetectionEndedWebhookEvent {
5460
6200
  data?: CallMachinePremiumDetectionEnded;
5461
6201
  }
6202
+ export interface CallMachinePremiumDetectionStartedWebhookEvent {
6203
+ data?: CallMachinePremiumDetectionStartedWebhookEvent.Data;
6204
+ }
6205
+ export declare namespace CallMachinePremiumDetectionStartedWebhookEvent {
6206
+ interface Data {
6207
+ /**
6208
+ * Identifies the type of resource.
6209
+ */
6210
+ id?: string;
6211
+ /**
6212
+ * The type of event being delivered.
6213
+ */
6214
+ event_type?: 'call.machine.premium.detection.started';
6215
+ /**
6216
+ * ISO 8601 datetime of when the event occurred.
6217
+ */
6218
+ occurred_at?: string;
6219
+ payload?: Data.Payload;
6220
+ /**
6221
+ * Identifies the type of the resource.
6222
+ */
6223
+ record_type?: 'event';
6224
+ }
6225
+ namespace Data {
6226
+ interface Payload {
6227
+ /**
6228
+ * Call ID used to issue commands via Call Control API.
6229
+ */
6230
+ call_control_id?: string;
6231
+ /**
6232
+ * ID that is unique to the call and can be used to correlate webhook events.
6233
+ */
6234
+ call_leg_id?: string;
6235
+ /**
6236
+ * ID that is unique to the call session and can be used to correlate webhook
6237
+ * events. Call session is a group of related call legs that logically belong to
6238
+ * the same phone call, e.g. an inbound and outbound leg of a transferred call.
6239
+ */
6240
+ call_session_id?: string;
6241
+ /**
6242
+ * State received from a command.
6243
+ */
6244
+ client_state?: string;
6245
+ /**
6246
+ * Call Control App ID (formerly Telnyx connection ID) used in the call.
6247
+ */
6248
+ connection_id?: string;
6249
+ /**
6250
+ * Number or SIP URI placing the call.
6251
+ */
6252
+ from?: string;
6253
+ /**
6254
+ * Destination number or SIP URI of the call.
6255
+ */
6256
+ to?: string;
6257
+ }
6258
+ }
6259
+ }
5462
6260
  export interface CallMachinePremiumGreetingEndedWebhookEvent {
5463
6261
  data?: CallMachinePremiumGreetingEnded;
5464
6262
  }
@@ -6084,6 +6882,131 @@ export declare namespace NumberOrderStatusUpdateWebhookEvent {
6084
6882
  delivered_to: string;
6085
6883
  }
6086
6884
  }
6885
+ export interface NumberReputationExternalVerificationStatusChangedWebhookEvent {
6886
+ data: NumberReputationExternalVerificationStatusChangedWebhookEvent.Data;
6887
+ meta: NumberReputationExternalVerificationStatusChangedWebhookEvent.Meta;
6888
+ }
6889
+ export declare namespace NumberReputationExternalVerificationStatusChangedWebhookEvent {
6890
+ interface Data {
6891
+ /**
6892
+ * Identifies the event; the same id is reused if the event is redelivered.
6893
+ */
6894
+ id: string;
6895
+ event_type: 'number_reputation.external_verification.status_changed';
6896
+ occurred_at: string;
6897
+ payload: Data.Payload;
6898
+ record_type: 'event';
6899
+ }
6900
+ namespace Data {
6901
+ interface Payload {
6902
+ enterprise_id: string;
6903
+ record_type: 'reputation_external_verification';
6904
+ /**
6905
+ * When the review decision was made. Always set: this event is only sent after a
6906
+ * review.
6907
+ */
6908
+ reviewed_at: string;
6909
+ /**
6910
+ * The review outcome. `pending` is never delivered: the event is sent only once
6911
+ * the proof is reviewed.
6912
+ */
6913
+ status: 'approved' | 'rejected';
6914
+ /**
6915
+ * Set only when `status` is `rejected`.
6916
+ */
6917
+ rejection_reason?: string | null;
6918
+ }
6919
+ }
6920
+ interface Meta {
6921
+ attempt: number;
6922
+ delivered_to: string;
6923
+ }
6924
+ }
6925
+ export interface NumberReputationNumberFlaggedWebhookEvent {
6926
+ data: NumberReputationNumberFlaggedWebhookEvent.Data;
6927
+ meta: NumberReputationNumberFlaggedWebhookEvent.Meta;
6928
+ }
6929
+ export declare namespace NumberReputationNumberFlaggedWebhookEvent {
6930
+ interface Data {
6931
+ /**
6932
+ * Identifies the event; the same id is reused if the event is redelivered.
6933
+ */
6934
+ id: string;
6935
+ event_type: 'number_reputation.number.flagged';
6936
+ occurred_at: string;
6937
+ payload: Data.Payload;
6938
+ record_type: 'event';
6939
+ }
6940
+ namespace Data {
6941
+ interface Payload {
6942
+ /**
6943
+ * Confirm ownership before this time or the number is removed (carrier change) or
6944
+ * flagged (re-verification).
6945
+ */
6946
+ confirm_by: string;
6947
+ enterprise_id: string;
6948
+ /**
6949
+ * `carrier_changed`: the number moved to a different carrier.
6950
+ * `reverification_due`: the periodic ownership re-verification is due.
6951
+ */
6952
+ flag_reason: 'carrier_changed' | 'reverification_due';
6953
+ ownership_status: 'pending_confirmation';
6954
+ phone_number: string;
6955
+ record_type: 'reputation_phone_number';
6956
+ /**
6957
+ * Where the phone number is hosted. `telnyx`: in your Telnyx inventory.
6958
+ * `external`: a number you own that is hosted with another provider.
6959
+ */
6960
+ source: NumbersAPI.ReputationNumberSource;
6961
+ }
6962
+ }
6963
+ interface Meta {
6964
+ attempt: number;
6965
+ delivered_to: string;
6966
+ }
6967
+ }
6968
+ export interface NumberReputationNumberRemovedWebhookEvent {
6969
+ data: NumberReputationNumberRemovedWebhookEvent.Data;
6970
+ meta: NumberReputationNumberRemovedWebhookEvent.Meta;
6971
+ }
6972
+ export declare namespace NumberReputationNumberRemovedWebhookEvent {
6973
+ interface Data {
6974
+ /**
6975
+ * Identifies the event; the same id is reused if the event is redelivered.
6976
+ */
6977
+ id: string;
6978
+ event_type: 'number_reputation.number.removed';
6979
+ occurred_at: string;
6980
+ payload: Data.Payload;
6981
+ record_type: 'event';
6982
+ }
6983
+ namespace Data {
6984
+ interface Payload {
6985
+ enterprise_id: string;
6986
+ ownership_status: 'removed';
6987
+ phone_number: string;
6988
+ record_type: 'reputation_phone_number';
6989
+ /**
6990
+ * `ported_away`: you confirmed you no longer own it after a carrier change.
6991
+ * `unconfirmed_ownership`: the confirmation deadline passed. `reassigned`: the
6992
+ * number was reported as permanently disconnected. `customer_reported`: you
6993
+ * reported that you no longer own it. Removing a number yourself with `DELETE`
6994
+ * sends no event.
6995
+ */
6996
+ removal_reason: 'ported_away' | 'unconfirmed_ownership' | 'reassigned' | 'customer_reported';
6997
+ removed_at: string;
6998
+ /**
6999
+ * Where the phone number is hosted. `telnyx`: in your Telnyx inventory.
7000
+ * `external`: a number you own that is hosted with another provider.
7001
+ */
7002
+ source: NumbersAPI.ReputationNumberSource;
7003
+ }
7004
+ }
7005
+ interface Meta {
7006
+ attempt: number;
7007
+ delivered_to: string;
7008
+ }
7009
+ }
6087
7010
  export interface RecordingAvailableWebhookEvent {
6088
7011
  /**
6089
7012
  * Unique event id; deduplicate deliveries on it.
@@ -6218,9 +7141,47 @@ export declare namespace TranscriptCompletedWebhookEvent {
6218
7141
  export interface TranscriptionWebhookEvent {
6219
7142
  data?: Transcription;
6220
7143
  }
6221
- export type UnsafeUnwrapWebhookEvent = CallAIGatherEndedWebhookEvent | CallAIGatherMessageHistoryUpdatedWebhookEvent | CallAIGatherPartialResultsWebhookEvent | ArtifactCompletedWebhookEvent | ArtifactFailedWebhookEvent | CallAnsweredWebhookEvent | CallBridgedWebhookEvent | CallConversationEndedWebhookEvent | CallConversationInsightsGeneratedWebhookEvent | CallCostWebhookEvent | CallDeepfakeDetectionErrorWebhookEvent | CallDeepfakeDetectionResultWebhookEvent | CallDtmfReceivedWebhookEvent | CallEnqueuedWebhookEvent | CallForkStartedWebhookEvent | CallForkStoppedWebhookEvent | CallGatherEndedWebhookEvent | CallHangupWebhookEvent | CallHoldWebhookEvent | CallInitiatedWebhookEvent | CallLeftQueueWebhookEvent | CallMachineDetectionEndedWebhookEvent | CallMachineGreetingEndedWebhookEvent | CallMachinePremiumDetectionEndedWebhookEvent | CallMachinePremiumGreetingEndedWebhookEvent | CallPaymentCompletedWebhookEvent | CallPaymentProgressWebhookEvent | CallPlaybackEndedWebhookEvent | CallPlaybackStartedWebhookEvent | CallRecordingErrorWebhookEvent | CallRecordingSavedWebhookEvent | CallRecordingTranscriptionSavedWebhookEvent | CallReferCompletedWebhookEvent | CallReferFailedWebhookEvent | CallReferStartedWebhookEvent | CallSiprecFailedWebhookEvent | CallSiprecStartedWebhookEvent | CallSiprecStoppedWebhookEvent | CallSpeakEndedWebhookEvent | CallSpeakStartedWebhookEvent | CallStreamingFailedWebhookEvent | CallStreamingStartedWebhookEvent | CallStreamingStoppedWebhookEvent | CallUnholdWebhookEvent | CampaignStatusUpdate | ConferenceCreatedWebhookEvent | ConferenceEndedWebhookEvent | ConferenceFloorChanged | ConferenceParticipantJoinedWebhookEvent | ConferenceParticipantLeftWebhookEvent | ConferenceParticipantPlaybackEndedWebhookEvent | ConferenceParticipantPlaybackStartedWebhookEvent | ConferenceParticipantSpeakEndedWebhookEvent | ConferenceParticipantSpeakStartedWebhookEvent | ConferencePlaybackEndedWebhookEvent | ConferencePlaybackStartedWebhookEvent | ConferenceRecordingSavedWebhookEvent | ConferenceSpeakEndedWebhookEvent | ConferenceSpeakStartedWebhookEvent | DeliveryUpdateWebhookEvent | FaxDelivered | FaxFailed | FaxMediaProcessed | FaxQueued | FaxSendingStarted | HostedNumberOrderEventWebhookEvent | InboundMessageWebhookEvent | NumberOrderStatusUpdateWebhookEvent | RecordingAvailableWebhookEvent | ReplacedLinkClickWebhookEvent | SessionStatusChangedWebhookEvent | TranscriptCompletedWebhookEvent | TranscriptionWebhookEvent | WhatsappAccountUpdate | WhatsappMessageEcho;
6222
- export type UnwrapWebhookEvent = CallAIGatherEndedWebhookEvent | CallAIGatherMessageHistoryUpdatedWebhookEvent | CallAIGatherPartialResultsWebhookEvent | ArtifactCompletedWebhookEvent | ArtifactFailedWebhookEvent | CallAnsweredWebhookEvent | CallBridgedWebhookEvent | CallConversationEndedWebhookEvent | CallConversationInsightsGeneratedWebhookEvent | CallCostWebhookEvent | CallDeepfakeDetectionErrorWebhookEvent | CallDeepfakeDetectionResultWebhookEvent | CallDtmfReceivedWebhookEvent | CallEnqueuedWebhookEvent | CallForkStartedWebhookEvent | CallForkStoppedWebhookEvent | CallGatherEndedWebhookEvent | CallHangupWebhookEvent | CallHoldWebhookEvent | CallInitiatedWebhookEvent | CallLeftQueueWebhookEvent | CallMachineDetectionEndedWebhookEvent | CallMachineGreetingEndedWebhookEvent | CallMachinePremiumDetectionEndedWebhookEvent | CallMachinePremiumGreetingEndedWebhookEvent | CallPaymentCompletedWebhookEvent | CallPaymentProgressWebhookEvent | CallPlaybackEndedWebhookEvent | CallPlaybackStartedWebhookEvent | CallRecordingErrorWebhookEvent | CallRecordingSavedWebhookEvent | CallRecordingTranscriptionSavedWebhookEvent | CallReferCompletedWebhookEvent | CallReferFailedWebhookEvent | CallReferStartedWebhookEvent | CallSiprecFailedWebhookEvent | CallSiprecStartedWebhookEvent | CallSiprecStoppedWebhookEvent | CallSpeakEndedWebhookEvent | CallSpeakStartedWebhookEvent | CallStreamingFailedWebhookEvent | CallStreamingStartedWebhookEvent | CallStreamingStoppedWebhookEvent | CallUnholdWebhookEvent | CampaignStatusUpdate | ConferenceCreatedWebhookEvent | ConferenceEndedWebhookEvent | ConferenceFloorChanged | ConferenceParticipantJoinedWebhookEvent | ConferenceParticipantLeftWebhookEvent | ConferenceParticipantPlaybackEndedWebhookEvent | ConferenceParticipantPlaybackStartedWebhookEvent | ConferenceParticipantSpeakEndedWebhookEvent | ConferenceParticipantSpeakStartedWebhookEvent | ConferencePlaybackEndedWebhookEvent | ConferencePlaybackStartedWebhookEvent | ConferenceRecordingSavedWebhookEvent | ConferenceSpeakEndedWebhookEvent | ConferenceSpeakStartedWebhookEvent | DeliveryUpdateWebhookEvent | FaxDelivered | FaxFailed | FaxMediaProcessed | FaxQueued | FaxSendingStarted | HostedNumberOrderEventWebhookEvent | InboundMessageWebhookEvent | NumberOrderStatusUpdateWebhookEvent | RecordingAvailableWebhookEvent | ReplacedLinkClickWebhookEvent | SessionStatusChangedWebhookEvent | TranscriptCompletedWebhookEvent | TranscriptionWebhookEvent | WhatsappAccountUpdate | WhatsappMessageEcho;
7144
+ export interface WhatsappWabaAddedWebhookEvent {
7145
+ data: WhatsappWabaAddedWebhookEvent.Data;
7146
+ }
7147
+ export declare namespace WhatsappWabaAddedWebhookEvent {
7148
+ interface Data {
7149
+ id: string;
7150
+ event_type: 'whatsapp.waba_added';
7151
+ occurred_at: string;
7152
+ payload: Data.Payload;
7153
+ record_type: 'event';
7154
+ }
7155
+ namespace Data {
7156
+ interface Payload {
7157
+ /**
7158
+ * Signup session ID.
7159
+ */
7160
+ event_id: string;
7161
+ record_type: 'waba_account_added';
7162
+ /**
7163
+ * Signup session outcome.
7164
+ */
7165
+ status: 'SUCCESS' | 'FAILURE';
7166
+ /**
7167
+ * Meta WhatsApp Business Account identifier.
7168
+ */
7169
+ waba_id: string;
7170
+ /**
7171
+ * Errors recorded during provisioning.
7172
+ */
7173
+ errors?: Array<string>;
7174
+ /**
7175
+ * Phone numbers found on the WABA. Omitted for standard sessions started with a
7176
+ * phone_number_id, and for sessions that fail before Telnyx fetches the numbers.
7177
+ */
7178
+ phone_numbers?: Array<string>;
7179
+ }
7180
+ }
7181
+ }
7182
+ export type UnsafeUnwrapWebhookEvent = CallAIGatherEndedWebhookEvent | CallAIGatherMessageHistoryUpdatedWebhookEvent | CallAIGatherPartialResultsWebhookEvent | ArtifactCompletedWebhookEvent | ArtifactFailedWebhookEvent | CallAnsweredWebhookEvent | CallBridgedWebhookEvent | CallConversationCreatedWebhookEvent | CallConversationEndedWebhookEvent | CallConversationInsightsGeneratedWebhookEvent | CallConversationStartFailedWebhookEvent | CallCostWebhookEvent | CallDeepfakeDetectionErrorWebhookEvent | CallDeepfakeDetectionResultWebhookEvent | CallDtmfReceivedWebhookEvent | CallEnqueuedWebhookEvent | CallForkStartedWebhookEvent | CallForkStoppedWebhookEvent | CallGatherEndedWebhookEvent | CallHangupWebhookEvent | CallHoldWebhookEvent | CallInitiatedWebhookEvent | CallLeftQueueWebhookEvent | CallMachineDetectionEndedWebhookEvent | CallMachineGreetingEndedWebhookEvent | CallMachinePremiumCallScreeningDetectedWebhookEvent | CallMachinePremiumDetectionEndedWebhookEvent | CallMachinePremiumDetectionStartedWebhookEvent | CallMachinePremiumGreetingEndedWebhookEvent | CallPaymentCompletedWebhookEvent | CallPaymentProgressWebhookEvent | CallPlaybackEndedWebhookEvent | CallPlaybackStartedWebhookEvent | CallRecordingErrorWebhookEvent | CallRecordingSavedWebhookEvent | CallRecordingTranscriptionSavedWebhookEvent | CallReferCompletedWebhookEvent | CallReferFailedWebhookEvent | CallReferStartedWebhookEvent | CallSiprecFailedWebhookEvent | CallSiprecStartedWebhookEvent | CallSiprecStoppedWebhookEvent | CallSpeakEndedWebhookEvent | CallSpeakStartedWebhookEvent | CallStreamingFailedWebhookEvent | CallStreamingStartedWebhookEvent | CallStreamingStoppedWebhookEvent | CallUnholdWebhookEvent | CampaignStatusUpdate | ConferenceCreatedWebhookEvent | ConferenceEndedWebhookEvent | ConferenceFloorChanged | ConferenceParticipantJoinedWebhookEvent | ConferenceParticipantLeftWebhookEvent | ConferenceParticipantPlaybackEndedWebhookEvent | ConferenceParticipantPlaybackStartedWebhookEvent | ConferenceParticipantSpeakEndedWebhookEvent | ConferenceParticipantSpeakStartedWebhookEvent | ConferencePlaybackEndedWebhookEvent | ConferencePlaybackStartedWebhookEvent | ConferenceRecordingSavedWebhookEvent | ConferenceSpeakEndedWebhookEvent | ConferenceSpeakStartedWebhookEvent | DeliveryUpdateWebhookEvent | FaxDelivered | FaxFailed | FaxMediaProcessed | FaxQueued | FaxSendingStarted | HostedNumberOrderEventWebhookEvent | InboundMessageWebhookEvent | NumberOrderStatusUpdateWebhookEvent | NumberReputationExternalVerificationStatusChangedWebhookEvent | NumberReputationNumberFlaggedWebhookEvent | NumberReputationNumberRemovedWebhookEvent | RecordingAvailableWebhookEvent | ReplacedLinkClickWebhookEvent | SessionStatusChangedWebhookEvent | TranscriptCompletedWebhookEvent | TranscriptionWebhookEvent | WhatsappAccountUpdate | WhatsappMessageEcho | WhatsappWabaAddedWebhookEvent;
7183
+ export type UnwrapWebhookEvent = CallAIGatherEndedWebhookEvent | CallAIGatherMessageHistoryUpdatedWebhookEvent | CallAIGatherPartialResultsWebhookEvent | ArtifactCompletedWebhookEvent | ArtifactFailedWebhookEvent | CallAnsweredWebhookEvent | CallBridgedWebhookEvent | CallConversationCreatedWebhookEvent | CallConversationEndedWebhookEvent | CallConversationInsightsGeneratedWebhookEvent | CallConversationStartFailedWebhookEvent | CallCostWebhookEvent | CallDeepfakeDetectionErrorWebhookEvent | CallDeepfakeDetectionResultWebhookEvent | CallDtmfReceivedWebhookEvent | CallEnqueuedWebhookEvent | CallForkStartedWebhookEvent | CallForkStoppedWebhookEvent | CallGatherEndedWebhookEvent | CallHangupWebhookEvent | CallHoldWebhookEvent | CallInitiatedWebhookEvent | CallLeftQueueWebhookEvent | CallMachineDetectionEndedWebhookEvent | CallMachineGreetingEndedWebhookEvent | CallMachinePremiumCallScreeningDetectedWebhookEvent | CallMachinePremiumDetectionEndedWebhookEvent | CallMachinePremiumDetectionStartedWebhookEvent | CallMachinePremiumGreetingEndedWebhookEvent | CallPaymentCompletedWebhookEvent | CallPaymentProgressWebhookEvent | CallPlaybackEndedWebhookEvent | CallPlaybackStartedWebhookEvent | CallRecordingErrorWebhookEvent | CallRecordingSavedWebhookEvent | CallRecordingTranscriptionSavedWebhookEvent | CallReferCompletedWebhookEvent | CallReferFailedWebhookEvent | CallReferStartedWebhookEvent | CallSiprecFailedWebhookEvent | CallSiprecStartedWebhookEvent | CallSiprecStoppedWebhookEvent | CallSpeakEndedWebhookEvent | CallSpeakStartedWebhookEvent | CallStreamingFailedWebhookEvent | CallStreamingStartedWebhookEvent | CallStreamingStoppedWebhookEvent | CallUnholdWebhookEvent | CampaignStatusUpdate | ConferenceCreatedWebhookEvent | ConferenceEndedWebhookEvent | ConferenceFloorChanged | ConferenceParticipantJoinedWebhookEvent | ConferenceParticipantLeftWebhookEvent | ConferenceParticipantPlaybackEndedWebhookEvent | ConferenceParticipantPlaybackStartedWebhookEvent | ConferenceParticipantSpeakEndedWebhookEvent | ConferenceParticipantSpeakStartedWebhookEvent | ConferencePlaybackEndedWebhookEvent | ConferencePlaybackStartedWebhookEvent | ConferenceRecordingSavedWebhookEvent | ConferenceSpeakEndedWebhookEvent | ConferenceSpeakStartedWebhookEvent | DeliveryUpdateWebhookEvent | FaxDelivered | FaxFailed | FaxMediaProcessed | FaxQueued | FaxSendingStarted | HostedNumberOrderEventWebhookEvent | InboundMessageWebhookEvent | NumberOrderStatusUpdateWebhookEvent | NumberReputationExternalVerificationStatusChangedWebhookEvent | NumberReputationNumberFlaggedWebhookEvent | NumberReputationNumberRemovedWebhookEvent | RecordingAvailableWebhookEvent | ReplacedLinkClickWebhookEvent | SessionStatusChangedWebhookEvent | TranscriptCompletedWebhookEvent | TranscriptionWebhookEvent | WhatsappAccountUpdate | WhatsappMessageEcho | WhatsappWabaAddedWebhookEvent;
6223
7184
  export declare namespace Webhooks {
6224
- export { type CallAIGatherEnded as CallAIGatherEnded, type CallAIGatherMessageHistoryUpdated as CallAIGatherMessageHistoryUpdated, type CallAIGatherPartialResults as CallAIGatherPartialResults, type CallAnswered as CallAnswered, type CallBridged as CallBridged, type CallConversationEnded as CallConversationEnded, type CallConversationInsightsGenerated as CallConversationInsightsGenerated, type CallDtmfReceived as CallDtmfReceived, type CallEnqueued as CallEnqueued, type CallForkStarted as CallForkStarted, type CallForkStopped as CallForkStopped, type CallGatherEnded as CallGatherEnded, type CallHangup as CallHangup, type CallInitiated as CallInitiated, type CallLeftQueue as CallLeftQueue, type CallMachineDetectionEnded as CallMachineDetectionEnded, type CallMachineGreetingEnded as CallMachineGreetingEnded, type CallMachinePremiumDetectionEnded as CallMachinePremiumDetectionEnded, type CallMachinePremiumGreetingEnded as CallMachinePremiumGreetingEnded, type CallPlaybackEnded as CallPlaybackEnded, type CallPlaybackStarted as CallPlaybackStarted, type CallRecordingError as CallRecordingError, type CallRecordingSaved as CallRecordingSaved, type CallRecordingTranscriptionSaved as CallRecordingTranscriptionSaved, type CallReferCompleted as CallReferCompleted, type CallReferFailed as CallReferFailed, type CallReferStarted as CallReferStarted, type CallSiprecFailed as CallSiprecFailed, type CallSiprecStarted as CallSiprecStarted, type CallSiprecStopped as CallSiprecStopped, type CallSpeakEnded as CallSpeakEnded, type CallSpeakStarted as CallSpeakStarted, type CallStreamingFailed as CallStreamingFailed, type CallStreamingStarted as CallStreamingStarted, type CallStreamingStopped as CallStreamingStopped, type CampaignStatusUpdate as CampaignStatusUpdate, type ConferenceCreated as ConferenceCreated, type ConferenceEnded as ConferenceEnded, type ConferenceFloorChanged as ConferenceFloorChanged, type ConferenceParticipantJoined as ConferenceParticipantJoined, type ConferenceParticipantLeft as ConferenceParticipantLeft, type ConferenceParticipantPlaybackEnded as ConferenceParticipantPlaybackEnded, type ConferenceParticipantPlaybackStarted as ConferenceParticipantPlaybackStarted, type ConferenceParticipantSpeakEnded as ConferenceParticipantSpeakEnded, type ConferenceParticipantSpeakStarted as ConferenceParticipantSpeakStarted, type ConferencePlaybackEnded as ConferencePlaybackEnded, type ConferencePlaybackStarted as ConferencePlaybackStarted, type ConferenceRecordingSaved as ConferenceRecordingSaved, type ConferenceSpeakEnded as ConferenceSpeakEnded, type ConferenceSpeakStarted as ConferenceSpeakStarted, type FaxDelivered as FaxDelivered, type FaxFailed as FaxFailed, type FaxMediaProcessed as FaxMediaProcessed, type FaxQueued as FaxQueued, type FaxSendingStarted as FaxSendingStarted, type InboundMessage as InboundMessage, type InboundSipHeader as InboundSipHeader, type MessagingInboundMessage as MessagingInboundMessage, type NumberOrderStatusUpdate as NumberOrderStatusUpdate, type OutboundMessage as OutboundMessage, type ReplacedLinkClick as ReplacedLinkClick, type Transcription as Transcription, type WhatsappAccountUpdate as WhatsappAccountUpdate, type WhatsappMessageEcho as WhatsappMessageEcho, type CallAIGatherEndedWebhookEvent as CallAIGatherEndedWebhookEvent, type CallAIGatherMessageHistoryUpdatedWebhookEvent as CallAIGatherMessageHistoryUpdatedWebhookEvent, type CallAIGatherPartialResultsWebhookEvent as CallAIGatherPartialResultsWebhookEvent, type ArtifactCompletedWebhookEvent as ArtifactCompletedWebhookEvent, type ArtifactFailedWebhookEvent as ArtifactFailedWebhookEvent, type CallAnsweredWebhookEvent as CallAnsweredWebhookEvent, type CallBridgedWebhookEvent as CallBridgedWebhookEvent, type CallConversationEndedWebhookEvent as CallConversationEndedWebhookEvent, type CallConversationInsightsGeneratedWebhookEvent as CallConversationInsightsGeneratedWebhookEvent, type CallCostWebhookEvent as CallCostWebhookEvent, type CallDeepfakeDetectionErrorWebhookEvent as CallDeepfakeDetectionErrorWebhookEvent, type CallDeepfakeDetectionResultWebhookEvent as CallDeepfakeDetectionResultWebhookEvent, type CallDtmfReceivedWebhookEvent as CallDtmfReceivedWebhookEvent, type CallEnqueuedWebhookEvent as CallEnqueuedWebhookEvent, type CallForkStartedWebhookEvent as CallForkStartedWebhookEvent, type CallForkStoppedWebhookEvent as CallForkStoppedWebhookEvent, type CallGatherEndedWebhookEvent as CallGatherEndedWebhookEvent, type CallHangupWebhookEvent as CallHangupWebhookEvent, type CallHoldWebhookEvent as CallHoldWebhookEvent, type CallInitiatedWebhookEvent as CallInitiatedWebhookEvent, type CallLeftQueueWebhookEvent as CallLeftQueueWebhookEvent, type CallMachineDetectionEndedWebhookEvent as CallMachineDetectionEndedWebhookEvent, type CallMachineGreetingEndedWebhookEvent as CallMachineGreetingEndedWebhookEvent, type CallMachinePremiumDetectionEndedWebhookEvent as CallMachinePremiumDetectionEndedWebhookEvent, type CallMachinePremiumGreetingEndedWebhookEvent as CallMachinePremiumGreetingEndedWebhookEvent, type CallPaymentCompletedWebhookEvent as CallPaymentCompletedWebhookEvent, type CallPaymentProgressWebhookEvent as CallPaymentProgressWebhookEvent, type CallPlaybackEndedWebhookEvent as CallPlaybackEndedWebhookEvent, type CallPlaybackStartedWebhookEvent as CallPlaybackStartedWebhookEvent, type CallRecordingErrorWebhookEvent as CallRecordingErrorWebhookEvent, type CallRecordingSavedWebhookEvent as CallRecordingSavedWebhookEvent, type CallRecordingTranscriptionSavedWebhookEvent as CallRecordingTranscriptionSavedWebhookEvent, type CallReferCompletedWebhookEvent as CallReferCompletedWebhookEvent, type CallReferFailedWebhookEvent as CallReferFailedWebhookEvent, type CallReferStartedWebhookEvent as CallReferStartedWebhookEvent, type CallSiprecFailedWebhookEvent as CallSiprecFailedWebhookEvent, type CallSiprecStartedWebhookEvent as CallSiprecStartedWebhookEvent, type CallSiprecStoppedWebhookEvent as CallSiprecStoppedWebhookEvent, type CallSpeakEndedWebhookEvent as CallSpeakEndedWebhookEvent, type CallSpeakStartedWebhookEvent as CallSpeakStartedWebhookEvent, type CallStreamingFailedWebhookEvent as CallStreamingFailedWebhookEvent, type CallStreamingStartedWebhookEvent as CallStreamingStartedWebhookEvent, type CallStreamingStoppedWebhookEvent as CallStreamingStoppedWebhookEvent, type CallUnholdWebhookEvent as CallUnholdWebhookEvent, type ConferenceCreatedWebhookEvent as ConferenceCreatedWebhookEvent, type ConferenceEndedWebhookEvent as ConferenceEndedWebhookEvent, type ConferenceParticipantJoinedWebhookEvent as ConferenceParticipantJoinedWebhookEvent, type ConferenceParticipantLeftWebhookEvent as ConferenceParticipantLeftWebhookEvent, type ConferenceParticipantPlaybackEndedWebhookEvent as ConferenceParticipantPlaybackEndedWebhookEvent, type ConferenceParticipantPlaybackStartedWebhookEvent as ConferenceParticipantPlaybackStartedWebhookEvent, type ConferenceParticipantSpeakEndedWebhookEvent as ConferenceParticipantSpeakEndedWebhookEvent, type ConferenceParticipantSpeakStartedWebhookEvent as ConferenceParticipantSpeakStartedWebhookEvent, type ConferencePlaybackEndedWebhookEvent as ConferencePlaybackEndedWebhookEvent, type ConferencePlaybackStartedWebhookEvent as ConferencePlaybackStartedWebhookEvent, type ConferenceRecordingSavedWebhookEvent as ConferenceRecordingSavedWebhookEvent, type ConferenceSpeakEndedWebhookEvent as ConferenceSpeakEndedWebhookEvent, type ConferenceSpeakStartedWebhookEvent as ConferenceSpeakStartedWebhookEvent, type DeliveryUpdateWebhookEvent as DeliveryUpdateWebhookEvent, type HostedNumberOrderEventWebhookEvent as HostedNumberOrderEventWebhookEvent, type InboundMessageWebhookEvent as InboundMessageWebhookEvent, type NumberOrderStatusUpdateWebhookEvent as NumberOrderStatusUpdateWebhookEvent, type RecordingAvailableWebhookEvent as RecordingAvailableWebhookEvent, type ReplacedLinkClickWebhookEvent as ReplacedLinkClickWebhookEvent, type SessionStatusChangedWebhookEvent as SessionStatusChangedWebhookEvent, type TranscriptCompletedWebhookEvent as TranscriptCompletedWebhookEvent, type TranscriptionWebhookEvent as TranscriptionWebhookEvent, type UnsafeUnwrapWebhookEvent as UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent as UnwrapWebhookEvent, };
7185
+ export { type CallAIGatherEnded as CallAIGatherEnded, type CallAIGatherMessageHistoryUpdated as CallAIGatherMessageHistoryUpdated, type CallAIGatherPartialResults as CallAIGatherPartialResults, type CallAnswered as CallAnswered, type CallBridged as CallBridged, type CallConversationEnded as CallConversationEnded, type CallConversationInsightsGenerated as CallConversationInsightsGenerated, type CallDtmfReceived as CallDtmfReceived, type CallEnqueued as CallEnqueued, type CallForkStarted as CallForkStarted, type CallForkStopped as CallForkStopped, type CallGatherEnded as CallGatherEnded, type CallHangup as CallHangup, type CallInitiated as CallInitiated, type CallLeftQueue as CallLeftQueue, type CallMachineDetectionEnded as CallMachineDetectionEnded, type CallMachineGreetingEnded as CallMachineGreetingEnded, type CallMachinePremiumDetectionEnded as CallMachinePremiumDetectionEnded, type CallMachinePremiumGreetingEnded as CallMachinePremiumGreetingEnded, type CallPlaybackEnded as CallPlaybackEnded, type CallPlaybackStarted as CallPlaybackStarted, type CallRecordingError as CallRecordingError, type CallRecordingSaved as CallRecordingSaved, type CallRecordingTranscriptionSaved as CallRecordingTranscriptionSaved, type CallReferCompleted as CallReferCompleted, type CallReferFailed as CallReferFailed, type CallReferStarted as CallReferStarted, type CallSiprecFailed as CallSiprecFailed, type CallSiprecStarted as CallSiprecStarted, type CallSiprecStopped as CallSiprecStopped, type CallSpeakEnded as CallSpeakEnded, type CallSpeakStarted as CallSpeakStarted, type CallStreamingFailed as CallStreamingFailed, type CallStreamingStarted as CallStreamingStarted, type CallStreamingStopped as CallStreamingStopped, type CampaignStatusUpdate as CampaignStatusUpdate, type ConferenceCreated as ConferenceCreated, type ConferenceEnded as ConferenceEnded, type ConferenceFloorChanged as ConferenceFloorChanged, type ConferenceParticipantJoined as ConferenceParticipantJoined, type ConferenceParticipantLeft as ConferenceParticipantLeft, type ConferenceParticipantPlaybackEnded as ConferenceParticipantPlaybackEnded, type ConferenceParticipantPlaybackStarted as ConferenceParticipantPlaybackStarted, type ConferenceParticipantSpeakEnded as ConferenceParticipantSpeakEnded, type ConferenceParticipantSpeakStarted as ConferenceParticipantSpeakStarted, type ConferencePlaybackEnded as ConferencePlaybackEnded, type ConferencePlaybackStarted as ConferencePlaybackStarted, type ConferenceRecordingSaved as ConferenceRecordingSaved, type ConferenceSpeakEnded as ConferenceSpeakEnded, type ConferenceSpeakStarted as ConferenceSpeakStarted, type FaxDelivered as FaxDelivered, type FaxFailed as FaxFailed, type FaxMediaProcessed as FaxMediaProcessed, type FaxQueued as FaxQueued, type FaxSendingStarted as FaxSendingStarted, type InboundMessage as InboundMessage, type InboundSipHeader as InboundSipHeader, type MessagingInboundMessage as MessagingInboundMessage, type NumberOrderStatusUpdate as NumberOrderStatusUpdate, type OutboundMessage as OutboundMessage, type ReplacedLinkClick as ReplacedLinkClick, type Transcription as Transcription, type WhatsappAccountUpdate as WhatsappAccountUpdate, type WhatsappMessageEcho as WhatsappMessageEcho, type CallAIGatherEndedWebhookEvent as CallAIGatherEndedWebhookEvent, type CallAIGatherMessageHistoryUpdatedWebhookEvent as CallAIGatherMessageHistoryUpdatedWebhookEvent, type CallAIGatherPartialResultsWebhookEvent as CallAIGatherPartialResultsWebhookEvent, type ArtifactCompletedWebhookEvent as ArtifactCompletedWebhookEvent, type ArtifactFailedWebhookEvent as ArtifactFailedWebhookEvent, type CallAnsweredWebhookEvent as CallAnsweredWebhookEvent, type CallBridgedWebhookEvent as CallBridgedWebhookEvent, type CallConversationCreatedWebhookEvent as CallConversationCreatedWebhookEvent, type CallConversationEndedWebhookEvent as CallConversationEndedWebhookEvent, type CallConversationInsightsGeneratedWebhookEvent as CallConversationInsightsGeneratedWebhookEvent, type CallConversationStartFailedWebhookEvent as CallConversationStartFailedWebhookEvent, type CallCostWebhookEvent as CallCostWebhookEvent, type CallDeepfakeDetectionErrorWebhookEvent as CallDeepfakeDetectionErrorWebhookEvent, type CallDeepfakeDetectionResultWebhookEvent as CallDeepfakeDetectionResultWebhookEvent, type CallDtmfReceivedWebhookEvent as CallDtmfReceivedWebhookEvent, type CallEnqueuedWebhookEvent as CallEnqueuedWebhookEvent, type CallForkStartedWebhookEvent as CallForkStartedWebhookEvent, type CallForkStoppedWebhookEvent as CallForkStoppedWebhookEvent, type CallGatherEndedWebhookEvent as CallGatherEndedWebhookEvent, type CallHangupWebhookEvent as CallHangupWebhookEvent, type CallHoldWebhookEvent as CallHoldWebhookEvent, type CallInitiatedWebhookEvent as CallInitiatedWebhookEvent, type CallLeftQueueWebhookEvent as CallLeftQueueWebhookEvent, type CallMachineDetectionEndedWebhookEvent as CallMachineDetectionEndedWebhookEvent, type CallMachineGreetingEndedWebhookEvent as CallMachineGreetingEndedWebhookEvent, type CallMachinePremiumCallScreeningDetectedWebhookEvent as CallMachinePremiumCallScreeningDetectedWebhookEvent, type CallMachinePremiumDetectionEndedWebhookEvent as CallMachinePremiumDetectionEndedWebhookEvent, type CallMachinePremiumDetectionStartedWebhookEvent as CallMachinePremiumDetectionStartedWebhookEvent, type CallMachinePremiumGreetingEndedWebhookEvent as CallMachinePremiumGreetingEndedWebhookEvent, type CallPaymentCompletedWebhookEvent as CallPaymentCompletedWebhookEvent, type CallPaymentProgressWebhookEvent as CallPaymentProgressWebhookEvent, type CallPlaybackEndedWebhookEvent as CallPlaybackEndedWebhookEvent, type CallPlaybackStartedWebhookEvent as CallPlaybackStartedWebhookEvent, type CallRecordingErrorWebhookEvent as CallRecordingErrorWebhookEvent, type CallRecordingSavedWebhookEvent as CallRecordingSavedWebhookEvent, type CallRecordingTranscriptionSavedWebhookEvent as CallRecordingTranscriptionSavedWebhookEvent, type CallReferCompletedWebhookEvent as CallReferCompletedWebhookEvent, type CallReferFailedWebhookEvent as CallReferFailedWebhookEvent, type CallReferStartedWebhookEvent as CallReferStartedWebhookEvent, type CallSiprecFailedWebhookEvent as CallSiprecFailedWebhookEvent, type CallSiprecStartedWebhookEvent as CallSiprecStartedWebhookEvent, type CallSiprecStoppedWebhookEvent as CallSiprecStoppedWebhookEvent, type CallSpeakEndedWebhookEvent as CallSpeakEndedWebhookEvent, type CallSpeakStartedWebhookEvent as CallSpeakStartedWebhookEvent, type CallStreamingFailedWebhookEvent as CallStreamingFailedWebhookEvent, type CallStreamingStartedWebhookEvent as CallStreamingStartedWebhookEvent, type CallStreamingStoppedWebhookEvent as CallStreamingStoppedWebhookEvent, type CallUnholdWebhookEvent as CallUnholdWebhookEvent, type ConferenceCreatedWebhookEvent as ConferenceCreatedWebhookEvent, type ConferenceEndedWebhookEvent as ConferenceEndedWebhookEvent, type ConferenceParticipantJoinedWebhookEvent as ConferenceParticipantJoinedWebhookEvent, type ConferenceParticipantLeftWebhookEvent as ConferenceParticipantLeftWebhookEvent, type ConferenceParticipantPlaybackEndedWebhookEvent as ConferenceParticipantPlaybackEndedWebhookEvent, type ConferenceParticipantPlaybackStartedWebhookEvent as ConferenceParticipantPlaybackStartedWebhookEvent, type ConferenceParticipantSpeakEndedWebhookEvent as ConferenceParticipantSpeakEndedWebhookEvent, type ConferenceParticipantSpeakStartedWebhookEvent as ConferenceParticipantSpeakStartedWebhookEvent, type ConferencePlaybackEndedWebhookEvent as ConferencePlaybackEndedWebhookEvent, type ConferencePlaybackStartedWebhookEvent as ConferencePlaybackStartedWebhookEvent, type ConferenceRecordingSavedWebhookEvent as ConferenceRecordingSavedWebhookEvent, type ConferenceSpeakEndedWebhookEvent as ConferenceSpeakEndedWebhookEvent, type ConferenceSpeakStartedWebhookEvent as ConferenceSpeakStartedWebhookEvent, type DeliveryUpdateWebhookEvent as DeliveryUpdateWebhookEvent, type HostedNumberOrderEventWebhookEvent as HostedNumberOrderEventWebhookEvent, type InboundMessageWebhookEvent as InboundMessageWebhookEvent, type NumberOrderStatusUpdateWebhookEvent as NumberOrderStatusUpdateWebhookEvent, type NumberReputationExternalVerificationStatusChangedWebhookEvent as NumberReputationExternalVerificationStatusChangedWebhookEvent, type NumberReputationNumberFlaggedWebhookEvent as NumberReputationNumberFlaggedWebhookEvent, type NumberReputationNumberRemovedWebhookEvent as NumberReputationNumberRemovedWebhookEvent, type RecordingAvailableWebhookEvent as RecordingAvailableWebhookEvent, type ReplacedLinkClickWebhookEvent as ReplacedLinkClickWebhookEvent, type SessionStatusChangedWebhookEvent as SessionStatusChangedWebhookEvent, type TranscriptCompletedWebhookEvent as TranscriptCompletedWebhookEvent, type TranscriptionWebhookEvent as TranscriptionWebhookEvent, type WhatsappWabaAddedWebhookEvent as WhatsappWabaAddedWebhookEvent, type UnsafeUnwrapWebhookEvent as UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent as UnwrapWebhookEvent, };
6225
7186
  }
6226
7187
  //# sourceMappingURL=webhooks.d.mts.map