increase 0.210.0 → 0.212.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 (552) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/package.json +1 -1
  3. package/resources/account-numbers.d.ts +30 -0
  4. package/resources/account-numbers.d.ts.map +1 -1
  5. package/resources/account-numbers.js +22 -0
  6. package/resources/account-numbers.js.map +1 -1
  7. package/resources/account-numbers.mjs +22 -0
  8. package/resources/account-numbers.mjs.map +1 -1
  9. package/resources/account-statements.d.ts +16 -0
  10. package/resources/account-statements.d.ts.map +1 -1
  11. package/resources/account-statements.js +8 -0
  12. package/resources/account-statements.js.map +1 -1
  13. package/resources/account-statements.mjs +8 -0
  14. package/resources/account-statements.mjs.map +1 -1
  15. package/resources/account-transfers.d.ts +43 -0
  16. package/resources/account-transfers.d.ts.map +1 -1
  17. package/resources/account-transfers.js +35 -0
  18. package/resources/account-transfers.js.map +1 -1
  19. package/resources/account-transfers.mjs +35 -0
  20. package/resources/account-transfers.mjs.map +1 -1
  21. package/resources/accounts.d.ts +43 -0
  22. package/resources/accounts.d.ts.map +1 -1
  23. package/resources/accounts.js +28 -0
  24. package/resources/accounts.js.map +1 -1
  25. package/resources/accounts.mjs +28 -0
  26. package/resources/accounts.mjs.map +1 -1
  27. package/resources/ach-prenotifications.d.ts +26 -0
  28. package/resources/ach-prenotifications.d.ts.map +1 -1
  29. package/resources/ach-prenotifications.js +18 -0
  30. package/resources/ach-prenotifications.js.map +1 -1
  31. package/resources/ach-prenotifications.mjs +18 -0
  32. package/resources/ach-prenotifications.mjs.map +1 -1
  33. package/resources/ach-transfers.d.ts +38 -0
  34. package/resources/ach-transfers.d.ts.map +1 -1
  35. package/resources/ach-transfers.js +30 -0
  36. package/resources/ach-transfers.js.map +1 -1
  37. package/resources/ach-transfers.mjs +30 -0
  38. package/resources/ach-transfers.mjs.map +1 -1
  39. package/resources/bookkeeping-accounts.d.ts +33 -0
  40. package/resources/bookkeeping-accounts.d.ts.map +1 -1
  41. package/resources/bookkeeping-accounts.js +17 -0
  42. package/resources/bookkeeping-accounts.js.map +1 -1
  43. package/resources/bookkeeping-accounts.mjs +17 -0
  44. package/resources/bookkeeping-accounts.mjs.map +1 -1
  45. package/resources/bookkeeping-entries.d.ts +16 -0
  46. package/resources/bookkeeping-entries.d.ts.map +1 -1
  47. package/resources/bookkeeping-entries.js +8 -0
  48. package/resources/bookkeeping-entries.js.map +1 -1
  49. package/resources/bookkeeping-entries.mjs +8 -0
  50. package/resources/bookkeeping-entries.mjs.map +1 -1
  51. package/resources/bookkeeping-entry-sets.d.ts +35 -0
  52. package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
  53. package/resources/bookkeeping-entry-sets.js +27 -0
  54. package/resources/bookkeeping-entry-sets.js.map +1 -1
  55. package/resources/bookkeeping-entry-sets.mjs +27 -0
  56. package/resources/bookkeeping-entry-sets.mjs.map +1 -1
  57. package/resources/card-disputes.d.ts +24 -0
  58. package/resources/card-disputes.d.ts.map +1 -1
  59. package/resources/card-disputes.js +16 -0
  60. package/resources/card-disputes.js.map +1 -1
  61. package/resources/card-disputes.mjs +16 -0
  62. package/resources/card-disputes.mjs.map +1 -1
  63. package/resources/card-payments.d.ts +15 -0
  64. package/resources/card-payments.d.ts.map +1 -1
  65. package/resources/card-payments.js +7 -0
  66. package/resources/card-payments.js.map +1 -1
  67. package/resources/card-payments.mjs +7 -0
  68. package/resources/card-payments.mjs.map +1 -1
  69. package/resources/card-purchase-supplements.d.ts +16 -0
  70. package/resources/card-purchase-supplements.d.ts.map +1 -1
  71. package/resources/card-purchase-supplements.js +8 -0
  72. package/resources/card-purchase-supplements.js.map +1 -1
  73. package/resources/card-purchase-supplements.mjs +8 -0
  74. package/resources/card-purchase-supplements.mjs.map +1 -1
  75. package/resources/cards.d.ts +36 -0
  76. package/resources/cards.d.ts.map +1 -1
  77. package/resources/cards.js +28 -0
  78. package/resources/cards.js.map +1 -1
  79. package/resources/cards.mjs +28 -0
  80. package/resources/cards.mjs.map +1 -1
  81. package/resources/check-deposits.d.ts +25 -0
  82. package/resources/check-deposits.d.ts.map +1 -1
  83. package/resources/check-deposits.js +17 -0
  84. package/resources/check-deposits.js.map +1 -1
  85. package/resources/check-deposits.mjs +17 -0
  86. package/resources/check-deposits.mjs.map +1 -1
  87. package/resources/check-transfers.d.ts +48 -0
  88. package/resources/check-transfers.d.ts.map +1 -1
  89. package/resources/check-transfers.js +40 -0
  90. package/resources/check-transfers.js.map +1 -1
  91. package/resources/check-transfers.mjs +40 -0
  92. package/resources/check-transfers.mjs.map +1 -1
  93. package/resources/declined-transactions.d.ts +16 -0
  94. package/resources/declined-transactions.d.ts.map +1 -1
  95. package/resources/declined-transactions.js +8 -0
  96. package/resources/declined-transactions.js.map +1 -1
  97. package/resources/declined-transactions.mjs +8 -0
  98. package/resources/declined-transactions.mjs.map +1 -1
  99. package/resources/digital-card-profiles.d.ts +44 -0
  100. package/resources/digital-card-profiles.d.ts.map +1 -1
  101. package/resources/digital-card-profiles.js +36 -0
  102. package/resources/digital-card-profiles.js.map +1 -1
  103. package/resources/digital-card-profiles.mjs +36 -0
  104. package/resources/digital-card-profiles.mjs.map +1 -1
  105. package/resources/digital-wallet-tokens.d.ts +16 -0
  106. package/resources/digital-wallet-tokens.d.ts.map +1 -1
  107. package/resources/digital-wallet-tokens.js +8 -0
  108. package/resources/digital-wallet-tokens.js.map +1 -1
  109. package/resources/digital-wallet-tokens.mjs +8 -0
  110. package/resources/digital-wallet-tokens.mjs.map +1 -1
  111. package/resources/documents.d.ts +15 -0
  112. package/resources/documents.d.ts.map +1 -1
  113. package/resources/documents.js +7 -0
  114. package/resources/documents.js.map +1 -1
  115. package/resources/documents.mjs +7 -0
  116. package/resources/documents.mjs.map +1 -1
  117. package/resources/entities.d.ts +110 -0
  118. package/resources/entities.d.ts.map +1 -1
  119. package/resources/entities.js +102 -0
  120. package/resources/entities.js.map +1 -1
  121. package/resources/entities.mjs +102 -0
  122. package/resources/entities.mjs.map +1 -1
  123. package/resources/event-subscriptions.d.ts +32 -0
  124. package/resources/event-subscriptions.d.ts.map +1 -1
  125. package/resources/event-subscriptions.js +24 -0
  126. package/resources/event-subscriptions.js.map +1 -1
  127. package/resources/event-subscriptions.mjs +24 -0
  128. package/resources/event-subscriptions.mjs.map +1 -1
  129. package/resources/events.d.ts +15 -0
  130. package/resources/events.d.ts.map +1 -1
  131. package/resources/events.js +7 -0
  132. package/resources/events.js.map +1 -1
  133. package/resources/events.mjs +7 -0
  134. package/resources/events.mjs.map +1 -1
  135. package/resources/exports.d.ts +22 -0
  136. package/resources/exports.d.ts.map +1 -1
  137. package/resources/exports.js +14 -0
  138. package/resources/exports.js.map +1 -1
  139. package/resources/exports.mjs +14 -0
  140. package/resources/exports.mjs.map +1 -1
  141. package/resources/external-accounts.d.ts +34 -0
  142. package/resources/external-accounts.d.ts.map +1 -1
  143. package/resources/external-accounts.js +26 -0
  144. package/resources/external-accounts.js.map +1 -1
  145. package/resources/external-accounts.mjs +26 -0
  146. package/resources/external-accounts.mjs.map +1 -1
  147. package/resources/file-links.d.ts +7 -0
  148. package/resources/file-links.d.ts.map +1 -1
  149. package/resources/file-links.js +7 -0
  150. package/resources/file-links.js.map +1 -1
  151. package/resources/file-links.mjs +7 -0
  152. package/resources/file-links.mjs.map +1 -1
  153. package/resources/files.d.ts +23 -0
  154. package/resources/files.d.ts.map +1 -1
  155. package/resources/files.js +15 -0
  156. package/resources/files.js.map +1 -1
  157. package/resources/files.mjs +15 -0
  158. package/resources/files.mjs.map +1 -1
  159. package/resources/groups.d.ts +5 -0
  160. package/resources/groups.d.ts.map +1 -1
  161. package/resources/groups.js +5 -0
  162. package/resources/groups.js.map +1 -1
  163. package/resources/groups.mjs +5 -0
  164. package/resources/groups.mjs.map +1 -1
  165. package/resources/inbound-ach-transfers.d.ts +41 -0
  166. package/resources/inbound-ach-transfers.d.ts.map +1 -1
  167. package/resources/inbound-ach-transfers.js +33 -0
  168. package/resources/inbound-ach-transfers.js.map +1 -1
  169. package/resources/inbound-ach-transfers.mjs +33 -0
  170. package/resources/inbound-ach-transfers.mjs.map +1 -1
  171. package/resources/inbound-check-deposits.d.ts +33 -0
  172. package/resources/inbound-check-deposits.d.ts.map +1 -1
  173. package/resources/inbound-check-deposits.js +25 -0
  174. package/resources/inbound-check-deposits.js.map +1 -1
  175. package/resources/inbound-check-deposits.mjs +25 -0
  176. package/resources/inbound-check-deposits.mjs.map +1 -1
  177. package/resources/inbound-mail-items.d.ts +16 -0
  178. package/resources/inbound-mail-items.d.ts.map +1 -1
  179. package/resources/inbound-mail-items.js +8 -0
  180. package/resources/inbound-mail-items.js.map +1 -1
  181. package/resources/inbound-mail-items.mjs +8 -0
  182. package/resources/inbound-mail-items.mjs.map +1 -1
  183. package/resources/inbound-real-time-payments-transfers.d.ts +16 -0
  184. package/resources/inbound-real-time-payments-transfers.d.ts.map +1 -1
  185. package/resources/inbound-real-time-payments-transfers.js +8 -0
  186. package/resources/inbound-real-time-payments-transfers.js.map +1 -1
  187. package/resources/inbound-real-time-payments-transfers.mjs +8 -0
  188. package/resources/inbound-real-time-payments-transfers.mjs.map +1 -1
  189. package/resources/inbound-wire-drawdown-requests.d.ts +16 -0
  190. package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
  191. package/resources/inbound-wire-drawdown-requests.js +8 -0
  192. package/resources/inbound-wire-drawdown-requests.js.map +1 -1
  193. package/resources/inbound-wire-drawdown-requests.mjs +8 -0
  194. package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
  195. package/resources/inbound-wire-transfers.d.ts +25 -0
  196. package/resources/inbound-wire-transfers.d.ts.map +1 -1
  197. package/resources/inbound-wire-transfers.js +17 -0
  198. package/resources/inbound-wire-transfers.js.map +1 -1
  199. package/resources/inbound-wire-transfers.mjs +17 -0
  200. package/resources/inbound-wire-transfers.mjs.map +1 -1
  201. package/resources/intrafi-account-enrollments.d.ts +38 -5
  202. package/resources/intrafi-account-enrollments.d.ts.map +1 -1
  203. package/resources/intrafi-account-enrollments.js +25 -0
  204. package/resources/intrafi-account-enrollments.js.map +1 -1
  205. package/resources/intrafi-account-enrollments.mjs +25 -0
  206. package/resources/intrafi-account-enrollments.mjs.map +1 -1
  207. package/resources/intrafi-balances.d.ts +13 -3
  208. package/resources/intrafi-balances.d.ts.map +1 -1
  209. package/resources/intrafi-balances.js +11 -1
  210. package/resources/intrafi-balances.js.map +1 -1
  211. package/resources/intrafi-balances.mjs +11 -1
  212. package/resources/intrafi-balances.mjs.map +1 -1
  213. package/resources/intrafi-exclusions.d.ts +33 -0
  214. package/resources/intrafi-exclusions.d.ts.map +1 -1
  215. package/resources/intrafi-exclusions.js +25 -0
  216. package/resources/intrafi-exclusions.js.map +1 -1
  217. package/resources/intrafi-exclusions.mjs +25 -0
  218. package/resources/intrafi-exclusions.mjs.map +1 -1
  219. package/resources/lockboxes.d.ts +29 -0
  220. package/resources/lockboxes.d.ts.map +1 -1
  221. package/resources/lockboxes.js +21 -0
  222. package/resources/lockboxes.js.map +1 -1
  223. package/resources/lockboxes.mjs +21 -0
  224. package/resources/lockboxes.mjs.map +1 -1
  225. package/resources/oauth-applications.d.ts +16 -0
  226. package/resources/oauth-applications.d.ts.map +1 -1
  227. package/resources/oauth-applications.js +8 -0
  228. package/resources/oauth-applications.js.map +1 -1
  229. package/resources/oauth-applications.mjs +8 -0
  230. package/resources/oauth-applications.mjs.map +1 -1
  231. package/resources/oauth-connections.d.ts +16 -0
  232. package/resources/oauth-connections.d.ts.map +1 -1
  233. package/resources/oauth-connections.js +8 -0
  234. package/resources/oauth-connections.js.map +1 -1
  235. package/resources/oauth-connections.mjs +8 -0
  236. package/resources/oauth-connections.mjs.map +1 -1
  237. package/resources/oauth-tokens.d.ts +7 -0
  238. package/resources/oauth-tokens.d.ts.map +1 -1
  239. package/resources/oauth-tokens.js +7 -0
  240. package/resources/oauth-tokens.js.map +1 -1
  241. package/resources/oauth-tokens.mjs +7 -0
  242. package/resources/oauth-tokens.mjs.map +1 -1
  243. package/resources/pending-transactions.d.ts +16 -0
  244. package/resources/pending-transactions.d.ts.map +1 -1
  245. package/resources/pending-transactions.js +8 -0
  246. package/resources/pending-transactions.js.map +1 -1
  247. package/resources/pending-transactions.mjs +8 -0
  248. package/resources/pending-transactions.mjs.map +1 -1
  249. package/resources/physical-card-profiles.d.ts +44 -0
  250. package/resources/physical-card-profiles.d.ts.map +1 -1
  251. package/resources/physical-card-profiles.js +36 -0
  252. package/resources/physical-card-profiles.js.map +1 -1
  253. package/resources/physical-card-profiles.mjs +36 -0
  254. package/resources/physical-card-profiles.mjs.map +1 -1
  255. package/resources/physical-cards.d.ts +46 -0
  256. package/resources/physical-cards.d.ts.map +1 -1
  257. package/resources/physical-cards.js +33 -0
  258. package/resources/physical-cards.js.map +1 -1
  259. package/resources/physical-cards.mjs +33 -0
  260. package/resources/physical-cards.mjs.map +1 -1
  261. package/resources/programs.d.ts +15 -0
  262. package/resources/programs.d.ts.map +1 -1
  263. package/resources/programs.js +7 -0
  264. package/resources/programs.js.map +1 -1
  265. package/resources/programs.mjs +7 -0
  266. package/resources/programs.mjs.map +1 -1
  267. package/resources/real-time-decisions.d.ts +16 -0
  268. package/resources/real-time-decisions.d.ts.map +1 -1
  269. package/resources/real-time-decisions.js +16 -0
  270. package/resources/real-time-decisions.js.map +1 -1
  271. package/resources/real-time-decisions.mjs +16 -0
  272. package/resources/real-time-decisions.mjs.map +1 -1
  273. package/resources/real-time-payments-transfers.d.ts +28 -0
  274. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  275. package/resources/real-time-payments-transfers.js +20 -0
  276. package/resources/real-time-payments-transfers.js.map +1 -1
  277. package/resources/real-time-payments-transfers.mjs +20 -0
  278. package/resources/real-time-payments-transfers.mjs.map +1 -1
  279. package/resources/routing-numbers.d.ts +10 -0
  280. package/resources/routing-numbers.d.ts.map +1 -1
  281. package/resources/routing-numbers.js +10 -0
  282. package/resources/routing-numbers.js.map +1 -1
  283. package/resources/routing-numbers.mjs +10 -0
  284. package/resources/routing-numbers.mjs.map +1 -1
  285. package/resources/simulations/account-statements.d.ts +8 -0
  286. package/resources/simulations/account-statements.d.ts.map +1 -1
  287. package/resources/simulations/account-statements.js +8 -0
  288. package/resources/simulations/account-statements.js.map +1 -1
  289. package/resources/simulations/account-statements.mjs +8 -0
  290. package/resources/simulations/account-statements.mjs.map +1 -1
  291. package/resources/simulations/account-transfers.d.ts +8 -0
  292. package/resources/simulations/account-transfers.d.ts.map +1 -1
  293. package/resources/simulations/account-transfers.js +8 -0
  294. package/resources/simulations/account-transfers.js.map +1 -1
  295. package/resources/simulations/account-transfers.mjs +8 -0
  296. package/resources/simulations/account-transfers.mjs.map +1 -1
  297. package/resources/simulations/ach-transfers.d.ts +44 -0
  298. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  299. package/resources/simulations/ach-transfers.js +44 -0
  300. package/resources/simulations/ach-transfers.js.map +1 -1
  301. package/resources/simulations/ach-transfers.mjs +44 -0
  302. package/resources/simulations/ach-transfers.mjs.map +1 -1
  303. package/resources/simulations/card-authorization-expirations.d.ts +10 -0
  304. package/resources/simulations/card-authorization-expirations.d.ts.map +1 -1
  305. package/resources/simulations/card-authorization-expirations.js +10 -0
  306. package/resources/simulations/card-authorization-expirations.js.map +1 -1
  307. package/resources/simulations/card-authorization-expirations.mjs +10 -0
  308. package/resources/simulations/card-authorization-expirations.mjs.map +1 -1
  309. package/resources/simulations/card-authorizations.d.ts +8 -0
  310. package/resources/simulations/card-authorizations.d.ts.map +1 -1
  311. package/resources/simulations/card-authorizations.js +8 -0
  312. package/resources/simulations/card-authorizations.js.map +1 -1
  313. package/resources/simulations/card-authorizations.mjs +8 -0
  314. package/resources/simulations/card-authorizations.mjs.map +1 -1
  315. package/resources/simulations/card-disputes.d.ts +9 -0
  316. package/resources/simulations/card-disputes.d.ts.map +1 -1
  317. package/resources/simulations/card-disputes.js +9 -0
  318. package/resources/simulations/card-disputes.js.map +1 -1
  319. package/resources/simulations/card-disputes.mjs +9 -0
  320. package/resources/simulations/card-disputes.mjs.map +1 -1
  321. package/resources/simulations/card-fuel-confirmations.d.ts +9 -0
  322. package/resources/simulations/card-fuel-confirmations.d.ts.map +1 -1
  323. package/resources/simulations/card-fuel-confirmations.js +9 -0
  324. package/resources/simulations/card-fuel-confirmations.js.map +1 -1
  325. package/resources/simulations/card-fuel-confirmations.mjs +9 -0
  326. package/resources/simulations/card-fuel-confirmations.mjs.map +1 -1
  327. package/resources/simulations/card-increments.d.ts +9 -0
  328. package/resources/simulations/card-increments.d.ts.map +1 -1
  329. package/resources/simulations/card-increments.js +9 -0
  330. package/resources/simulations/card-increments.js.map +1 -1
  331. package/resources/simulations/card-increments.mjs +9 -0
  332. package/resources/simulations/card-increments.mjs.map +1 -1
  333. package/resources/simulations/card-refunds.d.ts +8 -0
  334. package/resources/simulations/card-refunds.d.ts.map +1 -1
  335. package/resources/simulations/card-refunds.js +8 -0
  336. package/resources/simulations/card-refunds.js.map +1 -1
  337. package/resources/simulations/card-refunds.mjs +8 -0
  338. package/resources/simulations/card-refunds.mjs.map +1 -1
  339. package/resources/simulations/card-reversals.d.ts +8 -0
  340. package/resources/simulations/card-reversals.d.ts.map +1 -1
  341. package/resources/simulations/card-reversals.js +8 -0
  342. package/resources/simulations/card-reversals.js.map +1 -1
  343. package/resources/simulations/card-reversals.mjs +8 -0
  344. package/resources/simulations/card-reversals.mjs.map +1 -1
  345. package/resources/simulations/card-settlements.d.ts +10 -0
  346. package/resources/simulations/card-settlements.d.ts.map +1 -1
  347. package/resources/simulations/card-settlements.js +10 -0
  348. package/resources/simulations/card-settlements.js.map +1 -1
  349. package/resources/simulations/card-settlements.mjs +10 -0
  350. package/resources/simulations/card-settlements.mjs.map +1 -1
  351. package/resources/simulations/check-deposits.d.ts +24 -0
  352. package/resources/simulations/check-deposits.d.ts.map +1 -1
  353. package/resources/simulations/check-deposits.js +24 -0
  354. package/resources/simulations/check-deposits.js.map +1 -1
  355. package/resources/simulations/check-deposits.mjs +24 -0
  356. package/resources/simulations/check-deposits.mjs.map +1 -1
  357. package/resources/simulations/check-transfers.d.ts +8 -0
  358. package/resources/simulations/check-transfers.d.ts.map +1 -1
  359. package/resources/simulations/check-transfers.js +8 -0
  360. package/resources/simulations/check-transfers.js.map +1 -1
  361. package/resources/simulations/check-transfers.mjs +8 -0
  362. package/resources/simulations/check-transfers.mjs.map +1 -1
  363. package/resources/simulations/digital-wallet-token-requests.d.ts +8 -0
  364. package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
  365. package/resources/simulations/digital-wallet-token-requests.js +8 -0
  366. package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
  367. package/resources/simulations/digital-wallet-token-requests.mjs +8 -0
  368. package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
  369. package/resources/simulations/documents.d.ts +7 -0
  370. package/resources/simulations/documents.d.ts.map +1 -1
  371. package/resources/simulations/documents.js +7 -0
  372. package/resources/simulations/documents.js.map +1 -1
  373. package/resources/simulations/documents.mjs +7 -0
  374. package/resources/simulations/documents.mjs.map +1 -1
  375. package/resources/simulations/inbound-ach-transfers.d.ts +10 -0
  376. package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -1
  377. package/resources/simulations/inbound-ach-transfers.js +10 -0
  378. package/resources/simulations/inbound-ach-transfers.js.map +1 -1
  379. package/resources/simulations/inbound-ach-transfers.mjs +10 -0
  380. package/resources/simulations/inbound-ach-transfers.mjs.map +1 -1
  381. package/resources/simulations/inbound-check-deposits.d.ts +11 -0
  382. package/resources/simulations/inbound-check-deposits.d.ts.map +1 -1
  383. package/resources/simulations/inbound-check-deposits.js +11 -0
  384. package/resources/simulations/inbound-check-deposits.js.map +1 -1
  385. package/resources/simulations/inbound-check-deposits.mjs +11 -0
  386. package/resources/simulations/inbound-check-deposits.mjs.map +1 -1
  387. package/resources/simulations/inbound-funds-holds.d.ts +8 -0
  388. package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
  389. package/resources/simulations/inbound-funds-holds.js +8 -0
  390. package/resources/simulations/inbound-funds-holds.js.map +1 -1
  391. package/resources/simulations/inbound-funds-holds.mjs +8 -0
  392. package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
  393. package/resources/simulations/inbound-mail-items.d.ts +9 -0
  394. package/resources/simulations/inbound-mail-items.d.ts.map +1 -1
  395. package/resources/simulations/inbound-mail-items.js +9 -0
  396. package/resources/simulations/inbound-mail-items.js.map +1 -1
  397. package/resources/simulations/inbound-mail-items.mjs +9 -0
  398. package/resources/simulations/inbound-mail-items.mjs.map +1 -1
  399. package/resources/simulations/inbound-real-time-payments-transfers.d.ts +12 -0
  400. package/resources/simulations/inbound-real-time-payments-transfers.d.ts.map +1 -1
  401. package/resources/simulations/inbound-real-time-payments-transfers.js +12 -0
  402. package/resources/simulations/inbound-real-time-payments-transfers.js.map +1 -1
  403. package/resources/simulations/inbound-real-time-payments-transfers.mjs +12 -0
  404. package/resources/simulations/inbound-real-time-payments-transfers.mjs.map +1 -1
  405. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +18 -0
  406. package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
  407. package/resources/simulations/inbound-wire-drawdown-requests.js +18 -0
  408. package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
  409. package/resources/simulations/inbound-wire-drawdown-requests.mjs +18 -0
  410. package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
  411. package/resources/simulations/inbound-wire-transfers.d.ts +10 -0
  412. package/resources/simulations/inbound-wire-transfers.d.ts.map +1 -1
  413. package/resources/simulations/inbound-wire-transfers.js +10 -0
  414. package/resources/simulations/inbound-wire-transfers.js.map +1 -1
  415. package/resources/simulations/inbound-wire-transfers.mjs +10 -0
  416. package/resources/simulations/inbound-wire-transfers.mjs.map +1 -1
  417. package/resources/simulations/interest-payments.d.ts +9 -0
  418. package/resources/simulations/interest-payments.d.ts.map +1 -1
  419. package/resources/simulations/interest-payments.js +9 -0
  420. package/resources/simulations/interest-payments.js.map +1 -1
  421. package/resources/simulations/interest-payments.mjs +9 -0
  422. package/resources/simulations/interest-payments.mjs.map +1 -1
  423. package/resources/simulations/physical-cards.d.ts +9 -0
  424. package/resources/simulations/physical-cards.d.ts.map +1 -1
  425. package/resources/simulations/physical-cards.js +9 -0
  426. package/resources/simulations/physical-cards.js.map +1 -1
  427. package/resources/simulations/physical-cards.mjs +9 -0
  428. package/resources/simulations/physical-cards.mjs.map +1 -1
  429. package/resources/simulations/programs.d.ts +7 -0
  430. package/resources/simulations/programs.d.ts.map +1 -1
  431. package/resources/simulations/programs.js +7 -0
  432. package/resources/simulations/programs.js.map +1 -1
  433. package/resources/simulations/programs.mjs +7 -0
  434. package/resources/simulations/programs.mjs.map +1 -1
  435. package/resources/simulations/real-time-payments-transfers.d.ts +8 -0
  436. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  437. package/resources/simulations/real-time-payments-transfers.js +8 -0
  438. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  439. package/resources/simulations/real-time-payments-transfers.mjs +8 -0
  440. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  441. package/resources/simulations/wire-transfers.d.ts +16 -0
  442. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  443. package/resources/simulations/wire-transfers.js +16 -0
  444. package/resources/simulations/wire-transfers.js.map +1 -1
  445. package/resources/simulations/wire-transfers.mjs +16 -0
  446. package/resources/simulations/wire-transfers.mjs.map +1 -1
  447. package/resources/supplemental-documents.d.ts +19 -0
  448. package/resources/supplemental-documents.d.ts.map +1 -1
  449. package/resources/supplemental-documents.js +19 -0
  450. package/resources/supplemental-documents.js.map +1 -1
  451. package/resources/supplemental-documents.mjs +19 -0
  452. package/resources/supplemental-documents.mjs.map +1 -1
  453. package/resources/transactions.d.ts +15 -0
  454. package/resources/transactions.d.ts.map +1 -1
  455. package/resources/transactions.js +7 -0
  456. package/resources/transactions.js.map +1 -1
  457. package/resources/transactions.mjs +7 -0
  458. package/resources/transactions.mjs.map +1 -1
  459. package/resources/wire-drawdown-requests.d.ts +30 -0
  460. package/resources/wire-drawdown-requests.d.ts.map +1 -1
  461. package/resources/wire-drawdown-requests.js +22 -0
  462. package/resources/wire-drawdown-requests.js.map +1 -1
  463. package/resources/wire-drawdown-requests.mjs +22 -0
  464. package/resources/wire-drawdown-requests.mjs.map +1 -1
  465. package/resources/wire-transfers.d.ts +39 -0
  466. package/resources/wire-transfers.d.ts.map +1 -1
  467. package/resources/wire-transfers.js +31 -0
  468. package/resources/wire-transfers.js.map +1 -1
  469. package/resources/wire-transfers.mjs +31 -0
  470. package/resources/wire-transfers.mjs.map +1 -1
  471. package/src/resources/account-numbers.ts +30 -0
  472. package/src/resources/account-statements.ts +16 -0
  473. package/src/resources/account-transfers.ts +43 -0
  474. package/src/resources/accounts.ts +43 -0
  475. package/src/resources/ach-prenotifications.ts +26 -0
  476. package/src/resources/ach-transfers.ts +38 -0
  477. package/src/resources/bookkeeping-accounts.ts +33 -0
  478. package/src/resources/bookkeeping-entries.ts +16 -0
  479. package/src/resources/bookkeeping-entry-sets.ts +35 -0
  480. package/src/resources/card-disputes.ts +24 -0
  481. package/src/resources/card-payments.ts +15 -0
  482. package/src/resources/card-purchase-supplements.ts +16 -0
  483. package/src/resources/cards.ts +36 -0
  484. package/src/resources/check-deposits.ts +25 -0
  485. package/src/resources/check-transfers.ts +48 -0
  486. package/src/resources/declined-transactions.ts +16 -0
  487. package/src/resources/digital-card-profiles.ts +44 -0
  488. package/src/resources/digital-wallet-tokens.ts +16 -0
  489. package/src/resources/documents.ts +15 -0
  490. package/src/resources/entities.ts +110 -0
  491. package/src/resources/event-subscriptions.ts +32 -0
  492. package/src/resources/events.ts +15 -0
  493. package/src/resources/exports.ts +22 -0
  494. package/src/resources/external-accounts.ts +34 -0
  495. package/src/resources/file-links.ts +7 -0
  496. package/src/resources/files.ts +23 -0
  497. package/src/resources/groups.ts +5 -0
  498. package/src/resources/inbound-ach-transfers.ts +41 -0
  499. package/src/resources/inbound-check-deposits.ts +33 -0
  500. package/src/resources/inbound-mail-items.ts +16 -0
  501. package/src/resources/inbound-real-time-payments-transfers.ts +16 -0
  502. package/src/resources/inbound-wire-drawdown-requests.ts +16 -0
  503. package/src/resources/inbound-wire-transfers.ts +25 -0
  504. package/src/resources/intrafi-account-enrollments.ts +38 -5
  505. package/src/resources/intrafi-balances.ts +13 -3
  506. package/src/resources/intrafi-exclusions.ts +33 -0
  507. package/src/resources/lockboxes.ts +29 -0
  508. package/src/resources/oauth-applications.ts +16 -0
  509. package/src/resources/oauth-connections.ts +16 -0
  510. package/src/resources/oauth-tokens.ts +7 -0
  511. package/src/resources/pending-transactions.ts +16 -0
  512. package/src/resources/physical-card-profiles.ts +44 -0
  513. package/src/resources/physical-cards.ts +47 -0
  514. package/src/resources/programs.ts +15 -0
  515. package/src/resources/real-time-decisions.ts +16 -0
  516. package/src/resources/real-time-payments-transfers.ts +28 -0
  517. package/src/resources/routing-numbers.ts +10 -0
  518. package/src/resources/simulations/account-statements.ts +8 -0
  519. package/src/resources/simulations/account-transfers.ts +8 -0
  520. package/src/resources/simulations/ach-transfers.ts +44 -0
  521. package/src/resources/simulations/card-authorization-expirations.ts +10 -0
  522. package/src/resources/simulations/card-authorizations.ts +8 -0
  523. package/src/resources/simulations/card-disputes.ts +9 -0
  524. package/src/resources/simulations/card-fuel-confirmations.ts +9 -0
  525. package/src/resources/simulations/card-increments.ts +9 -0
  526. package/src/resources/simulations/card-refunds.ts +8 -0
  527. package/src/resources/simulations/card-reversals.ts +8 -0
  528. package/src/resources/simulations/card-settlements.ts +10 -0
  529. package/src/resources/simulations/check-deposits.ts +24 -0
  530. package/src/resources/simulations/check-transfers.ts +8 -0
  531. package/src/resources/simulations/digital-wallet-token-requests.ts +8 -0
  532. package/src/resources/simulations/documents.ts +7 -0
  533. package/src/resources/simulations/inbound-ach-transfers.ts +10 -0
  534. package/src/resources/simulations/inbound-check-deposits.ts +11 -0
  535. package/src/resources/simulations/inbound-funds-holds.ts +8 -0
  536. package/src/resources/simulations/inbound-mail-items.ts +9 -0
  537. package/src/resources/simulations/inbound-real-time-payments-transfers.ts +12 -0
  538. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +18 -0
  539. package/src/resources/simulations/inbound-wire-transfers.ts +10 -0
  540. package/src/resources/simulations/interest-payments.ts +9 -0
  541. package/src/resources/simulations/physical-cards.ts +9 -0
  542. package/src/resources/simulations/programs.ts +7 -0
  543. package/src/resources/simulations/real-time-payments-transfers.ts +8 -0
  544. package/src/resources/simulations/wire-transfers.ts +16 -0
  545. package/src/resources/supplemental-documents.ts +19 -0
  546. package/src/resources/transactions.ts +15 -0
  547. package/src/resources/wire-drawdown-requests.ts +30 -0
  548. package/src/resources/wire-transfers.ts +39 -0
  549. package/src/version.ts +1 -1
  550. package/version.d.ts +1 -1
  551. package/version.js +1 -1
  552. package/version.mjs +1 -1
@@ -8,6 +8,14 @@ export class ACHTransfers extends APIResource {
8
8
  * within 30 minutes. Since sandbox ACH Transfers are not submitted to the Federal
9
9
  * Reserve, this endpoint allows you to skip that delay and add the acknowledgment
10
10
  * subresource to the ACH Transfer.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const achTransfer =
15
+ * await client.simulations.achTransfers.acknowledge(
16
+ * 'ach_transfer_uoxatyh3lt5evrsdvo7q',
17
+ * );
18
+ * ```
11
19
  */
12
20
  acknowledge(achTransferId, options) {
13
21
  return this._client.post(`/simulations/ach_transfers/${achTransferId}/acknowledge`, options);
@@ -15,6 +23,18 @@ export class ACHTransfers extends APIResource {
15
23
  /**
16
24
  * Simulates receiving a Notification of Change for an
17
25
  * [ACH Transfer](#ach-transfers).
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * const achTransfer =
30
+ * await client.simulations.achTransfers.createNotificationOfChange(
31
+ * 'ach_transfer_uoxatyh3lt5evrsdvo7q',
32
+ * {
33
+ * change_code: 'incorrect_routing_number',
34
+ * corrected_data: '123456789',
35
+ * },
36
+ * );
37
+ * ```
18
38
  */
19
39
  createNotificationOfChange(achTransferId, body, options) {
20
40
  return this._client.post(`/simulations/ach_transfers/${achTransferId}/create_notification_of_change`, {
@@ -26,6 +46,14 @@ export class ACHTransfers extends APIResource {
26
46
  * Simulates the return of an [ACH Transfer](#ach-transfers) by the Federal Reserve
27
47
  * due to an error condition. This will also create a Transaction to account for
28
48
  * the returned funds. This transfer must first have a `status` of `submitted`.
49
+ *
50
+ * @example
51
+ * ```ts
52
+ * const achTransfer =
53
+ * await client.simulations.achTransfers.return(
54
+ * 'ach_transfer_uoxatyh3lt5evrsdvo7q',
55
+ * );
56
+ * ```
29
57
  */
30
58
  return(achTransferId, body, options) {
31
59
  return this._client.post(`/simulations/ach_transfers/${achTransferId}/return`, { body, ...options });
@@ -37,6 +65,14 @@ export class ACHTransfers extends APIResource {
37
65
  * `pending_submission`, the simulation will also submit the transfer. Without this
38
66
  * simulation the transfer will eventually settle on its own following the same
39
67
  * Federal Reserve timeline as in production.
68
+ *
69
+ * @example
70
+ * ```ts
71
+ * const achTransfer =
72
+ * await client.simulations.achTransfers.settle(
73
+ * 'ach_transfer_uoxatyh3lt5evrsdvo7q',
74
+ * );
75
+ * ```
40
76
  */
41
77
  settle(achTransferId, options) {
42
78
  return this._client.post(`/simulations/ach_transfers/${achTransferId}/settle`, options);
@@ -48,6 +84,14 @@ export class ACHTransfers extends APIResource {
48
84
  * Federal Reserve three times per day on weekdays. Since sandbox ACH Transfers are
49
85
  * not submitted to the Federal Reserve, this endpoint allows you to skip that
50
86
  * delay and transition the ACH Transfer to a status of `submitted`.
87
+ *
88
+ * @example
89
+ * ```ts
90
+ * const achTransfer =
91
+ * await client.simulations.achTransfers.submit(
92
+ * 'ach_transfer_uoxatyh3lt5evrsdvo7q',
93
+ * );
94
+ * ```
51
95
  */
52
96
  submit(achTransferId, options) {
53
97
  return this._client.post(`/simulations/ach_transfers/${achTransferId}/submit`, options);
@@ -1 +1 @@
1
- {"version":3,"file":"ach-transfers.mjs","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;OAOG;IACH,WAAW,CACT,aAAqB,EACrB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,cAAc,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;IAED;;;OAGG;IACH,0BAA0B,CACxB,aAAqB,EACrB,IAAiD,EACjD,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,gCAAgC,EAAE;YACpG,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,aAAqB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,aAAqB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF"}
1
+ {"version":3,"file":"ach-transfers.mjs","sourceRoot":"","sources":["../../src/resources/simulations/ach-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;;OAeG;IACH,WAAW,CACT,aAAqB,EACrB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,cAAc,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,0BAA0B,CACxB,aAAqB,EACrB,IAAiD,EACjD,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,gCAAgC,EAAE;YACpG,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,aAAqB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,aAAqB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF"}
@@ -4,6 +4,16 @@ import * as CardPaymentsAPI from "../card-payments.js";
4
4
  export declare class CardAuthorizationExpirations extends APIResource {
5
5
  /**
6
6
  * Simulates expiring a Card Authorization immediately.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const cardPayment =
11
+ * await client.simulations.cardAuthorizationExpirations.create(
12
+ * {
13
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
14
+ * },
15
+ * );
16
+ * ```
7
17
  */
8
18
  create(body: CardAuthorizationExpirationCreateParams, options?: Core.RequestOptions): Core.APIPromise<CardPaymentsAPI.CardPayment>;
9
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"card-authorization-expirations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,4BAA6B,SAAQ,WAAW;IAC3D;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,4BAA4B,CAAC;IACpD,OAAO,EAAE,KAAK,uCAAuC,IAAI,uCAAuC,EAAE,CAAC;CACpG"}
1
+ {"version":3,"file":"card-authorization-expirations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,4BAA6B,SAAQ,WAAW;IAC3D;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,4BAA4B,CAAC;IACpD,OAAO,EAAE,KAAK,uCAAuC,IAAI,uCAAuC,EAAE,CAAC;CACpG"}
@@ -6,6 +6,16 @@ const resource_1 = require("../../resource.js");
6
6
  class CardAuthorizationExpirations extends resource_1.APIResource {
7
7
  /**
8
8
  * Simulates expiring a Card Authorization immediately.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const cardPayment =
13
+ * await client.simulations.cardAuthorizationExpirations.create(
14
+ * {
15
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
16
+ * },
17
+ * );
18
+ * ```
9
19
  */
10
20
  create(body, options) {
11
21
  return this._client.post('/simulations/card_authorization_expirations', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-authorization-expirations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,4BAA6B,SAAQ,sBAAW;IAC3D;;OAEG;IACH,MAAM,CACJ,IAA6C,EAC7C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AAVD,oEAUC"}
1
+ {"version":3,"file":"card-authorization-expirations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,4BAA6B,SAAQ,sBAAW;IAC3D;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAA6C,EAC7C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AApBD,oEAoBC"}
@@ -3,6 +3,16 @@ import { APIResource } from "../../resource.mjs";
3
3
  export class CardAuthorizationExpirations extends APIResource {
4
4
  /**
5
5
  * Simulates expiring a Card Authorization immediately.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * const cardPayment =
10
+ * await client.simulations.cardAuthorizationExpirations.create(
11
+ * {
12
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
13
+ * },
14
+ * );
15
+ * ```
6
16
  */
7
17
  create(body, options) {
8
18
  return this._client.post('/simulations/card_authorization_expirations', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-authorization-expirations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,4BAA6B,SAAQ,WAAW;IAC3D;;OAEG;IACH,MAAM,CACJ,IAA6C,EAC7C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF"}
1
+ {"version":3,"file":"card-authorization-expirations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-authorization-expirations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,4BAA6B,SAAQ,WAAW;IAC3D;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAA6C,EAC7C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF"}
@@ -11,6 +11,14 @@ export declare class CardAuthorizations extends APIResource {
11
11
  * `card_decline`. You can pass either a Card id or a
12
12
  * [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
13
13
  * ways purchases can be made.
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * const cardAuthorization =
18
+ * await client.simulations.cardAuthorizations.create({
19
+ * amount: 1000,
20
+ * });
21
+ * ```
14
22
  */
15
23
  create(body: CardAuthorizationCreateParams, options?: Core.RequestOptions): Core.APIPromise<CardAuthorizationCreateResponse>;
16
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"card-authorizations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,uBAAuB,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,sBAAsB,MAAM,yBAAyB,CAAC;AAElE,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGpD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;;;OAIG;IACH,oBAAoB,EAAE,uBAAuB,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAEzE;;;;OAIG;IACH,mBAAmB,EAAE,sBAAsB,CAAC,kBAAkB,GAAG,IAAI,CAAC;IAEtE;;;OAGG;IACH,IAAI,EAAE,8CAA8C,CAAC;CACtD;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC;IAEvC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,cAAc,CAAC,EACX,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,GACf,0BAA0B,GAC1B,mBAAmB,GACnB,cAAc,GACd,oBAAoB,GACpB,eAAe,GACf,0BAA0B,GAC1B,yBAAyB,GACzB,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,iCAAiC,GACjC,uBAAuB,GACvB,gCAAgC,GAChC,2BAA2B,GAC3B,iBAAiB,CAAC;IAEtB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAC;IAEpC;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,eAAe,CAAC,EAAE,6BAA6B,CAAC,cAAc,CAAC;IAE/D;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,yBAAiB,6BAA6B,CAAC;IAC7C;;OAEG;IACH,UAAiB,cAAc;QAC7B;;WAEG;QACH,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;KAC3B;IAED,UAAiB,cAAc,CAAC;QAC9B;;WAEG;QACH,UAAiB,IAAI;YACnB;;;;;;;;;;;;;;;;;;;;eAoBG;YACH,0BAA0B,CAAC,EACvB,cAAc,GACd,uBAAuB,GACvB,sDAAsD,GACtD,qBAAqB,GACrB,+DAA+D,GAC/D,yCAAyC,GACzC,OAAO,CAAC;SACb;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
1
+ {"version":3,"file":"card-authorizations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,uBAAuB,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,sBAAsB,MAAM,yBAAyB,CAAC;AAElE,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGpD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;;;OAIG;IACH,oBAAoB,EAAE,uBAAuB,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAEzE;;;;OAIG;IACH,mBAAmB,EAAE,sBAAsB,CAAC,kBAAkB,GAAG,IAAI,CAAC;IAEtE;;;OAGG;IACH,IAAI,EAAE,8CAA8C,CAAC;CACtD;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC;IAEvC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,cAAc,CAAC,EACX,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,GACf,0BAA0B,GAC1B,mBAAmB,GACnB,cAAc,GACd,oBAAoB,GACpB,eAAe,GACf,0BAA0B,GAC1B,yBAAyB,GACzB,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,iCAAiC,GACjC,uBAAuB,GACvB,gCAAgC,GAChC,2BAA2B,GAC3B,iBAAiB,CAAC;IAEtB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAC;IAEpC;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,eAAe,CAAC,EAAE,6BAA6B,CAAC,cAAc,CAAC;IAE/D;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,yBAAiB,6BAA6B,CAAC;IAC7C;;OAEG;IACH,UAAiB,cAAc;QAC7B;;WAEG;QACH,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;KAC3B;IAED,UAAiB,cAAc,CAAC;QAC9B;;WAEG;QACH,UAAiB,IAAI;YACnB;;;;;;;;;;;;;;;;;;;;eAoBG;YACH,0BAA0B,CAAC,EACvB,cAAc,GACd,uBAAuB,GACvB,sDAAsD,GACtD,qBAAqB,GACrB,+DAA+D,GAC/D,yCAAyC,GACzC,OAAO,CAAC;SACb;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -12,6 +12,14 @@ class CardAuthorizations extends resource_1.APIResource {
12
12
  * `card_decline`. You can pass either a Card id or a
13
13
  * [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
14
14
  * ways purchases can be made.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * const cardAuthorization =
19
+ * await client.simulations.cardAuthorizations.create({
20
+ * amount: 1000,
21
+ * });
22
+ * ```
15
23
  */
16
24
  create(body, options) {
17
25
  return this._client.post('/simulations/card_authorizations', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-authorizations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAK7C,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAhBD,gDAgBC"}
1
+ {"version":3,"file":"card-authorizations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAK7C,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAxBD,gDAwBC"}
@@ -9,6 +9,14 @@ export class CardAuthorizations extends APIResource {
9
9
  * `card_decline`. You can pass either a Card id or a
10
10
  * [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
11
11
  * ways purchases can be made.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const cardAuthorization =
16
+ * await client.simulations.cardAuthorizations.create({
17
+ * amount: 1000,
18
+ * });
19
+ * ```
12
20
  */
13
21
  create(body, options) {
14
22
  return this._client.post('/simulations/card_authorizations', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-authorizations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF"}
1
+ {"version":3,"file":"card-authorizations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF"}
@@ -7,6 +7,15 @@ export declare class CardDisputes extends APIResource {
7
7
  * will be reviewed. Since no review happens in sandbox, this endpoint simulates
8
8
  * moving a Card Dispute into a rejected or accepted state. A Card Dispute can only
9
9
  * be actioned one time and must have a status of `pending_reviewing`.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const cardDispute =
14
+ * await client.simulations.cardDisputes.action(
15
+ * 'card_dispute_h9sc95nbl1cgltpp7men',
16
+ * { status: 'rejected' },
17
+ * );
18
+ * ```
10
19
  */
11
20
  action(cardDisputeId: string, body: CardDisputeActionParams, options?: Core.RequestOptions): Core.APIPromise<CardDisputesAPI.CardDispute>;
12
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"card-disputes.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-disputes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;OAKG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;;;;;OAYG;IACH,MAAM,EAAE,0BAA0B,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC;IAE9E;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
1
+ {"version":3,"file":"card-disputes.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-disputes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;;;;;OAYG;IACH,MAAM,EAAE,0BAA0B,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC;IAE9E;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
@@ -9,6 +9,15 @@ class CardDisputes extends resource_1.APIResource {
9
9
  * will be reviewed. Since no review happens in sandbox, this endpoint simulates
10
10
  * moving a Card Dispute into a rejected or accepted state. A Card Dispute can only
11
11
  * be actioned one time and must have a status of `pending_reviewing`.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const cardDispute =
16
+ * await client.simulations.cardDisputes.action(
17
+ * 'card_dispute_h9sc95nbl1cgltpp7men',
18
+ * { status: 'rejected' },
19
+ * );
20
+ * ```
12
21
  */
13
22
  action(cardDisputeId, body, options) {
14
23
  return this._client.post(`/simulations/card_disputes/${cardDisputeId}/action`, { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-disputes.js","sourceRoot":"","sources":["../../src/resources/simulations/card-disputes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;OAKG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;CACF;AAdD,oCAcC"}
1
+ {"version":3,"file":"card-disputes.js","sourceRoot":"","sources":["../../src/resources/simulations/card-disputes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;CACF;AAvBD,oCAuBC"}
@@ -6,6 +6,15 @@ export class CardDisputes extends APIResource {
6
6
  * will be reviewed. Since no review happens in sandbox, this endpoint simulates
7
7
  * moving a Card Dispute into a rejected or accepted state. A Card Dispute can only
8
8
  * be actioned one time and must have a status of `pending_reviewing`.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const cardDispute =
13
+ * await client.simulations.cardDisputes.action(
14
+ * 'card_dispute_h9sc95nbl1cgltpp7men',
15
+ * { status: 'rejected' },
16
+ * );
17
+ * ```
9
18
  */
10
19
  action(cardDisputeId, body, options) {
11
20
  return this._client.post(`/simulations/card_disputes/${cardDisputeId}/action`, { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-disputes.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-disputes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;OAKG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;CACF"}
1
+ {"version":3,"file":"card-disputes.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-disputes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;CACF"}
@@ -6,6 +6,15 @@ export declare class CardFuelConfirmations extends APIResource {
6
6
  * Simulates the fuel confirmation of an authorization by a card acquirer. This
7
7
  * happens asynchronously right after a fuel pump transaction is completed. A fuel
8
8
  * confirmation can only happen once per authorization.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const cardPayment =
13
+ * await client.simulations.cardFuelConfirmations.create({
14
+ * amount: 5000,
15
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
16
+ * });
17
+ * ```
9
18
  */
10
19
  create(body: CardFuelConfirmationCreateParams, options?: Core.RequestOptions): Core.APIPromise<CardPaymentsAPI.CardPayment>;
11
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"card-fuel-confirmations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-fuel-confirmations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;OAIG;IACH,MAAM,CACJ,IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,gCAAgC;IAC/C;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EAAE,KAAK,gCAAgC,IAAI,gCAAgC,EAAE,CAAC;CACtF"}
1
+ {"version":3,"file":"card-fuel-confirmations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-fuel-confirmations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,gCAAgC;IAC/C;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EAAE,KAAK,gCAAgC,IAAI,gCAAgC,EAAE,CAAC;CACtF"}
@@ -8,6 +8,15 @@ class CardFuelConfirmations extends resource_1.APIResource {
8
8
  * Simulates the fuel confirmation of an authorization by a card acquirer. This
9
9
  * happens asynchronously right after a fuel pump transaction is completed. A fuel
10
10
  * confirmation can only happen once per authorization.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const cardPayment =
15
+ * await client.simulations.cardFuelConfirmations.create({
16
+ * amount: 5000,
17
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
18
+ * });
19
+ * ```
11
20
  */
12
21
  create(body, options) {
13
22
  return this._client.post('/simulations/card_fuel_confirmations', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-fuel-confirmations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-fuel-confirmations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,qBAAsB,SAAQ,sBAAW;IACpD;;;;OAIG;IACH,MAAM,CACJ,IAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AAZD,sDAYC"}
1
+ {"version":3,"file":"card-fuel-confirmations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-fuel-confirmations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,qBAAsB,SAAQ,sBAAW;IACpD;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AArBD,sDAqBC"}
@@ -5,6 +5,15 @@ export class CardFuelConfirmations extends APIResource {
5
5
  * Simulates the fuel confirmation of an authorization by a card acquirer. This
6
6
  * happens asynchronously right after a fuel pump transaction is completed. A fuel
7
7
  * confirmation can only happen once per authorization.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const cardPayment =
12
+ * await client.simulations.cardFuelConfirmations.create({
13
+ * amount: 5000,
14
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
15
+ * });
16
+ * ```
8
17
  */
9
18
  create(body, options) {
10
19
  return this._client.post('/simulations/card_fuel_confirmations', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-fuel-confirmations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-fuel-confirmations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD;;;;OAIG;IACH,MAAM,CACJ,IAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF"}
1
+ {"version":3,"file":"card-fuel-confirmations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-fuel-confirmations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF"}
@@ -5,6 +5,15 @@ export declare class CardIncrements extends APIResource {
5
5
  /**
6
6
  * Simulates the increment of an authorization by a card acquirer. An authorization
7
7
  * can be incremented multiple times.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const cardPayment =
12
+ * await client.simulations.cardIncrements.create({
13
+ * amount: 500,
14
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
15
+ * });
16
+ * ```
8
17
  */
9
18
  create(body: CardIncrementCreateParams, options?: Core.RequestOptions): Core.APIPromise<CardPaymentsAPI.CardPayment>;
10
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"card-increments.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-increments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,yBAAyB,EAC/B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EAAE,KAAK,yBAAyB,IAAI,yBAAyB,EAAE,CAAC;CACxE"}
1
+ {"version":3,"file":"card-increments.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-increments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,yBAAyB,EAC/B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EAAE,KAAK,yBAAyB,IAAI,yBAAyB,EAAE,CAAC;CACxE"}
@@ -7,6 +7,15 @@ class CardIncrements extends resource_1.APIResource {
7
7
  /**
8
8
  * Simulates the increment of an authorization by a card acquirer. An authorization
9
9
  * can be incremented multiple times.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const cardPayment =
14
+ * await client.simulations.cardIncrements.create({
15
+ * amount: 500,
16
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
17
+ * });
18
+ * ```
10
19
  */
11
20
  create(body, options) {
12
21
  return this._client.post('/simulations/card_increments', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-increments.js","sourceRoot":"","sources":["../../src/resources/simulations/card-increments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;OAGG;IACH,MAAM,CACJ,IAA+B,EAC/B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AAXD,wCAWC"}
1
+ {"version":3,"file":"card-increments.js","sourceRoot":"","sources":["../../src/resources/simulations/card-increments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAA+B,EAC/B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AApBD,wCAoBC"}
@@ -4,6 +4,15 @@ export class CardIncrements extends APIResource {
4
4
  /**
5
5
  * Simulates the increment of an authorization by a card acquirer. An authorization
6
6
  * can be incremented multiple times.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const cardPayment =
11
+ * await client.simulations.cardIncrements.create({
12
+ * amount: 500,
13
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
14
+ * });
15
+ * ```
7
16
  */
8
17
  create(body, options) {
9
18
  return this._client.post('/simulations/card_increments', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-increments.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-increments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;OAGG;IACH,MAAM,CACJ,IAA+B,EAC/B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
1
+ {"version":3,"file":"card-increments.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-increments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAA+B,EAC/B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
@@ -5,6 +5,14 @@ export declare class CardRefunds extends APIResource {
5
5
  /**
6
6
  * Simulates refunding a card transaction. The full value of the original sandbox
7
7
  * transaction is refunded.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const transaction =
12
+ * await client.simulations.cardRefunds.create({
13
+ * transaction_id: 'transaction_uyrp7fld2ium70oa7oi',
14
+ * });
15
+ * ```
8
16
  */
9
17
  create(body: CardRefundCreateParams, options?: Core.RequestOptions): Core.APIPromise<TransactionsAPI.Transaction>;
10
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"card-refunds.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AAEnD,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EAAE,KAAK,sBAAsB,IAAI,sBAAsB,EAAE,CAAC;CAClE"}
1
+ {"version":3,"file":"card-refunds.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AAEnD,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EAAE,KAAK,sBAAsB,IAAI,sBAAsB,EAAE,CAAC;CAClE"}
@@ -7,6 +7,14 @@ class CardRefunds extends resource_1.APIResource {
7
7
  /**
8
8
  * Simulates refunding a card transaction. The full value of the original sandbox
9
9
  * transaction is refunded.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const transaction =
14
+ * await client.simulations.cardRefunds.create({
15
+ * transaction_id: 'transaction_uyrp7fld2ium70oa7oi',
16
+ * });
17
+ * ```
10
18
  */
11
19
  create(body, options) {
12
20
  return this._client.post('/simulations/card_refunds', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-refunds.js","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;OAGG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAXD,kCAWC"}
1
+ {"version":3,"file":"card-refunds.js","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAnBD,kCAmBC"}
@@ -4,6 +4,14 @@ export class CardRefunds extends APIResource {
4
4
  /**
5
5
  * Simulates refunding a card transaction. The full value of the original sandbox
6
6
  * transaction is refunded.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const transaction =
11
+ * await client.simulations.cardRefunds.create({
12
+ * transaction_id: 'transaction_uyrp7fld2ium70oa7oi',
13
+ * });
14
+ * ```
7
15
  */
8
16
  create(body, options) {
9
17
  return this._client.post('/simulations/card_refunds', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-refunds.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;OAGG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF"}
1
+ {"version":3,"file":"card-refunds.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF"}
@@ -7,6 +7,14 @@ export declare class CardReversals extends APIResource {
7
7
  * can be partially reversed multiple times, up until the total authorized amount.
8
8
  * Marks the pending transaction as complete if the authorization is fully
9
9
  * reversed.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const cardPayment =
14
+ * await client.simulations.cardReversals.create({
15
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
16
+ * });
17
+ * ```
10
18
  */
11
19
  create(body: CardReversalCreateParams, options?: Core.RequestOptions): Core.APIPromise<CardPaymentsAPI.CardPayment>;
12
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"card-reversals.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-reversals.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,KAAK,wBAAwB,IAAI,wBAAwB,EAAE,CAAC;CACtE"}
1
+ {"version":3,"file":"card-reversals.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-reversals.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,kBAAkB,CAAC;AAEpD,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,KAAK,wBAAwB,IAAI,wBAAwB,EAAE,CAAC;CACtE"}
@@ -9,6 +9,14 @@ class CardReversals extends resource_1.APIResource {
9
9
  * can be partially reversed multiple times, up until the total authorized amount.
10
10
  * Marks the pending transaction as complete if the authorization is fully
11
11
  * reversed.
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const cardPayment =
16
+ * await client.simulations.cardReversals.create({
17
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
18
+ * });
19
+ * ```
12
20
  */
13
21
  create(body, options) {
14
22
  return this._client.post('/simulations/card_reversals', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-reversals.js","sourceRoot":"","sources":["../../src/resources/simulations/card-reversals.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;OAKG;IACH,MAAM,CACJ,IAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AAbD,sCAaC"}
1
+ {"version":3,"file":"card-reversals.js","sourceRoot":"","sources":["../../src/resources/simulations/card-reversals.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AArBD,sCAqBC"}
@@ -6,6 +6,14 @@ export class CardReversals extends APIResource {
6
6
  * can be partially reversed multiple times, up until the total authorized amount.
7
7
  * Marks the pending transaction as complete if the authorization is fully
8
8
  * reversed.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const cardPayment =
13
+ * await client.simulations.cardReversals.create({
14
+ * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave',
15
+ * });
16
+ * ```
9
17
  */
10
18
  create(body, options) {
11
19
  return this._client.post('/simulations/card_reversals', { body, ...options });
@@ -1 +1 @@
1
- {"version":3,"file":"card-reversals.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-reversals.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,MAAM,CACJ,IAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
1
+ {"version":3,"file":"card-reversals.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-reversals.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAA8B,EAC9B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
@@ -8,6 +8,16 @@ export declare class CardSettlements extends APIResource {
8
8
  * simulates that event, which may occur many days after the purchase in
9
9
  * production. The amount settled can be different from the amount originally
10
10
  * authorized, for example, when adding a tip to a restaurant bill.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const transaction =
15
+ * await client.simulations.cardSettlements.create({
16
+ * card_id: 'card_oubs0hwk5rn6knuecxg2',
17
+ * pending_transaction_id:
18
+ * 'pending_transaction_k1sfetcau2qbvjbzgju4',
19
+ * });
20
+ * ```
11
21
  */
12
22
  create(body: CardSettlementCreateParams, options?: Core.RequestOptions): Core.APIPromise<TransactionsAPI.Transaction>;
13
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"card-settlements.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-settlements.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AAEnD,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;OAMG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EAAE,KAAK,0BAA0B,IAAI,0BAA0B,EAAE,CAAC;CAC1E"}
1
+ {"version":3,"file":"card-settlements.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-settlements.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AAEnD,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EAAE,KAAK,0BAA0B,IAAI,0BAA0B,EAAE,CAAC;CAC1E"}
@@ -10,6 +10,16 @@ class CardSettlements extends resource_1.APIResource {
10
10
  * simulates that event, which may occur many days after the purchase in
11
11
  * production. The amount settled can be different from the amount originally
12
12
  * authorized, for example, when adding a tip to a restaurant bill.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const transaction =
17
+ * await client.simulations.cardSettlements.create({
18
+ * card_id: 'card_oubs0hwk5rn6knuecxg2',
19
+ * pending_transaction_id:
20
+ * 'pending_transaction_k1sfetcau2qbvjbzgju4',
21
+ * });
22
+ * ```
13
23
  */
14
24
  create(body, options) {
15
25
  return this._client.post('/simulations/card_settlements', { body, ...options });