@payabli/sdk-node 0.0.117 → 0.0.126

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 (363) hide show
  1. package/README.md +25 -13
  2. package/dist/cjs/BaseClient.d.ts +7 -7
  3. package/dist/cjs/BaseClient.js +3 -1
  4. package/dist/cjs/Client.d.ts +1 -2
  5. package/dist/cjs/api/errors/BadRequestError.js +5 -1
  6. package/dist/cjs/api/errors/ConflictError.js +5 -1
  7. package/dist/cjs/api/errors/ForbiddenError.js +5 -1
  8. package/dist/cjs/api/errors/InternalServerError.js +5 -1
  9. package/dist/cjs/api/errors/ServiceUnavailableError.js +5 -1
  10. package/dist/cjs/api/errors/UnauthorizedError.js +5 -1
  11. package/dist/cjs/api/resources/bill/client/Client.d.ts +1 -2
  12. package/dist/cjs/api/resources/bill/types/BillResponseData.d.ts +2 -1
  13. package/dist/cjs/api/resources/boarding/client/Client.d.ts +1 -2
  14. package/dist/cjs/api/resources/chargeBacks/client/Client.d.ts +1 -2
  15. package/dist/cjs/api/resources/checkCapture/client/Client.d.ts +1 -2
  16. package/dist/cjs/api/resources/cloud/client/Client.d.ts +1 -2
  17. package/dist/cjs/api/resources/customer/client/Client.d.ts +1 -2
  18. package/dist/cjs/api/resources/export/client/Client.d.ts +1 -7
  19. package/dist/cjs/api/resources/export/client/Client.js +5 -21
  20. package/dist/cjs/api/resources/hostedPaymentPages/client/Client.d.ts +1 -2
  21. package/dist/cjs/api/resources/import/client/Client.d.ts +1 -7
  22. package/dist/cjs/api/resources/import/client/Client.js +5 -21
  23. package/dist/cjs/api/resources/index.d.ts +3 -0
  24. package/dist/cjs/api/resources/index.js +4 -1
  25. package/dist/cjs/api/resources/invoice/client/Client.d.ts +6 -5
  26. package/dist/cjs/api/resources/invoice/client/Client.js +5 -3
  27. package/dist/cjs/api/resources/invoice/client/requests/AddInvoiceRequest.d.ts +5 -3
  28. package/dist/cjs/api/resources/lineItem/client/Client.d.ts +1 -7
  29. package/dist/cjs/api/resources/lineItem/client/Client.js +5 -21
  30. package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +248 -4
  31. package/dist/cjs/api/resources/moneyIn/client/Client.js +518 -2
  32. package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.ts +31 -0
  33. package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentV2.d.ts +99 -0
  34. package/dist/cjs/api/resources/moneyIn/client/requests/index.d.ts +2 -0
  35. package/dist/cjs/api/resources/moneyIn/errors/CaptureError.js +5 -1
  36. package/dist/cjs/api/resources/moneyIn/errors/InvalidTransStatusError.js +5 -1
  37. package/dist/cjs/api/resources/moneyIn/types/AuthResponseResponseData.d.ts +2 -2
  38. package/dist/cjs/api/resources/moneyIn/types/CaptureResponseData.d.ts +2 -2
  39. package/dist/cjs/api/resources/moneyIn/types/GetPaidResponseData.d.ts +3 -3
  40. package/dist/cjs/api/resources/moneyIn/types/ResponseDataRefunds.d.ts +2 -2
  41. package/dist/cjs/api/resources/moneyIn/types/TransactionDetailResponseData.d.ts +7 -3
  42. package/dist/cjs/api/resources/moneyIn/types/ValidateResponseData.d.ts +2 -2
  43. package/dist/cjs/api/resources/moneyIn/types/VoidResponseData.d.ts +2 -2
  44. package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +1 -2
  45. package/dist/cjs/api/resources/moneyOutTypes/types/AuthCapturePayoutResponse.d.ts +2 -2
  46. package/dist/cjs/api/resources/notification/client/Client.d.ts +14 -7
  47. package/dist/cjs/api/resources/notification/client/Client.js +18 -21
  48. package/dist/cjs/api/resources/notificationlogs/client/Client.d.ts +1 -7
  49. package/dist/cjs/api/resources/notificationlogs/client/Client.js +5 -21
  50. package/dist/cjs/api/resources/ocr/client/Client.d.ts +1 -7
  51. package/dist/cjs/api/resources/ocr/client/Client.js +5 -21
  52. package/dist/cjs/api/resources/organization/client/Client.d.ts +1 -7
  53. package/dist/cjs/api/resources/organization/client/Client.js +5 -21
  54. package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +4 -10
  55. package/dist/cjs/api/resources/paymentLink/client/Client.js +8 -24
  56. package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataBill.d.ts +1 -1
  57. package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataInvoice.d.ts +1 -1
  58. package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataOut.d.ts +1 -1
  59. package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBody.d.ts +2 -2
  60. package/dist/cjs/api/resources/paymentMethodDomain/client/Client.d.ts +1 -7
  61. package/dist/cjs/api/resources/paymentMethodDomain/client/Client.js +5 -21
  62. package/dist/cjs/api/resources/paypoint/client/Client.d.ts +1 -7
  63. package/dist/cjs/api/resources/paypoint/client/Client.js +5 -21
  64. package/dist/cjs/api/resources/query/client/Client.d.ts +1 -7
  65. package/dist/cjs/api/resources/query/client/Client.js +5 -21
  66. package/dist/cjs/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.ts +158 -0
  67. package/dist/cjs/api/resources/statistic/client/Client.d.ts +1 -7
  68. package/dist/cjs/api/resources/statistic/client/Client.js +5 -21
  69. package/dist/cjs/api/resources/subscription/client/Client.d.ts +1 -7
  70. package/dist/cjs/api/resources/subscription/client/Client.js +5 -21
  71. package/dist/cjs/api/resources/templates/client/Client.d.ts +1 -7
  72. package/dist/cjs/api/resources/templates/client/Client.js +5 -21
  73. package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +52 -7
  74. package/dist/cjs/api/resources/tokenStorage/client/Client.js +56 -21
  75. package/dist/cjs/api/resources/tokenStorage/client/requests/AddMethodRequest.d.ts +23 -0
  76. package/dist/cjs/api/resources/tokenStorage/client/requests/GetMethodRequest.d.ts +6 -0
  77. package/dist/cjs/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.ts +22 -0
  78. package/dist/cjs/api/resources/tokenStorage/types/GetMethodResponse.d.ts +101 -1
  79. package/dist/cjs/api/resources/tokenStorage/types/RequestTokenStorage.d.ts +1 -0
  80. package/dist/cjs/api/resources/tokenStorage/types/VendorDataRequest.d.ts +9 -0
  81. package/dist/cjs/api/resources/tokenStorage/types/VendorDataRequest.js +3 -0
  82. package/dist/cjs/api/resources/tokenStorage/types/index.d.ts +1 -0
  83. package/dist/cjs/api/resources/tokenStorage/types/index.js +1 -0
  84. package/dist/cjs/api/resources/user/client/Client.d.ts +1 -7
  85. package/dist/cjs/api/resources/user/client/Client.js +5 -21
  86. package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.d.ts +6 -0
  87. package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.js +54 -0
  88. package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.d.ts +6 -0
  89. package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.js +54 -0
  90. package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.d.ts +6 -0
  91. package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.js +54 -0
  92. package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.d.ts +6 -0
  93. package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.js +54 -0
  94. package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.d.ts +6 -0
  95. package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.js +54 -0
  96. package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.d.ts +6 -0
  97. package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.js +54 -0
  98. package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.d.ts +6 -0
  99. package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.js +54 -0
  100. package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.d.ts +6 -0
  101. package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.js +54 -0
  102. package/dist/cjs/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.d.ts +6 -0
  103. package/dist/cjs/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.js +54 -0
  104. package/dist/cjs/api/resources/v2MoneyInTypes/errors/index.d.ts +9 -0
  105. package/dist/cjs/api/resources/v2MoneyInTypes/errors/index.js +25 -0
  106. package/dist/cjs/api/resources/v2MoneyInTypes/index.d.ts +2 -0
  107. package/dist/cjs/api/resources/v2MoneyInTypes/index.js +18 -0
  108. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestError.d.ts +22 -0
  109. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestError.js +3 -0
  110. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.d.ts +9 -0
  111. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.js +3 -0
  112. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.ts +761 -0
  113. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.js +3 -0
  114. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2InternalServerError.d.ts +21 -0
  115. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2InternalServerError.js +3 -0
  116. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseAction.d.ts +4 -0
  117. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseAction.js +3 -0
  118. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseCode.d.ts +4 -0
  119. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseCode.js +3 -0
  120. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.d.ts +4 -0
  121. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.js +3 -0
  122. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseReason.d.ts +4 -0
  123. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseReason.js +3 -0
  124. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.d.ts +65 -0
  125. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.js +3 -0
  126. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.ts +1003 -0
  127. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.js +3 -0
  128. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.d.ts +13 -0
  129. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.js +3 -0
  130. package/dist/cjs/api/resources/v2MoneyInTypes/types/index.d.ts +11 -0
  131. package/dist/cjs/api/resources/v2MoneyInTypes/types/index.js +27 -0
  132. package/dist/cjs/api/resources/vendor/client/Client.d.ts +1 -7
  133. package/dist/cjs/api/resources/vendor/client/Client.js +5 -21
  134. package/dist/cjs/api/resources/wallet/client/Client.d.ts +1 -7
  135. package/dist/cjs/api/resources/wallet/client/Client.js +5 -21
  136. package/dist/cjs/api/types/ApplicationData.d.ts +1 -0
  137. package/dist/cjs/api/types/ApplicationDataManaged.d.ts +1 -0
  138. package/dist/cjs/api/types/ApplicationDataOdp.d.ts +1 -0
  139. package/dist/cjs/api/types/ApplicationDataPayIn.d.ts +1 -0
  140. package/dist/cjs/api/types/{Avsresponsetext.d.ts → AvsResponse.d.ts} +1 -1
  141. package/dist/cjs/api/types/AvsResponse.js +3 -0
  142. package/dist/{esm/api/types/Avsresponsetext.d.mts → cjs/api/types/AvsResponseText.d.ts} +1 -1
  143. package/dist/cjs/api/types/AvsResponseText.js +3 -0
  144. package/dist/cjs/api/types/CustomerVaultId.d.ts +1 -0
  145. package/dist/cjs/api/types/CustomerVaultId.js +3 -0
  146. package/dist/cjs/api/types/{Cvvresponsetext.d.ts → CvvResponse.d.ts} +1 -1
  147. package/dist/cjs/api/types/CvvResponse.js +3 -0
  148. package/dist/{esm/api/types/Cvvresponsetext.d.mts → cjs/api/types/CvvResponseText.d.ts} +1 -1
  149. package/dist/cjs/api/types/CvvResponseText.js +3 -0
  150. package/dist/cjs/api/types/EmvAuthResponseData.d.ts +4 -0
  151. package/dist/cjs/api/types/EmvAuthResponseData.js +3 -0
  152. package/dist/cjs/api/types/Frequency.d.ts +1 -1
  153. package/dist/cjs/api/types/Frequency.js +1 -1
  154. package/dist/cjs/api/types/FrequencyList.d.ts +1 -1
  155. package/dist/cjs/api/types/MaxTicket.d.ts +4 -0
  156. package/dist/cjs/api/types/MaxTicket.js +3 -0
  157. package/dist/cjs/api/types/MinTicket.d.ts +4 -0
  158. package/dist/cjs/api/types/MinTicket.js +3 -0
  159. package/dist/cjs/api/types/OnCreate.d.ts +4 -0
  160. package/dist/cjs/api/types/OnCreate.js +3 -0
  161. package/dist/cjs/api/types/PayabliApiResponse0.d.ts +2 -2
  162. package/dist/cjs/api/types/PayabliApiResponse0000.d.ts +2 -2
  163. package/dist/cjs/api/types/PayabliCredentialsPascal.d.ts +3 -2
  164. package/dist/cjs/api/types/PayorDataResponse.d.ts +1 -1
  165. package/dist/cjs/api/types/QueryResponseData.d.ts +41 -10
  166. package/dist/cjs/api/types/QueryResponseSettlements.d.ts +134 -0
  167. package/dist/cjs/api/types/QuerySubscriptionResponse.d.ts +1 -1
  168. package/dist/cjs/api/types/QueryTransactionPayorData.d.ts +1 -1
  169. package/dist/cjs/api/types/ResultCodeText.d.ts +4 -0
  170. package/dist/cjs/api/types/ResultCodeText.js +3 -0
  171. package/dist/cjs/api/types/ResultCodev2.d.ts +4 -0
  172. package/dist/cjs/api/types/ResultCodev2.js +3 -0
  173. package/dist/cjs/api/types/index.d.ts +11 -2
  174. package/dist/cjs/api/types/index.js +11 -2
  175. package/dist/cjs/auth/HeaderAuthProvider.d.ts +4 -2
  176. package/dist/cjs/errors/PayabliError.js +5 -1
  177. package/dist/cjs/errors/PayabliTimeoutError.js +5 -1
  178. package/dist/cjs/version.d.ts +1 -0
  179. package/dist/cjs/version.js +4 -0
  180. package/dist/esm/BaseClient.d.mts +7 -7
  181. package/dist/esm/BaseClient.mjs +3 -1
  182. package/dist/esm/Client.d.mts +1 -2
  183. package/dist/esm/api/errors/BadRequestError.mjs +5 -1
  184. package/dist/esm/api/errors/ConflictError.mjs +5 -1
  185. package/dist/esm/api/errors/ForbiddenError.mjs +5 -1
  186. package/dist/esm/api/errors/InternalServerError.mjs +5 -1
  187. package/dist/esm/api/errors/ServiceUnavailableError.mjs +5 -1
  188. package/dist/esm/api/errors/UnauthorizedError.mjs +5 -1
  189. package/dist/esm/api/resources/bill/client/Client.d.mts +1 -2
  190. package/dist/esm/api/resources/bill/types/BillResponseData.d.mts +2 -1
  191. package/dist/esm/api/resources/boarding/client/Client.d.mts +1 -2
  192. package/dist/esm/api/resources/chargeBacks/client/Client.d.mts +1 -2
  193. package/dist/esm/api/resources/checkCapture/client/Client.d.mts +1 -2
  194. package/dist/esm/api/resources/cloud/client/Client.d.mts +1 -2
  195. package/dist/esm/api/resources/customer/client/Client.d.mts +1 -2
  196. package/dist/esm/api/resources/export/client/Client.d.mts +1 -7
  197. package/dist/esm/api/resources/export/client/Client.mjs +5 -21
  198. package/dist/esm/api/resources/hostedPaymentPages/client/Client.d.mts +1 -2
  199. package/dist/esm/api/resources/import/client/Client.d.mts +1 -7
  200. package/dist/esm/api/resources/import/client/Client.mjs +5 -21
  201. package/dist/esm/api/resources/index.d.mts +3 -0
  202. package/dist/esm/api/resources/index.mjs +3 -0
  203. package/dist/esm/api/resources/invoice/client/Client.d.mts +6 -5
  204. package/dist/esm/api/resources/invoice/client/Client.mjs +5 -3
  205. package/dist/esm/api/resources/invoice/client/requests/AddInvoiceRequest.d.mts +5 -3
  206. package/dist/esm/api/resources/lineItem/client/Client.d.mts +1 -7
  207. package/dist/esm/api/resources/lineItem/client/Client.mjs +5 -21
  208. package/dist/esm/api/resources/moneyIn/client/Client.d.mts +248 -4
  209. package/dist/esm/api/resources/moneyIn/client/Client.mjs +518 -2
  210. package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.mts +31 -0
  211. package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentV2.d.mts +99 -0
  212. package/dist/esm/api/resources/moneyIn/client/requests/index.d.mts +2 -0
  213. package/dist/esm/api/resources/moneyIn/errors/CaptureError.mjs +5 -1
  214. package/dist/esm/api/resources/moneyIn/errors/InvalidTransStatusError.mjs +5 -1
  215. package/dist/esm/api/resources/moneyIn/types/AuthResponseResponseData.d.mts +2 -2
  216. package/dist/esm/api/resources/moneyIn/types/CaptureResponseData.d.mts +2 -2
  217. package/dist/esm/api/resources/moneyIn/types/GetPaidResponseData.d.mts +3 -3
  218. package/dist/esm/api/resources/moneyIn/types/ResponseDataRefunds.d.mts +2 -2
  219. package/dist/esm/api/resources/moneyIn/types/TransactionDetailResponseData.d.mts +7 -3
  220. package/dist/esm/api/resources/moneyIn/types/ValidateResponseData.d.mts +2 -2
  221. package/dist/esm/api/resources/moneyIn/types/VoidResponseData.d.mts +2 -2
  222. package/dist/esm/api/resources/moneyOut/client/Client.d.mts +1 -2
  223. package/dist/esm/api/resources/moneyOutTypes/types/AuthCapturePayoutResponse.d.mts +2 -2
  224. package/dist/esm/api/resources/notification/client/Client.d.mts +14 -7
  225. package/dist/esm/api/resources/notification/client/Client.mjs +18 -21
  226. package/dist/esm/api/resources/notificationlogs/client/Client.d.mts +1 -7
  227. package/dist/esm/api/resources/notificationlogs/client/Client.mjs +5 -21
  228. package/dist/esm/api/resources/ocr/client/Client.d.mts +1 -7
  229. package/dist/esm/api/resources/ocr/client/Client.mjs +5 -21
  230. package/dist/esm/api/resources/organization/client/Client.d.mts +1 -7
  231. package/dist/esm/api/resources/organization/client/Client.mjs +5 -21
  232. package/dist/esm/api/resources/paymentLink/client/Client.d.mts +4 -10
  233. package/dist/esm/api/resources/paymentLink/client/Client.mjs +8 -24
  234. package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataBill.d.mts +1 -1
  235. package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataInvoice.d.mts +1 -1
  236. package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataOut.d.mts +1 -1
  237. package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBody.d.mts +2 -2
  238. package/dist/esm/api/resources/paymentMethodDomain/client/Client.d.mts +1 -7
  239. package/dist/esm/api/resources/paymentMethodDomain/client/Client.mjs +5 -21
  240. package/dist/esm/api/resources/paypoint/client/Client.d.mts +1 -7
  241. package/dist/esm/api/resources/paypoint/client/Client.mjs +5 -21
  242. package/dist/esm/api/resources/query/client/Client.d.mts +1 -7
  243. package/dist/esm/api/resources/query/client/Client.mjs +5 -21
  244. package/dist/esm/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.mts +158 -0
  245. package/dist/esm/api/resources/statistic/client/Client.d.mts +1 -7
  246. package/dist/esm/api/resources/statistic/client/Client.mjs +5 -21
  247. package/dist/esm/api/resources/subscription/client/Client.d.mts +1 -7
  248. package/dist/esm/api/resources/subscription/client/Client.mjs +5 -21
  249. package/dist/esm/api/resources/templates/client/Client.d.mts +1 -7
  250. package/dist/esm/api/resources/templates/client/Client.mjs +5 -21
  251. package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +52 -7
  252. package/dist/esm/api/resources/tokenStorage/client/Client.mjs +56 -21
  253. package/dist/esm/api/resources/tokenStorage/client/requests/AddMethodRequest.d.mts +23 -0
  254. package/dist/esm/api/resources/tokenStorage/client/requests/GetMethodRequest.d.mts +6 -0
  255. package/dist/esm/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.mts +22 -0
  256. package/dist/esm/api/resources/tokenStorage/types/GetMethodResponse.d.mts +101 -1
  257. package/dist/esm/api/resources/tokenStorage/types/RequestTokenStorage.d.mts +1 -0
  258. package/dist/esm/api/resources/tokenStorage/types/VendorDataRequest.d.mts +9 -0
  259. package/dist/esm/api/resources/tokenStorage/types/VendorDataRequest.mjs +2 -0
  260. package/dist/esm/api/resources/tokenStorage/types/index.d.mts +1 -0
  261. package/dist/esm/api/resources/tokenStorage/types/index.mjs +1 -0
  262. package/dist/esm/api/resources/user/client/Client.d.mts +1 -7
  263. package/dist/esm/api/resources/user/client/Client.mjs +5 -21
  264. package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.d.mts +6 -0
  265. package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.mjs +17 -0
  266. package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.d.mts +6 -0
  267. package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.mjs +17 -0
  268. package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.d.mts +6 -0
  269. package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.mjs +17 -0
  270. package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.d.mts +6 -0
  271. package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.mjs +17 -0
  272. package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.d.mts +6 -0
  273. package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.mjs +17 -0
  274. package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.d.mts +6 -0
  275. package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.mjs +17 -0
  276. package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.d.mts +6 -0
  277. package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.mjs +17 -0
  278. package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.d.mts +6 -0
  279. package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.mjs +17 -0
  280. package/dist/esm/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.d.mts +6 -0
  281. package/dist/esm/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.mjs +17 -0
  282. package/dist/esm/api/resources/v2MoneyInTypes/errors/index.d.mts +9 -0
  283. package/dist/esm/api/resources/v2MoneyInTypes/errors/index.mjs +9 -0
  284. package/dist/esm/api/resources/v2MoneyInTypes/index.d.mts +2 -0
  285. package/dist/esm/api/resources/v2MoneyInTypes/index.mjs +2 -0
  286. package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestError.d.mts +22 -0
  287. package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestError.mjs +2 -0
  288. package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.d.mts +9 -0
  289. package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.mjs +2 -0
  290. package/dist/esm/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.mts +761 -0
  291. package/dist/esm/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.mjs +2 -0
  292. package/dist/esm/api/resources/v2MoneyInTypes/types/V2InternalServerError.d.mts +21 -0
  293. package/dist/esm/api/resources/v2MoneyInTypes/types/V2InternalServerError.mjs +2 -0
  294. package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseAction.d.mts +4 -0
  295. package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseAction.mjs +2 -0
  296. package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseCode.d.mts +4 -0
  297. package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseCode.mjs +2 -0
  298. package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.d.mts +4 -0
  299. package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.mjs +2 -0
  300. package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseReason.d.mts +4 -0
  301. package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseReason.mjs +2 -0
  302. package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.d.mts +65 -0
  303. package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.mjs +2 -0
  304. package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.mts +1003 -0
  305. package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.mjs +2 -0
  306. package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.d.mts +13 -0
  307. package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.mjs +2 -0
  308. package/dist/esm/api/resources/v2MoneyInTypes/types/index.d.mts +11 -0
  309. package/dist/esm/api/resources/v2MoneyInTypes/types/index.mjs +11 -0
  310. package/dist/esm/api/resources/vendor/client/Client.d.mts +1 -7
  311. package/dist/esm/api/resources/vendor/client/Client.mjs +5 -21
  312. package/dist/esm/api/resources/wallet/client/Client.d.mts +1 -7
  313. package/dist/esm/api/resources/wallet/client/Client.mjs +5 -21
  314. package/dist/esm/api/types/ApplicationData.d.mts +1 -0
  315. package/dist/esm/api/types/ApplicationDataManaged.d.mts +1 -0
  316. package/dist/esm/api/types/ApplicationDataOdp.d.mts +1 -0
  317. package/dist/esm/api/types/ApplicationDataPayIn.d.mts +1 -0
  318. package/dist/esm/api/types/AvsResponse.d.mts +4 -0
  319. package/dist/esm/api/types/AvsResponse.mjs +2 -0
  320. package/dist/esm/api/types/AvsResponseText.d.mts +4 -0
  321. package/dist/esm/api/types/AvsResponseText.mjs +2 -0
  322. package/dist/esm/api/types/CustomerVaultId.d.mts +1 -0
  323. package/dist/esm/api/types/CustomerVaultId.mjs +2 -0
  324. package/dist/esm/api/types/CvvResponse.d.mts +4 -0
  325. package/dist/esm/api/types/CvvResponse.mjs +2 -0
  326. package/dist/esm/api/types/CvvResponseText.d.mts +4 -0
  327. package/dist/esm/api/types/CvvResponseText.mjs +2 -0
  328. package/dist/esm/api/types/EmvAuthResponseData.d.mts +4 -0
  329. package/dist/esm/api/types/EmvAuthResponseData.mjs +2 -0
  330. package/dist/esm/api/types/Frequency.d.mts +1 -1
  331. package/dist/esm/api/types/Frequency.mjs +1 -1
  332. package/dist/esm/api/types/FrequencyList.d.mts +1 -1
  333. package/dist/esm/api/types/MaxTicket.d.mts +4 -0
  334. package/dist/esm/api/types/MaxTicket.mjs +2 -0
  335. package/dist/esm/api/types/MinTicket.d.mts +4 -0
  336. package/dist/esm/api/types/MinTicket.mjs +2 -0
  337. package/dist/esm/api/types/OnCreate.d.mts +4 -0
  338. package/dist/esm/api/types/OnCreate.mjs +2 -0
  339. package/dist/esm/api/types/PayabliApiResponse0.d.mts +2 -2
  340. package/dist/esm/api/types/PayabliApiResponse0000.d.mts +2 -2
  341. package/dist/esm/api/types/PayabliCredentialsPascal.d.mts +3 -2
  342. package/dist/esm/api/types/PayorDataResponse.d.mts +1 -1
  343. package/dist/esm/api/types/QueryResponseData.d.mts +41 -10
  344. package/dist/esm/api/types/QueryResponseSettlements.d.mts +134 -0
  345. package/dist/esm/api/types/QuerySubscriptionResponse.d.mts +1 -1
  346. package/dist/esm/api/types/QueryTransactionPayorData.d.mts +1 -1
  347. package/dist/esm/api/types/ResultCodeText.d.mts +4 -0
  348. package/dist/esm/api/types/ResultCodeText.mjs +2 -0
  349. package/dist/esm/api/types/ResultCodev2.d.mts +4 -0
  350. package/dist/esm/api/types/ResultCodev2.mjs +2 -0
  351. package/dist/esm/api/types/index.d.mts +11 -2
  352. package/dist/esm/api/types/index.mjs +11 -2
  353. package/dist/esm/auth/HeaderAuthProvider.d.mts +4 -2
  354. package/dist/esm/errors/PayabliError.mjs +5 -1
  355. package/dist/esm/errors/PayabliTimeoutError.mjs +5 -1
  356. package/dist/esm/version.d.mts +1 -0
  357. package/dist/esm/version.mjs +1 -0
  358. package/package.json +7 -4
  359. package/reference.md +475 -8
  360. /package/dist/cjs/api/{types/Avsresponsetext.js → resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.js} +0 -0
  361. /package/dist/cjs/api/{types/Cvvresponsetext.js → resources/moneyIn/client/requests/RequestPaymentV2.js} +0 -0
  362. /package/dist/esm/api/{types/Avsresponsetext.mjs → resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.mjs} +0 -0
  363. /package/dist/esm/api/{types/Cvvresponsetext.mjs → resources/moneyIn/client/requests/RequestPaymentV2.mjs} +0 -0
@@ -14,17 +14,19 @@ import type * as Payabli from "../../../../index.mjs";
14
14
  * itemDescription: "Consultation for Georgian tours",
15
15
  * itemCost: 100,
16
16
  * itemQty: 1,
17
- * itemMode: 1
17
+ * itemMode: 1,
18
+ * itemTotalAmount: 1
18
19
  * }, {
19
20
  * itemProductName: "Deposit ",
20
21
  * itemDescription: "Deposit for trip planning",
21
22
  * itemCost: 882.37,
22
- * itemQty: 1
23
+ * itemQty: 1,
24
+ * itemTotalAmount: 1
23
25
  * }],
24
26
  * invoiceDate: "2025-10-19",
25
27
  * invoiceType: 0,
26
28
  * invoiceStatus: 1,
27
- * frequency: "one-time",
29
+ * frequency: "onetime",
28
30
  * invoiceAmount: 982.37,
29
31
  * discount: 10,
30
32
  * invoiceNumber: "INV-3"
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs
3
3
  import * as core from "../../../../core/index.mjs";
4
4
  import * as Payabli from "../../../index.mjs";
5
5
  export declare namespace LineItemClient {
6
- interface Options extends BaseClientOptions {
7
- }
6
+ type Options = BaseClientOptions;
8
7
  interface RequestOptions extends BaseRequestOptions {
9
8
  }
10
9
  }
@@ -99,11 +98,6 @@ export declare class LineItemClient {
99
98
  * @param {Payabli.LineItem} request
100
99
  * @param {LineItemClient.RequestOptions} requestOptions - Request-specific configuration.
101
100
  *
102
- * @throws {@link Payabli.BadRequestError}
103
- * @throws {@link Payabli.UnauthorizedError}
104
- * @throws {@link Payabli.InternalServerError}
105
- * @throws {@link Payabli.ServiceUnavailableError}
106
- *
107
101
  * @example
108
102
  * await client.lineItem.updateItem(700, {
109
103
  * itemCost: 12.45,
@@ -290,11 +290,6 @@ export class LineItemClient {
290
290
  * @param {Payabli.LineItem} request
291
291
  * @param {LineItemClient.RequestOptions} requestOptions - Request-specific configuration.
292
292
  *
293
- * @throws {@link Payabli.BadRequestError}
294
- * @throws {@link Payabli.UnauthorizedError}
295
- * @throws {@link Payabli.InternalServerError}
296
- * @throws {@link Payabli.ServiceUnavailableError}
297
- *
298
293
  * @example
299
294
  * await client.lineItem.updateItem(700, {
300
295
  * itemCost: 12.45,
@@ -327,22 +322,11 @@ export class LineItemClient {
327
322
  return { data: _response.body, rawResponse: _response.rawResponse };
328
323
  }
329
324
  if (_response.error.reason === "status-code") {
330
- switch (_response.error.statusCode) {
331
- case 400:
332
- throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
333
- case 401:
334
- throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
335
- case 500:
336
- throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
337
- case 503:
338
- throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
339
- default:
340
- throw new errors.PayabliError({
341
- statusCode: _response.error.statusCode,
342
- body: _response.error.body,
343
- rawResponse: _response.rawResponse,
344
- });
345
- }
325
+ throw new errors.PayabliError({
326
+ statusCode: _response.error.statusCode,
327
+ body: _response.error.body,
328
+ rawResponse: _response.rawResponse,
329
+ });
346
330
  }
347
331
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "PUT", "/LineItem/{lineItemId}");
348
332
  });
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs
3
3
  import * as core from "../../../../core/index.mjs";
4
4
  import * as Payabli from "../../../index.mjs";
5
5
  export declare namespace MoneyInClient {
6
- interface Options extends BaseClientOptions {
7
- }
6
+ type Options = BaseClientOptions;
8
7
  interface RequestOptions extends BaseRequestOptions {
9
8
  }
10
9
  }
@@ -13,8 +12,10 @@ export declare class MoneyInClient {
13
12
  constructor(options?: MoneyInClient.Options);
14
13
  /**
15
14
  * Authorize a card transaction. This returns an authorization code and reserves funds for the merchant. Authorized transactions aren't flagged for settlement until [captured](/api-reference/moneyin/capture-an-authorized-transaction).
16
- *
17
- * **Note**: Only card transactions can be authorized. This endpoint can't be used for ACH transactions.
15
+ * Only card transactions can be authorized. This endpoint can't be used for ACH transactions.
16
+ * <Tip>
17
+ * Consider migrating to the [v2 Authorize endpoint](/developers/api-reference/moneyinV2/authorize-a-transaction) to take advantage of unified response codes and improved response consistency.
18
+ * </Tip>
18
19
  *
19
20
  * @param {Payabli.RequestPaymentAuthorize} request
20
21
  * @param {MoneyInClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -77,6 +78,10 @@ export declare class MoneyInClient {
77
78
  *
78
79
  * You can use this endpoint to capture both full and partial amounts of the original authorized transaction. See [Capture an authorized transaction](/developers/developer-guides/pay-in-auth-and-capture) for more information about this endpoint.
79
80
  *
81
+ * <Tip>
82
+ * Consider migrating to the [v2 Capture endpoint](/developers/api-reference/moneyinV2/capture-an-authorized-transaction) to take advantage of unified response codes and improved response consistency.
83
+ * </Tip>
84
+ *
80
85
  * @param {string} transId - ReferenceId for the transaction (PaymentId).
81
86
  * @param {Payabli.CaptureRequest} request
82
87
  * @param {MoneyInClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -192,6 +197,10 @@ export declare class MoneyInClient {
192
197
  /**
193
198
  * Make a single transaction. This method authorizes and captures a payment in one step.
194
199
  *
200
+ * <Tip>
201
+ * Consider migrating to the [v2 Make a transaction endpoint](/developers/api-reference/moneyinV2/make-a-transaction) to take advantage of unified response codes and improved response consistency.
202
+ * </Tip>
203
+ *
195
204
  * @param {Payabli.RequestPayment} request
196
205
  * @param {MoneyInClient.RequestOptions} requestOptions - Request-specific configuration.
197
206
  *
@@ -381,6 +390,10 @@ export declare class MoneyInClient {
381
390
  /**
382
391
  * Refund a transaction that has settled and send money back to the account holder. If a transaction hasn't been settled, void it instead.
383
392
  *
393
+ * <Tip>
394
+ * Consider migrating to the [v2 Refund endpoint](/developers/api-reference/moneyinV2/refund-a-settled-transaction) to take advantage of unified response codes and improved response consistency.
395
+ * </Tip>
396
+ *
384
397
  * @param {string} transId - ReferenceId for the transaction (PaymentId).
385
398
  * @param {number} amount -
386
399
  * Amount to refund from original transaction, minus any service fees charged on the original transaction.
@@ -523,6 +536,10 @@ export declare class MoneyInClient {
523
536
  /**
524
537
  * Cancel a transaction that hasn't been settled yet. Voiding non-captured authorizations prevents future captures. If a transaction has been settled, refund it instead.
525
538
  *
539
+ * <Tip>
540
+ * Consider migrating to the [v2 Void endpoint](/developers/api-reference/moneyinV2/void-a-transaction) to take advantage of unified response codes and improved response consistency.
541
+ * </Tip>
542
+ *
526
543
  * @param {string} transId - ReferenceId for the transaction (PaymentId).
527
544
  * @param {MoneyInClient.RequestOptions} requestOptions - Request-specific configuration.
528
545
  *
@@ -536,4 +553,231 @@ export declare class MoneyInClient {
536
553
  */
537
554
  void(transId: string, requestOptions?: MoneyInClient.RequestOptions): core.HttpResponsePromise<Payabli.VoidResponse>;
538
555
  private __void;
556
+ /**
557
+ * Make a single transaction. This method authorizes and captures a payment in one step. This is the v2 version of the `api/MoneyIn/getpaid` endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
558
+ *
559
+ * @param {Payabli.RequestPaymentV2} request
560
+ * @param {MoneyInClient.RequestOptions} requestOptions - Request-specific configuration.
561
+ *
562
+ * @throws {@link Payabli.BadRequestAuthResponseErrorV2}
563
+ * @throws {@link Payabli.UnauthorizedError}
564
+ * @throws {@link Payabli.DeclinedAuthResponseErrorV2}
565
+ * @throws {@link Payabli.InternalServerResponseErrorV2}
566
+ *
567
+ * @example
568
+ * await client.moneyIn.getpaidv2({
569
+ * body: {
570
+ * customerData: {
571
+ * customerId: 4440
572
+ * },
573
+ * entryPoint: "f743aed24a",
574
+ * ipaddress: "255.255.255.255",
575
+ * paymentDetails: {
576
+ * serviceFee: 0,
577
+ * totalAmount: 100
578
+ * },
579
+ * paymentMethod: {
580
+ * cardcvv: "999",
581
+ * cardexp: "02/27",
582
+ * cardHolder: "John Cassian",
583
+ * cardnumber: "4111111111111111",
584
+ * cardzip: "12345",
585
+ * initiator: "payor",
586
+ * method: "card"
587
+ * }
588
+ * }
589
+ * })
590
+ *
591
+ * @example
592
+ * await client.moneyIn.getpaidv2({
593
+ * body: {
594
+ * customerData: {
595
+ * customerId: 4440
596
+ * },
597
+ * entryPoint: "f743aed24a",
598
+ * ipaddress: "255.255.255.255",
599
+ * paymentDetails: {
600
+ * serviceFee: 0,
601
+ * totalAmount: 100
602
+ * },
603
+ * paymentMethod: {
604
+ * initiator: "payor",
605
+ * method: "card",
606
+ * storedMethodId: "1ec55af9-7b5a-4ff0-81ed-c12d2f95e135-4440",
607
+ * storedMethodUsageType: "unscheduled"
608
+ * }
609
+ * }
610
+ * })
611
+ *
612
+ * @example
613
+ * await client.moneyIn.getpaidv2({
614
+ * body: {
615
+ * customerData: {
616
+ * customerId: 4440
617
+ * },
618
+ * entryPoint: "f743aed24a",
619
+ * ipaddress: "255.255.255.255",
620
+ * paymentDetails: {
621
+ * serviceFee: 0,
622
+ * totalAmount: 100
623
+ * },
624
+ * paymentMethod: {
625
+ * achAccount: "123123123",
626
+ * achAccountType: "Checking",
627
+ * achCode: "WEB",
628
+ * achHolder: "John Cassian",
629
+ * achHolderType: "personal",
630
+ * achRouting: "123123123",
631
+ * method: "ach"
632
+ * }
633
+ * }
634
+ * })
635
+ *
636
+ * @example
637
+ * await client.moneyIn.getpaidv2({
638
+ * body: {
639
+ * customerData: {
640
+ * customerId: 4440
641
+ * },
642
+ * entryPoint: "f743aed24a",
643
+ * ipaddress: "255.255.255.255",
644
+ * paymentDetails: {
645
+ * serviceFee: 0,
646
+ * totalAmount: 100
647
+ * },
648
+ * paymentMethod: {
649
+ * device: "6c361c7d-674c-44cc-b790-382b75d1xxx",
650
+ * method: "cloud",
651
+ * saveIfSuccess: true
652
+ * }
653
+ * }
654
+ * })
655
+ */
656
+ getpaidv2(request: Payabli.RequestPaymentV2, requestOptions?: MoneyInClient.RequestOptions): core.HttpResponsePromise<Payabli.V2TransactionResponseWrapper>;
657
+ private __getpaidv2;
658
+ /**
659
+ * Authorize a card transaction. This returns an authorization code and reserves funds for the merchant. Authorized transactions aren't flagged for settlement until captured. This is the v2 version of the `api/MoneyIn/authorize` endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
660
+ *
661
+ * **Note**: Only card transactions can be authorized. This endpoint can't be used for ACH transactions.
662
+ *
663
+ * @param {Payabli.RequestPaymentAuthorizeV2} request
664
+ * @param {MoneyInClient.RequestOptions} requestOptions - Request-specific configuration.
665
+ *
666
+ * @throws {@link Payabli.BadRequestAuthResponseErrorV2}
667
+ * @throws {@link Payabli.UnauthorizedError}
668
+ * @throws {@link Payabli.DeclinedAuthResponseErrorV2}
669
+ * @throws {@link Payabli.InternalServerResponseErrorV2}
670
+ *
671
+ * @example
672
+ * await client.moneyIn.authorizev2({
673
+ * body: {
674
+ * customerData: {
675
+ * customerId: 4440
676
+ * },
677
+ * entryPoint: "f743aed24a",
678
+ * ipaddress: "255.255.255.255",
679
+ * paymentDetails: {
680
+ * serviceFee: 0,
681
+ * totalAmount: 100
682
+ * },
683
+ * paymentMethod: {
684
+ * cardcvv: "999",
685
+ * cardexp: "02/27",
686
+ * cardHolder: "John Cassian",
687
+ * cardnumber: "4111111111111111",
688
+ * cardzip: "12345",
689
+ * initiator: "payor",
690
+ * method: "card"
691
+ * }
692
+ * }
693
+ * })
694
+ */
695
+ authorizev2(request: Payabli.RequestPaymentAuthorizeV2, requestOptions?: MoneyInClient.RequestOptions): core.HttpResponsePromise<Payabli.V2TransactionResponseWrapper>;
696
+ private __authorizev2;
697
+ /**
698
+ * Capture an authorized transaction to complete the transaction and move funds from the customer to merchant account. This is the v2 version of the `api/MoneyIn/capture/{transId}` endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
699
+ *
700
+ * @param {string} transId - ReferenceId for the transaction (PaymentId).
701
+ * @param {Payabli.CaptureRequest} request
702
+ * @param {MoneyInClient.RequestOptions} requestOptions - Request-specific configuration.
703
+ *
704
+ * @throws {@link Payabli.BadRequestCaptureResponseErrorV2}
705
+ * @throws {@link Payabli.UnauthorizedError}
706
+ * @throws {@link Payabli.DeclinedCaptureResponseErrorV2}
707
+ * @throws {@link Payabli.InternalServerResponseErrorV2}
708
+ *
709
+ * @example
710
+ * await client.moneyIn.capturev2("10-7d9cd67d-2d5d-4cd7-a1b7-72b8b201ec13", {
711
+ * paymentDetails: {
712
+ * totalAmount: 105,
713
+ * serviceFee: 5
714
+ * }
715
+ * })
716
+ *
717
+ * @example
718
+ * await client.moneyIn.capturev2("10-7d9cd67d-2d5d-4cd7-a1b7-72b8b201ec13", {
719
+ * paymentDetails: {
720
+ * totalAmount: 89,
721
+ * serviceFee: 4
722
+ * }
723
+ * })
724
+ */
725
+ capturev2(transId: string, request: Payabli.CaptureRequest, requestOptions?: MoneyInClient.RequestOptions): core.HttpResponsePromise<Payabli.V2TransactionResponseWrapper>;
726
+ private __capturev2;
727
+ /**
728
+ * Give a full refund for a transaction that has settled and send money back to the account holder. To perform a partial refund, see [Partially refund a transaction](developers/api-reference/moneyinV2/partial-refund-a-settled-transaction).
729
+ *
730
+ * This is the v2 version of the refund endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
731
+ *
732
+ * @param {string} transId - ReferenceId for the transaction (PaymentId).
733
+ * @param {MoneyInClient.RequestOptions} requestOptions - Request-specific configuration.
734
+ *
735
+ * @throws {@link Payabli.BadRequestRefundResponseErrorV2}
736
+ * @throws {@link Payabli.UnauthorizedError}
737
+ * @throws {@link Payabli.DeclinedRefundResponseErrorV2}
738
+ * @throws {@link Payabli.InternalServerResponseErrorV2}
739
+ *
740
+ * @example
741
+ * await client.moneyIn.refundv2("10-3ffa27df-b171-44e0-b251-e95fbfc7a723")
742
+ */
743
+ refundv2(transId: string, requestOptions?: MoneyInClient.RequestOptions): core.HttpResponsePromise<Payabli.V2TransactionResponseWrapper>;
744
+ private __refundv2;
745
+ /**
746
+ * Refund a transaction that has settled and send money back to the account holder. If `amount` is omitted or set to 0, performs a full refund. When a non-zero `amount` is provided, this endpoint performs a partial refund.
747
+ *
748
+ * This is the v2 version of the refund endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
749
+ *
750
+ * @param {string} transId - ReferenceId for the transaction (PaymentId).
751
+ * @param {number} amount - Amount to refund from original transaction, minus any service fees charged on the original transaction. If omitted or set to 0, performs a full refund.
752
+ * @param {MoneyInClient.RequestOptions} requestOptions - Request-specific configuration.
753
+ *
754
+ * @throws {@link Payabli.BadRequestRefundResponseErrorV2}
755
+ * @throws {@link Payabli.UnauthorizedError}
756
+ * @throws {@link Payabli.DeclinedRefundResponseErrorV2}
757
+ * @throws {@link Payabli.InternalServerResponseErrorV2}
758
+ *
759
+ * @example
760
+ * await client.moneyIn.refundv2Amount("10-3ffa27df-b171-44e0-b251-e95fbfc7a723", 0)
761
+ *
762
+ * @example
763
+ * await client.moneyIn.refundv2Amount("10-3ffa27df-b171-44e0-b251-e95fbfc7a723", 100.99)
764
+ */
765
+ refundv2Amount(transId: string, amount: number, requestOptions?: MoneyInClient.RequestOptions): core.HttpResponsePromise<Payabli.V2TransactionResponseWrapper>;
766
+ private __refundv2Amount;
767
+ /**
768
+ * Cancel a transaction that hasn't been settled yet. Voiding non-captured authorizations prevents future captures. This is the v2 version of the `api/MoneyIn/void/{transId}` endpoint, and returns the unified response format. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information.
769
+ *
770
+ * @param {string} transId - ReferenceId for the transaction (PaymentId).
771
+ * @param {MoneyInClient.RequestOptions} requestOptions - Request-specific configuration.
772
+ *
773
+ * @throws {@link Payabli.BadRequestVoidResponseErrorV2}
774
+ * @throws {@link Payabli.UnauthorizedError}
775
+ * @throws {@link Payabli.DeclinedVoidResponseErrorV2}
776
+ * @throws {@link Payabli.InternalServerResponseErrorV2}
777
+ *
778
+ * @example
779
+ * await client.moneyIn.voidv2("10-3ffa27df-b171-44e0-b251-e95fbfc7a723")
780
+ */
781
+ voidv2(transId: string, requestOptions?: MoneyInClient.RequestOptions): core.HttpResponsePromise<Payabli.V2TransactionResponseWrapper>;
782
+ private __voidv2;
539
783
  }