telnyx 7.22.0 → 7.23.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 (326) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/client.d.mts +34 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +34 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +30 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +30 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/ai/ai.d.mts +6 -2
  12. package/resources/ai/ai.d.mts.map +1 -1
  13. package/resources/ai/ai.d.ts +6 -2
  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 +5 -1
  18. package/resources/ai/ai.mjs.map +1 -1
  19. package/resources/ai/assistants/assistants.d.mts +256 -46
  20. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  21. package/resources/ai/assistants/assistants.d.ts +256 -46
  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/versions.d.mts +34 -12
  26. package/resources/ai/assistants/versions.d.mts.map +1 -1
  27. package/resources/ai/assistants/versions.d.ts +34 -12
  28. package/resources/ai/assistants/versions.d.ts.map +1 -1
  29. package/resources/ai/audio.d.mts +78 -43
  30. package/resources/ai/audio.d.mts.map +1 -1
  31. package/resources/ai/audio.d.ts +78 -43
  32. package/resources/ai/audio.d.ts.map +1 -1
  33. package/resources/ai/audio.js.map +1 -1
  34. package/resources/ai/audio.mjs.map +1 -1
  35. package/resources/ai/chat.d.mts +2 -10
  36. package/resources/ai/chat.d.mts.map +1 -1
  37. package/resources/ai/chat.d.ts +2 -10
  38. package/resources/ai/chat.d.ts.map +1 -1
  39. package/resources/ai/chat.js.map +1 -1
  40. package/resources/ai/chat.mjs.map +1 -1
  41. package/resources/ai/index.d.mts +2 -1
  42. package/resources/ai/index.d.mts.map +1 -1
  43. package/resources/ai/index.d.ts +2 -1
  44. package/resources/ai/index.d.ts.map +1 -1
  45. package/resources/ai/index.js +3 -1
  46. package/resources/ai/index.js.map +1 -1
  47. package/resources/ai/index.mjs +2 -1
  48. package/resources/ai/index.mjs.map +1 -1
  49. package/resources/ai/openai/chat.d.mts +10 -11
  50. package/resources/ai/openai/chat.d.mts.map +1 -1
  51. package/resources/ai/openai/chat.d.ts +10 -11
  52. package/resources/ai/openai/chat.d.ts.map +1 -1
  53. package/resources/ai/openai/chat.js.map +1 -1
  54. package/resources/ai/openai/chat.mjs.map +1 -1
  55. package/resources/ai/openai/index.d.mts +1 -1
  56. package/resources/ai/openai/index.d.mts.map +1 -1
  57. package/resources/ai/openai/index.d.ts +1 -1
  58. package/resources/ai/openai/index.d.ts.map +1 -1
  59. package/resources/ai/openai/index.js.map +1 -1
  60. package/resources/ai/openai/index.mjs +1 -1
  61. package/resources/ai/openai/index.mjs.map +1 -1
  62. package/resources/ai/openai/openai.d.mts +2 -2
  63. package/resources/ai/openai/openai.d.mts.map +1 -1
  64. package/resources/ai/openai/openai.d.ts +2 -2
  65. package/resources/ai/openai/openai.d.ts.map +1 -1
  66. package/resources/ai/openai/openai.js.map +1 -1
  67. package/resources/ai/openai/openai.mjs.map +1 -1
  68. package/resources/ai/typesafe/index.d.mts +3 -0
  69. package/resources/ai/typesafe/index.d.mts.map +1 -0
  70. package/resources/ai/typesafe/index.d.ts +3 -0
  71. package/resources/ai/typesafe/index.d.ts.map +1 -0
  72. package/resources/ai/typesafe/index.js +9 -0
  73. package/resources/ai/typesafe/index.js.map +1 -0
  74. package/resources/ai/typesafe/index.mjs +4 -0
  75. package/resources/ai/typesafe/index.mjs.map +1 -0
  76. package/resources/ai/typesafe/typesafe.d.mts +10 -0
  77. package/resources/ai/typesafe/typesafe.d.mts.map +1 -0
  78. package/resources/ai/typesafe/typesafe.d.ts +10 -0
  79. package/resources/ai/typesafe/typesafe.d.ts.map +1 -0
  80. package/resources/ai/typesafe/typesafe.js +17 -0
  81. package/resources/ai/typesafe/typesafe.js.map +1 -0
  82. package/resources/ai/typesafe/typesafe.mjs +12 -0
  83. package/resources/ai/typesafe/typesafe.mjs.map +1 -0
  84. package/resources/ai/typesafe/v1.d.mts +274 -0
  85. package/resources/ai/typesafe/v1.d.mts.map +1 -0
  86. package/resources/ai/typesafe/v1.d.ts +274 -0
  87. package/resources/ai/typesafe/v1.d.ts.map +1 -0
  88. package/resources/ai/typesafe/v1.js +67 -0
  89. package/resources/ai/typesafe/v1.js.map +1 -0
  90. package/resources/ai/typesafe/v1.mjs +63 -0
  91. package/resources/ai/typesafe/v1.mjs.map +1 -0
  92. package/resources/ai/typesafe.d.mts +2 -0
  93. package/resources/ai/typesafe.d.mts.map +1 -0
  94. package/resources/ai/typesafe.d.ts +2 -0
  95. package/resources/ai/typesafe.d.ts.map +1 -0
  96. package/resources/ai/typesafe.js +6 -0
  97. package/resources/ai/typesafe.js.map +1 -0
  98. package/resources/ai/typesafe.mjs +3 -0
  99. package/resources/ai/typesafe.mjs.map +1 -0
  100. package/resources/bot-challenge.d.mts +80 -0
  101. package/resources/bot-challenge.d.mts.map +1 -0
  102. package/resources/bot-challenge.d.ts +80 -0
  103. package/resources/bot-challenge.d.ts.map +1 -0
  104. package/resources/bot-challenge.js +35 -0
  105. package/resources/bot-challenge.js.map +1 -0
  106. package/resources/bot-challenge.mjs +31 -0
  107. package/resources/bot-challenge.mjs.map +1 -0
  108. package/resources/bot-sessions.d.mts +49 -0
  109. package/resources/bot-sessions.d.mts.map +1 -0
  110. package/resources/bot-sessions.d.ts +49 -0
  111. package/resources/bot-sessions.d.ts.map +1 -0
  112. package/resources/bot-sessions.js +28 -0
  113. package/resources/bot-sessions.js.map +1 -0
  114. package/resources/bot-sessions.mjs +24 -0
  115. package/resources/bot-sessions.mjs.map +1 -0
  116. package/resources/bot-signup.d.mts +114 -0
  117. package/resources/bot-signup.d.mts.map +1 -0
  118. package/resources/bot-signup.d.ts +114 -0
  119. package/resources/bot-signup.d.ts.map +1 -0
  120. package/resources/bot-signup.js +63 -0
  121. package/resources/bot-signup.js.map +1 -0
  122. package/resources/bot-signup.mjs +59 -0
  123. package/resources/bot-signup.mjs.map +1 -0
  124. package/resources/calls/actions.d.mts +57 -11
  125. package/resources/calls/actions.d.mts.map +1 -1
  126. package/resources/calls/actions.d.ts +57 -11
  127. package/resources/calls/actions.d.ts.map +1 -1
  128. package/resources/calls/calls.d.mts +45 -5
  129. package/resources/calls/calls.d.mts.map +1 -1
  130. package/resources/calls/calls.d.ts +45 -5
  131. package/resources/calls/calls.d.ts.map +1 -1
  132. package/resources/calls/calls.js.map +1 -1
  133. package/resources/calls/calls.mjs.map +1 -1
  134. package/resources/compute/compute.d.mts +2 -2
  135. package/resources/compute/compute.d.mts.map +1 -1
  136. package/resources/compute/compute.d.ts +2 -2
  137. package/resources/compute/compute.d.ts.map +1 -1
  138. package/resources/compute/compute.js +2 -2
  139. package/resources/compute/compute.js.map +1 -1
  140. package/resources/compute/compute.mjs +2 -2
  141. package/resources/compute/compute.mjs.map +1 -1
  142. package/resources/compute/funcs/export.d.mts +121 -0
  143. package/resources/compute/funcs/export.d.mts.map +1 -0
  144. package/resources/compute/funcs/export.d.ts +121 -0
  145. package/resources/compute/funcs/export.d.ts.map +1 -0
  146. package/resources/compute/funcs/export.js +68 -0
  147. package/resources/compute/funcs/export.js.map +1 -0
  148. package/resources/compute/funcs/export.mjs +64 -0
  149. package/resources/compute/funcs/export.mjs.map +1 -0
  150. package/resources/compute/funcs/funcs.d.mts +214 -0
  151. package/resources/compute/funcs/funcs.d.mts.map +1 -0
  152. package/resources/compute/funcs/funcs.d.ts +214 -0
  153. package/resources/compute/funcs/funcs.d.ts.map +1 -0
  154. package/resources/compute/funcs/funcs.js +80 -0
  155. package/resources/compute/funcs/funcs.js.map +1 -0
  156. package/resources/compute/funcs/funcs.mjs +75 -0
  157. package/resources/compute/funcs/funcs.mjs.map +1 -0
  158. package/resources/compute/funcs/index.d.mts +3 -0
  159. package/resources/compute/funcs/index.d.mts.map +1 -0
  160. package/resources/compute/funcs/index.d.ts +3 -0
  161. package/resources/compute/funcs/index.d.ts.map +1 -0
  162. package/resources/compute/funcs/index.js +9 -0
  163. package/resources/compute/funcs/index.js.map +1 -0
  164. package/resources/compute/funcs/index.mjs +4 -0
  165. package/resources/compute/funcs/index.mjs.map +1 -0
  166. package/resources/compute/funcs.d.mts +1 -178
  167. package/resources/compute/funcs.d.mts.map +1 -1
  168. package/resources/compute/funcs.d.ts +1 -178
  169. package/resources/compute/funcs.d.ts.map +1 -1
  170. package/resources/compute/funcs.js +2 -37
  171. package/resources/compute/funcs.js.map +1 -1
  172. package/resources/compute/funcs.mjs +1 -35
  173. package/resources/compute/funcs.mjs.map +1 -1
  174. package/resources/compute/index.d.mts +1 -1
  175. package/resources/compute/index.d.mts.map +1 -1
  176. package/resources/compute/index.d.ts +1 -1
  177. package/resources/compute/index.d.ts.map +1 -1
  178. package/resources/compute/index.js +2 -2
  179. package/resources/compute/index.js.map +1 -1
  180. package/resources/compute/index.mjs +1 -1
  181. package/resources/compute/index.mjs.map +1 -1
  182. package/resources/connections.d.mts +109 -1
  183. package/resources/connections.d.mts.map +1 -1
  184. package/resources/connections.d.ts +109 -1
  185. package/resources/connections.d.ts.map +1 -1
  186. package/resources/connections.js +8 -0
  187. package/resources/connections.js.map +1 -1
  188. package/resources/connections.mjs +8 -0
  189. package/resources/connections.mjs.map +1 -1
  190. package/resources/detail-records.d.mts +18 -1
  191. package/resources/detail-records.d.mts.map +1 -1
  192. package/resources/detail-records.d.ts +18 -1
  193. package/resources/detail-records.d.ts.map +1 -1
  194. package/resources/email-messages/email-messages.d.mts +5 -3
  195. package/resources/email-messages/email-messages.d.mts.map +1 -1
  196. package/resources/email-messages/email-messages.d.ts +5 -3
  197. package/resources/email-messages/email-messages.d.ts.map +1 -1
  198. package/resources/email-messages/email-messages.js +5 -3
  199. package/resources/email-messages/email-messages.js.map +1 -1
  200. package/resources/email-messages/email-messages.mjs +5 -3
  201. package/resources/email-messages/email-messages.mjs.map +1 -1
  202. package/resources/index.d.mts +7 -2
  203. package/resources/index.d.mts.map +1 -1
  204. package/resources/index.d.ts +7 -2
  205. package/resources/index.d.ts.map +1 -1
  206. package/resources/index.js +14 -4
  207. package/resources/index.js.map +1 -1
  208. package/resources/index.mjs +5 -0
  209. package/resources/index.mjs.map +1 -1
  210. package/resources/machine-payments.d.mts +142 -0
  211. package/resources/machine-payments.d.mts.map +1 -0
  212. package/resources/machine-payments.d.ts +142 -0
  213. package/resources/machine-payments.d.ts.map +1 -0
  214. package/resources/machine-payments.js +56 -0
  215. package/resources/machine-payments.js.map +1 -0
  216. package/resources/machine-payments.mjs +52 -0
  217. package/resources/machine-payments.mjs.map +1 -0
  218. package/resources/messages/messages.d.mts +135 -23
  219. package/resources/messages/messages.d.mts.map +1 -1
  220. package/resources/messages/messages.d.ts +135 -23
  221. package/resources/messages/messages.d.ts.map +1 -1
  222. package/resources/messages/messages.js.map +1 -1
  223. package/resources/messages/messages.mjs.map +1 -1
  224. package/resources/noise-suppression-engines.d.mts +42 -0
  225. package/resources/noise-suppression-engines.d.mts.map +1 -0
  226. package/resources/noise-suppression-engines.d.ts +42 -0
  227. package/resources/noise-suppression-engines.d.ts.map +1 -0
  228. package/resources/noise-suppression-engines.js +21 -0
  229. package/resources/noise-suppression-engines.js.map +1 -0
  230. package/resources/noise-suppression-engines.mjs +17 -0
  231. package/resources/noise-suppression-engines.mjs.map +1 -0
  232. package/resources/speech-to-text/speech-to-text.d.mts +1 -1
  233. package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
  234. package/resources/speech-to-text/speech-to-text.d.ts +1 -1
  235. package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
  236. package/resources/texml/accounts/calls/calls.d.mts +117 -0
  237. package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
  238. package/resources/texml/accounts/calls/calls.d.ts +117 -0
  239. package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
  240. package/resources/texml/accounts/calls/calls.js.map +1 -1
  241. package/resources/texml/accounts/calls/calls.mjs.map +1 -1
  242. package/resources/texml/accounts/conferences/participants.d.mts +39 -0
  243. package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
  244. package/resources/texml/accounts/conferences/participants.d.ts +39 -0
  245. package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
  246. package/resources/texml/calls.d.mts +71 -0
  247. package/resources/texml/calls.d.mts.map +1 -0
  248. package/resources/texml/calls.d.ts +71 -0
  249. package/resources/texml/calls.d.ts.map +1 -0
  250. package/resources/texml/calls.js +33 -0
  251. package/resources/texml/calls.js.map +1 -0
  252. package/resources/texml/calls.mjs +29 -0
  253. package/resources/texml/calls.mjs.map +1 -0
  254. package/resources/texml/index.d.mts +1 -0
  255. package/resources/texml/index.d.mts.map +1 -1
  256. package/resources/texml/index.d.ts +1 -0
  257. package/resources/texml/index.d.ts.map +1 -1
  258. package/resources/texml/index.js +3 -1
  259. package/resources/texml/index.js.map +1 -1
  260. package/resources/texml/index.mjs +1 -0
  261. package/resources/texml/index.mjs.map +1 -1
  262. package/resources/texml/texml.d.mts +43 -0
  263. package/resources/texml/texml.d.mts.map +1 -1
  264. package/resources/texml/texml.d.ts +43 -0
  265. package/resources/texml/texml.d.ts.map +1 -1
  266. package/resources/texml/texml.js +4 -0
  267. package/resources/texml/texml.js.map +1 -1
  268. package/resources/texml/texml.mjs +4 -0
  269. package/resources/texml/texml.mjs.map +1 -1
  270. package/resources/voice-clones.d.mts +6 -4
  271. package/resources/voice-clones.d.mts.map +1 -1
  272. package/resources/voice-clones.d.ts +6 -4
  273. package/resources/voice-clones.d.ts.map +1 -1
  274. package/resources/voice-clones.js +4 -2
  275. package/resources/voice-clones.js.map +1 -1
  276. package/resources/voice-clones.mjs +4 -2
  277. package/resources/voice-clones.mjs.map +1 -1
  278. package/resources/webhooks.d.mts +26 -49
  279. package/resources/webhooks.d.mts.map +1 -1
  280. package/resources/webhooks.d.ts +26 -49
  281. package/resources/webhooks.d.ts.map +1 -1
  282. package/src/client.ts +80 -0
  283. package/src/resources/ai/ai.ts +13 -1
  284. package/src/resources/ai/assistants/assistants.ts +281 -45
  285. package/src/resources/ai/assistants/versions.ts +34 -12
  286. package/src/resources/ai/audio.ts +93 -45
  287. package/src/resources/ai/chat.ts +2 -11
  288. package/src/resources/ai/index.ts +7 -1
  289. package/src/resources/ai/openai/chat.ts +11 -11
  290. package/src/resources/ai/openai/index.ts +6 -1
  291. package/src/resources/ai/openai/openai.ts +2 -1
  292. package/src/resources/ai/typesafe/index.ts +4 -0
  293. package/src/resources/ai/typesafe/typesafe.ts +19 -0
  294. package/src/resources/ai/typesafe/v1.ts +298 -0
  295. package/src/resources/ai/typesafe.ts +3 -0
  296. package/src/resources/bot-challenge.ts +101 -0
  297. package/src/resources/bot-sessions.ts +61 -0
  298. package/src/resources/bot-signup.ts +140 -0
  299. package/src/resources/calls/actions.ts +65 -10
  300. package/src/resources/calls/calls.ts +52 -5
  301. package/src/resources/compute/compute.ts +2 -2
  302. package/src/resources/compute/funcs/export.ts +156 -0
  303. package/src/resources/compute/funcs/funcs.ts +341 -0
  304. package/src/resources/compute/funcs/index.ts +15 -0
  305. package/src/resources/compute/funcs.ts +1 -296
  306. package/src/resources/compute/index.ts +1 -1
  307. package/src/resources/connections.ts +133 -0
  308. package/src/resources/detail-records.ts +18 -1
  309. package/src/resources/email-messages/email-messages.ts +5 -3
  310. package/src/resources/index.ts +23 -0
  311. package/src/resources/machine-payments.ts +169 -0
  312. package/src/resources/messages/messages.ts +168 -23
  313. package/src/resources/noise-suppression-engines.ts +51 -0
  314. package/src/resources/speech-to-text/speech-to-text.ts +1 -0
  315. package/src/resources/texml/accounts/calls/calls.ts +138 -0
  316. package/src/resources/texml/accounts/conferences/participants.ts +46 -0
  317. package/src/resources/texml/calls.ts +90 -0
  318. package/src/resources/texml/index.ts +1 -0
  319. package/src/resources/texml/texml.ts +56 -0
  320. package/src/resources/voice-clones.ts +6 -4
  321. package/src/resources/webhooks.ts +31 -58
  322. package/src/version.ts +1 -1
  323. package/version.d.mts +1 -1
  324. package/version.d.ts +1 -1
  325. package/version.js +1 -1
  326. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,EAAE,GAQH,oBAAgB;AACjB,OAAO,EACL,eAAe,GAOhB,gCAA4B;AAC7B,OAAO,EACL,cAAc,GAKf,+BAA2B;AAC5B,OAAO,EAAE,OAAO,EAAsB,8BAA0B;AAChE,OAAO,EACL,SAAS,GAQV,kCAA8B;AAC/B,OAAO,EACL,cAAc,GAMf,8BAA0B;AAC3B,OAAO,EACL,qBAAqB,GAStB,sCAAkC;AACnC,OAAO,EACL,WAAW,GAIZ,2BAAuB;AACxB,OAAO,EACL,uBAAuB,GAYxB,uCAAmC;AACpC,OAAO,EACL,0BAA0B,GAG3B,4CAAwC;AACzC,OAAO,EACL,qBAAqB,GAGtB,sCAAkC;AACnC,OAAO,EAAE,OAAO,EAAgC,sBAAkB;AAClE,OAAO,EACL,aAAa,GAUd,6BAAyB;AAC1B,OAAO,EACL,kBAAkB,GAMnB,oCAAgC;AACjC,OAAO,EAAE,aAAa,EAAE,4CAAwC;AAChE,OAAO,EACL,uBAAuB,GAYxB,wCAAoC;AACrC,OAAO,EACL,UAAU,GAIX,0BAAsB;AACvB,OAAO,EACL,WAAW,GAOZ,2BAAuB;AACxB,OAAO,EACL,KAAK,GAiBN,0BAAsB;AACvB,OAAO,EACL,YAAY,GAKb,4BAAwB;AACzB,OAAO,EACL,gBAAgB,GAGjB,gCAA4B;AAC7B,OAAO,EACL,cAAc,GAIf,8BAA0B;AAC3B,OAAO,EACL,QAAQ,GAQT,uBAAmB;AACpB,O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BAAqB;AACtB,OAAO,EAAE,QAAQ,EAAE,gCAA4B;AAC/C,OAAO,EACL,wBAAwB,GAIzB,yCAAqC;AACtC,OAAO,EACL,mBAAmB,GASpB,mCAA+B;AAChC,OAAO,EACL,cAAc,GAYf,8BAA0B;AAC3B,OAAO,EACL,QAAQ,GAGT,gCAA4B;AAC7B,OAAO,EACL,uBAAuB,GAGxB,wCAAoC;AACrC,OAAO,EACL,kBAAkB,GAUnB,kCAA8B;AAC/B,OAAO,EAAE,IAAI,EAAE,wBAAoB"}
@@ -0,0 +1,142 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ /**
5
+ * Machine payment (MPP) account-credit operations. Fund your Telnyx account programmatically from a machine or agent using the Machine Payment Protocol, an HTTP-402 flow settled via Stripe or Tempo.
6
+ */
7
+ export declare class MachinePayments extends APIResource {
8
+ /**
9
+ * Creates an account credit using the Machine Payment Protocol (MPP), an HTTP-402
10
+ * payment flow for machines and agents.
11
+ *
12
+ * The flow has two steps. First, send an authenticated request with the
13
+ * `amount_usd` to credit; the response is `402 Payment Required` with one or more
14
+ * payment challenges (for example separate Tempo and Stripe challenges) in the
15
+ * `WWW-Authenticate` header. Second, retry the request with an
16
+ * `Authorization: Payment ...` credential constructed from the challenge; on
17
+ * success the response includes the credited transaction and a `Payment-Receipt`
18
+ * header.
19
+ *
20
+ * The credited account is never chosen by the request body: the initial request
21
+ * credits the account of the authenticated user, and a paid retry credits the
22
+ * account bound to the verified payment credential. The amount must be within the
23
+ * configured bounds (by default between 5.00 and 500.00 USD).
24
+ *
25
+ * Successful paid retries are idempotent — when Rails reaches its
26
+ * duplicate-transaction lookup for an already-recorded payment, it returns the
27
+ * existing transaction with `created: false` instead of crediting the account
28
+ * again. This deduplication applies to successful fulfillment: re-sending the same
29
+ * Stripe credential may instead be rejected by the upstream provider as an
30
+ * idempotent replay and return `402 Payment Required` rather than the existing
31
+ * transaction.
32
+ *
33
+ * > **Warning: the payment credential is bound to a specific Telnyx account ID.**
34
+ * > A payment is captured before the bound account is validated. If the credential
35
+ * > names an account that is missing, suspended, blocked, cancelled, dormant, or
36
+ * > ineligible for the tier, the payment is captured but **no account is
37
+ * > credited**. If the credential names a different but eligible account, that
38
+ * > account is credited — the service does not compare it against the payer's
39
+ * > account. There is **no automatic refund**: if the captured payment does not
40
+ * > credit the intended account, contact Telnyx support for remediation.
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * const response = await client.machinePayments.accountCredit(
45
+ * { amount_usd: '10.00' },
46
+ * );
47
+ * ```
48
+ */
49
+ accountCredit(body: MachinePaymentAccountCreditParams, options?: RequestOptions): APIPromise<MachinePaymentAccountCreditResponse>;
50
+ }
51
+ export interface MachinePaymentAccountCreditResponse {
52
+ /**
53
+ * An account-credit transaction settled through the Machine Payment Protocol.
54
+ */
55
+ data?: MachinePaymentAccountCreditResponse.Data;
56
+ }
57
+ export declare namespace MachinePaymentAccountCreditResponse {
58
+ /**
59
+ * An account-credit transaction settled through the Machine Payment Protocol.
60
+ */
61
+ interface Data {
62
+ /**
63
+ * Unique identifier of the account-credit transaction.
64
+ */
65
+ id: string;
66
+ /**
67
+ * Identifier of the credited Telnyx account. Derived from the authenticated user
68
+ * on the initial request and from the verified payment credential on a paid retry
69
+ * — never from the request body.
70
+ */
71
+ account_id: string;
72
+ /**
73
+ * Credited amount as a decimal string with two fractional digits.
74
+ */
75
+ amount: string;
76
+ /**
77
+ * ISO 4217 currency code of the credited amount (currently always USD).
78
+ */
79
+ currency: string;
80
+ /**
81
+ * Payment source identifier distinguishing machine payments from other
82
+ * account-credit sources.
83
+ */
84
+ payment_source: 'machine_payment';
85
+ /**
86
+ * Record type identifier.
87
+ */
88
+ record_type: 'machine_payment_account_credit';
89
+ /**
90
+ * True when this response created a new account credit, false when an existing
91
+ * transaction was returned for a duplicate paid retry.
92
+ */
93
+ created?: boolean;
94
+ /**
95
+ * ISO 8601 timestamp when the transaction was created.
96
+ */
97
+ created_at?: string;
98
+ /**
99
+ * Machine Payment Protocol resource identifier the payment credential was bound
100
+ * to.
101
+ */
102
+ mpp_resource?: string | null;
103
+ /**
104
+ * Stripe PaymentIntent identifier for Stripe settlements. Absent for Tempo
105
+ * settlements.
106
+ */
107
+ payment_intent_id?: string | null;
108
+ /**
109
+ * Payment method used by the provider: `stripe_spt` for Stripe Shared Payment
110
+ * Token payments, `tempo_usdc` for Tempo USDC payments.
111
+ */
112
+ payment_method?: 'stripe_spt' | 'tempo_usdc' | null;
113
+ /**
114
+ * Upstream payment provider that settled the payment.
115
+ */
116
+ provider?: 'stripe' | 'tempo' | null;
117
+ /**
118
+ * Provider receipt reference: the Stripe PaymentIntent identifier for Stripe
119
+ * settlements, or the on-chain transaction hash for Tempo settlements.
120
+ */
121
+ receipt_reference?: string | null;
122
+ /**
123
+ * Status of the transaction. Successful machine payment credits are recorded as
124
+ * `settled`.
125
+ */
126
+ status?: 'new' | 'processing' | 'settled' | 'expired' | 'invalid' | null;
127
+ }
128
+ }
129
+ export interface MachinePaymentAccountCreditParams {
130
+ /**
131
+ * Amount to credit in USD, as a decimal string with up to two fractional digits
132
+ * (by default between 5.00 and 500.00). The request body is required on the
133
+ * initial challenge request and remains required on a paid retry, where you
134
+ * re-send the identical body plus the payment credential — the credential, not the
135
+ * body, selects the payment, and the retried body is not re-validated.
136
+ */
137
+ amount_usd: string;
138
+ }
139
+ export declare namespace MachinePayments {
140
+ export { type MachinePaymentAccountCreditResponse as MachinePaymentAccountCreditResponse, type MachinePaymentAccountCreditParams as MachinePaymentAccountCreditParams, };
141
+ }
142
+ //# sourceMappingURL=machine-payments.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machine-payments.d.mts","sourceRoot":"","sources":["../src/resources/machine-payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,c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AiC;IAChD;;;;;;OAMG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;CACH"}
@@ -0,0 +1,142 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
4
+ /**
5
+ * Machine payment (MPP) account-credit operations. Fund your Telnyx account programmatically from a machine or agent using the Machine Payment Protocol, an HTTP-402 flow settled via Stripe or Tempo.
6
+ */
7
+ export declare class MachinePayments extends APIResource {
8
+ /**
9
+ * Creates an account credit using the Machine Payment Protocol (MPP), an HTTP-402
10
+ * payment flow for machines and agents.
11
+ *
12
+ * The flow has two steps. First, send an authenticated request with the
13
+ * `amount_usd` to credit; the response is `402 Payment Required` with one or more
14
+ * payment challenges (for example separate Tempo and Stripe challenges) in the
15
+ * `WWW-Authenticate` header. Second, retry the request with an
16
+ * `Authorization: Payment ...` credential constructed from the challenge; on
17
+ * success the response includes the credited transaction and a `Payment-Receipt`
18
+ * header.
19
+ *
20
+ * The credited account is never chosen by the request body: the initial request
21
+ * credits the account of the authenticated user, and a paid retry credits the
22
+ * account bound to the verified payment credential. The amount must be within the
23
+ * configured bounds (by default between 5.00 and 500.00 USD).
24
+ *
25
+ * Successful paid retries are idempotent — when Rails reaches its
26
+ * duplicate-transaction lookup for an already-recorded payment, it returns the
27
+ * existing transaction with `created: false` instead of crediting the account
28
+ * again. This deduplication applies to successful fulfillment: re-sending the same
29
+ * Stripe credential may instead be rejected by the upstream provider as an
30
+ * idempotent replay and return `402 Payment Required` rather than the existing
31
+ * transaction.
32
+ *
33
+ * > **Warning: the payment credential is bound to a specific Telnyx account ID.**
34
+ * > A payment is captured before the bound account is validated. If the credential
35
+ * > names an account that is missing, suspended, blocked, cancelled, dormant, or
36
+ * > ineligible for the tier, the payment is captured but **no account is
37
+ * > credited**. If the credential names a different but eligible account, that
38
+ * > account is credited — the service does not compare it against the payer's
39
+ * > account. There is **no automatic refund**: if the captured payment does not
40
+ * > credit the intended account, contact Telnyx support for remediation.
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * const response = await client.machinePayments.accountCredit(
45
+ * { amount_usd: '10.00' },
46
+ * );
47
+ * ```
48
+ */
49
+ accountCredit(body: MachinePaymentAccountCreditParams, options?: RequestOptions): APIPromise<MachinePaymentAccountCreditResponse>;
50
+ }
51
+ export interface MachinePaymentAccountCreditResponse {
52
+ /**
53
+ * An account-credit transaction settled through the Machine Payment Protocol.
54
+ */
55
+ data?: MachinePaymentAccountCreditResponse.Data;
56
+ }
57
+ export declare namespace MachinePaymentAccountCreditResponse {
58
+ /**
59
+ * An account-credit transaction settled through the Machine Payment Protocol.
60
+ */
61
+ interface Data {
62
+ /**
63
+ * Unique identifier of the account-credit transaction.
64
+ */
65
+ id: string;
66
+ /**
67
+ * Identifier of the credited Telnyx account. Derived from the authenticated user
68
+ * on the initial request and from the verified payment credential on a paid retry
69
+ * — never from the request body.
70
+ */
71
+ account_id: string;
72
+ /**
73
+ * Credited amount as a decimal string with two fractional digits.
74
+ */
75
+ amount: string;
76
+ /**
77
+ * ISO 4217 currency code of the credited amount (currently always USD).
78
+ */
79
+ currency: string;
80
+ /**
81
+ * Payment source identifier distinguishing machine payments from other
82
+ * account-credit sources.
83
+ */
84
+ payment_source: 'machine_payment';
85
+ /**
86
+ * Record type identifier.
87
+ */
88
+ record_type: 'machine_payment_account_credit';
89
+ /**
90
+ * True when this response created a new account credit, false when an existing
91
+ * transaction was returned for a duplicate paid retry.
92
+ */
93
+ created?: boolean;
94
+ /**
95
+ * ISO 8601 timestamp when the transaction was created.
96
+ */
97
+ created_at?: string;
98
+ /**
99
+ * Machine Payment Protocol resource identifier the payment credential was bound
100
+ * to.
101
+ */
102
+ mpp_resource?: string | null;
103
+ /**
104
+ * Stripe PaymentIntent identifier for Stripe settlements. Absent for Tempo
105
+ * settlements.
106
+ */
107
+ payment_intent_id?: string | null;
108
+ /**
109
+ * Payment method used by the provider: `stripe_spt` for Stripe Shared Payment
110
+ * Token payments, `tempo_usdc` for Tempo USDC payments.
111
+ */
112
+ payment_method?: 'stripe_spt' | 'tempo_usdc' | null;
113
+ /**
114
+ * Upstream payment provider that settled the payment.
115
+ */
116
+ provider?: 'stripe' | 'tempo' | null;
117
+ /**
118
+ * Provider receipt reference: the Stripe PaymentIntent identifier for Stripe
119
+ * settlements, or the on-chain transaction hash for Tempo settlements.
120
+ */
121
+ receipt_reference?: string | null;
122
+ /**
123
+ * Status of the transaction. Successful machine payment credits are recorded as
124
+ * `settled`.
125
+ */
126
+ status?: 'new' | 'processing' | 'settled' | 'expired' | 'invalid' | null;
127
+ }
128
+ }
129
+ export interface MachinePaymentAccountCreditParams {
130
+ /**
131
+ * Amount to credit in USD, as a decimal string with up to two fractional digits
132
+ * (by default between 5.00 and 500.00). The request body is required on the
133
+ * initial challenge request and remains required on a paid retry, where you
134
+ * re-send the identical body plus the payment credential — the credential, not the
135
+ * body, selects the payment, and the retried body is not re-validated.
136
+ */
137
+ amount_usd: string;
138
+ }
139
+ export declare namespace MachinePayments {
140
+ export { type MachinePaymentAccountCreditResponse as MachinePaymentAccountCreditResponse, type MachinePaymentAccountCreditParams as MachinePaymentAccountCreditParams, };
141
+ }
142
+ //# sourceMappingURL=machine-payments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machine-payments.d.ts","sourceRoot":"","sources":["../src/resources/machine-payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,aAAa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CAAmC,EAC/E,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;CACH"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MachinePayments = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ /**
7
+ * Machine payment (MPP) account-credit operations. Fund your Telnyx account programmatically from a machine or agent using the Machine Payment Protocol, an HTTP-402 flow settled via Stripe or Tempo.
8
+ */
9
+ class MachinePayments extends resource_1.APIResource {
10
+ /**
11
+ * Creates an account credit using the Machine Payment Protocol (MPP), an HTTP-402
12
+ * payment flow for machines and agents.
13
+ *
14
+ * The flow has two steps. First, send an authenticated request with the
15
+ * `amount_usd` to credit; the response is `402 Payment Required` with one or more
16
+ * payment challenges (for example separate Tempo and Stripe challenges) in the
17
+ * `WWW-Authenticate` header. Second, retry the request with an
18
+ * `Authorization: Payment ...` credential constructed from the challenge; on
19
+ * success the response includes the credited transaction and a `Payment-Receipt`
20
+ * header.
21
+ *
22
+ * The credited account is never chosen by the request body: the initial request
23
+ * credits the account of the authenticated user, and a paid retry credits the
24
+ * account bound to the verified payment credential. The amount must be within the
25
+ * configured bounds (by default between 5.00 and 500.00 USD).
26
+ *
27
+ * Successful paid retries are idempotent — when Rails reaches its
28
+ * duplicate-transaction lookup for an already-recorded payment, it returns the
29
+ * existing transaction with `created: false` instead of crediting the account
30
+ * again. This deduplication applies to successful fulfillment: re-sending the same
31
+ * Stripe credential may instead be rejected by the upstream provider as an
32
+ * idempotent replay and return `402 Payment Required` rather than the existing
33
+ * transaction.
34
+ *
35
+ * > **Warning: the payment credential is bound to a specific Telnyx account ID.**
36
+ * > A payment is captured before the bound account is validated. If the credential
37
+ * > names an account that is missing, suspended, blocked, cancelled, dormant, or
38
+ * > ineligible for the tier, the payment is captured but **no account is
39
+ * > credited**. If the credential names a different but eligible account, that
40
+ * > account is credited — the service does not compare it against the payer's
41
+ * > account. There is **no automatic refund**: if the captured payment does not
42
+ * > credit the intended account, contact Telnyx support for remediation.
43
+ *
44
+ * @example
45
+ * ```ts
46
+ * const response = await client.machinePayments.accountCredit(
47
+ * { amount_usd: '10.00' },
48
+ * );
49
+ * ```
50
+ */
51
+ accountCredit(body, options) {
52
+ return this._client.post('/machine-payments/account-credit', { body, ...options });
53
+ }
54
+ }
55
+ exports.MachinePayments = MachinePayments;
56
+ //# sourceMappingURL=machine-payments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machine-payments.js","sourceRoot":"","sources":["../src/resources/machine-payments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,aAAa,CACX,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAhDD,0CAgDC"}
@@ -0,0 +1,52 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ /**
4
+ * Machine payment (MPP) account-credit operations. Fund your Telnyx account programmatically from a machine or agent using the Machine Payment Protocol, an HTTP-402 flow settled via Stripe or Tempo.
5
+ */
6
+ export class MachinePayments extends APIResource {
7
+ /**
8
+ * Creates an account credit using the Machine Payment Protocol (MPP), an HTTP-402
9
+ * payment flow for machines and agents.
10
+ *
11
+ * The flow has two steps. First, send an authenticated request with the
12
+ * `amount_usd` to credit; the response is `402 Payment Required` with one or more
13
+ * payment challenges (for example separate Tempo and Stripe challenges) in the
14
+ * `WWW-Authenticate` header. Second, retry the request with an
15
+ * `Authorization: Payment ...` credential constructed from the challenge; on
16
+ * success the response includes the credited transaction and a `Payment-Receipt`
17
+ * header.
18
+ *
19
+ * The credited account is never chosen by the request body: the initial request
20
+ * credits the account of the authenticated user, and a paid retry credits the
21
+ * account bound to the verified payment credential. The amount must be within the
22
+ * configured bounds (by default between 5.00 and 500.00 USD).
23
+ *
24
+ * Successful paid retries are idempotent — when Rails reaches its
25
+ * duplicate-transaction lookup for an already-recorded payment, it returns the
26
+ * existing transaction with `created: false` instead of crediting the account
27
+ * again. This deduplication applies to successful fulfillment: re-sending the same
28
+ * Stripe credential may instead be rejected by the upstream provider as an
29
+ * idempotent replay and return `402 Payment Required` rather than the existing
30
+ * transaction.
31
+ *
32
+ * > **Warning: the payment credential is bound to a specific Telnyx account ID.**
33
+ * > A payment is captured before the bound account is validated. If the credential
34
+ * > names an account that is missing, suspended, blocked, cancelled, dormant, or
35
+ * > ineligible for the tier, the payment is captured but **no account is
36
+ * > credited**. If the credential names a different but eligible account, that
37
+ * > account is credited — the service does not compare it against the payer's
38
+ * > account. There is **no automatic refund**: if the captured payment does not
39
+ * > credit the intended account, contact Telnyx support for remediation.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * const response = await client.machinePayments.accountCredit(
44
+ * { amount_usd: '10.00' },
45
+ * );
46
+ * ```
47
+ */
48
+ accountCredit(body, options) {
49
+ return this._client.post('/machine-payments/account-credit', { body, ...options });
50
+ }
51
+ }
52
+ //# sourceMappingURL=machine-payments.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machine-payments.mjs","sourceRoot":"","sources":["../src/resources/machine-payments.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,aAAa,CACX,IAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF"}