telnyx 7.25.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 (377) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/client.d.mts +10 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +10 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/ai/ai.d.mts +14 -5
  12. package/resources/ai/ai.d.mts.map +1 -1
  13. package/resources/ai/ai.d.ts +14 -5
  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 +232 -6
  20. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  21. package/resources/ai/assistants/assistants.d.ts +232 -6
  22. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  23. package/resources/ai/assistants/assistants.js.map +1 -1
  24. package/resources/ai/assistants/assistants.mjs.map +1 -1
  25. package/resources/ai/assistants/index.d.mts +1 -1
  26. package/resources/ai/assistants/index.d.mts.map +1 -1
  27. package/resources/ai/assistants/index.d.ts +1 -1
  28. package/resources/ai/assistants/index.d.ts.map +1 -1
  29. package/resources/ai/assistants/index.js.map +1 -1
  30. package/resources/ai/assistants/index.mjs.map +1 -1
  31. package/resources/ai/assistants/versions.d.mts +12 -0
  32. package/resources/ai/assistants/versions.d.mts.map +1 -1
  33. package/resources/ai/assistants/versions.d.ts +12 -0
  34. package/resources/ai/assistants/versions.d.ts.map +1 -1
  35. package/resources/ai/avatars.d.mts +187 -0
  36. package/resources/ai/avatars.d.mts.map +1 -0
  37. package/resources/ai/avatars.d.ts +187 -0
  38. package/resources/ai/avatars.d.ts.map +1 -0
  39. package/resources/ai/avatars.js +93 -0
  40. package/resources/ai/avatars.js.map +1 -0
  41. package/resources/ai/avatars.mjs +89 -0
  42. package/resources/ai/avatars.mjs.map +1 -0
  43. package/resources/ai/chat.d.mts +20 -6
  44. package/resources/ai/chat.d.mts.map +1 -1
  45. package/resources/ai/chat.d.ts +20 -6
  46. package/resources/ai/chat.d.ts.map +1 -1
  47. package/resources/ai/conversations/conversations.d.mts +8 -0
  48. package/resources/ai/conversations/conversations.d.mts.map +1 -1
  49. package/resources/ai/conversations/conversations.d.ts +8 -0
  50. package/resources/ai/conversations/conversations.d.ts.map +1 -1
  51. package/resources/ai/conversations/conversations.js.map +1 -1
  52. package/resources/ai/conversations/conversations.mjs.map +1 -1
  53. package/resources/ai/index.d.mts +2 -1
  54. package/resources/ai/index.d.mts.map +1 -1
  55. package/resources/ai/index.d.ts +2 -1
  56. package/resources/ai/index.d.ts.map +1 -1
  57. package/resources/ai/index.js +3 -1
  58. package/resources/ai/index.js.map +1 -1
  59. package/resources/ai/index.mjs +1 -0
  60. package/resources/ai/index.mjs.map +1 -1
  61. package/resources/ai/memory/namespaces/index.d.mts +1 -1
  62. package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
  63. package/resources/ai/memory/namespaces/index.d.ts +1 -1
  64. package/resources/ai/memory/namespaces/index.d.ts.map +1 -1
  65. package/resources/ai/memory/namespaces/index.js.map +1 -1
  66. package/resources/ai/memory/namespaces/index.mjs.map +1 -1
  67. package/resources/ai/memory/namespaces/namespaces.d.mts +2 -2
  68. package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
  69. package/resources/ai/memory/namespaces/namespaces.d.ts +2 -2
  70. package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
  71. package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
  72. package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
  73. package/resources/ai/memory/namespaces/profiles/index.d.mts +1 -1
  74. package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -1
  75. package/resources/ai/memory/namespaces/profiles/index.d.ts +1 -1
  76. package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -1
  77. package/resources/ai/memory/namespaces/profiles/index.js.map +1 -1
  78. package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -1
  79. package/resources/ai/memory/namespaces/profiles/profiles.d.mts +54 -1
  80. package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
  81. package/resources/ai/memory/namespaces/profiles/profiles.d.ts +54 -1
  82. package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -1
  83. package/resources/ai/memory/namespaces/profiles/profiles.js +31 -0
  84. package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -1
  85. package/resources/ai/memory/namespaces/profiles/profiles.mjs +31 -0
  86. package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -1
  87. package/resources/ai/openai/chat.d.mts +20 -6
  88. package/resources/ai/openai/chat.d.mts.map +1 -1
  89. package/resources/ai/openai/chat.d.ts +20 -6
  90. package/resources/ai/openai/chat.d.ts.map +1 -1
  91. package/resources/ai/tools.d.mts +17 -1
  92. package/resources/ai/tools.d.mts.map +1 -1
  93. package/resources/ai/tools.d.ts +17 -1
  94. package/resources/ai/tools.d.ts.map +1 -1
  95. package/resources/calls/actions.d.mts +59 -13
  96. package/resources/calls/actions.d.mts.map +1 -1
  97. package/resources/calls/actions.d.ts +59 -13
  98. package/resources/calls/actions.d.ts.map +1 -1
  99. package/resources/calls/calls.d.mts +24 -14
  100. package/resources/calls/calls.d.mts.map +1 -1
  101. package/resources/calls/calls.d.ts +24 -14
  102. package/resources/calls/calls.d.ts.map +1 -1
  103. package/resources/calls/calls.js +8 -0
  104. package/resources/calls/calls.js.map +1 -1
  105. package/resources/calls/calls.mjs +8 -0
  106. package/resources/calls/calls.mjs.map +1 -1
  107. package/resources/calls/index.d.mts +1 -1
  108. package/resources/calls/index.d.mts.map +1 -1
  109. package/resources/calls/index.d.ts +1 -1
  110. package/resources/calls/index.d.ts.map +1 -1
  111. package/resources/calls/index.js.map +1 -1
  112. package/resources/calls/index.mjs.map +1 -1
  113. package/resources/dir/dir.d.mts +10 -7
  114. package/resources/dir/dir.d.mts.map +1 -1
  115. package/resources/dir/dir.d.ts +10 -7
  116. package/resources/dir/dir.d.ts.map +1 -1
  117. package/resources/dir/dir.js +1 -1
  118. package/resources/dir/dir.js.map +1 -1
  119. package/resources/dir/dir.mjs +1 -1
  120. package/resources/dir/dir.mjs.map +1 -1
  121. package/resources/dir/phone-numbers.d.mts +0 -4
  122. package/resources/dir/phone-numbers.d.mts.map +1 -1
  123. package/resources/dir/phone-numbers.d.ts +0 -4
  124. package/resources/dir/phone-numbers.d.ts.map +1 -1
  125. package/resources/email-templates.d.mts +109 -18
  126. package/resources/email-templates.d.mts.map +1 -1
  127. package/resources/email-templates.d.ts +109 -18
  128. package/resources/email-templates.d.ts.map +1 -1
  129. package/resources/email-templates.js +5 -1
  130. package/resources/email-templates.js.map +1 -1
  131. package/resources/email-templates.mjs +5 -1
  132. package/resources/email-templates.mjs.map +1 -1
  133. package/resources/enterprises/dir.d.mts +8 -2
  134. package/resources/enterprises/dir.d.mts.map +1 -1
  135. package/resources/enterprises/dir.d.ts +8 -2
  136. package/resources/enterprises/dir.d.ts.map +1 -1
  137. package/resources/enterprises/dir.js +8 -2
  138. package/resources/enterprises/dir.js.map +1 -1
  139. package/resources/enterprises/dir.mjs +8 -2
  140. package/resources/enterprises/dir.mjs.map +1 -1
  141. package/resources/enterprises/enterprises.d.mts +7 -5
  142. package/resources/enterprises/enterprises.d.mts.map +1 -1
  143. package/resources/enterprises/enterprises.d.ts +7 -5
  144. package/resources/enterprises/enterprises.d.ts.map +1 -1
  145. package/resources/enterprises/enterprises.js +5 -3
  146. package/resources/enterprises/enterprises.js.map +1 -1
  147. package/resources/enterprises/enterprises.mjs +5 -3
  148. package/resources/enterprises/enterprises.mjs.map +1 -1
  149. package/resources/enterprises/index.d.mts +1 -1
  150. package/resources/enterprises/index.d.mts.map +1 -1
  151. package/resources/enterprises/index.d.ts +1 -1
  152. package/resources/enterprises/index.d.ts.map +1 -1
  153. package/resources/enterprises/index.js.map +1 -1
  154. package/resources/enterprises/index.mjs.map +1 -1
  155. package/resources/enterprises/reputation/external-verification.d.mts +94 -0
  156. package/resources/enterprises/reputation/external-verification.d.mts.map +1 -0
  157. package/resources/enterprises/reputation/external-verification.d.ts +94 -0
  158. package/resources/enterprises/reputation/external-verification.d.ts.map +1 -0
  159. package/resources/enterprises/reputation/external-verification.js +54 -0
  160. package/resources/enterprises/reputation/external-verification.js.map +1 -0
  161. package/resources/enterprises/reputation/external-verification.mjs +50 -0
  162. package/resources/enterprises/reputation/external-verification.mjs.map +1 -0
  163. package/resources/enterprises/reputation/index.d.mts +3 -2
  164. package/resources/enterprises/reputation/index.d.mts.map +1 -1
  165. package/resources/enterprises/reputation/index.d.ts +3 -2
  166. package/resources/enterprises/reputation/index.d.ts.map +1 -1
  167. package/resources/enterprises/reputation/index.js +3 -1
  168. package/resources/enterprises/reputation/index.js.map +1 -1
  169. package/resources/enterprises/reputation/index.mjs +1 -0
  170. package/resources/enterprises/reputation/index.mjs.map +1 -1
  171. package/resources/enterprises/reputation/loa.d.mts +3 -2
  172. package/resources/enterprises/reputation/loa.d.mts.map +1 -1
  173. package/resources/enterprises/reputation/loa.d.ts +3 -2
  174. package/resources/enterprises/reputation/loa.d.ts.map +1 -1
  175. package/resources/enterprises/reputation/numbers.d.mts +197 -4
  176. package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
  177. package/resources/enterprises/reputation/numbers.d.ts +197 -4
  178. package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
  179. package/resources/enterprises/reputation/numbers.js +58 -2
  180. package/resources/enterprises/reputation/numbers.js.map +1 -1
  181. package/resources/enterprises/reputation/numbers.mjs +58 -2
  182. package/resources/enterprises/reputation/numbers.mjs.map +1 -1
  183. package/resources/enterprises/reputation/remediation.d.mts +3 -2
  184. package/resources/enterprises/reputation/remediation.d.mts.map +1 -1
  185. package/resources/enterprises/reputation/remediation.d.ts +3 -2
  186. package/resources/enterprises/reputation/remediation.d.ts.map +1 -1
  187. package/resources/enterprises/reputation/reputation.d.mts +39 -3
  188. package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
  189. package/resources/enterprises/reputation/reputation.d.ts +39 -3
  190. package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
  191. package/resources/enterprises/reputation/reputation.js +22 -0
  192. package/resources/enterprises/reputation/reputation.js.map +1 -1
  193. package/resources/enterprises/reputation/reputation.mjs +22 -0
  194. package/resources/enterprises/reputation/reputation.mjs.map +1 -1
  195. package/resources/global-ip-assignment-health.d.mts +4 -4
  196. package/resources/global-ip-assignment-health.d.mts.map +1 -1
  197. package/resources/global-ip-assignment-health.d.ts +4 -4
  198. package/resources/global-ip-assignment-health.d.ts.map +1 -1
  199. package/resources/global-ip-assignments-usage.d.mts +4 -4
  200. package/resources/global-ip-assignments-usage.d.mts.map +1 -1
  201. package/resources/global-ip-assignments-usage.d.ts +4 -4
  202. package/resources/global-ip-assignments-usage.d.ts.map +1 -1
  203. package/resources/index.d.mts +3 -2
  204. package/resources/index.d.mts.map +1 -1
  205. package/resources/index.d.ts +3 -2
  206. package/resources/index.d.ts.map +1 -1
  207. package/resources/index.js +3 -1
  208. package/resources/index.js.map +1 -1
  209. package/resources/index.mjs +1 -0
  210. package/resources/index.mjs.map +1 -1
  211. package/resources/llm-token-gateway/index.d.mts +4 -1
  212. package/resources/llm-token-gateway/index.d.mts.map +1 -1
  213. package/resources/llm-token-gateway/index.d.ts +4 -1
  214. package/resources/llm-token-gateway/index.d.ts.map +1 -1
  215. package/resources/llm-token-gateway/index.js +7 -1
  216. package/resources/llm-token-gateway/index.js.map +1 -1
  217. package/resources/llm-token-gateway/index.mjs +4 -1
  218. package/resources/llm-token-gateway/index.mjs.map +1 -1
  219. package/resources/llm-token-gateway/llm-token-gateway.d.mts +14 -2
  220. package/resources/llm-token-gateway/llm-token-gateway.d.mts.map +1 -1
  221. package/resources/llm-token-gateway/llm-token-gateway.d.ts +14 -2
  222. package/resources/llm-token-gateway/llm-token-gateway.d.ts.map +1 -1
  223. package/resources/llm-token-gateway/llm-token-gateway.js +12 -0
  224. package/resources/llm-token-gateway/llm-token-gateway.js.map +1 -1
  225. package/resources/llm-token-gateway/llm-token-gateway.mjs +13 -1
  226. package/resources/llm-token-gateway/llm-token-gateway.mjs.map +1 -1
  227. package/resources/llm-token-gateway/spend.d.mts +223 -0
  228. package/resources/llm-token-gateway/spend.d.mts.map +1 -0
  229. package/resources/llm-token-gateway/spend.d.ts +223 -0
  230. package/resources/llm-token-gateway/spend.d.ts.map +1 -0
  231. package/resources/llm-token-gateway/spend.js +56 -0
  232. package/resources/llm-token-gateway/spend.js.map +1 -0
  233. package/resources/llm-token-gateway/spend.mjs +52 -0
  234. package/resources/llm-token-gateway/spend.mjs.map +1 -0
  235. package/resources/llm-token-gateway/token-groups.d.mts +577 -0
  236. package/resources/llm-token-gateway/token-groups.d.mts.map +1 -0
  237. package/resources/llm-token-gateway/token-groups.d.ts +577 -0
  238. package/resources/llm-token-gateway/token-groups.d.ts.map +1 -0
  239. package/resources/llm-token-gateway/token-groups.js +139 -0
  240. package/resources/llm-token-gateway/token-groups.js.map +1 -0
  241. package/resources/llm-token-gateway/token-groups.mjs +135 -0
  242. package/resources/llm-token-gateway/token-groups.mjs.map +1 -0
  243. package/resources/llm-token-gateway/token-keys.d.mts +318 -0
  244. package/resources/llm-token-gateway/token-keys.d.mts.map +1 -0
  245. package/resources/llm-token-gateway/token-keys.d.ts +318 -0
  246. package/resources/llm-token-gateway/token-keys.d.ts.map +1 -0
  247. package/resources/llm-token-gateway/token-keys.js +127 -0
  248. package/resources/llm-token-gateway/token-keys.js.map +1 -0
  249. package/resources/llm-token-gateway/token-keys.mjs +123 -0
  250. package/resources/llm-token-gateway/token-keys.mjs.map +1 -0
  251. package/resources/llm-token-gateway/usage.d.mts +205 -146
  252. package/resources/llm-token-gateway/usage.d.mts.map +1 -1
  253. package/resources/llm-token-gateway/usage.d.ts +205 -146
  254. package/resources/llm-token-gateway/usage.d.ts.map +1 -1
  255. package/resources/llm-token-gateway/usage.js +47 -15
  256. package/resources/llm-token-gateway/usage.js.map +1 -1
  257. package/resources/llm-token-gateway/usage.mjs +47 -15
  258. package/resources/llm-token-gateway/usage.mjs.map +1 -1
  259. package/resources/phone-numbers/jobs.d.mts +17 -5
  260. package/resources/phone-numbers/jobs.d.mts.map +1 -1
  261. package/resources/phone-numbers/jobs.d.ts +17 -5
  262. package/resources/phone-numbers/jobs.d.ts.map +1 -1
  263. package/resources/phone-numbers/jobs.js +4 -3
  264. package/resources/phone-numbers/jobs.js.map +1 -1
  265. package/resources/phone-numbers/jobs.mjs +4 -3
  266. package/resources/phone-numbers/jobs.mjs.map +1 -1
  267. package/resources/reputation/numbers.d.mts +10 -0
  268. package/resources/reputation/numbers.d.mts.map +1 -1
  269. package/resources/reputation/numbers.d.ts +10 -0
  270. package/resources/reputation/numbers.d.ts.map +1 -1
  271. package/resources/sip-registration-status.d.mts +149 -0
  272. package/resources/sip-registration-status.d.mts.map +1 -0
  273. package/resources/sip-registration-status.d.ts +149 -0
  274. package/resources/sip-registration-status.d.ts.map +1 -0
  275. package/resources/sip-registration-status.js +32 -0
  276. package/resources/sip-registration-status.js.map +1 -0
  277. package/resources/sip-registration-status.mjs +28 -0
  278. package/resources/sip-registration-status.mjs.map +1 -0
  279. package/resources/texml/texml.d.mts +7 -3
  280. package/resources/texml/texml.d.mts.map +1 -1
  281. package/resources/texml/texml.d.ts +7 -3
  282. package/resources/texml/texml.d.ts.map +1 -1
  283. package/resources/texml/texml.js +4 -2
  284. package/resources/texml/texml.js.map +1 -1
  285. package/resources/texml/texml.mjs +4 -2
  286. package/resources/texml/texml.mjs.map +1 -1
  287. package/resources/webhooks.d.mts +566 -3
  288. package/resources/webhooks.d.mts.map +1 -1
  289. package/resources/webhooks.d.ts +566 -3
  290. package/resources/webhooks.d.ts.map +1 -1
  291. package/resources/webhooks.js.map +1 -1
  292. package/resources/webhooks.mjs.map +1 -1
  293. package/resources/whatsapp/index.d.mts +1 -0
  294. package/resources/whatsapp/index.d.mts.map +1 -1
  295. package/resources/whatsapp/index.d.ts +1 -0
  296. package/resources/whatsapp/index.d.ts.map +1 -1
  297. package/resources/whatsapp/index.js +3 -1
  298. package/resources/whatsapp/index.js.map +1 -1
  299. package/resources/whatsapp/index.mjs +1 -0
  300. package/resources/whatsapp/index.mjs.map +1 -1
  301. package/resources/whatsapp/phone-numbers/calling-routing.d.mts +6 -5
  302. package/resources/whatsapp/phone-numbers/calling-routing.d.mts.map +1 -1
  303. package/resources/whatsapp/phone-numbers/calling-routing.d.ts +6 -5
  304. package/resources/whatsapp/phone-numbers/calling-routing.d.ts.map +1 -1
  305. package/resources/whatsapp/phone-numbers/calling-routing.js +6 -5
  306. package/resources/whatsapp/phone-numbers/calling-routing.js.map +1 -1
  307. package/resources/whatsapp/phone-numbers/calling-routing.mjs +6 -5
  308. package/resources/whatsapp/phone-numbers/calling-routing.mjs.map +1 -1
  309. package/resources/whatsapp/signup.d.mts +128 -0
  310. package/resources/whatsapp/signup.d.mts.map +1 -0
  311. package/resources/whatsapp/signup.d.ts +128 -0
  312. package/resources/whatsapp/signup.d.ts.map +1 -0
  313. package/resources/whatsapp/signup.js +42 -0
  314. package/resources/whatsapp/signup.js.map +1 -0
  315. package/resources/whatsapp/signup.mjs +38 -0
  316. package/resources/whatsapp/signup.mjs.map +1 -0
  317. package/resources/whatsapp/whatsapp.d.mts +4 -0
  318. package/resources/whatsapp/whatsapp.d.mts.map +1 -1
  319. package/resources/whatsapp/whatsapp.d.ts +4 -0
  320. package/resources/whatsapp/whatsapp.d.ts.map +1 -1
  321. package/resources/whatsapp/whatsapp.js +4 -0
  322. package/resources/whatsapp/whatsapp.js.map +1 -1
  323. package/resources/whatsapp/whatsapp.mjs +4 -0
  324. package/resources/whatsapp/whatsapp.mjs.map +1 -1
  325. package/src/client.ts +28 -0
  326. package/src/resources/ai/ai.ts +38 -3
  327. package/src/resources/ai/assistants/assistants.ts +292 -5
  328. package/src/resources/ai/assistants/index.ts +2 -0
  329. package/src/resources/ai/assistants/versions.ts +14 -0
  330. package/src/resources/ai/avatars.ts +238 -0
  331. package/src/resources/ai/chat.ts +20 -6
  332. package/src/resources/ai/conversations/conversations.ts +9 -0
  333. package/src/resources/ai/index.ts +13 -0
  334. package/src/resources/ai/memory/namespaces/index.ts +2 -0
  335. package/src/resources/ai/memory/namespaces/namespaces.ts +4 -0
  336. package/src/resources/ai/memory/namespaces/profiles/index.ts +2 -0
  337. package/src/resources/ai/memory/namespaces/profiles/profiles.ts +71 -0
  338. package/src/resources/ai/openai/chat.ts +20 -6
  339. package/src/resources/ai/tools.ts +19 -1
  340. package/src/resources/calls/actions.ts +65 -10
  341. package/src/resources/calls/calls.ts +24 -8
  342. package/src/resources/calls/index.ts +1 -0
  343. package/src/resources/dir/dir.ts +10 -7
  344. package/src/resources/dir/phone-numbers.ts +1 -6
  345. package/src/resources/email-templates.ts +121 -19
  346. package/src/resources/enterprises/dir.ts +8 -2
  347. package/src/resources/enterprises/enterprises.ts +7 -3
  348. package/src/resources/enterprises/index.ts +1 -0
  349. package/src/resources/enterprises/reputation/external-verification.ts +125 -0
  350. package/src/resources/enterprises/reputation/index.ts +12 -0
  351. package/src/resources/enterprises/reputation/loa.ts +3 -2
  352. package/src/resources/enterprises/reputation/numbers.ts +256 -3
  353. package/src/resources/enterprises/reputation/remediation.ts +3 -2
  354. package/src/resources/enterprises/reputation/reputation.ts +70 -0
  355. package/src/resources/global-ip-assignment-health.ts +4 -4
  356. package/src/resources/global-ip-assignments-usage.ts +4 -4
  357. package/src/resources/index.ts +11 -0
  358. package/src/resources/llm-token-gateway/index.ts +38 -1
  359. package/src/resources/llm-token-gateway/llm-token-gateway.ts +83 -1
  360. package/src/resources/llm-token-gateway/spend.ts +309 -0
  361. package/src/resources/llm-token-gateway/token-groups.ts +724 -0
  362. package/src/resources/llm-token-gateway/token-keys.ts +422 -0
  363. package/src/resources/llm-token-gateway/usage.ts +273 -149
  364. package/src/resources/phone-numbers/jobs.ts +18 -5
  365. package/src/resources/reputation/numbers.ts +12 -0
  366. package/src/resources/sip-registration-status.ts +188 -0
  367. package/src/resources/texml/texml.ts +7 -3
  368. package/src/resources/webhooks.ts +754 -15
  369. package/src/resources/whatsapp/index.ts +7 -0
  370. package/src/resources/whatsapp/phone-numbers/calling-routing.ts +6 -5
  371. package/src/resources/whatsapp/signup.ts +188 -0
  372. package/src/resources/whatsapp/whatsapp.ts +18 -0
  373. package/src/version.ts +1 -1
  374. package/version.d.mts +1 -1
  375. package/version.d.ts +1 -1
  376. package/version.js +1 -1
  377. 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
  /**
@@ -4016,6 +4083,91 @@ export interface CallConversationEndedWebhookEvent {
4016
4083
  export interface CallConversationInsightsGeneratedWebhookEvent {
4017
4084
  data?: CallConversationInsightsGenerated;
4018
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
+ }
4019
4171
  export interface CallCostWebhookEvent {
4020
4172
  data?: CallCostWebhookEvent.Data;
4021
4173
  }
@@ -5077,6 +5229,131 @@ export declare namespace NumberOrderStatusUpdateWebhookEvent {
5077
5229
  delivered_to: string;
5078
5230
  }
5079
5231
  }
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
+ }
5080
5357
  export interface RecordingAvailableWebhookEvent {
5081
5358
  /**
5082
5359
  * Unique event id; deduplicate deliveries on it.
@@ -5211,6 +5488,44 @@ export declare namespace TranscriptCompletedWebhookEvent {
5211
5488
  export interface TranscriptionWebhookEvent {
5212
5489
  data?: Transcription;
5213
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
+ }
5214
5529
  export interface CallAIGatherEndedWebhookEvent {
5215
5530
  data?: CallAIGatherEnded;
5216
5531
  }
@@ -5421,6 +5736,91 @@ export interface CallConversationEndedWebhookEvent {
5421
5736
  export interface CallConversationInsightsGeneratedWebhookEvent {
5422
5737
  data?: CallConversationInsightsGenerated;
5423
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
+ }
5424
5824
  export interface CallCostWebhookEvent {
5425
5825
  data?: CallCostWebhookEvent.Data;
5426
5826
  }
@@ -6482,6 +6882,131 @@ export declare namespace NumberOrderStatusUpdateWebhookEvent {
6482
6882
  delivered_to: string;
6483
6883
  }
6484
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
+ }
6485
7010
  export interface RecordingAvailableWebhookEvent {
6486
7011
  /**
6487
7012
  * Unique event id; deduplicate deliveries on it.
@@ -6616,9 +7141,47 @@ export declare namespace TranscriptCompletedWebhookEvent {
6616
7141
  export interface TranscriptionWebhookEvent {
6617
7142
  data?: Transcription;
6618
7143
  }
6619
- export type UnsafeUnwrapWebhookEvent = CallAIGatherEndedWebhookEvent | CallAIGatherMessageHistoryUpdatedWebhookEvent | CallAIGatherPartialResultsWebhookEvent | ArtifactCompletedWebhookEvent | ArtifactFailedWebhookEvent | CallAnsweredWebhookEvent | CallBridgedWebhookEvent | CallConversationCreatedWebhookEvent | CallConversationEndedWebhookEvent | CallConversationInsightsGeneratedWebhookEvent | 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 | RecordingAvailableWebhookEvent | ReplacedLinkClickWebhookEvent | SessionStatusChangedWebhookEvent | TranscriptCompletedWebhookEvent | TranscriptionWebhookEvent | WhatsappAccountUpdate | WhatsappMessageEcho;
6620
- export type UnwrapWebhookEvent = CallAIGatherEndedWebhookEvent | CallAIGatherMessageHistoryUpdatedWebhookEvent | CallAIGatherPartialResultsWebhookEvent | ArtifactCompletedWebhookEvent | ArtifactFailedWebhookEvent | CallAnsweredWebhookEvent | CallBridgedWebhookEvent | CallConversationCreatedWebhookEvent | CallConversationEndedWebhookEvent | CallConversationInsightsGeneratedWebhookEvent | 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 | 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;
6621
7184
  export declare namespace Webhooks {
6622
- 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 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 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, };
6623
7186
  }
6624
7187
  //# sourceMappingURL=webhooks.d.mts.map